A Language for Online State Processing of Binary Sensors, Applied to Ambient Assisted Living

Abstract : There is a large variety of binary sensors in use today, and useful context-aware services can be defined using such binary sensors. However, the currently available approaches for programming context-aware services do not conveniently support binary sensors. Indeed, no existing approach simultaneously supports a notion of state, central to binary sensors, offers a complete set of operators to compose states, allows to define reusable abstractions by means of such compositions, and implements efficient online processing of these operators. This paper proposes a new language for event processing specifically targeted to binary sensors. The central contributions of this language are a native notion of state and semi-causal operators for temporal state composition including: Allen's interval relations generalized for handling multiple intervals, and temporal filters for handling delays. Compared to other approaches such as CEP (complex event processing), our language provides less discontinued information, allows less restricted compositions, and supports reusable abstractions. We implemented an interpreter for our language and applied it to successfully rewrite a full set of real Ambient Assisted Living services. The performance of our prototype interpreter is shown to compete well with a commercial CEP engine when expressing the same services.
Complete list of metadatas

Contributor : Eugene Volanschi <>
Submitted on : Monday, December 17, 2018 - 10:05:52 AM
Last modification on : Friday, February 8, 2019 - 1:13:50 AM
Long-term archiving on : Monday, March 18, 2019 - 1:27:14 PM


Files produced by the author(s)




Nic Volanschi, Bernard Serpette, Adrien Carteron, Charles Consel. A Language for Online State Processing of Binary Sensors, Applied to Ambient Assisted Living. Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies , ACM, In press, 2 (4), pp.26. ⟨https://imwut.acm.org⟩. ⟨10.1145/3287070⟩. ⟨hal-01947742⟩



Record views


Files downloads