WO2019205907A1 - Intelligent device communication platform based on mqtt message protocol - Google Patents

Intelligent device communication platform based on mqtt message protocol Download PDF

Info

Publication number
WO2019205907A1
WO2019205907A1 PCT/CN2019/081226 CN2019081226W WO2019205907A1 WO 2019205907 A1 WO2019205907 A1 WO 2019205907A1 CN 2019081226 W CN2019081226 W CN 2019081226W WO 2019205907 A1 WO2019205907 A1 WO 2019205907A1
Authority
WO
WIPO (PCT)
Prior art keywords
client
server
module
mqtt
message
Prior art date
Application number
PCT/CN2019/081226
Other languages
French (fr)
Chinese (zh)
Inventor
易子川
刘黎明
张智
迟锋
杨健君
水玲玲
Original Assignee
电子科技大学中山学院
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 电子科技大学中山学院 filed Critical 电子科技大学中山学院
Publication of WO2019205907A1 publication Critical patent/WO2019205907A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2101/00Indexing scheme associated with group H04L61/00
    • H04L2101/60Types of network addresses
    • H04L2101/618Details of network addresses
    • H04L2101/622Layer-2 addresses, e.g. medium access control [MAC] addresses

Definitions

  • the invention relates to a digital information transmission platform, in particular to a smart device communication platform based on the MQTT message protocol.
  • the pull mode refers to the way the client requests messages from the server.
  • Push mode refers to the way the server sends messages to the client actively.
  • the push mode is more common in the mobile terminal. Because the mobile port has real-time characteristics, the push mode will give users a more friendly experience.
  • XMPP Extensible Message Processing Field Protocol
  • MQTT MQTT
  • MQTT Message Queue Telemetry Transmission
  • the application of the industry is more and more extensive, and smart devices often face the bad transmission conditions such as limited computing power, low working frequency band and unreliable network.
  • the MQTT publishable/subscribeable messaging mode and open source message proxy software are designed.
  • a communication platform that supports the communication of sensors and control devices has considerable social significance.
  • the present invention provides a smart device communication platform based on the MQTT message protocol, which is suitable for a network unstable and low bandwidth communication scenario and a low resource intelligent control device.
  • a smart device communication platform based on the MQTT message protocol comprising a client for data transmission and information reception and a server for information processing and transmission, the client and the server establish wireless with a publish/subscribe mode message protocol of MQTT binary message communication;
  • the client includes:
  • Address publishing module used to store and send a MAC address to the server
  • the identifier subscription module is configured to acquire a device ID and an access time allocated and sent by the server;
  • Data publishing module used to send client-independent information data to the server
  • Information subscription module used to receive the content of the message sent by the server;
  • the server includes:
  • Address subscription module used to receive and process the MAC address sent by the client;
  • Identity publishing module used to generate and send a device ID and access time
  • Information publishing module used to send message content to the client
  • Data subscription module used to receive information data sent by the client.
  • the client and server architecture configuration includes the following four steps:
  • Step 1 The client sends the MAC address in the address issuing module to the server.
  • Step 2 After the address subscription module of the server receives the MAC address, the identity issuing module generates and sends the device ID and the access time to the client, and the message publishing module sends the message content to the client according to the MAC address.
  • Step 3 After the identity subscription module of the client obtains the device ID and the access time sent by the server, the information subscription module receives the message content sent by the client according to the device ID and the access time.
  • Step 4 The data publishing module of the client feeds back the client independent information data to the server, and is received by the data subscription module.
  • the client and the server After the client and server architecture are configured, the client and the server perform a publish/subscribe communication connection.
  • the message agent software that implements the MQTT protocol by the client and the server is Mosquitto.
  • connection information is used to keep the client and the server connected, and the module name, the payload part and the service quality of the data release module and the information release module are parameterized and sent to the server and the client respectively;
  • the terminal system used by the client is Linux.
  • connection protection mechanism used by the client and the server is a heartbeat mechanism, and the heartbeat interval is 300 seconds.
  • the invention has the beneficial effects that the invention is based on the Linux system and the Mosquitto open source project for client build and server programming, and the client and the server establish a connection and communication through a publish/subscribe mode, for low-power sensors, mobile phones, Intelligent devices and mobile devices such as embedded computers and microcontrollers provide the MQTT protocol communication platform, which utilizes the compact performance of the MQTT message protocol to reduce the energy and traffic loss of access devices when the communication platform has high scalability.
  • Terminal equipment with limited computing power and low operating frequency conditions provides high S/N and reliable communication services.
  • Figure 1 is a schematic view of a knotted platform structure of the present invention.
  • a smart device communication platform based on the MQTT message protocol includes a client for data transmission and information reception and a server for information processing and transmission, and the client and the server use a publish/subscribe mode of MQTT binary message.
  • the message protocol establishes wireless communication, and the client in the communication platform uses Linux as the terminal system, and the development environment of the Linux terminal system is based on the existing g++, libc6-dev, linux-libc-dev, libstdc++6-4.1-
  • the environment software and the header file library such as dev and Code::Blocks are constructed, and the message agent software for implementing the MQTT protocol by the client and the server is Mosquitto.
  • the MQTT message format consists of three parts: Fixed Header, Variable Header, and Payload.
  • the header of each MQTT Command message must contain a fixed message.
  • the header is used to describe the packet information, such as the type and level of the packet.
  • the variable header changes according to different types of packets. It does not necessarily exist in the MQTT message.
  • the payload part is the client and the server.
  • the communication content contained therein may include information such as a module name (TopicName) and a client ID (ClientIdentifier) in addition to the communication content.
  • the connection protection mechanism used by the client and the server is a heartbeat mechanism, and the heartbeat interval is 300 seconds.
  • the client periodically sends a simple heartbeat packet to the server to maintain a long connection between the client and the server, and the heartbeat mechanism in the MQTT.
  • the client sends a PINGREQ message to the server.
  • the server After receiving the message, the server will reply the PINGRESP message to the client, complete a heartbeat interaction, and then wait for the next round.
  • the heartbeat message if the client does not receive the heartbeat response, it will close the TCP/IP port connection, allowing the client to connect with the server for a long time, and can greatly reduce the consumption of the network connection, when the client and the server When the communication is accidentally dropped or does not communicate during the heartbeat period, the will (willingness) protection mechanism is activated.
  • the server will send the pre-defined LWT message to the client of all subscribers instead of the client. This LWT message contains the module. The name and corresponding message content are defined in the variable header.
  • the client includes:
  • Address publishing module used to store and send a MAC address to the server
  • the identifier subscription module is configured to acquire a device ID and an access time allocated and sent by the server;
  • Data publishing module used to send client-independent information data to the server
  • Information subscription module used to receive the content of the message sent by the server;
  • the server includes:
  • Address subscription module used to receive and process the MAC address sent by the client;
  • Identity publishing module used to generate and send a device ID and access time
  • Information publishing module used to send message content to the client
  • Data subscription module used to receive information data sent by the client.
  • the client and server architecture configuration includes the following four steps:
  • Step 1 The client sends the MAC address in the address issuing module to the server.
  • Step 2 After the address subscription module of the server receives the MAC address, the identity issuing module generates and sends the device ID and the access time to the client, and the message publishing module sends the message content to the client according to the MAC address.
  • Step 3 After the identity subscription module of the client obtains the device ID and the access time sent by the server, the information subscription module receives the message content sent by the client according to the device ID and the access time.
  • Step 4 The data publishing module of the client feeds back the client independent information data to the server, and is received by the data subscription module.
  • the client and the server After the client and server architecture are configured, the client and the server perform a publish/subscribe communication connection.
  • connection information is used to keep the client and the server connected, and the module name, the payload part and the service quality of the data release module and the information release module are parameterized and sent to the server and the client respectively;
  • the process of establishing a communication connection between the client and the server is similar to the process of the above-mentioned publishing mode. The difference is that in the process 4 of the publishing mode, the data publishing module and the information publishing module are replaced with a data subscription module and an information subscription module, and the set parameters are increased.
  • the heartbeat time (keepalive), the subscription process code in Mosquitto is as follows:
  • the invention is based on the Linux system and the Mosquitto open source project for client build and server programming, and the client and the server establish a connection and communication through a publish/subscribe mode for low power sensors, mobile phones, embedded computers, and microcontrollers.
  • Such intelligent devices and mobile devices provide the MQTT protocol communication platform, which utilizes the compact performance of the MQTT message protocol to reduce the energy and flow loss of the access device when the communication platform has high scalability, and can face limited computing power and low working frequency band.
  • Terminal devices such as poor transmission conditions provide high S/N and reliable communication services.

Abstract

Disclosed is an intelligent device communication platform based on an MQTT message protocol. The platform comprises a client and a server, wherein the client establishes wireless communication with the server by means of a publishing/subscription mode message protocol of an MQTT binary message; the client comprises an address publishing module, an identifier subscription module, a data publishing module and an information subscription module; and the server comprises an address subscription module, an identifier publishing module, an information publishing module and a data subscription module. The client and the server establish connection and communication by means of a publishing/subscription mode, thus providing an MQTT protocol communication platform for intelligent devices and mobile devices, such as low-power-consumption sensors, mobile phones, embedded computers and micro-controllers. By using the concise performance of an MQTT message protocol, where the communication platform has a high scalability, the energy and traffic losses of an access device are reduced, and communication services with high S/N and reliability can be provided for terminal devices faced with poor transmission conditions, such as a limited computing capability and a low working frequency band.

Description

一种基于MQTT消息协议的智能设备通讯平台A smart device communication platform based on MQTT message protocol 技术领域Technical field
本发明涉及一种数字信息传输平台,特别是一种基于MQTT消息协议的智能设备通讯平台。The invention relates to a digital information transmission platform, in particular to a smart device communication platform based on the MQTT message protocol.
背景技术Background technique
随着互联网的不断发展,消息协议的应用在不断成熟,互联网获取消息的主要方法是消息协议中拉(PULL)和推(PUSH)方式,拉方式是指客户端向服务器请求消息的方式,而推方式是指服务器向客户端主动发送消息的方式,推的方式在移动端的使用更为普遍,因为移动端实时的特性,推的方式会给用户更友好的体验,经过多年的研究应用以及新兴物联网、移动通讯和智能设备通讯等领域的快速发展下,XMPP协议和MQTT协议逐渐成为消息协议的两大主流,其中,XMPP(可扩展消息处理现场协议)是由XML协议改进的协议,被用于移动终端上许多实时通讯软件,它的优点是协议完善、功能多样和多延展性强,但是其缺点是协议相对繁杂、冗余、耗能且部署硬件成本比较高,在恶劣的通讯环境下,采用XMPP协议通讯的数据传输会异常的乏力,传输数据的可靠性和S/N过于低下,而MQTT(消息队列遥测传输)是通过发布/订阅的方式传输消息,特别适用在网络不稳定、低带宽的通讯场景以及资源低的智能控制设备中,在满足较低的网络带宽和设备资源的同时,保证消息传递的准确性,因此,在特定情况 下,MQTT较XMPP协议具有相当的优势,鉴于国内近几年移动互联网的迅速发展,消息通讯技术在医疗、教育、媒体和电商等行业的应用愈加广泛,而智能设备常常面临计算能力有限、工作频段低、网络不可靠等不良传输条件的大环境下,利用MQTT可发布/可订阅的消息传送模式和开源消息代理软件,设计出为传感器及控制设备的通讯提供支持的通讯平台,具有相当的社会意义。With the continuous development of the Internet, the application of the message protocol is constantly maturing. The main method for the Internet to obtain messages is the PULL and PUSH modes. The pull mode refers to the way the client requests messages from the server. Push mode refers to the way the server sends messages to the client actively. The push mode is more common in the mobile terminal. Because the mobile port has real-time characteristics, the push mode will give users a more friendly experience. After years of research and application, and emerging Under the rapid development of Internet of Things, mobile communication and smart device communication, XMPP and MQTT have gradually become the two mainstream of message protocols. Among them, XMPP (Extensible Message Processing Field Protocol) is an improved protocol by XML protocol. It is used in many real-time communication software on mobile terminals. Its advantages are perfect protocol, versatility and multi-extensibility, but its shortcomings are relatively complicated, redundant, energy-consuming and high cost of deploying hardware in a bad communication environment. Under the XMPP protocol, the data transmission will be abnormally weak, the reliability of the transmitted data and the S/N are too low. MQTT (Message Queue Telemetry Transmission) transmits messages by means of publish/subscribe. It is especially suitable for network unstable, low-bandwidth communication scenarios and low-power intelligent control devices to meet lower network bandwidth and device resources. At the same time, to ensure the accuracy of message delivery, therefore, under certain circumstances, MQTT has considerable advantages over XMPP protocol. In view of the rapid development of mobile Internet in China in recent years, messaging technology in medical, education, media and e-commerce, etc. The application of the industry is more and more extensive, and smart devices often face the bad transmission conditions such as limited computing power, low working frequency band and unreliable network. The MQTT publishable/subscribeable messaging mode and open source message proxy software are designed. A communication platform that supports the communication of sensors and control devices has considerable social significance.
发明内容Summary of the invention
为了克服现有技术的不足,本发明提供一种适用于网络不稳定和低带宽的通讯场景以及资源低的智能控制设备的基于MQTT消息协议的智能设备通讯平台。In order to overcome the deficiencies of the prior art, the present invention provides a smart device communication platform based on the MQTT message protocol, which is suitable for a network unstable and low bandwidth communication scenario and a low resource intelligent control device.
本发明解决其技术问题所采用的技术方案是:The technical solution adopted by the present invention to solve the technical problem thereof is:
一种基于MQTT消息协议的智能设备通讯平台,包括数据发送与信息接收的客户端和信息处理与传送的服务器,所述客户端与所述服务器以MQTT二进制消息的发布/订阅模式消息协议建立无线通讯;A smart device communication platform based on the MQTT message protocol, comprising a client for data transmission and information reception and a server for information processing and transmission, the client and the server establish wireless with a publish/subscribe mode message protocol of MQTT binary message communication;
所述客户端包括:The client includes:
地址发布模块:用于存储并发送MAC地址至服务器;Address publishing module: used to store and send a MAC address to the server;
标识订阅模块:用于获取由服务器所分配并发送的设备ID和接入时间;The identifier subscription module is configured to acquire a device ID and an access time allocated and sent by the server;
数据发布模块:用于向服务器发送客户端独立的信息数据;Data publishing module: used to send client-independent information data to the server;
信息订阅模块:用于接收服务器发送的消息内容;Information subscription module: used to receive the content of the message sent by the server;
所述服务器包括:The server includes:
地址订阅模块:用于接收并处理由客户端发送的MAC地址;Address subscription module: used to receive and process the MAC address sent by the client;
标识发布模块:用于生成并发送设备ID和接入时间;Identity publishing module: used to generate and send a device ID and access time;
信息发布模块:用于向客户端发送消息内容;Information publishing module: used to send message content to the client;
数据订阅模块:用于接收由客户端发送的信息数据。Data subscription module: used to receive information data sent by the client.
所述客户端和服务器架构配置包括如下四个步骤:The client and server architecture configuration includes the following four steps:
步骤1:客户端将地址发布模块内的MAC地址发送至服务器;Step 1: The client sends the MAC address in the address issuing module to the server.
步骤2:服务器的地址订阅模块接收MAC地址后,标识发布模块生成并发送设备ID和接入时间至客户端,信息发布模块依据MAC地址向客户端发送的消息内容;Step 2: After the address subscription module of the server receives the MAC address, the identity issuing module generates and sends the device ID and the access time to the client, and the message publishing module sends the message content to the client according to the MAC address.
步骤3:客户端的标识订阅模块获取由服务器发送的设备ID和接入时间后,信息订阅模块根据设备ID和接入时间接收客户端发送的消息内容;Step 3: After the identity subscription module of the client obtains the device ID and the access time sent by the server, the information subscription module receives the message content sent by the client according to the device ID and the access time.
步骤4:客户端的数据发布模块将客户端独立的信息数据反馈至服务器,由数据订阅模块所接收,完成客户端和服务器架构配置后,客户端与服务器进行发布/订阅方式的通讯连接。Step 4: The data publishing module of the client feeds back the client independent information data to the server, and is received by the data subscription module. After the client and server architecture are configured, the client and the server perform a publish/subscribe communication connection.
所述客户端和服务器实现MQTT协议的消息代理软件为Mosquitto。The message agent software that implements the MQTT protocol by the client and the server is Mosquitto.
所述步骤4中客户端与服务器建立通讯连接的发布方式流程如下:The process of issuing the communication connection between the client and the server in the step 4 is as follows:
(1)、初始化Mosquitto库函数,将Mosquitto库函数包含的发布订阅函数、连接服务器函数和各类回调函数调设为初始值,并销毁MQTT函数等各种功能函数;(1) Initialize the Mosquitto library function, set the publish subscription function, connection server function and various callback functions included in the Mosquitto library function to initial values, and destroy various function functions such as MQTT function;
(2)、以Mosquitto内部mosq结构体保存的客户端名字建立一 个新的客户端;(2) Establish a new client with the client name saved in the Mosquitto internal mosq structure;
(3)、设置登记信息、连接信息和发布信息的回调函数;(3) setting a registration function, a connection information, and a callback function for posting information;
(4)、以连接信息的回调函数让客户端与服务器保持连接,对数据发布模块和信息发布模块的模块名称、有效负载部分和服务质量进行参量设置并分别发送至服务器和客户端;(4) The callback function of the connection information is used to keep the client and the server connected, and the module name, the payload part and the service quality of the data release module and the information release module are parameterized and sent to the server and the client respectively;
(5)、调用Mosquitto库函数的内部源码,让客户端与服务器保持长久连接,并释放Mosquitto实例的内存空间以及清空Moquitto库函数所使用的资源。(5), call the internal source code of the Mosquitto library function, let the client and server maintain a long-term connection, and release the memory space of the Mosquitto instance and clear the resources used by the Moquitto library function.
所述客户端使用的终端系统为Linux。The terminal system used by the client is Linux.
所述客户端与所述服务器使用的连接保护机制为心跳机制,心跳间隔为300秒。The connection protection mechanism used by the client and the server is a heartbeat mechanism, and the heartbeat interval is 300 seconds.
本发明的有益效果是:本发明基于Linux系统和Mosquitto开源项目进行客户端构建和服务器的程序编写,而客户端和服务器通过发布/订阅的模式建立连接并通讯,为低功耗传感器、手机、嵌入式计算机、微型控制器等智能设备和移动设备提供MQTT协议通讯平台,利用MQTT消息协议的简洁性能,让通讯平台具有高扩展性的情况下减少接入设备的能源以及流量损耗,能为面临计算能力有限、工作频段低等不良传输条件的终端设备提供高S/N和可靠性的通讯服务。The invention has the beneficial effects that the invention is based on the Linux system and the Mosquitto open source project for client build and server programming, and the client and the server establish a connection and communication through a publish/subscribe mode, for low-power sensors, mobile phones, Intelligent devices and mobile devices such as embedded computers and microcontrollers provide the MQTT protocol communication platform, which utilizes the compact performance of the MQTT message protocol to reduce the energy and traffic loss of access devices when the communication platform has high scalability. Terminal equipment with limited computing power and low operating frequency conditions provides high S/N and reliable communication services.
附图说明DRAWINGS
下面结合附图和实施例对本发明进一步说明。The invention will now be further described with reference to the drawings and embodiments.
图1是本发明的结平台构示意图。BRIEF DESCRIPTION OF THE DRAWINGS Figure 1 is a schematic view of a knotted platform structure of the present invention.
具体实施方式detailed description
参照图1,一种基于MQTT消息协议的智能设备通讯平台,包括数据发送与信息接收的客户端和信息处理与传送的服务器,所述客户端与所述服务器以MQTT二进制消息的发布/订阅模式消息协议建立无线通讯,该通讯平台中的客户端使用Linux作为终端系统,所述Linux终端系统的开发环境基于现有的g++、libc6-dev、linux-libc-dev、libstdc++6-4.1-dev、Code::Blocks等环境软件和头文件库构建而成,所述客户端和服务器实现MQTT协议的消息代理软件为Mosquitto。Referring to FIG. 1, a smart device communication platform based on the MQTT message protocol includes a client for data transmission and information reception and a server for information processing and transmission, and the client and the server use a publish/subscribe mode of MQTT binary message. The message protocol establishes wireless communication, and the client in the communication platform uses Linux as the terminal system, and the development environment of the Linux terminal system is based on the existing g++, libc6-dev, linux-libc-dev, libstdc++6-4.1- The environment software and the header file library such as dev and Code::Blocks are constructed, and the message agent software for implementing the MQTT protocol by the client and the server is Mosquitto.
MQTT的消息格式由三个部分组成,分别是固定报文头(Fixedheader)、可变报文头(Variableheader)和有效载荷部分(payload),每一个MQTT命令消息的消息头都必须含一个固定报文头,用于描述报文信息,如报文的类型、等级等;可变报头会根据不同的类型报文而发生变化,它不是一定存在MQTT消息中;有效载荷部分是客户端和服务端之间的通信内容,内含的总信息除了通信内容还可含模块名(TopicName)、客户ID(ClientIdentifier)等信息。The MQTT message format consists of three parts: Fixed Header, Variable Header, and Payload. The header of each MQTT Command message must contain a fixed message. The header is used to describe the packet information, such as the type and level of the packet. The variable header changes according to different types of packets. It does not necessarily exist in the MQTT message. The payload part is the client and the server. The communication content contained therein may include information such as a module name (TopicName) and a client ID (ClientIdentifier) in addition to the communication content.
所述客户端与所述服务器使用的连接保护机制为心跳机制,心跳间隔为300秒,客户端会定期发送简易的心跳包给服务器,以保持客户端和服务器的长连接,在MQTT的心跳机制中,每隔一个心跳间隔,客户端会发送一个PINGREQ(心跳请求)消息给服务器,服务器收到消息后,会回复PINGRESP(心跳响应)消息给客户端,完成一次心跳交互,然后等待下一轮心跳消息,如果客户端没有收到心跳响应, 则会关闭TCP/IP端口连接,让所述客户端与所述服务器实现长时间连接,并能大大减少网络连接的消耗,当客户端与服务器的通信意外掉线或没有在心跳期内进行通信时,会启动will(遗愿)保护机制,服务器会代替客户端发出提前预定义好的LWT消息到所有订阅者的客户端上,这个LWT消息包含模块名目和对应的消息内容,定义在可变报文头中。The connection protection mechanism used by the client and the server is a heartbeat mechanism, and the heartbeat interval is 300 seconds. The client periodically sends a simple heartbeat packet to the server to maintain a long connection between the client and the server, and the heartbeat mechanism in the MQTT. In every heartbeat interval, the client sends a PINGREQ message to the server. After receiving the message, the server will reply the PINGRESP message to the client, complete a heartbeat interaction, and then wait for the next round. The heartbeat message, if the client does not receive the heartbeat response, it will close the TCP/IP port connection, allowing the client to connect with the server for a long time, and can greatly reduce the consumption of the network connection, when the client and the server When the communication is accidentally dropped or does not communicate during the heartbeat period, the will (willingness) protection mechanism is activated. The server will send the pre-defined LWT message to the client of all subscribers instead of the client. This LWT message contains the module. The name and corresponding message content are defined in the variable header.
所述客户端包括:The client includes:
地址发布模块:用于存储并发送MAC地址至服务器;Address publishing module: used to store and send a MAC address to the server;
标识订阅模块:用于获取由服务器所分配并发送的设备ID和接入时间;The identifier subscription module is configured to acquire a device ID and an access time allocated and sent by the server;
数据发布模块:用于向服务器发送客户端独立的信息数据;Data publishing module: used to send client-independent information data to the server;
信息订阅模块:用于接收服务器发送的消息内容;Information subscription module: used to receive the content of the message sent by the server;
所述服务器包括:The server includes:
地址订阅模块:用于接收并处理由客户端发送的MAC地址;Address subscription module: used to receive and process the MAC address sent by the client;
标识发布模块:用于生成并发送设备ID和接入时间;Identity publishing module: used to generate and send a device ID and access time;
信息发布模块:用于向客户端发送消息内容;Information publishing module: used to send message content to the client;
数据订阅模块:用于接收由客户端发送的信息数据。Data subscription module: used to receive information data sent by the client.
所述客户端和服务器架构配置包括如下四个步骤:The client and server architecture configuration includes the following four steps:
步骤1:客户端将地址发布模块内的MAC地址发送至服务器;Step 1: The client sends the MAC address in the address issuing module to the server.
步骤2:服务器的地址订阅模块接收MAC地址后,标识发布模块生成并发送设备ID和接入时间至客户端,信息发布模块依据MAC地址向客户端发送的消息内容;Step 2: After the address subscription module of the server receives the MAC address, the identity issuing module generates and sends the device ID and the access time to the client, and the message publishing module sends the message content to the client according to the MAC address.
步骤3:客户端的标识订阅模块获取由服务器发送的设备ID和接入时间后,信息订阅模块根据设备ID和接入时间接收客户端发送的消息内容;Step 3: After the identity subscription module of the client obtains the device ID and the access time sent by the server, the information subscription module receives the message content sent by the client according to the device ID and the access time.
步骤4:客户端的数据发布模块将客户端独立的信息数据反馈至服务器,由数据订阅模块所接收,完成客户端和服务器架构配置后,客户端与服务器进行发布/订阅方式的通讯连接。Step 4: The data publishing module of the client feeds back the client independent information data to the server, and is received by the data subscription module. After the client and server architecture are configured, the client and the server perform a publish/subscribe communication connection.
所述步骤4中客户端与服务器建立通讯连接的发布方式流程如下:The process of issuing the communication connection between the client and the server in the step 4 is as follows:
(1)、初始化Mosquitto库函数,将Mosquitto库函数包含的发布订阅函数、连接服务器函数和各类回调函数调设为初始值,并销毁MQTT函数等各种功能函数;(1) Initialize the Mosquitto library function, set the publish subscription function, connection server function and various callback functions included in the Mosquitto library function to initial values, and destroy various function functions such as MQTT function;
(2)、以Mosquitto内部mosq结构体保存的客户端名字建立一个新的客户端;(2) Establish a new client with the client name saved by Mosquitto's internal mosq structure;
(3)、设置登记信息、连接信息和发布信息的回调函数;(3) setting a registration function, a connection information, and a callback function for posting information;
(4)、以连接信息的回调函数让客户端与服务器保持连接,对数据发布模块和信息发布模块的模块名称、有效负载部分和服务质量进行参量设置并分别发送至服务器和客户端;(4) The callback function of the connection information is used to keep the client and the server connected, and the module name, the payload part and the service quality of the data release module and the information release module are parameterized and sent to the server and the client respectively;
(5)、调用Mosquitto库函数的内部源码,让客户端与服务器保持长久连接,并释放Mosquitto实例的内存空间以及清空Moquitto库函数所使用的资源。(5), call the internal source code of the Mosquitto library function, let the client and server maintain a long-term connection, and release the memory space of the Mosquitto instance and clear the resources used by the Moquitto library function.
Mosquitto中发布方式流程代码如下:The process code for publishing in Mosquitto is as follows:
Mosquitto_lib_init();Mosquitto_lib_init();
mosq=Mosquitto_new("[USER]PUBLISH",true,&obj);Mosq=Mosquitto_new("[USER]PUBLISH",true,&obj);
Mosquitto_log_callback_set(mosq,my_log_callback);Mosquitto_log_callback_set(mosq,my_log_callback);
Mosquitto_connect_callback_set(mosq,my_connect_callback);Mosquitto_connect_callback_set(mosq,my_connect_callback);
Mosquitto_publish_callback_set(mosq,my_publish_callback);Mosquitto_publish_callback_set(mosq,my_publish_callback);
Mosquitto_disconnect_callback_set(mosq,my_disconnect_callback);Mosquitto_disconnect_callback_set(mosq,my_disconnect_callback);
Mosquitto_message_callback_set(mosq,my_message_callback);Mosquitto_message_callback_set(mosq,my_message_callback);
Mosquitto_connect(mosq,host,1883,1);Mosquitto_connect(mosq,host,1883,1);
Mosquitto_publish(mosq,NULL,topic,payloadlen,payload,1,true);Mosquitto_publish(mosq,NULL,topic,payloadlen,payload,1,true);
Mosquitto_loop_forever(mosq,-1,1);Mosquitto_loop_forever(mosq,-1,1);
Mosquitto_destroy(mosq);Mosquitto_destroy(mosq);
Mosquitto_lib_cleanup();Mosquitto_lib_cleanup();
所述客户端与服务器建立通讯连接的订阅方式流程与上述发布方式流程类似,不同处在于发布方式流程4中,数据发布模块和信息发布模块更换为数据订阅模块和信息订阅模块,设置的参数增加了心跳时间(keepalive),Mosquitto中订阅方式流程代码如下:The process of establishing a communication connection between the client and the server is similar to the process of the above-mentioned publishing mode. The difference is that in the process 4 of the publishing mode, the data publishing module and the information publishing module are replaced with a data subscription module and an information subscription module, and the set parameters are increased. The heartbeat time (keepalive), the subscription process code in Mosquitto is as follows:
Mosquitto_lib_init();Mosquitto_lib_init();
mosq=Mosquitto_new("[USER]SUBCRIBER1",true,&obj);Mosq=Mosquitto_new("[USER]SUBCRIBER1",true,&obj);
Mosquitto_log_callback_set(mosq,my_log_callback);Mosquitto_log_callback_set(mosq,my_log_callback);
Mosquitto_connect_callback_set(mosq,my_connect_callback);Mosquitto_connect_callback_set(mosq,my_connect_callback);
Mosquitto_message_callback_set(mosq,my_message_callback);Mosquitto_message_callback_set(mosq,my_message_callback);
Mosquitto_subscribe_callback_set(mosq,my_subscribe_callback);Mosquitto_subscribe_callback_set(mosq,my_subscribe_callback);
Mosquitto_disconnect_callback_set(mosq,my_disconnect_callback);Mosquitto_disconnect_callback_set(mosq,my_disconnect_callback);
if(Mosquitto_connect_async(mosq,host,port,keepalive))If(Mosquitto_connect_async(mosq,host,port,keepalive))
{fprintf(stderr,"Unabletoconnect.\n");return1;}{fprintf(stderr,"Unabletoconnect.\n");return1;}
Mosquitto_subscribe(mosq,&mid,topic,1);Mosquitto_subscribe(mosq,&mid,topic,1);
Mosquitto_loop_forever(mosq,-1,1);Mosquitto_loop_forever(mosq,-1,1);
Mosquitto_destroy(mosq);Mosquitto_destroy(mosq);
Mosquitto_lib_cleanup();Mosquitto_lib_cleanup();
本发明基于Linux系统和Mosquitto开源项目进行客户端构建和服务器的程序编写,而客户端和服务器通过发布/订阅的模式建立连接并通讯,为低功耗传感器、手机、嵌入式计算机、微型控制器等智能设备和移动设备提供MQTT协议通讯平台,利用MQTT消息协议的简洁性能,让通讯平台具有高扩展性的情况下减少接入设备的能源以及流量损耗,能为面临计算能力有限、工作频段低等不良传输条件的终端设备提供高S/N和可靠性的通讯服务。The invention is based on the Linux system and the Mosquitto open source project for client build and server programming, and the client and the server establish a connection and communication through a publish/subscribe mode for low power sensors, mobile phones, embedded computers, and microcontrollers. Such intelligent devices and mobile devices provide the MQTT protocol communication platform, which utilizes the compact performance of the MQTT message protocol to reduce the energy and flow loss of the access device when the communication platform has high scalability, and can face limited computing power and low working frequency band. Terminal devices such as poor transmission conditions provide high S/N and reliable communication services.
以上的实施方式不能限定本发明创造的保护范围,专业技术领域的人员在不脱离本发明创造整体构思的情况下,所做的均等修饰与变化,均仍属于本发明创造涵盖的范围之内。The above embodiments are not intended to limit the scope of the invention, and the modifications and variations made by those skilled in the art without departing from the scope of the present invention are still within the scope of the present invention.

