Live keeping system and method for http long connection, server and readable storage medium

A server and long connection technology, applied in the field of data processing, can solve the problems of fixed time interval of heartbeat packet sending and lack of self-adaptive characteristics, so as to reduce the probability of data packet disorder and improve the effect of leasing.

Active Publication Date: 2019-05-31
ADVANCED NEW TECH CO LTD
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the existing HTTP persistent connection application scenarios, the application layer regularly sends heartbeat packets to keep t

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
  • Live keeping system and method for http long connection, server and readable storage medium
  • Live keeping system and method for http long connection, server and readable storage medium
  • Live keeping system and method for http long connection, server and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0025] In order to better understand the above technical solutions, the technical solutions of the embodiments of this specification are described in detail below through the drawings and specific embodiments. It should be understood that the embodiments of this specification and the specific features in the embodiments are of the technical solutions of the embodiments of this specification. The detailed description is not a limitation on the technical solution of this specification. The embodiments of this specification and the technical features in the embodiments can be combined with each other if there is no conflict.

[0026] The first aspect, such as figure 1 As shown, the embodiment of the present specification provides a general keep-alive system for HTTP long connections, including: a business server 100 and a management server 200, where the management server 200 is used to control the first thread pool in the business server 100;

[0027] The service server 100 is configu...

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 embodiment of the invention discloses a keep-alive system for http long connection. The management and control server controls each keep-alive thread to perform heartbeat detection according to the corresponding target heartbeat interval time; therefore, the management and control server can be determined to manage and control the thread corresponding to the heartbeat detection. the managementand control server also manages and controls a thread in a first thread pool in the service server; the management and control server uniformly manages and controls the threads in the service server;under the condition that the threads are managed and controlled in a unified mode, the probability that the service request and the heartbeat request correspond to the same http connection can be effectively reduced, and therefore the probability that data packets are disordered can be reduced, and the probability that the http connection which is rented, available and expired runs normally is improved.

Description

technical field [0001] The embodiment of this specification relates to the technical field of data processing, and in particular to a keep-alive system, method, server and readable storage medium for http persistent connections. Background technique [0002] With the rapid development of Internet technology, the interaction technology between the client and the server is also developing rapidly, and the existing client and server usually use the http protocol to interact, http belongs to the application layer protocol, and the TCP protocol is used in the transport layer , using the IP protocol at the network layer. When using the http protocol for interaction, each time the client and server perform an HTTP operation, a connection is established, and the connection can be a short http connection or a long http connection. [0003] However, in the existing HTTP persistent connection application scenarios, the application layer regularly sends heartbeat packets to keep the co...

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/08
Inventor 孙玉柱
Owner ADVANCED NEW 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