IP Library Granted Patent US 10,999,060
Granted Patent B2
US 10,999,060 · App. 16/504,457 · Granted May 4, 2021

Data processing method and apparatus

Inventors: Haizhen Zhuo (Hangzhou, CN); Honglin Qiu (Hangzhou, CN)
Assignee: ADVANCED NEW TECHNOLOGIES CO., LTD.
H04L9/0637G06F16/2358G06F16/9027H04L9/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,999,060
App. No.
16/504,457
Granted
May 4, 2021
Kind
B2
Abstract

Methods, system, and apparatus, including computer programs encoded on computer storage media for data processing are provided. One of the methods includes: establishing a logic contract of a blockchain and one or more data contracts corresponding to the logic contract; deploying the logic contract and the one or more data contracts in the blockchain; storing data of a target block in the blockchain into the one or more data contracts; computing a hash value of each of the one or more data contracts; and determining a hash value of the target block in the blockchain based on the hash value of each of the one or more data contracts.

Claims (64)

1. A data processing method, comprising:

establishing a logic contract of a blockchain and one or more data contracts corresponding to the logic contract by:

separating a logic part of a smart contract of the blockchain to establish the logic contract, and

when a volume of data contracts in the blockchain reaches a preset threshold, establishing a new data contract, wherein the established one or more data contracts comprise the new data contract;

deploying the logic contract and the one or more data contracts on the blockchain;

storing data of a target block in the blockchain into the one or more data contracts;

computing a hash value of each of the one or more data contracts;

computing a hash value of the logic contract; and

determining a hash value of the target block in the blockchain based on the hash value of the logic contract and the hash value of each of the one or more data contracts.

2. The method of claim 1 , further comprising:

upgrading the logic contract to upgrade the smart contract.

3. The method of claim 2 , wherein upgrading the logic contract to upgrade the smart contract comprises:

upgrading the logic contract to upgrade the smart contract without upgrading the one or more data contracts.

4. The method of claim 1 , further comprising:

sharing the data in the one or more data contracts to other smart contracts.

5. The method of claim 1 , wherein storing the data of the target block in the blockchain into the one or more data contracts comprises:

uniformly distributing and storing the data of the target block into the one or more data contracts.

6. The method of claim 5 , wherein computing the hash value of each of the one or more data contracts comprises:

computing the hash value of each of the one or more data contracts in a parallel manner.

7. The method of claim 1 , wherein computing the hash value of each of the one or more data contracts comprises:

performing a Merkle tree hash computation on each of the one or more data contracts to compute the hash value.

8. The method of claim 1 , wherein determining the hash value of the target block in the blockchain based on the hash value of each of the one or more data contracts comprises:

performing a hash calculation of the hash value of each of the one or more data contracts to obtain the hash value of the target block.

9. The method of claim 1 , wherein determining the hash value of the target block in the blockchain based on the hash value of the logic contract and the hash value of each of the one or more data contracts comprises:

performing a hash calculation of the hash value of the logic contract and the hash value of each of the one or more data contracts to obtain the hash value of the target block.

10. A non-transitory computer-readable storage medium configured with instructions executable by one or more processors to cause the one or more processors to perform operations comprising:

establishing a logic contract of a blockchain and one or more data contracts corresponding to the logic contract by:

separating a logic part of a smart contract of the blockchain to establish the logic,

and

when a volume of the data contracts in the blockchain reaches a preset threshold, establishing a new data contract, wherein the established one or more data contracts comprise the new data contract;

deploying the logic contract and the one or more data contracts on the blockchain;

storing data of a target block in the blockchain into the one or more data contracts;

computing a hash value of each of the one or more data contracts;

computing a hash value of the logic contract; and

determining a hash value of the target block in the blockchain based on the hash value of the logic contract and the hash value of each of the one or more data contracts.

11. The non-transitory computer-readable storage medium of claim 10 , wherein the operations further comprise:

upgrading the logic contract to upgrade the smart contract; and

sharing the data in the one or more data contracts to other smart contracts.

12. The non-transitory computer-readable storage medium of claim 11 , wherein upgrading the logic contract to upgrade the smart contract comprises:

upgrading the logic contract to upgrade the smart contract without upgrading the one or more data contracts.

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

sharing the data in the one or more data contracts to other smart contracts.

14. The non-transitory computer-readable storage medium of claim 10 , wherein storing the data of the target block in the blockchain into the one or more data contracts comprises:

uniformly distributing and storing the data of the target block into the one or more data contracts.

15. The non-transitory computer-readable storage medium of claim 14 , wherein computing the hash value of each of the one or more data contracts comprises:

computing the hash value of each of the one or more data contracts in a parallel manner.

16. A data processing apparatus, 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:

establishing a logic contract of a blockchain and one or more data contracts corresponding to the logic contract by:

separating a logic part of a smart contract of the blockchain to establish the logic contract, and

when a volume of the data contracts in the blockchain reaches a preset threshold, establishing a new data contract, wherein the established one or more data contracts comprise the new data contract;

deploying the logic contract and the one or more data contracts on the blockchain;

storing data of a target block in the blockchain into the one or more data contracts;

computing a hash value of each of the one or more data contracts;

computing a hash value of the logic contract; and

determining a hash value of the target block in the blockchain based on the hash value of the logic contract and the hash value of each of the one or more data contracts.

17. The data processing apparatus of claim 16 , wherein the operations further comprise:

upgrading the logic contract to upgrade the smart contract; and

sharing the data in the one or more data contracts to other smart contracts.

18. The data processing apparatus of claim 16 , wherein upgrading the logic contract to upgrade the smart contract comprises:

upgrading the logic contract to upgrade the smart contract without upgrading the one or more data contracts.

19. The data processing apparatus of claim 16 , wherein the operations further comprise:

sharing the data in the one or more data contracts to other smart contracts.

20. The data processing apparatus of claim 19 , wherein storing the data of the target block in the blockchain into the one or more data contracts comprises:

uniformly distributing and storing the data of the target block into the one or more data contracts.

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 Jul 8, 2019
From: ZHUO, HAIZHEN; QIU, HONGLIN
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 049684/0278 →