Skip to main content

A Modular Framework for Modelling and Verification of Activities in Ambient Intelligent Systems

  • Conference paper
  • First Online:
Digital Human Modeling and Applications in Health, Safety, Ergonomics and Risk Management (HCII 2023)

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 14029))

Included in the following conference series:

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.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    For further reading, the APN and T-APN semantics are provided in [25].

  2. 2.

    The inscriptions are presented in terms of colour sets.

  3. 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. 4.

    These tasks are usually parts/steps of assisted living activities.

  5. 5.

    The notation can be extended to: \(p \in {}^\bullet \epsilon \) and \(p \in \epsilon ^\bullet \).

  6. 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. 7.

    In the definition of backward composition, as in Definition 5, \(\mathcal {N}\) is a general APN net.

  8. 8.

    \(p_s\) and \(p_f\) are the starting and finishing places of \(\mathcal {N}_3\).

  9. 9.

    Composed out of n basic or one step nets and a root net.

  10. 10.

    An inhibitor place is always a control place but not the other way around.

  11. 11.

    If it is considered that its only step place, e.g., \(p^0\), is both starting and finishing place of \(\epsilon \).

  12. 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. 13.

    The last case is a special case of the first one.

  14. 14.

    This happens to maintain the behaviour of \(\mathcal {N}\) in the T-APN net \(\varphi (\mathcal {N})\).

  15. 15.

    From Definition 10(ii) and Equation \((\star )\) follows that \(T_{STEP} = T_G\) and \(T_{EM} \cup T_R = T_{NG}\).

  16. 16.

    Informally, reading transitions do not change the marking of a net place, while non-reading transitions can change it [33].

  17. 17.

    Neutral transitions remove and add the same no. of tokens from and to its incoming and outgoing place respectively [20].

  18. 18.

    SLiM reads/exports unfolded nets using the Petri Net Markup Language (PNML) defined by the standard ISO/IEC 15909.

  19. 19.

    The case studies and properties can be found in [27].

References

  1. 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)

    Google Scholar 

  2. 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

  3. 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)

    Google Scholar 

  4. 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)

    Google Scholar 

  5. Baldan, P., Haar, S., König, B.: Distributed unfolding of petri nets. In: Foundations of Software Science and Computation Structures, pp. 126–141 (2006)

    Google Scholar 

  6. Binkley, D.: The application of program slicing to regression testing. Inf. Softw. Technol. 40(11), 583–594 (1998)

    Article  Google Scholar 

  7. Binkley, D.W., Gallagher, K.B.: Program slicing, volume 43. Advances in Computers, pp. 1–50. Elsevier (1996)

    Google Scholar 

  8. Bonet, B., Haslum, P., Hickmott, S., Thiébaux, S.: Directed unfolding of petri nets. Trans. Petri Nets Other Mod. Concurrency I, 172–198 (2008)

    Article  MathSciNet  MATH  Google Scholar 

  9. Cardelli, L., Gordon, A.D.: Mobile ambients. Theoret. Comput. Sci. 240(1), 177–213 (2000)

    Article  MathSciNet  MATH  Google Scholar 

  10. Chang, J., Richardson, D.: Static and dynamic specification slicing. In: Proceedings of the Fourth Irvine Software Symposium (1994)

    Google Scholar 

  11. 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)

    Article  Google Scholar 

  12. 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)

    Google Scholar 

  13. 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)

    Google Scholar 

  14. Harrison, M.D., Massink, M.: Modelling interactive experience, function and performance in ubiquitous systems. Electron. Notes Theoret. Comput. Sci. 261, 23–42 (2010)

    Article  Google Scholar 

  15. 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)

    Google Scholar 

  16. 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)

    Google Scholar 

  17. 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)

    Google Scholar 

  18. Khan, Y.: Slim - a slicing tool. https://bit.ly/2GAGwO1

  19. 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

    Chapter  Google Scholar 

  20. Khan, Y., Guelfi, N.: Slicing high-level petri nets. In: International Workshop on Petri Nets and Software Engineering (PNSE 2014), pp. 201–220 (2014)

    Google Scholar 

  21. Khan, Y.I., Konios, A., Guelfi, N.: A survey of petri nets slicing. ACM Comput. Surv. 51(5), 109:1–109:32 (2018)

    Google Scholar 

  22. 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

    Chapter  Google Scholar 

  23. Konios, A.: Ambient systems and taxonomy approaches. Technical report, CS-TR-1281, School of Computing Science, Newcastle University (2011)

    Google Scholar 

  24. 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)

    Google Scholar 

  25. Konios, A.: Modelling and Verification of Ambient Systems using Petri Nets. PhD thesis (2015)

    Google Scholar 

  26. 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)

    Google Scholar 

  27. Konios, A., Khan, Y.I.: Modelling and verification of activities in ambient intelligent systems. https://bit.ly/2O58iXg

  28. Konios, A., Pietkiewicz-Koutny, M.: Modelling ambient systems with coloured petri nets. Technical report, School of Computing Science, Newcastle University (2013)

    Google Scholar 

  29. Korel, B., Laski, J.: Dynamic slicing of computer programs. J. Syst. Softw. 13(3), 187–195 (1990)

    Article  MATH  Google Scholar 

  30. 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)

    Google Scholar 

  31. 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)

    Google Scholar 

  32. 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)

    Article  MATH  Google Scholar 

  33. 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

    Chapter  MATH  Google Scholar 

  34. 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)

    Google Scholar 

  35. 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)

    Google Scholar 

  36. Valmari, A.: Stubborn sets for reduced state space generation. Adv. Petri Nets 1990, 491–515 (1991)

    MathSciNet  Google Scholar 

  37. 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)

    Google Scholar 

  38. Weiser, M.: Program slicing. In: Proceedings of the 5th International Conference on Software Engineering, ICSE 1981, pp. 439–449 (1981)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Alexandros Konios .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

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)

Publish with us

Policies and ethics