Dynamic Resource Cache Management for Mobile Memory Constraints

Resolve Bottlenecks,
Find Innovative Solutions
Generate 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

VSEngineering Contradiction Analysis

1Productivity

If data is cached to improve application loading speed, then application loading efficiency is improved, but memory consumption increases excessively

Engineering Contradiction:
Improveapplication loading efficiencyVSAvoidmemory consumption
Core Design Contradiction:
ProductivityVSQuantity of substance

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

Inventive Principle:
Principle #15Dynamics

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

Inventive Principle:
Principle #35Parameter changes

2Productivity

If multiple Internet applications cache data simultaneously, then each application's loading speed improves, but overall memory capacity is exceeded

Engineering Contradiction:
Improveapplication loading speedVSAvoidmemory capacity management
Core Design Contradiction:
ProductivityVSDevice complexity

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

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

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

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS10862992B2Resource cache management method and system and apparatus
Publication Date: 2020.12.08 BANMA ZHIXING NETWORK HONGKONG CO LTD
  • US10862992B2 patent drawing
  • US10862992B2 patent drawing
  • US10862992B2 patent drawing

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.