Resource scheduling method and terminal device

US11765754B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11765754-B2
Application numberUS-202017018551-A
CountryUS
Kind codeB2
Filing dateSep 11, 2020
Priority dateOct 11, 2018
Publication dateSep 19, 2023
Grant dateSep 19, 2023

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

A resource scheduling method implemented by a device, where the resource scheduling method includes determining a load characteristic of a frame drawing thread, where the frame drawing thread draws an image frame determining a target resource scheduling manner based on the load characteristic, and scheduling a resource for the frame drawing thread in the target resource scheduling manner.

First claim

Opening claim text (preview).

What is claimed is: 1. A resource scheduling method implemented by a device, wherein the resource scheduling method comprises: determining a first time interval using a frame drawing time of an image frame, wherein the first time interval is shorter than the frame drawing time; determining the first time interval based on a proportion threshold such that the first time interval does not exceed a first proportion of the frame drawing time, wherein the first proportion corresponds to the proportion threshold; collecting performance indicator data of a frame drawing thread while actively processing a drawing of the image frame and for a duration corresponding to the first time interval, wherein the frame drawing thread draws the image frame; determining a first load characteristic of the frame drawing thread based on the performance indicator data; determining a predicted load value of the frame drawing thread based on the first load characteristic; determining a target resource scheduling manner based on the first load characteristic and the predicted load value; and scheduling a first resource for the frame drawing thread in the target resource scheduling manner, wherein the first resource comprises at least one of a computing resource or a storage resource. 2. The resource scheduling method of claim 1 , wherein the first load characteristic comprises at least one of an average quantity of cycles per instruction (CPI), a quantity of branch instructions, or a cache miss rate of the frame drawing thread. 3. The resource scheduling method of claim 1 , further comprising determining the first load characteristic based on at least one of an average quantity of cycles per instruction (CPI), a quantity of branch instructions, or a cache miss rate of the frame drawing thread in the first time interval. 4. The resource scheduling method of claim 1 , further comprising determining the target resource scheduling manner based on the first load characteristic, the predicted load value, and a preset target frame rate. 5. The resource scheduling method of claim 4 , further comprising: determining a plurality of resource scheduling manners of scheduling the first resource for the frame drawing thread based on the first load characteristic, the predicted load value, and the preset target frame rate; and determining a resource scheduling manner with a lowest power consumption in the resource scheduling manners as the target resource scheduling manner. 6. The resource scheduling method of claim 1 , further comprising determining the target resource scheduling manner based on the first load characteristic, the predicted load value, and first mapping relationship information, wherein the first mapping relationship information comprises a plurality of pieces of load information and a resource scheduling manner corresponding to each of the pieces of load information, and wherein each of the pieces of load information comprise one load characteristic and one load value. 7. The resource scheduling method of claim 4 , further comprising determining the predicted load value based on the first load characteristic and second mapping relationship information, wherein the second mapping relationship information comprises a plurality of load characteristics and a load value corresponding to each of the load characteristics. 8. The resource scheduling method of claim 7 , further comprising determining a load value corresponding to a reference load characteristic as the predicted load value when the load characteristics in the second mapping relationship information comprise the reference load characteristic, wherein a similarity between the reference load characteristic and the first load characteristic is greater than or equal to a similarity threshold. 9. The resource scheduling method of claim 7 , further comprising determining, as the predicted load value, a load value of a frame preceding the image frame that is drawn using the frame drawing thread when the load characteristics in the second mapping relationship information do not comprise a reference load characteristic, wherein a similarity between the reference load characteristic and the first load characteristic is greater than or equal to a similarity threshold. 10. The resource scheduling method of claim 1 , further comprising determining the target resource scheduling manner based on the first load characteristic and third mapping relationship information, wherein the third mapping relationship information comprises a plurality of load characteristics and a resource scheduling manner corresponding to each of the load characteristics. 11. The resource scheduling method of claim 10 , further comprising determining a resource scheduling manner corresponding to a reference load characteristic as the target resource scheduling manner when the load characteristics in the third mapping relationship information comprise the reference load characteristic, wherein a similarity between the reference load characteristic and the first load characteristic is greater than or equal to a similarity threshold. 12. The resource scheduling method of claim 10 , further comprising determining, as the target resource scheduling manner, a resource scheduling manner of a second frame drawing thread of a frame preceding the image frame that is drawn using the frame drawing thread when the load characteristics in the third mapping relationship information do not comprise a reference load characteristic, wherein a similarity between the reference load characteristic and the first load characteristic is greater than or equal to a similarity threshold. 13. The resource scheduling method of claim 1 , further comprising: determining an association thread of the frame drawing thread, wherein the association thread is capable of causing the frame drawing thread to sleep; and scheduling a second resource for the association thread to accelerate execution of the association thread. 14. The resource scheduling method of claim 1 , wherein execution of the frame drawing thread is not completed within a predetermined time, wherein the resource scheduling method further comprises scheduling an additional resource for the frame drawing thread to accelerate the execution of the frame drawing thread, and wherein the predetermined time is a time required for completing the execution of the frame drawing thread when a resource is scheduled for the frame drawing thread in the target resource scheduling manner. 15. The resource scheduling method of claim 14 , wherein a positive correlation relationship is between a size of the additional resource and a first difference, and wherein the first difference is between a time point of scheduling the additional resource and an end time point of the predetermined time. 16. A resource scheduling method implemented by a terminal device, wherein the resource scheduling method comprises: determining a first time interval using a frame drawing time of an image frame, wherein the first time interval is shorter than the frame drawing time; determining the first time interval based on a proportion threshold such that the first time interval does not exceed a first proportion of the frame drawing time, wherein the first proportion corresponds to the proportion threshold; collecting performance indicator data of a frame drawing thread while actively processing a drawing of the image frame and for a duration corresponding to the first time interval, wherein the frame drawing thread draws the image frame; determining a load characteristic of the frame drawing thread based on the per

Assignees

Inventors

Classifications

  • G06F9/505Primary

    considering the load · CPC title

  • G06F1/329Primary

    by task scheduling · CPC title

  • G06F9/4881Primary

    Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues · CPC title

  • H04W72/52Primary

    based on load · CPC title

  • Processor architectures; Processor configuration, e.g. pipelining · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11765754B2 cover?
A resource scheduling method implemented by a device, where the resource scheduling method includes determining a load characteristic of a frame drawing thread, where the frame drawing thread draws an image frame determining a target resource scheduling manner based on the load characteristic, and scheduling a resource for the frame drawing thread in the target resource scheduling manner.
Who is the assignee on this patent?
Huawei Tech Co Ltd
What technology area does this patent fall under?
Primary CPC classification G06F9/505. Mapped technology areas include Physics.
When was this patent published?
Publication date Tue Sep 19 2023 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 10 related publications on this page (citations in our corpus or others sharing the same primary CPC).