Journal of Agricultural Science and Technology ›› 2019, Vol. 21 ›› Issue (12): 58-67.DOI: 10.13304/j.nykjdb.2018.0547

Previous Articles     Next Articles

Design and Implementation of Trusted Traceability System for Agricultural Products Origin Based on NB-IoT

MA Teng1,2, SUN Chuanheng2, LI Wenyong2, CHEN Ming1, YANG Xinting1,2*   

  1. 1.College of Information Science, Shanghai Ocean University, Shanghai 201306, China;2. National Engineering Research Center for Information Technology in Agriculture, Beijing 100097, China
  • Received:2018-09-10 Online:2019-12-15 Published:2019-07-02

基于NB-IoT的农产品原产地可信溯源系统设计与实现

马腾1,2,孙传恒2,李文勇2,陈明1,杨信廷1,2*   

  1. 1.上海海洋大学信息学院, 上海 201306;2.国家农业信息化工程技术研究中心, 北京 100097
  • 通讯作者: *通信作者 杨信廷 E-mail: yangxt@nercita.org.cn
  • 作者简介:马腾 E-mail:tengma1990@163.com;
  • 基金资助:
    北京自然科学基金项目(4182023);山东省重点研发计划项目(2017CXGC0216)。

Abstract: With the increased awareness of enterprise brands in China, anti-counterfeit systems for identifying the origin of agricultural products has great significance for safeguarding consumer rights and enhancing the competitiveness of enterprises. In order to ensure food safety and safeguard the interests of producers and consumers of agricultural products, this paper designed an anti-counterfeit system for identifying the origin of agricultural products. The system consisted of traceable electronic scales, cloud detection programs and inspection websites.  The electronic scale collected product information and positioning information, printed the product label for consumers to inquire, then transmited the data to the cloud server through the NB-IoT network. The cloud detection system judged the authenticity of the commodity origin by comparing the uploaded data with the data in the database. Then consumers could log in the website to acquire the detection result by scanning the QR code on the label. To enhance the security of data transmission, improved RSA encryption algorithm was used to encryptthe data uploaded by the traceability scale, then the algorithm reduced the calculation amount of encryption operation and hardware encryption time under the premise of ensuring security. Various tests showed that all parts of the system worked normally and the detection success rate was greater than 99%. When the signal strength was greater than -100 dBm, the communication success rate was 99%, and the GPS average positioning error was 5.25 m, which satisfied the design requirements. The improved RSA encryption algorithm is used to encrypt the data uploaded by the traceable electronic scale.

Key words: origin of agricultural products, anti-counterfeit, GPS, NB-IoT, RSA

摘要: 随着人们对农产品企业品牌认知程度的提高,鉴别农产品产地的防伪系统对于维护消费者权益和提高企业竞争力具有重要意义。为保障食品安全,维护农产品生产者利益和消费者权益,设计了一种农产品原产地可信溯源系统,系统主要由溯源电子秤、云检测程序和检测网站三部分组成。溯源电子秤采集商品信息及定位信息,并打印商品标签以供消费者查询,随后将数据通过NB-IoT网络上传至云检测程序;云检测程序通过比对上传的数据与数据库中的数据来判断商品产地真伪;消费者通过扫描标签上的二维码登录检测网站获取检测结果。为加强数据传输的安全性,使用改进RSA加密算法对溯源电子秤上传的数据进行加密,在保证安全性的前提下,减少了计算量及硬件加密时间。各项测试结果表明:系统各部分工作正常且检测成功率大于99%,在信号强度大于-100 dBm时,通信成功率99%, GPS平均定位误差5.25 m,满足实际应用需求。

关键词: 农产品溯源, 防伪, GPS定位, 窄带物联网, RSA算法