# US 10,771,242 B2 · Blockchain-based data processing

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

- Number: US 10,771,242 B2
- Document ID: US10771242B2
- Status: Granted
- Kind: B2
- Application number: 16/805,641
- Filed: 2020-02-28
- Published: 2020-06-25
- Granted: 2020-09-08
- Earliest claimed: 2019-07-09
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Haibin Wang; Xiaotian Wang; Fan Zhou
- Web page: https://patentgrep.com/patent/US10771242B2

## CPC

- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- G06F 16/2358: {Change logging, detection, and notification (replication G06F16/27)}
- G06F 16/27: Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 63/12: {Applying verification of the received information (cryptographic mechanisms or cryptographic arrangements for data integrity or data verification H04L9/32)}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

One or more embodiments of the present specification provide blockchain-based data processing methods and apparatuses that are applied to a blockchain network system that includes a node device of a service platform and a node device of a service provider. The method includes sending first transaction data by the blockchain node device of the service platform; obtaining, by the blockchain node device of the service platform, second transaction data where the second transaction data is generated by a blockchain node device of a service provider; checking whether the blockchain node device of the service platform receives the service processing data; executing predetermined service processing data acquisition logic or executing application logic for the service processing data if the blockchain node device of the service platform does not or does, respectively, receive the service processing data.

## Claims

### Claim 1

A computer-implemented method comprising:
generating, by a blockchain node device of a service platform, service handling data of a target service object, wherein the service handling data comprises an identifier of the target service object;
sending, by the blockchain node device of the service platform, first transaction data, as part of a first transaction, to a blockchain, wherein the first transaction data is generated based on the service handling data, and the first transaction data comprises the identifier of the target service object;
obtaining, by the blockchain node device of the service platform, second transaction data, as part of a second transaction, from a block of the blockchain, wherein the second transaction data is generated by a blockchain node device of a service provider, the second transaction data comprising service processing data, wherein the service processing data, in turn, is generated by the blockchain node device of the service provider based on the service handling data, and wherein the service processing data comprises the identifier of the target service object and at least one piece of attribute data of the target service object;
generating a transaction record of the target service object based on the first transaction and the second transaction, wherein the transaction record comprises the identifier of the target service object and transaction identifiers of the first transaction and the second transaction;
checking, based on the transaction record, whether the blockchain node device of the service platform receives the service processing data that corresponds to the second transaction and is sent by the blockchain node device of the service provider; and
executing predetermined service processing data acquisition logic if the blockchain node device of the service platform does not receive the service processing data, or
executing application logic for the service processing data if the blockchain node device of the service platform receives the service processing data,
wherein the blockchain node device of the service platform and the blockchain node device of the service provider are part of a blockchain network system.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein executing predetermined service processing data acquisition logic comprises:
sending an application for obtaining the service processing data to the blockchain node device of the service provider.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein executing predetermined service processing data acquisition logic comprises:
generating the service processing data based on the second transaction.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein a third node device in the blockchain uses the first transaction data to establish a data set corresponding to the target service object in a world state database of the blockchain based on the first transaction after being recorded in a first block of the blockchain, and the data set comprises the identifier of the target service object, and
the third node device in the blockchain uses the second transaction to update the data set corresponding to the target service object in the world state database of the blockchain based on the second transaction after being recorded in a second block of the blockchain, and an updated data set comprises the identifier and the at least one piece of attribute data of the target service object.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein executing predetermined service processing data acquisition logic comprises generating the service processing data based on the data set corresponding to the target service object.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein the blockchain is a consortium blockchain, and the blockchain node device of the service platform and the blockchain node device of the service provider are node devices of consortium members in the consortium blockchain.

### Claim 7

A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
generating, by a blockchain node device of a service platform, service handling data of a target service object, wherein the service handling data comprises an identifier of the target service object;
sending, by the blockchain node device of the service platform, first transaction data, as part of a first transaction, to a blockchain, wherein the first transaction data is generated based on the service handling data, and the first transaction data comprises the identifier of the target service object;
obtaining, by the blockchain node device of the service platform, second transaction data, as part of a second transaction, from a block of the blockchain, wherein the second transaction data is generated by a blockchain node device of a service provider, the second transaction data comprising service processing data, wherein the service processing data, in turn, is generated by the blockchain node device of the service provider based on the service handling data, and wherein the service processing data comprises the identifier of the target service object and at least one piece of attribute data of the target service object;
generating a transaction record of the target service object based on the first transaction and the second transaction, wherein the transaction record comprises the identifier of the target service object and transaction identifiers of the first transaction and the second transaction;
checking, based on the transaction record, whether the blockchain node device of the service platform receives the service processing data that corresponds to the second transaction and is sent by the blockchain node device of the service provider; and
executing predetermined service processing data acquisition logic if the blockchain node device of the service platform does not receive the service processing data, or executing application logic for the service processing data if the blockchain node device of the service platform receives the service processing data,
wherein the blockchain node device of the service platform and the blockchain node device of the service provider are part of a blockchain network system.

