# US 2021/0081403 A1 · Log-structured storage systems

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

- Number: US 2021/0081403 A1
- Document ID: US20210081403A1
- Status: Published application
- Kind: A1
- Application number: 16/712,506
- Filed: 2019-12-12
- Published: 2021-03-18
- Earliest claimed: 2019-09-12
- Assignees: Alibaba Group Holding Limited
- Applicants: Advanced New Technologies Co., Ltd.
- Inventors: Shikun Tian
- Web page: https://patentgrep.com/patent/US20210081403A1

## CPC

- G06F 3/0685: {Hybrid storage combining heterogeneous device types, e.g. hierarchical storage, hybrid arrays}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F 3/0604: {Improving or facilitating administration, e.g. storage management}
- G06F 3/061: {Improving I/O performance}
- G06F 3/0638: {Organizing or formatting or addressing of data}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0658: {Controller construction arrangements}
- G06F 3/067: {Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]}
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 16/2365: {Ensuring data consistency and integrity}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Disclosed herein are methods, systems, and apparatus, including computer programs encoded on computer storage devices, for processing data requests. One of the methods include receiving, by a storage system, a processing request of data of a distributive ledger system. Types of the data of the distributive ledger system include block data, transaction data, state data, and index data. The storage system determines a type of the data among the types of the data of the distributive ledger system, and applies a type of a processing engine specified for processing the type of the data.

## Claims

### Claim 1

A computer-implemented method comprising:
receiving, by a storage system, a processing request of first data generated by a distributive ledger system, wherein the distributive ledger system stores data in one or more blocks in a blockchain, and generates two or more types of data of the distributive ledger system comprising block data and state data, wherein the block data comprise at least one block in the blockchain, and the at least one block comprises a hash value of a previous block in the blockchain, wherein the state data comprise a world state of the distributive ledger system, and wherein the state data comprise current state data and history state data;
in response to determining a type of the first data generated by the distributive ledger system to be the block data among the two or more types of the data of the distributive ledger system, applying, by the storage system, a corresponding type of a processing engine specified for processing the block data, wherein the corresponding type of the processing engine specified for processing the block data is configured with one or more first functions based on a characteristic of the block data;
receiving, by the storage system, a processing request of second data generated by the distributive ledger system;
in response to determining a type of the second data generated by the distributive ledger system to be the current state data among the two or more types of the data of the distributive ledger system, applying, by the storage system, a corresponding type of a processing engine specified for processing the current state data, wherein the corresponding type of the processing engine specified for processing the current state data is configured with one or more second functions based on a characteristic of the current state data, and the one or more first functions are different from the one or more second functions; and
in response to determining the type of the second data generated by the distributive ledger system to be the history state data among the two or more types of the data of the distributive ledger system, applying, by the storage system, a corresponding type of a processing engine specified for processing the history state data, wherein the corresponding type of the processing engine specified for processing the history state data is configured with one or more fourth functions based on a characteristic of the history state data.

### Claim 2 (depends on 1)

The computer-implemented method of claim 1, wherein the types of data of the distributive ledger system further comprise transaction data, and the method further comprises:
receiving, by the storage system, a processing request of third data generated by the distributive ledger system; and
in response to determining a type of the third data generated by the distributive ledger system to be the transaction data among the two or more types of the data of the distributive ledger system, applying, by the storage system, a corresponding type of a processing engine specified for processing the transaction data, wherein the corresponding type of the processing engine specified for processing the transaction data is configured with one or more third functions based on a characteristic of the transaction data.

### Claim 3 (depends on 2)

The computer-implemented method of claim 2, further comprising: receiving, by the storage system, configurations of a plurality of processing engines, wherein the configurations configure a respective type of a processing engine for processing each of the two or more types of the data of the distributive ledger system according to a characteristic of the each of the two or more types of the data.

### Claim 4

(canceled)

### Claim 5 (depends on 1)

