OS Resource Allocation via Scenario Data Packages
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing terminal devices lack the ability to optimize system resource allocation for running applications in real-time, leading to suboptimal performance due to the operating system's inability to distinguish and adapt to the internal scenarios of third-party applications.
Innovation Solution
A method where the operating system receives a scenario data package from a target application, determines a performance improvement strategy using a strategy module, and adjusts system resource allocation accordingly, allowing for real-time optimization of resource usage based on the application's specific needs.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If the operating system uses uniform resource allocation for all applications, then system stability is maintained, but application performance cannot be optimized for specific scenarios
Solution Approach 1:
The patent segments the resource allocation mechanism by introducing scenario-specific strategy modules that divide the unified OS resource management into application-specific sub-systems. Each strategy module handles resource allocation for particular scenarios (e.g., gaming, video playback), enabling differentiated optimization while maintaining overall system stability through the management module's coordination.
Solution Approach 2:
The patent implements dynamic resource allocation by making the strategy modules loadable and unloadable based on runtime conditions. The management module dynamically selects and loads appropriate strategy modules according to the running application's scenario needs, allowing the system to adapt its resource allocation strategy in real-time rather than using static uniform allocation.
2Adaptability or versatility
If the operating system loads all strategy modules simultaneously, then complete coverage of application scenarios is achieved, but system resource consumption increases
Solution Approach 1:
The patent applies preliminary action by pre-compiling multiple strategy modules during system initialization, but delaying their actual loading until needed. The management module prepares the framework in advance and loads specific strategy modules on-demand based on which application is running, achieving complete scenario coverage availability without the overhead of simultaneously executing all modules.
Solution Approach 2:
The patent implements local quality by making each strategy module specialized for specific application scenarios rather than having a single general-purpose module. The system loads only the locally relevant strategy module matching the current application's needs (e.g., loading gaming optimization module only when a game is running), reducing overall resource consumption while maintaining specialized optimization capability.
3Productivity
If the operating system implements scenario-specific resource allocation, then application performance is improved, but system complexity increases
Solution Approach 1:
The patent introduces a management module as an intermediary between the OS core and multiple strategy modules. This intermediary handles the complexity of scenario identification, strategy module selection, loading, and coordination, allowing the OS core to remain simple while enabling complex scenario-specific resource allocation through the mediating management layer.
Solution Approach 2:
The patent creates a universal management module framework that can handle multiple different strategy modules through a standardized interface. This multi-functional design allows the same management module to orchestrate various scenario-specific strategies (gaming, video, audio, etc.) without requiring separate control logic for each, reducing overall system complexity while maintaining high resource optimization accuracy.
Data Source
AI summary
A method for resource allocation and a terminal device are provided. The method includes the following operations. A management module of an operating system receives a scenario data package from a target application that is currently running, where the scenario data package contains a scenario associated information of the target application. A strategy module of the operating system determines a performance improvement strategy for the target application according to the scenario data package. The operating system adjusts allocation of system resources for the target application according to the performance improvement strategy.


