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

基于区块链的农产品可信检测数据存储方法
引用本文:唐豪,易文龙,赵应丁,殷华,徐亦璐. 基于区块链的农产品可信检测数据存储方法[J]. 科学技术与工程, 2022, 22(24): 10631-10637
作者姓名:唐豪  易文龙  赵应丁  殷华  徐亦璐
作者单位:江西农业大学 计算机与信息工程学院 江西 南昌 330045,江西省高等学校农业信息技术重点实验室江西农业大学 南昌 330044,江西省高等学校农业信息技术重点实验室江西农业大学 南昌 330044,江西省高等学校农业信息技术重点实验室江西农业大学 南昌 330044,江西省高等学校农业信息技术重点实验室江西农业大学 南昌 330044
基金项目:国家重点研发计划(2020YFD1100603; 2020YFD1100605), 国家自然科学基金(61762048)
摘    要:针对现阶段农产品质量检测数据的可信存取,以及数据的高吞吐量、低事务处理延时问题。提出了一种基于区块链的农产品可信检测数据链上链下分类存储方法。首先根据区块链的去中心化、不可篡改、带时间戳特性,将敏感的小文件检测数据存储在区块链,为其提供存储授信支持;其次将非敏感的大文件数据存储至链下数据库,从而缓解将整个检测记录链上存储所带来数据的高吞吐量;最后利用布隆过滤器的哈希函数快速判断查询元素是否在指定数据集中,来提高链上检测数据的查询效率。为了验证所提方法的查询效率,比较了在同一区块链数据存储环境下的有或者无布隆过滤器的两套实验方案。结果表明:前者的链上数据查询速度要高于后者,因此,所提方法能够为农业产品检测数据提供一个有效、可信的存取途径。

关 键 词:区块链  农产品质量安全  可信检测  布隆过滤器  数据库存储
收稿时间:2021-12-08
修稿时间:2022-05-21

Data Storage Method of Agricultural Products Trusted Detection based on Blockchain
Tang Hao,Yi Wenlong,Zhao Yingding,Yin Hu,Xu Yilu. Data Storage Method of Agricultural Products Trusted Detection based on Blockchain[J]. Science Technology and Engineering, 2022, 22(24): 10631-10637
Authors:Tang Hao  Yi Wenlong  Zhao Yingding  Yin Hu  Xu Yilu
Affiliation:School of Computer and Information Engineering, Jiangxi Agricultural University,,,,
Abstract:Aiming at the trusted access of agricultural product quality inspection data at this stage, as well as the high throughput and low transaction delay of data. The authors propose an on-chain and off-chain classification storage method for trusted detection data of agricultural products based on blockchain. First, according to the decentralization, non-tampering, and time stamp characteristics of the blockchain, the sensitive small file detection data is stored on the blockchain to provide storage credit support; secondly, the non-sensitive large file data is stored in off-chain database to alleviate the high throughput of data brought by storing the entire detection record on the chain. Finally, the hash functions of the Bloom filter are used to quickly determine whether the query element is in the specified data set, so as to improve the query efficiency of the detection data on the chain. In order to verify the query efficiency of the method, the authors compared two sets of experimental schemes with or without the Bloom filter in the same blockchain data storage environment. The results show that the data query speed on the chain of the former is higher than that of the latter. Therefore, the method can provide an effective and credible access method for the detection data of agricultural products.
Keywords:Blockchain   agricultural product quality and safety   trusted detection   Bloon filter  database storage
点击此处可从《科学技术与工程》浏览原始摘要信息
点击此处可从《科学技术与工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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