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

Method, device, computer equipment and storage medium for realizing application resident

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

Active Publication Date: 2022-05-27
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF7 Cites 0 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
  • Method, device, computer equipment and storage medium for realizing application resident
  • Method, device, computer equipment and storage medium for realizing application resident
  • Method, device, computer equipment and storage medium for realizing application resident

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, 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 each other and pull up each other when the system kills itself, so that the application can be resident. The method achieves the purpose that the processes of the application monitor each other and restart each other faster than the system kills all the processes of the applicatio...

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 a method, a device, a computer device and a storage medium for realizing application resident, wherein the method includes: running N processes for applications that need to be resident, and N is a positive integer greater than two; Mutual monitoring relationship, the predetermined principle includes: when the system kills any process and continues to kill the next process, at least one process that has a mutual monitoring relationship with the killed process is in a living state, so as to use the process that is in a living state The process restarts the killed process. The solution described in the present invention is applicable to various Android versions and has universal applicability.

Description

【Technical field】 [0001] The present invention relates to computer application technology, and in particular, to a method, apparatus, computer device and storage medium for realizing application resident. 【Background technique】 [0002] Application resident, as the name implies, is to keep the application in memory, that is, to keep the application alive. [0003] In many scenarios, if you want to better serve users, you need to have applications resident in order 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 properly. 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 ba...

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