Form generation method and device, equipment, readable storage medium and program product

By monitoring the changes in data of the form configuration of the form, automatically obtain and analyze the latest configuration data, generate and display new forms, solve the problem of low efficiency of traditional form development models and easy to cause errors, and achieve more efficient and accurate form generation.

CN119376703APending Publication Date: 2025-01-28SHENZHEN COMTOP INFORMATION TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411531098.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-30
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The traditional form development model requires hard-coded form structure, which leads to a large number of modifications when the back-end data structure changes, which is inefficient and prone to errors, which seriously hinders software development and iteration.

Method used

Provide a form generating method, to configure data changes through the monitoring form, obtain the latest configuration data from the data storage side, analyze generating form design data, and generate new forms based on design data to reduce the adjustment of the front -end code.

Benefits of technology

It improved the efficiency and accuracy of the formation of the form, reduced the workload of the staff, and avoided errors caused by manually modifying the code.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119376703A_ABST
    Figure CN119376703A_ABST
Patent Text Reader

Abstract

The invention relates to a form generation method and device, equipment, a readable storage medium and a program product. The method comprises the following steps: acquiring latest form configuration data corresponding to a first form from a data storage end under the condition of monitoring that form configuration data corresponding to the first form is changed; analyzing the newest form configuration data to generate form design data; and generating a second form according to the form design data, and displaying the second form on the form display page. By adopting the method, the form generation efficiency and accuracy can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of big data technology, and in particular to a form generation method, device, equipment, readable storage medium and program product. Background Art

[0002] With the advent of the big data era, the management model of traditional enterprises will change accordingly. In order to continue to develop steadily in the market competition, all enterprises have made technical reforms in their management models. In the process of reforming and developing technology, the importance of forms as the core interface for users to interact with the system is self-evident.

[0003] However, the traditional form development model has significant defects: the front-end needs to hard-code the form structure, and once the back-end data structure is adjusted, the front-end form needs to be modified a lot of tediously. This model is not only inefficient, but also prone to errors, which seriously hinders the process of software development and iteration and needs to be solved urgently. Summary of the invention

[0004] Based on this, it is necessary to provide a form generation method, device, equipment, readable storage medium and program product that can improve the efficiency and accuracy of form generation in response to the above technical problems.

[0005] In a first aspect, the present application provides a form generation method, comprising:

[0006] When it is detected that the form configuration data corresponding to the first form has changed, the latest form configuration data corresponding to the first form is obtained from the data storage end;

[0007] Parse the latest form configuration data and generate form design data;

[0008] A second form is generated according to the form design data, and the second form is displayed on the form display page.

[0009] In one of the embodiments, the form design data includes form content data, form validation rules, and form layout data;

[0010] Accordingly, a second form is generated according to the form design data, including:

[0011] Generate an initial form that matches the latest form configuration data based on the form content data and form validation rules;

[0012] The layout style of the initial form is rendered according to the form layout data to generate a second form.

[0013] In one embodiment, after generating a second form according to the form design data and displaying the second form on the form display page, the method further includes:

[0014] When it is detected that there is new business data in the second form, format verification is performed on the new business data based on the form verification rules;

[0015] If the format verification of the newly added business data fails, a prompt message is output.

[0016] In one embodiment, the method further comprises:

[0017] When the newly added business data is verified and the data submission operation is monitored, the newly added business data is output to the data storage end, so that the data storage end associates the newly added business data with the second form for storage.

[0018] In one embodiment, generating a second form according to the form design data includes:

[0019] Determine the target form generation method according to the data attributes of the changed data in the latest form configuration data; wherein the data attributes include at least one of the data volume, data type and data importance;

[0020] Based on the target form generation mode and the form design data, a second form is generated.

[0021] In one embodiment, after obtaining the latest form configuration data corresponding to the first form from the data storage end, the method further includes:

[0022] Verify the rationality of the latest form configuration data;

[0023] Accordingly, the latest form configuration data is parsed to generate form design data, including:

[0024] When the data rationality verification is passed, the latest form configuration data is parsed to generate form design data.

[0025] In a second aspect, the present application also provides a form generating device, including:

[0026] A data acquisition module, configured to acquire the latest form configuration data corresponding to the first form from the data storage end when detecting that the form configuration data corresponding to the first form has changed;

[0027] Data parsing module, used to parse the latest form configuration data and generate form design data;

[0028] The form generation module is used to generate a second form according to the form design data, and display the second form on the form display page.

[0029] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0030] When it is detected that the form configuration data corresponding to the first form has changed, the latest form configuration data corresponding to the first form is obtained from the data storage end;

[0031] Parse the latest form configuration data and generate form design data;

[0032] A second form is generated according to the form design data, and the second form is displayed on the form display page.

[0033] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the following steps are implemented:

[0034] When it is detected that the form configuration data corresponding to the first form has changed, the latest form configuration data corresponding to the first form is obtained from the data storage end;

[0035] Parse the latest form configuration data and generate form design data;

[0036] A second form is generated according to the form design data, and the second form is displayed on the form display page.

[0037] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0038] When it is detected that the form configuration data corresponding to the first form has changed, the latest form configuration data corresponding to the first form is obtained from the data storage end;

[0039] Parse the latest form configuration data and generate form design data;

[0040] A second form is generated according to the form design data, and the second form is displayed on the form display page.

[0041] The above-mentioned form generation method, device, equipment, readable storage medium and program product, when monitoring the form configuration data corresponding to the first form to change, obtain the latest form configuration data corresponding to the first form from the data storage end, parse the latest form configuration data, generate form design data, and then generate a second form according to the form design data, and display the second form on the form display page. In the above process, when the form configuration data changes and the form needs to be adjusted, the second form is directly generated according to the latest form configuration data. Compared with the prior art, this process does not require the staff to adjust the front-end code corresponding to the form, which reduces the workload of the staff and improves the efficiency and accuracy of form generation. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0043] Figure 1 An application environment diagram of a form generation method in an embodiment;

[0044] Figure 2 A schematic diagram of a flow chart of a form generation method in one embodiment;

[0045] Figure 3 A flowchart of a form generation step in one embodiment;

[0046] Figure 4 A flowchart of a form generation step in another embodiment;

[0047] Figure 5 A schematic diagram of a data verification process in one embodiment;

[0048] Figure 6 A schematic diagram of a flow chart of a form generation method in another embodiment;

[0049] Figure 7 is a structural block diagram of a form generating device in one embodiment;

[0050] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0051] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0052] The form generation method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the data processing end 102 communicates with the data storage end 104 through the network. The data storage system can store the data that the data storage end 104 needs to process. The data storage system can be integrated on the data storage end 104, or it can be placed on the cloud or other network servers. Specifically, when the data processing end 102 detects that the form configuration data corresponding to the first form has changed, it obtains the latest form configuration data corresponding to the first form from the data storage end 104; the data processing end 102 parses the latest form configuration data, generates form design data, and generates a second form according to the form design data, and displays the second form on the form display page. Among them, the data processing end 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car devices, projection devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. Head-mounted devices can be virtual reality (VR) devices, augmented reality (AR) devices, smart glasses, etc. The data storage end 104 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud computing services.

[0053] In an exemplary embodiment, Figure 2 As shown, a form generation method is provided, which is applied to Figure 1 The data processing end 102 in the example is used for explanation, and includes the following steps:

[0054] S210: When it is detected that the form configuration data corresponding to the first form has changed, the latest form configuration data corresponding to the first form is obtained from the data storage end.

[0055] The first form may be a form currently displayed in a form display page of a data processing terminal. The form configuration data may be data used to configure a form. For example, the form configuration data may be data used to configure form structure information, validation rules for validating input data of the form, and data for configuring the layout and style of the form.

[0056] It is understandable that the first form currently displayed in the form display page of the data processing end is generated based on the dubbing configuration data corresponding to the first form. In the case where it is detected that the form configuration data corresponding to the first form has changed, the currently displayed first form is different from its corresponding form configuration data, so it is necessary to adjust the first form based on the latest form configuration data, or regenerate the form to replace the first form.

[0057] Optionally, in this embodiment, the data processing end may monitor changes in the form configuration data corresponding to the currently displayed first form, and when changes are detected, obtain the latest form configuration data corresponding to the first form from the data storage end.

[0058] Of course, optionally, in this embodiment, the data processing end may also obtain the form configuration data corresponding to the currently displayed first form from the data storage end in real time.

