Dynamic Task Scheduling for Foreground Priority Allocation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current task scheduling methods often allocate inappropriate priorities, leading to low processing efficiency and delays, particularly when a background application has higher priority than a foreground application, resulting in suboptimal resource allocation and poor user experience.

Innovation Solution

A dynamic task scheduling method that determines a target running category for applications based on their status, assigning classification priorities and scheduling priorities accordingly, ensuring that foreground and user-interacting tasks receive higher resource allocation.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If task priority allocation is based on fixed rules, then scheduling is simple, but foreground tasks may receive lower priority than background tasks leading to poor user experience

Engineering Contradiction:
Improvescheduling simplicityVSAvoidprocessing efficiency
Core Design Contradiction:
Ease of operationVSProductivity

Solution Approach 1:

The patent applies dynamics by making task priority allocation dynamic rather than static. The system continuously monitors application running status (foreground/background state) and automatically adjusts task priorities in real-time. This allows foreground tasks to receive higher priority dynamically, improving processing efficiency and user experience while maintaining scheduling simplicity through automated status-based rules.

Inventive Principle:
Principle #15Dynamics

2Reliability

If background tasks are given high priority, then system stability is improved, but foreground task execution is delayed

Engineering Contradiction:
Improvesystem stabilityVSAvoidtask execution delay
Core Design Contradiction:
ReliabilityVSLoss of time

Solution Approach 1:

The patent applies local quality by differentiating priority allocation based on task location (foreground vs. background application). Instead of uniform priority rules, the system assigns different priority levels to tasks based on their running status. Foreground tasks receive higher priority to execute promptly, while background tasks receive lower priority, ensuring system stability without delaying critical user-facing operations.

Inventive Principle:
Principle #3Local quality

3Productivity

If resource allocation is based on application status, then user experience is improved, but scheduling complexity increases

Engineering Contradiction:
Improveuser experienceVSAvoidscheduling complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent applies self-service by enabling the scheduling system to automatically monitor application running status and adjust task priorities without manual intervention. The system serves itself by using built-in status detection mechanisms to make real-time scheduling decisions. This improves user experience through status-aware resource allocation while avoiding the complexity of manual configuration or external control systems.

Inventive Principle:
Principle #25Self-service

Data Source

PatentUS20240394099A1Task scheduling method and apparatus, device, and medium
Publication Date: 2024.11.28 HUAWEI TECH CO LTD
  • US20240394099A1 patent drawing
  • US20240394099A1 patent drawing
  • US20240394099A1 patent drawing

AI summary

A task scheduling method and apparatus, a device, and a medium are provided. According to the task scheduling method, a target running category of an application is determined from a plurality of predefined running categories based on a running status of the application, where applications in different running categories in the plurality of predefined running categories have different importance levels. A target classification priority corresponding to the target running category is determined. A target scheduling priority of a target task in the application is determined based on at least the target classification priority. A resource of a processing system is scheduled to the target task based on the target scheduling priority, for running of the target task.