Claims (6)

  1. 一种基于MQTT消息协议的智能设备通讯平台,其特征在于它包括数据发送与信息接收的客户端和信息处理与传送的服务器,所述客户端与所述服务器以MQTT二进制消息的发布/订阅模式消息协议建立无线通讯;A smart device communication platform based on the MQTT message protocol, characterized in that it comprises a client for data transmission and information reception and a server for information processing and transmission, and the client and the server use a publish/subscribe mode of MQTT binary message. The message protocol establishes wireless communication;
    所述客户端包括:The client includes:
    地址发布模块:用于存储并发送MAC地址至服务器;Address publishing module: used to store and send a MAC address to the server;
    标识订阅模块:用于获取由服务器所分配并发送的设备ID和接入时间;The identifier subscription module is configured to acquire a device ID and an access time allocated and sent by the server;
    数据发布模块:用于向服务器发送客户端独立的信息数据;Data publishing module: used to send client-independent information data to the server;
    信息订阅模块:用于接收服务器发送的消息内容;Information subscription module: used to receive the content of the message sent by the server;
    所述服务器包括:The server includes:
    地址订阅模块:用于接收并处理由客户端发送的MAC地址;Address subscription module: used to receive and process the MAC address sent by the client;
    标识发布模块:用于生成并发送设备ID和接入时间;Identity publishing module: used to generate and send a device ID and access time;
    信息发布模块:用于向客户端发送消息内容;Information publishing module: used to send message content to the client;
    数据订阅模块:用于接收由客户端发送的信息数据。Data subscription module: used to receive information data sent by the client.
  2. 根据权利要求1所述的基于MQTT消息协议的智能设备通讯平台,其特征在于所述客户端和服务器架构配置包括如下四个步骤:The smart device communication platform based on the MQTT message protocol according to claim 1, wherein the client and server architecture configuration comprises the following four steps:
    步骤1:客户端将地址发布模块内的MAC地址发送至服务器;Step 1: The client sends the MAC address in the address issuing module to the server.
    步骤2:服务器的地址订阅模块接收MAC地址后,标识发布模块生成并发送设备ID和接入时间至客户端,信息发布模块依据MAC地址向客户端发送的消息内容;Step 2: After the address subscription module of the server receives the MAC address, the identity issuing module generates and sends the device ID and the access time to the client, and the message publishing module sends the message content to the client according to the MAC address.
    步骤3:客户端的标识订阅模块获取由服务器发送的设备ID和接入时间后,信息订阅模块根据设备ID和接入时间接收客户端发送的消息内容;Step 3: After the identity subscription module of the client obtains the device ID and the access time sent by the server, the information subscription module receives the message content sent by the client according to the device ID and the access time.
    步骤4:客户端的数据发布模块将客户端独立的信息数据反馈至服务器,由数据订阅模块所接收,完成客户端和服务器架构配置后,客户端与服务器进行发布/订阅方式的通讯连接。Step 4: The data publishing module of the client feeds back the client independent information data to the server, and is received by the data subscription module. After the client and server architecture are configured, the client and the server perform a publish/subscribe communication connection.
  3. 根据权利要求1所述的基于MQTT消息协议的智能设备通讯平台,其特征在于所述客户端和服务器实现MQTT协议的消息代理软件为Mosquitto。The smart device communication platform based on the MQTT message protocol according to claim 1, wherein the client and the server implement the message broker software of the MQTT protocol as Mosquitto.
  4. 根据权利要求2或3所述的基于MQTT消息协议的智能设备通讯平台,其特征在于所述步骤4中客户端与服务器建立通讯连接的发布方式流程如下:The intelligent device communication platform based on the MQTT message protocol according to claim 2 or 3, wherein the process of issuing the communication connection between the client and the server in the step 4 is as follows:
    (1)、初始化Mosquitto库函数,将Mosquitto库函数包含的发布订阅函数、连接服务器函数和各类回调函数调设为初始值,并销毁MQTT函数等各种功能函数;(1) Initialize the Mosquitto library function, set the publish subscription function, connection server function and various callback functions included in the Mosquitto library function to initial values, and destroy various function functions such as MQTT function;
    (2)、以Mosquitto内部mosq结构体保存的客户端名字建立一个新的客户端;(2) Establish a new client with the client name saved by Mosquitto's internal mosq structure;
    (3)、设置登记信息、连接信息和发布信息的回调函数;(3) setting a registration function, a connection information, and a callback function for posting information;
    (4)、以连接信息的回调函数让客户端与服务器保持连接,对数据发布模块和信息发布模块的模块名称、有效负载部分和服务质量进行参量设置并分别发送至服务器和客户端;(4) The callback function of the connection information is used to keep the client and the server connected, and the module name, the payload part and the service quality of the data release module and the information release module are parameterized and sent to the server and the client respectively;
    (5)、调用Mosquitto库函数的内部源码,让客户端与服务器保 持长久连接,并释放Mosquitto实例的内存空间以及清空Moquitto库函数所使用的资源。(5), call the internal source code of the Mosquitto library function, let the client and server maintain a long-term connection, and release the memory space of the Mosquitto instance and clear the resources used by the Moquitto library function.
  5. 其特征在于根据权利要求1所述的基于MQTT消息协议的智能设备通讯平台,其特征在于所述客户端使用的终端系统为Linux。The smart device communication platform based on the MQTT message protocol according to claim 1, wherein the terminal system used by the client is Linux.
  6. 其特征在于根据权利要求1所述的基于MQTT消息协议的智能设备通讯平台,其特征在于所述客户端与所述服务器使用的连接保护机制为心跳机制,心跳间隔为300秒。The smart device communication platform based on the MQTT message protocol according to claim 1, wherein the connection protection mechanism used by the client and the server is a heartbeat mechanism, and the heartbeat interval is 300 seconds.
