Application-Guided Cache Allocation for Dynamic Storage Priorities
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing cache storage space management methods are inflexible and do not adapt to the dynamic requirements of electronic devices, leading to suboptimal performance due to insufficient or inappropriate allocation of cache storage space.
Innovation Solution
A method and electronic device that dynamically allocate cache storage space based on real-time requirements by generating cache storage management hints through applications, which are processed by the operating system to adjust allocation policies accordingly.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If a fixed cache storage space management rule is used, then the system structure is simple, but the device performance cannot be optimized due to insufficient cache storage space allocation
Solution Approach 1:
The patent transforms the fixed cache storage management rule into a dynamic allocation mechanism. The operating system continuously monitors application execution states and adjusts cache storage space allocation in real-time based on actual needs. This dynamic adjustment allows the system to optimize device performance by ensuring each application receives appropriate cache resources without requiring complex manual configuration.
Solution Approach 2:
The patent implements a feedback mechanism where the operating system monitors application execution states and uses this information to adjust cache storage space allocation. The system collects feedback on application performance and cache usage patterns, then dynamically modifies allocation policies to improve overall device performance while maintaining manageable system complexity through automated control loops.
2Productivity
If cache storage space is increased for all applications, then device performance improves, but the loss of energy increases due to unnecessary resource allocation
Solution Approach 1:
The patent applies local quality by allocating cache storage space differently to different applications based on their specific execution states and requirements. Instead of uniformly increasing cache for all applications, the system identifies which specific applications need additional cache resources and allocates them selectively. This targeted approach improves device performance for demanding applications while avoiding unnecessary energy consumption from allocating cache to applications that don't need it.
3Adaptability or versatility
If dynamic cache allocation is implemented, then cache storage space is optimized for real requirements, but the device complexity increases
Solution Approach 1:
The patent implements self-service by enabling applications to generate their own cache storage management hints based on their execution states, and the operating system automatically processes these hints to adjust cache allocation. This self-service mechanism allows the system to achieve high adaptability in cache allocation without requiring complex external management, as each application effectively manages its own cache needs through the standardized hint interface provided by the operating system.
Data Source
AI summary
A cache storage space managing method, applied to an electronic device comprising a target storage device and a cache storage device for storing information which is to be accessed by the target storage device. The cache storage space managing method comprises: executing an application installed in the electronic device to generate cache storage management hint; and allocating cache storage space of the cache storage device to at least one sub-device in the electronic device or identifying a priority of a cache portion to be discarded or reserved in the cache storage device, according to the cache storage management hint by an operating system of the electronic device.


