Vers une évolution cohérente des systémes dynamiques á partir des méthodes formelles
|S. Benyagoub. Vers une évolution cohérente des systémes dynamiques á partir des méthodes formelles. 2, 2020.|
Contemporary interaction-based complex systems are often built by reusing existing distributed peers which have to coordinate with each other to fulfill the client, system, and environment requirements. In this thesis, we address the design of distributed systems composed of peers (state-transitions systems) communicating through message exchanges. We consider choreographies as the formal model allowing a developer to describe and specify peers coordination as a set of conversations, i.e., all sequences of messages exchanged between the communicating peers. Proceeding this way neither require building the individual peers nor their composition as they may be obtained by the choreography projection. The correctness of the preservation of such messages exchanges by each peer obtained after projection is a key issue, known as the realizability problem. Checking choreography realizability is mandatory to build third-party applications with no coordination error, e.g., absence of deadlocks, missing messages, and erroneous messaging order. In our works [18–20], we have proposed a set of composition operators allowing designers to build realizable choreographies that are represented by conversation protocols. Realizability is guaranteed by construction. We rely on the correct-by-construction Event-B method to prove that each CP constructed using our operators is realizable. Our approach applies and scales to a set of use cases borrowed from the literature and used by the research community. Our approach allows also to detect failures and failure recovery in case realizability does not hold.