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

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

Active Publication Date: 2021-02-26
GREE ELECTRIC APPLIANCES INC
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of the present invention is to provide a kernel scheduling method, device, terminal and storage medium to solve the situation in the prior art that background applications preempt resources of foreground applications due to many background applications, resulting in the occurrence of stuck systems in foreground applications The problem of shortened battery life

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
  • Kernel scheduling method and device, terminal and storage medium
  • Kernel scheduling method and device, terminal and storage medium
  • Kernel scheduling method and device, terminal and storage medium

Examples

Experimental program
Comparison scheme
Effect test

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.

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 kernel scheduling method and device, a terminal and a storage medium. The method comprises the following steps: acquiring total required resources of a foreground applicationand total resources currently occupied by a background application; and if the sum of the total demand resources of the foreground application and the total resources currently occupied by the background application is greater than the total resources of a kernel, reducing the total resources currently occupied by the background application until the total resources currently occupied by the background application meet a preset condition, and finishing kernel scheduling. The size of the system resources acquired by the background application is dynamically adjusted according to the demand condition of the foreground application for the system resources, and the background application is prevented from preempting the foreground resources. By adopting the technical scheme of the invention,the response speed of the foreground application can be improved.

Description

technical field [0001] The invention belongs to the technical field of terminals, and in particular relates to a kernel scheduling method, equipment, a terminal and a storage medium. Background technique [0002] With the rise of Internet applications, more and more applications are running on smart terminal devices. In order to improve the application experience and make money, application manufacturers always come up with various ways to keep alive in the background. [0003] In the prior art, each application corresponds to its own process, and the system determines the resources of the kernel corresponding to the system by calculating the load of the system. However, if there are too many background applications, each background application will allocate some resources, and background applications will inevitably seize the foreground. Due to the situation of application resources, the foreground application freezes and the battery life of the system becomes shorter. Co...

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 Applications(China)
IPC IPC(8): G06F9/48G06F9/50
CPCG06F9/4843G06F9/5038
Inventor 孙红辉
Owner GREE ELECTRIC APPLIANCES INC