Font Size: a A A

Research On Consensus Mechanism Of Rice Blockchain Based On Improved PBFT Algorithm

Posted on:2024-09-16Degree:MasterType:Thesis
Country:ChinaCandidate:F YuanFull Text:PDF
GTID:2568307106965609Subject:Agricultural engineering and information technology
Abstract/Summary:PDF Full Text Request
Data integrity and security in the rice industry chain has always been one of the key issues in the transaction process of the rice industry chain.The transaction records are difficult to trace and can be tampered with,as well as the agricultural residue detection value of the products purchased by the processing plant is unknown,and information fraud has always been a problem faced by the whole industry chain.Blockchain technology can be well combined with rice industry because of its decentralization,tamperability and traceability of information on the chain,transparency and openness of information,etc.The rice industry introduces blockchain technology to protect the rights and interests of consumers.The consensus mechanism is the core technology in blockchain,which directly affects the efficiency and stability of the blockchain system.The traditional PBFT consensus algorithm has the disadvantages of high communication volume and high consumption of network resources in the face of multi-node transactions.In order to improve the efficiency and stability of blockchain system operation,this thesis proposes a grouped integral superposition consensus algorithm(Integral Superposition Practical Byzantine Fault Tolerance,IS-PBFT)based on the PBFT consensus algorithm to improve the PBFT algorithm.The main studies of this thesis are:(1)In the process of rice industry chain transaction,there are too many nodes with different roles such as processing enterprises,dealers and buyers,which cause the problem of large traffic and error prone of the main node of the pbft consensus algorithm of the blockchain.This paper proposes a consensus algorithm based on group integral superposition(is-pbft).In the algorithm,the integration system of nodes is introduced,and all nodes are assigned initial values.After a round of consensus,the corresponding points are increased or decreased.Therefore,there will be differences in points between nodes.The nodes are grouped according to the score ranking of nodes.The system can dynamically group the nodes according to the score ranking of nodes,and divide the nodes into master nodes,consensus nodes and execution nodes,The main node and the consensus node complete the information broadcast and verification,while the execution node only needs to execute the broadcast message,which can reduce the consensus steps in the traditional pbft consensus algorithm,reduce the communication cost,improve the operation efficiency of the consensus algorithm,and reduce the operation cost.(2)By simulating the transaction process in the rice blockchain,information consensus experiments were conducted with the roles of farmers and enterprises in different scenarios,which verified that the improved is-pbft algorithm had certain advantages compared with pbft algorithm.The improved is-pbft algorithm has less traffic than the traditional pbft algorithm,and its ability to process transactions in unit time has been improved.At the same time,the improved is-pbft algorithm also has a certain ability to resist the interference of Byzantine nodes.When the total number of nodes is the same,when there are the same number of Byzantine nodes in the two systems,the stability of is-pbft algorithm is much higher than that of pbft algorithm.(3)A rice blockchain consensus prototype system is designed and implemented based on the IS-PBFT algorithm with rice blockchain as the application scenario.It includes the classification management of role nodes,the selection of role node representatives to upload messages based on the trustworthiness(the accumulated points),and the successful completion of message broadcasting by the consensus algorithm,as well as the deployment of a fabric federation chain,and the visualization of the improved IS-PBFT consensus algorithm in the form of code.
Keywords/Search Tags:Rice, Blockchain, Consensus mechanism, PBFT, IS-PBFT
PDF Full Text Request
Related items