Form engine-based multi-version form compatibility iteration trace management method and system

By constructing a standardized business key-value mapping table and multi-dimensional confidence factor discrimination, the problem of cross-version block matching in the form system was solved, achieving accurate traceability and data compatibility in the form iteration process, reducing the workload of manual review, and ensuring the traceability and data adaptability of form versions.

CN123159302APending Publication Date: 2026-11-24GUANGZHOU MINSTONE SOFTWARE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611663787.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-10-27
Publication Date
2026-11-24

AI Technical Summary

Technical Problem

The existing form system lacks a unified cross-version business block anchoring and matching mechanism, which makes it impossible to accurately identify the same source and adapt business data for form blocks after structural adjustments. This results in the inability to effectively trace the form's iterative evolution trajectory and frequent cross-version business data compatibility and matching anomalies.

Method used

By constructing a standardized business key-value mapping table, unique identification of cross-version form blocks is achieved. Multi-dimensional confidence factors and least squares regression are used to intelligently identify business keys, a business key identification knowledge base is built, and new sub-form block configurations are generated to form an adaptive iterative traceability management system.

Benefits of technology

It achieves accurate matching and data compatibility across form blocks of different versions, reduces the workload of manual review, ensures the traceability of form versions and the compatibility of business data, and solves the problem that traditional fixed templates cannot keep up with the evolution and iteration of business data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123159302A_ABST
    Figure CN123159302A_ABST
Patent Text Reader

Abstract

This invention discloses a multi-version form compatibility iterative traceability management method and system based on a form engine, relating to the field of electronic digital data processing technology. By constructing a standardized business key and key-value mapping table, it achieves cross-version unique identification of sub-form blocks. Addressing the issue of form consistency but underlying logic changes caused by form editing, it identifies block additions and subtractions through bidirectional business key matching, avoiding data parsing anomalies caused by implicit structural modifications, thus supporting multi-version form compatibility. A business key discrimination knowledge base is built, and intelligent attachment of raw business content is achieved based on multi-dimensional confidence factors and least squares regression. Combined with iterative updates of weighted coefficients using samples, the discrimination capability is improved, reducing manual review overhead. Based on the updated weighted coefficients, historical raw business content is fitted a second time to deduce and generate new form sub-templates, completing version numbering and traceability archiving, forming a self-learning closed loop, and achieving form version traceability and cross-version data compatibility verification.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic digital data processing technology, specifically a multi-version form compatible iterative traceability management method and system based on a form engine. Background Technology

[0002] With the deepening of digital transformation in government and enterprises, form engines, as a core component of collaborative office and business systems, are widely used in various data collection, workflow approval, and business form scenarios. Form engines allow users to customize form templates, including field definitions, field types, validation rules, page layouts, and other configurations, enabling business personnel to quickly build various business forms without writing code. In practical applications, business needs are constantly changing, requiring frequent version iterations and upgrades of form templates, including adding fields, deleting fields, modifying field types, and adjusting validation rules.

[0003] Current electronic forms support free editing and format adjustments. Editors can modify the internal structure of forms using methods such as format painters and layout tweaks. This results in many forms having the same appearance but implicit differences in the underlying business logic of their blocks. Existing form systems lack a unified cross-version business block anchoring and matching mechanism, making it impossible to accurately identify the source of form blocks after structural tweaks and adapt them to business data. This makes it impossible to effectively trace the evolution of forms, leading to frequent cross-version business data compatibility and matching anomalies, and making it difficult to adapt to the long-term, dynamically changing form business processing needs. Therefore, there is an urgent need for a multi-version form compatibility iteration tracking and management method and system based on a form engine. Summary of the Invention

[0004] The purpose of this invention is to provide a multi-version form compatible iterative traceability management method and system based on a form engine to solve the problems raised in the prior art.

[0005] To achieve the above objectives, the present invention provides the following technical solution: a multi-version form compatibility iterative traceability management method based on a form engine, the multi-version form compatibility iterative traceability management method comprising the following steps: Step S1: Obtain the baseline historical version of the form template, parse the sub-form block structure, and construct a key-value mapping table between the normalized business keys and all attributes of the sub-form blocks; The target form to be iteratively edited is selected as the research object, and the baseline historical version of the form template is actually fixed and stored by the form engine in the past template editing process. The baseline historical version of the form template represents the original form template configuration file that has completed version snapshot archiving before the formal start of the iterative editing operation of the form template. Each baseline historical version of the form template corresponds to a stable business form that has been released and launched. The structured configuration file of the baseline historical version of a single form template contains one or more sub-form blocks divided according to the business collection logic. The sub-form block represents a table area within the form template that carries an independent business information collection task. The presentation form of the sub-form block includes three types: horizontal single-row column collection area, vertical single-column collection area, and nested whole table collection area. The sub-form block can be configured with independently displayed table name title text, or it can be left blank with no table name title text configured and set directly next to the parent form item. Traverse the structured configuration file of the base version of the form template, and parse the page structure tree layer by layer according to the block grouping mark built into the configuration file to divide all the sub-form blocks belonging to the current base version of the form template; the attribute information of a single sub-form block includes the block identifier, the set of all fields inside the block, the original layout position parameters of the block in the page, the set of field validation constraints of the block, and the storage structure definition of the corresponding business content of the block. For each identified sub-form block, a normalized business key generation process is performed. This normalized business key represents a unique retrieval identifier for locating sub-form blocks across versions. The normalized business key generation process consists of three branches, specifically: In the first branch, when the target sub-form block has an independently displayed table name title text, the original text of the table name of the sub-form block is extracted, and the name text of the parent business block to which the sub-form block belongs is also extracted. Text normalization is performed on the two types of extracted text, including removing leading and trailing spaces, unifying the full-width and half-width character formats, and merging consecutive repeated whitespace characters. The normalized parent business block name text and sub-form table name text are combined in a fixed concatenation order to generate the explicit normalized business key corresponding to the sub-form block. The second type of branch, when the target subform block does not have any table name title text configured, traces back level by level from the current subform block along the page structure tree, sequentially retrieving the parent title text and the business description text of the parent form that are immediately adjacent to the current subform block; after obtaining the first non-empty business text, perform the same text normalization operation as the above process on the text, using the normalized parent business text as the core component, adding a fixed suffix identifier, and generating the implicit normalized business key corresponding to the subform block; The third type of branch, when no valid text that can be used to generate a business key is obtained after tracing back up the page structure tree to the root node of the form, uses the fixed hierarchical path of the sub-form block in the historical version page structure tree of the form template as the unique identifier to generate the default normalized business key corresponding to the sub-form block; After generating the standardized business key for each sub-form block, collect all attribute information of the corresponding sub-form block. The full attribute information includes the block identifier, field identifiers of all fields within the block, field types, field validation constraint rules, field display configuration parameters, original layout position parameters of the block, storage structure definition of the business content corresponding to the block, and cross-version anchoring identifier of the block. Using the generated standardized business key as the retrieval primary key, the full attribute information corresponding to the sub-form block is used as the mapping value and entered into the created key-value mapping relationship table. The key-value mapping relationship table is represented as a relational data table that is persistently stored locally by the form engine, and the table structure uses the standardized business key as the unique primary key. After the key-value mapping table is fully entered, a global uniqueness check is performed on all normalized business keys in the table. When it is detected that two or more sub-form blocks are mapped to the same normalized business key, the hierarchical path number suffix of the sub-form block is appended to the end of the repeated normalized business key until all normalized business keys in the table are globally unique, thus completing the business key conflict elimination.

