Font Size: a A A

Research Of Distributed Storage Mechanism Of Alliance Chain Data

Posted on:2022-03-18Degree:MasterType:Thesis
Country:ChinaCandidate:J Y CaoFull Text:PDF
GTID:2518306341951609Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
In recent years,blockchain has become a research focus in the field of Internet.Alliance chain has the advantages of security,traceability and non tampering.Compared with public chain,its consensus algorithm usually wastes less computing power and it has a wide range of application scenarios.However,it is often happens that every node stores all the data in the whole alliance chain.When the data size grow fast,the rapid growth of the data that each node in the alliance chain needs to store,will result in high storage cost.Aiming at the high cost of alliance chain storage,this paper designs a new distributed storage mechanism,which allocates the newly generated blocks to multiple nodes for storage according to a reasonable storage allocation algorithm,so as to achieve the goal of significantly reducing the storage cost of each node under the condition of low risk of data loss,and verify that each node is reliable through the storage proof function In order to ensure the security of the whole network and reduce the risk of data loss,the malicious nodes and invalid nodes are excluded from the network in time.After that,this paper designs a new storage allocation algorithm which can be applied to the alliance chain based on the consistent hash algorithm,and realizes the storage proof function based on the spatiotemporal proof algorithm,and applies the two to the distributed storage mechanism designed in this paper.In this paper,we have completed a prototype of alliance chain which can adopt various storage mechanisms,and have carried out experiments on the basis of the prototype.In the experiment,a large number of blocks are generated to compare the storage cost and data loss risk of different storage mechanisms under different data loss probabilities of a single node.The storage mechanism proposed in this paper has no block loss phenomenon in several experiments,and its storage cost is far lower than which stores all data in whole blockchain in every node.In the case of a large number of nodes,its storage cost is lower than which divided into subchains to store data and IPFS.The design requirements are well completed,and the storage cost of alliance chain and the waste of storage resources are reduced.
Keywords/Search Tags:blockchain, alliance chain, distributed storage
PDF Full Text Request
Related items