Enriching context-oriented programming with structured context representation

0Citations
Citations of this article
3Readers
Mendeley users who have this article in their library.
Get full text

Abstract

Context-oriented Programming (COP) has been proposed as a new promising paradigm for programming context-aware applications in pervasive environments. However, the expressive power of the layer abstraction in current COP extensions is limited, as layers are only suitable for expressing context with boolean or nominal values and lack support for describing temporal property of context. Besides, partial methods of COP are defined only on top of each single layer but not on a combination of layers, and the behavior of an invoked method is unpredictable as it is determined by the layer activation order. In this paper, we enriches COP by replacing layers with well-structured context entries. Each context entry specifies a piece of context information as well as its temporal property, and a context is represented as a set of many context entries. Many new operations are introduced to manipulate context more conveniently. Furthermore, partial methods are now defined on the notion of situation which is expressed as a combination of multiple context entries, and the evaluation order of multiple active partial methods can be explicitly specified so that the behavior of an invoked method becomes predictable. An implementation on top of ContextJ* and experiments for evaluating it in term of time overhead are also presented in this paper. © 2013 Springer-Verlag.

Cite

CITATION STYLE

APA

Ma, J., Tao, X., Zheng, T., & Lu, J. (2013). Enriching context-oriented programming with structured context representation. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 7719 LNCS, pp. 372–388). https://doi.org/10.1007/978-3-642-37015-1_31

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free