Font Size: a A A

Electronic Data Storage System Based On RW-BFT Consensus Mechanism

Posted on:2022-01-20Degree:MasterType:Thesis
Country:ChinaCandidate:W JiangFull Text:PDF
GTID:2518306539481034Subject:Computer technology
Abstract/Summary:PDF Full Text Request
Using blockchain technology to solve the third-party trust crisis and digital security problems is one of the current research hotspots of electronic data storage system.Aiming at the problems of poor scalability,high communication overhead,low efficiency and unable to dynamically add nodes in practical Byzantine fault-tolerant algorithm,this paper proposes a WPBFT algorithm based on weighted view switching and two-stage consensus strategy by applying maximum fault-tolerant theory The electronic data storage system based on RW-BFT consensus mechanism is designed and implemented.The main research work and achievements include:1.A Byzantine fault-tolerant algorithm based on weighted view switching and two-stage consensus strategy is proposed.First,by introducing the weight factor,select some nodes to participate in the consensus,and modify the main node election strategy to improve the efficiency of the system and enhance the scalability.Second,the PBFT three-stage consensus is changed to two-stage consensus to reduce the traffic.Experimental results show that compared with PBFT,WPBFT improves the scalability of the system and reduces the communication loss.2.A RW-BFT algorithm based on consensus information synchronization and wpbft is proposed.The Raft algorithm is introduced to solve the problem that WPBFT algorithm must stop all nodes when adding nodes,which leads to poor information synchronization.The Raft algorithm is built into WPBFT,and the Raft algorithm is responsible for ensuring that the configuration information of each node is consistent,while the WPBFT algorithm is responsible for synchronizing the output blocks,so as to realize the dynamic increase of information synchronization nodes.Experimental results show that RW-BFT algorithm can effectively increase nodes dynamically and keep information synchronization.3.Using SSM framework,an electronic data storage system based on rw-bft consensus mechanism is developed.The system is divided into three layers: block chain layer,intelligent contract layer and business layer.The network module of blockchain layer includes P2 P network communication and consensus algorithm,and the data module is used to store block data.The smart contract layer is used to connect the business layer and the blockchain layer to realize the data on the blockchain and query the data on the blockchain.The business layer mainly includes electronic data upload,electronic data download,electronic data authentication,electronic data authentication,electronic data query and other functional modules.The system is developed with restful architecture,with interfaces between the certificate storage system,the evidence collection system and the certificate issuing system.The test results show that the system achieves the expected function and has good stability.Main contributions: This paper proposes a consensus algorithm which introduces weight factor and changes three-stage consensus into two-stage consensus,and combines it with Raft algorithm to achieve dynamic increase of nodes,and applies this algorithm to electronic data storage system to realize the whole process of electronic data storage.
Keywords/Search Tags:Electronic data storage, Block chain, RW-BFT, PBFT, Raft
PDF Full Text Request
Related items