Data source definition method and system based on zero code development platform

By fine-tuning the ChatGLM3 large model and using natural language description to generate data source configuration, the problem of data source configuration complexity and low efficiency in the zero-code development platform has been solved, intelligent generation and efficient management have been achieved, and development efficiency and platform ease of use have been improved. .

CN118760464APending Publication Date: 2024-10-11金现代信息产业股份有限公司
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410859941.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-28
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

In a zero-code development platform, data source configuration is complex and cumbersome, making it difficult for application developers to configure it correctly. There is also a lack of intelligent prompts and error diagnosis functions, resulting in low development efficiency, and the existing large language model cannot be directly applied to data source configuration scenarios. .

Method used

Use a unique data source to configure the data set, combine it with the data that has been cleaned, fine-tune the ChatGLM3 large model, generate the data source configuration through natural language description, provide a front-end interactive interface and back-end processing, and realize the intelligent generation and configuration of data sources.

Benefits of technology

It lowers the technical threshold for data source configuration, improves development efficiency, ensures configuration correctness, achieves comprehensive coverage and accurate description of complex data sources, and improves data source configuration efficiency, especially in complex business scenarios where the efficiency is significantly improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118760464A_ABST
    Figure CN118760464A_ABST
Patent Text Reader

Abstract

The invention provides a data source definition method and system based on a zero code development platform. The method is applied to a front end and a rear end and comprises the steps that a zero code platform front end acquires a data source configuration requirement input by a user; transmitting a data source configuration demand to the back end of the zero-code development platform through an Axios request; the back end receives an Axios request sent by the front end of the zero-code platform, the preprocessed input data is decomposed, and a constructed prompt large model is utilized to generate data source configuration; the zero code platform front end receives data source configuration generated by the zero code development platform rear end; the received data source configuration is visualized and provided for a user to adjust a front-end interface for the second time, and finally the whole process of data source configuration definition is completed, intelligent generation of data source related configuration in the zero code development platform is achieved, and the efficiency of data source definition in the zero code platform is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of data source definition, and in particular to a data source definition method and system based on a zero-code development platform. Background Art

[0002] The statements in this section merely provide background information related to the present disclosure and do not necessarily constitute prior art.

[0003] In the current use scenarios of general zero-code development platforms, traditional data source definition methods often rely on manual configuration and management, which is inefficient and error-prone. In addition, due to the diversity and complexity of data sources, traditional definition methods are difficult to achieve comprehensive coverage and accurate description of data sources.

[0004] As one of the important development directions in the field of artificial intelligence, big models have powerful processing and learning capabilities. By taking advantage of these advantages of big models, intelligent definition and efficient management of data sources can be achieved. However, there is currently no mature technical solution that can fully utilize the potential of big models in data source definition.

[0005] Existing large model solutions generally have the following problems:

[0006] 1) Data source configuration is a key link in data flow in the zero-code development platform, which involves multiple aspects such as the source, format, and connection method of the data. Application developers using the zero-code development platform need to understand how to correctly configure the data source so that the platform can correctly obtain and process data. However, due to the complexity of technical terms and concepts of data source configuration, application developers are unable to break through the technical threshold, and the method of configuring the data source is cumbersome and complicated, which makes it difficult to implement.

[0007] 2) Even if the application developer has configured the data source, the current zero-code development platform is limited by technical reasons and cannot provide users with intelligent prompts and error diagnosis functions based on the current configuration. This results in the application developer being unable to predict whether the configuration is correct when configuring the data source, greatly reducing development efficiency.

[0008] 3) Due to the lack of training data sets related to data source configuration, existing large language models cannot be directly applied to the zero-code development platform. Summary of the invention

[0009] In order to solve the above problems, the present disclosure proposes a data source definition method and system based on a zero-code development platform, uses a unique data source configuration data set, combines data that has been cleaned, and fine-tunes the ChatGL M3 large model to achieve intelligent generation of data source related configurations in the zero-code development platform, improve the efficiency of data source definition in the zero-code platform, and solve the problem that the existing large language model cannot be directly applied to the data source configuration scenario of the zero-code development platform.

[0010] According to some embodiments, the present disclosure adopts the following technical solutions:

[0011] The data source definition method based on the zero-code development platform is applied to the front end of the zero-code platform, including:

[0012] Initialize the front-end interactive interface of the zero-code platform to obtain the data source configuration requirements entered by the user;

[0013] Pass the data source configuration requirements to the zero-code development platform backend through Axios requests;

[0014] Receive the data source configuration generated by the backend of the zero-code development platform;

[0015] The received data source configuration is visualized and provided to the user for secondary adjustment of the front-end interface, ultimately completing the entire process of data source configuration definition.

[0016] According to some embodiments, the present disclosure adopts the following technical solutions:

[0017] The data source definition method based on the zero-code development platform is applied to the backend of the zero-code platform, including:

[0018] Receive the natural language description input data in the Axios request sent by the zero-code platform front end;

[0019] Preprocess the natural language description input data, decompose the preprocessed input data, parse and obtain the target data source form name, target data source field name and target data source filter condition respectively;

[0020] According to the decomposed data, the data source configuration is generated using the built prompt model;

[0021] Forward the generated data source configuration back to the zero-code platform front end;

[0022] Among them, when training the prompt large model, slight adjustments are made to the parameters of the large model to minimize the model's loss on the target task, additional trainable modules and parameters in the original model are introduced to fine-tune the large model, and prompt is added to the input layer. Only the additional parameters are updated using the gradient descent method, while the rest of the large model remains unchanged.

[0023] According to some embodiments, the present disclosure adopts the following technical solutions:

[0024] A data source definition system based on the zero-code development platform, including the zero-code platform front-end and the zero-code platform back-end;

[0025] The zero-code platform front end is configured to: initialize the zero-code platform front end interactive interface and obtain the data source configuration requirements input by the user;

[0026] Pass the data source configuration requirements to the zero-code development platform backend through Axios requests;

[0027] Receive the data source configuration generated by the backend of the zero-code development platform;

[0028] Visualize the received data source configuration and provide the user with a secondary adjustment front-end interface, thus completing the entire process of data source configuration definition;

[0029] The zero-code platform backend is configured to: receive natural language description input data in an Axios request sent by the zero-code platform frontend;

[0030] Preprocess the natural language description input data, decompose the preprocessed input data, parse and obtain the target data source form name, target data source field name and target data source filter condition respectively;

[0031] According to the decomposed data, the data source configuration is generated using the built prompt model;

[0032] Forward the generated data source configuration back to the zero-code platform front end;

[0033] Among them, when training the prompt large model, slight adjustments are made to the parameters of the large model to minimize the model's loss on the target task, additional trainable modules and parameters in the original model are introduced to fine-tune the large model, and prompt is added to the input layer. Only the additional parameters are updated using the gradient descent method, while the rest of the large model remains unchanged.

[0034] According to some embodiments, the present disclosure adopts the following technical solutions:

[0035] The data source definition method based on the zero-code development platform includes:

[0036] Initialize the front-end interactive interface of the zero-code platform to obtain the data source configuration requirements entered by the user;

[0037] Pass the data source configuration requirements to the zero-code development platform backend through Axios requests;

[0038] The backend of the zero-code development platform receives the natural language description input data in the Axios request sent by the frontend of the zero-code platform; pre-processes the natural language description input data, decomposes the pre-processed input data, parses and obtains the target data source form name, target data source field name and target data source filter condition respectively; generates the data source configuration based on the decomposed data using the built prompt large model; and forwards the generated data source configuration back to the frontend of the zero-code platform;

[0039] The front end of the zero-code platform receives the data source configuration generated by the back end of the zero-code development platform; visualizes the received data source configuration and provides it to the user for secondary adjustment of the front-end interface, ultimately completing the entire process of data source configuration definition.

[0040] According to some embodiments, the present disclosure adopts the following technical solutions:

[0041] A non-transitory computer-readable storage medium is used to store computer instructions. When the computer instructions are executed by a processor, a data source definition method based on a zero-code development platform is implemented.

[0042] According to some embodiments, the present disclosure adopts the following technical solutions:

[0043] An electronic device comprises: a processor, a memory and a computer program; wherein the processor is connected to the memory, the computer program is stored in the memory, and when the electronic device is running, the processor executes the computer program stored in the memory so that the electronic device executes a data source definition method based on a zero-code development platform.

[0044] Compared with the prior art, the present invention has the following beneficial effects:

[0045] The data source definition method based on the zero-code development platform disclosed in the present invention, through the interaction between the front-end and back-end of the zero-code platform, automatically defines the data source in the form of natural language description by the big model to intelligently generate the data source configuration when configuring the data source information on the zero-code development platform. In the zero-code development scenario, the data source configuration is generated through the ability of the big model so that application developers can correctly configure the data source only through natural language, correctly obtain and process data, and complete the work that could only be completed by technical personnel before, thereby lowering the threshold for using the platform, solving the problem that application developers cannot understand complex data source configurations, eliminating technical barriers, and enabling application developers to predict whether the configuration of the data source is correct when configuring the data source, thereby improving development efficiency and platform usability.

[0046] The disclosed data source definition method based on the zero-code development platform is directly applied to the zero-code development platform data source configuration scenario, uses a unique data source configuration data set, combines data from the network that has been cleaned, fine-tunes the ChatGLM3 large model, and realizes the intelligent generation of data source related configurations in the zero-code development platform, thereby improving the efficiency of data source definition in the zero-code platform. This can avoid problems such as the data source configuration generated directly using the large language model being inconsistent with the platform, non-standard, and incoherent.

[0047] The data source definition method disclosed in the present invention is based on a zero-code development platform to achieve intelligent definition and efficient use of data sources, avoiding the cumbersome and inefficient manual configuration problems in traditional methods. At the same time, due to the powerful processing capabilities of the large model, the present invention can achieve comprehensive coverage and accurate description of complex data sources. The large language model that uses technical means such as incremental fine-tuning, multi-task learning, and segmented learning rate adjustment strategies can accurately solve the problem of inaccurate and imprecise data source configuration; the incremental fine-tuning method used can reduce the use of computing resources and greatly reduce the memory required for fine-tuning, making its performance almost equivalent to standard fine-tuning.

[0048] The data source definition method based on the zero-code development platform disclosed in the present invention can improve the efficiency of data source configuration by about 29% in general business scenarios, and can improve the efficiency of data source configuration by about 61% in complex business scenarios. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] The accompanying drawings constituting a part of the present disclosure are used to provide a further understanding of the present disclosure. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure.

[0050] Figure 1 is a system architecture diagram of an embodiment of the present disclosure;

[0051] Figure 2 An interface for intelligently generating data source configuration for an embodiment of the present disclosure. DETAILED DESCRIPTION

[0052] The present disclosure is further described below in conjunction with the accompanying drawings and embodiments.

[0053] It should be noted that the following detailed descriptions are all illustrative and are intended to provide further explanation of the present disclosure. Unless otherwise specified, all technical and scientific terms used herein have the same meanings as those commonly understood by those skilled in the art to which the present disclosure belongs.

[0054] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present disclosure. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprising" and / or "including" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0055] Explanation of terms

[0056] 1. Zero-code development platform: A development platform that can quickly generate applications without coding. This type of platform is aimed at business personnel or civilian programmers. It aims to quickly deliver applications and solve the problems of long cycles and high costs brought about by traditional software development models. The customer base is mainly software development companies or medium and large enterprises with IT experts. It provides functional modules, allowing users to build management applications like building blocks, reducing the demand for developers.

