MQTT常见问题

翻译 2015年11月19日 22:44:07

What is MQTT?

MQTT stands for MQ Telemetry Transport. It is a publish/subscribe, extremely simple and lightweight messaging protocol, designed for constrained devices and low-bandwidth, high-latency or unreliable networks. The design principles are to minimise network bandwidth and device resource

MQTT是什么?

MQTT是一项异步消息传输协议,它是一种极其简洁,轻量级的信息接收/推送协议,专门设计适用于受限制的,低带宽或者高延时不稳定的网络环境下的设备之间的通信。设计的原则是用最少的设备的资源,和最小的网络带宽,在不稳定的网络环境下保证信息的完整传输。

requirements whilst also attempting to ensure reliability and some degree of assurance of delivery. These principles also turn out to make theprotocol ideal of the emerging “machine-to-machine” (M2M) or “Internet of Things” world of connected devices, and for mobile applications where bandwidth and battery power are at a premium.

这个设计原则也同时也是现在出现的“机器与机器”(M2M)或者“物联网”理念的理论基础,特别适用于这些网络带宽受限或者电量受限的设备之间的通信。

Who invented MQTT?MQTT was invented by Dr Andy Stanford-Clark of IBM, and Arlen Nipper of Arcom (now Eurotech), in 1999

谁发明的MQTT?

MQTT由IBM发明

Where is MQTT in use?

MQTT has been widely implemented across a variety of industries since 1999.

MQTT从1999年开始就在工业上非常广泛的使用。

Is MQTT a standard?

As of March 2013, MQTT is in the process of undergoing standardisation at OASIS.

MQTT是一个标准吗?自2014年3月份开始,MQTT就开始了oasis(结构化信息标准促进组织)的标准化的进程。

The protocol specification has been openly published with a royalty-free license for many years, and companies such as Eurotech (formerly known as Arcom) have implemented the protocol in their products.

该协议规范已经使用一个特许的免费license公开发表了多年,并且像Eurotech这样的公司已经在他们的产品中使用了这个协议。

In November 2011 IBM and Eurotech announced their joint participation in the Eclipse M2M Industry Working Group and donation of MQTT code to the proposed Eclipse Paho project.

How does MQTT relate to SCADA protocol and MQIsdp?

The “SCADA protocol” and the “MQ Integrator SCADA Device Protocol” (MQIsdp) are both old names for what is now known as the MQ Telemetry Transport (MQTT). The protocol has also been known as “WebSphere MQTT” (WMQTT), though that name is also no longer used.

MQTT 和 SCADA还有MQIsdp有什么关系?

他们3个指的都是同一个东西。只是其他两个是MQTT的旧名字

What is WebSphere MQ Telemetry?

This is a product from IBM which implements the MQTT protocol in a very scalable manner and which interoperates directly with the WebSphere MQ family of products.

什么是WebSphere MQ Telemetry?

这是一个在很大一部分上都实现了MQTT协议的一个产品,并且可以和WebSphere MQ家族的产品很好的交互

There are other implementations of MQTT listed on the Software page.

Are there standard ports for MQTT to use?

Yes. TCP/IP port 1883 is reserved with IANA for use with MQTT. TCP/IP port 8883 is also registered, for using MQTT over SSL.

有MQTT使用的标准端口吗?

有的 TCP/IP的 1833 端口就是IANA(互联网数字分配机构)为MQTT保留的保留端口,同时也注册了8883端口用于MQTT在SSL上的传输

Does MQTT support security?

You can pass a user name and password with an MQTT packet in V3.1 of the protocol. Encryption across the network can be handled with SSL,

independently of the MQTT protocol itself (it is worth noting that SSL is not the lightest of protocols, and does add significant network overhead).

Additional security can be added by an application encrypting data that it sends and receives, but this is not something built-in to the protocol,

MQTT支持安全传输吗?

你可以在V3.1版本的MQTT协议中用在传输包中传输用户名和密码。网络加密可以用SSL加密来处理。(值得注意的是,SSL是不是轻量级的协议,并会显著增加网络开销)

而外的加密我们可以用我们的应用来实现加密我们要发送和接收的额数据。而这些功能都不包括在我们MQTT协议的本身,协议本身更专注于简单和轻量级。

in order to keep it simple and lightweight.

Where can I find out more?

The specification and other documentation are available via the Documentation page.

Ask questions via one of the methods on the Community page.

相关文章推荐

MQTT协议详解,非常易懂

MQTT协议详解一 协议地址:http://public.dhe.ibm.com/software/dw/webservices/ws-mqtt/mqtt-v3r1.html...

mqttclient使用问题

使用的jar包为:org.eclipse.paho.client.mqttv3-1.0.2.jar报错如下: [akka:/ server/user/$a] 正在进行过多的发布 正在进行过多的发布 (...

MQTT协议之Apache Apollo 安装使用

Apache Apollo是一个代理服务器,其是在ActiveMQ基础上发展而来的,可以支持STOMP, AMQP, MQTT, Openwire, SSL, and WebSockets 等多种协议...

MQTT简介

MQ 遥测传输 (MQTT) 是轻量级基于代理的发布-订阅的消息传输协议,设计思想是开放、简单、轻量、易于实现。这些特点使它适用于受限环境。例如,但不仅限于此: 网络代价昂贵,带宽低、不可靠。 在...

MQTT Protocol Manual(Apollo中MQTT协议解析)

官网英文参考:http://activemq.apache.org/apollo/documentation/mqtt-manual.html  MQTT协议 Apollo允许客户...

MQTT 客户端应用及常见问题(C#)

最近因为工作需要,需要使用C# 语言编写一个通过MQTT协议 ,上传数据到云端的工具。因为之前没有用过MQTT,所以 使用的时候遇到很多问题.下面将会把我遇到的问题一一解释。1.引用源码库地址 ht...

mqtt配置常见错误

This tutorial explains basic steps of installing mosquitto server on openwrt platform. Mosquitto exi...

MQTT连接服务器发送和接收数据

这里使用MQTTClient.framework这个第三方框架。 在工程中导入MQTTClient.framework这个框架,见附件。 .h文件 #import #im...

MQTT协议 Websocket JS客户端

MQTT协议支持HTML5的Websocket客户端连接,只需要JS代码就能实现方便实时的通信,下面是实现步骤 1、引入JS文件 2、使用代码 下面为核心代码的截取 client = new Pah...
  • Leytton
  • Leytton
  • 2016年07月13日 12:50
  • 8734

android mosquitto客户端使用SSL功能的具体操作总结(android mqtt ssl 加密)

在开发Java版mosquitto客户端程序时需要使用paho库,如果开发的java客户端要用ssl功能,则需要Bouncy Castle库;在使用ssl功能时,需要证书文件进行进行身份认证,但在测...
  • PZ0605
  • PZ0605
  • 2016年07月26日 10:19
  • 1961
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:MQTT常见问题
举报原因:
原因补充:

(最多只允许输入30个字)