文章详情

短信预约-IT技能 免费直播动态提醒

请输入下面的图形验证码

提交验证

短信预约提醒成功

MQTT QoS design: Quality assurance for the IoV platform messaging

2024-12-01 16:02

关注


Preface

Massive data will be generated in an IoV scenario, which can be used as the basis for vehicle diagnosis to ensure the safe and stable operation of the vehicle. In addition, the data can also be linked with infrastructures such as mobile phones to provide a better driving experience. Many relevant policy documents put forward higher requirements for data transmission of IoV. The security, stability and reliability of communication has always been a constant topic of IoV, so a set of sound data transmission guarantee scheme is also an important part of IoV business.


QoS Level of MQTT Protocol

As the first choice of data communication protocol in the IoV industry, the MQTT protocol specifies Quality of Service (QoS) that guarantees the reliability of message transmission in different network environments. This serves as the primary implementation technology for message reliability transmission in IoV scenarios.

The MQTT has three QoS levels:






QoS Design Message in IoV Scenarios

At first, it needs to be understood that the higher the QoS level is, the more complex the message interaction will be, and the greater the system resource consumption will be. In other words, a higher QoS level is not necessarily the best for a given scenario. The application can select the appropriate QoS level according to the required network and service requirements.

According to the attributes and characteristics of data in IoV, we can divide it into six categories: basic attribute data, vehicle industrial control data, environment perception data, vehicle control data, application service data and user personal information. How to choose the most appropriate MQTT QoS level in different IoV scenarios?





Special Reminders

It should be noted that the QoS in the MQTT publishing operation and the subscription operation represent different meanings. The QoS in publication represents the QoS level used for messages sent to the MQTT Broker, and the QoS in subscription represents the maximum QoS level that the MQTT Broker can use when forwarding the message to the subscriber. It is necessary to guarantee that the sending QoS is consistent with that of the subscription, so to ensure that the received message has the intended QoS level, otherwise consumption degradation will occur. For example, if the QoS of the message sent by A is 2 and that of the message subscribed by B is 1, the QoS of the received message will be 1.


EMQX Message Transmission Guarantee Based on QoS Level

In order to better guarantee the safety and reliability of data transmission between human to vehicle to road to the cloud in IoV, the cloud-native distributed IoT message broker ​​EMQX​​ has certain features such as inflight window, message queue, full-link message tracking and offline message storage. This improves message reliability and also the efficiency of message throughput, which reduces the impact of network fluctuation.

The inflight window may be designed to allow multiple unacknowledged QoS 1 and QoS 2 packets to exist simultaneously on the network. The message queue may need to store the message further when the message in the message queue exceeds the inflight window. This can meet the storage requirement of the unreceived message or the unacknowledged data message when the client is offline. The inflight window also has the upgrade_qos parameter to implement features such as mandatory upgrade of QoS according to subscription, achieving consistency of QoS level that helps to ensure that consumption degradation will not occur. In addition, EMQX can also provide the capability of restricting service access by region to realize different QoS levels, data bridging QoS management, and QoS management of MQTT-SN protocol, which provide a strong guarantee for reliable transmission of messages in an IoV scenario.


Conclusion

In this article, we have shown that the QoS characteristics of MQTT protocol are very important for the secure transmission of message data in an IoV scenario. As a cloud native, distributed message broker that fully supports the MQTT standard protocol, EMQX makes full use of the advantages of the MQTT protocol in product design to provide reliable data connection, movement, processing and integration for IoT platform and applications.

来源:51CTO内容投诉

免责声明:

① 本站未注明“稿件来源”的信息均来自网络整理。其文字、图片和音视频稿件的所属权归原作者所有。本站收集整理出于非商业性的教育和科研之目的,并不意味着本站赞同其观点或证实其内容的真实性。仅作为临时的测试数据,供内部测试之用。本站并未授权任何人以任何方式主动获取本站任何信息。

② 本站未注明“稿件来源”的临时测试数据将在测试完成后最终做删除处理。有问题或投稿请发送至: 邮箱/279061341@qq.com QQ/279061341

软考中级精品资料免费领

  • 历年真题答案解析
  • 备考技巧名师总结
  • 高频考点精准押题
  • 2024年上半年信息系统项目管理师第二批次真题及答案解析(完整版)

    难度     813人已做
    查看
  • 【考后总结】2024年5月26日信息系统项目管理师第2批次考情分析

    难度     354人已做
    查看
  • 【考后总结】2024年5月25日信息系统项目管理师第1批次考情分析

    难度     318人已做
    查看
  • 2024年上半年软考高项第一、二批次真题考点汇总(完整版)

    难度     435人已做
    查看
  • 2024年上半年系统架构设计师考试综合知识真题

    难度     224人已做
    查看

相关文章

发现更多好内容

猜你喜欢

AI推送时光机
位置:首页-资讯-后端开发
咦!没有更多了?去看看其它编程学习网 内容吧
首页课程
资料下载
问答资讯