| 本文已被:浏览 2263次 下载 7162次 |
 码上扫一扫! |
|
|
| 一种智能合约微服务化框架 |
|
张富利1,2, 侯培宇1,2, 李杉杉1,2, 荣国平1,2, 李质颖1,2, 丁梦洁1,2
|
|
1.南京大学软件学院, 江苏 南京 210093;2.计算机软件新技术国家重点实验室(南京大学), 江苏 南京 210023
|
|
| 摘要: |
| 区块链具有分布式、不可篡改、去中心化、历史可追溯等特点,但难以落地.智能合约的引入,有效地解决了这一难题.然而,智能合约的开发和运维存在部署效率低、监控工具不成熟等问题.受DevOps自动化工具支持微服务持续交付、持续监控的启发,针对上述问题,提出了一种用于智能合约微服务化改造的框架.随后,结合支持DevOps的工具设计原型平台Mictract,完成智能合约的部署和监控.在Hyperledger Fabric官方链码Marbles上的案例研究表明,该框架和原型平台能够显著提升智能合约部署和监控的自动化水平. |
| 关键词: 区块链 智能合约 微服务 DevOps 自动化 |
| DOI:10.13328/j.cnki.jos.006277 |
| 分类号:TP311 |
| 基金项目:国家自然科学基金(62072227,61802173);国家重点研发计划(2019YFE0105500);江苏省政府间双边创新项目(BZ2020017);南京大学计算机软件新技术国家重点实验室创新项目(ZZKT2019B01) |
|
| Framework for Architecting Smart Contracts Using Microservices |
|
ZHANG Fu-Li1,2, HOU Pei-Yu1,2, LI Shan-Shan1,2, RONG Guo-Ping1,2, LI Zhi-Ying1,2, DING Meng-Jie1,2
|
|
1.Software Institute, Nanjing University, Nanjing 210093, China;2.State Key Laboratory for Novel Software Technology (Nanjing University), Nanjing 210023, China
|
| Abstract: |
| Blockchain has the advantages of distribution, immutability, decentralization, and traceability, but short of implementing. Smart contract is a decent solution to make up for this deficiency. However, smart contracts also struggle in deploying and monitoring. Inspired by the DevOps tools that support continuous delivery and continuous monitoring for microservices, a framework is proposed to architect smart contracts using microservices. Besides, a prototype platform (Mictract) is implemented in which DevOps tools were aggregated to support smart contracts deploying and monitoring. The case study performed in Marbles of Hyperledger Fabric shows that the proposed framework and the prototype platform significantly improve the automation level to deploy and monitor smart contracts. |
| Key words: blockchain smart contract microservice DevOps automation |