# US 2021/0174359 A1 · Transaction processing method and apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0174359 A1
- Document ID: US20210174359A1
- Status: Published application
- Kind: A1
- Application number: 17/157,884
- Filed: 2021-01-25
- Published: 2021-06-10
- Earliest claimed: 2018-11-20
- Assignees: Advanced New Technologies Co., Ltd.
- Applicants: Advanced New Technologies Co, Ltd.
- Inventors: Mingshu Lin
- Web page: https://patentgrep.com/patent/US20210174359A1

## CPC

- G06Q 20/3825: {Use of electronic signatures}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- G06Q 20/065: {using e-cash}
- G06Q 20/0658: {e-cash managed locally}
- G06Q 20/223: {based on the use of peer-to-peer networks}
- G06Q 20/3827: {Use of message hashing}
- G06Q 20/3829: {involving key management}
- G06Q 20/405: {Establishing or using transaction specific rules}
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/3247: {involving digital signatures}
- H04L 9/3273: {for mutual authentication (network architectures or network communication protocols for achieving mutual authentication in a packet data network H04L63/0869)}
- H04L 63/04: {for providing a confidential data exchange among entities communicating through data packet networks}
- H04L 63/123: {received data contents, e.g. message integrity}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

During operation, a first node coupled to the blockchain sends a transaction confirmation request for a target transaction to a second node, the transaction confirmation request comprising transaction data associated with the target transaction. The first node receives a transaction confirmation response from the second node, the transaction confirmation response comprising a first data block comprising at least an identifier of the second node, first encoded transaction data generated based on a predetermined encoding scheme, and a first confirmation result. The first node generates a second data block comprising at least an identifier of the first node, second encoded transaction data generated based on the predetermined encoding scheme, and a second confirmation result; and in response to determining that each of the first confirmation result and the second confirmation result indicates that the target transaction is confirmed, stores the first data block and the second data block in the blockchain.

## Claims

### Claim 1

A computer-executed method for processing a transaction based on blockchain, the method comprising:
sending, by a first node coupled to the blockchain, a transaction confirmation request for a target transaction to a second node coupled to the blockchain, wherein the transaction confirmation request comprises transaction data associated with the target transaction;
receiving a transaction confirmation response from the second node, wherein the transaction confirmation response comprises a first data block comprising at least an identifier of the second node, first encoded transaction data generated based on a predetermined encoding scheme, and a first confirmation result;
generating, by the first node, a second data block comprising at least an identifier of the first node, second encoded transaction data generated based on the predetermined encoding scheme, and a second confirmation result; and
in response to determining that each of the first confirmation result and the second confirmation result indicates that the target transaction is confirmed, storing the first data block and the second data block in the blockchain.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
in response to determining that each of the first confirmation result and the second confirmation result indicates that the target transaction is confirmed, processing the target transaction by the blockchain.

### Claim 3 (depends on 2)

The method according to claim 2, wherein processing the target transaction by the blockchain comprises:
recording processing result information of the target transaction by the blockchain; and
sending the processing result information of the target transaction to each node associated with the target transaction through the blockchain, thereby facilitating each node associated with the target transaction to process the target transaction.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the transaction confirmation response further comprises first signature data of the first data block, wherein the first signature data is computed by the second node based on a private key of the second node, wherein the first signature data is stored in the blockchain along with the first data block; and
wherein the method further comprises:
computing, by the first node, second signature data of the second data block based on a private key of the first node; and
storing the second signature data in the blockchain along with the second data block.

### Claim 5 (depends on 4)

The method according to claim 4, wherein storing the first data block and the second data block in the blockchain further comprises:
storing the first data block, the first signature data, the second data block, and the second signature data in a same block.

### Claim 6 (depends on 4)

The method according to claim 4, further comprising verifying the first signature data and the second signature data.

### Claim 7 (depends on 1)

The method according to claim 1, wherein storing the first data block and the second data block in the blockchain further comprises:
checking whether the identifier of the second node and/or the identifier of the first node matches a member identifier on a transaction link of the target transaction;
checking whether the first encoded transaction data matches the second encoded transaction data; and
in response to the identifier of the second node and/or the identifier of the first node matching a member identifier on the transaction link and the first encoded transaction data matching the second encoded transaction data, storing the first data block and the second data block in the block chain.

### Claim 8

A computer-executed method for processing a transaction based on blockchain, the method comprising:
receiving, by a first node coupled to the blockchain, a transaction confirmation request for a target transaction from a second node coupled to the blockchain, wherein the transaction confirmation request comprises transaction data associated with the target transaction;
generating a first confirmation result based on the transaction data;
generating first encoded transaction data by encoding the transaction data using a predetermined encoding scheme; and
sending, by the first node, a transaction confirmation response to the second node, wherein the transaction confirmation response comprises a first data block comprising at least the first encoded transaction data and the first confirmation result, thereby facilitating the second node in storing the first data block in the blockchain in response to determining that the target transaction is confirmed based on the first confirmation result.

### Claim 9 (depends on 8)

The method according to claim 8, further comprising:
receiving processing result information of the target transaction from the blockchain; and
processing the target transaction according to the processing result information.

### Claim 10 (depends on 8)

The method according to claim 8, further comprising:
computing first signature data of the first data block based on a private key of the first node; and
storing the first signature data is stored in the blockchain along with the first data block.

### Claim 11

