Business data circulation method, device and storage medium based on custom form

Through custom forms and LSTM network prediction models, the logical chain is automatically constructed and predicted, which solves the problem of repetitive labor and high error rates of manually constructing logical chains by developers in the existing technology, and realizes efficient and flexible business data flow and forms Build.

CN118778948BActive Publication Date: 2025-01-10JIANGSU MOBILE INFORMATION SYST INTEGRATION CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411285469.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2025-01-10
Estimated Expiration
2044-09-13

AI Technical Summary

Technical Problem

In the existing technology, in the process of codeless form construction and data processing, developers need to manually build logical chains, resulting in duplicate labor and high error rates, and lack of flexibility, making it difficult to quickly adapt to business changes.

Method used

Through a custom form-based method, users create forms in the visual interface, and the server automatically predicts and generates visual logical chains, combining with the LSTM network prediction model, reducing duplicate operations and improving data flow efficiency.

Benefits of technology

It realizes code-free development, reduces the usage threshold and data error rate, improves development efficiency and data accuracy, and enhances the flexibility and adaptability of business functions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118778948B_ABST
    Figure CN118778948B_ABST
Patent Text Reader

Abstract

The present invention provides a business data flow method, device and storage medium based on a custom form, and relates to the technical field of business data form processing. The method includes the following steps: based on a visual interface, the user selects the corresponding basic control according to actual business needs and drags it to the form configuration area; the server automatically predicts the components associated with the basic control and automatically generates multiple alternative visual logic chains, and the user selects the visual logic chain that matches the actual business needs to complete the custom creation of the form; the server parses the form created by the user, generates the corresponding form code and publishes it as the initial form deployment; based on the initial form, the business data is aggregated and stored, and the business data is parsed to generate actual business functions. Based on the construction of work orders using visual drag technology, this application can realize automatic prediction of subsequent logic chains, and assist in the completion of form construction and data flow of business data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of business data form processing, and in particular to a business data circulation method, device and storage medium based on a custom form. Background Art

[0002] Early business data processing usually takes a lot of time to write code, create tables, and write functions, which is not only inefficient but also prone to errors. In order to solve this problem, people began to study how to develop a code-free and efficient development tool to reduce the workload of R&D personnel in writing code while improving the accuracy and efficiency of data input.

[0003] The commonly used code-free form construction and data processing processes are based on the VUE+DRAG visual drag technology to achieve visual form layout management on the front end, achieving what you see is what you get. This method shortens the development cycle, but still requires developers to complete the construction of the entire logic chain. However, many business work orders, customer complaint work orders, etc. actually have many identical links, and developers dragging one by one will undoubtedly generate a lot of repetitive work. Therefore, how to automatically predict the subsequent logic chain on the basis of visual drag technology to build work orders, and assist in completing the form construction and data flow of business data, is a top priority for subsequent development. Summary of the invention

[0004] Purpose of the invention: To propose a business data flow method, device and storage medium based on a custom form to solve the above-mentioned problems existing in the prior art.

[0005] In the first aspect, a business data flow method based on a custom form is proposed, the method comprising the following steps:

[0006] The user creates a form based on the visual interface, including building a custom form basic control, building a form configuration area, building a control / form property configuration area, and adjusting a single control property and form property in the control / form property configuration area;

[0007] The user selects the corresponding basic controls according to actual business needs and drags them to the form configuration area;

[0008] The server automatically predicts the components associated with the basic control and automatically generates multiple alternative visual logic chains. The user selects the visual logic chain that matches the actual business needs to complete the custom creation of the form;

[0009] The server parses the form created by the user, generates the corresponding form code and publishes it as the initial form deployment;

[0010] On the basis of the initial form, the user manually adds business data and / or the business data is automatically collected through the data collection and processing program;

[0011] The business data is aggregated and stored, and the business data is parsed to generate actual business functions; after the actual business functions are generated, the user can query the menu path corresponding to the actual business functions.

[0012] In a further embodiment of the first aspect, after constructing the custom form basic control, the server generates a rule configuration corresponding to the custom form basic control, automatically parses the rule configuration and stores it.

