A data index relationship identification method and system based on component peeling
By breaking down data metrics into components such as basic data items, timeframes, and business dimensions, and then peeling away and comparing the remaining components at each level, the accuracy and interpretability issues of data metric relationship identification in existing technologies are resolved, resulting in more efficient data metric management.
Patent Information
- Application Number
- CN202611319330.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-28
- Publication Date
- 2026-11-24
AI Technical Summary
Existing data indicator management methods struggle to accurately identify component differences and relationships when identifying the relationships between different data indicators. This is especially true when indicator names are similar but differ in statistical time, business dimensions, or data sources, which can easily lead to misidentification or failure to identify the specific source of the difference.
By breaking down data metrics into components such as basic data items, timeframes, and business dimensions, and then peeling them off step by step in a preset order, the remaining component combinations at each peeling stage are generated. The consistency of combinations of different metrics at the same peeling stage is compared to identify the different components and generate data metric relationship identification results.
It improves the accuracy and interpretability of data indicator relationship identification, and can identify peer classification relationships, hierarchical limitation relationships and time caliber relationships, thereby improving the management efficiency of similar indicators, related indicators and indicators with different calibers in the indicator library.
Smart Images

Figure CN123158397A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of data processing and data indicator management technology, and in particular to a method and system for identifying data indicator relationships based on component stripping. Background Technology
[0002] With the continuous convergence of government data, industry statistics, and enterprise operational data, data indicators have become a crucial foundation for report generation, data analysis, cross-departmental data sharing, and data governance. A data indicator is typically not an isolated data field, but rather defined by multiple components, including basic data items, statistical timeframes, and business classification conditions. For example, the same basic data item, "number of enterprises," can be used to create multiple data indicators with different statistical scopes by specifying different statistical years, administrative divisions, enterprise types, or industry classifications.
[0003] Existing data indicator management methods typically use methods such as indicator name matching, indicator code matching, field attribute comparison, or semantic similarity analysis to identify relationships between different data indicators. When two indicators have similar names but differ in statistical time, business dimension, or data source, relying solely on name or semantic similarity can easily identify indicators with different actual definitions as the same indicator; however, when two indicators have different names but differ only at a certain business dimension level, it may not be able to accurately identify the specific source of the difference between them.
[0004] Furthermore, existing methods typically perform a comprehensive comparison of all indicator attributes when analyzing the relationship between indicators. When two indicators have multiple component differences, the results only show inconsistencies in the multiple attributes, making it difficult to determine which component is the main difference causing the change in the relationship between the two indicators, and also difficult to identify whether there is a correlation between the multiple difference components.
[0005] Therefore, a method is needed that can utilize the component structure of the data indicators themselves, observe changes in the indicator structure by gradually eliminating component differences, and determine the relationship between the data indicators in reverse from the location of the structural changes. Summary of the Invention
[0006] This application provides a method and system for identifying data indicator relationships based on component stripping, which improves the accuracy and interpretability of data indicator relationship identification.
[0007] This application provides the following solution:
[0008] According to the first aspect, a data indicator relationship identification method based on component stripping is provided, comprising: acquiring data indicators to be compared from an indicator library, and extracting the basic data items, time frame, business dimension, and hierarchical position corresponding to each data indicator to be compared; stripping corresponding components from the data indicators to be compared according to a preset component type order, generating the remaining component combinations of each stripping stage; comparing the remaining component combinations of different data indicators to be compared in the same stripping stage, and determining the target stripping stage where the combinations are consistent for the first time; and determining the difference components between the data indicators to be compared according to the type of stripped component corresponding to the target stripping stage.
[0009] Data index relationship identification results are generated based on the difference components.
[0010] According to the second aspect, a data indicator relationship identification system based on component stripping is provided, comprising: an indicator acquisition module, used to acquire data indicators to be compared from an indicator library, and extract the basic data items, time frame, business dimension, and hierarchical position corresponding to each data indicator to be compared; a component stripping module, used to strip corresponding components from the data indicators to be compared according to a preset component type order, generating the remaining component combinations of each stripping stage; a combination comparison module, used to compare the remaining component combinations of different data indicators to be compared in the same stripping stage, and determine the target stripping stage where the first combination is consistent; a difference determination module, used to determine the difference components between the data indicators to be compared according to the stripped component type corresponding to the target stripping stage; and a relationship identification module, used to generate data indicator relationship identification results based on the difference components.
[0011] According to the specific embodiments provided in this application, the following technical effects are disclosed:
[0012] This application breaks down data metrics into components such as basic data items, timeframes, and hierarchical business dimensions. These components are then stripped away in a predetermined order, allowing the previously mixed differences between metrics to gradually emerge as components are removed. By identifying the initial stage where the remaining components reach a consensus, the specific components causing the metric differences can be pinpointed without relying solely on metric names, overall attributes, or semantic similarity. This improves the accuracy and interpretability of data metric relationship identification and provides a reliable basis for further identifying peer-to-peer relationships, hierarchical relationships, time-based relationships, and differences in underlying sources. This enhances the management efficiency of similar, related, and caliber-differentiated metrics in the metric library.
[0013] Of course, any product implementing this application does not necessarily need to achieve all of the advantages described above at the same time. Attached Figure Description
[0014] 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 of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0015] Figure 1 A flowchart illustrating the data index relationship identification method based on component stripping provided in this application embodiment;
[0016] Figure 2 This is a schematic diagram illustrating the step-by-step stripping of the data indicators to be compared in this application embodiment;
[0017] Figure 3 A schematic diagram illustrating the difference between the original vacancy and the stripped vacancy provided in the embodiments of this application;
[0018] Figure 4 The structural block diagram of the data index relationship identification system based on component stripping provided in the embodiments of this application is shown. Detailed Implementation
[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0020] Figure 1 A flowchart illustrating the data index relationship identification method based on component stripping provided in this application embodiment. Figure 1 As shown, the method may include the following steps:
[0021] Step 101: Obtain the data metrics to be compared from the metric library, and extract the basic data items, time frame, business dimension, and hierarchical position corresponding to each data metric to be compared.
[0022] Step 102: According to the preset component type order, the corresponding components are stripped from the data indicators to be compared, and the remaining component combinations of each stripping stage are generated.
[0023] Step 103: Compare the remaining component combinations of different data metrics to be compared in the same stripping stage, and determine the target stripping stage where the first combination of consistent components appears.
[0024] Step 104: Determine the components that differ between the data indicators to be compared, based on the type of component to be stripped corresponding to the target stripping stage.
[0025] Step 105: Generate data index relationship identification results based on the difference components.
[0026] As can be seen from the above process, this application breaks down data indicators into components such as basic data items, time frames, and hierarchical business dimensions, and then peels them off level by level according to a preset order. This allows the various differences between different indicators to gradually emerge as the components are removed. By determining the target peeling stage where the remaining component combinations first reach consistency, the specific components causing the indicator differences can be located in reverse, without relying solely on indicator names, overall attributes, or semantic similarity. This improves the accuracy and interpretability of data indicator relationship identification and provides a reliable basis for further identifying peer-to-peer classification relationships, hierarchical limitation relationships, time-based relationships, and differences in basic sources. This is beneficial for improving the management efficiency of similar indicators, related indicators, and indicators with different definitions in the indicator library.
[0027] The following describes in detail each step of the above process and the effects that can be further produced, with reference to the embodiments.
[0028] Step 101 specifically involves: obtaining the data metrics to be compared from the metric library, and extracting the basic data items, timeframes, business dimensions, and hierarchical positions corresponding to each data metric to be compared.
[0029] Retrieving comparison metrics from the metric library refers to selecting two or more data metrics from an established metric library for relationship identification. These metrics can be determined based on report field matching results, similarity in metric names, shared business themes, common data sources, or manually specified comparison tasks. There's no need to pre-determine whether different metrics are identical; instead, metrics with potential relationships are used as comparison objects, and their actual differences are determined later through a component stripping process. Each data metric in the metric library can be associated with and stored for its data source, statistical time range, classification constraints, and corresponding component identifier, enabling the conversion of complete data metrics into a component structure that can be stripped and compared item by item.
[0030] Basic data items are used to characterize the underlying data objects that data indicators statistically analyze or calculate. In practice, the data source identifier stored in the data indicator to be compared can be read, and a query can be performed in the basic data item database based on this identifier to determine the corresponding basic data item. The data source identifier can indicate the data field, data interface, source table field, or already registered basic data item identifier that the data indicator actually calls. For example, if the data indicator "Number of Manufacturing Enterprises in Guiyang City This Year" actually calls the "Number of Enterprises" data item in the enterprise basic database, then "Number of Enterprises" can be identified as the basic data item corresponding to this data indicator. Extracting basic data items through data source identifiers, rather than simply based on indicator names, avoids misidentification as different basic data sources when different names actually call the same basic data item.
[0031] A time frame is used to characterize the statistical timeframe used for a data indicator. Specifically, it involves obtaining the statistical start and end dates, as well as the statistical period, for the data indicator being compared. The time frame is then determined based on the correspondence between the statistical start and end dates and a pre-maintained time frame. For example, if the statistical start date is January 1st of the current year and the statistical end date is the current statistical date, it can be determined as the cumulative time frame for the current year; if the statistical range is the previous full calendar month, it can be determined as the previous month's time frame; and if the statistical range covers the previous full calendar year, it can be determined as the previous year's time frame. Using the statistical start and end dates to determine the time frame allows data indicators with different names but the same actual statistical period to be mapped to the same time frame, and it also distinguishes data indicators with similar names but different statistical ranges.
[0032] Business dimensions are used to characterize the business conditions for classifying or limiting the statistical scope of basic data items. In practice, the classification constraints contained in the data indicator definition can be extracted, and these constraints can be mapped to dimension nodes in the business dimension library. For example, "manufacturing" in "number of manufacturing enterprises" can correspond to the industry dimension, "Guiyang City" in "number of enterprises in Guiyang City" can correspond to the administrative region dimension, and "large" in "number of large enterprises" can correspond to the enterprise size dimension. When the same data indicator contains multiple classification constraints, multiple business dimensions can be extracted, and the dimension category and corresponding dimension node of each business dimension can be retained for subsequent step-by-step stripping according to different business dimensions.
[0033] Hierarchical position indicates the location of a business dimension node within its respective dimension tree, and can be determined based on the parent and child node identifiers pre-maintained in the business dimension library. For example, in the administrative region dimension, a parent-child hierarchy of "provincial, municipal, and district / county" can be formed; in the industry dimension, a parent-child hierarchy of "industry category, major industry category, sub-category, and minor industry category" can be formed. When a data indicator is limited to "Guiyang City," its municipal position within the administrative region dimension can be recorded; when another data indicator is limited to "Nanming District," its district / county position within the same administrative region dimension can be recorded. Therefore, subsequent comparisons can not only determine whether the two indicators contain different business dimensions, but also whether this difference is a classification difference within the same level or a difference in hierarchical limitations between different levels.
[0034] In the specific data organization process, corresponding component records can be created for each data indicator to be compared. For example, if data indicator A is "the number of manufacturing enterprises in Guiyang City this year," its basic data item can be recorded as "number of enterprises," its time frame as "this year," and its business dimensions as "Guiyang City" and "manufacturing," further recording the city-level position of "Guiyang City" in the administrative region dimension and the corresponding hierarchical position of "manufacturing" in the industry dimension. If data indicator B is "the number of manufacturing enterprises in Zunyi City this year," its basic data items and time frame can be the same as data indicator A, only the administrative region business dimension and corresponding nodes are different. In this way, during the subsequent component stripping process, the lower-level business dimensions can be stripped first, and it can be observed at which stripping stage the two data indicators first form the same combination of remaining components.
[0035] In this embodiment, the data indicators can be specifically represented as derived data items. These derived data items are application carriers in the indicator library for report generation, statistical analysis, data sharing, and indicator reuse. Derivative data items are not data sources formed independently of the basic data items, but rather logical data objects formed based on the basic data items, combined with time frames and business dimensions to limit the data scope of the basic data items. The indicator library can separately store the basic data items, time frames, and business dimensions, and directly record the component identifiers corresponding to these components in the derived data items, enabling each derived data item to reverse-determine its underlying basic data item, the time frame used, and the included business dimensions.
[0036] A classification and constraint relationship is established between business dimensions and derived data items. Business dimensions are used to determine the specific business sub-scope corresponding to derived data items from the data scope covered by basic data items. A derived data item can be directly associated with one or more business dimensions. Each business dimension, in addition to storing the corresponding dimension component identifier, also stores its hierarchical position within its respective dimension system. For example, the derived data item "Number of Manufacturing Enterprises in Guiyang City This Year" can be directly associated with "Guiyang City" in the administrative region dimension and "Manufacturing" in the industry dimension. "Guiyang City" records its corresponding city-level hierarchical position, and "Manufacturing" records its corresponding industry classification hierarchical position. Thus, business dimensions not only participate in the formation of derived data items but can also be identified and removed as independent components with definite positions during subsequent component stripping processes.
[0037] Furthermore, a derived data item can be represented as a component association record formed by references to basic data items, timeframes, and business dimensions. This component association record includes at least a derived data item identifier, a basic data item identifier, a timeframe identifier, a business dimension identifier, and the hierarchical position corresponding to the business dimension. The aforementioned basic data items, timeframes, and business dimensions are all directly associated with the derived data item, without needing to establish relationships indirectly through other derived data items. Therefore, when any component changes, the affected derived data item can be directly identified through the corresponding component identifier; conversely, when obtaining any derived data item, the various basic components that form that derived data item can also be directly obtained.
[0038] For example, the first derived data item is "Number of manufacturing enterprises in Guiyang City this year," which can be directly associated with the basic data item "Number of enterprises," the time frame "this year," the administrative region business dimension "Guiyang City," and the industry business dimension "Manufacturing." The second derived data item is "Number of manufacturing enterprises in Zunyi City this year," whose basic data item, time frame, and industry business dimension are the same as the first derived data item, except that the administrative region business dimension changes from "Guiyang City" to "Zunyi City." Therefore, although the two derived data items exist as two independent data indicators, the relationship between their internal components can clearly indicate which components they share and at which component the differences occur.
[0039] When identifying data indicator relationships in this application, the data indicators to be compared are preferably derived data items in the indicator library whose relationships need to be determined. The component stripping operation does not delete or modify the actual established relationships between derived data items and basic components in the indicator library. Instead, it establishes a component analysis copy for relationship identification based on the component association records saved in the derived data items, and sequentially cancels the participation status of corresponding components in the component analysis copy according to a preset component type order. After each component is canceled, the remaining component combination for the corresponding stripping stage is formed by the basic data items, timeframes, and business dimensions that still maintain their participation status. Therefore, the remaining component combination described in this application essentially reflects the remaining direct logical relationships of derived data items after the gradual removal of some component constraints, while the derived data items themselves and their formal component association relationships remain unchanged.
[0040] Furthermore, when two derived data items form the same combination of remaining components for the first time after being stripped of a certain business dimension, it can be determined that the business dimension is the main component causing the difference in the classification scope of the two derived data items; when they form the same combination of remaining components for the first time after being stripped of the time frame, it can be determined that they belong to derived data items with common basic data items and business scope, but different statistical time calibers; when it is necessary to strip them down to the basic data item to form a consistent combination, it can be further determined that the difference between the two involves the source of the basic data. Thus, the component stripping process of this application directly acts on the component logical relationship between derived data items and basic data items, time frames, and business dimensions, and determines the peer classification relationship, hierarchical limitation relationship, time caliber relationship, or basic source difference relationship between different derived data items.
[0041] In one optional implementation, derived data items can also be managed further based on the identified data indicator relationships. When two derived data items are identified as differing only in the same level of business dimension, they can be grouped into the same set of categorized derived data items corresponding to the same basic data item; when they are identified as differing only in time scope, they can be grouped into the same set of time-series derived data items under the same business scope; when a hierarchical relationship exists, a hierarchical association between derived data items can be established based on the parent-child hierarchy of the corresponding business dimensions. In this way, the relationship identification results can further serve the retrieval, reuse, report assembly, and duplicate indicator management of derived data items.
[0042] Through the above processing, data indicators that originally existed in the form of full names, statistical definitions, or report fields can be transformed into component structures with clear sources, timeframes, and business hierarchical meanings, providing a unified data foundation for subsequent component decomposition. In particular, by simultaneously recording business dimensions and their hierarchical positions, the loss of relationships caused by comparing only dimension names can be avoided, enabling subsequent methods to further distinguish differences in peer-to-peer classifications, differences in hierarchical constraints, and other types of indicator relationships.
[0043] Step 102 specifically involves: according to the preset component type order, stripping the corresponding components from the data indicators to be compared, and generating the remaining component combinations for each stripping stage.
[0044] The process of extracting corresponding components from the data metrics to be compared, according to a preset component type order, means that instead of directly comparing two complete data metrics all at once, the basic data items, timeframes, and business dimensions are treated as components that can be removed independently. The limiting effect of each component on the data metric is gradually eliminated in a predetermined order. After each component extraction, the components that have not yet been removed are retained, forming a new set of remaining components. Thus, the same data metric can generate multiple progressively simplified component states, and different data metrics to be compared can be compared at the same extraction stage to observe which component differences, after being eliminated, first form a consistent component structure.
[0045] The preset component type order is determined based on the degree to which the removal of different types of components changes the corresponding data range of the data indicators. In practice, an independent simulated removal can be performed for the business dimension, time frame, and basic data items, and the data range pointed to by the data indicators before and after removal can be compared. For example, for the data indicator "number of manufacturing enterprises in Guiyang City in 2025", after removing the lower-level industry dimension, its data range can be expanded from "manufacturing enterprises" to the corresponding higher-level industry range; after removing the administrative region dimension, its data range can be expanded from "Guiyang City" to a higher-level regional range; after removing the time frame, it is no longer limited to the statistical time range of 2025; and after removing the basic data items, the core statistical object described by the data indicator changes, which usually means that the main subject limitation of the original data indicator is completely removed.
[0046] The change in data scope can be determined based on the inclusion relationship between the corresponding data sets of data indicators before and after removal, as well as the degree of reduction in limiting conditions, without requiring the calculation of specific data volume. For example, removing a bottom-level business dimension, only removing the local classification restrictions corresponding to that business dimension, can be considered a local scope change; removing a time frame, causing the same basic data object to expand from a specific statistical period to other statistical periods, can be considered a large-scale change; removing basic data items, making it impossible to maintain the original limitations of the statistical object, can be considered an overall scope change. Based on this, the system arranges components with less impact on the data scope first and components with greater impact on the data scope later, thus forming a component stripping order that gradually transitions from local limitations to core limitations.
[0047] For example, in one implementation, the preset component type order can be: bottom-level business dimension, upper-level business dimension, time frame, and basic data items. This order is not fixed but can be determined based on the degree to which each component in the actual indicator library defines the data range. For some indicator systems, if removing the time frame only causes a small range of changes, and a certain business dimension determines the entire business object range, then the time frame can be arranged before the corresponding business dimension. The purpose of this setting is to prioritize eliminating local differences during the component stripping process, thereby preserving as many core components as possible that reflect the common attributes of the two data indicators being compared, and avoiding premature stripping of basic data items that would cause different indicators to quickly lose their comparability.
[0048] Figure 2 This diagram illustrates the step-by-step component stripping of data indicators to be compared, as provided in this application embodiment. At the start of the actual stripping, the system first determines the type of component to be stripped according to a preset component type order, and then simultaneously performs the corresponding operation on all data indicators to be compared. Synchronous removal means that in the same stripping stage, components of the same type and level are processed for different data indicators to be compared, rather than arbitrarily removing components based on the conditions of each indicator. For example, if the current stripping stage is determined to be the municipal administrative region business dimension, then the municipal administrative region dimension is processed separately from each data indicator to be compared, without stripping the municipal administrative region dimension from one indicator while simultaneously stripping the time frame from another. Using synchronous stripping ensures the comparability of the remaining component combinations formed in the same stage.
[0049] When a business dimension has multiple parent-child levels, further stripping is performed layer by layer from child to parent. For example, if a data metric's administrative region dimension includes three levels: "Guizhou Province, Guiyang City, and Nanming District," then "Nanming District" can be stripped first, retaining "Guizhou Province and Guiyang City"; then "Guiyang City" can be stripped, retaining "Guizhou Province"; and finally, "Guizhou Province" can be stripped again. Similarly, for industry classification dimensions, stripping can be performed layer by layer according to industry sub-category, industry medium-category, industry large-category, and industry sector. Using a child-to-parent approach gradually removes the specific-to-general business constraints from the data metric, allowing the common structure of the two metrics at different levels of abstraction to gradually emerge.
[0050] For example, the first data indicator to be compared is "the number of manufacturing enterprises in Nanming District, Guiyang City in 2025," and the second data indicator to be compared is "the number of manufacturing enterprises in Yunyan District, Guiyang City in 2025." The two indicators are identical in terms of basic data items, time frame, industry dimension, and municipal administrative region dimension, differing only in the district / county-level business dimension. Initially, their component combinations are inconsistent. After simultaneously removing the district / county-level business dimension, "Nanming District" in the first indicator and "Yunyan District" in the second indicator are removed, and the remaining components can both be represented as "number of enterprises, 2025, Guiyang City, manufacturing." Therefore, in subsequent comparisons, it can be identified that the two indicators achieve consistent combinations for the first time after the district / county-level business dimension is removed.
[0051] Each time a component is removed, its position in the original data metrics is recorded. This original position can be represented by the component type, business dimension category, and business dimension level. For example, "Nanming District" corresponds to the district / county level position in the administrative region dimension, and "Manufacturing" corresponds to the corresponding industry level position in the industry dimension. The purpose of retaining the original position is that even if the component itself has been removed from the current remaining component combination, the system can still know at which type and level the empty position was formed, thereby avoiding incorrect comparisons caused by different types of components all showing empty values after removal.
[0052] Furthermore, this embodiment distinguishes between "stripped vacancy" and "original vacancy". Figure 3This diagram illustrates the difference between original empty spaces and stripped empty spaces provided in the embodiments of this application. A stripped empty space refers to a space where a component originally existed, but which is now empty due to the current stripping operation. An original empty space refers to a space where the component corresponding to the data index to be compared was not configured before the current stripping was performed. For example, if the first data index originally had the district / county-level administrative region "Nanming District," a stripped empty space would be formed at that location after stripping. If the second data index was initially limited only to Guiyang City without specifying a particular district / county, then its district / county-level location would be an original empty space. Although neither of these locations currently stores a specific business dimension, their formation reasons are different, therefore they cannot be simply considered to be in the same state.
[0053] Distinguishing between the original and removed vacancy positions can prevent false overlaps caused by inherently different indicator levels. For example, one indicator is "number of enterprises in Guiyang City," and another is "number of enterprises in Nanming District." When removing the district / county level business dimension, the district / county position of the former indicator is an original vacancy, while the district / county position of the latter indicator becomes a removed vacancy due to the removal of "Nanming District." By retaining different vacancy states, it can be shown that the former indicator was originally a higher-level indicator, while the latter indicator reached that level by actively removing the district / county restriction, thus providing a basis for subsequently identifying hierarchical relationship constraints.
[0054] After each component stripping is completed, the system generates a set of remaining components for the corresponding stripping stage based on the components still retained. This set of remaining components records not only the specific identifiers of each component but also its type, business dimension category, hierarchical position, and vacancy status. For example, a set of remaining components for a particular stripping stage might consist of information such as "the basic data item is the number of enterprises, the time frame is this year, the administrative region dimension is Guiyang City, the industry dimension is manufacturing, and the district / county level position is a stripped-out vacancy." Different data indicators to be compared generate sets of remaining components in the same organizational manner within the same stripping stage, for subsequent stage-by-stage comparisons.
[0055] Through the above method, this implementation makes the comparison process of data indicators appear as a process of gradually eliminating limiting conditions. As business dimensions, time frames, and basic data items are successively stripped away according to their degree of influence, two originally different data indicators gradually converge towards their common component basis. Subsequently, by using the stage at which the two first form the same combination of remaining components, the type of component that caused the previous differences between the two can be determined in reverse, thereby providing a structured basis for locating the differing components and identifying the relationship between the data indicators.
[0056] Step 103 specifically involves comparing the remaining component combinations of different data indicators to be compared in the same stripping stage, and determining the target stripping stage where the first consistent combination occurs.
[0057] Comparing the remaining component combinations of different data metrics in the same stripping stage refers to comparing the remaining components after each data metric has undergone the same stripping operation. Since different data metrics are stripped synchronously according to the same preset component type order, the same degree of component elimination is achieved in the same stripping stage. This allows for a unified component hierarchy to determine whether different data metrics have converged to the same remaining component structure. The comparison process involves not only comparing the number of remaining components but also comparing the component type, hierarchy position, and component identifier of each remaining component to avoid incorrectly identifying a combination as identical simply because the number of remaining components is the same.
[0058] Specifically, the component type indicates whether the remaining component belongs to a basic data item, a time frame, or a business dimension. The hierarchical position primarily distinguishes the specific location of business dimensions with parent-child hierarchical relationships within the dimension structure. For example, although two remaining components both belong to administrative region business dimensions, one is a city-level dimension and the other a district / county-level dimension; therefore, their hierarchical positions differ, and they are not considered the same component. The component identifier identifies the specific component corresponding to the same component type and hierarchical position. For example, "Guiyang City" and "Zunyi City" both belong to city-level administrative region dimensions but have different component identifiers; therefore, they are still considered inconsistent in this separation stage.
[0059] In one implementation, sequential stripping stage numbers can be established according to a preset component type order. The initial state can be considered an unstripped stage. The first stripping stage is formed after the first component stripping is completed, the second stripping stage is formed after the second component stripping is completed, and so on. For each stripping stage, the remaining component combinations corresponding to each data index to be compared are read and compared item by item according to preset component positions. Only when the remaining component types, hierarchical positions, and component identifiers at the corresponding positions are the same, is that position determined to be consistent; only when all positions to be compared in the current stripping stage meet the above conditions is it determined that the different data indices to be compared form consistent combinations in that stage.
[0060] For example, the first data indicator to be compared is "the number of manufacturing enterprises in Nanming District, Guiyang City in 2025," and the second data indicator to be compared is "the number of manufacturing enterprises in Yunyan District, Guiyang City in 2025." Before the data stripping process, both have the same basic data item: the number of enterprises; the same timeframe: 2025; the same municipal administrative region: Guiyang City; and the same industry dimension: manufacturing. However, their district / county-level business dimensions are Nanming District and Yunyan District, respectively, resulting in inconsistent initial component combinations. After simultaneously stripping the district / county-level administrative region business dimensions according to the preset stripping order, both have remaining components such as the number of enterprises, 2025 data, Guiyang City data, and manufacturing data. Furthermore, the type, hierarchical position, and component identifier of each component are consistent. Therefore, it can be determined that the remaining component combinations at this stripping stage are consistent.
[0061] The first occurrence of consistent combination does not refer to any arbitrary stripping stage where consistency occurs, but rather to the first stripping stage that satisfies the consistency condition when comparing components sequentially from front to back according to the preset component types. Therefore, after determining that the current stripping stage is consistent, it is also necessary to check its previous stripping stage. If all remaining components in the current stripping stage are consistent, but at least one inconsistent component remained in the previous stripping stage, it indicates that the data index to be compared only changed from an inconsistent state to a consistent state after the current component was stripped. Therefore, the current stripping stage is determined as the target stripping stage. If the previous stripping stage already shows consistent combination, then although the current stage still shows consistency, it is not the first occurrence of consistency and is not considered a target stripping stage.
[0062] By simultaneously defining "consistency in the current stage" and "inconsistency in the previous stage," the target stripping stage can be positioned at the boundary where the data indicators to be compared transition from a state of difference to a state of common structure. For example, if two data indicators still have regional differences in the first stripping stage, but become consistent for the first time in the second stripping stage due to the removal of the regional dimension, and remain consistent even after further removal of the time frame in the third stripping stage, then the second stripping stage, rather than the third, should be identified as the target stripping stage. Therefore, based on what specific components were removed in the second stripping stage, the types of components that caused the previous differences between the two indicators can be determined in reverse.
[0063] For scenarios involving the layer-by-layer stripping of business dimensions, the target stripping stage can be precise down to the specific business dimension level. For example, the first data indicator might correspond to "the number of enterprises in Nanming District, Guiyang City," and the second data indicator might correspond to "the number of enterprises in Yunyan District, Guiyang City." If the two indicators still differ after stripping down to the lower-level street dimension, but become consistent for the first time after stripping down to the district / county level dimension, then the target stripping stage corresponds to the district / county level business dimension. As another example, if the first indicator is "the number of enterprises in Guiyang City" and the second is "the number of enterprises in Zunyi City," then even without district / county level differences, further stripping down to the city-level administrative region dimension is necessary for them to become consistent for the first time. This allows for further pinpointing the business dimension level at which the indicator differences occur by utilizing the specific level at which the initial overlap occurs.
[0064] The original empty space and the stripped empty space are not considered to be consistent in order to avoid false initial overlaps caused by different data indicators due to different original component configuration levels. An original empty space indicates that the data indicator did not have a corresponding component at that location before the current stripping operation, while a stripped empty space indicates that a component originally existed at that location but was removed due to the current or previous active stripping operation. Although both states may appear to indicate that there is no specific component at the current location, the data indicator constraint processes they reflect are different, and therefore need to be distinguished when comparing them.
[0065] For example, the first data indicator is "Number of Enterprises in Guiyang City," whose district / county-level administrative region location has no specific dimension from the initial state, thus this position is an original empty space. The second data indicator is "Number of Enterprises in Nanming District," whose district / county-level location originally had the "Nanming District" component, but after the district / county-level dimension was removed, it became an empty space. If we only compare whether the current position is empty, we might mistakenly assume that the two data indicators are completely consistent after the district / county-level dimension removal. However, the first indicator is originally a city-level statistical indicator, while the second indicator is the state obtained after the district / county-level indicator actively removes the district / county restriction; the two actually have a hierarchical relationship. Therefore, by stipulating that the original empty space and the removed empty space are not considered consistent, this difference in hierarchical origin can be preserved, allowing the system to continue to determine the correct data indicator relationship based on the component status.
[0066] When multiple vacancies exist in the same stripping stage, their states can be compared one by one according to the component type and hierarchical position corresponding to each vacancy. A position is considered consistent only if two data indicators to be compared have the same valid component at the corresponding position, or if they have the same vacancy state that meets preset consistency conditions. In the case of one being an original vacancy and the other a stripped vacancy, even if all other remaining components are identical, the current combination of remaining components is still judged as inconsistent. This avoids premature formal overlap of data indicators from different structural sources as a large number of components are removed, as the number of components decreases.
[0067] In this way, the target stripping stage actually represents the first critical stage in which different data indicators to be compared gradually change from structural inconsistency to structural consistency during the process of gradually removing component constraints. This critical stage retains, on the one hand, the maximum remaining combination of components that the two data indicators can both correspond to, and on the other hand, it is adjacent to the component stripping operation that causes the difference between the two to disappear.
[0068] Step 104 specifically involves determining the components that differ between the data indicators to be compared, based on the type of component to be stripped corresponding to the target stripping stage.
[0069] After identifying the target stripping stage, the next step is to determine whether the stripped components at that stage are indeed the cause of the differences in the various comparative data indicators. The previous step only found that different indicators became consistent for the first time at a certain stripping stage, but "first consistency" itself only indicates that there is a correlation between the stripped components and the indicator differences, and cannot directly rule out the possibility of accidental overlap or the combined influence of multiple components. Therefore, this step uses the method of "extracting the stripped components, restoring the stripped components, and observing whether inconsistency recurs" to perform reverse verification on the differing components.
[0070] In practice, the system first determines the type of component to be separated corresponding to the target separation stage. For example, if two indicators reach consistency for the first time after separating the district / county-level business dimension, the type of component to be separated for that target separation stage is the business dimension, which can be further limited to the district / county-level dimension within the administrative region dimension. If two indicators reach consistency for the first time after separating the time frame, the corresponding type of component to be separated is the time frame. By determining the type of component to be separated in advance, the system can avoid mistaking other separated components or components not participating in the current separation stage as different components in subsequent processing.
[0071] After determining the type of component to be stripped, the system extracts the target components belonging to that component type from each data indicator to be compared, components that were removed in the target stripping stage. For example, if the first data indicator is "number of manufacturing enterprises in Nanming District this year" and the second data indicator is "number of manufacturing enterprises in Yunyan District this year," and the remaining component combinations after stripping the district / county level business dimensions are the same, then the target components are "Nanming District" and "Yunyan District," respectively. At this point, the system will no longer use "this year," "manufacturing," or "number of enterprises" as target components for this step, because these components do not belong to the type of component to be stripped corresponding to the target stripping stage.
[0072] Subsequently, the system restores the extracted target components to their original positions in the corresponding data indicators. This restoration does not involve regenerating the indicators; rather, it involves placing the previously stripped components back into their original slots on the remaining, consistent component combinations. For example, "Nanming District" is restored to its district / county-level administrative region position in the first data indicator, and "Yunyan District" is restored to its district / county-level administrative region position in the second data indicator. After restoration, the system compares the component combinations of the two data indicators again to determine whether such components would cause the two indicators to revert from a consistent state to an inconsistent state.
[0073] If, after restoring the target component, the component combinations of different data indicators to be compared change from consistent to inconsistent, it indicates that the target component removed during the target stripping stage was the direct factor causing the disappearance of the difference between the two. At this point, the system further determines whether the component identifiers of these target components are different. If they belong to the same stripped component type but have different identifiers, they are identified as difference components. For example, "Nanming District" and "Yunyan District" both belong to the district / county-level administrative region dimension, but their component identifiers are different; therefore, they can be identified as difference components, thus indicating a difference in district / county classification between the two data indicators.
[0074] The significance of this recovery verification lies in the fact that it does not judge differences solely based on "identity after peeling," but further verifies "whether differences recur after the peeled component is put back." This forms a closed-loop judgment combining forward peeling and reverse recovery. Forward peeling is used to identify at which stage the indicators first overlap, while reverse recovery is used to confirm whether the peeled component at that stage truly caused a change in the overlap state, thereby improving the reliability of identifying differing components.
[0075] The situation becomes more complex when multiple components have been successively stripped before the target stripping stage. For example, two indicators may simultaneously exhibit differences at the county / district level, industry sub-category, and time frame, only reaching consistency after the stripping of multiple components. In this case, if only the last component stripped in the target stripping stage is identified as the differing component, components that have already been stripped and also exhibit differences may be overlooked. Therefore, this application further establishes a reverse, step-by-step recovery mechanism to distinguish between boundary-difference components and related difference components.
[0076] Specifically, when multiple components have been successively stripped, the system restores the stripped components one by one in the reverse order of stripping. That is, the last component removed during stripping is restored first, and the components removed earlier are restored later. After each component is restored, the system re-compares the component combinations of the data indicators to be compared to observe whether the two remain consistent or have changed from a consistent state to an inconsistent state.
[0077] When a recovery process causes the first shift in the composition of components of the compared data indicators from consistency to inconsistency, the recovered component can be identified as a boundary difference component. A boundary difference component is the component that first causes the two indicators to re-emerge as a difference during the backtracking process from an overlapping state to a differing state. It typically corresponds to the most critical difference location near the target stripping stage and characterizes the structural transition boundary where the two indicators change from different to the same.
[0078] For stripped components that still exhibit differences after the boundary difference components, they can be identified as associated difference components. Here, "after" refers to other components that are recovered after the boundary difference components are recovered during the reverse recovery process. If these components still exhibit differences in component identifier, hierarchical position, or component type among the data indicators to be compared, it indicates that although they were not the first components to cause the combination to re-split, they still participate in forming the complete difference structure between the two indicators, and therefore are retained as associated difference components.
[0079] For example, the first data indicator is "the number of manufacturing enterprises in Nanming District this year," and the second data indicator is "the number of wholesale enterprises in Yunyan District last year." If the two indicators are consistent for the first time after the system sequentially strips away the district / county level dimension, industry dimension, and time frame, it indicates that multiple components have been continuously stripped away before the target stripping stage. When restoring in reverse order, restoring the time frame first might reveal that "this year" and "last year" cause the two indicators to become inconsistent again; in this case, the time frame can be used as a boundary difference component. If, when continuing to restore the industry and district / county levels, "manufacturing" and "wholesale," or "Nanming District" and "Yunyan District" are still different, these components can be used as related difference components. The final difference identification result will not only contain a single difference but will also express the primary and secondary relationships and correlations between multiple difference components.
[0080] Through the above processing, this step avoids simply outputting a general "inconsistency" conclusion in scenarios with multiple component differences, and also avoids outputting all differing components indiscriminately. The system can first identify the boundary difference components that cause the indicator to split again from a consistent state, and then further retain the related difference components that coexist with the difference, thereby making the data indicator relationship identification results more refined. For example, it can be identified as "the main difference is the time caliber, and the related differences are the district / county dimension and the industry dimension", or as "the main difference is the last-level business dimension, and the related difference is the scope defined by the upper-level dimension".
[0081] Step 105 specifically involves generating data index relationship identification results based on the difference components.
[0082] The method of generating data index relationship identification results based on the difference components refers to classifying the relationship between the data indexes to be compared based on the component type to which the difference components belong and the structural relationship between the difference components after the specific components causing the structural differences in the data indexes to be compared have been identified.
[0083] When the difference component is a business dimension, the dimension category, hierarchical position, parent dimension, and component identifier of the business dimension corresponding to different data indicators to be compared can be read. First, it is determined whether different business dimensions belong to the same dimension category, such as administrative region, industry classification, or enterprise size. If they belong to the same dimension category and are at the same level, but the component identifiers are different, then a sibling classification relationship can be determined between the two data indicators to be compared. For example, the regional components of "Number of Manufacturing Enterprises in Guiyang City" and "Number of Manufacturing Enterprises in Zunyi City" are both at the municipal administrative region level, but correspond to different municipal nodes; therefore, they can be identified as having a sibling classification relationship based on the administrative region dimension.
[0084] If different business dimensions belong to the same category but correspond to different hierarchical positions, then the existence of a superior-subordinate relationship can be further determined based on the parent-child hierarchical path. For example, the business dimension "Number of Enterprises in Guiyang City" corresponds to a city-level node, while the business dimension "Number of Enterprises in Nanming District" corresponds to a district / county-level node, and the parent node of the Nanming District node is Guiyang City. Therefore, a superior-subordinate relationship can be determined between the two indicators. This superior-subordinate relationship indicates that the two indicators have the same or corresponding basic statistical objects, but one indicator further narrows its statistical scope through a lower-level business dimension. In this way, it is possible to distinguish between "differences between two parallel regions" and "differences between a superior scope and a subordinate scope."
[0085] When the same data indicator has multiple business dimensions, the specific dimensions identified as difference components can be judged separately. For example, if two data indicators have the same administrative region dimension, but their industry dimensions are "manufacturing" and "wholesale" respectively, then only the industry dimension will be used to generate a sibling classification relationship, without repeatedly including the same administrative region dimension in the difference relationship. If boundary difference components and related difference components have been identified, the differences in the main business dimensions and other accompanying business dimension differences can also be recorded in the data indicator relationship identification results, thereby reflecting the composite limiting relationship between the two indicators.
[0086] When the difference component is a time frame, the statistical start time, statistical end time, and statistical period corresponding to each data indicator to be compared can be obtained, and the inclusion or misalignment status between different statistical time ranges can be compared. Inclusion status refers to one statistical time range being completely within another. For example, if one indicator uses a "year-to-date" time frame and another indicator uses a "month-to-date" time frame, and the "month-to-date" range is within the "year-to-date" range, then the two indicators can be identified as having a time frame inclusion relationship.
[0087] A misaligned state refers to different timeframes having the same or similar statistical length, but different start and end points. For example, one indicator might calculate data for the entire year of 2025, while another calculates data for the entire year of 2024. The two timeframes are roughly the same length, but their positions on the timeline differ, which can be identified as a periodically misaligned timeframe relationship. Similarly, if one indicator calculates data for the current month, while another calculates data for the previous month, this can also be identified as an adjacent periodic timeframe relationship based on the length of their statistical periods and the relative positions of their start and end points.
[0088] When the difference components are based on basic data items, the difference relationship of the basic source can be determined based on the data source identifiers associated with different basic data items. Specifically, the source tables, source fields, data interfaces, or unique identifiers of the basic data items corresponding to different basic data items can be compared. When the time frame and business dimension of two data indicators to be compared have been determined to have a common structure through component stripping, but their basic data items are still different, it indicates that the difference between the two data indicators involves the statistical object or the data source itself. For example, if one indicator comes from the "number of registered enterprises" field in enterprise registration data, and another indicator comes from the "number of taxpayer enterprises" field in tax data, even if they use the same region and the same time range, they should be identified as having a difference relationship of basic source, and cannot be judged as the same statistical indicator simply because the indicator names are similar.
[0089] After obtaining the relationships between sibling categories, hierarchical relationships, time-based relationships, or differences in basic sources, the system associates the corresponding relationship types, corresponding difference components, and the data indicators to be compared to form the final data indicator relationship identification result. The data indicator relationship identification result can at least record the identifier of the first data indicator to be compared, the identifier of the second data indicator to be compared, the relationship type, the type of difference component, the component identifier of the difference component corresponding to each indicator, and the hierarchical position of the business dimension. For cases with multiple difference components, boundary difference components and associated difference components can also be recorded to characterize the relationship between the main difference and accompanying differences.
[0090] For example, for "Number of Manufacturing Enterprises in Guiyang City This Year" and "Number of Manufacturing Enterprises in Zunyi City This Year," the data indicator relationship can be identified as follows: the two indicators have a hierarchical classification relationship at the administrative region level, with the corresponding difference components being Guiyang City and Zunyi City, respectively. For "Number of Enterprises in Guiyang City This Year" and "Number of Enterprises in Nanming District This Year," a hierarchical relationship can be generated, with the corresponding difference components being Guiyang City and Nanming District, respectively. For "Number of Enterprises in Guiyang City This Year" and "Number of Enterprises in Guiyang City Last Year," a time-based relationship can be generated, recording the difference timeframes as this year and last year, respectively. Thus, the final result not only explains the relationship between the two indicators but also identifies the specific components that cause this relationship.
[0091] To avoid accidental initial overlaps caused by the pre-defined component type order, this application can further perform a stripping order perturbation verification before formally generating the data indicator relationship identification results. This verification does not involve changing the actual components of the data indicators to be compared, but rather manually adjusting the positions of the identified differing components during the stripping process, and observing whether the initial position of the consistent combination changes accordingly with the stripping position of the differing components. In this way, it can be determined whether the previously identified differing components truly control the timing of the transition from inconsistency to consistency between the two data indicators.
[0092] In practice, the first step is to determine the position of the differing component within the original preset component type order, and then select adjacent components to exchange their stripping order. For example, if the original component stripping order is bottom-level business dimension, top-level business dimension, time frame, and basic data item, and the time frame is initially determined to be the differing component, then the time frame can be swapped with its preceding adjacent top-level business dimension, forming a disturbed stripping order of bottom-level business dimension, time frame, top-level business dimension, and basic data item. Alternatively, the differing component can be swapped with its next adjacent component as needed, but it is not necessary to arbitrarily arrange all components to control the scope of the disturbance.
[0093] After generating the perturbation stripping order, the system re-performs component stripping on the same data indicators to be compared according to the new order. During the re-stripping process, the same rules for comparing the remaining components as in the original process are still used, including component type, hierarchical position, component identifier, and the rules for distinguishing between original and stripped empty spaces. Therefore, the only actively changed condition between the original and perturbation stripping processes is the timing of the stripping of the differing components, ensuring the comparability of the two results.
[0094] The initial consensus, which changes synchronously with the removal position of the differing component, means that when the differing component is removed earlier or later in the perturbation removal sequence, the stage at which the remaining components of the data to be compared first show consensus also changes accordingly, and this initial consensus still occurs after the differing component has been removed. For example, if the timeframe is at the third removal position in the original removal sequence, and the two indicators first coincide after the timeframe is removed in the third stage; if the timeframe is moved to the second removal position, and the two indicators also first coincide after the timeframe is removed in the second stage, it indicates that the initial coincidence position advances synchronously with the removal position of the timeframe, further confirming that the timeframe is indeed the key component controlling the disappearance of the structural differences between the two indicators.
[0095] The essence of this perturbation verification lies in observing whether the "overlapping position follows the movement of the differing component." If a component is indeed the main difference causing the previous inconsistency between the two indicators, then, under the condition that other factors remain basically unchanged, changing the timing of the component's removal should generally change the timing at which the two indicators reach consistency. Therefore, this application does not simply determine the difference based on the results under a fixed removal sequence, but rather observes the structural changes again by actively changing the removal sequence, thus providing further verification evidence for the determination of the differing component.
[0096] If, after reprocessing according to the perturbation stripping order, the differing components have been removed, but the two data indicators to be compared still cannot reach consistency, and consistency only appears after further stripping of adjacent components, it indicates that the previously identified differences were not caused by a single component alone, but rather by the combined effect of at least adjacent components. In this case, the differing component and its corresponding adjacent component can be identified as coupled differing components. Coupled differing components refer to two or more components that need to be eliminated together for the data indicators to be compared to transition from an inconsistent state to a consistent state.
[0097] For example, the first indicator might be "the number of enterprises in Nanming District this year," and the second indicator might be "the number of enterprises in Guiyang City last year." Under a certain initial separation order, there might be initial overlap after the separation of timeframes, thus initially identifying the timeframe as a discrepancy component. However, when the timeframe is separated earlier, the two indicators still have hierarchical differences in business dimensions between Nanming District and Guiyang City after the timeframe is removed. Consistency can only be achieved after further processing of the administrative region business dimension. In this case, it can be determined that the timeframe and the administrative region business dimension jointly contribute to the structural difference between the two indicators, and they can be identified as coupled discrepancy components.
[0098] For identified coupled difference components, when generating the final data indicator relationship identification result, multiple corresponding relationship types can be recorded simultaneously. For example, if one indicator has both time caliber differences and hierarchical limitations with another indicator, the data indicator relationship identification result can record that the time frame and business dimension constitute the coupled difference, and separately record the specific time frame component, business dimension component, and their hierarchical position. This avoids forcibly reducing two indicators with complex differences to a single relationship, improving the completeness of expressing complex indicator relationships.
[0099] Through the above processing, this application forms a complete processing chain of "identifying difference components, determining relationship types, verifying perturbations in the stripping order, confirming single differences or identifying coupled differences, and generating the final data indicator relationship identification results." In particular, by adjusting the stripping position of the difference components and observing whether the initial overlap position shifts accordingly, the original difference identification results can be actively verified, thereby reducing the risk of accidental overlap caused by a fixed stripping order and further identifying situations where multiple components jointly cause indicator differences.
[0100] In one implementation, when perturbing the differing component, the stripping order is not simply swapped with an adjacent component once; instead, both early and late perturbations are performed. Early perturbation moves the differing component forward by at least one stripping position in the preset component type order, while late perturbation moves it backward by at least one stripping position. The first stripping stage of consistent combination is recorded under both perturbation conditions. If the first consistent combination stage is also advanced by one stage when the differing component is advanced by one stripping position, and the first consistent combination stage is also delayed by one stage when the differing component is delayed by one stripping position, then it is determined that the first consistent combination position and the stripping position of the differing component have a synchronous migration relationship. This further confirms that the differing component is an effective differing component for controlling the transformation of the compared data indicators from inconsistency to consistency.
[0101] Furthermore, the positional changes of the differential component in the original stripping sequence and each perturbation stripping sequence can be recorded, along with the corresponding positional changes in the first assembly consistency stage. When the directions of change are the same and the amounts of change are consistent, it is determined that the differential component has an independent differential effect. For example, if the differential component moves from the third stripping position to the second stripping position, and the first assembly consistency stage also moves from the third stage to the second stage, it indicates that the overlap boundary of the data indicators to be compared migrates synchronously with the differential component. If the differential component has moved two positions forward, but the first assembly consistency stage only moves one position forward, or remains unchanged, it indicates that the first assembly consistency is not entirely independently controlled by the differential component, and further, components located between the original position of the differential component and the new first assembly consistency position are identified as candidate related components.
[0102] In another implementation, a bypass stripping verification can be performed on the associated candidate components. Specifically, the already identified difference components are not stripped yet. The associated candidate components are stripped first according to the perturbation stripping order, and it is determined whether the data indicators to be compared can form a consistent combination. If stripping only the associated candidate components cannot form a consistent combination, but stripping the difference components can form a consistent combination, then the difference component is retained as the main difference component. If stripping only the difference components also cannot form a consistent combination, but a consistent combination is formed only after both the difference component and the associated candidate components have been stripped, then the two are identified as coupled difference components. In this way, the individual stripping and joint stripping states of components can be used to distinguish between independent differences and coupled differences.
[0103] For cases with more than two coupling discrepancies, a minimum set of coupling components can be further determined. In practice, from the identified coupling discrepancies, one component is retained sequentially while the remaining components are removed. The data metrics to be compared are then compared to see if they can still achieve a consistent combination. If retaining a component results in a renewed inconsistency in the combination, it indicates that the component is necessary to maintain the metric discrepancy. If retaining a component but the two metrics can still achieve a consistent combination, it indicates that the component is not necessary to form the current coupling discrepancy and can be excluded from the set of coupling discrepancies. This process is repeated until deleting any remaining component would prevent the data metrics from achieving a consistent combination. The final set of retained components is then determined as the minimum set of coupling components.
[0104] For example, two data metrics to be compared may exhibit differences across timeframe, administrative region, and industry dimensions. Under the original stripping order, consistency is only achieved after all three components have been stripped. The system can verify this by retaining only the timeframe, administrative region, or industry dimension. If restoring only the industry dimension results in consistency between the two metrics, while restoring either the timeframe or administrative region dimension causes them to become inconsistent again, then the industry dimension can be excluded, and the timeframe and administrative region dimensions can be identified as the least coupled component group. This avoids lumping all components with simultaneous differences into a single coupled difference component.
[0105] Furthermore, during perturbation stripping, fixed components can be set as perturbation anchor points. These fixed components are those whose stripping positions remain unchanged throughout both the original stripping process and the perturbation stripping process. Examples include basic data items or upper-level business dimensions that are determined to be completely consistent in the two data metrics to be compared. Each time, only the stripping order of the target difference component and its adjacent components is changed; the positions of the remaining components relative to the perturbation anchor point remain unchanged. This avoids the situation where multiple components change positions simultaneously, making it impossible to determine which component caused the change after the initial consistency stage, thus making the perturbation verification more closely resemble a single variable change.
[0106] Furthermore, the overlapping migration direction corresponding to the differing components can be recorded. When the differing component moves forward, the initial combination agreement phase continues to move forward; when the differing component moves backward, the initial combination agreement phase continues to move backward. This change is recorded as a positive following state. When the position of the differing component changes but the initial combination agreement phase remains unchanged, it is recorded as a no-following state. When the differing component moves forward while the initial combination agreement phase moves backward, it is recorded as a reverse following state. For a positive following state, the differing component can be identified. For a no-following state, the independent difference effect of the differing component can be reduced, and the search for related components can continue. For a reverse following state, it can be determined that there is a stripping order dependency between the differing component and the adjacent component that was exchanged, and the two can be further verified as coupled differing components.
[0107] In this embodiment, instead of simply using a single component transposition to determine differences, the differing components are repeatedly verified through early and late perturbations, as well as the synchronous migration state during the initial assembly consistency phase. Furthermore, independent and coupled differing components are identified through bypass stripping. For multiple coupled components, the minimum coupled component group can be obtained by retaining each component individually. This allows the final identification result to distinguish between independent differences, associated differences, and minimum coupled differences, improving the accuracy and interpretability of complex data indicator relationship identification.
[0108] The methods provided in this application can be applied to various application scenarios, including but not limited to: when different departments upload reports or call existing indicators, by progressively separating basic data items, time frames, and business dimensions, the relationships between indicators with similar names but different statistical calibers can be identified; they can also be applied to enterprise data warehouses or business analysis platforms to classify similar indicators in different reports and subject areas at the same level, define hierarchical restrictions, and identify time caliber relationships; in addition, they can be used in the process of indicator library cleaning and standardization to perform structured comparison of suspected duplicate indicators, related indicators, and multi-component difference indicators, providing a basis for indicator merging, mapping, reuse, and subsequent maintenance.
[0109] According to another embodiment, a data index relationship identification system based on component stripping is provided. Figure 4 A schematic block diagram of a data index relationship identification system based on component stripping is shown according to one embodiment. Figure 4 As shown, the system includes:
[0110] The indicator acquisition module 401 is used to acquire the data indicators to be compared in the indicator library, and extract the basic data items, time frame, business dimension and hierarchical position corresponding to each data indicator to be compared.
[0111] The component stripping module 402 is used to strip the corresponding components from the data indicators to be compared according to the preset component type order, and generate the remaining component combination of each stripping stage.
[0112] The combination comparison module 403 is used to compare the remaining component combinations of different data indicators to be compared in the same stripping stage, and to determine the target stripping stage where the first combination is consistent.
[0113] The difference determination module 404 is used to determine the difference components between the data indicators to be compared based on the type of the component to be stripped corresponding to the target stripping stage.
[0114] The relationship identification module 405 is used to generate data index relationship identification results based on the difference components.
[0115] As an implementable approach, the indicator acquisition module 401, when extracting the basic data items, timeframes, business dimensions, and hierarchical positions corresponding to each data indicator to be compared, includes: determining the basic data items based on the data source identifier associated with the data indicator to be compared; determining the timeframe based on the statistical start and end range corresponding to the data indicator to be compared; determining the business dimensions based on the classification constraints included in the data indicator to be compared, and recording the hierarchical positions corresponding to each business dimension according to the parent-child hierarchical relationship of the business dimensions.
[0116] As an implementable approach, the preset component type order in the component stripping module 402 is determined based on the degree of change each component makes to the data indicator's defined range. This includes: removing any type of component from the business dimension, time frame, and basic data item respectively, determining the change state of the corresponding data range before and after removal, and arranging the corresponding component types according to the order of data range change from local to overall change to generate the preset component type order.
[0117] As an implementable approach, when the component stripping module 402 strips corresponding components from the data indicators to be compared according to a preset component type order to generate the remaining component combinations for each stripping stage, the following steps are included: determining the current component type to be stripped according to the preset component type order, and synchronously removing the corresponding components from each data indicator to be compared; when the current component type includes multiple business dimensions with parent-child hierarchical relationships, removing the corresponding business dimensions layer by layer in the order from child to parent; recording the original position of the corresponding component before each removal, and marking the position formed by the removal of the component as a stripping vacancy, and marking the position where no corresponding component was configured before removal as the original vacancy; generating the remaining component combination for the corresponding stripping stage based on the components retained after each stripping.
[0118] As an implementable approach, the combination comparison module 403 determines the target stripping stage where the combination is consistent for the first time by: when the type, hierarchical position and component identification of each remaining component in the current stripping stage are consistent, and there is at least one inconsistent component in the previous stripping stage, the current stripping stage is determined as the target stripping stage, wherein the original empty space and the stripped empty space are not determined to be consistent.
[0119] As an implementable approach, when the difference determination module 404 determines the difference components between the data indicators to be compared based on the type of component to be stripped corresponding to the target stripping stage, it includes: determining the type of component to be stripped corresponding to the target stripping stage, and extracting target components belonging to the type of component to be stripped and removed in the target stripping stage from each data indicator to be compared; restoring each target component to its original position in the corresponding data indicator to be compared, and comparing the restored component combinations; when the component combinations of different data indicators to be compared change from consistent to inconsistent after restoration, the target components belonging to the type of component to be stripped and with different component identifiers are determined as difference components.
[0120] As an implementable approach, when multiple components are continuously stripped before the target stripping stage, the difference determination module 404 determines the difference components by: restoring the stripped components one by one in the reverse order of component stripping, and comparing the component combinations of the data indicators to be compared after each restoration; determining the restored component that first causes the component combination to change from consistent to inconsistent as the boundary difference component, and determining the stripped components that still have differences after the boundary difference component as the associated difference component.
[0121] As an implementable approach, when generating data indicator relationship identification results based on the difference components, the relationship identification module 405 includes: when the difference component is a business dimension, determining a peer-to-peer classification relationship or a hierarchical limitation relationship based on the hierarchical position corresponding to different business dimensions; when the difference component is a time frame, determining a time caliber relationship based on the inclusion or misalignment state between different statistical time ranges; when the difference component is a basic data item, generating a basic source difference relationship; and associating the determined peer-to-peer classification relationship, hierarchical limitation relationship, time caliber relationship, or basic source difference relationship with the corresponding difference components to the data indicators to be compared, generating the data indicator relationship identification results.
[0122] As an implementable approach, before generating the data index relationship identification result, the relationship identification module 405 further includes: adjusting the order of stripping the differential component and adjacent components according to the position of the differential component in the preset component type order to generate a perturbation stripping order; re-stripping the data index to be compared according to the perturbation stripping order, and redetermining the first stripping stage where the combination is consistent; when the redetermined first combination consistency occurs after the differential component is stripped and changes synchronously with the stripping position of the differential component, the differential component is confirmed; otherwise, the differential component and adjacent components are identified as coupled differential components.
[0123] The technical solutions provided in this application have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the methods and core ideas of this application. Furthermore, those skilled in the art will recognize that, based on the ideas of this application, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A method for identifying data index relationships based on component stripping, characterized in that, include: Obtain the data metrics to be compared from the metric library, and extract the basic data items, time frame, business dimension, and hierarchical position corresponding to each data metric to be compared. According to the preset component type order, the corresponding components are stripped from the data indicators to be compared, and the remaining component combinations of each stripping stage are generated. Compare the remaining component combinations of different data metrics in the same stripping stage, and determine the target stripping stage where the first combination of components is consistent; Based on the type of component being stripped corresponding to the target stripping stage, determine the components that differ between the data indicators to be compared; Data index relationship identification results are generated based on the difference components.
2. The method according to claim 1, characterized in that, The extraction of the basic data items, timeframes, business dimensions, and hierarchical positions corresponding to each data metric to be compared includes: The basic data items are determined based on the data source identifier associated with the data indicators to be compared; Determine the time frame based on the start and end range of the statistics corresponding to the data indicators to be compared; The business dimensions are determined based on the classification constraints included in the data metrics to be compared, and the hierarchical position of each business dimension is recorded according to the parent-child relationship of the business dimensions.
3. The method according to claim 1, characterized in that, The preset component type order is determined based on the degree to which each component changes the range of data indicators, including: Remove any type of component from the business dimension, time frame, and basic data item respectively, and determine the change in the data range of the corresponding data indicators before and after the removal; Arrange the corresponding component types according to the order of data range from local changes to overall changes, and generate the preset component type order.
4. The method according to claim 1, characterized in that, The step of extracting corresponding components from the data indicators to be compared according to a preset component type order, and generating the remaining component combinations for each extraction stage, includes: The component type to be stripped is determined according to the preset component type order, and the corresponding component is removed synchronously from each comparison data index. When the current component type includes multiple business dimensions with parent-child hierarchical relationships, the corresponding business dimensions are removed layer by layer in the order from child to parent. Record the original position of the corresponding component before each removal, and mark the position formed by the removal of the component as the stripping empty space, and mark the position where no corresponding component was configured before removal as the original empty space; Generate the remaining component combination for the corresponding stripping stage based on the components retained after each stripping.
5. The method according to claim 1, characterized in that, The determination of the first occurrence of a consistent target stripping phase includes: When the type, hierarchical position and component identification of all remaining components in the current stripping stage are consistent, and there is at least one inconsistent component in the previous stripping stage, the current stripping stage is determined as the target stripping stage. In this case, the original empty space and the stripped empty space are not considered to be consistent.
6. The method according to claim 1, characterized in that, The step of determining the difference components between the data indicators to be compared based on the type of component to be stripped corresponding to the target stripping stage includes: Determine the type of component to be stripped corresponding to the target stripping stage, and extract the target component that belongs to the type of component to be stripped and is removed in the target stripping stage from each comparison data index; Each target component is restored to its original position in the corresponding data index to be compared, and the restored component combinations are compared. When the combination of components with different data indicators to be compared changes from consistent to inconsistent after recovery, the target component that belongs to the type of the stripped component and has a different component identifier is identified as the difference component.
7. The method according to claim 1, characterized in that, When multiple components have been successively peeled off prior to the target peeling stage, the determination of the differential components includes: The stripped components are restored one by one in the reverse order of component stripping, and the component combinations with the data indicators to be compared are compared after each restoration. The recovery component that first causes the component combination to change from consistent to inconsistent is identified as the boundary difference component, and the stripped component that still has differences after the boundary difference component is identified as the associated difference component.
8. The method according to claim 1, characterized in that, The step of generating data indicator relationship identification results based on the difference components includes: When the difference component is a business dimension, the same-level classification relationship or superior-subordinate restriction relationship is determined according to the hierarchical position corresponding to different business dimensions. When the difference component is a time frame, the time caliber relationship is determined based on the inclusion or misalignment status between different statistical time ranges. When the difference component is the underlying data item, the underlying source difference relationship is generated; Based on the determined peer classification relationship, hierarchical limitation relationship, time caliber relationship or basic source difference relationship, and the corresponding difference components associated with the data indicators to be compared, the data indicator relationship identification result is generated.
9. The method according to claim 1, characterized in that, Before generating the data indicator relationship identification result, the following steps are also included: Based on the position of the differential component in the preset component type order, the peeling order of the differential component and the adjacent component is adjusted to generate a disturbance peeling order; The data indicators to be compared are re-examined according to the disturbance stripping order, and the stripping stage where the first combination is consistent is re-determined. The different component is confirmed when the first reconfirmed combination occurs after the different component has been peeled off, and when the peeling position of the different component changes synchronously. Otherwise, the difference component and the adjacent component are identified as coupled difference components.
10. A data index relationship identification system based on component stripping, characterized in that, include: The indicator acquisition module is used to acquire the data indicators to be compared from the indicator library, and extract the basic data items, time frame, business dimension and hierarchical position corresponding to each data indicator to be compared. The component stripping module is used to strip the corresponding components from the data indicators to be compared according to the preset component type order, and generate the remaining component combination at each stripping stage. The combination comparison module is used to compare the remaining component combinations of different data indicators to be compared in the same stripping stage, and to determine the target stripping stage where the first combination is consistent. The difference determination module is used to determine the difference components between the data indicators to be compared based on the type of component to be stripped corresponding to the target stripping stage. The relationship identification module is used to generate data index relationship identification results based on the difference components.
