Node-Based Visual Script Generation Reducing Learning Cost

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Users need to master code writing to generate scripts for application functions, resulting in a high learning cost and low script generation efficiency.

Innovation Solution

A node-based visual method for script generation, where nodes encapsulate corresponding codes, allowing users to connect nodes on a visual interface to generate scripts without writing code, using a connection diagram to create a splicing code representing call relationships among nodes and generating a target script file based on this code and pre-written script codes for each node.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If professional technicians code scripts manually, then script functionality is achieved, but learning cost increases and generation efficiency decreases

Engineering Contradiction:
Improvescript generation efficiencyVSAvoidlearning cost
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The script is segmented into multiple functional nodes, each representing a specific function or operation. Users can select and connect these pre-defined nodes through a visual interface, eliminating the need to write code from scratch and significantly improving script generation efficiency while reducing learning costs.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A visual interface acts as an intermediary between users and the underlying code structure. This interface allows users to configure scripts by connecting nodes visually, translating user-friendly operations into executable code automatically, thereby bridging the gap between user capability and code complexity.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Ease of operation

If visual node connection method is used, then learning cost reduces and operation ease improves, but code writing capability is bypassed

Engineering Contradiction:
Improveease of script creationVSAvoidvisual interface complexity
Core Design Contradiction:
Ease of operationVSDevice complexity

Solution Approach 1:

The system uses template nodes that are pre-configured with standard functions and code structures. Users can copy these templates and connect them through the visual interface, which automatically generates the corresponding code. This approach simplifies operations by reusing proven patterns while maintaining code quality.

Inventive Principle:
Principle #26Copying

Solution Approach 2:

The visual interface is designed to be universally applicable across different script types and functions. The same node-based approach can handle various operations (data processing, control flow, I/O operations, etc.), making the system versatile without increasing operational complexity for users.

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

Data Source

PatentUS20240319967A1Script generation method and apparatus, device, and storage medium
Publication Date: 2024.09.26 BEIJING ZITIAO NETWORK TECH CO LTD
  • US20240319967A1 patent drawing
  • US20240319967A1 patent drawing
  • US20240319967A1 patent drawing

AI summary

A script generation method and apparatus, a device and a medium, wherein the method comprises: acquiring a node connection line diagram for implementing a target function; according to connection lines between node ports in the node connection line diagram, generating a splicing code representing a call relationship between nodes; and according to the splicing code and script codes written by the nodes in advance, generating a target script file corresponding to the target function.