Abstract
UML 2.0, like UML 1.x, provides only a set of notations for specifying different aspects of a system. The problem of checking consistency between various types of models in software development is still not fully addressed. In this paper, we suggest the use of an algebraic approach for verifying whether consistency between sequence diagrams and statechart diagrams is preserved. First, statechart diagrams are encoded in the π-calculus. Then, each object in a sequence diagram is translated into its equivalent π-calculus definitions and verified against the corresponding statechart diagram represented in the π-calculus using the Mobility Workbench. The applicability of the proposed approach is illustrated with an agent-based payment protocol.
Preview
Unable to display preview. Download preview PDF.
Similar content being viewed by others
References
Dumond, Y., Girardet, D., Oquendo, F.: A relationship between sequence and statechart diagrams. In: UML 2000 (2000); http://www.disi.unige.it/person/ReggioG/UMLWORKSHOP/Girardet.pdf , (accessed August 12, 2005)
Engels, G., Hausmann, J., Heckel, R., Sauer, S.: Testing the consistency of dynamic UML diagrams. In: IDPT 2002 (2002), http://wwwcs.upb.de/cs/ag-engels/Papers/2002/EngelsHHS-IDPT02.pdf , (accessed February 9, 2005)
Engels, G., Heckel, R., Küster, J.M., Groenewegen, L.: Consistency-preserving model evolution through transformations. In: Jézéquel, J.-M., Hussmann, H., Cook, S. (eds.) UML 2002. LNCS, vol. 2460, pp. 212–227. Springer, Heidelberg (2002)
Engels, G., Küster, J.M., Heckel, R., Groenewegen, L.: A methodology for specifying and analyzing consistency of object-oriented behavioral models. In: ESEC/SIGSOFT FSE 2001, pp. 186–195. ACM Press, New York (2001)
Engels, G., Küster, J.M., Heckel, R., Groenewegen, L.: Towards consistency-preserving model evolution. In: Proceedings of the International Workshop on Principles of Software Evolution, pp. 129–132. ACM Press, New York (2002)
Khriss, I., Elkoutbi, M., Keller, R.: Automating the synthesis of UML statechart diagrams from multiple collaboration diagrams. In: Bézivin, J., Muller, P.-A. (eds.) UML 1998. LNCS, vol. 1618, pp. 132–147. Springer, Heidelberg (1999)
Lam, V.S.W., Padget, J.: Consistency checking of statechart diagrams of a class hierarchy. In: Black, A.P. (ed.) ECOOP 2005. LNCS, vol. 3586, pp. 412–427. Springer, Heidelberg (2005)
Lam, V.S.W., Padget, J.: An integrated environment for communicating UML statechart diagrams. In: Proceedings of 3rd ACS/IEEE International Conference on Computer Systems and Applications (to appear)
Lam, V.S.W., Padget, J.: On execution semantics of UML statechart diagrams using the π-calculus. In: Proceedings of the International Conference on Software Engineering Research and Practice, pp. 877–882. CSREA Press (2003)
Lam, V.S.W., Padget, J.: Formal specification and verification of the SET/A protocol with an integrated approach. In: Proceedings of 2004 IEEE International Conference on E-Commerce Technology, pp. 229–235. IEEE Computer Society, Los Alamitos (2004)
MasterCard and VISA. SET Secure Electronic Transaction Books 1–3 (May 1997)
Milner, R.: The polyadic π-calculus: A tutorial. In: Logic and Algebra of Specification, Proceedings of International NATO Summer School, vol. 94, pp. 203–246. Springer, Heidelberg (1993)
Milner, R.: Communicating and Mobile Systems: the π-Calculus. Cambridge University Press, Cambridge (1999)
Milner, R., Parrow, J., Walker, D.: A calculus of mobile process (Parts I and II). Information and Computation 100, 1–77 (1992)
OMG. OMG Unified Modeling Language specification version 1.5 (March 2003), http://www.omg.org , (accessed January 20, 2005)
OMG. UML 2.0 superstructure specification (August 2003), http://www.omg.org , (accessed January 20, 2005)
Parrow, J.: An introduction to the π-calculus. In: Bergstra, A., Ponse, J.A., Smolka, S.A. (eds.) Handbook of Process Algebra, vol. ch. 8, pp. 479–543. Elsevier Science, Amsterdam (2001)
Quaglia, P.: The π-calculus: Notes on labelled semantics. Bulletin of the EATCS 68 (June 1999)
Romão, A., da Silva, M.M.: An agent-based secure internet payment system for mobile computing. In: Lamersdorf, W., Merz, M. (eds.) TREC 1998. LNCS, vol. 1402, pp. 80–93. Springer, Heidelberg (1998)
Sangiorgi, D.: A theory of bisimulation for the π-calculus. In: Best, E. (ed.) CONCUR 1993. LNCS, vol. 715, pp. 127–142. Springer, Heidelberg (1993)
Tsiolakis, A., Ehrig, H.: Consistency analysis between UML class and sequence diagrams using attributed graph gammars. In: Proceedings of GraTra 2000 - Joint APPLIGRAPH and GETGRATS Workshop on Graph Transformation Systems, pp. 77–86 (2000)
Van Der Straeten, R., Mens, T., Simmonds, J., Jonckers, V.: Using description logic to maintain consistency between UML models. In: Stevens, P., Whittle, J., Booch, G. (eds.) UML 2003. LNCS, vol. 2863, pp. 326–340. Springer, Heidelberg (2003)
Victor, B.: A Verification Tool for the Polyadic π-Calculus. Department of Computer Systems, Uppsala University, Licentiate thesis (1994)
Victor, B., Moller, F.: The mobility workbench: A tool for the π-calculus. In: Dill, D.L. (ed.) CAV 1994. LNCS, vol. 818, pp. 428–440. Springer, Heidelberg (1994)
Whittle, J., Schumann, J.: Generating statechart designs from scenarios. In: Proceedings of the 22nd International Conference on Software Engineering, pp. 314–323 (2000)
Ziadi, T., Hélouët, H., Jézéquel, J.-M.: Revisiting statechart synthesis with an algebraic approach. In: Proceedings of the 26th International Conference on Software Engineering, pp. 242–251 (2004)
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2005 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Lam, V.S.W., Padget, J. (2005). Consistency Checking of Sequence Diagrams and Statechart Diagrams Using the π-Calculus. In: Romijn, J., Smith, G., van de Pol, J. (eds) Integrated Formal Methods. IFM 2005. Lecture Notes in Computer Science, vol 3771. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11589976_20
Download citation
DOI: https://doi.org/10.1007/11589976_20
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-30492-0
Online ISBN: 978-3-540-32240-5
eBook Packages: Computer ScienceComputer Science (R0)