MQTT connection method and system of low-end limited equipment, terminal and server

A connection method and server technology, applied in transmission systems, electrical components, etc., can solve problems such as unsupportable, increased equipment power consumption, increased manufacturing costs, etc., and achieve the effect of expanding the range of choices

Inactive Publication Date: 2018-06-15
SHENZHEN FANHAI SANJIANG TECH DEV
View PDF6 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, based on cost or power consumption considerations, many smart devices use low-end limited MCUs as control chips, and their relatively poor computing power and storage capacity cannot support the use of TLS to connect to MQTT
If an MCU with high c

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • MQTT connection method and system of low-end limited equipment, terminal and server
  • MQTT connection method and system of low-end limited equipment, terminal and server
  • MQTT connection method and system of low-end limited equipment, terminal and server

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0054] Example 1:

Example Embodiment

[0055] like figure 1As shown, an MQTT connection method for a low-end restricted device of the present application, an implementation manner thereof, includes the following steps:

[0056] Step 102: The terminal and the server share a key, and the server records the key of the terminal and the encryption and decryption algorithm matching the computing capability of the terminal; the server in this application is a server supporting the MQTT protocol.

[0057] Step 104: The terminal connects to the server, sends the MQTT CONNECT message to the server, and the parameters of the MQTT CONNECT message are signed by the key.

[0058] Step 106: The terminal publishes a message to the subscribed topic, and the message payload is encrypted using an encryption and decryption algorithm.

[0059] Step 108: After receiving the message of the subscribed topic sent by the server, the terminal decrypts it according to the encryption and decryption algorithm, and then performs service process...

Example Embodiment

[0066] Embodiment 2:

[0067] like figure 2 As shown, the MQTT connection method of the low-end restricted device of the present application, another implementation manner thereof, includes the following steps:

[0068] Step 202: The terminal and the server share a key, and the server records the key of the terminal and the encryption and decryption algorithm matching the computing capability of the terminal.

[0069] Step 204: After receiving the MQTT CONNECT message sent by the terminal, the server verifies the validity of the terminal, and the parameters of the MQTT CONNECT message are signed by the key.

[0070] Step 206: When the server receives the message published by the terminal through the topic, it decrypts the received message payload according to the decryption algorithm, and then performs subsequent processing on the plaintext message payload.

[0071] Step 208: The server encrypts the message payload of the message to be forwarded to the terminal according to...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses an MQTT connection method and an MQTT connection system of low-end limited equipment. The method comprises the steps as follows: a terminal and a server share a key, the serverrecords the key of the terminal and an encryption and decryption algorithm; the terminal is connected with the server, and sends an MQTT CONNECT message to the server, and an MQTT CONNECT message parameter is signed by the key; the terminal publishes the message to a subscribed subject, and a message load uses the encryption and decryption algorithm for encryption; and after receiving the messageof the subscribed subject sent by the server, the terminal decrypts according to the encryption and decryption algorithm, and then performs service processing according to the message load of plaintext. The encryption and decryption algorithm, such as DES, 3DES and AES, or a private encryption algorithm matched with the computing capacity of the terminal is used, so that the access of the limitedequipment to the MQTT also has certain security through transforming an MQTT server under the condition of being unable to use TLS, and thus the selection range is expanded when the equipment is designed and manufactured.

Description

technical field [0001] The present application relates to the field of Internet of Things communication security, in particular to an MQTT connection method, system, terminal and server for low-end limited devices. Background technique [0002] MQTT is a widely used IoT communication protocol. It uses a publish / subscribe mechanism to realize real-time message exchange between IoT devices and between devices and people. After the client connects to the MQTT server, it needs to maintain a TCP connection. Through this connection, it can send a message to a topic, or subscribe to the messages of several topics. When these topics have messages, they can be notified in real time. [0003] By default, messages on an MQTT connection are transmitted in clear text. For applications that require security, the specification recommends the use of TLS. The MQTT agent programs (such as Mosca and Mosquitto) implemented by open source currently only provide the above two connection impleme...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): H04L29/06H04L29/08
CPCH04L63/0428H04L63/08H04L63/126H04L67/14
Inventor 刘章平吴思欣
Owner SHENZHEN FANHAI SANJIANG TECH DEV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products