Abstract
There is a growing need to introduce and develop formal techniques for computational models capable of faithfully modelling systems of high complexity and concurrent. Such systems are the ambient intelligent systems. This article proposes an efficient framework for the automated modelling and verification of the behavioural models capturing daily activities that occur in ambient intelligent systems based on the modularity and compositionality of Petri nets. This framework consists of different stages that incorporate Petri net techniques like composition, transformation, unfolding and slicing. All these techniques facilitate the modelling and verification of the system activities under consideration by allowing the modelling in different Petri net classes and the verification of the produced models either by using model checking directly or by applying Petri net slicing to alleviate the state explosion problem that may emerge in very complex behavioural models. Illustrative examples of ambient intelligent system applied to health and other sectors are provided to demonstrate the practicality and effectiveness of the proposed approach. Finally, to show the flexibility of the proposed framework in terms of verification, both an evaluation and comparison of the state space required for the property checking are conducted with respect to the typical model checking and slicing approach respectively.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
For further reading, the APN and T-APN semantics are provided in [25].
- 2.
The inscriptions are presented in terms of colour sets.
- 3.
Guards are applied to all the transitions, but it is considered that every \(t \in T_{NG}\) is a transition with ‘no guard’ since as its enabledness is not affected by the guard value, which is constantly set to true.
- 4.
These tasks are usually parts/steps of assisted living activities.
- 5.
The notation can be extended to: \(p \in {}^\bullet \epsilon \) and \(p \in \epsilon ^\bullet \).
- 6.
So now the user executing some existing transition \(t \in g_2^\bullet \) in \(\mathcal {N}'\) will not be able to proceed without ‘taking the instructions’ from the system following the execution of transition \(t_s\).
- 7.
In the definition of backward composition, as in Definition 5, \(\mathcal {N}\) is a general APN net.
- 8.
\(p_s\) and \(p_f\) are the starting and finishing places of \(\mathcal {N}_3\).
- 9.
Composed out of n basic or one step nets and a root net.
- 10.
An inhibitor place is always a control place but not the other way around.
- 11.
If it is considered that its only step place, e.g., \(p^0\), is both starting and finishing place of \(\epsilon \).
- 12.
\(T_G\) consists of all those transitions of the T-APN net that are associated with transitions of the APN net that have inhibitor places. The remaining transitions of the T-APN net belong to \(T_{NG}\).
- 13.
The last case is a special case of the first one.
- 14.
This happens to maintain the behaviour of \(\mathcal {N}\) in the T-APN net \(\varphi (\mathcal {N})\).
- 15.
From Definition 10(ii) and Equation \((\star )\) follows that \(T_{STEP} = T_G\) and \(T_{EM} \cup T_R = T_{NG}\).
- 16.
Informally, reading transitions do not change the marking of a net place, while non-reading transitions can change it [33].
- 17.
Neutral transitions remove and add the same no. of tokens from and to its incoming and outgoing place respectively [20].
- 18.
SLiM reads/exports unfolded nets using the Petri Net Markup Language (PNML) defined by the standard ISO/IEC 15909.
- 19.
The case studies and properties can be found in [27].
References
Anisimov, N., Kovalenko. A.: Asynchronous composition of petri nets via places. In: Proceedings of 2nd AP Ershov International Memorial Conference on Perspectives of System Informatics, pp. 214–219 (1996)
Augusto, J.C.: Ambient intelligence: the confluence of ubiquitous/pervasive computing and artificial intelligence, pp. 213–234. Springer, London (2007). https://doi.org/10.1007/978-1-84628-943-9_11
Augusto, J.C.: Ambient intelligence: Basic concepts and applications. In Filipe, J., Shishkov, B., Helfert, M., (eds.) Software and Data Technologies, pp. 16–26 (2008)
Augusto, J.C.: Past, present and future of ambient intelligence and smart environments. In: Filipe, J., Fred, A., Sharp, B., (eds.) Agents and Artificial Intelligence, pp. 3–15 (2010)
Baldan, P., Haar, S., König, B.: Distributed unfolding of petri nets. In: Foundations of Software Science and Computation Structures, pp. 126–141 (2006)
Binkley, D.: The application of program slicing to regression testing. Inf. Softw. Technol. 40(11), 583–594 (1998)
Binkley, D.W., Gallagher, K.B.: Program slicing, volume 43. Advances in Computers, pp. 1–50. Elsevier (1996)
Bonet, B., Haslum, P., Hickmott, S., Thiébaux, S.: Directed unfolding of petri nets. Trans. Petri Nets Other Mod. Concurrency I, 172–198 (2008)
Cardelli, L., Gordon, A.D.: Mobile ambients. Theoret. Comput. Sci. 240(1), 177–213 (2000)
Chang, J., Richardson, D.: Static and dynamic specification slicing. In: Proceedings of the Fourth Irvine Software Symposium (1994)
Cook, D.J., Crandall, A.S., Thomas, B.L., Krishnan, N.C.: Casas: A smart home in a box. Computer 46(7), 62–69 (2013)
Garcia-Constantino, M., Konios, A., Nugent, C.: Modelling activities of daily living with petri nets. In: 2018 IEEE International Conference on Pervasive Computing and Communications Workshops (PerCom Workshops), pp. 866–871 (March 2018)
Harrison, M.D., Kray, C., Sun, Z., Zhang, H.: Factoring user experience into the design of ambient and mobile systems. In: Engineering Interactive Systems, pp. 243–259 (2008)
Harrison, M.D., Massink, M.: Modelling interactive experience, function and performance in ubiquitous systems. Electron. Notes Theoret. Comput. Sci. 261, 23–42 (2010)
Hayman, J., Winskel, G.: The unfolding of general Petri nets. In: IARCS Annual Conference on Foundations of Software Technology and Theoretical Computer Science, vol. 2. Leibniz International Proceedings in Informatics (LIPIcs), pp. 223–234 (2008)
Iliasov, A., Romanovsky, A., Arief, B., Laibinis, L., Troubitsyna, E.: On rigorous design and implementation of fault tolerant ambient systems. In: 10th IEEE International Symposium on Object and Component-Oriented Real-Time Distributed Computing, pp. 141–145 (2007)
Jing, Y., Eastwood, M., Tan, B., Konios, A., Hamid, A., Collinson, M.: An intelligent well-being monitoring system for residents in extra care homes. In: Proceedings of the 1st International Conference on Internet of Things and Machine Learning, IML 2017, pp. 8:1–8:6 (2017)
Khan, Y.: Slim - a slicing tool. https://bit.ly/2GAGwO1
Khan, Y.I.: Optimizing verification of structurally evolving algebraic petri nets. In: Gorbenko, A., Romanovsky, A., Kharchenko, V. (eds.) SERENE 2013. LNCS, vol. 8166, pp. 64–78. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-40894-6_6
Khan, Y., Guelfi, N.: Slicing high-level petri nets. In: International Workshop on Petri Nets and Software Engineering (PNSE 2014), pp. 201–220 (2014)
Khan, Y.I., Konios, A., Guelfi, N.: A survey of petri nets slicing. ACM Comput. Surv. 51(5), 109:1–109:32 (2018)
Khomenko, V., Koutny, M.: Towards an efficient algorithm for unfolding petri nets. In: Larsen, K.G., Nielsen, M. (eds.) CONCUR 2001. LNCS, vol. 2154, pp. 366–380. Springer, Heidelberg (2001). https://doi.org/10.1007/3-540-44685-0_25
Konios, A.: Ambient systems and taxonomy approaches. Technical report, CS-TR-1281, School of Computing Science, Newcastle University (2011)
Konios, A.:Modelling ambient systems with petri nets. In: Proceedings of the 13th International Conference on Application of Concurrency to System Design (ACSD), pp. 247–251 (2013)
Konios, A.: Modelling and Verification of Ambient Systems using Petri Nets. PhD thesis (2015)
Konios, A., Jing, Y., Eastwood, M., Tan, B.: Unifying and analysing activities of daily living in extra care homes. In: 2018 IEEE 16th Intl Conf on Dependable, Autonomic and Secure Computing, 16th International Conference on Pervasive Intelligence and Computing, 4th International Conference on Big Data Intelligence and Computing and Cyber Science and Technology Congress(DASC/PiCom/DataCom/CyberSciTech), pp. 474–479 (2018)
Konios, A., Khan, Y.I.: Modelling and verification of activities in ambient intelligent systems. https://bit.ly/2O58iXg
Konios, A., Pietkiewicz-Koutny, M.: Modelling ambient systems with coloured petri nets. Technical report, School of Computing Science, Newcastle University (2013)
Korel, B., Laski, J.: Dynamic slicing of computer programs. J. Syst. Softw. 13(3), 187–195 (1990)
Lee, W., Kim, H., Cha, S., Kwon, Y.: A slicing-based approach to enhance petri net reachability analysis. J. Res. Pract. Inform. Technol. 32, 131–143 (2000)
Liu, F., Heiner, M., Yang, M.: An efficient method for unfolding colored petri nets. In: Proceedings of the 2012 Winter Simulation Conference (WSC), pp. 1–12 (2012)
Llorens, M., Oliver, J., Silva, J., Tamarit, S., Vidal, G.: Dynamic slicing techniques for petri nets. Electron. Notes Theor. Comput. Sci. 223, 153–165 (2008)
Rakow, A.: Safety slicing petri nets. In: Haddad, S., Pomello, L. (eds.) PETRI NETS 2012. LNCS, vol. 7347, pp. 268–287. Springer, Heidelberg (2012). https://doi.org/10.1007/978-3-642-31131-4_15
Reisig, W.: Simple composition of nets. In: Proceedings of Applications and Theory of Petri Nets: 30th International Conference, PETRI NETS 2009, pp. 23–42 (2009)
Silva, Ó. J.L., Ribeiro, R., Fernandes, J.M., Campos, J.C., Harrison, M.D.: The apex framework: Prototyping of ubiquitous environments based on petri nets. In: Human-Centred Software Engineering, pp. 6–21 (2010)
Valmari, A.: Stubborn sets for reduced state space generation. Adv. Petri Nets 1990, 491–515 (1991)
Want, R., Pering, T.: System challenges for ubiquitous & pervasive computing. In: Proceedings of the 27th International Conference on Software Engineering, ICSE 2005, pp. 9–14 (2005)
Weiser, M.: Program slicing. In: Proceedings of the 5th International Conference on Software Engineering, ICSE 1981, pp. 439–449 (1981)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Konios, A., Khan, Y.I., Garcia-Constantino, M., Lopez-Nava, I.H. (2023). A Modular Framework for Modelling and Verification of Activities in Ambient Intelligent Systems. In: Duffy, V.G. (eds) Digital Human Modeling and Applications in Health, Safety, Ergonomics and Risk Management. HCII 2023. Lecture Notes in Computer Science, vol 14029. Springer, Cham. https://doi.org/10.1007/978-3-031-35748-0_35
Download citation
DOI: https://doi.org/10.1007/978-3-031-35748-0_35
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-031-35747-3
Online ISBN: 978-3-031-35748-0
eBook Packages: Computer ScienceComputer Science (R0)