Message pushing method, device and system

A technology for pushing messages and messages, which is applied in the field of communication, and can solve problems such as server downtime, disconnection, and inability to push messages to their corresponding browser clients.

Pending Publication Date: 2020-11-20
BEIJING CHJ AUTOMOTIVE TECH CO LTD
View PDF10 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the process of implementing the present invention, the inventor found the following technical problems in the prior art. When the server receives a large number of message push requests at the same time, it will cause the server to go down, so that a websocket connection is established with the server The browser client will disconnect the websocket connection between the two, which will cause the server to fail to push the message to be pushed to its corresponding browser client

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, device and system
  • Message pushing method, device and system
  • Message pushing method, device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0088] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0089] In the first aspect, the embodiment of the present invention provides the first method for pushing messages, which is applied to the management server side, specifically as figure 1 As shown, the method includes:

[0090] 101. Receive a message push request, and determine the unique identifier corresponding to the target client and the message to be pushed according to the message push request.

[0091] Wherein, the managem...

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, device and system, relates to the technical field of communication, and aims to avoid the situation that a push server crashes due to the fact that the push server receives a large number of message push requests at the same time. The message pushing method comprises the steps of: receiving a message pushing request, and determining a unique identifier corresponding to a target client and a to-be-pushed message according to the message pushing request; according to the unique identifier corresponding to the target client, searching a target push server which establishes websocket connection with the target client in a database; and storing the to-be-pushed message and the unique identifier corresponding to the target client in a message queue corresponding to the target push server, so that the target push server pushes the to-be-pushed message to the target client through the websocket connection with the target client. The message pushing method, the device and the system are suitable for the process that the pushing server pushes the message to a browser client.

Description

technical field [0001] The present invention relates to the field of communication technologies, in particular to a method, device and system for pushing messages. Background technique [0002] With the continuous development of science and technology, Internet technology is becoming more and more mature, and the penetration rate of browsers is also increasing. Browsing information through browsers has become an indispensable part of people's daily life. Among them, the WebSocket communication protocol is a new network protocol based on the TCP communication protocol, which realizes the full-duplex communication between the browser client and the server. Therefore, the websocket connection between the server and the browser client is established based on the WebSocket communication protocol. The server can actively push the message to the browser client, that is, after receiving the message push request, the server can push the message to be pushed to the browser client thro...

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/06
CPCH04L67/141H04L69/162H04L67/55H04L67/60
Inventor 马东辉李宁
Owner BEIJING CHJ AUTOMOTIVE TECH CO LTD
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