Message handling method and message handling device based on long connection

A message processing and long-term connection technology, applied in the direction of electrical digital data processing, special data processing applications, instruments, etc., can solve problems such as limited client capacity

Inactive Publication Date: 2013-12-18
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
View PDF3 Cites 25 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Pushlets have limited capacity for clients

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
  • Message handling method and message handling device based on long connection
  • Message handling method and message handling device based on long connection
  • Message handling method and message handling device based on long connection

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0024] figure 1 It is a schematic diagram of connection of a server, a client and a message source according to an embodiment of the present invention. Such as figure 1 As shown, there are multiple servers 111 , 112 , 113 , . There are multiple clients connected to each server. For clarity of illustration, only the client 121 connected to the server 111 and the client ...

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 provides a message handling method and message handling device based on long connection. Message handling based on the long connection can achieve handling cross browser platforms and is large in client capacitance. The message handling method comprises the steps that all servers in a server cluster use one or a plurality of threads to manage the long connection between the servers and clients, each thread is used for maintaining the preset amount of long connection, and the servers acquire information from information sources and provide the information to the clients subscribing the information.

Description

technical field [0001] The invention relates to a message processing method and a message processing device based on a persistent connection. Background technique [0002] With the development of Internet technology, various application systems often need to send messages to the client frequently. For example, in the field of e-commerce, many applications such as monitoring, inventory changes, and real-time quotation systems need to transmit changes in the background in real time. To the client, a traditional mode is that the client sends a rotation training request and continuously obtains data from the server. This method increases the workload of the client and the server at the same time. Therefore, a long-term connection technology has emerged to improve the client’s ability to obtain messages. Way. The persistent connection push realizes that the client requests the server, and the server keeps this connection all the time. The server obtains messages from message so...

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): H04L12/58H04L29/08G06F17/30
Inventor 李睿
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products