IP Library › Patent Application 18307374
Patent Application
App. No. 18/307,374

BLOCKCHAIN-BASED EVENT PROCESSING METHODS AND APPARATUSES

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 None
App. No.
18/307,374
Abstract

An event processing request including an event processing parameter is received from an event initiator. When verification performed on the event processing parameter based on a first smart contract is passed, parsing the event processing parameter based on the first smart contract, determining an event participant, invoking a second smart contract, and determining a current remaining resource of the event participant. When the current remaining resource of the event participant satisfies an event processing condition, invoking the second smart contract based on the first smart contract, and freezing an event resource needed for processing the event processing request in the current remaining resource of the event participant. When a confirmation instruction of the event participant for the event processing parameter of the event processing request is received, invoking the second smart contract based on the first smart contract, deducting the event resource, and completing the event processing request.

Claims (52)

1 . A computer-implemented method for blockchain-based event processing, comprising:

receiving an event processing request initiated by an event initiator, wherein the event processing request comprises an event processing parameter;

parsing, when verification performed on the event processing parameter based on a first smart contract is passed, the event processing parameter based on the first smart contract, determining an event participant, invoking a second smart contract, and determining a current remaining resource of the event participant, wherein the first smart contract is used performing event processing and the second smart contract is used for managing participant resources, and wherein the first smart contract and the second smart contract are deployed on a blockchain node;

invoking, when the current remaining resource of the event participant satisfies an event processing condition, the second smart contract based on the first smart contract, and freezing an event resource needed for processing the event processing request in the current remaining resource of the event participant; and

invoking, when a confirmation instruction of the event participant for the event processing parameter of the event processing request is received, the second smart contract based on the first smart contract, deducting the event resource, and completing the event processing request.

2 . The computer-implemented method of claim 1 , wherein parsing, when verification performed on the event processing parameter based on the first smart contract is passed, the event processing parameter based on the first smart contract, determining an event participant, invoking the second smart contract, and determining a current remaining resource of the event participant, comprises:

verifying the event processing parameter based on the first smart contract;

parsing, when the verification is passed, the event processing parameter based on the first smart contract, and determining at least one event participant for processing the event processing request.

3 . The computer-implemented method of claim 2 , comprising:

invoking the second smart contract based on the first smart contract, and determining a current remaining resource of each event participant.

4 . The computer-implemented method of claim 3 , wherein, after determining at least one event participant for processing the event processing request:

updating an event state of the first smart contract to an event processing parameter confirmation complete state.

5 . The computer-implemented method of claim 3 , wherein invoking, when the current remaining resource of the event participant satisfies an event processing condition, the second smart contract based on the first smart contract, and freezing an event resource needed for processing the event processing request in the current remaining resource of the event participant, comprises:

determining an event processing resource for processing the event processing request by each event participant based on the event processing parameter.

6 . The computer-implemented method of claim 5 , comprising:

invoking, when it is determined that a current remaining resource of each event participant is greater than or equal to the event processing resource, the second smart contract based on the first smart contract, and freezing an event resource needed for processing the event processing request by each event participant in the current remaining resource of each event participant.

7 . The computer-implemented method of claim 6 , wherein, after determining an event processing resource for processing the event processing request by each event participant based on the event processing parameter:

updating, when it is determined that a current remaining resource of any event participant is less than the event processing resource, an event state of the first smart contract to an event processing failure state, and ending the event processing request.

8 . The computer-implemented method of claim 6 , wherein, after invoking the second smart contract based on the first smart contract, and freezing an event resource needed for processing the event processing request by each event participant in the current remaining resource of each event participant:

updating an event state of the first smart contract to a state of waiting for each event participant to confirm and process the event processing request.

9 . The computer-implemented method of claim 1 , wherein, before invoking the second smart contract based on the first smart contract, deducting the event resource, and completing the event processing request:

