Code generation method and device, computer equipment and storage medium

By providing code generation methods in the financial business system, using the node configuration interface and code generator to automatically generate and test workflow node code, the problems of inefficient manual coding and difficulty in ensuring accuracy are solved, and efficient and accurate code generation and simplified development process are achieved.

CN119597278APending Publication Date: 2025-03-11PING AN BANK CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202411506335.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-25
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The node code generation method of workflow nodes in existing financial business systems mainly relies on the manual encoding of developers, resulting in inefficiency and difficulty in ensuring accuracy.

Method used

Provide a code generation method, by displaying a preset node configuration interface, receiving users add target workflow nodes and input node configuration data to the interface, calling node code generator to generate target node code, and testing the code based on test strategy.

Benefits of technology

It improves the code generation efficiency of target nodes of target workflow nodes, ensures the accuracy of code, simplifies the development process, and allows developers to focus more on the implementation of business logic, thereby improving work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119597278A_ABST
    Figure CN119597278A_ABST
Patent Text Reader

Abstract

The invention belongs to the field of data processing and financial science and technology, and relates to a code generation method and device, computer equipment and a storage medium, and the method comprises the steps: judging whether a node code generation request triggered by a user is received or not; if yes, displaying a preset node configuration interface; receiving a target workflow node added by a user in the node configuration interface in a dragging mode, and receiving node configuration data input by the user in a configuration form corresponding to the target workflow node; calling a preset node code generator; performing code generation processing on the node configuration data based on a node code generator to obtain a target node code corresponding to the target workflow node; testing the target node code based on a preset test strategy; and if the target node code passes the test, returning the target node code to the user. In addition, the standard node code can be stored in the block chain. According to the method, the generation efficiency and accuracy of the node codes of the workflow nodes are effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the fields of data processing technology and financial technology, and in particular to code generation methods, devices, computer equipment and storage media. Background Art

[0002] With the rapid development of the financial industry, the complexity and diversity of business systems are increasing, which puts higher requirements on the efficiency, accuracy and scalability of the system. In the business system of the financial field, workflow plays a vital role as the core mechanism for managing complex business processes. Workflow defines a series of interrelated task nodes and executes them in a preset logical order to handle various processes in financial business in an automated or semi-automated manner, such as loan approval, transaction settlement, risk management, etc.

[0003] However, in existing financial business systems, the generation of node codes (i.e., code segments that implement specific business logic) of workflow nodes mainly relies on manual coding by developers. This processing method has the following problems:

[0004] Inefficiency: Manual coding requires developers to have a deep understanding of business requirements, system architecture, programming languages, and other aspects of knowledge. It is not only time-consuming, but also particularly inefficient when facing large-scale or complex workflows. In addition, as business requirements continue to change, frequent manual modifications and testing further increase the time cost.

[0005] Accuracy is difficult to guarantee: In the manual coding process, human factors are difficult to avoid, such as misunderstanding, input errors, etc., which may lead to defects in the generated code, thus affecting the stability and accuracy of the entire business system. Especially in the financial field, any small error may cause significant economic losses or reputation risks. Summary of the invention

[0006] The purpose of the embodiments of the present application is to propose a code generation method, apparatus, computer device and storage medium to solve the technical problem that the existing node code generation method of workflow nodes mainly relies on manual coding by developers, which is inefficient and difficult to ensure accuracy.

[0007] In order to solve the above technical problems, the embodiment of the present application provides a code generation method, which adopts the following technical solution:

[0008] Determine whether a node code generation request triggered by a user is received;

[0009] If yes, display the preset node configuration interface;

[0010] receiving a target workflow node added by the user in the node configuration interface by dragging and dropping, and receiving node configuration data input by the user in a configuration form corresponding to the target workflow node;

[0011] Call the preset node code generator;

[0012] Performing code generation processing on the node configuration data based on the node code generator to obtain a target node code corresponding to the target workflow node;

[0013] Testing the target node code based on a preset test strategy;

[0014] If the target node code passes the test, the target node code is returned to the user.

[0015] Furthermore, the step of performing code generation processing on the node configuration data based on the node code generator to obtain a target node code corresponding to the target workflow node specifically includes:

[0016] Based on the node code generator, the request parameter and the return parameter are obtained from the node configuration information, and corresponding class file codes are generated based on the request parameter and the return parameter;

[0017] Obtaining a request header from the node configuration information, and generating a corresponding encapsulation code based on the request parameters and the request header;

[0018] Obtaining a service URL and a request method from the node configuration information, and generating a corresponding service call code based on the service URL and the request method;

[0019] Generate a mapping code corresponding to the class file code based on the return parameter;

[0020] Acquire table information from the node configuration information, and generate corresponding operation codes based on the table information;

[0021] Acquire retry mechanism information from the node configuration information, and generate a corresponding retry code based on the retry mechanism information;

[0022] The target node code is generated based on the class file code, the encapsulation code, the service call code, the mapping code, the operation code, and the retry code.

[0023] Further, the step of obtaining the retry mechanism information from the node configuration information and generating a corresponding retry code based on the retry mechanism information specifically includes:

[0024] Call the preset processing library;

[0025] Based on the processing library, the retry mechanism information is packaged with retry logic to obtain corresponding target retry logic;

[0026] Obtaining the service calling code;

[0027] Integrate the target retry logic into the service call code to obtain the corresponding processing code;

[0028] The processing code is used as the retry code.

[0029] Furthermore, the step of testing the target node code based on a preset test strategy specifically includes:

[0030] Get the preset unit test strategy and integration test strategy;

