应用科学学报 ›› 2024, Vol. 42 ›› Issue (4): 569-584.doi: 10.3969/j.issn.0255-8297.2024.04.002

• 区块链 • 上一篇    

基于领域编程模型的可信区块链自动化协议

刘少杰, 赵鸿伯, 刘浛   

  1. 牛津(海南)区块链研究院, 海南 澄迈 571924
  • 收稿日期:2024-01-02 发布日期:2024-08-01
  • 通信作者: 刘浛,研究方向为区块链、可信计算、编程语言。E-mail:liuhan0518@gmail.com E-mail:liuhan0518@gmail.com
  • 基金资助:
    国家重点研发计划(No.2022YFB2702204)资助

Trusted Blockchain Automation Protocol Based on Domain Programming Model

LIU Shaojie, ZHAO Hongbo, LIU Han   

  1. Oxford-Hainan Blockchain Research Institute, Chengmai 571924, Hainan, China
  • Received:2024-01-02 Published:2024-08-01

摘要: 区块链自动化技术有效解决了区块链无法自动执行智能合约程序的困境,拓展了区块链的应用场景。然而,现有的自动化方案往往任务定义复杂、任务执行缺少可证明性且无法支持链下数据,从而存在使用门槛高和可信性低等问题。针对上述问题,提出了一种区块链任务自动化可信协议Specy Network。该协议首先通过结合领域编程模型与可信执行环境,设计了应用于区块链自动化场景的领域专用语言,实现了条件检查的可证明性,且在提高任务检查可靠性的同时降低了定义的复杂度。其次对区块链自动化业务中的角色交互和任务生命周期进行优化,提高了协议实施的稳定性。最后对所提出的协议进行了开发与实现,以具体案例验证了方案的可行性。

关键词: 区块链自动化, 可信执行环境, 领域编程模型, 智能合约

Abstract: Blockchain automation technology effectively addresses the dilemma of blockchain’s incapability to automatically execute smart contract programs, and expands the application scenarios of blockchain. However, existing automation solutions often suffer from complex task definitions, lack of provability in task execution, and the inability to support off-chain data, leading to high entry barriers and low trustworthiness. In response, this paper proposes a trustworthy blockchain automation protocol called Specy Network. This protocol first combines domain-specific programming models with a trusted execution environment to design a domain-specific language tailored for blockchain automation scenarios. It achieves provability in condition checks, thereby simplifying task definitions while enhancing the reliability of task verification. Secondly, it optimizes role interactions and task lifecycles in blockchain automation business, improving the stability of rotocol implementation. Finally, the proposed protocol is implemented, and its feasibility is validated through specific use cases.

Key words: blockchain automation, trusted execution environment, domain programming model, smart contract

中图分类号: