IP Library Granted Patent US 10,755,276
Granted Patent B2
US 10,755,276 · App. 16/699,603 · Granted Aug 25, 2020

Event processing method, apparatus and electronic device based on blockchain technology

Inventor: Baoli Ma (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
G06Q20/401G06Q20/389G06Q20/3823H04L9/008H04L9/0618H04L9/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 10,755,276
App. No.
16/699,603
Granted
Aug 25, 2020
Kind
B2
Abstract

One or more embodiments of the specification provide a method, apparatus, and non-transitory computer-readable storage medium for processing an event involving a plurality of users in a blockchain. The method is implementable by any user involved in the event, the method comprising: generating, by a computing device of the user of the event, descriptive information of the event; sending the descriptive information to a computing device of another user of event through an off-chain channel for the another user to verify the descriptive information and to submit triggering information associated with the another user corresponding to the event to the blockchain after verifying the descriptive information; and submitting, by the computing device of the user, triggering information associated with the user corresponding to the event to the blockchain for the blockchain to process the event according to the descriptive information after verifying all triggering information submitted by the plurality of users.

Claims (51)

1. A blockchain-based event processing method for processing an event involving a plurality of users in a blockchain, the method comprising:

generating, by a computing device of a first user of the plurality of users, descriptive information of the event, wherein the descriptive information comprises:

one or more blockchain account addresses of one or more second users of the plurality of users,

for each of the second users, a variable representing an amount to be transferred into a blockchain account of the each second user, wherein the variable is encrypted with a homomorphic encryption algorithm or a homomorphic commitment algorithm based on a public key of the each second user, and a first range proof that the variable is within a numerical range;

sending, by the computing device of the first user, the descriptive information to each of the second users through an off-chain channel for the each second user to verify the descriptive information and to submit second triggering information associated with the each second user corresponding to the event to the blockchain after verifying the descriptive information, wherein the second triggering information associated with the each second user comprises:

signature information generated for the descriptive information by the each second user through a private key of the each second user, and

a second range proof that a state parameter of the each second user stored in the blockchain is not less than an amount determined based on the variable; and

submitting, by the computing device of the first user, first triggering information associated with the first user corresponding to the event to the blockchain for the blockchain to process the event according to the descriptive information after the blockchain verifies all triggering information submitted by the plurality of users.

2. The method according to claim 1 , wherein the second triggering information further comprises the descriptive information.

3. The method according to claim 1 , wherein the event changes a state parameter recorded on the blockchain associated with the each second user according to the corresponding variable.

4. The method according to claim 3 , wherein the state parameter is a ciphertext calculated based on the homomorphic encryption algorithm or the homomorphic commitment algorithm.

5. The method according to claim 4 , wherein the descriptive information further comprises: a first proof proving that the variable is within a numerical range.

6. The method according to claim 3 , wherein in response to the event being a transfer event, the plurality of users of the event comprise a remitter and a recipient; and the state parameter comprises an account balance.

7. The method according to claim 3 , wherein in response to the event being a remittance event comprising a remitter, n relays, and a recipient, the first user corresponds to the remitter, the one or more second users correspond to the n relays and the recipient; and

the variable corresponding to a first relay of the n relays comprises a transfer amount of a first-type asset between the remitter and the first relay;

the variable corresponding to an i-th relay of the n relays comprises a transfer amount of an i th -type asset between an (i−1) th relay and an i th relay, wherein 1<i≤n; and

the variable corresponding the recipient comprises a transfer amount of an (n+1) th -type asset between an n th relay and the recipient.

8. The method according to claim 1 , wherein submitting triggering information associated with the first user corresponding to the event to the blockchain comprises:

adding the triggering information to a waiting queue as a to-be-submitted transaction;

creating a merged transaction by including one or more to-be-submitted transactions selected from the waiting queue according to a predetermined rule; and

submitting the merged transaction to the blockchain for processing the one or more to-be-submitted transactions in the merged transaction in the blockchain.

9. A system for processing an event involving a plurality of users in a blockchain, comprising one or more processors and one or more non-transitory computer-readable memories coupled to the one or more processors and configured with instructions executable by the one or more processors to cause the system to perform operations comprising:

generating, by a computing device of a first user of the plurality of users, descriptive information of the event, wherein the descriptive information comprises:

one or more blockchain account addresses of one or more second users of the plurality of users,

for each of the second users, a variable representing an amount to be transferred into a blockchain account of the each second user, wherein the variable is encrypted with a homomorphic encryption algorithm or a homomorphic commitment algorithm based on a public key of the each second user, and a first range proof that the variable is within a numerical range;

sending, by the computing device of the first user, the descriptive information to each of the second users through an off-chain channel for the each second user to verify the descriptive information and to submit second triggering information associated with the each second user corresponding to the event to the blockchain after verifying the descriptive information, wherein the second triggering information associated with the each second user comprises:

signature information generated for the descriptive information by the each second user through a private key of the each second user, and

a second range proof that a state parameter of the each second user stored in the blockchain is not less than an amount determined based on the variable; and

submitting, by the computing device of the first user, first triggering information associated with the first user corresponding to the event to the blockchain for the blockchain to process the event according to the descriptive information after the blockchain verifies all triggering information submitted by the plurality of users.

10. The system according to claim 9 , wherein the second triggering information further comprises the descriptive information.

11. The system according to claim 9 , wherein the event changes a state parameter recorded on the blockchain associated with the each second user according to the corresponding variable.

12. The system according to claim 11 , wherein the state parameter is a ciphertext calculated based on the homomorphic encryption algorithm or the homomorphic commitment algorithm.

13. The system according to claim 12 , wherein the descriptive information further comprises: a first proof proving that the variable is within a numerical range.

14. The system according to claim 11 , wherein in response to the event being a transfer event, the plurality of users of the event comprise a remitter and a recipient; and the state parameter comprises an account balance.

15. The system according to claim 11 , wherein in response to the event being a remittance event comprising a remitter, n relays, and a recipient, the first user corresponds to the remitter, the one or more second users corresponds to the n relays and the recipient; and

the variable corresponding to a first relay of the n relays comprises a transfer amount of a first-type asset between the remitter and the first relay;

the variable corresponding to an i-th relay of the n relays comprises a transfer amount of an i th -type asset between an (i−1) th relay and an i th relay, wherein 1<i≤n; and

the variable corresponding the recipient comprises a transfer amount of an (n+1) th -type asset between an n th relay and the recipient.

16. A non-transitory computer-readable storage medium for processing an event involving a plurality of users in a blockchain configured with instructions executable by one or more processors to cause the one or more processors to perform operations comprising:

generating descriptive information of the event, wherein the descriptive information comprises:

one or more blockchain account addresses of one or more second users of the plurality of users,

for each of the second users, a variable representing an amount to be transferred into a blockchain account of the each second user, wherein the variable is encrypted with a homomorphic encryption algorithm or a homomorphic commitment algorithm based on a public key of the each second user, and a first range proof that the variable is within a numerical range;

sending the descriptive information to each of the second users through an off-chain channel for the each second user to verify the descriptive information and to submit second triggering information associated with the each second user corresponding to the event to the blockchain after verifying the descriptive information, wherein the second triggering information associated with the each second user comprises:

signature information generated for the descriptive information by the each second user through a private key of the each second user, and

a second range proof that a state parameter of the each second user stored in the blockchain is not less than an amount determined based on the variable; and

submitting a first triggering information associated with the first user corresponding to the event to the blockchain for the blockchain to process the event according to the descriptive information after the blockchain verifies all triggering information submitted by the plurality of users.

17. The storage medium according to claim 16 , wherein the second triggering information further comprises the descriptive information.

18. The storage medium according to claim 16 , wherein in response to the event being a remittance event comprising a remitter, n relays, and a recipient, the first user corresponds to the remitter, the one or more second users corresponds to the n relays and the recipient; and

the variable corresponding to a first relay of the n relays comprises a transfer amount of a first-type asset between the remitter and the first relay;

the variable corresponding to an i-th relay of the n relays comprises a transfer amount of an i th -type asset between an (i−1) th relay and an i th relay, wherein 1<i≤n; and

the variable corresponding the recipient comprises a transfer amount of an (n+1) th -type asset between an n th relay and the recipient.

Assignments (3)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 16, 2020
From: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
To: ADVANCED NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053796/0281 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 3, 2020
From: ALIBABA GROUP HOLDING LIMITED
To: ADVANTAGEOUS NEW TECHNOLOGIES CO., LTD.
Reel/Frame 053702/0392 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 30, 2019
From: MA, BAOLI
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 051145/0949 →