Abstract
Context-awareness can serve to make ubiquitous applications deployed for mobile devices adaptive, personalized, and accessible in dynamically changing environments. Unfortunately, existing approaches for the provisioning of context information in ubiquitous computing environments rarely take into consideration the resource constraints of mobile devices and the uncertain availability of sensors and service infrastructures. This paper presents the design, prototype implementation, and experimental evaluation of Contory, a middleware specifically designed to accomplish efficient context provisioning on mobile devices. To make context provisioning flexible and adaptive based on dynamic operating conditions, Contory integrates multiple context provisioning strategies, namely internal sensors-based, external infrastructure-based, and distributed provisioning in ad hoc networks. Applications can request context information provided by Contory using a declarative query language which features on-demand, periodic, and event-based context queries. Experimental results obtained in a testbed of smart phones demonstrate the feasibility of our approach and quantify the cost of supporting context provisioning in terms of energy consumption.
Chapter PDF
Similar content being viewed by others
References
Schmidt, A., Laerhoven, K.V.: How to Build Smart Appliances? IEEE Personal Communications, Special Issue on Pervasive Computing 8, 66–71 (2001)
Dey, A.K., Salber, D., Abowd, G.: A Conceptual Framework and a Toolkit for Supporting the Rapid Prototyping of Context-Aware Applications. Human-Computer Interaction 16, 97–166 (2001)
Hong, I., Landay, J.A.: An Infrastrucutre Approach to Context-aware Computing. Human-Computer Interaction 16, 287–303 (2001)
Riva, O., di Flora, C.: Contory: A Smart Phone Middleware Supporting Multiple Context Provisioning Strategies. In: 2nd International Workshop on Services and Infrastructure for the Ubiquitous and Mobile Internet (SIUMI 2006) (2006)
Schmidt, A., Adoo, K.A., Takaluoma, A., Tuomela, U., Laerhoven, K.V., de Velde, W.V.: Advanced Interaction in Context. In: Gellersen, H.-W. (ed.) HUC 1999. LNCS, vol. 1707, pp. 89–101. Springer, Heidelberg (1999)
Yau, S., Karim, F.: A context-sensitive middleware for dynamic integration of mobile devices with network infrastructures. Journal Parallel Distributed Computing 64, 301–317 (2004)
Hong, J., Landay, J.: An Architecture for Privacy-Sensitive Ubiquitous Computing. In: Proceedings of The Second International Conference on Mobile Systems, Applications, and Services (Mobisys 2004), Boston, MA, pp. 177–189 (2004)
Bardram, J.E.: The Java Context Awareness Framework (JCAF) - A Service Infrastructure and Programming Framework for Context-Aware Applications. In: Gellersen, H.-W., Want, R., Schmidt, A. (eds.) PERVASIVE 2005. LNCS, vol. 3468, pp. 98–115. Springer, Heidelberg (2005)
Hohl, F., Mehrmann, L., Hamdan, A.: A Context System for a Mobile Service Platform. In: Schmeck, H., Ungerer, T., Wolf, L. (eds.) ARCS 2002. LNCS, vol. 2299, pp. 21–33. Springer, Heidelberg (2002)
Riva, O., Toivonen, S.: A Model of Hybrid Service Provisioning Implemented on Smart Phones. In: The 3rd IEEE International Conference on Pervasive Services (ICPS 2006), pp. 47–56. IEEE Computer Society, Los Alamitos (2006)
Gamma, E., Helm, R., Johnson, R., Vlissides, J.: Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, Reading (1995)
Crespo, A., Buyukkokten, O., Garcia-Molina, H.: Query Merging: Improving Query Subscription Processing in a Multicast Environment. IEEE Trans. Knowl. Data Eng. 15, 174–191 (2003)
Borcea, C., Iyer, D., Kang, P., Saxena, A., Iftode, L.: Cooperative Computing for Distributed Embedded Systems. In: Proceedings of the 22nd International Conference on Distributed Computing Systems (ICDCS 2002), Vienna, Austria, pp. 227–236 (2002)
Ravi, N., Borcea, C., Kang, P., Iftode, L.: Portable Smart Messages for Ubiquitous Java-Enabled Devices. In: The 1st Annual International Conference on Mobile and Ubiquitous Systems: Networking and Services (MobiQuitous 2004), pp. 412–421 (2004)
Tarkoma, S., Kangasharju, J., Lindholm, T., Raatikainen, K.: Fuego: Experiences with Mobile Data Communication and Synchronization. In: 17th Annual IEEE International Symposium on Personal, Indoor and Mobile Radio Communications (PIMRC) (2006)
Paradiso, J.A., Starner, T.: Energy Scavenging for Mobile and Wireless Electronics. IEEE Pervasive Computing 4, 18–27 (2005)
Yao, Y., Gehrke, J.: Query Processing in Sensor Networks. In: Proceedings of the First Biennial Conference on Innovative Data Systems Research (CIDR 2003), Asilomar, CA, pp. 233–244 (2003)
Madden, S., Franklin, M.J., Hellerstein, J.M., Hong, W.: The design of an acquisitional query processor for sensor networks. In: Proceedings of The 2003 ACM SIGMOD International Conference on Management of Data (SIGMOD 2003), San Diego, California, pp. 491–502. ACM Press, New York (2003)
Bonnet, P., Gehrke, J., Seshadri, P.: Towards sensor database systems. In: Tan, K.-L., Franklin, M.J., Lui, J.C.-S. (eds.) MDM 2001. LNCS, vol. 1987, pp. 3–14. Springer, Heidelberg (2000)
Chen, A., Muntz, R.R., Yuen, S., Locher, I., Park, S.I., Srivastava, M.B.: A Support Infrastructure for the Smart Kindergarten. IEEE Pervasive Computing 1, 49–57 (2002)
Raento, M., Oulasvirta, A., Petit, R., Toivonen, H.: ContextPhone: a prototyping platform for context-aware mobile applications. IEEE Pervasive Computing 4 (2005)
Korpipää, P.: Blackboard-based software framework and tool for mobile device context awareness. PhD Thesis. VTT Publications: 579, VTT Electronics, Espoo (2005), http://www.vtt.fi/inf/pdf/publications/2005/P579.pdf
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2006 IFIP International Federation for Information Processing
About this paper
Cite this paper
Riva, O. (2006). Contory: A Middleware for the Provisioning of Context Information on Smart Phones. In: van Steen, M., Henning, M. (eds) Middleware 2006. Middleware 2006. Lecture Notes in Computer Science, vol 4290. Springer, Berlin, Heidelberg. https://doi.org/10.1007/11925071_12
Download citation
DOI: https://doi.org/10.1007/11925071_12
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-49023-4
Online ISBN: 978-3-540-68256-1
eBook Packages: Computer ScienceComputer Science (R0)