修改编舞合同
Amending Contracts for Choreographies
摘要:
分布式交互可以根据编排进行适当的设计。这样的抽象可以被认为是几个分布式方的协调的全局描述。全局断言通过用逻辑公式注释多方会话类型来验证交换消息的内容,从而为编排定义契约。这种约束的引入是一个关键的设计问题,因为可能很难指定允许每一方能够在不违反合同的情况下取得进展的合同。在本文中,我们提出了三种方法,自动纠正不一致的全局断言。通过讨论它们的适用性和修改后的全局断言与原始(不一致)断言之间的关系,对这些方法进行了比较。
英文摘要:
Distributed interactions can be suitably designed in terms of choreographies. Such abstractions can be thought of as global descriptions of the coordination of several distributed parties. Global assertions define contracts for choreographies by annotating multiparty session types with logical formulae to validate the content of the exchanged messages. The introduction of such constraints is a critical design issue as it may be hard to specify contracts that allow each party to be able to progress without violating the contract. In this paper, we propose three methods that automatically correct inconsistent global assertions. The methods are compared by discussing their applicability and the relationships between the amended global assertions and the original (inconsistent) ones.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。