当前位置:网站首页>物联网协议的王者:MQTT
物联网协议的王者:MQTT
2022-06-26 16:54:00 【InfoQ】
什么是MQTT?
- 英文全称:Message Quueuing Telemetry Transport
- 中文术语:消息队列遥测传输协议
- 一种适用于物联网设备之间通信的简单消息传递协议
- 专为带宽受限的设备而设计
- 采用发布/订阅通信模式
- 用于机器对机器( M2M ) 通信
- MQTT 协议基于OASIS 标准下的TCP/IP
- 被广泛用于无线网络通信,具有广泛的覆盖面,涵盖医疗保健、汽车和其他使用物联网应用的行业。

MQTT的历史
- 简单的实现
- 服务质量数据交付
- 轻量级和带宽效率
- 数据不可知
- 持续的会话

MQTT的优势

简单

可靠

双向消息传递
大规模消息传递
MQTT工作原理
MQTT架构
- 客户端
- 代理

发布/订阅

消息

主题





- 发布者在
article/technology/network
主题发布OSPF相关的文章
- 订阅者订阅了主题
article/technology/network
- 发布者在主题
article/technology/network
上有新消息发出的时候,订阅者都能订阅到。
Broker 经纪人

MQTT订阅
订阅通配符


- 文章/娱乐/网络
- 文章/科技/网络
- 文章/三农/网络
- 文章/新闻/网络

- 文章/娱乐/网络
- 文章/科技/java
- 文章/三农/美食
- 文章/新闻/航天
服务质量 QoS
- QoS 0(最多一次):客户端的消息只发送一次,不管它是否已经到达代理。
- QoS 1(至少一次):客户端的消息被一遍又一遍地发送,直到代理以确认接收来响应,这可能导致消息多次到达代理。
- QoS 2(恰好一次):客户端发送一次消息,同时确保它已到达代理,QoS 2 通信需要比服务质量 0 或 1 更多的带宽。
MQTT几个重要的网站
- mqtt官网:
https://mqtt.org/

- emqx官网:
https://www.emqx.com/

总结
边栏推荐
- 对NFT市场前景的7个看法
- Day10 daily 3 questions (1): sum gradually to get the minimum value of positive numbers
- Live broadcast preview | how can programmers improve R & D efficiency? On the evening of June 21, the video number and station B will broadcast live at the same time. See you or leave!
- A simple membership card management system based on Scala
- Technical scheme design of chain game system development - NFT chain game system development process and source code
- Platform management background and merchant menu resource management: Design of platform management background data service
- Calculate a=1, a2=1/1=a1
- Swap two numbers
- Interpretation of cloud native microservice technology trend
- y=1/100*100+1/200*200+1/300*300+.....+ 1/m*m
猜你喜欢
Concurrent thread safety
Inspirational. In one year, from Xiaobai to entering the core Department of Alibaba, his counter attack
对NFT市场前景的7个看法
What is the difference between digital collections and NFT
Constructors and Destructors
Memory partition model
vue--vuerouter缓存路由组件
Turtle cartography
Teach you to learn dapr - 5 Status management
MySQL index
随机推荐
Apache APIs IX has the risk of rewriting the x-real-ip header (cve-2022-24112)
Viewing the task arrangement ability of monorepo tool from turborepo
Redis 概述整理
分布式缓存/缓存集群简介
Leetcode 1169. 查询无效交易(如果数据量不大,这种题还是得暴力枚举解决)
What is the difference between digital collections and NFT
5g is not flat and 6G is restarted. China leads wireless communication. What is the biggest advantage of 6G?
Strength and appearance Coexist -- an exclusive interview with Liu Yu, a member of Apache pulsar PMC
Teach you to learn dapr - 1 The era of net developers
建立自己的网站(16)
MySQL index
Find out the maximum value of each column element of NxN matrix and store it in the one-dimensional array indicated by formal parameter B in order
进军AR领域,这一次罗永浩能成吗?
Day10 daily 3 questions (3): String Matching in array
[latex bearer] use tables in \title (error \begin doesn't match its definition.)
20:第三章:开发通行证服务:3:在程序中,打通redis服务器;(仅仅是打通redis服务器,不涉及具体的业务开发)
The texstudio official website cannot be opened
Stm32f103c8t6 realize breathing lamp code
Summary of all knowledge points of C language
Jouer avec Linux et installer et configurer MySQL facilement