Per-Thread Resource Scheduling for Smooth Apps and Lower Power

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing resource allocation methods in electronic devices lead to inefficiencies such as resource wastage and increased power consumption due to coarse granularity and lack of per-thread resource management, affecting the smooth operation of application programs.

Innovation Solution

A resource scheduling method that dynamically adjusts resources on a per-thread basis by setting thread levels and scheduling parameters, allowing for precise allocation based on thread importance and changing application program states.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If resource allocation is adjusted at application level, then overall performance can be improved, but resource allocation granularity is too coarse leading to waste

Engineering Contradiction:
Improveoverall performanceVSAvoidresource allocation granularity
Core Design Contradiction:
ProductivityVSQuantity of substance

Solution Approach 1:

The patent segments resource allocation from application level to thread level. Each thread is assigned a priority level (first level, second level, third level) and corresponding scheduling parameters, enabling fine-grained resource control. This segmentation allows the system to allocate resources to specific threads based on their individual importance rather than uniformly to the entire application, thereby improving allocation precision and reducing waste.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements local quality by assigning different scheduling parameters to different thread priority levels. Critical threads receive higher scheduling parameters (preferring CPU time) while non-critical threads receive lower parameters. This differential treatment ensures that resources are allocated according to the specific needs of each thread, improving overall system efficiency while preventing resource waste in less important threads.

Inventive Principle:
Principle #3Local quality

2Productivity

If CPU operating frequency is increased to improve performance, then application smoothness is improved, but power consumption increases

Engineering Contradiction:
Improveapplication smoothnessVSAvoidpower consumption
Core Design Contradiction:
ProductivityVSUse of energy by moving object

Solution Approach 1:

The patent dynamically adjusts CPU operating frequency based on real-time thread priority needs. When critical threads are detected, the CPU frequency is increased to maintain application smoothness. When no critical threads are present, the frequency is reduced to save power. This dynamic adjustment mechanism allows the system to adapt performance levels to actual workload requirements, balancing smoothness and power consumption.

Inventive Principle:
Principle #15Dynamics

Solution Approach 2:

The patent changes the CPU operating frequency parameter based on thread priority levels and scheduling parameters. By monitoring thread states and adjusting frequency accordingly, the system can maintain high performance when needed while reducing power consumption during low-demand periods. This parameter adjustment resolves the contradiction between performance and energy efficiency.

Inventive Principle:
Principle #35Parameter changes

3Ease of manufacture

If resources are allocated to all threads uniformly, then implementation is simple, but resource waste occurs and allocation precision is low

Engineering Contradiction:
Improveimplementation simplicityVSAvoidresource allocation precision
Core Design Contradiction:
Ease of manufactureVSMeasurement precision

Solution Approach 1:

The patent segments threads into different priority levels (first, second, third levels) with distinct scheduling parameters. This segmentation enables precise resource allocation to critical threads while maintaining simple implementation through automated priority detection. The system automatically identifies critical threads and assigns appropriate scheduling parameters, achieving both precision and ease of implementation.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements self-service by automatically detecting thread criticality and assigning priority levels without requiring manual configuration. The system monitors thread states and autonomously adjusts scheduling parameters, simplifying implementation while achieving precise resource allocation. This automated approach eliminates the need for complex user configuration while maintaining high allocation precision.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20260003673A1Resource scheduling method and electronic device
Publication Date: 2026.01.01 HUAWEI TECH CO LTD
  • US20260003673A1 patent drawing
  • US20260003673A1 patent drawing
  • US20260003673A1 patent drawing

AI summary

Embodiments of this application provide a resource scheduling method and an electronic device, and relate to the field of terminal technologies, to dynamically adjust, on a per-thread basis of a thread included in each application program, a resource allocated by the electronic device to the application program. In the method, a level of each first thread corresponding to a first application program and a scheduling parameter corresponding to each level are set, so that a resource can be allocated to each first thread on a per-thread basis of each first thread included in the first application program. This application is applied to a process in which the electronic device allocates a resource to an application program.