OS Resource Allocation via System-State Inversion

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing terminal device resource allocation methods are inefficient as they require target applications to deliver scenario information to the operating system, leading to increased signaling overheads and reduced refinement in resource adjustments.

Innovation Solution

The operating system acquires system-state information to determine the internal running scenario of a target application and adjusts resource allocation based on a performance improvement strategy, eliminating the need for scenario information from the application.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If the target application delivers scenario information to the operating system for resource allocation, then the operating system can perform resource adjustment, but the signaling overheads increase and the refinement of resource adjustment decreases

Engineering Contradiction:
Improveresource allocation accuracyVSAvoidsignaling overheads
Core Design Contradiction:
ReliabilityVSLoss of information

Solution Approach 1:

Instead of the application delivering scenario information to the operating system, the operating system actively acquires system-state information directly from the terminal device and determines the internal running scenario itself. This inversion of the information flow eliminates the need for application-to-OS signaling while maintaining accurate scenario identification for resource allocation.

Inventive Principle:
Principle #13The other way round (Inversion)

Solution Approach 2:

The operating system performs self-service by acquiring system-state information directly from the terminal device and independently determining the internal running scenario without relying on scenario information from the application. This self-service approach reduces signaling overheads while maintaining resource allocation accuracy.

Inventive Principle:
Principle #25Self-service

2Productivity

If the target application delivers scenario information to the operating system, then resource allocation can be performed, but the refinement in resource adjustments is reduced

Engineering Contradiction:
Improveresource allocation efficiencyVSAvoidresource adjustment refinement
Core Design Contradiction:
ProductivityVSMeasurement precision

Solution Approach 1:

The operating system inverts the traditional approach by actively acquiring system-state information and determining scenarios itself rather than relying on application-provided information. This enables more refined resource adjustments through direct system-state monitoring.

Inventive Principle:
Principle #13The other way round (Inversion)

Solution Approach 2:

The operating system implements a feedback mechanism by continuously acquiring system-state information from the terminal device and using this feedback to accurately determine internal running scenarios and perform refined resource adjustments, improving measurement precision for resource allocation.

Inventive Principle:
Principle #23Feedback

3Loss of information

If the operating system acquires system-state information and determines internal running scenario directly, then signaling overheads are reduced, but the complexity of the operating system increases

Engineering Contradiction:
Improvesignaling overheadsVSAvoidoperating system complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The operating system applies multi-functionality by using its existing system-state information acquisition capabilities (already present for general system monitoring) to also determine internal running scenarios. This universal use of existing functions reduces the need for additional specialized components, minimizing the increase in operating system complexity.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS11099901B2Method for resource allocation and terminal device
Publication Date: 2021.08.24 GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
  • US11099901B2 patent drawing
  • US11099901B2 patent drawing
  • US11099901B2 patent drawing

AI summary

A method for resource allocation and a terminal device are provided. The method includes the following. System-state information of a terminal device is acquired, and the terminal device has a target application running in a foreground of the terminal device. An internal running scenario of the target application is determined according to the system-state information. A performance improvement strategy corresponding to the internal running scenario is acquired. Allocation of system resources for the internal running scenario is adjusted according to the performance improvement strategy.