[0059] It should be noted that, in the data storage end, there is a corresponding relationship between the form configuration data corresponding to different forms. For example, different forms correspond to different form identifiers, and their corresponding form configuration data also identifies the form identifier corresponding to the form. Based on this, the data processing end can accurately obtain the latest form configuration data corresponding to the first form from the data storage end.

[0060] S220, parsing the latest form configuration data to generate form design data.

[0061] Among them, the form design data is the data used to regenerate the form. It is understandable that since the form configuration data is stored in the data storage end, its corresponding data format may not be directly understood by the data processing end. Therefore, after the data processing end obtains the form configuration data, it is necessary to parse the data format and / or data content of the form configuration data to obtain the form design data that the data processing end can understand and process, so as to facilitate the subsequent generation of the form by the data processing end. Exemplarily, the data format of the form configuration data can be a josn format, and the data structure of the form design data can be an HTML structure.

[0062] Exemplarily, in this embodiment, the form configuration data can be input into a pre-trained data parsing model to obtain form design data. The data parsing model can be constructed based on a common neural network, which will not be described in detail here. Furthermore, in the process of training the data parsing model, the sample form configuration data can be input into the data parsing model to obtain the predicted design data corresponding to the sample form configuration data, and then according to the difference between the predicted design data and the design data label corresponding to the sample form configuration data, the model parameters of the data parsing model are adjusted to improve the model accuracy of the data parsing model.

[0063] S230, generating a second form according to the form design data, and displaying the second form on the form display page.

[0064] The second form may be the latest form obtained by simply adjusting the first form; the second form may also be a form regenerated based on the form design data.

[0065] It should be noted that the form design data may be a front-end code of an HTML structure. In this case, the form design data may be run to generate a second form.

[0066] In the above form generation method, when it is detected that the form configuration data corresponding to the first form has changed, the latest form configuration data corresponding to the first form is obtained from the data storage end, and the latest form configuration data is parsed to generate form design data, and then a second form is generated according to the form design data, and the second form is displayed on the form display page. In the above process, when the form configuration data changes and the form needs to be adjusted, the second form is directly generated according to the latest form configuration data. Compared with the prior art, this process does not require the staff to adjust the front-end code corresponding to the form, which reduces the workload of the staff and improves the efficiency and accuracy of form generation.

[0067] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, the form design data includes form content data, form validation rules and form layout data; in this case, the process of generating the second form according to the form design data is refined as follows:

[0068] See also Figure 3 The form generation steps shown include:

[0069] S310: Generate an initial form that matches the latest form configuration data according to the form content data and the form verification rules.

[0070] Among them, the form content data is used to generate the basic framework of the form. Exemplarily, the form content data includes the form field identification number (Identity document, ID), form field name and field type, etc.; the form validation rules are used to validate the business data added to the form fields. The form validation rules include "required" or "non-required" and format verification.

[0071] Specifically, in this embodiment, a form style is generated according to the form content data, and the validation rules corresponding to each form are added to the form style according to the form validation rules to generate an initial form matching the latest form configuration data.

[0072] Optionally, in this embodiment, the componentization feature of the front-end framework can be used to encapsulate each form field into a reusable component, such as an input box component, a selection box component, etc.

[0073] S320: Render the layout style of the initial form according to the form layout data to generate a second form.

[0074] The form layout data is used to configure the order of the fields in the form and the grid system. Exemplarily, the form layout data includes the ordering information and size information of each field.

[0075] Specifically, in this embodiment, the layout style of the initial form is rendered based on the form layout data to ensure that the second form can be well displayed on different devices and screen sizes.

[0076] In the above embodiment, an initial form is first generated according to the form content data and the form validation rules, and then the layout style of the initial form is rendered based on the form layout data to generate a second form, so that the generated second form is the second form corresponding to the latest form configuration data, so as to complete the update of the form displayed in the form display page.

[0077] Furthermore, when the presence of newly added business data in the second form is detected, the format of the newly added business data is verified based on the form verification rules; when the format verification of the newly added business data fails, a prompt message is output. When the verification of the newly added business data passes and a data submission operation is detected, the newly added business data is output to the data storage end, so that the data storage end can associate the newly added business data with the second form for storage.

[0078] There are many ways to output the prompt information, for example, adjusting the color of the text box corresponding to the form field; outputting a prompt; outputting a voice prompt, etc. The prompt can be pre-set, and this application does not impose any restrictions on the content of the prompt.

