农业大数据学报 ›› 2021, Vol. 3 ›› Issue (4): 40-50.doi: 10.19788/j.issn.2096-6369.210405

• 应用研究 • 上一篇    下一篇

基于边缘智能的茶叶可信品控系统设计与实现

束雅莉1,2(), 饶元1,2(), 许磊1,2   

  1. 1.安徽农业大学 信息与计算机学院,合肥 230036
    2.智慧农业技术与装备安徽省重点实验室,合肥 230036
  • 收稿日期:2021-08-11 出版日期:2021-12-26 发布日期:2022-01-28
  • 通讯作者: 饶元 E-mail:syl514@stu.ahau.edu.cn;raoyuan@ahau.edu.cn
  • 作者简介:束雅莉,女,硕士,研究方向:农业物联网、区块链研究;E-mail:syl514@stu.ahau.edu.cn
  • 基金资助:
    安徽省自然科学基金(2008085MF203);安徽省重点研究和开发计划面上攻关项目(201904a06020056)

Design and Implementation of a Trusted Tea Quality Control System Based on Edge Intelligence

Yali Shu1,2(), Yuan Rao1,2(), Lei Xu1,2   

  1. 1.College of Information and Computer Science, Anhui Agricultural University, Hefei 230036, China
    2.Anhui Provincial Key Laboratory of Smart Agricultural Technology and Equipment, Hefei 230036, China
  • Received:2021-08-11 Online:2021-12-26 Published:2022-01-28
  • Contact: Yuan Rao E-mail:syl514@stu.ahau.edu.cn;raoyuan@ahau.edu.cn

摘要:

茶叶生产加工过程中具有危害物种类多、信息利用率低、数据多源异构等特点,而传统的茶叶质量监管追溯系统存在着茶叶品控数据易被篡改伪造、数据来源可信性难以保证、企业隐私无法保障等问题。为增强茶叶品控管理,提升茶叶品控信息可信度,基于区块链和边缘智能技术,设计了基于边缘智能的茶叶可信品控系统架构。此系统包括数据感知层、边缘层、存储层和应用层,首先使用智能装备和物联网技术进行机械化作业和自动化获取茶叶品控数据,接着利用边缘计算设备的网络、计算、存储资源,在靠近数据源的边缘端部署多种人工智能算法检测数据的真实性。以Hyperledger Fabric开源框架作为区块链平台构建可信存储服务,以MySQL作为链下数据库,对关键数据进行分级加密后存入区块链网络和链下数据库中,通过信息摘要上链存储的方式保证链下数据的不可篡改性,实现链上链下双模可信存储方式。最后,研发基于边缘智能的茶叶可信品控系统,采用Web端与移动端相结合的方式,为企业、监管部门、消费者提供信息智能化获取、全流程管理和可信溯源等服务。本系统可为监管部门提供茶叶品控信息实时验证服务,便于其开展监管工作。此外,同时兼顾了企业保护隐私数据的需要和消费者对于公开可信茶叶溯源数据的需求,保证了消费者的知情权,增加其对产品质量的信任度。

关键词: 区块链, 边缘智能, 可信品控, 茶叶

Abstract:

The process of tea production and processing is characterized by multiple types of hazardous substances, low information utilization, and multi-source data heterogeneity. However, the traditional tea quality supervision and traceability system has several problems. For instance, tea quality control data are easily tampered with or forged; the credibility of data sources is difficult to guarantee; and the privacy of enterprises cannot be guaranteed. To enhance the management of tea quality control and improve the credibility of tea quality control information, a trusted tea quality control system architecture based on edge intelligence was designed based on blockchain and edge intelligence technologies. The system includes a data perception layer, an edge layer, a storage layer, and an application layer. It utilizes intelligent equipment and IoT technology to perform mechanized operations and automatically obtain tea quality control data. It then takes advantage of the network, computing, and storage resources of edge computing devices. A variety of artificial intelligence algorithms are deployed at the edge of the data source to detect the authenticity of the data. The Hyperledger Fabric open source framework is used as the blockchain platform to build a trusted storage service, and MySQL is used as the off-chain database. The key data are hierarchically encrypted and stored in the blockchain network and off-chain database, and the information is summarized on the chain for storage to ensure that the off-chain data cannot be tampered with and to realize the dual on-chain and off-chain trusted storage modes. Finally, a trusted tea quality control system based on edge intelligence was developed, and a combination of Internet and mobile terminals is used to provide enterprises, regulatory authorities, and consumers with services such as intelligent information acquisition, whole-process management, and trusted traceability. This proposed system can provide a real-time tea quality control information verification service for supervision departments, which helps them to carry out their work. In addition, it strikes a balance between the needs of enterprises to protect private data and the needs of consumers for open and trusted tea traceability data, which protects consumers' right to know and increases their trust in product quality.

Key words: blockchain, edge intelligence, trusted quality control, tea

中图分类号: 

  • TP311