Keep alive long connection method, device, terminal equipment and storage medium
A connection method and a technology for connecting devices, which are applied in the field of communication, and can solve problems such as small heartbeat intervals, large client traffic, and large power consumption.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0045] In order to facilitate a better understanding of the present invention, the present invention will be further explained below in conjunction with the accompanying drawings of related embodiments. Embodiments of the invention are shown in the drawings, but the invention is not limited to the preferred embodiments described above. Rather, these embodiments are provided so that the disclosure of the invention will be more thorough.
[0046] see figure 1 , is a flow chart of the keep-alive long connection method provided in the first embodiment of the present invention, including steps S10 to S30.
[0047] Step S10, receiving the heartbeat data packet sent by the client, and judging whether the sending of the heartbeat data packet has timed out;
[0048] Among them, the client saves the sending interval value it is using and its own network information (for example, Unicom 3G or Telecom 2G), and the server saves the current interval value it is using, which should be adju...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