[0079] Exemplarily, if the form validation rules restrict the new business data entered in a certain input box to be numbers, then when it is detected that the new business data entered in the input box is non-numbers, such as letters or text, it is determined that the format validation of the new business data fails and a prompt message is output.

[0080] It should be noted that in order to ensure the accuracy and security of the newly added business data, in this embodiment, when the new business data verification is passed and the data submission operation is monitored, the new business data will be input into the data storage end. Before storing the new business data, the data storage end will verify the new business data again based on the corresponding form validation rules to further improve the accuracy and security of the new business data.

[0081] In the above embodiment, the form validation rules are applied to the corresponding form fields to implement a real-time validation function, so as to improve the accuracy of the newly added business data in the form.

[0082] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, the process of generating a second form according to form design data is introduced.

[0083] See also Figure 4 The form generation steps shown include:

[0084] S410, determining a target form generation method according to data attributes of the changed data in the latest form configuration data.

[0085] The data attributes include at least one of data volume, data type and data importance.

[0086] Exemplarily, at least two candidate form generation methods are predetermined, for example, the first method: deleting the first form and regenerating the second form based on the latest form configuration data; the second method: adjusting the first form based on the latest form configuration data to obtain the second form.

[0087] Optionally, in this embodiment, if the data attribute includes data volume, then when the data volume exceeds a preset quantity threshold, the target form generation method is determined to be the first method mentioned above; otherwise, the target form generation method is determined to be the second method mentioned above.

[0088] Optionally, in this embodiment, if the data attribute includes a data type, then when the data type in the changed data is a preset data type, the target form generation method is determined to be the first method mentioned above; otherwise, the target form generation method is determined to be the second method mentioned above.

[0089] Optionally, in this embodiment, if the data attributes include data importance, then when the data importance in the changed data is a preset degree, the target form generation method is determined to be the first method mentioned above; otherwise, the target form generation method is determined to be the second method mentioned above.

[0090] Among them, the preset quantity threshold, preset data type and preset degree can all be determined based on manual experience, or through a large number of experiments, and this application does not impose any limitation on this.

[0091] S420, generating a second form based on the target form generation method and the form design data.

[0092] In the above embodiment, a plurality of form generation modes are provided. When the change conditions of the changed data in the latest form configuration data are different, different form generation modes are selected to generate the second form.

[0093] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, the process after obtaining the latest form configuration data corresponding to the first form from the data storage end is introduced.

[0094] See also Figure 5 The data verification steps shown include:

[0095] S510, verifying the rationality of the latest form configuration data.

[0096] Exemplarily, the latest form configuration data can be input into a pre-trained rationality verification model to obtain the data rationality verification result of the latest form configuration data. Among them, the rationality verification model can be constructed based on a common neural network, which will not be elaborated here. Furthermore, in the process of training the rationality verification model, the sample form configuration data can be input into the rationality verification model to obtain the rationality prediction result corresponding to the sample form configuration data, and then the model parameters of the rationality verification model are adjusted according to the rationality prediction result and the rationality label corresponding to the sample form configuration data.

[0097] Exemplarily, the latest form configuration data may also be output to a data verification person, who may verify the rationality of the latest form configuration data.

[0098] Accordingly, the latest form configuration data is parsed to generate form design data, including: when the data rationality verification is passed, the latest form configuration data is parsed to generate form design data.

[0099] In the above embodiment, when the form configuration data changes, the latest form configuration data is not directly obtained, but the rationality of the latest form configuration data is verified. If the verification passes, the latest form configuration data is obtained again, so that the second form generated based on the latest form configuration data is more reasonable.

[0100] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment. In this optional embodiment, the form generation method provided by the present application is introduced in detail.

[0101] See also Figure 6 The form generation method shown includes:

[0102] S610, when the data processing end detects that the form configuration data corresponding to the first form has changed, the data processing end obtains the latest form configuration data corresponding to the first form from the data storage end;

[0103] S620, the data processing end verifies the rationality of the latest form configuration data;

[0104] S630, when the data rationality verification passes, the data processing end parses the latest form configuration data and generates form design data;

[0105] S640, the data processing end determines a target form generation method according to data attributes of the changed data in the latest form configuration data; wherein the data attributes include at least one of data volume, data type, and data importance;