[0006] Step S2: Based on the key-value mapping table, perform decomposition, parsing, and normalization of business key matching on the form to be processed; After completing the construction of the key-value mapping relationship table between the normalized business keys and all attributes of the subform blocks, the form version adaptation and business key matching processing flow of the backend service layer is executed. The backend service layer receives externally submitted forms to be processed and decomposes the structured configuration file of the forms to be processed. It then traverses and parses the page structure tree of the forms to be processed layer by layer according to the block grouping tags built into the configuration file, and identifies all the sub-form blocks contained in the forms to be processed. Referring to the generation rules of the normalized business keys in step S1, it calculates and generates the corresponding normalized business keys for each sub-form block identified by the decomposition and identification, and collects them to obtain the set of business keys output by the parsing of the forms to be processed. The backend service layer extracts the form version serial number carried by the form to be processed, completes version identification based on the form version serial number, locates the business processing context of the form template that has been confirmed and released, and retrieves the confirmed and released form template. It then reads all the normalized business keys obtained after parsing and processing the confirmed and released form template and collects them to form the baseline business key reference set corresponding to the released version. The backend service layer compares the set of business keys obtained from parsing the form to be processed with the baseline business key reference set under the current version, one by one. During the comparison and matching process, on the one hand, it traverses each normalized business key in the set of business keys in the form to be processed and searches for the existence of the same normalized business key in the baseline business key reference set; on the other hand, it traverses all normalized business keys in the baseline business key reference set and checks whether the normalized business keys that originated from the confirmed published form template have corresponding entries in the set of business keys output by the parsing of the form to be processed. Through bidirectional comparison, it can fully cover various actual business scenarios of adding, deleting, and changing form blocks. When a normalized business key in the form to be processed can be found in the reference set of the baseline business key, the normalized business key is considered to be successfully matched. For a successfully matched normalized business key, the backend service layer directly uses the full attribute information of the sub-form block bound to the normalized business key in the confirmed published form template to perform business parsing, data validation and data storage processing of the form. When a normalized business key in the form to be processed cannot be found in the reference set of baseline business keys, the normalized business key is determined to be a mismatch. The backend service layer collects all normalized business keys that are determined to be mismatched, uses all the normalized business keys that are determined to be mismatched as interface parameters, assembles and generates an interface request message, and calls the pre-designed dynamic business key parameter analysis interface. The dynamic business key parameter analysis interface is a program call interface encapsulated inside the form engine backend service layer. It defines the data structure of the input and output parameters according to the form business processing protocol and is deployed inside the form engine backend service process. The interface itself does not perform business discrimination calculations. All the normalized business keys that are determined to be mismatched are passed to the dynamic business key parameter analysis interface for subsequent processing. When a standardized business key exists in the baseline business key reference set, and this business key originates from a confirmed and published form template, but no corresponding entry is found in the business key set output by the parsing of the form to be processed, a business key matching gap is determined to exist, indicating that the content of the corresponding sub-form block has been deleted in the current form to be processed. The backend service layer performs a gap status mark on the standardized business key with the matching gap, reads the preset default value corresponding to the attribute configuration of the sub-form block associated with the standardized business key. The preset default value is pre-configured according to the business collection attributes of the corresponding sub-form block and entered into the preset default value field inside the key-value mapping table along with the full attribute information of the sub-form block when constructing the key-value mapping table. The preset default value is used to fill the data position corresponding to the business key, and the subsequent business parsing, data validation and data storage processing of the form are continued to be completed, so as to avoid the interruption of the form parsing process due to missing data caused by block deletion.

[0007] Step S3: Based on the results of the standardized business key matching process, perform a second matching verification across historical versions and calculate multi-dimensional confidence factors to judge the raw business content; After passing the failed matching normalized business keys to the dynamic business key parameter analysis interface, the cross-historical version secondary matching verification and bare business content discrimination and attachment processing flow of the failed matching normalized business keys is executed; multiple confirmed and published historical form templates are read from storage, and the normalized business keys obtained after parsing each confirmed and published historical form template are read, generating historical baseline business key reference sets corresponding to each historical version form template; the normalized business keys contained in all historical baseline business key reference sets are collected and merged to construct a full version historical summary business key set, which gathers all valid normalized business keys under each published historical form template; the key-value mapping relationship table corresponding to all confirmed and published historical form templates is traversed, and the full attribute information of the sub-form block associated with each normalized business key is extracted, and the field types, field validation constraint rules, value ranges, regular expression constraints, and historical filling sample sets under the corresponding business keys are extracted from the full attribute information of the sub-form blocks, and a business key discrimination knowledge base is constructed with the normalized business keys as indexes; Create a temporary cache for business keys, which is used to temporarily store the normalized business keys that have passed the secondary matching verification and the full attribute information of their associated sub-form blocks; When the object to be processed carries a normalized business key that fails to match, the normalized business key that fails to match is matched and retrieved item by item with the set of business keys in the full version history. When a normalized business key that failed to match can be found in the historical summary business key set of all versions, the second match is considered successful. The full attribute information of the sub-form block bound to the normalized business key in the corresponding historical benchmark business key reference set is read, and the full attribute information of the normalized business key and the associated sub-form block is written to the business key temporary cache for temporary storage. The full attribute information of the corresponding sub-form block is read from the business key temporary cache, and the business parsing, data validation and data storage of the form are performed. This can reuse the block attributes of the historical version of the form and reduce the probability of business interruption caused by directly throwing an exception. When a normalized business key that fails to match is not found in the full version history summary business key set, the second match is determined to have failed; a business key exception prompt is thrown for the normalized business key, and the business processing of the form block corresponding to the current normalized business key is terminated; When the object to be processed does not have a normalized business key and only receives a set of raw business content, perform format feature extraction processing on each piece of raw business content in the set to extract the data type features, numerical size, character length and regular expression matching features of the raw business content; The extracted raw business content format features are compared one by one with the field validation constraint rules corresponding to each normalized business key in the business key discrimination knowledge base. Normalized business keys whose field validation constraint rules are compatible with the raw business content format features are selected and aggregated to form a candidate business key set. For each candidate normalized business key in the candidate business key set, calculate the multi-dimensional confidence factor: Constraint matching factor: Calculate the matching fit between the raw business content and the field validation constraint rules corresponding to the candidate normalized business key. The constraint matching factor score is obtained based on the satisfaction of the raw business content with the upper and lower limits of the fields and the regular expression constraints. Historical sample statistical factor: Read the historical data entry sample set corresponding to the candidate normalized business key, and count the proportion of samples that are the same as or similar to the current bare business content in the historical data entry sample set. Use this proportion as the historical sample statistical factor score. Version appearance weight factor: Count the occurrence records of candidate normalized business keys in the entire historical benchmark business key reference set, calculate the proportion of the candidate normalized business key in the entire historical benchmark business key reference set, and use the proportion of the record as the version appearance weight factor score; The system reads the historical discrimination and annotation sample set accumulated internally. The historical discrimination and annotation sample set contains multiple raw business content samples that have been manually confirmed and completed the affiliation. Each sample records the raw business content, the corresponding constraint matching factor score, the historical sample statistical factor score, the version occurrence weight factor score, and the manually confirmed real affiliation business key label. The constraint matching factor score, the historical sample statistical factor score, and the version occurrence weight factor score are used as regression independent variables, and whether the sample matches the real affiliation business key is used as the regression dependent variable. The least squares regression operation is used to solve for the constraint matching factor weighting coefficient, the historical sample statistical factor weighting coefficient, and the version occurrence weight factor weighting coefficient. Using the weighted coefficients of each factor obtained from the solution, the constraint matching factor score, the historical sample statistical factor score, and the version occurrence weight factor score are respectively weighted by coefficient calculation and then summed to obtain the comprehensive confidence score corresponding to the candidate normalized business key. The overall confidence score of each candidate normalized business key is compared with a preset confidence threshold, which is obtained by statistically analyzing the distribution of the overall confidence scores of the bare business content samples that have been manually confirmed and attached in the historical discrimination and annotation sample set. When a single candidate normalized business key in the candidate business key set has a comprehensive confidence score greater than a preset confidence threshold, and the comprehensive confidence score of this candidate normalized business key is higher than the comprehensive confidence scores of all other candidate normalized business keys in the candidate business key set, this candidate normalized business key is determined as the target attached business key; the raw business content is bound to the target attached business key, the business key temporary cache is reused to temporarily store the target attached business key and its associated sub-form block full attribute information, the sub-form block full attribute information in the business key temporary cache is read, and the form's business parsing, data validation, and data storage processing are performed; If there is no candidate normalized business key with a comprehensive confidence score greater than the preset confidence threshold in the candidate business key set, or if there are two or more candidate normalized business keys with comprehensive confidence scores greater than the preset confidence threshold, the bare business content identification and affiliation is deemed to have failed. A manual review mark is generated for the bare business content, and the automatic business key binding process is not performed. The business affiliation confirmation is then completed manually.

[0008] Step S4: Based on the business key discrimination knowledge base of the discrimination result samples, update the weighting coefficients of the multi-dimensional confidence factors; The system collects all business processing results generated after performing bare business content identification and affiliation processing. This includes valid identification samples with a comprehensive confidence score greater than the preset confidence threshold and which have been automatically bound, as well as corrected identification samples that have been manually reviewed and marked to confirm their manual business affiliation. The two types of samples are then uniformly included in the historical identification and annotation sample set to achieve continuous expansion of the historical identification and annotation sample set. For each sample newly added to the historical discrimination and labeling sample set, the constraint matching factor score, historical sample statistical factor score, and version occurrence weight factor score of the corresponding raw business content are re-extracted, and the manual confirmed real affiliation standardized business key tags carried by the sample are retained. The configured least squares regression training model is invoked, and the constraint matching factor score, historical sample statistical factor score, and version occurrence weight factor score are selected as the model input feature parameters. Whether the sample matches the manually confirmed real affiliation standardized business key is used as the model regression dependent variable. The least squares regression operation is re-executed using the expanded historical discriminant labeled sample set, and the updated constraint matching factor weight coefficient, historical sample statistical factor weight coefficient, and version occurrence weight factor weight coefficient are re-solved.

[0009] Step S5: Based on the iteratively updated weighted coefficients, perform adaptive form template generation and control the form version iteration and traceability through the adaptive form template; After completing the iterative update of the multi-dimensional confidence factor weighting coefficient, the dynamic business key parameter analysis interface retrieves all historical raw business content data that are unmatched, weakly matched, or manually reviewed since the system went online, and constructs a full-domain historical unknown business dataset. This full-domain historical unknown business dataset contains all historical business data that cannot be matched by fixed business keys, cannot be automatically attached, or require manual intervention during each form iteration. Based on the weighted coefficients of the constraint matching factor, the weighted coefficients of the historical sample statistical factor, and the weighted coefficients of the version occurrence factor after the iteration update, the least squares regression training model is called to perform batch secondary fitting operations on each historical bare business content in the whole domain historical unknown business dataset, and the latest comprehensive confidence score of each normalized business key corresponding to each historical bare business content is recalculated. Based on the changes in the overall confidence score obtained from batch recalculation, the confidence growth rate, historical fit hit increment, and cross-version adaptation improvement trend of each normalized business key are statistically analyzed. The target normalized business key with the best adaptation growth trend, the greatest improvement in business data fit, and the largest amount of raw data collection under the current form business system is predicted. Based on the predicted target normalized business key, the historical field validation constraint rules, historical data entry samples, field type characteristics, value distribution characteristics, and regular expression adaptation characteristics, the field composition logic, data collection dimensions, and page collection structure characteristics of the sub-form block are decomposed in reverse. Combining the cross-version historical layout parameters and version iteration trajectory of the target normalized business key, a new sub-form block structured configuration parameter adapted to the latest business data form is adaptively generated. Based on the structured configuration parameters of the new sub-form blocks, a new version of the form sub-template is automatically assembled and generated to adapt to massive amounts of newly added raw business data, completing the adaptive iteration and derivation of the template for new business scenarios; the generated new version of the form sub-template is included in the template version management queue of the form engine as the base template resource for the next version of the form iteration update; The form engine reads the configuration metadata of the new form sub-template and adds a new template version snapshot entry to the template version management queue. After adding, the form engine performs version number increment calculation based on all existing template version snapshot entries in the queue, automatically generating a unique form version sequence number corresponding to the new form sub-template. It also records the template's generation time, the target standardized business key identifier on which the deduction is based, the statistical information of historical raw business content samples involved in the calculation, and the complete sub-form block structured configuration parameters. The engine generates a corresponding version traceability archive file and persists it. The recorded version traceability archive file is used for version backtracking, business evolution tracing, and cross-version form compatibility verification during multi-version form iteration. The new form sub-templates directly participate in the standardized business key matching and raw business content attachment and judgment process, realizing a full-link intelligent closed loop of adaptive prediction of business data trends, self-learning and updating of business key weights, and reverse iteration generation of form templates. This overcomes the technical defects of traditional form templates being fixed and unable to adapt and update with the evolution of actual business data.

[0010] Furthermore, a multi-version form compatible iterative traceability management system based on a form engine is provided. This multi-version form compatible iterative traceability management system includes a form block labeling and modeling module, a form version adaptation and matching module, an intelligent business discrimination and verification module, and an adaptive iterative traceability module. The form block calibration and modeling module is used to process the baseline historical versions of the form template, generate standardized business keys, and construct a key-value mapping relationship table; the form version adaptation and matching module is used to parse the structured configuration file of the form to be processed, complete the bidirectional comparison of standardized business keys, and execute business processing for various matching conditions; the intelligent business discrimination and verification module is used to perform cross-historical version retrieval on standardized business keys that fail to match, and complete the standardized business key attachment discrimination of the raw business content set; the adaptive iterative tracing module is used to expand the historical discrimination annotation sample set, update the multi-dimensional confidence factor weighting coefficient, deduce the form template, and generate a version tracing archive file; The form block identification and modeling module includes a version structure parsing unit and a business key mapping construction unit. The version structure parsing unit is used to read the baseline historical version of the form template, parse the page structure tree, and identify sub-form blocks. The business key mapping construction unit is used to generate standardized business keys according to branch rules, input all attributes of the sub-form blocks into the key-value mapping relationship table, and perform global uniqueness verification of the standardized business keys. The form version adaptation and matching module includes a form decomposition and parsing unit and a two-way matching and adaptation unit. The form decomposition and parsing unit is used to decompose the structured configuration file of the form to be processed and output the set of business keys output by the parsing of the form to be processed. The two-way matching and adaptation unit is used to perform a two-way comparison between the set of business keys output by the parsing of the form to be processed and the reference set of benchmark business keys, and execute the business process corresponding to successful matching, failed matching, and missing matching. The intelligent business discrimination and verification module includes a cross-version secondary verification unit and a multi-factor intelligent discrimination unit. The cross-version secondary verification unit is used to construct a set of historical summary business keys for all versions and a business key discrimination knowledge base, and to perform secondary matching retrieval of normalized business keys that fail to match. The multi-factor intelligent discrimination unit is used to extract the format features of raw business content, calculate the scores of three types of confidence factors, solve the corresponding weighting coefficients, and determine the target attached business key. The adaptive iterative tracing module includes a model weight iteration unit and a template inference tracing unit. The model weight iteration unit is used to collect valid discrimination samples, correct discrimination samples to expand the historical discrimination label sample set, and recalculate to obtain the updated weighted coefficients of the three confidence factors. The template inference tracing unit is used to perform batch secondary fitting operations on the entire domain historical unknown business dataset, assemble new form sub-templates, and persistently store the version tracing archive file.

[0011] Compared with the prior art, the beneficial effects of the present invention are: 1. This invention constructs a standardized business key and key-value mapping table to achieve cross-version unique identification of each sub-form block within the form. For situations where page appearance is consistent but underlying block logic changes occur due to form editing, the invention completes the business key matching between the form to be processed and the baseline template through bidirectional comparison, identifies the addition, deletion and modification of blocks, avoids data parsing interruptions caused by implicit changes in the form structure, and provides basic support for data compatibility processing of multi-version forms.

[0012] 2. This invention establishes a business key discrimination knowledge base, and uses multi-dimensional confidence factors and least squares regression to complete the intelligent affiliation discrimination of raw business content. At the same time, it uses samples obtained by automatic binding and manual review to continuously update the weighting coefficients of each factor, continuously optimize the business discrimination capability, and realize automated affiliation identification for business data that cannot be directly matched, thereby reducing the workload of manual review in the form iteration process.

[0013] 3. This invention utilizes updated weighted coefficients to perform batch secondary fitting of historical bare business content, deduces and generates new sub-form block configurations, and automatically assembles new form sub-templates. It also completes version serial number generation and persistent storage of traceability archive files, forming a self-learning closed loop. This solves the problem that traditional templates are fixed and cannot keep up with the evolution and iteration of business data, ensuring that form versions are traceable and cross-version business data is compatible and verifiable. Attached Figure Description

[0014] Figure 1 This is a flowchart illustrating a multi-version form compatible iterative traceability management method based on a form engine according to the present invention. Detailed Implementation

[0015] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0016] Example 1: As Figure 1As shown, this invention provides a technical solution: a multi-version form compatibility iterative traceability management method based on a form engine. The multi-version form compatibility iterative traceability management method includes the following steps: Step S1: Obtain the baseline historical version of the form template, parse the sub-form block structure, and construct a key-value mapping table between the normalized business keys and all attributes of the sub-form blocks; The target form to be iteratively edited is selected as the research object, and the baseline historical version of the form template is actually fixed and stored by the form engine in the past template editing process. The baseline historical version of the form template represents the original form template configuration file that has completed version snapshot archiving before the formal start of the iterative editing operation of the form template. Each baseline historical version of the form template corresponds to a stable business form that has been released and launched. The structured configuration file of the baseline historical version of a single form template contains one or more sub-form blocks divided according to the business collection logic. The sub-form block represents a table area within the form template that carries an independent business information collection task. The presentation form of the sub-form block includes three types: horizontal single-row column collection area, vertical single-column collection area, and nested whole table collection area. The sub-form block can be configured with independently displayed table name title text, or it can be left blank with no table name title text configured and set directly next to the parent form item. Traverse the structured configuration file of the base version of the form template, and parse the page structure tree layer by layer according to the block grouping mark built into the configuration file to divide all the sub-form blocks belonging to the current base version of the form template; the attribute information of a single sub-form block includes the block identifier, the set of all fields inside the block, the original layout position parameters of the block in the page, the set of field validation constraints of the block, and the storage structure definition of the corresponding business content of the block. For each identified sub-form block, a normalized business key generation process is performed. This normalized business key represents a unique retrieval identifier for locating sub-form blocks across versions. The normalized business key generation process consists of three branches, specifically: In the first branch, when the target sub-form block has an independently displayed table name title text, the original text of the table name of the sub-form block is extracted, and the name text of the parent business block to which the sub-form block belongs is also extracted. Text normalization is performed on the two types of extracted text, including removing leading and trailing spaces, unifying the full-width and half-width character formats, and merging consecutive repeated whitespace characters. The normalized parent business block name text and sub-form table name text are combined in a fixed concatenation order to generate the explicit normalized business key corresponding to the sub-form block. The second type of branch, when the target subform block does not have any table name title text configured, traces back level by level from the current subform block along the page structure tree, sequentially retrieving the parent title text and the business description text of the parent form that are immediately adjacent to the current subform block; after obtaining the first non-empty business text, perform the same text normalization operation as the above process on the text, using the normalized parent business text as the core component, adding a fixed suffix identifier, and generating the implicit normalized business key corresponding to the subform block; The third type of branch, when no valid text that can be used to generate a business key is obtained after tracing back up the page structure tree to the root node of the form, uses the fixed hierarchical path of the sub-form block in the historical version page structure tree of the form template as the unique identifier to generate the default normalized business key corresponding to the sub-form block; After generating the standardized business key for each sub-form block, collect all attribute information of the corresponding sub-form block. The full attribute information includes the block identifier, field identifiers of all fields within the block, field types, field validation constraint rules, field display configuration parameters, original layout position parameters of the block, storage structure definition of the business content corresponding to the block, and cross-version anchoring identifier of the block. Using the generated standardized business key as the retrieval primary key, the full attribute information corresponding to the sub-form block is used as the mapping value and entered into the created key-value mapping relationship table. The key-value mapping relationship table is represented as a relational data table that is persistently stored locally by the form engine, and the table structure uses the standardized business key as the unique primary key. After completing the full entry of the key-value mapping table, a global uniqueness check is performed on all normalized business keys in the table. When it is detected that two or more sub-form blocks are mapped to the same normalized business key, the hierarchical path number suffix of the sub-form block is appended to the end of the repeated normalized business key until all normalized business keys in the table are globally unique, thus eliminating business key conflicts. In practice, the retrieval of the form template's baseline historical version is performed offline in the form engine's backend, without consuming real-time computing resources from front-end template editing operations. Subform blocks are strictly divided according to the block grouping markers built into the structured configuration file, without subjective division based on the page's visual layout. Each subform block belongs to only one parent business block, preventing duplicate entries across blocks. During the generation of standardized business keys, text standardization only removes redundant formatting characters that affect key consistency, without modifying the text's inherent business semantics. The concatenation of the parent business block name for explicitly standardized business keys is taken from the configuration of the parent block directly attached to the subform block, without tracing back to distant block names that are not directly superiors across multiple levels. There is no limit to the number of levels that implicitly standardized business keys can trace back to, stopping only when the first non-empty business text is obtained. After the default standardized business key is generated, it is only used as the final unique identifier within the key-value mapping table and does not participate in cross-version semantic similarity calculations. After the key-value mapping table has completed full data entry and uniqueness verification, it can be directly read and called by the real-time template editing process. The real-time template editing process will not rewrite the historical records in the key-value mapping table, but will only add new key-value pair records to the table when a new sub-form block is detected.

[0017] Step S2: Based on the key-value mapping table, perform decomposition, parsing, and normalization of business key matching on the form to be processed; After completing the construction of the key-value mapping relationship table between the normalized business keys and all attributes of the subform blocks, the form version adaptation and business key matching processing flow of the backend service layer is executed. The backend service layer receives externally submitted forms to be processed and decomposes the structured configuration file of the forms to be processed. It then traverses and parses the page structure tree of the forms to be processed layer by layer according to the block grouping tags built into the configuration file, and identifies all the sub-form blocks contained in the forms to be processed. Referring to the generation rules of the normalized business keys in step S1, it calculates and generates the corresponding normalized business keys for each sub-form block identified by the decomposition and identification, and collects them to obtain the set of business keys output by the parsing of the forms to be processed. The backend service layer extracts the form version serial number carried by the form to be processed, completes version identification based on the form version serial number, locates the business processing context of the form template that has been confirmed and released, and retrieves the confirmed and released form template. It then reads all the normalized business keys obtained after parsing and processing the confirmed and released form template and collects them to form the baseline business key reference set corresponding to the released version. The backend service layer compares and matches the set of business keys obtained from parsing the form to be processed with the baseline business key reference set under the current version, one by one. During the comparison and matching process, on the one hand, it traverses each normalized business key in the set of business keys in the form to be processed and searches for the existence of the same normalized business key in the baseline business key reference set; on the other hand, it traverses all normalized business keys in the baseline business key reference set and checks whether the normalized business keys originating from the confirmed published form template have corresponding entries in the set of business keys output by the parsing of the form to be processed. The business key comparison and matching under the conditions of adding, deleting, and changing form blocks is completed through bidirectional comparison. When a normalized business key in the form to be processed can be found in the reference set of the baseline business key, the normalized business key is considered to be successfully matched. For a successfully matched normalized business key, the backend service layer directly uses the full attribute information of the sub-form block bound to the normalized business key in the confirmed published form template to perform business parsing, data validation and data storage processing of the form. When a normalized business key in the form to be processed cannot be found in the reference set of baseline business keys, the normalized business key is determined to be a match failure. The backend service layer collects all normalized business keys that are determined to be a match failure, uses all normalized business keys that are a match failure as interface parameters, assembles and generates an interface request message, calls the pre-designed dynamic business key parameter analysis interface, and passes all the collected normalized business keys that are a match failure to the dynamic business key parameter analysis interface for subsequent processing. When a standardized business key exists in the baseline business key reference set, and this business key originates from a confirmed and published form template, but no corresponding entry is found in the business key set output by the parsing of the form to be processed, it is determined that a business key matching gap has occurred, indicating that the content of the corresponding sub-form block has been deleted in the current form to be processed; the backend service layer performs a gap status mark on the standardized business key with the matching gap, reads the preset default value corresponding to the attribute configuration of the sub-form block associated with the standardized business key, uses the preset default value to fill the data position corresponding to the business key, and continues to complete the subsequent business parsing, data validation, and data storage processing of the form; In practice, the decomposition and parsing of the forms to be processed is performed in the backend service layer, without consuming the real-time computing resources of the frontend form submission channel. The normalized business keys output by the parsed forms are generated one by one according to the normalized business key generation rules. The extraction of the form version sequence number is performed after the business key set is collected. Version identification locates the form template corresponding to the confirmed release of the form version sequence number. If the form version sequence number does not have a corresponding entry in the confirmed release record, the form version to be processed is directly determined to be invalid, and subsequent comparison and matching processing is terminated. During the bidirectional comparison and matching process, the set of business keys output by the parsed forms to be processed is first traversed, and the same normalized business key is searched within the baseline business key reference set. Then, all normalized business keys within the baseline business key reference set are traversed to check whether a corresponding entry exists in the set of business keys output by the parsed forms to be processed. The same normalized business key... During the bidirectional comparison process, a matching judgment is performed only once, and the data is not counted repeatedly. Successfully matched standardized business keys directly use all attribute information of the sub-form blocks bound to that standardized business key in the already confirmed and published form template, without re-collecting block attributes. All failed-matched standardized business keys are collected and assembled into an interface request message, which calls the dynamic business key parameter analysis interface. Each failed-matched standardized business key in the interface request message carries the block identifier and field set of its corresponding sub-form block for subsequent processing by the dynamic business key parameter analysis interface. For standardized business keys with missing matching criteria, after marking the missing status, the preset default value corresponding to the attribute configuration of the sub-form block associated with that standardized business key is read to complete the data position filling. The preset default value is taken from the preset default value field inside the block attribute configuration. The filling process does not overwrite the data content corresponding to other standardized business keys already existing in the form to be processed.

