WoTPubSub: A Web of Things Middleware with Publish Subscribe Functionality for Enabling Lightweight and Efficient Standard Web Access on Constrained Device
Adhitya Bhawiyuga1, Donny Kurniawan2, Reza Andria Siregar3, Widhi Yahya4, Dany Primanita Kartikasari5

1Adhitya Bhawiyuga, Faculty of Computer Science, University of Brawijaya, Malang, Republic of Indonesia.
2Donny Kurniawan, Faculty of Computer Science, University of Brawijaya, Malang, Republic of Indonesia
3Reza Andria Siregar, Faculty of Computer Science, University of Brawijaya, Malang, Republic of Indonesia
4Widhi Yahya, Faculty of Computer Science, University of Brawijaya, Malang, Republic of Indonesia.
5Dany Primanita Kartikasari, Faculty of Computer Science, University of Brawijaya, Malang, Republic of Indonesia.

Manuscript received on September 14, 2019. | Revised Manuscript received on 24 September, 2019. | Manuscript published on October 10, 2019. | PP: 1194-1200 | Volume-8 Issue-12, October 2019. | Retrieval Number: L38991081219/2019©BEIESP | DOI: 10.35940/ijitee.L3899.1081219
Open Access | Ethics and Policies | Cite | Mendeley | Indexing and Abstracting
© The Authors. Blue Eyes Intelligence Engineering and Sciences Publication (BEIESP). This is an open access article under the CC-BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/)

Abstract: The web platform can be seen as an auspicious candidate to provide an interoperability layer in an IoT based system with various kind of device specification and client platform leading to the transformation from IoT to WoT (Web of Things). In order to implement web platform on IoT world, we require a web compatible middleware yet still maintaining lightweight and efficient machine-to-machine (M2M) communications. In this paper we propose the web of things (WoT) middleware with publish subscribe functionality or WoTPubSub. As opposed to the existing solution, this middleware offers the utilization of lightweight MQTT protocol to perform a communication with constrained device while still maintaining the compatibility with existing web architecture. The proposed system consists of three actors: the user as Restful HTTP client, the sensing-actuating constrained device as both MQTT publisher-subscriber and the proposed middleware acting as communication bridge which translates user’s HTTP request into MQTT publish-subscribe action. We consider two data flow scenarios in the proposed middleware: user obtaining data from sensing device and user giving a command to actuating device. From functional and performance testing, we conclude that the proposed middleware has been able to provide a web compatible intermediary functionality between user and sensing-actuating constrained device with improved performance compared to the existing approaches.
Keywords:  Web of Things, Publish Subscribe, Constrained Device
Scope of the Article: Middleware for Service Based Systems