Abstract
Currently, the use of mobile applications for smart environments have multiplied, and they play a fundamental role in people’s daily lives. While there are many applications based on a microservices architecture that can simultaneously handle various context data provided by heterogeneous connected objects, this is not the case with mobile devices for real-time composite user-centric urgent situations. In fact, it becomes necessary to rethink a new way to minimize both the ratio of missed situations and the response time by combining competitive microservices with a priority-based parallel reasoning strategy. In this paper, we introduce a novel flexible, modular and hierarchical loosely coupled framework which can be employed for parallel composite situations that rule management and reasoning. To provide such reasoning, we proposed an innovative parallel reasoning process, which involved a set of filtered and factorized user’s situations rules, priority-based on the emergency of the events and situations to speed up the queued urgent situation rules, and parallel situations identification across collaborating microservices. We compared the proposed approach with existing reasoning approaches of the smart domains use cases in terms of expired event ratio, missed situation ratio, event detection throughput and latency. The experiments show that the proposed approach achieved low expired event and missed situation ratios, going up to 0.07 and 0.1 respectively. In addition, results show that the proposed approach can detect events in a high workload with an average detection latency of 2.4ms, also that the event detection throughput is improved to 82.4% thanks to a new shared lightweight thread approach in comparison with pipelining-based approach.




























