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

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

Active Publication Date: 2019-02-19
THUNDERSOFT
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

When the system resources occupied by the background process are greater than the threshold, the foreground process cannot obtain sufficient system resources, thereby reducing the execution efficiency of the foreground process, and the utilization rate of system resources is low.

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
  • Process processing method and device
  • Process processing method and device
  • Process processing method and device

Examples

Experimental program
Comparison scheme
Effect test

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...

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 process handling method and apparatus. The method comprises: determining a target process in at least one background process; freezing the target process, so that a running state of the target process is adjusted to a sleep state; if receiving a related handling instruction of the target process, caching the related handling instruction; if receiving an unfreezing instruction of the target process, unfreezing the target process, so that the target process is awakened; and the target process executing the cached related handling instruction. According to the process handling method and apparatus, system resources occupied by the target process can be released in a freezing mode, thereby increasing resource utilization rate; and at the same time, the unfrozen target process can execute the related handling instruction received during the freezing period, thereby improving process reliability.

Description

technical field [0001] Embodiments of the present invention relate to electronic device application technologies, and in particular to a process processing method and device. Background technique [0002] With the development of science and technology, more and more applications are running on electronic devices such as smart phones, and the system resources occupied by processes corresponding to the applications increase accordingly. [0003] When the electronic device runs multiple processes, the processes are divided into a foreground process and a background process. The foreground process is the process currently operated by the user, and the related interface of the foreground process is output on the display to realize human-computer interaction. The background process is other processes except the foreground process, and the background process can run automatically in the background. The background process can accept the user's shutdown operation, but cannot perfor...

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): G06F9/50
Inventor 潘达宇赵鸿飞
Owner THUNDERSOFT