Creation method, operation method and device of interactive service form
Through the creation method and operation method of interactive business forms, users can independently create and design business forms, which solves the problem of insufficient flexibility and scalability of form engines in business expansion in the existing technology, and achieves higher system flexibility. performance and scalability.
Patent Information
- Application Number
- CN202410893157.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-04
- Publication Date
- 2024-10-15
AI Technical Summary
In the existing technology, the form engine has insufficient flexibility and scalability when facing business expansion. In particular, the modeling is cumbersome and the business control granularity is not fine enough, and the logic scalability beyond standard functions is low.
Provides an interactive business form creation method and operation method. By receiving the user's instructions to create a form model, it displays the basic information of the form model and formats the design page, allowing the user to select business areas and business fields, set attributes and business rules, and implement Create and design business forms independently to improve system flexibility and scalability.
It realizes the independent creation of business forms and independent design of business rules according to business needs, improves the flexibility and scalability of the system, simplifies the format design operation of the form model, and improves the flexibility and operating efficiency of the form model.
Smart Images

Figure CN118780254A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of business form processing, and in particular to a method for creating, operating and a device for an interactive business form. Background Art
[0002] With the gradual digital transformation of enterprises, business such as enterprise financial management is becoming more and more dependent on financial systems. The complexity of enterprise management systems and financial management systems is also increasing, so the requirements for system flexibility and scalability are also increasing.
[0003] There are many common form engines in technology now, but each has its own advantages and disadvantages: some forms are only developed to support customized development for special scenarios, and are unable to cope with business expansion; some forms have business modeling capabilities, but the modeling is cumbersome, the business control granularity after modeling is not fine enough, and the logical scalability beyond standard functions is low. Summary of the invention
[0004] The present application provides a method for creating, operating and device for an interactive business form, so as to solve the technical problems mentioned in the above-mentioned prior art.
[0005] According to a first aspect of the present application, a method for creating an interactive business form is provided, comprising: after receiving an instruction from a user to create a form model, displaying a form model basic information page to receive basic information of the form model input by the user through the form model basic information page, wherein the basic information of the form model includes: a form model name, a form model ID, and a business model corresponding to the form model; displaying a form model formatting design page to receive a format design of the form model by the user, wherein the form model formatting design page includes a business model information display area, an attribute setting area, and a format design area, and the business model information display area is used to display the business areas and business fields contained in the business model corresponding to the form model; The attribute setting area is used to display the settable attributes of the business area and business field; the format design area is used to display the format of the form model designed by the user; the receiving of the user's format design for the form model includes: receiving the business area and / or business field selected by the user from the business model display area; combining and displaying the selected business area and / or business field according to the user's design; receiving the attributes selected by the user for the selected business area and / or business field from the attribute setting area; displaying the corresponding relationship setting result between the attributes selected by the user and the selected business area and / or business field; receiving the business rules set by the user for the form model, and the business rules are used to assist the user in operating the business form.
[0006] According to a second aspect of the present application, there is provided an operation method for an interactive business form, which is applied to an interactive business form created by the above-mentioned method for creating an interactive business form, the method comprising: after monitoring an operation event of a user on the interactive business form, obtaining business rule information corresponding to the business form based on a form model ID corresponding to the business form, including: querying all business rule IDs corresponding to the business form in a rule application range table, querying a rule name, rule type, triggering time and rule execution function in a rule master table based on the business rule ID, and querying a target field, target field area and target action in a rule detail table based on the business rule ID, and querying the target field area and target action in a triggering In the field table, all trigger fields and trigger field areas are queried based on the business rule ID; the obtained business rule information is grouped according to the preset grouping rules, and cached in the specified document template, wherein different groups correspond to different key-value pairs; according to the operation event, the rules to be executed are obtained in the corresponding groups in the document template, and the rule engine is called to execute the rules to be executed; according to the rule execution result returned by the rule engine, and based on the rule type, the corresponding target action is executed on the corresponding target field; the execution of the corresponding target action on the target field is taken as the next operation event until all linkage triggers are completed; and the business form after all rules are executed is displayed.
[0007] According to the third aspect of the present application, a device for creating an interactive business form is provided, which is used to execute the above-mentioned method for creating an interactive business form, including: a creation instruction receiving unit, which is used to display a form model basic information page after receiving an instruction from a user to create a form model, so as to receive basic information of the form model input by the user through the form model basic information page, and the basic information of the form model includes: form model name, form model ID and business model corresponding to the form model; a form format design unit, which is used to display a form model formatting design page to receive the format design of the form model by the user, wherein the form model formatting design page includes a business model information display area, an attribute setting area and a format design area, and the business model information display area is used to display the business model corresponding to the form model The business areas and business fields included; the attribute setting area is used to display the settable attributes of the business areas and business fields; the format design area is used to display the format of the form model designed by the user; the receiving of the format design of the form model by the user includes: receiving the business area and / or business field selected by the user from the business model display area; combining and displaying the selected business area and / or business field according to the user's design; receiving the attributes selected by the user for the selected business area and / or business field from the attribute setting area; displaying the corresponding relationship setting result between the attributes selected by the user and the selected business area and / or business field; a business rule setting unit is used to receive the business rules set by the user for the form model, and the business rules are used to assist the user in operating the business form.
[0008] According to a fourth aspect of the present application, an operating device for an interactive business form is provided, which is used to execute an operating method applied to the above-mentioned interactive business form, and the device includes: a business rule information acquisition unit, which is used to acquire the business rule information corresponding to the business form based on the form model ID corresponding to the business form after monitoring the user's operation event on the interactive business form, including: querying all business rule IDs corresponding to the business form in the rule application scope table, querying the rule name, rule type, trigger time and rule execution function in the rule main table based on the business rule ID, and querying the target field, target field area and target action in the rule details table based on the business rule ID, and querying all trigger fields, trigger fields based on the business rule ID in the trigger field table. Area; a business rule grouping unit, used to group the acquired business rule information according to preset grouping rules, and cache it in a specified document template, wherein different groups correspond to different key-value pairs; a business rule search unit, used to obtain the rules to be executed in the corresponding group in the document template according to the operation event, and call the rule engine to execute the rules to be executed; a business rule execution unit, used to execute the corresponding target action on the corresponding target field based on the rule execution result returned by the rule engine and the rule type; a business form display unit, used to display the business form after all rules are executed; wherein the business rule search unit is also used to execute the corresponding target action on the target field as the next operation event until all linkage triggers are completed.
[0009] In summary, the interactive business form creation method, operation method and device provided by the present application have at least the following beneficial effects:
[0010] After receiving the user's instruction to create a form model, the present application receives the basic information of the form model input by the user through the form model basic information page, and further receives the user's format design for the form model based on the form model formatting design page, which can receive the business area and / or business field selected by the user from the business model display area; combine and display the selected business area and / or business field according to the user's design; then receive the attributes selected by the user for the selected business area and / or business field from the attribute setting area, and display the corresponding relationship setting result between the attributes selected by the user and the selected business area and / or business field; finally, receive the business rules set by the user for the form model, and the business rules are used to assist the user in operating the business form. The present application realizes the autonomous creation of business forms and the autonomous design of business rules according to business needs, which improves the flexibility and scalability of the system. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.
[0012] Figure 1 A process for creating an interactive business form provided in an embodiment of the present application Figure 1 ;
[0013] Figure 2 A business model creation flow chart provided for an embodiment of the present application;
[0014] Figure 3 A model record table provided for an embodiment of the present application;
[0015] Figure 4 A model region relationship table provided for an embodiment of the present application;
[0016] Figure 5 A service area description table provided for an embodiment of the present application;
[0017] Figure 6 A service field description table provided for an embodiment of the present application;
[0018] Figure 7 A schematic diagram of a business model basic information page provided for an embodiment of the present application;
[0019] Figure 8 An embodiment of the present application provides a method for adding a business main table to a business model;
[0020] Fig. 9 A schematic diagram of adding other business areas to a business model provided in an embodiment of the present application;
[0021] Fig.10 A schematic diagram of adding a default business field to a business model provided in an embodiment of the present application;
[0022] Fig.11 A schematic diagram of adding an existing business area to a business model is provided in an embodiment of the present application;
[0023] Fig.12 A schematic diagram of adding a service field to a service area provided in an embodiment of the present application;
[0024] Fig.13 A schematic diagram of adding a service field is provided for an embodiment of the present application;
[0025] Fig.14 A schematic diagram of a basic information page structure of a form model provided in an embodiment of the present application;
[0026] Fig.15 A schematic diagram of creating a new form model provided in an embodiment of the present application;
[0027] Fig.16 A schematic diagram of a new form model after filling in information provided in an embodiment of the present application;
[0028] Fig.17 A form definition table provided for an embodiment of the present application;
[0029] Fig.18 A form model formatting design page provided for an embodiment of the present application;
[0030] Fig.19 A schematic diagram of a business rule setting page structure provided for an embodiment of the present application;
[0031] Fig. 20 A partial schematic diagram of a judgment rule condition provided in an embodiment of the present application;
[0032] Fig.21 A schematic diagram of a result portion of a result-type rule obtained in an embodiment of the present application;
[0033] Fig. 22 A rule master table provided for an embodiment of the present application;
[0034] Fig.23 A business rule list provided for an embodiment of the present application;
[0035] Fig.24 A schematic diagram of group storage of a rule list provided in an embodiment of the present application;
[0036] Fig.25 A business rule application scope table provided for an embodiment of the present application;
[0037] Fig.26 A business rule trigger field table provided for an embodiment of the present application;
[0038] Fig. 27 A schematic diagram of a business rule trigger field provided for an embodiment of the present application;
[0039] Fig.28 A form model creation process provided for an embodiment of the present application Figure 2 ;
[0040] Fig.29A form model saving flow chart provided for an embodiment of the present application;
[0041] Fig.30 A form model opening flow chart provided for an embodiment of the present application;
[0042] Fig.31 A flowchart of an operation method of an interactive business form provided in an embodiment of the present application;
[0043] Fig.32 A schematic diagram of the structure of an interactive business form creation device provided in an embodiment of the present application;
[0044] Fig.33 A schematic diagram of the structure of an operating device for an interactive business form provided in an embodiment of the present application. DETAILED DESCRIPTION
[0045] In order to make the above and other features and advantages of the present application more clear, the present application is further described below in conjunction with the accompanying drawings. It should be understood that the specific embodiments given herein are for the purpose of explaining to those skilled in the art and are only exemplary and not restrictive.
[0046] In the following description, many specific details are set forth to provide a thorough understanding of the present application. However, it is apparent to those skilled in the art that specific details need not be adopted to practice the present application. In other cases, well-known steps or operations are not described in detail to avoid blurring the present application.
[0047] In order to improve the flexibility and scalability of a system (such as an enterprise's financial management system), the present application embodiment proposes a solution that supports the autonomous creation of business models, form models, and the formulation of business rules according to business needs. The present application embodiment takes the process of creating a form model as an example to introduce in detail the method of creating a form model, a business model, and business rules.
[0048] The method for creating an interactive business form provided in the embodiment of the present application may be executed by the device for creating an interactive business form provided in the embodiment of the present application, and the device may be configured in an electronic device.
[0049] The present application embodiment provides a method for creating an interactive business form, the flow chart of which is as follows: Figure 1 As shown, the method includes steps 110-130.
[0050] Step 110, after receiving the user's instruction to create a form model, display the form model basic information page to receive the basic information of the form model input by the user through the form model basic information page, and the basic information of the form model includes: form model name, form model ID and business model corresponding to the form model.
[0051] The form model described in the embodiment of the present application is also the interactive business form. At least one document model is associated with a form model, and the document model is referred to as a business model in the embodiment of the present application. In the process of creating a form model, when receiving the basic information of the form model, it is necessary to receive the business model selected by the user to be associated with the currently created form model. Therefore, in order to facilitate understanding of the solution, the embodiment of the present application first introduces the business model and its creation method.
[0052] Among them, the essence of creating a business model is to define the table structure and table relationship that need to carry the form business. For example, for the table structure of a reimbursement business model, the business model may include but is not limited to: expense expenditure, budget control and / or payment information. The present application abstracts the expense expenditure into a table M, which may contain a variety of information in the expense expenditure. The above-mentioned various information may include the expense amount, expense type, and the date of expense occurrence, etc. The above-mentioned various information may also be abstracted into some business fields in table M. By further describing table M and the business fields in table M, a business subcategory can be converted into an expense business area of expense expenditure. Budget control and payment information can also be operated in this way, and the budget business area corresponding to budget control and the payment business area corresponding to payment information can be defined respectively. Combining the above-mentioned business areas can constitute a reimbursement business model.
[0053] A method for creating a business model in an embodiment of the present application includes: after receiving an instruction from a user to create a business model, displaying a business model basic information page to receive business model basic information input by the user through the business model basic information page, wherein the business model basic information includes: business model name, business model ID, business model category and group name; displaying a business area adding page to receive at least one business area added by the user to the business model according to business needs, and receiving the relationship between business areas set according to business logic; wherein adding a business area includes setting business area basic information, wherein the business area basic information includes: business area name, business area ID, business area description and parent area range; displaying a business field description page for the business area to receive business fields set by the user for the business area according to business needs, and its corresponding implementation process is as follows: Figure 2 as shown in .
[0054] In an exemplary embodiment, the receiving of an instruction from a user to create a form model includes: receiving an instruction from a user to create a new form model according to business needs; or receiving an instruction from a user to select a form model from a form model template library and update the selected form model.
[0055] In the embodiment of the present application, the basic information of the business model is recorded in the model record table. Figure 3 The figure shows an example of the structure of the model record table according to an embodiment of the present application. After receiving the basic information of the above-mentioned business model input by the user, click Save to store the data into the model record table.
[0056] It can be seen from the above process that the embodiment of the present application can also add business areas to the business model according to the actual business scenario, and define the table relationship between business areas. For example, in a common reimbursement model, an expense may need to be apportioned to different departments, that is, an expense may need to be subject to the budget control of multiple departments. For example, when reimbursing an activity for a team-building activity of departments A and B, if departments A and B each reimburse 50% of the team-building expenses, then the team-building expenses will be subject to the budget control of departments A and B. At this time, we can consider associating the budget business area with the expense business area (that is, the expense business area is the parent area of the budget business area). The business model is also configured with a model area relationship table, refer to the attached Figure 4 As shown in the figure, the model area relationship table is used to record information such as the business model ID, business area ID, and the parent area of the current business area, and then record the business areas included in the business model and the relationship between the business areas. The business model is also configured with a business area description table, refer to the attached Figure 5 As shown, it is used to record the business area information of each business model, including but not limited to the business area name, business area ID, corresponding form model ID, and whether it is the main table. The business model is also configured with a business field description table, refer to the attached Figure 6 As shown, it is used to record business field description information corresponding to the business model, including but not limited to business field name, business field ID, field type, region ID, whether it is a built-in business field, field name and region relationship.
[0057] For example, Figure 7 The following is a schematic diagram of the page for filling in the basic information of the business model. Figure 7 The business model displayed is a newly added business model. Enter the required information (such as model name, etc.) on the page in the figure, then click Save to save the entered data into the model record table to generate the corresponding business model basic information.
[0058] In an exemplary embodiment, receiving at least one business area added by the user to the business model according to business needs includes: adding a business master table to the business model, using the business master table as the first business area of the business model; adding the first business area to the area relationship table of the current business model, referring to Figure 8As shown in the figure, it is a schematic diagram of adding a business master table (the business master table can be built-in) to the business model, and at the same time, the business master table is associated with the current model region relationship table. The business master table will be used as the first business region of the current model, and the first business region is the main region of the business model. Other business regions added by users to the business model according to business needs can continue to be received according to business needs. That is, after the first business region is created, other business regions can be added to the current business model according to actual business needs, and the relationship between business regions can be determined according to business logic. Refer to the attached Fig. 9 As shown, other business areas added according to actual business needs can be completely newly added. Adding a business area includes setting basic information of the business area, which includes: business area name (also known as area name), business area ID (also known as area code), business area description (also known as description) and parent area range. Fig.10 As shown, the added business area name can have at least one built-in business field (such as area name "row number") and at least one non-business field (such as area code "ROW_NUM", description "row number", type "numeric value", system field "yes", default load "no", operation "modify" and the parent area range on the left "main area-my custom area 1" and one or more of other non-business fields) by default. After the above operations are completed, the business model dynamically creates a corresponding business area physical table in the background, and maintains the basic information of the business area in the business area description table, maintains the built-in business field information in the business field representation table, and maintains the business area ID, the corresponding parent area range and the corresponding business model in the model area relationship table. In addition, refer to the attached Fig.11 As shown, the existing business area can also be added to the newly created business model, that is, the newly created business model background can directly maintain the business area ID of the existing business area, the corresponding parent area range and the corresponding business model into the model area relationship table.
[0059] The method of setting the business field in the embodiment of the present application may include: completely adding a business field of a new business area and adding an existing business area to the business field of the new business area in the form model. Fig.12 and attached Fig.13 As shown, the background can determine the corresponding business area physical table through the business area description table, add corresponding columns to the corresponding business area physical table, and then store the description information of the business field into the business field description table.
[0060] In an exemplary embodiment, the receiving of the instruction of the user to create a form model includes: receiving the instruction of the user to create a new form model according to business needs; or receiving the instruction of the user to select a form model from the form model template library and update the selected form model, that is, the instruction of selecting an existing form model from the form model template library and updating the selected form model. Fig.14 As shown in the figure, the basic information page receives the basic information of the form model input by the user. Fig.15 As shown in the figure, a new form model is created. The newly created form model is a blank template. According to business needs, common information (such as applicant, application date, applicant's department and document number, etc.) is filled into the blank template. Fig.16 as shown in .
[0061] In one embodiment of the present application, the basic information of the form model is recorded in the form definition table. The basic information of the form model includes: the form model name, the form model ID and the business model corresponding to the form model, and may further include: the form model activation status and the form description information, etc. Fig.17 Shown is a schematic diagram of a form definition table in an embodiment of the present application.
[0062] Step 120, displaying the form model formatting design page to receive the user's format design for the form model.
[0063] The embodiment of the present application can design the style of the form model based on the business areas and business fields in the above business model.
[0064] After filling in the basic information of the form model, enter the form model format design page, which can be divided into three areas, including: business model information display area, attribute setting area and format design area. Among them, the business model information display area is used to display the business areas and business fields contained in the business model corresponding to the form model; the attribute setting area is used to display the configurable attributes of the business areas and business fields; the format design area is used to display the format of the form model designed by the user.
[0065] Refer to the attached Fig.18 Design a page for formatting the form model, where Fig.18 The left part of the diagram is the business model information display area. Fig.18 The right part of the Fig.18 The middle part of the is the format design area.
[0066] In one embodiment, the receiving of the format design of the form model by the user includes: receiving the business area and / or business field selected by the user from the business model display area; combining and displaying the selected business area and / or business field according to the design of the user. Then, receiving the attribute selected by the user for the selected business area and / or business field from the attribute setting area. Finally, displaying the corresponding relationship setting result between the attribute selected by the user and the selected business area and / or business field.
[0067] In an exemplary embodiment, the step of receiving a business area and / or business field selected by a user from the business model display area includes: when recognizing that a user selects a business area and / or business field, and moving the selected business area and / or business field to the format design area, it is determined that the business area and / or business field selected by the user from the business model display area is received.
[0068] Refer to the attached Fig.18 As shown, the user can drag the required business field or button (a button can be a business area) from the field tree of the business model information display area on the left to the corresponding position in the format design area according to business needs, thereby prompting the form model to recognize the business area and / or business field selected by the user, and move the selected business area and / or business field to the information of the format design area, so as to determine that the business area and / or business field selected by the user from the business model display area is received. According to business needs, it is also possible to set field attributes such as visibility, read-only, required, color change and default value in the property setting area on the right for the selected business area, and then realize the function of setting the attributes of the business area and business field by operating the property setting area. After the design based on the format design area is completed, click Save to save the generated data (such as data in Json format) to the corresponding attributes (such as TEMPLATE attributes) of the document definition table. Based on the above operations, the design status of the form can be intuitively seen, which simplifies the format design operation of the form model.
[0069] It can be seen that the user's style design of the form may include the design of the area, field and button made by the user on the form model formatting design page (for example, a personalized design generated by dragging the mouse according to actual business needs), and the style design of the form may also include but is not limited to the design of the position relationship between business areas, the position relationship between business fields, and the style design of business fields, etc. Through the above-mentioned form style design, the present application can generate a structured and hierarchically nested Json string, and the operation method is convenient and effective to meet the needs of different business states.
[0070] In an exemplary implementation, the form model format design may be recorded in a form definition table together with basic information of the form model.
[0071] Step 130: receiving business rules set by the user for the form model, where the business rules are used to assist the user in operating the business form.
[0072] Among them, business rules are an important function of this application form model. Business rules are a kind of business logic that can enable the form model to flexibly complete various complex businesses. For example: when the reimbursement amount is greater than 10,000 yuan, the business field representing the amount turns red, and a warning is issued when the reimbursement form is submitted; when the applicant's department is Department A, the business logic that the item description is required or not required; set the business logic that is associated with the individual budget department through the information of the person filling out the form, etc.
[0073] In an exemplary embodiment, the step of receiving the business rules set by the user for the form model includes: after receiving the user's instruction to set the business rules, displaying a business rule setting page, and receiving the business rule information set by the user through the business rule setting page, including at least one of the following: rule name, business rule ID, rule type, application scope, triggering time, and at least one condition and form type. Fig.19 As shown in the figure, it is a page structure diagram for setting business rules, where business rules include but are not limited to the following 7 types: one or more of verification, required, read-only, assignment, dimension mapping, visibility and color change. The above 7 types of rules can meet the needs of many common business scenarios. Different types of business rules can help users fill out forms more quickly, and can also help managers quickly formulate verification rules.
[0074] Among them, the condition part of the judgment rule is as follows Fig. 20 As shown, and the result part of the result-type rule is as follows Fig.21 As shown in , the rule engine can provide the capability, that is, the rule engine can associate fields, operators, functions and other information according to the rule application scope and target fields, so as to obtain a judgment expression or a result function, that is, the rule engine obtains the rule execution function based on the information.
[0075] The conditions and forms are determined by the rule type. Different business rule types may have different corresponding conditions and forms. The following lists the relationship between the four rule types and the corresponding conditions and forms:
[0076] In an exemplary embodiment, when the first rule type is a required, read-only, visible or color-changing rule, the condition and form may mainly include two parts connected by the two keywords "if" and "then". In the "if" keyword part, select the conditions for the establishment of the business rule. The business fields that can be selected for the establishment conditions include business fields determined or referenced according to the corresponding form model, comparison forms (such as equal to, not equal to, contain, greater than or less than), operation functions (such as addition, subtraction, multiplication and division) and value functions (such as total value or multi-line splicing), etc. In the "then" keyword part, select the target field and target action. The scope of the target field may also include a set of business fields determined or referenced according to the corresponding form model, wherein the target action includes but is not limited to: required, visible or hidden, read-only, color-changing body (font color, background color) and the color number changed to, etc.
[0077] When the second rule type is a validation rule, the corresponding condition and form can also include two parts connected by the two keywords "if" and "then". In the "if" keyword part, the establishment condition of the business rule is also selected, and the establishment condition can also be selected from the establishment condition of the corresponding first rule type mentioned above, and in the "then" keyword part, the strength of the validation control (such as prohibition, warning) or customized validation prompt information can be selected.
[0078] When the third rule type is an assignment rule, its corresponding conditions and forms may include but are not limited to three parts connected by the three keywords "if", "then" and "equals". In the "if" keyword part, the conditions for the establishment of the business rule are also selected, and the establishment conditions can also be selected from the corresponding conditions in the first rule type or the second rule type mentioned above. In the "then" keyword part, the target field can be selected, and the range of the target field can also be the range of the corresponding target field in the first rule type mentioned above. In the "equals" keyword part, the business fields in the business form and some value functions (such as multi-line splicing or total value, etc.) are selected.
[0079] When the fourth rule type is a dimension mapping rule, its corresponding conditions and form types may include, but are not limited to, dimension mapping name, source dimension, target dimension, strict control, unique value writeback, and default value priority selection boxes. Among them, the selection content in the selection box corresponding to the dimension mapping name can be "dimension mapping maintained in the system" (this function can limit the member range of another dimension type through the member combination under certain dimension types, and can display the built-in or set dimension default value); the selection box corresponding to the source dimension can be the business field corresponding to the establishment condition in the corresponding first rule type mentioned above; the selection box corresponding to the target dimension can also be the business field corresponding to the establishment condition in the corresponding first rule type mentioned above; strict control corresponds to a radio button, which is used to control that if the source dimension combination does not match the range of the target dimension, the target dimension is displayed in full or not at all; unique value writeback corresponds to a radio button, which is used to control that if there is no default value in the target dimension, but there is only one value in the range of the target dimension, you can confirm again whether to associate the unique value; default value priority corresponds to a radio button, which is used to control the default value after the dimension mapping is executed, and to determine whether to overwrite the value originally filled in the form.
[0080] In an exemplary embodiment, the method further includes: parsing the rule execution function according to the combination of the at least one condition and the form type, and recording the rule name, business rule ID, rule type, trigger timing and rule execution function in the rule main table; recording the correspondence between the form model ID and the business rule ID in the rule application scope table; parsing the target field, target field area, and target action of the rule according to the condition and the form type, recording the business rule ID, target field, target field area, and target action in the rule details table, and inserting the rule details table ID; parsing the trigger field and trigger field area of the rule according to the condition and the form type, and recording the business rule ID, trigger field, and trigger field area in the trigger field table.
[0081] Among them, refer to the attached Fig. 22 The diagram shows the structure of the rule master table. The rule master table is used to store the basic information of the business rules and the rule execution function. The basic information of the business rules includes: rule name, business rule ID, rule type, triggering time (the triggering time is the time to trigger the execution of the rule, which may include but is not limited to: one or more of creating an object, opening an object, value change, adding a new line, document submission and process submission. The triggering field is the field used as a condition in the business rule. The triggering field table is mainly used to record the foreign key of the rule master table, the foreign key of the rule detail table, the triggering field ID and whether the field uses an aggregate function, etc.), and the rule execution function is such as the rule engine execution function Json, etc. The rule execution function can be obtained by parsing according to the combination of the at least one condition and the form.
[0082] Refer to the attached Fig.23 The following is a schematic diagram of the business rule detail table structure, which is used to record the business rule ID, target field, target field area, target action, and inserted rule detail table ID. The target field, target field area, and target action of the rule can be parsed according to each condition and form. Different groups can be configured in a business rule, such as Fig.24 As shown in , the rule detail table is mainly used to store data in different groups, such as the target field information of the rule, the description information of the rule function, some specialized personalized definition information (for example: the verification information of the verification rule, the color information of the color change rule, the visibility information of the visibility rule, etc.) and the foreign key information of the rule main table.
[0083] Refer to the attached Fig.25 The following is a schematic diagram of the business rule application scope table structure, which is used to record the correspondence between the form model ID and the business rule ID. That is, the application scope table is at least used to maintain the relationship between the business rule and the form or form model, which includes but is not limited to the application type (form / form model), application ID (form ID / form model ID) and business rule ID.
[0084] Refer to the attached Fig.26 The following table shows the trigger field representation of business rules, which is used to record the business rule ID, trigger field and trigger field area, where the trigger field and trigger field area of the rule can be obtained according to each condition and form analysis. The trigger field can be a field used as a condition in the business rule. The table structure is as follows Fig. 27 As shown, this table is used to record the foreign key of the rule master table, the foreign key of the rule detail table, the trigger field ID, and whether the field uses an aggregate function.
[0085] For example, business rules can be added through the following steps: Step 131. Based on business needs, configure auxiliary form filling business rules in the business rule view in the property setting area, click the Add Business Rule button, and a page for setting business rules will pop up. The page content may include: rule name, application scope, rule type, trigger time, conditions and form type, etc.; Step 132. Determine the application scope based on the form model; Step 133. Fill in or select the rule name, rule type and trigger time; Step 134. Add multiple conditions and form types to the rule according to the actual business scenario.
[0086] After receiving the user's instruction to create a form model, the present application receives the basic information of the form model input by the user through the form model basic information page, and further receives the user's format design for the form model based on the form model formatting design page, which can receive the business area and / or business field selected by the user from the business model information display area; combine and display the selected business area and / or business field according to the user's design; then receive the attributes selected by the user for the selected business area and / or business field from the attribute setting area, and display the corresponding relationship setting result between the attributes selected by the user and the selected business area and / or business field; finally, receive the business rules set by the user for the form model, and the business rules are used to assist the user in operating the business form. The present application realizes the autonomous creation of business forms and the autonomous design of business rules according to business needs, which improves the flexibility and scalability of the system.
[0087] The form model formatting design process of this application performs personalized design of the form model based on the business model information display area, property setting area and format design area, generates a form model that meets multiple needs, and can also intuitively display the design effect to the user, realizing a quick and simple process of designing the form style.
[0088] The business rule setting scheme provided in this application improves the logic and effectiveness of the form model operation process, improves the efficiency and accuracy of the form model operation, and saves development and operation and maintenance costs.
[0089] Refer to the attached Fig.28 ~Attached Fig.30As shown in the figure, the processing flow of different life cycles of the form model is obtained through the form model ID to obtain the form model and all the business rule information of the form model. Initialize the values of each business area and business field in the form model. For example, initialize the row data of the business area according to the relationship between the business areas defined by the form model. The main table area has only one row of data, and other sub-areas can have multiple rows of data. The field data in the row data is stored as a key-value pair. The key is the code of this field, and the value is an object containing the value of this field and some attributes (field type, required attributes, visible and hidden attributes, color change attributes, etc.). After the initialization is completed, the data is returned to the front-end page, the form model is parsed by the front-end component, and then the initialized data is rendered to the corresponding business area and business field. After the user fills in the form and clicks Save, the front-end will send the structured data of the entire form to the back-end in batches. The back-end finds the business physical table to be stored through the area ID in the structured data, and then uses the KEY of the key-value pair as the field code to store it in the corresponding business area, and associates it with the parent row ID of the current row through the row ID of the main table area. When the form is opened again, the document number (business unique identifier) is used to obtain the main table information of the current form from the main business table. Then, the form model information is used to find the area involved in the current form, and the main table row ID is used to obtain the business data of the current document from other business tables in turn. Finally, the structured data of the form is rebuilt based on the parent row ID stored in the business area table and returned to the front-end page rendering.
[0090] When a user creates a business document, the business rules set in this application can be used to assist in completing the business form filling operation. The embodiment of the present application provides an interactive business form operation method, which is applied to the interactive business form created by the above-mentioned interactive business form creation method. The method realizes assisting users in filling out business documents based on the set business rules, such as Fig.31 The flowchart of the method is shown, and the method includes steps 210-260.
[0091] Step 210: after monitoring the user's operation event on the interactive business form, query the business rule information corresponding to the business form based on the form model ID corresponding to the business form.
[0092] When the user performs an operation on the page (for example, modifying a field value, adding a new row or deleting a row, etc.), the corresponding interface of the background is called, and the background publishes an action event (such as value change, adding a new row, deleting a row, etc.) based on the business field (or the business area where the business field is located), and defines business units to listen to the above-published events, such as: business rule business unit, budget verification business unit, control standard business unit, and business unit expansion according to business needs. After the business rule business unit listens to the user's operation event on the interactive business form, it will find all business rule information through the current form definition ID, including: querying all business rule IDs corresponding to the business form in the rule application range table, querying the rule name, rule type, trigger time and rule execution function in the rule master table based on the business rule ID, and querying the target field, target field area and target action in the rule detail table based on the business rule ID, and querying all trigger fields and trigger field areas in the trigger field table based on the business rule ID.
[0093] Step 220: Group the acquired business rule information according to preset grouping rules, and cache it in a specified document template, wherein different groups correspond to different key-value pairs.
[0094] In an exemplary embodiment, the step of grouping the acquired business rule information according to a preset grouping rule includes at least one of the following:
[0095] The business rule information is grouped according to the trigger field, and the business rules with the same trigger field are grouped into the same group, wherein the keyword in the key-value pair of the group is the trigger field ID, and the value in the key-value pair is the business rule ID;
[0096] Grouping the business rule information according to the trigger field area, placing the rules with the same trigger field area in the same group, wherein the keyword in the key-value pair of the group is the trigger field area ID, and the value in the key-value pair is the business rule ID;
[0097] The business rule information is grouped according to the target field area, and business rules with the same target field area are placed in the same group, the keyword in the key-value pair of the group is the target field area ID, and the value in the key-value pair is the business rule ID.
[0098] For example, the acquired business rule information is grouped according to the trigger field and the business area where the trigger field is located, and then the corresponding business rule list is obtained according to the field or area corresponding to the event (the field whose value has changed, the area where a new row is added or deleted), and the rules are executed in sequence and cached in the specified document template. If the rule list is not found, the business unit is jumped out.
[0099] Step 230: According to the operation event, the rules to be executed are obtained in the corresponding group in the document template, and the rule engine is called to execute the obtained rules.
[0100] In an exemplary embodiment, according to the operation event, obtaining the rules to be executed in the corresponding group in the document template includes:
[0101] When the operation event is an operation on a field, the rule to be executed is searched in the group with the trigger field ID as the keyword in the document template;
[0102] When the operation event is to perform an operation of adding a new row for an area of business data, searching the group with the target field area ID as the keyword in the document template for the rule to be executed;
[0103] When the operation event is an operation of deleting a row for an area of business data, the rule to be executed is searched in the group with the trigger field area ID as the keyword in the document template.
[0104] It can be understood that the above operation event is only an example, and in actual application, the corresponding execution rule can be obtained for any operation event.
[0105] Step 240: According to the rule execution result returned by the rule engine, and based on the rule type, a corresponding target action is executed on the corresponding target field.
[0106] In an exemplary embodiment, the rule execution result includes: whether the rule execution function is established, and the rule execution result returned by the rule engine and the corresponding target action performed on the corresponding target field based on the rule type include:
[0107] When the rule type is required, read-only, visible or invisible, or color change, if the rule execution result is that the rule execution function is established, the corresponding target action is: set the corresponding attribute for the target field; if the rule execution result is that the rule execution function is not established, the corresponding target action is: clear the attribute of the target field;
[0108] When the rule type is assignment, if the rule execution result is that the rule execution function is not established, the corresponding target action is: do not process the target field; if the rule execution result is that the rule execution function is established, and the rule execution result is to return an empty value, the corresponding target action is: clear the value attribute of the target field; if the rule execution result is to return a non-empty value, set the non-empty value as the value attribute of the target field, and trigger a new field value change.
[0109] When the rule type is dimension mapping, the rule execution result includes a default value and a range value, and the corresponding target action is: set the range value to the range value attribute of the target field, set the default value to the value of the target field, and trigger the logic of the target field value change. When the rule type is verification, if the rule execution result is that the rule execution function is not established, the corresponding target action is: delete the message object in the verification rule manager through the business rule ID. Among them, the message object refers to the detailed content of the verification rule, including but not limited to user-defined prompt messages, control strength (prohibition or warning), and verification-related fields (trigger fields defined by the verification rules).
[0110] If the rule execution result is that the rule execution function is established, the corresponding target action is: construct a verification message containing the anchor field of the verification information through the target row ID and trigger field returned in the rule execution result, and save it to the verification rule manager with the business rule ID as the keyword.
[0111] For example, when a business rule is executed, the defined Json function and form model are passed to the rule engine. The rule engine executes the Json function according to the form model and returns the result after execution. The returned result includes but is not limited to: the rule execution result (whether the rule execution function is established) and the row ID of the target field corresponding to the result on the form. After the rule engine returns the execution result, it determines the rule type. When the rule type is a required, read-only, visible, or color-changing rule, the target field needs to be operated regardless of whether the rule execution function is established. When the rule execution function is established, the corresponding action attribute is set to the attribute of the target field (for example, if the hidden rule is established, set the hidden of the target field object to true). When the rule execution function is not established, the corresponding attribute on the target field object is cleared (for example, if the hidden rule is not established, set the hidden of the target field object to null), that is, the original state of the target field is restored. When the rule type is an assignment rule, if the rule execution function is not established, the target field is not processed. When the returned result is a null value, the value attribute of the target field object is cleared. When the returned result is a specific value, it is necessary to package this value into the corresponding field type according to the field type of the target field (the form engine involves many field types. For example, for field types such as amount, dimension, and bank account, the rule engine only returns the ID, and these fields need to be packaged into data objects that can be displayed on the page), and then set it to the value attribute corresponding to the target field. After modifying the value of the target field, a new field value change will be triggered (that is, another task rule will be triggered with the new field). When the changed field value is a dimension mapping rule, the result will contain the default value and range. The range is set to the range attribute of the target field object (when the target field is clicked on the page, the range of the result will be passed to the dimension data interface to filter the range), and then the default value is set to the value of the target field object, and the value change logic of the field is triggered. When the changed field value is a validation rule, it is determined whether the result is established. If the rule execution function is not established, the message object is deleted in the validation information manager (that is, a Map table collection in the thread cache, which can use the rule ID as the key and the validation information as the value) through the rule ID. If the rule execution function is established, a verification message object containing the anchor field of the verification information (the user clicks the verification message on the form page to anchor to the specific location of the verified field) is constructed through the target row ID returned by the rule and the trigger field set of the rule. Then, the verification message object is stored in the verification information manager using the rule ID as the key.
[0112] Step 250: Executing the corresponding target action on the target field as the next operation event until all linkage triggers are completed.
[0113] In an exemplary embodiment, after all linkage triggers are completed, the entire processed form basic information object and verification information set are uniformly returned to the front-end service, and the front-end service renders the latest form basic information and prompts the verification information set. When the form is submitted, all the rules for submission timing that are checked in the document will be obtained and executed again, and all invalid rules will be returned. Then, the control type in the verified message will be determined. If they are all warning type messages, the message will be returned to the front-end page to prompt the user. If the user confirms to continue submitting, the submission process will be executed normally. If it is determined that there is a prohibited message, the submission is not allowed. After the relevant data is modified to meet the control specifications, the submission process will be executed.
[0114] Step 260: Display the business form after all rules are executed.
[0115] The business modeling capability of this application is concise, which makes it easier for business implementers to get started; at the same time, the form design capability of this application is flexible, and various business forms can be defined according to different businesses.
[0116] According to the present application, a device for creating an interactive business form is provided, which is used to execute the above-mentioned method for creating an interactive business form, such as Fig.32 The device is shown as a schematic diagram of the structure, and the device comprises:
[0117] The creation instruction receiving unit 310 is used to display a form model basic information page after receiving an instruction from a user to create a form model, so as to receive basic information of the form model input by the user through the form model basic information page, wherein the basic information of the form model includes: form model name, form model ID, and business model corresponding to the form model;
[0118] The form format design unit 320 is used to display the form model formatting design page to receive the user's format design of the form model, wherein the form model formatting design page includes a business model information display area, an attribute setting area and a format design area, the business model information display area is used to display the business area and business field contained in the business model corresponding to the form model; the attribute setting area is used to display the settable attributes of the business area and business field; the format design area is used to display the format of the form model designed by the user; the receiving of the user's format design of the form model includes: receiving the business area and / or business field selected by the user from the business model display area; combining and displaying the selected business area and / or business field according to the user's design; receiving the attributes selected by the user for the selected business area and / or business field from the attribute setting area; and displaying the corresponding relationship setting result between the attributes selected by the user and the selected business area and / or business field;
[0119] The business rule setting unit 330 is used to receive the business rules set by the user for the form model, and the business rules are used to assist the user in operating the business form.
[0120] According to the present application, there is also provided an operating device for an interactive business form, which is used to execute the operating method for the interactive business form as claimed in the claims. Fig.33 The schematic diagram of the structure of the device is shown, and the device comprises:
[0121] The business rule information acquisition unit 410 is used to query the business rule information corresponding to the business form based on the form model ID corresponding to the business form after monitoring the user's operation event on the interactive business form, including: querying all business rule IDs corresponding to the business form in the rule application range table, querying the rule name, rule type, triggering time and rule execution function in the rule master table based on the business rule ID, and querying the target field, target field area and target action in the rule detail table based on the business rule ID, and querying all trigger fields and trigger field areas in the trigger field table based on the business rule ID;
[0122] The business rule grouping unit 420 is used to group the acquired business rule information according to a preset grouping rule and cache it into a specified document template, wherein different groups correspond to different key-value pairs;
[0123] A business rule search unit 430 is used to obtain the rules to be executed in the corresponding group in the document template according to the operation event, and call the rule engine to execute the obtained rules;
[0124] The business rule execution unit 440 is used to execute the corresponding target action on the corresponding target field based on the rule type according to the rule execution result returned by the rule engine;
[0125] The business form display unit 450 is used to display the business form after all rules are executed;
[0126] The business rule search unit 430 is further configured to execute the corresponding target action on the target field as the next operation event until all linkage triggers are completed.
[0127] It should be understood that the specific features, operations and details described hereinabove with respect to the method of the present application may also be similarly applied to the device and system of the present application, or vice versa. In addition, each step of the method of the present application described above may be performed by a corresponding component or unit of the device or system of the present application.
[0128] It should be understood that each module / unit of the system of the present application can be implemented in whole or in part by software, hardware, firmware or a combination thereof. Each module / unit can be embedded in the processor of the electronic device or independent of the processor in the form of hardware or firmware, or can be stored in the memory of the electronic device in the form of software for the processor to call to perform the operation of each module / unit. Each module / unit can be implemented as an independent component or module, or two or more modules / units can be implemented as a single component or module.
[0129] The various technical features described above can be combined arbitrarily. Although all possible combinations of these technical features are not described, any combination of these technical features should be considered to be covered by this specification as long as there is no contradiction in such combination.
[0130] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for creating an interactive business form, characterized in that: include: After receiving the user's instruction to create a form model, displaying the form model basic information page to receive the basic information of the form model input by the user through the form model basic information page, the basic information of the form model including: form model name, form model ID and business model corresponding to the form model; Display a form model formatting design page to receive a user's format design for a form model, wherein the form model formatting design page includes a business model information display area, an attribute setting area, and a format design area, wherein the business model information display area is used to display the business areas and business fields contained in the business model corresponding to the form model; the attribute setting area is used to display the settable attributes of the business areas and business fields; the format design area is used to display the format of the form model designed by the user; the receiving of the user's format design for the form model includes: receiving the business area and / or business field selected by the user from the business model display area; combining and displaying the selected business area and / or business field according to the user's design; receiving the attributes selected by the user for the selected business area and / or business field from the attribute setting area; and displaying the corresponding relationship setting result between the attributes selected by the user and the selected business area and / or business field; The business rules set by the user for the form model are received, where the business rules are used to assist the user in operating the business form.
2. The method according to claim 1, characterized in that The method further comprises: The basic information of the form model and the form model format design are recorded in the form definition table.
3. The method according to claim 1, characterized in that The receiving instruction of the user to create a form model includes: Receive instructions from users to create a new form model based on business needs; or Receive an instruction from a user to select a form model from a form model template library and update the selected form model.
4. The method according to claim 1, characterized in that: The step of receiving a business area and / or business field selected by a user from the business model display area comprises: When it is recognized that the user selects the business area and / or business field and the selected business area and / or business field is moved to the format design area, it is determined that the business area and / or business field selected by the user from the business model display area is received.
5. The method according to claim 1, characterized in that The step of receiving the business rules set by the user for the form model comprises: After receiving the user's instruction to set business rules, the business rule setting page is displayed, and the business rule information set by the user is received through the business rule setting page, including at least one of the following: rule name, business rule ID, rule type, application scope, trigger time, and at least one condition and form type.
6. The method according to claim 5, characterized in that The method further comprises: Parse the rule execution function according to the combination of the at least one condition and the form, and record the rule name, business rule ID, rule type, triggering time and rule execution function in the rule master table; Record the correspondence between the form model ID and the business rule ID in the rule application scope table; According to each condition and form, the target field, target field area, and target action of the rule are parsed, and the business rule ID, target field, target field area, and target action are recorded in the rule detail table, and the rule detail table ID is inserted; According to each condition and form, the trigger field and trigger field area of the rule are parsed, and the business rule ID, trigger field and trigger field area are recorded in the trigger field table.
7. The method according to claim 5, characterized in that The rule type includes at least one of the following: Verification, required, read-only, assignment, dimension mapping, visibility and color change.
8. The method according to claim 1, characterized in that The method further comprises the step of creating a business model, comprising: After receiving the user's instruction to create a business model, displaying a business model basic information page to receive the business model basic information input by the user through the business model basic information page, the business model basic information including: business model name, business model ID, business model category and group name; Displaying a business area adding page to receive at least one business area added by a user to the business model according to business needs, and receiving a relationship between business areas set according to business logic; wherein adding a business area includes setting basic information of the business area, and the basic information of the business area includes: business area name, business area ID, business area description and parent area range; The business field description page of the business area is displayed to receive the business fields set by the user for the business area according to business needs.
9. The method according to claim 8, characterized in that The method further comprises: The business model basic information is recorded in the model record table.
10. The method according to claim 8, characterized in that The method further comprises at least one of the following: The business area information of each business model is recorded through the business area description table; The business areas included in the business model and the relationship between the business areas are recorded through the model area relationship table; The business fields corresponding to the business model are recorded in the business field description table.
11. The method according to claim 8, characterized in that The receiving at least one business area added by the user to the business model according to business needs comprises: Adding a business master table to the business model, and using the business master table as the first business area of the business model; Adding the first business area to the area relationship table of the current business model; Receive other business areas added by the user to the business model according to business needs.
12. An operation method of an interactive business form, applied to an interactive business form created by the method for creating an interactive business form according to any one of claims 1 to 11, characterized in that: The method comprises: After monitoring the user's operation event on the interactive business form, the business rule information corresponding to the business form is obtained based on the form model ID corresponding to the business form, including: querying all business rule IDs corresponding to the business form in the rule application range table, querying the rule name, rule type, triggering time and rule execution function in the rule master table based on the business rule ID, querying the target field, target field area and target action in the rule detail table based on the business rule ID, and querying all trigger fields and trigger field areas in the trigger field table based on the business rule ID; The acquired business rule information is grouped according to the preset grouping rules, and cached into the specified document template, where different groups correspond to different key-value pairs; According to the operation event, the rules to be executed are obtained in the corresponding group in the document template, and the rule engine is called to execute the rules to be executed; According to the rule execution results returned by the rule engine, the corresponding target actions are executed on the corresponding target fields based on the rule type; Executing the corresponding target action on the target field as the next operation event until all linkage triggers are completed; Displays the business form after all rules are executed.
13. The method according to claim 12, characterized in that The step of grouping the acquired business rule information according to a preset grouping rule comprises: Grouping the business rule information according to the trigger field, and grouping the business rules with the same trigger field into the same group, wherein the keyword in the key-value pair of the group is the trigger field ID, and the value in the key-value pair is the business rule ID; or Grouping the business rule information according to the trigger field area, placing the rules with the same trigger field area in the same group, wherein the keyword in the key-value pair of the group is the trigger field area ID, and the value in the key-value pair is the business rule ID; or The business rule information is grouped according to the target field area, and business rules with the same target field area are placed in the same group, the keyword in the key-value pair of the group is the target field area ID, and the value in the key-value pair is the business rule ID.
14. The method according to claim 13, characterized in that According to the operation event, the rules to be executed are obtained in the corresponding group in the document template, including: When the operation event is an operation on a field, the rule to be executed is searched in the group with the trigger field ID as the keyword in the document template; When the operation event is to perform an operation of adding a new row for an area of business data, searching the group with the target field area ID as the keyword in the document template for the rule to be executed; When the operation event is an operation of deleting a row for an area of business data, the rule to be executed is searched in the group with the trigger field area ID as the keyword in the document template.
15. The method according to any one of claims 12 to 14, characterized in that: The rule execution result includes: whether the rule execution function is established. The rule execution result returned by the rule engine and the corresponding target action executed on the corresponding target field based on the rule type include: When the rule type is required, read-only, visible or invisible, or color change, if the rule execution result is that the rule execution function is established, the corresponding target action is: set the corresponding attribute for the target field; if the rule execution result is that the rule execution function is not established, the corresponding target action is: clear the attribute of the target field; When the rule type is assignment, if the rule execution result is that the rule execution function is not established, the corresponding target action is: do not process the target field; if the rule execution result is that the rule execution function is established, when the rule execution result is to return a null value, the corresponding target action is: clear the value attribute of the target field; when the rule execution result is to return a non-null value, the corresponding target action is: set the non-null value as the value attribute of the target field and trigger a new field value change; When the rule type is dimension mapping, if the rule execution result includes a default value and a range value, the corresponding target action is: setting the range value to the range value attribute of the target field, setting the default value to the value of the target field, and triggering the logic of changing the target field value; When the rule type is verification, if the rule execution result is that the rule execution function is not established, the corresponding target action is: delete the message object in the verification rule manager through the business rule ID; if the rule execution result is that the rule execution function is established, the corresponding target action is: build a verification message containing the anchor field of the verification information through the target row ID and trigger field returned in the rule execution result, and save it to the verification rule manager with the business rule ID as the keyword.
16. An interactive business form creation device, used to execute the interactive business form creation method according to claims 1-11, characterized in that: include: A creation instruction receiving unit, configured to display a form model basic information page after receiving an instruction from a user to create a form model, so as to receive basic information of the form model input by the user through the form model basic information page, wherein the basic information of the form model includes: a form model name, a form model ID, and a business model corresponding to the form model; A form format design unit is used to display a form model formatting design page to receive a user's format design of a form model, wherein the form model formatting design page includes a business model information display area, an attribute setting area, and a format design area, wherein the business model information display area is used to display the business areas and business fields contained in the business model corresponding to the form model; the attribute setting area is used to display the settable attributes of the business area and business field; the format design area is used to display the format of the form model designed by the user; the receiving of the user's format design of the form model includes: receiving the business area and / or business field selected by the user from the business model display area; combining and displaying the selected business area and / or business field according to the user's design; receiving the attributes selected by the user for the selected business area and / or business field from the attribute setting area; and displaying the corresponding relationship setting result between the attributes selected by the user and the selected business area and / or business field; The business rule setting unit is used to receive the business rules set by the user for the form model, and the business rules are used to assist the user in operating the business form.
17. An interactive business form operating device, used to execute the interactive business form operating method according to any one of claims 12 to 15, characterized in that: The device comprises: A business rule information acquisition unit is used to acquire the business rule information corresponding to the business form based on the form model ID corresponding to the business form after monitoring the user's operation event on the interactive business form, including: querying all business rule IDs corresponding to the business form in the rule application range table, querying the rule name, rule type, triggering time and rule execution function in the rule master table based on the business rule ID, querying the target field, target field area and target action in the rule detail table based on the business rule ID, and querying all trigger fields and trigger field areas in the trigger field table based on the business rule ID; A business rule grouping unit is used to group the acquired business rule information according to a preset grouping rule and cache it into a specified document template, wherein different groups correspond to different key-value pairs; A business rule search unit, used to obtain the rules to be executed in the corresponding group in the document template according to the operation event, and call the rule engine to execute the rules to be executed; A business rule execution unit is used to execute corresponding target actions on corresponding target fields based on the rule execution results returned by the rule engine and based on the rule type; Business form display unit, used to display the business forms after all rules are executed; The business rule search unit is further configured to execute the corresponding target action on the target field as the next operation event until all linkage triggers are completed.
