Dynamic Resource Cache Management for Mobile Memory Constraints
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
The limited memory capacity of mobile terminals hinders the efficient caching of data for Internet applications, leading to excessive memory consumption and potential rendering of applications unusable, especially when multiple applications cache data simultaneously.
Innovation Solution
A resource cache management system that pre-allocates caching strategies to applications based on their data requirements and usage patterns, allowing for dynamic caching and release of data resources to balance memory usage and performance, employing three caching strategies: caching all data, caching partial data, and caching initial data upon application launch.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Productivity
If data is cached to improve application loading speed, then application loading efficiency is improved, but memory consumption increases excessively
Solution Approach 1:
The patent implements dynamic cache management by continuously monitoring memory usage and application behavior patterns. The system adjusts cache retention policies in real-time, releasing cache data when memory pressure is high and retaining it when memory is available, thus dynamically balancing loading efficiency improvements against memory consumption constraints
Solution Approach 2:
The system changes cache management parameters based on application characteristics and system state. Different cache sizes, retention durations, and eviction policies are applied depending on the application type, usage frequency, and current memory availability, optimizing the balance between loading speed improvement and memory usage
2Productivity
If multiple Internet applications cache data simultaneously, then each application's loading speed improves, but overall memory capacity is exceeded
Solution Approach 1:
The patent introduces a universal cache management system that serves multiple Internet applications simultaneously. This centralized system performs multi-functionality by monitoring memory usage across all applications, coordinating cache operations between different apps, and implementing system-wide memory pressure management, thus enabling multiple applications to benefit from caching without individually exceeding memory capacity
Solution Approach 2:
The system acts as an intermediary between multiple applications and the physical memory resource. It mediates cache allocation and eviction decisions, arbitrating between competing applications' caching needs and ensuring that total memory usage remains within device capacity limits while still providing caching benefits to multiple applications
Data Source
AI summary
Embodiments of the present application disclose a method, device, and system for caching data resources or managing cached data resources. The method includes obtaining data resources, the data resources corresponding to an application installed on a terminal, obtaining a resource caching strategy based at least in part on the application to which the data resources belong, and caching the obtained data resources based at least in part on the obtained resource caching strategy.