Similar content being viewed by others
Change history
14 March 2022
A Correction to this paper has been published: https://doi.org/10.1007/s11042-022-12798-z
References
Alirezaie M, Renoux J, Kockemann U, Kristoffersson A, Karlsson L, Blomqvist E, Tsiftes N, Voigt T, Loutfi A (2017) An ontology-based context-aware system for smart homes: E-care@ home. Sensors 17(7):1586
Al-Jawad MMH (2017) A context-aware method for verifying user identity in pervasive computing environments. Doctoral dissertation, University of Salford
Alti A, Lakehal A, Laborie S, Roose P (2016) Autonomic semantic-based context-aware platform for mobile applications in pervasive environments. Future Internet 8(4):48
Angsuchotmetee C, Chbeir R, Cardinale Y, Yokoyama S (2018) A pipelining-based framework for processing events in multimedia sensor networks. In: Proceedings of the 33rd Annual ACM Symposium on Applied Computing, pp 247–250
Augusto JC, Liu J, McCullagh P, Wang H, Yang JB (2008) Management of uncertainty and spatio-temporal aspects for monitoring and diagnosis in a smart home. Int J Comput Intell Syst 1(4):361-378
Bermudez-Edo M, Elsaleh T, Barnaghi P, Taylor K (2017) IoT-Lite: a lightweight semantic model for the internet of things and its use with dynamic semantics. Personal Uniquit Comput 21(3):475–487
Butt SA, Jamal T, Azad MA, Ali A, Safa NS (2019) A multivariant secure framework for smart mobile health application. Transactions on Emerging Telecommunications Technologies, p e3684
Cédric D, Laborie S, Roose P (2013) A semantic generic profile for multimedia document adaptation. Intelligent Multimedia technologies for networking applications: techniques and tools. IGI Global, 225–246
Cumin J, Lefebvre G, Ramparany F, Crowley JL (2017) A dataset of routine daily activities in an instrumented home,. In: Proc. International Conference on Ubiquitous Computing and Ambient Intelligence, pp 413–425
Da K, Dalmau M, Roose P (2014) Kalimucho: middleware for mobile applications. In: Proceedings of the 29th Annual ACM Symposium on Applied Computing, pp 413–419
GAsim M, Yautsiukhin A, Brucker AD, Baker T, Shi Q, Lempereur B (2018) Security policy monitoring of BPMN-based service compositions. J Softw Evol Process 30(9):e1944
GU T (2004) An ontology-based context model environments. Proceedings of Communication Networks and Distributed Systems Simulation Conference (CNDS’04). Society for Computer Simulation
Gull K, Padhye S, Jain DS (2017) A comparative analysis of Lexical/NLP method with WEKA’s Bayes Classifier. Int J Recent Innov Trends Comput Commun (IJRITCC) 5(2):221–227
Henricksen K, Indulska J (2006) Developing context-aware pervasive computing applications: Models and Approach. Pervasive Mob Comput 2(1):37–64
Jiménez AR, Seco F (2018)Multi-event Naive Bayes classifier for activity recognition in the UCAmI Cup. In: Multidisciplinary Digital Publishing Institute Proceedings, p 1264
Kanda T, Glas DF, Shiomi M, Ishiguro H, Hagita N (2008) Who will be the customer? A social robot that anticipates people’s behavior from their trajectories. In: Proceedings of the 10th international conference on Ubiquitous computing, p 380-389
Karchoud R, Illarramendi A, Ilarri S, Roose P, Dalmau M (2017)Long-life application. Personal Uniquit Comput 21(6):1025–1037
Lakehal A, Alti A, Roose P (2019) A semantic event based framework for complex situations modeling and identification in smart environments. Int J Adv Comput Res 9(43):212–221
Mansour E, Chbeir R, Arnould P (2019) HSSN: an ontology for hybrid semantic sensor networks. In: Proceedings of the 23rd International Database Applications & Engineering Symposium, pp 1–10
Meditskos G, Kompatsiaris I (2017) iKnow: Ontology-driven situational awareness for the recognition of activities of daily living. Pervasive Mob Comput 40:17–41
Papamarkos G (2007)Event-condition-action rule languages over semi-structured data. DISS. University of London
Patel SN, Robertson T, Kientz JA, Reynolds MS, Abowd GD (2007) At the flick of a switch: Detecting and classifying unique electrical events on the residential power line (nominated for the best paper award). In: International Conference on Ubiquitous Computing. Springer, Berlin, Heidelberg, p 271-288
Ranganathan A, Al-Muhtadi J, Campbell RH (2004) Reasoning about uncertain contexts in pervasive computing environments. IEEE Pervasive Comput 3(2):62–70
Riboni D, Bettini C (2009)Context-aware activity recognition through a combination of ontological and statistical reasoning. In: International Conference on Ubiquitous Intelligence and Computing. Springer, Berlin, Heidelberg, p 39-53
Ronao CA, Cho SB (2016) Human activity recognition with smartphone sensors using deep learning neural networks. Expert Syst Appl 59:235–244
Sioutis M, Alirezaie M, Renoux J, Loutfi A (2017) Towards a synergy of qualitative spatio-temporal reasoning and smart environments for assisting the elderly at home. In: IJCAI Workshop on Qualitative Reasoning, p 901-907
Swapna G, Vinayakumar R (2018) Diabetes detection using deep learning algorithms. ICT Express 4(4):243–246
Wojek C, Nickel K, Stiefelhagen R (2006) Activity recognition and room-level tracking in an office environment. In: IEEE International Conference on Multisensor Fusion and Integration for Intelligent Systems. IEEE, p 25-30
Yang JB, Liu J, Wang J, Sii HS, Wang HW (2006) Belief rule-base inference methodology using the evidential reasoning approach-RIMER. IEEE Trans Syst Man Cybern A: Syst Hum 36(2):266-285
Yang JY, Wang JS, Chen YP (2008) Using acceleration measurements for activity recognition: An effective learning algorithm for constructing neural classifiers. Pattern Recognit Lett 29(16):2213–2220
Ye J, Stevenson G, Dobson SKCAR (2015) A knowledge-driven approach for concurrent activity recognition. Pervasive Mob Comput 19:47–70
Zografistou D (2012) Support for context-aware healthcare in ambient assisted living. Master’s thesis
Author information
Authors and Affiliations
Corresponding author
Additional information
Publisher’s Note
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
The original online version of this article was revised: Algorithm 1 apeared twice in page 19.
Rights and permissions
About this article
Cite this article
Lakehal, A., Alti, A. & Roose, P. Real-time ontology-based context-aware situation reasoning framework in pervasive computing. Multimed Tools Appl 81, 14913–14957 (2022). https://doi.org/10.1007/s11042-022-12252-0
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11042-022-12252-0