IP Library Granted Patent US 10,581,610
Granted Patent B2
US 10,581,610 · App. 16/408,218 · Granted Mar 3, 2020

Blockchain data processing methods, apparatuses, processing devices, and systems

Inventors: Husen Wang (Hangzhou, CN); Xuming Lu (Hangzhou, CN)
Assignee: Alibaba Group Holding Limited
H04L9/3228H04L9/3247H04L9/3263H04L63/0442H04L2209/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,581,610
App. No.
16/408,218
Granted
Mar 3, 2020
Kind
B2
Abstract

Techniques for processing blockchain data are described. Each contract participant of a plurality of contract participants in a blockchain generates, for a target contract, a paired temporary public key and private key generated based on an asymmetric encryption algorithm. Each contract participant sends the temporary public key to other contract participants. First signature data is generated by each contract participant signing data information including the target contract and temporary public keys of the contract participants by using the temporary private key. A contract participant encrypts predetermined contract information by using a regulatory key of a regulator to generate an encrypted contract signed by each contract participant using the temporary private key, to generate second signature data. Creation data is determined and submitted to the blockchain for storage, where the creation data includes the temporary public key and the second signature data of each contract participant and the encrypted contract.

Claims (80)

1. A computer-implemented method, comprising:

generating, by each contract participant of a plurality of contract participants in a blockchain, temporary keys for a target contract, wherein the temporary keys comprise a temporary public key and a temporary private key that are paired with each other and are generated based on an asymmetric encryption algorithm, the temporary keys generated by each contract participant being different from temporary keys generated by other contract participants in the plurality of contract participants;

sending, by each contract participant of the plurality of contract participants, the temporary public key to other contract participants of the plurality of contract participants;

signing, by each contract participant of the plurality of contract participants, data information that comprises the target contract and temporary public keys of the plurality of contract participants by using a corresponding temporary private key generated by the contract participant signing the data information, to generate a respective first signature data corresponding to the contract participant signing the data information;

encrypting, by a contract participant of the plurality of contract participants, predetermined contract information by using a regulatory key of a regulator to generate an encrypted contract, wherein the predetermined contract information comprises the target contract, the temporary public key of each contract participant, and the first signature data of each contract participant;

determining creation data comprising the encrypted contract; and

submitting the creation data to the blockchain for storage.

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

sending, by each contract participant of the plurality of contract participants, digital identity digests of other contract participants of the plurality of contract participants to the blockchain;

receiving, by each contract participant of the plurality of contract participants, a message from the blockchain, wherein the message is an acknowledgement message or a failure message; and

in response to receiving an acknowledgement message from the blockchain, determining that the plurality of contract participants are legal users of the blockchain.

3. The computer-implemented method of claim 1 , wherein the temporary keys are updated based on:

at least one of different contract participants and different target contracts; or

a predetermined replacement period.

4. The computer-implemented method of claim 1 , wherein the predetermined contract information comprises certificates of all of the plurality of contract participants.

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

signing, by each contract participant of the plurality of contract participants, the encrypted contract by using a respective temporary private key generated by the contract participant, to generate second signature data corresponding to the contract participant, wherein

the creation data comprises the temporary public key and the second signature data of each contract participant.

6. The computer-implemented method of claim 1 , wherein the blockchain includes blockchain data comprising the creation data and contract execution data, the contract execution data being determined by:

determining whether the plurality of contract participants reached a consensus offline on an execution process of the target contract;

in response to determining that the plurality of contract participants reached a consensus offline on the execution process of the target contract, encrypting, by a contract participant of the plurality of contract participants, a determined new contract by using the regulatory key, to generate an encrypted new contract;

signing, by each contract participant of the plurality of contract participants, the encrypted new contract by using a temporary private key corresponding to the encrypted new contract, to generate second signature data respectively corresponding to the contract participant;

determining, by a contract participant of the plurality of contract participants, whether the plurality of contract participants signed the encrypted new contract; and

in response to determining that the plurality of contract participants signed the encrypted new contract, determining the contract execution data comprising the second signature data of each contract participant and the encrypted new contract.

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

performing a signature verification on the contract execution data by using temporary public keys corresponding to the encrypted new contract; and

in response to determining that the signature verification succeeds, updating the target contract to an encrypted new contract.

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

generating, by each contract participant of a plurality of contract participants in a blockchain, temporary keys for a target contract, wherein the temporary keys comprise a temporary public key and a temporary private key that are paired with each other and are generated based on an asymmetric encryption algorithm, the temporary keys generated by each contract participant being different from temporary keys generated by other contract participants in the plurality of contract participants;

sending, by each contract participant of the plurality of contract participants, the temporary public key to other contract participants of the plurality of contract participants;

signing, by each contract participant of the plurality of contract participants, data information that comprises the target contract and temporary public keys of the plurality of contract participants by using a corresponding temporary private key generated by the contract participant signing the data information, to generate a respective first signature data corresponding to the contract participant signing the data information;

encrypting, by a contract participant of the plurality of contract participants, predetermined contract information by using a regulatory key of a regulator to generate an encrypted contract, wherein the predetermined contract information comprises the target contract, the temporary public key of each contract participant, and the first signature data of each contract participant;

determining creation data comprising the encrypted contract; and

submitting the creation data to the blockchain for storage.

