A method for quickly digitizing business form templates
The input data is parsed and identified through the intelligent segmentation network to generate editable business form templates, which solves the problems of long cycle and high cost of the business form digitization process in the existing technology, and achieves ease of use and efficient form generation.
Patent Information
- Application Number
- CN202410021780.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-08
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-01-08
AI Technical Summary
In the existing technology, the process of digitizing business forms has a long cycle, relies on professionals, is costly, and is difficult to maintain and modify.
Through data analysis of the input data, the intelligent segmentation network is used for layout outline recognition, text symbol recognition and positioning optimization to generate business form templates and display them visually to users. Editable form templates are generated based on user feedback data combinations.
Business analysis and code implementation can be achieved without the need for professional IT technicians, reducing workload, improving ease of use and simplicity of operation, and reducing digitalization and maintenance costs.
Smart Images

Figure CN117875293B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital service technology, and in particular to a method for generating a business form template in rapid digital form. Background Art
[0002] In the process of informatization construction, most enterprises combine a large number of business forms and management processes to form a customized system that meets the needs of the enterprise. The process of digitizing business forms requires professional personnel to analyze and evaluate, understand the structure, fields and data requirements of each form, and design the template of the digital form based on the analysis results. Consider aspects such as the layout, fields, validation rules and data association of the form. The entire process is long and costly, and professional personnel are required to realize the form digitization process. Existing technologies have technical problems such as long implementation cycle, reliance on professionals, and high digitization and maintenance and modification costs. Summary of the invention
[0003] The purpose of this application is to provide a method for quickly digitizing a business form template, so as to solve the technical problems in the prior art such as long implementation cycle, reliance on professionals, and high digitization and maintenance and modification costs.
[0004] In view of the above technical problems, the present application provides a method for quickly digitizing a business form template.
[0005] In a first aspect, the present application provides a method for quickly digitizing a business form template, wherein the method comprises:
[0006] The input data is parsed, and matching constraints are generated based on the data parsing results, including data judgment on the input data; if the judgment result is image data of a paper form, the image data is input into an intelligent segmentation network; layout contour recognition of the image data is performed through a layout contour recognition subnetwork to generate a layout contour recognition result; the layout contour recognition result is synchronized to a text symbol recognition subnetwork, granular segmentation of the image data is performed through the layout contour recognition result, and text symbol content recognition within the unit is performed based on the granular unit; the text symbol content recognition result and the layout contour recognition result are synchronized to a positioning optimization subnetwork, relative coordinate positioning optimization is performed, and a business form template is constructed, wherein the layout contour recognition subnetwork, the text symbol recognition subnetwork and the positioning optimization subnetwork are processing units of the intelligent segmentation network; the business form template is visually displayed to the account subject, and the feedback data of the account subject is recorded; a function form is selected based on the feedback data, and the function forms are combined to generate a business form template, and the business form template is sent to the account subject, and the business form template is in an editable state.
[0007] In a second aspect, the present application also provides a system for quickly digitizing a business form template, wherein the system comprises:
[0008] A constraint generation module, the constraint generation module is used to perform data analysis on the input data, and generate matching constraints based on the data analysis results, including data judgment on the input data; an intelligent segmentation module, the intelligent segmentation module is used to input the image data into the intelligent segmentation network if the judgment result is the image data of the paper form; a layout contour recognition module, the layout contour recognition module is used to perform layout contour recognition of the image data through the layout contour recognition sub-network to generate a layout contour recognition result; a granular content recognition module, the granular content recognition module is used to synchronize the layout contour recognition result to the text symbol recognition sub-network, perform granular segmentation of the image data through the layout contour recognition result, and perform text symbol content recognition in the unit based on the granular unit. A positioning optimization module, which is used to synchronize the text symbol content recognition results and the layout outline recognition results to the positioning optimization sub-network, perform relative coordinate positioning optimization, and construct a business form template, wherein the layout outline recognition sub-network, the text symbol recognition sub-network and the positioning optimization sub-network are processing units of the intelligent segmentation network; a sequential display module, which is used to visually display the business form template to the account subject and record the feedback data of the account subject; a template generation module, which is used to select a function form according to the feedback data, and combine the function forms to generate a business form template, and send the business form template to the account subject, and the business form template is in an editable state.
[0009] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0010] By performing data analysis on the input data, matching constraints are generated based on the data analysis results, including data judgment on the input data; if the judgment result is the image data of the paper form, the image data is input into the intelligent segmentation network; the layout contour recognition of the image data is performed through the layout contour recognition sub-network to generate the layout contour recognition result; the layout contour recognition result is synchronized to the text symbol recognition sub-network, the granularity segmentation of the image data is performed through the layout contour recognition result, and the text symbol content recognition in the unit is performed based on the granular unit; the text symbol content recognition result and the layout contour recognition result are synchronized to the positioning optimization sub-network, relative coordinate positioning optimization is performed, and a business form template is constructed, wherein the layout contour recognition sub-network, the text symbol recognition sub-network and the positioning optimization sub-network are the processing units of the intelligent segmentation network; the business form template is visually displayed to the account subject, and the feedback data of the account subject is recorded; the function form is selected according to the feedback data, and the function form is combined to generate a business form template, and the business form template is sent to the account subject, and the business form template is editable. In this way, it is achieved that there is no need for professional IT technicians to perform business analysis, knowledge base design, code implementation and other processes, with high ease of use, simple operation, and reduced tedious workload.
[0011] The above description is only an overview of the technical solution of the present application. In order to more clearly illustrate the technical means of the present application and to implement it in accordance with the contents of the specification, and to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The embodiments of the present invention and the following brief description are illustrated in conjunction with the accompanying drawings, which are described as follows:
[0013] Figure 1 A flowchart of a method for quickly digitizing a business form template for this application;
[0014] Figure 2 A schematic diagram of a process for constructing a business form template in a method for quickly digitizing a business form template in the present application;
[0015] Figure 3 A schematic diagram of the structure of a system for quickly digitizing a business form template for this application.
[0016] Explanation of the reference numerals: constraint generation module 11 , intelligent segmentation module 12 , layout outline recognition module 13 , granular content recognition module 14 , positioning optimization module 15 , sequence display module 16 , template generation module 17 . DETAILED DESCRIPTION
[0017] The present application solves the technical problems faced by the prior art, such as long implementation cycle, reliance on professionals, and high digitization and maintenance and modification costs, by providing a method for quickly digitizing a business form template.
[0018] The solution in the embodiment of the present technology, in order to solve the above problems, adopts the following overall ideas:
[0019] First, the input data is parsed, and matching constraints are generated based on the data parsing results, including data judgment on the input data; if the judgment result is image data of a paper form, the image data is input into an intelligent segmentation network; layout contour recognition of the image data is performed through a layout contour recognition subnetwork to generate a layout contour recognition result; the layout contour recognition result is synchronized to a text symbol recognition subnetwork, granular segmentation of the image data is performed through the layout contour recognition result, and text symbol content recognition within the unit is performed based on the granular unit; the text symbol content recognition result and the layout contour recognition result are synchronized to a positioning optimization subnetwork, relative coordinate positioning optimization is performed, and a business form template is constructed, wherein the layout contour recognition subnetwork, the text symbol recognition subnetwork and the positioning optimization subnetwork are processing units of the intelligent segmentation network; the business form template is visually displayed to the account subject, and the feedback data of the account subject is recorded; a function form is selected based on the feedback data, and the function forms are combined to generate a business form template, and the business form template is sent to the account subject, and the business form template is in an editable state. This achieves the technical effect of eliminating the need for professional IT technicians to conduct business analysis, knowledge base design, code implementation, etc., with high ease of use, simple operation, and reduced tedious workload.
[0020] In order to better understand the above technical solution, the above technical solution will be described in detail below in conjunction with the drawings and specific implementation methods of the specification. It should be noted that the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments of the present application. It should be understood that the present application is not limited to the example embodiments described herein. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention. It should also be noted that for the sake of ease of description, only the parts related to the present invention are shown in the drawings, rather than all of them.
[0021] Embodiment 1
[0022] like Figure 1 As shown, the present application provides a method for quickly digitizing a business form template, the method comprising:
[0023] Performing data analysis on the input data, and generating matching constraints based on the data analysis results, including performing data judgment on the input data;
[0024] Optionally, the input data is non-digital original form data, and there are multiple data formats, illustratively including physical data (paper), image data, text data, keywords, etc. Specifically, the input data includes a combination of one or more of the above multiple data formats.
[0025] Optionally, a matching constraint is a condition or rule used to filter or manipulate data, including filtering out data that does not meet certain conditions, selecting only data that meets certain conditions, etc. Based on the nature of the matching constraint, you can choose the appropriate tool or library to implement functional matching.
[0026] Optionally, data judgment of the input data is first performed, and the data judgment is used to determine the data format type included in the input data. The data judgment method includes judgment based on machine vision, judgment based on data file format, etc.
[0027] If the judgment result is the image data of a paper form, the image data is input into the intelligent segmentation network;
[0028] Optionally, if the judgment result is the image data of a paper form, the image data is input into an intelligent segmentation network. The intelligent segmentation network is a segmentation network based on deep learning technology. The image is analyzed, divided and recognized through the intelligent segmentation network to better understand the content in the image, and the image data is subjected to subject recognition of the convolutional network to form a form segmentation result that matches the image data. Exemplarily, the intelligent segmentation network includes a layout contour recognition subnetwork, a text symbol recognition subnetwork, and a positioning optimization subnetwork.
[0029] Perform layout contour recognition of image data through a layout contour recognition sub-network to generate a layout contour recognition result;
[0030] Optionally, the layout outline recognition subnetwork is used to perform data recognition on the image data and construct a layout outline of the target paper form. Specifically, the layout outline includes a table outline, an image outline, a dividing line, merged cells, and the like.
[0031] Exemplarily, first, the input image data is preprocessed, including denoising, grayscale, binarization, edge detection and other steps to improve the image quality. Then, a target detection algorithm, such as a convolutional neural network (CNN) or other deep learning model, is used to identify key targets in the image, including table outlines, image outlines, segmentation lines, etc. The above key targets are the basic elements for constructing the layout outline. Then, the detected targets are contour analyzed to determine the hierarchical relationship and relative position between them, and the hierarchical structure of the layout is constructed, such as determining the cells and headers in the table. Finally, based on the results of target detection and contour analysis, a complete layout outline is generated to obtain the layout outline recognition result. The layout outline recognition result is a hierarchical structure containing tables, images and other elements, which describes the layout relationship and position of each part of the image.
[0032] Synchronize the layout outline recognition result to the text symbol recognition sub-network, perform granularity segmentation of image data based on the layout outline recognition result, and perform text symbol content recognition in the unit based on the granularity unit;
[0033] Optionally, when the layout outline recognition sub-network completes recognition, the recognition result is synchronized to the text symbol recognition sub-network. Then, the text symbol recognition sub-network completes granular segmentation according to the synchronization result, takes each granular segmentation result as a granularity unit, performs text symbol content recognition within the granularity unit, and generates text symbol content recognition results; exemplarily, the granularity segmentation result is a plurality of form areas composed of layout outlines, including closed areas and non-closed areas.
[0034] Based on the results of granular segmentation, text and symbol content recognition is performed within multiple granular units to ensure that the text and symbol content recognition results correspond one-to-one with the form layout, avoiding text and symbol content recognition errors caused by cross-area recognition.
[0035] The text symbol content recognition results and the layout outline recognition results are synchronized to the positioning optimization subnetwork, the relative coordinate positioning optimization is performed, and a business form template is constructed, wherein the layout outline recognition subnetwork, the text symbol recognition subnetwork and the positioning optimization subnetwork are processing units of the intelligent segmentation network.
[0036] Optionally, the positioning optimization subnetwork is used to identify the relative coordinates of the layout outline and the text symbol, and based on the relative coordinates, integrate the layout outline and the text symbol content recognition results to generate a form construction result. Specifically, the form construction result is an editable active form state.
[0037] Optionally, the functional units are sorted in order according to similarity values to construct a business form template for user screening. Exemplarily, based on the order of appearance and mutual correlation of the functional units in the matching constraints, a combination arrangement is performed to generate a sequential matching result. Among them, the functional units are combined and nested with each other to form a complete digital form function implementation path. The sequential matching result is used to determine the execution order of each functional unit.
[0038] Optionally, the business form template includes floating keywords generated based on the recognition results. The floating keywords are generated based on semantic expansion, fuzzy search, normal association and other methods and principles, and are associated with the recognition results. By providing floating keywords for users to choose, it is avoided that the keywords are poorly presented due to user forgetfulness or inaccurate description, which leads to abnormal generation of subsequent forms.
[0039] Optionally, the layout contour recognition subnetwork, the text symbol recognition subnetwork and the positioning optimization subnetwork are processing units of the intelligent segmentation network, and together constitute the intelligent segmentation network. Among them, the layout contour recognition subnetwork, the text symbol recognition subnetwork and the positioning optimization subnetwork are connected in the first place, that is, the layout contour recognition subnetwork output end is connected to the text symbol recognition subnetwork input end, and the text symbol recognition subnetwork output end is connected to the positioning optimization subnetwork input end. In addition, the intelligent segmentation network also includes possible storage units and transmission units.
[0040] Visually display the business form template to the account subject and record the account subject's feedback data;
[0041] Optionally, the generated sequential matching results are presented to the account subject in a visual manner. This can be in the form of a graphical interface, chart or other form, so that the account subject can more easily understand the system's processing flow of the data.
[0042] Optionally, the generated business form template is displayed to the account subject in a visual manner. The visualization displays the floating options through a user interface and provides an interactive method for the user to make a selection. Exemplarily, the user interface includes a web page, an interactive device, an application, a mini-program, etc.
[0043] Optionally, the account subject can visually review and give feedback on the business form template, and record the account subject's selection results. The account subject's feedback data reflects the user's understanding and focus on the business form template. The account subject's feedback data is a selected business form template and possible template reconstruction information.
[0044] A function form is selected according to the feedback data, and the function forms are combined to generate a business form template, which is sent to the account subject. The business form template is in an editable state.
[0045] Optionally, the feedback data includes the function form selected by the user subject and the form function sequence of the function form. The feedback data reflects the user subject's preferences, habits and special needs for the system. Based on these feedback data, the technical effect of selecting a function form that matches the user's needs is achieved.
[0046] Optionally, the feedback data also includes layout optimization, text color adjustment, default value setting, validation rule formulation, etc. performed by the user subject. By selecting the functional form according to the feedback data and combining the functional forms, a complete business form template is formed. The business form template includes various input fields, check boxes, drop-down menus, etc. to meet the different needs of users.
[0047] Optionally, based on the feedback data, various functional forms are combined and arranged to form a digital business form template, and the business form template is sent to the user in an editable state. This ensures that the user can modify and customize the form according to their needs and preferences to meet the user's personalized needs, reducing the cost of the user's form digitization and improving the user's ability to achieve digital transformation through the system.
[0048] Optionally, after receiving the business form template, the user can publish the form to realize data collection, perform relevant data maintenance work, and realize the digital use of the form. Among them, the business form template selected to be sent to the account subject is a practical form that can be directly put into use and has all the form functions and effectiveness expected by the user subject. In addition, based on the published form, the system automatically realizes the construction of the data table, which is convenient for subsequent data query and management.
[0049] Further, such as Figure 2 As shown, the method also includes:
[0050] Establishing a form knowledge base, wherein the form knowledge base is constructed based on big data, and each form data in the form knowledge base is in an editable state;
[0051] Performing multi-granularity splitting on the form data in the form knowledge base, functionally identifying the multi-granularity splitting results, and performing form clustering based on the functional identification results to generate multi-granularity clustering results;
[0052] The input account subject data is obtained, the input account subject data is used as an auxiliary constraint, the matching constraint is used as a main constraint, a functional matching of multi-granularity clustering results is performed, and a business form template is generated.
[0053] Optionally, various form samples in the target business domain, including forms of different types and structures, are collected through big data to establish a form knowledge base that covers various situations that may occur in the target business process. The knowledge base types include relational (such as MySQL, PostgreSQL) or non-relational (such as MongoDB, Cassandra).
[0054] Optionally, the knowledge base data model is set based on the process of the target business field and the form characteristics involved. The setting of the knowledge base data model includes the way of storing form data and the relationship between forms.
[0055] Optionally, by adding corresponding fields in the knowledge base to identify the editing status of the form data, ensure that each form data in the knowledge base is in an editable state. By building a form knowledge base, a reliable foundation is provided for the storage and management of a large amount of form data, while ensuring that the data is in an editable state to meet business needs.
[0056] Optionally, in order to protect the security of the form data, appropriate security measures are implemented, such as access control, encryption, etc. The form data has a corresponding version and time mark, which is used to perform version control of the form data to track and manage data changes.
[0057] Multi-granularity splitting refers to decomposing or splitting a whole or a data set according to different granularities. In different fields, multi-granularity splitting has different applications. For example, in form data analysis, data is split according to different outline levels, such as first-level titles, second-level titles, text, attachments, etc.; through multi-granularity splitting, a large form data is split into multiple small data clusters, which is convenient for function allocation and identification. It can manage and analyze data or tasks more flexibly, and can also better adapt to different needs and scenarios. Better understand and deal with complex problems, improve efficiency and accuracy.
[0058] Optionally, different granularity division results correspond to different sub-module structures, and each sub-module structure has corresponding module functions. Functional identification is performed on multi-granularity split results to facilitate detailed analysis and understanding of form functions, which is conducive to function-based form clustering.
[0059] Optionally, the result of the function identification is used for form clustering, that is, the form data with similar functions or attributes are classified into the same category. Form clustering is achieved through clustering algorithms, such as K-means clustering, hierarchical clustering, etc. Specifically, each form in the form knowledge base has a form type identification, and forms belonging to the same form type have the same or similar module function combinations. For similar forms, the forms are clustered by clustering constraints based on module function combinations. The technical effect of reducing the amount of calculation in the subsequent matching process and improving the calculation speed is achieved.
[0060] Optionally, the multi-granularity clustering result is a hierarchical structure that contains clustering information at different granularities. This realizes the classification of forms at multiple granularity levels, which facilitates the subsequent matching and screening of forms at different granularity levels, better meets the diverse and changing needs of form digitization, and improves the matching degree between form generation results and user needs.
[0061] Optionally, based on the update of the form data in the knowledge base, the multi-granularity clustering results are updated in real time to reflect the latest data status, which is exemplarily achieved by periodic batch processing or real-time stream processing.
[0062] Furthermore, the input data is parsed, and matching constraints are generated based on the data parsing results. The steps also include:
[0063] If the judgment result is a combination of device image data and keyword data, the device image data is input into a convolutional network to perform device subject recognition, and image keywords are generated based on the subject recognition result;
[0064] The matching keywords are reconstructed using the image keywords and the keyword data, and the matching constraints are generated using the matching keywords.
[0065] If the judgment result indicates that the captured device image and keywords are used as input data, the device image data is subjected to subject recognition based on a convolutional network, and image keywords are regenerated based on the subject recognition result and keywords. The image keywords describe the content of the device by mapping the device subject to the corresponding keywords or tags. Convolutional networks are used for image recognition tasks, and they learn features in images to identify objects in device images.
[0066] Optionally, by introducing OCR technology, NLP technology, and large model technology of job forms, the main body of the imported form is recognized to form layout units, text units, and input units. Among them, the layout unit includes the layout-related parts of the form identified based on the above technology or model, such as dividing lines, grouping, merged cells, etc. The text unit includes the text part of the form identified based on the above technology or model, such as titles, subtitles, descriptions, etc. The input unit includes the parts of the form that need to be filled in or checked by the user, such as check boxes, check boxes, radio buttons, text filling, etc.
[0067] Optionally, the generated image keywords are reconstructed and matched with the keyword data in the input. This includes keyword deduplication, combination, expansion or other methods, so as to comprehensively consider the image keywords and the keyword data in the input to obtain matching keywords. Furthermore, the matching constraints are regulations on the relationship or consistency of the form data, which are helpful for subsequent processing and analysis.
[0068] Furthermore, the input data is parsed, and matching constraints are generated based on the data parsing results. The steps also include:
[0069] Establishing a keyword association database, and when image keywords are generated, performing association matching in the keyword association database based on the image keywords;
[0070] Generate a floating phrase based on the associated matching result, visually display the floating phrase to the account subject, and record the selection result of the account subject;
[0071] The selection result is added to the matching keyword to regenerate the matching constraint.
[0072] Optionally, the association matching of the keyword association database is used to determine the associated keywords of the image keywords, thereby expanding the semantic scope of the image keywords. The floating phrases generated by the association matching results contain more possible image-related keywords, which helps users and systems to more comprehensively understand the content represented by the image.
[0073] Optionally, the generated floating phrases are displayed to the account subject (user) in a visual manner. The visualization displays the floating phrases through a user interface and provides an interactive method for the user to select. Exemplarily, the user interface includes a web page, an interactive device, an application, a mini-program, etc.
[0074] Optionally, the account subject can select the floating phrases through visualization, and the selection results of the account subject are recorded. The selection results of the account subject reflect the user's understanding and focus on the image keywords. Through the participation and feedback of users, the understanding of image keywords is continuously optimized, the intelligence level of the system is improved, and the comprehensiveness and accuracy of image keyword acquisition is ensured.
[0075] Further, the input account subject data is obtained, the input account subject data is used as an auxiliary constraint, the matching constraint is used as a main constraint, and the function matching of the multi-granularity clustering results is performed, the steps include:
[0076] Establishing an account database, wherein the account database is constructed based on the registration data and historical usage data of the account;
[0077] Calling and obtaining the input account principal data from the account database and using it as an auxiliary constraint;
[0078] Before performing functional matching of multi-granularity clustering results, pre-matching of multi-granularity clustering results is performed using the auxiliary constraints;
[0079] Functional matching of subject constraints and multi-granularity clustering results is performed based on pre-matching results.
[0080] Optionally, by obtaining the registration data and historical usage data of the account, an account database is generated, wherein the account database includes the user's basic information, data provided during registration, and the user's historical operations and usage records in the system.
[0081] Optionally, when the account principal data is needed, the account database is activated, the data of the corresponding account is called from the account database through a data query statement, and the obtained account principal data is used as an auxiliary constraint. Auxiliary constraints are used to help the system better understand and meet user needs.
[0082] Optionally, before function matching, pre-matching of multi-granularity clustering results based on auxiliary constraints is performed. Preliminary screening and sorting of possible function matching results are performed in advance through account subject data. This narrows the scope of function matching, optimizes the matching process, and improves the efficiency and speed of function matching.
[0083] Furthermore, based on the pre-matching result, the subject constraint is functionally matched with the multi-granularity clustering result, and the steps further include:
[0084] The importance of keywords is divided according to the matching constraints, and the division weights are generated;
[0085] The cell granularity is set according to the partition weights, and the functional matching of the subject constraint and the multi-granularity clustering result is completed according to the granularity setting result and the pre-matching result.
[0086] Optionally, the AI digitized form engine is activated to match and translate the units identified by the multi-granularity clustering results into digitized components, including input box components, radio button components, check box components, signature components, layout components, text components, etc.
[0087] Optionally, the data type in the pre-match is used as a new feature constraint, and the sub-module structure of the lowest granularity division result is matched according to the importance of the new feature constraint to the corresponding format unit, and the pre-match result is filled according to the matching result. Finally, an intelligent form is generated. In addition, according to user needs, the lowest granularity division result can be covered and matched and filled in by format unit.
[0088] Furthermore, in a feasible embodiment, the method further includes:
[0089] Establishing an account feature set of the account, wherein the account feature set is a custom feature set and a common feature set in the account building completion form;
[0090] Using the matching constraint as a matching feature to match the account feature set, and generating a call constraint according to the matching result;
[0091] Combination optimization of business form templates is performed based on the call constraints.
[0092] Optionally, the account feature set is established based on the account form construction record, and the custom feature set and the general feature set are obtained by extracting the custom features and general features in the account construction completion form. Among them, the custom feature set reflects the user's personalized preferences and operating habits, and the general feature set contains general user information. Exemplarily, the custom feature set includes the user's commonly used form structure features, form level setting features, hierarchical terminology features, unit features, font features, etc. The general feature set includes the user's business field features, business timeliness features, etc.
[0093] Use matching constraints to match the account feature set with the matching features of the business form. This helps the system better understand the user's needs, preferences, and operating habits, generate business forms that better meet user expectations, reduce the frequency and amount of feedback data generated by the account subject, and improve the user experience. Among them, the call constraint provides detailed information about user needs. According to the call constraint, the combination optimization of the business form template is performed, including adjusting the arrangement order of form elements, changing the type of fields, or adding specific functions. The combination optimization of the business form template improves the adaptability of form generation to user needs.
[0094] In summary, the method for quickly digitizing a business form template provided by the present invention has the following technical effects:
[0095] By performing data analysis on the input data, matching constraints are generated based on the data analysis results, including data judgment on the input data; if the judgment result is the image data of the paper form, the image data is input into the intelligent segmentation network; the layout contour recognition of the image data is performed through the layout contour recognition sub-network to generate the layout contour recognition result; the layout contour recognition result is synchronized to the text symbol recognition sub-network, the granularity segmentation of the image data is performed through the layout contour recognition result, and the text symbol content recognition in the unit is performed based on the granular unit; the text symbol content recognition result and the layout contour recognition result are synchronized to the positioning optimization sub-network, relative coordinate positioning optimization is performed, and a business form template is constructed, wherein the layout contour recognition sub-network, the text symbol recognition sub-network and the positioning optimization sub-network are the processing units of the intelligent segmentation network; the business form template is visually displayed to the account subject, and the feedback data of the account subject is recorded; the function form is selected according to the feedback data, and the function form is combined to generate a business form template, and the business form template is sent to the account subject, and the business form template is editable. In this way, it is achieved that there is no need for professional IT technicians to perform business analysis, knowledge base design, code implementation and other processes, with high ease of use, simple operation, and reduced tedious workload.
[0096] Embodiment 2
[0097] Based on the same concept as the method for quickly digitizing a business form template in the embodiment, Figure 3 As shown, the present application also provides a system for quickly digitizing a business form template, the system comprising:
[0098] The constraint generation module 11 is used to perform data analysis on the input data and generate matching constraints based on the data analysis results, including performing data judgment on the input data;
[0099] The intelligent segmentation module 12 is used to input the image data into the intelligent segmentation network if the judgment result is the image data of a paper form;
[0100] A layout contour recognition module 13, used to perform layout contour recognition of image data through a layout contour recognition sub-network to generate a layout contour recognition result;
[0101] A granular content recognition module 14 is used to synchronize the layout outline recognition result to the text symbol recognition sub-network, perform granular segmentation of image data based on the layout outline recognition result, and perform text symbol content recognition in the unit based on the granular unit;
[0102] The positioning optimization module 15 is used to synchronize the text symbol content recognition result and the layout outline recognition result to the positioning optimization sub-network, perform relative coordinate positioning optimization, and construct a business form template, wherein the layout outline recognition sub-network, the text symbol recognition sub-network and the positioning optimization sub-network are processing units of the intelligent segmentation network;
[0103] The sequential display module 16 is used to visually display the business form template to the account subject and record the feedback data of the account subject;
[0104] The template generation module 17 is used to select a function form according to the feedback data, combine the function forms to generate a business form template, and send the business form template to the account subject. The business form template is in an editable state.
[0105] Furthermore, the granular content identification module 14 is also used for:
[0106] Establishing a form knowledge base, wherein the form knowledge base is constructed based on big data, and each form data in the form knowledge base is in an editable state;
[0107] Performing multi-granularity splitting on the form data in the form knowledge base, functionally identifying the multi-granularity splitting results, and performing form clustering based on the functional identification results to generate multi-granularity clustering results;
[0108] Furthermore, the constraint generation module 11 is also used for:
[0109] If the judgment result is a combination of device image data and keyword data, the device image data is input into a convolutional network to perform device subject recognition, and image keywords are generated based on the subject recognition result;
[0110] The matching keywords are reconstructed using the image keywords and the keyword data, and the matching constraints are generated using the matching keywords.
[0111] Furthermore, the sequential display module 16 is also used for:
[0112] Establishing a keyword association database, and when image keywords are generated, performing association matching in the keyword association database based on the image keywords;
[0113] Generate a floating phrase based on the associated matching result, visually display the floating phrase to the account subject, and record the selection result of the account subject;
[0114] The selection result is added to the matching keyword to regenerate the matching constraint.
[0115] Furthermore, the granular content identification module 14 is also used for:
[0116] Establishing an account database, wherein the account database is constructed based on the registration data and historical usage data of the account;
[0117] Calling and obtaining the input account principal data from the account database and using it as an auxiliary constraint;
[0118] Before performing functional matching of multi-granularity clustering results, pre-matching of multi-granularity clustering results is performed using the auxiliary constraints;
[0119] Functional matching of subject constraints and multi-granularity clustering results is performed based on pre-matching results.
[0120] Furthermore, the granular content identification module 14 is also used for:
[0121] The importance of keywords is divided according to the matching constraints, and the division weights are generated;
[0122] The cell granularity is set according to the partition weights, and the functional matching of the subject constraint and the multi-granularity clustering result is completed according to the granularity setting result and the pre-matching result.
[0123] Furthermore, the system also includes a user feature optimization unit, which is used to:
[0124] Establishing an account feature set of the account, wherein the account feature set is a custom feature set and a common feature set in the account building completion form;
[0125] Using the matching constraint as a matching feature to match the account feature set, and generating a call constraint according to the matching result;
[0126] Combination optimization of business form templates is performed based on the call constraints.
[0127] It should be understood that the embodiments mentioned in this specification focus on their differences from other embodiments. The specific embodiments in the aforementioned embodiment one are also applicable to a system for quickly digitizing a business form template described in embodiment two. For the sake of brevity of the specification, they will not be further expanded here.
[0128] It should be understood that the embodiments disclosed in this application and the above description can enable those skilled in the art to use this application to implement this application. At the same time, this application is not limited to the above-mentioned embodiments, and obvious modifications and variations of the embodiments mentioned in this application also fall within the scope of the principles of this application.
Claims
1. A method for quickly digitizing a business form template, characterized in that: The method comprises: Performing data analysis on the input data, and generating matching constraints based on the data analysis results, including performing data judgment on the input data; If the judgment result is the image data of a paper form, the image data is input into the intelligent segmentation network; Perform layout contour recognition of image data through a layout contour recognition sub-network to generate a layout contour recognition result; Synchronize the layout outline recognition result to the text symbol recognition sub-network, perform granularity segmentation of image data based on the layout outline recognition result, and perform text symbol content recognition in the unit based on the granularity unit; Synchronize the text symbol content recognition result and the layout outline recognition result to the positioning optimization sub-network, perform relative coordinate positioning optimization, and construct a business form template, wherein the layout outline recognition sub-network, the text symbol recognition sub-network and the positioning optimization sub-network are processing units of the intelligent segmentation network; Visually display the business form template to the account subject and record the account subject's feedback data; Select a function form according to the feedback data, combine the function forms to generate a business form template, send the business form template to the account subject, and the business form template is in an editable state; Establishing a form knowledge base, wherein the form knowledge base is constructed based on big data, and each form data in the form knowledge base is in an editable state; Perform multi-granularity splitting on the form data in the form knowledge base, where different granularity splitting results correspond to different sub-module structures, and each sub-module structure has a corresponding module function, perform function identification on the multi-granularity splitting results, and perform form clustering based on the function identification results to generate multi-granularity clustering results; Acquire input account subject data, use the input account subject data as an auxiliary constraint, use the matching constraint as a main constraint, perform function matching of multi-granularity clustering results, and generate a business form template; Establishing an account database, wherein the account database is constructed based on the registration data and historical usage data of the account; Calling and obtaining the input account principal data from the account database and using it as an auxiliary constraint; Before performing functional matching of multi-granularity clustering results, pre-matching of multi-granularity clustering results is performed using the auxiliary constraints; Functional matching of subject constraints and multi-granularity clustering results is performed based on pre-matching results.
2. The method according to claim 1, characterized in that The method further comprises: If the judgment result is a combination of device image data and keyword data, the device image data is input into a convolutional network to perform device subject recognition, and image keywords are generated based on the subject recognition result; The matching keywords are reconstructed using the image keywords and the keyword data, and the matching constraints are generated using the matching keywords.
3. The method according to claim 2, characterized in that The method further comprises: Establishing a keyword association database, and when image keywords are generated, performing association matching in the keyword association database based on the image keywords; Generate a floating phrase based on the associated matching result, visually display the floating phrase to the account subject, and record the selection result of the account subject; The selection result is added to the matching keyword to regenerate the matching constraint.
4. The method according to claim 1, characterized in that The method further comprises: The importance of keywords is divided according to the matching constraints, and the division weights are generated; The cell granularity is set according to the partition weights, and the functional matching of the subject constraint and the multi-granularity clustering result is completed according to the granularity setting result and the pre-matching result.
5. The method according to claim 1, characterized in that The method further comprises: Establishing an account feature set of the account, wherein the account feature set is a custom feature set and a common feature set in the account building completion form; Using the matching constraint as a matching feature to match the account feature set, and generating a call constraint according to the matching result; Combination optimization of business form templates is performed based on the call constraints.
6. A system for rapidly digitizing business form templates, characterized in that: The system comprises: A constraint generation module, the constraint generation module is used to perform data analysis on the input data and generate matching constraints based on the data analysis results, including performing data judgment on the input data; An intelligent segmentation module, wherein if the result of the determination is image data of a paper form, the intelligent segmentation module is used to input the image data into an intelligent segmentation network; A layout outline recognition module, the layout outline recognition module is used to perform layout outline recognition of image data through a layout outline recognition sub-network to generate a layout outline recognition result; A granular content recognition module, the granular content recognition module is used to synchronize the layout outline recognition result to the text symbol recognition sub-network, perform granular segmentation of image data based on the layout outline recognition result, and perform text symbol content recognition in the unit based on the granular unit; A positioning optimization module, the positioning optimization module is used to synchronize the text symbol content recognition result and the layout outline recognition result to the positioning optimization sub-network, perform relative coordinate positioning optimization, and construct a business form template, wherein the layout outline recognition sub-network, the text symbol recognition sub-network and the positioning optimization sub-network are processing units of the intelligent segmentation network; A sequential display module, which is used to visually display the business form template to the account subject and record the feedback data of the account subject; A template generation module, the template generation module is used to select a function form according to the feedback data, and combine the function forms to generate a business form template, and send the business form template to the account subject, and the business form template is in an editable state; The granular content identification module is also used to: Establishing a form knowledge base, wherein the form knowledge base is constructed based on big data, and each form data in the form knowledge base is in an editable state; Perform multi-granularity splitting on the form data in the form knowledge base, where different granularity splitting results correspond to different sub-module structures, and each sub-module structure has a corresponding module function, perform function identification on the multi-granularity splitting results, and perform form clustering based on the function identification results to generate multi-granularity clustering results; Acquire input account subject data, use the input account subject data as an auxiliary constraint, use the matching constraint as a main constraint, perform function matching of multi-granularity clustering results, and generate a business form template; Establishing an account database, wherein the account database is constructed based on the registration data and historical usage data of the account; Calling and obtaining the input account principal data from the account database and using it as an auxiliary constraint; Before performing functional matching of multi-granularity clustering results, pre-matching of multi-granularity clustering results is performed using the auxiliary constraints; Functional matching of subject constraints and multi-granularity clustering results is performed based on pre-matching results.
Citation Information
Patent Citations
Form analysis method based on character positioning recognition, medium and computer equipment
CN109961008A
Form generation method and device
CN111931708A
