140 likes | 236 Views
A method for functional alignment verification in hierarchical system models. Irina Rychkova Alain Wegmann Laboratory of Systemic Modeling Ecole Polytechnique Fédérale de Lausanne. Overview. Graphical specifications at different levels of abstraction
E N D
A method for functional alignment verification in hierarchical system models Irina Rychkova Alain Wegmann Laboratory of Systemic Modeling Ecole Polytechnique Fédérale de Lausanne
Overview • Graphical specifications at different levels of abstraction • Alignment verification of the specifications • Example: Cinema Web Site • Abstract State Machine (ASM) operational semantics • Future work Irina Rychkova, Alain Wegmann EPFL – IC - LAMS
Specifications at different abstractionlevels The client performs …. The reservation is …. The client adds reservations to the virtual cart. The system completes reservation after getting commit from the customer. The client performs a ticket reservation by choosing movies from the agenda. The reservation is valid if there are places for the movie requested. The client performs a ticket reservation. ? Irina Rychkova, Alain Wegmann EPFL – IC - LAMS
Def: Two systems are considered behaviorally compatible if the first system can be replaced by the second one without the environment being able to notice the difference of the system’s behavior based on a set of criteria. [from RM-ODP] Behaviorally compatible Functional alignment verification andoperational semantics Environment Reservation ok! Spec1 Spec2 Irina Rychkova, Alain Wegmann EPFL – IC - LAMS
How to align specifications? The client performs a ticket reservation. The client performs a ticket reservation by choosing movies from the agenda. The reservation is valid if there are places for movie requested. The client performs …. The reservation is …. The client adds reservations to the virtual cart. The system completes reservation after getting commit from the customer. Executable Spec (code) Text Spec Graphical Spec Irina Rychkova, Alain Wegmann EPFL – IC - LAMS
Cinema Web Site 1/3 The client performs a ticket reservation. Irina Rychkova, Alain Wegmann EPFL – IC - LAMS
Cinema Web Site 2/3 The client performs a ticket reservation by choosing movies from the agenda. The reservation is valid if there are places for the movie requested. Irina Rychkova, Alain Wegmann EPFL – IC - LAMS
Cinema Web Site 3/3 The client performs …. The reservation is …. The client adds reservations to the virtual cart. The system completes reservation after getting commit from the customer.
Understandability vs. Precision:Alignment verification problem Functional Alignment verification Irina Rychkova, Alain Wegmann EPFL – IC - LAMS
Functional alignment verification:Semantic rules for model transformation
Functional alignment verification:Method and tools • SeamCAD tool for graphical SEAM model development • XML specification of the graphical model • Set of mapping rules for AsmL interpretation of SEAM model stored in XML • SEAM-AsmL translator for automated AsmL spec generation out of SEAM graphical model SeamCAD M1.xml M2.xml Transformation rules SEAM_AsmL Translator M1.asml M2.asml Asmlt Irina Rychkova, Alain Wegmann EPFL – IC - LAMS
Future work • SEAM-AsmL translator v.1.1 release • Scalability checking • Use of Scala language as an operational semantics for SEAM • Organizational alignment verification Irina Rychkova, Alain Wegmann EPFL – IC - LAMS
Thank you for your attention! Irina Rychkova, Alain Wegmann EPFL – IC - LAMS