Supercharge Your Innovation With Domain-Expert AI Agents!

Server cluster, message push method and related server

A server cluster and message push technology, which is applied in the communication field, can solve problems such as the impossibility of cross-server web page port push, and achieve the effects of solving scalability problems, good performance, and optimizing connection solutions

Active Publication Date: 2021-10-12
BEIJING CO WHEELS TECH CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a server cluster, a message push method, and related servers to solve the technical problem that cross-server webpage port push cannot be realized in existing server clusters

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
  • Server cluster, message push method and related server
  • Server cluster, message push method and related server
  • Server cluster, message push method and related server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0063] 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 some of the embodiments of the present invention, but not all of them. 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.

[0064] see figure 1 , figure 1 A schematic structural diagram of a server cluster provided by an embodiment of the present invention. Such as figure 1 As shown, the server cluster includes a proxy server and at least three execution servers.

[0065] In this embodiment, the proxy server, as the load balancing device of the server cluster, can receive multiple requests sent by the external terminal to the server cluster, and distribute the received m...

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 server cluster, a message push method, and related servers. If a proxy server of the server cluster receives a message push request sent by a first terminal, it sends a first instruction to a second execution server; Find the connection information of the second terminal in the system; the proxy server receives the connection information of the second terminal sent by the second execution server, and sends the second instruction to the first execution server; the first execution server is used to send the second instruction to the third execution server according to the second instruction. The execution server sends the third indication; the third execution server is configured to push a webpage port message corresponding to the third indication to the second terminal. In this way, the scheme of pushing messages across servers in the server cluster can be realized. The server based on non-blocking input / output development is adopted to solve the scalability problem of web page port connection, occupying smaller resources, better performance, larger data connection volume, and optimizing the connection scheme of server clusters.

Description

technical field [0001] The present invention relates to the technical field of communication, in particular to a server cluster, a message push method and related servers. Background technique [0002] With the development of communication technology, the information transmission scheme is gradually optimized. To push messages to the client, it is necessary to establish a communication connection between the server and the client based on a certain communication protocol. The web socket (Web Socket) protocol has gradually replaced the HTTP protocol (Hyper Text Transfer Protocol, hypertext transfer protocol) due to its advantages of being able to perform two-way communication, and is widely used. A server cluster uses a shared storage system, usually a shared storage database, to share information to achieve connections between multiple servers. However, each server can only save the webpage port connection in its own memory, and the webpage port session cannot be serialized...

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): H04L29/08
CPCH04L67/55H04L67/60
Inventor 马东辉李宁
Owner BEIJING CO WHEELS TECH CO LTD
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