{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,9,23]],"date-time":"2026-09-23T21:32:51Z","timestamp":1790199171829,"version":"4.1.0"},"reference-count":41,"publisher":"Association for Computing Machinery (ACM)","issue":"4","license":[{"start":{"date-parts":[[2018,12,27]],"date-time":"2018-12-27T00:00:00Z","timestamp":1545868800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["Proc. ACM Interact. Mob. Wearable Ubiquitous Technol."],"published-print":{"date-parts":[[2018,12,27]]},"abstract":"<jats:p>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.<\/jats:p>\n          <jats:p>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.<\/jats:p>","DOI":"10.1145\/3287070","type":"journal-article","created":{"date-parts":[[2018,12,27]],"date-time":"2018-12-27T19:28:03Z","timestamp":1545938883000},"page":"1-26","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":6,"title":["A Language for Online State Processing of Binary Sensors, Applied to Ambient Assisted Living"],"prefix":"10.1145","volume":"2","author":[{"given":"Nic","family":"Volanschi","sequence":"first","affiliation":[{"name":"Inria Bordeaux - Sud-Ouest, Talence cedex, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Bernard","family":"Serpette","sequence":"additional","affiliation":[{"name":"Inria Bordeaux - Sud-Ouest, Talence, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Adrien","family":"Carteron","sequence":"additional","affiliation":[{"name":"Inria Bordeaux - Sud-Ouest, Talence, France"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Charles","family":"Consel","sequence":"additional","affiliation":[{"name":"Bordeaux INP &amp; Inria, Talence, France"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2018,12,27]]},"reference":[{"key":"e_1_2_1_1_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.neucom.2014.09.074"},{"key":"e_1_2_1_2_1","volume-title":"Advances in Databases and Information Systems, Leonid Kalinichenko, Rainer Manthey","author":"Adaikkalavan Raman","unstructured":"Raman Adaikkalavan and Sharma Chakravarthy . 2003. SnoopIB: Interval-Based Event Specification and Detection for Active Databases . In Advances in Databases and Information Systems, Leonid Kalinichenko, Rainer Manthey , Bernhard Thalheim , and Uwe Wloka (Eds.). Springer Berlin Heidelberg , Berlin, Heidelberg, 190--204. Raman Adaikkalavan and Sharma Chakravarthy. 2003. SnoopIB: Interval-Based Event Specification and Detection for Active Databases. In Advances in Databases and Information Systems, Leonid Kalinichenko, Rainer Manthey, Bernhard Thalheim, and Uwe Wloka (Eds.). Springer Berlin Heidelberg, Berlin, Heidelberg, 190--204."},{"key":"e_1_2_1_3_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2016.02.010"},{"key":"e_1_2_1_4_1","doi-asserted-by":"publisher","DOI":"10.1145\/182.358434"},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.5555\/1894568.1894575"},{"key":"e_1_2_1_6_1","volume-title":"Timed Automata: Semantics, Algorithms and Tools","author":"Bengtsson Johan","year":"2004","unstructured":"Johan Bengtsson and Wang Yi . 2004 . Timed Automata: Semantics, Algorithms and Tools . Springer Berlin Heidelberg , Berlin, Heidelberg , 87--124. Johan Bengtsson and Wang Yi. 2004. Timed Automata: Semantics, Algorithms and Tools. Springer Berlin Heidelberg, Berlin, Heidelberg, 87--124."},{"key":"e_1_2_1_7_1","unstructured":"T. Bourke and A. Sowmya. 2010. Delays in Esterel. In SYNCHRON 2009 (Dagstuhl Seminar Proceedings) Albert Benveniste Stephen A. Edwards Edward Lee Klaus Schneider and Reinhard von Hanxleden (Eds.). Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik Germany Dagstuhl Germany. http:\/\/drops.dagstuhl.de\/opus\/volltexte\/2010\/2434  T. Bourke and A. Sowmya. 2010. Delays in Esterel. In SYNCHRON 2009 (Dagstuhl Seminar Proceedings) Albert Benveniste Stephen A. Edwards Edward Lee Klaus Schneider and Reinhard von Hanxleden (Eds.). Schloss Dagstuhl - Leibniz-Zentrum fuer Informatik Germany Dagstuhl Germany. http:\/\/drops.dagstuhl.de\/opus\/volltexte\/2010\/2434"},{"key":"e_1_2_1_8_1","doi-asserted-by":"publisher","DOI":"10.1145\/1993042.1993050"},{"key":"e_1_2_1_9_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.pmcj.2007.10.001"},{"key":"e_1_2_1_10_1","volume-title":"Proceedings of the 8th International Conference on Applied Human Factors and Ergonomics (AHFE","author":"Consel Charles","year":"2017","unstructured":"Charles Consel , Lucile Dupuy , and H\u00e9l\u00e8ne Sauz\u00e9on . 2017 . HomeAssist: An Assisted Living Platform for Aging in Place Based on an Interdisciplinary Approach . In Proceedings of the 8th International Conference on Applied Human Factors and Ergonomics (AHFE 2017). Springer. Charles Consel, Lucile Dupuy, and H\u00e9l\u00e8ne Sauz\u00e9on. 2017. HomeAssist: An Assisted Living Platform for Aging in Place Based on an Interdisciplinary Approach. In Proceedings of the 8th International Conference on Applied Human Factors and Ergonomics (AHFE 2017). Springer."},{"key":"e_1_2_1_11_1","doi-asserted-by":"publisher","DOI":"10.1109\/MPRV.2016.24"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/1827418.1827427"},{"key":"e_1_2_1_13_1","doi-asserted-by":"publisher","DOI":"10.1145\/2187671.2187677"},{"key":"e_1_2_1_14_1","doi-asserted-by":"publisher","DOI":"10.1145\/3170432"},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.maturitas.2011.03.016"},{"key":"e_1_2_1_16_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.chb.2016.07.042"},{"key":"e_1_2_1_17_1","volume-title":"Everyday Functioning Benefits from an Assisted Living Platform amongst Frail Older Adults and Their Caregivers. Frontiers in Aging Neuroscience 9 (Sept","author":"Dupuy Lucile","year":"2017","unstructured":"Lucile Dupuy , Charlotte Froger , Charles Consel , and H\u00e9l\u00e8ne Sauz\u00e9on . 2017. Everyday Functioning Benefits from an Assisted Living Platform amongst Frail Older Adults and Their Caregivers. Frontiers in Aging Neuroscience 9 (Sept . 2017 ), 1--12. Lucile Dupuy, Charlotte Froger, Charles Consel, and H\u00e9l\u00e8ne Sauz\u00e9on. 2017. Everyday Functioning Benefits from an Assisted Living Platform amongst Frail Older Adults and Their Caregivers. Frontiers in Aging Neuroscience 9 (Sept. 2017), 1--12."},{"key":"e_1_2_1_18_1","volume-title":"d.}. Esper Reference","unstructured":"EsperTech. {n. d.}. Esper Reference . http:\/\/esper.espertech.com\/release-5.5.0\/esper-reference\/html\/index.html. Accessed: 2018-05-12. EsperTech. {n. d.}. Esper Reference. http:\/\/esper.espertech.com\/release-5.5.0\/esper-reference\/html\/index.html. Accessed: 2018-05-12."},{"key":"e_1_2_1_20_1","volume-title":"Reactive Specification","author":"Gamati\u00e9 Abdoulaye","unstructured":"Abdoulaye Gamati\u00e9 . 2010. Designing Embedded Systems with the SIGNAL Programming Language: Synchronous , Reactive Specification . Springer New York , New York, NY , Chapter Synchronous Programming: Overview, 21--39. Abdoulaye Gamati\u00e9. 2010. Designing Embedded Systems with the SIGNAL Programming Language: Synchronous, Reactive Specification. Springer New York, New York, NY, Chapter Synchronous Programming: Overview, 21--39."},{"key":"e_1_2_1_21_1","volume-title":"Proceedings of the 11th International Joint Conference on Artificial Intelligence -","volume":"2","author":"Ghallab Malik","year":"1989","unstructured":"Malik Ghallab and Amine Mounir Alaoui . 1989 . Managing Efficiently Temporal Relations Through Indexed Spanning Trees . In Proceedings of the 11th International Joint Conference on Artificial Intelligence - Volume 2 (IJCAI'89). Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 1297--1303. http:\/\/dl.acm.org\/citation.cfm?id=1623891.1623963 Malik Ghallab and Amine Mounir Alaoui. 1989. Managing Efficiently Temporal Relations Through Indexed Spanning Trees. In Proceedings of the 11th International Joint Conference on Artificial Intelligence - Volume 2 (IJCAI'89). Morgan Kaufmann Publishers Inc., San Francisco, CA, USA, 1297--1303. http:\/\/dl.acm.org\/citation.cfm?id=1623891.1623963"},{"key":"e_1_2_1_22_1","doi-asserted-by":"publisher","DOI":"10.1145\/2628136.2628138"},{"key":"e_1_2_1_23_1","doi-asserted-by":"publisher","DOI":"10.1016\/0167-6423(87)90035-9"},{"key":"e_1_2_1_24_1","doi-asserted-by":"publisher","DOI":"10.1145\/2750858.2805830"},{"key":"e_1_2_1_25_1","unstructured":"David Janin and Bernard Paul Serpette. 2016. Timed Denotational Semantics for Causal Functions over Timed Streams. Research Report. LaBRI - Laboratoire Bordelais de Recherche en Informatique. https:\/\/hal.archives-ouvertes.fr\/hal-01402209  David Janin and Bernard Paul Serpette. 2016. Timed Denotational Semantics for Causal Functions over Timed Streams. Research Report. LaBRI - Laboratoire Bordelais de Recherche en Informatique. https:\/\/hal.archives-ouvertes.fr\/hal-01402209"},{"key":"e_1_2_1_26_1","article-title":"PIE: A Domain-Specific Language for Interactive Software Development Pipelines","volume":"2","author":"Konat Gabri\u00c3","year":"2018","unstructured":"Gabri\u00c3 Konat , Michael J Steindorfer , Sebastian Erdweg , Eelco Visser , 2018 . PIE: A Domain-Specific Language for Interactive Software Development Pipelines . The Art, Science, and Engineering of Programming Journal 2 , 3 (2018). Gabri\u00c3 Konat, Michael J Steindorfer, Sebastian Erdweg, Eelco Visser, et al. 2018. PIE: A Domain-Specific Language for Interactive Software Development Pipelines. The Art, Science, and Engineering of Programming Journal 2, 3 (2018).","journal-title":"The Art, Science, and Engineering of Programming Journal"},{"key":"e_1_2_1_27_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2015.11.001"},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.infsof.2007.04.002"},{"key":"e_1_2_1_29_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.pmcj.2012.07.003"},{"key":"e_1_2_1_30_1","doi-asserted-by":"publisher","DOI":"10.1145\/2002259.2002297"},{"key":"e_1_2_1_31_1","volume-title":"Proceedings of the 9th National Conference on Artificial Intelligence","volume":"1","author":"Ligozat Gerard","year":"1991","unstructured":"Gerard Ligozat . 1991 . On Generalized Interval Calculi . In Proceedings of the 9th National Conference on Artificial Intelligence , Anaheim, CA, USA , July 14-19, 1991, Volume 1 ., Thomas L. Dean and Kathleen McKeown (Eds.). AAAI Press \/ The MIT Press, 234--240. http:\/\/www.aaai.org\/Library\/AAAI\/1991\/aaai91-037.php Gerard Ligozat. 1991. On Generalized Interval Calculi. In Proceedings of the 9th National Conference on Artificial Intelligence, Anaheim, CA, USA, July 14-19, 1991, Volume 1., Thomas L. Dean and Kathleen McKeown (Eds.). AAAI Press \/ The MIT Press, 234--240. http:\/\/www.aaai.org\/Library\/AAAI\/1991\/aaai91-037.php"},{"key":"e_1_2_1_32_1","first-page":"75","article-title":"A Survey on Domain-Specific Modeling and Languages in Robotics","volume":"7","author":"Nordmann Arne","year":"2016","unstructured":"Arne Nordmann , Nico Hochgeschwender , Dennis Leroy Wigand , and Sebastian Wrede . 2016 . A Survey on Domain-Specific Modeling and Languages in Robotics . Journal of Software Engineering in Robotics 7 , 1 (2016), 75 -- 99 . Arne Nordmann, Nico Hochgeschwender, Dennis Leroy Wigand, and Sebastian Wrede. 2016. A Survey on Domain-Specific Modeling and Languages in Robotics. Journal of Software Engineering in Robotics 7, 1 (2016), 75--99.","journal-title":"Journal of Software Engineering in Robotics"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.3390\/s130505460"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","DOI":"10.1109\/SURV.2013.042313.00197"},{"key":"e_1_2_1_35_1","doi-asserted-by":"publisher","DOI":"10.1007\/11817963_25"},{"key":"e_1_2_1_36_1","doi-asserted-by":"publisher","DOI":"10.1109\/TASE.2015.2471842"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1109\/JIOT.2016.2579198"},{"key":"e_1_2_1_38_1","doi-asserted-by":"publisher","DOI":"10.1145\/3099584"},{"key":"e_1_2_1_39_1","first-page":"82","article-title":"CCBL: A new language for End User Development in the Smart Homes","volume":"2017","author":"Terrier L\u00e9na\u00efc","year":"2017","unstructured":"L\u00e9na\u00efc Terrier , Alexandre Demeure , and Sybille Caffiau . 2017 . CCBL: A new language for End User Development in the Smart Homes . In Proceedings of IS-EUD 2017. 82 -- 87 . https:\/\/pure.tue.nl\/ws\/files\/69763287\/IS_EUD2017_extended_abstracts.pdf#page=83 L\u00e9na\u00efc Terrier, Alexandre Demeure, and Sybille Caffiau. 2017. CCBL: A new language for End User Development in the Smart Homes. In Proceedings of IS-EUD 2017. 82--87. https:\/\/pure.tue.nl\/ws\/files\/69763287\/IS_EUD2017_extended_abstracts.pdf#page=83","journal-title":"Proceedings of IS-EUD"},{"key":"e_1_2_1_40_1","doi-asserted-by":"publisher","DOI":"10.1145\/2556288.2557420"},{"key":"e_1_2_1_41_1","doi-asserted-by":"crossref","first-page":"11","DOI":"10.1109\/TAC.2003.819073","article-title":"System identification using binary sensors","volume":"48","author":"Wang Le Yi","year":"2003","unstructured":"Le Yi Wang , Ji-Feng Zhang , and G. G. Yin . 2003 . System identification using binary sensors . IEEE Trans. Automat. Control 48 , 11 (Nov 2003), 1892--1907. Le Yi Wang, Ji-Feng Zhang, and G. G. Yin. 2003. System identification using binary sensors. IEEE Trans. Automat. Control 48, 11 (Nov 2003), 1892--1907.","journal-title":"IEEE Trans. Automat. Control"},{"key":"e_1_2_1_42_1","doi-asserted-by":"publisher","DOI":"10.1007\/11428572_5"}],"container-title":["Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3287070","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3287070","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,18]],"date-time":"2025-06-18T01:02:08Z","timestamp":1750208528000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3287070"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2018,12,27]]},"references-count":41,"journal-issue":{"issue":"4","published-print":{"date-parts":[[2018,12,27]]}},"alternative-id":["10.1145\/3287070"],"URL":"https:\/\/doi.org\/10.1145\/3287070","relation":{},"ISSN":["2474-9567"],"issn-type":[{"value":"2474-9567","type":"electronic"}],"subject":[],"published":{"date-parts":[[2018,12,27]]},"assertion":[{"value":"2018-05-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2018-10-01","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2018-12-27","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}