handling of exceptions as well as when they occur.
In UML, a ‘Signal’ is a metaclass defined as a
specification of an asynchronous stimulus
communicated between instances. An ‘exception’ is
a special ‘Signal’ occurring with fault stimulus such
as the violation of a preconditional or range
invariant (OMG 1998). Douglass (Douglass 1999)
had suggested the extended sequence diagrams that
represent an exception handling. From his
suggestion, a message stereotyped with ‘exception’
represents exceptional behaviours in embedded
software. The exception message is limited to
express negative scenario exception only.
6 CONCLUSION
In this paper, we presented an approach to extending
UML 2.0 sequence diagrams to model unexpected
behaviours of embedded software. Based on the
profile, we added modelling notations into UML 2.0
sequence diagrams in order to describe unexpected
behaviours in embedded software. Interrupts and
exceptions frequently occur under the operation of
embedded software. To model such unexpected
behaviours, we used new interaction operators ‘try’
and ‘interrupt’ for handling exceptions and
interrupts. The extensions in this paper help
modelers design embedded software clearly,
intuitively, and correctly.
There are some features to be considered.
Interrupts and exceptions could be lost during the
occurrences of other interrupts and exceptions. They
should be handled during other events. However, our
extensions could not cover those. It should be
controlled or handled by operating the system level.
Our final goal is the application of our
extensions to embedded software modelling for
multi-processor SoC platform. Sequence diagrams
for a multiprocessor system are more complex than
those of a single processor system. We are under
research about the modelling of unexpected
behaviours of embedded software that are executed
on multi-processor system.
ACKNOWLEDGEMENTS
This work was supported in part by IT Leading
R&D Support Project funded by Ministry of
Information and Communication, Republic of Korea
and support program supervised by the
IITA(Institute of Information Technology
Assessment).
REFERENCES
Douglass, B.P., 2004 Real-Time UML 3rd edition,
Addison-Wesley.
ITU, 1999. ITU Z.120, in Message Sequence Chart(MSC),
ITU-T: Geneva. p.126.
Mauw, S., Reniers, M.A., and Willemse, T.A.C., 2000.
“Message Sequence Charts in the Software
Engineering Process”, Computing Science Reports 00-
12, Department of Computing Science, Eindhoven
University of Technology
Damm, W., and Harel, D., 2001, “LSCs: Breathing Life
into Message Sequence Charts”, Formal Methods in
System Design.
Haugen, O., 2004, “Comparing UML 2.0 Interactions and
MSC-2000”, In Proceedings of SAM: SDL and MSC
fourth International Workshop, LNCS 3319.
Haugen O., 2001, “MSC-200 interaction diagrams for the
new millennium” Computer Networks, Volume 35,
Issue 6, May 2001.
Eriksson, H., Penker, M., Lyons B., and Fado, D., 2003,
UMLTM 2 Toolkit, Wiley.
Storrle, H., 2004, Semantics of Exceptions in UML 2.0
Activities, Technical Report, University of Munich.
Goodenough, J.B., 1975 “Structured exception handling”,
In Proceedings of the 2nd ACM SIGACTSIGPLAN
symposium on Principles of programming languages,
204-224, January, 1975, Palo Alto, California.
Strohmeier, A., Chachkov, S., 2001, “A side-by-side
comparison of exception handling in Ada and Java”,
ACM SIGAda Ada Letters, Volumn XXI, Issue 3.
OMG, 2004. UML 2.0 Superstructure Specification, Doc.
Ptc 04-10-02, Object Management Group October 8,
2004, from :
http://www.omg.org
H.J.Lee., 2006, “Exception and Interrupt Modelling in
UML 2.0 Sequence Diagrams for Embedded Software
Development”, Masters’ Thesis, KAIST KOREA.
Huget, M.P., 2003, “Extending Agent UML Sequence
diagrams”, AOSE 2003, LNCS 2586, 150-161.
OMG, 1998, UML Semantics Version 1.2, Object
Management Group from
http:///www.omg.org
Douglass, B., 1999, Doing Hard Time : Developing Real-
Time Systems with UML, Objects, Frameworks, and
Patterns, Addison-Wesley.
ICSOFT 2006 - INTERNATIONAL CONFERENCE ON SOFTWARE AND DATA TECHNOLOGIES
262