Partial constraint checking for context consistency in pervasive computing

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.

[1]  Sally I. McClean,et al.  Database aggregation of imprecise and uncertain evidence , 2003, Inf. Sci..

[2]  Jun Rao,et al.  A deferred cleansing method for RFID data analytics , 2006, VLDB.

[3]  Tsong Yueh Chen,et al.  A Choice Relation Framework for Supporting Category-Partition Test Case Generation , 2003, IEEE Trans. Software Eng..

[4]  Chan-Gun Lee,et al.  Specifying timing constraints and composite events: an application in the design of electronic brokerages , 2004, IEEE Transactions on Software Engineering.

[5]  Shing-Chi Cheung,et al.  Inconsistency detection and resolution for context-aware middleware support , 2005, ESEC/FSE-13.

[6]  Stephen S. Yau,et al.  Integration Testing of Context-sensitive Middleware-based Applications: a Metamorphic Approach , 2006, Int. J. Softw. Eng. Knowl. Eng..

[7]  Axel van Lamsweerde,et al.  Managing Conflicts in Goal-Driven Requirements Engineering , 1998, IEEE Trans. Software Eng..

[8]  Opher Etzion,et al.  Amit - the situation manager , 2003, The VLDB Journal.

[9]  Roy H. Campbell,et al.  ConChat: A Context-Aware Chat Program , 2002, IEEE Pervasive Comput..

[10]  William G. Griswold,et al.  A component architecture for an extensible, highly integrated context-aware computing infrastructure , 2003, 25th International Conference on Software Engineering, 2003. Proceedings..

[11]  Christine Julien,et al.  EgoSpaces: facilitating rapid development of context-aware mobile applications , 2006, IEEE Transactions on Software Engineering.

[12]  T. H. Tse,et al.  Testing pervasive software in the presence of context inconsistency resolution services , 2008, 2008 ACM/IEEE 30th International Conference on Software Engineering.

[13]  Joachim Niehren,et al.  The first-order theory of subtyping constraints , 2002, POPL '02.

[14]  Shing-Chi Cheung,et al.  Heuristics-Based Strategies for Resolving Context Inconsistencies in Pervasive Computing Applications , 2008, 2008 The 28th International Conference on Distributed Computing Systems.

