Skip to main content

Contributions for Modelling UML State-Charts in B

  • Conference paper
  • First Online:
Integrated Formal Methods (IFM 2002)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 2335))

Included in the following conference series:

Abstract

An appropriate approach for translating UML to B formal specifications allows one to use UML and B jointly in an unified, practical and rigorous software development. We can formally analyse UML specifications via their derived B formal specifications. This point is significant because B support tools like AtelierB are available. We can also use UML specifications as a tool for building B specifications, so the development of B specifications become easier.

In this paper, we address the problem of modelling UML state-charts in B, which has not been, so far, completely treated. We distinguish between event-related and activity-related parts of UML state-charts. We propose deriving the B specification of the event-related part independently with the activity-related part. For this purpose, a new approach for modelling events is proposed; the communication among state-charts is also considered.

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. J.R. Abrial. The B Book-Assigning Programs to Meanings. Cambridge University Press, 1996. ISBN 0-521-49619-5.

    Google Scholar 

  2. A. Amelot and D. Dollé. Le raffinement automatique. Available at http://www3.inrets.fr/B@INRETS/Events/2001-ESTAS/actes/MTI-2001-ESTAS.*, 2001. Slides.

  3. B-Core(UK) Ltd, Oxford (UK). B-Toolkit User’s Manual, 1996. Release 3.2.

    Google Scholar 

  4. J.M. Bruel. Integrating Formal and Informal Specification Techniques. Why? How? In the 2nd IEEE Workshop on Industrial-Strength Formal Specification Techniques, pages 50–57, Boca Raton, Florida (USA), 1998. Available at http://www.univ-pau.fr/~bruel/publications.html.

  5. J.M. Bruel, J. Lilius, A. Moreira, and R.B. France. Defining Precise Semantics for UML. In Object-Oriented Technology, LNCS 1964, pages 113–122, Sophia Antipolis and Cannes (F), June 12–16, 2000. ECOOP 2000 Workshop Reader.

    Chapter  Google Scholar 

  6. C. Snook and M. Butler. Tool-Supported Use of UML for Constructing B Specifications. draft version.

    Google Scholar 

  7. D. Harel. Statecharts: A Visual Formalism for Complex Systems. Science of Computer Programming, 8:231–274, 1987.

    Article  MathSciNet  Google Scholar 

  8. R. Laleau and A. Mammar. A Generic Process to Refine a B Specification into a Relational Database Implementation. In ZB 2000: Formal Specification and Development in Z and B, LNCS 1878, York (UK), August/September 2000. Springer.

    Chapter  Google Scholar 

  9. R. Laleau and A. Mammar. An Overview of a Method and its support Tool for Generating B Specifications from UML Notations. In The 15st IEEE Int. Conf. on Automated Software Engineering, Grenoble (F), September 11–15, 2000.

    Google Scholar 

  10. K. Lano. The B Language and Method: A Guide to Practical Formal Development. FACIT. Springer-Verlag, 1996. ISBN 3-540-76033-4.

    Google Scholar 

  11. H. Ledang. Case Study: Lift Control System B Specification. Available at http://www.loria.fr/~ledang/case-studies/Lift.zip, 2001.

  12. H. Ledang. Des cas d’utilisation à une spécification B. In Journées AFADL’2001: Approches Formelles dans l’Assistance au Développement de Logiciels, Nancy (F), 11–13 juin, 2001. http://www.loria.fr/~ledang/publications/afadl01.ps.gz.

  13. H. Ledang. Formal Techniques in the Object-Oriented Development: an Approach based on the B method. PhDOOS2001: the 11 th ECOOP Workshop for PhD Student in Object-Oriented Systems, Budapest (Hu), http://www.st.informatik.tu-darmstadt.de/phdws/wstimetable.html, June 18–19, 2001. http://www.loria.fr/~ledang/publications/PhDOOS01.ps.gz.

  14. H. Ledang and J. Souquières. Formalizing UML Behavioral Diagrams with B. In the Tenth OOPSLA Workshop on Behavioral Semantics: Back to Basics, Tampa Bay, Florida (USA), October 15, 2001. http://www.loria.fr/~ledang/publications/oopsla01.ps.gz.

  15. H. Ledang and J. Souquières. Integrating UML and B Specification Techniques. In the Informatik2001 Workshop on Integrating Diagrammatic and Formal SpecificationTechniques, Vienna (Autria), September 26, 2001. http://www.loria.fr/~ledang/publications/informatik01.ps.gz.

  16. H. Ledang and J. Souquières. ModelingClassOperationsinB:ApplicationtoUMLBehaviral Diagrams. In ASE2001: the 16th IEEE International Conference on Automated Software Engineering, full paper, Loews Coronado Bay, San Diego (USA), November 26–29, 2001. http://www.loria.fr/~ledang/publications/ase01.ps.gz.

  17. R. Marcano and N. Lévy. Transformation d’annotations OCL en expressions B. In Journées AFADL’2001: Approches Formelles dans l’Assistance au Développement de Logiciels, Nancy (F), 11–13 juin, 2001.

    Google Scholar 

  18. E. Meyer. Développements formels par objets: utilisation conjointe de B et d’UML. PhD thesis, LORIA-Université Nancy 2, Nancy (F), mars 2001.

    Google Scholar 

  19. E. Meyer and J. Souquières. A systematic approach to transform OMT diagrams to a B specification. In FM’99: World Congress on Formal Methods in the Development of Computing Systems, LNCS 1708, Toulouse (F), September 1999. Springer-Verlag.

    Google Scholar 

  20. H.P. Nguyen. Dérivation de spécifications formelles B à partir de spécifications semi-formelles. PhD thesis, Conservatoire National des Arts et Métiers-CEDRIC, Paris (F), décembre 1998.

    Google Scholar 

  21. J. Rumbaugh, M. Blaha, W. Premerlani, F. Eddy, and W. Lorensen. Object-Oriented Modeling and Design. Prentice Hall Inc. Englewood Cliffs, 1991.

    Google Scholar 

  22. J. Rumbaugh, I. Jacobson, and G. Booch. The Unified Modeling Language Reference Manual. Addison-Wesley, 1998. ISBN 0-201-30998-X.

    Google Scholar 

  23. E. Sekerinski. Graphical Design of Reactive Systems. In D. Bert, editor, B’98: Recent Advances in the Development and Use of the B Method-2nd International B Conference, LNCS 1393, Montpellier (F), April 1998. Springer-Verlag.

    Chapter  Google Scholar 

  24. C. Snook and M. Butler. U2B: a tool for combining UML and B. Available at http://www.ecs.soton.ac.uk/~cfs98r/U2Bdownloads.htm.

  25. C. Snook and M. Butler. Verifying Dynamic Properties of UML Models by Translation to the B Language and Toolkit. Technical Report DSSE-TR-2000-12, Declarative Systems & Software Engineering Group, Department of Electronics and Computer Science University of Southampton, September 2000. Available at http://www.dsse.ecs.soton.ac.uk/techreports/2000-12.html.

  26. C. Snook and R. Harrison. Practitioners Views on the Use of Formal Methods: An Industrial Survey by Structured Interview. Information and Software Technology, 43:275–283, March 2001.

    Google Scholar 

  27. STERIA-Technologies de l’Information, Aix-en-Provence (F). AtelierB, Manuel Utilisateur, 1998. Version 3.5.

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2002 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Ledang, H., Souquières, J. (2002). Contributions for Modelling UML State-Charts in B. In: Butler, M., Petre, L., Sere, K. (eds) Integrated Formal Methods. IFM 2002. Lecture Notes in Computer Science, vol 2335. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-47884-1_7

Download citation

  • DOI: https://doi.org/10.1007/3-540-47884-1_7

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-43703-1

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

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics