Rethinking ‘Things’ - Fog layer interplay in IoT: A mobile code approach
: Behailu Negash, Tomi Westerlund, Pasi Liljeberg, Hannu Tenhunen
: A Min Tjoa, Li-Rong Zheng, Zhuo Zou, Maria Raffai, Li Da Xu, Niina Maarit Novak
: International Conference on Research and Practical Issues of Enterprise Information Systems
Publisher: Springer Verlag
: 2018
: Lecture Notes in Business Information Processing
: Research and Practical Issues of Enterprise Information Systems. 11th IFIP WG 8.9 Working Conference, CONFENIS 2017, Shanghai, China, October 18-20, 2017, Revised Selected Papers
: Lecture Notes in Business Information Processing
: Lecture Notes in Business Information Processing
: 310
: 159
: 167
: 978-3-319-94844-7
: 978-3-319-94845-4
: 1865-1348
DOI: https://doi.org/10.1007/978-3-319-94845-4_14
A client-server architecture style is one of the common approaches enabling separation of concerns in distributed systems. In the Internet of Things architecture, this approach exists in different configuration of sensors, actuators, gateways in the Fog layer and servers in the Cloud. This configuration affects the degree of interoperability, scalability and other functional and non-functional system requirements. In this paper, we reflect on best practices in the web and REST style to address IoT challenges; one of the constraints in REST, Code on Demand, is used for IoT to enhance the flexibility and interoperability of resource constrained clients at the perception layer. Scripts written in a domain specific language, DoS-IL, are organized and stored at the Fog layer for sensor and actuators nodes to request and execute the incoming script. A generic application layer protocol and RESTful server are presented along with experimental results.