[0013] In a further embodiment of the first aspect, the server generates a rule configuration corresponding to the custom form basic control, specifically including:

[0014] Configuration form configuration rule container; the form configuration rule container contains a component set X consisting of multiple components = {X 1 , X 2 …X n}; Multiple components generate a visual logic chain of the entire form; X n Represents the nth component displayed on the page. Each component contains a basic control set x={x (1) 、x (2) …x (n)}, x (n) Represents component X n The nth control contained in;

[0015] Configure geographic location selection support items; the geographic location selection support items are two-choice: yes, then pull up the geographic location engine, and the user selects the location information; no, then no operation;

[0016] Configure a drop-down data set, the drop-down data set includes a drop-down box, a radio button, and a check box;

[0017] Configure the form text display width, the form text display width is in pixels;

[0018] Configure the front-end verification rules; the front-end verification rules can be configured as a binary choice.

[0019] In a further embodiment of the first aspect, the server automatically predicts components associated with the basic control and automatically generates multiple alternative visual logic chains, specifically including:

[0020] Construct a logical chain prediction model based on LSTM network. The goal of this logical chain prediction model is to learn a mapping function ; Where X represents a component set consisting of multiple components under a predetermined time series, and Y represents a visualized logic chain prediction value obtained based on several components under a predetermined time series;

[0021] The logic chain prediction model captures the long-term dependencies in the sequence data through the memory unit. In the t period, the output set of the memory unit is , the input set is , then the update rule of the memory unit is expressed as follows:

[0022] ;

[0023] In the formula, f(*) represents the transfer function of the LSTM network, which is based on the input set of the memory unit at the current moment. and the output set of the memory unit at the previous moment To update the state of the memory unit;

[0024] The input set of the memory unit It is expressed as:

[0025] ;

[0026] In the formula, k represents the length of each block of the sequence sent to the LSTM network for training, M is the number of blocks, Represents the input data of the Mth block length k;

[0027] Update the index prediction output element of the current sequence at time t ;

[0028] In the formula, is the sigmoid activation function; V represents the coefficient of the linear relationship, and c represents the offset of the linear relationship;

[0029] The index prediction output elements of all moments in the current sequence constitute the index prediction output set , the input data and output data of all index prediction output elements in the index prediction output set are connected at the end, forming a visualization logic chain;

[0030] In a further embodiment of the first aspect, the control / form property configuration area is constructed based on the form configuration data model:

[0031] Perform form column configuration conversion in the form configuration data model and generate different configuration rule information according to different component types;

[0032] In the form configuration data model, the A attribute is used to build the logical relationship between components and rules, and uses JSON format to store content including component name, component code, and data table field mapping relationship;

[0033] In the form configuration data model, the B attribute is used to construct the display mode of the component on the editable form, including the component type, component visibility, component input length, and the number of columns occupied by the component;

[0034] In the form configuration data model, the C attribute is used to construct the display mode of the component on the preview form, including the component type, component visibility, component input length, and the number of columns occupied by the component;

[0035] In the form configuration data model, the D attribute is used to construct the display mode of the component in the list, including text display, image display, label display, clickable button display, list width, percentage display, and pixel display;

[0036] Through the field configuration rules, the control method of the corresponding component is submitted to the rule engine in JSON format for parsing and storage.

[0037] In a further embodiment of the first aspect, the control mode of the corresponding component is submitted to the rule engine in JSON format for parsing and storage, specifically including:

[0038] Through the http protocol, the corresponding field configuration rules are transmitted to the rule engine for parsing. According to the corresponding JSON attribute specifications, the A attribute, B attribute, C attribute, and D attribute contents suitable for page display are parsed and stored in the database layer and the server cache middleware.

[0039] In a further embodiment of the first aspect, aggregating and storing the business data, and parsing the business data to generate actual business functions specifically include:

[0040] Add m new business data , each business data Contains values ​​provided by n data sources:

[0041] ;

[0042] In the formula, represents the transposed matrix; Indicates the value provided by the nth data source;

