Dynamic theme and stable operation processing method of gateway based on MQTT protocol

A technology with stable operation and processing methods, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve the problem that users cannot remotely operate and obtain messages, cannot push messages to the cloud, and cannot protect the security of smart locks, etc. problems, to achieve the effect of ensuring stable and uninterrupted operation, reducing pressure and ensuring stability

Pending Publication Date: 2020-05-08
广州保仕盾智能科技有限公司
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, if the MQ central server fails or requires system maintenance, the gateway is offline at this time, which cannot protect the security of the smart lock...

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
  • Dynamic theme and stable operation processing method of gateway based on MQTT protocol
  • Dynamic theme and stable operation processing method of gateway based on MQTT protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to enable those skilled in the art to better understand the technical solutions of the present invention, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.

[0026] Such as figure 1 Shown,: a kind of processing method based on the dynamic topic of the gateway of MQTT agreement and stable operation, comprises the following steps:

[0027] Step 1: At least one gateway is connected to the MQ central server, and at least one gateway is initialized, and a TCP connection is established between at least one gateway and the MQ central server, wherein TCP is a transmission control protocol, which is a connection-oriented, reliable, Based on the transport layer communication protocol of byte stream, multiple gateways can be stably connected to the MQ central server, and when multiple gateways are respectively connected to the MQ central server, the MQTT client ID, account number and dyn...

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 a dynamic theme and stable operation processing method of a gateway based on an MQTT protocol. The invention relates to the technical field of MQTT protocol-based gateways. Atleast one gateway is connected with an MQ central server and is subjected to initialization setting, and TCP connection is established between the at least one gateway and the MQ central server; a client ID, an account and a dynamic password of MQTT are initialized; according to the gateway dynamic theme and stable operation processing method based on the MQTT protocol, TCP connection is established between a gateway and an MQ central server; an MQTT protocol is adopted for communication; in the whole process, the MQ central server distributes the connected gateway equipment to the corresponding MQ sub-server in a manner of distributing the connected gateway equipment to the corresponding MQ sub-server; according to the method disclosed in the invention, data load pressure is effectively reduced, data processing capability is enhanced, and operation stability of the whole system is ensured,; when the server fails, the gateway connected to the server can be allocated to the available MQsub-server, and therefore stable and uninterrupted operation of the system is ensured.

Description

technical field [0001] The invention relates to the technical field of gateways based on the MQTT protocol, in particular to a processing method for dynamic topics and stable operation of the gateway based on the MQTT protocol. Background technique [0002] With the advancement of technology and the development of the times, the application of the Internet of Things is constantly developing and growing, and the application of smart home and smart door locks is inseparable from the protection of security gateways. Coupled with the popularity of mobile phones, it is becoming more and more common for mobile phones to directly control smart door locks. The security gateway realizes the networking function of the smart door lock through the Zigbee wireless network. The smart door lock is connected to the Zigbee network formed by the gateway as a terminal, and the message is pushed to the cloud server through the gateway, so that we can monitor the smart door lock on the mobile ph...

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/08H04L12/24
CPCH04L69/26H04L67/141H04L63/083H04L63/0815H04L67/1034H04L41/0663
Inventor 张坤林熊瑞
Owner 广州保仕盾智能科技有限公司
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