Skip to main content

Storing and Managing Context and Context History

  • Conference paper
  • First Online:
Context-Aware Systems and Applications (ICCASA 2013)

Abstract

Bringing context into systems design has added a new dimension to modern technology. In service-centric and social-centric systems, the personalization of services to accommodate the preferences of each individual is essentially based on context information. Due to this importance, a significant amount of research work is being done on structuring and modeling contexts. However, no work has been done on storing these models using recent database technologies and techniques. Also, there is no reported work that considers a structure for context history, which is essential to maximize accessibility and scalability of context information in dynamic settings. Motivated by these issues, we have developed a general structure for storing context using three different database models. Additionally, we have compared the three models in terms of their performance and modeling ability. In this paper we present the data models for context, context history, and provide a summary of the experimental analysis conducted on them.

Alaa and Ammar are sincerely thankful to Saudi Arabia Government and the Saudi Cultural Bureau for their financial support.

Vangalur Alagar—The work reported in this paper is supported by a grant received by this author from Natural Sciences and Engineering Research Council (NSERC), Canada.

The original version of this chapter was revised: The copyright line was incorrect. This has been corrected. The Erratum to this chapter is available at DOI: 10.1007/978-3-319-05939-6_37

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    Throughput is the number of operations performed per millisecond.

References

  1. Bettini, C., Brdiczka, O., Henricksen, K., Indulska, J., Nicklas, D., Ranganathan, A., Riboni, D.: A survey of context modelling and reasoning techniques. Pervasive Mob. Comput. 6(2), 161–180 (2010)

    Article  Google Scholar 

  2. Brewer, E.A.: Towards robust distributed systems. In: PODC, p. 7 (2000)

    Google Scholar 

  3. Chakraborty, S., Sarkar, M., Mukherjee, N.: Implementation of execution history in non-relational databases for feedback-guided job modeling. In: Proceedings of the CUBE International Information Technology Conference, pp. 476–482. ACM (2012)

    Google Scholar 

  4. Chodorow, K.: MongoDB: The Definitive Guide. O’Reilly, Sebastopol (2013)

    Google Scholar 

  5. Cooper, B.F., Silberstein, A., Tam, E., Ramakrishnan, R., Sears, R.: Benchmarking cloud serving systems with YCSB. In: Proceedings of the 1st ACM Symposium on Cloud Computing, pp. 143–154. ACM (2010)

    Google Scholar 

  6. Dimiduk, N., Khurana, A., Ryan, M.H.: HBase in Action. Manning, Shelter Island (2013)

    Google Scholar 

  7. George, L.: HBase: The Definitive Guide. O’Reilly Media Inc., Sebastopol (2011)

    Google Scholar 

  8. Grassi, V., Sindico, A.: Towards model driven design of service-based context-aware applications. In: International Workshop on Engineering of Software Services for Pervasive Environments: in Conjunction with the 6th ESEC/FSE Joint Meeting, pp. 69–74. ACM (2007)

    Google Scholar 

  9. Han, J., Haihong, E., Le, G., Du, J.: Survey on NoSQL database. In: 2011 6th International Conference on Pervasive Computing and Applications (ICPCA), pp. 363–366. IEEE (2011)

    Google Scholar 

  10. Ibrahim, N.: Specification, composition and provision of trustworthy context-dependent services. Technical report, Concordia University (2012)

    Google Scholar 

  11. Keith, J.: Building a contextaware service architecture. http://www.ibm.com/developerworks/architecture/library/ar-conawserv/index.html

  12. Sheng, Q.Z., Benatallah, B.: ContextUML: a UML-based modeling language for model-driven development of context-aware web services. In: International Conference on Mobile Business, 2005, ICMB 2005, pp. 206–212. IEEE (2005)

    Google Scholar 

  13. Treiber, M., Kritikos, K., Schall, D., Dustdar, S., Plexousakis, D.: Modeling context-aware and socially-enriched mashups. In: Proceedings of the 3rd and 4th International Workshop on Web APIs and Services Mashups, p. 2. ACM (2010)

    Google Scholar 

  14. Tweed, R., James, G.: A universal NoSQL engine, using a tried and tested technology (2010)

    Google Scholar 

  15. Wan, K.: Lucx: lucid enriched with context. Ph.D. thesis, Concordia University (2006)

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Mubarak Mohammad .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2014 ICST Institute for Computer Science, Social Informatics and Telecommunications Engineering

About this paper

Cite this paper

Alsaig, A., Alsaig, A., Mohammad, M., Alagar, V. (2014). Storing and Managing Context and Context History. In: Vinh, P., Alagar, V., Vassev, E., Khare, A. (eds) Context-Aware Systems and Applications. ICCASA 2013. Lecture Notes of the Institute for Computer Sciences, Social Informatics and Telecommunications Engineering, vol 128. Springer, Cham. https://doi.org/10.1007/978-3-319-05939-6_4

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-05939-6_4

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-05938-9

  • Online ISBN: 978-3-319-05939-6

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics