IP Library Granted Patent US 11,062,308
Granted Patent B2
US 11,062,308 · App. 16/814,848 · Granted Jul 13, 2021

Service execution result obtaining method and system based on blockchain

Inventor: Yanpeng Li (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
G06Q20/389G06Q20/401H04L9/0643H04L2209/38
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,062,308
App. No.
16/814,848
Granted
Jul 13, 2021
Kind
B2
Abstract

Computer-implemented methods, non-transitory, computer-readable media, and computer-implemented systems for obtaining a service execution result based on a blockchain. A direct service provider device accepts a service, and submits the service to an indirect service provider device for execution. The indirect service provider device can encapsulate a service execution result obtained by executing the service into a blockchain transaction, and submit the blockchain transaction to a blockchain network for storage. The direct service provider device can obtain the service execution result from the blockchain network as a basis for performing a service-associated operation subsequently.

Claims (100)

1. A computer-implemented method for obtaining service execution result based on a blockchain, comprising:

determining, by an indirect service provider device, a service execution result of a service initiated by a user, wherein the service is received by the indirect service provider device for execution from a direct service provider device that accepts the service, the direct service provider device registers a direct service provider account on a blockchain network, and the indirect service provider device registers an indirect service provider account on the blockchain network;

constructing, by the indirect service provider device, a result return transaction using the indirect service provider account;

submitting, by the indirect service provider device, the result return transaction to the blockchain network, wherein the result return transaction comprises a service identifier of the service and the service execution result, wherein the service execution result is to be returned to the direct service provider device for performing an operation associated with the service;

triggering, by the blockchain network, a result return event based on the result return transaction, wherein the result return event indicates that the indirect service provider device has returned the service execution result corresponding to the service identifier;

writing, by the blockchain network, the result return transaction to the blockchain, wherein the service execution result to be returned to the direct service provider device is stored in the blockchain network;

monitoring, by the direct service provider device, a result return event using the direct service provider account;

after detecting the result return event, obtaining, by the direct service provider device, the result return transaction from the blockchain network using the direct service provider account; and

extracting, by the direct service provider device, the service execution result from the result return transaction.

2. The computer-implemented method according to claim 1 , further comprising:

before determining, by the indirect service provider device, the service execution result of the service:

constructing, by the direct service provider device, a result acquisition transaction using the direct service provider account;

submitting, by the direct service provider device, the result acquisition transaction to the blockchain network, wherein the result acquisition transaction comprises the service identifier of the service;

triggering, by the blockchain network, a result acquisition event based on the result acquisition transaction; and

writing, by the blockchain network, the result acquisition transaction to the blockchain.

3. The computer-implemented method according to claim 2 , wherein determining, by the indirect service provider device, the service execution result of the service comprises:

monitoring, by the indirect service provider device, the result acquisition event using the indirect service provider account;

after detecting the result acquisition event, obtaining, by the indirect service provider device, the result acquisition transaction from the blockchain network using the indirect service provider account;

extracting, by the indirect service provider device, the service identifier from the result acquisition transaction; and

determining, by the indirect service provider device, the service execution result of the service based on the service identifier.

4. The computer-implemented method according to claim 2 , further comprising:

before triggering the result acquisition event, assigning, by the blockchain network, a first status flag to the result acquisition transaction, wherein the first status flag indicates that the indirect service provider device does not return the service execution result; and

writing, by the blockchain network, the first status flag assigned to the result acquisition transaction to the blockchain.

5. The computer-implemented method according to claim 2 , further comprising:

before triggering the result return event, assigning, by the blockchain network, a second status flag to the result return transaction, wherein the second status flag indicates that the indirect service provider device has returned the service execution result; and

writing, by the blockchain network, the second status flag assigned to the result return transaction to the blockchain.

6. The computer-implemented method according to claim 2 , further comprising:

after obtaining the service execution result in the result return transaction:

constructing, by the direct service provider device, a confirmation transaction using the direct service provider account; and

submitting, by the direct service provider device, the confirmation transaction to the blockchain network, wherein the confirmation transaction comprises the service identifier.

7. The computer-implemented method according to claim 6 , further comprising:

assigning, by the blockchain network, a third status flag to the confirmation transaction, wherein the third status flag indicates that the direct service provider device has obtained the service execution result; and

writing, by the blockchain network, the third status flag assigned to the confirmation transaction to the blockchain.

8. A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:

determining, by an indirect service provider device, a service execution result of a service initiated by a user, wherein the service is received by the indirect service provider device for execution from a direct service provider device that accepts the service, the direct service provider device registers a direct service provider account on a blockchain network, and the indirect service provider device registers an indirect service provider account on the blockchain network;

constructing, by the indirect service provider device, a result return transaction using the indirect service provider account;

submitting, by the indirect service provider device, the result return transaction to the blockchain network, wherein the result return transaction comprises a service identifier of the service and the service execution result, wherein the service execution result is to be returned to the direct service provider device for performing an operation associated with the service;

triggering, by the blockchain network, a result return event based on the result return transaction, wherein the result return event indicates that the indirect service provider device has returned the service execution result corresponding to the service identifier;

writing, by the blockchain network, the result return transaction to a blockchain, wherein the service execution result to be returned to the direct service provider device is stored in the blockchain network;

monitoring, by the direct service provider device, a result return event using the direct service provider account;

after detecting the result return event, obtaining, by the direct service provider device, the result return transaction from the blockchain network using the direct service provider account; and

extracting, by the direct service provider device, the service execution result from the result return transaction.

9. The non-transitory, computer-readable medium according to claim 8 , wherein the operations further comprises:

before determining, by the indirect service provider device, the service execution result of the service:

constructing, by the direct service provider device, a result acquisition transaction using the direct service provider account;

submitting, by the direct service provider device, the result acquisition transaction to the blockchain network, wherein the result acquisition transaction comprises the service identifier of the service;

triggering, by the blockchain network, a result acquisition event based on the result acquisition transaction; and

writing, by the blockchain network, the result acquisition transaction to the blockchain.

10. The non-transitory, computer-readable medium according to claim 9 , wherein determining, by the indirect service provider device, the service execution result of the service comprises:

monitoring, by the indirect service provider device and using the indirect service provider account, the result acquisition event;

after detecting the result acquisition event, obtaining, by the indirect service provider device, the result acquisition transaction from the blockchain network using the indirect service provider account;

extracting, by the indirect service provider device, the service identifier from the result acquisition transaction; and

determining, by the indirect service provider device, the service execution result of the service based on the service identifier.

11. The non-transitory, computer-readable medium according to claim 9 , wherein the operations further comprises:

before triggering the result acquisition event, assigning, by the blockchain network, a first status flag to the result acquisition transaction, wherein the first status flag indicates that the indirect service provider device does not return the service execution result; and

writing, by the blockchain network, the first status flag assigned to the result acquisition transaction to the blockchain.

12. The non-transitory, computer-readable medium according to claim 9 , wherein the operations further comprises:

before triggering the result return event, assigning, by the blockchain network, a second status flag to the result return transaction, wherein the second status flag indicates that the indirect service provider device has returned the service execution result; and

writing, by the blockchain network, the second status flag assigned to the result return transaction to the blockchain.

13. The non-transitory, computer-readable medium according to claim 9 , wherein the operations further comprises:

after obtaining the service execution result in the result return transaction:

constructing, by the direct service provider device, a confirmation transaction using the direct service provider account; and

submitting, by the direct service provider device, the confirmation transaction to the blockchain network, wherein the confirmation transaction comprises the service identifier.

14. The non-transitory, computer-readable medium according to claim 13 , wherein the operations further comprises:

assigning, by the blockchain network, a third status flag to the confirmation transaction, wherein the third status flag indicates that the direct service provider device has obtained the service execution result; and

writing, by the blockchain network, the third status flag assigned to the confirmation transaction to the blockchain.

15. A computer-implemented system, comprising:

one or more computers; and

one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising:

determining, by an indirect service provider device, a service execution result of a service initiated by a user, wherein the service is received by the indirect service provider device for execution from a direct service provider device that accepts the service, the direct service provider device registers a direct service provider account on a blockchain network, and the indirect service provider device registers an indirect service provider account on the blockchain network;

constructing, by the indirect service provider device, a result return transaction using the indirect service provider account;

submitting, by the indirect service provider device, the result return transaction to the blockchain network, wherein the result return transaction comprises a service identifier of the service and the service execution result, wherein the service execution result is to be returned to the direct service provider device for performing an operation associated with the service;

triggering, by the blockchain network, a result return event based on the result return transaction, wherein the result return event indicates that the indirect service provider device has returned the service execution result corresponding to the service identifier;

writing, by the blockchain network, the result return transaction to a blockchain, wherein the service execution result to be returned to the direct service provider device is stored in the blockchain network;

monitoring, by the direct service provider device, a result return event using the direct service provider account;

after detecting the result return event, obtaining, by the direct service provider device, the result return transaction from the blockchain network using the direct service provider account; and

extracting, by the direct service provider device, the service execution result from the result return transaction.

16. The computer-implemented system according to claim 15 , wherein the operations further comprises:

before determining, by the indirect service provider device, the service execution result of the service:

constructing, by the direct service provider device, a result acquisition transaction using the direct service provider account;

submitting, by the direct service provider device, the result acquisition transaction to the blockchain network, wherein the result acquisition transaction comprises the service identifier of the service;

triggering, by the blockchain network, a result acquisition event based on the result acquisition transaction; and

writing, by the blockchain network, the result acquisition transaction to the blockchain.

17. The computer-implemented system according to claim 16 , wherein determining, by the indirect service provider device, the service execution result of the service comprises:

monitoring, by the indirect service provider device, the result acquisition event using the indirect service provider account;

after detecting the result acquisition event, obtaining, by the indirect service provider device, the result acquisition transaction from the blockchain network using the indirect service provider account;

extracting, by the indirect service provider device, the service identifier from the result acquisition transaction; and

determining, by the indirect service provider device, the service execution result of the service based on the service identifier.

18. The computer-implemented system according to claim 16 , wherein the operations further comprises:

before triggering the result acquisition event, assigning, by the blockchain network, a first status flag to the result acquisition transaction, wherein the first status flag indicates that the indirect service provider device does not return the service execution result; and

writing, by the blockchain network, the first status flag assigned to the result acquisition transaction to the blockchain.

19. The computer-implemented system according to claim 16 , wherein the operations further comprises:

before triggering the result return event, assigning, by the blockchain network, a second status flag to the result return transaction, wherein the second status flag indicates that the indirect service provider device has returned the service execution result; and

writing, by the blockchain network, the second status flag assigned to the result return transaction to the blockchain.

20. The computer-implemented system according to claim 16 , wherein the operations further comprises:

after obtaining the service execution result in the result return transaction:

constructing, by the direct service provider device, a confirmation transaction using the direct service provider account;

submitting, by the direct service provider device, the confirmation transaction to the blockchain network, wherein the confirmation transaction comprises the service identifier;

assigning, by the blockchain network, a third status flag to the confirmation transaction, wherein the third status flag indicates that the direct service provider device has obtained the service execution result; and

writing, by the blockchain network, the third status flag assigned to the confirmation transaction to the blockchain.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 10, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053754/0625 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 31, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053743/0464 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Mar 24, 2020
From: LI, YANPENG
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 052207/0161 →