Unlock instant, AI-driven research and patent intelligence for your innovation.

A message push method and message service system

A message push and server-side technology, applied in the field of message services, can solve problems such as inconsistent operating systems, poor adaptability, and complex logic, and achieve the effects of improving convenience, solving poor adaptability, and solving complex logic

Active Publication Date: 2022-03-04
WUXI CHINAC DATA TECH SERVICE
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The purpose of the present invention is to disclose a message push method and a message service system to solve many technical defects in the prior art when messages are pushed between the client and the server based on the WebSocket protocol, and to avoid the use of message middleware Existing problems of complex logic, functional coupling, high deployment costs and waste of resources, and solve the defects of poor adaptability caused by inconsistent operating systems on the client and server

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
  • A message push method and message service system
  • A message push method and message service system
  • A message push method and message service system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0042] ginseng figure 1 and Figure 3 to Figure 7 As shown, this embodiment discloses a specific implementation manner of a message push method.

[0043] In this embodiment, a message push method is applied to a server including several nodes, including the following steps S1 to S3. combine Figure 6 As shown, in this embodiment, the applicant takes the example that the server includes three nodes, node 1, node 2 and node 3, to give an exemplary description. Node 1, node 2, and node 3 form a cluster or a cluster server. Three nodes or more or fewer nodes figure 2 In the server 1, the server 1 includes a number of business instruction sets, such as business instruction set 101 and business instruction set 102, etc., each business instruction set is used as a thread or application to trigger the event of establishing a TCP connection with the database 10, And the server 1 is monitored by the database 10 . At the same time, a Websocket connection is established between the...

Embodiment 2

[0063] to combine figure 2 As shown, based on the message push method disclosed in the first embodiment, this embodiment also discloses a message service system.

[0064] Based on the application scenario of a message push method disclosed in Embodiment 1, several business instruction sets included in the server 1, such as the business instruction set 101 and the business instruction set 102, etc., the server 1 pushes the message spontaneously, The server 1 can automatically push messages to the client 40. For example, when a certain software (APP) installed on the client 40 performs a version upgrade or plug-in installation, the client 10 will regularly and actively push the message containing the installation message to the client 40. Messages about programs or system upgrade programs. In this scenario, using the message push method disclosed in the first embodiment can prevent the server 1 from frequently, disorderly or repeatedly pushing the "system upgrade" message and ...

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 present invention provides a message push method and a message service system. The message push method is applied to a server including several nodes, and includes the following steps: S1. Start the node service, and register the service started by the node to the connection node. Database, update the service according to the update interval; S2. In response to the operation initiated by the client, select any node from the database whose service has not changed within the set time period; S3. According to the operation initiated by the client, the database will actively call the Nodes whose services have not changed within a set period of time receive event messages through the node's callback interface and establish a message push channel between the nodes whose services have not changed and the client. The present application solves the problems of complex logic, functional coupling, high deployment cost and waste of resources in the use of message middleware, and solves the defect of poor adaptability caused by inconsistent operating systems between the client and the server .

Description

technical field [0001] The invention relates to the technical field of message service, in particular to a message pushing method and a message service system. Background technique [0002] In the cloud platform and hyper-converged technology, it is usually based on a distributed application architecture, and the distributed application architecture usually uses a message service system. In the message service system, the message system middleware is the core component of the message service system, which undertakes the core functions of connection management and message management. Based on the message push mechanism of the WebSocket protocol, full-duplex communication (Full-Duplex) between the browser (or the client including the browser) and the server is realized, so as to better save resources and bandwidth of the server and achieve the purpose of real-time communication . [0003] In order to support highly concurrent access requests, it is usually necessary to deplo...

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 Patents(China)
IPC IPC(8): H04L67/55H04L67/141H04L67/02H04L69/16
CPCH04L67/141H04L67/02H04L69/162H04L67/55
Inventor 王明星包明生杨接康杨帅麒雷准富
Owner WUXI CHINAC DATA TECH SERVICE