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

Real-time data communication heartbeat packet pushing method

A real-time data and communication-centric technology, applied in data exchange networks, digital transmission systems, electrical components, etc., can solve the problems of reduced battery life of mobile devices, occupation of CPU resources, poor user experience, etc., and achieve a reasonable extension of the transmission cycle. , the effect of reducing the sending frequency, improving the arrival rate and real-time performance

Inactive Publication Date: 2021-01-08
长春创世麒麟科技有限公司
View PDF15 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The current client software can run on windows or on android or ios mobile devices. Under the heartbeat mechanism, the client sends a heartbeat packet to the server at regular intervals. Due to frequent packet sending, the App will consume more The battery life of the mobile device will be reduced due to severe heat
In addition, due to the frequent sending of packets, it will also occupy a certain amount of CPU resources. When other large-scale applications are running, it is more likely to cause poor user experience such as crashes. signaling storm

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] A method for pushing real-time data communication heartbeat packets, comprising the steps of:

[0025] Step 1: After the client establishes an initial connection with the server, the client application program automatically sends a heartbeat packet to the server. The sending cycle of the heartbeat packet is initially set to the preset time, and the heartbeat cycle is continuously extended until the heartbeat cycle is extended to the maximum value of the device. Long heartbeat time is supported. The preset fixed period of the heartbeat packet of the existing client device is usually between 2-5 seconds. In this embodiment, the heartbeat period is initially set to a preset time of 2 seconds. The heartbeat cycle extension time can be set to 2 seconds.

[0026] Step 2: Take the longest supported heartbeat time of the device as the heartbeat period, and continuously send heartbeat packets to the server;

[0027] Step 3: When the network is disconnected and reconnected, push...

Embodiment 2

[0032] A method for pushing real-time data communication heartbeat packets, comprising the steps of:

[0033] Step 1: After the client establishes an initial connection with the server, the client application program automatically sends a heartbeat packet to the server. The sending cycle of the heartbeat packet is initially set to the preset time, and the heartbeat cycle is continuously extended until the heartbeat cycle is extended to the maximum value of the device. Long heartbeat time is supported. The preset fixed period of the heartbeat packet of the existing client device is usually between 2-5 seconds. In this embodiment, the heartbeat period is initially set to a preset time of 3 seconds. The heartbeat cycle extension time can be set to 1 second.

[0034] Step 2: Take the longest supported heartbeat time of the device as the heartbeat period, and continuously send heartbeat packets to the server;

[0035] Step 3: When the network is disconnected and reconnected, push ...

Embodiment 3

[0040] A method for pushing real-time data communication heartbeat packets, comprising the steps of:

[0041] Step 1: After the client establishes an initial connection with the server, the client application program automatically sends a heartbeat packet to the server. The sending cycle of the heartbeat packet is initially set to the preset time, and the heartbeat cycle is continuously extended until the heartbeat cycle is extended to the maximum value of the device. Long heartbeat time is supported. The preset fixed period of the existing client device heartbeat packet is usually between 2-5 seconds. In this embodiment, the heartbeat period is initially set to a preset time of 4 seconds. The heartbeat cycle extension time can be set to 7 seconds.

[0042] Step 2: Take the longest supported heartbeat time of the device as the heartbeat period, and continuously send heartbeat packets to the server;

[0043] Step 3: When the network is disconnected and reconnected, push the he...

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 invention provides a real-time data communication heartbeat packet pushing method. The real-time data communication heartbeat packet pushing method comprises the following steps that: after initial connection is established between a client and a server, a client application program automatically sends a heartbeat packet to the server, the heartbeat packet sending period is initially set as preset time, and the heartbeat period is continuously prolonged; and when the heartbeat period is prolonged to the longest heartbeat supporting time of equipment, the longest heartbeat supporting time of the equipment is taken as a heartbeat period, heartbeat packets are continuously sent to the server, network disconnection and reconnection are carried out, heartbeat packet messages are pushed to the server again, and the client is pulled up to operate. The real-time data communication heartbeat packet pushing method prolongs the heartbeat packet sending period continuously, explores the longest heartbeat supporting time of the equipment, and takes a previous heartbeat period of the heartbeat period with heartbeat sending failure as the heartbeat period, so that the equipment can be ensuredto be not disconnected, the sending frequency of heartbeat packets can be reduced, the equipment power consumption is reduced, and the power consumption of the client equipment is obviously reduced.

Description

technical field [0001] The invention relates to the field of application program information push, in particular to a real-time data communication heartbeat packet push method. Background technique [0002] Most mobile wireless network operators will eliminate the corresponding entries in the NAT (Network Address Translation) table when there is no data communication on the link for a period of time, causing the link to be interrupted. NAT timeout is an important factor affecting the lifetime of a TCP (Transmission Control Protocol) connection. [0003] The Android system has a loophole in the handling of DHCP (Dynamic Host Configuration Protocol). When the DHCP lease expires, it will not actively renew the lease and continue to use the expired IP. This problem will cause the occasional disconnection of the TCP long connection. [0004] Switching between mobile phone network and WIFI network, network disconnection and connection, etc. will cause changes in the network statu...

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 Applications(China)
IPC IPC(8): H04L12/26H04L29/08
CPCH04L43/10H04L67/141
Inventor 于雷
Owner 长春创世麒麟科技有限公司
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