# US 2024/0205020 A1 · Data Storage Method, Apparatus, and System, Storage Medium, and Program Product

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

- Number: US 2024/0205020 A1
- Document ID: US20240205020A1
- Status: Published application
- Kind: A1
- Application number: 18/405,239
- Filed: 2024-01-05
- Published: 2024-06-20
- Earliest claimed: 2021-07-08
- Assignees: Huawei Cloud Computing Technologies Co., Ltd.
- Applicants: Huawei Cloud Computing Technologies Co., Ltd.
- Inventors: Qiang Qu; Ziyi Zhang; Ruijie Yang
- Web page: https://patentgrep.com/patent/US20240205020A1

## CPC

- H04L 9/3247: {involving digital signatures}
- H04L 9/50: {using hash chains, e.g. blockchains or hash trees}
- G06F 21/64: Protecting data integrity, e.g. using checksums, certificates or signatures
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/3239: {involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD}
- H04L 67/1097: for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
- 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

A data storage system provides a data storage interface for a plurality of clients, and the client may request on-chain storage by invoking the data storage interface. The data storage system may interconnect with and serve a plurality of blockchain systems. In addition, the data storage system further includes a storage resource pool shared by the plurality of clients to share a storage resource.

## Claims

### Claim 1

A method implemented by a first client, wherein the method comprises:
obtaining a data storage request carrying first media data, wherein the data storage request instructs to store first transaction data on a blockchain system and store the first media data in a storage resource pool, and wherein the first transaction data is of the first media data;
invoking a data storage interface; and
sending the data storage request through the data storage interface.

### Claim 2 (depends on 1)

The method of claim 1, wherein the data storage request further carries first verification information, and wherein the method further comprises:
performing, based on the first verification information and through the data storage interface, verification on the first media data; and
further sending, through the data storage interface, the data storage request when the verification succeeds.

### Claim 3 (depends on 1)

The method of claim 1, wherein the data storage request further carries first signature information, and wherein the data storage request is based on a signature of the first media data with a first private key, and wherein the method further comprises:
performing, based on a first public key and through the data storage interface, verification on the first signature information; and
further sending, through the data storage interface, the data storage request when the verification succeeds.

### Claim 4 (depends on 1)

The method of claim 1, wherein sending the data storage request comprises sending, to a service management end and through the data storage interface, the data storage request, and wherein the data storage request further instructs the service management end to determine a first server from a plurality of servers and send the data storage request to the first server.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
obtaining source information of second media data;
invoking the data query interface;
sending, through a data query interface, a data obtaining request carrying the source information; and
receiving, through the data query interface, a first query result based on the source information.

### Claim 6 (depends on 5)

The method of claim 5, wherein the source information comprises second verification information, wherein the first query result carries third media data found from the second media data, and wherein after receiving the first query result, the method further comprises performing, based on the second verification information and through the data storage interface, verification on the third media data.

### Claim 7

A method implemented by a first server, wherein the method comprises:
receiving a data storage request carrying first media data;
determining first transaction data, wherein the first transaction data is of the first media data;
storing the first transaction data on a blockchain system; and
storing the first media data in a storage resource pool.

### Claim 8 (depends on 7)

The method of claim 7, wherein the data storage request further carries first verification information, and wherein determining the first transaction data comprises:
performing, based on the first verification information, verification on the first media data; and
determining the first transaction data when the verification succeeds.

### Claim 9 (depends on 7)

The method of claim 7, wherein the data storage request further carries first signature information, and wherein the data storage request is based on a signature of the first media data with a first private key, and wherein determining the first transaction data comprises:
performing, based on a first public key, verification on the first signature information; and
determining the first transaction data when the verification succeeds.

### Claim 10 (depends on 7)

The method of claim 7, wherein receiving the data storage request comprises receiving, from a first client and through a service management end, the data storage request.

### Claim 11 (depends on 7)

The method of claim 7, wherein storing the first media data comprises:
classifying, based on attribute information of the first media data, the first media data to obtain a classification result;
determining, based on the classification result, a first storage node from a plurality of storage nodes; and
storing the first media data in the first storage node.

### Claim 12 (depends on 7)

The method of claim 7, further comprising:
receiving a data obtaining request carrying source information of third media data;
querying, based on the source information, the third media data from the storage resource pool to obtain a second query result; and
sending the second query result.

### Claim 13 (depends on 12)

The method of claim 12, wherein the source information comprises third verification information, and wherein querying the third media data comprises:
performing, based on the third verification information, verification on fourth media data found from the third media data; and
obtaining the second query result when the verification succeeds, wherein the second query result carries the fourth media data.

### Claim 14 (depends on 12)

The method of claim 12, wherein the source information comprises third verification information, wherein the storage resource pool comprises a primary resource pool and a backup resource pool, and wherein querying the third media data comprises:
querying, based on the source information, the third media data from the primary resource pool;
performing, based on the third verification information, first verification on fourth media data found from the primary resource pool;
when the first verification fails, or when the fourth media data is not found from the primary resource pool:
querying, based on the source information, the third media data from the backup resource pool;
performing, based on the third verification information, second verification on fifth media data found from the backup resource pool; and
obtaining the second query result when the second verification succeeds, wherein the second query result carries the fifth media data.

### Claim 15

A first client comprising:
a memory configured to store instructions; and
at least one processor coupled to the memory and configured to execute the instructions to cause the first client to:
obtain a data storage request carrying first media data, wherein the data storage request instructs to store first transaction data on a blockchain system and store the first media data in a storage resource pool, and wherein the first transaction data is of the first media data;
invoke a data storage interface; and
send the data storage request through the data storage interface.

### Claim 16 (depends on 15)

The first client of claim 15, wherein the data storage request further carries first verification information, and wherein the at least one processor is further configured to execute the instructions to cause the first client to:
perform verification on the first media data based on the first verification information through the data storage interface; and
send the data storage request through the data storage interface when the verification succeeds.

### Claim 17 (depends on 15)

The first client of claim 15, wherein the data storage request further carries first signature information, and wherein the data storage request is based on a signature of the first media data with a first private key, and wherein the at least one processor is further configured to execute the instructions to cause the first client to:
perform verification on the first signature information based on a first public key through the data storage interface; and
send the data storage request through the data storage interface when the verification succeeds.

### Claim 18 (depends on 15)

The first client of claim 15, wherein the data storage system further comprises a plurality of servers and a service management end, wherein the at least one processor is further configured to execute the instructions to cause the first client to send, to the service management end through the data storage interface, the data storage request, and wherein the data storage request further instructs the service management end to determine a first server from the servers and send the data storage request to the first server.

### Claim 19 (depends on 15)

The first client of claim 15, wherein the data storage system further provides a data query interface for the clients, and wherein the at least one processor is further configured to execute the instructions to cause the first client to:
obtain source information of second media data;
invoke the data query interface;
send, through the data query interface, a data obtaining request carrying the source information; and
receive, through the data query interface, a first query result based on the source information.

### Claim 20 (depends on 19)

The first client of claim 19, wherein the source information comprises second verification information, wherein the first query result carries third media data found from the second media data, and wherein the at least one processor is further configured to execute the instructions to cause the first client perform, based on the second verification information, verification on the third media data through the data query interface.
