Skip to main content

Refinement Tree and Its Patterns: A Graphical Approach for Event-B Modeling

  • Conference paper
  • First Online:
Formal Techniques for Safety-Critical Systems (FTSCS 2013)

Part of the book series: Communications in Computer and Information Science ((CCIS,volume 419))

Abstract

Event-B is a famous formal approach for verifying the requirements specification of safety-critical systems. Even though Event-B is a good formal approach which is successful in applying to several practical case studies, we think that additional methods are needed to apply it to the safety critical systems. Once we identify the requirements, Event-B allows us to formally describe the requirements. However, Event-B does not explicitly support analysing and elaborating requirements themselves. Although refinement mechanisms provided by Event-B is useful to stepwise model concrete requirements from abstract ones, guideline of the refinements is not provided. This paper aims to propose a refinement tree diagram and its refinement patterns to provide the requirements analysis and elaboration, and the guideline for Event-B. The diagram and the patterns are partially derived from the KAOS method, a goal-oriented requirements engineering method. The utility of the diagram and the patterns is successfully shown by applying them to three practical case studies.

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 EPUB and 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

References

  1. Abrial, J.-R., Su, W., Zhu, H.: Formalizing hybrid systems with Event-B. In: Derrick, J., Fitzgerald, J., Gnesi, S., Khurshid, S., Leuschel, M., Reeves, S., Riccobene, E. (eds.) ABZ 2012. LNCS, vol. 7316, pp. 178–193. Springer, Heidelberg (2012)

    Google Scholar 

  2. Abrial, J.R.: Formal methods in industry: achievements, problems, future. In: Proceedings of the 28th International Conference on Software Engineering, pp. 761–768. ACM (2006)

    Google Scholar 

  3. Abrial, J.R.: Modeling in Event-B: System and Software Engineering. Cambridge University Press, Cambridge (2010)

    Book  Google Scholar 

  4. Aziz, B., Arenas, A., Bicarregui, J., Ponsard, C., Massonet, P.: From goal-oriented requirements to Event-B specifications. In: First NASA Formal Method Symposium (NFM 2009), Moffett Field, CA, USA, April 2009

    Google Scholar 

  5. Damchoom, K., Butler, M.: Applying event and machine decomposition to a flash-based filestore in Event-B. In: Oliveira, M.V.M., Woodcock, J. (eds.) SBMF 2009. LNCS, vol. 5902, pp. 134–152. Springer, Heidelberg (2009)

    Google Scholar 

  6. Darimont, R., Van Lamsweerde, A.: Formal refinement patterns for goal-driven requirements elaboration. ACM SIGSOFT Softw. Eng. Notes 21(6), 179–190 (1996)

    Article  Google Scholar 

  7. Hoang, T.S., Furst, A., Abrial, J.-R.: Event-B patterns and their tool support. In: Software Engineering and Formal Methods, 2009 Seventh IEEE International Conference on, pp. 210–219. IEEE (2009)

    Google Scholar 

  8. CD ISO. 26262, Road vehicles-functional safety (2011)

    Google Scholar 

  9. Jones, C.B.: Systematic Software Development Using VDM, vol. 2. Prentice Hall, Englewood Cliffs (1990)

    MATH  Google Scholar 

  10. Kobayashi, T., Honiden, S.: Towards refinement strategy planning for Event-B. arXiv preprint arXiv:1210.7036 (2012)

  11. Matoussi, A., Gervais, F., Laleau, R.: A goal-based approach to guide the design of an abstract Event-B specification. In: Engineering of Complex Computer Systems (ICECCS), 2011 16th IEEE International Conference on, pp. 139–148. IEEE (2011)

    Google Scholar 

  12. Ponsard, C., Devroey, X.: Generating high-level Event-B system models from KAOS requirements models. In: Actes du XXIIéme Congrés INFORSID, pp. 317–332, Lille, France (2011)

    Google Scholar 

  13. Said, M.Y., Butler, M., Snook, C.: Language and tool support for class and state machine refinement in UML-B. In: Cavalcanti, A., Dams, D.R. (eds.) FM 2009. LNCS, vol. 5850, pp. 579–595. Springer, Heidelberg (2009)

    Chapter  Google Scholar 

  14. Silva, R.: Lessons learned/sharing the experience of developing a metro system case study. arXiv preprint arXiv:1210.7030 (2012)

  15. Michael Spivey, J.: The Z Notation, vol. 1992. Prentice Hall, New York (1989)

    Google Scholar 

  16. Su, W., Abrial, J.-R., Huang, R., Zhu, H.: From requirements to development: methodology and example. In: Qin, S., Qiu, Z. (eds.) ICFEM 2011. LNCS, vol. 6991, pp. 437–455. Springer, Heidelberg (2011)

    Google Scholar 

  17. Su, W., Abrial, J.-R., Zhu, H.: Complementary methodologies for developing hybrid systems with Event-B. In: Aoki, T., Taguchi, K. (eds.) ICFEM 2012. LNCS, vol. 7635, pp. 230–248. Springer, Heidelberg (2012)

    Google Scholar 

  18. Traichaiyaporn, K.: Modeling correct safety requirements using KAOS and Event-B. Master’s thesis, School of Information Science, Japan Advanced Institute of Science and Technology (JAIST). http://hdl.handle.net/10119/11496 (2013)

  19. Van Lamsweerde, A.: Requirements Engineering: from System Goals to UML Models to Software Specifications, vol. 3. Wiley, New York (2009)

    Google Scholar 

  20. Zowghi, D., Gervasi, V.: On the interplay between consistency, completeness, and correctness in requirements evolution. Inf. Softw. Technol. 45(14), 993–1009 (2003)

    Article  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Kriangkrai Traichaiyaporn .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 Springer International Publishing Switzerland

About this paper

Cite this paper

Traichaiyaporn, K., Aoki, T. (2014). Refinement Tree and Its Patterns: A Graphical Approach for Event-B Modeling. In: Artho, C., Ölveczky, P. (eds) Formal Techniques for Safety-Critical Systems. FTSCS 2013. Communications in Computer and Information Science, vol 419. Springer, Cham. https://doi.org/10.1007/978-3-319-05416-2_16

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-05416-2_16

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-05415-5

  • Online ISBN: 978-3-319-05416-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics