Title :
Formal specification and runtime detection of temporal properties for asynchronous context
Author :
Wei, Hengfeng ; Huang, Yu ; Cao, Jiannong ; Ma, Xiaoxing ; Lu, Jian
Author_Institution :
State Key Lab. for Novel Software Technol., Nanjing Univ., Nanjing, China
Abstract :
Formal specification and runtime detection of temporal properties for pervasive context is one of the primary approaches to achieving context-awareness. Though temporal logics have been widely used in specification of temporal properties, they are faced with severe challenges in Pervasive Computing (PvC) scenarios. First, temporal logics are traditionally defined over infinite traces of possible system behavior. However in PvC scenarios, applications observe finite prefixes of (potentially infinite) traces of environment state evolution, and adapt their behavior accordingly. Second, specification and detection of temporal properties are challenged by the intrinsic asynchrony of PvC environments. Discussions above necessitate a systematic approach to formal specification and runtime detection of temporal properties for asynchronous context. To this end, we propose CTL3 (3-valued Computation Tree Logic), which i) adopts 3-valued semantics to capture the inconclusiveness when applications only observe finite prefixes of environment state evolution; ii) inherits the notion of branching time to capture the uncertainty resulting from the asynchrony of PvC environments. A case study is conducted to demonstrate how CTL3 supports context-awareness in PvC scenarios. The runtime checking algorithm of CTL3 is implemented and evaluated over MIPA - the open-source context-aware middle-ware we developed. The case study demonstrates the necessity of adopting CTL3 in PvC scenarios, while the performance measurements show the cost-effectiveness of runtime checking contextual properties in CTL3.
Keywords :
formal specification; middleware; temporal logic; ubiquitous computing; 3-valued computation tree logic; CTL3; PvC; asynchronous context; context-awareness; environment state evolution; formal specification; open source context aware middleware; pervasive computing; pervasive context; runtime detection; temporal logics; temporal properties; Context; Lattices; Middleware; Pervasive computing; Runtime; Semantics; 3-valued semantics; branching time; contextual property;
Conference_Titel :
Pervasive Computing and Communications (PerCom), 2012 IEEE International Conference on
Conference_Location :
Lugano
Print_ISBN :
978-1-4673-0256-2
Electronic_ISBN :
978-1-4673-0257-9
DOI :
10.1109/PerCom.2012.6199846