Supercharge Your Innovation With Domain-Expert AI Agents!

Information push management system based on WebSocket and method thereof

A management system and information push technology, applied in the computer field, can solve the problems of out-of-order messages, low performance, and inability to perform horizontal expansion.

Pending Publication Date: 2021-04-30
新华智云科技有限公司
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, the above-mentioned prior art has invalid consumption of messages, and accurate push of messages cannot be realized; among them, using the message broadcast method, the amount of messages received is the same for each node in the server, and horizontal expansion cannot be performed, and the performance is low; The use of message broadcasting may also cause out-of-order messages, which may not be satisfied for scenarios with strict order requirements.

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
  • Information push management system based on WebSocket and method thereof
  • Information push management system based on WebSocket and method thereof
  • Information push management system based on WebSocket and method thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0056] It should be noted that, in the case of no conflict, the embodiments of the present invention and the features in the embodiments can be combined with each other.

[0057] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, but not as a limitation of the present invention.

[0058] The present invention includes the present invention includes a WebSocket-based information push manageme...

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 an information push management system based on WebSocket and a method thereof. The system comprises the following steps that: an external client sends a WebSocket connection request; the access layer comprises a plurality of access nodes and a registration module; the access node receives the WebSocket connection request, and when the access node receives the WebSocket connection request sent by the client, the access node establishes a connection relationship with the client; the registration module registers the client and the access node to obtain first registration information corresponding to the client and second registration information corresponding to the access node; and the service layer manages message transmission between the client and the access node according to the first registration information, controls whether the access layer is newly added with the access node or not according to the number of WebSocket connection requests and the number of connections, and updates the first registration information and the second registration information according to a control result. The information push management system based on WebSocket and method thereof has the beneficial effect that the WebSocket connection between the client and the access node is managed in a unified manner.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a WebSocket-based information push management system and a method thereof. Background technique [0002] In order to push real-time messages in the B / S (Browser / Server) architecture, WebSocket is generally used for communication. However, in a distributed architecture, since the same user may initiate multiple WebSocket connections from the browser, they will be distributed to different nodes of the server cluster. In order to ensure that the message that needs to be pushed is pushed to all WebSocket connections under the user that cannot be connected to the server cluster node, the existing technology generally adopts a broadcast method based on Redis publish / subscribe mode or message queue (Message Queue) to push the message to all Node, and then find the corresponding user WebSocket connection in the node to push the message. [0003] However, the above-mentioned prior art...

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): G06F16/955G06F16/958G06F16/951
CPCG06F16/955G06F16/958G06F16/951
Inventor 孙天宇
Owner 新华智云科技有限公司
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More