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

Method, storage medium, device and system for waking up main process of Android application

A technology of Android operating system and main process, applied in the direction of transmission system, program control design, boot program, etc., can solve the problems of low technical realization difficulty, inability to expand, and compatibility.

Active Publication Date: 2019-11-05
WUHAN DOUYU NETWORK TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The advantage of this solution is that it is less difficult to implement and does not require system-level processing, such as adding an application whitelist, but the disadvantage is that once the background program is killed, the wake-up mechanism will be difficult to continue
[0006] (3) Associated startup mechanism, that is, when multiple application programs integrated with the same wake-up SDK (Software Development Kit, software development kit) are installed in the terminal (device running the Android operating system), when one of the application programs is in the running state , its background process will immediately search for the current device and similar applications that integrate and wake up the SDK. After the search is completed, the application will be woken up randomly. The Android operating system cannot be deployed, and there is a compatibility problem

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
  • Method, storage medium, device and system for waking up main process of Android application
  • Method, storage medium, device and system for waking up main process of Android application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The present invention will be described in further detail below in conjunction with the accompanying drawings and embodiments.

[0035] see figure 1 As shown, the embodiment of the present invention provides a method for waking up the main process of an Android application, which is used for waking up the closed or dormant main process of the application in the Android operating system, thereby increasing the startup speed of the application.

[0036] The method for waking up the Android application main process in the embodiment of the present invention specifically includes:

[0037] S1: Create a new background process for the application, and establish a long connection between the application and the server through the newly created background process, and the running priority of the background process is the same as that of the main process of the application, and the background process includes monitoring applications The monitoring service of the running status ...

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

A method, storage medium, device, and system for waking up a main process of an Android application. The method comprises: creating a background process for an application, and the application establishing a persistent connection with a server (S1); before the persistent connection between the application and the server is killed, if the main process of the application is in a non-running state, waking up the main process of the application, and if the main process of the application is in a normal running state, not doing anything, and after the persistent connection between the application and the server is killed, creating a notification message, and sending the notification message to a terminal device (S2); the terminal device receiving the notification message, and if the notification message is a process wakeup message, executing S4, and if not, terminating the process (S3); and waking up the background process, determining an execution state of the main process of the application, and if the execution state is a non-running state, waking up the main process of the application, and if not, terminating the process (S4). The method effectively ensures waking up of a main process of an application.

Description

technical field [0001] The present invention relates to the field of mobile software, in particular to a method, storage medium, device and system for waking up an Android application main process. Background technique [0002] In the increasingly fierce mobile Internet field, improving the activity rate of APP (Application, application program) is a matter of great concern to major APP developers. Among them, the startup speed of APP is directly related to the user's experience of using APP, such as If the APP startup speed is too slow, it will directly reduce the user's friendliness to the current APP, and even directly cause the user to uninstall the current APP, which will greatly reduce the installation amount of the APP, and then affect the activity rate of the APP. Therefore, improving the startup speed of the APP is It is a difficult problem that APP developers urgently need to solve. [0003] At present, for the improvement of APP startup speed, the more common met...

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): G06F9/4401G06F9/445H04L29/08
CPCG06F9/4418G06F9/445H04L67/145
Inventor 尹成陈少杰张文明
Owner WUHAN DOUYU NETWORK 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