10985908

Data Storage Method, Data Query Method and Apparatuses

PublishedApril 20, 2021
Assigneenot available in USPTO data we have
InventorsHAO WU
Technical Abstract

Patent Claims
20 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A method, comprising: sending, by a blockchain node associated with a blockchain network, first data to an encryption device to cause the encryption device to encrypt the first data to form first encrypted data and return the first encrypted data to the blockchain node; receiving the first encrypted data returned by the encryption device; sending the first encrypted data to other blockchain nodes associated with the blockchain network to cause each of the other blockchain nodes to store the first encrypted data in a blockchain of the blockchain network after successfully performing consensus verification on the first encrypted data; querying, by the blockchain node, second encrypted data stored in the blockchain; determining, through one or more smart contracts stored in the blockchain, whether the blockchain node has a permission to decrypt the second encrypted data; if the blockchain node has the permission, sending the second encrypted data to the encryption device through the one or more smart contracts to cause the encryption device to decrypt the second encrypted data and return second data obtained from the decryption to the blockchain node; and if the blockchain node does not have the permission, refusing to send the second encrypted data to the encryption device.

2

2. The method according to claim 1 , further comprising: determining, through the one or more smart contracts, a value to be added into an account of the blockchain node for sharing the first data; and sending a node identifier of the blockchain node and the value to the other blockchain nodes to cause the node identifier and the value to be stored in the blockchain after successfully performing consensus verification on the node identifier and the value.

3

3. The method according to claim 1 , wherein the encryption device is caused to encrypt a part of the first data.

4

4. The method according to claim 1 , wherein, when the blockchain node has the permission to decrypt the data to be queried second encrypted data, the method further comprises: determining, through the one or more smart contracts, a value to be deducted from an account of the blockchain node, the value corresponding to the second data returned by the encryption device; and sending, through the one or more smart contracts, a node identifier of the blockchain node and the value to the other blockchain nodes associated with the blockchain network to cause each of the other blockchain nodes to store the node identifier and the value in the blockchain after successfully performing consensus verification on the node identifier and the value.

5

5. The method according to claim 1 , wherein, when the blockchain node has the permission to decrypt the second encrypted data, the method further comprises: determining, through the one or more smart contracts, a node identifier of a second blockchain node sharing the second data and a value to be added into an account of the second blockchain node for sharing the second data; and sending, through the one or more smart contracts, the determined node identifier and the value to the other blockchain nodes to cause each of the other blockchain nodes to store the determined node identifier and the value in the blockchain after successfully performing consensus verification on the determined node identifier and the value.

6

6. The method according to claim 1 , further comprising: sending, by the blockchain node, a refill request to a refill device to cause the refill device to determine a refill certificate according to the refill request and return the refill certificate to the blockchain node, the refill certificate comprising a value added into an account of the blockchain node; and sending a node identifier of the blockchain node and the refill certificate to the other blockchain nodes associated with the blockchain network to cause each of the other blockchain nodes to store the node identifier and the value in the blockchain after successfully performing consensus verification on the node identifier and the refill certificate.

7

7. A method, comprising: sending, by a first blockchain node associated with a blockchain network, data to an encryption device to cause the encryption device to encrypt the data and return the encrypted data to the first blockchain node; receiving the encrypted data returned by the encryption device; sending the encrypted data to other blockchain nodes associated with the blockchain network to cause each of the other blockchain nodes to store the encrypted data in a blockchain of the blockchain network after successfully performing consensus verification on the encrypted data; querying, by a second blockchain node associated with the blockchain network, the encrypted data stored in the blockchain; determining, through one or more smart contracts stored in the blockchain, whether the second blockchain node has a permission to decrypt the encrypted data; if the second blockchain node has the permission, sending the encrypted data to the encryption device through the one or more smart contracts to cause the encryption device to decrypt the encrypted data and return data obtained from the decryption to the second blockchain node; and if the second blockchain node does not have the permission, refusing to send the encrypted data to the encryption device.

8

8. The method according to claim 7 , wherein: the encrypted data stored in the blockchain comprises an unencrypted part; and querying, by the second blockchain node associated with the blockchain network, the encrypted data stored in the blockchain comprises: determining, by the second blockchain node, a data query condition; determining, through the one or more smart contracts and according to the data query condition, whether the unencrypted part comprised in the encrypted data stored in the blockchain satisfies the data query condition.

9

9. A system, comprising: one or more processors and one or more non-transitory computer-readable storage mediums storing instructions that, when executed by the one or more processors, cause the one or more processors to perform a method comprising: sending, by a blockchain node associated with a blockchain network, first data to an encryption device to cause the encryption device to encrypt the first data to form first encrypted data and return the first encrypted data to the blockchain node; receiving the first encrypted data returned by the encryption device; sending the first encrypted data to other blockchain nodes associated with the blockchain network to cause each of the other blockchain nodes to store the first encrypted data in a blockchain of the blockchain network after successfully performing consensus verification on the first encrypted data; querying, by the blockchain node, second encrypted data stored in the blockchain; determining, through one or more smart contracts stored in the blockchain, whether the blockchain node has a permission to decrypt the second encrypted data; if the blockchain node has the permission, sending the second encrypted data to the encryption device through the one or more smart contracts to cause the encryption device to decrypt the second encrypted data and return second data obtained from the decryption to the blockchain node; and if the blockchain node does not have the permission, refusing to send the second encrypted data to the encryption device.

10

