Decoupling Animation Logic via Configuration Files

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing animation development methods require direct coding of animated behaviors and resources, leading to logic coupling, making it difficult to modify or reuse animations, and necessitating full app updates for changes.

Innovation Solution

A configuration-based approach that decouples animated behaviors, resources, and view assembly, using configuration files to abstract these elements and enable flexible, modular animation generation and display, allowing for easy reuse and updates without recompiling the app.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If animation behaviors and resources are directly coded into the app, then the animation can be displayed, but the logic becomes coupled and difficult to modify or reuse

Engineering Contradiction:
ImproveAnimation reusabilityVSAvoidCode complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent segments animation into independent configuration files that contain behavior information and resource information. This separation allows animation logic to be extracted from the main app code, enabling individual animation modules to be modified, updated, or reused without affecting the entire application. Each animation configuration file operates as an independent unit with its own behavior definitions and resource references.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent extracts animation behavior information and resource information from the main app code into separate configuration files. This extraction removes the coupling between animation logic and application logic, allowing animation components to be developed, tested, and maintained independently. The configuration files serve as externalized animation definitions that can be loaded and executed without recompiling the entire application.

Inventive Principle:
Principle #2Taking out (Extraction)

2Productivity

If animation code is directly embedded in the app, then animation display is achieved, but any modification requires full app update and re-release

Engineering Contradiction:
ImproveAnimation update efficiencyVSAvoidUpdate time
Core Design Contradiction:
ProductivityVSLoss of time

Solution Approach 1:

The patent prepares animation configurations in advance by creating separate configuration files that contain all necessary behavior and resource information. These configuration files are prepared independently of the main application, allowing animations to be pre-processed, validated, and optimized before being loaded by the app. This preliminary preparation enables rapid updates without requiring full application rebuilds.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses configuration files as external templates that define animation behavior and resources. These configuration files can be copied, duplicated, and modified independently to create new animations or update existing ones. The app loads these configuration files at runtime, allowing updates to be deployed by simply replacing or adding configuration files rather than redistributing the entire application package.

Inventive Principle:
Principle #26Copying

3Adaptability or versatility

If configuration files are used to abstract animation elements, then flexibility and reusability improve, but the system requires additional file management and processing

Engineering Contradiction:
ImproveAnimation configurabilityVSAvoidSystem complexity
Core Design Contradiction:
Adaptability or versatilityVSDevice complexity

Solution Approach 1:

The patent introduces configuration files as intermediary structures between the animation logic and the app execution engine. These configuration files serve as a standardized interface that defines animation behavior through structured data formats, separating the concerns of animation authoring from animation execution. The intermediary configuration layer provides a clean contract that simplifies both creation and consumption of animations while managing the complexity through standardized formats.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11481948B2Method, device and storage medium for generating animation group by synthesizing animation layers based on tree structure relation between behavior information and sub-behavior information
Publication Date: 2022.10.25 BEIJING DAJIA INTERNET INFORMATION TECH CO LTD
  • US11481948B2 patent drawing
  • US11481948B2 patent drawing
  • US11481948B2 patent drawing

AI summary

The present disclosure discloses a method, device and storage medium for generating an animation. The method includes: acquiring a configuration file corresponding to a configuration file identifier; determining behavior information and animated resources based on the configuration file; acquiring first animated resources based on first animated resource identifiers in the behavior information; and generating the animation by synthesizing the behavior information and the first animated resources.