区块链增强果蔬质量追溯可信度方法研究与系统实现
作者:
作者单位:

作者简介:

通讯作者:

中图分类号:

基金项目:

宁夏回族自治区重点研发计划重大科技项目(2018BCF01001)


Development and Implementation of Blockchain to Enhance Traceability and Reliability of Fruit and Vegetable Quality
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    质量追溯相关数据通过物联网感知设备采集后添加到区块链,在数据存储环节可以解决数据易被篡改问题从而增强数据可信度。数据直接存储在区块链中会造成系统吞吐量小、响应时间长,利用“数据库+区块链”的双存储设计虽然能大大提高响应速度,但是针对果蔬质量追溯系统,其响应速度依然不能满足要求。基于哈希加密算法的不可逆性、区块链数据结构天然的不可篡改性和Hyperledger Fabric平台完善的成员管理机制在数据存储环节增强了数据可信度,针对果蔬质量追溯的特点设计了数据哈希值二次上链和验证的方法,改进了“数据库+区块链”的双存储设计,改进后的方法在数据查询方面时间复杂度由原来的线性阶降低为常数阶。通过试验发现,所设计的系统能够实现数据无法篡改进而提高数据可信度,改进后的方法在数据查询方面效率大幅提升,平均查询用时为0.066s,且随着数据条数增加查询用时基本保持不变,解决了区块链技术应用在果蔬质量追溯系统中查询效率低的问题。基于Hyperledger Fabric平台,利用改进后的方法开发实现了果蔬质量追溯系统,并取得了较好的应用效果。

    Abstract:

    Quality-related data collecting by the Internet of things sensing device was added to the blockchain, which could solve the problem of data being easily tampered and increase the data credibility in the storage link. However, data stored directly in the blockchain can result in low system throughput and long response time. The dual storage design of “database + blockchain” can greatly improve the response speed, but its response speed still cannot meet the demand. Aiming to improve the dual-storage design of “database + blockchain” by using the method of data Hash value secondary chain and verification based on the characteristics of fruit and vegetable quality traceability. The time complexity of the improved method was reduced from linear order to constant order in terms of data query. The results showed that the efficiency of the improved method was greatly enhanced. The average query time was 0.066s. And the query time could remain constant as the increase of data items, which solved the problem of low query efficiency for the application of blockchain technology in the fruit and vegetable quality traceability system. According to Hyperledger Fabric platform, the improved method was used to realize the development of fruit and vegetable quality traceability system, which achieved good demonstration effect when it was applied to fruit and vegetable enterprises.

    参考文献
    相似文献
    引证文献
引用本文

弋伟国,何建国,刘贵珊,康宁波.区块链增强果蔬质量追溯可信度方法研究与系统实现[J].农业机械学报,2022,53(2):309-315,345. YI Weiguo, HE Jianguo, LIU Guishan, KANG Ningbo. Development and Implementation of Blockchain to Enhance Traceability and Reliability of Fruit and Vegetable Quality[J]. Transactions of the Chinese Society for Agricultural Machinery,2022,53(2):309-315,345.

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2021-10-17
  • 最后修改日期:
  • 录用日期:
  • 在线发布日期: 2021-11-22
  • 出版日期: