Method for generating es wide table of medical big data based on efficient dynamic data configuration

By constructing a homonymous configuration set and dynamically adjusting the configuration in the generation of wide tables for medical big data ES, the semantic inaccuracy caused by dynamic data configuration retrieval feature compression is solved, achieving more accurate field mapping and data transformation, and improving data reliability and retrieval capabilities.

CN123180101APending Publication Date: 2026-11-27SHANGHAI SHUNDAN NETWORK TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611418308.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-14
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies, when generating wide tables for medical big data (ES), suffer from semantic inaccuracies in matching results for the same configuration due to dynamic data configuration compression of retrieval features, which affects the accuracy of data retrieval, statistics, and analysis.

Method used

By extracting and compressing the retrieval features of composite matching conditions, a compressed legacy is generated, a homogeneous configuration set is constructed, the first divergence position is located, divergence discrimination data is matched level by level and the matching potential value is calculated, and the configuration of ES wide table generation is dynamically adjusted to ensure the accuracy of field mapping and data transformation.

Benefits of technology

It improves the accuracy of configuration discrimination and the consistency of data semantics in the generation of medical big data ES wide tables, reduces configuration misselection caused by retrieval feature compression, and enhances data reliability and retrieval capabilities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123180101A_ABST
    Figure CN123180101A_ABST
Patent Text Reader

Abstract

The application discloses a medical big data ES wide table generation method based on efficient dynamic data configuration and relates to the technical field of medical big data processing, and comprises the following steps: obtaining dynamic data configuration for medical big data ES wide table generation, extracting a composite matching condition and performing retrieval feature compression, generating a compression residual difference according to the condition difference before and after compression, judging whether different dynamic data configurations form the same retrieval feature, and constructing a same-feature configuration set when the same retrieval feature is formed; extracting difference conditions affecting field mapping, data conversion and data aggregation according to the compression residual difference of the same-feature configuration set, arranging the difference conditions according to the ES wide table generation sequence, constructing a configuration divergence chain and determining the first divergence position. The application solves the problem that dynamic data configuration cannot be accurately determined under the same retrieval feature, realizes accurate discrimination and dynamic regulation of ES wide table generation configuration, and improves the accuracy and reliability of wide table data semantics.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of medical big data processing technology, specifically to a method for generating wide tables for medical big data based on efficient dynamic data configuration. Background Technology

[0002] The generation of wide tables for medical big data based on efficient dynamic data configuration in Elasticsearch (ES) refers to processing multi-source data scattered across different medical business systems by configuring data sources, data table relationships, field mappings, and data transformation rules, and generating wide table data suitable for Elasticsearch (ES) storage and retrieval. Existing technologies typically first connect to data sources such as hospital information systems, electronic medical record systems, and laboratory and examination systems, configuring the main table, related tables, related fields, target fields, and transformation rules according to the wide table application requirements. During the generation task, the corresponding configuration is parsed, target data is extracted from different data tables, data is joined according to the configured relationships, and the joined data is transformed, aggregated, and mapped to fields, organizing data from multiple business tables into wide table records based on business entities such as patients and medical visits. Finally, the wide table data is encapsulated according to a preset ES index structure and written to the corresponding ES index in batch or incremental manner to form wide table data for medical data querying, retrieval, and analysis.

[0003] The existing technology has the following shortcomings: In the process of generating wide tables for medical big data based on efficient dynamic data configuration, when dynamic data configurations with different composite matching conditions are compressed into the same configuration retrieval feature after retrieval feature compression, medical data hitting the corresponding retrieval feature will simultaneously obtain configuration matching results with different semantics. Since retrieval feature compression reduces the distinguishing information carried by the original configuration conditions, the conditional differences between different dynamic data configurations cannot be fully reflected in the compressed retrieval feature. This results in the configuration matching result failing to accurately represent the generation rules actually applicable to the medical data. Existing technologies cannot determine the ES wide table generation configuration for medical data based on the configuration matching result when different dynamic data configurations form the same retrieval feature. This will cause medical data to perform field mapping, data transformation, or aggregation using configurations that do not match the actual matching conditions, thereby causing data semantic errors in the generated ES wide table and affecting the subsequent retrieval, statistical, and analysis results of medical big data.

[0004] The information disclosed in the background section is only intended to enhance the understanding of the background of this disclosure, and therefore may include information that does not constitute prior art known to those skilled in the art. Summary of the Invention

[0005] The purpose of this invention is to provide a method for generating wide tables for medical big data ES based on efficient dynamic data configuration, so as to solve the problems in the background art mentioned above.

[0006] To achieve the above objectives, this invention provides the following technical solution: a method for generating wide tables for medical big data based on efficient dynamic data configuration, specifically including the following steps: S1. Obtain the dynamic data configuration generated by the medical big data ES wide table, extract the composite matching conditions and perform retrieval feature compression, generate compression difference based on the difference of conditions before and after compression, determine whether different dynamic data configurations form the same retrieval feature, and construct the homogeneous configuration set when the same retrieval feature is formed. S2. Based on the compressed residuals of the homogeneous configuration set, extract the difference conditions that affect field mapping, data transformation and data aggregation. Arrange the difference conditions according to the generation order of the ES wide table, construct the configuration divergence chain and determine the first divergence position. S3. Combine the discriminant data of medical data extracted from the first discriminant position, match the discriminant data with the difference conditions step by step, obtain the configuration matching information when the same retrieval features are formed, and calculate the matching potential value of dynamic data configuration based on the matching deviation. S4. Based on the configuration matching information and the matching potential value, determine the ES wide table generation configuration of medical data, perform field mapping, data transformation and data aggregation, and generate medical big data ES wide table data. S5. Obtain the change in the matching potential value of medical data during the ES wide table generation process, adjust the discrimination weight of the configuration branch chain according to the change in the matching potential value, update the matching potential value, and dynamically adjust the ES wide table generation configuration according to the updated matching potential value.

[0007] Preferably, S1 includes the following sub-steps: S101. Obtain the target field and generation conditions of the medical big data ES wide table, match the target field with the configuration field in the configuration data item by item, and use the generation conditions to filter out configurations with inconsistent condition items in the matching configuration to obtain dynamic data configuration; read the field identifier, field limit value and decision symbol participating in the condition judgment in the dynamic data configuration, and use them as condition fields, condition values ​​and condition constraints respectively, and combine them according to the condition execution order to obtain composite matching conditions. S102. Arrange the composite matching conditions according to the condition fields, convert the condition values ​​and condition constraints into condition codes, concatenate the condition codes according to the arrangement order and perform retrieval feature compression to obtain the retrieval features of dynamic data configuration, and record the condition codes before compression at each compression position. S103. Split the retrieval features according to the compression position, compare the data of each compression position with the condition code before compression, filter out the condition codes that have been merged or missing after compression of the retrieval features, calculate the bit value difference between the condition codes, arrange and encode the bit value difference with the condition field and compression position in sequence, and generate the compression difference of dynamic data configuration. S104. Compare the retrieval features of different dynamic data configurations one by one to determine whether different dynamic data configurations form the same retrieval features. When the same retrieval features are formed, filter out dynamic data configurations with different composite matching conditions, and collect the filtered dynamic data configurations and compressed differences into a homogeneous configuration set.

[0008] Preferably, S104 is specifically: Extract retrieval features from different dynamic data configurations, divide the retrieval features into feature segments based on the compression position, and compare feature segments with the same compression position item by item; when the feature segments of each compression position are consistent, it is determined that different dynamic data configurations form the same retrieval feature, and obtain the dynamic data configuration and composite matching conditions that form the same retrieval feature. The composite matching conditions obtained are compared item by item according to the order of the condition fields. The condition fields, condition values ​​and condition constraints are compared respectively to filter out dynamic data configurations with condition differences. Using the same search feature as the aggregation identifier, the filtered dynamic data configurations and compressed differences are paired according to the configuration identifier, and the paired data with the same aggregation identifier are aggregated into a homogeneous configuration set.

[0009] Preferably, S2 includes the following sub-steps: S201. Extract the compression difference of each dynamic data configuration in the homogeneous configuration set. Based on the compression location, locate the condition field and bit value difference. Match the condition field with the source field of field mapping, the input field of data transformation, and the participating field of data aggregation respectively. Determine the processing type and processing field to which the condition field belongs based on the matching fields. Bind the condition field, bit value difference, compression location, processing type, and processing field in sequence to form the difference conditions that affect field mapping, data transformation, and data aggregation. S202. Read the processing type and processing field in the difference conditions, determine the field mapping processing position, data transformation processing position and data aggregation processing position, arrange the difference conditions according to the generation order of the ES wide table of field mapping, data transformation and data aggregation, and assign a divergence position identifier to each difference condition according to the arrangement position. S203. Construct a configuration divergence chain by connecting the difference conditions of the same dynamic data configuration according to the divergence position identifier; perform a peer comparison on the configuration divergence chains of different dynamic data configurations in the same configuration set, compare the difference conditions sequentially from the starting position of the ES wide table generation order, and determine the position where the condition field, bit value difference or processing position inconsistency first appears as the first divergence position.

[0010] Preferably, S203 is as follows: Extract the divergence position identifiers carried by each difference condition in the same dynamic data configuration, arrange the difference conditions according to the order of divergence position identifiers in the generation order of the ES wide table, connect the processing positions of adjacent difference conditions in sequence, and write the dynamic data configuration identifier, divergence position identifier, condition field, bit value difference and processing position into the connection position to build a configuration divergence chain. Extract the configuration branch chains of different dynamic data configurations in the same configuration set, locate the difference conditions with the same processing position by the branch position identifier, perform the same position comparison from the starting position of the ES wide table generation order, and compare the condition field, bit value difference and processing position in turn; if the current comparison content is consistent, move to the next branch position to continue the comparison, and terminate the same position comparison when inconsistency occurs, and determine the first branch position where inconsistency occurs as the first branch position.

