Unlock instant, AI-driven research and patent intelligence for your innovation.

An application resident realization method and device, a computer device and a storage medium

A computer program and application operation technology, applied in computing, multi-program device, program control design, etc., can solve problems such as limited scope of application and failure to take effect, and achieve the effect of wide applicability

Active Publication Date: 2019-04-23
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF7 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] However, the above method cannot take effect on Android 5.0 and above, and the scope of application is limited.

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
  • An application resident realization method and device, a computer device and a storage medium
  • An application resident realization method and device, a computer device and a storage medium
  • An application resident realization method and device, a computer device and a storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] An Android application can start multiple processes such as process a and process b. When the system cleans up the application, it will kill all the related processes started by the application. That is to say, if an application starts process a and process b during its survival , then the system needs to kill process a and process b one by one. In the process of killing process a and process b one by one, if the system kills process a but has not had time to kill process b, process b can monitor that process a is killed, and quickly restart process a, and process a restarts After that, it is equivalent to the resurrection of the application, and vice versa, so that the application can always monitor and pull each other up when the system kills itself, so that the application can be resident. In other words, through a certain The method achieves the goal that the application processes monitor each other and restart each other faster than the system kills all the applica...

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 discloses an application resident realization method and device, a computer device and a storage medium, and the method comprises the steps of running N processes for an application needing resident, N being a positive integer greater than two; and setting a mutual monitoring relationship between processes according to a predetermined principle, wherein the predetermined principle comprises when the system kills any process and continues to search and kill the next process, at least one process having the mutual monitoring relationship with the killed process is in a survival state, so that the killed process is restarted by utilizing the process in the survival state. The scheme provided by the invention can be suitable for various Android versions, and has the universal applicability.

Description

【Technical field】 [0001] The invention relates to computer application technology, in particular to a method, device, computer equipment and storage medium for realizing application resident. 【Background technique】 [0002] Application resident, as the name suggests, is to keep the application in the memory all the time, that is, to keep the application alive. [0003] In many scenarios, if you want to serve users better, you need a resident application to do specific things at specific times. For example, in the Android system, many broadcast events do not support static registration. If you want to receive the system broadcast of the screen switch, you must dynamically register the broadcast receiver in the application. If the lock screen application cannot survive all the time, it will not work normally. Monitor the screen switch and serve the user. In addition, instant messaging (IM, Instant Messaging) applications also need to maintain a long link in the background, s...

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): G06F11/30G06F9/48
CPCG06F9/485G06F11/302
Inventor 史剑
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD