| With the development of the times,society has become more and more dependent on the logistics and freight industry.In order to meet the needs of the society,a large number of logistics and freight companies have emerged.They use more scientific management and more efficient tools to improve logistics and freight.s efficiency.However,corresponding problems also emerged.For example,logistics and freight companies fought independently,forming many data islands;small companies did not have scientific management and requirements,resulting in poor service quality and service attitude;lack of effective and credible supervision,resulting in disputes Sometimes customers often do not have an advantage.In order to solve the above problems,this paper proposes to use the Hyperledger Fabric platform to design and develop a blockchain logistics information platform,and use the excellent non-tamperable,decentralized,and open autonomy of the blockchain to make up for the shortcomings in the current logistics and freight field place.At the same time,the consensus algorithm is one of the most important technologies in the blockchain technology.The existing popular consensus algorithms perform differently in different environments.In order to make the developed platform better adapt to the current stage In order to meet the development and business needs of the logistics information platform,a brand-new blockchain consensus algorithm that can adapt to the logistics and freight industry has been designed.The newly designed algorithm is based on the Raft algorithm and the Pbft algorithm.By grouping the nodes before starting to run,the Raft algorithm is used in the group for consensus.At the same time,in order to ensure that the system has fault tolerance,the leader node of each group represents the group The Pbft algorithm is used for consensus between groups.At the same time,some changes are made to the selection method of the master node of the Pbft algorithm.The selection method of the node is still selected in a round-robin manner,but when sorting,the sorting basis is changed from the node serial number to the group serial number.The above method is used to solve the problem that the consensus algorithm cannot be well adapted to the specific system background and system goals.The blockchain logistics information platform uses Fabric as the basic platform to analyze the role,process and feasibility of the blockchain logistics information platform;after confirming that the system is feasible,carry out structural design and chain data design for the system,The information platform uses the consensus algorithm designed in this paper for consensus,and the system designs a simple interface to reduce the learning cost of users.Through the above series of experiments and research,the finally designed and implemented blockchain logistics information platform can ensure the correct flow of business.When there are many nodes,the performance of the system is much better than that without using the modified consensus algorithm.Compared with the built-in consensus algorithm of Fabric,there is also a huge improvement,and the overall performance and performance indicators of the system meet the expected goals. |