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

具有高价值密度的农业物联网数据区块链压缩存储方案
引用本文:景旭,石引娣.具有高价值密度的农业物联网数据区块链压缩存储方案[J].农业工程学报,2024,40(2):273-282.
作者姓名:景旭  石引娣
作者单位:1. 西北农林科技大学 信息工程学院,杨凌 712100;2. 陕西省农业信息智能感知与分析工程技术研究中心,杨凌 712100
基金项目:国家重点研发计划项目(2020YFD1100601);陕西省重点研发计划项目(2019ZDLNY07-02-01);西北农林科技大学研究生创新竞赛项目
摘    要:针对现有区块链物联网体系主要采用链上存储摘要链下保留原始数据的存储方式中链上无法直接获得真实数据的问题,提出了一种具有高价值密度的农业物联网数据区块链压缩存储方案。首先,边缘服务器将收集的同一批数据聚合到同一批事务中;其次,设计离群值可处理的自适应有损压缩方法,在满足用户保真度要求的前提下降低数据冗余;最后,压缩数据上链,实现区块链上物联网数据的高价值密度存储。与现有方案相比,该方案能提高链上存储真实物联网数据的效率。试验结果表明,在使用自适应压缩方法压缩数据时,针对不同的数据集会自适应选取k值,在满足用户重建精度的前提下,获得良好压缩效果,减少链上存储空间,提高了数据价值密度;相对于风速之类频率较高的数据,温湿度、二氧化碳等变化频率较低的数据可以获得较高的压缩比;当假设正常数据压缩比为10:1时,该方案可节省约85%的链上存储空间,相应的价值密度提高了约85%。该研究可为农产品溯源过程中的物联网数据高效存储提供解决方案,为实现分布式农业物联网数据压缩存储提供技术支持。

关 键 词:数据|压缩|区块链|农产品溯源|链上存储|物联网
收稿时间:2023/6/5 0:00:00
修稿时间:2023/11/12 0:00:00

Agricultural IOT data blockchain compressed storage solution with high value density
JING Xu,SHI Yindi.Agricultural IOT data blockchain compressed storage solution with high value density[J].Transactions of the Chinese Society of Agricultural Engineering,2024,40(2):273-282.
Authors:JING Xu  SHI Yindi
Institution:1. College of Information Engineering, Northwest A & F University, Yangling 712100, China;2. Shaanxi Engineering Research Center of Agricultural Information Intelligent Perception and Analysis, Yangling 712100, China
Abstract:The adoption of blockchain technology can guarantee the safe and reliable storage of IoT data. In the agricultural products traceability system based on blockchain + Internet of Things, the storage method used in most existing schemes is to save the original data in the off-chain database system, but the real data cannot be agreed on the blockchain. However, if all the data in the production Internet of things are stored directly on the blockchain, it will cause great storage pressure. In order to balance the reliability and storage pressure of the IoT data stored on blockchain in the agricultural industry chain, a high-value density blockchain compression storage scheme for agricultural IoT data is proposed. This paper connects all production links of the agricultural product chain based on consortium blockchain and collects field data based on the Internet of Things composed of sensors. Firstly, a blockchain storage framework for agricultural Internet of Things data is proposed. The collected Internet of Things data is summarized through gateways or edge server devices before being stored in the blockchain. The value density of on-chain data is increased by compression method. An adaptive lossy compression method with outliers is designed for the data compression process. The agricultural IoT data is divided into normal values and outliers based on the outlier separation method. According to the time correlation between sensor data and the sparse of abnormal data, an adaptive compression algorithm for normal data and outlier data compression algorithm is designed to compress normal data and outlier data respectively. Compressed data are stored in the blockchain instead of original data, reducing storage space occupation; The application service platform can obtain the data on the blockchain and reconstruct the data that meets the accuracy need. The results of experiments show that when the proposed scheme is used for data compression, k values can be adaptively selected for different data sets, and good compression effects can be obtained, on-chain storage space can be reduced, and the value density of data can be improved, satisfying the reconstruction accuracy of users. This method has a good compression effect for data with low change frequency, such as temperature and humidity data, but fails to achieve a high compression effect for data with high change frequency such as wind speed data. In the scheme, storing data on the blockchain can solve the problem of traceability data caused by off-chain storage. In view of the storage redundancy caused by storing all the data on the blockchain, lossy compression method is adopted to reduce the data volume and improve the value density of on-chain data within the acceptable error range of the Internet of Things data provider. Experiments show that suppose the compression ratio of mormal data is 10:1, this method saves about 85% of on-chain storage space and increases the corresponding data value density by about 85%. The scheme only stores data with a compression factor through the blockchain network, reducing the storage and management overhead of on-chain data. At the same time, the scheme has the characteristics of availability, data traceability and non-repudiation. Apart from being a mere technical solution, this research endeavor emerges as a robust response to the imperatives of secure and reliable IoT data storage within the agricultural product traceability landscape. Looking ahead to the agricultural product traceability scenario based on blockchain, this innovative solution calls for the possibility of harmonious integration with technologies such as sidechain and data offloading. This integration will further mitigate blockchain storage redundancy while ensuring data consensus on the blockchain. The ultimate goal is to ensure the transparency and traceability of the entire agricultural product data traceability process. With the development of the industry and the continuous progress of the technology field, it provides technical support for the realization of distributed agricultural Internet of Things data compression storage.
Keywords:data|compression|blockchain|traceability of agricultural products|stored on blockchain|internet of things
点击此处可从《农业工程学报》浏览原始摘要信息
点击此处可从《农业工程学报》下载免费的PDF全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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