[0011] Preferably, S3 includes the following sub-steps: S301. Read the condition field and processing position of the first divergence position, extract the condition fields of the first divergence position and subsequent divergence positions along the configured divergence chain, read the actual values ​​of each condition field from the medical data, arrange the condition fields, actual values ​​and processing positions according to the divergence position identifier, and form divergence discrimination data of medical data. S302. Starting from the first divergence position, the actual values ​​in the divergence discrimination data are matched with the difference conditions of each dynamic data configuration in the same feature configuration set level by level. The actual values ​​and condition values ​​of each divergence position are compared respectively, and the value differences and divergence position identifiers are recorded. When the same retrieval features are formed, the value differences and divergence position identifiers of each dynamic data configuration are combined into configuration matching information. S303. Extract the value difference of each divergence position in the configuration matching information, determine the matching deviation of each divergence position according to the value difference, accumulate the matching deviation according to the arrangement order of the configuration divergence chain, and collect the accumulated matching deviation according to the dynamic data configuration. Calculate the matching potential value according to the matching deviation of each dynamic data configuration.

[0012] Preferably, S303 is as follows: Extract the value difference of each divergence position in the configuration matching information, obtain the upper and lower boundaries of the condition values ​​of the corresponding difference conditions, generate the difference ratio by the proportion of the value difference to the distance between the upper and lower boundaries of the condition values, associate the difference ratio with the divergence position identifier, and use the difference ratio as the matching deviation of each divergence position. Read the matching deviation at each branch position according to the arrangement order of the configured branch chain, add the matching deviation at the current branch position to the matching deviation accumulated at the previous branch positions level by level, bind the final accumulated matching deviation to the dynamic data configuration identifier, and collect them separately according to the dynamic data configuration. Extract the matching deviation of each dynamic data configuration set in the homogeneous configuration set. Subtract the matching deviation of the current dynamic data configuration from the maximum matching deviation to obtain the matching difference. Divide the matching difference by the sum of the matching differences of each dynamic data configuration to obtain the matching ratio of the current dynamic data configuration in the homogeneous configuration set. Determine the matching ratio as the matching potential value of the dynamic data configuration.

[0013] Preferably, S4 is as follows: Obtain the configuration matching information and matching potential value of each dynamic data configuration; extract the value difference in the configuration matching information according to the divergence position identifier; compare the value difference of each dynamic data configuration at the same divergence position; retain the dynamic data configuration with the smallest value difference; compare the matching potential value of the retained dynamic data configurations; and determine the dynamic data configuration with the largest matching potential value as the ES wide table generation configuration for medical data. Based on the field mapping in the ES wide table generation configuration, the source field values ​​of medical data are written into the target field. The target field values ​​are transformed using the processing fields and condition values ​​in the data transformation. The target field values ​​are then merged and transformed according to the participating fields in the data aggregation to form wide table field data. Organize the wide table field data according to the target field arrangement order in the ES wide table generation configuration, write the wide table field data into the corresponding target fields, and bind the business entity identifier of the medical data with the target field that has been written to form a wide table record, thus generating medical big data ES wide table data.

[0014] Preferably, S5 is as follows: The matching potential value formed at each branch position during the generation of the medical data wide table in ES is obtained. The matching potential values ​​of adjacent branch positions are compared according to the arrangement order of the configured branch chain. The difference between the matching potential value of the next branch position and the matching potential value of the previous branch position is processed to obtain the change in the matching potential value of each branch position. The direction and magnitude of change are determined based on the change in the matching potential value at each divergence position. The direction of increase or decrease of the discrimination weight at the corresponding divergence position is adjusted according to the direction of change. The adjustment amount of the discrimination weight is determined according to the magnitude of change. The adjusted discrimination weight is weighted and accumulated with the matching deviation at the corresponding divergence position. The matching potential value is updated according to the weighted and accumulated matching deviation. Compare the updated matching potential values ​​of each dynamic data configuration. Compare the configuration identifier of the dynamic data configuration with the largest updated matching potential value with the current ES wide table generation configuration. If the configuration identifiers are inconsistent, adjust the ES wide table generation configuration to the dynamic data configuration with the largest updated matching potential value. If the configuration identifiers are consistent, maintain the current ES wide table generation configuration, thus completing the dynamic adjustment of the ES wide table generation configuration.

[0015] The technical effects and advantages provided by the present invention in the above technical solution are as follows: This invention compresses the retrieval features of dynamic data configurations generated from medical big data ES wide tables, and utilizes the differences in conditions before and after compression to form a compression gap. This allows the compressed condition differentiation information to be preserved when different dynamic data configurations generate the same retrieval features. Furthermore, based on the compression gap, it extracts the difference conditions affecting field mapping, data transformation, and data aggregation, constructs a configuration divergence chain according to the ES wide table generation order, and locates the first divergence position, ensuring that the configuration differences are consistent with the actual wide table generation process. By extracting the divergence discrimination data from medical data and matching it step-by-step with the difference conditions, the matching deviation is used to calculate the matching potential value of each dynamic data configuration, thereby... When multiple dynamic data configurations correspond to the same search features, the ES wide table generation configuration that matches the actual values ​​of the medical data is determined. This reduces the possibility of semantic deviations in field mapping, data conversion, and data aggregation caused by misselection of configurations due to search feature compression. At the same time, the discrimination weight of the configuration divergence chain is dynamically adjusted and the matching potential value is updated based on the change in the matching potential value during the ES wide table generation process. This allows the ES wide table generation configuration to be dynamically adjusted according to the actual matching status of the medical data. While maintaining the efficient retrieval capability of dynamic data configuration, this improves the configuration discrimination accuracy, data semantic consistency, and wide table data reliability of the medical big data ES wide table generation. Attached Figure Description

[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in this invention. For those skilled in the art, other drawings can be obtained based on these drawings.

[0017] Figure 1 This is a schematic diagram of the process of the present invention. Detailed Implementation

[0018] Exemplary embodiments will now be described more fully with reference to the accompanying drawings. However, these exemplary embodiments can be implemented in many forms and should not be construed as limited to the examples set forth herein; rather, they are provided so that the description of this disclosure will be more complete and fully convey the concept of the exemplary embodiments to those skilled in the art.

[0019] This invention provides, for example Figure 1 The method for generating wide tables in Elasticsearch (ES) for medical big data based on efficient dynamic data configuration, as shown, specifically includes the following steps: S1. Obtain the dynamic data configuration generated by the medical big data ES wide table, extract the composite matching conditions and perform retrieval feature compression, generate compression difference based on the difference of conditions before and after compression, determine whether different dynamic data configurations form the same retrieval feature, and construct the homogeneous configuration set when the same retrieval feature is formed. In this embodiment, S1 includes the following sub-steps: S101. Obtain the target field and generation conditions of the medical big data ES wide table, match the target field with the configuration field in the configuration data item by item, and use the generation conditions to filter out configurations with inconsistent condition items in the matching configuration to obtain dynamic data configuration; read the field identifier, field limit value and decision symbol participating in the condition judgment in the dynamic data configuration, and use them as condition fields, condition values ​​and condition constraints respectively, and combine them according to the condition execution order to obtain composite matching conditions. During the generation of a wide table in the medical big data Elasticsearch (ES) database, the target field and generation conditions are read, and the target field is matched item by item with the configuration fields in the configuration data. Then, the generation conditions are compared to match the conditions in the configuration, filtering out configurations with inconsistent conditions. The remaining configurations are used as dynamic data configurations. For example, if the target field is "standard value of test results" and the generation condition is "sample type = serum", configuration A in the configuration data records "configuration field = standard value of test results, test item code = GLU, sample type = serum, raw unit = mg / dL", and configuration B records "configuration field = standard value of test results, test item code = GLU, sample type = urine, raw unit = mg / dL". Both configurations pass the target field matching. Configuration B is filtered out because the sample type does not match the generation conditions, resulting in configuration A as the dynamic data configuration. The system reads the field identifiers "Test Item Code, Specimen Type, Original Unit", field limit values ​​"GLU, Serum, mg / dL", and the decision operator "=" from configuration A. It then determines the condition fields, condition values, and condition constraints, and combines them according to the order of condition execution to form a composite matching condition: "Test Item Code = GLU → Specimen Type = Serum → Original Unit = mg / dL". For medical data with a test item code of GLU, a specimen type of serum, and an original unit of mg / dL, the three conditions sequentially satisfy the composite matching condition. This completes the dynamic data configuration filtering and composite matching condition extraction, providing a unified data input for subsequent retrieval feature compression.

[0020] The Elasticsearch wide-field table for medical big data is an Elasticsearch wide-field data structure formed by mapping, transforming, and aggregating multi-source medical data, primarily based on patients, medical visits, or medical business entities. The target field is the data field that the current medical big data ES wide table needs to generate. Generation conditions are the conditions that limit the scope of medical data to which the target field applies. Configuration data is a collection of data recording the configuration content for generating the ES wide table; configuration fields are used to identify the target field associated with the configuration content. Matching configurations are the configurations retained after the configuration fields match the target fields; configurations with inconsistent condition items in the matching configurations are those where internal condition items conflict with the generation conditions. Dynamic data configurations are the configurations that participate in the generation of the current ES wide table after completing target field matching and generation condition filtering. Field identifiers participating in condition judgment are used to locate the fields to be judged in the medical data; field limits are used to limit the values ​​that the fields to be judged must satisfy; and the decision operator is used to determine the comparison type between the two. Field identifiers, field limits, and decision operators respectively form condition fields, condition values, and condition constraints. The conditional execution order combination arranges the condition fields, condition values, and condition constraints according to the execution order of each condition item; the composite matching condition is a data set composed of multiple condition items after arrangement, while retaining the condition content and execution order, which serves as the basis for subsequent retrieval feature compression, condition difference identification, and compression difference generation.

[0021] S102. Arrange the composite matching conditions according to the condition fields, convert the condition values ​​and condition constraints into condition codes, concatenate the condition codes according to the arrangement order and perform retrieval feature compression to obtain the retrieval features of dynamic data configuration, and record the condition codes before compression at each compression position. After the composite matching conditions are formed, a fixed arrangement order can be established based on the field identifiers of the condition fields, so that the same condition fields in different dynamic data configurations are located in the same position. Then, the condition values ​​and condition constraints are discretely encoded separately, and the two are combined into a condition code. For example, if the composite matching conditions include "test item code = GLU, specimen type = serum, raw unit = mg / dL", the condition fields can be arranged in the order of "test item code, specimen type, raw unit". The condition values ​​GLU, serum, and mg / dL are encoded as 184, 57, and 213 respectively, and the condition constraint "equal to" is encoded as 01, resulting in three condition codes: 18401, 05701, and 21301. These are then concatenated according to the arrangement order to form 184010570121301. Retrieval feature compression can employ segmented bitwise processing. Each condition code is divided into fixed-length data segments. Data bits at preset positions are extracted from each segment and concatenated sequentially. For example, the first three bits of 18401, 05701, and 21301 are extracted to obtain 184, 057, and 213, which are then concatenated to form 184057213, serving as the retrieval feature for dynamic data configuration. Simultaneously, 18401, 05701, and 21301 are recorded as the pre-compression condition codes for each compression position. This processing converts composite matching conditions into retrieval features of uniform length that can be quickly compared, while preserving the data content at each compression position before compression, enabling subsequent identification of conditional differences caused by retrieval feature compression. The encoding values ​​in the example are used to illustrate the encoding and compression process; actual encoding values ​​can be determined based on a pre-established encoding table for the medical data configuration content.

[0022] Condition fields are fields used to locate the objects of medical data judgment in composite matching conditions, such as test item codes, specimen types, and original units; composite matching conditions are a set of conditions formed by multiple condition fields and their respective condition values ​​and condition constraints in a defined order; condition values ​​are the limiting data used when condition fields participate in matching, and condition constraints are information that limits the comparison type between medical data and condition values, including equal to, greater than, less than, and inclusive; condition codes are coded data formed by converting condition values ​​and condition constraints into a unified data format, and each condition code is used in conjunction with a condition field. Retrieval feature compression is a process of retaining a portion of data bits from sequentially concatenated condition codes according to a fixed bit range, and then reassembling the retained data bits. Dynamically configured retrieval features are data sequences formed after retrieval feature compression and used to distinguish and retrieve dynamically configured data. The compression position is the data position in the concatenated sequence when each condition code participates in retrieval feature compression, used to establish data positioning between the retrieval feature and the condition codes before compression. The pre-compression condition code for each compression position is the complete condition code located at the corresponding compression position before retrieval feature compression. By simultaneously saving the compression position and the pre-compression condition code, the compressed data in the retrieval feature can be traced back to the condition values ​​and constraints in the composite matching conditions, providing data basis for subsequent extraction of conditional differences before and after compression and generation of compression errors.

[0023] S103. Split the retrieval features according to the compression position, compare the data of each compression position with the condition code before compression, filter out the condition codes that have been merged or missing after compression of the retrieval features, calculate the bit value difference between the condition codes, arrange and encode the bit value difference with the condition field and compression position in sequence, and generate the compression difference of dynamic data configuration. The retrieval features are split according to the compression positions recorded during generation, so that each compression position obtains independent compressed data. Then, the compression position index is used to determine the pre-compression conditional code. The compressed data is then compared bit-by-bit with the pre-compression conditional code to identify data bits that were merged or missing during compression. For example, the pre-compression conditional code for dynamic data configuration A is 18401, 05701, 21301. After compression using the first three bits, the retrieval feature is 184057213. The pre-compression conditional code for dynamic data configuration B is 18409, 05701, 21307, which is also processed in the same way to form 184057213. During the reverse comparison, the first compression position 184 is traced back to 18401 and 18409, confirming that the last bits 01 and 09 did not enter the retrieval feature; the third compression position 213 is traced back to 21301 and 21307, confirming that the last bits 01 and 07 did not enter the retrieval feature. For missing condition codes, the data values ​​of the same code positions are compared bit by bit. The difference between the last digit of the first compression position (01 to 09) is recorded as 08, and the difference between the last digit of the third compression position (01 to 07) is recorded as 06. These bit differences are then sequentially arranged and encoded with the corresponding condition field and compression position, for example, forming the difference data for "First Compression Position—Test Item Code—08" and "Third Compression Position—Original Unit—06". These differences are then combined according to the order of compression positions to generate compressed differences for dynamic data configuration. This process preserves condition differences in search features that are no longer directly observable, providing traceable data for distinguishing dynamic data configurations after forming the same search features. The example codes are for illustrative purposes only and do not limit the actual coding content.

[0024] Decomposing search features involves dividing continuous search features into compressed data segments associated with each condition code, based on the compression positions recorded during feature generation. The data at each compression position is the data content retained by the pre-compression condition code after splitting and located at the corresponding compression position. Reverse alignment uses the compression positions to establish the location between the compressed data and the pre-compression condition code, checking bit by bit whether the data bits in the pre-compression condition code have entered the search feature. Condition codes that have merged or are missing after search feature compression are those where multiple pre-compression condition codes are mapped to the same compressed data, or where some code bits are not retained, resulting in missing information. Bit value differences between condition codes are the difference data obtained by comparing different data values ​​at the same compression position and in the same code bit, including the code bit where the difference is located and the difference in data value. Encoding converts the compression position, condition field, and bit value differences into a unified data sequence according to a fixed arrangement order. Dynamically configured compression errors are data sets formed by combining the coded data generated at each compression position according to the compression position order, used to record condition differences that were not retained in the search feature after compression of composite matching conditions.

[0025] S104. Compare the retrieval features of different dynamic data configurations one by one to determine whether different dynamic data configurations form the same retrieval features. When the same retrieval features are formed, filter out dynamic data configurations with different composite matching conditions, and collect the filtered dynamic data configurations and compressed differences into a homogeneous configuration set.

[0026] In this embodiment, S104 specifically refers to: Extract retrieval features from different dynamic data configurations, divide the retrieval features into feature segments based on the compression position, and compare feature segments with the same compression position item by item; when the feature segments of each compression position are consistent, it is determined that different dynamic data configurations form the same retrieval feature, and obtain the dynamic data configuration and composite matching conditions that form the same retrieval feature. The composite matching conditions obtained are compared item by item according to the order of the condition fields. The condition fields, condition values ​​and condition constraints are compared respectively to filter out dynamic data configurations with condition differences. Using the same search feature as the aggregation identifier, the filtered dynamic data configurations and compressed differences are paired according to the configuration identifier, and the paired data with the same aggregation identifier are aggregated into a homogeneous configuration set.

[0027] After obtaining the retrieval features for different dynamic data configurations, the compression positions and associated condition fields of each compression position are read and stored during the compression process. Using the start and end boundaries of the compression position within the retrieval feature as the splitting criteria, continuous retrieval features are sequentially divided into multiple feature segments, with each segment bound to its corresponding condition field. For different dynamic data configurations participating in the comparison, the comparison order of feature segments is determined by the order of the condition fields. Starting from the initial position, feature segments at the same compression position are compared sequentially by character position and value content. If the data content at the current compression position is consistent, the comparison continues to the next compression position. If data content is inconsistent, it is determined that the relevant dynamic data configurations have not formed the same retrieval feature, until all compression positions are compared. When all feature segments at the same compression position have consistent data content, it is determined that the relevant dynamic data configurations form the same retrieval feature. The composite matching conditions stored before retrieval feature compression are then read based on the configuration identifier of the dynamic data configuration, creating a continuous data association between the retrieval feature, dynamic data configuration, and composite matching conditions. This process allows the consistency determination of the complete retrieval feature to be implemented through data comparison at each compression position, while retaining the location information needed for subsequent location of differences in conditions before compression.

[0028] For dynamic data configurations that form the same search features, their respective composite matching conditions are read, and comparison positions are established according to the order of the condition fields in the composite matching conditions. Condition fields in the same position are compared. If the condition fields are consistent, the corresponding condition values ​​and condition constraints are compared. If the condition fields are inconsistent, the current position is directly recorded as the condition difference position. If the condition fields are consistent but the condition values ​​or condition constraints are inconsistent, it is also recorded as the condition difference position. After comparing all positions, dynamic data configurations with at least one condition difference position are retained, and the compression error generated during the search feature compression process for each dynamic data configuration is read. Subsequently, common retrieval features shared by relevant dynamic data configurations are extracted. Data content with the same retrieval features is converted into aggregation identifiers. Then, each dynamic data configuration is bound to its own compressed difference using the configuration identifiers to form paired data. The paired data is classified according to the aggregation identifiers. Paired data with consistent aggregation identifiers are written into the same homogeneous configuration set. The aggregation identifier, configuration identifier, dynamic data configuration, composite matching conditions, and compressed difference are stored in the homogeneous configuration set. This allows subsequent processing to directly locate dynamic data configurations with different composite matching conditions and their compressed differences from the same retrieval features.

[0029] The retrieval features of different dynamic data configurations are data sequences formed after the composite matching conditions in different dynamic data configurations have undergone the same condition encoding and retrieval feature compression process. Feature segments are data fragments obtained by splitting the retrieval features using compression positions. Feature segments carry compression positions and associated condition fields, used to determine the data range that needs to be compared between different dynamic data configurations. The compression position is the position marker occupied by the condition code in the retrieval feature after compression, including the arrangement position of the feature segments and data boundaries. Consistency of feature segments at each compression position means that there are no differences in character positions and value content after comparing feature segments obtained at the same compression position from different dynamic data configurations. Different dynamic data configurations forming the same retrieval feature means that all compression positions meet the feature segment consistency condition, so that different dynamic data configurations ultimately have complete retrieval features with consistent content. The dynamic data configurations and composite matching conditions that form the same retrieval feature refer to the dynamic data configurations and composite matching conditions saved before retrieval feature compression are synchronously obtained according to the configuration identifier after the retrieval feature consistency determination, thereby preserving the data association between the compressed data and the condition information before compression.

[0030] Dynamic data configuration with conditional differences is a dynamic data configuration that, after forming the same search features, compares the condition fields, condition values, and condition constraints item by item to discover different contents in the composite matching conditions. The conditional difference position is used to mark the arrangement position of the difference content in the composite matching conditions, and can be used together with the compression position to locate the conditional differences hidden in the process of retrieval feature compression. Shared retrieval features are compressed data contents common to related dynamic data configurations and serve as the data source for establishing aggregation identifiers. Aggregation identifiers are classification marks formed by transforming data contents with shared retrieval features, used to group dynamic data configurations with shared retrieval features into the same data range. Configuration identifiers are unique identification information carried by the dynamic data configuration itself, used to determine the binding objects between dynamic data configurations, composite matching conditions, and compressed differences. Paired data are data records formed after binding dynamic data configurations and compressed differences using configuration identifiers. Paired data with the same aggregation identifier are data records originating from the same retrieval feature and separately storing each dynamic data configuration and compressed difference. Aggregation is the process of classifying paired data according to aggregation identifiers and writing them into the same data set. The homogeneous configuration set is the data set formed after aggregation. The homogeneous configuration set internally stores common shared retrieval features as well as configuration identifiers, composite matching conditions, and compressed differences of each dynamic data configuration, ensuring that different composite matching conditions and their compression differences under the same retrieval feature maintain a distinguishable data organization state.

[0031] S2. Based on the compressed residuals of the homogeneous configuration set, extract the difference conditions that affect field mapping, data transformation and data aggregation. Arrange the difference conditions according to the generation order of the ES wide table, construct the configuration divergence chain and determine the first divergence position. In this embodiment, S2 includes the following sub-steps: S201. Extract the compression difference of each dynamic data configuration in the homogeneous configuration set. Based on the compression location, locate the condition field and bit value difference. Match the condition field with the source field of field mapping, the input field of data transformation, and the participating field of data aggregation respectively. Determine the processing type and processing field to which the condition field belongs based on the matching fields. Bind the condition field, bit value difference, compression location, processing type, and processing field in sequence to form the difference conditions that affect field mapping, data transformation, and data aggregation. The compressed discrepancies bound to each dynamic data configuration are read from the homogeneous configuration set. The compression location is used to pinpoint the condition fields and bitwise differences. Then, the source fields of field mapping, input fields of data transformation, and participating fields of data aggregation during the ES wide table generation process are read. Each field is matched item by item based on field identifier consistency. When a match is found, the corresponding processing category is determined as the processing type, and the matched field is determined as the processing field. For example, the compressed discrepancy records the condition field "original unit" and the bitwise difference "mg / dL vs. mmol / L". The data transformation includes the input fields "original unit" and "test result value". After matching, it is determined that "original unit" belongs to the data transformation, and the processing field is "original unit". Subsequently, the condition field, bitwise difference, compression location, processing type, and processing field are bound sequentially to form the difference condition "original unit—mg / dL vs. mmol / L—original unit encoding location—data transformation—original unit". When a condition field matches multiple processing fields simultaneously, corresponding difference conditions are formed for each. This locates the compressed discrepancy to the actual ES wide table processing stage, providing data basis for arranging the difference conditions according to the subsequent ES wide table generation order.

[0032] The compressed discrepancy of each dynamic data configuration in the same feature configuration set represents the conditional differences generated during the retrieval feature compression process for each dynamic data configuration under the same retrieval feature. The condition field represents the medical data field that produces the difference, the bit value difference represents the encoding difference of the same condition field in different dynamic data configurations, and the compression position represents the position of the difference during the retrieval feature compression process. Field mapping is the process of mapping medical source data fields to target fields in the ES wide table; the source field is the field that provides the mapping data. Data transformation is the process of converting the unit, type, or value form of medical data; the input field is the data field participating in the transformation. Data aggregation is the process of merging and calculating medical data based on the medical business entity; the participating fields are the data fields participating in grouping or aggregation. The processing type represents the field mapping, data transformation, or data aggregation category obtained by matching the condition field; the processing field represents the field in the corresponding category that matches the condition field. The difference condition is formed by binding the condition field, bit value difference, compression position, processing type, and processing field, and is used to record the configuration difference and its processing position during the ES wide table generation process.

[0033] S202. Read the processing type and processing field in the difference conditions, determine the field mapping processing position, data transformation processing position and data aggregation processing position, arrange the difference conditions according to the generation order of the ES wide table of field mapping, data transformation and data aggregation, and assign a divergence position identifier to each difference condition according to the arrangement position. The system reads the processing type and processing fields recorded in each difference condition, locating the processing type to field mapping, data transformation, or data aggregation respectively. Then, based on the execution node of the processing field in the corresponding processing process, it determines the processing position for field mapping, data transformation, and data aggregation. During sorting, it first determines that field mapping precedes data transformation, and data transformation precedes data aggregation, based on the data processing flow of the ES wide table. Then, it sorts the difference conditions within the same processing type according to the execution order of the processing fields. For example, in a patient test ES wide table, there are three difference conditions: "Test Item Code - Field Mapping," "Original Unit - Data Transformation," and "Patient Identifier - Data Aggregation." The test item code is first mapped from the source data to the wide table field, the original unit then participates in the test result unit conversion, and the patient identifier then participates in the patient data aggregation. Therefore, these are sequentially determined as the field mapping processing position, data transformation processing position, and data aggregation processing position. After sorting, it writes divergence position identifiers to the difference conditions from the starting point of the ES wide table generation order, giving each difference condition a definite arrangement position and providing a positional basis for subsequent connection configuration of divergence chains and locating the first divergence position.

[0034] The processing type in the difference conditions refers to the field mapping, data transformation, or data aggregation category to which the condition field belongs when participating in the generation of the ES wide table. The processing field is the field in the corresponding processing type that matches the condition field and actually participates in data processing. The field mapping processing position indicates the execution position of the difference condition when passing data from the source field to the target field of the ES wide table; the data transformation processing position indicates the execution position of the difference condition during the conversion of field values, data types, or units of measurement; the data aggregation processing position indicates the execution position of the difference condition during the grouping, merging, or aggregation calculation of medical data. The ES wide table generation order of field mapping, data transformation, and data aggregation is the processing order in which medical data is sequentially processed through field mapping to form target field data, through data transformation to form unified data content, and through data aggregation to form wide table records. The divergence position identifier is positional data assigned according to the arrangement of the difference conditions in the ES wide table generation order. It is used to mark the sequential position of each difference condition in the configuration divergence chain and serves as a position index when different dynamic data configurations are compared side-by-side.

[0035] S203. Construct a configuration divergence chain by connecting the difference conditions of the same dynamic data configuration according to the divergence position identifier; perform a peer comparison on the configuration divergence chains of different dynamic data configurations in the same configuration set, compare the difference conditions sequentially from the starting position of the ES wide table generation order, and determine the position where the condition field, bit value difference or processing position inconsistency first appears as the first divergence position.

[0036] In this embodiment, S203 specifically refers to: Extract the divergence position identifiers carried by each difference condition in the same dynamic data configuration, arrange the difference conditions according to the order of divergence position identifiers in the generation order of the ES wide table, connect the processing positions of adjacent difference conditions in sequence, and write the dynamic data configuration identifier, divergence position identifier, condition field, bit value difference and processing position into the connection position to build a configuration divergence chain. Extract the configuration branch chains of different dynamic data configurations in the same configuration set, locate the difference conditions with the same processing position by the branch position identifier, perform the same position comparison from the starting position of the ES wide table generation order, and compare the condition field, bit value difference and processing position in turn; if the current comparison content is consistent, move to the next branch position to continue the comparison, and terminate the same position comparison when inconsistency occurs, and determine the first branch position where inconsistency occurs as the first branch position.

[0037] The process reads the divergence location identifiers carried by each difference condition in the same dynamic data configuration and obtains the processing type, processing field, and processing position associated with the divergence location identifier. First, it determines the order of processing types according to the generation order of the ES wide table for field mapping, data transformation, and data aggregation. Then, it arranges the difference conditions according to the execution order of the processing fields within the same processing type. After arrangement, each difference condition's processing position is used as a link node. The current link node is pointed to the next adjacent link node in the arrangement, and the dynamic data configuration identifier, current divergence location identifier, next divergence location identifier, condition field, bit value difference, and processing position are written at the connection position. The connection is executed continuously until the end of the arrangement, forming a configuration divergence chain. For example, when medical test data sequentially undergoes test item field mapping, original unit conversion, and patient visit data aggregation, the relevant difference conditions are configured at the corresponding processing positions, and then connected according to the actual execution order. This process ensures that each link node in the configuration divergence chain can locate the specific difference condition, and the connection position indicates the execution order between difference conditions, providing a continuous data path for subsequent comparisons between different dynamic data configurations.

[0038] The system reads configuration branch chains from different dynamic data configurations in the same configuration set. The processing type and processing field are used to determine the processing position to be compared. Then, the branch position identifier is used to align the difference conditions with the same processing position in different configuration branch chains. Starting from the beginning of the ES wide table generation order, the aligned condition field, bit value difference, and processing position are read sequentially. If the condition field, bit value difference, and processing position are all consistent, the system continues to the next branch position along the configuration branch chain to perform the same-position comparison. If any comparison content is inconsistent, the system stops reading and the current branch position is determined as the first branch position. If one configuration branch chain has a difference condition at the current processing position, while another configuration branch chain does not have a difference condition at the same processing position, the current position is directly taken as the inconsistency position. For example, if one dynamic data configuration records the bit value difference between "mg / dL and mmol / L" at the original unit conversion position, and another dynamic data configuration records a difference between different units at the same original unit conversion position, or has no original unit conversion difference condition, the first inconsistency is formed at the original unit conversion position, thus determining the first branch position.

[0039] In the same dynamic data configuration, the divergence position identifiers carried by each difference condition are location data formed based on the position of the difference condition in the ES wide table generation order, used to determine the order of arrangement between difference conditions. The processing positions of adjacent difference conditions are the data processing positions where consecutively appearing difference conditions participate in field mapping, data transformation, or data aggregation after the arrangement is completed. The dynamic data configuration identifier is used to determine the configuration divergence chain and the dynamic data configuration to which the difference condition belongs; the condition field records the medical data field that generates the configuration difference; the positional difference records the data differences between the condition codes before the retrieval feature compression that were not retained by the retrieval feature; the processing position is jointly determined by the processing type and the processing field, used to locate the position where the difference condition enters the ES wide table generation process; the connection position is the position where the connection data is stored between adjacent link nodes, recording the divergence position identifiers and related difference content at both ends of the connection. The configuration divergence chain is a data chain formed by continuously connecting each processing position according to the ES wide table generation order. The link nodes store the difference conditions, and the connection positions store the execution pointers between the nodes, thus forming a configuration difference data sequence that can be read position by position.

[0040] Configuration divergence chains in the same feature configuration set are configuration difference data chains formed by dynamic data configurations with the same retrieval features but different composite matching conditions. Difference conditions with the same processing position are difference conditions with the same processing type and processing fields and located in the same ES wide table processing position. The starting position of the ES wide table generation order is the processing position where the difference condition first appears in the configuration divergence chains participating in the comparison. The same-position comparison is a data processing process that first uses processing type and processing fields to complete the processing position alignment, and then compares the condition fields, bit value differences, and processing positions within the same processing position. The first divergence position where inconsistency occurs includes the position where the comparison content first differs, and the position where one configuration divergence chain has a difference condition while another configuration divergence chain does not have a difference condition in the same processing position. The first divergence position is the position that first meets the inconsistency judgment when continuously performing same-position comparison from the starting position of the ES wide table generation order, and retains the corresponding divergence position identifier, processing position, and difference conditions participating in the comparison for subsequent extraction of divergence judgment data of medical data from the first divergence position.

[0041] S3. Combine the discriminant data of medical data extracted from the first discriminant position, match the discriminant data with the difference conditions step by step, obtain the configuration matching information when the same retrieval features are formed, and calculate the matching potential value of dynamic data configuration based on the matching deviation. In this embodiment, S3 includes the following sub-steps: S301. Read the condition field and processing position of the first divergence position, extract the condition fields of the first divergence position and subsequent divergence positions along the configured divergence chain, read the actual values ​​of each condition field from the medical data, arrange the condition fields, actual values ​​and processing positions according to the divergence position identifier, and form divergence discrimination data of medical data. The process reads the condition fields and processing positions stored at the first branch location. The processing positions determine the source of values ​​for medical data in the ES wide table generation process. Then, following the connection direction of the configured branch chain, it reads the first and subsequent branch locations, using the condition fields carried at each branch location as data extraction indexes. It retrieves data values ​​with consistent field identifiers from the current medical data and uses these retrieved values ​​as the actual values ​​for each condition field. For example, if patient test data includes "Specimen Type = Serum, Original Unit = mg / dL, Test Status = Reviewed," the first branch location records the condition field "Specimen Type" and the field mapping processing position. Subsequent branch locations sequentially record "Original Unit" and the data conversion processing position, and "Test Status" and the data aggregation processing position, respectively retrieving "Serum," "mg / dL," and "Reviewed" from the medical data. Based on the order of the branch location identifiers, the data is arranged sequentially as follows: "Specimen Type—Serum—Field Mapping Processing Position," "Original Unit—mg / dL—Data Conversion Processing Position," and "Test Status—Reviewed—Data Aggregation Processing Position," forming the branch discrimination data for the medical data. This processing method ensures that the divergence discrimination data only includes the data content that participates in the configuration differentiation starting from the first divergence position in the configuration divergence chain, and maintains the data association between each actual value and the condition field, divergence position, and processing position, providing consistent data input for subsequent step-by-step matching with difference conditions.

[0042] The condition fields and processing positions at the first divergence location are the field information and ES wide table processing position information stored at the first inconsistency position when different dynamic data configurations are compared along the configuration divergence chain. The condition fields determine the data items to be read from the medical data, and the processing positions determine the positions where the condition fields participate in field mapping, data transformation, or data aggregation. The condition fields at the first and subsequent divergence locations are the set of condition fields obtained sequentially along the configuration divergence chain starting from the first divergence location. Medical data refers to the data records currently participating in the generation of the medical big data ES wide table and requiring dynamic data configuration matching. It may include patient identifier, visit identifier, test item code, specimen type, original unit, test status, and business data value. The actual values ​​of each condition field are the data content read from the corresponding field in the current medical data according to the field identifier of the condition field. The divergence location identifier indicates the position of the condition field in the configuration divergence chain. The divergence discrimination data of the medical data is a data set formed by arranging each condition field, actual value, and processing position according to the divergence location identifier. Each data item retains its divergence location identifier, allowing the actual value to be matched step-by-step with the difference conditions at the same divergence location in the configuration divergence chain.

[0043] S302. Starting from the first divergence position, the actual values ​​in the divergence discrimination data are matched with the difference conditions of each dynamic data configuration in the same feature configuration set level by level. The actual values ​​and condition values ​​of each divergence position are compared respectively, and the value differences and divergence position identifiers are recorded. When the same retrieval features are formed, the value differences and divergence position identifiers of each dynamic data configuration are combined into configuration matching information. Starting from the first divergence position, the actual value in the divergence discrimination data is read according to the divergence position identifier. The difference conditions stored at the same divergence position for each dynamic data configuration in the same feature configuration set are also read. Data with consistent condition fields are matched level by level. After completing the matching at each divergence position, the process moves along the configuration divergence chain to the next divergence position. During comparison, the difference in value is determined based on the data type of the condition value: for numerical data, the absolute difference between the actual value and the condition value is used; for enumerated or character data, discrete markers indicating consistency and inconsistency are used. For example, in medical data, "fasting blood glucose = 108 mg / dL, specimen type = serum". Dynamic data configuration A in the homologous configuration set contains "fasting blood glucose = 110 mg / dL, specimen type = serum" at the corresponding divergence position, while dynamic data configuration B contains "fasting blood glucose = 126 mg / dL, specimen type = plasma". After matching, the difference in fasting blood glucose between the medical data and dynamic data configuration A is 2 mg / dL, and the specimen type is the same. The difference in fasting blood glucose between the medical data and dynamic data configuration B is 18 mg / dL, and the specimen type is different. Each value difference is bound to the corresponding divergence position identifier and arranged according to the dynamic data configuration. For dynamic data configurations forming the same search features, the value differences at each divergence position and the divergence position identifier are combined into configuration matching information, enabling subsequent calculation of the matching potential value of the dynamic data configuration based on the degree of matching deviation under the same data scale.

[0044] The difference conditions for each dynamic data configuration are data contents belonging to different dynamic data configurations in the same feature configuration set, recording condition fields, condition values, positional differences, processing types, and processing positions. These represent the configuration differences retained by different dynamic data configurations under the same retrieval features. Hierarchical matching starts from the first divergence position and, according to the arrangement order of the configuration divergence chain, compares the divergence discrimination data with the difference conditions of each dynamic data configuration at the same divergence position sequentially, moving to the next divergence position after completing the current one. The actual value at each divergence position is the condition field data read from the current medical data. The condition value is the data content that the dynamic data configuration limits for the same condition field. The value difference indicates the degree to which the actual value deviates from the condition value; numeric data records the numerical interval, while character or enumerated data records whether the values ​​are consistent. The divergence position identifier records the specific location in the configuration divergence chain where the value difference occurs. The configuration matching information is a data set formed by combining the value differences and divergence position identifiers of each divergence position according to the dynamic data configuration, and retaining the dynamic data configuration identifier, so that each value difference can be located to the corresponding dynamic data configuration and divergence position, providing data input for determining the matching deviation.

[0045] S303. Extract the value difference of each divergence position in the configuration matching information, determine the matching deviation of each divergence position according to the value difference, accumulate the matching deviation according to the arrangement order of the configuration divergence chain, and collect the accumulated matching deviation according to the dynamic data configuration. Calculate the matching potential value according to the matching deviation of each dynamic data configuration.

[0046] In this embodiment, S303 specifically refers to: Extract the value difference of each divergence position in the configuration matching information, obtain the upper and lower boundaries of the condition values ​​of the corresponding difference conditions, generate the difference ratio by the proportion of the value difference to the distance between the upper and lower boundaries of the condition values, associate the difference ratio with the divergence position identifier, and use the difference ratio as the matching deviation of each divergence position. Read the matching deviation at each branch position according to the arrangement order of the configured branch chain, add the matching deviation at the current branch position to the matching deviation accumulated at the previous branch positions level by level, bind the final accumulated matching deviation to the dynamic data configuration identifier, and collect them separately according to the dynamic data configuration. Extract the matching deviation of each dynamic data configuration set in the homogeneous configuration set. Subtract the matching deviation of the current dynamic data configuration from the maximum matching deviation to obtain the matching difference. Divide the matching difference by the sum of the matching differences of each dynamic data configuration to obtain the matching ratio of the current dynamic data configuration in the homogeneous configuration set. Determine the matching ratio as the matching potential value of the dynamic data configuration.

[0047] The system extracts the value difference from the configuration matching information based on the divergence position identifier, and uses the same divergence position identifier to locate the condition value in the difference condition. For condition values ​​with range limitations, it directly reads the lower and upper boundaries of the allowed value range. For condition values ​​with single-value limitations, it reads the allowed offset range associated with the condition field in the dynamic data configuration, and uses the condition value combined with the allowed offset range to determine the upper and lower boundaries of the condition value. For enumerated or character-type condition values, it converts them into discrete ordinal positions according to the value arrangement saved in the dynamic data configuration, and then uses the allowed ordinal range to determine the upper and lower boundaries of the condition value. After obtaining the upper and lower boundaries, it calculates the data spacing between the upper and lower boundaries, compares the value difference with the data spacing, and uses the ratio of the two to form the difference ratio. This difference ratio is then bound to the divergence position identifier as the matching deviation. If the upper and lower boundaries are the same, it directly compares the actual value with the condition value. If they match, it records a no-deviation state; if they do not match, it records a complete deviation state, thus avoiding the inability to generate a matching deviation due to the absence of boundary spacing.

[0048] After the matching deviation at each branch position is generated, a cumulative record is established using the dynamic data configuration identifier. The matching deviation is read starting from the first branch position according to the order of the configuration branch chain. The matching deviation at the first branch position is written to the corresponding dynamic data configuration's cumulative record. When reading the next branch position, the matching deviation at that branch position is added to the current cumulative record, and the updated cumulative value continues to propagate to the next branch position until the end of the configuration branch chain. If a dynamic data configuration does not have a matching deviation at the current branch position, a judgment is made based on whether there is a difference condition at the same processing position: if there is no difference condition, a no-deviation state is recorded; if there is a difference condition but matching data cannot be obtained, a completely deviation state is recorded, and then it participates in the accumulation. After the configuration branch chain is read, the final data in the cumulative record is determined as the final accumulated matching deviation, and it is bound to the dynamic data configuration identifier and written to the homogeneous configuration set, so that each dynamic data configuration has an independent and traceable matching deviation.

[0049] After obtaining the final accumulated matching deviation of each dynamic data configuration in the homogeneous configuration set, a numerical comparison is performed within the homogeneous configuration set, and the matching deviation with the largest value is determined as the maximum matching deviation. For each dynamic data configuration, the data interval between the maximum matching deviation and the matching deviation of the current dynamic data configuration is used to form the selection difference, and the selection difference is further bound to the corresponding dynamic data configuration identifier. Subsequently, all selection differences in the homogeneous configuration set are aggregated to form the total selection difference. The proportion of the selection difference of the current dynamic data configuration in the total selection difference is then used as the selection proportion, and the selection proportion is determined as the selection potential value of the dynamic data configuration. If the matching deviations of all dynamic data configurations are the same, making it impossible for the selection difference to form an effective distinction, then each dynamic data configuration remains in a homogeneous state, and the subsequent discrimination information in the configuration branch chain continues to distinguish them, without directly forming a unique selection direction. In this way, the selection potential value always maintains a continuous data association with the configuration matching information, the matching deviation, and the dynamic data configuration identifier.

[0050] The upper and lower boundaries of the corresponding difference conditions are data boundaries used to limit the allowable range of variation of the condition values. They can be derived from the range information directly recorded by the difference conditions, or they can be formed based on the condition values ​​and the allowable offset range. The ratio of the value difference to the distance between the upper and lower boundaries of the condition values ​​is the relative deviation data obtained by converting the difference between the actual value and the condition value to the allowable value range of the corresponding condition field. The difference ratio is the deviation degree data after scaling. The matching deviation amount at each divergence position is a data record formed by binding the difference ratio with the divergence position identifier, where the difference ratio records the degree of deviation, and the divergence position identifier records the location where the deviation occurs. For numeric condition fields, the value difference is determined by the data distance between the actual value and the condition value. For enumerated and character condition fields, the actual value and the condition value are first converted into pre-saved discrete positions, and then the value difference is determined according to the distance between the discrete positions, so that different data types can enter the same matching deviation amount processing process.

[0051] The step-by-step addition uses the arrangement order of the configuration branch chains as the data transmission order. The matching deviation at the current branch position is added to the previously accumulated value, and the updated accumulated value is passed to the next branch position. The final accumulated matching deviation is the accumulated data obtained after all branch positions have been processed and is bound to the dynamic data configuration identifier. The maximum matching deviation is the largest data value obtained after comparing the final accumulated matching deviations of all dynamic data configurations in the same configuration set. The matching difference is the data interval between the maximum matching deviation and the current dynamic data configuration's matching deviation, used to convert the degree of deviation into data with consistent matching direction. The matching ratio is the normalized data formed by the matching difference of the current dynamic data configuration relative to all matching differences in the same configuration set. The matching potential value of the dynamic data configuration is the configuration evaluation data formed by binding the matching ratio to the dynamic data configuration identifier, and continues to serve as the data input for determining the configuration generated by the medical data ES wide table.

[0052] S4. Based on the configuration matching information and the selection potential value, determine the ES wide table generation configuration of medical data, perform field mapping, data transformation and data aggregation, and generate medical big data ES wide table data. In this embodiment, S4 specifically refers to: Obtain the configuration matching information and matching potential value of each dynamic data configuration; extract the value difference in the configuration matching information according to the divergence position identifier; compare the value difference of each dynamic data configuration at the same divergence position; retain the dynamic data configuration with the smallest value difference; compare the matching potential value of the retained dynamic data configurations; and determine the dynamic data configuration with the largest matching potential value as the ES wide table generation configuration for medical data. Based on the field mapping in the ES wide table generation configuration, the source field values ​​of medical data are written into the target field. The target field values ​​are transformed using the processing fields and condition values ​​in the data transformation. The target field values ​​are then merged and transformed according to the participating fields in the data aggregation to form wide table field data. Organize the wide table field data according to the target field arrangement order in the ES wide table generation configuration, write the wide table field data into the corresponding target fields, and bind the business entity identifier of the medical data with the target field that has been written to form a wide table record, thus generating medical big data ES wide table data.

[0053] After obtaining the configuration matching information and matching potential value of each dynamic data configuration in the homogeneous configuration set, the positional differences of different dynamic data configurations are aligned using the divergence position identifier, and comparisons are performed sequentially along the configuration divergence chain starting from the first divergence position. Numerical value differences are compared using the aforementioned matching deviation, while character and enumerated value differences are compared using the matching deviation after discrete encoding, ensuring that different data types enter a unified comparison scale. When only one dynamic data configuration has the minimum value difference at the current divergence position, it is retained and the value difference filtering is terminated. When multiple dynamic data configurations have the same minimum value difference, only these dynamic data configurations are retained and the comparison continues at the next divergence position. If multiple dynamic data configurations still exist after the configuration divergence chain comparison is completed, their respective matching potential values ​​are compared, and the dynamic data configuration with the largest matching potential value is retained. If the matching potential values ​​are still consistent, multiple dynamic data configurations are kept in a pending state and sorted according to the configuration execution order pre-recorded in the dynamic data configurations. The dynamic data configuration with the highest sorted value is taken as the configuration for generating the ES wide table of medical data. This forms a process of "gradual screening of differences in divergence position values ​​- screening of matching potential values ​​- determination of configuration execution order", and gives the finally selected dynamic data configuration a unique configuration identifier.

[0054] After determining the ES wide table generation configuration for medical data, the source field identifier, target field identifier, and field data type stored in the field mapping are obtained based on the configuration identifier. The source field value is located from the current medical data using the source field identifier, and then written to the corresponding target field according to the target field identifier. If the source field does not contain data, the null value marker stored in the ES wide table generation configuration is written to the corresponding target field to avoid confusing missing fields with actual empty characters. After completing the field mapping, the processing field, condition values, and transformation content in the data transformation are read. The current field value of the processing field is compared with the condition value. If they match, the transformation content bound to the condition value is selected to process the target field value. For example, if the original unit in medical test data is "mg / dL", the ES wide table generation configuration maps the test result to the standard result field. When the original unit matches "mg / dL", the unit conversion content bound to it is selected to convert the test result to the standard result value in the "mmol / L" dimension, and the standard unit field is written to "mmol / L". The target field value after transformation retains the target field identifier and business entity identifier, serving as input data for data aggregation.

[0055] When performing data aggregation, the participating fields are obtained from the Elasticsearch wide table generation configuration, and their values ​​are read from the medical data after data transformation. Data with identical participating field values ​​are grouped into the same merging range, and the corresponding target field values ​​are processed according to the aggregation type recorded in the data aggregation. For target fields that need to retain a single value, the retained value can be determined based on the business time or data status of the medical data; for target fields that need to form a set, multiple target field values ​​can be arranged according to business time and written into the same wide table field; for target fields that need to perform statistical processing, the data values ​​within the same merging range are processed using the summation, counting, maximum, or minimum value processing recorded in the configuration. For example, when patient identifier and test item code are used as participating fields, test data with identical patient identifier and test item code are included in the same merging range, and the standard result value with a valid review status and a later business time is selected as the target field value according to the configuration. After merging, the target field identifier, target field value, field data type, and business entity identifier are combined to form wide table field data, making field mapping, data transformation, and data aggregation a continuous data processing chain.

[0056] When generating Elasticsearch (ES) wide tables for medical big data, a field writing sequence is established based on the target field order saved in the ES wide table generation configuration. Then, the corresponding target field is located based on the target field identifier carried in the wide table field data, and the field value is written according to the target field's data type. If multiple wide table fields exist for the same target field, the data is written to array-type or set-type fields according to the order preserved after data aggregation. For target fields without wide table field data, a null flag is written according to the target field configuration, or the field is kept default. Subsequently, the business entity identifier of the medical data is read and used as the data ownership identifier for the current wide table record, bound to all target fields that have been written. When generating wide tables using the patient dimension, wide table records are distinguished by the patient identifier; when generating wide tables using the visit dimension, wide table records are distinguished by the visit identifier. After binding, wide table records are organized according to the target field name, field data type, and field value, ensuring that each wide table record contains a specific business entity identifier and corresponding wide table field data, ultimately forming the medical big data ES wide table data. These wide table records are then used as data objects for writing to the Elasticsearch index.

[0057] The configuration matching information for each dynamic data configuration is used to store the divergence location identifier and corresponding value difference. The matching potential value is used to store the configuration evaluation data formed after the dynamic data configuration has undergone matching deviation processing. The dynamic data configuration with the smallest value difference has the lowest matching deviation at the current divergence location. The dynamic data configuration with the largest matching potential value has the highest matching potential value after being filtered step by step through the configuration matching information. The finally determined dynamic data configuration constitutes the configuration for generating the ES wide table of medical data. Field mapping is used to record the data transfer path from the source field to the target field. The source field value is the data content located by the source field identifier in the current medical data. The target field is the field in the medical big data ES wide table that carries the processed data. The processing fields and condition values ​​in data transformation are used to determine the transformation content used for the target field value. The participating fields in data aggregation are used to define the merging scope of medical data. Wide table field data is a data record that carries the target field identifier, target field value, field data type, and business entity identifier after field mapping, data transformation, and data aggregation are completed; the corresponding target field is the wide table field located by the target field identifier; the business entity identifier is used to determine the data ownership of the wide table record; the wide table record is a data record formed by binding the business entity identifier with all target fields and field values; medical big data ES wide table data is a data object to be written formed by organizing wide table records according to Elasticsearch index fields.

[0058] S5. Obtain the change in the matching potential value of medical data during the ES wide table generation process, adjust the discrimination weight of the configuration branch chain according to the change in the matching potential value, update the matching potential value, and dynamically adjust the ES wide table generation configuration according to the updated matching potential value.

[0059] In this embodiment, S5 specifically refers to: The matching potential value formed at each branch position during the generation of the medical data wide table in ES is obtained. The matching potential values ​​of adjacent branch positions are compared according to the arrangement order of the configured branch chain. The difference between the matching potential value of the next branch position and the matching potential value of the previous branch position is processed to obtain the change in the matching potential value of each branch position. The direction and magnitude of change are determined based on the change in the matching potential value at each divergence position. The direction of increase or decrease of the discrimination weight at the corresponding divergence position is adjusted according to the direction of change. The adjustment amount of the discrimination weight is determined according to the magnitude of change. The adjusted discrimination weight is weighted and accumulated with the matching deviation at the corresponding divergence position. The matching potential value is updated according to the weighted and accumulated matching deviation. Compare the updated matching potential values ​​of each dynamic data configuration. Compare the configuration identifier of the dynamic data configuration with the largest updated matching potential value with the current ES wide table generation configuration. If the configuration identifiers are inconsistent, adjust the ES wide table generation configuration to the dynamic data configuration with the largest updated matching potential value. If the configuration identifiers are consistent, maintain the current ES wide table generation configuration, thus completing the dynamic adjustment of the ES wide table generation configuration.

[0060] When acquiring the matching potential values ​​formed at each divergence position during the generation of the ES wide table for medical data, each dynamic data configuration in the same configuration set is treated as an independent processing object. Starting from the first divergence position, the matching deviation of the current divergence position and previous divergence positions is accumulated level by level according to the arrangement order of the configuration divergence chain. After the accumulation of each divergence position is completed, the matching potential value of the corresponding dynamic data configuration up to the current divergence position is calculated using the currently accumulated matching deviation, so that the same dynamic data configuration forms a continuous sequence of matching potential values ​​along the configuration divergence chain. Subsequently, the matching potential values ​​of adjacent divergence positions are paired according to the divergence position identifier. The matching potential value of the next divergence position is subtracted from the matching potential value of the previous divergence position to perform difference processing. The difference and the identifier of the next divergence position are bound to form the change in matching potential value. When there is no previous divergence position at the first divergence position, the matching potential value formed at the first divergence position is used as the starting data of the potential value sequence, and no separate matching potential value change is formed. For example, patient test data undergoes discrepancy determination sequentially based on specimen type, raw unit, and test status. When the raw unit is added with a matching deviation, causing the current matching potential value to decrease, the raw unit position generates a negative matching potential value change. When the test status is added, causing the matching potential value to rise, the test status position generates a positive matching potential value change, thereby determining the actual discrepancy location where the potential value change occurred.

[0061] After obtaining the change in the matching potential value at each divergence position, the sign of the difference is read to determine the direction of change, and the absolute magnitude of the difference is read to determine the magnitude of change. Then, the magnitude of change at the current divergence position is compared proportionally with the total effective magnitudes of all divergences in the same configuration. The resulting relative degree of change determines the adjustment amount of the discrimination weight. When the matching potential value increases, the direction of increase or decrease of the discrimination weight at the corresponding divergence position is determined to be increase, and the adjustment amount is added to the original discrimination weight. When the matching potential value decreases, the direction of increase or decrease is determined to be decrease, and the adjustment amount is deducted from the original discrimination weight. When no change in matching potential value occurs, the corresponding discrimination weight is maintained. After adjustment, all discrimination weights in the same configuration divergence chain are normalized to maintain a uniform data scale for each discrimination weight. Subsequently, the matching deviation at each divergence position is multiplied by the corresponding discrimination weight, and accumulated level by level according to the arrangement order of the configuration divergence chain to obtain the weighted cumulative matching deviation of each dynamic data configuration. Then, the weighted cumulative matching deviation of each dynamic data configuration in the homogeneous configuration set is compared, and the matching potential value is recalculated according to the processing path of matching difference and matching ratio mentioned above. The recalculated data is used as the updated matching potential value, thus forming a continuous data processing process of "matching potential value change - discrimination weight - weighted matching deviation - updated matching potential value".

[0062] When comparing the updated matching potential values ​​of each dynamic data configuration in the same configuration set, the updated matching potential value is first bound to the corresponding dynamic data configuration identifier. Then, the dynamic data configuration with the largest updated matching potential value is selected, and the corresponding dynamic data configuration identifier is compared with the configuration identifier of the current ES wide table generation configuration. If the configuration identifiers are consistent, the current ES wide table generation configuration is maintained. If the configuration identifiers are inconsistent, the dynamic data configuration with the largest updated matching potential value is determined as the new ES wide table generation configuration. The new ES wide table generation configuration is adopted starting from the subsequent medical data for which field mapping has not yet been performed. Wide table field data that has completed field mapping, data transformation, or data aggregation is kept unchanged in the current processing chain. When multiple dynamic data configurations have the same maximum updated matching potential value, starting from the first divergence position, the matching deviation of the corresponding divergence positions after discrimination weight processing is compared according to the arrangement order of the configuration divergence chain. When the first inconsistency occurs, the dynamic data configuration with the smaller weighted matching deviation is retained. If it is still impossible to distinguish after the configuration divergence chain comparison, the configuration generated by the ES wide table is determined according to the configuration execution order recorded in the dynamic data configuration. This ensures that each dynamic adjustment forms definite configuration selection data and maintains a clear processing boundary for the medical big data ES wide table data before and after dynamic adjustment.

[0063] Difference processing involves subtracting the matching potential values ​​formed by configuring the same dynamic data at adjacent divergence positions in sequence. The change in the matching potential value at each divergence position is formed by binding the difference with the corresponding divergence position identifier, where the sign of the difference indicates the direction of change, and the absolute magnitude of the difference indicates the magnitude of change. The direction of change is used to determine the direction of increase or decrease of the discrimination weight at the corresponding divergence position, and the magnitude of change is used to determine the adjustment amount of the discrimination weight. The discrimination weight is data bound to the divergence position identifier and limits the degree to which the corresponding matching deviation participates in the recalculation of the matching potential value. The adjustment amount of the discrimination weight is relative data formed based on the current magnitude of change relative to the effective magnitude of change in the same configuration divergence chain, and is used to change the original discrimination weight. Weighted accumulation multiplies the matching deviation at each divergence position with the adjusted discrimination weight, and accumulates them in the order of the configuration divergence chains. The weighted cumulative matching deviation is used to determine the matching difference and matching ratio, with the matching ratio serving as the updated matching potential value. The updated matching potential value is bound to the dynamic data configuration identifier and compared with the configuration identifier of the current ES wide table generation configuration to determine whether to maintain the current ES wide table generation configuration or switch the ES wide table generation configuration, thereby fully realizing the dynamic control of the ES wide table generation configuration.

[0064] The above embodiments can be implemented, in whole or in part, by software, hardware, firmware, or any other combination thereof. When implemented using software, the above embodiments can be implemented, in whole or in part, as a computer program product. A computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, all or part of the processes or functions according to the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. Computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means (e.g., infrared, wireless, microwave, etc.). A computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more sets of available media. Available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media. Semiconductor media can be solid-state drives.

[0065] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0066] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0067] In the several embodiments provided in this application, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interfaces, devices, or units, and may be electrical, mechanical, or other forms.