A computer system, comprising:
a processer;
a storage device coupled to the processor and storing instructions, which when executed by the processor cause the processor to perform a method for processing a transaction based on blockchain, the method comprising:
sending, by a first node coupled to the blockchain, a transaction confirmation request for a target transaction to a second node coupled to the blockchain, wherein the transaction confirmation request comprises transaction data associated with the target transaction;
receiving a transaction confirmation response from the second node, wherein the transaction confirmation response comprises a first data block comprising at least an identifier of the second node, first encoded transaction data generated based on a predetermined encoding scheme, and a first confirmation result;
generating, by the first node, a second data block comprising at least an identifier of the first node, second encoded transaction data generated based on the predetermined encoding scheme, and a second confirmation result; and
in response to determining that each of the first confirmation result and the second confirmation result indicates that the target transaction is confirmed, storing the first data block and the second data block in the blockchain.

### Claim 12 (depends on 11)

The computer system according to claim 11, wherein the method further comprises:
in response to determining that each of the first confirmation result and the second confirmation result indicates that the target transaction is confirmed, processing the target transaction by the blockchain.

### Claim 13 (depends on 12)

The computer system according to claim 12, wherein processing the target transaction by the blockchain comprises:
recording processing result information of the target transaction by the blockchain; and
sending the processing result information of the target transaction to each node associated with the target transaction through the blockchain network, so that each node associated with the target transaction processes the target transaction.

### Claim 14 (depends on 11)

The computer system according to claim 11, wherein the transaction confirmation response further comprises first signature data of the first data block, wherein the first signature data is computed by the second node based on a private key of the second node, wherein the first signature data is stored in the blockchain along with the first data block; and
wherein the method further comprises:
computing, by the first node, second signature data of the second data block based on a private key of the first node; and
storing the second signature data in the blockchain along with the second data block.

### Claim 15 (depends on 14)

The computer system according to claim 14, wherein storing the first data block and the second data block in the blockchain further comprises:
storing the first data block, the first signature data, the second data block, and the second signature data in a same block.

### Claim 16 (depends on 14)

The computer system according to claim 14, wherein the method further comprising verifying the first signature data and the second signature data.

### Claim 17 (depends on 11)

The computer system according to claim 11, wherein storing the first data block and the second data block in the blockchain further comprises:
checking whether the identifier of the second node and/or the identifier of the first node matches a member identifier on a transaction link of the target transaction;
checking whether the first encoded transaction data matches the second encoded transaction data; and
in response to the identifier of the second node and/or the identifier of the first node matching a member identifier on the transaction link and the first encoded transaction data matching the second encoded transaction data, storing the first data block and the second data block in the block chain.

### Claim 18

A non-transitory computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for processing a transaction based on blockchain, the method comprising:
sending, by a first node coupled to the blockchain, a transaction confirmation request for a target transaction to a second node coupled to the blockchain, wherein the transaction confirmation request comprises transaction data associated with the target transaction;
receiving a transaction confirmation response from the second node, wherein the transaction confirmation response comprises a first data block comprising at least an identifier of the second node, first encoded transaction data generated based on a predetermined encoding scheme, and a first confirmation result;
generating, by the first node, a second data block comprising at least an identifier of the first node, second encoded transaction data generated based on the predetermined encoding scheme, and a second confirmation result; and
in response to determining that each of the first confirmation result and the second confirmation result indicates that the target transaction is confirmed, storing the first data block and the second data block in the blockchain.

### Claim 19 (depends on 18)

The non-transitory computer-readable storage medium according to claim 18, wherein the method further comprises:
in response to determining that each of the first confirmation result and the second confirmation result indicates that the target transaction is confirmed, processing the target transaction by the blockchain.

### Claim 20 (depends on 19)

The non-transitory computer-readable storage medium according to claim 19, wherein processing the target transaction by the blockchain comprises:
recording processing result information of the target transaction by the blockchain; and
sending the processing result information of the target transaction to each node associated with the target transaction through the blockchain, thereby facilitating each node associated with the target transaction to process the target transaction.

### Claim 21 (depends on 18)

The non-transitory computer-readable storage medium according to claim 18, wherein the transaction confirmation response further comprises first signature data of the first data block, wherein the first signature data is computed by the second node based on a private key of the second node, wherein the first signature data is stored in the blockchain along with the first data block; and
wherein the method further comprises:
computing, by the first node, second signature data of the second data block based on a private key of the first node; and
storing the second signature data in the blockchain along with the second data block.

### Claim 22 (depends on 21)

The non-transitory computer-readable storage medium according to claim 21, wherein storing the first data block and the second data block in the blockchain further comprises:
storing the first data block, the first signature data, the second data block, and the second signature data in a same block.

### Claim 23 (depends on 21)

The non-transitory computer-readable storage medium according to claim 21, wherein the method further comprises verifying the first signature data and the second signature data.

### Claim 24 (depends on 18)

The non-transitory computer-readable storage medium according to claim 18, wherein storing the first data block and the second data block in the blockchain further comprises:
checking whether the identifier of the second node and/or the identifier of the first node matches a member identifier on a transaction link of the target transaction;
checking whether the first encoded transaction data matches the second encoded transaction data; and
in response to the identifier of the second node and/or the identifier of the first node matching a member identifier on the transaction link and the first encoded transaction data matching the second encoded transaction data, storing the first data block and the second data block in the block chain.
