Media Play Device Animation Acceleration via Canvas Merging
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Current IPTV systems face challenges in accelerating animation processing, leading to degradation in display performance due to individual object control and high resource usage, especially when applying animation effects to menus and virtual reality images.
Innovation Solution
A media playing device with a receiving unit, script insertion unit, monitoring unit, canvas management unit, and output unit that dynamically inserts an acceleration script into web documents, groups objects based on expected events, generates canvases for affected objects, and outputs these canvases to improve animation processing performance without modifying original code, thereby reducing resource usage and repaints.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Reliability
If animation effects are applied to IPTV menu by individually controlling each object, then animation rendering can be achieved, but resource consumption increases and processing speed decreases
Solution Approach 1:
Multiple individual DOM objects that require animation are merged into a single canvas element. The canvas manages all animated objects collectively, reducing the number of individual DOM manipulations from N objects to 1 canvas, thereby improving processing speed while maintaining animation rendering capability
Solution Approach 2:
A canvas element is introduced as an intermediary between the DOM objects and the animation system. The canvas acts as a mediator that handles all animation operations in a unified manner, avoiding the need to individually control each DOM object, thus resolving the contradiction between rendering reliability and processing efficiency
2Reliability
If animation effects are applied to IPTV menu by individually controlling each object, then animation rendering can be achieved, but resource consumption increases
Solution Approach 1:
Multiple individual DOM objects are merged into a single canvas element for unified management. This consolidation reduces the computational resources required for tracking, updating, and rendering each object individually, thereby decreasing overall resource consumption while maintaining animation rendering quality
Solution Approach 2:
Instead of manipulating multiple original DOM objects directly, the system creates a single canvas copy that represents all animated objects. This copying approach allows efficient batch processing of animation operations, reducing the resource burden of individual object control while preserving the visual output
3Adaptability or versatility
If web-based content is displayed with movement and deformation of rendered objects, then animation effects are achieved, but repaints and reflows increase causing display degradation
Solution Approach 1:
Multiple DOM objects subject to movement and deformation are combined into a single canvas element. This merging eliminates the need for repeated repaints and reflows that occur when individual DOM objects are animated, as canvas rendering operations do not trigger DOM layout recalculation, thus maintaining display quality while enabling animation effects
Solution Approach 2:
The patent replaces the DOM-based rendering mechanism with a canvas-based rendering mechanism for animated content. The canvas element uses a different rendering pipeline that does not rely on DOM layout and style recalculation, thereby substituting the problematic mechanical system (DOM repaints/reflows) with a more efficient system that maintains display quality during animation
Data Source
AI summary
A media playing device detects an event for an object included in a web document is detected before the event occurs, and groups objects for each event if it was to actually occur, and the event is applied to other objects temporarily replacing the grouped objects. Thus, the amount of resources required for image rendering can be significantly reduced.


