高级检索+

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

弋伟国, 何建国, 刘贵珊, 康宁波

弋伟国, 何建国, 刘贵珊, 康宁波. 区块链增强果蔬质量追溯可信度方法研究与系统实现[J]. 农业机械学报, 2022, 53(2): 309-315,345.
引用本文: 弋伟国, 何建国, 刘贵珊, 康宁波. 区块链增强果蔬质量追溯可信度方法研究与系统实现[J]. 农业机械学报, 2022, 53(2): 309-315,345.
YI Wei-guo, HE Jian-guo, LIU Gui-shan, KANG Ning-bo. 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.
Citation: YI Wei-guo, HE Jian-guo, LIU Gui-shan, KANG Ning-bo. 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.

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

基金项目: 

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

详细信息
    作者简介:

    弋伟国(1991—),男,助教,主要从事农业信息化研究,E-mail:ywg@nxu.edu.cn

    通讯作者:

    刘贵珊(1979—),男,副教授,博士,主要从事食品科学与工程研究,E-mail:liugs@nxu.edu.cn

  • 中图分类号: TP311.13

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

  • 摘要: 质量追溯相关数据通过物联网感知设备采集后添加到区块链,在数据存储环节可以解决数据易被篡改问题从而增强数据可信度。数据直接存储在区块链中会造成系统吞吐量小、响应时间长,利用“数据库+区块链”的双存储设计虽然能大大提高响应速度,但是针对果蔬质量追溯系统,其响应速度依然不能满足要求。基于哈希加密算法的不可逆性、区块链数据结构天然的不可篡改性和Hyperledger Fabric平台完善的成员管理机制在数据存储环节增强了数据可信度,针对果蔬质量追溯的特点设计了数据哈希值二次上链和验证的方法,改进了“数据库+区块链”的双存储设计,改进后的方法在数据查询方面时间复杂度由原来的线性阶降低为常数阶。通过试验发现,所设计的系统能够实现数据无法篡改进而提高数据可信度,改进后的方法在数据查询方面效率大幅提升,平均查询用时为0.066 s,且随着数据条数增加查询用时基本保持不变,解决了区块链技术应用在果蔬质量追溯系统中查询效率低的问题。基于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.066 s. 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.
  • [1] 刘晓云,王晓春.“物联网+区块链”的农产品质量溯源体系研究[J].常州工学院学报,2018,31(5):60-65.LIU Xiaoyun,WANG Xiaochun.Research on the traceability system of agricultural product quality based on “Internet of Things+ Block Chain”[J].Journal of Changzhou Institute of Technology,2018,31(5):60-65.(in Chinese)
    [2] 郑立华,冀荣华,王敏娟,等.农产品追溯统一编码方案设计与应用[J].农业机械学报,2019,50(增刊):385-392.ZHEN Lihua,JI Ronghua,WANG Minjuan,et al.Design and application of traceable unified coding scheme for agricultural products[J].Transactions of the Chinese Society for Agricultural Machinery,2019,50(Supp.):385-392.(in Chinese)
    [3] 付东波,陈峰,杨胜明,等.区块链农产品质量追溯系统的实现与应用[J].农场经济管理,2021(7):19-24.FU Dongbo,CHEN Feng,YANG Shengming,et al.Implementation and application of blockchain agricultural product quality traceability system[J].Farm Economic Management,2021(7):19-24.(in Chinese)
    [4] 杨信廷,王明亭,徐大明,等.基于区块链的农产品追溯系统信息存储模型与查询方法[J].农业工程学报,2019,35(22):323-330.YANG Xinting,WANG Mingting,XU Daming,et al.Data storage and query method of agricultural products traceability information based on blockchain[J].Transactions of the CSAE,2019,35(22):323-330.(in Chinese)
    [5]

    TRUONG N,LEE G M,SUN K,et al.A blockchain-based trust system for decentralised applications:when trustless needs trust[J].Future Generation Computer Systems,2021,124:68-79

    [6] 张海涛,王锋,张健,等.基于可追溯系统的水产品供应链结构优化机制及管理模式[J].中国渔业经济,2008,26(6):48-53.ZHANG Haitao,WANG Feng,ZHANG Jian,et al.Application of traceable system in seafood supply chain[J].Chinese Fisheries Economics,2008,26(6):48-53.(in Chinese)
    [7]

    CARO M P,ALI M S,VECCHIO M,et al.Blockchain-based traceability in agri-food supply chain management:a practical implementation[C]//2018 IoT Vertical and Topical Summit on Agriculture-Tuscany (IoT Tuscany).IEEE,2018:1-4.

    [8] 代纪磊.基于区块链与物联网耦合的DLS公司生鲜猪肉质量追溯体系研究[D].济南:山东大学,2019.DAI Jilei.Research on fresh pork quality traceability system of DLS company based on blockchain and internet of things coupling[D].Ji'nan:Shandong University,2019.(in Chinese)
    [9] 王可可,陈志德,徐健.基于联盟区块链的农产品质量安全高效追溯体系[J].计算机应用,2019,39(8):2438-2443.WANG Keke,CHEN Zhide,XU Jian.Efficient traceability system for quality and safety of agricultural products based on consortium blockchain[J].Journal of Computer Applications,2019,39(8):2438-2443.(in Chinese)
    [10] 施明毅,刘崇玉,温川飙,等.基于区块链与NB-IOT物联网的中药材流通质量追溯系统的设计与研发[J].中国中药杂志,2020,45(17):4267-4272.SHI Mingyi,LIU Chongyu,WEN Chuanbiao,et al.Design and development of quality traceability system for circulation of Chinese herbal medicine based on blockchain and NB-IOT[J].China Journal of Chinese Materia Medica,2020,45(17):4267-4272.(in Chinese)
    [11]

    NYALETEY E,PARIZI R M,ZHANG Q,et al.BlockIPFS-blockchain-enabled interplanetary file system for forensic and trusted data traceability[C]//2019 IEEE International Conference on Blockchain (Blockchain).IEEE,2019:18-25.

    [12]

    MAOUCHI M E,ERSOY O,ERKIN Z.DECOUPLES:a decentralized,unlinkable and privacy-preserving traceability system for the supply chain[C]//Proceedings of the 34th ACM/SIGAPP Symposium on Applied Computing,2019:364-373.

    [13]

    HUANG J,KONG L,CHEN G,et al.B-IoT:blockchain driven internet of things with credit-based consensus mechanism[C]//2019 IEEE 39th International Conference on Distributed Computing Systems (ICDCS).IEEE,2019:1348-1357.

    [14]

    SALAH K,NIZAMUDDIN N,JAYARAMAN R,et al.Blockchain-based soybean traceability in agricultural supply chain[J].IEEE Access,2019,7:73295-73305.

    [15]

    YU B,ZHAN P,LEI M,et al.Food quality monitoring system based on smart contracts and evaluation models[J].IEEE Access,2020,8:12479-12490.

    [16]

    SRIVASTAVA A,DASHORA K.A fuzzy ISM approach for modeling electronic traceability in agri-food supply chain in India[J/OL].Annals of Operations Research, https://doi.org/10.1007/s10479-021-04072-6.

    [17]

    KAMILARIS A,FONTS A,PRENAFETA-BOLDU F X.The rise of blockchain technology in agriculture and food supply chains[J].Trends in Food Science & Technology,2019,91(1):640-652.

    [18] 孙传恒,于华竟,徐大明,等.农产品供应链区块链追溯技术研究进展与展望[J].农业机械学报,2021,52(1):1-13.SUN Chuanheng,YU Huajing,XU Daming,et al.Review and prospect of agri-products supply chain traceability based on blockchain technology[J].Transactions of the Chinese Society for Agricultural Machinery,2021,52(1):1-13.(in Chinese)
    [19]

    UR REHMAN A,XIAO D,KULSOOM A,et al.Block mode image encryption technique using two-fold operations based on chaos,MD5 and DNA rules[J].Multimedia Tools and Applications,2019,78(7):9355-9382.

    [20]

    WANG X,FENG D,LAI X,et al.Collisions for Hash functions MD4,MD5,HAVAL-128 and RIPEMD[J].Cryptology Eprint Archive Report,2004,2004:199.

    [21] 史锦山,李茹.物联网下的区块链访问控制综述[J].软件学报,2019,30(6):1632-1648.SHI Jinshan,LI Ru.Survey of blockchain access control in internet of things[J].Journal of Software,2019,30(6):1632-1648.(in Chinese)
    [22] 李燕,马海英,王占君.区块链关键技术的研究进展[J].计算机工程与应用,2019,55(20):13-23.LI Yan,MA Haiying,WANG Zhanjun.Research progress on key technologies of blockchain[J].Computer Engineering and Applications,2019,55(20):13-23.(in Chinese)
    [23] 邵奇峰,金澈清,张召,等.区块链技术:架构及进展[J].计算机学报,2018,41(5):969-988.SHAO Qifeng,JIN Cheqing,ZHANG Zhao,et al.Blockchain:architecture and research progress[J].Chinese Journal of Computers,2018,41(5):969-988.(in Chinese)
    [24] 孙俊.基于区块链的农产品追溯系统研究[D].长沙:中南林业科技大学,2019.SUN Jun.Research on retrospective system of agricultural products based on blockchain[D].Changsha:Central South University of Forestry and Technology,2019.(in Chinese)
    [25] 葛艳,黄朝良,陈明,等.基于区块链的HACCP质量溯源模型与系统实现[J].农业机械学报,2021,52(6):369-375.GE Yan,HUANG Chaoliang,CHEN Ming,et al.HACCP quality traceability model and system implementation based on blockchain[J].Transactions of the Chinese Society for Agricultural Machinery,2021,52(6):369-375.(in Chinese)
    [26] 于合龙,陈邦越,徐大明,等.基于区块链的水稻供应链溯源信息保护模型研究[J].农业机械学报,2020,51(8):328-335.YU Helong,CHEN Bangyue,XU Daming,et al.Modeling of rice supply chain traceability information protection based on block chain[J].Transactions of the Chinese Society for Agricultural Machinery,2020,51(8):328-335.(in Chinese)
计量
  • 文章访问数:  0
  • HTML全文浏览量:  0
  • PDF下载量:  0
  • 被引次数: 0
出版历程
  • 收稿日期:  2021-10-16
  • 刊出日期:  2022-02-24

目录

    /

    返回文章
    返回