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

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 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
  • 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

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 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 Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products