arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1411.3791cs.LO
收藏

走向动态更新的编排和行为契约

Choreographies and Behavioural Contracts on the Way to Dynamic Updates

Mario Bravetti, Gianluigi Zavattaro

摘要:

我们调查我们的工作,在多方互动的编排和行为契约。特别是理论的行为合同,使推理正确的服务组合(合同遵守)和服务的可替代性(合同细化预购)在不同的假设下,有关服务通信:同步地址或名称为基础的通信与病人的非抢占式或不耐烦的调用,或异步通信。相应地,考虑行为契约和编排描述之间的关系,其中每个通信方的契约是,例如,由投影导出。所考虑的关系被归纳为最大的preoders,其保持契约合规性和全局迹:我们表现出极大化,(允许为每一方独立地发现/替换服务),当考虑利用所有上述非对称通信手段的合同细化预订时,相反,如果考虑标准对称CCS/π演算通信,则不适用(或者当通过前序将编排直接与行为契约相关联时,无论通信手段如何)。得到的最大前序的特点,然后在一个新的形式的测试,所谓的顺应性测试,其中不仅测试必须成功,而且在测试系统(从而涉及到可控性理论),并与经典的前序,如可能/必须测试,跟踪包含等进行了比较。最后,最近的工作,适应性编排和行为合同,其中上述理论被扩展到更新机制,该机制允许在运行时通过内部(自适应)或外部干预来修改编排/契约。

英文摘要:

We survey our work on choreographies and behavioural contracts in multiparty interactions. In particular theories of behavioural contracts are presented which enable reasoning about correct service composition (contract compliance) and service substitutability (contract refinement preorder) under different assumptions concerning service communication: synchronous address or name based communication with patient non-preemptable or impatient invocations, or asynchronous communication. Correspondingly relations between behavioural contracts and choreographic descriptions are considered, where a contract for each communicating party is, e.g., derived by projection. The considered relations are induced as the maximal preoders which preserve contract compliance and global traces: we show maximality to hold (permitting services to be discovered/substituted independently for each party) when contract refinement preorders with all the above asymmetric communication means are considered and, instead, not to hold if the standard symmetric CCS/pi-calculus communication is considered (or when directly relating choreographies to behavioral contracts via a preorder, no matter the communication mean). The obtained maximal preorders are then characterized in terms of a new form of testing, called compliance testing, where not only tests must succeed but also the system under test (thus relating to controllability theory), and compared with classical preorders such as may/must testing, trace inclusion, etc. Finally, recent work about adaptable choreographies and behavioural contracts is presented, where the theory above is extended to update mechanisms allowing choreographies/contracts to be modified at run-time by internal (self-adaptation) or external intervention.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