[0018] Step S3: Based on the results of the standardized business key matching process, perform a second matching verification across historical versions and calculate multi-dimensional confidence factors to judge the raw business content; After passing the failed matching normalized business keys to the dynamic business key parameter analysis interface, the cross-historical version secondary matching verification and bare business content discrimination and attachment processing flow of the failed matching normalized business keys is executed; multiple confirmed and published historical form templates are read from storage, and the normalized business keys obtained after parsing each confirmed and published historical form template are read, generating historical baseline business key reference sets corresponding to each historical version form template; the normalized business keys contained in all historical baseline business key reference sets are collected and merged to construct a full version historical summary business key set, which gathers all valid normalized business keys under each published historical form template; the key-value mapping relationship table corresponding to all confirmed and published historical form templates is traversed, and the full attribute information of the sub-form block associated with each normalized business key is extracted, and the field types, field validation constraint rules, value ranges, regular expression constraints, and historical filling sample sets under the corresponding business keys are extracted from the full attribute information of the sub-form blocks, and a business key discrimination knowledge base is constructed with the normalized business keys as indexes; Create a temporary cache for business keys, which is used to temporarily store the normalized business keys that have passed the secondary matching verification and the full attribute information of their associated sub-form blocks; When the object to be processed carries a normalized business key that fails to match, the normalized business key that fails to match is matched and retrieved item by item with the set of business keys in the full version history. When a normalized business key that failed to match can be found in the historical summary business key set of all versions, the second match is considered successful; read the full attribute information of the sub-form block bound to the normalized business key in the corresponding historical benchmark business key reference set, and write the normalized business key and the associated sub-form block full attribute information into the business key temporary cache for temporary storage; read the full attribute information of the corresponding sub-form block from the business key temporary cache, and perform business parsing, data validation and data storage processing of the form; When a normalized business key that fails to match is not found in the full version history summary business key set, the second match is determined to have failed; a business key exception prompt is thrown for the normalized business key, and the business processing of the form block corresponding to the current normalized business key is terminated; When the object to be processed does not have a normalized business key and only receives a set of raw business content, perform format feature extraction processing on each piece of raw business content in the set to extract the data type features, numerical size, character length and regular expression matching features of the raw business content; The extracted raw business content format features are compared one by one with the field validation constraint rules corresponding to each normalized business key in the business key discrimination knowledge base. Normalized business keys whose field validation constraint rules are compatible with the raw business content format features are selected and aggregated to form a candidate business key set. For each candidate normalized business key in the candidate business key set, calculate the multi-dimensional confidence factor: Constraint matching factor: Calculate the matching fit between the raw business content and the field validation constraint rules corresponding to the candidate normalized business key. The constraint matching factor score is obtained based on the satisfaction of the raw business content with the upper and lower limits of the fields and the regular expression constraints. Historical sample statistical factor: Read the historical data entry sample set corresponding to the candidate normalized business key, and count the proportion of samples that are the same as or similar to the current bare business content in the historical data entry sample set. Use this proportion as the historical sample statistical factor score. Version appearance weight factor: Count the occurrence records of candidate normalized business keys in the entire historical benchmark business key reference set, calculate the proportion of the candidate normalized business key in the entire historical benchmark business key reference set, and use the proportion of the record as the version appearance weight factor score; The system reads the historical discrimination and annotation sample set accumulated internally. The historical discrimination and annotation sample set contains multiple raw business content samples that have been manually confirmed and completed the affiliation. Each sample records the raw business content, the corresponding constraint matching factor score, the historical sample statistical factor score, the version occurrence weight factor score, and the manually confirmed real affiliation business key label. The constraint matching factor score, the historical sample statistical factor score, and the version occurrence weight factor score are used as regression independent variables, and whether the sample matches the real affiliation business key is used as the regression dependent variable. The least squares regression operation is used to solve for the constraint matching factor weighting coefficient, the historical sample statistical factor weighting coefficient, and the version occurrence weight factor weighting coefficient. Using the weighted coefficients of each factor obtained from the solution, the constraint matching factor score, the historical sample statistical factor score, and the version occurrence weight factor score are respectively weighted by coefficient calculation and then summed to obtain the comprehensive confidence score corresponding to the candidate normalized business key. The overall confidence score of each candidate normalized business key is compared with the preset confidence threshold. When a single candidate normalized business key in the candidate business key set has a comprehensive confidence score greater than a preset confidence threshold, and the comprehensive confidence score of this candidate normalized business key is higher than the comprehensive confidence scores of all other candidate normalized business keys in the candidate business key set, this candidate normalized business key is determined as the target attached business key; the raw business content is bound to the target attached business key, the business key temporary cache is reused to temporarily store the target attached business key and its associated sub-form block full attribute information, the sub-form block full attribute information in the business key temporary cache is read, and the form's business parsing, data validation, and data storage processing are performed; When there is no candidate normalized business key in the candidate business key set whose comprehensive confidence score is greater than the preset confidence threshold, or when there are two or more candidate normalized business keys whose comprehensive confidence scores are greater than the preset confidence threshold, the bare business content identification and affiliation is determined to be unsuccessful. A manual review mark is generated for the bare business content, and the automatic business key binding process is not performed. The business affiliation confirmation is completed manually. In practice, the scope of reading historical form templates is limited to form templates that have been confirmed and published. Form templates that have not been confirmed and published will not participate in the construction of the historical benchmark business key reference set. The full version historical summary business key set is constructed by merging all historical benchmark business key reference sets after they are collected. Each standardized business key in the set retains only one record and will not generate duplicate entries due to repeated occurrences across multiple historical versions. The business key discrimination knowledge base is built with standardized business keys as indexes. Each index record contains field type, field validation constraint rules, value range, regular expression constraints, and a set of historical data entry samples under the corresponding business key. The set of historical data entry samples is taken from the actual business data stored in the database within the corresponding sub-form block of the historical form template for that standardized business key. The temporary cache for business keys is only valid within the current processing flow and is cleared after the processing flow ends. It is not reused across form processing tasks. When the secondary matching retrieval is executed, the normalized business keys that fail to match are compared one by one with each normalized business key in the set of business keys in the full version history summary. If the comparison is successful, the secondary matching is determined to be successful. The full attribute information of the sub-form block bound to the normalized business key in the corresponding historical benchmark business key reference set is read and written into the temporary cache for business keys. The raw business content format feature extraction only extracts data type features, numerical size, character length, and regular expression matching features, without performing natural language semantic parsing. The selection criteria for the candidate business key set are that the field validation constraint rules are compatible with the raw business content format features. Normalized business keys that are not compatible with the field validation constraint rules are directly excluded and do not enter the candidate business key set. The calculation order of the three factor scores is fixed as constraint matching factor score, historical sample statistical factor score, and version occurrence weight factor score. The calculation of the version occurrence weight factor score is completed based on the occurrence records of the candidate normalized business key in the entire historical benchmark business key reference set. The historical discrimination annotation sample set only includes raw business content samples that have been manually confirmed and affixed. Samples that have not been manually confirmed are not included in the regression calculation. The least squares regression operation uses the constraint matching factor score, historical sample statistical factor score, and version occurrence weight factor score as the independent variables, and whether the sample matches the actual affiliated business key as the dependent variable. The weighted coefficients of the constraint matching factor, historical sample statistical factor, and version occurrence weight factor are calculated. A pre-set confidence threshold is used for comparing the overall confidence score. This threshold is configured during system initialization and is not dynamically adjusted with each form processing task. If the overall confidence score of a single candidate normalized business key is greater than the pre-set confidence threshold and also higher than the overall confidence scores of all other candidate normalized business keys, it is identified as the target affiliated business key and binding is performed. If no candidate normalized business key has an overall confidence score greater than the pre-set confidence threshold, or if two or more candidate normalized business keys have overall confidence scores greater than the pre-set confidence threshold, a manual review mark is generated, and the business attribution is confirmed manually.

[0019] Step S4: Based on the business key discrimination knowledge base of the discrimination result samples, update the weighting coefficients of the multi-dimensional confidence factors; The system collects all business processing results generated after performing bare business content identification and affiliation processing. This includes valid identification samples with a comprehensive confidence score greater than the preset confidence threshold and which have been automatically bound, as well as corrected identification samples that have been manually reviewed and marked to confirm their manual business affiliation. The two types of samples are then uniformly included in the historical identification and annotation sample set to expand the historical identification and annotation sample set. For each sample newly added to the historical discrimination and labeling sample set, the constraint matching factor score, historical sample statistical factor score, and version occurrence weight factor score of the corresponding raw business content are re-extracted, and the manual confirmed real affiliation standardized business key tags carried by the sample are retained. Call the configured least squares regression training model, select constraint matching factor score, historical sample statistical factor score and version occurrence weight factor score as model input feature parameters, use whether the sample matches the manually confirmed real affiliation standardized business key as the model regression dependent variable, and re-execute the least squares regression operation using the expanded historical discriminant labeled sample set to re-solve and obtain the updated constraint matching factor weight coefficient, historical sample statistical factor weight coefficient and version occurrence weight factor weight coefficient; In practice, the scope of business processing results is limited to the processing results generated after the system actually performs the bare business content discrimination and affiliation processing. Business data that has not undergone discrimination and affiliation processing is not included in the collection. The criteria for valid discrimination samples are that the comprehensive confidence score is greater than the preset confidence threshold and automatic binding is completed. The criteria for corrected discrimination samples are that manual review marks are generated and manual business attribution confirmation is completed. The two types of samples are collected separately and then uniformly added to the historical discrimination and annotation sample set. The factor score re-extraction process for newly added samples is performed after the samples are added to the historical discriminant label sample set. The re-extracted constraint matching factor score, historical sample statistical factor score, and version occurrence weight factor score are stored one-to-one with the manually confirmed authentic affiliation standardized business key tag carried by the sample. The re-operation of the least squares regression training model is performed based on the expanded historical discriminant label sample set. The model input feature parameters are fixed as constraint matching factor score, historical sample statistical factor score, and version occurrence weight factor score. The model regression dependent variable is fixed as whether the sample matches the manually confirmed authentic affiliation standardized business key. The re-solved constraint matching factor weighting coefficient, historical sample statistical factor weighting coefficient, and version occurrence weight factor weighting coefficient directly overwrite the corresponding weighting coefficients before the update, and are used for calculating the comprehensive confidence score during the bare business content discrimination and affiliation process. The weighting coefficient update process is performed after each expansion of the historical discriminant label sample set, and regression calculation is not repeated when no sample expansion occurs.