[0031] Performing unit testing on the target node code based on the unit testing strategy;

[0032] If the target node code passes the unit test, then performing an integration test on the target node code based on the integration test strategy;

[0033] If the target node code passes the integration test, it is determined that the target node code passes the test; otherwise, it is determined that the target node code fails the test.

[0034] Furthermore, the node code generation request also carries the user information of the user; the step of displaying the preset node configuration interface specifically includes:

[0035] Extracting the user information from the node code generation request;

[0036] Determining a target role corresponding to the user based on the user information;

[0037] Get the target permissions for the target role;

[0038] Determining whether the target permissions include a specified operation permission corresponding to a node code generation operation;

[0039] If so, determine that the user has passed the authority verification, and execute the step of displaying the preset node configuration interface.

[0040] Further, after the step of returning the target node code to the user, the method further includes:

[0041] Acquire a code storage strategy corresponding to the target node code;

[0042] Determining a designated storage method corresponding to the target node code;

[0043] Calling a designated storage medium corresponding to the designated storage method;

[0044] The target node code is stored based on the code storage strategy and the designated storage medium.

[0045] Furthermore, the code generation method further includes:

[0046] Collecting feedback information of a specified user on the node code generator based on a preset collection method;

[0047] generating a corresponding optimization strategy based on the feedback information;

[0048] Optimizing the node code generator based on the optimization strategy to obtain a corresponding target node code generator;

[0049] The target node code generator is stored.

[0050] In order to solve the above technical problems, the embodiment of the present application further provides a code generation device, which adopts the following technical solution:

[0051] A judgment module, used to judge whether a node code generation request triggered by a user is received;

[0052] A display module is used to display the preset node configuration interface if yes;

[0053] A receiving module, configured to receive a target workflow node added by the user in the node configuration interface by dragging and dropping, and receive node configuration data input by the user in a configuration form corresponding to the target workflow node;

[0054] A first calling module is used to call a preset node code generator;

[0055] A first generating module, configured to perform code generation processing on the node configuration data based on the node code generator to obtain a target node code corresponding to the target workflow node;

[0056] A test module, used to test the target node code based on a preset test strategy;

[0057] The return module is used to return the target node code to the user if the target node code passes the test.

[0058] In order to solve the above technical problems, the embodiment of the present application further provides a computer device, which adopts the following technical solution:

[0059] Determine whether a node code generation request triggered by a user is received;

[0060] If yes, display the preset node configuration interface;

[0061] receiving a target workflow node added by the user in the node configuration interface by dragging and dropping, and receiving node configuration data input by the user in a configuration form corresponding to the target workflow node;

[0062] Call the preset node code generator;

[0063] Performing code generation processing on the node configuration data based on the node code generator to obtain a target node code corresponding to the target workflow node;

[0064] Testing the target node code based on a preset test strategy;

[0065] If the target node code passes the test, the target node code is returned to the user.

[0066] In order to solve the above technical problems, the embodiment of the present application further provides a computer-readable storage medium, which adopts the following technical solution:

[0067] Determine whether a node code generation request triggered by a user is received;

[0068] If yes, display the preset node configuration interface;

[0069] receiving a target workflow node added by the user in the node configuration interface by dragging and dropping, and receiving node configuration data input by the user in a configuration form corresponding to the target workflow node;

[0070] Call the preset node code generator;

[0071] Performing code generation processing on the node configuration data based on the node code generator to obtain a target node code corresponding to the target workflow node;

[0072] Testing the target node code based on a preset test strategy;

[0073] If the target node code passes the test, the target node code is returned to the user.

[0074] Compared with the prior art, the embodiments of the present application have the following beneficial effects:

[0075] This application first determines whether a node code generation request triggered by a user is received; if so, a preset node configuration interface is displayed; then the target workflow node added by the user in the node configuration interface by dragging and dropping is received, and the node configuration data entered by the user in the configuration form corresponding to the target workflow node is received; then a preset node code generator is called; subsequently, code generation processing is performed on the node configuration data based on the node code generator to obtain a target node code corresponding to the target workflow node; further, the target node code is tested based on a preset test strategy; if the target node code passes the test, the target node code is returned to the user. Through this application, the user only needs to input the node configuration data according to his own needs when adding the target workflow node in the node configuration interface, and the target node code that can be applied to the target workflow node that is matched with the node configuration data can be automatically generated based on the use of the node code generator, which effectively improves the generation efficiency of the target node code of the target workflow node, ensures the accuracy of the generated target node code, and effectively simplifies the development process, and allows developers to focus more on the implementation of business logic, thereby helping to improve the work efficiency of developers. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] In order to more clearly illustrate the scheme in the present application, a brief introduction is given below to the drawings required for use in the description of the embodiments of the present application. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0077] Figure 1 is an exemplary system architecture diagram to which the present application may be applied;

[0078] Figure 2 A flowchart of an embodiment of a code generation method according to the present application;

[0079] Figure 3 is a structural schematic diagram of an embodiment of a code generation device according to the present application;

[0080] Figure 4 It is a structural diagram of an embodiment of a computer device according to the present application. DETAILED DESCRIPTION

[0081] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0082] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0083] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0084] like Figure 1 As shown, the system architecture 100 may include a terminal device 101, a network 102 and a server 103. The terminal device 101 may be a laptop 1011, a tablet computer 1012 or a mobile phone 1013. The network 102 is used to provide a medium for a communication link between the terminal device 101 and the server 103. The network 102 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0085] The user can use the terminal device 101 to interact with the server 103 through the network 102 to receive or send messages, etc. Various communication client applications can be installed on the terminal device 101, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0086] The terminal device 101 can be any electronic device with a display screen and supporting web browsing. In addition to the laptop computer 1011, tablet computer 1012 or mobile phone 1013, the terminal device 101 can also be an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 (Moving Picture Experts Group Audio Layer IV), a laptop computer, a desktop computer, etc.

