Form dynamic association method, terminal and storage medium
By establishing form field relationships, configuring association rules and triggering conditions in the low-code development platform, dynamic data association between forms is realized, solving the problem of low efficiency in traditional form development and improving development flexibility and efficiency.
Patent Information
- Application Number
- CN202510075377.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-04-25
AI Technical Summary
During traditional form development, the association between forms depends on the developer's manual coding, resulting in low development efficiency and difficulty in adapting to dynamically changing business needs.
In the low-code development platform, by establishing form field relationships, configuring association rules and trigger conditions, dynamic data associations between forms are realized, dynamically refreshing data and displaying real-time data linkage effects.
It improves the flexibility and efficiency of form development, reduces redundant development work and hard coding, and adapts to a variety of complex business scenarios.
Smart Images

Figure CN119883355A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of software development, and in particular to a method for dynamically associating forms, a terminal and a storage medium. Background Art
[0002] The human-computer interaction interface of the software includes the display of function forms and human-computer interaction functions. Specifically, the adjustable data or function items are displayed through the function form, and the user adjusts the software functions and displayed data through the function form.
[0003] In traditional form development, the connection between forms often relies on manual coding by developers, resulting in relatively low development efficiency and difficulty adapting to dynamically changing business needs. With the rise of low-code development platforms, dynamic data connection between forms has become a critical requirement for improving development efficiency and user experience. Low-code platforms generally offer visual editing capabilities, allowing users to connect, drag, and adjust parameters of functional modules based on business needs to achieve low-code development.
[0004] Furthermore, in the later maintenance of functional forms, due to the increase in business functions, the later maintenance issues have become more complicated, requiring users to have strong programming skills, which creates a certain threshold for ordinary users.
[0005] Therefore, there is an urgent need for a method, terminal, and storage medium for dynamically associating forms that can solve one or more of the above problems. Summary of the Invention
[0006] To solve one or more problems existing in the prior art, the present invention provides a method for dynamically associating forms, a terminal, and a storage medium. The technical solution adopted by the present invention to solve the above problems is: a method for dynamically associating forms, the method is applied to a low-code development platform, the method comprising: establishing a form field relationship, defining the fields and their attributes in the form in the low-code development platform, creating a dependency relationship between the required fields, and obtaining the basic data structure of the fields;
[0007] Configure association rules, based on the basic data structure and functional requirements of the form, using the low-code development platform to configure dynamic association rules for the fields;
[0008] Configuring trigger conditions: configuring the trigger conditions of the dynamic association rules through the low-code development platform;
[0009] Dynamic data refresh updates the data and display content of the interrelated forms in real time according to the trigger conditions, and displays the effect of real-time data linkage through the front end.
[0010] In some embodiments, the dynamic association rules include: data linkage rules and calculation logic.
[0011] In some embodiments, the triggering condition includes: a change in a field value and a specific event trigger.
[0012] In some embodiments, during the dynamic data refresh, if the dynamic association rule is triggered, the system searches for cached content and / or calls a backend interface to obtain the latest content, where the latest content is the data of the field.
[0013] And a terminal comprising a memory, a processor and a computer program stored in the memory, wherein the computer program implements the above-mentioned method for dynamic association of forms when executed by the processor.
[0014] And a computer-readable storage medium storing a computer program, wherein the computer program implements the above-mentioned method of dynamic association of forms when executed by a processor.
[0015] The technical effect achieved by the present invention is: through the above method, dynamic data association between forms is realized, the flexibility and efficiency of form development for ordinary users in the low-code development platform are improved, redundant development work and hard coding are reduced, and a variety of complex business scenarios are adapted. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A schematic block diagram of the method of the present invention;
[0017] Figure 2 is a schematic block diagram of embodiment 1 of the present invention;
[0018] Figure 3 This is a schematic block diagram of embodiment 3 of the present invention;
[0019] Figure 4 This is a schematic block diagram of embodiment 4 of the present invention. DETAILED DESCRIPTION
[0020] To make the above-mentioned objects, features, and advantages of the present invention more readily understood, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings. The following description sets forth many specific details to facilitate a full understanding of the present invention. However, the present invention can be implemented in many other ways than those described herein, and those skilled in the art can make similar modifications without departing from the scope of the present invention. Therefore, the present invention is not limited to the specific embodiments disclosed below.
[0021] The present invention discloses a method for dynamically associating forms, which is applied in a low-code development platform and combined with Figure 1As shown, the method includes: establishing a form field relationship, defining the fields and their attributes in the form in the low-code development platform, creating a dependency relationship between each of the fields required, and obtaining a basic data structure of the fields;
[0022] Configure association rules, based on the basic data structure and functional requirements of the form, using the low-code development platform to configure dynamic association rules for the fields;
[0023] Configuring trigger conditions: configuring the trigger conditions of the dynamic association rules through the low-code development platform;
[0024] Dynamic data refresh updates the data and display content of the interrelated forms in real time according to the trigger conditions, and displays the effect of real-time data linkage through the front end.
[0025] Specifically, the dynamic association rules include data linkage rules and calculation logic; the trigger conditions include field value changes and specific event triggers. Furthermore, during dynamic data refresh, if the dynamic association rules are triggered, the system searches cached content and / or calls backend interfaces to obtain the latest content. The latest content is the data in the field, using caching and asynchronous loading technologies to improve response efficiency.
[0026] A terminal includes a memory, a processor, and a computer program stored in the memory. When the computer program is executed by the processor, the method for dynamically associating forms as described above is implemented.
[0027] A computer-readable storage medium stores a computer program, wherein the computer program implements the above-mentioned method for dynamically associating forms when executed by a processor.
[0028] Example 1 is: Combination Figure 2 As shown, the user creates two forms in the low-code development platform, such as "Order Information Form" and "Customer Information Form";
[0029] For establishing the form field relationship, the fields are defined and field attributes are configured. The dependency relationship of the configured fields is the "Customer Information Form", wherein the definition and attributes include: the title of the field in a component of the "Order Information Form" is "Customer Name", the display mode of the field in a component, and the associated function of the field, thereby obtaining the basic data structure of the field;
[0030] For configuring trigger conditions, the trigger condition is configured as follows: a change in a field value in a component. When a user enters a field such as "Company Name" or a keyword in the field input bar of the "Customer Name" component in the "Order Information Form", the change in the field value triggers the association between the "Order Information Form" and the "Customer Information Form";
[0031] Regarding the configuration association rule, the configuration association rule is: data linkage (i.e., the input field of a component depends on the data in the "customer information form" and the functions provided by the data) and the corresponding filtering condition. The filtering condition is: matching of the input field. At this time, the system filters and matches the input company or keyword with the customer information in the "customer information form" according to the data linkage rule and the filtering condition;
[0032] For the dynamic data refresh, the front end obtains the data associated with the input field (company or keyword) in real time (the customer information in the "Customer Information Form" after filtering, screening and matching), and displays the associated data in real time on a component in the "Order Information Form" according to the definition and configuration properties of the field;
[0033] Example 2: Based on the above two forms, further define the fields and configure the attributes and dependencies of the fields, so that the detailed information of the customer information in the "Customer Information Form" can be displayed together;
[0034] Example 3, combined with Figure 3 As shown, a third form can be created based on the above two forms. The third form has two fields. The two fields are named "Order" and "Customer" in a component title. The "Order" field depends on the "Order Information Form". When the "Order" field is triggered, the customer information (name, contact information, address, etc.) in the order data in the "Order Information Form" can be brought out and displayed in the "Customer" field, realizing the dynamic association between the third form and the above two forms.
[0035] Example 4, combined with Figure 4As shown, based on the above three forms, the third form also sets a field. The title of this field in a certain component is "Order Time". The association between the "Order Time" field and the "Order" field is defined. When the data in the "Order" field changes (is triggered), the data in the "Order Time" field will be automatically brought out and displayed; you can also configure a field. The title of this field in a certain component is "Customer Contact Information". The association between the "Customer Contact Information" field and the "Customer" field is defined. When the data in the "Order" field changes (is triggered), the customer information (name) in the "Customer" field, the data in the "Order Time" field and the data in the "Customer Contact Information" field will be brought out and displayed. When the data in the "Customer" field changes (is triggered), only the data in the "Customer Contact Information" field will be brought out and displayed.
[0036] To sum up, the above method can realize dynamic association of data between forms, improve the flexibility and efficiency of form development for ordinary users in the low-code development platform, reduce redundant development work and hard coding, and adapt to a variety of complex business scenarios.
[0037] The embodiments described above merely represent one or more embodiments of the present invention. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art may make various modifications and improvements without departing from the scope of the present invention, all of which fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be determined by the appended claims.
Claims
1. A method for dynamically associating forms, characterized in that: The method is applied in a low-code development platform, and the method includes: establishing a form field relationship, defining the fields and their attributes in the form in the low-code development platform, creating a dependency relationship between the fields of the requirement, and obtaining a basic data structure of the fields; Configure association rules, based on the functional requirements of the basic data structure and the form, using the low-code development platform to configure dynamic association rules for the fields; Configure trigger conditions, and configure the trigger conditions of the dynamic association rules through the low-code development platform; Dynamic data refresh updates the data and display content of the interrelated forms in real time according to the trigger conditions, and displays the effect of real-time data linkage through the front end.
2. The method for dynamically associating forms according to claim 1, characterized in that: The dynamic association rules include: data linkage rules and calculation logic.
3. The method for dynamically associating forms according to claim 1, characterized in that: The trigger conditions include: field value changes and specific event triggers.
4. The method for dynamically associating forms according to claim 1, characterized in that: In the dynamic data refresh, if the dynamic association rule is triggered, the system searches for cached content and / or calls a background interface to obtain the latest content, where the latest content is the data of the field.
5. A terminal, characterized in that: The terminal includes a memory, a processor, and a computer program stored in the memory, and when the computer program is executed by the processor, the method for dynamically associating forms according to any one of claims 1 to 4 is implemented.
6. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for dynamically associating forms according to any one of claims 1 to 4 is implemented.
Citation Information
Cited By
Form linkage processing method and device based on artificial intelligence, equipment, medium and program
CN120743157A