Android system application closing method and android system application closing device
An Android system, a technology for closing instructions, applied in the computer field
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0086] refer to figure 1 , which shows a schematic flow diagram of a method for closing an Android system application in the present invention, including:
[0087] Step 110, monitoring whether the hatching process is started in the Android system;
[0088] In the Android system, all application process and system service process SystemServer are hatched (fork) by the zygote process, and the present invention can monitor the hatching process when the zygote process hatches other processes, that is, monitor the process of the creation.
[0089] Preferably, it also includes:
[0090] Sub-step 100, replace the initial process incubator of the Android system with a specific first process incubator; monitor whether the Android system starts to incubate the process through the first process incubator.
[0091] In the present invention, in order to realize the monitoring of the process incubation process, it is necessary to replace the initial process incubator of the android syste...
Embodiment 2
[0116] refer to figure 2 , which shows a schematic flow diagram of an Android system window object acquisition method of the present invention, including:
[0117] Step 210, monitoring whether the hatching process is started in the Android system;
[0118] Step 220, if the incubating process is started, judge whether the process belongs to the process within the required range of the system; if the process does not belong to the process within the required range of the system, record the process information of the process;
[0119] Step 230, before the window object acquisition function called by the window service, intercept the call to the initial window object acquisition function in the Android system;
[0120] In the traditional viewserver execution process, when the window object is to be obtained through the viewserver, the window object acquisition function needs to be called, and the window object is obtained from the window list stack maintained by the window manag...
Embodiment 3
[0162] refer to image 3 , which shows a schematic flow diagram of an Android system window object acquisition method of the present invention, including:
[0163] Step 310, replacing the initial process incubator of the Android system with a specific first process incubator;
[0164] Be about to replace the initial zygote process of the android system with the preset first zygote process of the present invention; The function of the first zygote process is except including the function of the initial zygote process, has also added whether to monitor whether to start to monitor whether the Android system starts to incubate the process and Incubate the window service and the processing logic after monitoring. After the replacement, the system can be restarted to start the initial init process of the system.
[0165] Step 312, creating a java virtual machine through the first process incubator;
[0166] Step 314, register the monitoring socket through the java virtual machine...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com