Abstract
There can be multitudinous models specifying aspects of the same system. Each model has a bias towards one aspect. These models often override in specific aspects though they have different expressions. A specification written in one model can be refined by introducing additional information from other models. The paper proposes a concept of promoting models which is a methodology to obtain refinements with support from cooperating models. It refines a primary model by integrating the information from a secondary model. The promotion principle is not merely an academic point, but also a reliable and robust engineering technique which can be used to develop software and hardware systems. It can also check the consistency between two specifications from different models. A case of modeling a simple online shopping system with the cooperation of the guarded design model and CSP model illustrates the practicability of the promotion principle.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
The Model-Driven Architecture, Guide Version 1.0.1, OMG Document: omg/2003-06-01
Object Management Group, MOF 2.0 Query / Views / Transformations RFP, OMG Document: ad/2002-04-10, revised on April 24 (2002)
Abrial, J.-R.: The B-book: assigning programs to meanings. Cambridge University Press, New York (1996)
Artin, E.: Galois Theory. Dover Publications, New York (1998)
Benjamin, M.: A message passing system: An example of combining csp and z. In: Proc. 4th Z Users Workshop, Workshops in Computing, pp. 221–228. Springer, Heidelberg (1989)
Blaha, M.R., Rumbaugh, J.R.: Object-Oriented Modeling and Design with UML, 2nd edn. Prentice Hall, Englewood Cliffs (2004)
Booch, G., Rumbaugh, J., Jacobson, I.: The Unified Modeling Language User Guide, 2nd edn. Addison Wesley Professional, Reading (2005)
Butler, M.J., Leuschel, M.: Combining csp and b for specification and property verification. In: Fitzgerald, J.S., Hayes, I.J., Tarlecki, A. (eds.) FM 2005. LNCS, vol. 3582, pp. 221–236. Springer, Heidelberg (2005)
Czarnecki, K., Helsen, S.: Classification of model transformation approaches (2003)
Erne, M., Koslowski, J., Melton, A., Strecker, G.E.: A primer on galois connections. In: Proc. 1991 Summer Conference on General Topology and Applications in Honor of Mary Ellen Rudin and Her Work, Annals of the New York Academy of Sciences, vol. 704, pp. 103–125 (1993)
Fischer, C.: Csp-oz: a combination of object-z and csp. In: Proc. FMOODS 1997: IFIP TC6 WG6.1 International Workshop on Formal Methods for Open Object-Based Distributed Systems, London, UK, pp. 423–438. Chapman & Hall, Ltd., Sydney (1997)
He, J.: Service refinement. Science in China Series F: Information Sciences 51(6), 661–682 (2008)
Hoare, C.A.R.: Communicating Sequential Processes. Prentice Hall International Series in Computer Science (1985)
Hoare, C.A.R., He, J.: Unifying Theories of Programming. Prentice Hall International Series in Computer Science (1998)
Kleppe, A., Warmer, J., Bast, W.: MDA Explained: The Model Driven Architecture: Practice and Promise. Addison Wesley Professional, Reading (2003)
McEwan, A.A., Schneider, S.: A verified development of hardware using csp/spl par/b. In: Proc. MEMOCODE 2006: 4th ACM & IEEE International Conference on Formal Methods and Models for Co-Design, p. 81 (2006)
McEwan, A.A., Schneider, S.: Modeling and analysis of the amba bus using csp and b. In: Proc. CPA 2007: The 30th Communicating Process Architectures Conference. Concurrent Systems Engineering Series, vol. 65, pp. 379–398. IOS Press, Amsterdam (July 2007)
Mens, T., Czarnecki, K., Gorp, P.V.: A taxonomy of model transformation. Electronic Notes Theoritical Computer Science 152, 125–142 (2006)
Oliveira, M., Cavalcanti, A., Woodcock, J.: Formal development of industrial-scale systems in circus. Innovations in Systems and Software Engineering 1(2), 125–146 (2005)
Oliveira, M., Cavalcanti, A., Woodcock, J.: A denotational semantics for circus. Electronic Notes in Theoretical Computer Science 187, 107–123 (2007); Proceedings of the 11th Refinement Workshop (REFINE 2006)
Roscoe, A.W.: The Theory and Practice of Concurrency. Prentice Hall International Series in Computer Science (1997)
Schneider, S.: The B-Method: An Introduction. Atlantic, London (2001)
Schneider, S., Treharne, H.: Csp theorems for communicating b machines. Formal Aspect of Computing 17(4), 390–422 (2005)
Spivey, J.M.: The Z Notation: A reference manual, 2nd edn. International Series in Computer Science. Prentice-Hall, Englewood Cliffs (1992)
Woodcock, J., Cavalcanti, A.: A concurrent language for refinement. In: Proc. IWFM 2001: 5th Irish Workshop on Formal Methods. BCS, Moscow (July 2001)
Woodcock, J., Cavalcanti, A.: The steam boiler in a unified theory of z and csp. In: Proc. APSEC 2001: 8th Asia-Pacific Software Engineering Conference, pp. 291–298. IEEE Computer Society, Los Alamitos (December 2001)
Woodcock, J., Cavalcanti, A.: The semantics of circus. In: Bert, D., Bowen, J.P., Henson, M.C., Robinson, K. (eds.) B 2002 and ZB 2002. LNCS, vol. 2272, pp. 184–203. Springer, Heidelberg (2002)
Woodcock, J., Davies, J.: Using Z: Specification, Refinement, and Proof. Prentice-Hall, Englewood Cliffs (1997)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2010 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Li, Q., Zhao, Y., Wu, X., Liu, S. (2010). Promoting Models. In: Qin, S. (eds) Unifying Theories of Programming. UTP 2010. Lecture Notes in Computer Science, vol 6445. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-16690-7_12
Download citation
DOI: https://doi.org/10.1007/978-3-642-16690-7_12
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-16689-1
Online ISBN: 978-3-642-16690-7
eBook Packages: Computer ScienceComputer Science (R0)