BETASCO: 面向智能合约分片的联盟区块链系统
作者:
作者单位:

作者简介:

吴恺东(1994-),男,博士生,CCF学生会员,主要研究领域为软件工程,区块链;马郓(1989-),男,博士,研究员,博士生导师,CCF专业会员,主要研究领域为智能系统软件,Web系统和移动系统的设计和优化;蔡华谦(1990-),男,博士,副研究员,CCF专业会员,主要研究领域为编程语言,软件工程;景翔(1979-),男,博士,CCF专业会员,主要研究领域为新型软件定义理论,分布式系统架构,工业互联网;黄罡(1975-),男,博士,教授,博士生导师,CCF杰出会员,主要研究领域为系统软件,软件自适应.

通讯作者:

马郓,mayun@pku.edu.cn;黄罡,hg@pku.edu.cn

中图分类号:

TP311

基金项目:

国家自然科学基金杰出青年基金(61725201); 北京高校卓越青年科学家计划(BJJWZYJH01201910001004)


BETASCO: Consortium Blockchain System Based on Smart Contract-oriented Sharding
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 图/表
  • |
  • 访问统计
  • |
  • 参考文献
  • |
  • 相似文献
  • |
  • 引证文献
  • |
  • 资源附件
  • |
  • 文章评论
    摘要:

    基于区块链的去中心化应用已在加密数字货币、云存储、物联网等多个领域提供健壮、可信且持久的服务, 然而区块链的吞吐能力难以满足去中心化应用日益增长的性能需求. 分片是当前主流的区块链性能优化技术, 但现有的区块链分片主要面向用户和用户之间的转账交易, 并不完全适用于以智能合约调用交易为主的去中心化应用. 针对此问题, 设计并实现面向智能合约分片的联盟区块链系统BETASCO. BETASCO为每个智能合约提供一个分片作为独立执行环境, 通过基于分布式散列表的合约定位服务将交易路由至目标智能合约所在的分片, 并通过智能合约间的异步调用机制满足跨智能合约的通信和协作需求. BETASCO通过节点虚拟化允许一个节点加入多个分片, 支持同一组节点上多个智能合约的并行执行. 实验结果表明, BETASCO整体吞吐能力可随智能合约数量的增加而线性增长, 且执行单个智能合约的吞吐能力与HyperLedger Fabric相当.

    Abstract:

    Blockchain-based decentralized applications have been providing robust, reliable, and durable services in multiple fields, such as encrypted digital currency, cloud storage, and Internet of Things. However, the throughput capacity of blockchain can no longer meet the increasing performance requirements of decentralized applications. Sharding is the current mainstream performance optimization technology for blockchain. Nevertheless, the existing blockchain sharding approaches, mainly focusing on transactions among users, are not always applicable to decentralized applications dominated by the transactions of smart-contract invocation. To solve the above problem, this study designs and implements the consortium blockchain system BETASCO based on smart contract-oriented sharding. BETASCO provides a shard that serves as an independent execution environment for each smart contract, routes transactions to the shards holding the target smart contracts by a contract location service based on the distributed hash table (DHT), and supports communication and collaboration needs across smart contracts by availing the asynchronous invocation mechanism among smart contracts. By virtualizing the nodes, BETASCO allows each node to join multiple shards to support parallel executions of multiple smart contracts on the same set of nodes. The results of experiments show that the overall throughput capacity of BETASCO linearly increases as the number of smart contracts grows, and the throughput capacity for the execution of a single smart contract is comparable to that of HyperLedger Fabric.

    参考文献
    相似文献
    引证文献
引用本文

吴恺东,马郓,蔡华谦,景翔,黄罡. BETASCO: 面向智能合约分片的联盟区块链系统.软件学报,2023,34(11):5042-5057

复制
分享
文章指标
  • 点击次数:
  • 下载次数:
  • HTML阅读次数:
  • 引用次数:
历史
  • 收稿日期:2021-10-21
  • 最后修改日期:2022-02-16
  • 录用日期:
  • 在线发布日期: 2023-06-16
  • 出版日期:
您是第位访问者
版权所有:中国科学院软件研究所 京ICP备05046678号-3
地址:北京市海淀区中关村南四街4号,邮政编码:100190
电话:010-62562563 传真:010-62562533 Email:jos@iscas.ac.cn
技术支持:北京勤云科技发展有限公司

京公网安备 11040202500063号