An executable formal semantics for UML-RT

We propose a formal semantics for UML-RT, a UML profile for real-time and embedded systems. The formal semantics is given by mapping UML-RT models into a language called kiltera, a real-time extension of the $$\pi $$π-calculus. Previous attempts to formalize the semantics of UML-RT have fallen short by considering only a very small subset of the language and providing fundamentally incomplete semantics based on incorrect assumptions, such as a one-to-one correspondence between “capsules” and threads. Our semantics is novel in several ways: (1) it deals with both state machine diagrams and capsule diagrams; (2) it deals with aspects of UML-RT that have not been formalized before, such as thread allocation, service provision points, and service access points; (3) it supports an action language; and (4) the translation has been implemented in the form of a transformation from UML-RT models created with IBM’s RSA-RTE tool, into kiltera code. To our knowledge, this is the most comprehensive formal semantics for UML-RT to date.

[1]  Rik Eshuis,et al.  A Formal Semantics for UML Activity Diagrams - Formalising Workflow Models , 2001 .

[2]  David R. Jefferson,et al.  Virtual time , 1985, ICPP.

[3]  Jürgen Dingel,et al.  Theory and Implementation of a Real-Time Extension to the pi-Calculus , 2010, FMOODS/FORTE.

[4]  Ivan P Paltor The Semantics of UML State Machines , 1999 .

[5]  Jürgen Dingel,et al.  Definition and implementation of a semantic mapping for UML-RT using a timed pi-calculus , 2010, BM-FA '10.

[6]  Harald Störrle,et al.  Towards a Formal Semantics of UML 2.0 Activities , 2005, Software Engineering.

[7]  Bran Selic,et al.  Real-time object-oriented modeling , 1994, Wiley professional computing.

[8]  Frank S. de Boer,et al.  Compositional Operational Semantics of a UML-Kernel-Model Language , 2006, Electron. Notes Theor. Comput. Sci..

[9]  Robin Milner,et al.  A Calculus of Communicating Systems , 1980, Lecture Notes in Computer Science.

[10]  Michael von der Beeck A formal semantics of UML-RT , 2006, MoDELS'06.

[11]  Manuel I. Capel,et al.  A methodological approach to the formal specification of real-time systems by transformation of UML-RT design models , 2007, Sci. Comput. Program..

[12]  Juliana de Melo Bezerra,et al.  A Polyadic pi-Calculus Approach for the Formal Specification of UML-RT , 2009, Adv. Softw. Eng..

[13]  Doo-Hwan Bae,et al.  A semantics of sequence diagrams , 2002, Inf. Process. Lett..

[14]  Amir Pnueli,et al.  Understanding UML: A Formal Semantics of Concurrency and Communication in Real-Time UML , 2002, FMCO.

[15]  Manuel I. Capel,et al.  A Semantic Formalization of UML-RT Models with csp+t Processes Applicable to Real-time Systems Verification , 2006, JISBD.

[16]  Susanna Donatelli,et al.  A compositional semantics for UML state machines aimed at performance evaluation , 2002, Sixth International Workshop on Discrete Event Systems, 2002. Proceedings..

[17]  Reiko Heckel,et al.  Consistency-Preserving Model Evolution through Transformations , 2002, UML.

[18]  Manfred Broy,et al.  What is Behind UML-RT? , 1999, Behavioral Specifications of Businesses and Systems.

[19]  Michael J. Butler,et al.  Towards formalizing UML state diagrams in CSP , 2003, First International Conference onSoftware Engineering and Formal Methods, 2003.Proceedings..

[20]  Radu Grosu,et al.  Chapter 6 WHAT IS BEHIND UML-RT ? , 1999 .

[21]  Steve Vestal,et al.  The SAE Architecture Analysis & Design Language (AADL) a standard for engineering performance critical systems , 2006, 2006 IEEE Conference on Computer Aided Control System Design, 2006 IEEE International Conference on Control Applications, 2006 IEEE International Symposium on Intelligent Control.

[22]  Jia Feng-jun Specification and Description Language(SDL) and Its Applications to Development of TD-PRS Mobile Terminals , 2003 .

[23]  Tomasz Szmuc,et al.  UML Statecharts Compositional Semantics in LOTOS , 2008, 2008 International Symposium on Parallel and Distributed Computing.

