MQTT double-Broker data interaction method and system suitable for edge Internet of Things terminal

A technology of IoT terminals and data interaction, applied in digital transmission systems, data exchange networks, transmission systems, etc., can solve problems such as large resource occupation, high cost, and inappropriateness, so as to improve load capacity and solve system communication disconnection , the effect of relieving load pressure

Pending Publication Date: 2020-12-18
NARI TECH CO LTD +4
View PDF0 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in the embedded system of the edge and terminal, the cost of deploying the MQTT Broker cluster and related service components is too high, and the resources are too large, so it is not suitable

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 double-Broker data interaction method and system suitable for edge Internet of Things terminal
  • MQTT double-Broker data interaction method and system suitable for edge Internet of Things terminal
  • MQTT double-Broker data interaction method and system suitable for edge Internet of Things terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] Embodiment 1: as figure 1 As shown, the present invention proposes an MQTT dual-Broker data interaction method suitable for edge IoT terminals, which is executed by the client, and the method includes:

[0048] Send an MQTT connection message to the access module, receive a connection reply message fed back by the access module, and complete the connection;

[0049] Send the MQTT topic subscription message to the access module, receive the subscription reply message fed back by the access module, and complete the topic subscription;

[0050] Send the MQTT topic unsubscribe message to the access module, receive the unsubscribe reply message fed back by the access module, and complete the topic subscription cancellation;

[0051] Send the MQTT heartbeat message to the access module, receive the heartbeat reply message fed back by the access module, and ensure that the client is online to Broker1 and Broker2;

[0052] Send the MQTT release type message to the access modu...

Embodiment 2

[0054] Embodiment 2: The present invention also proposes an MQTT dual-Broker data interaction method suitable for edge IoT terminals, which is executed by an access module. The method includes:

[0055] Receive the MQTT connection message sent by the client and forward it to Broker1 and Broker2 respectively, receive the connection reply message sent by Broker1 and Broker2 and feed it back to the client to complete the connection;

[0056] Receive the MQTT topic subscription message sent by the client and forward it to Broker1 and Broker2 respectively, receive the subscription reply message sent by Broker1 and Broker2 and feed it back to the client, and complete the topic subscription;

[0057] Receive the MQTT topic unsubscribe message sent by the client and forward it to Broker1 and Broker2 respectively, receive the unsubscribe reply message sent by Broker1 and Broker2 and feed it back to the client, and complete the topic subscription cancellation;

[0058] Receive the MQTT ...

Embodiment 3

[0061] Embodiment 3: The present invention also proposes an MQTT dual-Broker data interaction method suitable for edge IoT terminals, which is executed by Broker1 and Broker2, including:

[0062] Receive the MQTT connection message sent by the access module, and send a connection reply message to the access module;

[0063] Receive the MQTT topic subscription message sent by the access module, and send a subscription reply message to the access module;

[0064] Receive the MQTT topic unsubscribe message sent by the access module, and send an unsubscribe reply message to the access module;

[0065] Receive the MQTT heartbeat message sent by the access module, and send a heartbeat reply message to the access module;

[0066] Under normal circumstances, Broker1 receives the MQTT release type message sent by the access module, and sends a release reply message to the access module; when Broker1 is disconnected, Broker1 sends the disconnection status of Broker1 to the access modul...

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 double-Broker data interaction method and system suitable for an edge Internet of Things terminal, and the method is executed by a client, and comprises the steps: transmitting an MQTT connection message to an access module, receiving a connection reply message fed back by the access module, and completing the connection; sending an MQTT theme subscription message to the access module, receiving a subscription reply message fed back by the access module, and completing theme subscription; sending an MQTT theme subscription canceling message to the access module,receiving a subscription canceling reply message fed back by the access module, and completing theme subscription canceling; an MQTT heartbeat message is sent to the access module, a heartbeat replymessage fed back by the access module is received, and it is guaranteed that the client side is online to the Broker 1 and the Broker 2; sending an MQTT release type message to the access module, andreceiving a release reply message fed back by the access module; and confirming QoS setting according to message classification, sending the published dump message to the access module again, and receiving a published dump reply message fed back by the access module. The load capacity of the whole communication environment is improved.

Description

technical field [0001] The invention relates to an MQTT double-Broker data interaction method and system suitable for edge IoT terminals, and belongs to the technical field of edge IoT terminal communication. Background technique [0002] As the development of the Internet of Things continues to increase and accelerate, more and more embedded devices are connected to the Internet of Things and join the Internet of Everything. As a lightweight application layer communication protocol, MQTT has a one-to-many transmission mechanism, mutual decoupling between clients and extremely short fixed header overhead, and embedded terminals that are increasingly limited by hardware capabilities and network resources Equipment welcome. [0003] At present, more and more edge IoT terminal devices exchange information through the MQTT protocol, between devices, or between terminals and edge devices. For example, in the power distribution Internet of Things, the IoT management cloud platfo...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08H04L12/24
CPCH04L67/141H04L67/145H04L41/0663H04L67/1001
Inventor 吴海戴申鉴胡国曹子涛周成吴雨薇闫龙飞潘志成
Owner NARI TECH CO LTD
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