[15]  Jian Lu,et al.  Managing Quality of Context in Pervasive Computing , 2006, 2006 Sixth International Conference on Quality Software (QSIC'06).

[16]  David S. Rosenblum,et al.  Automated Generation of Context-Aware Tests , 2007, 29th International Conference on Software Engineering (ICSE'07).

[17]  Christine Julien,et al.  Egocentric context-aware programming in ad hoc mobile environments , 2002, SIGSOFT '02/FSE-10.

[18]  Cecilia Mascolo,et al.  CARISMA: Context-Aware Reflective mIddleware System for Mobile Applications , 2003, IEEE Trans. Software Eng..

[19]  Shing-Chi Cheung,et al.  Incremental consistency checking for pervasive context , 2006, ICSE '06.

[20]  Martin Wirsing,et al.  Consistency checking in an infrastructure for large-scale generative programming , 2004, Proceedings. 19th International Conference on Automated Software Engineering, 2004..

[21]  Marsha Chechik,et al.  A framework for multi-valued reasoning over inconsistent viewpoints , 2001, Proceedings of the 23rd International Conference on Software Engineering. ICSE 2001.

[22]  Neil Immerman,et al.  Efficient pattern matching over event streams , 2008, SIGMOD Conference.

[23]  Annika Hinze Efficient Filtering of Composite Events , 2003, BNCOD.

[24]  Jorge Lobo,et al.  Conflict Resolution Using Logic Programming , 2003, IEEE Trans. Knowl. Data Eng..

[25]  Minos N. Garofalakis,et al.  Adaptive cleaning for RFID data streams , 2006, VLDB.

[26]  Licia Capra,et al.  xlinkit: a consistency checking and smart link generation service , 2002, TOIT.

[27]  Amy P. Felty,et al.  Feature specification and automated conflict detection , 2003, TSEM.

[28]  Roy H. Campbell,et al.  Reasoning about Uncertain Contexts in Pervasive Computing Environments , 2004, IEEE Pervasive Comput..

[29]  Didar Zowghi,et al.  Reasoning about inconsistencies in natural language requirements , 2005, TSEM.

[30]  Gregory D. Abowd,et al.  The context toolkit: aiding the development of context-enabled applications , 1999, CHI '99.

[31]  Amy L. Murphy,et al.  LIME: A coordination model and middleware supporting mobility of hosts and agents , 2006, TSEM.

[32]  Lori A. Clarke,et al.  Consistency management for complex applications , 1998, Proceedings of the 20th International Conference on Software Engineering.

[33]  Alexander Egyed,et al.  Fixing Inconsistencies in UML Design Models , 2007, 29th International Conference on Software Engineering (ICSE'07).

[34]  Wolfgang Emmerich,et al.  Flexible consistency checking , 2003, TSEM.

[35]  Jian Lu,et al.  An Enhanced Ontology Based Context Model and Fusion Mechanism , 2005, EUC.

[36]  Martin C. Rinard,et al.  Goal-Directed Reasoning for Specification-Based Data Structure Repair , 2006, IEEE Transactions on Software Engineering.

[37]  Stephen S. Yau,et al.  An Adaptive Middleware for Context-Sensitive Communications for Real-Time Applications in Ubiquitous Computing Environments , 2004, Real-Time Systems.

[38]  Jun Wei,et al.  Cabot: On the Ontology for the Middleware Support of Context-Aware Pervasive Applications , 2004, NPC.

[39]  Cecilia Mascolo,et al.  The SATIN Component System-A Metamodel for Engineering Adaptable Mobile Systems , 2006, IEEE Transactions on Software Engineering.

[40]  Martin Wirsing,et al.  Consistency Checking in an Infrastructure for Large-Scale Generative. , 2004 .

[41]  Jadwiga Indulska,et al.  A software engineering framework for context-aware pervasive computing , 2004, Second IEEE Annual Conference on Pervasive Computing and Communications, 2004. Proceedings of the.

[42]  Roy H. Campbell,et al.  An infrastructure for context-awareness based on first order logic , 2003, Personal and Ubiquitous Computing.

[43]  Prashant J. Shenoy,et al.  Efficient Data Interpretation and Compression over RFID Streams , 2008, 2008 IEEE 24th International Conference on Data Engineering.

[44]  Sandeep K. S. Gupta,et al.  Reconfigurable Context-Sensitive Middleware for Pervasive Computing , 2002, IEEE Pervasive Comput..

[45]  Johannes Gehrke,et al.  Query Processing in Sensor Networks , 2003, CIDR.

[46]  Wolfgang Emmerich,et al.  Consistency management with repair actions , 2003, 25th International Conference on Software Engineering, 2003. Proceedings..

[47]  Gregory D. Abowd,et al.  A Context-Based Infrastructure for Smart Environments , 2000 .

[48]  Shing-Chi Cheung,et al.  On impact-oriented automatic resolution of pervasive context inconsistency , 2007, ESEC-FSE companion '07.

[49]  Guanling Chen,et al.  A Survey of Context-Aware Mobile Computing Research , 2000 .

[50]  Shing-Chi Cheung,et al.  Goal-Directed Context Validation for Adaptive Ubiquitous Systems , 2007, International Workshop on Software Engineering for Adaptive and Self-Managing Systems (SEAMS '07).

[51]  Dongman Lee,et al.  A dynamic context-conflict management scheme for group-aware ubiquitous computing environments , 2005, 29th Annual International Computer Software and Applications Conference (COMPSAC'05).

[52]  Ling Feng,et al.  Context for ubiquitous data management , 2005, International Workshop on Ubiquitous Data Management.

[53]  Andy Hopper,et al.  The active badge location system , 1992, TOIS.

[54]  Steven P. Reiss,et al.  Incremental Maintenance of Software Artifacts , 2006, IEEE Transactions on Software Engineering.

[55]  Simson L. Garfinkel,et al.  RFID: Applications, Security, and Privacy , 2005 .

[56]  Christine Julien,et al.  Automatic consistency assessment for query results in dynamic environments , 2007, ESEC-FSE '07.

[57]  Jadwiga Indulska,et al.  Modelling and using imperfect context information , 2004, IEEE Annual Conference on Pervasive Computing and Communications Workshops, 2004. Proceedings of the Second.

[58]  Alexander Egyed,et al.  Instant consistency checking for the UML , 2006, ICSE.

[59]  Stephen S. Yau,et al.  Testing context-sensitive middleware-based software applications , 2004, Proceedings of the 28th Annual International Computer Software and Applications Conference, 2004. COMPSAC 2004..

[60]  Ichiro Satoh,et al.  A Testing Framework for Mobile Computing Software , 2003, IEEE Trans. Software Eng..

[61]  Mehdi Jazayeri,et al.  Predicting Incompatibility of Transformations in Model-driven Development , 2005, Electron. Notes Theor. Comput. Sci..

[62]  Klara Nahrstedt,et al.  A Middleware Infrastructure for Active Spaces , 2002, IEEE Pervasive Comput..

[63]  T. H. Tse,et al.  Testing context-aware middleware-centric programs: a data flow approach and an RFID-based experimentation , 2006, SIGSOFT '06/FSE-14.