小程序
传感搜
传感圈

Shaping the Future of IoT: 7 MQTT Technology Trends in 2023

2023-04-12 03:23:02
关注

Illustration: © IoT For All

Message Queuing Telemetry Transport (MQTT) is the standard messaging protocol for the Internet of Things (IoT). MQTT follows an extremely lightweight publish-subscribe messaging model, connecting IoT devices in a scalable, reliable, and efficient manner. It’s been over 20 years since MQTT was invented in 1999 by IBM. As we move into 2023 and look forward to the years ahead, we can anticipate seven developing trends in MQTT technology, as the use of MQTT in IoT is growing tremendously and diversely, driven by the progress of emerging technologies.

“MQTT follows an extremely lightweight publish-subscribe messaging model, connecting IoT devices in a scalable, reliable, and efficient manner.”

-EMQ Technologies Inc.

7 Developing MQTT Trends

#1: MQTT over QUIC

Quick UDP Internet Connections (QUIC) is a new transport protocol developed by Google that runs over UDP and is designed to reduce the latency associated with establishing new connections, increase data transfer rates, and address the limitations of TCP. HTTP/3, the latest HTTP protocol version, uses QUIC as its transport layer. HTTP/3 has lower latency and a better loading experience on web applications than HTTP/2 due to the adoption of QUIC.

MQTT over QUIC is the most innovative advancement in the MQTT protocol since the first release of the MQTT 5.0 specification in 2017. With multiplexing and faster connection establishment and migration, it has the potential to become the next generation of the MQTT standard. The MQTT 5.0 protocol specification defines three types of transport: TCP, TLS, and WebSocket. MQTT over TLS/SSL is widely used in production to secure communications between MQTT clients and brokers, as security is a top priority for IoT applications. However, it is slow and has high latency, requiring 7 RTT handshakes, 3 TCP, and 4 TLS to establish a new MQTT connection.

MQTT over QUIC, with 1 RTT connection establishment and 0 RTT reconnection latency, is indeed faster and has lower latency compared to MQTT over TLS. The QUIC stack can be customized for various use cases, such as keeping connections alive in poor networking conditions and for scenarios where there is a need for low client-to-server latency. It will benefit connected cars with unreliable cellular networks and low-latency industrial IoT applications. The adoption of MQTT over QUIC is expected to play a vital role in the future of IoT, Industrial IoT (IIoT), and the Internet of Vehicles (IoV).

EMQ Technologies Inc.

#2: MQTT Serverless

The serverless MQTT trend in cloud computing marks a groundbreaking paradigm shift in how applications are designed, developed, deployed, and run. This paradigm enables developers to focus on their application’s business logic instead of managing infrastructure, resulting in enhanced agility, scalability, and cost-effectiveness.

Serverless MQTT broker emerges as a cutting-edge architectural innovation for 2023. In contrast to traditional IoT architectures, which require minutes to hours for creating MQTT-hosted services on the cloud or deploying them on-premises, serverless MQTT enables rapid deployment of MQTT services with just a few clicks. Moreover, the true value proposition of serverless MQTT lies not in its deployment speed, but in its unparalleled flexibility.

This flexibility manifests in two key aspects: the seamless scaling of resources in response to user demands and the pay-as-you-go pricing model that aligns with this elastic architecture. As a result, serverless MQTT is poised to drive broader adoption of MQTT, reducing operational costs and spurring innovation and collaboration across diverse industries. We might even see a free serverless MQTT broker for every IoT and Industrial IoT developer.

#3: MQTT Multi-tenancy

Multi-tenancy architecture is a vital aspect of a serverless MQTT broker. IoT devices from different users or tenants can connect to the same large-scale MQTT cluster while keeping their data and business logic isolated from other tenants. SaaS applications commonly use multi-tenancy architecture, where a single application serves multiple customers or tenants. There are usually two different ways to implement multi-tenancy in SaaS, such as:

  1. Tenant Isolation: A separate application instance is provided to each tenant, running on a server or virtual machine.
  2. Database Isolation: Multiple tenants can share a single application instance, but each tenant has their database schema to ensure data isolation.

In the multi-tenancy architecture of the MQTT broker, each device and tenant is given a separate and isolated namespace. This namespace includes a unique topic prefix and access control lists (ACLs) that define which topics each user can access, publish to, or subscribe to.

MQTT broker with multi-tenancy support will reduce management overhead and allow greater flexibility for complex scenarios or large-scale IoT applications. For example, departments and applications in a large organization could use the same MQTT cluster as different tenants.

#4: MQTT Sparkplug 3.0

MQTT Sparkplug 3.0 is the latest version of the MQTT Sparkplug, the open standard specification designed by Eclipse Foundation. This MQTT trend defines how to connect industrial devices, including sensors, actuators, Programmable Logic Controllers (PLCs), and gateways using the MQTT messaging protocol. MQTT Sparkplug 3.0 was released in November 2022 with some key new features and improvements:

  • MQTT 5 Support: MQTT Sparkplug 3.0 adds support for the MQTT 5 protocol, which includes several new features such as shared subscriptions, message expiry, and flow control.

  • Optimized Data Transmission: MQTT Sparkplug 3.0 includes several optimizations for data transmission, including the use of more compact data encoding and compression algorithms.

  • Expanded Data Model: MQTT Sparkplug 3.0 introduces an expanded data model, which allows for more detailed device information to be communicated, as well as additional information such as configuration data and device metadata.

  • Improved Security: MQTT Sparkplug 3.0 includes several improvements to security, including support for mutual TLS authentication and improved access control mechanisms.

  • Simplified Device Management: MQTT Sparkplug 3.0 includes several improvements to device management, including automatic device registration and discovery, simplified device configuration, and improved diagnostics.

MQTT Sparkplug aimed to simplify connecting and communicating with disparate industrial devices and achieve efficient industrial data acquisition, processing, and analysis. As the new version is released, MQTT Sparkplug 3.0 has the potential to be more widely adopted in the Industrial IoT.

#5: MQTT Unified Namespace

Unified Namespace is a solution architecture built on the MQTT broker for Industrial IoT and Industry 4.0. It provides a unified namespace for MQTT topics and a centralized repository for messages and structured data. Unified Namespace connects industrial devices, sensors, and applications, such as SCADA, MES, and ERP, with star topology using a central MQTT broker. Unified Namespace dramatically simplifies the development of industrial IoT applications with an event-driven architecture.

In traditional IIoT systems, OT and IT systems have generally been separate and operated independently with their data, protocols, and tools. By adopting Unified Namespace, it is possible to allow OT and IT systems to exchange data more efficiently and finally unify the OT and IT in the IoT era.

EMQ Technologies Inc.

#6: MQTT Geo-Distribution

MQTT Geo-Distribution is an innovative architecture that allows MQTT brokers deployed in different regions or clouds to work together as a single cluster. Using Geo-Distribution, MQTT messages can be automatically synchronized and delivered across MQTT brokers in different regions. In 2023, we can expect two approaches to implementing MQTT Geo-Distribution:

  1. Single Cluster, Multi-Region: A single MQTT cluster with brokers running in different regions.
  2. Multi-Cluster, Multi-Cloud: Multiple MQTT clusters connected with Cluster Linking in different clouds.

We can combine the two approaches to create a reliable IoT messaging infrastructure across geographically distributed MQTT brokers. By adopting the MQTT Geo-Distribution, organizations can build a Global MQTT Access Network across multi-cloud, where devices and applications connected locally from the closest network endpoint can communicate with each other regardless of their physical location.

EMQ Technologies Inc.

#7: MQTT Streams

MQTT Streams is an expected extension of the MQTT protocol that enables the handling of high-volume, high-frequency data streams in real time within an MQTT broker. This feature enhances the capabilities of traditional MQTT brokers, which were originally designed for lightweight publish/subscribe messaging. With MQTT Streams, clients can produce and consume MQTT messages as streams, similar to how Apache Kafka works. This allows for historical message replay, which is essential for event-driven processing, ensuring ultimate data consistency, auditing, and compliance.

Stream processing is crucial for extracting real-time business value from the massive amounts of data generated by IoT device sensors. Previously, this required an outdated, complex big data stack involving the integration of an MQTT broker with Kafka, Hadoop, Flink, or Spark for IoT data stream processing.

However, with built-in stream processing, MQTT Streams streamline the IoT data processing stack, improve data processing efficiency and response time, and provide a unified messaging and streaming platform for IoT.

By supporting features such as message deduplication, message replay, and message expiration, MQTT Streams enable high throughput, low latency, and fault tolerance, making them a powerful tool for handling real-time data streams in MQTT-based IoT applications.

Progress of Emerging Technologies

Overall, these seven trends in MQTT technology reflect the progress of emerging technologies and their role in advancing the IoT. As a standard messaging protocol evolved for over two decades, MQTT’s importance continues to grow.

With the increasing use of IoT in various industries, the MQTT protocol is evolving to meet new challenges and demands, such as faster and lower-latency connections, more rapid deployment of MQTT services, greater flexibility for complex scenarios or large-scale IoT applications, and more support on connecting various industrial devices.

With these developments and trends, MQTT will become the nerve system of IoT and an even more crucial player in IIoT and IoV in 2023 and beyond.

Tweet

Share

Share

Email

  • Connectivity
  • Data Analytics
  • Industrial Internet of Things
  • Industry 4.0
  • Network and Protocols

  • Connectivity
  • Data Analytics
  • Industrial Internet of Things
  • Industry 4.0
  • Network and Protocols

参考译文
塑造物联网的未来:2023年的7个MQTT技术趋势
插图:© IoT For All --> 消息队列遥测传输(MQTT)是物联网(IoT)的标准消息协议。MQTT采用一种极为轻量的发布-订阅消息模型,能以可扩展、可靠且高效的方式连接物联网设备。自IBM于1999年发明MQTT至今已有超过20年。随着我们进入2023年并展望未来,我们可以预见到MQTT技术的七种发展趋势,因为MQTT在物联网中的应用正以前所未有的广度和深度迅速增长,这得益于新兴技术的发展。“MQTT采用一种极为轻量的发布-订阅消息模型,能以可扩展、可靠且高效的方式连接物联网设备。”—EMQ Technologies Inc.7个MQTT发展趋势 #1:基于QUIC的MQTT快速UDP互联网连接(QUIC)是由谷歌开发的一种新型传输协议,它运行在UDP之上,旨在减少新连接建立时的延迟,提高数据传输速度,并解决TCP的局限性。最新的HTTP协议版本HTTP/3使用QUIC作为其传输层。与HTTP/2相比,由于采用QUIC,HTTP/3的延迟更低,网页应用的加载体验更好。基于QUIC的MQTT是自2017年MQTT 5.0规范首次发布以来MQTT协议最具创新性的进步。通过多路复用和更快的连接建立与迁移,它有望成为下一代MQTT标准。MQTT 5.0协议规范定义了三种传输方式:TCP、TLS和WebSocket。TLS/SSL上的MQTT广泛应用于生产中,以保障MQTT客户端与代理之间的通信安全,因为安全性对于物联网应用来说是首要任务。然而,TLS上的MQTT速度较慢,延迟较高,建立新MQTT连接需要7个RTT(往返时间)握手,其中3个是TCP握手,4个是TLS握手。QUIC上的MQTT只需1个RTT建立连接,并可在0个RTT内完成重新连接,相较于TLS上的MQTT确实更快,延迟更低。QUIC协议栈可以针对各种应用场景进行定制,例如在恶劣的网络条件下保持连接活跃,以及在需要低延迟客户端到服务器通信的场景中使用。这将有助于在网络信号不可靠的联网汽车和低延迟工业物联网应用中发挥重要作用。基于QUIC的MQTT的采用预计将对物联网(IoT)、工业物联网(IIoT)和车联网(IoV)的未来产生重要作用。EMQ Technologies Inc.#2:无服务器MQTT云计算中的无服务器MQTT趋势标志着应用程序设计、开发、部署和运行方式的一次突破性范式转变。这种范式使开发人员能够专注于应用程序的业务逻辑,而不必管理基础设施,从而提升了敏捷性、可扩展性和成本效益。无服务器MQTT代理是2023年的前沿架构创新。与传统IoT架构相比,后者在云上创建MQTT托管服务或本地部署通常需要几分钟到几小时,而无服务器MQTT只需点击几次即可快速部署MQTT服务。此外,无服务器MQTT真正的价值主张并不在于其部署速度,而在于其无与伦比的灵活性。这种灵活性体现在两个关键方面:一是根据用户需求无缝扩展资源,二是与这种弹性架构相匹配的按需计费模式。因此,无服务器MQTT有望推动MQTT的更广泛采用,降低运营成本,并在不同行业中推动创新与协作。我们甚至可能会看到每名物联网和工业物联网开发人员都获得一个免费的无服务器MQTT代理。#3:多租户MQTT多租户架构是无服务器MQTT代理的重要组成部分。来自不同用户或租户的物联网设备可以连接到同一个大规模MQTT集群,同时保持其数据和业务逻辑与其他租户隔离。SaaS应用中常使用多租户架构,其中单一应用可服务于多个客户或租户。SaaS中通常有两种方式实现多租户,如:租户隔离:为每个租户提供一个独立的应用程序实例,在服务器或虚拟机上运行。数据库隔离:多个租户可以共享一个应用程序实例,但每个租户都有自己的数据库模式,以确保数据隔离。在MQTT代理的多租户架构中,每个设备和租户都被赋予一个独立且隔离的命名空间。这个命名空间包括一个唯一的话题前缀和访问控制列表(ACL),用于定义每个用户可以访问、发布或订阅的话题。支持多租户的MQTT代理将减少管理开销,并为复杂场景或大规模物联网应用提供更大的灵活性。例如,大型组织中的各个部门和应用程序可以使用同一个MQTT集群作为不同的租户。#4:MQTT Sparkplug 3.0MQTT Sparkplug 3.0是MQTT Sparkplug的最新版本,它是由Eclipse基金会制定的开放标准规范。这项MQTT趋势定义了如何通过MQTT消息协议连接工业设备,包括传感器、执行器、可编程逻辑控制器(PLC)和网关。MQTT Sparkplug 3.0于2022年11月发布,引入了一些关键的新功能和改进:MQTT 5支持:MQTT Sparkplug 3.0增加了对MQTT 5协议的支持,包括共享订阅、消息过期和流量控制等新功能。优化数据传输:MQTT Sparkplug 3.0包含多种数据传输优化功能,如使用更紧凑的数据编码和压缩算法。扩展数据模型:MQTT Sparkplug 3.0引入了扩展的数据模型,允许更详细地传输设备信息,以及包括配置数据和设备元数据等附加信息。增强安全性:MQTT Sparkplug 3.0包含多种安全改进,包括支持双向TLS认证和改进的访问控制机制。简化设备管理:MQTT Sparkplug 3.0包含多种设备管理改进,包括自动设备注册和发现、简化的设备配置和改进的诊断功能。MQTT Sparkplug旨在简化连接和通信各种异构工业设备,并实现高效的工业数据采集、处理和分析。随着新版本的发布,MQTT Sparkplug 3.0有可能在工业物联网中得到更广泛的应用。#5:统一命名空间MQTT统一命名空间是一种基于MQTT代理的工业物联网和工业4.0解决方案架构。它为MQTT主题提供一个统一的命名空间,并为消息和结构化数据提供一个集中式存储库。统一命名空间通过以中心MQTT代理为核心的星型拓扑,连接工业设备、传感器和应用,例如SCADA、MES和ERP。统一命名空间大大简化了事件驱动架构下的工业物联网应用开发。在传统的工业物联网系统中,OT系统和IT系统通常相互独立,各自拥有不同的数据、协议和工具。通过采用统一命名空间,可以实现OT和IT系统之间更高效的数据交换,最终在物联网时代统一OT和IT。EMQ Technologies Inc.#6:MQTT全球分布式架构MQTT全球分布式架构是一种创新架构,允许部署在不同区域或云上的MQTT代理协同工作,作为一个统一的集群。通过全球分布式架构,MQTT消息可以自动在不同区域的MQTT代理之间同步和传输。2023年,我们可以期待两种实现MQTT全球分布式架构的方法:单一集群、多区域:一个MQTT集群,其代理运行在不同区域。多集群、多云:多个MQTT集群通过集群链接在不同云上连接。我们可以结合这两种方法,构建一个跨越地理位置的可靠物联网消息基础设施。通过采用MQTT全球分布式架构,企业可以建立一个跨多云的全球MQTT接入网络,本地连接的设备和应用可以通过最近的网络端点进行通信,而不论其物理位置。EMQ Technologies Inc.#7:MQTT流MQTT流是MQTT协议的预期扩展功能,它使MQTT代理能够在实时处理高容量、高频率数据流。该功能增强了传统MQTT代理的功能,后者原本专为轻量级发布/订阅消息设计。借助MQTT流,客户端可以像Apache Kafka一样,以流的形式产生和消费MQTT消息。这使得消息去重、消息回放和消息过期等功能得以支持,从而实现高吞吐量、低延迟和容错性,使其成为基于MQTT的物联网应用中处理实时数据流的强大工具。新兴技术的发展总体而言,这七种MQTT技术趋势反映了新兴技术的进步及其在推动物联网发展中的作用。作为一种已发展二十多年的标准消息协议,MQTT的重要性仍在持续增长。随着物联网在各行业的日益普及,MQTT协议正在不断演进以应对新的挑战和需求,例如更快、更低延迟的连接,更快地部署MQTT服务,提高复杂场景或大规模物联网应用的灵活性,以及增强对各种工业设备的连接支持。随着这些发展和趋势,MQTT将成为物联网的神经中枢,并在2023年及以后的工业物联网和车联网中扮演更加重要的角色。TweetShareShareEmail 连通性数据分析工业物联网工业4.0网络与协议 -->连通性数据分析工业物联网工业4.0网络与协议
您觉得本篇内容如何
评分

评论

您需要登录才可以回复|注册

提交评论

广告

iotforall

这家伙很懒,什么描述也没留下

关注

点击进入下一篇

TAS 工业物联网和服务平台 | 新品资讯

提取码
复制提取码
点击跳转至百度网盘