Partial constraint checking for context consistency in pervasive computing

  • Authors:
  • Chang Xu;S. C. Cheung;W. K. Chan;Chunyang Ye

  • Affiliations:
  • The Hong Kong University of Science and Technology, Hong Kong, China;The Hong Kong University of Science and Technology, Hong Kong, China;City University of Hong Kong, Hong Kong, China;The Hong Kong University of Science and Technology and Chinese Academy of Sciences, Beijing, China

  • Venue:
  • ACM Transactions on Software Engineering and Methodology (TOSEM)
  • Year:
  • 2010

Quantified Score

Hi-index 0.01

Visualization

Abstract

Pervasive computing environments typically change frequently in terms of available resources and their properties. Applications in pervasive computing use contexts to capture these changes and adapt their behaviors accordingly. However, contexts available to these applications may be abnormal or imprecise due to environmental noises. This may result in context inconsistencies, which imply that contexts conflict with each other. The inconsistencies may set such an application into a wrong state or lead the application to misadjust its behavior. It is thus desirable to detect and resolve the context inconsistencies in a timely way. One popular approach is to detect context inconsistencies when contexts breach certain consistency constraints. Existing constraint checking techniques recheck the entire expression of each affected consistency constraint upon context changes. When a changed context affects only a constraint's subexpression, rechecking the entire expression can adversely delay the detection of other context inconsistencies. This article proposes a rigorous approach to identifying the parts of previous checking results that are reusable without entire rechecking. We evaluated our work on the Cabot middleware through both simulation experiments and a case study. The experimental results reported that our approach achieved over a fifteenfold performance improvement on context inconsistency detection than conventional approaches.