Indexing and recovering encoded blockchain data
AssigneeAlipay (Hangzhou) Information Technology Co., Ltd.
InventorHaizhen Zhuo
Life of this patent
Estimating the term…
Abstract
Disclosed herein are computer-implemented methods, computer-implemented systems, and non-transitory, computer-readable media, to index blockchain data for storage. One computer-implemented method includes generating one or more encoded blocks by executing error correction coding (ECC) on one or more blocks of a blockchain. Each of the one or more encoded blocks are divided into a plurality of datasets. An index is provided for the one or more encoded blocks, where the index is used to index each dataset of the plurality of datasets to a blockchain node at which a respective dataset is stored.
Claims20
A computer-implemented method comprising:
- executing error correction coding (ECC) on a first block of a blockchain, to generate an encoded block;
- dividing the encoded block into a plurality of datasets;
- storing, at a first blockchain node of the blockchain, a first dataset of the plurality of datasets, wherein one or more other datasets of the plurality of datasets are stored at a second blockchain node of the blockchain;
- receiving, at the first blockchain node, from another computing device, a request for blockchain data;
- determining that the blockchain data is included in the first block;
- identifying the second blockchain node which a second dataset is stored at, wherein the second dataset is one of the one or more other datasets;
- sending, to the second blockchain node, a request for the second dataset;
- and
- receiving, at the first blockchain node, from the second blockchain node, the second dataset.
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, cause the one or more computers to perform operations comprising:
- executing error correction coding (ECC) on a first block of a blockchain, to generate an encoded block;
- dividing the encoded block into a plurality of datasets;
- storing, at a first blockchain node of the blockchain, a first dataset of the plurality of datasets, wherein one or more other datasets of the plurality of datasets are stored at a second blockchain node of the blockchain;
- receiving, at the first blockchain node, from another computing device, a request for blockchain data;
- determining that the blockchain data is included in the first block;
- identifying the second blockchain node which a second dataset is stored at, wherein the second dataset is one of the one or more other datasets;
- sending, to the second blockchain node, a request for the second dataset;
- and
- receiving, at the first blockchain node, from the second blockchain node, the second dataset.
A non-transitory, computer-readable medium storing one or more instructions that, when executed by a computer system, cause the computer system to perform one or more operations comprising:
- executing error correction coding (ECC) on a first block of a blockchain, to generate an encoded block;
- dividing the encoded block into a plurality of datasets;
- storing, at a first blockchain node of the blockchain, a first dataset of the plurality of datasets, wherein one or more other datasets of the plurality of datasets are stored at a second blockchain node of the blockchain;
- receiving, at the first blockchain node, from another computing device, a request for blockchain data;
- determining that the blockchain data is included in the first block;
- identifying the second blockchain node which a second dataset is stored at, wherein the second dataset is one of the one or more other datasets;
- sending, to the second blockchain node, a request for the second dataset;
- and
- receiving, at the first blockchain node, from the second blockchain node, the second dataset.
Dependencies are inferred from the claim text.