Kernel scheduling method and device, terminal and storage medium
A scheduling method and technology for scheduling equipment, applied in program control design, program startup/switching, resource allocation, etc., can solve problems such as preempting front-end application resources and shortening battery life of the stuck system, and achieve the effect of improving response speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0042] In order to solve the above-mentioned technical problems existing in the prior art, an embodiment of the present invention provides a kernel scheduling method.
[0043] figure 1 It is a flowchart of an embodiment of the kernel scheduling method of the present invention, such as figure 1 As shown, the kernel scheduling method in this embodiment may specifically include the following steps:
[0044] 100. Obtain the total resources required by the foreground application and the total resources currently occupied by the background application;
[0045] In a specific implementation process, the system can monitor the status information of the foreground application and the background application in real time, and obtain the total resources required by the foreground application according to the calculation formula (1):
[0046] W1=K*C1 / C; (1)
[0047] Among them, W1 is the total resources required by the foreground application, C1 is the average number of instructions exe...
Embodiment 2
[0063] In order to solve the above-mentioned technical problems existing in the prior art, an embodiment of the present invention provides a kernel scheduling device.
[0064] figure 2 It is a schematic structural diagram of an embodiment of the kernel scheduling device of the present invention, such as image 3 As shown, the kernel scheduling device in this embodiment includes an acquisition module 20 and a scheduling module 21 .
[0065] An acquisition module 20, configured to acquire the total resources required by the foreground application and the total resources currently occupied by the background application;
[0066] Specifically, the system can monitor the status information of the foreground application and the background application in real time, and obtain the total resources required by the foreground application according to the calculation formula (1). According to the calculation formula (2), the total resource currently occupied by the background applicati...
Embodiment 3
[0076] In order to solve the above-mentioned technical problems existing in the prior art, an embodiment of the present invention provides a kernel scheduling device.
[0077] image 3 It is a schematic structural diagram of an embodiment of the kernel scheduling device of the present invention, such as image 3 As shown, the kernel scheduling device in this embodiment includes a memory 30 and a controller 31;
[0078] A computer program is stored in the memory 30 , and when the computer program is executed by the controller 31 , the steps of the kernel scheduling method of the above-mentioned embodiments are realized.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


