Abstract
Mobile apps can integrate sensors and actuators in Internetof-Things systems to achieve novel and diverse functionalities. For instance, apps can implement self-management and monitoring functions to help patients manage a large number of health conditions within their (smart-) homes. However, each smart-home may contain a different and often dynamic sensor-actuator configuration and it is undesirable to write new code for every new installation or change. Statecharts present an appropriate formal and visual design model to design apps and support automatic code generation. However, these designs assume a specific and static sensor-actuator configuration. We propose parametric statecharts, an extension to statecharts that can be automatically customised to a dynamic smart-home's configuration. We develop a translator to convert parametric statecharts into standard statecharts customised to a given system configuration, and then a custom compiler to generate Android code. Experimental results confirm the exibility of the proposed approach.
Original language | English |
---|---|
Title of host publication | ACSW'17 Proceedings of the Australasian Computer Science Week Multiconference |
Editors | Peter Strazdins, Michael Hobbs |
Place of Publication | New York NY USA |
Publisher | Association for Computing Machinery (ACM) |
Pages | 1-8 |
Number of pages | 8 |
ISBN (Print) | 9781450347686 |
DOIs | |
Publication status | Published - 30 Jan 2017 |
Externally published | Yes |
Event | Australasian Computer Science Conference 2017 - Geelong, Australia Duration: 31 Jan 2017 → 3 Feb 2017 Conference number: 40th https://cs.anu.edu.au/conf/acsc2017/ |
Conference
Conference | Australasian Computer Science Conference 2017 |
---|---|
Abbreviated title | ACSC 2017 |
Country/Territory | Australia |
City | Geelong |
Period | 31/01/17 → 3/02/17 |
Internet address |
Keywords
- Automatic code generation
- Design
- IoT
- M-health apps
- Mobile apps
- Smart-homes
- Statecharts