IP Library Granted Patent US 10,817,872
Granted Patent B2
US 10,817,872 · App. 16/697,972 · Granted Oct 27, 2020

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

Inventor: Li Lin (Beijing, CN)
Assignee: ADVANCED NEW TECHNOLOGIES CO., LTD.
G06Q20/3674G06Q20/0658H04L9/008H04L9/0637
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,817,872
App. No.
16/697,972
Granted
Oct 27, 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 associated with a user of the event, descriptive information of the event; submitting the descriptive information to the blockchain, so that the descriptive information is synchronized to a computing device associated with another user of the event for the another user to verify the descriptive information and submit triggering information corresponding to the event to the blockchain after verifying the descriptive information; and submitting, by the computing device associated with 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 (70)

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

receiving, by each of a plurality of blockchain nodes of a blockchain network respectively corresponding to a plurality of users, descriptive information of a remittance event submitted to a blockchain on the blockchain network by a remitter, wherein:

the plurality of users comprise a recipient and one or more relays relaying a remittance from the remitter to the recipient,

the remittance event comprises a series of relaying remittances each being a relaying remittance of a distinct asset type from the remitter to one of the relays, between two of the relays, or from one of the relays to the recipient, and

the descriptive information comprises, for each of the series of relaying remittances, (1) a homomorphic commitment encrypting a transfer amount corresponding to the each relaying remittance and (2) a plurality of ciphertexts representing respective encryptions of a plurality of transfer amounts corresponding to the relaying remittances based on a plurality of public keys of the plurality of the users;

decrypting, by each of the plurality of blockchain nodes based on a private key of a user corresponding to the each blockchain node, one of the plurality of ciphertexts for each of the series of relaying remittances to obtain a plurality of second transfer amounts corresponding to the relaying remittances;

verifying, by each of the plurality of blockchain nodes, the plurality of homomorphic commitments in the descriptive information based on the plurality of second transfer amounts;

generating, by each of the plurality of blockchain nodes, a digital signature based on the private key of the user corresponding to the each blockchain node, the digital signature indicating successful verification of the plurality of homomorphic commitments;

storing, via the blockchain network by each of the plurality of blockchain nodes, triggering information comprising the digital signature generated by the each blockchain node to the blockchain for a smart contract on the blockchain to generate a success mark for the user corresponding to the each blockchain node;

querying, via the blockchain network by one or more of the plurality of users, the blockchain;

determining, by one or more of the plurality of users according to the query, that the success mark has been generated for each of the plurality of users and the remitter; and

updating, by each of the one or more of the plurality of blockchain nodes, a balance of a blockchain account of the user corresponding to the each blockchain node by adding a corresponding homomorphic commitment of the plurality of homomorphic commitments to an original homomorphic commitment of the balance.

2. The method according to claim 1 , wherein the descriptive information further comprises a plurality of exchange rates corresponding to the series of distinct asset type.

3. The method according to claim 1 , wherein the storing triggering information comprises, for each of the plurality of blockchain nodes:

selecting, by the blockchain node from a local waiting queue, one or more to-be-submitted transactions comprising the triggering information;

generating, by the blockchain node, a merged transaction comprising the one or more to-be-submitted transactions; and

submitting, by the blockchain node, the merged transaction to the blockchain.

4. The method according to claim 1 , wherein the descriptive information comprises a plurality of random numbers that are used to generate the plurality of homomorphic commitments, and each of the plurality of random numbers is encrypted into a plurality of ciphertexts based on the plurality of public keys of the plurality of the users.

5. The method according to claim 4 , wherein the descriptive information further comprises a plurality of first range proofs generated by the remitter proving that the plurality of transfer amounts are each within a numerical range, and

the triggering information further comprises a second range proof proving that a current balance of the blockchain account is greater than a corresponding transfer amount being transferred out of the blockchain account.

6. The method according to claim 1 , wherein:

the descriptive information comprises a plurality of random numbers that are used to generate the plurality of homomorphic commitments; and

the verifying the plurality of homomorphic commitments in the descriptive information comprises verifying the plurality of homomorphic commitments based on the plurality of second transfer amounts and the plurality of random numbers.

7. A system for processing an event involving a plurality of users on a blockchain comprising a processor and a non-transitory computer-readable storage medium storing instructions executable by the processor to cause the system to perform operations comprising:

receiving, by each of a plurality of blockchain nodes of a blockchain network respectively corresponding to a plurality of users, descriptive information of a remittance event submitted to a blockchain on the blockchain network by a remitter, wherein:

the plurality of users comprise a recipient and one or more relays relaying a remittance from the remitter to the recipient,

the remittance event comprises a series of relaying remittances each being a relaying remittance of a distinct asset type from the remitter to one of the relays, between two of the relays, or from one of the relays to the recipient, and

the descriptive information comprises, for each of the series of relaying remittances, (1) a homomorphic commitment encrypting a transfer amount corresponding to the each relaying remittance and (2) a plurality of ciphertexts representing respective encryptions of a plurality of transfer amounts corresponding to the relaying remittances based on a plurality of public keys of the plurality of the users;

decrypting, by each of the plurality of blockchain nodes based on a private key of a user corresponding to the each blockchain node, one of the plurality of ciphertexts for each of the series of relaying remittances to obtain a plurality of second transfer amounts corresponding to the relaying remittances;

verifying, by each of the plurality of blockchain nodes, the plurality of homomorphic commitments in the descriptive information based on the plurality of second transfer amounts;

generating, by each of the plurality of blockchain nodes, a digital signature based on the private key of the user corresponding to the each blockchain node, the digital signature indicating successful verification of the plurality of homomorphic commitments;

