异步控制状态编排
Asynchronous Control-State Choreographies
摘要:
编排规定了有限状态机通信系统中消息的同步。这样的系统被称为可实现的,如果规定的通信的痕迹与那些异步系统的对等体,其中的通信信道使用FIFO队列或多组邮箱相一致。在最近的一篇文章中,可实现性的特征在于两个必要条件,它们合在一起就足够了。一个简单的结果是,在存在编排的情况下,可实现性变得可判定。在本文中,我们通过将编排推广到控制状态编排来扩展这项工作,从而实现并行性。我们重新定义的P2P系统的控制状态机的理由,并表明控制状态编排是等价的,它的同行和语言的同步性与synchronisability相一致的rendezvous组成。这些结果被用来验证控制状态编排的可实现性。至于基于FSM的编排的情况下,我们证明了两个必要条件:顺序条件和选择条件。然后,我们还表明,这两个条件是足够的控制状态编排的可实现性。
英文摘要:
Choreographies prescribe the rendez-vous synchronisation of messages in a system of communicating finite state machines. Such a system is called realisable, if the traces of the prescribed communication coincide with those of the asynchronous system of peers, where the communication channels either use FIFO queues or multiset mailboxes. In a recent article realisability was characterised by two necessary conditions that together are sufficient. A simple consequence is that realisability in the presence of a choreography becomes decidable. In this article we extend this work by generalising choreographies to control-state choreographies, which enable parallelism. We redefine P2P systems on grounds of control-state machines and show that a control-state choreography is equivalent to the rendez-vous compositions of its peers and that language-synchronisability coincides with synchronisability. These results are used to characterise realisability of control-state choreographies. As for the case of FSM-based choreographies we prove two necessary conditions: a sequence condition and a choice condition. Then we also show that these two conditions together are sufficient for the realisability of control-state choreographies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。