Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Message pushing method and system based on MQTT protocol

A message push and message technology, which is applied in transmission systems, digital transmission systems, encryption devices with shift registers/memory, etc., can solve the problems of low message push security and inability to filter and control message content, so as to improve security , the effect of ensuring safety

Active Publication Date: 2020-06-26
SUNING INTELLIGENT TERMINAL CO LTD
View PDF6 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a message push method and system based on the MQTT protocol, to solve the problem that the user name and password of the MQTT client module connected to the MQTT service module in the prior art are fixed values, and the message content cannot be filtered and controlled, resulting in message push The problem of low security

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 pushing method and system based on MQTT protocol
  • Message pushing method and system based on MQTT protocol
  • Message pushing method and system based on MQTT protocol

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] see figure 1 The method for pushing messages based on the MQTT protocol provided in this embodiment includes steps:

[0051] The client obtains the dynamic connection information required to connect with the MQTT service module from the message push platform;

[0052] The client creates an MQTT client module, and the MQTT client module establishes a connection with the MQTT service module based on the dynamic connection information to receive messages sent by the MQTT service module;

[0053] The client initiates a subscription request to the message push platform, subscribes to the message from the MQTT service module after the message push platform successfully verifies the user's security, and / or the client requests the message push platform to publish a message, and the message push platform checks the user's security Send a message to the MQTT service module after the security verification of the message content is successful.

[0054] The MQTT client module crea...

Embodiment 2

[0073] see Figure 2~Figure 4 The message push system based on the MQTT protocol provided by the embodiment of the present invention includes a client and a message push platform, the client includes a connection information acquisition module, an MQTT client module, a message subscription module and a message publishing module, and the message push platform includes an MQTT service module .

[0074] Wherein, the connection information acquisition module is used to obtain the dynamic connection information needed to connect with the MQTT service module from the message push platform; the MQTT client module is used to establish a connection with the MQTT service module based on the dynamic connection information, and receive the message sent by the MQTT service module; The message subscription module is used to initiate a subscription request to the message push platform, and subscribes to the message from the MQTT service module after the message push platform successfully ver...

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 pushing method and system based on an MQTT protocol, and the method comprises the steps that a client obtains dynamic connection information needed by the connectionwith an MQTT service module from a message pushing platform; the client creates an MQTT client module, and the MQTT client module establishes connection with the MQTT service module based on the dynamic connection information and is used for receiving a message sent by the MQTT service module; the client initiates a subscription request to the message pushing platform, subscribes to the message from the MQTT service module after the message pushing platform successfully verifies the user security, and / or requests message publishing from the message pushing platform, and sends the message to the MQTT service module after the message pushing platform successfully verifies the user security and the message content security. According to the message pushing system based on the MQTT protocol provided by the invention, by adopting the method, the MQTT client module and the MQTT service module are connected by adopting the dynamic connection information, and the message content is subjected to filtering control, so that the safety of the message pushing system is improved.

Description

technical field [0001] The invention relates to the technical field of instant messaging, in particular to a method and system for pushing messages based on the MQTT protocol. Background technique [0002] The Internet of Things is a current technology hotspot, and MQTT is one of the core protocols of the Internet of Things. MQTT is a lightweight publish-subscribe mode message transmission protocol designed specifically for IoT applications in low-bandwidth and unstable network environments. [0003] The MQTT protocol is widely used in the Internet of Things, mobile Internet, intelligent hardware, Internet of Vehicles, electric energy and other fields, such as: M2M communication in the Internet of Things, big data collection in the Internet of Things, Android message push, WEB message push, mobile instant messaging, distance education And in the communication of various smart hardware, smart furniture, and smart appliances, the MQTT protocol can be used. [0004] In the ex...

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/08H04L29/06H04L9/06H04L9/08H04L12/58
CPCH04L67/141H04L63/08H04L63/101H04L9/0643H04L9/0863H04L69/26H04L51/212H04L67/55
Inventor 李永禄刘玉通张宁
Owner SUNING INTELLIGENT TERMINAL CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products