高级搜索

留言板

尊敬的读者、作者、审稿人, 关于本刊的投稿、审稿、编辑和出版的任何问题, 您可以本页添加留言。我们将尽快给您答复。谢谢您的支持!

姓名
邮箱
手机号码
标题
留言内容
验证码

面向多子元宇宙矿工分配的多背包问题优化方案

康嘉文 吴天昊 文锦柏 陈俊龙 熊泽辉 黄旭民 刘雷

康嘉文, 吴天昊, 文锦柏, 陈俊龙, 熊泽辉, 黄旭民, 刘雷. 面向多子元宇宙矿工分配的多背包问题优化方案[J]. 电子与信息学报, 2024, 46(5): 2177-2186. doi: 10.11999/JEIT231214
引用本文: 康嘉文, 吴天昊, 文锦柏, 陈俊龙, 熊泽辉, 黄旭民, 刘雷. 面向多子元宇宙矿工分配的多背包问题优化方案[J]. 电子与信息学报, 2024, 46(5): 2177-2186. doi: 10.11999/JEIT231214
KANG Jiawen, WU Tianhao, WEN Jinbo, CHEN Junlong, XIONG Zehui, HUANG Xumin, LIU Lei. Optimal Miner Allocation Scheme for Sub-metaverses: From Multi-knapsack Problem Perspective[J]. Journal of Electronics & Information Technology, 2024, 46(5): 2177-2186. doi: 10.11999/JEIT231214
Citation: KANG Jiawen, WU Tianhao, WEN Jinbo, CHEN Junlong, XIONG Zehui, HUANG Xumin, LIU Lei. Optimal Miner Allocation Scheme for Sub-metaverses: From Multi-knapsack Problem Perspective[J]. Journal of Electronics & Information Technology, 2024, 46(5): 2177-2186. doi: 10.11999/JEIT231214

面向多子元宇宙矿工分配的多背包问题优化方案

doi: 10.11999/JEIT231214
基金项目: 国家自然科学基金 (62102099, 62003099),广州市基础与应用基础研究项目(2023A04J1699, 2023A04J1704)
详细信息
    作者简介:

    康嘉文:男,教授,研究方向为无线通信网络

    吴天昊:男,硕士生,研究方向为元宇宙、区块链

    文锦柏:男,硕士生,研究方向为生成式人工智能、元宇宙、区块链

    陈俊龙:男,研究方向为元宇宙、虚拟人、强化学习、车联网

    熊泽辉:男,助理教授,研究方向为无线通信网络、区块链、边缘计算

    黄旭民:男,副教授,研究方向为移动边缘计算、车联网

    刘雷:男,副教授,研究方向为车载智能交通系统、车载边缘计算、算力网络、区块链

    通讯作者:

    康嘉文 kavinkang@gdut.edu.cn

  • 中图分类号: TN915

Optimal Miner Allocation Scheme for Sub-metaverses: From Multi-knapsack Problem Perspective

Funds: The National Natural Science Foundation of China (62102099, 62003099), Guangzhou Basic and Applied Basic Research Project (2023A04J1699, 2023A04J1704)
  • 摘要: 元宇宙是一种新型互联网社会生态,旨在促进用户交流、提供虚拟服务和数字资产交易。区块链作为元宇宙的底层技术,支持非同质化通证(NFT)等数字资产在元宇宙内流通。然而,随着共识节点的增加,数字资产的交易共识效率会降低。因此,该文设计了基于边缘计算和跨链技术的多子元宇宙数字资产交易管理框架,首先,利用跨链技术将多个子元宇宙连接成多子元宇宙系统;其次,将边缘设备以矿工的身份分配到各个子元宇宙中,并利用其空闲的计算资源来提高数字资产交易的效率;此外,将边缘设备分配问题建模为一个多背包问题,并设计了一套矿工选择方案。针对环境动态变化的分配问题,采用深度强化学习中的近端策略优化(DRL-PPO)算法,有效解决多子元宇宙中子元宇宙的矿工分配问题。仿真结果验证了所提方法的有效性,能够以安全、高效和灵活的方式实现跨链NFT交易和子元宇宙管理。
  • 图  1  多子元宇宙系统交易管理框架

    图  2  FISCO BCOS区块链平台节点信息

    图  3  单个元宇宙矿工数量对TPS和安全收益的影响

    图  4  单元宇宙系统与多子元宇宙系统的TPS对比

    图  5  不同优化算法结果对比

    图  6  不同子元宇宙数量的总收益比较

    图  7  不同矿工数量的总收益比较

    图  8  不同clip值对于DRL-PPO算法的影响

    1  基于DRL-PPO的子元宇宙矿工分配求解算法

     输入:子元宇宙与矿工相关参数,初始策略参数${\theta _0}$,价值函数参数$ {\phi _0} $, DRL-PPO-Clip 超参数 $ \varepsilon $, 迭代次数$K$,每轮迭代步数$T = n$。
     for $e = 0$ to $K$ do:
     1 根据策略${\pi _{{e}}} = \pi ({\theta _{{e}}})$收集轨迹集合 ${\mathcal{D}_{{e}}} = {\lambda _i}$。
     2 基于式(13)计算估计收益值$\widehat {{R_t}}$。
     3 基于价值函数$ {V_{{\phi _e}}} $计算优势估计${\hat A_t}$。
     4 通过最大化DRL-PPO-Clip目标来更新策略网络参数。
     5 $ {\theta }_{e+1}=\text{arg}\underset{\theta }{\text{max}}{\widehat{E}}_{t}\left[\mathrm{min}\left({r}_{t}(\theta )\widehat{{A}_{t}},g\left(\varepsilon ,{r}_{t}(\theta )\right)\widehat{{A}_{t}}\right)\right] $
     6 通过均方误差回归来更新价值函数参数。
     7 $ {\phi _{e + 1}} = {\text{arg}}\mathop {{\text{min}}}\limits_\phi \frac{1}{{|{\mathcal{D}_e}|T}}\sum\limits_{\tau \in {\mathcal{D}_e}} {\sum\limits_{t = 0}^T {{{({V_\phi }({S_t}) - \widehat {{R_t}})}^2}} } $。
     结束
    下载: 导出CSV

    表  1  实验基础系数设置

    参数 设置值
    区块大小 $b$
    平均信道容量 $\delta $
    ${k_1},{k_2},{w_1},{w_2},p,g$
    DRL-PPO超参数 $ \varepsilon $
    100 kB
    100 bps
    0.5, 0.5, 0.5, 0.5, 2, 50
    0.2
    下载: 导出CSV
  • [1] WANG Hang, NING Huansheng, LIN Yujia, et al. A survey on the metaverse: The state-of-the-art, technologies, applications, and challenges[J]. IEEE Internet of Things Journal, 2023, 10(16): 14671–14688. doi: 10.1109/JIOT.2023.3278329.
    [2] LIN Yijing, DU Hongyang, NIYATO D, et al. Blockchain-aided secure semantic communication for AI-generated content in metaverse[J]. IEEE Open Journal of the Computer Society, 2023, 4: 72–83. doi: 10.1109/OJCS.2023.3260732.
    [3] CAO Bin, WANG Zixin, ZHANG Long, et al. Blockchain systems, technologies, and applications: A methodology perspective[J]. IEEE Communications Surveys & Tutorials, 2023, 25(1): 353–385. doi: 10.1109/COMST.2022.3204702.
    [4] REHMAN W, ZAINAB H E, IMRAN J, et al. NFTs: Applications and challenges[C]. The 22nd International Arab Conference on Information Technology (ACIT), Muscat, Oman, 2021: 1–7. doi: 10.1109/ACIT53391.2021.9677260.
    [5] WEN Jinbo, LIU Xiaojun, XIONG Zehui, et al. Optimal block propagation and incentive mechanism for blockchain networks in 6g[C]. 2022 IEEE International Conference on Trust, Security and Privacy in Computing and Communications (TrustCom), Wuhan, China, 2022: 369–374. doi: 10.1109/TrustCom56396.2022.00058.
    [6] ZHENG Zibin, XIE Shaoan, DAI Hongning, et al. Blockchain challenges and opportunities: A survey[J]. International Journal of Web and Grid Services, 2018, 14(4): 352–375. doi: 10.1504/IJWGS.2018.095647.
    [7] YANG Qinglin, ZHAO Yetong, HUANG Huawei, et al. Fusing blockchain and AI with metaverse: A survey[J]. IEEE Open Journal of the Computer Society, 2022, 3: 122–136. doi: 10.1109/OJCS.2022.3188249.
    [8] KANG Jiawen, HE Jiayi, DU Hongyang, et al. Adversarial attacks and defenses for semantic communication in vehicular metaverses[J]. IEEE Wireless Communications, 2023, 30(4): 48–55. doi: 10.1109/MWC.004.2200617.
    [9] KANG Jiawen, WEN Jinbo, YE Dongdong, et al. Blockchain-empowered federated learning for healthcare metaverses: User-centric incentive mechanism with optimal data freshness[J]. IEEE Transactions on Cognitive Communications and Networking, 2024, 10(1): 348–362. doi: 10.1109/TCCN.2023.3316643.
    [10] NGUYEN C T, HOANG D T, NGUYEN D N, et al. MetaChain: A novel blockchain-based framework for metaverse applications[C]. 2022 IEEE 95th Vehicular Technology Conference, Helsinki, Finland, 2022: 1–5. doi: 10.1109/VTC2022-Spring54318.2022.9860983.
    [11] JIANG Zexun, ZHA Cong, LI Xinyi, et al. A cross-chain framework for industry collaboration and transaction[C]. 2022 IEEE Smartworld, Ubiquitous Intelligence & Computing, Scalable Computing & Communications, Digital Twin, Privacy Computing, Metaverse, Autonomous & Trusted Vehicles (SmartWorld/UIC/ScalCom/DigitalTwin/PriComp/Meta), Haikou, China, 2022: 2436–2443. doi: 10.1109/SmartWorld-UIC-ATC-ScalCom-DigitalTwin-PriComp-Metaverse56740.2022.00341.
    [12] REN Yongjun, LV Zhiying, XIONG N N, et al. HCNCT: A cross-chain interaction scheme for the blockchain-based metaverse[J]. ACM Transactions on Multimedia Computing, Communications, and Applications, 2024, 20(7): 188. doi: 10.1145/3594542.
    [13] WOOD G. POLKDOT: Vision for a heterogeneous multi-chain framework[EB/OL]. https://assets.polkadot.network/Polkadot-whitepaper.pdf, 2022.
    [14] LUONG N C, HOANG D T, GONG Shimin, et al. Applications of deep reinforcement learning in communications and networking: A survey[J]. IEEE Communications Surveys & Tutorials, 2019, 21(4): 3133–3174. doi: 10.1109/COMST.2019.2916583.
    [15] GU Jinlei, WANG Jiacun, GUO Xiwang, et al. A metaverse-based teaching building evacuation training system with deep reinforcement learning[J]. IEEE Transactions on Systems, Man, and Cybernetics: Systems, 2023, 53(4): 2209–2219. doi: 10.1109/TSMC.2022.3231299.
    [16] WANG Zhilin, HUT Q, XU Minghui, et al. Blockchain-based edge resource sharing for metaverse[C]. 2022 IEEE 19th International Conference on Mobile Ad Hoc and Smart Systems (MASS), Denver, USA, 2022: 620–626. doi: 10.1109/MASS56207.2022.00092.
    [17] LIU Weikang, CAO Bin, and PENG Mugen. Blockchain based offloading strategy: Incentive, effectiveness and security[J]. IEEE Journal on Selected Areas in Communications, 2022, 40(12): 3533–3546. doi: 10.1109/JSAC.2022.3213324.
    [18] CAO Mingrui, ZHANG Long, and CAO Bin. Toward on-device federated learning: A direct acyclic graph-based blockchain approach[J]. IEEE Transactions on Neural Networks and Learning Systems, 2023, 34(4): 2028–2042. doi: 10.1109/TNNLS.2021.3105810.
    [19] OU Wei, HUANG Shiying, ZHENG Jingjing, et al. An overview on cross-chain: Mechanism, platforms, challenges and advances[J]. Computer Networks, 2022, 218: 109378. doi: 10.1016/j.comnet.2022.109378.
    [20] LIN Shaofeng, KONG Yihan, and NIE Shaotao. Overview of block chain cross chain technology[C]. 2021 13th International Conference on Measuring Technology and Mechatronics Automation (ICMTMA), Beihai, China, 2021: 357–360. doi: 10.1109/ICMTMA52658.2021.00083.
    [21] PRADANA I G M T, DJATNA T, and HERMADI I. Blockchain modeling for traceability information system in supply chain of coffee agroindustry[C]. 2020 International Conference on Advanced Computer Science and Information Systems (ICACSIS), Depok, Indonesia, 2020: 217–224. doi: 10.1109/ICACSIS51025.2020.9263214.
    [22] LIU Xiaojun, WANG Wenbo, NIYATO D, et al. Evolutionary game for mining pool selection in blockchain networks[J]. IEEE Wireless Communications Letters, 2018, 7(5): 760–763. doi: 10.1109/LWC.2018.2820009.
    [23] KANG Jiawen, XIONG Zehui, NIYATO D, et al. Incentivizing consensus propagation in proof-of-stake based consortium blockchain networks[J]. IEEE Wireless Communications Letters, 2019, 8(1): 157–160. doi: 10.1109/LWC.2018.2864758.
    [24] ZHANG Junwei, ZHANG Zhenghao, HAN Shuai, et al. Proximal policy optimization via enhanced exploration efficiency[J]. Information Sciences, 2022, 609: 750–765. doi: 10.1016/j.ins.2022.07.111.
    [25] ZHAN Yufeng, LI Peng, QU Zhihao, et al. A learning-based incentive mechanism for federated learning[J]. IEEE Internet of Things Journal, 2020, 7(7): 6360–6368. doi: 10.1109/JIOT.2020.2967772.
  • 加载中
图(8) / 表(2)
计量
  • 文章访问数:  249
  • HTML全文浏览量:  82
  • PDF下载量:  34
  • 被引次数: 0
出版历程
  • 收稿日期:  2023-11-01
  • 修回日期:  2024-05-01
  • 网络出版日期:  2024-05-12
  • 刊出日期:  2024-05-30

目录

    /

    返回文章
    返回