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

基于哈希图的建筑物联网数据管理方法
引用本文:王旭,申玉民,熊晓芸,李鹏,王金龙.基于哈希图的建筑物联网数据管理方法[J].计算机应用,2022,42(8):2471-2480.
作者姓名:王旭  申玉民  熊晓芸  李鹏  王金龙
作者单位:青岛理工大学 信息与控制工程学院,山东 青岛 266525
青岛亿联信息科技股份有限公司,山东 青岛 266033
基金项目:国家自然科学基金资助项目(62001262);山东省重点研发计划项目(2019GGX101017)
摘    要:针对区块链应用于建筑物联网场景时存在的吞吐量严重不足和响应时延高的问题,提出一种基于哈希图的建筑物联网数据管理方法。该方法使用有向无环图(DAG)存储数据,从而利用图式结构的高并发特性提高区块链的吞吐量性能;引入哈希图算法对存储在DAG内的数据达成共识,从而减少共识所需时间;设计智能合约实现访问权限控制,以防止未授权用户对数据的操作。使用区块链性能测试工具Caliper进行的性能测试的结果表明:在由32个节点构成的中等规模仿真环境下,与现有边缘计算方法和跨链方法相比,所提方法的吞吐量为每秒处理1 063.1笔交易,分别为对比方法吞吐量的6倍和3倍;该方法的数据存储时延和控制时延分别为4.57 s和4.92 s,响应速度优于对比方法;该方法在尖峰冲击测试中的交易成功率为87.4%;同时基于该方法的原型系统在稳定性测试中可以平稳运行120 h。可见,所提方法可以有效提高区块链的交易吞吐量和响应速度,满足建筑物联网场景的实际使用需求。

关 键 词:区块链  建筑物联网  哈希图  数据管理  有向无环图  
收稿时间:2021-06-07
修稿时间:2021-09-03

Data management method for building internet of things based on Hashgraph
Xu WANG,Yumin SHEN,Xiaoyun XIONG,Peng LI,Jinlong WANG.Data management method for building internet of things based on Hashgraph[J].journal of Computer Applications,2022,42(8):2471-2480.
Authors:Xu WANG  Yumin SHEN  Xiaoyun XIONG  Peng LI  Jinlong WANG
Affiliation:School of Information and Control Engineering,Qingdao University of Technology,Qingdao Shandong 266525,China
Qingdao ELink Information Technology Incorporated Company Limited,Qingdao Shandong 266033,China
Abstract:A Hashgraph-based data management method for building Internet of Things (IoT) was proposed to address the problems of severe lack of throughput and high response delay when applying blockchain to the building IoT scenarios. In this method, Directed Acyclic Graph (DAG) was used for data storage to increase the throughput performance of blockchain because of the high concurrency of schematic structure; Hashgraph algorithm was applied to reach consensus on the data stored in DAG to reduce the time consumption of consensus; the smart contracts were designed to realize access control to prevent unauthorized users from operating data. Caliper, a blockchain performance testing tool, was adopted for performance test. The results show that in a medium-scale simulation environment with 32 nodes, the throughput of the proposed method is 1 063.1 transactions per second, which is 6 times and 3 times than that of the edge computing and the cross-chain methods; the data storage delay and control delay of the proposed method are 4.57 seconds and 4.92 seconds respectively, indicating that the proposed method has the response speed better than the comparison methods; and the transaction success rate of this method reaches 87.4% in spike testing. At the same time, the prototype system based on this method can run stably for 120 hours in stability testing. The above illustrates that the proposed method can effectively improve the throughput and response speed of blockchain, and meets actual needs in the building IoT scenarios.
Keywords:blockchain  building Internet of Things (IoT)  Hashgraph  data management  Directed Acyclic Graph (DAG)  
点击此处可从《计算机应用》浏览原始摘要信息
点击此处可从《计算机应用》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

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