论文标题
关于构图通信系统
On Composing Communicating Systems
论文作者
论文摘要
通信是现代软件的重要组成部分,但是编程和分析通信系统是艰巨的任务。造成这种困难的原因是缺乏保留相关交流特性的组成机制。 最近已经针对众所周知的通信系统模型解决了这个问题,该模型是由能够交换消息的有限状态计算机组成的组件集。这种方法的主要思想是采用两个系统,从每个系统中选择一个参与者,并从这些参与者中获得一对连接两个系统的耦合网关。更确切地说,将通往网关之一的消息转发到另一个系统的网关,该消息将其发送到另一个系统。已经表明,在网关之间的某些合适的兼容条件下,该组成机制保留了异步和对称同步通信的僵局自由度(在确定要交换的消息时,发送者和接收器在确定哪个消息中起着相同的作用)。 本文考虑了不对称同步通信的情况,在该情况下,发件人独立决定应交换哪个消息。我们在这里表明,保存锁定自由需要依次的门户,而这不需要保存僵局自由或强大的锁定自由。
Communication is an essential element of modern software, yet programming and analysing communicating systems are difficult tasks. A reason for this difficulty is the lack of compositional mechanisms that preserve relevant communication properties. This problem has been recently addressed for the well-known model of communicating systems, that is sets of components consisting of finite-state machines capable of exchanging messages. The main idea of this approach is to take two systems, select a participant from each of them, and derive from those participants a pair of coupled gateways connecting the two systems. More precisely, a message directed to one of the gateways is forwarded to the gateway in the other system, which sends it to the other system. It has been shown that, under some suitable compatibility conditions between gateways, this composition mechanism preserves deadlock freedom for asynchronous as well as symmetric synchronous communications (where sender and receiver play the same part in determining which message to exchange). This paper considers the case of asymmetric synchronous communications where senders decide independently which message should be exchanged. We show here that preservation of lock freedom requires sequentiality of gateways, while this is not needed for preservation of either deadlock freedom or strong lock freedom.