By default the self-configuring thresholds are set
to the value 1: T
Self-Conf
= T
R
= T
A
= T
P
= 1. As a
result of evaluating the context variation at t=1, the
Context Model Administering Agent executes the
self – configuring algorithm which adds new
concepts/ populates the context model artefacts
ontology. The new added concepts originate from
the context elements set variations ∆R, ∆P and ∆A
calculated in Figure 8.
R
E
61
= {FarReachSensor, RFIDReader,
HotHumiditySensor1&2, OrientationSensor2&3}
R
E
60
= {FarReachSensor, RFIDReader, LoudSensor
HotHumiditySensor1&2,
OrientationSensor1&2&3&4}
∆R
= (R
E
61
ך
R
E
60
)
ڂ
(R
E
60
ך
R
E
61
)
∆R = {LoudSensor, OrientationSensor1&4}
A
61
= {StudentMary}
A
60
= {StudentJohn, StudentMary}
∆A = (A
61
ך
A
60
)
ڂ
(A
60
ך
A
61
)
∆A = {StudentMary}
P
61
= {LoudLimit, TemperatureLimit}
P
60
= {LoudLimit, TemperatureLimit}
∆P = (P
61
ך
P
60
)
ڂ
(P
60
ך
P
61
)
∆P = Ø
Card(∆ENV) = Card(∆R) + Card(∆A) + Card(∆P) = 4
Card
∆ENV
> T
Self-Confi
urin
Figure 9: CMAA agent evaluates the DSRL context
variation at t=61.
In order to test the middleware self-configuring
capabilities we have considered that after 60 seconds
the following context changes occurred: (i) student
John leaves the laboratory, (ii) Orientation Sensor1
and OrientationSensor4 are disabled and (iii)
LoudSensor is disabled.
The CMAA agent calculates the variation in the
new context at t = 61 (Figure 9), executes the self-
configuring algorithm and updates accordingly the
context ontology.
5 CONCLUSIONS
This paper addresses the problem of managing the
context information acquisition and representation
processes in a reliable and fault tolerant manner. We
define a self-configuring middleware that uses an
agent based context management infrastructure to
gather context information from sensors and
generate a context ontology representation at run-
time. The self-configuring property is enforced at
the middleware level by monitoring the execution
context in order to detect context variations or
conditions for which the ontology context artefacts
must be updated / populated.
For the future development we intend to provide
algorithms and generic formalisms for all four self-*
autonomic paradigms in order to enhance the
proposed middleware with context / self aware
capabilities.
REFERENCES
Anca Rarau, K. Pusztai. I.Salomie 2006. MultiFacet Item
based Context-Aware Applications. In International
Journal of Computing and Information Sciences.
Irene Y.L. Chen, Stephen J.H. Yang, 2006. Ubiquitous
Provision of Context Aware Web Services. In IEEE
International Conference on Services Computing.
Feruzan Ay, 2007. Context Modeling and Reasoning using
Ontologies. University of Technology Berlin.
Ki-Chul Lee, Jung-Hoon Kim 2007. Implementation of
Ontology Based Context-Awareness Framework for
Ubiquitous Environment. In Int. Conference on
Multimedia and Ubiquitous Engineering.
Paolo Bellavista, Antonio Corradi, Rebecca Montanari,
2006. Mobile Computing Middleware for Location
and Context-Aware Internet Data Services. In ACM
Transactions on Internet Technology, Vol. 6, No. 4.
Damien Fournier, Sonia Ben Mokhtar 2006. Towards Ad
hoc Contextual Services for Pervasive Computing. In
IEEE Middleware for Service Oriented Computing
Melbourne, Australia.
George Spanoudakis, Khaled Mahbub 2007. A Platform
for Context Aware Runtime Web Service Discovery.
In IEEE International Conference on Web Services.
Marcel Cremene, Michel Riveill, Christian Martel, 2007.
Autonomic Adaptation based on Service-Context
Adequacy Determination. In Electronic Notes in
Theoretical Computer Science, Elsevier.
Salomie I., Cioara T., Anghel I., Dinsoreanu M., 2008.
RAP - A Basic Context Awareness Model. In Proc. of
4th IEEE Int. Conf. on Intelligent Computer
Communication and Processing; ISBN: 978-1-4244-
2673-7, pp. 315-318.
DSRL, Distributed Systems Research Laboratory,
Technical University of Cluj-Napoca. dsrl.coned.
utcluj.ro
Jade, Java Agent DEvelopment Framework. http://jade.
tilab.com.
IS Ltd., Infusion Systems Ltd. http://www.
infusionsystems.com.
Raphael M. Bahati, Michael A. Bauer, 2006. Using
Policies to Drive Autonomic Management. In Proc. of
the Int. Symposium on a World of Wireless, Mobile
and Multimedia Networks.
A. S. Rao, M. P. Georgeff, 1995. BDI Agents: from
Theory to Practice. In Tech. Rep. 56, Australian
Artificial Intelligence Institute, Melbourne, Australia.
WINSYS 2009 - International Conference on Wireless Information Networks and Systems
138