Font Size: a A A

Design And Implementation Of Trusted Traceability System For Agricultural Products Origin Based On NB-IoT

Posted on:2020-10-20Degree:MasterType:Thesis
Country:ChinaCandidate:T MaFull Text:PDF
GTID:2393330590483818Subject:Computer technology
Abstract/Summary:PDF Full Text Request
With the increased awareness of enterprise brands in china,anti-counterfeit systems for identifying the origin of agricultural products has great important to safeguard consumer rights and enhance the competitiveness of enterprises.In order to protect the quality and safety of agricultural products and safeguard the interests of agricultural producers and consumers,this paper designs a reliable traceability system for the origin of agricultural products.This system is mainly composed of three parts: traceable terminal,cloud detection program and traceability website.The traceable terminal collects product information and prints the product label,then uploads the data to the cloud detection program through the NB-IoT network;The cloud detection program comparing the uploaded data with the data in the database.The consumer can scan the QR code on the label to obtain the detection result.In this paper,the new narrow-band IoT communication technology is integrated into the system,and the characteristics of NB-IoT communication technology are used to reduce the difficulty of system deployment and improve the security of system data.In order to ensure the credibility and security of the data,the system uses the RSA encryption algorithm to encrypt the data uploaded by the traceable terminal.To ensure the credibility and security of the data collected by the collection terminal;Use the cloud server instead of the local server,and add detection procedures in the traditional traceability system framework to help consumers judge the quality of agricultural products,and change the previous traceability system to only collect information and present information.Single mode.In order to complete the system,the main research done in this paper is as follows:(1)Cite some recent major food safety issues that emphasize the importance of a quality and safety traceability system for agricultural products.Then analyzes the current research status of agricultural IoT communication technology,compares the problems of the previous traceability system,and designs the NB-IoT-based trusted origination system for agricultural products.Finally,the NB-IoT and RSA encryption algorithms used in this paper and the chapter arrangement of the paper are introduced.(2)System design preparation.Firstly,according to the software development process,the needs analysis is carried out for different audience pairs;then the system architecture is introduced from the data acquisition layer,communication layer,data access layer and business layer respectively,and the system business process is summarized.(3)Design of Terminal Hardware and Control Program for Trusted Traceability System of Agricultural Products Origin.A complete traceability system is inseparable from hardware and software support.The traceability terminal is deployed in the agricultural product manufacturing enterprise,responsible for obtaining the agricultural product production information,and processing and uploading the information.The hardware part includes a microcontroller,an aging sensor,a GPS locator,a communication module,a printer,and a human-computer interaction module.In order to realize the complete function of the traceability terminal,the circuit design of the peripheral circuit of each core component and the connection part between the modules is carried out,and the GPS locator and the communication module are selected.The control program includes a two-dimensional barcode generation module,a GPS positioning module,a communication module,a data processing module,an encryption module,etc.Solved the problem that the RSA encryption algorithm cannot be calculated and saved because it is too large to be run in the MCU environment and the key length is too large.(4)Cloud server programming.Built a cloud server based on Alibaba Cloud.The cloud server includes a cloud detection program,a traceability information query website,and a database.The cloud detection program is responsible for receiving the data uploaded by the terminal and comparing the original data with the data in the database to generate the detection result.The traceability information query website uses the ASP.NET architecture and invokes the Baidu map using the API interface.(5)System testes.After the communication performance test,positioning accuracy test and encryption performance test on the traceable terminal,the results show that in the case of better signal environment,the overall communication success rate and average delay are stable,both above 99.8% and below 600 milliseconds,the overall packet loss rate is 0.52% in 24 hours;the average positioning accuracy is 5.25 meters,and the error is 5 meters.The probability of the internal encryption is 46.75%;the RSA encryption algorithm in the single-chip environment,the key length is 1024,the time consumed by one encryption process is 0.1027 seconds.The field test shows that each part of the system can run stably also can normally detect un encrypted data or the non-original data.In view of the problems existing in the current traceability system,this paper proposes a traceability system based on NB-IoT communication technology and RSA encryption technology.The system consists of three parts: traceability terminal,cloud detection program and traceability information query website.According to various tests,the system performance meets the design requirements,and each function can be used normally.
Keywords/Search Tags:traceability of agricultural products, anti-counterfeit, NB-IoT, GPS, RSA
PDF Full Text Request
Related items