Animation Generation Using Pre-Stored Models
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Developers face challenges in efficiently generating animations for terminal elements, as setting numerous functions for change processes is time-consuming and resource-intensive, requiring significant resources on the terminal.
Innovation Solution
A method and apparatus for generating animations by determining a target element, obtaining a pre-stored animation model based on the element's state and operation, and using the current state animation parameter as the initial parameter, allowing for animation generation without separately setting functions for various factors, thus reducing resource occupation.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of manufacture
If developers set numerous functions for change processes to generate animations, then animation quality and customization are improved, but development time and terminal resource consumption increase
Solution Approach 1:
The patent applies preliminary action by pre-storing multiple animation models (first animation model, second animation model, etc.) in the terminal before actual animation generation is needed. When an animation is required, the system simply selects from these pre-prepared models based on the current state and operation type, rather than generating the animation from scratch each time. This significantly reduces both development time and runtime resource consumption.
Solution Approach 2:
The patent utilizes parameter changes by storing animation models differentiated by specific parameters such as current state (locked, unlocked, etc.) and operation type (slide, tap, etc.). The system selects the appropriate animation model by changing these parameter values, allowing efficient animation generation without重新 setting numerous functions for each scenario.
2Ease of manufacture
If developers set numerous functions for change processes to generate animations, then animation quality and customization are improved, but terminal resource occupation increases
Solution Approach 1:
The patent applies preliminary action by pre-storing multiple animation models (first animation model, second animation model, etc.) in the terminal before actual animation generation is needed. When an animation is required, the system simply selects from these pre-prepared models based on the current state and operation type, rather than generating the animation from scratch each time. This significantly reduces both development time and runtime resource consumption.
3Productivity
If multiple animation models are pre-stored in the terminal, then animation generation speed is improved, but memory occupation increases
Solution Approach 1:
The patent applies local quality by selecting specific animation models based on local conditions - the current state of the element and the type of operation performed. Rather than loading all possible animation models into memory simultaneously, the system stores multiple models but only activates and loads the specific model needed for the current situation, optimizing memory usage while maintaining fast animation generation.
Data Source
Figure 1
Figure 2
Figure 3
AI summary
A method of generating animation includes: determining a target element based on a received first instruction, setting a target state of the target element and/or detecting a target operation on the target element, and obtaining a current state animation parameter of the target element; obtaining a target animation model among pre-stored animation models; and generating animation of the target element based on the target animation model and an initial state animation parameter of the target animation model, where the current state animation parameter is taken as the initial state animation parameter.