Methods and apparatuses for reading blockchain data
AssigneeAdvanced New Technologies Co., Ltd.
InventorXinying Yang
Life of this patent
Estimating the term…
Abstract
Methods and apparatuses for retrieving blockchain data are disclosed. One method comprises: receiving a data retrieving request that comprises a target transaction identifier; identifying a transaction storage location that corresponds to the target transaction identifier as a target transaction storage location based on a pre-stored correspondence between transaction identifiers of transactions recorded on a blockchain associated with the blockchain network and transaction storage locations of the transactions; and retrieving data from the target transaction storage location in the blockchain.
Claims15
A method for retrieving blockchain data, comprising:
- receiving, by a node in a blockchain network, a data retrieving request that comprises a target transaction identifier;
- identifying, by the node, a transaction storage location that corresponds to the target transaction identifier as a target transaction storage location based on a pre-stored correspondence between transaction identifiers of transactions recorded on a blockchain associated with the blockchain network and transaction storage locations of the transactions;
- and
- retrieving data from the target transaction storage location in the blockchain, wherein the data is concealed data that replaces a target transaction identified by the target transaction identifier and originally stored in the target transaction storage location, wherein the concealed data comprises a transaction hash of the target transaction, wherein replacing the target transaction identified by the target transaction identifier comprises:
- obtaining the transaction hash of the target transaction;
- concatenating a predetermined front marking character to a header of the transaction hash to generate a first concatenation;
- identifying the concealed data based on the first concatenation;
- and
- replacing the target transaction with the concealed data.
A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
- receiving, by a node in a blockchain network, a data retrieving request that comprises a target transaction identifier;
- identifying, by the node, a transaction storage location that corresponds to the target transaction identifier as a target transaction storage location based on a pre-stored correspondence between transaction identifiers of transactions recorded on a blockchain associated with the blockchain network and transaction storage locations of the transactions;
- and
- retrieving data from the target transaction storage location in the blockchain, wherein the data is concealed data that replaces a target transaction identified by the target transaction identifier and originally stored in the target transaction storage location, wherein the concealed data comprises a transaction hash of the target transaction, wherein replacing the target transaction identified by the target transaction identifier comprises:
- obtaining the transaction hash of the target transaction;
- concatenating a predetermined front marking character to a header of the transaction hash to generate a first concatenation;
- identifying the concealed data based on the first concatenation;
- and
- replacing the target transaction with the concealed data.
A computer-implemented system, comprising:
- one or more computers;
- and
- one or more computer memory devices interoperably coupled with the one or more computers and having tangible, non-transitory, machine-readable media storing one or more instructions that, when executed by the one or more computers, perform one or more operations comprising:
- receiving, by a node in a blockchain network, a data retrieving request that comprises a target transaction identifier;
- identifying, by the node, a transaction storage location that corresponds to the target transaction identifier as a target transaction storage location based on a pre-stored correspondence between transaction identifiers of transactions recorded on a blockchain associated with the blockchain network and transaction storage locations of the transactions;
- and
- retrieving data from the target transaction storage location in the blockchain, wherein the data is concealed data that replaces a target transaction identified by the target transaction identifier and originally stored in the target transaction storage location, wherein the concealed data comprises a transaction hash of the target transaction, wherein replacing the target transaction identified by the target transaction identifier comprises:
- obtaining the transaction hash of the target transaction;
- concatenating a predetermined front marking character to a header of the transaction hash to generate a first concatenation;
- identifying the concealed data based on the first concatenation;
- and
- replacing the target transaction with the concealed data.
Dependencies are inferred from the claim text.