Connecting open systems of communicating finite state machines

被引:11
作者
Barbanera, Franco [1 ]
de'Liguoro, Ugo [2 ]
Hennicker, Rolf [3 ]
机构
[1] Univ Catania, Dipartimento Matemat & Informat, Catania, Italy
[2] Univ Torino, Dipartimento Informat, Turin, Italy
[3] Ludwig Maximilians Univ Munchen, Inst Informat, Munich, Germany
基金
欧盟地平线“2020”;
关键词
Communicating finite state machine; Communicating system; Composition of open systems; Communication properties; Global type with interface roles; PROGRESS;
D O I
10.1016/j.jlamp.2019.07.004
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Communicating Finite State Machines (CFSMs) are an established model for describing and analysing distributed systems whose concurrently running components communicate via FIFO-channels. Systems of CESMs are usually considered as closed systems which do not provide access points for communication with the environment. In our study we relax this view such that certain components of a CFSM system can be looked at as describing the behaviour of the environment interacting with the system. They are considered as interfaces and if two systems posses compatible interfaces (according to a natural notion of compatibility) they can be connected. We propose a novel connection mechanism such that interface CFSMs are replaced by automatically generated "gateway" CFSMs, enabling messages to be exchanged between the systems. As a crucial outcome of our approach we prove that, under mild assumptions, if CFSM systems are connected in such a way a number of important communicating properties is preserved: deadlock-freeness, strong deadlock-freeness, orphan-message freeness, freeness of unspecified receptions, and progress. The communication properties we consider are those enjoyed by CFSM systems obtained by end-point projections of certain global type formalisms used in the field of asynchronous multiparty session types. To this end we introduce a parametric syntax to compose global types via interface roles. As a consequence of our preservation results we get for free that composed projected systems enjoy the communication properties. (C) 2019 Elsevier Inc. All rights reserved.
引用
收藏
页数:34
相关论文
共 23 条
[1]   Global Types for Open Systems [J].
Barbanera, Franco ;
de'Liguoro, Ugo ;
Hennicker, Rolf .
ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2018, (279) :4-20
[2]  
Bauer SS, 2010, LECT NOTES COMPUT SC, V6015, P175, DOI 10.1007/978-3-642-12002-2_15
[3]   ON COMMUNICATING FINITE-STATE MACHINES [J].
BRAND, D ;
ZAFIROPULO, P .
JOURNAL OF THE ACM, 1983, 30 (02) :323-342
[4]   A Calculus of Global Interaction based on Session Types [J].
Carbone, Marco ;
Honda, Kohei ;
Yoshida, Nobuko .
ELECTRONIC NOTES IN THEORETICAL COMPUTER SCIENCE, 2007, 171 (03) :127-151
[5]   Choreographies, logically [J].
Carbone, Marco ;
Montesi, Fabrizio ;
Schurmann, Carsten .
DISTRIBUTED COMPUTING, 2018, 31 (01) :51-67
[6]   Compatibility in a multi-component environment [J].
Carmona, Josep ;
Kleijn, Jetty .
THEORETICAL COMPUTER SCIENCE, 2013, 484 :1-15
[7]   ON GLOBAL TYPES AND MULTI-PARTY SESSIONS [J].
Castagna, Giuseppe ;
Dezani-Ciancaglini, Mariangiola ;
Padovani, Luca .
LOGICAL METHODS IN COMPUTER SCIENCE, 2012, 8 (01)
[8]   Verification of programs with half-duplex communication [J].
Cécé, G ;
Finkel, A .
INFORMATION AND COMPUTATION, 2005, 202 (02) :166-190
[9]  
Clemente Lorenzo, 2014, CONCUR 2014 - Concurrency Theory. 25th International Conference, CONCUR 2014. Proceedings: LNCS 8704, P281, DOI 10.1007/978-3-662-44584-6_20
[10]   Global progress for dynamically interleaved multiparty sessions [J].
Coppo, Mario ;
Dezani-Ciancaglini, Mariangiola ;
Yoshida, Nobuko ;
Padovani, Luca .
MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2016, 26 (02) :238-302