Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Server message pushing method and device

A message push and server technology, applied in the computer field, can solve the problems of inability to decouple the offline environment, increase the network burden, and not propose a solution, so as to improve the efficiency of message push and the effect of user experience

Active Publication Date: 2016-03-16
浙江曙光信息技术有限公司
View PDF3 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Unable to decouple the offline environment
Obviously, server-level storage will have such disadvantages, so browser client-level storage must be considered. The most commonly used solution is to use browser cookies, but the cookie method also has the following two problems: data size: As a storage container, the size of the cookie is limited to about 4KB, which cannot meet the current complex business logic requirements and large-capacity information storage; network burden: the cookie will be attached to each HTTP request, in the header of HttpRequest and HttpResponse They are all to be transmitted, which is meaningless for the offline storage of messages and adds a lot of network burden
[0007] For the above-mentioned problems in related technologies, no effective solution has been proposed yet

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 message pushing method and device
  • Server message pushing method and device
  • Server message pushing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] 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. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments of the present invention belong to the protection scope of the present invention.

[0055] According to an embodiment of the present invention, a server message pushing method is provided.

[0056] Such asfigure 1 As shown, the message push method according to the embodiment of the present invention includes:

[0057] Step S101, receiving a Websocket connection request from the client, and establishing a Websocket connection with the client on the server side according to the Websocket connection request;

[0058] Step S103, the server sends a page message based on the Webs...

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 server message pushing method and device. The message pushing method includes that a Websocket connection request of a client side is received, and the Websocket connection with the client side is established at a server side based on the Webscoket connection request; the server side transmits page messages based on the Websocket connection; and the Websocket connection established at the server side is integrated with a message-oriented middleware. The Websocket connection is unifiedly managed and distributed at the client side, and the Websocket connection is integrated with the message-oriented middleware, so that the message pushing efficiency of the server side is improved and the users' experience feeling is improved.

Description

technical field [0001] The present invention relates to the field of computers, in particular to a server message pushing method and device. Background technique [0002] In enterprise-level systems, especially in the development of cloud computing systems that need to realize continuous synchronization of server background data to client monitoring and instant event messages, under the BS architecture, how can the background data be pushed to the front end in an efficient, instant and stable manner? The page has always been a problem, especially the ability to support offline fetching of information. Two issues need to be considered here, one is the acquisition of news sources, and the other is the efficient and instant push of news. [0003] In the development of server push technology in the past, the most common way is to use ajax short polling and long polling. They all obtain data intermittently based on the original http request server, which belongs to server pull i...

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/08
CPCH04L67/55
Inventor 范霄曾兵慈泽伟郝秋影李绍辉邓建全
Owner 浙江曙光信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products