Method and device for cleaning up mobile terminal processes
A mobile terminal and process technology, applied in the direction of program control device, program loading/starting, telephone communication, etc., can solve problems such as insufficient smoothness, system freeze, etc., and achieve the effect of improving security and improving user experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0023] as attached figure 1 As shown, a method for cleaning up a mobile terminal process, the method includes:
[0024] S1. Select the application that needs to clean up the process;
[0025] S2. Receive a startup command to clean up the process, and forcibly close the application;
[0026] S3. Traverse the system / proc directory, find out all processes of the application and all subprocesses of each process, and all residual processes of each process of the application, and kill all processes of the application and All child processes of each of its processes, and all residual processes of each of said application's processes. In the present invention, "the application" refers to an application that needs to be cleaned.
[0027] In the embodiment of the present invention, the mobile terminal is described by taking a smart phone using an Android (Android) system as a specific embodiment. In the Android system, the / proc directory is a directory that includes all the detaile...
Embodiment 2
[0032] On the basis of the inventive concept of the method for clearing the process of the mobile terminal in the above-mentioned embodiment 1, an apparatus for clearing the process of the mobile terminal is also provided in the embodiment of the present invention, as shown in the attached figure 2 As shown, the device for cleaning up the mobile terminal process includes:
[0033] The process cleaning selection unit is used to select the application that needs to clean the process;
[0034] a startup processing unit, configured to receive a startup command for cleaning up the process, and forcibly close the application;
[0035] The process cleaning unit is configured to traverse the system / proc directory, find out all processes of the application and all child processes of each process, and kill all processes of the application and all child processes of each process.
[0036]Further, the process cleaning unit is further configured to traverse the system / proc directory, f...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