[0043] Aggregated business data With the input business data They satisfy linear regression, and the relationship is as follows:

[0044] ;

[0045] In the formula, is the linear regression intercept term, is the coefficient of the ith data source, is the i-th business data, is the random error term;

[0046] Based on the linear regression intercept term , the coefficient of the i-th data source , the i-th business data , construct an objective function P:

[0047] ;

[0048] Solve the objective function P to minimize it, and then get and is the optimal parameter;

[0049] In a second aspect of the present invention, a business data flow device is provided, which includes a form construction unit, a form logic chain generation unit, a parsing unit, a business data collection unit, and a business data aggregation unit. The business data flow device can automatically execute the business data flow method based on the custom form disclosed in the first aspect.

[0050] The form construction unit is used to provide users with a visual form construction interface; the visual form construction interface includes custom form basic controls, form configuration area, and construction control / form property configuration area; users select corresponding basic controls according to actual business needs and drag them to the form configuration area.

[0051] The form logic chain generation unit is used to automatically predict the components associated with the basic control and automatically generate multiple alternative visual logic chains. The user selects a qualified logic chain from the multiple alternative visual logic chains to complete the form creation, or manually add controls, generate components, and generate forms.

[0052] The parsing unit is used to parse the form created by the user, generate the corresponding form code and publish it as the initial form deployment.

[0053] The business data collection unit is used to drive the data collection and processing program to automatically collect business data, or read the business data manually added by the user.

[0054] The business data aggregation unit is used to aggregate and store the business data, and parse the business data to generate actual business functions; after the actual business functions are generated, the user can query the menu path corresponding to the actual business functions.

[0055] According to a third aspect of the present invention, a computer storage medium is provided, in which a computer program is stored. When the computer program is executed by a processor, the business data flow method based on a custom form disclosed in the first aspect is implemented.

[0056] Compared with the prior art, the present invention has at least the following beneficial effects:

[0057] The present invention proposes a method, device and storage medium for business data flow based on custom forms, which enables users to complete the construction of business functions through simple dragging and configuration without writing code, thereby lowering the threshold for use and improving development efficiency. Users can freely configure form controls, properties and business logic according to actual needs, making business functions more flexible and able to quickly adapt to various business changes. The key point is that the present invention, based on the construction of work orders using visual drag technology, can automatically predict subsequent logical chains, assist in the completion of form construction and data flow of business data, and reduce repetitive operations during dragging and configuration. In addition, since the link of manual code writing is reduced, the possibility of data errors is reduced and the accuracy of data is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 This is a flow chart of a business data transfer method based on a custom form in Example 1 of the present invention.

[0059] Figure 2 This is a flow chart of form generation in Example 2 of the present invention.

[0060] Figure 3 This is a flow chart of form deployment and data collection in Example 2 of the present invention.

[0061] Figure 4 This is a schematic diagram of a business data transfer device in Example 4 of the present invention. DETAILED DESCRIPTION

[0062] In the following description, a large number of specific details are provided to provide a more thorough understanding of the present invention. However, it is apparent to those skilled in the art that the present invention can be implemented without one or more of these details. In other examples, in order to avoid confusion with the present invention, some technical features known in the art are not described. Example

[0063] The existing construction of digital village business functions requires a lot of R&D intervention and writing of a lot of code, and there are problems such as lack of flexibility and high data error rate. To solve the above problems, the embodiment of the present invention provides a business data flow method based on a custom form, such as Figure 1 As shown, the main technical solutions are as follows:

[0064] Step 1. The user creates a form based on the visual interface, including building a custom form basic control (the user can configure the form fields by dragging and dropping when building a custom form), building a form configuration area (the user can drag the control to the configuration area during the form construction process, adjust the corresponding control position, delete the added control, etc.), building a control / form property configuration area and adjusting the single control properties and form properties in the control / form property configuration area (in this area, the corresponding control properties for a single control are adjusted, such as: control code, control name, control length, control visible range, etc., and the form properties can control the form visibility permission and operation permission).

[0065] The user selects the corresponding basic controls according to actual business needs and drags them to the form configuration area; the server automatically predicts the components associated with the basic controls and automatically generates multiple alternative visual logic chains. The user selects the visual logic chain that matches the actual business needs to complete the customized creation of the form; the server parses the form created by the user, generates the corresponding form code and publishes it as the initial form deployment.

[0066] Step 2: Based on the initial form, the user manually adds business data and / or the business data is automatically collected through the data collection and processing program.

[0067] Step 3: The server aggregates and stores the business data, and parses the business data to generate actual business functions; after the actual business functions are generated, the user can query the menu path corresponding to the actual business functions. Example

[0068] Based on the embodiments, some feasible details of the process are disclosed in Embodiment 2. It should be noted that these details are only a feasible idea and do not represent a special limitation on the specific process.

[0069] Figure 2 This shows the process of form generation. Figure 3 It shows the form deployment and data collection process. Users can create a new form in the form configuration function. After adding the form code, form name, associated table, and associated category, the corresponding form configuration data is generated and stored in the data model formInfo and the corresponding cache key in the json type character format.

[0070] Build custom form basic controls to facilitate users to configure the form directly by dragging and dropping when building custom forms. After creating the form, the user enters the form configuration page and displays a list of controls on the left. The control library includes text boxes, drop-down boxes, editable tables, date selectors, time selectors, multiple selection boxes, radio buttons, single file uploads, multiple file uploads, rich text editors, drop-down trees, multi-select drop-down trees, address selection and other controls. After selecting the components, the corresponding rules are automatically generated according to the selected components, and the database automatically parses the component rules and stores them.

[0071] Build the form configuration area. When building a form, users can drag controls to the configuration area, adjust the corresponding control position, delete the added controls, etc. The middle part of the form configuration page is the form visual editing area. Users can select the corresponding controls according to actual business needs and drag them to the middle area to customize the form. When there are multiple controls in the editing area at the same time, you can drag the components up and down in the editing area to adjust them to the appropriate position and delete redundant controls.

[0072] In the actual code, the data between each {} represents a component, and the order of the data represents the display order on the page. For example, the first {} represents the first component displayed on the page, the second {} represents the second component displayed, and so on. Through the front-end syntax, the {} data of the corresponding JSON array is removed, and the corresponding model is submitted to the model driver layer through the save operation at the same time, realizing the component deletion capability.

[0073] Build the control and form attribute configuration area. In this area, you can adjust the corresponding control attributes for a single control, such as control code, control name, control length, control visible range, etc. The form attributes can control the form visibility and operation permissions.

[0074] The right side of the form configuration page is the control and form property configuration area. The first page is the control properties where users can operate on a single control and set the corresponding control parameters. For example, if you select a text box control, you can set the corresponding control's nickname, control length (and the control display length in the form, one control or two controls per line), whether it is required, whether it is editable, whether it is displayed in a list, the default echo value, whether it is searchable, whether to export fields, visible roles, etc. on the control property page.

[0075] Perform form column configuration conversion in the form configuration data model reportConfig, and generate different configuration rule information according to different component types.

[0076] In the reportConfig model, the config attribute is used to build the logical relationship between components and rules and is stored in JSON format.

[0077] The JSON format contains code, which is used to store component codes, match and store data table field mapping relationships, and name, which is used to store component names.

[0078] In reportConfig, the formConfig property is used to construct the display mode of the component on the editable form, such as the component type type, component visibility visible, component input length max, component occupied columns col, etc.

[0079] In reportConfig, the formViewConfig property is used to construct the display mode of the component on the preview form, such as the component type type, component visibility visible, component input length max, component occupied columns col, etc.

[0080] In reportConfig, girdConfig is used to build the display mode of the component in the list.

[0081] The attribute type indicates the type of list display, including text (text display), image (picture display), tags (tag display), and button (clickable button display). The attribute width indicates the occupied list width, and supports display in % or px.

[0082] In reportConfig, queryConfig is used to construct the condition of whether the component can be queried. The system configures the rules through fields and submits the corresponding component control method in JSON format to the rule engine for parsing and storage.

