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

WebSocket based active message push system

A message push and active technology, applied in the field of data communication, can solve the problems of unsuitable scale, distribution capacity, waste of bandwidth and server resources, etc., and achieve the effect of easy implementation and maintenance

Inactive Publication Date: 2018-10-19
常熟市第一人民医院
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] When the traditional server and client push messages, in order to ensure the timeliness of message push, the client often adopts the polling method, that is: the client sends a request to the server to obtain the message every fixed preset time interval, and this This traditional method wastes bandwidth and server resources, because most of the requests are useless
For most current applications, this method is no longer suitable for systems with large and high requirements for scale, distribution capabilities, and availability.

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
  • WebSocket based active message push system
  • WebSocket based active message push system
  • WebSocket based active message push system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] Such as figure 1 As shown, an active message push system based on WebSocket, after setting up a message push server in the present invention, the client uses the packaged SDK to realize the active message push system based on WebSocket. When the client needs the server to push a certain business message, the client first subscribes the service message to the subscription monitoring port A (A>1023) of the message push server from any non-special port N (N>1023) by calling the client SDK, and the message is pushed After receiving the subscription request, the server sends the message from the push port B (B>1023) to the receiving port N+1 of the client SDK through WebSocket.

[0038] Such as figure 2 As shown, the workflow of message subscription is as follows:

[0039] (1) When the client needs to subscribe to push messages according to business needs, it calls the encapsulated SDK to generate a non-special random port N (N>1023);

[0040] (2) The client SDK sends a ...

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 WebSocket based on active message pushing system, and relates to the technical field of data communication. The system includes two parts: a client SDK and a message push server. After the message push server is set up, the client implements a WebSocket-based active message push system by using a packaged SDK. When the client needs the server to push a service message, the client firstly subscribes to the service message by calling the client SDK from any non-special port N(N) 1023) to a subscription monitoring port A(A) 1023) of the message push server; the message push server receives a subscription request, the message is sent to a receiving port N+1 of the client from a push port B (b)1023) through the WebSocket. The method implements theactive message push system, establishes a WebSocket connection to interact with the server to implement active real-time message push, improves the communication efficiency, and reduces bandwidth resources.

Description

technical field [0001] The invention relates to the technical field of data communication, in particular to an active message push system based on WebSocket. Background technique [0002] When the traditional server and client push messages, in order to ensure the timeliness of message push, the client often adopts the polling method, that is: the client sends a request to the server to obtain the message every fixed preset time interval, and this This traditional approach wastes bandwidth and server resources because most of the requests are useless. For most current applications, this method is no longer suitable for systems with larger and higher requirements on scale, distribution capabilities, and availability. Contents of the invention [0003] In order to overcome the above-mentioned shortcomings of the prior art, the present invention provides an active message push system based on WebSocket, which realizes real-time message push in active mode, improves communica...

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): H04L29/06H04L29/08
CPCH04L63/02H04L67/02H04L69/162H04L67/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