Font Size: a A A

Research And Implementation Of Fruit And Vegetables Quality Traceability System Based On Blockchain Technology

Posted on:2021-03-18Degree:MasterType:Thesis
Country:ChinaCandidate:Q DongFull Text:PDF
GTID:2381330605969232Subject:Engineering
Abstract/Summary:PDF Full Text Request
As an effective means of controlling and managing food safety,fruit and vegetables quality tracing is currently being continuously applied to all aspects of the entire process from production to sales of fruits and vegetables.The data of the traditional fruit and vegetables quality traceability system adopts a centralized storage method.The data is stored in centralized databases such as Oracle and MySql.Although it will bring advantages such as efficient storage and fast data retrieval and query,the problem of information tampering has always been difficult to solve Problems,some companies do not hesitate to tamper with and falsify data for their own benefit,in order to improve the profits of the enterprise.As a newly emerging computer technology,blockchain technology can be used to solve the problem of information tampering in the traditional fruit and vegetable quality traceability system by virtue of its own data that cannot be tampered with and decentralized.This article starts from the traditional fruit and vegetable quality traceability system,studies its existing problems and shortcomings,and then combines the blockchain technology with the quality traceability system to complete the implementation of the blockchain technology in the fruit and vegetable quality traceability system.The main research contents are as follows:(1)Scheme design of fruit and vegetable quality traceability system based on blockchain technology.Analyze the functional requirements and non-functional requirements of the system,introduce the realization goals of the system based on the requirements analysis,and choose Ethereum as the system development platform The overall architecture design of the system uses the classic MVC design pattern,which is composed of the presentation layer,business layer and data layer.Select Solidity as the smart contract programming language and call the contract function in combination with Web3.js to complete the core design of the system;design four transaction modules:production object module,logistics object module,storage object module,and sales object module;The system is crucial,combining the enterprise code with the current time of the system,and adding a two-digit random code to ensure that the generated traceability code is unique.Through the design of the system plan,lay a good foundation and lay a solid foundation for the realization of the subsequent system.(2)Realization of fruit and vegetable quality traceability system based on blockchain technology.First build and deploy the system development environment,and then write HTML and JavaScript statement to implement the system module based on the previous system design,including registration and login modules,platform administrator subsystem modules,production enterprise subsystem modules,logistics enterprise subsystem modules,storage Enterprise subsystem module,sales enterprise subsystem module and traceability information query subsystem module.The realization of the system module conforms to the design of the system scheme and meets the requirements of the system realization.(3)Testing of fruit and vegetable quality traceability system based on blockchain technology.Test the system,including module function test and overall function test.Through the test of the functions of the system,it shows that the system meets the expected effect.The research in this paper shows that the fruit and vegetable quality traceability system built on the blockchain's Ethereum platform can reduce the degree of centralization of the traceability system,solve the problem of information tampering,and achieve reliable and safe traceability of the entire process of the fruit and vegetable supply chain.Tracing the problems in the system provides a targeted solution.
Keywords/Search Tags:Fruits and vegetables, Quality traceability, Information tampering, Blockchain
PDF Full Text Request
Related items