# US 2021/0334268 A1 · Managing transaction requests in ledger systems

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

- Number: US 2021/0334268 A1
- Document ID: US20210334268A1
- Status: Published application
- Kind: A1
- Application number: 17/218,003
- Filed: 2021-03-30
- Published: 2021-10-28
- Earliest claimed: 2020-04-22
- Assignees: Alipay (Hangzhou) Information Technology Co., Ltd.
- Applicants: Alipay (Hangzhou) Information Technology Co., Ltd.
- Inventors: Yuan Zhang; Benquan Yu; Yize Li; Wenyuan Yan; Xinying Yang
- Web page: https://patentgrep.com/patent/US20210334268A1

## CPC

- G06F 16/2379: {Updates performed during online database operations; commit processing}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- G06F 16/2272: {Management thereof}
- H04L 9/3247: {involving digital signatures}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- H04L 63/08: {for authentication of entities (cryptographic mechanisms or cryptographic arrangements for entity authentication H04L9/32)}
- H04L 63/12: {Applying verification of the received information (cryptographic mechanisms or cryptographic arrangements for data integrity or data verification H04L9/32)}
- G06Q 20/389: {Keeping log of transactions for guaranteeing non-repudiation of a transaction}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- 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

## Abstract

Disclosed herein are methods, systems, and apparatus, including computer programs encoded on computer storage media, for managing transaction requests in ledger systems. One of the methods includes: receiving a plurality of transaction requests by a computing system, each of the plurality of transaction requests including content information of a corresponding transaction and authentication information of the corresponding transaction, storing each of the plurality of transaction requests in a request stream by the computing system, obtaining storage information of a transaction request of the plurality of transaction requests in the request stream by the computing system, and storing the storage information of the transaction request in an index of an index stream and authentication information of a transaction corresponding to the transaction request in a storage element of a storage stream by the computing system, the storage element corresponding to the index, the index stream being associated with the storage stream.

## Claims

### Claim 1

A computer-implemented method for managing trust points in a ledger system, the method comprising:
receiving a first plurality of transaction requests by a ledger proxy, each of the first plurality of transaction requests comprising content information of a corresponding transaction and authentication information of the corresponding transaction;
storing each of a second plurality of transaction requests among the first plurality of transaction requests in a respective request stream of a plurality of request streams by the ledger proxy, a number of the second plurality of transaction requests being no larger than a number of the first plurality of transaction requests;
transmitting a storage request for a transaction request stored in a request stream of the plurality of request streams to a ledger server by the ledger proxy, the storage request comprising storage information of the transaction request in the request stream and authentication information of a transaction corresponding to the transaction request;
receiving index information corresponding to the storage request for the transaction request from the ledger server by the ledger proxy, the index information indicating a location of the storage information stored by the ledger server; and
transmitting a response for the transaction request to a client device by the ledger proxy, the response comprising the index information corresponding to the transaction request.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the index information comprises an index identifier of an index in an index stream, the index comprising the storage information of the transaction request.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, wherein the index corresponds to a storage element in a storage stream associated with the index stream, the storage element storing the authentication information of the transaction.

### Claim 4 (depends on 1)

The computer-implemented method of claim 1, further comprising: determining whether the authentication information of the corresponding transaction of each of the first plurality of transaction requests is valid; and
performing at least one of:
in response to determining that authentication information corresponding to a first transaction request of the first plurality of transaction requests is valid, storing the first transaction request in a respective request stream of the plurality of request streams, or
in response to determining that authentication information corresponding to a second transaction request of the first plurality of transaction requests is invalid, determining not to store the second transaction request and returning an error message to a second client device providing the second transaction request.

### Claim 5 (depends on 4)

The computer-implemented method of claim 4, wherein the authentication information of the corresponding transaction comprises a hash of the corresponding transaction and a signature of the hash of the corresponding transaction encrypted by a private key, and
wherein determining whether the authentication information of the corresponding transaction is valid comprises calculating a public key corresponding to the private key based on the authentication information of the corresponding transaction.

### Claim 6 (depends on 5)

The computer-implemented method of claim 5, wherein the storage request for the transaction request comprises a public key calculated by the ledger proxy based on the authentication information of the transaction.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the authentication information of the transaction comprises a hash of the transaction,
the method further comprising:
after receiving the index information from the ledger server, generating a server signature of the hash of the transaction, and
transmitting the response including the server signature and the index information to the client device.

### Claim 8 (depends on 1)

The computer-implemented method of claim 1, further comprising:
transmitting a second storage request for a second transaction request stored in a second request stream of the plurality of request streams to the ledger server by the ledger proxy;
determining that no index information for the second transaction request has been received from the ledger server by the ledger proxy; and
transmitting an error message to a second client device providing the second transaction request by the ledger proxy.

