Integrated IoT programming with selective abstraction

Gyeongmin Lee, Seonyeong Heo, Bongjun Kim, Jong Kim, Hanjun Kim

Research output: Chapter in Book/Report/Conference proceedingConference contribution

3 Citations (Scopus)

Abstract

The explosion of networked devices has driven a new computing environment called the Internet of Things (IoT), enabling various services such as home automation and health monitoring. Despite the promising applicability of the IoT, developing an IoT service is challenging for programmers, because the programmers should integrate multiple programmable devices and heterogeneous third-party devices. Recent works have proposed integrated programming platforms, but they either require device-specific implementation for third-party devices without any device abstraction, or abstract all the devices to the standard interfaces requiring unnecessary abstraction of programmable devices. To integrate IoT devices with selective abstraction, this work revisits the object oriented programming (OOP) model, and proposes a new language extension and its compiler-runtime framework, called Esperanto. With three annotations that map each object to its corresponding IoT device, the Esperanto language allows programmers to integrate multiple programmable devices into one OOP program and to abstract similar third-party devices into their common ancestor classes. Given the annotations, the Esperanto compiler automatically partitions the integrated program into multiple sub-programs for each programmable IoT device, and inserts communication and synchronization code. Moreover, for the ancestor classes, the Esperanto runtime dynamically identifies connected third-party devices, and links their corresponding descendent objects. Compared to an existing approach on the integrated IoT programming, Esperanto requires 33.3% fewer lines of code to implement 5 IoT services, and reduces their response time by 44.8% on average.

Original languageEnglish
Title of host publicationLCTES 2017 - Proceedings of the 18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, co-located with PLDI 2017
EditorsZili Shao, Vijay Nagarajan
PublisherAssociation for Computing Machinery
Pages51-60
Number of pages10
ISBN (Electronic)9781450350303
DOIs
Publication statusPublished - 2017 Jun 21
Event18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, LCTES 2017 - Barcelona, Spain
Duration: 2017 Jun 212017 Jun 22

Publication series

NameProceedings of the ACM SIGPLAN Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES)
VolumePart F128681

Other

Other18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, LCTES 2017
CountrySpain
CityBarcelona
Period17/6/2117/6/22

Fingerprint

Object oriented programming
Internet of things
Explosions
Synchronization
Automation
Health
Monitoring
Communication

All Science Journal Classification (ASJC) codes

  • Software

Cite this

Lee, G., Heo, S., Kim, B., Kim, J., & Kim, H. (2017). Integrated IoT programming with selective abstraction. In Z. Shao, & V. Nagarajan (Eds.), LCTES 2017 - Proceedings of the 18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, co-located with PLDI 2017 (pp. 51-60). (Proceedings of the ACM SIGPLAN Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES); Vol. Part F128681). Association for Computing Machinery. https://doi.org/10.1145/3078633.3081031
Lee, Gyeongmin ; Heo, Seonyeong ; Kim, Bongjun ; Kim, Jong ; Kim, Hanjun. / Integrated IoT programming with selective abstraction. LCTES 2017 - Proceedings of the 18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, co-located with PLDI 2017. editor / Zili Shao ; Vijay Nagarajan. Association for Computing Machinery, 2017. pp. 51-60 (Proceedings of the ACM SIGPLAN Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES)).
@inproceedings{b678c046a6be450fa2d09c3af35a104c,
title = "Integrated IoT programming with selective abstraction",
abstract = "The explosion of networked devices has driven a new computing environment called the Internet of Things (IoT), enabling various services such as home automation and health monitoring. Despite the promising applicability of the IoT, developing an IoT service is challenging for programmers, because the programmers should integrate multiple programmable devices and heterogeneous third-party devices. Recent works have proposed integrated programming platforms, but they either require device-specific implementation for third-party devices without any device abstraction, or abstract all the devices to the standard interfaces requiring unnecessary abstraction of programmable devices. To integrate IoT devices with selective abstraction, this work revisits the object oriented programming (OOP) model, and proposes a new language extension and its compiler-runtime framework, called Esperanto. With three annotations that map each object to its corresponding IoT device, the Esperanto language allows programmers to integrate multiple programmable devices into one OOP program and to abstract similar third-party devices into their common ancestor classes. Given the annotations, the Esperanto compiler automatically partitions the integrated program into multiple sub-programs for each programmable IoT device, and inserts communication and synchronization code. Moreover, for the ancestor classes, the Esperanto runtime dynamically identifies connected third-party devices, and links their corresponding descendent objects. Compared to an existing approach on the integrated IoT programming, Esperanto requires 33.3{\%} fewer lines of code to implement 5 IoT services, and reduces their response time by 44.8{\%} on average.",
author = "Gyeongmin Lee and Seonyeong Heo and Bongjun Kim and Jong Kim and Hanjun Kim",
year = "2017",
month = "6",
day = "21",
doi = "10.1145/3078633.3081031",
language = "English",
series = "Proceedings of the ACM SIGPLAN Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES)",
publisher = "Association for Computing Machinery",
pages = "51--60",
editor = "Zili Shao and Vijay Nagarajan",
booktitle = "LCTES 2017 - Proceedings of the 18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, co-located with PLDI 2017",

}