PCT/CN2019/081226 2018-04-27 2019-04-03 Intelligent device communication platform based on mqtt message protocol WO2019205907A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810396890.0A CN108810086A (en) 2018-04-27 2018-04-27 Intelligent equipment communication platform based on MQTT message protocol
CN201810396890.0 2018-04-27

Publications (1)

Publication Number Publication Date
WO2019205907A1 true WO2019205907A1 (en) 2019-10-31

Family

ID=64094000

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/081226 WO2019205907A1 (en) 2018-04-27 2019-04-03 Intelligent device communication platform based on mqtt message protocol

Country Status (2)

Country Link
CN (1) CN108810086A (en)
WO (1) WO2019205907A1 (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110768882A (en) * 2019-11-07 2020-02-07 青岛合启立智能科技有限公司 Data monitoring method and system, monitoring equipment and vehicle
CN111277559A (en) * 2019-12-18 2020-06-12 山东中安科技股份有限公司 Dead halt self-detection and self-recovery warehouse screen monitoring terminal
CN111698289A (en) * 2020-05-14 2020-09-22 广东省安心加科技有限公司 Communication connection control method, client device and server
CN112367204A (en) * 2020-11-11 2021-02-12 许继集团有限公司 Internet of things terminal access method and device for serial port type acquisition equipment
CN112637301A (en) * 2020-12-16 2021-04-09 华中师范大学 Project reader framework-based data transmission method and system
CN112788820A (en) * 2021-01-06 2021-05-11 国电龙源电力技术工程有限责任公司 Intelligent power plant's lighting system based on MQTT and Zigbee agreement
CN113630370A (en) * 2020-05-08 2021-11-09 许继集团有限公司 Communication system based on STM32 and Internet of things communication module and improved MQTT communication method
CN113810495A (en) * 2021-09-17 2021-12-17 深圳市合信自动化技术有限公司 MQTT-supported building controller and communication method thereof
CN113965447A (en) * 2020-07-20 2022-01-21 广东芬尼克兹节能设备有限公司 Online cloud diagnosis method, device, system, equipment and storage medium
CN114326619A (en) * 2021-12-24 2022-04-12 云南昆钢电子信息科技有限公司 Underground mine rail transportation data communication system and method
CN114390033A (en) * 2021-12-28 2022-04-22 国网天津市电力公司营销服务中心 Loop state patrol instrument acquisition system and method based on extensible communication protocol
CN114500583A (en) * 2021-04-26 2022-05-13 华北电力大学 Power distribution Internet of things real-time communication method based on MQTT protocol

Families Citing this family (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108810086A (en) * 2018-04-27 2018-11-13 电子科技大学中山学院 Intelligent equipment communication platform based on MQTT message protocol
CN110138860B (en) * 2019-05-16 2022-02-22 广州云智易物联网有限公司 Data communication method and device based on Internet of things
CN110278248B (en) * 2019-05-29 2022-04-22 平安科技(深圳)有限公司 Method and device for distributing testament information and computer readable storage medium
CN110300190B (en) * 2019-07-25 2024-01-23 中国工商银行股份有限公司 Ticketing and checking system based on MQTT message middleware
CN112398661B (en) * 2019-08-15 2022-12-13 纳恩博(北京)科技有限公司 Equipment dormancy processing method and device, ioT equipment and storage medium
CN110808973A (en) * 2019-10-31 2020-02-18 国网河北省电力有限公司电力科学研究院 Fusion type message bus capable of being deployed across hosts
CN110891014A (en) * 2019-11-28 2020-03-17 北京宁云科技有限公司 Hardware-based MQTT publishing and subscribing method and system
CN111131462A (en) * 2019-12-26 2020-05-08 福建新大陆支付技术有限公司 Method for executing terminal instruction through protocol
CN111212135A (en) * 2019-12-31 2020-05-29 北京金山云网络技术有限公司 Message subscription method, device, system, electronic equipment and storage medium
CN111460840B (en) * 2020-03-26 2023-09-12 华至云链科技(苏州)有限公司 Computer code reading method and system based on smart phone image recognition
CN111555945B (en) * 2020-05-20 2022-01-07 四川九州电子科技股份有限公司 General network communication system based on MQTT protocol
CN111818129B (en) * 2020-06-16 2023-04-28 上海申铁信息工程有限公司 Equipment monitoring method and device based on MQTT protocol
CN111683158B (en) * 2020-08-12 2020-11-06 南京天创电子技术有限公司 MQTT protocol communication method for realizing synchronous request response
CN112565029B (en) * 2020-11-18 2022-10-14 深圳创维-Rgb电子有限公司 Method, system, terminal and computer readable storage medium for accessing internet of things
CN112887009B (en) * 2021-01-22 2022-04-19 中国人民解放军国防科技大学 Satellite-borne multifunctional multi-system measurement and control communication interoperation terminal and communication method
CN113115243B (en) * 2021-03-24 2022-09-13 武汉天喻信息产业股份有限公司 MQTT-based indoor positioning system
CN114584614A (en) * 2022-01-17 2022-06-03 北京智芯微电子科技有限公司 Information interaction method used between intelligent terminal and acquisition terminal
CN114650309B (en) * 2022-03-08 2023-11-10 青岛瑰宝电子科技有限公司 Control method and battery BMS system control method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105376589A (en) * 2015-10-27 2016-03-02 上海斐讯数据通信技术有限公司 Intelligent TV message push device and method based on MQTT
US20160065653A1 (en) * 2014-08-26 2016-03-03 Fujitsu Limited Internet of things (iot) device configuration construction
CN105471897A (en) * 2015-12-28 2016-04-06 上海庆科信息技术有限公司 Embedded device cloud service access method and system
CN107846447A (en) * 2017-09-21 2018-03-27 烽火通信科技股份有限公司 A kind of method of the home terminal access message-oriented middleware based on MQTT agreements
CN108810086A (en) * 2018-04-27 2018-11-13 电子科技大学中山学院 Intelligent equipment communication platform based on MQTT message protocol

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10637960B2 (en) * 2016-10-21 2020-04-28 Infiswift Technologies, Inc. Method for bridging publish/subscribe brokers for guaranteed low-latency delivery

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160065653A1 (en) * 2014-08-26 2016-03-03 Fujitsu Limited Internet of things (iot) device configuration construction
CN105376589A (en) * 2015-10-27 2016-03-02 上海斐讯数据通信技术有限公司 Intelligent TV message push device and method based on MQTT
CN105471897A (en) * 2015-12-28 2016-04-06 上海庆科信息技术有限公司 Embedded device cloud service access method and system
CN107846447A (en) * 2017-09-21 2018-03-27 烽火通信科技股份有限公司 A kind of method of the home terminal access message-oriented middleware based on MQTT agreements
CN108810086A (en) * 2018-04-27 2018-11-13 电子科技大学中山学院 Intelligent equipment communication platform based on MQTT message protocol

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
SHAOCHENG. LI, MQTT PROTOCOL AND MOSQUITTO, 11 August 2015 (2015-08-11), Retrieved from the Internet <URL:http://shaocheng.li/post/blog> *

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110768882A (en) * 2019-11-07 2020-02-07 青岛合启立智能科技有限公司 Data monitoring method and system, monitoring equipment and vehicle
CN110768882B (en) * 2019-11-07 2022-07-12 青岛合启立智能科技有限公司 Data monitoring method and system, monitoring equipment and vehicle
CN111277559A (en) * 2019-12-18 2020-06-12 山东中安科技股份有限公司 Dead halt self-detection and self-recovery warehouse screen monitoring terminal
CN113630370B (en) * 2020-05-08 2023-03-31 许继集团有限公司 Communication system based on STM32 and Internet of things communication module and improved MQTT communication method
CN113630370A (en) * 2020-05-08 2021-11-09 许继集团有限公司 Communication system based on STM32 and Internet of things communication module and improved MQTT communication method
CN111698289A (en) * 2020-05-14 2020-09-22 广东省安心加科技有限公司 Communication connection control method, client device and server
CN111698289B (en) * 2020-05-14 2022-11-04 广东省安心加科技有限公司 Communication connection control method, client device and server
CN113965447A (en) * 2020-07-20 2022-01-21 广东芬尼克兹节能设备有限公司 Online cloud diagnosis method, device, system, equipment and storage medium
CN113965447B (en) * 2020-07-20 2023-07-21 广东芬尼克兹节能设备有限公司 Online cloud diagnosis method, device, system, equipment and storage medium
CN112367204B (en) * 2020-11-11 2023-03-31 许继集团有限公司 Internet of things terminal access method and device for serial port type acquisition equipment
CN112367204A (en) * 2020-11-11 2021-02-12 许继集团有限公司 Internet of things terminal access method and device for serial port type acquisition equipment
CN112637301A (en) * 2020-12-16 2021-04-09 华中师范大学 Project reader framework-based data transmission method and system
CN112788820A (en) * 2021-01-06 2021-05-11 国电龙源电力技术工程有限责任公司 Intelligent power plant's lighting system based on MQTT and Zigbee agreement
CN114500583A (en) * 2021-04-26 2022-05-13 华北电力大学 Power distribution Internet of things real-time communication method based on MQTT protocol
CN113810495A (en) * 2021-09-17 2021-12-17 深圳市合信自动化技术有限公司 MQTT-supported building controller and communication method thereof
CN114326619A (en) * 2021-12-24 2022-04-12 云南昆钢电子信息科技有限公司 Underground mine rail transportation data communication system and method
CN114390033A (en) * 2021-12-28 2022-04-22 国网天津市电力公司营销服务中心 Loop state patrol instrument acquisition system and method based on extensible communication protocol

Also Published As

Publication number Publication date
CN108810086A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
WO2019205907A1 (en) Intelligent device communication platform based on mqtt message protocol
CN110300050A (en) Information push method, device, computer equipment and storage medium
US11356522B2 (en) Data transmission method, network device, terminal device, and computer readable storage medium
WO2013097401A1 (en) Method, gateway and communication system for browser client directly communicating with back-end server
KR100686705B1 (en) Method and apparatus for providing multi-client support in a SIP-enabled terminal
US9565218B2 (en) Resource management for WebRTC
US20180295190A1 (en) Communication sessions at a coap protocol layer
CN112631788B (en) Data transmission method and data transmission server
US9124494B2 (en) Method and apparatus of performing remote management of a managed machine
KR102208935B1 (en) Messaging api over http protocol to establish context for data exchange
CN105610888A (en) Method of using socket to push message based on Android and system thereof
CN114567620B (en) Digital model and physical equipment matching system and method based on MQTT protocol
Gupta A survey of application layer protocols for internet of things
US20190140900A1 (en) Method and apparatus of performing remote management of a managed machine
CN108683653A (en) A kind of active message push system based on WebSocket
WO2011015020A1 (en) File transmission method, system and client
Karamitsios et al. Efficient IoT data aggregation for connected health applications
JP2008146634A (en) Network robot system and method of communication in network robot system
CN102857403B (en) Instant messaging client data sharing method and system
CN111683158A (en) MQTT protocol communication method for realizing synchronous request response
CN109361551B (en) Local area network dual-channel equipment discovery method
CN114025002A (en) MQTT information transmission method, system and communication equipment
CN106357454A (en) Log system control device and method
CN115134395A (en) Data processing method and device
CN112333237B (en) 5G industrial module and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19791781

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19791781

Country of ref document: EP

Kind code of ref document: A1