• DocumentCode
    3587358
  • Title

    SHAP: Suppressing the Detection of Inconsistency Hazards by Pattern Learning

  • Author

    Wang Xi ; Chang Xu ; Wenhua Yang ; Ping Yu ; Xiaoxing Ma ; Jiang Lu

  • Author_Institution
    State Key Lab. for Novel Software Technol., Nanjing Univ., Nanjing, China
  • Volume
    1
  • fYear
    2014
  • Firstpage
    391
  • Lastpage
    398
  • Abstract
    Context-aware applications rely on contexts derived from sensory data to adapt their behavior. However, contexts can be inconsistent and cause application anomaly or crash. One popular solution is to detect and resolve context inconsistencies at runtime. However, we observe that many detected inconsistencies do not indicate real context problems. Instead, they are caused by improper inconsistency detection. These inconsistencies are harmless, and their resolution is unnecessary or may even cause new problems. We name them inconsistency hazards. Inconsistency hazards should be suppressed, but their occurrences resemble normal inconsistencies. In this paper, we present a pattern-learning based approach SHAP to suppressing the detection of inconsistency hazards. Our key insight is that the detection of such hazards is subject to certain patterns of context changes. These patterns, although difficult to specify manually, can be learned effectively from historical inconsistency detection data. We evaluated our SHAP experimentally through three context-aware applications. The results reported that SHAP can automatically suppress the detection of over 90% inconsistency hazards, while preserving the detection of over 98% normal inconsistencies, with only negligible overhead.
  • Keywords
    learning (artificial intelligence); pattern classification; program diagnostics; ubiquitous computing; SHAP; context inconsistencies; context-aware applications; detection suppression; inconsistency detection; inconsistency hazards; pattern learning; Context; Context-aware services; Dynamic scheduling; Hazards; Heuristic algorithms; Medical services; Sensors; context inconsistency; inconsistency hazards; pattern learning;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Software Engineering Conference (APSEC), 2014 21st Asia-Pacific
  • ISSN
    1530-1362
  • Print_ISBN
    978-1-4799-7425-2
  • Type

    conf

  • DOI
    10.1109/APSEC.2014.64
  • Filename
    7091335