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

文章基本信息

  • 标题:Contract-Oriented Computing in CO2
  • 本地全文:下载
  • 作者:M. Bartoletti ; E. Tuosto ; R. Zunino
  • 期刊名称:Scientific Annals of Computer Science
  • 印刷版ISSN:1843-8121
  • 出版年度:2012
  • 卷号:XXII
  • 期号:1
  • 页码:5-60
  • DOI:10.7561/SACS.2012.1.5
  • 出版社:Alexandru Ioan Cuza University of Iasi
  • 摘要:We present CO2, a parametric calculus for contract-based computing in distributed systems. By abstracting from the actual contract language, our calculus generalises both the contracts-as-processes and contracts-as-formulae paradigms. The calculus features primitives for advertising contracts, for reaching agreements, and for querying the fulfilment of contracts. Coordination among participants happens via multi-party sessions, which are created once agreements are reached. We present two instances of our calculus, by modelling contracts as processes in a variant of CCS, and as formulae in a logic. We formally relate the two paradigms, through an encoding from contracts-as-formulae to contracts-as-processes which ensures that the promises deducible in the logical system are exactly those reachable by its encoding as a process. Finally, we present a coarse-grained taxonomy of possible misbehaviours in contract-oriented systems, and we illustrate them with the help of a variety of examples.
  • 关键词:contracts; concurrent constraint programming; multiparty sessions
国家哲学社会科学文献中心版权所有