A Peer-to-Peer Light-Weight Component Model for Context-Aware SmartSpace Applications


Abstract—Mobile Peer-to-Peer (P2P) computing applications involvecollections of heterogeneous and resource-limited devices (such asPDAs or embedded sensor-actuator systems), typically operated inad-hoc completely decentralized networks and without requiring dedicatedinfrastructure support. Short-range wireless communication technologiestogether with P2P networking capabilities on mobile devices are responsiblefor a proliferation of such applications, yet these applicationsare often complex and monolithic in nature due to the lack of lightweightcomponent/container support in these resource-constrained devices.A threatening field of application is smart space'' control, i.e.software architectures to control various home appliances and embeddedhome facilities in a personalized, spontaneous and intuitive way.Future home environments are expected to be highly populated by ubiquitouscomputing technology, allowing to integrate various aspects of homeactivities seamlessly into walls, floors, furniture, appliances,and even clothing – thus raising the need for lightweight, versatileand component based software architectures to harness such technologyrich environments.In this paper we describe our lightweight software component modelP2Pcomp that addresses the development needs for mobile P2P applications.An abstract, flexible, and high-level communication mechanism amongcomponents is developed via a ports concept, supporting protocolindependence, location independence, and (a)synchronous invocations;dependencies are not hard-coded in the components, but can be definedat deployment or runtime, providing late-binding and dynamic rerouteabilitycapabilities. Peers can elect to provide services as well as consumethem, services can migrate between containers, and services are rankedto support Quality-of-Service choices. Our lightweight containerrealization leverages the OSGi platform and can utilize various P2Pcommunication mechanisms such as JXTA. A smart space’’ applicationscenario demonstrates how P2Pcomp supports flexible and highly tailorablemobile P2P applications.

International Journal of Wireless and Mobile Computing (IJWMC),special issue on Mobile Distributed Computing