Application Sub-Scenario Resource Allocation
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing system resource management methods fail to allocate resources according to actual application requirements, leading to either excessive resource waste or insufficient resources for smooth operation, affecting user experience.
Innovation Solution
A method and apparatus that decompose applications into sub-scenarios, record system resource occupation information during testing, and allocate resources accordingly to ensure optimal resource usage and user experience, avoiding unnecessary adjustments and power consumption.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If more system resources are configured initially for an application scheduled from background to foreground, then the application can run smoothly, but system resource waste occurs due to excessive initial allocation
Solution Approach 1:
The patent applies preliminary action by pre-testing applications in different scenarios before actual use, recording the minimum required system resources in advance. This allows the system to allocate resources accurately without initial overallocation, eliminating both resource waste and operational issues.
Solution Approach 2:
The patent implements feedback by recording system resource occupation information during application testing and using this recorded data to guide future resource allocation decisions. This feedback loop enables precise resource configuration based on actual application needs rather than assumptions.
2Loss of energy
If system resources are allocated gradually to an application, then resource waste is reduced, but the application may not have enough resources to run smoothly initially
Solution Approach 1:
The patent performs preliminary testing and resource requirement analysis before actual application deployment. By determining the exact resource needs in advance through controlled testing, the system can allocate the correct amount of resources immediately without gradual allocation, ensuring both efficiency and smooth operation.
3Measurement precision
If application resource configuration is adjusted frequently to match actual needs, then resource allocation accuracy improves, but system complexity and adjustment time increase
Solution Approach 1:
The patent establishes a preliminary testing phase where application resource requirements are determined in advance under controlled conditions. This pre-determined configuration eliminates the need for frequent adjustments during actual use, reducing system complexity while maintaining high allocation accuracy.
Solution Approach 2:
The system uses automatically recorded resource occupation information from testing to self-determine optimal resource allocations. This automated approach eliminates manual configuration adjustments and reduces system complexity while achieving precise resource matching.
Data Source
AI summary
Embodiments of the present invention disclose a method for configuring a resource and an apparatus. The method includes: allocating a system resource to a currently active application sub-scenario in an application according to recorded system resource occupation information of the application sub-scenario of the application, where the system resource occupation information of the application sub-scenario of the application includes the system resource occupation information recorded when the application sub-scenario works in a process of testing the application after the application sub-scenario of the application is defined. With the present invention, the system resource is configured for the application sub-scenario at a single attempt. Therefore, enough system resources are ensured to meet the requirements for running the currently active application sub-scenario of the application, the running performance is ensured, and the adjustment time and the power consumption are saved.


