Methods and systems for recording data based on plurality of blockchain networks
AssigneeAdvanced New Technologies Co., Ltd.
InventorXinying Yang
Life of this patent
Estimating the term…
Abstract
Disclosed are methods and systems for recording data based on a plurality of blockchain networks. One method comprises: in response to receiving data to be recorded, generating a first-type blockchain transaction comprising the data; transmitting the first-type blockchain transaction to the first-type blockchain network; recording one or more first-type blockchain transactions into a first-type block; recording the first-type block on a blockchain of the first-type blockchain network; determining a transaction hash of each of the one or more first-type blockchain transactions in the first-type block; recording one or more second-type blockchain transactions into a second-type block; and recording the second-type block on a blockchain of the second-type blockchain network.
Claims18
A computer-implemented method for recording data, comprising:
- in response to receiving data to be recorded, generating, by a node in a first-type blockchain network, a first-type blockchain transaction comprising the data;
- transmitting, by the node in the first-type blockchain network, the first-type blockchain transaction to the first-type blockchain network;
- recording, by the node based on a consensus algorithm, one or more first-type blockchain transactions into a first-type block;
- recording, by the node, the first-type block on a blockchain of the first-type blockchain network;
- determining, by the node, a transaction hash of each of the one or more first-type blockchain transactions in the first-type block;
- receiving, by a target node in a second-type blockchain network and as a received transaction hash, the transaction hash of each of the one or more first-type blockchain transactions;
- generating, by the target node and for each transaction hash, a corresponding second-type blockchain transaction based on the received transaction hash;
- storing, by the target node and for the one or more first-type blockchain transactions, a network identifier of the first-type blockchain network with the received transaction hash as the corresponding second-type blockchain transaction;
- transmitting, by the target node, each second-type blockchain transaction to the second-type blockchain network;
- recording, by the target node based on the consensus algorithm, one or more second-type blockchain transactions into a second-type block;
- recording, by the target node, the second-type block on a blockchain of the second-type blockchain network;
- in response to receiving a verification request, verifying, by the target node in the second-type blockchain network, the data to be recorded is recorded in the first-type blockchain network;
- in response to receiving a query of the corresponding second-type blockchain transaction, sending, by the target node, the transaction hash to the first-type blockchain network based on the network identifier;
- and
- in response to sending the transaction hash to the first-type blockchain network, receiving, by the target node, the first-type blockchain transaction corresponding to the transaction hash of the first-type blockchain network.
A non-transitory, computer-readable medium storing one or more instructions executable by a computer system to perform operations comprising:
- in response to receiving data to be recorded, generating, by a node in a first-type blockchain network, a first-type blockchain transaction comprising the data;
- transmitting, by the node in the first-type blockchain network, the first-type blockchain transaction to the first-type blockchain network;
- recording, by the node based on a consensus algorithm, one or more first-type blockchain transactions into a first-type block;
- recording, by the node, the first-type block on a blockchain of the first-type blockchain network;
- determining, by the node, a transaction hash of each of the one or more first-type blockchain transactions in the first-type block;
- receiving, by a target node in a second-type blockchain network and as a received transaction hash, the transaction hash of each of the one or more first-type blockchain transactions;
- generating, by the target node and for each transaction hash, a corresponding second-type blockchain transaction based on the received transaction hash;
- storing, by the target node and for the one or more first-type blockchain transactions, a network identifier of the first-type blockchain network with the received transaction hash as the corresponding second-type blockchain transaction;
- transmitting, by the target node, each second-type blockchain transaction to the second-type blockchain network;
- recording, by the target node based on the consensus algorithm, one or more second-type blockchain transactions into a second-type block;
- recording, by the target node, the second-type block on a blockchain of the second-type blockchain network;
- in response to receiving a verification request, verifying, by the target node in the second-type blockchain network, the data to be recorded is recorded in the first-type blockchain network;
- in response to receiving a query of the corresponding second-type blockchain transaction, sending, by the target node, the transaction hash to the first-type blockchain network based on the network identifier;
- and
- in response to sending the transaction hash to the first-type blockchain network, receiving, by the target node, the first-type blockchain transaction corresponding to the transaction hash of the first-type blockchain network.
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:
- in response to receiving data to be recorded, generating, by a node in a first-type blockchain network, a first-type blockchain transaction comprising the data;
- transmitting, by the node in the first-type blockchain network, the first-type blockchain transaction to the first-type blockchain network;
- recording, by the node based on a consensus algorithm, one or more first-type blockchain transactions into a first-type block;
- recording, by the node, the first-type block on a blockchain of the first-type blockchain network;
- determining, by the node, a transaction hash of each of the one or more first-type blockchain transactions in the first-type block;
- receiving, by a target node in a second-type blockchain network and as a received transaction hash, the transaction hash of each of the one or more first-type blockchain transactions;
- generating, by the target node and for each transaction hash, a corresponding second-type blockchain transaction based on the received transaction hash;
- storing, by the target node and for the one or more first-type blockchain transactions, a network identifier of the first-type blockchain network with the received transaction hash as the corresponding second-type blockchain transaction;
- transmitting, by the target node, each second-type blockchain transaction to the second-type blockchain network;
- recording, by the target node based on the consensus algorithm, one or more second-type blockchain transactions into a second-type block;
- recording, by the target node, the second-type block on a blockchain of the second-type blockchain network;
- in response to receiving a verification request, verifying, by the target node in the second-type blockchain network, the data to be recorded is recorded in the first-type blockchain network;
- in response to receiving a query of the corresponding second-type blockchain transaction, sending, by the target node, the transaction hash to the first-type blockchain network based on the network identifier;
- and
- in response to sending the transaction hash to the first-type blockchain network, receiving, by the target node, the first-type blockchain transaction corresponding to the transaction hash of the first-type blockchain network.
Dependencies are inferred from the claim text.