[0057] 2. Big Model (Large Language Model): is an AI model designed to understand and generate human language. They are trained on large amounts of text data and can perform a wide range of tasks, including text summarization, translation, sentiment analysis, and more.

[0058] 3. Data source: It is the source of data that applications use to obtain and store data. It contains the information needed to connect to and access databases or other data stores. It includes relational databases (such as MySQL, Oracle, SQL Server, etc.), non-relational databases (such as MongoDB, Redis, etc.), files (such as CSV, Excel, XML, etc.), API interfaces, etc.

[0059] 4. ChatGLM3: A large language model.

[0060] Example 1

[0061] In one embodiment of the present disclosure, a data source definition method based on a zero-code development platform is provided. By utilizing the powerful processing power and learning ability of the big model, the intelligent definition and efficient management of the data source are realized, providing a more accurate and efficient technical means for data analysis and processing. The front-end, back-end and intelligent recommendation service of the technical solution of the present disclosure are respectively implemented by Vue+JavaScript, Java and Python development languages. The basic principle is that when configuring the data source information on the zero-code development platform, the data source is automatically defined in the form of a natural language description in which the big model intelligently generates the data source configuration. The data source definition method based on the zero-code development platform is applied to the front-end and back-end of the zero-code platform respectively. As an embodiment, when the data source definition method based on the zero-code development platform is applied to the front-end of the zero-code platform, the steps include:

[0062] Step 1: Initialize the front-end interactive interface of the zero-code platform and obtain the data source configuration requirements entered by the user;

[0063] Step 2: Pass the data source configuration requirements to the zero-code development platform backend through Axios request;

[0064] Step 3: Receive the data source configuration generated by the backend of the zero-code development platform;

[0065] Step 4: Visualize the received data source configuration and provide it to the user for secondary adjustment of the front-end interface, thus completing the entire process of data source configuration definition.

[0066] Specifically, in step 1, a front-end project is built to realize natural language interaction between users and the system. In order to realize natural language interaction between users and the system, the present disclosure designs a front-end interactive interface. The front-end interactive interface mainly uses computer languages ​​such as HTML, CSS and JavaScript to achieve user-friendly interface design and smooth interactive experience.

[0067] In the front-end interaction design, this disclosure pays special attention to the application of natural language processing technology. Specifically, the front-end interface will provide an input box to support users to enter the data source configuration requirements described in natural language. After that, the front-end program will pass the user's input to the back-end of the zero-code development platform through Axios requests for preprocessing.

[0068] Furthermore, the front-end has designed a complete set of dialogue interactions based on common dialogue applications to handle the interaction between users and large models. The system can identify the user's intention and context information to provide more intelligent and accurate responses. At the same time, the front-end also provides rich visualization tools and prompt information to help users better understand and operate the data source definition process.

[0069] In step 2, the data source configuration requirements are passed to the backend of the zero-code development platform through an Axios request, where the Axios request is: The Axios request is a POST request that complies with the Hypertext Transfer Protocol. The request body mainly includes the current application information, the current component information, the data source description provided by the user, and provides the authentication information of the zero-code background.

[0070] The Axios request mainly contains the user's natural language description input data, that is, the user's natural language description input data is passed to the zero-code platform backend for data source configuration generation.

[0071] In step 4, after receiving the data source configuration generated by the backend of the zero-code development platform, the data source configuration is displayed to the user, and the front-end interface is provided to the user for secondary adjustment, thus completing the entire process of data source definition. Figure 2 shown.

[0072] Example 1

[0073] In one embodiment of the present disclosure, a data source definition method based on a zero-code development platform is provided, which is applied to a zero-code platform backend and includes:

[0074] Step 1: Receive the natural language description input data in the Axios request sent by the zero-code platform front end;

[0075] Step 2: Preprocess the natural language description input data, decompose the preprocessed input data, parse and obtain the target data source form name, target data source field name and target data source filter condition respectively;

[0076] Step 3: Generate data source configuration using the built prompt model based on the decomposed data;

