Implementation method for application process keep-alive under Android platform

An implementation method and application process technology, applied in the field of application process keep alive, can solve problems such as failure and damage to the Android ecosystem, and achieve the effects of enhancing interaction, improving message delivery rate, and increasing the probability of process keep alive.

Active Publication Date: 2017-07-07
GUANGZHOU QISHENG INFORMATION TECH
View PDF4 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] One-pixel solution: The app opens a floating frame with only one pixel on the main screen of Android to hide it from the user, but the system thinks it belongs to a foreground app bound to the interface, so it will keep alive under certain conditions
The disadvantage of this solution is: destroying the Android ecology, you need to open the floating window permission for the application
[0006] Foreground service solution: Foreground service is a way to keep alive by increasing the priority of the application. This method requires the service to be associated with a notification on the top notification bar, although there are some ways to hide the notification by exploiting Android system vulnerabilities. Exists, but Google may patch this vulnerability at any time
The disadvantages of this solution are: destroying the Android ecosystem and staying in a notification for a long time
The disadvantage of this solution is: after Android 5.0, due to the adjustment of the strategy, this method basically fails

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
  • Implementation method for application process keep-alive under Android platform
  • Implementation method for application process keep-alive under Android platform
  • Implementation method for application process keep-alive under Android platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0060] This embodiment provides an implementation method for keeping alive the application process under the Android platform. The application startup process is as follows: figure 1 As shown, the system recycling application process flow is as follows figure 2 As shown, the message push process is as follows image 3 As shown, the method provides a service toolkit, and the service toolkit includes an entry service component, a guard service component and a proxy service component; the implementation process of the method is as follows:

[0061] Step S1: In the Android system, there are more than two applications integrated with the service toolkit;

[0062] Step S2: application 1 starts;

[0063] Step S3: Application 1 scans the system's ActivityManager to find the running entry service components, determines which applications running in the current system can be used to form mutual protection members, and then judges whether there are other entry service components. If t...

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 an implementation method for application process keep-alive under an Android platform. The method comprises the steps that S1, two or more applications are integrated with a service kit in an Android system; S2, the application 1 is started; S3, the application 1 scans all portal service components running in the system, whether other portal service components exist or not is judged, if other portal service components do not exist, the step S5 is executed after the step S4 is executed, and if other portal service components exist, the step S5 is directly executed skipping the step 4; S4, the application 1 starts its own agency service component to maintain long connection and pulls up the registered application 2 through the corresponding portal service component; S5, the application 1 is bound to an existing guard service component of the application 2; S6, the application 2 is bound back to a guard service component of the application 1; and S7, the application 1 and the application 2 form mutual guard, and multiple applications form netlike mutual guard.

Description

technical field [0001] The invention relates to an implementation of application process keeping alive under the Android platform. Specifically, the software development kit provided by this solution is integrated in the process of multiple application development, and the network monitoring and connection between multiple processes are realized through the native inter-process communication mechanism of the Android platform, so as to realize the communication between multiple application processes. Mutual protection, the process is pulled up and kept alive in time after the process is recycled by the system, and finally realizes the maintenance of the long-term connection between the application process and the cloud and the timely delivery of cloud push messages. Background technique [0002] At present, Apple's iOS system and Google's Android system have almost occupied the entire market share of mobile operating systems. Apple has implemented a unified message push speci...

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): G06F9/48G06F9/50
CPCG06F9/485G06F9/5083
Inventor 国兴旺
Owner GUANGZHOU QISHENG INFORMATION TECH
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