摘要

Wireless sensor networks which deployed in our daily life are able to provide diverse sensed information for users. These sensor networks are becoming an underlying infrastructure for pervasive computing. However, the nature constraints of wireless sensor networks, such as device mobility and limited energy resource lead to degradations of service availability and reliability in pervasive computing systems. In order to enhance the availability and reliability of these services, this paper presents a service cluster framework for managing the lifecycles of services with variable availability. Based on this framework, Fault-resilient Service Composition (FReSCo) architecture is developed to support the construction of a reliable pervasive computing system. In the architecture, the bidirectional transformation technique is used to keep state-consistency between a failed service and its substitute, at aims of fast recovery from service failures. Experimental results show that the technique can improve the fault-resilient performance of pervasive computing systems.