[0077] Step 4: Forward the generated data source configuration back to the zero-code platform front end;

[0078] Among them, when training the prompt large model, slight adjustments are made to the parameters of the large model to minimize the model's loss on the target task, additional trainable modules and parameters in the original model are introduced to fine-tune the large model, and prompt is added to the input layer. Only the additional parameters are updated using the gradient descent method, while the rest of the large model remains unchanged.

[0079] Specifically, in step 1, the backend of the zero-code development platform receives an Axios request, which mainly contains the user's natural language description input data. The backend program preprocesses the input data. The preprocessing technology mainly includes user authority control preprocessing and input format preprocessing, specifically:

[0080] 1) User permission control preprocessing: Each user has different data source permissions. In the traditional data source configuration process, the authorization information list can often be accurately obtained based on the user's permissions. In order to avoid the vulnerability of the large model bypassing the authorization program through I / O operations, the back-end program must read the user's authorization information in advance and transmit the authorization information to the large model to limit the generation of the large model.

[0081] 2) Input format preprocessing: In order to maximize the capabilities of the big model, the format of the user's input data needs to be standardized to prevent some special characters and special formats from disrupting the big model and causing the big model to misunderstand the true semantics of the input.

[0082] After preprocessing is completed, the backend of the zero-code development platform forwards it to the large model server for data source configuration generation.

[0083] Furthermore, in step 2, the natural language part of the input data is decomposed by natural language processing technology, parsed and the target data source form name, target data source field name, and target data source filter condition are obtained respectively. Among them, the target data source filter condition is in the form of an array, including the filter field name, filter rule, and filter value. The filter value is divided into an actual value and a field placeholder value.

[0084] Then use the trained prompt model to generate the data source configuration.

[0085] Furthermore, before training the prompt model, different data sources need to be connected to obtain information from different data sources. The data sources that need to be connected include relational databases, non-relational databases, file systems, and external API interfaces. This requires the use of a series of technologies and strategies to ensure the smooth flow and effective integration of data. The following steps are included:

[0086] ① Generate different adaptation solutions based on the characteristics and data format of each data source, including the complexity of the data structure, data access permissions and restrictions, etc.;

[0087] ② Evaluate the correlation between data sources and clarify the interaction mode and data flow path between each data source;

[0088] ③ For each type of data source, develop corresponding data interfaces for connecting and accessing data sources: For relational databases, use SQL language to query and operate data; for non-relational databases, implement data query and operation according to their specific query languages ​​or APIs; for file systems, file reading, parsing, and conversion can be implemented according to the code; in particular, for external API interfaces, ensure that the required data can be correctly obtained based on the API calling method, parameters, and return values.

[0089] ④Data format conversion and standardization: Since the data formats of different data sources may be different, data format conversion and standardization are required for unified processing in the large model. Use ETL (Extract, Transform, Load) tools and write custom conversion logic to convert data into a unified format or structure.

[0090] ⑤Data integration and storage: Integrate the data obtained from various data sources to form a unified data set. Store the integrated data in a central database or data warehouse for subsequent analysis and processing.

[0091] ⑥ Data synchronization and update: To ensure the real-time and accuracy of data, use scheduled tasks or event triggers to regularly pull the latest data from the data source and update it to the integrated data set. In particular, for external API interfaces, limit and regulate the frequency of API calls.

[0092] ⑦ Security and permission control: Use customized encryption technology and access control strategies to protect the data transmission and storage process. For sensitive data, desensitize or encrypt it to prevent data leakage and abuse.

[0093] Through the above steps, the large model is connected and connected with multiple data sources, and a training data set for the data source definition service is generated.

[0094] Furthermore, we train the prompt model, select the method of defining the service prompt based on the data source, generate multiple candidate prompts based on the characteristics and experience of the data source configuration generation task, replace synonyms, and imitate the large language model. After multiple rounds of iterative testing, we select the final prompt, which is as follows:

[0095]

[0096]

[0097] Then add two examples after prompt, as follows:

