arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 1210.2125cs.PLcs.SE
收藏

会话通信和集成

Session Communication and Integration

Guoxin Su, Mingsheng Ying, Chengqi Zhang

摘要:

大型分布式系统的基于CORBA的规范通常被自然地分解成各种模块。规范模块的集成与程序组件的并行组合形成对比,并且包括各种方式,例如场景连接、选择和嵌套。最近开发的多方会话类型的过程演算提供了有用的技术,以适应协议模块化,通过编码的通信协议的片段中使用的私人通道一类的代理。在本文中,我们扩展了前面的会话类型论,通过增强会话集成机制。更具体地说,我们提出了一种新的同步多方会话类型论,其中会话分为通信和集成的水平。通信会话记录了多个代理之间基于消息的通信,而集成会话描述了通信会话的集成。本文提出了一个两级的会话类型系统,并研究了该类型系统的一些关键性质。应用该理论的系统描述,我们表明,通道的安全性和会话一致性属性可以分析。同时,为了提高理论的实用性,在类型检查中使用进程切片的方法来帮助识别违规会话。

英文摘要:

The scenario-based specification of a large distributed system is usually naturally decomposed into various modules. The integration of specification modules contrasts to the parallel composition of program components, and includes various ways such as scenario concatenation, choice, and nesting. The recent development of multiparty session types for process calculi provides useful techniques to accommodate the protocol modularisation, by encoding fragments of communication protocols in the usage of private channels for a class of agents. In this paper, we extend forgoing session type theories by enhancing the session integration mechanism. More specifically, we propose a novel synchronous multiparty session type theory, in which sessions are separated into the communicating and integrating levels. Communicating sessions record the message-based communications between multiple agents, whilst integrating sessions describe the integration of communicating ones. A two-level session type system is developed for pi-calculus with syntactic primitives for session establishment, and several key properties of the type system are studied. Applying the theory to system description, we show that a channel safety property and a session conformance property can be analysed. Also, to improve the utility of the theory, a process slicing method is used to help identify the violated sessions in the type checking.

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

↑