Open Access Open Access  Restricted Access Subscription or Fee Access

A Cross-Layer Context Aware Middleware Architecture for Ad Hoc Wireless Networks

Dr. N. Radhika, Dr. Vishal Anand, Dr. S. Arumugam


Is work we design a reflective context aware middleware for interoperability of protocols in adhoc smart spaces. The middleware is termed reflective since many context and services may be added to it simultaneously at any instant of time. Context typically refers to three different aspects – the environment, activity and location of the user. The profile of the user is sensed by sensor nodes, and depending on the profile appropriate services are offered to the user.
Smart spaces may consist of various heterogeneous mobile devices, sensors, atteuators, smart and dummy nodes. The context aware middleware is designed in the middleware layer – a new layer between the routing and the transport layer. All the nodes in the smart space are mobile and the middleware provides the functionality of interoperability. Seamless interoperability is obtained among the service discovery protocols in the middleware. The service discovery protocols considered in our work are Pervasive Discovery Protocol (PDP), Service Location Protocol (SLP) and the Universal plug and play Protocols (UPnP).
Our middleware design is efficient since it does not use any interfaces or plug-ins. Interoperation makes all services in different smart spaces available seamlessly to the user irrespective of the location. The middleware can serve multiple users simultaneously on varying and fixed context at the same time. To test the feasibility and efficiency of our proposed design, we simulate the middleware and its various components in a mobile adhoc environment under various network conditions using the network simulator NS-2.


Interoperability, Middleware, Smart Space, Context Aware, Service Discovery, Adhoc Networks

Full Text:



P. Floreen et al., “Towards a Context Management Framework for MobiLife,” Proc. 14th IST Mobile & Wireless Summit 2005, Dresden, Germany, June 2005.

Campo et al., “PDP and GSDL: A new service discovery Middleware to support Spontaneous interactions in Pervasive Systems”, Proc. of 3rd IEEE Pervasive Computing and Communications workshop, pp.178-182, Kauai, Hawaii, March 2005.

D. Zhang, Z. Yu and C. Y. Chin, “Context-aware Infrastructure for Personalized Healthcare”, International Workshop on Personalized Health, pp.155-163, Belfast, Northern Ireland, December 2004.

P. Grace, G. S. Blair and S. Samuel, “Interoperating with services in a Mobile Environment”, Lancaster University, Technical Report, MPG – 03 – 01, 2003.

S. S.Yau et al., “Reconfigurable Context Sensitive Middleware for Pervasive Computing”, IEEE Pervasive Computing, pp. 33-40, July-September 2002.

R. E. Schantz and D. C. Schmidt, “Middleware for Distributed Systems: Evolving the common structure for Network Centric Applications”, Encyclopedia of Software Engineering, J. Marciniak and G. Telecki, Eds., John Wiley and Sons, pp.801-813, December 2001.

P. Grace, “Overcoming Middleware heterogeneity in Mobile Computing Applications”, PhD thesis, Lancaster University, March 2004.

O. Riva, “A Context Infrastructure for the support of Mobile Context Aware Services”, Proc. of Sixth International Conference on Ubiquitous Computing Nottingham, England, September 2004.

G. S. Blair and G. Coulson, “Service Architectures”, Technical report, Computing Department, Lancaster University, 2004.

T. Strang, C. Linnhoff-Popien, “Service Interoperability on Context Level in Ubiquitous Computing Environments”, Proc. of International Conference on Advances in Infrastructure for Electronic Business, Education, Science, Medicine, and Mobile Technologies on the Internet (SSGRR2003w), pp.95 – 102, L'Aquila, Italy, January 2003.

Campo, “Service discovery in pervasive Multi-Agent systems”, AAMAS Workshop on Ubiquitous Agents on Embedded, Wearable and Mobile Agents, Bologna, Italy, July 2002.

Varshavsky, B. Reid and E. de Lara, “A cross- layer approach to service discovery and selection in MANETs”, Proc. of IEEE International Conference on Mobile Adhoc and Sensor Systems, November 2005.

M. Conti, E. Gregori and Giovanni Turi, “A cross-layer optimization of Gnutella for Mobile Adhoc Networks”, Proc. of the 6th ACM international symposium on Mobile ad hoc networking and computing, Urbana-Champaign, IL, May 2005.

T. Back, “P2P information sharing in Mobile Adhoc Networks”, HUT T-110.551, Seminar on Internetworking, Helsinki University of Technology, April 2005.

S. Milojicic et al., “Peer to Peer Computing”, Tech Report: HPL-2002-57, available on line at:

Sen, “Swarm Intelligence based optimized of MANET Cluster Information”, Master of Science Thesis, Graduate College, University of Arizona, 2006.


  • There are currently no refbacks.

Creative Commons License
This work is licensed under a Creative Commons Attribution 3.0 License.