receiving an event query request sent by the event participant for the event processing request, and returning an event processing parameter for processing the event processing request to the event participant based on the event query request, wherein after, by the event participant and to determine a corresponding event processing request, block content of the blockchain node is monitored and parsed, the event query request is sent by the event participant.

10 . The computer-implemented method of claim 3 , wherein invoking, when a confirmation instruction of the event participant for the event processing parameter of the event processing request is received, the second smart contract based on the first smart contract, deducting the event resource, and completing the event processing request, comprises:

querying and determining, when a confirmation instruction of any event participant for the event processing parameter of the event processing request is received, whether each event participant sends a confirmation instruction for the event processing parameter.

11 . The computer-implemented method of claim 10 , comprising:

invoking, in response to determining that each event participant sends the confirmation instruction for the event processing parameter, the second smart contract based on the first smart contract, deducting a frozen event resource of each event participant, and completing the event processing request.

12 . The computer-implemented method of claim 11 , wherein, after completing the event processing request:

updating an event state of the first smart contract to an event processing request processing success state.

13 . The computer-implemented method of claim 1 , wherein, after completing the event processing request:

receiving a current processing state query request sent by the event initiator or the event participant for the event processing request.

14 . The computer-implemented method of claim 13 , comprising:

returning a current processing state for the event processing request to the event initiator or the event participant based on the current processing state query request.

15 . The computer-implemented method of claim 3 , wherein, after completing the event processing request:

invoking an update interface of the second smart contract.

16 . The computer-implemented method of claim 15 , comprising:

updating the current remaining resource of each event participant based on a resource update rule of each event participant in the second smart contract.

17 . The computer-implemented method of claim 16 , comprising:

receiving a rule update request initiated by the event participant by invoking the update interface of the second smart contract, wherein the rule update request comprises a rule update parameter.

18 . The computer-implemented method of claim 17 , comprising:

updating the resource update rule of each event participant in the second smart contract based on the rule update parameter when verification performed on the rule update parameter based on the second smart contract is passed.

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

receiving an event processing request initiated by an event initiator, wherein the event processing request comprises an event processing parameter;

parsing, when verification performed on the event processing parameter based on a first smart contract is passed, the event processing parameter based on the first smart contract, determining an event participant, invoking a second smart contract, and determining a current remaining resource of the event participant, wherein the first smart contract is used performing event processing and the second smart contract is used for managing participant resources, and wherein the first smart contract and the second smart contract are deployed on a blockchain node;

invoking, when the current remaining resource of the event participant satisfies an event processing condition, the second smart contract based on the first smart contract, and freezing an event resource needed for processing the event processing request in the current remaining resource of the event participant; and

invoking, when a confirmation instruction of the event participant for the event processing parameter of the event processing request is received, the second smart contract based on the first smart contract, deducting the event resource, and completing the event processing request.

20 . 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:

receiving an event processing request initiated by an event initiator, wherein the event processing request comprises an event processing parameter;

parsing, when verification performed on the event processing parameter based on a first smart contract is passed, the event processing parameter based on the first smart contract, determining an event participant, invoking a second smart contract, and determining a current remaining resource of the event participant, wherein the first smart contract is used performing event processing and the second smart contract is used for managing participant resources, and wherein the first smart contract and the second smart contract are deployed on a blockchain node;

invoking, when the current remaining resource of the event participant satisfies an event processing condition, the second smart contract based on the first smart contract, and freezing an event resource needed for processing the event processing request in the current remaining resource of the event participant; and

invoking, when a confirmation instruction of the event participant for the event processing parameter of the event processing request is received, the second smart contract based on the first smart contract, deducting the event resource, and completing the event processing request.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded May 30, 2024
From: ALIPAY LABS (SINGAPORE) PTE. LTD.
To: ADVANCED NOVA TECHNOLOGIES (SINGAPORE) HOLDING PTE. LTD.
Reel/Frame 067561/0398 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Apr 26, 2023
From: HAN, ZHE
To: ALIPAY LABS (SINGAPORE) PTE. LTD.
Reel/Frame 063449/0898 →