首页 | 本学科首页   官方微博 | 高级检索  
     

基于联盟区块链的农产品质量安全高效追溯体系
引用本文:王可可,陈志德,徐健. 基于联盟区块链的农产品质量安全高效追溯体系[J]. 计算机应用, 2019, 39(8): 2438-2443. DOI: 10.11772/j.issn.1001-9081.2019020235
作者姓名:王可可  陈志德  徐健
作者单位:1. 福建师范大学 数学与信息学院, 福州 350007;2. 福建省网络安全与密码技术重点实验室(福建师范大学), 福州 350007;3. 电子信息与控制福建省高校工程研究中心(闽江学院), 福州 350007
基金项目:国家自然科学基金资助项目(61841701)。
摘    要:针对农产品追溯系统中的安全和效率问题,依据区块链的去中心化安全特性,提出一种基于联盟区块链的高效解决办法。首先,通过星际文件系统(IPFS)对农产品数据进行hash转变,从而减小区块中单条事务数据量,并利用IPFS数据的不可逆原理,达到数据的初步保障;其次,建立联盟区块链模型进行数据验证,区块链数据验证的共识算法采用实用拜占庭容错(PBFT)算法来减少全网共识时间;最后,根据仿真实验中参与节点数、区块大小和网络带宽,来拟合验证交易的时间曲线,进而计算出不同带宽下的区块链交易效率,并结合数以万计的传感器参与下的农产品追溯系统的实际情况,对比区块链双链结构,给出分析结果。实验结果表明,在低于1000个验证节点的条件下,区块链最大共识时长为32min,联盟链系统可支持35~40万条传感器数据,可适用于大范围、多数据的农产品追溯。

关 键 词:联盟区块链  农产品追溯  星际文件系统  实用拜占庭容错算法  交易效率
收稿时间:2019-02-13
修稿时间:2019-04-02

Efficient traceability system for quality and safety of agricultural products based on consortium blockchain
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. DOI: 10.11772/j.issn.1001-9081.2019020235
Authors:WANG Keke  CHEN Zhide  XU Jian
Affiliation:1. College of Mathematics and Informatics, Fujian Normal University, Fuzhou Fujian 350007, China;2. Fujian Provincial Key Laboratory of Network Security and Cryptology(Fujian Normal University), Fuzhou Fujian 350007, China;3. Engineering Research Center of Fujian University for Electronic Information and Control(Minjiang University), Fuzhou Fujian 350007, China
Abstract:Concerning of the security and efficiency problems of the agricultural product traceability system, based on the decentralization security feature of blockchain, an efficient solution based on consortium blockchain was proposed. Firstly, through Inter-Planetary File System (IPFS), the agricultural product data was hashed, so as to reduce the data size of single transactions in the block, and the initial guarantee of data was achieved by using the irreversible principle of IPFS data. Secondly, the consortium blockchain model for data verification was established, and Practical Byzantine Fault Tolerant (PBFT) algorithm was used as consensus algorithm for blockchain data verification to reduce the consensus time of the whole network. Finally, according to the number of participating nodes, block size and network bandwidth in the simulation experiment, the time curve of the verification transaction was fitted, and then the blockchain transaction efficiency under different bandwidths was calculated; by using tens of thousands of actual situations of the agricultural product traceability system with the participation of sensors, the blockchain double-chain structure was compared to obtain the analysis results. Experimental results show that under the condition of less than 1000 verification nodes, the maximum consensus time of blockchain is 32 min, and the consortium blockchain system can support 350000-400000 sensor data, which can be applied to large-scale and multi-data agricultural product traceability.
Keywords:consortium blockchain  agricultural product traceability  Inter-Planetary File System (IPFS)  Practical Byzantine Fault Tolerance (PBFT) algorithm  transaction efficiency  
本文献已被 维普 等数据库收录!
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号