called Strong State Class Graph (SSCG) (Berthomieu
and Vernadat, 2003). RT-Studio allows to construct
several abstractions
7
of state spaces for TPNs suit-
able to verify Reachability, but also linear and
branching properties.
We used RT-Studio tool to compute the state
space graph to preserve Linear Temporal Logic (LTL)
and branching properties (CTL*) of the simulated TPN
model shown in Figure. 6. This TPN model compo-
nents in line with our motivation example: cameras
broadcasting real-time images to a private cloud for
storage purpose consists of one instance of : the con-
troller model (cr), the limited resource model (pr
1
),
the limited but renewable resource model (pr
2
), and
the shareable resource model (pr
3
). These com-
ponents are synchronized on transitions to simu-
late (pr
1
,l) sequential ((pr
2
,lr) concurrent (pr
3
,s))
schema. An initial capacity and time interval are asso-
ciated with each resource. The controlSuspension
admits 3 suspensions for both pr
1
and pr
2
while
it allows 4 suspensions for pr
3
. The latter is
shared between app1 (englobing the Lambda func-
tion) and app2 which requires that pr
3
’s number of
concurrent customers restricted to only 2. The gener-
ated SSCG can be used as starting point in a refinement
process to generate Atomic State Class Graph (ASCG)
allowing to preserve branching properties (CTL*) of
the TPN model.
7 CONCLUSION
This paper examines the modeling and analysis of
composite resources consumption consisting of sev-
eral primitive (and even composite) resources ar-
ranged sequentially and/or concurrently. During re-
sources consumption, disruptions could arise lead-
ing to potential concerns like the suspension of on-
going business operations, which is not a “pleas-
ant” situation for organizations. To mitigate such
a situation, we resorted to using TPN to capture
composite resources’ consumption cycles according
to their primitive resources’ consumption properties
specialised into unlimited, shareable, limited, limited-
but-renewable, and non-shareable. Along this TPNs
modeling, we used RT-Studio to verify composite re-
sources’ reachability, boundedness, fairness, and live-
ness properties. In term of future work, we would like
to ensure the correctness of composite resources’ con-
sumption cycles through model checking.
7
SSCG and ASCG for interval characterization and Con-
crete State Zone Graph (CSZG) for clock characterization.
REFERENCES
Berthomieu, B. and Diaz, M. (1991). Modeling and Veri-
fication of Time Dependent Systems using Time Petri
Nets. IEEE Transactions on Software Engineering,
17(3):259–273.
Berthomieu, B. and Vernadat, F. (2003). State class con-
structions for branching analysis of time petri nets. In
Garavel, H. and Hatcliff, J., editors, Tools and Algo-
rithms for the Construction and Analysis of Systems,
pages 442–457, Berlin, Heidelberg. Springer.
DZone (https://dzone.com/guides/iot-applications-
protocols-and-best-practices, 2017 (visited in
March 2021)). IoT: Application, Protocols, and Best
Practices. Technical report, DZone.
Hadjidj, R. and Boucheneb, H. (2013). RT-Studio: A Tool
for Modular Design and Analysis of Realtime Sys-
tems Using Interpreted Time Petri Nets. In Joint Pro-
ceedings of PNSE’2013 and ModBE’2013, volume
989 of CEUR Workshop Proceedings, pages 247–254,
Milan, Italy. CEUR-WS.org.
Knuth, D. E. (1964). Backus Normal Form vs. Backus Naur
Form. Communications of the ACM, 7(12):735–736.
Li, Z., Wen, L., Liu, J., Jia, Q., Che, C., Shi, C., and Cai,
H. (2020). Fog and Cloud Computing Assisted IoT
Model Based Personal Emergency Monitoring and
Diseases Prediction Services. Computing and Infor-
matics, 39(1):5–27.
Maamar, Z., Sellami, M., and Masmoudi, F. (2021). A
Transactional Approach to Enforce Resource Avail-
abilities: Application to the Cloud. In Proceedings of
RCIS’2021, volume 415 of Lecture Notes in Business
Information Processing, pages 249–264, Cyprus (on-
line). Springer.
Merlin, P. and Farber, D. (1976). Recoverability of Com-
munication Protocols - Implications of a Theoreti-
cal Study. IEEE Transactions on Communications,
24(9):1036–1043.
Peterson, J. (1977). Petri Nets. ACM Computing Surveys,
9(3):223–252.
Ren, J., Guo, H., Xu, C., and Zhang, Y. (2017). Serv-
ing at the Edge: A Scalable IoT Architecture Based
on Transparent Computing. IEEE Network, 31(5):96–
105.
Weiser, M. (1991). The Computer for the 21st Century.
Scientific American, 265(3):66–75.
ENASE 2022 - 17th International Conference on Evaluation of Novel Approaches to Software Engineering
250