Nothing Special   »   [go: up one dir, main page]

skip to main content
research-article

CCBL: A Language for Better Supporting Context Centered Programming in the Smart Home

Published: 30 June 2017 Publication History

Abstract

This paper presents CCBL (Cascading Contexts Based Language), an end-user programming language dedicated to Smart Home. We design CCBL to avoid the problems encountered by end-users programming with ECA (Event Conditions Actions), which is the dominant approach in the domain. We present the results of an experiment where we asked 21 adults (11 experimented programmers and 10 non-programmers) to express four increasingly complex behaviors using both CCBL and ECA. We show that significantly less errors were made using CCBL than using ECA. From this experiment, we also propose some categorization and explanation of the errors made when using ECA and explain why users avoid these errors when programming with CCBL.

References

[1]
A.J. Bernheim Brush, Bongshin Lee, Ratul Mahajan, Sharad Agarwal, Stefan Saroiu, and Colin Dixon. 2011. Home automation in the wild: challenges and opportunities. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (CHI '11). ACM, New York, NY, USA, 2115--2124.
[2]
Julio Cano, Gwenaël Delaval, Eric Rutten. Coordination of ECA rules by verification and control. 16th International Conference on Coordination Models and Languages, Jun 2014, Berlin, Germany. 16 p., 2014.
[3]
Scott Davidoff, Min Kyung Lee, Charles Yiu, John Zimmerman, and Anind K. Dey. 2006. Principles of smart home control. In Proceedings of the 8th international conference on Ubiquitous Computing (UbiComp'06), Paul Dourish and Adrian Friday (Eds.). Springer-Verlag, Berlin, Heidelberg, 19--34.
[4]
Alexandre Demeure, Sybille Caffiau, Elias Elias, Camille Roux. Building and Using Home Automation Systems: A Field Study. ISEUD 2015, May 2015, Madrid, Spain. 2015.
[5]
Anind K. Dey, Timothy Sohn, Sara Streng, Justin Kodama, iCAP: interactive prototyping of context-aware applications, Proceedings of the 4th international conference on Pervasive Computing, p.254--271, May 07--10, 2006, Dublin, Ireland.
[6]
García-Herranz, M., Haya, P., and Alamn, X. Towards a ubiquitous end-user programming system for smart spaces. Journal of Universal Computer Science 16, 12 (2010), 1633--1649.
[7]
Jonna Häkkilä, Panu Korpipää, Sami Ronkainen, Urpo Tuomela, Interaction and end-user programming with a context-aware mobile application, Proceedings of the 2005 IFIP TC13 international conference on Human-Computer Interaction, September 12--16, 2005, Rome, Italy
[8]
Justin Huang and Maya Cakmak. 2015. Supporting mental model accuracy in trigger-action programming. In Proceedings of the 2015 ACM International Joint Conference on Pervasive and Ubiquitous Computing (UbiComp '15). ACM, New York, NY, USA, 215--225.
[9]
Andrew J. Ko, Brad A. Myers, Htet Htet Aung, Six Learning Barriers in End-User Programming Systems, Proceedings of the 2004 IEEE Symposium on Visual Languages - Human Centric Computing, p.199--206, September 26--29, 2004
[10]
Håkon Wium Lie, Cascading Style Sheets, Thesis submitted for the degree of Doctor Philosophioe, Faculty of Mathematics and Natural Sciences, University of Oslo, Norway, 2005.
[11]
Sarah Mennicken, Jo Vermeulen, and Elaine M. Huang. 2014. From today's augmented houses to tomorrow's smart homes: new directions for home automation research. In Proceedings of the 2014 ACM International Joint Conference on Pervasive and Ubiquitous Computing (UbiComp '14). ACM, New York, NY, USA, 105--115.
[12]
Chandrakana Nandi and Michael D. Ernst. 2016. Automatic Trigger Generation for Rule-based Smart Homes. In Proceedings of the 2016 ACM Workshop on Programming Languages and Analysis for Security (PLAS '16). ACM, New York, NY, USA, 97--102.
[13]
John F. Pane, Chotirat 'Ann' Ratanamahatana, and Brad A. Myers. 2001. Studying the language and structure in non-programmers' solutions to programming problems. Int. J. Hum.-Comput. Stud. 54, 2 (February 2001), 237--264.
[14]
Paschke A: ECA-RuleML: An Approach combining ECA Rules with temporal interval-based KR Event/Action Logics and Transactional Update Logics, IBIS, Technische Universität München, Technical Report 11 / 2005.
[15]
Lénaïc Terrier, Alexandre Demeure and Sybille Caffiau: CCBL: A new language for End User Development in the Smart Homes. 6 pages short paper to appear in IS-EUD 2017, WORK-IN-PROGRESS category.
[16]
Blase Ur, Elyse McManus, Melwyn Pak Yong Ho, and Michael L. Littman. 2014. Practical trigger-action programming in the smart home. In Proceedings of the SIGCHI Conference on Human Factors in Computing Systems (CHI '14). ACM, New York, NY, USA, 803--812.

Cited By

View all
  • (2024)Mul-O: Encouraging Olfactory Innovation in Various Scenarios Through a Task-Oriented Development PlatformProceedings of the 37th Annual ACM Symposium on User Interface Software and Technology10.1145/3654777.3676387(1-17)Online publication date: 13-Oct-2024
  • (2023)Ordonnancement dans l’habitat intelligentRevue Ouverte d'Intelligence Artificielle10.5802/roia.504:1(53-76)Online publication date: 30-May-2023
  • (2023)Introduction (FR)Revue Ouverte d'Intelligence Artificielle10.5802/roia.48fr4:1(1-9)Online publication date: 30-May-2023
  • Show More Cited By

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Proceedings of the ACM on Human-Computer Interaction
Proceedings of the ACM on Human-Computer Interaction  Volume 1, Issue EICS
June 2017
249 pages
EISSN:2573-0142
DOI:10.1145/3120954
Issue’s Table of Contents
Publication rights licensed to ACM. ACM acknowledges that this contribution was authored or co-authored by an employee, contractor or affiliate of a national government. As such, the Government retains a nonexclusive, royalty-free right to publish or reproduce this article, or to allow others to do so, for Government purposes only.

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 30 June 2017
Published in PACMHCI Volume 1, Issue EICS

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. ccbl
  2. context
  3. eca
  4. end user development
  5. experimentation
  6. home automation
  7. programming language
  8. smart homes

Qualifiers

  • Research-article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)16
  • Downloads (Last 6 weeks)1
Reflects downloads up to 25 Nov 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Mul-O: Encouraging Olfactory Innovation in Various Scenarios Through a Task-Oriented Development PlatformProceedings of the 37th Annual ACM Symposium on User Interface Software and Technology10.1145/3654777.3676387(1-17)Online publication date: 13-Oct-2024
  • (2023)Ordonnancement dans l’habitat intelligentRevue Ouverte d'Intelligence Artificielle10.5802/roia.504:1(53-76)Online publication date: 30-May-2023
  • (2023)Introduction (FR)Revue Ouverte d'Intelligence Artificielle10.5802/roia.48fr4:1(1-9)Online publication date: 30-May-2023
  • (2023)Introduction (EN)Revue Ouverte d'Intelligence Artificielle10.5802/roia.48en4:1(11-19)Online publication date: 30-May-2023
  • (2023)Tapping into Privacy: A Study of User Preferences and Concerns on Trigger-Action Platforms2023 20th Annual International Conference on Privacy, Security and Trust (PST)10.1109/PST58708.2023.10320180(1-12)Online publication date: 21-Aug-2023
  • (2023)Understanding User Needs in Smart Homes and How to Fulfil ThemEnd-User Development10.1007/978-3-031-34433-6_8(125-142)Online publication date: 6-Jun-2023
  • (2021)End-user development of smart home rules using block-based programming: a comparative usability evaluation with programmers and non-programmersBehaviour & Information Technology10.1080/0144929X.2021.192102840:10(974-996)Online publication date: 3-May-2021
  • (2020)Implementing a semi-causal domain-specific language for context detection over binary sensorsACM SIGPLAN Notices10.1145/3393934.327813453:9(66-78)Online publication date: 7-Apr-2020
  • (2018)A Language for Online State Processing of Binary Sensors, Applied to Ambient Assisted LivingProceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies10.1145/32870702:4(1-26)Online publication date: 27-Dec-2018
  • (2018)Implementing a semi-causal domain-specific language for context detection over binary sensorsProceedings of the 17th ACM SIGPLAN International Conference on Generative Programming: Concepts and Experiences10.1145/3278122.3278134(66-78)Online publication date: 5-Nov-2018
  • Show More Cited By

View Options

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media