6 CONCLUSIONS AND FUTURE
WORK
In section 3 we presented some middleware and con-
text frameworks that inspired the work on the Rest-
Context service. Especially the Context Toolkit archi-
tecture with its widget and aggregate layers proposed
the separation of an instance running on or nearby
the sensor hardware and a second layer with sufficient
hardware resources on the internet.
Our RestContext service is an architecture for dis-
tributed contexts in order to deal with a high num-
ber and types of sensors and different settings of con-
texts. Based on standard communication protocols
it offers interoperability between different operating
systems. Due to its resource oriented design, it can be
extended to further communication activities to and
from the sensor devices like controlling and manag-
ing the sensor hardware by resources. However, Rest-
Context is missing event based notifications such as
the Context Toolkit. Also RestContext is static in the
way of defining contexts. A definition of a context
that is self-changing based on its environment needs
further work e.g. , a context that contains nodes of
elements that are within an area. RestContext is cur-
rently in a prototype state and missing the functional-
ity to remove registered SensorView instances from
one or many RestContext instances. Currently, we
do not address advanced authentication and authoriza-
tion mechanisms as presented by Sonnenbichler (Son-
nenbichler and Geyer-Schulz, 2012) for distributed
requests across multiple RestContext instances.
Future work includes the development of a con-
text inference mechanism as introduced by the CASS
framework (Fahy and Clarke, 2004) and a persistence
mechanism to archive sensor data e.g. by extend-
ing the values resource structure. Automatic match-
ing, conversion and merging of values e.g. automatic
conversion of degree Fahrenheit to Celsius could be
achieved by combining ontologies with RestContext.
Aggregation techniques like average out values (e.g.
air pressure) of various SensorView instances are de-
sirable as well. Also a prioritization of nodes, e.g. to
prefer nodes from local hardware rather than exter-
nal information should be implemented in future ver-
sions of RestContext. Another improvement would
be an automatic registration of a SensorView instance
to one or many RestContext instances. This automatic
registration could draw on concepts used by the Dy-
namic Host Configuration Protocol (DHCP) (Droms,
1997).
Further research is required to allow anony-
mous communication between RestContext and Sen-
sorView instances. This objective is useful for set-
tings where the identity of the sensor should be hid-
den. Reasons may be privacy or security concerns e.g.
in the field of traffic jam prediction where only the
presence of a car on a route is important, not its iden-
tity itself. One attempt for privacy concerns might use
the possibility of the XMPP protocol to allow anony-
mous login to XMPP servers. Asynchronous com-
munication handling like notifications to applications
working with RestContext instances can be developed
by using the upcoming WebSocket protocol described
in the RFC 6455 (Fette and Melnikov, 2011).
REFERENCES
Baldauf, M., Dustdar, S., and Rosenberg, F. (2007). A sur-
vey on context-aware systems. International Journal
of Ad Hoc and Ubiquitous Computing, 2(4):263–277.
Bourbaki, N. (1998). General Topology: Chapters 1 –
4. Springer, Berlin/Heidelberg, Germany. Originally
published as
´
El
´
ements de Math
´
ematique, Topologie
G
´
en
´
erale 1–4.
Chen, H. (2004). An Intelligent Broker Architecture for Per-
vasive Context-Aware Systems. PhD thesis, University
of Maryland, Baltimore, USA.
Dey, A. and Abowd, G. (2000). Towards a better under-
standing of context and context-awareness. In Pro-
ceedings of the Workshop on The What, Who, Where,
When, and How of Context-Awareness, as part of the
2000 Conference on Human Factors in Computing
Systems, The Hague, Netherlands.
Dey, A. K., Abowd, G. D., and Salber, D. (2001). A concep-
tual framework and a toolkit for supporting the rapid
prototyping of context-aware applications. Human–
Computer Interaction (HCI), 16(2):97–166.
Droms, R. (1997). Dynamic Host Configura-
tion Protocol. RFC 2131 (Draft Standard).
http://www.ietf.org/rfc/rfc2131.txt.
Fahy, P. and Clarke, S. (2004). CASS –a middleware for
mobile context-aware applications. In Workshop on
Context Awareness, MobiSys, Boston, USA.
Fette, I. and Melnikov, A. (2011). The Web-
Socket Protocol. RFC 6455 (Proposed Standard).
http://www.ietf.org/rfc/rfc6455.txt.
Fielding, R. (2000). Architectural styles and the design
of network-based software architectures. PhD thesis,
University of California, USA.
Geyer-Schulz, A., Ovelg
¨
onne, M., and Sonnenbichler, A. C.
(2011). A social location-based emergency service
to eliminate the bystander effect. In E-Business and
Telecommunications, Communications in Computer
and Information Science, pages 112 – 130. Springer,
Berlin/Heidelberg, Germany.
Hofer, T., Schwinger, W., Pichler, M., Leonhartsberger, G.,
Altmann, J., and Retschitzegger, W. (2003). Context-
awareness on mobile devices - the hydrogen approach.
In Proceedings of the 36th Annual Hawaii Interna-
tional Conference on System Sciences, Hawaii, USA.
IEEE.
RestContext-AServiceFrameworkforContextRetrieval
231