for this application. Indeed, the Priority Ceiling Pro-
tocol (PCP) (OSEK/VDX Group, 2005) should have
been chosen to remedy this situation during the de-
ployment.
We have exposed the deadlock case but other be-
havioral properties could have been tested. For in-
stance we could deal with liveness properties such
as termination of actions, occurency of expected
events... But we could also handle time constraints
such as Worst-Case Execution Time (WCET), respect
of a deadline...
6 LIMITS
This experimentation has showed the feasability of
generating a formal model to observe the behavior
of the application deployed on a RTOS. Nonetheless,
the behavior of some of concepts (the notification re-
sources such as the events or the communication re-
sources such as the messages...) are not yet taken into
account within RTEPML
BEHAVIOR. As a result, an
optimization of the latter modeling language must be
widened in order to cover such concepts.
Another limit raised is the interpretation of other
formalisms to model the behavior during the deploy-
ment. Only TPNs have been presented through our
strategy but the implementation of other formal lan-
guages deserves to be examined.
Lastly, a deadlock has been detected during the
deployment. It has been deduced that the deploy-
ment was not correct. That being so, this decision
does not affect the correspondence between the ap-
plication and the targeted RTOS. Indeed, a proto-
col changement (Priority Ceiling Protocol (nxtOSEK,
2009) (OSEK/VDX Group, 2005)) is just sufficient to
prove it. This leads us to say that the framework does
should integrate decision support tools for guiding the
experts involved in the RTOS choice.
7 CONCLUSIONS
Through this study, a methodology has been pre-
sented to consider the behavior of a real-time execu-
tion software platform (RTOS) during an application
deployment. The deployment which enables to im-
plement an application on a specific RTOS, has been
moved at design phase. The purpose of this choice
is to enable the different specialists to intervern more
easily on the deployment following its domain. In-
deed, thanks to the modeling with RTEPML and the
MDE approach, the separation of concerns (applica-
tion and RTOS) has been made explicit.
The description of the RTOSs behavior has
been made feasible by enriching RTEPML
(RTEPML
BEHAVIOR). In addition, each be-
havioral model can be formally described. A
transformation has been developed to generate a
formal model of the deployed application. The
formalization has the advantage of applying V&V
activities for checking the correctness of the deploy-
ment, even before generating the code useful to the
implementation of the application.
However, certain limits of our methodology have
arisen. Future prospects are the subject of our next
works to improveand to check the feasibility of such a
strategy. In accordance to the previous section, the be-
havioral concepts missing in RTEPML
BEHAVIOR
will have to be created. Then, to ensure the genericity
of the formalisation, other languages will have to be
interpreted. Finally, a large number of formal proofs
will have to be written within our framework. This
should contribute to the verification of necessary and
sufficient conditions for validating such deployments.
REFERENCES
Berthomieu, B., Bodeveix, J.-P., Dal Zilio, S., Dissaux, P.,
Filali, M., Gaufillet, P., Heim, S., and Vernadat, F.
(2010). Formal Verification of AADL models with
Fiacre and Tina. In ERTSS 2010 - Embedded Real-
Time Software and Systems, pages 1–9, TOULOUSE
(31000), France. 9 pages DGE Topcased.
Berthomieu, B., Ribet, P.-O., and Vernadat, F. (2004). The
tool tina – construction of abstract state spaces for
Petri nets and time Petri nets. International Journal
of Production Research, 42(4).
Boyer, M. and Roux, O. H. (2008). On the compared ex-
pressiveness of arc, place and transition time Petri
nets. Fundamenta Informaticae, 88(3):225–249.
Brun, M. and Delatour, J. (2011). Contribution on the soft-
ware execution platform integration during an appli-
cation deployment process. First Topcased Day.
Davis, J. (2003). GME: the Generic Modeling Environ-
ment. In OOPSLA ’03: Companion of the 18th an-
nual ACM SIGPLAN conference on Object-oriented
programming, systems, languages, and applications,
pages 82–83, New York, NY, USA. ACM.
Gardey, G., Lime, D., Magnin, M., and Roux, O. H. (2005).
Rom´eo: A tool for analyzing time Petri nets. In 17th
International Conference on Computer Aided Verifi-
cation (CAV’05), volume 3576 of Lecture Notes in
Computer Science, pages 418–423, Edinburgh, Scot-
land, UK. Springer.
Lee, E. A. (2003). Overview of the Ptolemy project. Tech-
nical Report UCB/ERL M03/25, EECS Department,
University of California, Berkeley.
Lime, D., Roux, O. H., Seidner, C., and Traonouez, L.-M.
(2009). Romeo: A parametric model-checker for Petri
FormalBehavioralModelingofReal-timeOperatingSystems
413