Open AccessThis article is
- freely available
Configuring a Context-Aware Middleware for Wireless Sensor Networks
Department of Computer Science, University of Málaga, Campus de Teatinos, 29071, Málaga, Spain
* Authors to whom correspondence should be addressed.
Received: 8 May 2012; in revised form: 11 June 2012 / Accepted: 12 June 2012 / Published: 25 June 2012
Abstract: In the Future Internet, applications based on Wireless Sensor Networks will have to support reconfiguration with minimum human intervention, depending on dynamic context changes in their environment. These situations create a need for building these applications as adaptive software and including techniques that allow the context acquisition and decisions about adaptation. However, contexts use to be made up of complex information acquired from heterogeneous devices and user characteristics, making them difficult to manage. So, instead of building context-aware applications from scratch, we propose to use FamiWare, a family of middleware for Ambient Intelligence specifically designed to be aware of contexts in sensor and smartphone devices. It provides both, several monitoring services to acquire contexts from devices and users, and a context-awareness service to analyze and detect context changes. However, the current version of FamiWare does not allow the automatic incorporation related to the management of new contexts into the FamiWare family. To overcome this shortcoming, in this work, we first present how to model the context using a metamodel to define the contexts that must to be taken into account in an instantiation of FamiWare for a certain Ambient Intelligence system. Then, to configure a new context-aware version of FamiWare and to generate code ready-to-install within heterogeneous devices, we define a mapping that automatically transforms metamodel elements defining contexts into elements of the FamiWare family, and we also use the FamiWare configuration process to customize the new context-aware variant. Finally, we evaluate the benefits of our process, and we analyze both that the new version of the middleware works as expected and that it manages the contexts in an efficient way.
Keywords: context-aware; WSN; middleware; model-driven; configuration; AmI; AAL
Citations to this Article
Cite This Article
MDPI and ACS Style
Gámez, N.; Cubo, J.; Fuentes, L.; Pimentel, E. Configuring a Context-Aware Middleware for Wireless Sensor Networks. Sensors 2012, 12, 8544-8570.
Gámez N, Cubo J, Fuentes L, Pimentel E. Configuring a Context-Aware Middleware for Wireless Sensor Networks. Sensors. 2012; 12(7):8544-8570.
Gámez, Nadia; Cubo, Javier; Fuentes, Lidia; Pimentel, Ernesto. 2012. "Configuring a Context-Aware Middleware for Wireless Sensor Networks." Sensors 12, no. 7: 8544-8570.