[24]  Augusto Sampaio,et al.  A Semantics for UML-RT Active Classes via Mapping into Circus , 2005, FMOODS.

[25]  Michael von der Beeck Astructured operational semantics forUML-statecharts , 2002 .

[26]  Bran Selic,et al.  Using UML for Modeling Complex Real-Time Systems , 1998, LCTES.

[27]  Jürgen Dingel,et al.  Kiltera: A Language for Timed, Event-Driven, Mobile and Distributed Simulation , 2010, 2010 IEEE/ACM 14th International Symposium on Distributed Simulation and Real Time Applications.

[28]  Rik Eshuis,et al.  A Real-Time Execution Semantics for UML Activity Diagrams , 2001, FASE.

[29]  Mario Tokoro,et al.  An Object Calculus for Asynchronous Communication , 1991, ECOOP.

[30]  Kevin Lano,et al.  UML 2 Semantics and Applications , 2009 .

[31]  Hans Vangheluwe,et al.  Kiltera: A Simulation Language for Timed, Dynamic Structure Systems , 2007, 40th Annual Simulation Symposium (ANSS'07).

[32]  Jan A. Bergstra,et al.  Process Algebra for Synchronous Communication , 1984, Inf. Control..

[33]  Johan Lilius,et al.  Formalising UML State Machines for Model Checking , 1999, UML.

[34]  Ernst-Rüdiger Olderog,et al.  A CSP View on UML-RT Structure Diagrams , 2001, FASE.

[35]  Giuseppe Lipari,et al.  A UML Profile and a Methodology for Real-Time Systems Design , 2006, 32nd EUROMICRO Conference on Software Engineering and Advanced Applications (EUROMICRO'06).

[36]  C. A. R. Hoare,et al.  Communicating sequential processes , 1978, CACM.

[37]  G. Erard Boudol Asynchrony and the -calculus (note) , 1992 .

[38]  Juliana de Melo Bezerra,et al.  A Semantics for UML-RT using n-calculus , 2007, 18th IEEE/IFIP International Workshop on Rapid System Prototyping (RSP '07).

[39]  Bernard P. Zeigler,et al.  Theory of Modelling and Simulation , 1979, IEEE Transactions on Systems, Man, and Cybernetics.

[40]  He Jifeng,et al.  A Formal Semantics of UML Sequence Diagrams , 2004 .

[41]  David Garlan,et al.  Acme: architectural description of component-based systems , 2000 .

[42]  Michael von der Beeck A structured operational semantics for UML-statecharts , 2002, Software and Systems Modeling.

[43]  Bernard P. Zeigler,et al.  Theory of modeling and simulation , 1976 .

[44]  Bernhard Rumpe,et al.  Behavioral Specifications of Businesses and Systems , 1999, Behavioral Specifications of Businesses and Systems.

[45]  Wei Wei,et al.  An AsmL Semantics for Dynamic Structures and Run Time Schedulability in UML-RT , 2008, TOOLS.

[46]  Jifeng He,et al.  A formal semantics of UML sequence diagram , 2004, 2004 Australian Software Engineering Conference. Proceedings..

[47]  Ji Wang,et al.  Improvements towards formalizing UML state diagrams in CSP , 2005, 12th Asia-Pacific Software Engineering Conference (APSEC'05).

[48]  Wang Yi,et al.  Formal Verification of UML Statecharts with Real-Time Extensions , 2002, FASE.

[49]  Ernesto Posse,et al.  Modelling and simulation of dynamic structure discrete-event systems , 2008 .

[50]  Subash Shankar,et al.  Formal Semantics of UML with Real-Time Constructs , 2003, UML.

[51]  Darmalingum Muthiayen,et al.  Real-time reactive system development: a formal approach based on uml and pvs , 2000 .

[52]  Tao Zhang,et al.  An Operational Semantics for UML RT-Statechart in Model Checking Context , 2009, 2009 Fourth International Conference on Internet Computing for Science and Engineering.

[53]  Augusto Sampaio,et al.  Viewing CSP Specifications with UML-RT Diagrams , 2008, Electron. Notes Theor. Comput. Sci..

[54]  Bruce Powel Douglass Real-Time UML , 2002, FTRTFT.