[0106] S650, the data processing end generates a second form based on the target form generation method and the form design data, and displays the second form on the form display page;

[0107] S660: When the data processing end detects that there is new business data in the second form, the data processing end performs format verification on the new business data based on the form verification rule;

[0108] S670, when the format verification of the newly added business data fails, the data processing end outputs a prompt message;

[0109] S680, when the new business data is verified and the data submission operation is detected, the data processing end outputs the new business data to the data storage end;

[0110] S690, the data storage end performs secondary verification on the newly added business data according to the form verification rule, and if the secondary verification passes, associates the newly added business data with the second form for storage.

[0111] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0112] Based on the same inventive concept, the embodiment of the present application also provides a form generation device for implementing the form generation method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more form generation device embodiments provided below can refer to the limitations on the form generation method above, and will not be repeated here.

[0113] In an exemplary embodiment, Figure 7 As shown, a form generation device is provided, including: a data acquisition module 710, a data parsing module 720 and a form generation module 730, wherein:

[0114] The data acquisition module 710 is used to acquire the latest form configuration data corresponding to the first form from the data storage end when detecting that the form configuration data corresponding to the first form has changed.

[0115] The data analysis module 720 is used to analyze the latest form configuration data and generate form design data.

[0116] The form generation module 730 is used to generate a second form according to the form design data, and display the second form on the form display page.

[0117] In one embodiment, the form design data includes form content data, form validation rules and form layout data; accordingly, the form generation module 730 includes a first generation unit, which is used to generate an initial form matching the latest form configuration data according to the form content data and the form validation rules; and a second generation unit, which is used to render the layout style of the initial form according to the form layout data to generate a second form.

[0118] In one embodiment, the form generation device also includes a data verification module, including a data verification unit, which is used to perform format verification on the new business data based on form verification rules when the new business data is detected in the second form; and an information prompt unit, which is used to output prompt information when the format verification of the new business data fails.

[0119] In one embodiment, the data verification module also includes a data output unit, which is used to output the new business data to the data storage end when the new business data verification passes and the data submission operation is monitored, so that the data storage end can associate the new business data with the second form for storage.

[0120] In one embodiment, the form generation module 730 includes a generation method determination unit, which is used to determine the target form generation method based on the data attributes of the changed data in the latest form configuration data; wherein the data attributes include at least one of the data volume, data type and data importance; and a third generation unit, which is used to generate a second form based on the target form generation method and the form design data.

[0121] In one embodiment, the form generation device further includes a rationality verification module for verifying the rationality of the latest form configuration data; correspondingly, the data parsing module 720 is used to parse the latest form configuration data and generate form design data when the data rationality verification passes.

[0122] Each module in the above-mentioned form generation device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute the operations corresponding to each module.

[0123] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 8As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a form generation method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0124] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0125] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:

[0126] When it is detected that the form configuration data corresponding to the first form has changed, the latest form configuration data corresponding to the first form is obtained from the data storage end;

[0127] Parse the latest form configuration data and generate form design data;

[0128] A second form is generated according to the form design data, and the second form is displayed on the form display page.

[0129] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0130] Generate an initial form that matches the latest form configuration data based on the form content data and form validation rules;

[0131] The layout style of the initial form is rendered according to the form layout data to generate a second form.

[0132] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0133] When it is detected that there is new business data in the second form, format verification is performed on the new business data based on the form verification rules;

[0134] If the format verification of the newly added business data fails, a prompt message is output.

[0135] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0136] When the newly added business data is verified and the data submission operation is monitored, the newly added business data is output to the data storage end, so that the data storage end associates the newly added business data with the second form for storage.

[0137] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0138] Determine the target form generation method according to the data attributes of the changed data in the latest form configuration data; wherein the data attributes include at least one of the data volume, data type and data importance;

[0139] Based on the target form generation mode and the form design data, a second form is generated.

[0140] In one embodiment, when the processor executes the computer program, the processor further implements the following steps:

[0141] Verify the rationality of the latest form configuration data;

[0142] When the data rationality verification is passed, the latest form configuration data is parsed to generate form design data.

[0143] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0144] When it is detected that the form configuration data corresponding to the first form has changed, the latest form configuration data corresponding to the first form is obtained from the data storage end;

[0145] Parse the latest form configuration data and generate form design data;