[0083] The second is form property configuration: set the page data display style, such as using table style display, form style display, picture card and other different visual presentation methods, set the form visibility permissions to select the form visible role, set the form actionable buttons (such as add, delete, modify, query, import, and export buttons), and simultaneously set the button visibility permissions to select the courseware role corresponding to the action button.

[0084] In reportConfig, tableConfig implements table style, form style, permissions and other configurations. Select the corresponding table style, modify tableBorder in tableConfig to implement table border control, and tableStripe to implement table stripe control. The custom buttons provided by the system include "New", "Modify", "Delete", "Preview", "Import", "Export" and so on.

[0085] In reportCoinfg, custom buttons are implemented through the attribute btnListConfig. btnListConfig is a collection attribute container, and its sequence indicates the display order of buttons on the page. In the btnListConfig collection container, each {} represents a button, and custom buttons can be added, deleted, or modified by deleting or adding the number of collections of {}. The functional permission role corresponding to each button is roleList, which is a collection and supports multi-role control. Functional permissions are controlled by deleting, modifying, adding, and other operations of the collection. At the same time, in the rule parsing engine, the roles supported by each button are parsed according to the content and number of roleList, and the corresponding custom button information is displayed according to the corresponding role of the user who logs in to the platform.

[0086] The server automatically generates the corresponding data collection and processing program according to the form code designed by the user; after the user completes the design of all the fields in the form, save the operation and generate the corresponding actual business functions. After completing the above operations, click the Save button to obtain the rule content assembled by the front end, which is in the JSON format string.

[0087] Through the http protocol, the corresponding rules are transmitted to the rule engine for parsing. According to the corresponding JSON attribute specifications, the formConfig, formViewConfig, gridConfig and other contents suitable for page display are parsed and submitted to the data layer for storage. The storage location is the database layer and the server cache middleware.

[0088] Users deploy the generated program to the corresponding business scenario to realize the automation of data collection and processing. Aggregate and store business data, and analyze business data to generate actual business functions:

[0089] Add m new business data , each business data Contains values ​​provided by n data sources:

[0090] , represents the transposed matrix;

[0091] Aggregated business data With the input business data They satisfy linear regression, and the relationship is as follows:

[0092] ;

[0093] In the formula, is the linear regression intercept term, is the coefficient of the ith data source, is the i-th business data, is the random error term;

[0094] Based on the linear regression intercept term , the coefficient of the i-th data source , the i-th business data , construct an objective function P:

[0095] ;

[0096] Solve the objective function P to minimize it, and then get and is the optimal parameter.

[0097] After the user generates the actual business function, the corresponding generated menu path can be queried in the menu management of the Digital Village Platform. The designed form can be published to the Digital Village Platform by adding a new business function menu. The user can enter the designed form list by clicking the corresponding function (the list shows all generated business data actively added by the user or automatically collected data). Example

[0098] Based on Example 1 and Example 2, this embodiment discloses an algorithm logic in which a server automatically predicts components associated with the basic control and automatically generates multiple alternative visual logic chains. It should be noted that these details are only a feasible idea and do not represent a special limitation on the specific process.

[0099] Construct a logical chain prediction model based on LSTM network. The goal of this logical chain prediction model is to learn a mapping function ; Where X represents a component set consisting of multiple components under a predetermined time series, and Y represents a visualized logic chain prediction value obtained based on several components under a predetermined time series;

[0100] The logic chain prediction model captures the long-term dependencies in the sequence data through the memory unit. In the t period, the output set of the memory unit is , the input set is , then the update rule of the memory unit is expressed as follows:

[0101] ;

[0102] In the formula, f(*) represents the transfer function of the LSTM network, which is based on the input set of the memory unit at the current moment. and the output set of the memory unit at the previous moment To update the state of the memory unit;

[0103] The input set of the memory unit It is expressed as:

[0104] ;

[0105] In the formula, k represents the length of each block of the sequence sent to the LSTM network for training, M is the number of blocks, Represents the input data of the Mth block length k;

[0106] Update the index prediction output element of the current sequence at time t ;

