史恒, 雷莹慧, 何正方, 资娇艳, 陈雪连, 郑乔坤











摘 要: 区块链有着广泛的应用,农业物联网使用的范畴主要在生产过程中的防伪领域。本文利用区块链的非篡改性和可追溯性的特点,构建农产品防伪可追溯体系。传输过程中采用SHA-256算法对信息加密形成信息摘要,使得系统内部的数据具有了抗攻击性和保密性的特点,并结合二维码技术实现可视化,完善生产厂商与消费者之间的信任机制。
关键词: 区块链; 物联网; 防伪溯源; SHA-256加密算法
中图分类号:TP309.2 文献标识码:A 文章编号:1006-8228(2022)06-32-05
Application of blockchain technology in anti-counterfeiting traceability
of agricultural Internet of Things
Shi Heng, Lei Yinghui, He Zhengfang, Zi Jiaoyan, Chen Xuelian, Zheng Qiaokun
(School of Intelligent Science and Engineering, Yunnan Institute of Business and Technology, Kumming, Yunnan 651701, China)
Abstract: Blockchain has a wide range of applications, and the agricultural Internet of Things is mainly used in the field of anti-counterfeiting in the production process. Taking advantage of the non-tampering and traceability features of blockchain, an agricultural product anti-counterfeiting traceability system is constructed. In the transmission process, SHA-256 algorithm is used to encrypt the information to form an information summary, which makes the system data have the characteristics of anti-attack and confidentiality. Combined with the two-dimensional code technology, visualization is realized to improve the trust mechanism between manufacturers and consumers.
Key words: blockchain; Internet of Things; anti-counterfeiting traceability; SHA-256 encryption algorithm
0 引言
2018年年底,国家修订了《食品安全法》,对食品安全监督、食品安全全程追溯、食品网络交易规范及食品标签标注等作出具体规定。传统农业也需要依托大数据技术,逐渐向现代化农业转型[1,2]。
Souza-Monteiro等将食品安全与可追溯性联系起来,实现从农场大门到消费者餐桌,再反向溯源的过程[3]。为了实现农产品质量可监控、全链条可追溯、提高供应链的管理效率的研究与应用正走向成熟。例如通过结合区块链技术,建立一个去中心化的农产品溯源体系,提高农产品的可追溯性、加强农业供应链的安全性和透明程度[4]。通过利用区块链的不可篡改性和可追溯性,构建农产品防伪溯源系统,实现了农产品的生产过程数据可视化、防伪溯源,完善生产厂商与消费者之间的信任机制,拾起消费者对食品安全机制的信任。
农产品收获后,农户需要对其进行出售,如果加工厂收购了农产品,对其加工,加工后的农产品被分配到各个零售店售卖,这时消费者利用手机扫描二维码就可以获得该商品的相关生产信息及产品哈希值,通过核对产品哈希值可以检验该商品是正品还是假冒伪劣产品。……