Font Size: a A A

Design And Implementation Of Integrated Information Management System For Smart Granary Based On Blockchain

Posted on:2022-07-08Degree:MasterType:Thesis
Country:ChinaCandidate:W H LinFull Text:PDF
GTID:2493306542962249Subject:Electronics and Communications Engineering
Abstract/Summary:PDF Full Text Request
Food security is a livelihood issue that the society is concerned about,and the intelligent control and precise management of the granary is one of the important strategies to ensure food security.The traditional granary information management system generally uses a centralized management method to store information in a database managed by a third-party organization.In this mode,data is controlled by a single cloud server provider,and there are problems such as opaque data detection,lack of trust,information asymmetry,and low efficiency.In terms of system fault tolerance,the Raft algorithm,which is the mainstream consensus algorithm of the alliance chain,has the problem that it can only accommodate faulty nodes and cannot accommodate malicious nodes.The main research work of this paper is as follows:(1)Aiming at the problems of lack of trust and concentration of rights caused by the centralized structure of the traditional granary information management system,the system comprehensively uses blockchain,IPFS(Inter Planetary File System)and database technology to propose a smart granary integrated information management Program.Through the demand analysis of system management,warehousing inspection,transaction management and asset management modules,the overall architecture,front-end and back-end architecture and smart contract data structure of the system are designed.(2)Combining IPFS to jointly maintain the decentralized storage and query of image data,alleviating the problem of blockchain data explosion.Based on the Truffle framework,smart contracts were written,compiled and deployed to the Ethereum Ganache test chain,and the development and implementation of the functional modules and interactive interfaces of the blockchain application layer in the system were completed.Through real-time uploading of key business data such as granary environment monitoring,transaction status,and in-out information,the integrity and credibility of the data are guaranteed.The test results show that the intelligent granary integrated information management system based on the blockchain designed and implemented in this paper has the characteristics of decentralization,meets the user’s functional and performance requirements,and realizes the intelligent warehousing of the intelligent granary and the traceability of the whole life process of the transaction.(3)Aiming at the problem that the Raft consensus algorithm as a consensus mechanism cannot tolerate Byzantine nodes in the alliance blockchain,a Byzantine fault-tolerant Raft algorithm(BFT-Raft)is proposed.Through the adoption of asymmetric encryption technology verification during the Leader election and log replication process,the addition of additional RPC interaction formats and client intervention strategies,BFT-Raft has the fault tolerance in the Byzantine environment at the cost of a small amount of performance loss.Compared with the traditional Raft algorithm,BFT-Raft still has the same security.Compared with the PBFT algorithm,BFT-Raft has the advantage of low complexity.In summary,a new type of "blockchain + Internet of Things" intelligent granary integrated information management system proposed in this paper has the advantages of decentralization,non-tampering,openness and transparency,and traceability of transactions compared with traditional granary management systems.Improve the security and reliability of information management.The improved Raft consensus algorithm ensures the immutability and strong consistency of logs,and provides more choices for future researchers to build alliance chains.
Keywords/Search Tags:Blockchain, Smart Granary, Smart Contract, IPFS, BFT-Raft Algorithm
PDF Full Text Request
Related items