[0098]

[0099]

[0100] Construct the final prompt in the above way.

[0101] Furthermore, because the data source of zero-code is incrementally dynamic and changes in real time, this disclosure uses technical means such as incremental fine-tuning, multi-task learning, and segmented learning rate adjustment strategies to optimize and fine-tune the large model:

[0102] ① Use the prefix-tuning incremental fine-tuning method to fine-tune the basic model. This method only fine-tunes some parameters of the model, which can reduce the use of computing resources while maintaining performance. In each epoch, only the parameters of specific layers are fine-tuned, such as the parameters before the hidden states of each Transformer layer.

[0103] ② Considering the correlation between data sources, a multi-task learning method is used for fine-tuning. By learning multiple related tasks at the same time, the model can better utilize information from different data sources and improve generalization ability.

[0104] ③ During the fine-tuning process, a piecewise learning rate adjustment strategy is adopted. First, a larger learning rate is used for initial fine-tuning, and then the learning rate is gradually reduced.

[0105] The core idea of ​​the fine-tuning technique used is to minimize the model's loss on the target task by making small adjustments to the model parameters during model training. The model is fine-tuned by introducing additional trainable modules and parameters in the original model, adding prompts to the input layer, and only updating these additional parameters using the gradient descent method while keeping the rest of the model unchanged. These methods perform well in reducing computational and storage costs, accelerating the fine-tuning process, maintaining model stability, and improving multi-tasking capabilities.

[0106] The fine-tuned model cannot be used directly after the data source definition is generated. The data needs to be processed, mainly including abnormal data filtering and secondary verification of user authority control, specifically:

[0107] ① Abnormal data filtering: Filter the wrongly formatted data and missing configuration settings generated by the large model to avoid affecting the normal use of the zero-code development platform;

[0108] ② Secondary verification of permission control: Based on each user’s data source permissions, the generated data of the large model is controlled again to avoid permission violations.

[0109] After the above data processing steps, the trained large model is finally used to obtain field data that meets the requirements.

[0110] Finally, the generated data source configuration is forwarded to the front end through the background of the zero-code development platform.

[0111] The data source configuration is displayed to the user, and a front-end interface is provided to the user for secondary adjustment, thus completing the entire process of data source definition.

[0112] like Figure 2 As shown, for example, if you query the employee query in the HR personnel management system and query all employees aged 19, the employee information table, employee name, and filter conditions will be displayed, providing users with a secondary adjustment front-end interface: re-enter the description of the query data source in the top input bar, and use AI to regenerate a new data source. The data source generated by AI for the user is shown below, and the user can switch between multiple recommendations. In each data source configuration, the application name, form name, field name, and filter conditions are displayed in detail. After selecting the correct data source, you can select the OK and Cancel buttons to complete the relevant configuration.

[0113] Example 3

[0114] In one embodiment of the present disclosure, a data source definition system based on a zero-code development platform is provided, including a zero-code platform front end and a zero-code platform back end; the front end, back end and intelligent recommendation service of the technical solution are implemented by Vue+JavaScript, Java and Python development languages ​​respectively.

[0115] The zero-code platform front end is configured to: initialize the zero-code platform front end interactive interface and obtain the data source configuration requirements input by the user;

[0116] Pass the data source configuration requirements to the zero-code development platform backend through Axios requests;

[0117] Receive the data source configuration generated by the backend of the zero-code development platform;

[0118] Visualize the received data source configuration and provide the user with a secondary adjustment front-end interface, thus completing the entire process of data source configuration definition;

[0119] The zero-code platform backend is configured to: receive natural language description input data in an Axios request sent by the zero-code platform frontend;

[0120] Preprocess the natural language description input data, decompose the preprocessed input data, parse and obtain the target data source form name, target data source field name and target data source filter condition respectively;

[0121] According to the decomposed data, the data source configuration is generated using the built prompt model;

[0122] Forward the generated data source configuration back to the zero-code platform front end;

