OKAPI: In Support of Application Correctness in Smart Home Environments
OKAPI: In Support of Application Correctness in Smart Home Environments
复制标题
DOI:
10.1109/fmec.2019.8795349
复制
发表时间:
2019-06
期刊:
影响因子:
--
通讯作者:
T. Melissaris;K. Shaw;M. Martonosi
中科院分区:
文献类型:
--
作者:
T. Melissaris;K. Shaw;M. Martonosi
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—asynchronous 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.