Low-code platform development method and device, equipment and storage medium
By obtaining and verifying the data source, incoming and outgoing parameters, configuring a low-code platform, generating and publishing the development toolkit, the problem of lack of low-code development tools in the logistics industry is solved, development efficiency and system stability are improved, and technical thresholds are lowered.
Patent Information
- Application Number
- CN202510359907.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-07-01
AI Technical Summary
The lack of widespread adoption of low-code development tools in the logistics industry has led to slow progress in technological innovation and process automation, making it difficult to keep up with market demand and competitive pressures.
By obtaining and verifying the data source, incoming and outgoing parameters, configuring a low-code platform, generating development toolkits and publishing, collecting call information and generating call reports, adapting to changing needs, and shortening the development cycle.
It improves development efficiency, lowers technical thresholds, and allows non-professional personnel to participate in development, alleviates the pressure of talent shortage, and ensures system stability and safety.
Smart Images

Figure CN120234035A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of platform development, and particularly to a low-code platform development method, device, equipment, and storage medium. Background Art
[0002] With the in-depth development of enterprise digital transformation, the demand for software development has shown an explosive growth trend; however, the traditional software development model is usually accompanied by a long development cycle, high development costs, and a deep dependence on professional developers, which have gradually become the main obstacles hindering the process of enterprise digital transformation; in this context, low-code development platforms have emerged, aiming to simplify the development process, provide an intuitive visual environment, thereby significantly improving development efficiency, reducing costs, and lowering the technical threshold; low-code platforms can quickly respond to business needs and improve development quality through features such as automated code generation, scalability, and rapid deployment.
[0003] However, in the logistics industry, there is a particular lack of widespread adoption and application of low-code development tools; this phenomenon has led to slow progress in technological innovation and process automation in logistics enterprises, making it difficult to keep up with the growing market demand and competitive pressure.
[0004] It can be seen that the existing technology still needs to be improved. Summary of the Invention
[0005] In order to overcome the deficiencies of the prior art, the purpose of the present invention is to provide a low-code platform development method, which can flexibly configure the low-code platform according to the processed information to adapt to changing requirements; then, with the help of the low-code platform, quickly generate a tool package and publish it with one click, shortening the development cycle and lowering the technical threshold.
[0006] The first aspect of the present invention provides a low-code platform development method, including: obtaining data source configuration information and performing verification processing, if the obtained data source configuration information passes the verification processing, then based on the data source configuration information, perform the data source configuration work of the low-code platform; obtaining input parameter information and performing verification processing, if the obtained input parameter information passes the verification processing, then based on the input parameter information, perform the input parameter configuration work of the low-code platform; obtaining output parameter information and performing processing, and based on the processed output parameter information, perform the output parameter configuration work of the low-code platform; when a save request is received, generate a development tool package based on the low-code platform that has completed data source configuration, input parameter configuration, and output parameter configuration and publish it; if the development tool package is called, collect call information after the call is completed, and generate a call report based on the call information.
[0007] Optionally, in the first implementation manner of the first aspect of the present invention, the obtaining of the data source configuration information and performing verification processing includes: obtaining the data source configuration information, where the data source configuration information includes interface configuration information and database configuration information, the interface configuration information includes an interface URL, an authentication method, and interface identity information, and the database configuration information includes a connection string and database identity information; performing format verification on the interface URL and interface identity information respectively based on a pre-constructed first regular expression, and performing format verification on the connection string and database identity information respectively based on a pre-constructed second regular expression; if the interface URL, interface identity information, connection string, and database identity information all pass the format verification, it indicates that the obtained data source configuration information passes the verification processing; if the interface URL or the connection string or the interface identity information or the database identity information fails the format verification, a verification error control instruction is returned.
[0008] Optionally, in the second implementation manner of the first aspect of the present invention, if the obtained data source configuration information passes the verification processing, then performing the data source configuration work of the low-code platform based on the data source configuration information includes: when the obtained data source configuration information passes the verification processing, performing interface authentication processing on the interface identity information based on the authentication method to obtain authentication information; performing an interface connection simulation request based on the authentication information and the interface identity information after passing the format verification, and confirming whether the connection is successful according to the request result. If the connection is successful, the interface configuration work is completed; performing a database connection simulation request based on the database identity information after passing the format verification, and confirming whether the connection is successful according to the request result. If the connection is successful, the database configuration work is completed.
[0009] Optionally, in the third implementation manner of the first aspect of the present invention, obtaining the input parameter information and performing verification processing, if the obtained input parameter information passes the verification processing, then performing the input parameter configuration work of the low-code platform based on the input parameter information includes: obtaining the input parameter information and a pre-constructed input parameter type table, where the input parameter information includes input parameter fields and input parameter types; performing format verification on the input parameter fields based on a pre-constructed third regular expression. If the input parameter fields pass the format verification, then determining whether the input parameter types exist in the pre-constructed input parameter type table based on a pre-constructed SQL query statement; if they exist, storing the input parameter information in the database and performing interface association work on the input parameter information.
[0010] Optionally, in the fourth implementation manner of the first aspect of the present invention, the obtaining of the output parameter information and processing it, and performing the output parameter configuration work of the low-code platform based on the processed output parameter information includes: obtaining the output parameter information, where the output parameter information includes JavaScript scripts, translation configuration information, field merging rules, and paging configuration information; using a static code analysis tool to perform syntax checking on the JavaScript scripts, and configuring a corresponding execution environment for the JavaScript scripts that pass the syntax checking; associating corresponding translation APIs based on the translation configuration information and setting translation parameters; performing a legality check on the field merging rules based on a pre-built verification rule function, and configuring the merging method and order of the fields based on the field merging rules that pass the legality check; based on the paging configuration information, setting paging parameters and paging rules to complete the output parameter configuration work of the low-code platform.
[0011] Optionally, in the fifth implementation manner of the first aspect of the present invention, when a save request is received, generating and publishing a development toolkit based on the low-code platform that has completed data source configuration, input parameter configuration, and output parameter configuration includes: when a save request is received, obtaining the interface information of the low-code platform that has completed data source configuration, input parameter configuration, and output parameter configuration, storing the metadata included in the interface information in a common interface registry, and generating a development toolkit; configuring a version identifier and a code signature for the development toolkit, and storing the configured version identifier in a version management database; performing function tests, performance tests, and compatibility tests on the configured development toolkit, integrating the development toolkit that passes the tests into a deployment package, and deploying it in a development environment.
[0012] Optionally, in the sixth implementation manner of the first aspect of the present invention, if the development toolkit is called, call information is collected after the call is completed, and a call report is generated based on the call information, including: if the development toolkit is called, call information is collected when the call is completed, and the collected call information is stored in a log database, where the call information includes call time, caller information, request parameters, response status code, and response time; when a report generation request is received, obtaining the request information, and querying the corresponding data from the log database based on the request information; obtaining a pre-built report template, and performing statistical analysis and data conversion on the queried data respectively based on the pre-built report template to generate a call report.
[0013] In the second aspect of the present invention, a low-code platform development device is provided, including: a first configuration module, configured to obtain data source configuration information and perform verification processing. If the obtained data source configuration information passes the verification processing, perform data source configuration work for the low-code platform based on the data source configuration information; a second configuration module, configured to obtain input parameter information and perform verification processing. If the obtained input parameter information passes the verification processing, perform input parameter configuration work for the low-code platform based on the input parameter information; a third configuration module, configured to obtain output parameter information and perform processing, and perform output parameter configuration work for the low-code platform based on the processed output parameter information; a publishing module, configured to generate a development tool kit and publish it based on the low-code platform that has completed data source configuration, input parameter configuration, and output parameter configuration when a save request is received; a generation module, configured to collect call information after the call is completed if the development tool kit is called, and generate a call report based on the call information.
[0014] Optionally, in the first implementation manner of the second aspect of the present invention, the first configuration module includes: a first acquisition unit, configured to obtain data source configuration information, where the data source configuration information includes interface configuration information and database configuration information, the interface configuration information includes an interface URL, an authentication method, and interface identity information, and the database configuration information includes a connection string and database identity information; a first verification unit, configured to perform format verification on the interface URL and interface identity information respectively based on a pre-constructed first regular expression, and perform format verification on the connection string and database identity information respectively based on a pre-constructed second regular expression; a first confirmation unit, configured to indicate that the obtained data source configuration information passes the verification processing if the interface URL, interface identity information, connection string, and database identity information all pass the format verification; a second confirmation unit, configured to return a verification error control instruction if the interface URL or the connection string or the interface identity information or the database identity information fails to pass the format verification.
[0015] Optionally, in the second implementation manner of the second aspect of the present invention, the first configuration module further includes: an authentication unit, configured to perform interface authentication processing on the interface identity information based on the authentication method when the obtained data source configuration information passes the verification processing, to obtain authentication information; a first simulation unit, configured to execute an interface connection simulation request based on the authentication information and the interface identity information that has passed the format verification, and confirm whether the connection is successful according to the request result. If the connection is successful, complete the interface configuration work; a second simulation unit, configured to execute a database connection simulation request based on the database identity information that has passed the format verification, and confirm whether the connection is successful according to the request result. If the connection is successful, complete the database configuration work.
[0016] Optionally, in the third implementation manner of the second aspect of the present invention, the second configuration module includes: a second acquisition unit configured to acquire input parameter information and a pre-constructed input parameter type table, where the input parameter information includes input parameter fields and input parameter types; a second verification unit configured to perform format verification on the input parameter fields based on a pre-constructed third regular expression, and if the input parameter fields pass the format verification, determine whether the input parameter types exist in the pre-constructed input parameter type table based on a pre-constructed SQL query statement; an association unit configured to, if so, store the input parameter information in a database and perform interface association work on the input parameter information.
[0017] Optionally, in the fourth implementation manner of the second aspect of the present invention, the third configuration module includes: a third acquisition unit configured to acquire output parameter information, where the output parameter information includes a JavaScript script, translation configuration information, field merging rules, and paging configuration information; an inspection unit configured to perform syntax inspection on the JavaScript script by using a static code analysis tool and configure a corresponding execution environment for the JavaScript script that passes the syntax inspection; a first setting unit configured to associate a corresponding translation API based on the translation configuration information and set translation parameters; a second setting unit configured to perform legality verification on the field merging rules based on a pre-constructed verification rule function and configure the merging method and order of fields based on the field merging rules that pass the legality verification; a third setting unit configured to set paging parameters and paging rules based on the paging configuration information to complete the output parameter configuration work of the low-code platform.
[0018] Optionally, in the fifth implementation manner of the second aspect of the present invention, the publishing module includes: a fourth acquisition unit configured to, when receiving a save request, acquire interface information of a low-code platform that has completed data source configuration, input parameter configuration, and output parameter configuration, store metadata included in the interface information in a common interface registry, and generate a development toolkit; a storage unit configured to configure a version identifier and a code signature for the development toolkit and store the configured version identifier in a version management database; a publishing unit configured to perform function testing, performance testing, and compatibility testing on the configured development toolkit, integrate the development toolkit that passes the testing into a deployment package, and perform deployment in a development environment.
[0019] Optionally, in the sixth implementation manner of the second aspect of the present invention, the generation module includes: a fifth acquisition unit, configured to collect call information when the development toolkit is called and store the collected call information in a log database when the call is completed, where the call information includes call time, caller information, request parameters, response status code, and response time; a query unit, configured to obtain request information when receiving a report generation request and query corresponding data from the log database based on the request information; a generation unit, configured to obtain a pre-built report template and perform statistical analysis and data conversion on the queried data respectively based on the pre-built report template to generate a call report.
[0020] In the third aspect of the present invention, a low-code platform development device is provided. The low-code platform development device includes: a memory and at least one processor, where instructions are stored in the memory; at least one of the processors calls the instructions in the memory so that the low-code platform development device executes each step of the low-code platform development method described in any one of the above.
[0021] In the fourth aspect of the present invention, a computer-readable storage medium is provided. Instructions are stored on the computer-readable storage medium, and when the instructions are executed by a processor, each step of the low-code platform development method described in any one of the above is implemented.
[0022] In the technical solution of the present invention, the data source configuration work of the low-code platform is performed based on the data source configuration information that has passed the verification process, the input parameter configuration work of the low-code platform is performed based on the input parameter information that has passed the verification process, and the output parameter configuration work of the low-code platform is performed based on the processed output parameter information; when a save request is received, a development toolkit is generated and published based on the low-code platform that has completed the data source configuration, input parameter configuration, and output parameter configuration; after the development toolkit is called, call information is collected and a call report is generated; the method disclosed in this application can obtain and process data source, input parameter, and output parameter information, improving work efficiency; and can flexibly configure the low-code platform according to the processed information to adapt to changing requirements; and then quickly generate a toolkit and publish it with one click through the low-code platform, shortening the development cycle and lowering the technical threshold. Description of the Drawings
[0023] Figure 1 It is the first flowchart of the low-code platform development method provided by the embodiment of the present invention;
[0024] Figure 2 It is the second flowchart of the low-code platform development method provided by the embodiment of the present invention;
[0025] Figure 3 It is the third flowchart of the low-code platform development method provided by the embodiment of the present invention;
[0026] Figure 4 It is the fourth flowchart of the low-code platform development method provided by the embodiment of the present invention;
[0027] Figure 5 It is the fifth flowchart of the low-code platform development method provided by the embodiment of the present invention;
[0028] Figure 6 It is the sixth flowchart of the low-code platform development method provided by the embodiment of the present invention;
[0029] Figure 7 It is the seventh flowchart of the low-code platform development method provided by the embodiment of the present invention;
[0030] Figure 8 It is a schematic structural diagram of a low-code platform development device provided by the embodiment of the present invention;
[0031] Figure 9 It is a schematic structural diagram of a low-code platform development device provided by the embodiment of the present invention. Detailed implementation manners
[0032] The present invention provides a low-code platform development method, device, equipment and storage medium. In the present invention, terms such as "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments described herein can be implemented in an order different from that shown or described herein. In addition, the term "comprising" or "having" and any deformation thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0033] For ease of understanding, the following describes the specific process of the embodiment of the present invention. Please refer to Figure 1 , an embodiment of the low-code platform development method in the embodiment of the present invention includes:
[0034] 101. Obtain data source configuration information and perform verification processing. If the obtained data source configuration information passes the verification processing, perform data source configuration work for the low-code platform based on the data source configuration information;
[0035] 102. Obtain input parameter information and perform verification processing. If the obtained input parameter information passes the verification processing, perform input parameter configuration work for the low-code platform based on the input parameter information;
[0036] 103. Obtain the output parameter information and process it, and perform the output parameter configuration work of the low-code platform based on the processed output parameter information;
[0037] In this embodiment, by obtaining the data source configuration information, input parameter information, and output parameter information, and automatically performing detailed verification and processing, not only are the cumbersome steps of manual operations significantly reduced, the possibility of human errors is lowered, but also the overall work efficiency is remarkably improved; then, according to different data source configuration information, input parameter information, and output parameter information, the configuration work of the low-code platform is flexibly carried out, which can cope with complex and changeable business requirements or quickly adapt to the new market environment, ensuring that the system can be rapidly adjusted and optimized to meet the ever-changing business scenarios and user needs.
[0038] Furthermore, in this embodiment, a strict verification mechanism is implemented in the data source configuration, input parameter configuration, and output parameter configuration stages; before all configuration information is integrated into the system, it needs to go through multiple review processes to ensure its accuracy and legality; through the multiple review processes, the stability and security of the system are significantly improved, enabling the developed toolkit to operate stably in diverse and complex environments, effectively preventing potential risks such as system crashes or data loss caused by configuration errors.
[0039] 104. When a save request is received, generate and publish a development toolkit based on the low-code platform that has completed the data source configuration, input parameter configuration, and output parameter configuration;
[0040] In this embodiment, by utilizing the high efficiency of the low-code platform, the development efficiency can be significantly improved; developers do not need to spend a lot of time writing cumbersome code, but can quickly build the required development toolkit and achieve one-key publishing through an intuitive interface and simple operations; not only is the development cycle of the project shortened, but also the technical threshold is lowered, enabling non-professional developers to participate in the development work, effectively alleviating the pressure of talent shortage.
[0041] 105. If the development toolkit is called, collect the call information after the call is completed, and generate a call report based on the call information.
[0042] The present application discloses a low-code platform development method. The data source configuration work of the low-code platform is performed based on the data source configuration information that has passed the verification process. The input parameter configuration work of the low-code platform is performed based on the input parameter information that has passed the verification process. And the output parameter configuration work of the low-code platform is performed based on the processed output parameter information. When a save request is received, a development toolkit is generated and published based on the low-code platform that has completed the data source configuration, input parameter configuration, and output parameter configuration. After the development toolkit is called, call information is collected and a call report is generated. The method disclosed in the present application can obtain and process data source, input parameter, and output parameter information, improving work efficiency. And the low-code platform can be flexibly configured according to the processed information to adapt to changing requirements. Then, with the help of the low-code platform, a toolkit is quickly generated and published with one click, shortening the development cycle and lowering the technical threshold.
[0043] Please refer to Figure 2 , the second embodiment of the low-code platform development method in the embodiment of the present invention includes:
[0044] 201. Obtain data source configuration information, where the data source configuration information includes interface configuration information and database configuration information. The interface configuration information includes interface URL, authentication method, and interface identity information. The database configuration information includes connection string and database identity information;
[0045] In this embodiment, the interface identity information refers to the information used to identify or verify the identity of the requestor when performing data interaction through the interface, and may include, but is not limited to, API keys, access tokens, usernames, passwords, etc. The interface identity information is used to ensure that only authorized users or systems can access specific interfaces, thus ensuring the security and integrity of data. The database identity information refers to the information stored in the database and used to identify or associate specific individuals or entities, usually including personal name, address, phone number, email address, etc., and may also include enterprise name, registration number, legal representative, etc. The main function of the database identity information is to support business operations, provide personalized services, and meet compliance requirements.
[0046] 202. Perform format verification on the interface URL and interface identity information respectively based on a pre-built first regular expression, and perform format verification on the connection string and database identity information respectively based on a pre-built second regular expression;
[0047] 203. If the interface URL, interface identity information, connection string, and database identity information all pass the format verification, it indicates that the obtained data source configuration information has passed the verification process;
[0048] 204. If the interface URL or the connection string or the interface identity information or the database identity information fails to pass the format verification, a verification error control instruction is returned.
[0049] In this embodiment, format verification is performed on the interface URL, interface identity information, connection string, and database identity information respectively through pre-constructed regular expressions to quickly determine whether the data source configuration information conforms to the expected format, improving the verification efficiency, verification accuracy, and verification fineness.
[0050] Please refer to Figure 3 , the third embodiment of the low-code platform development method in the embodiments of the present invention includes:
[0051] 301. When the obtained data source configuration information passes the verification process, perform interface authentication processing on the interface identity information based on the authentication method to obtain authentication information;
[0052] In this embodiment, corresponding processing is performed according to the authentication method selected by the user; for example, for BasicAuth, the username and password are Base64 encoded, and the corresponding authentication information is added to the request header; for OAuth2.0, according to the OAuth process, guide the user to perform operations for obtaining an authorization code and generating a token, and store the generated token in a secure place, and automatically add it to the request header in subsequent requests to complete the authentication process.
[0053] 302. Execute an interface connection simulation request based on the authentication information and the interface identity information after passing the format verification, and confirm whether the connection is successful according to the request result. If the connection is successful, complete the interface configuration work;
[0054] In this embodiment, when executing the interface connection simulation request, the controller sends a simulation request to the external interface, using the configured interface URL, request method, and authentication information, and determines whether the connection is successful according to the status code and response content returned by the external interface; if successful, store the data source configuration information in the database and return a success message to the front end; if failed, parse the error information and return a detailed error prompt to the front end, such as "URL is unreachable", "authentication failed", etc.
[0055] 303. Execute a database connection simulation request based on the database identity information after passing the format verification, and confirm whether the connection is successful according to the request result. If the connection is successful, complete the database configuration work;
[0056] In this embodiment, when a database connection simulation request is executed, the controller attempts to connect to the database using the database identity information provided by the user. If the connection is successful, the corresponding SQL query statement is executed to obtain the Schema information of the database. The obtained Schema information is sorted and formatted, stored in the database, and returned to the front end for display. If the connection fails, a specific error message is returned to the front end according to the error code and information returned by the database, such as "The database username or password is incorrect".
[0057] Please refer to Figure 4 , the fourth embodiment of the low-code platform development method in the embodiments of the present invention includes:
[0058] 401. Obtain the input parameter information and the pre-built input parameter type table, where the input parameter information includes input parameter fields and input parameter types;
[0059] 402. Perform format verification on the input parameter fields based on the pre-built third regular expression. If the input parameter fields pass the format verification, determine whether the input parameter types exist in the pre-built input parameter type table based on the pre-built SQL query statement;
[0060] In this embodiment, through the pre-built input parameter type table and the third regular expression, the format verification and type judgment of the input parameter information can be quickly performed, reducing the time and error rate of manual verification, improving the efficiency of data processing, and ensuring the accuracy and consistency of data.
[0061] 403. If they exist, store the input parameter information in the database and perform interface association work on the input parameter information;
[0062] In this embodiment, after the storage and association work of the input parameter information is completed, a unique identifier is generated for each input parameter field to facilitate subsequent management and use.
[0063] Please refer to Figure 5 , the fifth embodiment of the low-code platform development method in the embodiments of the present invention includes:
[0064] 501. Obtain the output parameter information, where the output parameter information includes JavaScript scripts, translation configuration information, field merging rules, and paging configuration information;
[0065] 502. Use a static code analysis tool to perform syntax checking on the JavaScript scripts and configure the corresponding execution environment for the JavaScript scripts that pass the syntax checking;
[0066] In this embodiment, a static code analysis tool is used to perform syntax checking on JavaScript scripts, which can promptly detect and correct syntax errors in the code, avoid execution problems caused by code errors, and improve the code quality and system stability. Then, a corresponding execution environment is configured for the JavaScript scripts that pass the syntax check, which can ensure that the scripts run in the correct environment, improve the execution efficiency and accuracy of the scripts. The static code analysis tool can be ESLint.
[0067] 503. Associate the corresponding translation API based on the translation configuration information and set translation parameters;
[0068] In this embodiment, the translation configuration information includes the translation method and the third-party translation API configuration. Associating the corresponding translation API based on the translation configuration information and setting translation parameters enables the system to flexibly call different translation services according to different translation requirements, meeting diverse translation needs.
[0069] 504. Perform a legality check on the field merging rule based on a pre-built verification rule function, and configure the merging method and order of the fields based on the field merging rule that passes the legality check;
[0070] In this embodiment, performing a legality check on the field merging rule through a pre-built verification rule function can ensure the legality and effectiveness of the field merging rule, avoiding field merging problems caused by rule errors. Then, configuring the merging method and order of the fields based on the field merging rule that passes the legality check can achieve automated processing of field merging. That is, when the interface returns data, the controller performs a merging operation on the specified fields according to the merging rule and returns the merged result as the output parameter to the front end, improving the efficiency and accuracy of data processing.
[0071] 505. Set paging parameters and paging rules based on the paging configuration information to complete the output parameter configuration work of the low-code platform;
[0072] In this embodiment, setting paging parameters and paging rules based on the paging configuration information can achieve flexible configuration of data paging. When the paging function is enabled, when the controller queries the data source, it can perform paging queries on the data according to the paging parameters, and add paging-related meta-information when the interface returns data, greatly optimizing the user experience.
[0073] Please refer to Figure 6 , the sixth embodiment of the low-code platform development method in the embodiment of the present invention includes:
[0074] 601. When a save request is received, obtain the interface information of the low-code platform that has completed the data source configuration, input parameter configuration, and output parameter configuration, store the metadata included in the interface information in a common interface registry, and generate a development toolkit.
[0075] In this embodiment, by automatically obtaining the interface information of the low-code platform and storing its metadata in a common interface registry, centralized management and efficient utilization of interface information are achieved; the development efficiency is greatly improved, the cumbersome process of manually configuring interface information is reduced, and at the same time, the accuracy and consistency of interface information are ensured.
[0076] 602. Configure a version identifier and a code signature for the development toolkit, and store the configured version identifier in a version management database.
[0077] In this embodiment, configuring a version identifier and a code signature for the development toolkit not only helps to track and manage different versions of the development toolkit, but also effectively prevents the code from being tampered with, enhancing the security and credibility of the code; storing the version identifier in the version management database facilitates the version control and upgrade maintenance of the subsequent development toolkit.
[0078] 603. Perform functional testing, performance testing, and compatibility testing on the configured development toolkit, integrate the development toolkit that passes the tests into a deployment package, and deploy it in a development environment.
[0079] In this embodiment, comprehensive testing is performed on the configured development toolkit, including functional testing, performance testing, and compatibility testing, to ensure the stability and reliability of the development toolkit; integrating the development toolkit that passes the tests into a deployment package and deploying it in a development environment enables developers to quickly use these toolkits for development work, further improving the development efficiency and project quality.
[0080] Please refer to Figure 7 , the seventh embodiment of the low-code platform development method in the embodiments of the present invention includes:
[0081] 701. If the development toolkit is called, collect call information when the call is completed, and store the collected call information in a log database, where the call information includes call time, caller information, request parameters, response status code, and response time.
[0082] 702. When a report generation request is received, obtain the request information, and query the corresponding data from the log database based on the request information.
[0083] 703. Obtain a pre-built report template, and perform statistical analysis and data conversion on the queried data respectively based on the pre-built report template to generate a call report.
[0084] In this embodiment, by using a pre-built report template to perform statistical analysis and data conversion on the queried data, a call report that meets the requirements can be quickly generated; this not only improves the efficiency of report generation, but also makes the format and content of the report more unified and standardized; through the call report, users can intuitively understand the usage and performance of the development toolkit, providing strong support for subsequent decision-making and optimization.
[0085] The above describes the low-code platform development method in the embodiments of the present invention. Next, the low-code platform development device in the embodiments of the present invention will be described. Please refer to Figure 8 One embodiment of the low-code platform development device in the embodiments of the present invention includes:
[0086] A first configuration module 801, configured to obtain data source configuration information and perform verification processing. If the obtained data source configuration information passes the verification processing, perform data source configuration work for the low-code platform based on the data source configuration information; a second configuration module 802, configured to obtain input parameter information and perform verification processing. If the obtained input parameter information passes the verification processing, perform input parameter configuration work for the low-code platform based on the input parameter information; a third configuration module 803, configured to obtain output parameter information and perform processing, and perform output parameter configuration work for the low-code platform based on the processed output parameter information; a publishing module 804, configured to, when receiving a save request, generate and publish a development toolkit based on the low-code platform that has completed data source configuration, input parameter configuration, and output parameter configuration; a generation module 805, configured to, if the development toolkit is called, collect call information after the call is completed, and generate a call report based on the call information.
[0087] In this embodiment, the first configuration module 801 includes: a first acquisition unit 8011, configured to obtain data source configuration information, where the data source configuration information includes interface configuration information and database configuration information, the interface configuration information includes an interface URL, an authentication method, and interface identity information, and the database configuration information includes a connection string and database identity information; a first verification unit 8012, configured to perform format verification on the interface URL and interface identity information respectively based on a pre-built first regular expression, and perform format verification on the connection string and database identity information respectively based on a pre-built second regular expression; a first confirmation unit 8013, configured to, if the interface URL, interface identity information, connection string, and database identity information all pass the format verification, indicate that the obtained data source configuration information passes the verification processing; a second confirmation unit 8014, configured to, if the interface URL or the connection string or the interface identity information or the database identity information fails to pass the format verification, return a verification error control instruction.
[0088] In this embodiment, the first configuration module 801 further includes: an authentication unit 8015, configured to perform interface authentication processing on the interface identity information based on the authentication method when the obtained data source configuration information passes the verification process, so as to obtain authentication information; a first simulation unit 8016, configured to execute an interface connection simulation request based on the authentication information and the interface identity information after passing the format verification, and confirm whether the connection is successful according to the request result. If the connection is successful, the interface configuration work is completed; a second simulation unit 8017, configured to execute a database connection simulation request based on the database identity information after passing the format verification, and confirm whether the connection is successful according to the request result. If the connection is successful, the database configuration work is completed.
[0089] In this embodiment, the second configuration module 802 includes: a second obtaining unit 8021, configured to obtain input parameter information and a pre-built input parameter type table, where the input parameter information includes input parameter fields and input parameter types; a second verification unit 8022, configured to perform format verification on the input parameter fields based on a pre-built third regular expression. If the input parameter fields pass the format verification, it is determined whether the input parameter types exist in the pre-built input parameter type table based on a pre-built SQL query statement; an association unit 8023, configured to, if so, store the input parameter information in a database and perform interface association work on the input parameter information.
[0090] In this embodiment, the third configuration module 803 includes: a third obtaining unit 8031, configured to obtain output parameter information, where the output parameter information includes JavaScript scripts, translation configuration information, field merging rules, and paging configuration information; an inspection unit 8032, configured to perform syntax inspection on the JavaScript scripts by using a static code analysis tool and configure a corresponding execution environment for the JavaScript scripts that pass the syntax inspection; a first setting unit 8033, configured to associate a corresponding translation API based on the translation configuration information and set translation parameters; a second setting unit 8034, configured to perform legality verification on the field merging rules based on a pre-built verification rule function, and configure the merging method and order of fields based on the field merging rules that pass the legality verification; a third setting unit 8035, configured to set paging parameters and paging rules based on the paging configuration information to complete the output parameter configuration work of the low-code platform.
[0091] In this embodiment, the publishing module 804 includes: a fourth acquisition unit 8041, configured to, when receiving a save request, acquire interface information of the low-code platform that has completed data source configuration, input parameter configuration, and output parameter configuration, store metadata included in the interface information into a common interface registry, and generate a development toolkit; a storage unit 8042, configured to configure a version identifier and a code signature for the development toolkit, and store the configured version identifier into a version management database; a publishing unit 8043, configured to perform function testing, performance testing, and compatibility testing on the configured development toolkit, integrate the development toolkit that passes the testing into a deployment package, and deploy it in a development environment.
[0092] In this embodiment, the generation module 805 includes: a fifth acquisition unit 8051, configured to, if the development toolkit is called, collect call information when the call is completed, and store the collected call information into a log database, where the call information includes call time, caller information, request parameters, response status code, and response time; a query unit 8052, configured to, when receiving a report generation request, acquire request information, and query corresponding data from the log database based on the request information; a generation unit 8053, configured to acquire a pre-built report template, and perform statistical analysis and data conversion on the queried data respectively based on the pre-built report template to generate a call report.
[0093] Based on the same idea as the method in the above embodiment, the device provided in this application can implement the method in the above embodiment.
[0094] Above Figure 8 The low-code platform development device in the embodiment of the present invention is described in detail from the perspective of modular functional entities. Next, the low-code platform development device in the embodiment of the present invention will be described in detail from the perspective of hardware processing.
[0095] Figure 9FIG. 0 is a schematic structural diagram of a low-code platform development device provided by an embodiment of the present invention. The low-code platform development device 900 may vary greatly due to different configurations or performances, and may include one or more processors (central processing units, CPUs) 910 (for example, one or more processors) and a memory 920, and one or more storage media 930 (for example, one or more mass storage devices) storing application programs 933 or data 932. Among them, the memory 920 and the storage media 930 may be transient storage or persistent storage. The program stored in the storage media 930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations on the low-code platform development device 900. Further, the processor 910 may be configured to communicate with the storage media 930 and execute a series of instruction operations in the storage media 930 on the low-code platform development device 900 to implement the steps of the low-code platform development method provided by the above method embodiments.
[0096] The low-code platform development device 900 may further include one or more power supplies 940, one or more wired or wireless network interfaces 950, one or more input / output interfaces 960, and / or one or more operating systems 931, such as Windows Serve, Mac OS X, Unix, Linux, FreeBSD, etc. Those skilled in the art can understand that Figure 9 the shown structural diagram of the low-code platform development device does not constitute a limitation on the low-code platform development device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0097] The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium or a volatile computer-readable storage medium. Instructions are stored in the computer-readable storage medium, and when the instructions run on a computer, the computer is made to execute the steps of the low-code platform development method.
[0098] Those skilled in the art can clearly understand that for the convenience and conciseness of description, the specific working processes of the above-described systems, devices, or units can refer to the corresponding processes in the foregoing method embodiments, and will not be elaborated herein.
[0099] When 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, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The aforementioned storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical discs that can store program codes.
[0100] Finally, it should be noted that the above are only preferred examples of the present invention and are not used to limit the present invention. Although the present invention has been described in detail with reference to the foregoing embodiments, for those skilled in the art, they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.
Claims
1. A low-code platform development method, characterized in that: include: Obtain data source configuration information and perform verification processing. If the obtained data source configuration information passes the verification processing, the data source configuration work of the low-code platform is performed based on the data source configuration information; Obtain input parameter information and perform verification processing. If the obtained input parameter information passes the verification processing, the input parameter configuration work of the low-code platform is performed based on the input parameter information; Obtain and process the output parameter information, and perform the output parameter configuration work of the low-code platform based on the processed output parameter information; When a save request is received, a development kit is generated and published based on the low-code platform that has completed the data source configuration, input parameter configuration, and output parameter configuration; If the development toolkit is called, the call information is collected after the call is completed, and a call report is generated based on the call information.
2. The low-code platform development method according to claim 1, characterized in that: The obtaining of data source configuration information and verification processing includes: Obtain data source configuration information, the data source configuration information includes interface configuration information and database configuration information, the interface configuration information includes interface URL, authentication method and interface identity information, the database configuration information includes connection string and database identity information; Perform format verification on the interface URL and the interface identity information based on a pre-built first regular expression, and perform format verification on the connection string and the database identity information based on a pre-built second regular expression; If the interface URL, interface identity information, connection string, and database identity information all pass the format verification, it indicates that the acquired data source configuration information has passed the verification process; If the interface URL, connection string, interface identity information, or database identity information fails to pass the format check, a check error control instruction is returned.
3. The low-code platform development method according to claim 2, characterized in that: If the acquired data source configuration information passes the verification process, the data source configuration work of the low-code platform is performed based on the data source configuration information, including: When the acquired data source configuration information passes the verification process, performing interface authentication processing on the interface identity information based on the authentication method to obtain authentication information; Based on the authentication information and the interface identity information that has passed the format verification, an interface connection simulation request is executed, and whether the connection is successful is confirmed according to the request result. If the connection is successful, the interface configuration work is completed; Execute a database connection simulation request based on the database identity information that has passed the format verification, and confirm whether the connection is successful based on the request result. If the connection is successful, the database configuration work is completed.
4. The low-code platform development method according to claim 1, characterized in that: The obtaining of input parameter information and performing verification processing, if the obtained input parameter information passes the verification processing, then executing the input parameter configuration work of the low-code platform based on the input parameter information, including: Obtain input parameter information and a pre-built input parameter type table, wherein the input parameter information includes input parameter fields and input parameter types; Perform format verification on the input parameter field based on the pre-built third regular expression. If the input parameter field passes the format verification, determine whether the input parameter type exists in the pre-built input parameter type table based on the pre-built SQL query statement. If it exists, the input parameter information is stored in the database, and the interface association work is performed on the input parameter information.
5. The low-code platform development method according to claim 1, characterized in that: The obtaining and processing of the output parameter information, and performing the output parameter configuration work of the low-code platform based on the processed output parameter information, include: Obtain output parameter information, which includes JavaScript scripts, translation configuration information, field merging rules, and paging configuration information; Use static code analysis tools to perform syntax checks on JavaScript scripts, and configure the corresponding execution environment for JavaScript scripts that pass the syntax check; Associate the corresponding translation API based on the translation configuration information and set the translation parameters; Perform a validity check on the field merge rules based on the pre-built validation rule function, and configure the field merge method and order based on the field merge rules that pass the validity check; Based on the paging configuration information, set the paging parameters and paging rules to complete the parameter configuration of the low-code platform.
6. The low-code platform development method according to claim 1, characterized in that: When a save request is received, a development kit is generated and published based on the low-code platform that has completed the data source configuration, input parameter configuration, and output parameter configuration, including: When a save request is received, the interface information of the low-code platform that has completed the data source configuration, input parameter configuration, and output parameter configuration is obtained, the metadata included in the interface information is stored in a public interface registry, and a development toolkit is generated; Configure a version identifier and code signature for the development toolkit, and store the configured version identifier in a version management database; Perform functional testing, performance testing, and compatibility testing on the configured development toolkit, integrate the qualified development toolkit into the deployment package, and deploy it in the development environment.
7. The low-code platform development method according to claim 1, characterized in that: If the development toolkit is called, the call information is collected after the call is completed, and a call report is generated based on the call information, including: If the development toolkit is called, call information is collected when the call is completed, and the collected call information is stored in a log database, wherein the call information includes call time, caller information, request parameters, response status code and response time; When a report generation request is received, the request information is obtained, and corresponding data is queried from the log database based on the request information; Obtain a pre-built report template, and perform statistical analysis and data conversion on the queried data based on the pre-built report template to generate a call report.
8. A low-code platform development device, characterized in that: include: The first configuration module is used to obtain data source configuration information and perform verification processing. If the obtained data source configuration information passes the verification processing, the data source configuration work of the low-code platform is performed based on the data source configuration information; The second configuration module is used to obtain input parameter information and perform verification processing. If the obtained input parameter information passes the verification processing, the input parameter configuration work of the low-code platform is performed based on the input parameter information; The third configuration module is used to obtain and process the output parameter information, and perform the output parameter configuration work of the low-code platform based on the processed output parameter information; A publishing module, which is used to generate and publish a development toolkit based on the low-code platform that has completed the data source configuration, input parameter configuration, and output parameter configuration when a save request is received; The generation module is used to collect the call information after the development toolkit is called, and generate a call report based on the call information.
9. A low-code platform development device, characterized in that: The low-code platform development device includes: a memory and at least one processor, wherein instructions are stored in the memory; At least one of the processors calls the instructions in the memory so that the low-code platform development device executes each step of the low-code platform development method as described in any one of claims 1-7.
10. A computer-readable storage medium having instructions stored thereon, characterized in that: When the instructions are executed by the processor, the various steps of the low-code platform development method as described in any one of claims 1-7 are implemented.