[0087] The server 103 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal device 101 .

[0088] It should be noted that the code generation method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the code generation device is generally arranged in the server / terminal device.

[0089] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0090] Continue to refer Figure 2 , shows a flow chart of an embodiment of the code generation method according to the present application. According to different requirements, the order of the steps in the flow chart can be changed, and some steps can be omitted. The code generation method provided in the embodiment of the present application can be applied to any scenario where code generation is required, and the code generation method can be applied to products in these scenarios, for example, node code generation of financial workflow nodes in the financial insurance field. The code generation method comprises the following steps:

[0091] Step S201, determining whether a node code generation request triggered by a user is received.

[0092] In this embodiment, the electronic device (eg Figure 1The server / terminal device shown in the figure) can obtain the node code generation request through a wired connection or a wireless connection. It should be pointed out that the above-mentioned wireless connection method may include but is not limited to 3G / 4G / 5G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future. The executor of the present application may specifically be a business process management system, or simply referred to as a system, which has the function of automatically generating node codes for workflows. The above-mentioned node code generation request is a request triggered by a user in the system for generating a node code for a workflow node to be added. Various standard workflow node templates are pre-defined in the system, such as User Task, Service Task, etc., and configurable metadata fields are defined for each template. The metadata fields may at least include request parameters (defining the parameters that need to be passed when calling the service, including metadata information such as parameter name, type, and whether it is required), return parameters (defining the parameters that need to be parsed in the service response, including parameter name, type, etc.), service URL, request method, table information (for tasks that require database operations, define the database table name, field mapping relationship, etc., to facilitate subsequent data storage operations), retry mechanism configuration (defining the retry strategy when the service call fails, such as the maximum number of retries, retry interval, etc.), etc.

[0093] Among them, workflow node templates can be defined by writing XML templates. User Task template: used for tasks that require human participation. The template should contain attributes such as task name, handler, handler group, form reference, etc. Service Task template: used to execute automated service calls. The template can contain service type (such as HTTP service, Java Service, etc.), service URL, request method, request parameters, etc. In addition, each type of workflow node template should be designed to be configurable so that it can be displayed to users in a graphical interface for further configuration.

[0094] Step S202: If yes, display the preset node configuration interface.

[0095] In the present embodiment, the node configuration interface is a pre-built web-based graphical interface. A node dragging area and a toolbar are provided on the node configuration interface. Users can select different types of nodes through the toolbar and drag them to the canvas. For each node dragged to the canvas, a configuration form is provided. The fields of the form are dynamically generated according to the metadata fields defined in the node template, and the user can fill in or select the corresponding configuration information in the form. After the user fills in the form, the form data will be saved in the system's database for subsequent use in code generation. In addition, in the node configuration interface, a connecting line tool is provided, allowing the user to connect nodes by dragging to define the logical order of the process. The user can freely select the starting point and end point of the connecting line to indicate the dependency relationship between the nodes. In addition, the connection relationship between the nodes is also saved in the system database for the execution and monitoring of the subsequent process.

[0096] In addition, the specific implementation process of the above-mentioned display of the preset node configuration interface will be further described in detail in the subsequent specific embodiments of the present application, and will not be elaborated in detail here.

[0097] Step S203: receiving the target workflow node added by the user in the node configuration interface by dragging and dropping, and receiving the node configuration data input by the user in the configuration form corresponding to the target workflow node.

[0098] In this embodiment, the user can add the target workflow node by dragging and dropping in the node configuration interface according to the actual needs of the individual, and enter the node configuration data matching the target workflow node in the configuration form corresponding to the target workflow node. The node configuration data may include at least request parameters, return parameters, request header, service URL, request method, table information, retry mechanism information, etc.

[0099] Step S204, calling a preset node code generator.

[0100] In this embodiment, a node code generator is developed in advance, and the node code generator can parse the node configuration data in the system database. According to the node configuration data, the corresponding node code is automatically generated according to a preset template or rule. The generated node code includes but is not limited to class file code, service call code, operation code, etc.

[0101] Step S205: performing code generation processing on the node configuration data based on the node code generator to obtain a target node code corresponding to the target workflow node.

[0102] In this embodiment, the above-mentioned specific implementation process of performing code generation processing on the node configuration data based on the node code generator to obtain the target node code corresponding to the target workflow node will be described in further details in subsequent specific embodiments of the present application and will not be elaborated in detail here.

[0103] Step S206: testing the target node code based on a preset testing strategy.

[0104] In this embodiment, the specific implementation process of testing the target node code based on the preset test strategy will be further described in detail in subsequent specific embodiments of the present application, and will not be elaborated on here.

[0105] Step S207: If the target node code passes the test, the target node code is returned to the user.

[0106] In this embodiment, if the target node code passes the test, it indicates that the generated target node code is correct and stable, and then the target node code is returned to the user. The feedback processing of the target node code can be performed by SMS, email or interface display.

[0107] This application first determines whether a node code generation request triggered by a user is received; if so, a preset node configuration interface is displayed; then the target workflow node added by the user in the node configuration interface by dragging and dropping is received, and the node configuration data entered by the user in the configuration form corresponding to the target workflow node is received; then a preset node code generator is called; subsequently, code generation processing is performed on the node configuration data based on the node code generator to obtain a target node code corresponding to the target workflow node; further, the target node code is tested based on a preset test strategy; if the target node code passes the test, the target node code is returned to the user. Through this application, the user only needs to input the node configuration data according to his own needs when adding the target workflow node in the node configuration interface, and the target node code that can be applied to the target workflow node that is matched with the node configuration data can be automatically generated based on the use of the node code generator, which effectively improves the generation efficiency of the target node code of the target workflow node, ensures the accuracy of the generated target node code, and effectively simplifies the development process, and allows developers to focus more on the implementation of business logic, thereby helping to improve the work efficiency of developers.

[0108] In some optional implementations, step S205 includes the following steps:

[0109] Based on the node code generator, request parameters and return parameters are obtained from the node configuration information, and corresponding class file codes are generated based on the request parameters and the return parameters.

[0110] In this embodiment, the node code generator is a pre-developed code generation engine that can automatically generate corresponding node codes according to the node data configured in the graphical interface. The node code generator can parse the node configuration data in the node configuration interface and generate corresponding node codes according to the preset template or rules. Among them, the node configuration data may at least include the request parameters, return parameters, request header, service URL, request method, table information, retry mechanism information, etc. input by the user according to actual needs.

[0111] In addition, the corresponding DTO (Data Transfer Object) class, i.e. the above class file code, can be generated according to the request parameters and return parameters configured by the user. The specific implementation process of generating the class file code includes: obtaining the field name, type, and whether it is required and other information of the request and response from the node configuration interface. Then use the template engine or code generation library to generate the DTO class. And write the generated DTO class code to the specified file path.

[0112] A request header is obtained from the node configuration information, and a corresponding encapsulation code is generated based on the request parameters and the request header.

[0113] In this embodiment, the above encapsulation code refers to the code that encapsulates the request body. The specific implementation process of generating the encapsulation code includes: obtaining information such as the type and name of the request parameter. Then, according to the type of the request parameter (such as JSON, form data, etc.), use the corresponding tool library to build the request body. If the request header is configured, add these request headers when sending the request. The code snippet that encapsulates the request body is subsequently generated and inserted into the service call code.

[0114] The service URL and the request method are obtained from the node configuration information, and a corresponding service call code is generated based on the service URL and the request method.

[0115] In this embodiment, the service call code refers to the code for calling the backend service, including the service URL, request method, request body transmission, etc. The specific implementation process of generating the service call code includes: obtaining the service URL, request method (GET, POST, etc.), request body and other information from the node configuration interface. Then, select a suitable HTTP client library according to the requirements, and use the HTTP client library to generate the code for calling the backend service, including setting the request method, URL, request header, request body, etc.

[0116] A mapping code corresponding to the class file code is generated based on the return parameter.

[0117] In this embodiment, the above mapping code refers to the code that generates the parsed service response and maps it to the DTO according to the return parameter configuration. The specific implementation process of generating the mapping code includes: obtaining the type, name and other information of the return parameter. Then use the JSON parsing library to parse the response body and map it to the previously generated DTO class to obtain the corresponding mapping code. In addition, a check for the response status code can be added to handle possible error conditions.

[0118] Table information is obtained from the node configuration information, and a corresponding operation code is generated based on the table information.

[0119] In this embodiment, the above operation code refers to the code generated to save the returned information to the database according to the table information configuration, including SQL statements or ORM framework operation codes. The specific implementation process of generating the operation code includes: obtaining information such as table name, field name, field type, etc. from the node configuration interface. Then, according to the needs, a suitable ORM framework is selected, and then the API or SQL statement of the ORM framework is used to generate the code for saving data, that is, the above operation code is obtained.

[0120] Retry mechanism information is obtained from the node configuration information, and a corresponding retry code is generated based on the retry mechanism information.

[0121] In this embodiment, the specific implementation process of obtaining the retry mechanism information from the node configuration information and generating the corresponding retry code based on the retry mechanism information will be described in further detail in subsequent specific embodiments of the present application and will not be elaborated on here.

[0122] The target node code is generated based on the class file code, the encapsulation code, the service call code, the mapping code, the operation code, and the retry code.

[0123] In this embodiment, the class file code, the encapsulation code, the service call code, the mapping code, the operation code and the retry code can be integrated to obtain a corresponding integrated code, and the integrated code can be used as the above-mentioned target node code.

[0124] This application performs code generation processing on the node configuration data based on the use of a node code generator, and can realize automatic and intelligent generation of a full set of target node codes corresponding to the target workflow node, including class file code, encapsulation code, service call code, mapping code, operation code, and retry code from call to storage, effectively improving the generation efficiency of the target node code. Users only need to enter the node configuration data according to their own needs when adding the target workflow node. The subsequent use of the node code generator can realize automatic generation of target node codes that match the node configuration data and can be applied to the target workflow node, thereby effectively simplifying the development process, improving delivery efficiency, and allowing developers to focus more on the implementation of business logic.

[0125] In some optional implementations of this embodiment, the acquiring the retry mechanism information from the node configuration information and generating a corresponding retry code based on the retry mechanism information includes the following steps:

[0126] Recall a preset processing library.

[0127] In this embodiment, the processing library is specifically a retry library having a function of encapsulating retry logic.

[0128] The retry mechanism information is subjected to retry logic encapsulation processing based on the processing library to obtain corresponding target retry logic.

[0129] In this embodiment, the retry mechanism information may include information such as the number of retries and the retry interval.

[0130] Get the service calling code.

[0131] In this embodiment, the method for generating the above-mentioned service call code includes: obtaining a service URL and a request method from the node configuration information, and generating a corresponding service call code based on the service URL and the request method.

[0132] The target retry logic is integrated into the service calling code to obtain the corresponding processing code.

[0133] In this embodiment, by integrating the target retry logic into the service call code, code logic can be generated to handle request failures and automatically retry according to pre-configured retry mechanism information to ensure automatic retry when a request fails.

[0134] The processing code is used as the retry code.

[0135] The present application calls a preset processing library; then based on the processing library, the retry mechanism information is encapsulated with retry logic to obtain the corresponding target retry logic; then the service call code is obtained; subsequently, the target retry logic is integrated into the service call code to obtain the corresponding processing code, and the processing code is used as the retry code. The present application obtains the target retry logic by encapsulating the retry mechanism information with retry logic based on the use of a processing library, and then by integrating the target retry logic into the pre-generated service call code, it is possible to automatically and intelligently generate the retry code corresponding to the retry mechanism information, effectively improving the generation efficiency and intelligence of the retry code.

[0136] In some optional implementations, step S206 includes the following steps:

[0137] Get the preset unit test strategy and integration test strategy.

[0138] In this embodiment, the testing method of the above unit testing strategy includes: writing unit tests for the generated node code to test its logical correctness. Specifically, the test is written and run using a test framework with unit testing function to ensure that each test case can cover the key paths and boundary conditions of the code.

[0139] The testing method of the above integration testing strategy includes: deploying the entire target workflow process in the system and performing end-to-end testing. Then verifying whether all nodes execute as expected and generate correct results. Pay special attention to whether the interaction and data transfer between nodes are correct.

[0140] The target node code is unit tested based on the unit testing strategy.

[0141] In this embodiment, the target node code can be unit tested according to the test method of the above-mentioned unit test strategy, and a corresponding unit test result can be obtained. Among them, the above-mentioned unit test result includes that the target node code passes the unit test, or the target node code fails the unit test. In addition, if it is detected that the target node code fails the unit test, it is further determined that the target node code fails the test.

[0142] If the target node code passes the unit test, integration testing is performed on the target node code based on the integration testing strategy.

[0143] In this embodiment, the target node code can be integrated tested according to the test method of the above-mentioned integration test strategy and a corresponding integration test result can be obtained. The above-mentioned integration test result includes that the target node code passes the integration test, or that the target node code fails the integration test. In addition, if it is detected that the target node code fails the integration test, it is further determined that the target node code fails the test.

[0144] If the target node code passes the integration test, it is determined that the target node code passes the test; otherwise, it is determined that the target node code fails the test.

[0145] In this embodiment, only when it is detected that the target node code passes both the unit test and the integration test, will it be determined that the target node code passes the test; otherwise, it is determined that the target node code fails the test.

[0146] The present application obtains a preset unit test strategy and an integration test strategy; then performs a unit test on the target node code based on the unit test strategy; if the target node code passes the unit test, the target node code is integrated tested based on the integration test strategy; and if the target node code passes the integration test, the target node code is determined to have passed the test, otherwise the target node code is determined to have failed the test. The present application performs code generation processing on the node configuration data based on the node code generator to obtain the target node code corresponding to the target workflow node, and also intelligently combines the use of the unit test strategy and the integration test strategy to test the target node code to ensure the correctness and stability of the generated target node code. Moreover, only when it is detected that the target node code passes both the unit test and the integration test, will the target node code be determined to have passed the test, which effectively ensures the processing accuracy and processing standardization of the test processing of the target node code.

[0147] In some optional implementations, the node code generation request also carries the user information of the user; step S202 includes the following steps:

[0148] The user information is extracted from the node code generation request.

[0149] In this embodiment, when the user enters user information in the front-end interface of the business process management system and clicks the node code generation button, the front-end code constructs an HTTP request containing user information, namely the node code generation request, and sends it to the back-end service of the business process management system. The corresponding user information can be extracted by parsing the node code generation request. The user information can refer to the user's name information.

[0150] A target role corresponding to the user is determined based on the user information.

[0151] In this embodiment, for the enterprise, corresponding permissions and roles will be defined in advance for each enterprise employee in the enterprise. Specifically, define permissions: First, it is necessary to clearly indicate all possible business operation permissions in the enterprise. These business operation permissions can be subdivided into different levels according to business needs, such as module level, function level and data level. Each permission should have a unique identifier for easy management and control. Define roles: Define different roles according to the responsibilities and required permissions of enterprise employees. Each role can contain multiple permissions, which together constitute the scope of responsibilities of the role. Assign permissions to roles: Assign defined permissions to corresponding roles. By considering the responsibilities and required permissions of each role, ensure that each role has the minimum set of permissions required to complete its work, that is, follow the principle of least authority. Assign roles to users: Assign defined roles to corresponding users according to the actual positions and responsibilities of employees. In this way, each employee indirectly obtains the corresponding operation permissions through his role. Among them, the above-mentioned user information may include the user's name information. And there is a one-to-one correspondence between the name of each employee and the role. The role corresponding to the user, that is, the above-mentioned target role, can be queried by using the above-mentioned user information.

[0152] Gets the target permissions associated with the target role.

[0153] In this embodiment, the target permission can be obtained by querying all permissions owned by the target role.

[0154] It is determined whether the target permission includes a designated operation permission corresponding to the node code generation operation.

[0155] In this embodiment, permission analysis may be performed on all operation permissions included in the target permission to detect whether the specified operation permission corresponding to the node code generation operation is included in all the operation permissions.

[0156] If so, determine that the user has passed the authority verification, and execute the step of displaying the preset node configuration interface.

[0157] In this embodiment, if the target permissions include the specified operation permissions corresponding to the node code generation operation, it indicates that the user has the operation permissions to perform the node code generation operation, and it is determined that the user has passed the permission verification, and then the step of displaying the preset node configuration interface is performed. If the target permissions do not include the specified operation permissions corresponding to the node code generation operation, it indicates that the user does not have the operation permissions to perform the node code generation operation, and it is determined that the user has not passed the permission verification, and then the response processing of the code generation request will be restricted.

[0158] This application extracts the user information from the node code generation request; then determines the target role corresponding to the user based on the user information; then obtains the target authority corresponding to the target role; subsequently determines whether the target authority includes the specified operation authority corresponding to the node code generation operation; if so, determines that the user has passed the authority verification, and executes the step of displaying the preset node configuration interface, and so on. It effectively improves the processing intelligence and accuracy of the user's authority verification, and ensures the accuracy of the obtained authority verification result corresponding to the user. In addition, only when it is detected that the user has passed the authority verification, the prompt text construction model will be called to perform subsequent response processing on the node code generation request, which effectively ensures the processing intelligence and processing standardization of the node code generation request, and improves the response security of the node code generation request, and effectively avoids the situation where the processing of non-compliant node code generation requests leads to adverse consequences.

[0159] In some optional implementations of this embodiment, after step S207, the electronic device may further perform the following steps:

[0160] Obtain a code storage strategy corresponding to the target node code.

[0161] In this embodiment, the target storage strategy may specifically adopt storage strategies such as timed backup or cyclic overwriting to ensure that the generated target node code will not be lost due to insufficient storage space.

[0162] A designated storage method corresponding to the target node code is determined.

[0163] In this embodiment, the selection of the above-mentioned designated storage method is not specifically limited, and may include, for example, local database storage, cloud server storage, blockchain storage, etc. Blockchain storage is preferably used as the above-mentioned designated storage method. By using blockchain to store and manage the target node code, the security and non-tamperability of the target node code can be effectively guaranteed.

[0164] The designated storage medium corresponding to the designated storage mode is called.

[0165] In this embodiment, the above-mentioned designated storage medium is a storage medium that matches the designated storage method. Exemplarily, if the designated storage method is blockchain storage, the corresponding designated storage medium is blockchain.

[0166] The target node code is stored based on the code storage strategy and the designated storage medium.

[0167] In this embodiment, the target node code may be stored in the designated storage medium in the form of a code storage strategy, thereby completing the storage process of the target node code.

[0168] The present application obtains the code storage strategy corresponding to the target node code; then determines the designated storage method corresponding to the target node code; then calls the designated storage medium corresponding to the designated storage method; and subsequently stores the target node code based on the code storage strategy and the designated storage medium. After the present application performs code generation processing on the node configuration data based on the node code generator and obtains the target node code corresponding to the target workflow node, it will intelligently obtain the code storage strategy corresponding to the target node code, and call the designated storage medium matched with the designated storage method corresponding to the target node code, and then store the target node code based on the code storage strategy and the designated storage medium, thereby effectively ensuring the security of the target node code, and ensuring that the target node code will not be lost due to insufficient storage space, thereby improving the storage intelligence of the target node code.

[0169] In some optional implementations of this embodiment, the electronic device may further perform the following steps:

[0170] The feedback information of the designated user on the node code generator is collected based on a preset collection method.

[0171] In this embodiment, the collection method may include at least questionnaire survey, user interview, etc. The feedback information is specifically information provided by a designated user regarding the automatic code generation function of the node code generator, and may include, for example, issues regarding the ease of use, accuracy, efficiency, etc. of the node code generator.

[0172] A corresponding optimization strategy is generated based on the feedback information.

[0173] In this embodiment, the strategy content of the above-mentioned optimization strategy may include: paying attention to the problems and pain points that frequently appear in the feedback information, to match and modify and improve the templates, rules, logic, etc. of the node code generator, so as to solve the problems and pain points of the node code generator, and thereby continuously optimize the functions and performance of the node code generator.

[0174] The node code generator is optimized based on the optimization strategy to obtain a corresponding target node code generator.

[0175] In this embodiment, the node code generator may be optimized according to the policy content of the above optimization policy, so as to obtain an optimized target node code generator.

[0176] The target node code generator is stored.

[0177] In this embodiment, there is no specific limitation on the storage method selected for the storage processing of the target node code generator. For example, local database storage, cloud server storage, blockchain storage, etc. can be used. In addition, the node code generator can be updated regularly and the user can be notified to upgrade. During the upgrade process, backward compatibility should be maintained to avoid unnecessary impact on existing projects.

[0178] The present application collects the feedback information of the designated user on the node code generator based on a preset collection method; then generates a corresponding optimization strategy based on the feedback information; then optimizes the node code generator based on the optimization strategy to obtain the corresponding target node code generator; and subsequently stores and processes the target node code generator. The present application collects the feedback information of the designated user on the node code generator based on a preset collection method intelligently, and generates a corresponding optimization strategy based on the feedback information, and then optimizes the node code generator based on the optimization strategy, thereby realizing the function and performance of the optimized code generator, which is conducive to improving the accuracy and efficiency of code generation based on the optimized target node code generator. In addition, the target node code generator will also be intelligently stored, which can effectively ensure the security and reliability of the target node code generator.

[0179] In some optional implementations, the user information obtained is subject to the user's consent and complies with relevant laws and policies.

[0180] In addition, the non-Company software tools or components that appear in the embodiments of the present application are merely examples and do not represent actual use.

[0181] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0182] It should be emphasized that in order to further ensure the privacy and security of the above-mentioned target node code, the above-mentioned target node code can also be stored in a node of a blockchain.

[0183] The blockchain referred to in this application is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer, and application service layer.

[0184] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.

[0185] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through computer-readable instructions, and the computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0186] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0187] Further references Figure 3 , as a response to the above Figure 2 The present application provides an embodiment of a code generation device, and the device embodiment is similar to Figure 2 Corresponding to the method embodiment shown, the device can be specifically applied to various electronic devices.

[0188] like Figure 3As shown, the code generation device 300 described in this embodiment includes: a judgment module 301, a display module 302, a receiving module 303, a first calling module 304, a first generating module 305, a testing module 306 and a returning module 307. Among them:

[0189] The judgment module 301 is used to judge whether a node code generation request triggered by a user is received;

[0190] Display module 302, used for displaying a preset node configuration interface if yes;

[0191] The receiving module 303 is used to receive the target workflow node added by the user in the node configuration interface by dragging and dropping, and receive the node configuration data input by the user in the configuration form corresponding to the target workflow node;

[0192] The first calling module 304 is used to call a preset node code generator;

[0193] A first generating module 305 is used to perform code generation processing on the node configuration data based on the node code generator to obtain a target node code corresponding to the target workflow node;

[0194] A testing module 306, configured to test the target node code based on a preset testing strategy;

[0195] The return module 307 is used to return the target node code to the user if the target node code passes the test.

[0196] In some optional implementations of this embodiment, the first generating module 305 includes:

[0197] A first generating submodule, configured to obtain request parameters and return parameters from the node configuration information based on the node code generator, and generate corresponding class file codes based on the request parameters and the return parameters;

[0198] A second generating submodule, used for obtaining a request header from the node configuration information, and generating a corresponding encapsulation code based on the request parameters and the request header;

[0199] A third generation submodule is used to obtain a service URL and a request method from the node configuration information, and generate a corresponding service call code based on the service URL and the request method;

[0200] A fourth generating submodule, used to generate a mapping code corresponding to the class file code based on the return parameter;

[0201] a fifth generating submodule, configured to obtain table information from the node configuration information, and generate a corresponding operation code based on the table information;

[0202] a sixth generation submodule, configured to obtain retry mechanism information from the node configuration information, and generate a corresponding retry code based on the retry mechanism information;

[0203] The seventh generation submodule is used to generate the target node code based on the class file code, the encapsulation code, the service call code, the mapping code, the operation code and the retry code.

[0204] In some optional implementations of this embodiment, the sixth generation submodule includes:

[0205] A calling unit, used to call a preset processing library;

[0206] An encapsulation unit, configured to perform retry logic encapsulation processing on the retry mechanism information based on the processing library to obtain corresponding target retry logic;

[0207] An acquisition unit, used to acquire the service calling code;

[0208] An integration unit, used to integrate the target retry logic into the service call code to obtain a corresponding processing code;

[0209] A determining unit is used to use the processing code as the retry code.

[0210] In some optional implementations of this embodiment, the testing module 306 includes:

[0211] The first acquisition submodule is used to acquire preset unit test strategies and integration test strategies;

[0212] A first testing submodule, configured to perform unit testing on the target node code based on the unit testing strategy;

[0213] A second testing submodule, configured to perform an integration test on the target node code based on the integration testing strategy if the target node code passes the unit test;

[0214] The determination submodule is used to determine that the target node code has passed the test if the target node code has passed the integration test, and otherwise determine that the target node code has not passed the test.

[0215] In some optional implementations of this embodiment, the node code generation request also carries the user information of the user; the display module 302 includes:

[0216] An extraction submodule, used to extract the user information from the node code generation request;

[0217] A determination submodule, configured to determine a target role corresponding to the user based on the user information;

[0218] A second acquisition submodule is used to acquire target permissions for the target role;

[0219] A judgment submodule, used to judge whether the target permission includes a designated operation permission corresponding to the node code generation operation;

[0220] The execution submodule is used to determine if the user has passed the authority verification and execute the step of displaying the preset node configuration interface.

[0221] In some optional implementations of this embodiment, the code generating device further includes:

[0222] An acquisition module, used to acquire a code storage strategy corresponding to the target node code;

[0223] A determination module, used to determine a designated storage method corresponding to the target node code;

[0224] A second calling module, used to call a designated storage medium corresponding to the designated storage method;

[0225] The first storage module is used to perform storage processing on the target node code based on the code storage strategy and the designated storage medium.

[0226] In some optional implementations of this embodiment, the code generating device further includes:

[0227] A collection module, used for collecting feedback information of a specified user on the node code generator based on a preset collection method;

[0228] A second generation module, used to generate a corresponding optimization strategy based on the feedback information;

[0229] An optimization module, used for optimizing the node code generator based on the optimization strategy to obtain a corresponding target node code generator;

[0230] The second storage module is used to store the target node code generator.

[0231] To solve the above technical problems, the present application also provides a computer device. Figure 4 , Figure 4 This is a basic structural block diagram of the computer device in this embodiment.

[0232] The computer device 4 includes a memory 41, a processor 42, and a network interface 43 that are interconnected through a system bus. It should be noted that the figure only shows a computer device 4 with components 41-43, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0233] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0234] The memory 41 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 41 can be an internal storage unit of the computer device 4, such as a hard disk or memory of the computer device 4. In other embodiments, the memory 41 can also be an external storage device of the computer device 4, such as a plug-in hard disk equipped on the computer device 4, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. Of course, the memory 41 can also include both the internal storage unit of the computer device 4 and its external storage device. In this embodiment, the memory 41 is generally used to store the operating system and various application software installed on the computer device 4, such as computer-readable instructions of the code generation method, etc. In addition, the memory 41 can also be used to temporarily store various types of data that have been output or are to be output.

[0235] The processor 42 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 42 is generally used to control the overall operation of the computer device 4. In this embodiment, the processor 42 is used to run computer-readable instructions stored in the memory 41 or process data, such as computer-readable instructions for running the code generation method.

[0236] The network interface 43 may include a wireless network interface or a wired network interface. The network interface 43 is generally used to establish a communication connection between the computer device 4 and other electronic devices.

[0237] The present application also provides another implementation, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores computer-readable instructions, and the computer-readable instructions can be executed by at least one processor to enable the at least one processor to perform the steps of the code generation method as described above.

[0238] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0239] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A code generation method, characterized in that: The steps include: Determine whether a node code generation request triggered by a user is received; If yes, display the preset node configuration interface; receiving a target workflow node added by the user in the node configuration interface by dragging and dropping, and receiving node configuration data input by the user in a configuration form corresponding to the target workflow node; Call the preset node code generator; Performing code generation processing on the node configuration data based on the node code generator to obtain a target node code corresponding to the target workflow node; Testing the target node code based on a preset test strategy; If the target node code passes the test, the target node code is returned to the user.

2. The code generation method according to claim 1, characterized in that: The step of performing code generation processing on the node configuration data based on the node code generator to obtain a target node code corresponding to the target workflow node specifically includes: Based on the node code generator, the request parameter and the return parameter are obtained from the node configuration information, and corresponding class file codes are generated based on the request parameter and the return parameter; Obtaining a request header from the node configuration information, and generating a corresponding encapsulation code based on the request parameters and the request header; Obtaining a service URL and a request method from the node configuration information, and generating a corresponding service call code based on the service URL and the request method; Generate a mapping code corresponding to the class file code based on the return parameter; Acquire table information from the node configuration information, and generate corresponding operation codes based on the table information; Acquire retry mechanism information from the node configuration information, and generate a corresponding retry code based on the retry mechanism information; The target node code is generated based on the class file code, the encapsulation code, the service call code, the mapping code, the operation code, and the retry code.

3. The code generation method according to claim 2, characterized in that: The step of acquiring the retry mechanism information from the node configuration information and generating a corresponding retry code based on the retry mechanism information specifically includes: Call the preset processing library; Based on the processing library, the retry mechanism information is packaged with retry logic to obtain corresponding target retry logic; Obtaining the service calling code; Integrate the target retry logic into the service call code to obtain the corresponding processing code; The processing code is used as the retry code.

4. The code generation method according to claim 1, characterized in that: The step of testing the target node code based on a preset test strategy specifically includes: Get the preset unit test strategy and integration test strategy; Performing unit testing on the target node code based on the unit testing strategy; If the target node code passes the unit test, then performing an integration test on the target node code based on the integration test strategy; If the target node code passes the integration test, it is determined that the target node code passes the test; otherwise, it is determined that the target node code fails the test.

5. The code generation method according to claim 1, characterized in that: The node code generation request also carries the user information of the user; The step of displaying the preset node configuration interface specifically includes: Extracting the user information from the node code generation request; Determining a target role corresponding to the user based on the user information; Get the target permissions for the target role; Determining whether the target permissions include a specified operation permission corresponding to a node code generation operation; If so, determine that the user has passed the authority verification, and execute the step of displaying the preset node configuration interface.

6. The code generation method according to claim 1, characterized in that: After the step of returning the target node code to the user, the method further comprises: Acquire a code storage strategy corresponding to the target node code; Determining a designated storage method corresponding to the target node code; Calling a designated storage medium corresponding to the designated storage method; The target node code is stored based on the code storage strategy and the designated storage medium.

7. The code generation method according to claim 1, characterized in that: The code generation method further comprises: Collecting feedback information of a specified user on the node code generator based on a preset collection method; generating a corresponding optimization strategy based on the feedback information; Optimizing the node code generator based on the optimization strategy to obtain a corresponding target node code generator; The target node code generator is stored.

8. A code generating device, characterized in that: include: A judgment module, used to judge whether a node code generation request triggered by a user is received; A display module is used to display the preset node configuration interface if yes; A receiving module, configured to receive a target workflow node added by the user in the node configuration interface by dragging and dropping, and receive node configuration data input by the user in a configuration form corresponding to the target workflow node; A first calling module is used to call a preset node code generator; A first generating module, configured to perform code generation processing on the node configuration data based on the node code generator to obtain a target node code corresponding to the target workflow node; A test module, used to test the target node code based on a preset test strategy; The return module is used to return the target node code to the user if the target node code passes the test.

9. A computer device, characterized in that: The method comprises a memory and a processor, wherein the memory stores computer-readable instructions, and the processor implements the steps of the code generation method according to any one of claims 1 to 7 when executing the computer-readable instructions.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-readable instructions, and when the computer-readable instructions are executed by a processor, the steps of the code generation method according to any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Model-based code generation method and device, computer equipment and medium

    CN112947914A

  • Service orchestration method and device, equipment and storage medium

    CN114816375A

  • Code generation method and device, electronic equipment and medium

    CN116301774A