[0020] Step S5: Based on the iteratively updated weighted coefficients, perform adaptive form template generation and control the form version iteration and traceability through the adaptive form template; After completing the iterative update of the multi-dimensional confidence factor weighting coefficient, the dynamic business key parameter analysis interface retrieves all historical raw business content data that are unmatched, weakly matched, or manually reviewed since the system went online, and constructs a full-domain historical unknown business dataset. This full-domain historical unknown business dataset contains all historical business data that cannot be matched by fixed business keys, cannot be automatically attached, or require manual intervention during each form iteration. Based on the weighted coefficients of the constraint matching factor, the weighted coefficients of the historical sample statistical factor, and the weighted coefficients of the version occurrence factor after the iteration update, the least squares regression training model is called to perform batch secondary fitting operations on each historical bare business content in the whole domain historical unknown business dataset, and the latest comprehensive confidence score of each normalized business key corresponding to each historical bare business content is recalculated. Based on the changes in the overall confidence score obtained from batch recalculation, the confidence growth rate, historical fit hit increment, and cross-version adaptation improvement trend of each normalized business key are statistically analyzed. The target normalized business key with the best adaptation growth trend, the greatest improvement in business data fit, and the largest amount of raw data collection under the current form business system is predicted. Based on the predicted target normalized business key, the historical field validation constraint rules, historical data entry samples, field type characteristics, value distribution characteristics, and regular expression adaptation characteristics, the field composition logic, data collection dimensions, and page collection structure characteristics of the sub-form block are decomposed in reverse. Combining the cross-version historical layout parameters and version iteration trajectory of the target normalized business key, a new sub-form block structured configuration parameter adapted to the latest business data form is adaptively generated. Based on the structured configuration parameters of the new sub-form blocks, a new version of the form sub-template is automatically assembled and generated to adapt to massive amounts of newly added raw business data; the generated new version of the form sub-template is included in the template version management queue of the form engine as a base template resource for the next version of the form iteration update; The form engine reads the configuration metadata of the new form sub-template and adds a new template version snapshot entry to the template version management queue. After adding, the form engine performs version number increment calculation based on all existing template version snapshot entries in the queue, automatically generating a unique form version sequence number corresponding to the new form sub-template. It also records the template's generation time, the target standardized business key identifier on which the deduction is based, the statistical information of historical raw business content samples involved in the calculation, and the complete sub-form block structured configuration parameters. The engine generates a corresponding version traceability archive file and persists it. The recorded version traceability archive file is used for version backtracking, business evolution tracing, and cross-version form compatibility verification during multi-version form iteration. In specific implementation, taking an unmatched historical bare business content retained by the dynamic business key parameter analysis interface under the form business system as an example, this bare business content cannot be confirmed by matching with a fixed business key in multiple form iterations. The system retrieves the weighted coefficient of the updated constraint matching factor, the weighted coefficient of the historical sample statistical factor, and the weighted coefficient of the version occurrence weight factor. It calls the least squares regression training model to perform a second fitting operation on the bare business content, outputs the latest comprehensive confidence score of each normalized business key, compares the comprehensive confidence score before and after the update to obtain the confidence increase rate, combines the historical fitting hit increment and the cross-version adaptation improvement trend to filter the target normalized business key, reads the field validation constraint rules, historical filling sample data, field type characteristics, value distribution characteristics, and regular expression adaptation characteristics corresponding to the target normalized business key, and reversely decomposes to obtain the field composition logic, data collection dimensions and page collection structure. Combining the cross-version historical layout parameters and version iteration trajectory, it deduces the new sub-form block structured configuration parameters and automatically assembles the new form sub-template. The form engine appends the template version snapshot entry corresponding to the new form sub-template to the end of the template version management queue. Based on the existing entries in the queue, it performs an incrementing calculation of the version number to generate a unique form version sequence number. It synchronously records the template generation time, the target normalized business key identifier on which the deduction is based, the statistical information of the historical bare business content samples involved in the calculation, and the complete sub-form block structured configuration parameters. It generates a version traceability archive file for persistent storage. The global historical unknown business dataset only includes unmatched, weakly matched, and manually reviewed historical bare business content. Assigned bare business content must not be mixed into the dataset. The secondary fitting calculation must use the updated weighting coefficients. The target normalized business key is filtered only based on the confidence increase rate, the historical fitting hit increment, and the cross-version adaptation improvement trend. The deduced configuration parameters need to cover the field composition, data collection dimensions, and page collection structure. New snapshot entries are placed at the end of the queue. The version sequence number cannot be duplicated with existing entries. The version traceability archive file completely records all specified information and is persistently stored locally, supporting version backtracking of multi-version forms, business evolution tracing, and cross-version form compatibility verification.

[0021] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above, and that the invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the invention. Therefore, the embodiments should be considered in all respects as exemplary and non-limiting, and the scope of the invention is defined by the appended claims rather than the foregoing description. Thus, it is intended that all variations falling within the meaning and scope of equivalents of the claims be included within the present invention.

Claims

1. A method for managing multi-version form compatibility and iterative traceability based on a form engine, characterized in that: The multi-version form compatibility iterative traceability management method includes: Obtain the baseline historical version of the form template, parse the subform block structure, and construct a key-value mapping table between the standardized business keys and all attributes of the subform blocks; Based on the key-value mapping table, the form to be processed is decomposed, parsed, and standardized for business key matching. Based on the results of the standardized business key matching process, a second matching verification is performed across historical versions, and multi-dimensional confidence factors are calculated to judge the raw business content. Based on the business key discrimination knowledge base of the discrimination result samples, the weighting coefficients of the multi-dimensional confidence factors are updated; Adaptive form template generation is performed based on the iteratively updated weighted coefficients, and the form version iteration is controlled and traced through the adaptive form template.

2. The method for multi-version form compatibility iterative traceability management based on a form engine according to claim 1, characterized in that: The construction of the key-value mapping table between the normalized business keys and all attributes of the sub-form block includes: Select the target form for the iterative editing operation to be performed, and obtain the baseline historical version of the form template; Iterate through the structured configuration file of the baseline historical version of the form template, parse the page structure tree layer by layer according to the block grouping mark, identify and divide all sub-form blocks, and extract the attribute information of each sub-form block; Perform standardized business key generation for each sub-form block; Using the standardized business key as the primary key for retrieval and the full attribute information of the sub-form block as the mapping value, a key-value mapping relationship table is generated by inputting the data. Perform a global uniqueness check on all normalized business keys in the key-value mapping table, and append a hierarchical path number suffix to any conflicting normalized business keys.

