Message routing method based on MQTT (Message Queuing Telemetry Transport) multi-layer cascade

A multi-level, routing technology, applied in the direction of data exchange through path configuration, digital transmission system, electrical components, etc., can solve the problems of inconvenient management of multiple gateways and inconvenient gateway management, and achieve safe and fast small-scale management and convenience Control and management, the effect of expanding the scope of the area

Active Publication Date: 2017-10-03
SOUTH CHINA UNIV OF TECH
View PDF7 Cites 16 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current network communication based on the MQTT protocol has the following two problems: Since the MQTT communication mostly adopts a centralized star network topology, in the traditional MQTT remote control, multiple smart home gateways in the home can each pass through the Internet and the smart home service platform. MQTT Broker for connection and communication, so for a

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
  • Message routing method based on MQTT (Message Queuing Telemetry Transport) multi-layer cascade
  • Message routing method based on MQTT (Message Queuing Telemetry Transport) multi-layer cascade
  • Message routing method based on MQTT (Message Queuing Telemetry Transport) multi-layer cascade

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] The embodiments of the present invention will be further described below in conjunction with the accompanying drawings and specific examples.

[0049] The message routing method based on MQTT multi-layer cascading in this example mainly consists of four steps, the steps are as follows:

[0050] Step 1: MQTT-based multi-gateway networking: add a new gateway, and connect home appliances to the new gateway. The specific networking process is as follows: figure 2 As shown, the final form figure 1 The gateway topology diagram of multi-layer cascading.

[0051] a) When the gateway starts, it first queries whether its own UID exists in the local database. If it does not exist, the UID is generated according to the Snowflake algorithm. The UID is used to identify the gateway, and the gateway automatically subscribes to the topic " / UID / #".

[0052] For example, when a new gateway is started, the UID cannot be queried by the new gateway. The UID is generated according to the...

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 message routing method based on MQTT (Message Queuing Telemetry Transport) multi-layer cascade. The method comprises the steps of performing MQTT-based multi-gateway networking; performing routing down based on the MQTT-based multi-gateway networking, to route a message sent by an MQTT control end to a household appliance; and performing routing up based on the MQTT-based multi-gateway networking, to route a feedback message of the household appliance to the MQTT control end. The method improves the centralized star network topology of an MQTT protocol, supports the gateway topology of multi-layer cascade, supports multi-gateway connection networking and message routing, solves the problems of multi-gateway connection, communication and management of current smart home, and supports dividing household appliances into different areas for secure and fast internal network control and small-range management according to custom rules in the family.

Description

technical field [0001] The invention relates to the technical field of smart home communication, in particular to a message routing method based on MQTT multi-layer cascading. Background technique [0002] The smart home gateway can connect household electrical equipment to it through wired and wireless methods, and then communicate with the external network through a unified interface, playing a core role in the smart home. However, there are many deficiencies in the current smart home solution. Generally, only one gateway is deployed in the home. The hardware interface that a single gateway can provide is limited, and the wireless communication area is limited. Although the structure of multiple gateways can make up for the shortcomings of physical distance and insufficient hardware resources, the connection and management between multiple gateways is a big problem, so it is rarely used. [0003] Currently, there are many transport protocols in the Internet of Things, amo...

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): H04L12/24H04L12/44H04L12/28H04L29/08H04L12/66H04L12/741H04L45/74
CPCH04L12/2803H04L12/44H04L41/0893H04L41/12H04L67/125H04L12/66H04L12/2816H04L45/74
Inventor 刘发贵彭妙霞冯炜君
Owner SOUTH CHINA UNIV OF TECH
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