[0068] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0069] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0070] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A method for generating wide tables in medical big data ES based on efficient dynamic data configuration, characterized in that: Specifically, the following steps are included: S1. Obtain the dynamic data configuration generated by the medical big data ES wide table, extract the composite matching conditions and perform retrieval feature compression, generate compression difference based on the difference of conditions before and after compression, determine whether different dynamic data configurations form the same retrieval feature, and construct the homogeneous configuration set when the same retrieval feature is formed. S2. Based on the compressed residuals of the homogeneous configuration set, extract the difference conditions that affect field mapping, data transformation and data aggregation. Arrange the difference conditions according to the generation order of the ES wide table, construct the configuration divergence chain and determine the first divergence position. S3. Combine the discriminant data of medical data extracted from the first discriminant position, match the discriminant data with the difference conditions step by step, obtain the configuration matching information when the same retrieval features are formed, and calculate the matching potential value of dynamic data configuration based on the matching deviation. S4. Based on the configuration matching information and the matching potential value, determine the ES wide table generation configuration of medical data, perform field mapping, data transformation and data aggregation, and generate medical big data ES wide table data. S5. Obtain the change in the matching potential value of medical data during the ES wide table generation process, adjust the discrimination weight of the configuration branch chain according to the change in the matching potential value, update the matching potential value, and dynamically adjust the ES wide table generation configuration according to the updated matching potential value.

