Abstract
Context-aware system is an emerging research area in recent years. Context plays an important role in these systems. In most existing work, context is treated as all relative elements in the environment of an application, and the scope of context is predefined by the developers during the development. However, it is difficult to analyze, specify, and organize everything in the environment accurately and completely; and even when it is possible, the developed applications are difficult to extend or modify as the requests for environment may change over time. In this paper, we focus on activity-oriented context-aware (AOCA) applications where the requests for environment are highly dependent on user activities, and propose a programming framework for developing AOCA applications. In particular, we first present a concept model for describing the notions of activity-oriented context. Next, based on the concept model, we describe the details of the programming framework as well as a development tool. Moreover, we provide a platform to support the runtime of AOCA applications, and demonstrate the advantages of our programming framework through experimental evaluations.
Similar content being viewed by others
Explore related subjects
Discover the latest articles and news from researchers in related subjects, suggested using machine learning.References
Weiser M. The computer for the 21st century. Scientific American, 1991, 265(3): 94–104
Satyanarayanan M. Pervasive computing: vision and challenges. Personal Communications, 2001, 8(4): 10–17
Dey A, Abowd G, Salber D. A conceptual framework and a toolkit for supporting the rapid prototyping of context-aware applications. Human-Computer Interaction, 2001, 16(2): 97–166
Román M, Hess C, Cerqueira R, Ranganathan A, Campbell R, Nahrstedt K. Gaia: a middleware platform for active spaces. ACM SIGMOBILE Mobile Computing and Communications Review, 2002, 6(4): 65–67
Chen H, Finin T, Joshi A. An ontology for context-aware pervasive computing environments. The Knowledge Engineering Review, 2003, 18(3): 197–207
Chen G. Solar: Building a context fusion network for pervasive computing. Dissertation for the Doctoral Degree. Hanover: Dartmouth College, 2004
Gu T, Pung H, Zhang D. Toward an osgi-based infrastructure for context-aware applications. Pervasive Computing, 2004, 3(4): 66–74
Henricksen K, Indulska J. Developing context-aware pervasive computing applications: models and approach. Pervasive and Mobile Computing, 2006, 2(1): 37–64
Dourish P. What we talk about when we talk about context. Personal and Ubiquitous Computing, 2004, 8(1): 19–30
Lu J, Ma X, Tao X, Cao C, Huang Y, Yu P. On environment-driven software model for internetware. Science in China Series F: Information Sciences, 2008, 51(6): 683–721
Hürsch W L, Lopes C V. Separation of Concerns. Technical Report NU-CCS-95-03. 1995
Hong J I, Landay J A. An infrastructure approach to context-aware computing. Human-Computer Interaction, 2001, 16(2): 287–303
Wang L, Gu T, Tao X, Chen H, Lu J. Recognizing multi-user activities using wearable sensors in a smart home. Pervasive and Mobile Computing, 2011, 7(3): 287–298
Xu J, Wang L, Tao X. Building a real-world body area sensor networksystem. In: Proceedings of the 2nd Asia-Pacific Symposium on Internetware. 2010, 19
Ma J, Li X, Tao X, Lu J. Cluster filtered KNN: AWLAN-based indoor positioning scheme. In: Proceedings of IEEE International Symposium on a World of Wireless, Mobile and Multimedia Networks. 2008, 1–8
Ye H, Gu T, Zhu X, Xu J, Tao X, Lu J, Jin N. Ftrack: infrastructurefree floor localization via mobile phone sensing. In: Proceedings of IEEE International Conference on Pervasive Computing and Communications. 2012, 2–10
Van Solingen R, Basili V, Caldiera G, Rombach H D. Goal question metric (GQM) approach. Encyclopedia of Software Engineering, 2002, 578–583
Gu T, Pung H K, Zhang D Q. A service-oriented middleware for building context-aware services. Journal of Network and Computer Applications, 2005, 28(1): 1–18
Kulkarni D, Ahmed T, Tripathi A. A generative programming framework for context-aware cscw applications. ACM Transactions on Software Engineering and Methodology, 2012, 21(2): 11
Lee Y, Iyengar S, Min C, Ju Y, Kang S, Park T, Lee J, Rhee Y, Song J. Mobicon: a mobile context-monitoring platform. Communications of the ACM, 2012, 55(3): 54–65
Chalmers M. A historical view of context. Computer Supported Cooperative Work, 2004, 13(3): 223–247
Greenberg S. Context as a dynamic construct. Human-Computer Interaction, 2001, 16(2): 257–268
Wischweh J, Bade D. Activity-oriented context adaptation in mobile applications. In: Proceedings of International Conference on Mobile and Ubiquitous Systems: Computing, Networking, and Services. 2011, 298–313
Rehman K, Stajano F, Coulouris G. An architecture for interactive context-aware applications. IEEE Pervasive Computing, 2007, 6(1): 73–80
Li X, Tao X, Lu J. Improving the quality of context-aware applications: an activity-oriented context approach. In: Proceedings of IEEE International Conference on Quality Software. 2013, 173–182
Sperber D, Wilson D. Relevance: Communication and Cognition. New Jersey: Wiley-Blackwell, 1995
Verschueren J. Understanding Pragmatics. Oxford: Oxford University Press, 1999
Nardi B. Context and Consciousness: Activity Theory and Humancomputer Interaction. Cambridge: the MIT Press, 1996
Suchman L. Human-machine Reconfigurations: Plans and Situated Actions. Cambridge: Cambridge University Press, 2007
Acknowledgements
This research was funded by the National Basic Research Program (973 program) (2015CB352202), the National High Technology Research and Development Program (863 program) (2015AA01A203), and the National Natural Science Foundation of China (Grant Nos. 91318301, 61373011, 61321491).
Author information
Authors and Affiliations
Corresponding author
Additional information
Xuansong Li received his BS and PhD degrees in computer science from Nanjing University, China in 2007 and 2016, respectively. He is currently an assistant professor in the School of Computer Science and Engineering at Nanjing University of Science and Technology, China. His research interests include software methodology, pervasive computing, and formal methods. He is a member of CCF.
Xianping Tao received his MS and PhD degrees in computer science from Nanjing University (NJU), China in 1994 and 2001, respectively. He is currently a professor in the Department of Computer Science at NJU. His research interests include software agents, middleware systems, Internetware methodology, and pervasive computing. He is a member of CCF and IEEE.
Jian Lu received his BS, MS, and PhD degrees in computer science from Nanjing University (NJU), China in 1982, 1984, and 1988, respectively. He is currently a professor in the Department of Computer Science at NJU. He is also the director of the State Key Laboratory for Novel Software Technology and the vice director of the Institute of Software Technology at NJU. His research interests include programming methodology, pervasive computing, software agent, and middleware. He is a member of ACM and a fellow of CCF.
Electronic supplementary material
Rights and permissions
About this article
Cite this article
Li, X., Tao, X. & Lu, J. Towards a programming framework for activity-oriented context-aware applications. Front. Comput. Sci. 11, 987–1006 (2017). https://doi.org/10.1007/s11704-016-5399-4
Received:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s11704-016-5399-4