IP Library Granted Patent US 10,936,581
Granted Patent B2
US 10,936,581 · App. 16/813,516 · Granted Mar 2, 2021

Blockchain transaction processing method and apparatus

Inventors: Wenlong Yang (Hangzhou, CN); Ping Dai (Hangzhou, CN); Jincheng Wang (Hangzhou, CN)
Assignee: Advanced New Technologies Co., Ltd.
G06F16/2379G06F21/602H04L9/0637H04L2209/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,936,581
App. No.
16/813,516
Granted
Mar 2, 2021
Kind
B2
Abstract

Disclosed herein are methods, systems, and apparatus, including computer programs encoded on computer storage media, for blockchain transaction processing. One of the methods includes: obtaining, by a blockchain node, a current blockchain transaction generated based on performing a service; obtaining, by the blockchain node based on executing a smart contract, a transaction identifier of a previous blockchain transaction; recording, by the blockchain node, the transaction identifier into a transaction log so that a previous blockchain transaction is identifiable from the transaction log based on the transaction identifier, wherein the transaction log stores blockchain transactions of the current block; and recording the blockchain transaction of the current block and the transaction log into the blockchain.

Claims (47)

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

obtaining, by a blockchain node of a blockchain, a current blockchain transaction generated based on performing a service;

invoking, by the blockchain node, a smart contract corresponding to the service, wherein the smart contract comprises a table including a list of transaction identifiers of blockchain transactions corresponding to the service;

obtaining, by the blockchain node based on executing the smart contract, a transaction identifier of a previous blockchain transaction, wherein the previous blockchain transaction corresponds to an identifier record recently added to the list of transaction identifiers in the table;

recording, by the blockchain node, the transaction identifier of the previous blockchain transaction into a transaction log so that a previous blockchain transaction is identifiable from the transaction log based on the transaction identifier; and

recording, by the blockchain node, the current blockchain transaction and the transaction log into the blockchain.

2. The computer-implemented method of claim 1 , wherein the transaction identifier is a hash value of the previous blockchain transaction.

3. The computer-implemented method of claim 1 , wherein the previous blockchain transaction is identifiable from the list of transaction identifiers of blockchain transactions corresponding to the service.

4. The computer-implemented method of claim 1 , wherein the list of transaction identifiers of blockchain transactions corresponding to the service is updated based on adding a transaction identifier of the current blockchain transaction into the list, and the transaction identifier of the previous blockchain transaction is updated in the list as the transaction identifier of the current blockchain transaction after recording the current blockchain transaction into the blockchain.

5. The computer-implemented method of claim 1 , wherein the transaction identifier is encrypted by an encryption key associated with the service before recording into the transaction log.

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

receiving, from a client device, a blockchain transaction query corresponding to a blockchain transaction query interface for retrieving the blockchain transaction;

obtaining, from a server of the blockchain, the transaction log corresponding to the blockchain transaction based on the blockchain transaction query interface; and

retrieving the transaction identifier based on the transaction log.

7. The computer-implemented method of claim 6 , wherein the transaction identifier is encrypted by an encryption key associated with the service, and the retrieving the transaction identifier comprises decrypting the transaction identifier based on a decryption key corresponding to the encryption key.

8. A computer-implemented system for blockchain transaction processing, comprising:

one or more processors; and

one or more computer-readable memories coupled to the one or more processors and having instructions stored thereon that are executable by the one or more processors to perform operations, comprising:

obtaining, by a blockchain node of a blockchain, a current blockchain transaction generated based on performing a service;

invoking, by the blockchain node, a smart contract corresponding to the service, wherein the smart contract comprises a table including a list of transaction identifiers of blockchain transactions corresponding to the service;

obtaining, by the blockchain node based on executing the smart contract, a transaction identifier of a previous blockchain transaction, wherein the previous blockchain transaction corresponds to an identifier record recently added to the list of transaction identifiers in the table;

recording, by the blockchain node, the transaction identifier of the previous blockchain transaction into a transaction log so that a previous blockchain transaction is identifiable from the transaction log based on the transaction identifier; and

recording, by the blockchain node, the current blockchain transaction and the transaction log into the blockchain.

9. The computer-implemented system of claim 8 , wherein the transaction identifier is a hash value of the previous blockchain transaction.

10. The computer-implemented system of claim 8 , wherein the previous blockchain transaction is identifiable from the list of transaction identifiers of blockchain transactions corresponding to the service.

11. The computer-implemented system of claim 8 , wherein the list of transaction identifiers of blockchain transactions corresponding to the service is updated based on adding a transaction identifier of the current blockchain transaction into the list, and the transaction identifier of the previous blockchain transaction is updated in the list as the transaction identifier of the current blockchain transaction after recording the current blockchain transaction into the blockchain.

12. The computer-implemented system of claim 8 , wherein the transaction identifier is encrypted by an encryption key associated with the service before recording into the transaction log.

13. The computer-implemented system of claim 8 , further comprising:

receiving, from a client device, a blockchain transaction query corresponding to a blockchain transaction query interface for retrieving the blockchain transaction;

obtaining, from a server of the blockchain, the transaction log corresponding to the blockchain transaction based on the blockchain transaction query interface; and

retrieving the transaction identifier based on the transaction log.

14. The computer-implemented system of claim 13 , wherein the transaction identifier is encrypted by an encryption key associated with the service, and the retrieving the transaction identifier comprises decrypting the transaction identifier based on a decryption key corresponding to the encryption key.

15. A non-transitory, computer-readable medium storing one or more instructions executable by a computer-implemented authentication system to perform one or more operations for blockchain transaction processing, comprising:

obtaining, by a blockchain node of a blockchain, a current blockchain transaction generated based on performing a service;

invoking, by the blockchain node, a smart contract corresponding to the service, wherein the smart contract comprises a table including a list of transaction identifiers of blockchain transactions corresponding to the service;

obtaining, by the blockchain node based on executing the smart contract, a transaction identifier of a previous blockchain transaction, wherein the previous blockchain transaction corresponds to an identifier record recently added to the list of transaction identifiers in the table;

recording, by the blockchain node, the transaction identifier of the previous blockchain transaction into a transaction log so that a previous blockchain transaction is identifiable from the transaction log based on the transaction identifier; and

recording, by the blockchain node, the current blockchain transaction and the transaction log into the blockchain.

16. The non-transitory, computer-readable medium of claim 15 , wherein the transaction identifier is a hash value of the previous blockchain transaction.

17. The non-transitory, computer-readable medium of claim 15 , the previous blockchain transaction is identifiable from the list of transaction identifiers of blockchain transactions corresponding to the service.

18. The non-transitory, computer-readable medium of claim 15 , wherein the list of transaction identifiers of blockchain transactions corresponding to the service is updated based on adding a transaction identifier of the current blockchain transaction into the list, and the transaction identifier of the previous blockchain transaction is updated in the list as the transaction identifier of the current blockchain transaction after recording the current blockchain transaction into the blockchain.

19. The non-transitory, computer-readable medium of claim 15 , wherein the transaction identifier is encrypted by an encryption key associated with the service before recording into the transaction log.

20. The non-transitory, computer-readable medium of claim 15 , further comprising:

receiving, from a client device, a blockchain transaction query corresponding to a blockchain transaction query interface for retrieving the blockchain transaction;

obtaining, from a server of the blockchain, the transaction log corresponding to the blockchain transaction based on the blockchain transaction query interface; and

retrieving the transaction identifier based on the transaction log.

21. The non-transitory, computer-readable medium of claim 20 , wherein the transaction identifier is encrypted by an encryption key associated with the service, and the retrieving the transaction identifier comprises decrypting the transaction identifier based on a decryption key corresponding to the encryption key.

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 Apr 20, 2020
From: YANG, WENLONG; DAI, PING; WANG, JINCHENG
To: ALIBABA GROUP HOLDING LIMITED
Reel/Frame 052439/0053 →
Priority Claims (1)
CN 201910817713.X · Aug 30, 2019 · national
Continuity (2)
Continuation PCTCN2020071331 · Jan 10, 2020
Related Publication 20200210414A1 · Jul 2, 2020