# US 2019/0244195 A1 · Blockchain system supporting public and private transactions under account models

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

- Number: US 2019/0244195 A1
- Document ID: US20190244195A1
- Status: Published application
- Kind: A1
- Application number: 16/390,199
- Filed: 2019-04-22
- Published: 2019-08-08
- Earliest claimed: 2018-11-07
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Baoli Ma; Wenbin Zhang
- Web page: https://patentgrep.com/patent/US20190244195A1

## CPC

- G06Q 20/3825: {Use of electronic signatures}
- G06Q 20/02: involving a neutral party, e.g. certification authority, notary or trusted third party [TTP]
- H04L 9/00: {Cryptographic mechanisms or cryptographic} arrangements for secret or secure communications; Network security protocols
- H04L 9/008: {involving homomorphic encryption}
- H04L 9/0637: {Modes of operation, e.g. cipher block chaining [CBC], electronic codebook [ECB] or Galois/counter mode [GCM]}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 9/3247: {involving digital signatures}
- 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

Implementations of the present disclosure include receiving, by a consensus node of a blockchain, transaction data and a digital signature of the transaction data. The transaction data includes a commitment value, a random number, and a transaction amount to be transferred from one of a public account or a private account of the first user node to one of a public account or a private account of a second user node. The consensus node verifies the digital signature of the transaction data using a public key of the first user node. It then determines that the transaction amount is valid, if the commitment value is correct based on the random number and the commitment scheme, and the transaction amount is less than or equal to a balance of the one of the public account or the private account of the first user node before transfer of the transaction amount.

## Claims

### Claim 1

A computer-implemented method for validating blockchain transactions based on account models, comprising:
receiving, by a consensus node of a blockchain network, transaction data and a digital signature of the transaction data, wherein the transaction data includes a commitment value, a random number, and a transaction amount to be transferred from one of a public account or a private account of a first user node to one of a public account or a private account of a second user node, and wherein the digital signature is generated by digitally signing the transaction data using a private key of the first user node and the commitment value is generated based on the random number and the transaction amount using a commitment scheme;
verifying the digital signature of the transaction data using a public key of the first user node; and
determining that the transaction amount is valid, if the commitment value is correct based on the random number and the commitment scheme, and the transaction amount is less than or equal to a balance of the one of the public account or the private account of the first user node before transfer of the transaction amount.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the public account has a public balance viewable by the consensus node, and the private account has a private balance viewable using a private key of a respective user node.

### Claim 3 (depends on 1)

The computer-implemented method of claim 1, wherein the transaction amount is from a public account associated with the first user node to a private account associated with the second user node.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, wherein the transaction amount is from the private account of the first user node to the public account of the second user node, and the method further comprises:
receiving, from the first user node, a range proof to prove that the transaction amount is less than or equal to a balance of the private account of the first user node; and
wherein the transfer is determined valid, if the transaction amount is less than or equal to the balance of the private account of the first user node based on the range proof.

### Claim 5 (depends on 2)

The computer-implemented method of claim 2, further comprising updating the balance of the one of the public account or the private account of the first user node, and the balance of the one of the public account or the private account of the second user node based on the transaction amount, if the transfer is valid.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the balance of the private account is updated based on the commitment value of the transaction amount and a commitment of the balance of the private account generated using the commitment scheme.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the commitment scheme is homomorphic.

### Claim 8

A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
receiving, by a consensus node of a blockchain network, transaction data and a digital signature of the transaction data, wherein the transaction data includes a commitment value, a random number, and a transaction amount to be transferred from one of a public account or a private account of a first user node to one of a public account or a private account of a second user node, and wherein the digital signature is generated by digitally signing the transaction data using a private key of the first user node and the commitment value is generated based on the random number and the transaction amount using a commitment scheme;
verifying the digital signature of the transaction data using a public key of the first user node; and
determining that the transaction amount is valid, if the commitment value is correct based on the random number and the commitment scheme, and the transaction amount is less than or equal to a balance of the one of the public account or the private account of the first user node before transfer of the transaction amount.

### Claim 9 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the public account has a public balance viewable by the consensus node, and the private account has a private balance viewable using a private key of a respective user node.

### Claim 10 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the transaction amount is from a public account associated with the first user node to a private account associated with the second user node.

### Claim 11 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the transaction amount is from the private account of the first user node to the public account of the second user node, and the operations further comprise:
receiving, from the first user node, a range proof to prove that the transaction amount is less than or equal to a balance of the private account of the first user node; and
wherein the transfer is determined valid, if the transaction amount is less than or equal to the balance of the private account of the first user node based on the range proof.

### Claim 12 (depends on 9)

The non-transitory, computer-readable medium of claim 9, the operations further comprising updating the balance of the one of the public account or the private account of the first user node, and the balance of the one of the public account or the private account of the second user node based on the transaction amount, if the transfer is valid.

### Claim 13 (depends on 12)

The non-transitory, computer-readable medium of claim 12, wherein the balance of the private account is updated based on the commitment value of the transaction amount and a commitment of the balance of the private account generated using the commitment scheme.

### Claim 14 (depends on 8)

The non-transitory, computer-readable medium of claim 8, wherein the commitment scheme is homomorphic.

### Claim 15

A system, comprising:
one or more computers; and
one or more computer-readable memories coupled to the one or more computers and having instructions stored thereon which are executable by the one or more computers to perform operations comprising:
receiving, by a consensus node of a blockchain network, transaction data and a digital signature of the transaction data, wherein the transaction data includes a commitment value, a random number, and a transaction amount to be transferred from one of a public account or a private account of a first user node to one of a public account or a private account of a second user node, and wherein the digital signature is generated by digitally signing the transaction data using a private key of the first user node and the commitment value is generated based on the random number and the transaction amount using a commitment scheme;
verifying the digital signature of the transaction data using a public key of the first user node; and
determining that the transaction amount is valid, if the commitment value is correct based on the random number and the commitment scheme, and the transaction amount is less than or equal to a balance of the one of the public account or the private account of the first user node before transfer of the transaction amount.

### Claim 16 (depends on 15)

The system of claim 15, wherein the public account has a public balance viewable by the consensus node, and the private account has a private balance viewable using a private key of a respective user node.

### Claim 17 (depends on 15)

The system of claim 15, wherein the transaction amount is from a public account associated with the first user node to a private account associated with the second user node.

### Claim 18 (depends on 15)

The system of claim 15, wherein the transaction amount is from the private account of the first user node to the public account of the second user node, and the operations further comprise:
receiving, from the first user node, a range proof to prove that the transaction amount is less than or equal to a balance of the private account of the first user node; and
wherein the transfer is determined valid, if the transaction amount is less than or equal to the balance of the private account of the first user node based on the range proof.

### Claim 19 (depends on 16)

The system of claim 16, the operations further comprising updating the balance of the one of the public account or the private account of the first user node, and the balance of the one of the public account or the private account of the second user node based on the transaction amount, if the transfer is valid.

### Claim 20 (depends on 19)

The system of claim 19, wherein the balance of the private account is updated based on the commitment value of the transaction amount and a commitment of the balance of the private account generated using the commitment scheme.
