Blockchain sharding scheme based on generative AI and DRL: Applied to building internet of things

Jinlong Wang , Yixin Li , Yunting Wu , Wenhu Zheng , Shangzhuo Zhou , Xiaoyun Xiong
{"title":"Blockchain sharding scheme based on generative AI and DRL: Applied to building internet of things","authors":"Jinlong Wang ,&nbsp;Yixin Li ,&nbsp;Yunting Wu ,&nbsp;Wenhu Zheng ,&nbsp;Shangzhuo Zhou ,&nbsp;Xiaoyun Xiong","doi":"10.1016/j.iotcps.2024.11.001","DOIUrl":null,"url":null,"abstract":"<div><div>When applying blockchain sharding technology in the building Internet of Things (IoT) domain to enhance the throughput performance of the blockchain, cross-shard transactions triggered by device collaborative tasks have increasingly become a prominent issue. Existing solutions base their shard division on historical transaction moments, using the outcomes for future transaction processing. However, since the historical interaction characteristics do not accurately reflect the interaction details within specific fine-grained time periods, this leads to poor system performance. Additionally, the parameter configuration in blockchain sharding systems is mostly based on arbitrary or default settings, which also results in unstable system performance. To address these two challenges, this paper proposes a blockchain sharding scheme called AI-Shard. Firstly, the system includes a module, G-AI, that utilizes generative AI to predict future node interaction relationships, enabling more proactive and adaptive shard division based on the predicted interaction matrix. Secondly, the system integrates a reinforcement learning module, DL-AI, specifically tailored for configuring parameters of the blockchain sharding system, such as the number of shards, block size, and block interval, to automatically optimize them, aiming to further enhance the system's throughput. Experimental results show that AI-Shard can reduce the proportion of cross-shard transactions and improve the system's throughput.</div></div>","PeriodicalId":100724,"journal":{"name":"Internet of Things and Cyber-Physical Systems","volume":"4 ","pages":"Pages 333-349"},"PeriodicalIF":0.0000,"publicationDate":"2024-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Internet of Things and Cyber-Physical Systems","FirstCategoryId":"1085","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2667345224000117","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

When applying blockchain sharding technology in the building Internet of Things (IoT) domain to enhance the throughput performance of the blockchain, cross-shard transactions triggered by device collaborative tasks have increasingly become a prominent issue. Existing solutions base their shard division on historical transaction moments, using the outcomes for future transaction processing. However, since the historical interaction characteristics do not accurately reflect the interaction details within specific fine-grained time periods, this leads to poor system performance. Additionally, the parameter configuration in blockchain sharding systems is mostly based on arbitrary or default settings, which also results in unstable system performance. To address these two challenges, this paper proposes a blockchain sharding scheme called AI-Shard. Firstly, the system includes a module, G-AI, that utilizes generative AI to predict future node interaction relationships, enabling more proactive and adaptive shard division based on the predicted interaction matrix. Secondly, the system integrates a reinforcement learning module, DL-AI, specifically tailored for configuring parameters of the blockchain sharding system, such as the number of shards, block size, and block interval, to automatically optimize them, aiming to further enhance the system's throughput. Experimental results show that AI-Shard can reduce the proportion of cross-shard transactions and improve the system's throughput.
基于生成式人工智能和 DRL 的区块链分片方案:应用于构建物联网
在楼宇物联网(IoT)领域应用区块链分片技术以提高区块链的吞吐性能时,设备协作任务引发的跨分片交易日益成为一个突出问题。现有解决方案基于历史交易时刻进行分块划分,并将结果用于未来的交易处理。然而,由于历史交互特征不能准确反映特定细粒度时间段内的交互细节,这导致系统性能低下。此外,区块链分片系统中的参数配置大多基于任意或默认设置,这也会导致系统性能不稳定。为了解决这两个难题,本文提出了一种名为 AI-Shard 的区块链分片方案。首先,该系统包含一个模块--G-AI,它利用生成式人工智能预测未来节点的交互关系,从而根据预测的交互矩阵实现更主动、更自适应的分片。其次,系统集成了强化学习模块 DL-AI,专门用于配置区块链分片系统的参数,如分片数量、区块大小和区块间隔等,并自动进行优化,旨在进一步提高系统的吞吐量。实验结果表明,AI-Shard 可以降低跨分片交易的比例,提高系统的吞吐量。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
CiteScore
13.80
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信