Skip to main content

Model Checking Dynamic UML Consistency

  • Conference paper
Formal Methods and Software Engineering (ICFEM 2006)

Part of the book series: Lecture Notes in Computer Science ((LNPSE,volume 4260))

Included in the following conference series:

Abstract

UML is widely accepted and extensively used in software modeling. However, using different diagrams to model different aspects of a system brings the risk of inconsistency among diagrams. In this paper, we investigate an approach to check the consistency between the sequence diagrams and statechart diagrams using the SPIN model checker. To deal with the hierarchy structure of statechart diagrams, we propose a formalism called Split Automata, a variant of automata, which is helpful to bridge the statechart diagrams to SPIN efficiently. Compared with the existing work on model checking UML which do not have formal verification for their translation from UML to the model checker, we formally define the semantics and prove that the automatically translated model (i.e. Split Automata) does simulate the UML model. In this way, we can guarantee that the translated model does represent the original model.

Supported by NNSF of China (No. 605730081).

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 84.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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. Astesiano, E., Reggio, G.: An attempt at analysing the consistency problems in the UML from a classical algebraic viewpoint. In: Wirsing, M., Pattinson, D., Hennicker, R. (eds.) WADT 2003. LNCS, vol. 2755, pp. 56–81. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  2. Burch, J.R., Clarke, E.M., McMillan, K.L., Dill, D.L.: Sequential circuit verification using symbolic model checking. In: DAC 1990: Proceedings of the 27th ACM/IEEE conference on Design automation, pp. 46–51. ACM Press, New York (1990)

    Chapter  Google Scholar 

  3. Clarke, E.M., Grumberg, O., Peled, D.A.: Model Checking. The MIT Press, Cambridge (2000)

    Google Scholar 

  4. Fowler, M.: What is the point of UML. In: Bézivin, J., Muller, P.-A. (eds.) UML 1998. LNCS, vol. 1618. Springer, Heidelberg (1999)

    Google Scholar 

  5. Kuester, J.M., Engels, G., Groenewegen, L.: Consistent interaction of software components. In: Proc. of IDPT 2002 (2002)

    Google Scholar 

  6. Gallardo, M.M., Merino, P., Pimentel, E.: Debugging UML designs with model checking. Journal of Object Technology 1(2), 101–117 (2002)

    Article  Google Scholar 

  7. He, J., Li, X., Liu, Z.: RCOS: A refinement calculus for object-oriented systems. Theoretical Computer Science (accepted for publication) Also available as Technical Report 322. UNU/IIST, P.O.Box 3058, Macao SAR China, http://www.iist.unu.edu

  8. Holzmann, G.J.: The SPIN Model Checker: Primer and Reference Manual. Addison-Wesley, Reading (2003)

    Google Scholar 

  9. Inverardi, P., Muccini, H., Pelliccione, P.: Checking consistency between architectural models using SPIN. In: Proc. of STRAW 2001 (2001)

    Google Scholar 

  10. Jacobson, I., Rumbaugh, J., Booch, G.: The Unified Modelling Language Reference Manual. Addison-Wesley, Reading (1999)

    Google Scholar 

  11. Knapp, A., Merz, S., Rauh, C.: Model checking timed UML state machines and collaborations. In: Damm, W., Olderog, E.-R. (eds.) FTRTFT 2002. LNCS, vol. 2469, pp. 395–416. Springer, Heidelberg (2002)

    Chapter  Google Scholar 

  12. Küster, J.M., Stehr, J.: Towards explicit behavioral consistency concepts in the UML. In: Proc. of the 2nd International Workshop on Scenarios and State Machines: Models, Algorithms, and Tools, Portland, USA (2003)

    Google Scholar 

  13. Lilius, J., Paltor, I.P.: Formalising UML state machines for model checking. In: France, R.B., Rumpe, B. (eds.) UML 1999. LNCS, vol. 1723, pp. 430–444. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  14. Long, Q., Liu, Z., Li, X., He, J.: Consistent code generation from UML models. In: Proc. of Australian Software Engineering Conference (ASWEC 2005), Brisbane, Australia. IEEE Computer Society, Los Alamitos (2005)

    Google Scholar 

  15. Long, Q., Qiu, Z., Qin, S.: The equivalence of statecharts. In: Dong, J.S., Woodcock, J. (eds.) ICFEM 2003. LNCS, vol. 2885, pp. 125–143. Springer, Heidelberg (2003)

    Chapter  Google Scholar 

  16. Schäfer, T., Knapp, A., Merz, S.: Model checking UML state machines and collaborations. Electronic Notes in Theoretical Computer Science 55(3) (2001)

    Google Scholar 

  17. Visser, W., Havelund, K., Brat, G., Park, S.J.: Model checking programs. In: ASE 2000, Washington, DC, USA. IEEE Computer Society, Los Alamitos (2000)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2006 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Zhao, X., Long, Q., Qiu, Z. (2006). Model Checking Dynamic UML Consistency. In: Liu, Z., He, J. (eds) Formal Methods and Software Engineering. ICFEM 2006. Lecture Notes in Computer Science, vol 4260. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11901433_24

Download citation

  • DOI: https://doi.org/10.1007/11901433_24

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-47460-9

  • Online ISBN: 978-3-540-47462-3

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics