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

HTTP long connection keep alive system, method, server and readable storage medium

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

Active Publication Date: 2021-07-13
ADVANCED NEW TECH CO LTD
View PDF7 Cites 0 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 the connection alive when passing through. The sending time interval of heartbeat packets is fixed, and it does not have adaptive features.

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
  • HTTP long connection keep alive system, method, server and readable storage medium
  • HTTP long connection keep alive system, method, server and readable storage medium
  • HTTP long connection keep alive system, method, server and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

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

[0027] The service server...

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 this specification discloses a keep-alive system for http long connections. The management and control server controls each keep-alive thread to perform heartbeat detection according to the corresponding target heartbeat interval, that is, it can be determined that the management and control server controls the thread corresponding to the heartbeat detection, and The management and control server also controls the threads in the first thread pool in the business server, so that the management and control server can uniformly control the threads in the business server. When the threads are under unified control, it can effectively reduce the number of business requests and heartbeat requests corresponding to the same http The probability of connection occurrence can reduce the probability of data packet confusion and increase the probability of normal operation of leased, available and expired http connections.

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
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
Inventor 孙玉柱
Owner ADVANCED NEW TECH CO LTD
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