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

WEB message real-time sending methods and system, server and client

A message push and client-side technology, applied in the transmission system, duplex signal operation, electrical components, etc., can solve the problems of wasting channels and resource waste, and achieve the effects of avoiding resource waste, improving reliability, and low cost

Active Publication Date: 2019-03-29
CHINA MOBILE GROUP ZHEJIANG
View PDF10 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since WebSocket is a full-duplex communication based on a TCP connection, it will waste the channel of the client push part if it is only used for server message push, especially in the application scenario of WEB message push for a large number of users, resulting in obvious waste of resources

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
  • WEB message real-time sending methods and system, server and client
  • WEB message real-time sending methods and system, server and client
  • WEB message real-time sending methods and system, server and client

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the Some, but not all, embodiments are invented. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0032] figure 1 The flow chart of the real-time pushing method of WEB message provided by the embodiment of the present invention, such as figure 1 As shown, the method includes:

[0033] Step 10, the message push management module obtains the message to be pushed to the client from the message queue module;

[0034] Step 11, the message push management module obta...

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 embodiments of the invention provide WEB message real-time sending methods and system, a server and a client. The method comprises the steps that a message sending manager obtains a message whichis about to be sent to the client, from a message queue module; the message sending manager obtains first long connection with the client from a connection cache module, wherein the first long connection is established by a connection manager according to a first server-sent event sent by a server-sent event manager of the client; and the message sending manager sends the message to the client through the first long connection. According to the method, the first long connection is established based on the server-sent event and belongs to half-duplex communication. In a scene of carrying out WEB message real-time sending on a great number of users, resource waste can be avoided.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of mobile communication, and in particular to a method, server, client and system for real-time pushing of WEB messages. Background technique [0002] As Web application systems based on B / S architecture are more and more widely and deeply used, some specific business scenarios put forward some new requirements for Web applications. For example, web applications such as stock trading quotes, ticket buying websites, and electronic task boards require the server (Server) to be able to push new messages to the front-end browser (Browser) in real time to meet their business needs. The number of users is often very large, but the messages that users need to send to the server are relatively small. This is an application scenario that needs to provide a real-time push service of WEB messages for a large number of users. [0003] However, the HTTP protocol commonly used in ordinary web p...

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/08H04L5/14
CPCH04L5/14H04L67/02H04L67/55H04L67/568
Inventor 刘兆祥郭岳方炜李海传余兆成罗琼郑海朋陈润泉
Owner CHINA MOBILE GROUP ZHEJIANG