situation occurs, only the asynchronous part of the
net altered by the synchronous rule needs to be repro-
cessed; the rest of the Linear Logic proof tree will re-
main unaltered. Therefore, the analysis of the model
only happens on the modified part of the model.
4 CONCLUSIONS
This paper presented an approach to prevent dead-
lock situations in WS compositions modeled by Petri
nets. In WS Composition where the workflow mod-
ules are deadlock-free, deadlock problems can occur
at the level of a composed system (collaboration be-
tween at least two workflow modules). Generally, it
is the interface (communication places between the
workflow modules) that provokes the deadlock situa-
tion. The synchronization rule presented in this paper
implements a kind of local scheduling strategy that
guarantees that each time a message is sent, the corre-
sponding answer of the local workflow module will,
in fact, occur.
The advantages of such an approach are diverse.
The proposed method is based on the construction and
analysis of proof trees of Linear Logic that represent
scenarios of a composed system. As was shown in
(Passos and Julia, 2009), the time complexity to prove
a Linear Logic sequent that corresponds to a scenario
of a workflow process is linear. The fact of working
with Linear Logic permits the identification of com-
munication places (interface) responsible for the oc-
currence of deadlock situations. Furthermore, work-
ing with Linear Logic, it is possible to reuse unaltered
fragments of a proof tree produced before the appli-
cation of the synchronization rule i.e. the analysis of
the model is only executed on the part of the model
responsible for the deadlock.
As a future work proposal, it will be interesting to
propose a kind of quantitative analysis based on sym-
bolic dates, considering in this manner the proof trees
of Linear Logic with dates, as presented in (Riviere
et al., 2001). Such an analysis will be able to evaluate
the effect of the synchronization rule on the perfor-
mance of the system.
ACKNOWLEDGEMENTS
The authors would like to thank FAPEMIG, FAPERJ,
CNPq and CAPES for financial support.
REFERENCES
Barros, A., Dumas, M., and Oaks, P. (2005). Standards
for Web Service Choreography and Orchestration:
Status and Perspectives. In International Confer-
ence on Business Process Management, pages 61–74.
Springer.
Girard, J.-Y. (1987). Linear logic. Theoretical computer
science, 50(1):1–101.
Girault, F., Pradier-Chezalviel, B., and Valette, R. (1997).
A logic for Petri nets. Journal europ
´
een des syst
`
emes
automatis
´
es, 31(3):525–542.
Klai, K., Ochi, H., and Tata, S. (2013). Formal abstraction
and compatibility checking of Web services. In Web
Services (ICWS), 2013 IEEE 20th International Con-
ference on, pages 163–170. IEEE.
Martens, A. (2005). Analyzing Web Service Based Busi-
ness Processes. In International Conference on Fun-
damental Approaches to Software Engineering, pages
19–33. Springer.
Murata, T. (1989). Petri nets: Properties, Analysis and Ap-
plications. Proceedings of the IEEE, 77(4):541–580.
Passos, L. M. S. and Julia, S. (2009). Qualitative Analy-
sis of WorkFlow nets using Linear Logic: Soundness
Verification. In Systems, Man and Cybernetics, 2009.
SMC 2009. IEEE International Conference on, pages
2843–2847. IEEE.
Passos, L. M. S. and Julia, S. (2013). Qualitative Analy-
sis of Interorganizational WorkFlow nets using Linear
Logic: Soundness Verification. In 2013 IEEE 25th
International Conference on Tools with Artificial In-
telligence, pages 667–673. IEEE.
Passos, L. M. S. and Julia, S. (2015). Deadlock-Freeness
Scenarios Detection in Web Service Composition.
In Information Technology-New Generations (ITNG),
2015 12th International Conference on, pages 780–
783. IEEE.
Riviere, N., Pradin-Chezalviel, B., and Valette, R. (2001).
Reachability and temporal conflicts in t-time Petri
nets. In Petri Nets and Performance Models, 2001.
Proceedings. 9th International Workshop on, pages
229–238. IEEE.
van der Aalst, W. M. P. (1998). Modeling and Analyzing
Interorganizational Workflows. In International Con-
ference on Application of Concurrency to System De-
sign, pages 262–272.
van der Aalst, W. M. P., van Hee, K. M., ter Hofstede, A.
H. M., Sidorova, N., Verbeek, H. M. W., Voorhoeve,
M., and Wynn, M. T. (2011). Soundness of workflow
nets: classification, decidability, and analysis. Formal
Aspects of Computing, 23(3):333–363.
Xiong, P., Fan, Y., and Zhou, M. (2010). A Petri Net
Approach to Analysis and Composition of Web Ser-
vices. IEEE Transactions on Systems, Man, and
Cybernetics-Part A: Systems and Humans, 40(2):376–
387.
A Linear Logic based Synchronization Rule for Deadlock Prevention in Web Service Composition
323