AFChecker: Effective model checking for context-aware adaptive applications

► We propose a novel approach to improving the effectiveness of the existing adaptation fault detection technique. ► Our approach automatically derives domain and environment models for rule-based context-aware adaptive applications. ► We leverage the constraints formulated from the derived models t...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:The Journal of systems and software 2013-03, Vol.86 (3), p.854-867
Hauptverfasser: Liu, Yepang, Xu, Chang, Cheung, S.C.
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
container_end_page 867
container_issue 3
container_start_page 854
container_title The Journal of systems and software
container_volume 86
creator Liu, Yepang
Xu, Chang
Cheung, S.C.
description ► We propose a novel approach to improving the effectiveness of the existing adaptation fault detection technique. ► Our approach automatically derives domain and environment models for rule-based context-aware adaptive applications. ► We leverage the constraints formulated from the derived models to prune false alarms reported by the existing technique. ► We design a two-phase ranking mechanism and a feedback-directed strategy to effectively rank spurious fault reports. ► Our evaluation on two typical subjects shows that our approach is significantly more effective than the state of the art. Context-aware adaptive applications continually sense and adapt to their changing environments. A large body of such applications relies on user-configured adaptation rules to customize their behavior. We call them rule-based context-aware applications (or RBAs for short). Due to the complexity required for adequately modeling environmental dynamics, adaptation faults are common in these RBAs. One promising approach to detecting such faults is to build a state transition model for an RBA, and exhaustively explore the model's state space. However, it can suffer from numerous false positives. For example, 78.6% of 784 reported faults for one popular RBA – PhoneAdapter, turn out to be false in a real deployment. In this paper, we address this false positive problem by inferring a domain model and an environment model for an RBA. The two models capture the hidden features inside user-configured adaptation rules as well as the RBA's running environment. We formulate these features as deterministic constraints and probabilistic constraints to prune false positives and effectively prioritize remaining faults. Our experiments on two real RBAs report that this approach successfully removes 46.5% of false positives and ranks 86.2% of true positives to the top of the fault list.
doi_str_mv 10.1016/j.jss.2012.11.055
format Article
fullrecord <record><control><sourceid>proquest_cross</sourceid><recordid>TN_cdi_proquest_miscellaneous_1315698150</recordid><sourceformat>XML</sourceformat><sourcesystem>PC</sourcesystem><els_id>S0164121212003287</els_id><sourcerecordid>1315698150</sourcerecordid><originalsourceid>FETCH-LOGICAL-c358t-6eaf8a0cbe4bc8ab8022abb13f78a84a4b51da400cad8b56ed6b98eab58ce2fa3</originalsourceid><addsrcrecordid>eNp9kMFO5DAMhiPESgzsPgC3Sly4tMRp0wY4oREsCKS97J4jJ3UhpdOUpDOwb0-G4cSBky35-y37Y-wYeAEc6rO-6GMsBAdRABRcyj22ANWUOQih9tkiMVXqQRywwxh7znkjuFiw-6ub5RPZZwoX2XXXkZ3dhrKVb2nI7Hbgxses8yGzfpzpbc7xFQNl2OL0QeI0Dc7i7PwYf7IfHQ6Rfn3WI_bv5vrv8jZ_-PP7bnn1kNtSqjmvCTuF3BqqjFVoFBcCjYGyaxSqCisjocWKc4utMrKmtjbnitBIZUl0WB6x093eKfiXNcVZr1y0NAw4kl9HDSXI-lyB5Ak9-YL2fh3GdJ0G0UBTl1UlEwU7ygYfY6BOT8GtMPzXwPVWr-510qu3ejWATnpT5nKXofTpxlHQ0ToaLbUuJIu69e6b9DuuP4OD</addsrcrecordid><sourcetype>Aggregation Database</sourcetype><iscdi>true</iscdi><recordtype>article</recordtype><pqid>1271763445</pqid></control><display><type>article</type><title>AFChecker: Effective model checking for context-aware adaptive applications</title><source>ScienceDirect Journals (5 years ago - present)</source><creator>Liu, Yepang ; Xu, Chang ; Cheung, S.C.</creator><creatorcontrib>Liu, Yepang ; Xu, Chang ; Cheung, S.C.</creatorcontrib><description>► We propose a novel approach to improving the effectiveness of the existing adaptation fault detection technique. ► Our approach automatically derives domain and environment models for rule-based context-aware adaptive applications. ► We leverage the constraints formulated from the derived models to prune false alarms reported by the existing technique. ► We design a two-phase ranking mechanism and a feedback-directed strategy to effectively rank spurious fault reports. ► Our evaluation on two typical subjects shows that our approach is significantly more effective than the state of the art. Context-aware adaptive applications continually sense and adapt to their changing environments. A large body of such applications relies on user-configured adaptation rules to customize their behavior. We call them rule-based context-aware applications (or RBAs for short). Due to the complexity required for adequately modeling environmental dynamics, adaptation faults are common in these RBAs. One promising approach to detecting such faults is to build a state transition model for an RBA, and exhaustively explore the model's state space. However, it can suffer from numerous false positives. For example, 78.6% of 784 reported faults for one popular RBA – PhoneAdapter, turn out to be false in a real deployment. In this paper, we address this false positive problem by inferring a domain model and an environment model for an RBA. The two models capture the hidden features inside user-configured adaptation rules as well as the RBA's running environment. We formulate these features as deterministic constraints and probabilistic constraints to prune false positives and effectively prioritize remaining faults. Our experiments on two real RBAs report that this approach successfully removes 46.5% of false positives and ranks 86.2% of true positives to the top of the fault list.</description><identifier>ISSN: 0164-1212</identifier><identifier>EISSN: 1873-1228</identifier><identifier>DOI: 10.1016/j.jss.2012.11.055</identifier><identifier>CODEN: JSSODM</identifier><language>eng</language><publisher>New York: Elsevier Inc</publisher><subject>Adaptability ; Adaptation ; Adaptation fault ; Changing environments ; Computer programs ; Construction ; Customization ; Deterministic constraint ; Dynamical systems ; Dynamics ; False positive ; Fault diagnosis ; Fault ranking ; Faults ; Mathematical models ; Probabilistic constraint ; Running ; Software engineering ; Studies</subject><ispartof>The Journal of systems and software, 2013-03, Vol.86 (3), p.854-867</ispartof><rights>2012 Elsevier Inc.</rights><rights>Copyright Elsevier Sequoia S.A. Mar 2013</rights><lds50>peer_reviewed</lds50><woscitedreferencessubscribed>false</woscitedreferencessubscribed><citedby>FETCH-LOGICAL-c358t-6eaf8a0cbe4bc8ab8022abb13f78a84a4b51da400cad8b56ed6b98eab58ce2fa3</citedby><cites>FETCH-LOGICAL-c358t-6eaf8a0cbe4bc8ab8022abb13f78a84a4b51da400cad8b56ed6b98eab58ce2fa3</cites></display><links><openurl>$$Topenurl_article</openurl><openurlfulltext>$$Topenurlfull_article</openurlfulltext><thumbnail>$$Tsyndetics_thumb_exl</thumbnail><linktohtml>$$Uhttps://dx.doi.org/10.1016/j.jss.2012.11.055$$EHTML$$P50$$Gelsevier$$H</linktohtml><link.rule.ids>314,780,784,3550,27924,27925,45995</link.rule.ids></links><search><creatorcontrib>Liu, Yepang</creatorcontrib><creatorcontrib>Xu, Chang</creatorcontrib><creatorcontrib>Cheung, S.C.</creatorcontrib><title>AFChecker: Effective model checking for context-aware adaptive applications</title><title>The Journal of systems and software</title><description>► We propose a novel approach to improving the effectiveness of the existing adaptation fault detection technique. ► Our approach automatically derives domain and environment models for rule-based context-aware adaptive applications. ► We leverage the constraints formulated from the derived models to prune false alarms reported by the existing technique. ► We design a two-phase ranking mechanism and a feedback-directed strategy to effectively rank spurious fault reports. ► Our evaluation on two typical subjects shows that our approach is significantly more effective than the state of the art. Context-aware adaptive applications continually sense and adapt to their changing environments. A large body of such applications relies on user-configured adaptation rules to customize their behavior. We call them rule-based context-aware applications (or RBAs for short). Due to the complexity required for adequately modeling environmental dynamics, adaptation faults are common in these RBAs. One promising approach to detecting such faults is to build a state transition model for an RBA, and exhaustively explore the model's state space. However, it can suffer from numerous false positives. For example, 78.6% of 784 reported faults for one popular RBA – PhoneAdapter, turn out to be false in a real deployment. In this paper, we address this false positive problem by inferring a domain model and an environment model for an RBA. The two models capture the hidden features inside user-configured adaptation rules as well as the RBA's running environment. We formulate these features as deterministic constraints and probabilistic constraints to prune false positives and effectively prioritize remaining faults. Our experiments on two real RBAs report that this approach successfully removes 46.5% of false positives and ranks 86.2% of true positives to the top of the fault list.</description><subject>Adaptability</subject><subject>Adaptation</subject><subject>Adaptation fault</subject><subject>Changing environments</subject><subject>Computer programs</subject><subject>Construction</subject><subject>Customization</subject><subject>Deterministic constraint</subject><subject>Dynamical systems</subject><subject>Dynamics</subject><subject>False positive</subject><subject>Fault diagnosis</subject><subject>Fault ranking</subject><subject>Faults</subject><subject>Mathematical models</subject><subject>Probabilistic constraint</subject><subject>Running</subject><subject>Software engineering</subject><subject>Studies</subject><issn>0164-1212</issn><issn>1873-1228</issn><fulltext>true</fulltext><rsrctype>article</rsrctype><creationdate>2013</creationdate><recordtype>article</recordtype><recordid>eNp9kMFO5DAMhiPESgzsPgC3Sly4tMRp0wY4oREsCKS97J4jJ3UhpdOUpDOwb0-G4cSBky35-y37Y-wYeAEc6rO-6GMsBAdRABRcyj22ANWUOQih9tkiMVXqQRywwxh7znkjuFiw-6ub5RPZZwoX2XXXkZ3dhrKVb2nI7Hbgxses8yGzfpzpbc7xFQNl2OL0QeI0Dc7i7PwYf7IfHQ6Rfn3WI_bv5vrv8jZ_-PP7bnn1kNtSqjmvCTuF3BqqjFVoFBcCjYGyaxSqCisjocWKc4utMrKmtjbnitBIZUl0WB6x093eKfiXNcVZr1y0NAw4kl9HDSXI-lyB5Ak9-YL2fh3GdJ0G0UBTl1UlEwU7ygYfY6BOT8GtMPzXwPVWr-510qu3ejWATnpT5nKXofTpxlHQ0ToaLbUuJIu69e6b9DuuP4OD</recordid><startdate>201303</startdate><enddate>201303</enddate><creator>Liu, Yepang</creator><creator>Xu, Chang</creator><creator>Cheung, S.C.</creator><general>Elsevier Inc</general><general>Elsevier Sequoia S.A</general><scope>AAYXX</scope><scope>CITATION</scope><scope>7SC</scope><scope>8FD</scope><scope>JQ2</scope><scope>L7M</scope><scope>L~C</scope><scope>L~D</scope></search><sort><creationdate>201303</creationdate><title>AFChecker: Effective model checking for context-aware adaptive applications</title><author>Liu, Yepang ; Xu, Chang ; Cheung, S.C.</author></sort><facets><frbrtype>5</frbrtype><frbrgroupid>cdi_FETCH-LOGICAL-c358t-6eaf8a0cbe4bc8ab8022abb13f78a84a4b51da400cad8b56ed6b98eab58ce2fa3</frbrgroupid><rsrctype>articles</rsrctype><prefilter>articles</prefilter><language>eng</language><creationdate>2013</creationdate><topic>Adaptability</topic><topic>Adaptation</topic><topic>Adaptation fault</topic><topic>Changing environments</topic><topic>Computer programs</topic><topic>Construction</topic><topic>Customization</topic><topic>Deterministic constraint</topic><topic>Dynamical systems</topic><topic>Dynamics</topic><topic>False positive</topic><topic>Fault diagnosis</topic><topic>Fault ranking</topic><topic>Faults</topic><topic>Mathematical models</topic><topic>Probabilistic constraint</topic><topic>Running</topic><topic>Software engineering</topic><topic>Studies</topic><toplevel>peer_reviewed</toplevel><toplevel>online_resources</toplevel><creatorcontrib>Liu, Yepang</creatorcontrib><creatorcontrib>Xu, Chang</creatorcontrib><creatorcontrib>Cheung, S.C.</creatorcontrib><collection>CrossRef</collection><collection>Computer and Information Systems Abstracts</collection><collection>Technology Research Database</collection><collection>ProQuest Computer Science Collection</collection><collection>Advanced Technologies Database with Aerospace</collection><collection>Computer and Information Systems Abstracts – Academic</collection><collection>Computer and Information Systems Abstracts Professional</collection><jtitle>The Journal of systems and software</jtitle></facets><delivery><delcategory>Remote Search Resource</delcategory><fulltext>fulltext</fulltext></delivery><addata><au>Liu, Yepang</au><au>Xu, Chang</au><au>Cheung, S.C.</au><format>journal</format><genre>article</genre><ristype>JOUR</ristype><atitle>AFChecker: Effective model checking for context-aware adaptive applications</atitle><jtitle>The Journal of systems and software</jtitle><date>2013-03</date><risdate>2013</risdate><volume>86</volume><issue>3</issue><spage>854</spage><epage>867</epage><pages>854-867</pages><issn>0164-1212</issn><eissn>1873-1228</eissn><coden>JSSODM</coden><abstract>► We propose a novel approach to improving the effectiveness of the existing adaptation fault detection technique. ► Our approach automatically derives domain and environment models for rule-based context-aware adaptive applications. ► We leverage the constraints formulated from the derived models to prune false alarms reported by the existing technique. ► We design a two-phase ranking mechanism and a feedback-directed strategy to effectively rank spurious fault reports. ► Our evaluation on two typical subjects shows that our approach is significantly more effective than the state of the art. Context-aware adaptive applications continually sense and adapt to their changing environments. A large body of such applications relies on user-configured adaptation rules to customize their behavior. We call them rule-based context-aware applications (or RBAs for short). Due to the complexity required for adequately modeling environmental dynamics, adaptation faults are common in these RBAs. One promising approach to detecting such faults is to build a state transition model for an RBA, and exhaustively explore the model's state space. However, it can suffer from numerous false positives. For example, 78.6% of 784 reported faults for one popular RBA – PhoneAdapter, turn out to be false in a real deployment. In this paper, we address this false positive problem by inferring a domain model and an environment model for an RBA. The two models capture the hidden features inside user-configured adaptation rules as well as the RBA's running environment. We formulate these features as deterministic constraints and probabilistic constraints to prune false positives and effectively prioritize remaining faults. Our experiments on two real RBAs report that this approach successfully removes 46.5% of false positives and ranks 86.2% of true positives to the top of the fault list.</abstract><cop>New York</cop><pub>Elsevier Inc</pub><doi>10.1016/j.jss.2012.11.055</doi><tpages>14</tpages></addata></record>
fulltext fulltext
identifier ISSN: 0164-1212
ispartof The Journal of systems and software, 2013-03, Vol.86 (3), p.854-867
issn 0164-1212
1873-1228
language eng
recordid cdi_proquest_miscellaneous_1315698150
source ScienceDirect Journals (5 years ago - present)
subjects Adaptability
Adaptation
Adaptation fault
Changing environments
Computer programs
Construction
Customization
Deterministic constraint
Dynamical systems
Dynamics
False positive
Fault diagnosis
Fault ranking
Faults
Mathematical models
Probabilistic constraint
Running
Software engineering
Studies
title AFChecker: Effective model checking for context-aware adaptive applications
url https://sfx.bib-bvb.de/sfx_tum?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2025-01-08T01%3A20%3A17IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Article-proquest_cross&rft_val_fmt=info:ofi/fmt:kev:mtx:journal&rft.genre=article&rft.atitle=AFChecker:%20Effective%20model%20checking%20for%20context-aware%20adaptive%20applications&rft.jtitle=The%20Journal%20of%20systems%20and%20software&rft.au=Liu,%20Yepang&rft.date=2013-03&rft.volume=86&rft.issue=3&rft.spage=854&rft.epage=867&rft.pages=854-867&rft.issn=0164-1212&rft.eissn=1873-1228&rft.coden=JSSODM&rft_id=info:doi/10.1016/j.jss.2012.11.055&rft_dat=%3Cproquest_cross%3E1315698150%3C/proquest_cross%3E%3Curl%3E%3C/url%3E&disable_directlink=true&sfx.directlink=off&sfx.report_link=0&rft_id=info:oai/&rft_pqid=1271763445&rft_id=info:pmid/&rft_els_id=S0164121212003287&rfr_iscdi=true