The computer-implemented method of claim 1, wherein:
receiving, by the storage system, the processing request of the first data generated by the distributive ledger system comprises receiving, by the storage system, an input/out (I/O) request of the block data generated by the distributive ledger system;
the corresponding type of the processing engine specified for processing the block data of the distributive ledger system comprises a corresponding type of an input/out (I/O) processing engine specified for performing a read or write operation of the block data of the distributive ledger system based on a characteristic of the block data;
receiving, by the storage system, the processing request of the second data generated by the distributive ledger system comprises receiving, by the storage system, an input/out (I/O) request of the state data generated by the distributive ledger system; and
the corresponding type of the processing engine specified for processing the state data of the distributive ledger system comprises a corresponding type of an input/out (I/O) processing engine specified for performing a read or write operation of the state data of the distributive ledger system based on a characteristic of the state data.

### Claim 6 (depends on 1)

The computer-implemented method of claim 1, wherein:
receiving, by the storage system, the processing request of the first data generated by the distributive ledger system comprises receiving, by the storage system, a data management request of the block data generated by the distributive ledger system;
the corresponding type of the processing engine specified for processing the block data of the distributive ledger system comprises a corresponding type of a data management processing engine specified for performing a first data management operation of the block data of the distributive ledger system based on a characteristic of the block data;
receiving, by the storage system, the processing request of the second data generated by the distributive ledger system comprises receiving, by the storage system, a data management request of the state data generated by the distributive ledger system; and
the corresponding type of the processing engine specified for processing the state data of the distributive ledger system comprises a corresponding type of a data management processing engine specified for performing a second data management operation of the state data of the distributive ledger system based on a characteristic of the state data.

### Claim 7 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more first functions comprise tiering, erasure coding and compression of the block data in the storage system.

### Claim 8

(canceled)

### Claim 9 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more second functions comprise tiering, erasure coding, compression, snapshot, and compaction of the current state data in the storage system.

### Claim 10 (depends on 1)

The computer-implemented method of claim 1, wherein the one or more fourth functions comprise tiering, erasure coding, and compression of the history state data in the storage system.

### Claim 11

A non-transitory, computer-readable storage medium storing one or more instructions executable by a computer system to perform operations for processing data request, the operations comprising:
receiving, by a storage system, a processing request of first data generated by a distributive ledger system, wherein the distributive ledger system stores data in one or more blocks in a blockchain, and generates two or more types of data of the distributive ledger system comprising block data and state data, wherein the block data comprise at least one block in the blockchain, and the at least one block comprises a hash value of a previous block in the blockchain, wherein the state data comprise a world state of the distributive ledger system, and wherein the state data comprise current state data and history state data;
in response to determining a type of the first data generated by the distributive ledger system to be the block data among the two or more types of the data of the distributive ledger system, applying, by the storage system, a corresponding type of a processing engine specified for processing the block data, wherein the corresponding type of the processing engine specified for processing the block data is configured with one or more first functions based on a characteristic of the block data;
receiving, by the storage system, a processing request of second data generated by the distributive ledger system;
in response to determining a type of the second data generated by the distributive ledger system to be the current state data among the two or more types of the data of the distributive ledger system, applying, by the storage system, a corresponding type of a processing engine specified for processing the current state data, wherein the corresponding type of the processing engine specified for processing the current state data is configured with one or more second functions based on a characteristic of the current state data, and the one or more first functions are different from the one or more second functions; and
in response to determining the type of the second data generated by the distributive ledger system to be the history state data among the two or more types of the data of the distributive ledger system, applying, by the storage system, a corresponding type of a processing engine specified for processing the history state data, wherein the corresponding type of the processing engine specified for processing the history state data is configured with one or more fourth functions based on a characteristic of the history state data.

### Claim 12 (depends on 11)

The non-transitory, computer-readable storage medium of claim 11, wherein the types of data of the distributive ledger system further comprise index data, and the operations further comprise:
receiving, by the storage system, a processing request of third data generated by the distributive ledger system; and
in response to determining a type of the third data generated by the distributive ledger system to be the index data among the two or more types of the data of the distributive ledger system, applying, by the storage system, a corresponding type of a processing engine specified for processing the index data, wherein the corresponding type of the processing engine specified for processing the index data is configured with one or more third functions based on a characteristic of the index data.

### Claim 13 (depends on 12)

The non-transitory, computer-readable storage medium of claim 12, the operations further comprising: receiving, by the storage system, configurations of a plurality of processing engines, wherein the configurations configure a respective type of a processing engine for processing each of the two or more types of the data of the distributive ledger system according to a characteristic of the each of the two or more types of the data.

### Claim 14

(canceled)

### Claim 15 (depends on 11)

The non-transitory, computer-readable storage medium of claim 11, wherein:
receiving, by the storage system, the processing request of the first data generated by the distributive ledger system comprises receiving, by the storage system, an input/out (I/O) request of the block data generated by the distributive ledger system;
the corresponding type of the processing engine specified for processing the block data of the distributive ledger system comprises a corresponding type of an input/out (I/O) processing engine specified for performing a read or write operation of the block data of the distributive ledger system based on a characteristic of the block data;
receiving, by the storage system, the processing request of the second data generated by the distributive ledger system comprises receiving, by the storage system, an input/out (I/O) request of the state data generated by the distributive ledger system; and
the corresponding type of the processing engine specified for processing the state data of the distributive ledger system comprises a corresponding type of an input/out (I/O) processing engine specified for performing a read or write operation of the state data of the distributive ledger system based on a characteristic of the state data.

### Claim 16 (depends on 11)

The non-transitory, computer-readable storage medium of claim 11, wherein:
receiving, by the storage system, the processing request of the first data generated by the distributive ledger system comprises receiving, by the storage system, a data management request of the block data generated by the distributive ledger system;
the corresponding type of the processing engine specified for processing the block data of the distributive ledger system comprises a corresponding type of a data management processing engine specified for performing a first data management operation of the block data of the distributive ledger system based on a characteristic of the block data;
receiving, by the storage system, the processing request of the second data generated by the distributive ledger system comprises receiving, by the storage system, a data management request of the state data generated by the distributive ledger system; and
the corresponding type of the processing engine specified for processing the state data of the distributive ledger system comprises a corresponding type of a data management processing engine specified for performing a second data management operation of the state data of the distributive ledger system based on a characteristic of the state data.

### Claim 17 (depends on 11)

The non-transitory, computer-readable storage medium of claim 11, wherein the one or more first functions comprise tiering, erasure coding and compression of the block data in the storage system.

### Claim 18

(canceled)

### Claim 19 (depends on 11)

The non-transitory, computer-readable storage medium of claim 11, wherein the one or more second functions comprise tiering, erasure coding, compression, snapshot, and compaction of the current state data in the storage system.

### Claim 20 (depends on 11)

The non-transitory, computer-readable storage medium of claim 11, wherein the one or more fourth functions comprise tiering, erasure coding, and compression of the history state data in the storage system.

### Claim 21

A storage system for processing data request, 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:
receiving, by the storage system, a processing request of first data generated by a distributive ledger system, wherein the distributive ledger system stores data in one or more blocks in a blockchain, and generates two or more types of data of the distributive ledger system comprising block data and state data, wherein the block data comprise at least one block in the blockchain, and the at least one block comprises a hash value of a previous block in the blockchain, wherein the state data comprise a world state of the distributive ledger system, and wherein the state data comprise current state data and history state data;
in response to determining a type of the first data generated by the distributive ledger system to be the block data among the two or more types of the data of the distributive ledger system, applying, by the storage system, a corresponding type of a processing engine specified for processing the block data, wherein the corresponding type of the processing engine specified for processing the block data is configured with one or more first functions based on a characteristic of the block data;
receiving, by the storage system, a processing request of second data generated by the distributive ledger system;
in response to determining a type of the second data generated by the distributive ledger system to be the current state data among the two or more types of the data of the distributive ledger system, applying, by the storage system, a corresponding type of a processing engine specified for processing the current state data, wherein the corresponding type of the processing engine specified for processing the current state data is configured with one or more second functions based on a characteristic of the current state data, and the one or more first functions are different from the one or more second functions; and
in response to determining the type of the second data generated by the distributive ledger system to be the history state data among the two or more types of the data of the distributive ledger system, applying, by the storage system, a corresponding type of a processing engine specified for processing the history state data, wherein the corresponding type of the processing engine specified for processing the history state data is configured with one or more fifth functions based on a characteristic of the history state data.

