Message real-time pushing method based on MQTT protocol

A message and protocol technology, applied in transmission systems, electrical components, etc., can solve the problems of inability to meet business systems, large server push delays, and inability to ensure real-time data push, so as to ensure real-time performance, reduce the amount of message push, and improve The effect of experience

Active Publication Date: 2019-08-09
杭州海兴泽科信息技术有限公司 +3
View PDF8 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The existing technology generally uses a third-party push platform or HTTP polling method to realize message push. These two methods are affected by the software platform and network environment. Guaranteed real-time push of data, which cannot meet the needs of existing business systems

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0024] Such as figure 1 Shown is a schematic diagram of the system structure of the present invention. In this embodiment, 4 servers are selected according to the current enterprise informatization level and server configuration information, one of which is a push management terminal, and the other 3 are push servers. The maximum number of push links p and weight q of the push server are comprehensively set according to the hardware configuration, service life, and current number of links w of the three push servers. The value range of q is 0

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 real-time pushing method based on an MQTT protocol. The message real-time pushing method comprises the following steps of (1) subscribing and authenticating a clientand a pushing management end; (2) enabling the client to return the authentication certificate and the link address of the push server to the client, and enabling the client to establishe a message push link with the push server; (3) enabling the client to select a theme for subscription, and after receiving a subscription request, enabling the push management end to start or use an existing message release task for message filtering and cleaning to generate a to-be-pushed message of the client and store the to-be-pushed message into a to-be-pushed message pool; and (4) monitoring the messagepool to be pushed by the pushing server, and automatically pushing the new message conforming to the subscription theme of the client to the client to complete the real-time pushing of the message. According to the invention, the server is divided into the pushing management end and the pushing server according to the functions, so that the pressure of the pushing server is reduced while the client receives the message in time.

Description

technical field [0001] The invention relates to a method for pushing messages, in particular to a method for pushing messages in real time based on the MQTT protocol. Background technique [0002] With the development and progress of the Internet of Things technology, the power grid and the Internet have gradually begun to be deeply integrated. The current distribution-related management system needs to display the operating data and status data of the power equipment on the client side in real time, and has high requirements for real-time performance. The existing technology generally uses a third-party push platform or HTTP polling method to realize message push. These two methods are affected by the software platform and network environment. Guaranteeing real-time push of data cannot meet the needs of existing business systems. Contents of the invention [0003] Purpose of the invention: the purpose of the present invention is to provide a real-time message push method...

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/06H04L29/08
CPCH04L67/1004H04L67/14H04L63/0236H04L63/0876H04L63/12H04L69/22H04L67/55
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