Font Size: a A A

A Data Storage And Query System Based On Blockchain

Posted on:2022-09-12Degree:MasterType:Thesis
Country:ChinaCandidate:X ZhangFull Text:PDF
GTID:2518306557471454Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Traditional data storage mostly relies on storage services provided by trusted third-party service providers.This centralized storage method has problems with the risk of data tampering and high operating costs.Blockchain is a technology that combines cryptography,distributed consensus,chained data structure,etc.,which can realize peer-to-peer transactions and collaboration without relying on trusted and centralized third-party institutions.The characteristics of blockchain technology such as decentralization,security and credibility are of great significance to the application of blockchain to data storage and query systems.The high redundancy storage mode of the blockchain improves the consistency of the system,but at the same time it also reduces the scalability of the system.When applying blockchain technology,the issue of storage scalability cannot be ignored.This article first analyzes the limitations of current domestic and foreign scholars using on-chain collaborative storage to solve storage scalability problems,and proposes a block storage model based on DHT and IPFS.This model relieves the local storage pressure of nodes by constructing a DHT network for blockchain nodes.At the same time,a block heat identification mechanism is established,and cold block data is uploaded to the off-chain IPFS file system through the BLRU block replacement algorithm to avoid the continuous linear growth of node local storage overhead.This model can not only reduce the local storage load of blockchain nodes,but also store more local block data in the blockchain network under the same block height.This analyzes the shortcomings of the existing blockchain data query scheme based on the secret sharing mechanism and the phenomenon that the on-chain data is too large to be directly stored in the block,and proposes a blockchain data query scheme based on the Blakley threshold secret sharing mechanism.This scheme uses the space plane equation to share secrets,restricts the rights of data inquirers,and ensures the security of blockchain data inquiries.Only the number of data inquirers holding secret shares is greater than the threshold,data inquirers can reconstruct data through the secret sharing mechanism.At the same time,based on the idea of erasure coding,the space plane equation coefficient matrix is used to segment the ciphertext data to be uploaded to blockchain,which not only solves the problem that the data cannot be directly stored in the block due to the large size,but also further improves the fault tolerance rate of the blockchain storage and query system.Finally,based on the optimized block storage model and the secure and controllable blockchain data query scheme,this paper builds a blockchain-based data storage and query system,and tests the system.According to the test results,the system meets the design demand and has strong practical value.
Keywords/Search Tags:blockchain, storage scalability, DHT, IPFS, erasure code, threshold secret sharing
PDF Full Text Request
Related items