A method, medium, device and apparatus using graphical development
The graphical development method simplifies the writing process of SQL statements. Users can complete program task development by dragging and configuring components, which solves the problem of low development efficiency caused by the complexity of writing SQL statements and achieves an intuitive development experience and efficient development. process.
Patent Information
- Application Number
- CN201910299903.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-04-15
- Publication Date
- 2024-09-20
- Estimated Expiration
- 2039-04-15
AI Technical Summary
In the existing technology, using SQL statements for program development requires mastering complex syntax. As a result, developers who are exposed to the SQL language for the first time need to spend more time learning, which affects development efficiency.
Using a graphical development method, the operators that implement component functions are encapsulated in DAG components, displaying visual DAG components to users, receiving user selections and establishing connection relationships, generating DAG component diagrams, and through parameter configuration and real-time verification and path Calculation and other steps to simplify the development process.
Through the graphical development model, users do not need to pay attention to specific instructions and syntax, and can intuitively understand the logical association of components, improve development efficiency, reduce learning costs, and reduce subsequent maintenance costs.
Smart Images

Figure CN111831272B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of computer program development, and in particular to a method, medium, equipment and device using graphical development. Background Art
[0002] SQL, or Structured Query Language, is a database query and programming language used to access data as well as query, update, and manage relational database systems. It is also the extension of database script files.
[0003] In the prior art, when using SQL statements for program development, the development method is to write SQL statements or edit SQL scripts in text.
[0004] In the current development method, developers must be familiar with the specific syntax of SQL. For developers who are new to SQL, learning and becoming familiar with a new SQL syntax requires a certain amount of learning and time, which affects development efficiency. Summary of the invention
[0005] The technical problem to be solved by the present invention is that the above-mentioned editing of SQL statements in command line or text mode requires mastering the grammatical content, which affects the efficiency of program development.
[0006] The present invention solves the above technical problems. An embodiment of the present invention provides a method for graphical development, comprising:
[0007] Encapsulate the operators that implement component functions and the names of other DAG components that can be connected in each DAG component;
[0008] Display multiple DAG components to users in a visual way;
[0009] A user selection of multiple DAG components is received, and a connection relationship between the DAG components is established according to the function of each DAG component and the components allowed to be connected, so as to generate a DAG component graph.
[0010] Preferably, the packaged content also includes: one or more parameter or attribute configuration items;
[0011] The process of receiving the DAG component selected by the user further includes:
[0012] For the DAG component selected by the user, display a parameter or property configuration panel;
[0013] Receive the configuration parameters or attribute data entered by the user and verify in real time whether they are correct.
[0014] Preferably, it also includes:
[0015] On the connection relationship, each time a DAG component is added, after the connection relationship changes, the correctness of the front path of the newly added DAG component is verified; the front path includes each DAG component on the connection relationship and the formed path;
[0016] Or, click any DAG component to verify the path correctness of the DAG components before it.
[0017] Preferably, the verification process includes: checking the correctness of one or more input and output field lists and types of each DAG component.
[0018] Preferably, the method further includes: selecting multiple DAG components on the connection relationship formed by the established multiple DAG components, and saving them as a callable template.
[0019] Preferably, after generating the component graph, the method further includes: analyzing the code relationship of the DAG component graph.
[0020] Preferably, the analysis process includes:
[0021] Decomposing the connection relationship formed by each DAG component and the connection line into a data structure;
[0022] Split the decomposed data structure into multiple logical operators according to the composition of the statement;
[0023] The split multiple logical operators generate corresponding statement codes.
[0024] Preferably, after generating the dependent statement codes, the method further includes: receiving a switching instruction, performing an inverse operation on the analysis process, and forming the DAG component diagram.
[0025] An embodiment of the present invention further provides a computer-readable storage medium storing a computer program, which implements the above method steps when executed by a processor.
[0026] An embodiment of the present invention further provides a computer device installed with the above-mentioned computer storage medium.
[0027] An embodiment of the present invention further provides a graphical development device, comprising:
[0028] The encapsulation module is used to encapsulate the operators that implement component functions and the names of other DAG components that can be connected in each DAG component;
[0029] The display module is used to display multiple DAG components to users in a visualized manner;
[0030] The graphic module is used to receive a user's selection of multiple DAG components, and to establish a connection relationship between the DAG components according to the function of each DAG component and the components allowed to be connected, so as to generate a DAG component graph.
[0031] Preferably, the packaged content also includes: one or more parameter or attribute configuration items;
[0032] The graphic module is further connected to a parameter verification module for displaying a parameter or property configuration panel for the DAG component selected by the user;
[0033] Receive the configuration parameters or attribute data entered by the user and verify in real time whether they are correct.
[0034] Preferably, the graphic module is further connected to a verification module, which is used to verify the correctness of the front path of the newly added DAG component after the connection relationship changes each time a DAG component is added to the connection relationship; the front path includes each DAG component on the connection relationship and the formed path;
[0035] Or, click any DAG component to verify the path correctness of the DAG components before it.
[0036] Preferably, the graphic module is further connected to a template module for selecting multiple DAG components on the connection relationship formed by the established multiple DAG components and saving them as a callable template.
[0037] Preferably, the graphic module is also connected to an analysis module, including:
[0038] A first submodule is used to decompose the connection relationship formed by each DAG component and the connection line into a data structure;
[0039] The second submodule is used to split the decomposed data structure into multiple logical operators according to the composition of the statement;
[0040] The third submodule is used to generate corresponding statement codes for the multiple logical operators after the splitting.
[0041] Preferably, the analysis module is also connected to a conversion module for receiving a switching instruction and performing an inverse operation on the analysis process to form the DAG component graph.
[0042] Through the above-mentioned embodiments, operators that implement corresponding component functions with code are encapsulated into DAG components, and the software development process is displayed in a graphical way, which simplifies the user's development process. Users do not need to pay attention to the expression of each specific instruction and the grammatical relationship. This development mode abstracts and encapsulates the operators of the code into visual and configurable front-end components, which is more intuitive and easy for users to understand. The logical associations between various DAG components are abstracted into lines. Users only need to understand the processing capabilities of DAG components, and they can complete program task development by dragging and dropping and configuring components. Even new users without language foundation do not need to care about the underlying grammar. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 is a flow chart of a method according to an embodiment of the present invention;
[0044] Figure 2 A schematic diagram of an interface for parameter configuration in an embodiment of the present invention;
[0045] Figure 3 A DAG component diagram according to an embodiment of the present invention;
[0046] Figure 4 Schematic diagram of the verification process of an embodiment of the present invention;
[0047] Figure 5 A schematic diagram of the layer structure conversion between DAG components and SQL codes in an embodiment of the present invention;
[0048] Figure 6 Another DAG component diagram of an embodiment of the present invention;
[0049] Figure 7 are three decomposed sub-graphs in the embodiment of the present invention;
[0050] Figure 8 Module block diagram of the device structure of an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0052] The embodiments of the present invention are described in detail below with reference to the accompanying drawings. Figure 1 , embodiments of the present invention include:
[0053] S11: Encapsulate the operator that implements the component function and the names of other DAG components that are allowed to be connected in each DAG component;
[0054] S12: Display multiple DAG components visualized to the user;
[0055] S13: receiving a user's selection of multiple DAG components, and the user establishing connection relationships between the DAG components according to the function of each DAG component and the components allowed to be connected, and generating a DAG component graph. The user can select one or more DAG components by dragging.
[0056] Through the above steps, operators that implement corresponding component functions with code are encapsulated into DAG components, and the software development process is displayed in a graphical way, which simplifies the user's development process. Users do not need to pay attention to the expression of each specific instruction and the grammatical relationship. This development model abstracts and encapsulates the operators of the code into visual and configurable front-end components, which is more intuitive and easy for users to understand. The logical associations between various DAG components are abstracted into connections. Users only need to understand the processing capabilities of DAG components, and they can complete program task development by dragging and dropping and configuring components. Even new users do not need to care about the underlying syntax.
[0057] The DAG development mode is more in line with the user's thinking habits. In DAG mode development, users can arrange components and their relationships in order according to their thinking habits to express the processing process of a program task. They need to list an example related to the business logic. The DAG component diagram actually reflects the processing flow of data. For complex data processing processes, the drag-and-drop and configurable editing methods can also make the expression process more intuitive. At the same time, the DAG-based editing mode can also effectively reduce subsequent development and maintenance costs. The software process framework can be built more quickly, thereby effectively improving efficiency.
[0058] The method of the present invention can be applied to development programs in multiple languages, such as SQL language, Scala language, etc. Each language has its own supported operators, and the operators can be described by code. One or more operators can be encapsulated to implement the functions of the component. For stream computing and graph computing, both can be implemented according to this scheme. In the embodiment of the present invention, SQL language is used as an example for explanation.
[0059] Preferably, in the above embodiment, the packaged content also includes: one or more parameter or attribute configuration items;
[0060] The process of receiving the DAG component selected by the user further includes:
[0061] For the DAG component selected by the user, display a parameter or property configuration panel;
[0062] Receive the configuration parameters or attribute data entered by the user and verify in real time whether they are correct.
[0063] Each DAG component function has a configurable parameter range or attribute configuration range. If the value configured by the user exceeds the range, a pop-up window will pop up to the user after comparing the values. Figure 2 As shown, compared with the existing solution, which requires all codes to be completed and configuration errors to be seen in the later compilation process, this embodiment can find configuration errors during the software development process, thereby improving the accuracy of the code.
[0064] Preferably, it also includes:
[0065] In the connection relationship, each time a DAG component is added, the connection relationship of the DAG component changes, and the correctness of the front path of the newly added DAG component is verified; the front path includes each DAG component in the connection relationship and the formed path. Figure 3 As shown in the figure, based on the TT component, the user drags the GroupBy component and connects it with a line. After the connection, the TT before the GroupBy component node will be detected in time to see if the path formed is correct. The schema can be used for verification. The connection formed by the TT component and the GroupBy component can also be a subgraph, forming a separate SQL statement.
[0066] Through the above real-time inspection, the DAG visualization component standardizes the use of operators, such as the upstream and downstream of components, what components can be connected, what kind of content is allowed to be configured in attribute configuration items, which fields can be used, etc., which are strictly standardized, reducing the possibility of processing logic errors. Even if the user configuration is wrong, it can be prompted in real time. It is convenient for users to check whether the connected components and connection relationships are correct in real time during each DAG component connection process.
[0067] Preferably, when a user clicks a certain node, such as a select node, the system will verify the path before the node, the correctness of TT-GroupBy-filter-select, and use this path and node as a task to verify whether the formed path and node are correct, and use a method such as schema calculation to verify the correctness of this path and node. This improves the debugging capability of the implementation.
[0068] Preferably, when using schema real-time verification, there is a connection action between components, or when component configuration is completed or modified, the following process is triggered: Figure 4 ,include:
[0069] S21: Check the correctness of the wiring of each component from top to bottom;
[0070] 211 Check the component types that are allowed to be connected downstream of each component (belongs to the implicit configuration of the component);
[0071] 212 The check fails, prompting a connection error, and the check is terminated;
[0072] S22, check the correctness of each component parameter configuration;
[0073] 221 Check whether the configuration parameters of the component comply with the parameter rules, such as whether the parameter type (integer, string), whether it is allowed to be empty, etc.
[0074] 222 Check that the fields referenced in the configuration items and configuration expressions must come from the output fields of the upstream component. For example, if the upstream source table component outputs two fields, aa and bb, the expression configured in the downstream Select component cannot reference fields with names other than aa and bb;
[0075] S23, calculate the output schema of each component;
[0076] 231 When the connection and parameter configuration check pass, the output shcema is calculated;
[0077] 232 The schema mainly includes the component's output field list and field type (such as: aa String, bbString);
[0078] 233The schema output by the upstream component is the schema input by the downstream component;
[0079] 234Each component has a fixed schema inference logic, and the parsing methods of different components may be different. For example, the Select component obtains the output field by parsing the parameter expression: the schema of the upstream input is a String, b String, the selectFields of the Select component is configured as aa as a, max(bb)as b, and the output schema is parsed through expression parsing (SQL parsing tools can be used): aa String, bb String; for the Join component: assuming that of the two upstream inputs, one output schema is aa String, bb String, and the other input is cc String, dd String, then the input schema of the Join component is the collection of the two upstream schemas: aa String, bb String, cc String, dd String. Through such verification, it can be concluded whether the logic of the entire SQL is correct. When the check of each DAG component node fails, the check of the DAG component graph is terminated, and the node configuration error information is output. This improves the error correction capability of the code.
[0080] Preferably, in order to facilitate the user to develop software more conveniently and improve efficiency, on the connection relationship formed by multiple DAG components that have been established, multiple partial DAG components that have formed a connection relationship can be selected, and the selected multiple DAG components can be saved as a template. When editing again later, this template can be directly dragged and added to the entire developed software. The template content includes some common configuration properties of the component (such as table connection information, table field information, expression information, etc.) and the connection between components. This forms a rapid reuse of the code and improves the development efficiency of the soft shell.
[0081] Preferably, the component relationship diagram formed by the DAG is analyzed to form the final code for compilation. The above analysis process is to decompose the components of the DAG component diagram into the final code, such as the SQL DAG component is finally decomposed into executable SQL code. An example of a specific decomposition process is described in detail below.
[0082] See also Figure 5 In the embodiment, it mainly includes the DAG component of the front end that forms the connection relationship after rendering, which is located in the first row of the figure.
[0083] In the decomposition process, we decompose from the first row of DAG components downwards. The first row of DAG components form a view of the connection relationship as follows: Figure 6 As shown in the figure, these DAG component graphs, after being decomposed, form a node list and an edge list, which constitute a json data body. json is a subset of the JavaScript object notation syntax. Each node stores the component type and the component parameters configured by the user in the component configuration panel, and the edge data stores the directed connection relationship between components. Figure 4 The view layer of the second row in .
[0084] After the view layer in the second row receives the DAG data body, it splits the DAG subgraph into multiple subgraphs. The purpose of the split is to make each subgraph eventually generate a separate SQL statement. The basis for the split is to determine whether the DAG component of each node needs to be disconnected (for example, the create view node in this example needs to be disconnected from the node after it to form an independent SQL expression statement). After the split, the following is formed: Figure 5 The content of the DAG abstract component layer in the third row is shown, that is, the abstract component layer.
[0085] The DAG abstract component layer splits the DAG component into three subgraphs. The three subgraphs after splitting are as follows: Figure 6 As shown. Figure 5 The contents in the three dotted boxes in the third row of the figure. During the transmission process of each layer above, the data structure of each layer of content will be adjusted accordingly.
[0086] After the abstract component layer receives the data from the view layer, it further decomposes the content to obtain the content of the basic logic operator layer, such as Figure 5 As shown in the fourth line of . Split the DAG component into one or more basic SQL operator structures (according to the functions encapsulated by the DAG component), as follows Figure 5 or Figure 6 The GroupBy component can be split into a GroupBy operator and a Select operator.
[0087] The basic logic operator layer traverses the logical operator subgraphs parsed and split by the abstract component layer in turn, and generates the corresponding SQL code.
[0088] For example, the GroupBy component can be split into a GroupBy operator and a Select operator. The generated statement is: CREATE VIEW view_4cc AS SELECT aa, max(bb) AS bb FROM AA GROUP BY aa;
[0089] The subgraph corresponding to the GroupBy component is Figure 7 The left child Figure 1 , the middle is the child Figure 2 , the right side is the child Figure 4 . Figure 5 In the basic logic operator layer, the middle component corresponds to Figure 7 The child Figure 2 , the components on the right correspond to Figure 5 The child Figure 3 .
[0090] The basic logic operator layer Figure 2 Generated SQL and sub Figure 3 The generated SQL are as follows:
[0091] son Figure 2 The generated SQL statement code:
[0092] SELECT aa, bb FROM view_4cc WHERE aa>0 and aa<100;
[0093] son Figure 3 The generated SQL statement code:
[0094] SELECT aa,bb FROM view_4cc WHERE aa>100
[0095] Through the above steps, the DAG graph code is realized, which is convenient for engineers to further debug and compile the code.
[0096] In the above process, if the user needs to switch from the code state to the DAG component view mode, he can switch from the code line window to the DAG view mode by clicking the switch button. At this time, the DAG view is converted according to the inverse operation of the above code analysis process. Taking SQL language as an example, the specific process is as follows:
[0097] The action of executing SQL to switch to DAG triggers the following process:
[0098] The basic logic operator layer receives the SQL text content edited by the SQL layer, uses the SQL parsing tool to parse the SQL text content into an AST syntax tree, traverses and parses the AST syntax tree to generate the defined basic operator DAG data structure. The AST syntax tree can be traversed using existing SQL tools, and each individual SQL statement can be parsed into an independent logic operator DAG structure according to the final encapsulated function;
[0099] The abstract component layer encapsulates one or more logical operators into abstract components according to the abstract component encapsulation requirements, and finally outputs the abstract component DAG data structure; for example, in this example: based on the common grammatical features, the groupBy operator must be used in conjunction with the select operator, because it can be combined into the GroupBy abstract component. In this example, three independent logical component DAG structures are finally output, such as Figure 5 The components in the upper dashed box are shown.
[0100] The DAG view layer merges the three independent logical component DAG structures into one independent DAG structure. The principle of merging is to find the input-output association between the subgraphs. For example Figure 6 , Figure 7 The CreateView node in the final output is a view named view_4cc. Figure 2 ,son Figure 3 The first node reads data from the source named view_4cc, which can determine the child Figure 2 ,son Figure 3 With the child Figure 1 There was data association before, for the child Figure 1 The downstream subgraph of . The three subgraphs are merged to form a complete DAG data structure, such as Figure 5 The graph structure in the complete DAG view layer in . Encapsulated components can be encapsulated according to different component functions, such as data processing or data query classification, database definition / computing engine object encapsulation, or database management permissions.
[0101] The front end receives the complete DAG graph data structure and renders it into a visual DAG editing graph, forming the following Figure 6The form shown.
[0102] Preferably, an embodiment of the present invention provides a computer-readable storage medium, and the steps in the above embodiments can be stored in a computer medium in the form of program code. When the program is executed by a processor, the method in the above embodiments is implemented.
[0103] Preferably, an embodiment of the present invention provides a computer device installed with the above-mentioned computer storage medium, such as a server for providing downloading of the above-mentioned code software, or a computer for reading the above-mentioned medium.
[0104] Preferably, an embodiment of the present invention further provides a graphical development device, comprising:
[0105] The encapsulation module is used to encapsulate the operators that implement component functions and the names of other DAG components that can be connected in each DAG component;
[0106] The display module is used to display multiple DAG components to users in a visualized manner;
[0107] The graphic module is used to receive a user's selection of multiple DAG components, and the user establishes a connection relationship between each DAG component according to the function of each DAG component and the components allowed to be connected, so as to generate a DAG component graph.
[0108] Preferably, the packaged content also includes: one or more parameter or attribute configuration items;
[0109] The graphic module is further connected to a parameter verification module for displaying a parameter or property configuration panel for the DAG component selected by the user;
[0110] Receive the configuration parameters or attribute data entered by the user and verify in real time whether they are correct.
[0111] Preferably, the graphic module is further connected to a verification module, which is used to verify the correctness of the front path of the newly added DAG component after the connection relationship changes each time a DAG component is added to the connection relationship; the front path includes each DAG component on the connection relationship and the formed path;
[0112] Or, click any DAG component to verify the path correctness of the DAG components before it.
[0113] Preferably, the graphic module is further connected to a template module for selecting multiple DAG components on the connection relationship formed by the established multiple DAG components and saving them as a callable template.
[0114] Preferably, the graphic module is also connected to an analysis module, including:
[0115] A first submodule is used to decompose the connection relationship formed by each DAG component and the connection line into a data structure;
[0116] The second submodule is used to split the decomposed data structure into multiple logical operators according to the composition of the statement;
[0117] The third submodule is used to generate corresponding statement codes for the multiple logical operators after the splitting.
[0118] Preferably, the analysis module is also connected to a conversion module for receiving a switching instruction and performing an inverse operation on the analysis process to form the DAG component graph.
[0119] The apparatus in the above embodiments may be integrated into various computer devices or storage media to implement various method steps in the embodiments.
[0120] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0121] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0122] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0123] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0124] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.
Claims
1. A graphical development method, It is characterized in that Applications in SQL language development, including: Encapsulate the operators that implement component functions and the names of other DAG components that can be connected in each DAG component; Display multiple DAG components to users in a visual way; Receiving a user's selection of multiple DAG components, and establishing connection relationships between the DAG components according to the function of each DAG component and the DAG components allowed to be connected, to generate a DAG component graph; After the DAG component diagram is generated, the following steps are also included: Analyze the code relationship of the DAG component graph and generate SQL code; Receiving a switching instruction, and performing an inverse operation on the analysis process to form the DAG component graph; The analysis process includes: Decomposing the connection relationship formed by each DAG component and the connection line into a data structure; Split the decomposed data structure into multiple logical operators according to the composition of the statement; The split multiple logical operators generate corresponding statement codes; The packaged content also includes: one or more parameter or attribute configuration items; The process of receiving the DAG component selected by the user further includes: For the DAG component selected by the user, display a parameter or property configuration panel; Receive the configuration parameters or attribute data entered by the user and verify in real time whether they are correct; Also includes: On the connection relationship, each time a DAG component is added, after the connection relationship changes, the correctness of the front path of the newly added DAG component is verified; the front path includes each DAG component on the connection relationship and the formed path; Or, click any DAG component to verify the path correctness of the DAG components before it.
2. The method according to claim 1, It is characterized in that The verification process includes: checking the correctness of one or more input and output field lists and types of each DAG component.
3. The method according to claim 1, It is characterized in that Also includes: In the connection relationship formed by multiple DAG components that have been established, select multiple DAG components and save them as a callable template.
4. A computer-readable storage medium, It is characterized in that A computer program is stored, and when the program is executed by a processor, the method described in any one of claims 1 to 3 is implemented.
5. A computer device, It is characterized in that The computer-readable storage medium according to claim 4 is installed.
6. A graphical development device, It is characterized in that include: The encapsulation module is used to encapsulate the operators that implement component functions and the names of other DAG components that can be connected in each DAG component; The display module is used to display multiple DAG components to users in a visualized manner; A graphics module, used to receive a user's selection of multiple DAG components, and to establish a connection relationship between the DAG components according to the function of each DAG component and the DAG components allowed to be connected, so as to generate a DAG component graph; The graphic module is also connected to an analysis module, which is used to analyze the code relationship of the DAG component graph and generate SQL code; The analysis module is also connected to a conversion module, and the conversion module is used to receive a switching instruction and perform an inverse operation on the analysis process to form the DAG component graph; The analysis module comprises: A first submodule is used to decompose the connection relationship formed by each DAG component and the connection line into a data structure; The second submodule is used to split the decomposed data structure into multiple logical operators according to the composition of the statement; The third submodule is used for generating corresponding statement codes for the split multiple logical operators; The packaged content also includes: one or more parameter or attribute configuration items; The graphic module is further connected to a parameter verification module for displaying a parameter or property configuration panel for the DAG component selected by the user; Receive the configuration parameters or attribute data entered by the user and verify in real time whether they are correct; The graphic module is further connected to a verification module, which is used to verify the correctness of the front path of the newly added DAG component after the connection relationship changes each time a DAG component is added to the connection relationship; the front path includes each DAG component on the connection relationship and the formed path; Or, click any DAG component to verify the path correctness of the DAG components before it.
7. The device according to claim 6, It is characterized in that The graphic module is also connected to a template module, which is used to select multiple DAG components on the connection relationship formed by the established multiple DAG components and save them as a callable template.
