Skip to main content
Log in

CHSPAM: a multi-domain model for sequential pattern discovery and monitoring in contexts histories

  • Theoretical advances
  • Published:
Pattern Analysis and Applications Aims and scope Submit manuscript

Abstract

Context-aware applications adapt their functionalities based on users contexts. Complementarily, a context history has information about previous contexts visited by a user. Context history enables applications to explore users past behavior. Researchers have studied different ways to analyze these data. This article addresses a specific type of data analysis in contexts histories, which is the discovery and monitoring of sequential patterns. The article proposes a model, called CHSPAM, that allows the discovery of sequential patterns in contexts histories databases and keeps track of these patterns to monitor their evolution over time. There are two main contributions of this work. The first one is the use of a generic representation for stored context information on pattern recognition field, which enables the model to be used for different research domains. The second contribution is the fact that CHSPAM monitors discovered pattern evolution over time. We have build a functional prototype that allowed us to conduct experiments in two different applications. The first experiment used the model to perform pattern analysis and evaluate the prediction based on monitored sequential patterns. Prediction accuracy increased by up to 17% when compared to the use of common sequential patterns. On the second experiment, CHSPAM was used as a component of a learning object recommendation application. The application was able to recommend learning objects related to students interests based on monitored sequential patterns extracted from users session history. Usefulness for recommendations reached 84%.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Fig. 1
Fig. 2
Fig. 3
Fig. 4
Fig. 5
Fig. 6
Fig. 7
Fig. 8

Similar content being viewed by others

