首页    期刊浏览 2024年09月18日 星期三
登录注册

文章基本信息

  • 标题:Three Algorithms and a Methodology for Amending Contracts for Choreographies
  • 本地全文:下载
  • 作者:L. Bocchi ; J. Lange ; E. Tuosto
  • 期刊名称:Scientific Annals of Computer Science
  • 印刷版ISSN:1843-8121
  • 出版年度:2012
  • 卷号:XXII
  • 期号:1
  • 页码:61-104
  • DOI:10.7561/SACS.2012.1.61
  • 出版社:Alexandru Ioan Cuza University of Iasi
  • 摘要:Distributed interactions are crucial design aspects to consider in modern applications. They can be suitably designed in terms of choreographies, that are 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. We propose three algorithms to 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. Also, we specify a methodology that exploits our algorithms to help designers to amend their choreographies. To show how the methodology can be applied we consider a simple scenario.
  • 关键词:multiparty session types; design-by-contract; assertions; choreography; ;satisfiability
国家哲学社会科学文献中心版权所有