Secure Data Distribution Architecture in IoT Using MQTT
Source abstract
Abstract
Message Queuing Telemetry Transport (MQTT) is one of the standard application layer protocols for the Internet of Things. It uses a publish/subscribe mechanism which organizes a set of clients around a server called the broker, which delivers published data to its intended recipients. This article proposes an architecture that allows MQTT brokers to cooperate and share their data with other interested MQTT brokers. It is a service-oriented architecture that wraps an MQTT broker with a well defined WebSockets-based interface which allows it to offer its topic space and published data to other MQTT brokers. The wrapped MQTT broker is called a broker service, and it discovers other broker services through a discovery service. Each broker service only connects to services that have data its clients are interested. Furthermore, these services are authenticated by obtaining tokens from an authentication service that registers and issues JSON Web Tokens for them. These tokens contain the identity and claims of their owners and they can be verified without contacting the authentication service. The proposed architecture simplifies data sharing and improves the security in scenarios with multiple MQTT brokers where clients can move between them. In these scenarios, the MQTT brokers need to obtain data based on their clients interests, which are constantly changing. It does so by isolating MQTT brokers into services that can be discovered and consumed over well-defined interfaces. The architecture was implemented in javascript using MQTT 3.1.1 standard complaint library. We demonstrate the performance characteristics of our architecture using our implementation through three scenarios, which are designed to compare the delay from publisher to subscriber when they operate within the same MQTT broker and different MQTT brokers. The results show that the overhead of our architecture is around 50% in two synthetic scenarios (performed on a single machine) and around 27% in a third scenario performed on the cloud with multiple virtual machines hosting the broker services and simulated clients.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: IoT and Edge/Fog Computing · Caching and Content Delivery · Context-Aware Activity Recognition Systems
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
Information & Computer Science Department, King Fahd University of Petroleum and Minerals, Dhahran 31261, Saudi Arabia
Interdisciplinary Research Center for Intelligent Secure Systems, King Fahd University of Petroleum and Minerals, Dhahran 31261, Saudi Arabia
Funding
King Abdulaziz City for Science and Technology (KACST) under the National Science, Technology, and Innovation Plan
References (19)
Show source-provided references
1. Yassein, M.B., Shatnawi, M.Q., Aljwarneh, S., and Al-Hatmi, R. (2017, January 8–10). Internet of Things: Survey and open issues of MQTT protocol. Proceedings of the 2017 International Conference on Engineering & MIS (ICEMIS), Monastir, Tunisia.10.1109/ICEMIS.2017.8273112 ↗
2. Standard, O. (2020, May 01). MQTT Version 3.1.1. Available online: Http://docs.Oasis-Open.Org/mqtt/mqtt/v3.
3. Mosquitto: Server and client implementation of the MQTT protocol10.21105/joss.00265 ↗
4. Protskaya, Y., and Veltri, L. (2019, January 1–3). Broker Bridging Mechanism for Providing Anonymity in MQTT. Proceedings of the 2019 10th International Conference on Networks of the Future (NoF), Rome, Italy.10.1109/NoF47743.2019.9015087 ↗
5. Longo, E., Redondi, A.E., Cesana, M., Arcia-Moret, A., and Manzoni, P. (2020, January 7–11). MQTT-ST: A spanning tree protocol for distributed MQTT brokers. Proceedings of the ICC 2020-2020 IEEE International Conference on Communications (ICC), Dublin, Ireland.10.1109/ICC40277.2020.9149046 ↗
6. Distributed MQTT broker architecture using ring topology and its prototype10.1587/comex.2021XBL0096 ↗
7. Alsbouí, T., Hammoudeh, M., Bandar, Z., and Nisbet, A. (2011, January 21–27). An overview and classification of approaches to information extraction in wireless sensor networks. Proceedings of the 5th International Conference on Sensor Technologies and Applications (SENSORCOMM’11), Palmerston North, New Zealand.
8. Kawaguchi, R., and Bandai, M. (2020, January 7–10). Edge based MQTT broker architecture for geographical IoT applications. Proceedings of the 2020 International Conference on Information Networking (ICOIN), Barcelona, Spain.10.1109/ICOIN48656.2020.9016528 ↗
9. Jutadhamakorn, P., Pillavas, T., Visoottiviseth, V., Takano, R., Haga, J., and Kobayashi, D. (2017, January 2–3). A scalable and low-cost MQTT broker clustering system. Proceedings of the 2017 2nd International Conference on Information Technology (INCIT), Nakhonpathom, Thailand.10.1109/INCIT.2017.8257870 ↗
10. Sen, S., and Balasubramanian, A. (2018, January 3–7). A highly resilient and scalable broker architecture for IoT applications. Proceedings of the 2018 10th International Conference on Communication Systems & Networks (COMSNETS), Bengaluru, India.10.1109/COMSNETS.2018.8328216 ↗
11. Park, J.H., Kim, H.S., and Kim, W.T. (2018). Dm-mqtt: An efficient MQTT based on SDN multicast for massive IoT communications. Sensors, 18.10.3390/s18093071 ↗
12. Rausch, T., Nastic, S., and Dustdar, S. (2018, January 17–20). Emma: Distributed QoS-aware MQTT middleware for edge computing applications. Proceedings of the 2018 IEEE International Conference on Cloud Engineering (IC2E), Orlando, FL, USA.10.1109/IC2E.2018.00043 ↗
13. Banno, R., Sun, J., Fujita, M., Takeuchi, S., and Shudo, K. (2017, January 25–27). Dissemination of edge-heavy data on heterogeneous MQTT brokers. Proceedings of the 2017 IEEE 6th International Conference on Cloud Networking (CloudNet), Prague, Czech Republic.10.1109/CloudNet.2017.8071523 ↗
14. Tantitharanukul, N., Osathanunkul, K., Hantrakul, K., Pramokchon, P., and Khoenkaw, P. (2017, January 1–4). MQTT-topics management system for sharing of open data. Proceedings of the 2017 International Conference on Digital Arts, Media and Technology (ICDAMT), Chiang Mai, Thailand.10.1109/ICDAMT.2017.7904935 ↗
15. Map as a service: A framework for visualising and maximising information return from multi-modal wireless sensor networks10.3390/s150922970 ↗
16. Moffat, S., Hammoudeh, M., and Hegarty, R. (2017, January 19–20). A survey on ciphertext-policy attribute-based encryption (CP-ABE) approaches to data security on mobile devices and its application to IoT. Proceedings of the International Conference on Future Networks and Distributed Systems, Cambridge, UK.10.1145/3102304.3102338 ↗
17. A service-oriented approach for sensing in the Internet of Things: Intelligent transportation systems and privacy use cases10.1109/JSEN.2020.2981558 ↗
18. Service oriented architectures: Approaches, technologies and research issues10.1007/s00778-007-0044-3 ↗
19. Ahmed, S., and Mahmood, Q. (2019, January 29–30). An authentication based scheme for applications using JSON web token. Proceedings of the 2019 22nd International Multitopic Conference (INMIC), Islamabad, Pakistan.10.1109/INMIC48123.2019.9022766 ↗