Universal network communication system based on MQTT protocol

A general-purpose network and communication system technology, applied in the field of general-purpose network communication systems, can solve the problems of inability to dynamically select communication routes, reduce software system maintainability, increase program complexity, etc., so as to improve maintainability, reduce complexity and , the effect of fast response

Active Publication Date: 2020-08-18
SICHUAN JIUZHOU ELECTRONICS TECH
View PDF15 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] At present, the common practice is to use MQTT, WebSocket and other protocols on the Internet side to communicate between mobile applications and home smart terminals. Since there is no NAT traversal problem on the LAN side, TCP / UDP is used directly for Socket programming communication. Different, resulting in the need to use different implementation methods for communication on the Internet and LAN sides, which greatly increases the complexity of the program and reduces the maintainability of the software system. At the same time, because this method needs to make communication route decisions based on its own network status, Therefore, it is often impossible to dynamically select the optimal communication route for each piece of information

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
  • Universal network communication system based on MQTT protocol
  • Universal network communication system based on MQTT protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0026] Mobile applications control home smart terminal devices will be used in different network states according to business needs. For example, when configuring a router for the first time, the router is often unable to connect to the Internet. Therefore, it is necessary for the mobile application to communicate with the router through the LAN to set up the initial network. status; smart home gateways often allow offline use, such as the mobile application can also control smart home switch lights, switch curtains, etc. when there is no Internet; The fastest communication path is used to communicate, so that the business can be responded to and processed in the first time. Based on the above usage scenarios and technical problems encountered, this embodiment proposes a general-purpose network communication scheme based on the MQTT protocol, which enables each command to quickly select a network communication line, and can realize mobile communication regardless of the network...

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 universal network communication system based on an MQTT protocol. The system comprises a mobile application side, a home intelligent terminal side and an internet side. The mobile application side comprises an information sending strategy module and an MQTT client side. The home intelligent terminal side comprises a first MQTT Broker message server, an MQTT server side, areceived information filtering module and a service processing module, and a second MQTT Broker message server is deployed on the Internet side. According to the invention, rapid selection of communication lines in different network environments is realized based on the MQTT protocol, so that a mobile application can keep efficient and smooth communication with a home intelligent terminal in a complex and changeable network environment to meet the requirements of service functions of the mobile application.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a general network communication system based on the MQTT protocol. Background technique [0002] Home smart terminals, such as smart speakers, routers, set-top boxes, smart home gateways and other smart terminal devices used in fixed home scenarios, such devices usually use an embedded Linux operating system, can connect to the Internet, and have corresponding mobile terminal supporting applications to cooperate Realize specific business. [0003] Mobile applications, applications running on mobile terminals such as mobile phones, can remotely or locally control home smart terminal devices to achieve their specific services, such as controlling smart speakers to play audio resources, controlling routers to configure networks, and controlling set-top boxes for virtual remote operations. Smart home sub-devices, etc. [0004] MQTT (Message Queuing Telemetry Transport, Messag...

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): H04L12/28H04L29/06H04L29/08
CPCH04L12/2816H04L63/0236H04L67/025H04L67/12H04L67/34H04L69/22H04L67/60
Inventor 刘琦蒋艳山周彩霞郝丽王烨琛李秀婷王硕丁艳蓉
Owner SICHUAN JIUZHOU ELECTRONICS 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