References

  1. Agrawal R, Imieliński T, Swami A (1993) Mining association rules between sets of items in large databases. In: Acm sigmod record, vol 22. ACM, pp 207–216

  2. Barbosa JLV, Martins C, Franco LK, Barbosa DNF (2016) Trailtrade: a model for trail-aware commerce support. Comput Ind 80:43–53

    Article  Google Scholar 

  3. Cardoso IG, Mota B, Victória Barbosa JL, da Rosa Righi R (2016) Vulcanus 2.0: a recommender system for accessibility. CLEI Electron J 19:1–24

    Google Scholar 

  4. Chikhaoui B, Wang S, Xiong T, Pigot H (2014) Pattern-based causal relationships discovery from event sequences for modeling behavioral user profile in ubiquitous environments. Inf Sci 285:204–222

    Article  Google Scholar 

  5. Chodorow K (2013) MongoDB: the definitive guide. O’Reilly Media Inc., Sebastopol

    Google Scholar 

  6. da Rosa JH, Barbosa JL, Ribeiro GD (2016) Oracon: an adaptive model for context prediction. Expert Syst Appl 45:56–70

    Article  Google Scholar 

  7. Dey AK (2001) Understanding and using context. Personal Ubiquitous Comput 5:4–7

    Article  Google Scholar 

  8. Fatima I, Fahim M, Lee YK, Lee S (2013) A unified framework for activity recognition-based behavior analysis and action prediction in smart homes. Sensors 13(2):2682–2699

    Article  Google Scholar 

  9. Hadley M, Sandoz P (2009) Jax-rs: Java\(^{{\rm TM}}\) api for restful web services. In: Java specification request (JSR), p 311

  10. Han J, Pei J, Yin Y (2000) Mining frequent patterns without candidate generation. In: ACM sigmod record, vol 29. ACM, pp 1–12

  11. Hong J, Suh EH, Kim J, Kim S (2009) Context-aware system for proactive personalized service based on context history. Expert Syst Appl 36:7448–7457

    Article  Google Scholar 

  12. Hudak P (1989) Conception, evolution, and application of functional programming languages. ACM Comput Surv 21:359–411

    Article  Google Scholar 

  13. Huynh T, Fritz M, Schiele B (2008) Discovery of activity patterns using topic models. In: Proceedings of the 10th international conference on ubiquitous computing, pp 10–19

  14. Jung H, Chung K (2015) Sequential pattern profiling based bio-detection for smart health service. Clust Comput 18(1):209–219

    Article  Google Scholar 

  15. Lee SC, Paik J, Ok J, Song I, Kim UM (2007) Efficient mining of user behaviors by temporal mobile access patterns. Int J Comput Sci Secur 7:285–291

    Google Scholar 

  16. Meng X, Bradley J, Yuvaz B, Sparks E, Venkataraman S, Liu D, Freeman J, Tsai D, Amde M, Owen S et al (2016) Mllib: machine learning in apache spark. JMLR 17(34):1–7

    MathSciNet  MATH  Google Scholar 

  17. Moore P, Hu B, Wan J (2009) Intelligent context for personalised mobile learning. In: Caballe S (ed) Architectures for distributed and complex M-learning systems. Applying Intelligent Technologies, New York, pp 236–270

    Google Scholar 

  18. Niu X, Li M, Cui X, Liu J, Liu S, Chowdhury KR (2014) Wtrack: HMM-based walk pattern recognition and indoor pedestrian tracking using phone inertial sensors. Personal Ubiquitous Comput 18:1901–1915

    Article  Google Scholar 

  19. Nurmi P, Martin M, Flanagan JA (2005) Enabling proactiveness through context prediction. In: Workshop on context awareness for proactive systems, p 53

  20. Ordóñez FJ, de Toledo P, Sanchis A (2013) Activity recognition using hybrid generative/discriminative models on home environments using binary sensors. Sensors 13(5):5460–5477

    Article  Google Scholar 

  21. Pei J, Han J, Mortazavi-Asl B, Wang J, Pinto H, Chen Q, Dayal U, Hsu MC (2004) Mining sequential patterns by pattern-growth: the prefixspan approach. IEEE Trans Knowl Data Eng 16(11):1424–1440

    Article  Google Scholar 

  22. Perera C, Zaslavsky A, Christen P, Georgakopoulos D (2014) Context aware computing for the internet of things: a survey. IEEE Commun Surv Tutor 16(1):414–454

    Article  Google Scholar 

  23. Rachuri KK, Musolesi M, Mascolo C, Rentfrow PJ, Longworth C, Aucinas A (2010) Emotionsense: a mobile phones based adaptive platform for experimental social psychology research, pp 281–290

  24. Rosa JH, Barbosa JL, Kich M, Brito L (2015) A multi-temporal context-aware system for competences management. Int J Artif Intell Educ 25:455–492

    Article  Google Scholar 

  25. Satyanarayanan M (2001) Pervasive computing: vision and challenges. IEEE Personal Commun 8:10–17

    Article  Google Scholar 

  26. Weiser M (1991) The computer for the 21st century. Sci Am 265:94–104

    Article  Google Scholar 

  27. Weiser M (1993) Some computer science issues in ubiquitous computing. Commun ACM 36:75–84

    Article  Google Scholar 

  28. White T (2012) Hadoop: the definitive guide. O’Reilly Media Inc., Sebastopol

    Google Scholar 

  29. Wiedmann T, Barbosa JLV, Rigo SJ, Barbosa DNF (2016) Recsim: a model for learning objects recommendation using similarity of sessions. J Univers Comput Sci 22(8):1175–1200

    Google Scholar 

  30. Wood AD, Stankovic JA, Virone G, Selavo L, He Z, Cao Q, Doan T, Wu Y, Fang L, Stoleru R (2008) Context-aware wireless sensor networks for assisted living and residential monitoring. IEEE Netw 22:26–33

    Article  Google Scholar 

  31. Yin J, Tian G, Feng Z, Li J (2014) Human activity recognition based on multiple order temporal information. Comput Electric Eng 40(5):1538–1551

    Article  Google Scholar 

  32. Yürür Ö, Liu CH, Sheng Z, Leung VC, Moreno W, Leung KK (2014) Context-awareness for mobile sensing: a survey and future directions. IEEE Commun Surv Tutor 18(1):68–93

    Article  Google Scholar 

  33. Zhang H, Ji Y, Li J, Ye Y (2015) A triple wing harmonium model for movie recommendation. IEEE Trans Ind Inf 12:231–239

    Google Scholar 

  34. Zhang H, Wang S, Xu X, Chow TWS, Wu QMJ (2018) Tree2vector: learning a vectorial representation for tree-structured data. IEEE Trans Neural Netw Lean Syst 29:5304–5318

    Article  MathSciNet  Google Scholar 

Download references

Acknowledgements

The authors wish to acknowledge that this work was supported by FAPERGS (Foundation for the Supporting of Research in the State of Rio Grande do Sul - www.fapergs.rs.gov.br), CNPq (National Council for Scientific and Technological Development - www.cnpq.br), and Coordenação de Aperfeiçoamento de Pessoal de Nível Superior - Brasil (CAPES) - Finance Code 001. The authors are also grateful to University of Vale do Rio dos Sinos (UNISINOS - www.unisinos.br) and Mobile Computing Lab (MOBILAB - www.unisinos.br/mobilab) for embracing this research.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Bruno Mota Alves.

Additional information

Publisher's Note

Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.

Rights and permissions

Reprints and permissions

About this article

Check for updates. Verify currency and authenticity via CrossMark

Cite this article

Dupont, D., Barbosa, J.L.V. & Alves, B.M. CHSPAM: a multi-domain model for sequential pattern discovery and monitoring in contexts histories. Pattern Anal Applic 23, 725–734 (2020). https://doi.org/10.1007/s10044-019-00829-9

Download citation

  • Received:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s10044-019-00829-9

Keywords

Navigation