[0107] In the formula, is the sigmoid activation function; V represents the coefficient of the linear relationship, and c represents the offset of the linear relationship;

[0108] The index prediction output elements of all moments in the current sequence constitute the index prediction output set , the input data and output data of all index prediction output elements in the index prediction output set are connected at the end, forming a visualization logic chain.

[0109] In practical application, the business data flow method disclosed in the above embodiment can be compiled into a computer program and stored in a storage medium. When the computer program is run on an electronic device, the electronic device executes the business data flow method disclosed in the above embodiment. When implemented in hardware, it can be, for example, an electronic circuit, an application-specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier. "Machine-readable medium" may include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via computer networks such as the Internet and intranets. Example

[0110] See Figure 4 This embodiment discloses a business data transfer device 400 that can automatically execute the business data transfer method based on a custom form as disclosed in the first aspect. The business data transfer device 400 includes a form construction unit 401, a form logic chain generation unit 402, a parsing unit 403, a business data collection unit 404, and a business data aggregation unit 405.

[0111] The form construction unit 401 is used to provide a visual form construction interface for the user; the visual form construction interface includes a custom form basic control, a form configuration area, and a construction control / form attribute configuration area; the user selects the corresponding basic control according to the actual business needs and drags it to the form configuration area. The form logic chain generation unit 402 is used to automatically predict the components associated with the basic control and automatically generate multiple alternative visual logic chains. The user selects a qualified logic chain from the multiple alternative visual logic chains to complete the form creation, or manually add controls, generate components, and generate forms. The parsing unit 403 is used to parse the form created by the user, generate the corresponding form code and publish it as the initial form deployment. The business data collection unit 404 is used to drive the data collection and processing program to automatically collect business data, or read the business data manually added by the user. The business data aggregation unit 405 is used to aggregate and store business data, parse business data to generate actual business functions; after the actual business functions are generated, the user can query the menu path corresponding to the actual business functions.

[0112] As described above, although the present invention has been shown and described with reference to specific preferred embodiments, it should not be construed as limiting the present invention itself. Various changes may be made to it in form and detail without departing from the spirit and scope of the present invention as defined in the appended claims.

Claims

1. A business data transfer method based on a custom form, characterized in that: The steps include: The user creates a form based on the visual interface, including building a custom form basic control, building a form configuration area, building a control form attribute configuration area, and adjusting a single control attribute and form attribute in the control form attribute configuration area; After building the custom form basic control, the server generates a rule configuration corresponding to the custom form basic control, specifically including: Configuration form configuration rule container; the form configuration rule container contains a component set X={X1, X2...X n }; Multiple components generate a visual logic chain of the entire form; X n Represents the nth component displayed on the page. Each component contains a basic control set x={x (1) 、x (2) …x (n) }, x (n) Represents component X n The nth control contained in; Configure geographic location selection support items; the geographic location selection support items are two-choice: yes, then pull up the geographic location engine, and the user selects the location information; no, then no operation; Configure a drop-down data set, the drop-down data set includes a drop-down box, a radio button, and a check box; Configure the form text display width, the form text display width is in pixels; Configure the front-end verification rules; the front-end verification rules can be configured as a binary selection formula; Automatically parse and store the rule configuration; The user selects the corresponding basic controls according to actual business needs and drags them to the form configuration area; The server automatically predicts the components associated with the basic control and automatically generates multiple alternative visual logic chains, including: Construct a logical chain prediction model based on LSTM network. The goal of this logical chain prediction model is to learn a mapping function ; Where X represents a component set consisting of multiple components under a predetermined time series, and Y represents a visualized logic chain prediction value obtained based on several components under a predetermined time series; The logic chain prediction model captures the long-term dependencies in the sequence data through the memory unit. In the t period, the output set of the memory unit is , the input set is , then the update rule of the memory unit is expressed as follows: ; In the formula, f(*) represents the transfer function of the LSTM network, which is based on the input set of the memory unit at the current moment. and the output set of the memory unit at the previous moment To update the state of the memory unit; The input set of the memory unit It is expressed as: ; In the formula, k represents the length of each block of the sequence sent to the LSTM network for training, M is the number of blocks, Represents the input data of the Mth block length k; Update the index prediction output element of the current sequence at time t ; In the formula, is the sigmoid activation function; V represents the coefficient of the linear relationship, and c represents the offset of the linear relationship; The index prediction output elements of all moments in the current sequence constitute the index prediction output set , the input data and output data of all index prediction output elements in the index prediction output set are connected at the end, forming a visualization logic chain; The user selects a visual logic chain that matches the actual business needs to complete the custom creation of the form; The server parses the form created by the user, generates the corresponding form code and publishes it as the initial form deployment; On the basis of the initial form, the user manually adds business data and / or the business data is automatically collected through the data collection and processing program; Aggregating and storing the business data, and parsing the business data to generate actual business functions, specifically including: Add m new business data , each business data Contains values ​​provided by n data sources: ; In the formula, represents the transposed matrix; Indicates the value provided by the nth data source; Aggregated business data With the input business data They satisfy linear regression, and the relationship is as follows: ; In the formula, is the linear regression intercept term, is the coefficient of the ith data source, is the i-th business data, is the random error term; Based on the linear regression intercept term , the coefficient of the i-th data source , the i-th business data , construct an objective function P: ; Solve the objective function P to minimize it, and then get and is the optimal parameter; After the actual business function is generated, the user can query the menu path corresponding to the actual business function.

