Logical Graph Generation for Audio Visual Effect Configuration
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Graphical programming's mathematical operation module is limited, leading to complex user configurations and low configuration efficiency for tasks like numerical calculation and motion trajectory calculation.
Innovation Solution
A graph generation method and apparatus that converts logical information into a logical graph by parsing target logical information into syntax trees and graph nodes, allowing users to configure computational logic efficiently for special effect editing.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Adaptability or versatility
If the mathematical operation module in graphical programming is used, then numerical calculation and motion trajectory calculation can be performed, but the configuration process becomes complex and configuration efficiency decreases
Solution Approach 1:
The patent introduces a logical graph as an intermediary between the user and the mathematical operation module. The logical graph visually represents computational logic with nodes and edges, serving as a mediator that translates user-friendly graphical configurations into executable mathematical operations, thereby reducing configuration complexity while maintaining versatility
Solution Approach 2:
The patent segments the computational logic into discrete logical elements that can be independently configured and connected in a logical graph. Each logical element represents a specific mathematical operation or data flow, allowing users to build complex calculations through modular assembly rather than configuring entire mathematical expressions at once
2Adaptability or versatility
If the mathematical operation module in graphical programming is used, then numerical calculation and motion trajectory calculation can be performed, but configuration efficiency decreases
Solution Approach 1:
The patent performs preliminary action by automatically generating the logical graph structure from parsed logical information before the user needs to configure it. The system pre-processes the computational requirements and organizes them into a visual logical graph, so users only need to review and adjust pre-configured elements rather than building everything from scratch
Solution Approach 2:
The patent replaces the manual mechanical configuration process with an automated parsing and generation system. Instead of users manually configuring each mathematical operation parameter, the system automatically parses logical information, converts it to a syntax tree, and generates the corresponding logical graph structure, significantly improving configuration efficiency
Data Source
AI summary
Provided are a graph generation method and apparatus, a device, and a storage medium. The graph generation method comprises: parsing target logical information to obtain a plurality of logical elements; converting the plurality of logical elements into a syntax tree according to logic of the target logical information, where the syntax tree comprises a plurality of layers of tree nodes, and tree nodes between layers have a dependency relationship; converting the plurality of layers of tree nodes into a plurality of graph nodes; and connecting the plurality of graph nodes according to the dependency relationship to obtain a logical graph corresponding to the target logical information to allow a user to perform special effect editing based on the logic.