### Claim 9 (depends on 8)

The computer-implemented method of claim 8, wherein determining that no index information for the second transaction request has been received comprises:
determining that a predetermined time period has lapsed after the transmitting and that there has been no reply from the ledger server.

### Claim 10 (depends on 8)

The computer-implemented method of claim 8, wherein determining that no index information for the second transaction request has been received comprises:
determining that a reply from the ledger server indicates that the ledger server fails to store at least one of storage information of the second transaction request or authentication information in the second transaction request.

### Claim 11 (depends on 8)

The computer-implemented method of claim 8, wherein the second storage request comprises a public key calculated by the ledger proxy based on authentication information in the second transaction request, and
wherein determining that no index information for the second transaction request has been received comprises:
determining a reply from the ledger server indicating that the public key is not authorized to access a second index stream and a second storage stream that correspond to the second transaction request.

### Claim 12 (depends on 9)

The computer-implemented method of claim 9, further comprising:
marking the second transaction request as a trash in the second request stream by the ledger proxy.

### Claim 13 (depends on 1)

The computer-implemented method of claim 1, further comprising:
concurrently transmitting storage requests for a third plurality of transaction requests stored in the plurality of request streams to one or more ledger servers.

### Claim 14

A computer-implemented system for managing trust points in a ledger system, 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 one or more operations comprising:
receiving a first plurality of transaction requests by a ledger proxy, each of the first plurality of transaction requests comprising content information of a corresponding transaction and authentication information of the corresponding transaction;
storing each of a second plurality of transaction requests among the first plurality of transaction requests in a respective request stream of a plurality of request streams by the ledger proxy, a number of the second plurality of transaction requests being no larger than a number of the first plurality of transaction requests;
transmitting a storage request for a transaction request stored in a request stream of the plurality of request streams to a ledger server by the ledger proxy, the storage request comprising storage information of the transaction request in the request stream and authentication information of a transaction corresponding to the transaction request;
receiving index information corresponding to the storage request for the transaction request from the ledger server by the ledger proxy, the index information indicating a location of the storage information stored by the ledger server; and
transmitting a response for the transaction request to a client device by the ledger proxy, the response comprising the index information corresponding to the transaction request.

### Claim 15 (depends on 14)

The computer-implemented system of claim 14, wherein the index information comprises an index identifier of an index in an index stream, the index comprising the storage information of the transaction request.

### Claim 16 (depends on 14)

The computer-implemented system of claim 14, wherein the authentication information of the transaction comprises a hash of the transaction,
the one or more operations further comprising:
after receiving the index information from the ledger server, generating a server signature of the hash of the transaction, and
transmitting the response including the server signature and the index information to the client device.

### Claim 17 (depends on 14)

The computer-implemented system of claim 14, the one or more operations further comprising:
transmitting a second storage request for a second transaction request stored in a second request stream of the plurality of request streams to the ledger server by the ledger proxy;
determining that no index information for the second transaction request has been received from the ledger server by the ledger proxy; and
transmitting an error message to a second client device providing the second transaction request by the ledger proxy.

### Claim 18

A non-transitory, computer-readable medium for managing trust points in a ledger system, the non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
receiving a first plurality of transaction requests by a ledger proxy, each of the first plurality of transaction requests comprising content information of a corresponding transaction and authentication information of the corresponding transaction;
storing each of a second plurality of transaction requests among the first plurality of transaction requests in a respective request stream of a plurality of request streams by the ledger proxy, a number of the second plurality of transaction requests being no larger than a number of the first plurality of transaction requests;
transmitting a storage request for a transaction request stored in a request stream of the plurality of request streams to a ledger server by the ledger proxy, the storage request comprising storage information of the transaction request in the request stream and authentication information of a transaction corresponding to the transaction request;
receiving index information corresponding to the storage request for the transaction request from the ledger server by the ledger proxy, the index information indicating a location of the storage information stored by the ledger server; and
transmitting a response for the transaction request to a client device by the ledger proxy, the response comprising the index information corresponding to the transaction request.

### Claim 19 (depends on 18)

The non-transitory, computer-readable medium of claim 18, wherein the index information comprises an index identifier of an index in an index stream, the index comprising the storage information of the transaction request.

### Claim 20 (depends on 18)

The non-transitory, computer-readable medium of claim 18, the operations further comprising:
transmitting a second storage request for a second transaction request stored in a second request stream of the plurality of request streams to the ledger server by the ledger proxy;
determining that no index information for the second transaction request has been received from the ledger server by the ledger proxy; and
transmitting an error message to a second client device providing the second transaction request by the ledger proxy.