10. The system according to claim 9 , wherein the method further comprises: determining, through the one or more smart contracts, a value to be added into an account of the blockchain node for sharing the first data; and sending a node identifier of the blockchain node and the value to the other blockchain nodes to cause the node identifier and the first value to be stored in the blockchain after successfully performing consensus verification on the node identifier and the value.

11

11. The system according to claim 9 , wherein the encryption device is caused to encrypt a part of the first data.

12

12. The system according to claim 9 , wherein, when the blockchain node has the permission to decrypt the second encrypted data, the method further comprises: determining, through the one or more smart contracts, a value to be deducted from an account of the blockchain node, the value corresponding to the second data returned by the encryption device; and sending, through the one or more smart contracts, a node identifier of the blockchain node and the value to the other blockchain nodes associated with the blockchain network to cause each of the other blockchain nodes to store the node identifier and the value in the blockchain after successfully performing consensus verification on the node identifier and the value.

13

13. The system according to claim 9 , wherein, when the blockchain node has the permission to decrypt the second encrypted data, the method further comprises: determining, through the one or more smart contracts, a node identifier of a second blockchain node sharing the second data and a value to be added into an account of the second blockchain node for sharing the second data; and sending, through the one or more smart contracts, the determined node identifier and the value to the other blockchain nodes to cause each of the other blockchain nodes to store the determined node identifier and the value in the blockchain after successfully performing consensus verification on the determined node identifier and the value.

14

14. The system according to claim 9 , wherein the method further comprises: sending, by the blockchain node, a refill request to a refill device to cause the refill device to determine a refill certificate according to the refill request and return the refill certificate to the blockchain node the refill certificate comprising a value added into an account of the blockchain node; and sending a node identifier of the blockchain node and the refill certificate to the other blockchain nodes associated with the blockchain network to cause each of the other blockchain nodes to store the node identifier and the value in the blockchain after successfully performing consensus verification on the node identifier and the refill certificate.

15

15. A system, comprising: one or more processors and one or more non-transitory computer-readable storage mediums storing instructions that, when executed by the one or more processors, cause the one or more processors to perform a method comprising: sending, by a first blockchain node associated with a blockchain network, data to an encryption device to cause the encryption device to encrypt the data and return the encrypted data to the first blockchain node; receiving the encrypted data returned by the encryption device; sending the encrypted data to other blockchain nodes associated with the blockchain network to cause each of the other blockchain nodes to store the encrypted data in a blockchain of the blockchain network after successfully performing consensus verification on the encrypted data; querying, by a second blockchain node associated with the blockchain network, the encrypted data stored in the blockchain; determining, through one or more smart contracts stored in the blockchain, whether the second blockchain node has a permission to decrypt the encrypted data; if the second blockchain node has the permission, sending the encrypted data to the encryption device through the one or more smart contracts to cause the encryption device to decrypt the encrypted data and return data obtained from the decryption to the second blockchain node; and if the second blockchain node does not have the permission, refusing to send the encrypted data to the encryption device.

16

16. The system according to claim 15 , wherein: the encrypted data stored in the blockchain comprises an unencrypted part; and querying, by the second blockchain node associated with the blockchain network, the encrypted data stored in the blockchain comprises: determining, by the second blockchain node, a data query condition; determining, through the one or more smart contracts and according to the data query condition, whether the unencrypted part comprised in the encrypted data stored in the blockchain satisfies the data query condition.

17

17. A method, comprising: receiving, from a first blockchain node of a blockchain network comprising a plurality of blockchain nodes, a query for encrypted data stored in a blockchain of the blockchain network; determining, through one or more smart contracts stored in the blockchain, whether the first blockchain node has a permission to decrypt the encrypted data; and in response to determining that the first blockchain node has the permission to decrypt the encrypted data, sending the encrypted data to an encryption device through the one or more smart contracts to cause the encryption device to decrypt the encrypted data and return data obtained from the decryption to the first blockchain node.

18

18. The method according to claim 17 , wherein: the encrypted data stored in the blockchain comprises an unencrypted part; and determining whether the first blockchain node has the permission to decrypt the encrypted data, comprises: determining, through the one or more smart contracts and according to a data query condition determined by the first blockchain node, whether the unencrypted part comprised in the encrypted data stored in the blockchain satisfies the data query condition.

19

19. The method according to claim 17 , wherein, after determining that the first blockchain node has the permission to decrypt the encrypted data, the method further comprises: determining, through the one or more smart contracts, a value to be deducted from an account of the first blockchain node, the value corresponding to the data returned by the encryption device; and sending, through the one or more smart contracts, a node identifier of the first blockchain node and the value to other blockchain nodes in the blockchain network to cause each of the other blockchain nodes to store the node identifier and the value in the blockchain after successfully performing consensus verification on the node identifier and the value.

20

20. The method according to claim 17 , wherein, after determining that the first blockchain node has the permission to decrypt the encrypted data, the method further comprises: determining, through the one or more smart contracts, a node identifier of a second blockchain node sharing the data and a value to be added into an account of the second blockchain node for sharing the data; and sending, through the one or more smart contracts, the determined node identifier and the value to the other blockchain nodes to cause each of the other blockchain nodes to store the determined node identifier and the value in the blockchain after successfully performing consensus verification on the determined node identifier and the value.

Patent Metadata

Filing Date

Unknown

Publication Date

April 20, 2021

Inventors

HAO WU

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “DATA STORAGE METHOD, DATA QUERY METHOD AND APPARATUSES” (10985908). https://patentable.app/patents/10985908

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.

DATA STORAGE METHOD, DATA QUERY METHOD AND APPARATUSES — HAO WU | Patentable