2. The method for generating a wide table for medical big data ES based on efficient dynamic data configuration according to claim 1, characterized in that, S1 includes the following sub-steps: S101. Obtain the target field and generation conditions of the medical big data ES wide table, match the target field with the configuration field in the configuration data item by item, and use the generation conditions to filter out configurations with inconsistent condition items in the matching configuration to obtain dynamic data configuration; read the field identifier, field limit value and decision symbol participating in the condition judgment in the dynamic data configuration, and use them as condition fields, condition values ​​and condition constraints respectively, and combine them according to the condition execution order to obtain composite matching conditions. S102. Arrange the composite matching conditions according to the condition fields, convert the condition values ​​and condition constraints into condition codes, concatenate the condition codes according to the arrangement order and perform retrieval feature compression to obtain the retrieval features of dynamic data configuration, and record the condition codes before compression at each compression position. S103. Split the retrieval features according to the compression position, compare the data of each compression position with the condition code before compression, filter out the condition codes that have been merged or missing after compression of the retrieval features, calculate the bit value difference between the condition codes, arrange and encode the bit value difference with the condition field and compression position in sequence, and generate the compression difference of dynamic data configuration. S104. Compare the retrieval features of different dynamic data configurations one by one to determine whether different dynamic data configurations form the same retrieval features. When the same retrieval features are formed, filter out dynamic data configurations with different composite matching conditions, and collect the filtered dynamic data configurations and compressed differences into a homogeneous configuration set.

