Font Size: a A A

Design And Development Of LIMS System For Agricultural Products Detection Based On Blockchain

Posted on:2023-08-05Degree:MasterType:Thesis
Country:ChinaCandidate:K LiuFull Text:PDF
GTID:2569306800460164Subject:Computer technology
Abstract/Summary:
Ensuring the quality and safety of agricultural products has become one of the most basic welfare of people’s livelihood,and the quality detection of agricultural products is one of the key steps.However,the current LIMS(Laboratory Information Management System)system for agricultural products detecting cannot guarantee the security and traceability of detecting data and cannot meet the public demand for agricultural products quality and safety detecting.The blockchain technology has the characteristics of non-tampering,traceability and decentralization,which can fully solve the above problems.Therefore,this thesis introduces blockchain technology in the agricultural product detecting LIMS to successfully guarantee the security and traceability of the testing data,while the introduction of the ring signature algorithm in the smart contract module successfully guarantees the authenticity and tamper-proof of the stored data.The main works done in this thesis are as follows.(1)Analyze the existing blockchain technology and determine the technical solution.Agricultural products detecting is an important part of agricultural products traceability and is commonly used in multi-agency cooperation,so this thesis analyzes blockchain technology in detail for this requirement and finally selects the Hyperledger Fabric framework in the alliance chain for system development.In response to the problem that the inspection report file is too large for the agricultural products detection LIMS system leading to the waste of resources and inefficiency caused by storing on the blockchain,IPFS(Inter Planetary File System)is introduced on the basis of blockchain technology,using IPFS to store files and blockchain to store file indexes,which improves the efficiency and performance of file storage.(2)Requirement analysis and overall design of the system using the software engineering approach.In the functional design using the analysis of use case diagrams,three service modules are divided into system management,agricultural products detection,and limited library.In order to ensure the security of data and the efficiency of query,a double-layer storage design of blockchain plus database is introduced.The distributed system architecture is introduced in the system architecture design,which solves the problems of poor scalability,reliability and complexity of the original singleunit architecture for agricultural products detecting LIMS and improves the stability and performance of the system.(3)The blockchain technology-based agricultural products detecting LIMS was implemented and tested.Based on the federated chain Hyperledger Fabric and rpcx distributed RPC(Remote Procedure Call)service framework,the key functional modules of LIMS are implemented,including system management module,agricultural products detection module combined with blockchain,and limited library module.This thesis focuses on the agricultural products detection module,supplemented by flowchart,timing diagram and UML Class Diagram.Based on the requirement analysis,a test plan is developed for the main functional modules,blockchain module and distributed architecture of the system,and functional and performance tests are conducted on the system,and the test results show that the system achieves the expected results and successfully realizes the safe storage of detection data.
Keywords/Search Tags:Blockchain, Hyperledger Fabric, Agricultural Quality Inspection, LIMS, Distributed System
Related items