Heartbeat package control method and apparatus for application program

A technology of application programs and control methods, applied in the Internet field, can solve problems such as frequent changes in the network environment that cannot be used, and achieve a good matching effect

Active Publication Date: 2015-10-21
广州方硅信息技术有限公司
View PDF3 Cites 39 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can solve the problem that the existing technology uses fixed time intervals to s...

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
  • Heartbeat package control method and apparatus for application program
  • Heartbeat package control method and apparatus for application program
  • Heartbeat package control method and apparatus for application program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0023] In order to better understand the heartbeat packet control method and device disclosed in the embodiments of the present invention, the live broadcast network architecture applicable to the embodiments of the present invention will be described below. see figure 1 , figure 1 It is a schematic diagram of a live network architecture disclosed in an embodiment of the present invention. like figure 1 As shown, the live broadcast network architecture may inclu...

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

An embodiment of the invention discloses a heartbeat package control method for an application program. The method comprises the steps of: monitoring an operational state of the application program; when the application program is in a foreground operation state, indicating the application program to send a heartbeat detection packet to a server by a first time interval; and when the application program is in a background operation state, indicating the application program to send the heartbeat detection packet to the server by a second time interval, wherein the second time interval is greater than the first time interval. The embodiment of the invention further discloses a heartbeat packet control apparatus for the application program. With the adoption of the heartbeat packet control method and apparatus, the adaptability of the application program to a network environment is improved.

Description

technical field [0001] The invention relates to the field of the Internet, in particular to a method and device for controlling the heartbeat of an application program. Background technique [0002] With the development of Internet technology, software manufacturers have developed various applications that run on portable mobile terminals, and these applications can access the Internet through wireless methods (such as 2G, 3G, 4G or WiFi, etc.) The server in the server is different from the traditional PC that accesses the Internet through wired methods. Because the mobile terminal uses wireless access, the location of the mobile terminal is not fixed, and the network signal changes frequently. The network connection between the application program on the mobile terminal and the Internet The state is very complicated. The continuous and stable network connection status of the mobile terminal and the server directly determines the user experience. Without a reliable network ...

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): G06F11/30H04L12/26H04L29/06
Inventor 刘胜华王启明申动斌
Owner 广州方硅信息技术有限公司
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