Font Size: a A A

Research On Local Storage Optimization Of Blockchain

Posted on:2021-04-13Degree:MasterType:Thesis
Country:ChinaCandidate:Y ZhangFull Text:PDF
GTID:2428330620464098Subject:Engineering
Abstract/Summary:PDF Full Text Request
Recently,blockchain technology develops rapidly,and various countries and Internet giants have joined the research field of blockchain.Blockchain technology has become an important breakthrough of core technology innovation,and has achieved a lot of achievements in theoretical research and practical deployment.As a decentralized distributed Shared database,blockchain requires each node to store complete block data.With the increase in the number of nodes in the system and the complexity of transactions,nodes need more and more local storage space to store block data,which has become the bottleneck of blockchain in practical application.In view of the problem of local storage of blockchain and considering different application scenarios,this paper proposes two optimization methods of local storage of blockchain,and analyzes the model architecture and system flow respectively:(1)In the blockchain system where blockchain ledger is not required to be disclosed,the local storage optimization model based on lightweight blockchain proposed in this paper changes the data structure of blockchain,replaces the transactions in the block with the hash index of transactions,and adds local transaction storage in the blockchain.Considering the two blockchain types which involving digital currency transaction and which not involving digital currency transaction,the transaction process and verification process are designed and analyzed respectively.When a blockchain which involving digital currency transactions is involved,the account tree structure is designed in the blockhead to record the node account of the system.The simulation results show that the storage optimization performance of this model is good and the local storage burden of nodes is reduced.(2)In view of block chain systems have the nodes in the good network and good computation,this paper puts forward a model,which completely do not affect the data structure and the function of block chain.Add a data processing layer in the system hierarchy to process node local block data.The block data locally stored on the node is converted into the encoded data slice by using the encoding and decoding operations of the encoding matrix.According to its own storage performance,the node randomly deletes part of the encoded data slices.When it is necessary to reconstruct block data,it will obtain data slices from other nodes and reconstruct the block using decoding operation.Under the premise of incomplete storage of block chain data,every node also contributes to the whole distributed system,ensuring the decentralization of the system.Through simulation experiments,it is proved that the model has high success rate of reconstruction and strong system stability under the premise of saving storage.
Keywords/Search Tags:block chain, storage optimization, lightweight model, distributed storage
PDF Full Text Request
Related items