Process processing method and device
A process processing and process technology, applied in the direction of multi-programming device, resource allocation, etc., can solve the problems of insufficient system resources, low utilization of system resources, and reduced execution efficiency of foreground processes, so as to improve process reliability and improve process reliability. The effect of resource utilization
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] figure 1 It is a flow chart of the process processing method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of optimizing system resources when there are multiple background processes running. This method can be implemented by electronic devices such as smart phones, tablet computers, and personal computers. To execute, specifically include the following steps:
[0030] Step 110, determine a target process from at least one background process.
[0031] The target process may be a process manually selected by the user, or determined by the electronic device according to a certain algorithm. The prior art provides a solution for determining whether a process needs to continue to run according to the running time of the process and the usage of resources. For details, please refer to relevant documents in the prior art.
[0032] Step 120, freezing the target process, so that the target process adjusts its running state t...
Embodiment 2
[0042] The embodiment of the present invention also provides a process processing method. As a further description of the first embodiment, step 110, determining the target process from at least one background process, can be implemented by any one or combination of the following :
[0043] Way 1: The target process is determined according to the weight of each background process in at least one background process.
[0044] 1) Determining the process with the lowest weight among at least one background process as the target process.
[0045] The weight of a process may be determined according to the type of the process. For example, the weight of the system process is higher than that of the user process; among the user processes, the weight of the security process is higher than that of the multimedia process.
[0046] 2) Determining a background process whose weight is lower than a preset weight in at least one background process as a target process.
[0047] It is assume...
Embodiment 3
[0094] The embodiment of the present invention also provides a process processing device, which is used to implement the above method, and is located in an electronic device, such as Figure 4 As shown, the device includes:
[0095] A target process determining unit 11, configured to determine a target process from at least one background process;
[0096] A freezing unit 12, configured to freeze the target process determined by the target process determining unit 11, so that the target process adjusts its running state to a dormant state;
[0097] a receiving unit 13, configured to receive related processing instructions of the target process;
[0098] The cache unit 14 is configured to cache the relevant processing instructions of the target process if the receiving unit 13 receives the relevant processing instructions;
[0099] The receiving unit 13 is further configured to receive an unfreezing instruction of the target process;
[0100] The unfreezing unit 15 is config...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


