Figure 9: Verification results.
6 CONCLUSIONS
In this paper we have proposed a systematic mapping
of UML2 sequence diagrams into the π-calculus
formalism. We have deliberately taken the choice of
the π-calculus because besides its rich theory and
background especially for systems with dynamic
structures, it is well adapted to capture the
interleaving semantics of the interactions. This allows
automatic analysis and verification of these diagrams
using π-calculus analytic tools such as the mobility
workbench (MWB). Our approach provides the
mapping of basic elements as well as the mostly used
CombinedFragments. The mechanism adopted in the
mapping is simple and effective. It is a lifeline based-
semantics; this means that the sequence diagram
behavior is described by the free merge of their
lifelines behaviors. A lifeline behavior is event-
oriented and we consider two events on the lifelines;
the receipt event and the send event. By this way, the
approach gives flexibility and clarity in the
verification task and each one who would like to use
our approach could write very expressive properties.
In our future works, we plan to extend our
approach by the translation of the rest
CombinedFragments of sequence diagrams and to
automate the mapping to maximize the potential
impact of the work.
REFERENCES
Alawneh, L., Debbabi, M., Hassaine, F., Jarraya, Y.,
Soeanu, A., 2006. A unified approach for verification
and validation of systems and software engineering
models. In ECBS, pages 409–418.
Bouabana, T., T., Rubin, S., H., 2013. An interleaving
semantics for UML 2 interactions using Petri nets.
Information Sciences, vol. 232 pp. 276–293.
Damm, W., Harel, D., 2001. LSCs: breathing life into
message sequence charts. Form. Methods Syst. Des. 19
(1) 45–80.
Dan, L., Danning, L., 2010. An Approach to Formalize
UML Sequence Diagrams in CSP. 3rd International
Conference on Computer and Electrical Engineering
(ICCEE).
Eichner, C., Fleischhack, H., Meyer, R., Schrimpf, U.,
Stehno, C., 2005. Compositional semantics for UML
2.0 Sequence Diagrams using Petri Nets. In: SDL2005:
Model Driven Systems Design. Springer, New York.
International Telecommunication Union. ITU-TS,
Recommendation Z.120, 1993. Message Sequence
Chart (MSC). ITU-TS, Geneva, September.
Knapp, A., Wuttke, J., 2006. Model checking of UML 2.0
interactions. In: Kühne, T. (ed.) Models in Software
Engineering, Workshops and Symposia at MoDELS,
Springer, New York, pp. 42–51.
Lam, V., Padget, J., 2005. Consistency Checking of
Sequence Diagrams and Statechart Diagrams Using the
π-Calculus. IFM, LNCS 3771, pp. 347–365.
Lima, V., Talhi, C., Mouheb, D., Debbabi, M., Wang, L.,
2009. Formal Verification and Validation of UML 2.0
Sequence Diagrams using Source and Destination of
Messages. Electronic Notes in Theoretical Computer
Science 254, 143–160.
Micskei, Z., Waeselynck, H., 2011. The many meanings of
UML 2 sequence diagrams: a survey. J. Softw. Syst.
Model. Springer 10 (4) 489–514.
Milner, R., 1999. Communicating and Mobile Systems:
The π-calculus. Cambridge University Press.
Object Management Group (OMG), “Unified Modeling
Language”, Superstructure, version 2.4,
http://www.omg.org/spec/UML/2.4, 2011.
Pokozy-Korenblat, K., Priami, C., 2004. Toward Extracting
π-calculus from UML Sequence and State Diagrams.
Electronic Notes in Theoretical Computer Science
vol.101 pp. 51–72.
Shen, H., Robinson, M., Niu, J., 2012. Formal analysis of
sequence diagram with combined fragments. In
ICSOFT (pp. 44-54).
Victor, B., Moller, F., 1994. The Mobility Workbench - A
Tool for the π-calculus. In D. Dill, ed., Proceedings of
the Conference on Computer-Aided Verification
(CAV'94), volume 818 of LNCS, pages 428- 440.
Springer Verlag.
ICSOFT-PT2015-10thInternationalConferenceonSoftwareParadigmTrends
94