Media Content Processing With Reusable Memory Pools
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current media content processing frameworks suffer from poor performance due to frequent memory allocation and release operations among independent media application processing procedures, leading to inefficiencies in memory usage and processing bottlenecks, particularly in high-resolution and high-frame-rate applications.
Innovation Solution
A media content processing method that allocates a memory pool with fixed-size memory blocks based on content attribute information and reuses these blocks according to a preset execution order for multiple content processing sub-tasks, reducing unnecessary memory fragmentation and improving efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If each media application processing procedure independently allocates and releases memory, then each procedure can manage its own memory resources, but frequent memory allocation and release operations occur resulting in poor processing performance
Solution Approach 1:
The patent merges independent memory management operations into a unified memory pool that serves multiple media application processing procedures. Instead of each procedure independently allocating and releasing memory, a shared memory pool is established where memory blocks are allocated and reused collectively, reducing the frequency of allocation and release operations while maintaining independent processing capabilities.
2Reliability
If memory is independently allocated for each media application processing, then memory can be dedicated to specific tasks, but memory fragmentation increases leading to inefficient memory usage
Solution Approach 1:
The patent creates a universal memory pool that can serve multiple different media application processing tasks simultaneously. The memory pool is designed to accommodate various task requirements through a standardized block allocation interface, allowing the same memory infrastructure to support diverse processing needs without creating fragmentation, as blocks are reused across different tasks in a controlled manner.
3Measurement precision
If frequent memory allocation and release operations are performed, then each processing task can access fresh memory, but processing bottlenecks occur reducing overall efficiency
Solution Approach 1:
The patent implements preliminary memory block allocation from a pre-established memory pool before processing tasks begin. Memory blocks are prepared and available in advance within the pool structure, allowing processing tasks to immediately access pre-allocated blocks without triggering allocation operations during execution. This preliminary preparation eliminates allocation bottlenecks while ensuring tasks access ready-to-use memory blocks.
Data Source
AI summary
A media content processing method includes acquiring media content including a content frame unit; allocating a memory pool for executing a media application processing task, wherein the memory pool includes memory blocks corresponding to content attribute information of the media content, and wherein the media application processing task includes content processing sub-tasks arranged in a preset execution order; determining a memory block for processing a content frame unit; executing a first content processing sub-task of the media application processing task on the content frame unit using the memory block; and reusing the memory block for a second content processing sub-task, based on execution of the first content processing sub-task being completed, wherein the second content processing sub-task is determined based on the preset execution order, and continuing to reuse the memory block until the content processing sub-tasks are executed, to obtain a first final content frame unit.