storing, via the blockchain network by each of the plurality of blockchain nodes, triggering information comprising the digital signature generated by the each blockchain node to the blockchain for a smart contract on the blockchain to generate a success mark for the user corresponding to the each blockchain node;

querying, via the blockchain network by one or more of the plurality of users, the blockchain;

determining, by one or more of the plurality of users according to the query, that the success mark has been generated for each of the plurality of users and the remitter; and

updating, by each of the one or more of the plurality of blockchain nodes, a balance of a blockchain account of the user corresponding to the each blockchain node by adding a corresponding homomorphic commitment of the plurality of homomorphic commitments to an original homomorphic commitment of the balance.

8. The system according to claim 7 , wherein the descriptive information further comprises: a plurality of exchange rates corresponding to the series of distinct asset types.

9. The system according to claim 7 , wherein the descriptive information comprises a plurality of random numbers that are used to generate the plurality of homomorphic commitments; and

the verifying the plurality of homomorphic commitments in the descriptive information comprises:

verifying the plurality of homomorphic commitments based on the plurality of second transfer amounts and the plurality of random numbers.

10. The system according to claim 9 , wherein each of the plurality of random numbers is encrypted into a plurality of ciphertexts based on the plurality of public keys of the plurality of the users.

11. The system according to claim 7 , wherein the storing triggering information comprises, for each of the plurality of blockchain nodes:

selecting, by the blockchain node from a local waiting queue, one or more to-be-submitted transactions comprising the triggering information;

generating, by the blockchain node, a merged transaction comprising the one or more to-be-submitted transactions; and

submitting, by the blockchain node, the merged transaction to the blockchain.

12. The system according to claim 7 , wherein the descriptive information further comprises a plurality of first range proofs generated by the remitter proving that the plurality of transfer amounts are each within a numerical range.

13. The system according to claim 12 , wherein the triggering information further comprises

a second range proof proving that a current balance of the blockchain account is greater than a corresponding transfer amount being transferred out of the blockchain account.

14. A non-transitory computer-readable storage medium configured with instructions executable by a processor to cause the processor to perform operations for processing an event involving a plurality of users on a blockchain, the operations comprising:

receiving, by each of a plurality of blockchain nodes of a blockchain network respectively corresponding to a plurality of users, descriptive information of a remittance event submitted to a blockchain on the blockchain network by a remitter, wherein:

the plurality of users comprise a recipient and one or more relays relaying a remittance from the remitter to the recipient,

the remittance event comprises a series of relaying remittances each being a relaying remittance of a distinct asset type from the remitter to one of the relays, between two of the relays, or from one of the relays to the recipient, and

the descriptive information comprises, for each of the series of relaying remittances, (1) a homomorphic commitment encrypting a transfer amount corresponding to the each relaying remittance and (2) a plurality of ciphertexts representing respective encryptions of a plurality of transfer amounts corresponding to the relaying remittances based on a plurality of public keys of the plurality of the users;

decrypting, by each of the plurality of blockchain nodes based on a private key of a user corresponding to the each blockchain node, one of the plurality of ciphertexts for each of the series of relaying remittances to obtain a plurality of second transfer amounts corresponding to the relaying remittances;

verifying, by each of the plurality of blockchain nodes, the plurality of homomorphic commitments in the descriptive information based on the plurality of second transfer amounts;

generating, by each of the plurality of blockchain nodes, a digital signature based on the private key of the user corresponding to the each blockchain node, the digital signature indicating successful verification of the plurality of homomorphic commitments;

storing, via the blockchain network by each of the plurality of blockchain nodes, triggering information comprising the digital signature generated by the each blockchain node to the blockchain for a smart contract on the blockchain to generate a success mark for the user corresponding to the each blockchain node;

querying, via the blockchain network by one or more of the plurality of users, the blockchain;

determining, by one or more of the plurality of users according to the query, that the success mark has been generated for each of the plurality of users and the remitter; and

updating, by each of the one or more of the plurality of blockchain nodes, a balance of a blockchain account of the user corresponding to the each blockchain node by adding a corresponding homomorphic commitment of the plurality of homomorphic commitments to an original homomorphic commitment of the balance.

15. The non-transitory computer-readable storage medium according to claim 14 , wherein the descriptive information further comprises a plurality of exchange rates corresponding to the series of distinct asset types.

16. The non-transitory computer-readable storage medium according to claim 14 , wherein the storing triggering information comprises, for each of the plurality of blockchain nodes:

selecting, by the blockchain node from a local waiting queue, one or more to-be-submitted transactions comprising the triggering information;

generating, by the blockchain node, a merged transaction comprising the one or more to-be-submitted transactions; and

submitting, by the blockchain node, the merged transaction to the blockchain.

17. The non-transitory computer-readable storage medium according to claim 14 , wherein the descriptive information comprises a plurality of random numbers that are used to generate the plurality of homomorphic commitments; and

the verifying the plurality of homomorphic commitments in the descriptive information comprises:

verifying the plurality of homomorphic commitments based on the plurality of second transfer amounts and the plurality of random numbers.

18. The non-transitory computer-readable storage medium according to claim 17 , wherein each of the plurality of random numbers is encrypted into a plurality of ciphertexts based on the plurality of public keys of the plurality of the users.

19. The non-transitory computer-readable storage medium according to claim 18 , wherein the descriptive information further comprises a plurality of first range proofs generated by the remitter proving that the plurality of transfer amounts are each within a numerical range, and

the triggering information further comprises a second range proof proving that a current balance of the blockchain account is greater than a corresponding transfer amount being transferred out of the blockchain account.

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 27, 2019
From: LIN, LI
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 051130/0548 →