[0123] Among them, when training the prompt large model, slight adjustments are made to the parameters of the large model to minimize the model's loss on the target task, additional trainable modules and parameters in the original model are introduced to fine-tune the large model, and prompt is added to the input layer. Only the additional parameters are updated using the gradient descent method, while the rest of the large model remains unchanged.

[0124] Example 4

[0125] In one embodiment of the present disclosure, a data source definition method based on a zero-code development platform is provided, which is applied to the interaction between a zero-code development platform front end and a zero-code development platform back end, including:

[0126] Initialize the front-end interactive interface of the zero-code platform to obtain the data source configuration requirements entered by the user;

[0127] Pass the data source configuration requirements to the zero-code development platform backend through Axios requests;

[0128] The backend of the zero-code development platform receives the natural language description input data in the Axios request sent by the frontend of the zero-code platform; pre-processes the natural language description input data, decomposes the pre-processed input data, parses and obtains the target data source form name, target data source field name and target data source filter condition respectively; generates the data source configuration based on the decomposed data using the built prompt large model; and forwards the generated data source configuration back to the frontend of the zero-code platform;

[0129] The front end of the zero-code platform receives the data source configuration generated by the back end of the zero-code development platform; visualizes the received data source configuration and provides it to the user for secondary adjustment of the front-end interface, ultimately completing the entire process of data source configuration definition.

[0130] Example 5

[0131] In one embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein the non-transitory computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by a processor, the data source definition method based on the zero-code development platform is implemented.

[0132] Example 6

[0133] In one embodiment of the present disclosure, an electronic device is provided, including: a processor, a memory, and a computer program; wherein the processor is connected to the memory, the computer program is stored in the memory, and when the electronic device is running, the processor executes the computer program stored in the memory, so that the electronic device executes the data source definition method based on the zero-code development platform.

[0134] The present disclosure is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present disclosure. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0135] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0136] Although the above describes the specific implementation methods of the present disclosure in conjunction with the accompanying drawings, it is not intended to limit the scope of protection of the present disclosure. Technical personnel in the relevant field should understand that on the basis of the technical solution of the present disclosure, various modifications or variations that can be made by those skilled in the art without creative work are still within the scope of protection of the present disclosure.

Claims

1. A data source definition method based on a zero-code development platform, characterized in that: Applied to the zero-code platform front end, including: Initialize the front-end interactive interface of the zero-code platform to obtain the data source configuration requirements entered by the user; Pass the data source configuration requirements to the zero-code development platform backend through Axios requests; Receive the data source configuration generated by the backend of the zero-code development platform; The received data source configuration is visualized and provided to the user for secondary adjustment of the front-end interface, ultimately completing the entire process of data source configuration definition.

2. The data source definition method based on the zero-code development platform according to claim 1, characterized in that: The front-end interactive interface of the zero-code platform provides an input box to receive the data source configuration requirements described in natural language input by the user, and the Axios request contains the user's natural language description input data.

3. A data source definition method based on a zero-code development platform, characterized in that: Applied to the zero-code platform backend, including: Receive the natural language description input data in the Axios request sent by the zero-code platform front end; Preprocess the natural language description input data, decompose the preprocessed input data, parse and obtain the target data source form name, target data source field name and target data source filter condition respectively; According to the decomposed data, the data source configuration is generated using the built prompt model; Forward the generated data source configuration back to the zero-code platform front end; Among them, when training the prompt large model, slight adjustments are made to the parameters of the large model to minimize the model's loss on the target task, additional trainable modules and parameters in the original model are introduced to fine-tune the large model, and prompt is added to the input layer. Only the additional parameters are updated using the gradient descent method, while the rest of the large model remains unchanged.

4. The data source definition method based on the zero-code development platform as claimed in claim 3, characterized in that: The preprocessing process includes user authority control preprocessing and input format preprocessing. The user authority control preprocessing is to avoid the loophole of bypassing the authorization program through I / O operations. The backend reads the user's authorization information in advance and transmits the authorization information to the large model to limit the generation of the large model. Input format preprocessing is to normalize the user's input data format.

