Currently, inter-organizational process collaboration (IOPC) has been widely used in the design and development of distributed systems that support business process execution. Blockchain-based IOPC can establish trusted data sharing among participants, attracting more and more attention. The core of such study is to translate the graphical model (e.g., BPMN) into program code called smart contract that can be executed in the blockchain environment. In this context, a proper smart contract plays a vital role in the correct implementation of block-chain-based IOPC. In fact, the quality of graphical model affects the smart con-tract generation. Problematic models (e.g., deadlock) will result in incorrect contracts (causing unexpected behaviours). To avoid this undesired implementation, this paper explores to generate smart contracts by using the verified formal model as input instead of graphical model. Specifically, we introduce a prototype framework that supports the automatic generation of smart contracts, providing an end-to-end solution from modeling, verification, translation to implementation. One of the cores of this framework is to provide a CSP#-based formalization for the BPMN collaboration model from the perspective of message interaction. This formalization provides precise execution semantics and model verification for graphical models, and a verified formal model for smart contract generation. Another novelty is that it introduces a syntax tree-based translation algorithm to directly map the formal model into a smart contract. The required formalism, verification and translation techniques are transparent to users without imposing additional burdens. Finally, a set of experiments shows the effectiveness of the framework.
翻译:目前,在设计和开发支持业务流程执行的分布式系统时,广泛使用了组织间流程协作(IOPPC),目前,在设计和开发支持业务流程执行的分布式系统时,广泛使用了适当的智能合同(IOPC)。基于链的IOPC可以在参与者中建立可信赖的数据共享,吸引越来越多的注意力。这种研究的核心是将图形模型(如BPMN)转化为程序代码,称为智能合同,在链式环境中可以执行智能合同。在这方面,适当的智能合同在正确实施基于供应链的IOPC中发挥着关键作用。事实上,图形模型的质量影响智能聚合的生成。 问题模型(如僵局)将导致不正确的合同(造成意想不到的行为 ) 。 为避免这种不理想的实施,本文件探索如何将图形图形模型(如BPMN)转化为程序代码,而不是图形模型模型。我们引入一个支持自动生成智能合同的原型框架,从建模、核查、翻译到执行。这个框架的核心框架之一是为BSP#基于模式的正式正式正式格式化化化化,从精确的翻译模式到正式化的认证模型,这是将一个SIMFIFL Ex的校头的校头的校路互动。</s>