Unlock instant, AI-driven research and patent intelligence for your innovation.

Program generation method and device based on visual low code, equipment and medium

A program generation, code technology, applied in the field of low-code programming, can solve problems such as no support

Pending Publication Date: 2022-05-10
上海交通大学四川研究院 +1
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, low-code programming is limited to processes with relatively simple logic such as managing business processes
However, there is no support for algorithms that require relatively high flexibility, such as the solution of CFD problems for large-scale parallel computing.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Program generation method and device based on visual low code, equipment and medium
  • Program generation method and device based on visual low code, equipment and medium
  • Program generation method and device based on visual low code, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0080] refer to figure 1 ,Such as figure 1 Shown is a schematic flow chart of the program generation method based on the visualized low code provided in this embodiment. The method specifically includes the following steps:

[0081] Step S100: Obtain and load the flow chart data, the flow chart data includes the nodes and edges of the flow chart, the edges include IN edges and OUT edges, the OUT edges represent the edges of the node, and the IN edges represent the edges entering the node. This step loads information such as nodes and edges of the flowchart, and prepares the data structure for analysis.

[0082] Step S200: Determine the order of the OUT edges of the node by repeatedly traversing the subgraph after a certain node. For branch nodes, there will be multiple OUT edges. Since addition and deletion adjustments will be made during drawing, it is necessary to formulate effective rules to judge the order of OUT edges. The order of the OUT edges of the nodes is diffe...

Embodiment approach

[0083] As an implementation manner, the determination of the order of the OUT edges of the nodes in this embodiment specifically includes:

[0084] If the OUT edge of the node is an unconditional edge, it will be executed last; among them, the unconditional edge means that there is a judgment condition when entering the next node, and the unconditional edge is always executed at the end, because if the unconditional edge is executed before, then the subsequent branches will have no Opportunity to execute is useless.

[0085] If the OUT edge of the node is a conditional edge, determine the order of the OUT edge of the node according to the difference between the abscissa and ordinate of the successor node.

[0086] Among them, determining the order of the OUT edge of the node according to the difference between the abscissa and ordinate of the successor node specifically includes:

[0087] Method 1: Calculate the cumulative value of the difference between the horizontal and ve...

Embodiment 2

[0128] refer to image 3 ,Such as image 3 Shown is the structural block diagram of the program generation device based on the visualized low code provided by this embodiment. Specifically, the device includes:

[0129] The data loading module 10 is used to obtain and load the flow chart data, the flow chart data includes the nodes and edges of the flow chart, the edges include IN edges and OUT edges, the OUT edge represents the edge of the node, and the IN edge represents the edge of the node ;

[0130] The OUT edge sorting module 20 is used to determine the order of the OUT edge of the node by repeatedly traversing the subgraph after a certain node;

[0131] The node sequencing module 30 is used to determine the order of control nodes and edges of nodes by repeating depth traversal, and determine the type of edges, and the control node is a node that must be passed to reach a certain node;

[0132] The edge type adjustment module 40 is used to adjust the edge type accord...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a program generation method, device and equipment based on a visual low code and a medium, the method comprises the steps that flow chart data is acquired and loaded, the flow chart data comprises nodes and edges of a flow chart, the edges comprise IN edges and OUT edges, the OUT edges represent the edges of the nodes, and the IN edges represent the edges entering the nodes; determining the sequence of OUT edges of a node by repeatedly traversing the sub-graph after a certain node; the sequence of control nodes and edges of the nodes is determined by repeating depth traversal, the types of the edges are judged, and the control nodes are the nodes inevitable to reach a certain node; adjusting the edge type according to the control relationship between the nodes, and determining the unique edge of each node arriving from the control node; and determining code types of the code blocks, the nesting layers and the edges, generating a program code, and generating an application program according to the program code. According to the method, the program with relatively complex logic can be generated by sequencing the nodes and the edges.

Description

technical field [0001] The invention belongs to the technical field of low-code programming, and in particular relates to a program generation method, device, device and medium based on a visualized low-code. Background technique [0002] Low-code development is an application development method, and a low-code development platform is a development platform that can quickly build application systems without coding or using a small amount of code. With low-code development, developers are able to create web and mobile applications through a graphical user interface, using drag-and-drop components and model-driven logic. [0003] In recent years, visual low-code programming support has developed rapidly, and its core is an algorithm that configures graphics generated by visualization tools to generate code. At present, it is mostly used in MIS software that does not require high algorithm flexibility, and the configuration content is mainly business processing, data analysis ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F8/34G06F8/38
CPCG06F8/34G06F8/38
Inventor 梁靖唐瑞伯叶倩雯李林颖颜勇周莉
Owner 上海交通大学四川研究院