A heartbeat information sending method, server and terminal

A technology of heartbeat information and sending method, which is applied in the field of communication, and can solve problems such as simultaneous disconnection of mobile terminals, restarting again, and high instantaneous pressure on the server

Active Publication Date: 2020-06-12
CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in practical applications, a large number of mobile terminals may be disconnected at the same time due to server restarts or network abnormalities. The waiting time is the same, so there will be a large number of mobile terminals reconnecting in the same period of time, which will easily cause excessive pressure on the server instantaneously, and then cause the server to crash or restart again; The heartbeat cycle of mobile terminals is the same, so a large number of mobile terminals will send heartbeat information at the same time in a short period of time, which will not only increase the pressure on the server, but also cause periodic congestion of network data, which will affect other network services

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
  • A heartbeat information sending method, server and terminal
  • A heartbeat information sending method, server and terminal
  • A heartbeat information sending method, server and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0060] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention.

[0061] An embodiment of the present invention provides a method for sending heartbeat information, such as figure 2 As shown, for the server, include:

[0062] Step 201, determine the terminal that needs to adjust the sending time of the heartbeat information.

[0063] For example, the server can divide a heartbeat cycle into multiple time periods, and count the number of heartbeat messages received in each time period. When the number of heartbeat messages received in a certain time period is large, the time period can be The terminal corresponding to the received heartbeat information is the terminal that needs to adjust the sending time of the heartbeat information. Wherein, the terminal includes not only a mobile terminal, but also an application client in the Internet ...

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 present invention discloses a method for sending heartbeat information, which is used for a server, including: determining a terminal that needs to adjust the sending time of heartbeat information; sending first heartbeat feedback information to the terminal, and the first heartbeat feedback information includes a heartbeat offset, so that the terminal adjusts the sending time of the next heartbeat information according to the heartbeat offset. Furthermore, the embodiment of the present invention also discloses a heartbeat information sending method for a terminal; the embodiment of the present invention further discloses a server and a terminal.

Description

technical field [0001] The invention relates to the connection technology in the communication field, in particular to a method for sending heartbeat information, a server and a terminal. Background technique [0002] With the continuous development of mobile Internet technology, there are more and more types of applications installed on terminals. Take mobile terminals as an example, such as mobile QQ, Weibo, WeChat, etc. Since some applications belong to instant messaging applications, it is necessary for the mobile terminal to maintain a stable connection with various servers on the network side for a long time, so as to facilitate the interaction of various business data, so the mobile terminal always online (always online) service came into being pregnancy. [0003] In the always online method, in order to maintain the always-on status of the mobile terminal, the two connected parties need to use the heartbeat mechanism to detect whether they are still online when ther...

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): H04L12/26H04L29/08
CPCH04L43/10H04L67/55
Inventor 陈宽陈阁
Owner CHINA MOBILEHANGZHOUINFORMATION 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