Nguyen Lam Tran Thanh, Ha Son Xuan, Le Trieu Hai, Luong Huong Hoang, Vo Khanh Hong, Nguyen Khoi Huynh Tuan, Nguyen Anh The, Dao Tuan Anh, Nguyen Hy Vuong Khang
Department of Telecommunications Engineering, Ho Chi Minh City University of Technology, Ho Chi Minh, Vietnam.
University of Insubria, Varese, Italy.
PeerJ Comput Sci. 2022 Apr 22;8:e950. doi: 10.7717/peerj-cs.950. eCollection 2022.
Undeniably, Internet of Things (IoT) devices are gradually getting better over time; and IoT-based systems play a significant role in our lives. The pervasiveness of the new essential service models is expanding, and includes self-driving cars, smart homes, smart cities, as well as promoting the development of some traditional fields such as agriculture, healthcare, and transportation; the development of IoT devices has not shown any sign of cooling down. On the one hand, several studies are coming up with many scenarios for IoT platforms, but some critical issues related to performance, speed, power consumption, availability, security, and scalability are not yet fully resolved. On the other hand, IoT devices are manufactured and developed by different organizations and individuals; hence, there is no unified standard (uniformity of IoT devices), ., sending and receiving messages among them and between them and the upper layer (., edge devices). To address these issues, this paper proposes an IoT Platform called BMDD (Broker-less and Microservice architecture, Decentralized identity, and Dynamic transmission messages) that has a combination of two architectural models, including broker-less and microservices, with cutting-edge technologies such as decentralized identity and dynamic message transmission. The main contributions of this article are five-fold, including: (i) proposing broker-less and microservice for the IoT platform which can reduce single failure point of brokering architecture, easy to scale out and improve failover; (ii) providing a decentralized authentication mechanism which is suitable for IoT devices attribute (., mobility, distributed); (iii) applying the Role-Based Access Control (RBAC) model for the authorization process; (iv) exploiting the gRPC protocol combined with the Kafka message queue enhances transmission rates, transmission reliability, and reduces power consumption in comparison with MQTT protocol; and (v) developing a dynamic message transmission mechanism that helps users communicate with any device, regardless of the manufacturer, since it provides very high homogeneity.
不可否认,随着时间的推移,物联网(IoT)设备正逐渐变得更好;基于物联网的系统在我们的生活中发挥着重要作用。新的基本服务模式的普及正在扩大,包括自动驾驶汽车、智能家居、智能城市,以及推动农业、医疗保健和交通运输等一些传统领域的发展;物联网设备的发展没有任何降温的迹象。一方面,多项研究提出了许多物联网平台的场景,但一些与性能、速度、功耗、可用性、安全性和可扩展性相关的关键问题尚未得到充分解决。另一方面,物联网设备由不同的组织和个人制造和开发;因此,没有统一的标准(物联网设备的一致性),即它们之间以及它们与上层(如边缘设备)之间发送和接收消息的标准。为了解决这些问题,本文提出了一种名为BMDD(无代理和微服务架构、去中心化身份和动态传输消息)的物联网平台,该平台结合了两种架构模型,包括无代理和微服务,并采用了去中心化身份和动态消息传输等前沿技术。本文的主要贡献有五个方面,包括:(i)为物联网平台提出无代理和微服务,可减少代理架构的单点故障,易于扩展并提高故障转移能力;(ii)提供一种适合物联网设备属性(如移动性、分布式)的去中心化认证机制;(iii)在授权过程中应用基于角色的访问控制(RBAC)模型;(iv)与MQTT协议相比,利用gRPC协议结合Kafka消息队列提高传输速率、传输可靠性并降低功耗;(v)开发一种动态消息传输机制,由于其提供了非常高的同质性,有助于用户与任何设备通信,而不管制造商是谁。