3. The method for generating a wide table for medical big data ES based on efficient dynamic data configuration according to claim 2, characterized in that, S104 specifically refers to: Extract retrieval features from different dynamic data configurations, divide the retrieval features into feature segments based on the compression position, and compare feature segments with the same compression position item by item; when the feature segments of each compression position are consistent, it is determined that different dynamic data configurations form the same retrieval feature, and obtain the dynamic data configuration and composite matching conditions that form the same retrieval feature. The composite matching conditions obtained are compared item by item according to the order of the condition fields. The condition fields, condition values ​​and condition constraints are compared respectively to filter out dynamic data configurations with condition differences. Using the same search feature as the aggregation identifier, the filtered dynamic data configurations and compressed differences are paired according to the configuration identifier, and the paired data with the same aggregation identifier are aggregated into a homogeneous configuration set.

4. The method for generating a wide table for medical big data ES based on efficient dynamic data configuration according to claim 1, characterized in that, S2 includes the following sub-steps: S201. Extract the compression difference of each dynamic data configuration in the homogeneous configuration set. Based on the compression location, locate the condition field and bit value difference. Match the condition field with the source field of field mapping, the input field of data transformation, and the participating field of data aggregation respectively. Determine the processing type and processing field to which the condition field belongs based on the matching fields. Bind the condition field, bit value difference, compression location, processing type, and processing field in sequence to form the difference conditions that affect field mapping, data transformation, and data aggregation. S202. Read the processing type and processing field in the difference conditions, determine the field mapping processing position, data transformation processing position and data aggregation processing position, arrange the difference conditions according to the generation order of the ES wide table of field mapping, data transformation and data aggregation, and assign a divergence position identifier to each difference condition according to the arrangement position. S203. Construct a configuration divergence chain by connecting the difference conditions of the same dynamic data configuration according to the divergence position identifier; perform a peer comparison on the configuration divergence chains of different dynamic data configurations in the same configuration set, compare the difference conditions sequentially from the starting position of the ES wide table generation order, and determine the position where the condition field, bit value difference or processing position inconsistency first appears as the first divergence position.