9. The non-transitory, computer-readable medium of claim 8 , wherein the operations further comprise:

sending, by each contract participant of the plurality of contract participants, digital identity digests of other contract participants of the plurality of contract participants to the blockchain;

receiving, by each contract participant of the plurality of contract participants, a message from the blockchain, wherein the message is an acknowledgement message or a failure message; and

in response to receiving an acknowledgement message from the blockchain, determining that the plurality of contract participants are legal users of the blockchain.

10. The non-transitory, computer-readable medium of claim 8 , wherein the temporary keys are updated based on:

at least one of different contract participants and different target contracts; or

a predetermined replacement period.

11. The non-transitory, computer-readable medium of claim 8 , wherein the predetermined contract information comprises certificates of all of the plurality of contract participants.

12. The non-transitory, computer-readable medium of claim 8 , wherein the operations further comprise:

signing, by each contract participant of the plurality of contract participants, the encrypted contract by using a respective temporary private key generated by the contract participant, to generate second signature data corresponding to the contract participant, wherein

the creation data comprises the temporary public key and the second signature data of each contract participant.

13. The non-transitory, computer-readable medium of claim 8 , wherein the blockchain includes blockchain data comprising the creation data and contract execution data, the contract execution data being determined by:

determining whether the plurality of contract participants reached a consensus offline on an execution process of the target contract;

in response to determining that the plurality of contract participants reached a consensus offline on the execution process of the target contract, encrypting, by a contract participant of the plurality of contract participants, a determined new contract by using the regulatory key, to generate an encrypted new contract;

signing, by each contract participant of the plurality of contract participants, the encrypted new contract by using a temporary private key corresponding to the encrypted new contract, to generate second signature data respectively corresponding to the contract participant;

determining, by a contract participant of the plurality of contract participants, whether the plurality of contract participants signed the encrypted new contract; and

in response to determining that the plurality of contract participants signed the encrypted new contract, determining the contract execution data comprising the second signature data of each contract participant and the encrypted new contract.

14. The non-transitory, computer-readable medium of claim 13 , wherein the operations further comprise:

performing a signature verification on the contract execution data by using temporary public keys corresponding to the encrypted new contract; and

in response to determining that the signature verification succeeds, updating the target contract to an encrypted new contract.

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:

generating, by each contract participant of a plurality of contract participants in a blockchain, temporary keys for a target contract, wherein the temporary keys comprise a temporary public key and a temporary private key that are paired with each other and are generated based on an asymmetric encryption algorithm, the temporary keys generated by each contract participant being different from temporary keys generated by other contract participants in the plurality of contract participants;

sending, by each contract participant of the plurality of contract participants, the temporary public key to other contract participants of the plurality of contract participants;

signing, by each contract participant of the plurality of contract participants, data information that comprises the target contract and temporary public keys of the plurality of contract participants by using a corresponding temporary private key generated by the contract participant signing the data information, to generate a respective first signature data corresponding to the contract participant signing the data information;

encrypting, by a contract participant of the plurality of contract participants, predetermined contract information by using a regulatory key of a regulator to generate an encrypted contract, wherein the predetermined contract information comprises the target contract, the temporary public key of each contract participant, and the first signature data of each contract participant;

determining creation data comprising the encrypted contract; and

submitting the creation data to the blockchain for storage.

16. The computer-implemented system of claim 15 , wherein the operations further comprise:

sending, by each contract participant of the plurality of contract participants, digital identity digests of other contract participants of the plurality of contract participants to the blockchain;

receiving, by each contract participant of the plurality of contract participants, a message from the blockchain, wherein the message is an acknowledgement message or a failure message; and

in response to receiving an acknowledgement message from the blockchain, determining that the plurality of contract participants are legal users of the blockchain.

17. The computer-implemented system of claim 15 , wherein the temporary keys are updated based on:

at least one of different contract participants and different target contracts; or

a predetermined replacement period.

18. The computer-implemented system of claim 15 , wherein the predetermined contract information comprises certificates of all of the plurality of contract participants.

19. The computer-implemented system of claim 15 , wherein the operations further comprise:

signing, by each contract participant of the plurality of contract participants, the encrypted contract by using a respective temporary private key generated by the contract participant, to generate second signature data corresponding to the contract participant, wherein

the creation data comprises the temporary public key and the second signature data of each contract participant.

20. The computer-implemented system of claim 15 , wherein the blockchain includes blockchain data comprising the creation data and contract execution data, the contract execution data being determined by:

determining whether the plurality of contract participants reached a consensus offline on an execution process of the target contract;

in response to determining that the plurality of contract participants reached a consensus offline on the execution process of the target contract, encrypting, by a contract participant of the plurality of contract participants, a determined new contract by using the regulatory key, to generate an encrypted new contract;

signing, by each contract participant of the plurality of contract participants, the encrypted new contract by using a temporary private key corresponding to the encrypted new contract, to generate second signature data respectively corresponding to the contract participant;

determining, by a contract participant of the plurality of contract participants, whether the plurality of contract participants signed the encrypted new contract; and

in response to determining that the plurality of contract participants signed the encrypted new contract, determining the contract execution data comprising the second signature data of each contract participant and the encrypted new contract.

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 Jul 30, 2019
From: WANG, HUSEN; LU, XUMING
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 049896/0879 →