首页|基于区块链技术的冷鲜牛肉溯源系统设计与实现

基于区块链技术的冷鲜牛肉溯源系统设计与实现

扫码查看
牛肉冷链溯源存在检查难、信息中心化、追溯时间长、肉质信息不透明和核实方式不统一等难题,利用区块链账本去中心化、不可篡改和数据透明等优势可以解决以上问题.通过物联网设备采集冷链数据,并使用区块链CA实现设备认证,以保证源数据可靠.基于Hyperledger Fabric构建含监管节点的联盟链网络,使用智能合约完成数据核验和链码监管.同时,通过采用多种存储技术,有效提升区块链网络的读写效率.以冷鲜牛肉冷链为例,在满足资源利用率要求的前提下,调优区块链参数并测试.结果显示,全节点网络平均事务吞吐量为154 TPS(tx/s),平均交易最大时延为0.14 s,子链平均事务吞吐量达270 TPS,平均最大交易时延为0.084 s,可并发处理的事务吞吐量为200~500 TPS.研究表明,该溯源系统在满足溯源要求的同时,可为冷鲜牛肉智能保质储运提供技术支持.
Design and Implementation of Cold Fresh Beef Traceability System Based on Blockchain Technology
Beef cold chain traceability has difficulties such as difficult detection,centralized information,long traceability time,non-trans-parent meat information,and non-uniform verification methods.The use of blockchain ledger decentralization,non-tampering,data transpar-ency and other characteristics can solve the above problems.Cold chain data is collected through IoT devices,and blockchain CA is used to re-alize device authentication and ensure reliable source data.Based on Hyperledger Fabric,it builds a coalition chain network with supervisory nodes,and utilizes smart contracts to complete data verification and chain code supervision.At the same time,by adopting a variety of storage technologies,the read/write efficiency of the blockchain network is effectively improved.Taking the cold beef cold chain as an example,the blockchain parameters are tuned and tested under the premise of meeting the resource utilization requirements.The results show that the aver-age transaction throughput of the whole node network is 154 TPS(tx/s),and the average maximum transaction latency is 0.14 s.The average transaction throughput of the subchain reaches 270 TPS,the average maximum transaction latency is 0.084 s,and the concurrent processing transaction throughput ranges from 200 TPS to 500 TPS.While meeting the traceability requirements of the traceability system,it provides technical support for intelligent quality preservation storage and transportation of chilled beef.

blockchainHyperledger Fabrictraceabilitysmart contractcold chain

他维忠、聂志刚、张玉斌

展开 >

甘肃农业大学 信息科学技术学院

甘肃农业大学 食品科学与工程学院,甘肃 兰州 730070

区块链 Hyperledger Fabric 溯源 智能合约 冷链

2024

软件导刊
湖北省信息学会

软件导刊

影响因子:0.524
ISSN:1672-7800
年,卷(期):2024.23(12)