arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2208.04634cs.LOcs.PL
收藏

论通信系统的构成

On Composing Communicating Systems

Franco Barbanera, Ivan Lanese, Emilio Tuosto

摘要:

通信是现代软件的基本要素,但编程和分析通信系统是困难的任务。这种困难的原因是缺乏保持相关通信属性的组合机制。这个问题最近已经解决了众所周知的模型的通信系统,这是一套组件组成的有限状态机能够交换消息。这种方法的主要思想是采用两个系统,从每个系统中选择一个参与者,并从这些参与者中导出一对连接两个系统的耦合网关。更准确地说,指向其中一个网关的消息被转发到另一个系统中的网关,该网关将其发送到另一个系统。它已被证明,在网关之间的一些合适的兼容性条件下,这种组合机制保留了死锁自由异步以及对称同步通信(其中发送方和接收方在确定要交换的消息中扮演相同的角色)。本文考虑的情况下,不对称的同步通信,独立决定的消息应该交换。我们在这里表明,锁自由的保存需要网关的顺序性,而这是不需要的死锁自由或强锁自由的保存。

英文摘要:

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.

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

↑