• Aucun résultat trouvé

Modular Modeling of SMIL Documents with Complex Termination Events

N/A
N/A
Protected

Academic year: 2022

Partager "Modular Modeling of SMIL Documents with Complex Termination Events"

Copied!
2
0
0

Texte intégral

(1)

Modular Modeling of SMIL Documents with Complex Termination Events

Djaouida Dahmani1, Samia Mazouz2, and Malika Boukala1

1 MOVEP, USTHB, Algiers.

dzaouche,mboukala@usthb.dz,

2 LSI, USTHB, Algiers.

smazouz@usthb.dz

Abstract. In order to design and analyse complex real time systems, we improve the communication mechanism of Time Recursive Petri Net model that we have proposed in previous works. We have used our ex- tended model, named TimeERP N+, to check the temporal coherence of SMIL documents. This paper presents on-going work where special attention is given to thetermination eventsbetween objects having distinct time references.

This paper summarises and extends some previous results of our work aim- ing at controlling the temporal coherence of SMIL documents by using models based on Time Recursive Petri net (TimeRP N) [1]. This latter is an extension of Recursive Petri net (RP N) with time by proposing a formal methodology for the design and validation of component-based real-time systems with dynamic structure, namely TimeRP N. The modularity is inherent in Time RP N with- out any extended notation. Afterwards, we have refined Time RP N model by improving the communication mechanism between threads; the proposed version is called TimeERP N+. In TimeRP N, each thread has its own local execution context (local place marking). No communication between threads is possible, except birth and death relationship. When a threadT terminates, it aborts its whole descent of threads. OnlyT may return results to its father-thread (which gave birth to T). Therefore, all aborted threads have a silent death, exceptT. Whereas in Time ERP N+, communications between threads are enriched by means of shared context (global places). Furthermore, any thread has the abil- ity to report its death, contrary to TimeRP N, where some threads have silent death. Moreover, finitude, accessibility and boundness of TimeERP N+are de- cidable.

A multimedia document SMIL is a collection of media. A media may be (i) basic as an image, a video, a text or an hyper-link, or (ii) composite as a par (resp.seq) object which plays in parallel (resp. seq) a set of media, considered as its children. The temporal behaviour of a media is described by a set of temporal attributes. For instance,beginandendattributes define respectively the begin- ning and ending times of a media; it can be a known value or a synchronisation

(2)

event (e.g. end(media1) = end(media2) means that media1 must terminate whenmedia2 terminates). Author, who is in charge of creating such document, can incrementally add, modify or remove any temporal relation. Therefore, his document may become incoherent. Research in the field of temporal consistency verification of multimedia documents covers several aspects : verification at au- thoring stage, designing schedulers which handle synchronisation at player level and so on. Our approach focuses on temporal consistency verification of multi- media documents at authoring stage [2].

A SMIL document is translated into a Time ERP N+, used to check its temporal coherence. To each SMIL media (basic or composite), a time sub- ERP N+is associated as a simulation support. Furthermore, the transitions of the sub-net are constrained by temporal intervals which are deduced from the temporal attributes of the media. Also an abstract transition is attached to the media and viewed as its interface. A firing of the media interface allows to launch one media simulation occurrence by creating a thread which will play such a simulation. In a previous work [2], we have modeled simple synchronisation eventbetween children of a same parent media. For this purpose, local places are used within the sub-net associated with the parent media. Furthermore a simple synchronisation event is played by the parent thread and no need to global places. In second time, we have tackled media having distinct parents but we have only considered relations such as begin(media1) =begin(media2) +t or begin(media1) =end(media2) +t. We have shown that the timeERP N+ model is more suitable for such a synchronisation, characterized as complex, in fact it allows to maintain the compactness of our modeling [3]. In this paper, we consider terminate events such asend(media1) =begin(media2) +tor (ii) end(media1) =end(media2) +tand explain briefly its modeling. It consists in adding a time sub-ERP N+ which is played by the initial thread. The parent thread ofmedia2 puts a token in a global place as soon asmedia2 (i) starts or (ii) terminates. Afterttime units, the initial thread marks a second global place which will force the end of the thread playingmedia1. Thanks to global places and the new communication concept of timeERP N+, our modeling is modular and reflects the structure of a SMIL document.

References

1. D. Dahmani, JM. Ili´e, and M. Boukala. Time recursive PetriNets. InTransactions on Petri Nets and Other Models of Concurrency, volume 1, pages 104–118. Springer Verlag, 2008.

2. D. Dahmani, S. Mazouz, and M. Boukala. Modular Modeling and Analyzing of Multimedia Documents with Repetitive Objects. In5th International Conference on Computer Science and Information Technology (CSIT’13), pages 308–316, Amman, Jordan, March 2013. IEEEXplore digital library.

3. D. Dahmani, S. Mazouz, and M. Boukala. Efficient and Modular Modeling of Hi- erarchical Multimedia Objects by Using Time ERPN+. In4th International Con- ference on Multimedia Computing and Systems (ICMCS’14), Marrakesh, Morocco, April 2014. IEEE Catalog Number : CFP-14050-CDR.

336 PNSE’14 – Petri Nets and Software Engineering

Références

Documents relatifs

(Не случаен, ведь, тот факт, что королевна родилась на башне: она вообще не подвержена искушениям нижнего мира, и поэтому, когда нисходит с башни для исполнения

Managers set themselves a goal of maximum growth of the firm in the medium and long term (profit being only the means of accumulation) while shareholders seek the highest

We employ for the first module metadata commonly used to annotate information semantically, and for the second we solicit languages of Semantic Web such as RDF, OWL and SPARQL

During this 1906 visit, Rinpoche’s father met the 8 th Khachoed Rinpoche, Drupwang Lungtok Tenzin Palzangpo of Khachoedpalri monastery in West Sikkim, and from

We give a crossed product con- struction of (stabilized) Cuntz-Li algebras coming from the a-adic numbers and investigate the structure of the associated algebras.. In particular,

The unitary maps ϕ 12 will be very useful in the study of the diagonal action of U(2) on triples of Lagrangian subspaces of C 2 (see section 3).. 2.4

We also would like to highlight the fact that global solutions of the type men- tioned above, i.e., infinite time blow-up and flattening, have been constructed in the case of the

More precisely, he says the following: there exists non-real eigenvalues of singular indefinite Sturm-Liouville operators accumulate to the real axis whenever the eigenvalues of