TY - GEN
T1 - OKAPI
T2 - 4th International Conference on Fog and Mobile Edge Computing, FMEC 2019
AU - Melissaris, Themis
AU - Shaw, Kelly
AU - Martonosi, Margaret
N1 - Publisher Copyright:
© 2019 IEEE.
PY - 2019/6
Y1 - 2019/6
N2 - Typical Internet of Things (IoT) and smart home environments are composed of smart devices that are controlled and orchestrated by applications developed and run in the cloud. Correctness is important for these applications, since they control the home's physical security (i.e. door locks) and systems (i.e. HVAC). Unfortunately, many smart home applications and systems exhibit poor security characteristics and insufficient system support. Instead they force application developers to reason about a combination of complicated scenarios- A synchronous events and distributed devices. This paper demonstrates that existing cloud-based smart home platforms provide insufficient support for applications to correctly deal with concurrency and data consistency issues. These weaknesses expose platform vulnerabilities that affect system correctness and security (e.g. a smart lock erroneously unlocked). To address this, we present OKAPI, an application-level API that provides strict atomicity and event ordering. We evaluate our work using the Samsung SmartThings smart home devices, hub, and cloud infrastructure. In addition to identifying shortfalls of cloud-based smart home platforms, we propose design guidelines to make application developers oblivious of smart home platforms' consistency and concurrency intricacies.
AB - Typical Internet of Things (IoT) and smart home environments are composed of smart devices that are controlled and orchestrated by applications developed and run in the cloud. Correctness is important for these applications, since they control the home's physical security (i.e. door locks) and systems (i.e. HVAC). Unfortunately, many smart home applications and systems exhibit poor security characteristics and insufficient system support. Instead they force application developers to reason about a combination of complicated scenarios- A synchronous events and distributed devices. This paper demonstrates that existing cloud-based smart home platforms provide insufficient support for applications to correctly deal with concurrency and data consistency issues. These weaknesses expose platform vulnerabilities that affect system correctness and security (e.g. a smart lock erroneously unlocked). To address this, we present OKAPI, an application-level API that provides strict atomicity and event ordering. We evaluate our work using the Samsung SmartThings smart home devices, hub, and cloud infrastructure. In addition to identifying shortfalls of cloud-based smart home platforms, we propose design guidelines to make application developers oblivious of smart home platforms' consistency and concurrency intricacies.
UR - http://www.scopus.com/inward/record.url?scp=85071681371&partnerID=8YFLogxK
UR - http://www.scopus.com/inward/citedby.url?scp=85071681371&partnerID=8YFLogxK
U2 - 10.1109/FMEC.2019.8795349
DO - 10.1109/FMEC.2019.8795349
M3 - Conference contribution
AN - SCOPUS:85071681371
T3 - 2019 4th International Conference on Fog and Mobile Edge Computing, FMEC 2019
SP - 173
EP - 180
BT - 2019 4th International Conference on Fog and Mobile Edge Computing, FMEC 2019
PB - Institute of Electrical and Electronics Engineers Inc.
Y2 - 10 June 2019 through 13 June 2019
ER -