Workflow Code Generation from Function Description Text

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Low-code development tools heavily depend on manual design, lacking intelligent generation and assistant capabilities, which affects development efficiency and fails to meet complex service requirements.

Innovation Solution

A code development platform that intelligently generates workflow code by mining and analyzing function description text to identify logical relationships between call statements, reducing developer dependency and automating trigger/action parameter filling, while supporting complex service logic.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Device complexity

If low-code development tools are used to build applications, then development complexity is reduced, but development efficiency deteriorates due to heavy reliance on manual design

Engineering Contradiction:
Improvedevelopment complexityVSAvoiddevelopment efficiency
Core Design Contradiction:
Device complexityVSProductivity

Solution Approach 1:

The system enables self-service through automated code generation from natural language descriptions. The code generation module automatically creates workflow code without requiring manual programming, allowing the system to serve itself in generating executable code from user-friendly descriptions.

Inventive Principle:
Principle #25Self-service

Solution Approach 2:

Manual mechanical design work is replaced by an intelligent system that uses natural language processing and code generation technologies. The system substitutes the manual mechanical process of coding with an automated computational process that converts natural language descriptions into executable workflow code.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

2Adaptability or versatility

If manual design is used for workflow development, then flexibility is maintained, but time consumption increases significantly

Engineering Contradiction:
Improvedesign flexibilityVSAvoidtime consumption
Core Design Contradiction:
Adaptability or versatilityVSLoss of time

Solution Approach 1:

The system performs preliminary action by pre-defining workflow templates and structures that can be automatically instantiated. Common workflow patterns are prepared in advance, allowing the system to quickly generate code by filling in specific parameters rather than creating everything from scratch each time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The system utilizes parameter changes to adapt workflows to different scenarios. By modifying parameters in pre-defined templates rather than rewriting entire workflows, the system maintains flexibility while significantly reducing the time required to develop new workflows.

Inventive Principle:
Principle #35Parameter changes

3Productivity

If intelligent generation capabilities are added to low-code tools, then development efficiency improves, but system complexity increases

Engineering Contradiction:
Improvedevelopment efficiencyVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The system introduces an intermediary layer between natural language input and code output. This intermediary includes natural language processing modules that translate user descriptions into structured representations, which then guide the code generation process, simplifying the overall complexity by breaking it into manageable stages.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The intelligent generation system is segmented into distinct functional modules: natural language processing, logical relationship analysis, code generation, and validation. Each module handles a specific aspect of the workflow, reducing overall system complexity by dividing the complex task into smaller, more manageable components.

Inventive Principle:
Principle #1Segmentation

4Extent of automation

If automated code generation is implemented, then dependency on developers is reduced, but accuracy of generated code may deteriorate

Engineering Contradiction:
Improveautomation levelVSAvoidcode accuracy
Core Design Contradiction:
Extent of automationVSManufacturing precision

Solution Approach 1:

The system implements feedback mechanisms where generated code is validated against the original natural language description and predefined workflow templates. If inconsistencies are detected, the system can request clarification from the user or automatically adjust the generated code to better match the intended functionality, thereby maintaining accuracy while preserving high automation levels.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS20260044321A1Code Development Method and Related Device
Publication Date: 2026.02.12 HUAWEI CLOUD COMPUTING TECHNOLOGIES CO LTD
  • US20260044321A1 patent drawing
  • US20260044321A1 patent drawing
  • US20260044321A1 patent drawing

AI summary

A code development method, applied to a code development platform, includes receiving function description information that is of a target workflow and that is input by a user; obtaining, based on the function description information, a function description text including call statements, where the call statements include a trigger call statement used to start the target workflow and an action interface call statement used to execute the target workflow; and then mining and analyzing the function description text to obtain a logical relationship between the call statements. The code development method further includes generating code of the target workflow based on the logical relationship between the call statements, and rendering a view of the target workflow based on the code of the target workflow.