Resource Pool Database for Activity-Based System Reclaiming

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Conventional resource reclaiming processes in electronic devices face challenges such as inefficient allocation of CPU, memory, and network bandwidth, leading to delays, app crashes, and poor user interaction due to high request volumes and inadequate consideration of resource impact on other requests.

Innovation Solution

A method and system utilizing a Reinforcement Learning (RL) model and a resource pool database to reclaim system resources by identifying activity initialization, monitoring resource consumption, and storing combinations of activities and applications with their resource consumption. This approach allows for the efficient adjustment of resource allocation based on the specific needs of each activity, preventing system overload.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Speed

If conventional resource reclaiming processes fulfill recent requests without considering impact on other requests, then resource allocation speed is improved, but system stability deteriorates due to resource contention and thread blocks

Engineering Contradiction:
Improveresource allocation speedVSAvoidsystem stability
Core Design Contradiction:
SpeedVSReliability

Solution Approach 1:

The system performs preliminary monitoring of resource consumption for each activity-application combination and stores this data in advance in a resource pool database. When a resource reclaim request arrives, the system immediately queries the pre-stored data to make rapid allocation decisions without needing to monitor current consumption in real-time, thus achieving both speed and stability

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The resource pool is segmented into multiple independent pools, each dedicated to a specific activity-application combination. This segmentation prevents resource contention between different combinations, as each pool operates independently with its own allocated resources, eliminating thread blocks while maintaining fast allocation within each segment

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If resource release starts only after current allocation request is completed, then resource allocation accuracy is improved, but resource utilization efficiency deteriorates due to significant delays

Engineering Contradiction:
Improveresource allocation accuracyVSAvoidresource utilization efficiency
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The system monitors and records resource consumption for each activity-application combination in advance, storing this information in the resource pool database before any reclaim request occurs. This preliminary data collection enables the system to make accurate resource allocation decisions immediately when requests arrive, without waiting for current allocations to complete

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The monitoring of resource consumption continues continuously in the background for all activities, ensuring that the resource pool database is always up-to-date with current consumption patterns. This continuous monitoring allows the system to maintain accurate allocation data without interrupting or delaying any allocation requests, achieving both precision and efficiency simultaneously

Inventive Principle:
Principle #20Continuity of useful action

3Measurement precision

If the system monitors and stores resource consumption for each activity-application combination, then resource allocation precision is improved, but system complexity increases due to database management overhead

Engineering Contradiction:
Improveresource allocation precisionVSAvoidsystem complexity
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The resource pool database serves multiple functions simultaneously: it stores resource consumption data for monitoring, provides allocation reference data for decision-making, and acts as a cache for rapid query responses. This multi-functionality reduces the need for separate systems for each purpose, thereby managing complexity while maintaining high allocation precision

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

Solution Approach 2:

Instead of implementing complex real-time monitoring and calculation systems, the patent creates simplified copies of resource consumption data in the database based on pre-collected monitoring information. These copied data structures enable rapid querying and decision-making without requiring complex real-time computation, reducing system complexity while maintaining allocation precision

Inventive Principle:
Principle #26Copying

Data Source

PatentUS20250138885A1Methods and systems for reclaiming system resources in an electronic device
Publication Date: 2025.05.01 SAMSUNG ELECTRONICS CO LTD
  • US20250138885A1 patent drawing
  • US20250138885A1 patent drawing
  • US20250138885A1 patent drawing

AI summary

A method and a system for reclaiming system resources in an electronic device are provided. The method includes identifying an initialization of an activity corresponding to a first application associated with the electronic device, determining whether a combination of the activity and the first application is defined in a resource pool database, upon determining that the combination of the activity and the first application is not defined in the resource pool database: monitoring resource consumption by the activity, and storing the combination of the activity and the first application with the monitored resource consumption in the resource pool database, and upon determining that the combination of the activity and the first application is defined in the resource pool database, reclaiming the system resources corresponding the combination of the activity and the first application.