### Claim 8 (depends on 7)

The non-transitory, computer-readable medium of claim 7, wherein executing predetermined service processing data acquisition logic comprises:
sending an application for obtaining the service processing data to the blockchain node device of the service provider.

### Claim 9 (depends on 7)

The non-transitory, computer-readable medium of claim 7, wherein executing predetermined service processing data acquisition logic comprises:
generating the service processing data based on the second transaction.

### Claim 10 (depends on 7)

The non-transitory, computer-readable medium of claim 7, wherein a third node device in the blockchain uses the first transaction data to establish a data set corresponding to the target service object in a world state database of the blockchain based on the first transaction after being recorded in a first block of the blockchain, and the data set comprises the identifier of the target service object, and
the third node device in the blockchain uses the second transaction to update the data set corresponding to the target service object in the world state database of the blockchain based on the second transaction after being recorded in a second block of the blockchain, and an updated data set comprises the identifier and the at least one piece of attribute data of the target service object.

### Claim 11 (depends on 10)

The non-transitory, computer-readable medium of claim 10, wherein executing predetermined service processing data acquisition logic comprises generating the service processing data based on the data set corresponding to the target service object.

### Claim 12 (depends on 7)

The non-transitory, computer-readable medium of claim 7, wherein the blockchain is a consortium blockchain, and the blockchain node device of the service platform and the blockchain node device of the service provider are node devices of consortium members in the consortium blockchain.

### Claim 13

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 a blockchain node device of a service platform, service handling data of a target service object, wherein the service handling data comprises an identifier of the target service object;
sending, by the blockchain node device of the service platform, first transaction data, as part of a first transaction, to a blockchain, wherein the first transaction data is generated based on the service handling data, and the first transaction data comprises the identifier of the target service object;
obtaining, by the blockchain node device of the service platform, second transaction data, as part of a second transaction, from a block of the blockchain, wherein the second transaction data is generated by a blockchain node device of a service provider, the second transaction data comprising service processing data, wherein the service processing data, in turn, is generated by the blockchain node device of the service provider based on the service handling data, and wherein the service processing data comprises the identifier of the target service object and at least one piece of attribute data of the target service object;
generating a transaction record of the target service object based on the first transaction and the second transaction, wherein the transaction record comprises the identifier of the target service object and transaction identifiers of the first transaction and the second transaction;
checking, based on the transaction record, whether the blockchain node device of the service platform receives the service processing data that corresponds to the second transaction and is sent by the blockchain node device of the service provider; and
executing predetermined service processing data acquisition logic if the blockchain node device of the service platform does not receive the service processing data, or
executing application logic for the service processing data if the blockchain node device of the service platform receives the service processing data,
wherein the blockchain node device of the service platform and the blockchain node device of the service provider are part of a blockchain network system.

### Claim 14 (depends on 13)

The computer-implemented system of claim 13, wherein executing predetermined service processing data acquisition logic comprises:
sending an application for obtaining the service processing data to the blockchain node device of the service provider.

### Claim 15 (depends on 13)

The computer-implemented system of claim 13, wherein executing predetermined service processing data acquisition logic comprises:
generating the service processing data based on the second transaction.

### Claim 16 (depends on 13)

The computer-implemented system of claim 13, wherein a third node device in the blockchain uses the first transaction data to establish a data set corresponding to the target service object in a world state database of the blockchain based on the first transaction after being recorded in a first block of the blockchain, and the data set comprises the identifier of the target service object, and
the third node device in the blockchain uses the second transaction to update the data set corresponding to the target service object in the world state database of the blockchain based on the second transaction after being recorded in a second block of the blockchain, and an updated data set comprises the identifier and the at least one piece of attribute data of the target service object.

### Claim 17 (depends on 16)

The computer-implemented system of claim 16, wherein executing predetermined service processing data acquisition logic comprises generating the service processing data based on the data set corresponding to the target service object.

### Claim 18 (depends on 13)

The computer-implemented system of claim 13, wherein the blockchain is a consortium blockchain, and the blockchain node device of the service platform and the blockchain node device of the service provider are node devices of consortium members in the consortium blockchain.