### Claim 22 (depends on 21)

The storage system of claim 21, wherein the types of data of the distributive ledger system further comprise transaction data and index data, and the operations further comprise:
receiving, by the storage system, a processing request of third data generated by the distributive ledger system;
in response to determining a type of the third data generated by the distributive ledger system to be the transaction data among the two or more types of the data of the distributive ledger system, applying, by the storage system, a corresponding type of a processing engine specified for processing the transaction data, wherein the corresponding type of the processing engine specified for processing the transaction data is configured with one or more third functions based on a characteristic of the transaction data;
receiving, by the storage system, a processing request of fourth data generated by the distributive ledger system; and
in response to determining a type of the fourth data generated by the distributive ledger system to be the index data among the two or more types of the data of the distributive ledger system, applying, by the storage system, a corresponding type of a processing engine specified for processing the index data, wherein the corresponding type of the processing engine specified for processing the index data is configured with one or more fourth functions based on a characteristic of the index data.

### Claim 23 (depends on 22)

The storage system of claim 22, the operations further comprising: receiving, by the storage system, configurations of a plurality of processing engines, wherein the configurations configure a respective type of a processing engine for processing each of the two or more types of the data of the distributive ledger system according to a characteristic of the each of the two or more types of the data.

### Claim 24

(canceled)

### Claim 25 (depends on 21)

The storage system of claim 21, wherein:
receiving, by the storage system, the processing request of the first data generated by the distributive ledger system comprises receiving, by the storage system, an input/out (I/O) request of the block data generated by the distributive ledger system;
the corresponding type of the processing engine specified for processing the block data of the distributive ledger system comprises a corresponding type of an input/out (I/O) processing engine specified for performing a read or write operation of the block data of the distributive ledger system based on a characteristic of the block data;
receiving, by the storage system, the processing request of the second data generated by the distributive ledger system comprises receiving, by the storage system, an input/out (I/O) request of the state data generated by the distributive ledger system; and
the corresponding type of the processing engine specified for processing the state data of the distributive ledger system comprises a corresponding type of an input/out (I/O) processing engine specified for performing a read or write operation of the state data of the distributive ledger system based on a characteristic of the state data.

### Claim 26 (depends on 21)

The storage system of claim 21, wherein:
receiving, by the storage system, the processing request of the first data generated by the distributive ledger system comprises receiving, by the storage system, a data management request of the block data generated by the distributive ledger system;
the corresponding type of the processing engine specified for processing the block data of the distributive ledger system comprises a corresponding type of a data management processing engine specified for performing a first data management operation of the block data of the distributive ledger system based on a characteristic of the block data;
receiving, by the storage system, the processing request of the second data generated by the distributive ledger system comprises receiving, by the storage system, a data management request of the state data generated by the distributive ledger system; and
the corresponding type of the processing engine specified for processing the state data of the distributive ledger system comprises a corresponding type of a data management processing engine specified for performing a second data management operation of the state data of the distributive ledger system based on a characteristic of the state data.

### Claim 27 (depends on 21)

The storage system of claim 21, wherein the one or more first functions comprise tiering, erasure coding and compression of the block data in the storage system.

### Claim 28

(canceled)

### Claim 29 (depends on 21)

The storage system of claim 21, wherein the one or more second functions comprise tiering, erasure coding, compression, snapshot, and compaction of the current state data in the storage system.

### Claim 30 (depends on 21)

The storage system of claim 21, wherein the one or more fifth functions comprise tiering, erasure coding, and compression of the history state data in the storage system.