[0146] A second form is generated according to the form design data, and the second form is displayed on the form display page.

[0147] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0148] Generate an initial form that matches the latest form configuration data based on the form content data and form validation rules;

[0149] The layout style of the initial form is rendered according to the form layout data to generate a second form.

[0150] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0151] When it is detected that there is new business data in the second form, format verification is performed on the new business data based on the form verification rules;

[0152] If the format verification of the newly added business data fails, a prompt message is output.

[0153] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0154] When the newly added business data is verified and the data submission operation is monitored, the newly added business data is output to the data storage end, so that the data storage end associates the newly added business data with the second form for storage.

[0155] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0156] Determine the target form generation method according to the data attributes of the changed data in the latest form configuration data; wherein the data attributes include at least one of the data volume, data type and data importance;

[0157] Based on the target form generation mode and the form design data, a second form is generated.

[0158] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0159] Verify the rationality of the latest form configuration data;

[0160] When the data rationality verification is passed, the latest form configuration data is parsed to generate form design data.

[0161] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0162] When it is detected that the form configuration data corresponding to the first form has changed, the latest form configuration data corresponding to the first form is obtained from the data storage end;

[0163] Parse the latest form configuration data and generate form design data;

[0164] A second form is generated according to the form design data, and the second form is displayed on the form display page.

[0165] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0166] Generate an initial form that matches the latest form configuration data based on the form content data and form validation rules;

[0167] The layout style of the initial form is rendered according to the form layout data to generate a second form.

[0168] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0169] When it is detected that there is new business data in the second form, format verification is performed on the new business data based on the form verification rules;

[0170] If the format verification of the newly added business data fails, a prompt message is output.

[0171] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0172] When the newly added business data is verified and the data submission operation is monitored, the newly added business data is output to the data storage end, so that the data storage end associates the newly added business data with the second form for storage.

[0173] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0174] Determine the target form generation method according to the data attributes of the changed data in the latest form configuration data; wherein the data attributes include at least one of the data volume, data type and data importance;

[0175] Based on the target form generation mode and the form design data, a second form is generated.

[0176] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0177] Verify the rationality of the latest form configuration data;

[0178] When the data rationality verification is passed, the latest form configuration data is parsed to generate form design data.

[0179] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0180] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0181] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A form generation method, characterized in that: Applied to a data processing end, the method comprises: When it is detected that the form configuration data corresponding to the first form has changed, the latest form configuration data corresponding to the first form is obtained from the data storage end; Parsing the latest form configuration data to generate form design data; A second form is generated according to the form design data, and the second form is displayed on the form display page.

2. The method according to claim 1, characterized in that: The form design data includes form content data, form validation rules and form layout data; Accordingly, generating a second form according to the form design data includes: Generate an initial form matching the latest form configuration data according to the form content data and the form validation rules; The layout style of the initial form is rendered according to the form layout data to generate a second form.

3. The method according to claim 2, characterized in that After generating a second form according to the form design data and displaying the second form on the form display page, the method further includes: In the case where it is detected that there is new business data in the second form, format verification is performed on the new business data based on the form verification rule; If the format verification of the newly added business data fails, a prompt message is output.

4. The method according to claim 3, characterized in that The method further comprises: When the newly added business data passes verification and a data submission operation is detected, the newly added business data is output to the data storage end, so that the data storage end associates the newly added business data with the second form for storage.

5. The method according to claim 1, characterized in that Generating a second form according to the form design data includes: Determine the target form generation method according to the data attributes of the changed data in the latest form configuration data; wherein the data attributes include at least one of the data volume, data type and data importance; Based on the target form generation method and according to the form design data, a second form is generated.

6. The method according to any one of claims 1 to 5, characterized in that After acquiring the latest form configuration data corresponding to the first form from the data storage end, the method further includes: Verifying the rationality of the latest form configuration data; Accordingly, the parsing of the latest form configuration data to generate form design data includes: When the data rationality verification is passed, the latest form configuration data is parsed to generate form design data.

7. A form generating device, characterized in that: The device comprises: A data acquisition module, configured to acquire the latest form configuration data corresponding to the first form from a data storage terminal when detecting that the form configuration data corresponding to the first form has changed; A data parsing module, used to parse the latest form configuration data and generate form design data; The form generation module is used to generate a second form according to the form design data, and display the second form on the form display page.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.