arrow
Return

Semantics for consistent activation in context-oriented systems

delete2015-02-01
delete7
PRE
AI
N
Nicolás Cardozo *
S
Sebastián González
K
Kim Mens
R
Ragnhild Van Der Straeten
J
Jorge Vallejos
T
Theo D’Hondt
DOI:10.1016/j.infsof.2014.10.002delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
Context: Context-oriented programming languages provide dedicated programming abstractions to define behavioral adaptations and means to combine those adaptations dynamically according to sensed context changes. Some of these languages feature programming abstractions to explicitly define interaction dependencies among contexts. However, the semantics of context activation and the meaning of dependency relations have been described only informally, which in some cases has led to incorrect specifications, faulty implementations and inconsistent system behavior. Objective: With the aim of avoiding faulty implementations and inconsistencies during system execution, this paper proposes both a formal and run-time model of contexts, context activation and context interaction. Method: As a formal and computational basis, we introduce context Petri nets, a model based on Petri nets, which we found to match closely the structure of contexts in context-oriented systems. The operational semantics of Petri nets permits the modeling of run-time context activations. Existing Petri net analyses allow us to reason about system properties. As validation, we carried out small and medium-sized case studies. Results: In the cases explored, context Petri nets served effectively as underlying run-time model to ensure that declared context interaction constraints remain consistent during context manipulation. Moreover, context Petri nets enabled us to analyze certain properties regarding the activation state of particular contexts. Conclusion: Context Petri nets thus proved to be appropriate to encode and manage the semantics of context activation, both formally and computationally, so as to preserve the consistency of context-oriented systems. (C) 2014 Elsevier B.V. All rights reserved.
Keywords:
Context-oriented programming
Self-adaptiveness
Program semantics
Petri nets
Dynamic behavior adaptation
AI Summary

AI Summary

Key information extracted from the uploaded paper, including a brief overview, abstract, background, key highlights, visual analysis, and future outlook.

Journal

Information and Software Technology cover
Information and Software Technology
IF:
4.3
Papers:
3.7K
Citations:
7.7K

Organization

U
universite catholique louvain
Scholars:
2.0W
Papers: 1.7W
Citations: 21
V
Vrije Universiteit Brussel
Scholars:
1.4W
Papers: 1.3W
Citations: 129