Lee, G, Heo, S, Kim, B, Kim, J & Kim, H 2017, Integrated IoT programming with selective abstraction. in Z Shao & V Nagarajan (eds), LCTES 2017 - Proceedings of the 18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, co-located with PLDI 2017. Proceedings of the ACM SIGPLAN Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES), vol. Part F128681, Association for Computing Machinery, pp. 51-60, 18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, LCTES 2017, Barcelona, Spain, 17/6/21. https://doi.org/10.1145/3078633.3081031

Integrated IoT programming with selective abstraction. / Lee, Gyeongmin; Heo, Seonyeong; Kim, Bongjun; Kim, Jong; Kim, Hanjun.

LCTES 2017 - Proceedings of the 18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, co-located with PLDI 2017. ed. / Zili Shao; Vijay Nagarajan. Association for Computing Machinery, 2017. p. 51-60 (Proceedings of the ACM SIGPLAN Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES); Vol. Part F128681).

Research output: Chapter in Book/Report/Conference proceedingConference contribution

TY - GEN

T1 - Integrated IoT programming with selective abstraction

AU - Lee, Gyeongmin

AU - Heo, Seonyeong

AU - Kim, Bongjun

AU - Kim, Jong

AU - Kim, Hanjun

PY - 2017/6/21

Y1 - 2017/6/21

N2 - The explosion of networked devices has driven a new computing environment called the Internet of Things (IoT), enabling various services such as home automation and health monitoring. Despite the promising applicability of the IoT, developing an IoT service is challenging for programmers, because the programmers should integrate multiple programmable devices and heterogeneous third-party devices. Recent works have proposed integrated programming platforms, but they either require device-specific implementation for third-party devices without any device abstraction, or abstract all the devices to the standard interfaces requiring unnecessary abstraction of programmable devices. To integrate IoT devices with selective abstraction, this work revisits the object oriented programming (OOP) model, and proposes a new language extension and its compiler-runtime framework, called Esperanto. With three annotations that map each object to its corresponding IoT device, the Esperanto language allows programmers to integrate multiple programmable devices into one OOP program and to abstract similar third-party devices into their common ancestor classes. Given the annotations, the Esperanto compiler automatically partitions the integrated program into multiple sub-programs for each programmable IoT device, and inserts communication and synchronization code. Moreover, for the ancestor classes, the Esperanto runtime dynamically identifies connected third-party devices, and links their corresponding descendent objects. Compared to an existing approach on the integrated IoT programming, Esperanto requires 33.3% fewer lines of code to implement 5 IoT services, and reduces their response time by 44.8% on average.

AB - The explosion of networked devices has driven a new computing environment called the Internet of Things (IoT), enabling various services such as home automation and health monitoring. Despite the promising applicability of the IoT, developing an IoT service is challenging for programmers, because the programmers should integrate multiple programmable devices and heterogeneous third-party devices. Recent works have proposed integrated programming platforms, but they either require device-specific implementation for third-party devices without any device abstraction, or abstract all the devices to the standard interfaces requiring unnecessary abstraction of programmable devices. To integrate IoT devices with selective abstraction, this work revisits the object oriented programming (OOP) model, and proposes a new language extension and its compiler-runtime framework, called Esperanto. With three annotations that map each object to its corresponding IoT device, the Esperanto language allows programmers to integrate multiple programmable devices into one OOP program and to abstract similar third-party devices into their common ancestor classes. Given the annotations, the Esperanto compiler automatically partitions the integrated program into multiple sub-programs for each programmable IoT device, and inserts communication and synchronization code. Moreover, for the ancestor classes, the Esperanto runtime dynamically identifies connected third-party devices, and links their corresponding descendent objects. Compared to an existing approach on the integrated IoT programming, Esperanto requires 33.3% fewer lines of code to implement 5 IoT services, and reduces their response time by 44.8% on average.

UR - http://www.scopus.com/inward/record.url?scp=85029511605&partnerID=8YFLogxK

UR - http://www.scopus.com/inward/citedby.url?scp=85029511605&partnerID=8YFLogxK

U2 - 10.1145/3078633.3081031

DO - 10.1145/3078633.3081031

M3 - Conference contribution

AN - SCOPUS:85029511605

T3 - Proceedings of the ACM SIGPLAN Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES)

SP - 51

EP - 60

BT - LCTES 2017 - Proceedings of the 18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, co-located with PLDI 2017

A2 - Shao, Zili

A2 - Nagarajan, Vijay

PB - Association for Computing Machinery

ER -

Lee G, Heo S, Kim B, Kim J, Kim H. Integrated IoT programming with selective abstraction. In Shao Z, Nagarajan V, editors, LCTES 2017 - Proceedings of the 18th ACM SIGPLAN/SIGBED Conference on Languages, Compilers, and Tools for Embedded Systems, co-located with PLDI 2017. Association for Computing Machinery. 2017. p. 51-60. (Proceedings of the ACM SIGPLAN Conference on Languages, Compilers, and Tools for Embedded Systems (LCTES)). https://doi.org/10.1145/3078633.3081031