3. The method for multi-version form compatibility iterative traceability management based on a form engine according to claim 1, characterized in that: The process of decomposing, parsing, and standardizing business key matching of the form to be processed based on the key-value mapping table includes: Receive externally submitted forms to be processed, disassemble the structured configuration file of the forms to be processed, parse the page structure tree of the forms to be processed, identify all sub-form blocks of the forms to be processed, generate the normalized business keys corresponding to each sub-form block according to the normalized business key generation rules, and collect the set of business keys output by the parsing of the forms to be processed. Extract the form version serial number carried by the form to be processed, locate the business processing context of the corresponding confirmed and released form template based on the form version serial number, retrieve the confirmed and released form template, and collect the base business key reference set of the corresponding release version; Perform a two-way comparison and matching between the set of business keys output from the parsed form and the base set of business keys. When the normalized business key is successfully matched, the full attribute information of the sub-form block bound to the normalized business key in the already confirmed and published form template is used to perform business parsing, data validation and data storage processing of the form; When a normalized business key fails to match, the normalized business keys that fail to match are collected and passed to a pre-designed dynamic business key parameter analysis interface. When a missing business key is found, a missing status mark is applied to the normalized business key that has the missing match, and the corresponding preset default value is read to fill the corresponding data position.

4. The method for multi-version form compatibility iterative traceability management based on a form engine according to claim 1, characterized in that: The process of calculating multi-dimensional confidence factors to determine the raw business content includes: Read multiple confirmed and published historical form templates and generate a historical baseline business key reference set for each historical version of the form template; The standardized business keys in each historical benchmark business key reference set are collected, merged, and a total historical summary business key set for all versions is constructed. A business key discrimination knowledge base is built based on the full attribute information of the sub-form blocks of the historical form template. When the object to be processed carries a normalized business key that fails to match, perform a second-order matching retrieval with the set of business keys in the full version history. When a second match is successful, a temporary cache for business keys is created; the full attribute information of the sub-form blocks bound to the normalized business key is read from the corresponding historical benchmark business key reference set; the full attribute information of the normalized business key and its associated sub-form blocks is written into the temporary cache for business keys; the full attribute information of the sub-form blocks in the temporary cache for business keys is read; and the business parsing, data validation and data storage processing of the form are performed. When a second match fails, a business key exception message is thrown for the normalized business key, and the business processing of the form block corresponding to the current normalized business key is terminated.

5. The method for multi-version form compatibility iterative traceability management based on a form engine according to claim 4, characterized in that: The method of calculating multi-dimensional confidence factors to distinguish raw business content also includes: When the object to be processed does not have a normalized business key and only has a set of raw business content, the format features of the raw business content are extracted, and a set of candidate business keys is obtained by filtering based on the business key discrimination knowledge base. For each candidate normalized business key in the candidate business key set, calculate the constraint matching factor score, the historical sample statistical factor score, and the version occurrence weight factor score respectively; read the historical discrimination labeled sample set, solve the weighted coefficients corresponding to each factor based on the least squares regression operation, and obtain the comprehensive confidence score by weighted summation. Based on the comprehensive confidence score of each candidate normalized business key, the result of determining the affiliation relationship between the raw business content and the candidate normalized business key is output.

6. The method for multi-version form compatibility iterative traceability management based on a form engine according to claim 1, characterized in that: The updating of the weighted coefficients of the multi-dimensional confidence factors includes: Collect valid discrimination samples that were successfully automatically attached to the bare business content and corrected discrimination samples that were manually reviewed and confirmed, and expand the historical discrimination annotation sample set; Extract the multi-dimensional factor scores and real-world business key tags corresponding to the newly added samples, and construct model iterative training sample data; Based on the expanded historical discriminant labeled sample set, the weighted coefficients corresponding to the confidence factors of each dimension are recalculated through least squares regression and then updated.

7. The method for multi-version form compatibility iterative traceability management based on a form engine according to claim 1, characterized in that: The method of controlling form version iteration and tracking through adaptive form templates includes: Collect historical unmatched raw business data from the dynamic business key parameter analysis interface to construct a full-domain historical unknown business dataset. Based on the updated multi-dimensional weighted coefficients and the least squares regression training model, the entire historical unknown business dataset is refitted in batches to update the comprehensive confidence performance data of each normalized business key. Based on the full domain recalculation results, the business adaptation growth trend of each normalized business key is statistically analyzed, and the target normalized business key for optimal business adaptation is predicted. Based on the historical field constraint characteristics, sample distribution characteristics, and version iteration characteristics of the target normalized business key, the new sub-form block structure configuration parameters are generated by reverse deduction and assembled into a new version of the form sub-template; The new form sub-template is added to the form engine version management queue, a unique version serial number is automatically generated, version traceability archive data is retained, and the new form sub-template is put into the business matching process.

8. A multi-version form compatible iterative traceability management system based on a form engine, which is applied to the multi-version form compatible iterative traceability management method based on a form engine as described in any one of claims 1-7, characterized in that: The multi-version form compatibility iterative traceability management system includes a form block labeling and modeling module, a form version adaptation and matching module, an intelligent business discrimination and verification module, and an adaptive iterative traceability module. The form block calibration and modeling module is used to process the baseline historical versions of the form template, generate standardized business keys, and construct a key-value mapping table; the form version adaptation and matching module is used to parse the structured configuration file of the form to be processed, complete the bidirectional comparison of standardized business keys, and execute business processing for various matching conditions; the intelligent business discrimination and verification module is used to perform cross-historical version retrieval on standardized business keys that fail to match, and complete the standardized business key attachment discrimination of the raw business content set; the adaptive iterative tracing module is used to expand the historical discrimination annotation sample set, update the multi-dimensional confidence factor weighting coefficient, deduce the form template, and generate a version tracing archive file.

9. A multi-version form compatible iterative traceability management system based on a form engine according to claim 8, characterized in that: The form block identification and modeling module includes a version structure parsing unit and a business key mapping construction unit. The version structure parsing unit is used to read the baseline historical version of the form template, parse the page structure tree, and identify sub-form blocks. The business key mapping construction unit is used to generate standardized business keys according to branch rules, input all attributes of the sub-form blocks into the key-value mapping relationship table, and perform global uniqueness verification of the standardized business keys. The form version adaptation and matching module includes a form decomposition and parsing unit and a bidirectional matching and adaptation unit. The form decomposition and parsing unit is used to decompose the structured configuration file of the form to be processed and output the set of business keys output by the parsing of the form to be processed. The bidirectional matching and adaptation unit is used to perform a bidirectional comparison between the set of business keys output by the parsing of the form to be processed and the reference set of benchmark business keys, and execute the business processes corresponding to successful matching, failed matching, and missing matching.

10. A multi-version form compatible iterative traceability management system based on a form engine according to claim 8, characterized in that: The intelligent business discrimination and verification module includes a cross-version secondary verification unit and a multi-factor intelligent discrimination unit; the cross-version secondary verification unit is used to construct a set of historical summary business keys for all versions and a business key discrimination knowledge base, and to perform secondary matching retrieval of normalized business keys that fail to match. The multi-factor intelligent discrimination unit is used to extract the format features of raw business content, calculate the scores of three types of confidence factors, solve the corresponding weighting coefficients, and determine the target affiliated business key. The adaptive iterative tracing module includes a model weight iteration unit and a template inference tracing unit. The model weight iteration unit is used to collect valid discrimination samples, correct discrimination samples to expand the historical discrimination label sample set, and recalculate to obtain the updated weighted coefficients of the three confidence factors. The template inference tracing unit is used to perform batch secondary fitting operations on the entire domain historical unknown business dataset, assemble new form sub-templates, and persistently store the version tracing archive file.