Form data processing method and device, electronic equipment and storage medium
By acquiring business identifiers and form description information, matching the page information and functional module identifier set of the form template, and adjusting the page information to generate workflow forms, the problem of complex and inefficient workflow form generation in existing technologies is solved, achieving efficient form generation and flow.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA CONSTRUCTION BANK
- Filing Date
- 2023-04-03
- Publication Date
- 2026-08-04
AI Technical Summary
In existing technologies, generating forms by dragging and dropping graphics and automating the form flow are complex and inefficient for complex workflows.
By acquiring business identifiers and form description information, matching the page information and functional module identifier set of the form template, adjusting the page information to generate a workflow form, including deleting redundant page levels and adding missing functional modules, and using a preset recognition model to identify text fields and generate forms.
It improves the efficiency and convenience of form generation, can adapt to the needs of complex workflows, automatically adjusts the differences between form templates and requirements, and simplifies the form generation process.
Smart Images

Figure CN116362216B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of computer technology, and in particular to a method, apparatus, electronic device, and storage medium for processing form data. Background Technology
[0002] In traditional business processes, paper forms are typically used, and the forms are manually passed around to facilitate workflows such as business reviews and approvals, resulting in low efficiency. Current technology offers the option of generating forms via drag-and-drop graphics and automating the process, but this approach is only suitable for simple workflows. For complex workflows, form generation is cumbersome and inefficient. Summary of the Invention
[0003] In view of this, embodiments of the present invention provide a method, apparatus, electronic device, and storage medium for form data processing, which can solve the problem that generating forms by dragging and dropping graphics and automating the flow of forms is complex and inefficient for complex workflows.
[0004] To achieve the above objectives, according to one aspect of the present invention, a method for processing form data is provided.
[0005] A method for processing form data according to an embodiment of the present invention includes: in response to a form processing instruction, obtaining a corresponding business identifier and form description information, so as to query the form template associated with the business identifier;
[0006] Obtain the page information corresponding to the form template, query the set of functional tags for each page level included in the page information; identify the form description information to obtain the set of functional module identifiers included;
[0007] In response to a mismatch between the tag set and the functional module identifier set, the difference information between the tag set and the functional module identifier set is determined to adjust the page information;
[0008] Display the adjusted page information to receive input configuration parameters, and generate a workflow form based on the adjusted page information and configuration parameters.
[0009] In one embodiment, adjusting the page information includes:
[0010] Based on the difference information, identify the redundant page levels and missing functional modules in the form page;
[0011] Query the general page floor information corresponding to the missing functional module identifier, update the general page floor information to the page information, and delete redundant page floors in the form page to obtain the adjusted page information.
[0012] In yet another embodiment, updating the general page floor information to the page information includes:
[0013] Obtain the floor to be edited from the page information and establish a correspondence between it and the general page floor information.
[0014] In yet another embodiment, after generating the workflow form based on the adjusted page information and configuration parameters, the method further includes:
[0015] In response to the trigger command of the workflow form, obtain the current node identifier to query the associated form parameter items;
[0016] The parameter values of the form parameter items are obtained from the workflow form. In response to the parameter values meeting preset conditions, the set of jump node identifiers corresponding to the current node identifier is queried to transfer the workflow form to the jump node.
[0017] In yet another embodiment, the form description information is identified to derive a set of functional module identifiers, including:
[0018] The preset recognition model is invoked to recognize the text fields in the preset format of the form description information;
[0019] For each text field, extract the corresponding keywords and match them with preset functional keywords to determine the functional module corresponding to the text field;
[0020] The set of functional module identifiers is determined based on the functional module corresponding to each text field.
[0021] In yet another embodiment, querying the form template associated with the business identifier includes:
[0022] In response to the form template associated with the business identifier being empty, the form description information is identified to obtain the set of functional module identifiers included, so as to query the corresponding general page floor information;
[0023] A form page is generated and displayed based on the general page floor information to receive input configuration parameters, and a workflow form is generated based on the adjusted page information and configuration parameters.
[0024] In yet another embodiment, the method further includes:
[0025] In response to a match between the tag set and the functional module identifier set, the page information is displayed to receive input configuration parameters, and a workflow form is generated based on the page information and configuration parameters.
[0026] To achieve the above objectives, according to another aspect of the present invention, an apparatus for processing form data is provided.
[0027] An apparatus for processing form data according to an embodiment of the present invention includes: a query unit, configured to respond to a form processing instruction, obtain a corresponding business identifier and form description information, so as to query a form template associated with the business identifier;
[0028] The processing unit is used to obtain the page information corresponding to the form template, query the set of functional tags for each page level included in the page information, identify the form description information, and obtain the set of functional module identifiers included.
[0029] An adjustment unit is configured to, in response to a mismatch between the tag set and the functional module identifier set, determine the difference information between the tag set and the functional module identifier set, so as to adjust the page information;
[0030] The generation unit is used to display the adjusted page information, receive input configuration parameters, and generate a workflow form based on the adjusted page information and configuration parameters.
[0031] In one embodiment, the adjustment unit is specifically used for:
[0032] Based on the difference information, identify the redundant page levels and missing functional modules in the form page;
[0033] Query the general page floor information corresponding to the missing functional module identifier, update the general page floor information to the page information, and delete redundant page floors in the form page to obtain the adjusted page information.
[0034] In yet another embodiment, the adjustment unit is specifically used for:
[0035] Obtain the floor to be edited from the page information and establish a correspondence between it and the general page floor information.
[0036] In yet another embodiment, the apparatus further includes:
[0037] The acquisition unit is used to acquire the current node identifier in response to the triggering command of the workflow form, so as to query the associated form parameter items;
[0038] The jump unit is used to obtain the parameter value of the form parameter item from the workflow form, and in response to the parameter value satisfying the preset condition, query the jump node identifier set corresponding to the current node identifier, so as to transfer the workflow form to the jump node.
[0039] In yet another embodiment, the processing unit is specifically used for:
[0040] The preset recognition model is invoked to recognize the text fields in the preset format of the form description information;
[0041] For each text field, extract the corresponding keywords and match them with preset functional keywords to determine the functional module corresponding to the text field;
[0042] The set of functional module identifiers is determined based on the functional module corresponding to each text field.
[0043] In yet another embodiment, the query unit is specifically used for:
[0044] In response to the form template associated with the business identifier being empty, the form description information is identified to obtain the set of functional module identifiers included, so as to query the corresponding general page floor information;
[0045] A form page is generated and displayed based on the general page floor information to receive input configuration parameters, and a workflow form is generated based on the adjusted page information and configuration parameters.
[0046] In yet another embodiment, the generating unit is specifically used for:
[0047] In response to a match between the tag set and the functional module identifier set, the page information is displayed to receive input configuration parameters, and a workflow form is generated based on the page information and configuration parameters.
[0048] To achieve the above objectives, according to another aspect of the present invention, an electronic device is provided.
[0049] An electronic device according to an embodiment of the present invention includes: one or more processors; and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the form data processing method provided in the embodiment of the present invention.
[0050] To achieve the above objectives, according to another aspect of the present invention, a computer-readable medium is provided.
[0051] An embodiment of the present invention provides a computer-readable medium having a computer program stored thereon, which, when executed by a processor, implements the form data processing method provided in the embodiment of the present invention.
[0052] To achieve the above objectives, according to another aspect of the present invention, a computer program product is provided.
[0053] A computer program product according to an embodiment of the present invention includes a computer program that, when executed by a processor, implements the form data processing method provided in the embodiment of the present invention.
[0054] One embodiment of the above invention has the following advantages or beneficial effects: In this embodiment, after receiving a form processing instruction, the form template associated with the business identifier can be queried first, and a match can be made between the functional module identifier in the form description information and the functional tags of the page floor in the corresponding page information of the fade template. If the match fails, it means that the form template does not meet the requirements. Then, the difference between the tag set and the functional module identifier set can be determined, and the page information can be adjusted so that the page information can meet the requirements as much as possible. The adjusted page information can then be displayed, and a workflow form can be generated based on the input configuration parameters. Thus, in this embodiment, a form template is pre-configured, and the difference between the form template and the fade requirement can be automatically determined and adjusted, making the form generation method more convenient and faster. Even if the workflow is relatively complex, the efficiency of fade generation can be improved.
[0055] The further effects of the aforementioned unconventional alternative methods will be explained below in conjunction with specific implementation methods. Attached Figure Description
[0056] The accompanying drawings are provided to better understand the invention and are not intended to unduly limit the scope of the invention. Wherein:
[0057] Figure 1 This is a schematic diagram of the main flow of a form data processing method according to an embodiment of the present invention;
[0058] Figure 2 This is a schematic diagram of another main flow of a form data processing method according to an embodiment of the present invention;
[0059] Figure 3 This is a schematic diagram of another main flow of a form data processing method according to an embodiment of the present invention;
[0060] Figure 4 This is a schematic diagram of the main units of a form data processing apparatus according to an embodiment of the present invention;
[0061] Figure 5 This is an exemplary system architecture diagram in which embodiments of the present invention can be applied;
[0062] Figure 6 This is a schematic diagram of the structure of a computer system suitable for implementing embodiments of the present invention. Detailed Implementation
[0063] The following description, in conjunction with the accompanying drawings, illustrates exemplary embodiments of the present invention, including various details to aid understanding. These details should be considered merely exemplary. Therefore, those skilled in the art will recognize that various changes and modifications can be made to the embodiments described herein without departing from the scope and spirit of the invention. Similarly, for clarity and brevity, descriptions of well-known functions and structures are omitted in the following description.
[0064] It should be noted that, unless otherwise specified, the embodiments and features described in the present invention can be combined with each other. The acquisition, storage, use, and processing of data in the technical solutions of this application all comply with the relevant provisions of national laws and regulations.
[0065] This invention provides a form data processing system that can be used to process faded data, specifically for workflow form generation and transfer.
[0066] This invention provides a method for processing form data, which can be executed by a form data processing system, such as... Figure 1 As shown, the method includes:
[0067] S101: In response to a form processing instruction, obtain the corresponding business identifier and form description information to query the form template associated with the business identifier.
[0068] Form processing instructions are commands that generate workflow forms. These instructions can be input from external devices or by users through the display module in the form processing system. For example, users can send form processing instructions to the form data processing system via a terminal. Form processing instructions can include a business identifier and form description information. The business identifier indicates the business to which the form applies, and the form description information describes the required functions within the form.
[0069] In this embodiment of the invention, form templates corresponding to each business can be pre-stored, and a correspondence between business identifiers and form templates can be established. Therefore, after obtaining the business identifier in this step, the form template corresponding to the business identifier can be queried from the pre-stored form templates.
[0070] S102: Obtain the page information corresponding to the form template, query the set of functional tags for each page level included in the page information; identify the form description information and obtain the set of functional module identifiers included.
[0071] In this embodiment of the invention, to ensure the accuracy of form generation, the form data processing system typically displays a form template first, allowing the user to determine whether an update is needed. Therefore, each form template can be pre-configured with a corresponding display page. The display page can be configured with page levels to represent the functions included in the form template. For example, a form template might include an approval comment function, so a corresponding page level can be set on the form page to display the information corresponding to the approval comment function. In this embodiment, corresponding function labels can be set for the page levels included in the form page to indicate their respective functions. Therefore, in this step, the page information corresponding to the form template can be obtained. The page information can include information about each page level included in the form page, such as the function labels for each page level, thus deriving the set of function labels for each page level included in the page information.
[0072] In this embodiment of the invention, in order to determine the specific requirements for fading generation, the form description information obtained in step S102 can be identified to obtain the functional modules required by the form, i.e., the set of functional module identifiers, so as to determine whether the form template can meet the requirements.
[0073] Specifically, in this embodiment of the invention, the format of the form description information can be preset, wherein the fields representing the form functions are set to a uniform preset format. Therefore, in this step, the preset format of each text field in the form description information can be identified by the recognition model, and then the corresponding keywords are extracted for each text field to match with preset functional keywords to determine the functional module corresponding to the text field; and the functional module identifier set is determined based on the functional module corresponding to each text field.
[0074] The recognition model can be pre-set, specifically implemented through pre-training a machine learning model. For the obtained text fields, word segmentation can be performed first, followed by extraction of corresponding keywords. For example, for the "review comments" module, word segmentation can be done as: "review," "comments," and "module," and the extracted keywords can be "review" and "comments." Functional keywords are pre-set; for each functional module, corresponding keywords can be set and then matched with the keywords identified in the text fields. Successfully matched keywords correspond to functional modules, which can be identified as the functional module corresponding to that text field. Based on the functional modules corresponding to each text field, a set of functional module identifiers can be determined.
[0075] S103: In response to a mismatch between the tag set and the functional module identifier set, determine the difference information between the tag set and the functional module identifier set in order to adjust the page information.
[0076] After generating the tag set and the functional module identifier set, the two can be matched. If they match completely, it means that the form template can meet the form requirements; if they do not match completely, it means that the form template does not meet the form requirements. At this time, the difference information between the tag set and the functional module identifier set can be determined to adjust the page information.
[0077] Specifically, the difference information between the tag set and the functional module identifier set may include redundant page floors and missing functional module identifiers. Redundant page floors refer to floors included in the form template but not needed for generating the form in this embodiment of the invention. Missing functional module identifiers refer to floors not included in the form template but required for generating the form in this embodiment of the invention.
[0078] After obtaining the difference information, redundant page floors can be deleted. For missing functional modules, their corresponding page information can be updated in the form template. For example, the general page floor information corresponding to the missing functional module identifier can be queried to update the general page floor information to the page information, thus obtaining the adjusted page information.
[0079] The general page floor information corresponding to each functional module can be pre-configured. Specifically, it can include the page information included in implementing the functional module and establish a correspondence between it and the corresponding functional module identifier. Therefore, in this step, the general page floor information corresponding to the missing functional module identifier can be updated to the page information of the form template to obtain the adjusted page information.
[0080] Specifically, in this step, for the page corresponding to the form template, you can set the floor to be edited to display the general page floor information. Therefore, you can establish a correspondence between the floor to be edited in the page information and the general page floor information so that the general page floor information can be displayed in the page detail.
[0081] S104: Display the adjusted page information to receive input configuration parameters, and generate a workflow form based on the adjusted page information and configuration parameters.
[0082] Once the adjusted page information is displayed, users can configure the displayed content by inputting configuration parameters. The form data processing system receives the input configuration parameters and generates a workflow form based on the adjusted page information and configuration parameters.
[0083] It should be noted that, in this embodiment of the invention, the page information of the form template can be displayed and configured through a visual interface. Each page level within the page information can have its form content configured and displayed using form elements. These form elements can specifically include the fields included in the form, business categories, etc. Configuration of form elements can be achieved through drag-and-drop methods. For example, configuring the form page can include: configuring the visibility, display, read-only, and required fields of form controls; configuring the form's workflow information; configuring permissions and form operation permissions according to different job roles, such as configuring visible buttons, fillable comments, and required comments; configuring the sub-authorization of form approval, such as configuring the authorizer and authorized person, authorization validity period, and early termination of authorization. Configuring the form's workflow information can include: configuring workflow conditions, approval nodes, one or more approvers corresponding to each approval node, and configuring corresponding dialog boxes in scenarios requiring the designation of approvers; it can also configure complex business processes such as special execution or parallel execution of each approval node, and forced revocation, based on requirements. Form elements can be configured into various types, such as horizontal fill-in, multi-level selection, tables, matrices, etc. They can also be configured with grid layout, component visibility relationship, data source return display, rule customization, and form control collision detection function.
[0084] In this embodiment of the invention, when querying the form template in step S101, if the form associated with the query business identifier is empty, the form description information can be identified to obtain the set of functional module identifiers included, so as to query the corresponding general page floor information. Then, a form page is generated and displayed based on the general page floor information, so that the user can input the corresponding configuration parameters through the displayed page. After receiving the input configuration parameters, the form data processing system can generate a workflow form based on the adjusted page information and configuration parameters.
[0085] It should be noted that, in this embodiment of the invention, when the tag set matches the functional module identifier set, the page information of the form template can be displayed so that the user can check whether a configuration update is needed. If so, the user can input the configuration parameters, and then, upon receiving the input configuration parameters, a workflow form can be generated based on the page information and the configuration parameters.
[0086] In this embodiment of the invention, a form template is pre-configured, and the differences between the form template and the fade requirement can be automatically determined and adjusted, thereby making the form generation method more convenient and faster. Even if the workflow is relatively complex, the efficiency of fade generation can be improved.
[0087] It should be noted that, in this embodiment of the invention, after generating the workflow form, the workflow form can be triggered. In response to the trigger command, the current node identifier can be obtained to query the associated form parameter items. Each form parameter item represents a form parameter that the current node needs to complete, so the parameter values of the form parameter items can be obtained from the workflow form. If the parameter value meets a preset condition, it indicates that the associated form parameter item has been completed, and the set of jump node identifiers corresponding to the current node identifier can be queried to transfer the workflow form to the jump node. If the parameter value does not meet the preset condition, it indicates that the associated form parameter item has not been completed, and an information prompt can be issued. Specifically, the preset condition can be that the parameter value is empty.
[0088] The following is combined Figure 1 The illustrated embodiments provide a detailed description of the form data processing method in this invention, such as... Figure 2 As shown, the method includes:
[0089] S201: In response to a form processing instruction, obtain the corresponding business identifier and form description information to query the form template associated with the business identifier.
[0090] S202: Obtain the page information corresponding to the form template and query the set of function tags for each page level included in the page information.
[0091] S203: Call the preset recognition model to recognize each text field in the form description information in the preset format; for each text field, extract the corresponding keywords to match with preset functional keywords, determine the functional module corresponding to the text field, and obtain the functional module identifier set.
[0092] S204: In response to a mismatch between the tag set and the functional module identifier set, determine the difference information between the tag set and the functional module identifier set, adjust the page information and display it.
[0093] S205: Receive the input configuration parameters and generate a workflow form based on the adjusted page information and configuration parameters.
[0094] It should be noted that the data processing principle in the embodiments of the present invention is the same as... Figure 1 The data processing principles are the same in the embodiments, and will not be repeated here.
[0095] The following is combined Figure 1 The illustrated embodiments provide a detailed description of the form data processing method in this invention, such as... Figure 3 As shown, the method includes:
[0096] S301: In response to a form processing instruction, obtain the corresponding business identifier and form description information to query the form template associated with the business identifier.
[0097] S302: Obtain the page information corresponding to the form template and query the set of function tags for each page level included in the page information.
[0098] S303: Identify the form description information to obtain the set of functional module identifiers included.
[0099] S304: In response to a mismatch between the tag set and the functional module identifier set, determine the difference information between the tag set and the functional module identifier set in order to adjust the page information and display it.
[0100] S305: Display page information in response to a match between the tag set and the functional module identifier set.
[0101] S306: Receives input configuration parameters and generates a workflow form based on the adjusted page information and configuration parameters.
[0102] It should be noted that the data processing principle in the embodiments of the present invention is the same as... Figure 1 The data processing principles are the same in the embodiments, and will not be repeated here.
[0103] To address the problems existing in the prior art, embodiments of the present invention provide a form data processing apparatus 400, such as... Figure 4 As shown, the device 400 includes:
[0104] The query unit 401 is used to respond to a form processing instruction to obtain the corresponding business identifier and form description information in order to query the form template associated with the business identifier;
[0105] The processing unit 402 is used to obtain the page information corresponding to the form template, query the set of functional tags for each page level included in the page information, identify the form description information, and obtain the set of functional module identifiers included.
[0106] The adjustment unit 403 is configured to, in response to a mismatch between the tag set and the functional module identifier set, determine the difference information between the tag set and the functional module identifier set, so as to adjust the page information;
[0107] The generation unit 404 is used to display the adjusted page information, receive the input configuration parameters, and generate a workflow form based on the adjusted page information and configuration parameters.
[0108] It should be understood that the manner in which embodiments of the present invention are implemented is different from the implementation method. Figure 1 The embodiments shown are the same and will not be described again here.
[0109] In one embodiment, the adjustment unit is specifically used for:
[0110] Based on the difference information, identify the redundant page levels and missing functional modules in the form page;
[0111] Query the general page floor information corresponding to the missing functional module identifier, update the general page floor information to the page information, and delete redundant page floors in the form page to obtain the adjusted page information.
[0112] In yet another embodiment, the adjustment unit is specifically used for:
[0113] Obtain the floor to be edited from the page information and establish a correspondence between it and the general page floor information.
[0114] In yet another embodiment, the apparatus further includes:
[0115] The acquisition unit is used to acquire the current node identifier in response to the triggering command of the workflow form, so as to query the associated form parameter items;
[0116] The jump unit is used to obtain the parameter value of the form parameter item from the workflow form, and in response to the parameter value satisfying the preset condition, query the jump node identifier set corresponding to the current node identifier, so as to transfer the workflow form to the jump node.
[0117] In yet another embodiment, the processing unit is specifically used for:
[0118] The preset recognition model is invoked to recognize the text fields in the preset format of the form description information;
[0119] For each text field, extract the corresponding keywords and match them with preset functional keywords to determine the functional module corresponding to the text field;
[0120] The set of functional module identifiers is determined based on the functional module corresponding to each text field.
[0121] In yet another embodiment, the query unit is specifically used for:
[0122] In response to the form template associated with the business identifier being empty, the form description information is identified to obtain the set of functional module identifiers included, so as to query the corresponding general page floor information;
[0123] A form page is generated and displayed based on the general page floor information to receive input configuration parameters, and a workflow form is generated based on the adjusted page information and configuration parameters.
[0124] In yet another embodiment, the generating unit is specifically used for:
[0125] In response to a match between the tag set and the functional module identifier set, the page information is displayed to receive input configuration parameters, and a workflow form is generated based on the page information and configuration parameters.
[0126] It should be understood that the manner in which embodiments of the present invention are implemented is different from the implementation method. Figure 1 , 2 The same method is used in the embodiments shown in 1 and 3, and will not be described again here.
[0127] In this embodiment of the invention, a form template is pre-configured, and the differences between the form template and the fade requirement can be automatically determined and adjusted, thereby making the form generation method more convenient and faster. Even if the workflow is relatively complex, the efficiency of fade generation can be improved.
[0128] According to embodiments of the present invention, an electronic device and a readable storage medium are also provided.
[0129] An electronic device according to an embodiment of the present invention includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the form data processing method provided in the embodiment of the present invention.
[0130] Figure 5 An exemplary system architecture 500 is shown for a form data processing method or apparatus to which embodiments of the present invention can be applied.
[0131] like Figure 5 As shown, system architecture 500 may include terminal devices 501, 502, and 503, a network 504, and a server 505. Network 504 serves as the medium for providing communication links between terminal devices 501, 502, and 503 and server 505. Network 504 may include various connection types, such as wired or wireless communication links, or fiber optic cables, etc.
[0132] Users can use terminal devices 501, 502, and 503 to interact with server 505 via network 504 to receive or send messages, etc. Various client applications can be installed on terminal devices 501, 502, and 503.
[0133] Terminal devices 501, 502, and 503 can be, but are not limited to, smartphones, tablets, laptops, and desktop computers, etc.
[0134] Server 505 can be a server that provides various services. The server can analyze and process data such as received product information query requests, and feed back the processing results (such as product information - just an example) to the terminal device.
[0135] It should be noted that the form data processing method provided in the embodiments of the present invention is generally executed by the server 505, and correspondingly, the form data processing device is generally set in the server 505.
[0136] It should be understood that Figure 5 The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.
[0137] The following is for reference. Figure 6 It shows a schematic diagram of the structure of a computer system 600 suitable for implementing embodiments of the present invention. Figure 6 The computer system shown is merely an example and should not be construed as limiting the functionality and scope of use of the embodiments of the present invention.
[0138] like Figure 6 As shown, the computer system 600 includes a central processing unit (CPU) 601, which can perform various appropriate actions and processes based on programs stored in read-only memory (ROM) 602 or programs loaded from storage section 608 into random access memory (RAM) 603. The RAM 603 also stores various programs and data required for the operation of the system 600. The CPU 601, ROM 602, and RAM 603 are interconnected via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0139] The following components are connected to I / O interface 605: an input section 606 including a keyboard, mouse, etc.; an output section 607 including a cathode ray tube (CRT), liquid crystal display (LCD), etc., and speakers, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to I / O interface 605 as needed. A removable medium 611, such as a disk, optical disk, magneto-optical disk, semiconductor memory, etc., is installed on drive 610 as needed so that computer programs read from it can be installed into storage section 608 as needed.
[0140] In particular, according to the embodiments disclosed in this invention, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this invention include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication section 609, and / or installed from removable medium 611. When the computer program is executed by central processing unit (CPU) 601, it performs the functions defined above in the system of this invention.
[0141] It should be noted that the computer-readable medium shown in this invention can be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium can be, for example,—but not limited to—an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this invention, a computer-readable storage medium can be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In this invention, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code. Such propagated data signals can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. Computer-readable signal media can also be any computer-readable medium other than computer-readable storage media, which can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to: wireless, wire, optical fiber, RF, etc., or any suitable combination thereof.
[0142] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a unit, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram or flowchart, and combinations of blocks in a block diagram or flowchart, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0143] The units described in the embodiments of the present invention can be implemented in software or hardware. The described units can also be housed in a processor; for example, a processor can be described as including a query unit, a processing unit, an adjustment unit, and a generation unit. The names of these units do not necessarily limit the specific unit; for example, a query unit can also be described as a "unit for form template query functionality."
[0144] In another aspect, the present invention also provides a computer-readable medium, which may be included in the device described in the above embodiments; or it may exist independently and not assembled into the device. The computer-readable medium carries one or more programs that, when executed by the device, cause the device to perform the form data processing method provided by the present invention.
[0145] In another aspect, the present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the form data processing method provided in the embodiments of the present invention.
[0146] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can occur depending on design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for processing form data, characterized in that, include: In response to a form processing instruction, the corresponding business identifier and form description information are obtained to query the form template associated with the business identifier; wherein, the page information of the form template is displayed and configured through a visual interface, including the configuration of the form page, the configuration of the form flow information, and the configuration of the form elements in the form; Obtain the page information corresponding to the form template, query the set of functional tags for each page level included in the page information; identify the form description information to obtain the set of functional module identifiers included; In response to a mismatch between the tag set and the functional module identifier set, the difference information between the tag set and the functional module identifier set is determined to adjust the page information; Display the adjusted page information to receive input configuration parameters, and generate a workflow form based on the adjusted page information and configuration parameters; Adjusting the page information includes: determining redundant page levels and missing functional module identifiers in the form page based on the difference information; querying the general page level information corresponding to the missing functional module identifier, updating the general page level information to the page information, and deleting redundant page levels in the form page to obtain the adjusted page information; The identification of the form description information yields a set of functional module identifiers, including: calling a preset identification model to identify each text field in the form description information in a preset format; for each text field, extracting the corresponding keywords to match with preset functional keywords to determine the functional module corresponding to the text field; and determining the set of functional module identifiers based on the functional module corresponding to each text field.
2. The method according to claim 1, characterized in that, Updating the general page floor information to the page information includes: Obtain the floor to be edited from the page information and establish a correspondence between it and the general page floor information.
3. The method according to claim 1, characterized in that, After generating the workflow form based on the adjusted page information and configuration parameters, the process also includes: In response to the trigger command of the workflow form, obtain the current node identifier to query the associated form parameter items; The parameter values of the form parameter items are obtained from the workflow form. In response to the parameter values meeting preset conditions, the set of jump node identifiers corresponding to the current node identifier is queried to transfer the workflow form to the jump node.
4. The method according to claim 1, characterized in that, Query the form templates associated with the business identifier, including: In response to the form template associated with the business identifier being empty, the form description information is identified to obtain the set of functional module identifiers included, so as to query the corresponding general page floor information; A form page is generated and displayed based on the general page floor information to receive input configuration parameters, and a workflow form is generated based on the adjusted page information and configuration parameters.
5. The method according to claim 1, characterized in that, The method further includes: In response to a match between the tag set and the functional module identifier set, the page information is displayed to receive input configuration parameters, and a workflow form is generated based on the page information and configuration parameters.
6. An apparatus for processing form data, characterized in that, include: The query unit is used to respond to form processing instructions, obtain the corresponding business identifier and form description information, and query the form template associated with the business identifier; wherein, the page information of the form template is displayed and configured through a visual interface, including the configuration of the form page, the configuration of the form flow information, and the configuration of the form elements in the form; The processing unit is used to obtain the page information corresponding to the form template, query the set of functional tags for each page level included in the page information, identify the form description information, and obtain the set of functional module identifiers included. An adjustment unit is configured to, in response to a mismatch between the tag set and the functional module identifier set, determine the difference information between the tag set and the functional module identifier set, so as to adjust the page information; The generation unit is used to display the adjusted page information, receive input configuration parameters, and generate a workflow form based on the adjusted page information and configuration parameters. The adjustment unit is specifically used to: determine the redundant page floors and missing functional module identifiers in the form page based on the difference information; query the general page floor information corresponding to the missing functional module identifier, update the general page floor information to the page information, and delete the redundant page floors in the form page to obtain the adjusted page information; The processing unit is specifically used to: call a preset recognition model to recognize each text field in the form description information in a preset format; for each text field, extract the corresponding keywords to match with preset functional keywords to determine the functional module corresponding to the text field; and determine a set of functional module identifiers based on the functional module corresponding to each text field.
7. The apparatus according to claim 6, characterized in that, The adjustment unit is specifically used for: Obtain the floor to be edited from the page information and establish a correspondence between it and the general page floor information.
8. The apparatus according to claim 6, characterized in that, The device further includes: The acquisition unit is used to acquire the current node identifier in response to the triggering command of the workflow form, so as to query the associated form parameter items; The jump unit is used to obtain the parameter value of the form parameter item from the workflow form, and in response to the parameter value satisfying the preset condition, query the jump node identifier set corresponding to the current node identifier, so as to transfer the workflow form to the jump node.
9. An electronic device, characterized in that, include: One or more processors; Storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the method as described in any one of claims 1-5.
10. A computer-readable medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-5.
11. A computer program product, comprising a computer program, characterized in that, When the program is executed by the processor, it implements the method as described in any one of claims 1-5.