Multimedia Special-Effect Processing With CPU-GPU Mode Switching
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
In video transmission scenarios with high frame rates and resolutions, the high CPU performance consumption leads to device heating and fan spinning, affecting user experience due to the need for special effect processing.
Innovation Solution
A method and apparatus that dynamically select between central processing unit (CPU) and graphics processing unit (GPU) modes for special effect processing based on preset conditions, optimizing the processing mode to reduce CPU load and improve efficiency.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Manufacturing precision
If special effect processing is performed on high frame rate and high resolution video through CPU, then video quality is maintained, but CPU performance consumption increases
Solution Approach 1:
The patent implements dynamic mode switching between CPU and GPU based on real-time detection of special effect types and processing conditions. The system transitions from static CPU-only processing to dynamic adaptive processing, selecting the most appropriate processing unit based on current workload characteristics to optimize both video quality and energy consumption
Solution Approach 2:
The patent segments the special effect processing workload by identifying different types of special effects and routing them to appropriate processing units. Complex graphical effects are segmented and handled by GPU, while simpler effects remain with CPU, allowing optimized processing for each segment based on its specific requirements
2Productivity
If CPU occupation is high for special effect processing, then processing capability is sufficient, but device heating and fan spinning occur
Solution Approach 1:
The patent introduces GPU as an intermediary processing unit to handle specific types of special effects that are graphics-intensive. By routing appropriate workloads through this intermediary (GPU), the system reduces the thermal burden on the CPU while maintaining processing capability through coordinated operation of both processing units
3Use of energy by moving object
If GPU mode is used for special effect processing, then CPU load is reduced, but processing diversity needs to be optimized
Solution Approach 1:
The patent creates a universal processing framework where both CPU and GPU can handle special effect processing based on workload characteristics. The system achieves multi-functionality by enabling either processing unit to handle various types of effects, with the selection based on optimizing for either energy efficiency or processing diversity depending on the specific effect type and system state
Data Source
AI summary
Embodiments of the disclosure provide method, apparatus, electronic device and storage medium for multimedia data transmission. The method includes: in response to a data transmission request, obtaining original multimedia data to be transmitted; in response to a preset special effect processing condition being met, determining a target special effect processing mode of the original multimedia data based on a preset special effect processing mode, wherein the preset special effect processing mode at least comprises a central processing unit mode and a graphics processor processing mode; and performing a special effect processing on the original multimedia data based on the target special effect processing mode to obtain target transmission multimedia data.


