Skip to main content
Log in

A Formal Semantics of Data Flow Diagrams

  • Formal Aspects of Computing
  • Published:
Formal Aspects of Computing

Abstract

This paper presents a formal semantics of data flow diagrams as used in Structured Analysis, based on an abstract model for data flow transformations. The semantics consists of a collection of VDM functions, transforming an abstract syntax representation of a data flow diagram into an abstract syntax representation of a VDM specification. Since this transformation is executable, it becomes possible to provide a software analyst/designer with two ‘views’ of the system being modelled: a graphical view in terms of a data flow diagram, and a textual view in terms of a VDM specification. In this paper emphasis is on the motivation for the choices made in the transformation. The main aspects of the transformation itself are described using annotated VDM functions with some examples.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. Adler, M.: An Algebra for Data Flow Diagram Process Decomposition. IEEE Transactions on Software Engineering, SE-14(2):169–183, February 1988.

    Article  Google Scholar 

  2. Alabiso, B.: Transformation of Data Flow Analysis Models to Object Oriented Design. In OOPSLA’88 Proceedings, pages 335–353, ACM, November 1988.

    Google Scholar 

  3. Bear, S.: Structuring for the VDM Specification Language. In R. Jones R. Bloomfield, L. Marshall, editor, VDM’88; VDM — The Way Ahead, pages 2–25, Springer-Verlag, March 1988. LNCS 328.

    Chapter  Google Scholar 

  4. Bjørner, D. and Jones, C.B.: Formal Specification & Software Development. Prentice Hall International, 1982.

    MATH  Google Scholar 

  5. Bruza, P.D. and van der Weide, Th. P.: The Semantics of Data Flow Diagrams. Technical Report 89–16, University of Nijmegen, The Netherlands, October 1989.

    Google Scholar 

  6. Constantine, L.L. and Yourdon, E.: Structured Design. Prentice Hall International, 1979.

    MATH  Google Scholar 

  7. Dawes, J.: The VDM-SL Reference Guide. Pitman (London, UK), 1991.

    Google Scholar 

  8. DeMarco, T.: Structured Analysis and System Specification. Yourdon Press (New Jersey, USA), 1979.

    Book  Google Scholar 

  9. Elmstrøm, R., Larsen, P.G. and Lassen, P.B.: The IFAD VDM-SL Toolbox: A Practical Approach to Formal Specifications. ACM Sigplan Notices, 29(9): 77–80, September 1994.

    Article  Google Scholar 

  10. Elmstrøm, R., Lintulampi, R. and Pezzé, M.: Giving Semantics to SA/RT by Means of High Level Timed Petri Nets. Real-Time Systems, 5(2/3):249–272, May 1993.

    Article  Google Scholar 

  11. Fraser, M.D., Kumar, K. and Vaishnavi V.K.: Informal and Formal Requirements Specification Languages: Bridging the Gap. IEEE Transactions on Software Engineering, SE-17(5):454–66, May 1991.

    Article  Google Scholar 

  12. France, R.B.: Semantically Extended Data Flow Diagrams: A Formal Specification Tool. IEEE Transactions on Software Engineering, SE-18(4):329–346, April 1992.

    Article  Google Scholar 

  13. Gane, C. and Sarson, T: Structured Systems Analysis: Tools and Techniques. Prentice Hall International, 1979.

    Google Scholar 

  14. Hoare, C.A.R.: Communicating Sequential Processes. Prentice Hall International, 1985.

    MATH  Google Scholar 

  15. Information Technology Programming Languages — VDM-SL. Technical report. First Committee Draft Standard: CD 13817-1, November 1993. ISO/IEC JTC1/SC22/WG19 N-20.

  16. Jones, K.D.: A Formal Semantics for a Dataflow Machine. In C.B. Jones D. Bjørners, editor, VDM’87; VDM — A Formal Method at Work, pages 331–355, Springer-Verlag, March 1987. LNCS 252.

    Chapter  Google Scholar 

  17. Jones, C.B.: Systematic Software Development using VDM (2nd edition). Prentice Hall International, 1990.

    MATH  Google Scholar 

  18. Gorm Larsen, P., Arentoft, M.M., Monahan, B.Q. and Bear, S.: Towards a Formal Semantics of The BSI/VDM Specification Language. In Ritter, editor, Information Processing 89, pages 95–100, IFIP, North-Holland, August 1989.

    Google Scholar 

  19. Bøgh Lassen, P.: IFAD VDM-SL Toolbox. In J.C.P. Woodcock and P.G. Larsen, editors, FME’93: Industrial-Strength Formal Methods, page 681, Springer-Verlag, Berlin Heidelberg, April 1993.

    Google Scholar 

  20. Longworth, G. and Nicholls, D.: SSADM Manual. NCC, December 1986.

    Google Scholar 

  21. Larsen, P.G., van Katwijk, J., Plat, N., Pronk K. and Toetenel, H.: SVDM: An Integrated Combination of SA and VDM. In Proc. of the Methods Integration Conference, Leeds, UK, September 1991 (to appear), 1993.

    Google Scholar 

  22. Milner, A.J.R.G.: A Calculus of Communicating Systems. Springer-Verlag, 1980. LNCS 92.

    Book  MATH  Google Scholar 

  23. Peterson, J.L.: Petri Nets. ACM Computing Surveys, 9(3):223–252, September 1977.

    Article  MATH  Google Scholar 

  24. Polack, F: Integrating Formal Notations and Systems Analysis: using Entity Relationship Diagrams. IEE/BCS Software Engineering Journal, 7(5):363–371, September 1992.

    Article  Google Scholar 

  25. Plat, N., van Katwijk, J. and Pronk, G: A Case for Structured Analysis/Formal Design. In VDM’91; Formal Software Development Methods, pages 81–105, Springer-Verlag, 1991. LNCS 551.

    Chapter  Google Scholar 

  26. Randell, G.P.: Translating Data Flow Diagrams into Z (and Vice Versa). Technical Report 90019, Procurement Executive, Ministry of Defence, RSRE, Malvern, Worcestershire, UK, October 1990.

    Google Scholar 

  27. Semmens, L.T., France, R.B. and Docker, T.W.G.: Integrated Strudtured Analysis and Formal Specification Techniques. The Computer Journal, 35(6):600–610, December 1992.

    Article  Google Scholar 

  28. ter Hofstede, A.H.M. and van der Weide, T.P.: Formalization of Techniques: Chopping Down the Methodology Jungle. Journal of Information and Software Technology, 34(l):57–65, January 1992.

    Article  Google Scholar 

  29. Tse, T.H. and Pong, L.: Towards a Formal Foundation for DeMarco Data Flow Diagrams. The Computer Journal, 32(1):1–12, January 1989.

    Article  Google Scholar 

  30. Ward, P.T. and Mellor, S.J.: Structured Development for Real-Time Systems. Yourdon Press (New Jersey, USA), 1985.

    Google Scholar 

  31. Yourdon, E.: Techniques of Program Structure and Design. Prentice Hall International, 1975.

    MATH  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Peter Gorm Larsen.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Larsen, P.G., Plat, N. & Toetenel, H. A Formal Semantics of Data Flow Diagrams. Form Asp Comp 6, 586–606 (1994). https://doi.org/10.1007/BF03259387

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF03259387

Keywords

Navigation