5. The data source definition method based on the zero-code development platform as claimed in claim 3, characterized in that: The decomposition and parsing process includes: decomposing the natural language part of the input data through natural language processing technology, parsing and obtaining the target data source form name, target data source field name, and target data source filter condition respectively; wherein the target data source filter condition is in the form of an array, including the filter field name, filter rule, and filter value, and the filter value is divided into an actual value and a field placeholder value.

6. The data source definition method based on the zero-code development platform as claimed in claim 3, characterized in that: The training process of the prompt large model is: Connect different data sources and obtain information from different data sources, including relational databases, non-relational databases, file systems, and external API interfaces, to generate training data sets for data source definition services; Based on the characteristics and experience of the data source configuration generation task, synonym replacement, and large language model imitation, multiple candidate prompts are generated. After multiple rounds of iterative testing, the final prompt is selected. Incremental fine-tuning, multi-task learning, and piecewise learning rate adjustment strategies are used to optimize and fine-tune the large model to obtain the fine-tuned prompt large model.

7. Data source definition system based on zero-code development platform, characterized by: Including zero-code platform front-end and zero-code platform back-end; The zero-code platform front end is configured to: initialize the zero-code platform front end interactive interface and obtain the data source configuration requirements input by the user; Pass the data source configuration requirements to the zero-code development platform backend through Axios requests; Receive the data source configuration generated by the backend of the zero-code development platform; Visualize the received data source configuration and provide the user with a secondary adjustment front-end interface, thus completing the entire process of data source configuration definition; The zero-code platform backend is configured to: receive natural language description input data in an Axios request sent by the zero-code platform frontend; Preprocess the natural language description input data, decompose the preprocessed input data, parse and obtain the target data source form name, target data source field name and target data source filter condition respectively; According to the decomposed data, the data source configuration is generated using the built prompt model; Forward the generated data source configuration back to the zero-code platform front end; Among them, when training the prompt large model, slight adjustments are made to the parameters of the large model to minimize the model's loss on the target task, additional trainable modules and parameters in the original model are introduced to fine-tune the large model, and prompt is added to the input layer. Only the additional parameters are updated using the gradient descent method, while the rest of the large model remains unchanged.

8. A data source definition method based on a zero-code development platform, characterized in that: The data source definition system based on the zero-code development platform according to claim 8 is characterized by comprising: Initialize the front-end interactive interface of the zero-code platform to obtain the data source configuration requirements entered by the user; Pass the data source configuration requirements to the zero-code development platform backend through Axios requests; The backend of the zero-code development platform receives the natural language description input data in the Axios request sent by the frontend of the zero-code platform; pre-processes the natural language description input data, decomposes the pre-processed input data, parses and obtains the target data source form name, target data source field name and target data source filter condition respectively; generates the data source configuration based on the decomposed data using the built prompt large model; and forwards the generated data source configuration back to the frontend of the zero-code platform; The front end of the zero-code platform receives the data source configuration generated by the back end of the zero-code development platform; visualizes the received data source configuration and provides it to the user for secondary adjustment of the front-end interface, ultimately completing the entire process of data source configuration definition.

9. A non-transitory computer-readable storage medium, characterized in that: The non-transitory computer-readable storage medium is used to store computer instructions, and when the computer instructions are executed by the processor, the data source definition method based on the zero-code development platform as described in claim 8 is implemented.

10. An electronic device, characterized in that: include: A processor, a memory and a computer program; wherein the processor is connected to the memory, the computer program is stored in the memory, and when the electronic device is running, the processor executes the computer program stored in the memory so that the electronic device executes the data source definition method based on the zero-code development platform as described in any one of claim 8.

Citation Information

Cited By

  • Device and method for supporting multi-language code output by low-code platform

    CN119440490A

  • Extensible low-code platform cross-system business integration method

    CN119883206A