Scene-Adaptive Animation Playback with Decoupled Scene Code

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

The deep coupling between animation code and scene code in existing animation playing systems leads to inefficiencies in business expansion and rapid code iteration, as well as increased labor and time costs during animation updates.

Innovation Solution

Decouple animation code from scene code by invoking animation code to acquire scene information, create an animation playing task based on an initiation signal, and execute the task at a predefined timing, allowing separate deployment and management of animation code across multiple scenes.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If animation code is embedded in scene code, then animation playing is achieved, but business expansion and code iteration become difficult

Engineering Contradiction:
Improvebusiness expansion capabilityVSAvoidcode coupling structure
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments the previously unified scene code into two independent parts: scene code and animation code. Scene code is responsible for scene configuration and parameter settings, while animation code handles animation resource management and playback logic. This segmentation allows each module to be independently developed, modified, and maintained, enabling business expansion without requiring changes to the entire codebase.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts the animation playing functionality from the scene code into a separate animation code module. This extraction removes the deep coupling between scene code and animation code, allowing animation resources and playback logic to be managed independently. As a result, business expansion can proceed by adding new scene configurations without modifying the animation playback mechanism.

Inventive Principle:
Principle #2Taking out (Extraction)

2Reliability

If animation code is updated for each scene, then animation playback is maintained, but time and labor cost increase significantly

Engineering Contradiction:
Improveanimation playback consistencyVSAvoidcode update efficiency
Core Design Contradiction:
ReliabilityVSProductivity

Solution Approach 1:

The patent creates a universal animation code module that can serve multiple scenes simultaneously. This animation code contains generic animation resource management and playback logic that adapts to different scenes through configuration parameters rather than requiring separate code implementations. When animation code needs updating, the changes automatically apply across all scenes, maintaining playback consistency while dramatically reducing update time and labor costs.

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

3Adaptability or versatility

If multiple animations are added to a scene, then animation functionality increases, but scene code modification is required repeatedly

Engineering Contradiction:
Improveanimation playback capabilityVSAvoidcode maintenance effort
Core Design Contradiction:
Adaptability or versatilityVSEase of manufacture

Solution Approach 1:

The patent segments animation management into a dedicated animation code module that handles multiple animations independently. Each animation can be configured and managed within this separate module using configuration parameters, allowing multiple animations to be added to scenes without modifying the core scene code structure. This maintains scene code stability while enhancing animation functionality.

Inventive Principle:
Principle #1Segmentation

Data Source

PatentUS20250363707A1Animation playing method and apparatus, and electronic device and storage medium
Publication Date: 2025.11.27 BEIJING ZITIAO NETWORK TECH CO LTD
  • US20250363707A1 patent drawing
  • US20250363707A1 patent drawing
  • US20250363707A1 patent drawing

AI summary

Embodiments of the present disclosure provide an animation playing method and apparatus, an electronic device, and a storage medium, and the method includes: invoking animation code within an application to acquire scene information corresponding to a current scene interface, in which the current scene interface is an interface currently presented for characterizing a scene under a business function when scene code within the application is invoked, the scene information includes layout information of each element within the current scene interface, and the animation code is deployed separately from the scene code; receiving an animation initiation signal; creating an animation playing task based on the animation initiation signal and the scene information corresponding to the current scene interface; and executing the animation playing task to play a target animation, in response to a current timing meeting an execution timing of the animation playing task.