5. The method for generating a wide table for medical big data ES based on efficient dynamic data configuration according to claim 4, characterized in that, S203 specifically refers to: Extract the divergence position identifiers carried by each difference condition in the same dynamic data configuration, arrange the difference conditions according to the order of divergence position identifiers in the generation order of the ES wide table, connect the processing positions of adjacent difference conditions in sequence, and write the dynamic data configuration identifier, divergence position identifier, condition field, bit value difference and processing position into the connection position to build a configuration divergence chain. Extract the configuration branch chains of different dynamic data configurations in the same configuration set, locate the difference conditions with the same processing position by the branch position identifier, perform the same position comparison from the starting position of the ES wide table generation order, and compare the condition field, bit value difference and processing position in turn; if the current comparison content is consistent, move to the next branch position to continue the comparison, and terminate the same position comparison when inconsistency occurs, and determine the first branch position where inconsistency occurs as the first branch position.

6. The method for generating a wide table for medical big data ES based on efficient dynamic data configuration according to claim 1, characterized in that, S3 includes the following sub-steps: S301. Read the condition field and processing position of the first divergence position, extract the condition fields of the first divergence position and subsequent divergence positions along the configured divergence chain, read the actual values ​​of each condition field from the medical data, arrange the condition fields, actual values ​​and processing positions according to the divergence position identifier, and form divergence discrimination data of medical data. S302. Starting from the first divergence position, the actual values ​​in the divergence discrimination data are matched with the difference conditions of each dynamic data configuration in the same feature configuration set level by level. The actual values ​​and condition values ​​of each divergence position are compared respectively, and the value differences and divergence position identifiers are recorded. When the same retrieval features are formed, the value differences and divergence position identifiers of each dynamic data configuration are combined into configuration matching information. S303. Extract the value difference of each divergence position in the configuration matching information, determine the matching deviation of each divergence position according to the value difference, accumulate the matching deviation according to the arrangement order of the configuration divergence chain, and collect the accumulated matching deviation according to the dynamic data configuration. Calculate the matching potential value according to the matching deviation of each dynamic data configuration.