2. The business data transfer method based on a custom form according to claim 1 is characterized in that: The control form attribute configuration area is built based on the form configuration data model: Perform form column configuration conversion in the form configuration data model and generate different configuration rule information according to different component types; In the form configuration data model, the A attribute is used to build the logical relationship between components and rules, and uses JSON format to store content including component name, component code, and data table field mapping relationship; In the form configuration data model, the B attribute is used to construct the display mode of the component on the editable form, including the component type, component visibility, component input length, and the number of columns occupied by the component; In the form configuration data model, the C attribute is used to construct the display mode of the component on the preview form, including the component type, component visibility, component input length, and the number of columns occupied by the component; In the form configuration data model, the D attribute is used to construct the display mode of the component in the list, including text display, image display, label display, clickable button display, list width, percentage display, and pixel display; Through the field configuration rules, the control method of the corresponding component is submitted to the rule engine in JSON format for parsing and storage.

3. The business data transfer method based on a custom form according to claim 2 is characterized in that: Submitting the control mode of the corresponding component in JSON format to the rule engine for parsing and storage specifically includes: Through the http protocol, the corresponding field configuration rules are transmitted to the rule engine for parsing. According to the corresponding JSON attribute specifications, the A attribute, B attribute, C attribute, and D attribute contents suitable for page display are parsed and stored in the database layer and the server cache middleware.

4. A business data transfer device, characterized in that: include: A form construction unit, used to provide users with a visual form construction interface; The visual form building interface includes custom form basic controls, form configuration area, and build control form property configuration area; users select corresponding basic controls according to actual business needs and drag them to the form configuration area; The form logic chain generation unit is used to automatically predict the components associated with the basic control and automatically generate multiple alternative visual logic chains. The user selects a qualified logic chain from the multiple alternative visual logic chains to complete the form creation, or manually add controls, generate components, and generate forms; The parsing unit is used to parse the form created by the user, generate the corresponding form code and publish it as the initial form deployment; A business data collection unit is used to drive the data collection and processing program to automatically collect business data, or read business data manually added by the user; A business data aggregation unit, used to aggregate and store the business data, and parse the business data to generate actual business functions; after the actual business functions are generated, the user can query the menu path corresponding to the actual business functions; The business data circulation device can automatically execute the business data circulation method based on the custom form as described in any one of claims 1 to 3.

5. A computer storage medium, characterized in that: The computer storage medium stores a computer program, and when the computer program is executed by the processor, the business data circulation method based on the custom form described in any one of claims 1 to 3 is implemented.

Citation Information

Patent Citations

  • URL test case generation method and device

    CN112306840A

  • Draggable WEB low-code development platform for back-end logic arrangement and workflow

    CN117891445A