Capturing Dynamics of Mobile Context-Aware Systems with Rules and Statistical Analysis of Historical Data

Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 9120)


Mobile context-aware systems gained huge popularity in recent years due to the rapid evolution of personal mobile devices. Nowadays smartphones are equipped with a variety of sensors that allow for on-line monitoring of user context and reasoning upon it. Contextual information in such systems is very dynamic. It changes rapidly and these changes may have impact on system behaviour. Although there are many machine learning methods like Markov models that allow to handle such dynamics, they do not provide intelligibility features that rule-based systems do. In this paper we propose an extension to XTT2 rule representation that allows for modelling dynamics of the mobile context-aware systems using rules and statistical analysis of historical data. This was achieved by introducing time-based operators to rule conditions and statistical operators to right hand side of the rules.


Rule-based system Mobile computing Reasoning Statistics 


Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.


  1. 1.
    Bobek, S., Nalepa, G.J., Ligęza, A., Adrian, W.T., Kaczor, K.: Mobile context-based framework for threat monitoring in urban environment with social threat monitor. Multimedia Tools and Applications (2014),
  2. 2.
    Bobek, S., Nalepa, G.J.: Incomplete and uncertain data handling in context-aware rule-based systems with modified certainty factors algebra. In: Bikakis, A., Fodor, P., Roman, D. (eds.) RuleML 2014. LNCS, vol. 8620, pp. 157–167. Springer, Heidelberg (2014), Google Scholar
  3. 3.
    Bobek, S., Porzycki, K., Nalepa, G.J.: Learning sensors usage patterns in mobile context-aware systems. In: Proceedings of the FedCSIS 2013 Conference, Krakow, pp. 993–998. IEEE (September 2013)Google Scholar
  4. 4.
    Bui, H.H., Venkatesh, S., West, G.: Tracking and surveillance in wide-area spatial environments using the abstract hidden markov model. Intl. J. of Pattern Rec. and AI 15 (2001)Google Scholar
  5. 5.
    Dey, A.K.: Providing architectural support for building context-aware applications. Ph.D. thesis, Atlanta, GA, USA (2000), aAI9994400Google Scholar
  6. 6.
    Domingo-Ferrer, J., Solanas, A.: A measure of variance for hierarchical nominal attributes. Inf. Sci. 178(24), 4644–4655 (2008), MathSciNetCrossRefGoogle Scholar
  7. 7.
    Jaroucheh, Z., Liu, X., Smith, S.: Recognize contextual situation in pervasive environments using process mining techniques. J. Ambient Intelligence and Humanized Computing 2(1), 53–69 (2011)CrossRefGoogle Scholar
  8. 8.
    van Kasteren, T., Kröse, B.: Bayesian activity recognition in residence for elders. In: 3rd IET International Conference on Intelligent Environments, IE 2007, pp. 209–212 (2007)Google Scholar
  9. 9.
    Koller, D., Friedman, N.: Probabilistic Graphical Models: Principles and Techniques. MIT Press (2009)Google Scholar
  10. 10.
    Kwon, O.B., Sadeh, N.: Applying case-based reasoning and multi-agent intelligent system to context-aware comparative shopping. Decis. Support Syst. 37(2), 199–213 (2004), CrossRefGoogle Scholar
  11. 11.
    Lee, J.S., Lee, J.C.: Context awareness by case-based reasoning in a music recommendation system. In: Ichikawa, H., Cho, W.-D., Satoh, I., Youn, H.Y. (eds.) UCS 2007. LNCS, vol. 4836, pp. 45–58. Springer, Heidelberg (2007), CrossRefGoogle Scholar
  12. 12.
    Liao, L., Patterson, D.J., Fox, D., Kautz, H.: Learning and inferring transportation routines. Artif. Intell. 171(5-6), 311–331 (2007)MathSciNetCrossRefzbMATHGoogle Scholar
  13. 13.
    Ligęza, A., Nalepa, G.J.: A study of methodological issues in design and development of rule-based systems: proposal of a new approach. Wiley Interdisciplinary Reviews: Data Mining and Knowledge Discovery 1(2), 117–137 (2011)Google Scholar
  14. 14.
    Lim, B.Y., Dey, A.K., Avrahami, D.: Why and why not explanations improve the intelligibility of context-aware intelligent systems. In: Proceedings of the SIGCHI Conference on Human Factors in Computing Systems, CHI 2009, pp. 2119–2128. ACM, New York (2009), Google Scholar
  15. 15.
    Nalepa, G.J., Bobek, S., Ligęza, A., Kaczor, K.: Algorithms for rule inference in modularized rule bases. In: Bassiliades, N., Governatori, G., Paschke, A. (eds.) RuleML 2011 - Europe. LNCS, vol. 6826, pp. 305–312. Springer, Heidelberg (2011)CrossRefGoogle Scholar
  16. 16.
    Nalepa, G.J., Bobek, S., Ligęza, A., Kaczor, K.: HalVA - rule analysis framework for XTT2 rules. In: Bassiliades, N., Governatori, G., Paschke, A. (eds.) RuleML 2011 - Europe. LNCS, vol. 6826, pp. 337–344. Springer, Heidelberg (2011), CrossRefGoogle Scholar
  17. 17.
    Nalepa, G.J., Bobek, S.: Rule-based solution for context-aware reasoning on mobile devices. Computer Science and Information Systems 11(1), 171–193 (2014)CrossRefGoogle Scholar
  18. 18.
    Nalepa, G.J., Kluza, K.: UML representation for rule-based application models with XTT2-based business rules. International Journal of Software Engineering and Knowledge Engineering (IJSEKE) 22(4), 485–524 (2012), CrossRefGoogle Scholar
  19. 19.
    Nalepa, G.J., Ligęza, A.: Designing reliable Web security systems using rule-based systems approach. In: Menasalvas, E., Segovia, J., Szczepaniak, P.S. (eds.) AWIC 2003. LNCS (LNAI), vol. 2663, pp. 124–133. Springer, Heidelberg (2003)CrossRefGoogle Scholar
  20. 20.
    Nalepa, G.J., Ligęza, A., Kaczor, K.: Formalization and modeling of rules using the XTT2 method. International Journal on Artificial Intelligence Tools 20(6), 1107–1125 (2011)CrossRefGoogle Scholar
  21. 21.
    Palmer, N., Kemp, R., Kielmann, T., Bal, H.: Swan-song: A flexible context expression language for smartphones. In: Proceedings of the Third International Workshop on Sensing Applications on Mobile Phones, PhoneSense 2012, pp. 12:1–12:5. ACM, New York (2012),, doi:10.1145/2389148.2389160
  22. 22.
    Petersen, A.K.: Challenges in Case-Based Reasoning for Context Awareness in Ambient Intelligent Systems. In: Minor, M. (ed.) 8th European Conference on Case-Based Reasoning, Workshop Proceedings, pp. 287–299. Ölüdeniz/Fethiye, Turkey (2006)Google Scholar
  23. 23.
    Rabiner, L., Juang, B.H.: An introduction to hidden markov models. IEEE ASSP Magazine 3(1), 4–16 (1986)CrossRefGoogle Scholar
  24. 24.
    Shehzad, A., Ngo, H.Q., Pham, K.A., Lee, S.Y.: Formal modeling in context aware systems. In: Proceedings of the 1st International Workshop on Modeling and Retrieval of Context, MRC 2004 (2004)Google Scholar
  25. 25.
    Bobek, S., Nalepa, G.J., Ślażyński, M.: Challenges for migration of rule-based reasoning engine to a mobile platform. In: Dziech, A., Czyżewski, A. (eds.) MCSS 2014. CCIS, vol. 429, pp. 43–57. Springer, Heidelberg (2014)CrossRefGoogle Scholar
  26. 26.
    Want, R., Falcao, V., Gibbons, J.: The active badge location system. ACM Transactions on Information Systems 10, 91–102 (1992)CrossRefGoogle Scholar

Copyright information

© Springer International Publishing Switzerland 2015

Authors and Affiliations

  1. 1.AGH University of Science and TechnologyKrakowPoland

Personalised recommendations