7. The method for generating a wide table for medical big data ES based on efficient dynamic data configuration according to claim 6, characterized in that, S303 specifically refers to: Extract the value difference of each divergence position in the configuration matching information, obtain the upper and lower boundaries of the condition values ​​of the corresponding difference conditions, generate the difference ratio by the proportion of the value difference to the distance between the upper and lower boundaries of the condition values, associate the difference ratio with the divergence position identifier, and use the difference ratio as the matching deviation of each divergence position. Read the matching deviation at each branch position according to the arrangement order of the configured branch chain, add the matching deviation at the current branch position to the matching deviation accumulated at the previous branch positions level by level, bind the final accumulated matching deviation to the dynamic data configuration identifier, and collect them separately according to the dynamic data configuration. Extract the matching deviation of each dynamic data configuration set in the homogeneous configuration set. Subtract the matching deviation of the current dynamic data configuration from the maximum matching deviation to obtain the matching difference. Divide the matching difference by the sum of the matching differences of each dynamic data configuration to obtain the matching ratio of the current dynamic data configuration in the homogeneous configuration set. Determine the matching ratio as the matching potential value of the dynamic data configuration.

8. The method for generating a wide table for medical big data ES based on efficient dynamic data configuration according to claim 1, characterized in that, S4 specifically refers to: Obtain the configuration matching information and matching potential value of each dynamic data configuration; extract the value difference in the configuration matching information according to the divergence position identifier; compare the value difference of each dynamic data configuration at the same divergence position; retain the dynamic data configuration with the smallest value difference; compare the matching potential value of the retained dynamic data configurations; and determine the dynamic data configuration with the largest matching potential value as the ES wide table generation configuration for medical data. Based on the field mapping in the ES wide table generation configuration, the source field values ​​of medical data are written into the target field. The target field values ​​are transformed using the processing fields and condition values ​​in the data transformation. The target field values ​​are then merged and transformed according to the participating fields in the data aggregation to form wide table field data. Organize the wide table field data according to the target field arrangement order in the ES wide table generation configuration, write the wide table field data into the corresponding target fields, and bind the business entity identifier of the medical data with the target field that has been written to form a wide table record, thus generating medical big data ES wide table data.

9. The method for generating a wide table for medical big data ES based on efficient dynamic data configuration according to claim 1, characterized in that, S5 specifically refers to: The matching potential value formed at each branch position during the generation of the medical data wide table in ES is obtained. The matching potential values ​​of adjacent branch positions are compared according to the arrangement order of the configured branch chain. The difference between the matching potential value of the next branch position and the matching potential value of the previous branch position is processed to obtain the change in the matching potential value of each branch position. The direction and magnitude of change are determined based on the change in the matching potential value at each divergence position. The direction of increase or decrease of the discrimination weight at the corresponding divergence position is adjusted according to the direction of change. The adjustment amount of the discrimination weight is determined according to the magnitude of change. The adjusted discrimination weight is weighted and accumulated with the matching deviation at the corresponding divergence position. The matching potential value is updated according to the weighted and accumulated matching deviation. Compare the updated matching potential values ​​of each dynamic data configuration. Compare the configuration identifier of the dynamic data configuration with the largest updated matching potential value with the current ES wide table generation configuration. If the configuration identifiers are inconsistent, adjust the ES wide table generation configuration to the dynamic data configuration with the largest updated matching potential value. If the configuration identifiers are consistent, maintain the current ES wide table generation configuration, thus completing the dynamic adjustment of the ES wide table generation configuration.