Skip to main content

Unifying the Semantics of UML 2 State, Activity and Interaction Diagrams

  • Conference paper
Perspectives of Systems Informatics (PSI 2009)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 5947))

Abstract

We define a formal semantics of the combined use of UML 2 state machines, activities and interactions using Abstract State Machines. The behaviour of software models can henceforth be specified by composing these diagrams, choosing the most adequate formalism at each level of abstraction. We present several reasonable ways to link different kinds of diagrams and illustrate them by examples. We also give a formal semantics of communication between these diagrams. The resulting rules reveal unclear parts of the UML specification and serve as a basis for tool support.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. von der Beeck, M.: A structured operational semantics for UML-statecharts. Software and Systems Modeling 1(2), 130–141 (2002)

    Article  Google Scholar 

  2. Börger, E., Cavarra, A., Riccobene, E.: On formalizing UML state machines using ASMs. Information and Software Technology 46(5), 287–292 (2004)

    Article  Google Scholar 

  3. Börger, E., Stärk, R.: Abstract State Machines. Springer, Heidelberg (2003)

    Book  Google Scholar 

  4. Broy, M., Crane, M., Dingel, J., Hartman, A., Rumpe, B., Selic, B.: 2nd UML 2 semantics symposium: Formal semantics for UML. In: Kühne, T. (ed.) MoDELS 2006. LNCS, vol. 4364, pp. 318–323. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  5. Cengarle, M.V., Grönninger, H., Rumpe, B.: System model semantics of statecharts. Informatik-Bericht 2008-04, TU Braunschweig (July 2008)

    Google Scholar 

  6. Cengarle, M.V., Knapp, A.: UML 2.0 interactions: Semantics and refinement. In: Jürjens, J., Fernandez, E.B., France, R., Rumpe, B. (eds.) Critical Systems Development with UML, pp. 85–99. TU München (2004)

    Google Scholar 

  7. Crane, M.L.: Slicing UML’s Three-layer Architecture: A Semantic Foundation for Behavioural Specification. PhD thesis, Queen’s University (January 2009)

    Google Scholar 

  8. Crane, M.L., Dingel, J.: Towards a UML virtual machine: Implementing an interpreter for UML 2 actions and activities. In: Chechik, M., Vigder, M., Stewart, D. (eds.) Conference of the Centre for Advanced Studies on Collaborative Research, pp. 96–110. ACM Press, New York (2008)

    Google Scholar 

  9. Dausend, M.: Entwicklung einer ASM-Spezifikation der Semantik der Zustandsautomaten der UML 2.0. Diploma thesis, Universität Ulm (June 2007)

    Google Scholar 

  10. Fecher, H., Schönborn, J.: UML 2.0 state machines: Complete formal semantics via core state machine. In: Brim, L., Haverkort, B.R., Leucker, M., van de Pol, J. (eds.) FMICS 2006 and PDMC 2006. LNCS, vol. 4346, pp. 244–260. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  11. Fürst, J.: Entwicklung einer ASM-Spezifikation für die Semantik von UML 2 Sequenzdiagrammen als Grundlage zur Anbindung an ActiveCharts. Diploma thesis, Universität Ulm (February 2008)

    Google Scholar 

  12. Jürjens, J.: Formal semantics for interacting UML subsystems. In: Jacobs, B., Rensink, A. (eds.) Formal Methods for Open Object-Based Distributed Systems V, pp. 29–43. Kluwer Academic Publishers, Dordrecht (2002)

    Google Scholar 

  13. Kohlmeyer, J.: Executing UML 2 diagrams in ActiveCharts: A formal semantics for the combination of behavior specifications in the UML 2. In: Bertelle, C., Ayesh, A. (eds.) ESM 2008, October 2008, pp. 94–101 (2008)

    Google Scholar 

  14. Kohlmeyer, J.: Eine formale Semantik für die Verknüpfung von Verhaltensbeschreibungen in der UML 2. PhD thesis, Universität Ulm (July 2009)

    Google Scholar 

  15. Li, X., Liu, Z., He, J.: A formal semantics of UML sequence diagram. In: Australian Software Engineering Conference, pp. 168–177. IEEE, Los Alamitos (2004)

    Google Scholar 

  16. Marković, S., Baar, T.: Semantics of OCL specified with QVT. Software and Systems Modeling 7(4), 399–422 (2008)

    Article  Google Scholar 

  17. Object Management Group. UML 2.1.2 Superstructure Specification (November 2007)

    Google Scholar 

  18. Sarstedt, S.: Overcoming the limitations of signal handling when simulating UML 2 activity charts. In: Feliz-Teixeira, J.M., Carvalho Brito, A.E. (eds.) ESM 2005, October 2005, pp. 61–65 (2005)

    Google Scholar 

  19. Sarstedt, S.: Semantic Foundation and Tool Support for Model-Driven Development with UML 2 Activity Diagrams. PhD thesis, Universität Ulm (July 2006)

    Google Scholar 

  20. Sarstedt, S., Guttmann, W.: An ASM semantics of token flow in UML 2 activity diagrams. In: Virbitskaite, I., Voronkov, A. (eds.) PSI 2006. LNCS, vol. 4378, pp. 349–362. Springer, Heidelberg (2007)

    Chapter  Google Scholar 

  21. Störrle, H.: Semantics of interactions in UML 2.0. In: Symposium on Human Centric Computing Languages and Environments, pp. 129–136. IEEE, Los Alamitos (2003)

    Chapter  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2010 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Kohlmeyer, J., Guttmann, W. (2010). Unifying the Semantics of UML 2 State, Activity and Interaction Diagrams. In: Pnueli, A., Virbitskaite, I., Voronkov, A. (eds) Perspectives of Systems Informatics. PSI 2009. Lecture Notes in Computer Science, vol 5947. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-11486-1_18

Download citation

  • DOI: https://doi.org/10.1007/978-3-642-11486-1_18

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-642-11485-4

  • Online ISBN: 978-3-642-11486-1

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics