An adaptive desensitization method and system for cross-system data aggregation
By standardizing cross-system data and performing multimodal correlation feature analysis, the correlation relationships between heterogeneous fields are identified. Combined with contextual attributes and desensitization strategies, adaptive desensitization of cross-system data aggregation is achieved, solving the accuracy and security issues of cross-system data association and improving the consistency and traceability of data processing.
Patent Information
- Application Number
- CN202611596461.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-15
- Publication Date
- 2026-11-24
AI Technical Summary
Existing technologies struggle to accurately identify relationships between heterogeneous fields across systems and lack differentiated de-identification mechanisms, leading to increased data association risks or loss of cross-system relationships, making it impossible to effectively coordinate data security and availability.
By acquiring the contextual attributes of the aggregation task, the metadata of the data assets is standardized, multimodal association fingerprint features are extracted, the similarity between fields is calculated, record-level entity alignment is performed, an entity alias mapping table is established, association strength scores are calculated, a unified entity key is generated, and adaptive desensitization processing is performed by matching differentiated strategies with a desensitization strategy library.
It improves the accuracy of cross-system association identification and the reliability of entity mapping, ensuring the protection requirements of sensitive data, while retaining the necessary cross-system association analysis capabilities, and improving the consistency and traceability of de-identification processing.
Smart Images

Figure CN123158686A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the fields of data security processing and data governance technology, and more specifically, to an adaptive de-identification method and system for cross-system data aggregation. Background Technology
[0002] As the number of enterprise information systems increases, data consolidation is often required between different business systems to support unified data management and cross-system data analysis. Because field names, field types, encoding rules, and data formats often differ across data sources, existing technologies typically rely on manual configuration, field name matching, or preset mapping rules to identify cross-system related fields. This makes it difficult to accurately identify heterogeneous fields and data values that actually correspond to the same business entity in different systems.
[0003] Meanwhile, existing data masking solutions typically employ a uniform and consistent approach to related fields, lacking a mechanism for differentiated processing based on the degree of association. This can easily lead to excessive maintenance of mapping consistency, increasing the risk of data association issues, or independent masking resulting in the loss of cross-system relationships. Furthermore, existing masking strategies usually select based primarily on the sensitivity attributes of the fields themselves, without fully considering task context factors such as the degree of association, purpose of use, target environment, and user permissions. This makes it difficult to coordinate data security with cross-system data availability.
[0004] Therefore, how to automatically identify heterogeneous relationships across systems and implement adaptive desensitization processing based on field sensitivity, degree of association, and the context of the data aggregation task is a problem that needs to be solved in the process of cross-system data aggregation. Summary of the Invention
[0005] This application proposes an adaptive desensitization method and system for cross-system data aggregation to solve the above-mentioned technical problems.
[0006] The technical solution adopted in this application is as follows: In a first aspect, embodiments of this application provide an adaptive de-identification method for cross-system data aggregation, including: Obtain the aggregation task and the metadata of the data assets to be aggregated from multiple data sources involved in the aggregation task, obtain the context attributes of the aggregation task, standardize the field information in the data asset metadata, and generate a unified field record. The context attributes include at least the purpose of use, the target environment, and user permissions. Multimodal association fingerprint features are extracted from the unified field record, the fingerprint feature similarity between fields from different data sources is calculated, and a cross-system association field candidate set is determined based on the fingerprint feature similarity. Perform record-level entity alignment on the original data values corresponding to the associated fields in the cross-system associated field candidate set, establish an entity alias mapping table based on the source system identifier and the original data value, and map heterogeneous original data values pointing to the same real entity to a globally unique unified entity key; The association strength score of the candidate association is calculated by combining the fingerprint feature similarity, value range overlap rate and reference co-occurrence. The corresponding association level is determined according to the association strength score. Then, the association field group and the corresponding association field group identifier are generated according to the candidate association and its association level. A basic sensitivity score is calculated based on the multidimensional recognition features recorded in the unified field. A basic sensitivity level is determined based on the basic sensitivity score, and an effective sensitivity level is determined by combining the contextual attributes of the aggregation task. Based on the unified entity key, a permanent anchor point corresponding to the real entity is generated through the unified mapping service. This anchor point remains unchanged across tasks and is not output externally. Based on the effective sensitivity level, the association level, and the context attributes of the aggregation task, a differentiated and consistent desensitization strategy is matched from the desensitization strategy library, and the corresponding target desensitization algorithm constraints are determined. The unified mapping service is invoked, and for fields that need to maintain mapping consistency, a task-level de-identification identifier is generated based on the task key of the aggregation task, the permanent anchor point, and the target de-identification algorithm constraints. De-identification processing is then performed according to the matching consistency de-identification strategy to generate the de-identified aggregation dataset.
[0007] Preferably, the process involves extracting multimodal association fingerprint features from the unified field record and calculating the fingerprint feature similarity between fields from different data sources, including: Extract the structural features, value range distribution features, and reference relationship features corresponding to each unified field record. The structural features include at least one of the following: field data type, field length, prefix or suffix pattern, and encoding rule features. The value range distribution features include at least one of the following: value range sparsity, null value rate, repetition rate, and value range shape features. The reference relationship features include at least one of the following: field reference frequency, number of times the field appears in related queries, and primary key or foreign key tagging information. The structural features, value range distribution features, and reference relationship features are encoded and normalized respectively, and the processed features are fused to generate an associated fingerprint vector. Generate field semantic features based on field name, field annotation, business tag, and field type, and use the field semantic features as pre-screening conditions for candidate fields or as correction features for fingerprint feature similarity. Calculate the similarity between the associated fingerprint vectors corresponding to fields from different data sources. When the similarity reaches a first association threshold, the corresponding field is automatically added to the cross-system associated field candidate set. When the similarity is lower than the first association threshold and reaches a second association threshold, the corresponding field is marked as an associated field to be confirmed. The first association threshold is greater than the second association threshold.
[0008] Preferably, performing record-level entity alignment on the original data values corresponding to the associated fields in the cross-system associated field candidate set includes: According to the preset entity matching priority, the original data values corresponding to the associated fields in different data sources are matched sequentially using existing master data or bridging table matching, historical association query or data lineage matching, business primary key combination or encoding conversion rule matching, and entity matching based on attribute similarity. Matching results that are lower than the preset entity matching confidence level are identified as results to be confirmed. Generate a unified entity key for the original data values that match the same real-world entity, and establish the entity alias mapping table; The entity alias mapping table records at least the source system identifier, original data value, unified entity key, matching confidence, matching source, and update time, so that heterogeneous original data values from different source systems can establish a mapping relationship with the same unified entity key through the corresponding source system identifier and original data value.
[0009] Preferably, the association strength score of the candidate association is calculated, the corresponding association level is determined based on the association strength score, and an association field group and a corresponding association field group identifier are generated, including: The association strength score is obtained by weighting the fingerprint feature similarity, value range overlap rate, reference co-occurrence frequency and association confirmation results. The value range overlap rate is determined based on the degree of overlap between the unified entity key set formed after the original data values of different association fields are aligned at the record level. Based on multiple preset strength thresholds, candidate associations are divided into strong association, medium association, weak association, and zero association. Each unified field record is used as a node in the field-level association graph. Candidate associations and their association strength scores are used as edges. The edges corresponding to strong associations are aggregated. Field nodes connected by strong association edges are determined to be the same associated field group, and an associated field group identifier is assigned to the associated field group. The edges corresponding to medium associations are identified as conditional association edges, and the edges corresponding to weak associations and zero associations are excluded from the mandatory consistency association field group. Specifically, when the association level is strong, heterogeneous original data values mapped to the same unified entity key within the same association field group are identified as processing objects that must maintain cross-system mapping consistency; when the association level is medium, heterogeneous original data values are identified as processing objects that need to maintain cross-system mapping consistency only when the aggregation result contains association fields corresponding to multiple data sources; when the association level is weak or zero, cross-system mapping consistency is not required between corresponding fields, and desensitization processing is performed according to the desensitization strategy corresponding to each field.
[0010] Preferably, a basic sensitivity score is calculated, a basic sensitivity level is determined based on the basic sensitivity score, and an effective sensitivity level is determined by combining the contextual attributes of the aggregation task, including: For unified field records, extract field name features, field type features, field comment features, data content pattern features, rule dictionary features, and historical confirmation features. After normalizing each identification feature, perform weighted calculation to obtain the basic sensitivity score of the corresponding field. The historical confirmation feature is Laplace smoothed and is determined based on the number of times the corresponding field is confirmed as a sensitive field and the number of times it is confirmed as a non-sensitive field in historical tasks. The basic sensitivity level is determined based on the basic sensitivity score and the sensitivity type, identifiability, leakage impact, and business rules corresponding to the field. Based on the purpose of the aggregation task, the target environment, user permissions, and the output method, the basic sensitivity level is adjusted to obtain the effective sensitivity level. The adjusted effective sensitivity level shall not be lower than the preset security baseline level corresponding to the target environment and user permissions.
[0011] Preferably, the unified mapping service performs the following processing for fields that need to maintain mapping consistency: The entity alias mapping table is queried based on the source system identifier and the original data value to determine the corresponding unified entity key; The unified entity key is processed using a preset deterministic identifier generation algorithm to generate the permanent anchor point, and the original data values from different source systems belonging to the same unified entity key are bound to the same permanent anchor point. The deterministic identifier generation algorithm includes a namespace-based universal unique identifier generation algorithm or an irreversible hash algorithm. The corresponding desensitization strategy identifier and format constraints are determined based on the matched consistency desensitization strategy, and a task-level desensitization identifier is generated based on the task key, the permanent anchor point, and the desensitization strategy identifier and format constraints. The permanent anchor point is used as an internal traceability identifier that remains stable across tasks, and the task-level desensitized identifier is used as an external output identifier for the current aggregated task.
[0012] Preferably, it also includes consistency processing based on task inheritance relationships: When the current merging task carries a parent task identifier, the parent merging task with a mapping inheritance relationship with the current merging task is determined according to the parent task identifier, and the historical mapping record corresponding to the parent merging task is obtained. Verify that the user applying for the current aggregation task has the mapping inheritance permission of the parent aggregation task, verify that the purpose of the current aggregation task is the same as or belongs to a subset of the purpose of the parent aggregation task, and verify that the user permission corresponding to the current aggregation task meets the inheritance permission conditions corresponding to the parent aggregation task. When all the above verifications pass, the task key of the parent aggregation task is determined as the valid task key of the current aggregation task. The unified mapping service queries the historical mapping record corresponding to the parent aggregation task based on the parent task identifier, and reuses the task-level de-identification identifier generated based on the task key of the parent aggregation task in the historical mapping record for the same permanent anchor point. If any verification fails, the task key and historical task-level de-identification identifier of the parent aggregation task are not inherited. Instead, a new task-level de-identification identifier is generated based on the task key of the current aggregation task, the corresponding permanent anchor point, and the currently matched de-identification strategy identifier and format constraints. The generated task-level de-identification identifier is then associated with the corresponding permanent anchor point.
[0013] Preferably, based on the effective sensitivity level, the association level, and the contextual attributes of the aggregation task, a differentiated and consistent desensitization strategy is matched from the desensitization strategy library, including: Candidate desensitization strategies in the desensitization strategy library are screened according to the priority order of permission prohibition rules, target environment compliance rules, sensitivity level protection rules, and associated level functional requirement rules. When the user's permissions do not meet the access conditions of the field to be processed, the output of the corresponding field is prohibited; When the target environment has a preset mandatory desensitization requirement, candidate desensitization strategies are limited according to the preset mandatory desensitization requirement; Among the candidate desensitization strategies that meet the preset mandatory desensitization requirements of the target environment, the desensitization intensity is determined according to the effective sensitivity level, and whether to maintain cross-system mapping consistency is determined according to the association level. When multiple related fields that need to maintain mapping consistency have different original data formats and corresponding format constraints are inconsistent, the corresponding format constraints are determined according to the original data format of each related field, and each format constraint is used as the target de-identification algorithm constraint condition for the corresponding field, so that the subsequent unified mapping service generates a format-adapted task-level de-identification identifier according to each format constraint, and establishes an association mapping between each format-adapted task-level de-identification identifier and the same permanent anchor point.
[0014] Preferably, before outputting the de-identified aggregated dataset, the method further includes: The association level for association consistency verification is determined based on the comparison between the association strength score and the preset first strength threshold and second strength threshold. When the association strength score is greater than or equal to the first strength threshold, the corresponding association level is strong association. When the association strength score is less than the first strength threshold but greater than or equal to the second strength threshold, the corresponding association level is medium association, and the first strength threshold is greater than the second strength threshold. Perform residual sensitive value verification on the desensitized aggregated dataset, and detect whether there is any real sensitive data that has not been desensitized according to the sensitive type rules and format rules; Perform permission coverage integrity verification to check whether the fields to be output meet the data access permissions of the current user. Perform association consistency verification. When the association level is strong association, verify whether the task-level de-identification identifiers corresponding to the original data values mapped to the same unified entity key within the same association field group meet the mandatory consistency requirements. When the association level is medium association and the conditional consistency triggering condition is met, verify whether the corresponding association fields meet the conditional consistency requirements. Perform format and structure validation to check whether the length and data type of the de-identified fields meet the format requirements of the target environment; If any mandatory verification fails, the output of the desensitized aggregated dataset is intercepted; if the permission coverage integrity verification fails, the output of the corresponding field is prohibited; for other anomalies that can be resolved by adjusting the desensitization strategy, a desensitization strategy that meets the corresponding verification conditions is re-matched for desensitization processing and re-verification; if the corresponding mandatory verification still fails after re-matching, the corresponding abnormal result is transferred to manual review.
[0015] Secondly, embodiments of this application provide an adaptive de-identification system for cross-system data aggregation, comprising: The data normalization module is used to obtain the data asset metadata of the aggregation task and multiple data sources involved in the aggregation task, obtain the context attributes of the aggregation task, normalize the field information in the data asset metadata, and generate unified field records. The context attributes include at least the purpose of use, target environment, and user permissions. The association discovery module is used to extract multimodal association fingerprint features from the unified field records, calculate the fingerprint feature similarity between fields from different data sources, and determine a cross-system association field candidate set based on the fingerprint feature similarity. The entity alignment module is used to perform record-level entity alignment on the original data values corresponding to the associated fields in the cross-system associated field candidate set, and to establish an entity alias mapping table based on the source system identifier and the original data value, mapping heterogeneous original data values pointing to the same real entity to a globally unique unified entity key; The association grading module is used to calculate the association strength score of candidate associations by comprehensively considering the fingerprint feature similarity, value range overlap rate and co-occurrence of references, determine the corresponding association level based on the association strength score, and generate association field groups and corresponding association field group identifiers based on the candidate associations and their association levels. The sensitivity level determination module is used to calculate a basic sensitivity score based on the multi-dimensional identification features recorded in the unified field, determine a basic sensitivity level based on the basic sensitivity score, and determine an effective sensitivity level in combination with the context attributes of the aggregation task. The unified mapping module is used to generate permanent anchor points corresponding to real-world entities based on the unified entity key, which remain unchanged across tasks and are not output externally; The strategy matching module is used to match differentiated and consistent desensitization strategies from the desensitization strategy library based on the effective sensitivity level, the association level, and the context attributes of the aggregation task, and to determine the corresponding target desensitization algorithm constraints. The desensitization execution module is used to call the unified mapping module, generate task-level desensitization identifiers for fields that need to maintain mapping consistency based on the task key of the aggregation task, the permanent anchor point and the target desensitization algorithm constraints, and perform desensitization processing according to the matching consistency desensitization strategy to generate the desensitized aggregation dataset.
[0016] Compared with the prior art, this application has at least the following beneficial effects: This application standardizes field information from different data sources and combines multimodal association fingerprinting and record-level entity alignment to identify cross-system fields and their corresponding entities that have different names, types, or encoding methods but actually have a relationship, thereby improving the accuracy of cross-system association identification and entity mapping.
[0017] Meanwhile, this application determines the association level based on fingerprint feature similarity, value range overlap rate, and co-occurrence of references, and combines field sensitivity level, purpose of use, target environment, and user permissions to match differentiated desensitization strategies, thereby avoiding uniform processing of associated fields and retaining the necessary cross-system association analysis capabilities while meeting the requirements for sensitive data protection.
[0018] Furthermore, this application establishes permanent anchor points through unified entity keys and further generates task-level de-identification identifiers by combining task keys and de-identification algorithm constraints. This enables heterogeneous original data from different data sources pointing to the same real-world entity to form a unified and traceable internal mapping relationship, while maintaining the isolation of de-identification identifiers between different aggregation tasks. This improves the consistency, adaptability, and traceability of cross-system data aggregation and de-identification processing. Attached Figure Description
[0019] Various other advantages and benefits will become apparent to those skilled in the art upon reading the following detailed description of preferred embodiments. The accompanying drawings are for illustrative purposes only and are not intended to limit the invention. In the drawings: Figure 1 A flowchart illustrating an adaptive desensitization method for cross-system data aggregation provided in an embodiment of the present invention; Figure 2 This is a schematic diagram of the structure of an adaptive desensitization system for cross-system data aggregation provided in an embodiment of the present invention. Detailed Implementation
[0020] Exemplary embodiments of the present application will now be described in more detail with reference to the accompanying drawings. While exemplary embodiments of the present application are shown in the drawings, it should be understood that the present application may be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other. The present invention will now be described in detail with reference to the accompanying drawings and embodiments.
[0021] like Figure 1 As shown in some embodiments of this application, this embodiment provides an adaptive de-identification method for cross-system data aggregation. Specifically, the method includes the following steps: Step S101: Obtain the aggregation task and the metadata of the data assets to be aggregated from multiple data sources involved in the aggregation task; obtain the context attributes of the aggregation task; standardize the field information in the data asset metadata; and generate a unified field record. The context attributes include at least the purpose of use, the target environment, and user permissions.
[0022] Specifically, the aggregation task defines the scope and processing scenario of the data involved in this data processing. Based on the task configuration, the business systems, data tables or data interfaces, and corresponding fields that need to participate in the data aggregation can be determined. Multiple data sources can come from different business systems, such as relational databases, data warehouses, file data sources, data interfaces, or data services. For the data scope defined by the aggregation task, the corresponding data asset metadata is read from each data source. Data asset metadata describes the structure and management attributes of the data to be aggregated, and may include information such as table name, field name, field type, field length, field comments, data source, business tags, and field access permissions.
[0023] The contextual attributes of the data aggregation task describe the actual use case of this data aggregation. Specifically, the purpose of use indicates what business activities the aggregated data will be used for, such as data analysis, development testing, or data sharing; the target environment indicates the runtime environment in which the aggregated data will ultimately enter or be accessed, such as a production environment, testing environment, or development environment; and user permissions indicate the range of data that the user requesting the task can access and the operations they are allowed to perform. By obtaining these contextual attributes, a task scenario basis can be provided for subsequent sensitivity level adjustments and de-identification strategy matching.
[0024] Because different data sources may use different naming conventions, data type descriptions, or metadata formats for the same type of business fields, the acquired field information undergoes normalization processing to ensure that fields from different data sources are recorded according to a unified data description structure. Normalization processing may include standardizing the representation of field names, standardizing the description of field types, and organizing field comments and business tags, enabling fields from different data sources to participate in subsequent processing under the same data structure. After normalization, a corresponding unified field record is generated for each field to be processed. The unified field record may include the source system identifier, table or interface identifier, original field name, normalized field name, field type, field comment, business tag, field access permissions, and field unique identifier, forming a unified data foundation for subsequent cross-system field correlation analysis.
[0025] It should be noted that this step mainly completes the unified access of cross-system data assets and the standardization of field descriptions, and does not directly determine whether there are relationships between different fields at this stage. By converting metadata from different sources and with different description methods into unified field records with a consistent structure, the impact of differences in metadata representation between data sources on the subsequent association identification process can be reduced, providing a basic input for subsequent multimodal association fingerprint feature extraction, record-level entity alignment, and sensitivity level determination.
[0026] For example, a data consolidation task might require integrating customer-related data from the CRM customer system, order system, and financial system into a data platform for internal customer data analysis. The target environment is a data analysis environment, and the task applicant must have anonymized data access permissions for the corresponding data assets. The system retrieves metadata for the tables and fields to be consolidated from the three business systems. Specifically, the customer identifier field in the CRM customer system can be recorded as "customer_code," the corresponding field in the order system as "cid," and the corresponding field in the financial system can use other field names and types. Instead of directly assuming these fields belong to the same related field in this step, the system extracts information such as the source system, original name, field type, field comments, and business tags for each field, and forms corresponding unified field records according to a standardized data description format. This provides standardized input for subsequent steps to determine whether these fields have cross-system relationships.
[0027] Step S102: Extract multimodal association fingerprint features for the unified field record, calculate the fingerprint feature similarity between fields from different data sources, and determine a cross-system association field candidate set based on the fingerprint feature similarity.
[0028] Specifically, after completing the unified recording of fields from various data sources, for each unified field record, correlation features are extracted from multiple dimensions that reflect the field's own data characteristics and field usage relationships. These correlation features from different dimensions are then uniformly represented to form the corresponding field's multimodal correlation fingerprint feature. The multimodal correlation fingerprint is used to comprehensively represent the field's data organization form, data value characteristics, and its association with other data objects, ensuring that the determination of relationships between fields no longer depends solely on whether the field names are the same.
[0029] For fields from different data sources, fingerprint feature similarity is calculated between fields based on their corresponding multimodal association fingerprint features. Fingerprint feature similarity characterizes the proximity of two fields in the comprehensive feature space; higher similarity indicates a higher probability that the two fields have a cross-system association. During calculation, comparisons can be made only for fields from different source systems that fall within the data scope of this aggregation task to reduce redundant calculations between irrelevant fields.
[0030] Subsequently, based on the relationship between fingerprint feature similarity and preset judgment conditions, fields with potential associations are selected from field combinations from different data sources, forming a cross-system association field candidate set. The candidate set can record the field identifiers participating in the comparison and their corresponding fingerprint feature similarities, serving as input for subsequent record-level entity alignment and association strength calculation. It should be noted that this step obtains field-level candidate associations, i.e., used to determine "which fields may have cross-system associations," and does not directly determine that specific original data values in different fields correspond to the same real-world entity; the entity correspondence between specific data values is further determined by subsequent record-level entity alignment steps.
[0031] For example, in the unified field records of the CRM customer system and the order system, there are customer identification fields "customer_code" and "cid". Although the two fields differ in name, data type, and specific representation, by extracting their multimodal association fingerprint features, it can be found that the two fields have high similarity in terms of data value characteristics and historical association usage. After the system calculates a high fingerprint feature similarity, "customer_code" and "cid" are added as a set of potential cross-system association fields to the candidate set for subsequent steps to further determine whether the specific data values in the two fields point to the same customer entity.
[0032] Step S103: Perform record-level entity alignment on the original data values corresponding to the associated fields in the cross-system associated field candidate set, establish an entity alias mapping table based on the source system identifier and the original data values, and map heterogeneous original data values pointing to the same real entity to a globally unique unified entity key.
[0033] Specifically, the cross-system association field candidate set obtained in step S102 addresses the question of which fields in different data sources might belong to the same type of association field. However, field-level association relationships do not directly indicate that the specific data values in different fields necessarily correspond to the same real-world entity. Therefore, after determining the candidate association fields, it is necessary to further align the original data values in the candidate fields with the records as the processing objects to determine whether the specific field values in different data sources actually point to the same business object.
[0034] During record-level entity alignment, existing master data, bridging mapping relationships, historical data processing relationships, or business identification relationships can be combined to match raw data values from different systems. When multiple raw data values are determined to correspond to the same real-world entity, a unified entity key is assigned to that entity, and the correspondence between each raw data value and the unified entity key is recorded separately. Data whose correspondence cannot be directly confirmed can be retained as pending confirmation results and are not forcibly merged into existing entities. The specific matching order, matching criteria, and confidence level determination methods will be discussed in further embodiments of record-level entity alignment.
[0035] Entity alignment results are stored using an entity alias mapping table. This table establishes a mapping between "source system identifier, original data value" and a unified entity key. The source system identifier distinguishes the origins of identical or similar original values across different business systems, while the unified entity key serves as a unified internal identifier for the same entity during cross-system processing. This mapping method avoids directly using the similarity of original data values as a criterion for entity consistency, ensuring that field values with different encoding formats, data types, or even completely different representations can still be grouped under the same entity identifier.
[0036] The unified entity key is primarily used to form the unified entity foundation for subsequent processing. On one hand, subsequent association strength calculations can further evaluate the data overlap relationships between different fields based on the unified entity key set after entity alignment; on the other hand, the unified mapping service can generate permanent anchors based on the unified entity key, thereby enabling heterogeneous original data values from different data sources but pointing to the same real-world entity to ultimately be associated with the same internal mapping object. Therefore, this step does not directly generate de-identified tags for external output, but rather completes the transformation from "field-level potential associations" to "record-level entity unification".
[0037] For example, the customer identifier in the CRM customer system is "CUST_10001", the customer identifier in the order system is "10001", and the customer identifier in the financial system is "uuid_a". Although these three are different in character format and encoding method, they can be determined to actually correspond to the same customer through the company's existing customer master data, historical mapping relationships, or other entity matching information. Based on this, the system generates a unified entity key "E10001" for this customer and establishes mapping relationships in the entity alias mapping table as "CRM system + CUST_10001 → E10001", "order system + 10001 → E10001", and "financial system + uuid_a → E10001". Therefore, subsequent steps no longer need to directly rely on three different original customer identifiers, but can uniformly perform association strength calculation, permanent anchor point generation, and consistent desensitization processing based on E10001.
[0038] Step S104: Calculate the association strength score of the candidate association relationship by combining the fingerprint feature similarity, value range overlap rate and reference co-occurrence situation, determine the corresponding association level according to the association strength score, and generate association field groups and corresponding association field group identifiers according to the candidate association relationship and its association level.
[0039] Specifically, after obtaining the cross-system association field candidate set in step S102 and the record-level entity alignment result in step S103, the association strength is further evaluated for each group of field relationships in the candidate set. The association strength evaluation is not based solely on the fingerprint feature similarity between fields, but comprehensively considers fingerprint feature similarity, value range overlap rate, and reference co-occurrence. Fingerprint feature similarity reflects the closeness of two fields in multimodal association features; value range overlap rate reflects the degree of overlap between the corresponding data objects of the two fields; and reference co-occurrence reflects the degree to which the two fields are used together in historical queries, data processing, or business calls. By comprehensively considering the above information, misjudgments caused by a single feature can be reduced, enabling the association strength evaluation to simultaneously reflect field feature similarity, actual data correspondence, and historical usage relationships.
[0040] Based on the comprehensive calculated association strength score, candidate associations can be classified into different association levels. The association level characterizes the reliability of the association between different fields and serves as an important basis for selecting subsequent consistency-based desensitization strategies. Generally, a higher association strength indicates that the two fields belong to the same type of related fields and that maintaining a cross-system association relationship is more necessary; a lower association strength reduces the constraints on mapping consistency during subsequent processing. The specific classification methods, threshold settings, and corresponding consistency processing methods for each association level will be explained in further embodiments of association strength grading.
[0041] After obtaining the association level of each candidate association, the unified field records with corresponding associations are aggregated to generate association field groups, and a corresponding association field group identifier is assigned to each association field group. Association field groups represent a set of fields belonging to the same type of business association object from multiple data sources. For example, customer identifier fields from different business systems can form a customer identifier association field group. The association field group identifier is used to identify the corresponding field set in subsequent unified mapping and de-identification processing. It should be noted that association field groups describe "which fields belong to the same type of association field," and do not mean that all specific data values in these fields belong to the same real entity; the entity correspondence between specific data values is still distinguished by the unified entity key formed in step S103.
[0042] For example, the CRM customer system, order system, and financial system each have a customer identifier field. Step S102 has identified these three as candidate association fields, and step S103 has completed the entity alignment of the corresponding customer records. The system further integrates the fingerprint feature similarity between the three sets of fields, the overlap of the corresponding entity data, and the common references in historical queries to obtain a high association strength score, and based on this, determines the three to have a high association level. Subsequently, the three customer identifier fields are aggregated into the same association field group and assigned a corresponding association field group identifier. Subsequent de-identification processing can determine whether to maintain cross-system consistency mapping based on this association field group, while whether the different original values of a specific customer in the three systems belong to the same entity is further determined based on the unified entity key.
[0043] Step S105: Calculate the basic sensitivity score based on the multidimensional recognition features recorded in the unified field, determine the basic sensitivity level based on the basic sensitivity score, and determine the effective sensitivity level in combination with the context attributes of the aggregation task.
[0044] Specifically, after completing cross-system relationship identification and entity alignment, sensitivity identification and classification are further performed on each unified field record. For each unified field record, sensitivity identification features can be extracted from multiple dimensions such as field name, field type, field comments, data content patterns, rule dictionary, and historical confirmation information. The identification results from different dimensions are then comprehensively processed to obtain the basic sensitivity score for the corresponding field. The basic sensitivity score reflects the degree to which the field itself may have sensitive attributes. Its judgment criteria include not only whether sensitive words appear in the field name or comments, but also the format characteristics of the actual data of the field and historical processing records, thereby reducing false judgments caused by relying solely on a single metadata feature for sensitivity assessment.
[0045] After obtaining the basic sensitivity score, the fields are classified into basic sensitivity levels based on factors such as the sensitivity type, identifiability, impact of leakage, and business rules. The basic sensitivity level primarily reflects the inherent sensitivity of a field without considering the specific aggregation task scenario; for example, it can distinguish between different levels such as ordinary sensitivity, important sensitivity, and high sensitivity.
[0046] Furthermore, after determining the basic sensitivity level, it is further adjusted according to the contextual attributes of this data aggregation task to obtain the effective sensitivity level. Contextual attributes include at least the purpose of use, the target environment, and user permissions, and can also be determined by considering task information such as the output method. The effective sensitivity level reflects the actual protection requirements of the same field in the current aggregation task. For example, the risk level and permissible processing methods for the same customer contact information field may differ in different scenarios such as internal production environment queries, development and testing environment usage, and external data sharing. Therefore, adaptive adjustments can be made based on the basic sensitivity level. In this way, subsequent data masking strategies can not only consider the sensitivity of the field itself but also match the current data usage scenario.
[0047] It should be noted that the effective sensitivity level is one of the important inputs for subsequent de-identification strategy matching. Its role is to combine the field's own attributes with the actual operating environment of the current aggregation task, rather than directly determining the specific de-identification algorithm in this step.
[0048] For example, in a customer data aggregation task, the unified field records include fields such as customer name, mobile phone number, ID card number, and customer identifier. After performing sensitivity identification based on the name, type, annotations, and data content characteristics of each field, the system can determine that the ID card number has a high level of sensitivity, the mobile phone number and name have a certain level of sensitivity, and the customer identifier's basic sensitivity level is determined according to its business purpose. If this aggregation task is used in a development and testing environment, and the requesting user does not have permission to view the original sensitive data, the system can increase the processing requirements of the corresponding fields in the current task based on the basic sensitivity level to obtain the corresponding effective sensitivity level. If the aggregation task is used for authorized internal data analysis, the effective sensitivity level can be determined according to the actual permissions and usage purpose to suit the scenario.
[0049] Step S106: Based on the unified entity key, generate a permanent anchor point corresponding to the real entity through the unified mapping service, which remains unchanged across tasks and is not output externally.
[0050] Specifically, after record-level entity alignment is completed in step S103, heterogeneous original data values pointing to the same real-world entity from different data sources have been merged into the same unified entity key. Based on this unified entity key, a unified mapping service is invoked to establish a stable internal mapping identifier, i.e., a permanent anchor point, for the corresponding real-world entity. The permanent anchor point is separate from the original data value in the specific data source, and its function is to provide a unified internal mapping basis for the same real-world entity across different systems and different aggregation tasks.
[0051] The unified mapping service is used to centrally maintain the mapping relationship between unified entity keys, permanent anchors, and subsequent task-level anonymization tags. As one implementation, the unified mapping service sets up a unified mapping repository to store entity alias mappings, permanent anchors, and task-level anonymization tags corresponding to different aggregation tasks. Entity alias mapping records may include the source system identifier (system_id), the raw data value (raw_value), the unified entity key (UnifiedEntityID), the permanent anchor (PermAnchor), the matching confidence score, the matching source, and the update time. Task mapping records may include the task identifier (task_id), the permanent anchor (PermAnchor), the task-level anonymization tag (Token), the creation time, and the status. For records with task inheritance relationships, the parent task identifier (ParentTaskID) can also be associated.
[0052] When querying mapping relationships, the unified mapping service first uses the source system identifier `system_id` and the raw data value `raw_value` as query conditions to determine the corresponding `UnifiedEntityID` from the entity alias mapping record, and then obtains the `PermAnchor` bound to that `UnifiedEntityID`. When no directly matching entity alias mapping record exists, it can query other data sources that have already established mapping records within the same associated field group using the associated field group identifier `GroupID`, and determine the corresponding `UnifiedEntityID` and `PermAnchor` by combining the previous record-level entity alignment results.
[0053] After determining the PermAnchor, the corresponding task mapping record is queried based on the current task identifier and the PermAnchor. If a valid historical mapping record exists for the current task or a parent task with a mapping inheritance relationship, the historical task-level de-identified identifier is reused according to the corresponding task inheritance rules. If no reusable historical mapping record exists, a new task-level de-identified identifier is generated using the current task key, the PermAnchor, and the constraints of the current de-identification algorithm. The newly generated mapping relationship is then written to the mapping repository for subsequent physical aggregation or logical querying.
[0054] When a corresponding permanent anchor already exists for a unified entity key, the existing permanent anchor can be directly retrieved. When processing the corresponding entity for the first time, a new permanent anchor is generated for that entity, and a mapping relationship is established. Subsequently, even if the entity participates in different aggregation tasks or uses different forms of raw data value representation in different business systems, it can still be internally associated with the same permanent anchor. This avoids establishing independent entity mapping relationships for each aggregation task, improving the consistency and traceability of cross-system mapping relationships.
[0055] It should be noted that permanent anchors are primarily used for entity association and mapping management within the system and are not directly output to the outside as the final de-identification result. The de-identification identifiers used externally for specific aggregation tasks will be further generated in subsequent steps in conjunction with the task key and de-identification algorithm constraints. Therefore, permanent anchors and task-level de-identification identifiers belong to different levels of identifiers: the former is used to maintain stable internal associations of the same real-world entity in cross-system and cross-task scenarios, while the latter is used to generate de-identification results that can be used externally for specific aggregation tasks.
[0056] For example, for the unified entity key E10001 obtained in step S103, the unified mapping service can establish a corresponding permanent anchor point PermAnchor_E10001. Subsequently, the original data from each source system corresponding to E10001 are all associated with this permanent anchor point, but PermAnchor_E10001 is only used for internal system mapping management and is not directly output as the aggregation result.
[0057] Step S107: Based on the effective sensitivity level, the association level, and the context attributes of the aggregation task, match differentiated and consistent desensitization strategies from the desensitization strategy library, and determine the corresponding target desensitization algorithm constraints.
[0058] Specifically, after obtaining the effective sensitivity level and the association level of candidate relationships for each field, the system further matches candidate strategies in the de-identification strategy library with contextual attributes such as the purpose of the current aggregation task, the target environment, and user permissions. The de-identification strategy library can pre-store de-identification methods and their applicable conditions for different sensitivity levels, association levels, and task scenarios. By using this multi-dimensional information in combination, it avoids selecting a fixed de-identification method solely based on the sensitivity of the field itself, ensuring that strategy selection simultaneously considers data protection requirements and the need to maintain cross-system relationships.
[0059] The effective sensitivity level primarily characterizes the data protection strength required for a field in the current task scenario; the association level primarily characterizes whether corresponding fields need to maintain a consistent or associative de-identification mapping relationship; the purpose of use, target environment, and user permissions are used to further restrict the processing methods allowed in the current scenario. The system can filter strategies from the de-identification strategy library that meet the requirements of the current task based on the above conditions and determine the de-identification processing method corresponding to the current field. For fields that need to maintain cross-system association capabilities, de-identification methods that can maintain a stable mapping relationship can be prioritized; for fields that do not need to maintain a consistent mapping, an independent processing method can be selected.
[0060] After determining the consistent data masking strategy, it is necessary to further define the corresponding target data masking algorithm constraints. These constraints define the technical requirements that must be met during subsequent task-level data masking identifier generation and data processing. For example, they may specify whether deterministic mapping needs to be maintained, whether fixed data formats or length requirements are required, and whether consistent output relationships are allowed across different fields. These constraints serve as one of the inputs when the unified mapping service generates task-level data masking identifiers, ensuring that the final data masking result meets both the data protection requirements of the current task and the necessary business association and data format requirements. Specific strategy filtering priorities, permission prohibition rules, environmental compliance rules, and format adaptation methods will be elaborated in further embodiments of the differentiated consistent data masking strategy.
[0061] For example, in a customer data aggregation task, the customer identifier field is identified as having a high association level that requires maintaining cross-system relationships. Simultaneously, the current task falls under an internal data analysis scenario, and the requesting user only has access to anonymized data. The system can combine the field's effective sensitivity level, association level, the current task's purpose, and user permissions to select an anonymization strategy from the anonymization strategy library that can both hide the real customer identifier and maintain consistent cross-system entity correspondence. It also determines that the task-level identifier must satisfy deterministic mapping and field format constraints. Therefore, when the subsequent unified mapping service generates task-level anonymized identifiers, it can maintain the necessary association capabilities for data pointing to the same real-world entity without exposing the original value.
[0062] Step S108: Invoke the unified mapping service, and for fields that need to maintain mapping consistency, generate task-level desensitization identifiers based on the task key of the aggregation task, the permanent anchor point, and the target desensitization algorithm constraints, and perform desensitization processing according to the matching consistency desensitization strategy to generate the desensitized aggregation dataset.
[0063] Specifically, after completing the de-identification strategy matching and determining the target de-identification algorithm constraints in step S107, the unified mapping service is invoked for fields that need to maintain cross-system mapping consistency. The unified mapping service uses the task key corresponding to the current aggregation task, the permanent anchor point corresponding to the real entity, and the target de-identification algorithm constraints as the basis for generating task-level de-identification identifiers, so that the task-level de-identification identifiers can establish a stable association with the same real entity and reflect the isolation requirements and de-identification processing requirements corresponding to the current aggregation task.
[0064] The task key is used to distinguish the identifier generation space of different aggregation tasks, enabling the same real-world entity to generate different task-level de-identified identifiers in independent aggregation tasks. Permanent anchors ensure that heterogeneous original data values from different data sources pointing to the same real-world entity can be associated with the same internal entity base. Target de-identification algorithm constraints limit the mapping consistency, output format, field length, or other algorithm adaptation requirements that task-level de-identified identifiers must meet. Through these methods, cross-system correlation analysis capabilities can be maintained while preventing permanent anchors from being directly exposed to external users.
[0065] For related fields determined to require consistent mapping, when multiple original data values from different data sources are already bound to the same permanent anchor point via a unified entity key, calling the unified mapping service under the same aggregation task can generate a task-level de-identification identifier that meets consistency requirements based on the same permanent anchor point and task key. This allows data pointing to the same real-world entity in different systems to still be associated using the same or correspondingly consistent task-level identifier after de-identification, without retaining or exposing the original entity identifier. For fields that do not require consistent mapping, they can be processed according to the independent de-identification strategy obtained in step S107, without forcibly reusing the same mapping result.
[0066] After generating task-level de-identification tags, the fields to be processed within the scope of the aggregation task are de-identified according to the matching consistent de-identification strategy. For fields that serve as identifiers for cross-system entity associations, the original values can be replaced using task-level de-identification tags; for other sensitive fields such as names, contact information, and ID numbers, masking, replacement, encryption, or other matching de-identification processes are implemented according to the corresponding strategies. The processed records from multiple data sources are then aggregated according to the target structure of the aggregation task to form a de-identified aggregated dataset for subsequent data analysis, data sharing, or other authorized business use.
[0067] For example, the original identifiers pointing to the same customer in the aforementioned three systems have been uniformly mapped to E10001 and bound to PermAnchor_E10001. When the aggregation task T1 is executed, the unified mapping service combines the task key K_T1 and the current desensitization algorithm constraints to generate token_T1_xxx, so that the original identifiers pointing to the customer in the three systems are all replaced with desensitized identifiers that meet the consistency requirements of the current task. At the same time, the corresponding desensitization processing can be performed on fields such as mobile phone number, ID card number, and name according to the desensitization strategy corresponding to each field, and finally, an aggregated dataset that does not directly contain the original sensitive identifiers but still supports cross-system customer association analysis is generated.
[0068] In some embodiments of this application, the process of multimodal association fingerprint extraction and cross-system association field candidate determination in step S102 can be further refined. For each unified field record, structural features, value range distribution features, and reference relationship features are extracted respectively.
[0069] Structural features describe the data organization of a field, including at least one of the following: field data type, field length, prefix or suffix pattern, and encoding rule features. The field data type can be string, integer, date, or a universally unique identifier type, etc.; the prefix or suffix pattern indicates whether the field value has a fixed number of characters, a fixed number of digits, or other structure; the encoding rule feature indicates whether the field value uses consecutive numbering, auto-incrementing numbering, separator encoding, or other predetermined encoding forms. For discrete features such as field type, prefix or suffix pattern, and encoding rule category, one-hot encoding or hash encoding can be used to convert them into numerical features; for numerical features such as field length, min-max normalization or standardization methods can be used to process them, allowing features of different dimensions to participate in subsequent unified calculations.
[0070] Value range distribution features describe the overall distribution of actual data in a field, including at least one of value range sparsity, null value rate, repetition rate, and value range shape features. Value range sparsity reflects the distribution of valid values within the corresponding value range; the null value rate reflects the proportion of null records in the field; the repetition rate reflects the frequency of repeated values in the field sample; and the value range shape characterizes whether the field values are continuous, discrete, or enumerable. For numerical features such as sparsity, null value rate, and repetition rate, logarithmic transformation and / or normalization can be performed; for categorical features such as continuous, discrete, and enumerable, they can be converted into corresponding discrete codes. Value range distribution features can distinguish fields with different business functions but similar names or structures. For example, fields used as entity identifiers typically exhibit higher value dispersion and lower repetition rates, while enumerable fields such as status codes typically have higher repetition rates.
[0071] Reference relationship features describe the usage relationships formed between a field and other data objects during historical data processing. These features can be obtained from historical query logs, ETL job records, and data asset metadata. They include at least one of the following: the frequency of the field being referenced by other data tables or business systems, the number of times the field appears in join query conditions, and the field's status as a primary key or foreign key. For count-type features such as field reference frequency and the number of times join queries occur, a logarithmic transformation can be performed before normalization. For state features such as whether a field is a primary key or a foreign key, they can be converted to discrete encoding. When a field frequently serves as a join condition between different data tables, it can be considered to have a strong relational usage attribute.
[0072] After encoding and normalizing the above features, the structural feature vector, value range distribution feature vector, and reference relationship feature vector are fused to obtain the associated fingerprint vector of the corresponding field. As one implementation method, the associated fingerprint vector can be formed by vector concatenation: Fingerprint(f)=Concat(Struct(f),Distribution(f),Reference(f)).
[0073] Where f represents the field to be processed, Fingerprint(f) represents the associated fingerprint vector corresponding to field f, Struct(f) represents the structural feature vector, Distribution(f) represents the value range distribution feature vector, Reference(f) represents the reference relationship feature vector, and Concat represents concatenating different feature vectors in a predetermined order. Each sub-feature vector can be normalized separately before fusion, and the complete associated fingerprint vector can also be normalized after fusion to reduce the impact of different feature value ranges on the similarity calculation results.
[0074] Furthermore, semantic features of the fields are generated based on field names, field comments, business tags, and field types. Specifically, the aforementioned text or category information can first be uniformly represented, segmented, and normalized using synonyms or domain terms. Field descriptions with similar meanings but different writing styles can be converted into similar semantic representations. Then, text feature encoding or vector representation methods are used to generate semantic features of the fields. For example, expressions such as "customer number," "customer ID," "customer_code," or "cust_id" can be normalized to semantic representations related to "customer identifier."
[0075] Semantic features of fields are used as auxiliary information for association determination, and are not the sole basis for determining cross-system relationships. One approach is to first use semantic features to filter out field combinations with significant semantic differences, and then calculate the association fingerprint vector similarity for the filtered field combinations. Another approach is to use semantic similarity to correct the association fingerprint similarity. For example: Sim(i,j)=α×Sim_fp(i,j)+β×SemanticSim(i,j).
[0076] Here, Sim(i,j) represents the corrected similarity between field i and field j; Sim_fp(i,j) represents the similarity between the fingerprint vectors associated with the two fields; SemanticSim(i,j) represents the semantic similarity of the fields; α and β represent the weights corresponding to the fingerprint similarity and semantic similarity, respectively, and α can be set to be greater than β so that structural features, value range distribution features, and citation relationship features still serve as the main criteria for association judgment. For example, α can be set to 0.8 and β to 0.2.
[0077] When the semantic features of a field are used only as a pre-screening condition for candidate fields, Sim_fp(i,j) is used as the fingerprint feature similarity for subsequent comparison with the first and second association thresholds. When the semantic features of a field are used as a correction feature for fingerprint feature similarity, the corrected Sim(i,j) is used as the similarity for subsequent comparison with the first and second association thresholds. Therefore, the similarity used for threshold determination mentioned below refers to the final similarity result corresponding to the current semantic feature participation method.
[0078] For any two fields f_i and f_j to be compared from different data sources, cosine similarity can be used to calculate the fingerprint feature similarity between the corresponding associated fingerprint vectors: Sim_fp(i,j)=(Fingerprint(f_i)·Fingerprint(f_j)) / (||Fingerprint(f_i)||×||Fingerprint(f_j)||).
[0079] Here, Fingerprint(f_i) and Fingerprint(f_j) represent the associated fingerprint vectors of fields f_i and f_j, respectively; "·" represents the vector inner product; ||Fingerprint(f_i)|| and ||Fingerprint(f_j)|| represent the modulus of the corresponding vectors, respectively. The higher the fingerprint feature similarity, the closer the two fields are in terms of overall structure, data distribution, and referencing relationship, and the higher the probability that they have a cross-system association relationship.
[0080] The obtained similarity scores are compared with a first association threshold and a second association threshold, where the first association threshold is greater than the second association threshold. When the similarity reaches the first association threshold, the two fields are considered to have a high probability of association, and the corresponding field is automatically added to the cross-system association field candidate set. When the similarity is lower than the first association threshold but reaches the second association threshold, the corresponding field is marked as an association field to be confirmed, which can be further determined through subsequent manual confirmation or other association information. When the similarity is lower than the second association threshold, the corresponding field is not established as an association during this association discovery process.
[0081] As an example, the first association threshold can be set to 0.80, and the second association threshold can be set to 0.50. When the final similarity used for threshold determination is greater than or equal to 0.80, the corresponding field is automatically added to the cross-system association field candidate set; when the final similarity is greater than or equal to 0.50 and less than 0.80, the corresponding field is marked as an association field to be confirmed; when the final similarity is less than 0.50, no association relationship is established for the time being. The above thresholds can be used as initial configuration parameters and can be adjusted according to the actual data quality and association identification requirements, and are not limited to the specific values mentioned above. It should be noted that the first and second association thresholds are used for candidate field screening of association fingerprint similarity; the preset strength threshold is used to classify the association level based on the association strength score. The two types of thresholds are configured separately and do not constitute a numerical correspondence between them.
[0082] For example, the `customer_code` field in the CRM system is a string with a fixed character prefix, while the `cid` field in the order system is an integer; their names and field structures are inconsistent. However, after feature extraction, both fields exhibit high value sparsity, low repetition rate, and are frequently used as association conditions in historical queries or data processing tasks. After fusing structural features, value distribution features, and reference relationship features, the calculated association fingerprint similarity between the two is 0.91. When the first association threshold is set to 0.80, this similarity is higher than the first association threshold; therefore, `customer_code` and `cid` are automatically added to the cross-system association field candidate set. Here, only a high probability of field-level association between the two fields is determined; whether the specific original data values in the two fields point to the same real-world entity is still determined by the subsequent record-level entity alignment process.
[0083] In some embodiments of this application, the record-level entity alignment process in step S103 can be further refined. For related fields from different data sources in the cross-system related field candidate set, the original data values in the corresponding fields are read and matched sequentially according to a preset entity matching priority. The preset entity matching priority can be set according to the certainty and reliability of the matching criteria. When the previous priority can determine that two original data values correspond to the same real entity, the matching result can be adopted; when the previous priority cannot obtain a valid matching result, the next priority is entered to continue the judgment.
[0084] The first priority can be achieved by matching using existing master data or bridging tables. Existing master data can be the unified identification information of customers, suppliers, or other business objects maintained in the enterprise master data management system; bridging tables can be pre-established mapping relationships between raw data values from different business systems and unified entity identifiers. When the raw data values from two source systems can be mapped to the same business object through existing master data or bridging tables, it can be directly determined that the two belong to the same real entity.
[0085] When no directly usable master data or bridging mapping exists, matching can be performed using historical join queries, historical ETL job records, or data lineage. Specifically, historical data processing records can be used to obtain existing relationships between original data values from different systems. For example, if two original values have consistently appeared as join values on either side of a join query, or if there is a stable transformation or merging relationship during historical ETL processes, this historical relationship evidence can be used as a basis for determining whether two original values correspond to the same real-world entity. Mappings extracted from historical join or ETL relationships can be verified using other matching criteria and then written into a bridging table for direct use in subsequent entity alignment.
[0086] When historical relationships are insufficient for a match, a determination can be made based on business primary key combinations or encoding conversion rules. Business primary key combinations refer to one or more attributes that collectively identify an entity in a business context, such as a combination of customer ID and other identity attributes, or a combination of order number and business date. Encoding conversion rules describe the conversion relationships between different business systems using different encoding methods for the same business identifier. For example, by removing fixed prefixes, padding numbers, or based on predetermined encoding mapping relationships, different forms of original values are converted to a comparable, unified expression. If the converted result can be identified as the same object according to business rules, the corresponding original data value is matched to the same real-world entity.
[0087] When entity alignment cannot be achieved using the aforementioned deterministic or rule-based information, attribute-based entity matching can be further employed. Specifically, business attributes within the records containing the associated fields that can aid in entity identification can be selected, and the degree of attribute consistency or similarity between records from different systems can be comprehensively compared. For example, comparable entity attributes can be used to determine whether two records have a high probability of being identical entities. Attribute similarity matching, as a lower-priority supplementary matching method, is used to handle records lacking explicit master data mappings, historical relationships, or encoding conversion rules.
[0088] For candidate results generated from entity matching at each level, a corresponding entity matching confidence score is generated. The entity matching confidence score characterizes the degree to which the current matching result can prove that two original data values correspond to the same real-world entity. It can be determined comprehensively based on the matching source used, the fulfillment of matching rules, and relevant auxiliary matching information. The system sets a preset entity matching confidence score as the criterion between automatic confirmation and pending confirmation. When the matching confidence score reaches the preset entity matching confidence score, the matching result can be considered a confirmed entity alignment result; when the matching confidence score is lower than the preset entity matching confidence score, entity merging is not performed directly, but the corresponding result is marked as a pending confirmation result and can be submitted for manual review. The preset entity matching confidence score can be pre-configured according to data quality and actual entity matching requirements. This scheme does not limit it to a fixed value.
[0089] For multiple original data values that have been confirmed to match the same real-world entity, a single unified entity key (UnifiedEntityID) is assigned to that entity. If a unified entity key already exists for the current entity, it is reused; if it is a newly identified entity, a new unified entity key is generated to uniquely identify it. Thus, original data values with different formats and values from different data sources can be uniformly associated with the same record-level entity identifier. The unified entity key is used internally by the system to represent the entity alignment result; it is not equivalent to the original business identifier, nor is it directly used as a de-identified identifier for subsequent user-facing output.
[0090] Furthermore, the entity alignment results are written to an entity alias mapping table. The entity alias mapping table includes at least the source system identifier, original data value, unified entity key, match confidence, match source, and update time. The source system identifier and original data value are used together to locate an entity alias in a specific data source. The unified entity key indicates the real entity corresponding to the alias. The match confidence records the reliability of the entity matching result. The match source records which method—master data, historical relationships, business rules, or attribute matching—was used to obtain the result. The update time characterizes the time when the current mapping relationship was last established or updated. The mapping relationship can be represented as: (system_id, raw_value) → UnifiedEntityID. Here, system_id represents the source system identifier, raw_value represents the original data value in the corresponding source system, and UnifiedEntityID represents the unified entity key obtained after entity alignment.
[0091] Using "source system identifier + original data value" as the basis for alias mapping can distinguish the different business meanings of the same character value in different systems, while allowing heterogeneous original values from different systems to point to the same unified entity key. For example, the customer identifier "CUST_10001" in the CRM system, the customer identifier "10001" in the order system, and the customer identifier "uuid_a" in the financial system, all confirmed through enterprise master data and historical ETL bridging relationships to correspond to the same customer, can be assigned a unified entity key E10001, and the following can be established respectively: (CRM, CUST_10001) → E10001; (Order system, 10001) → E10001; (Financial system, uuid_a) → E10001.
[0092] Thus, customer identifiers with different forms in the three business systems are merged into the same real entity at the record level, and subsequent association strength calculation and unified mapping services can be processed based on E10001 without directly depending on whether the original data values between the systems are the same.
[0093] In some embodiments of this application, the process of calculating association strength, classifying association levels, and generating association field groups in step S104 can be further refined. For any candidate association relationship r in the cross-system association field candidate set, the fingerprint feature similarity Sim, value range overlap rate Overlap, reference co-occurrence frequency CoOccur, and association confirmation result Confirm are obtained respectively, and each indicator is normalized.
[0094] Then, a weighted calculation is performed according to preset weights to obtain the association strength score Strength(r). As one implementation method, the association strength score can be expressed as: Strength(r) = 0.40 × Sim + 0.30 × Overlap + 0.20 × CoOccur + 0.10 × Confirm.
[0095] Wherein, Sim represents the fingerprint feature similarity between the two associated fields obtained in step S102; Overlap represents the degree of entity overlap between the two associated fields after record-level entity alignment; CoOccur represents the frequency of co-occurrence of the two fields in historical queries, ETL jobs, or other data processing; and Confirm represents the association confirmation result. For associations that have been manually confirmed or confirmed by trusted rules, Confirm can be set to 1; for those that have not yet been clearly confirmed but are still retained as candidate relationships, a preset value lower than 1, such as 0.5, can be set. The above weights are used to characterize the contribution of different indicators to the association strength and can also be configured according to the actual data environment.
[0096] The overlap rate is not calculated directly based on the original data values in different systems, but is determined based on the unified entity key set formed after entity alignment in step S103. For fields f_i and f_j, the original data values are mapped to unified entity keys respectively, resulting in unified entity key sets E_i and E_j. The overlap rate can then be expressed as: Overlap(i,j)=|E_i∩E_j| / |E_i∪E_j|.
[0097] Here, E_i represents the unified entity key set formed after entity alignment of the original data values in field f_i, E_j represents the unified entity key set corresponding to field f_j, |E_i∩E_j| represents the number of common unified entity keys in the two sets, and |E_i∪E_j| represents the total number of unified entity keys after merging the two sets. Using unified entity keys to calculate the value range overlap rate can avoid the same real-world entity being incorrectly judged as not overlapping due to different encoding forms used in different systems. For example, although "CUST_10001", "10001", and "uuid_a" have different original values, if they are all mapped to the unified entity key E10001, they can be identified as the same entity in the value range overlap calculation.
[0098] Co-occurrence frequency (COF) reflects the degree to which two fields are used together in actual business processing. As one implementation, the COF is calculated by counting the number of times (N_ij) fields f_i and f_j co-occur in the same related query, the same ETL task, or other related processing within a preset historical time range, and by counting the total number of related processing tasks (N_union) within that time range that include at least one of fields f_i or f_j. The COF can then be expressed as CoOccur(i,j) = N_ij / N_union. Other normalized COF statistics methods can also be used, but a unified statistical caliber should be applied within the same aggregation task. A higher COF indicates a higher probability that the two fields form a stable business relationship during actual data processing.
[0099] After calculating the association strength score, Strength(r) is compared with multiple preset strength thresholds to determine the association level corresponding to the candidate association. As one implementation method, the association can be divided as follows: when Strength(r) ≥ 0.80, the candidate association is determined as a strong association; when 0.60 ≤ Strength(r) < 0.80, the candidate association is determined as a medium association; when 0.40 ≤ Strength(r) < 0.60, the candidate association is determined as a weak association; and when Strength(r) < 0.40, the candidate association is determined as a zero association.
[0100] The aforementioned thresholds are optional implementation parameters and can be adjusted based on actual data quality, business complexity, and consistency requirements, and are not limited to the specific values mentioned above. By classifying relationships of different strengths into strong, medium, weak, and zero relationships, clear field-level control criteria can be provided for subsequent differentiated and consistent data masking.
[0101] Furthermore, each unified field record is treated as a node in a field-level association graph, candidate association relationships are used as edges between nodes, and the corresponding association strength score and association level are used as edge attributes. Edges identified as strongly associated are aggregated, and a subgraph consisting only of strongly associated edges can be extracted. The associated field groups are then determined based on the connectivity of these strongly associated edges. Specifically, when multiple field nodes are interconnected by one or more consecutive strongly associated edges, the corresponding field nodes are grouped into the same associated field group. For example, if field A and field B are strongly associated, and field B and field C are strongly associated, then fields A, B, and C can be identified as the same associated field group. This processing method is equivalent to field aggregation based on the connected components formed by strongly associated edges.
[0102] When field A and field B, and field B and field C are both strongly correlated, but the direct correlation level between field A and field C is weak or zero, field A and field C can be marked as transitive correlation, and their direct correlation strength can be retained as intra-group relationship information. When there is a manual veto result for field A and field C, or a trusted business rule explicitly states that they should not undergo consistency processing, the manual veto result or trusted business rule takes priority. The affected strong correlation aggregation results are adjusted so that field A and field C are not retained in the same correlated field group that requires mandatory consistency processing, and the correlated field group corresponding to the affected field node is re-determined. When the members of the correlated field group change, a new GroupID version can be generated, and the historical group identifier is retained to support mapping relationship tracing. It should be noted that GroupID is used to indicate "which fields belong to the same type of correlated fields", not which specific original data values in the field belong to the same real entity; the specific entity correspondence is still determined by the UnifiedEntityID, thereby avoiding confusion between field-level correlation grouping and record-level entity merging.
[0103] For moderately related edges, they are not directly used as the aggregation basis for strongly related field groups; instead, they are marked as conditional related edges. Conditional consistency requirements are only triggered when the aggregation result contains the data source fields corresponding to both sides of the moderately related edge. If the aggregation result contains only the field from one of the data sources, cross-system mapping consistency is not required. For weakly related and zero-related edges, they are not included in the mandatory consistency related field group, and the corresponding fields undergo independent de-identification processing.
[0104] In this application, mandatory consistency means that for heterogeneous original data values within the same associated field group and mapped to the same unified entity key, they are desensitized according to a unified consistency mapping rule in the same aggregation task; when the format constraints are the same, the same task-level desensitization identifier can be generated; when there are differences in the format constraints of different fields, task-level desensitization identifiers that satisfy their respective format constraints can be generated, but each task-level desensitization identifier is associated with the same permanent anchor point.
[0105] Conditional consistency means that when the convergence result contains fields from multiple data sources corresponding to the relationship, the heterogeneous original data values mapped to the same unified entity key are desensitized according to the corresponding consistency mapping rules; when the convergence result contains only the corresponding field from one data source, cross-system mapping consistency is not enforced.
[0106] Independent desensitization refers to the process where different fields are processed according to desensitization strategies obtained by matching their effective sensitivity levels and task contexts, without requiring fields from different data sources to form the same or reusable task-level desensitization identifiers.
[0107] For strongly related fields, in the subsequent desensitization stage, when the original data values from different systems within the same related field group have already been mapped to the same unified entity key through step S103, forced consistency processing is performed on these heterogeneous original data values to form task-level desensitization identifiers that meet consistency requirements under the same convergence task. For moderately related fields, the corresponding consistency mapping is performed only when conditional consistency is triggered; for weakly related or zero-related fields, independent desensitization is performed separately, and it is not required that different systems maintain the same mapping results. Therefore, the association level directly serves as the input for determining consistency requirements in the subsequent desensitization strategy matching process.
[0108] For example, a convergence task involves a CRM customer system, an order system, and a financial system. After previous steps, the customer identifier fields in these three systems show high fingerprint similarity, and the overlap of their corresponding unified entity key sets after entity alignment is high. Furthermore, these three fields frequently participate in customer association processing in historical business queries. After comprehensive calculation, the Strength(r) of the relevant candidate associations all exceed 0.90, thus identifying them as strong associations. The system uses the three customer identifier fields as nodes in a field-level association graph, forming a common connected component through strong association edges, and assigning them the same GroupID. Subsequently, mandatory consistency desensitization is performed on the original customer values mapped to the same unified entity key. Conversely, if the product_code association strength score between the order system and the inventory system is 0.65, it is identified as a medium association, and consistency processing is triggered only when the convergence result contains the corresponding fields from both the order and inventory systems.
[0109] In some embodiments of this application, the process of sensitive field identification, basic sensitivity level determination, and scenario-based level adjustment in step S105 can be further refined. For each unified field record, the field name feature N(f), field type feature T(f), field annotation feature C(f), data content pattern feature V(f), rule dictionary feature D(f), and historical confirmation feature H(f) are extracted respectively, and each identification feature is converted to a unified numerical range.
[0110] The field name feature N(f) characterizes the degree to which the field name itself contains sensitive information indicators. For example, when the field name contains words with clear sensitive meanings such as "name," "mobile phone number," "ID card number," or "bank card number," the corresponding feature value is higher. For English abbreviations, aliases, or heterogeneous field names used by different business systems, they can be normalized by using a preset thesaurus or domain dictionary before identification.
[0111] The field type feature T(f) characterizes the correlation between the field's data type and its structural form and sensitive data types. For example, ordinary integer fields are usually difficult to directly identify as sensitive data, while fixed-length character fields may have a higher probability of being sensitive when combined with specific business information. Corresponding type feature values can be pre-set for different field types.
[0112] The field annotation feature C(f) is used to identify sensitive semantics from field annotations, field descriptions, or explanatory information in the data dictionary. For example, if the field name is the internal abbreviation "cert_no" and the field annotation is recorded as "customer ID number", the sensitivity identification result of the corresponding field can be improved by using the field annotation.
[0113] The data content pattern feature V(f) is used to determine whether the actual data sample in the field conforms to a preset sensitive data format. It can identify data patterns such as mobile phone number format, ID card number format, bank card number length and format, and email address format. The higher the degree of matching between the data sample and a certain sensitive data pattern, the higher the corresponding data content pattern feature value.
[0114] The rule dictionary feature D(f) indicates whether field-related information matches pre-configured sensitive data rules or sensitive dictionaries. The rule dictionary can be configured according to sensitive categories such as identity information, contact information, account information, financial information, and enterprise operating information. When a field name, comment, business tag, or data content satisfies the corresponding rule, the corresponding rule dictionary feature value is increased.
[0115] The historical confirmation feature H(f) reflects the historical situation in which the current field has been confirmed as a sensitive field in the historical aggregation task. To avoid extreme values when the number of historical samples is small or when the new field has no historical records, the historical confirmation feature can be calculated using Laplace smoothing: H(f) = (S_confirmed + 1) / (S_confirmed + N_confirmed + 2).
[0116] Here, S_confirmed represents the number of times field f was identified as a sensitive field in historical tasks, and N_confirmed represents the number of times field f was identified as a non-sensitive field in historical tasks. The 1 in the numerator and the 2 in the denominator are Laplace smoothing terms. When a field has no historical confirmation records, both S_confirmed and N_confirmed are 0, and H(f) = 0.5, giving the new field a neutral historical confirmation feature value and avoiding direct bias towards sensitive or non-sensitive judgments due to a lack of historical data.
[0117] After normalizing the six types of recognition features, a weighted calculation is performed on each feature to obtain the basic sensitivity score Risk(f) corresponding to field f. One implementation method is as follows: Risk(f)=0.25×N(f)+0.10×T(f)+0.15×C(f)+0.25×V(f)+0.15×D(f)+0.10×H(f).
[0118] The sum of all weights is 1. Field name features and data content pattern features are assigned higher weights to reflect the primary role of metadata semantics and actual data content in sensitive data identification; field annotation features and rule dictionary features provide auxiliary sensitivity judgments; field type features and historical confirmation features are used to further refine the identification results. These weights are implementation parameters and can be adjusted based on the data quality and historical identification results of different business systems.
[0119] The basic sensitivity score is primarily used to determine the degree to which a field possesses sensitive attributes, and should not be used as the sole basis for determining the final sensitivity level. After obtaining Risk(f), the basic sensitivity level can be determined by combining the basic sensitivity score, the sensitivity type corresponding to the field, the identifiability, the impact of leakage, and business rules. Sensitivity type characterizes which category of sensitive business information the field belongs to: identity information, contact information, account information, financial information, or other sensitive business information. Identifiability indicates the likelihood of identifying a specific entity when the field is used alone or in combination with other fields. Impact of leakage indicates the degree of risk that may arise after the field is leaked. Business rules reflect the company's internal data classification and grading standards or pre-set compliance requirements.
[0120] As one implementation method, a preliminary classification result can be formed based on the basic sensitivity score. For example, if Risk(f) ≥ 0.90, it can be preliminarily determined as highly sensitive; if 0.75 ≤ Risk(f) < 0.90, it can be preliminarily determined as significantly sensitive. When 0.45 ≤ Risk(f) < 0.75, if it is confirmed to be a sensitive field, it is determined as moderately sensitive; if confirmation has not yet been completed, it is marked as a sensitive field pending confirmation and processed according to protection requirements no lower than the moderately sensitive level until confirmation is completed. For fields with Risk(f) < 0.45 that do not match high-risk sensitive types or mandatory business rules, they can be preliminarily determined as non-sensitive. Subsequently, the preliminary classification is revised based on the sensitivity type, identifiability, impact of leakage, and business rules. For example, even if the basic sensitivity score of fields such as ID card numbers and bank card numbers is in the critical range, if they belong to high-risk sensitive types and have a high degree of identifiability, their basic sensitivity level can be raised to highly sensitive. Therefore, the above score range is only used as a basis for basic classification and does not restrict the classification revision through other sensitive attributes.
[0121] After determining the basic sensitivity level, adjustments are made based on the intended use, target environment, user permissions, and output method of the current task to obtain an effective sensitivity level. The intended use may include development and testing, internal data analysis, statistical analysis, and data sharing; the target environment may include production, testing, and development environments; user permissions may include viewing raw data, viewing anonymized data, and field access permissions; and output methods may include page queries, API calls, batch export, or external sharing.
[0122] When the current task scenario carries a high risk of data exposure, the effective sensitivity level can be increased from the basic sensitivity level. For example, if the target environment is a test or development environment, the output method is batch export or external sharing, and the user has low permissions or does not have permission to view the original values, the effective sensitivity level of the corresponding field can be increased. Conversely, in relatively low-risk scenarios such as an authorized internal production environment, users with appropriate data access permissions, and the data is only used for statistical aggregation, the basic sensitivity level can be maintained or the processing level can be appropriately reduced according to preset rules.
[0123] The adjustment of sensitivity levels should also be constrained by a preset security baseline level. The preset security baseline level is determined at least based on the target environment and user permissions, and is used to limit the minimum effective sensitivity level allowed in the current scenario. When the adjustment result calculated based on the purpose of use or other contextual factors is lower than this security baseline level, the effective sensitivity level is raised to the security baseline level; when the adjustment result is equal to or higher than the security baseline level, the adjusted level is retained. In other words, the effective sensitivity level can be represented as the higher of the current scenario's adjustment result and the security baseline level in terms of protection requirements. This constraint prevents the field protection requirements from being excessively reduced due to user permissions, business purposes, or other scenario factors.
[0124] For example, in a customer data aggregation task, the mobile phone number field, based on the field name, field comments, data format, sensitivity rules, and historical confirmation results, yields a high basic sensitivity score. Combined with its contact information attribute, high identifiability, and potential impact of leakage, the basic sensitivity level is determined to be critically sensitive. If the current task is for development and testing, and the requesting user only has access to anonymized data, with batch export as the output method, then the protection requirements are increased based on the current purpose, target environment, user permissions, and output method, resulting in an effective sensitivity level no lower than the security baseline for the corresponding testing environment and current permissions. Subsequent steps then use this effective sensitivity level and related information to match specific anonymization strategies; this step only completes the determination and scenario-based adjustment of the sensitivity level.
[0125] In some embodiments of this application, the process of generating permanent anchors and task-level de-identification identifiers by the unified mapping service can be further refined. For fields that need to maintain mapping consistency based on association level and consistency de-identification strategy, the unified mapping service first queries the entity alias mapping table based on the source system identifier system_id and the original data value raw_value to determine the corresponding unified entity key UnifiedEntityID. The query relationship can be represented as: (system_id, raw_value) → UnifiedEntityID.
[0126] The source system identifier and the original data value are used together to determine an entity alias in the current business system. The UnifiedEntityID is used to represent the actual entity corresponding to the entity alias after record-level entity alignment in step S103. By first querying the unified entity key and then generating the subsequent mapping identifier, the inconsistency of heterogeneous encoding in different systems can be avoided by directly generating desensitized identifiers based on the original data values.
[0127] After determining the unified entity key, a pre-defined deterministic identifier generation algorithm is used to generate permanent anchors (PermAnchor). A deterministic identifier generation algorithm means that, with the algorithm parameters remaining constant, the same unified entity key can repeatedly generate the same permanent anchor, thus ensuring that the permanent anchor does not change with specific aggregation tasks. One implementation method is to use a namespace-based universal unique identifier generation method: PermAnchor = UUIDv5(namespace, UnifiedEntityID). Here, namespace represents the namespace pre-configured by the unified mapping service, and UnifiedEntityID represents the unified entity key. With consistent namespaces, the same UnifiedEntityID can generate the same PermAnchor.
[0128] As another implementation, an irreversible hashing method can be used: PermAnchor = Hash(UnifiedEntityID + Salt). Here, Hash represents a preset irreversible hash function, and Salt represents a preset salt value used by the unified mapping service. To maintain the stability of permanent anchors, the namespace or salt value used for the same mapping domain remains stable; when the input is the same UnifiedEntityID, the same PermAnchor is generated.
[0129] Heterogeneous raw data values from different source systems are mapped to the same UnifiedEntityID after record-level entity alignment. Therefore, the unified mapping service binds these raw data values to the same PermAnchor. This PermAnchor represents the real-world entity determined after entity alignment, rather than the specific raw value from any source system.
[0130] After the permanent anchor point is generated, the desensitization strategy identifier (StrategyID) and the corresponding format constraint (format_constraint) are further determined based on the consistency desensitization strategy matched in step S107. StrategyID is used to distinguish the currently used desensitization processing rule; for example, different desensitization strategies corresponding to different security levels or different consistency requirements can be configured with different strategy identifiers. Format constraints are used to limit the output format that the task-level desensitization identifier must meet, such as the data length of the target field, character type, or other data formats required to be maintained by the current desensitization strategy. For fields without special format requirements, format constraints can use preset default values or not be used as actual format transformation conditions.
[0131] Subsequently, a task-level de-identification token is generated using the task key K_task of the current aggregation task, the permanent anchor PermAnchor, the de-identification strategy identifier StrategyID, and the format constraint format_constraint. The generation relationship can be represented as follows: Token=F(K_task, PermAnchor, StrategyID, format_constraint).
[0132] Here, F represents the task-level de-identification identifier generation function, and K_task represents the task key of the current aggregation task. By introducing K_task, different task-level de-identification identifiers can be generated for the same real-world entity in independent aggregation tasks. By introducing PermAnchor, it can be ensured that different system original values pointing to the same real-world entity within the same aggregation task have a unified entity mapping basis. StrategyID and format_constraint are used to adapt the generated result to the currently selected de-identification strategy and output format requirements. As one implementation method, F can employ a deterministic mapping function with K_task as the key, assembling PermAnchor, StrategyID, and format_constraint into the input to be processed in a predetermined order, performing keyed mapping based on K_task, and then encoding or format adapting the mapping result according to format_constraint. When K_task, PermAnchor, StrategyID, and format_constraint are all the same, the same task-level de-identification identifier is generated; when K_task changes, the corresponding task-level de-identification identifier changes accordingly.
[0133] In practice, the processing method for the current task-level de-identification identifier can be determined from the preset de-identification algorithm based on the StrategyID. This processing method may include deterministic tokenization, format-preserving encryption, or hashing. The unified mapping service uses PermAnchor as a stable input to the corresponding real-world entity and performs corresponding deterministic processing in conjunction with K_task, StrategyID, and format_constraint to obtain the initial mapping result. Subsequently, according to format_constraint, the initial mapping result is adjusted for length, converted for character type, or adapted to other formats to form the final task-level de-identification identifier.
[0134] When using a deterministic approach to generate task-level masking identifiers, the same task-level masking identifier is generated for the corresponding input when K_task, PermAnchor, StrategyID, and format_constraint remain consistent. When K_task changes, even if PermAnchor remains unchanged, a task-level masking identifier belonging to another independent aggregation task is generated. For cases where different fields have different format constraints, task-level masking identifiers in different formats can be generated, and each task-level masking identifier can continue to be bound to the same PermAnchor.
[0135] As an alternative implementation, the deterministic mapping function F can be implemented using a key-based message authentication code algorithm. For example, HMAC calculation can be performed on the input data consisting of PermAnchor, StrategyID, and format_constraint based on K_task, and then the calculation result can be encoded and format adapted.
[0136] When the same entity uses the same de-identification strategy and format constraints in the same aggregation task, since both K_task and PermAnchor are the same, task-level de-identification identifiers that meet consistency requirements can be obtained. This allows heterogeneous original data values from different source systems to maintain cross-system relationships after de-identification. When fields from different sources have different format requirements, task-level de-identification identifiers adapted to their respective format constraints can be generated. However, each task-level de-identification identifier is still bound to the same PermAnchor to preserve internal entity relationships.
[0137] Permanent anchors and task-level de-identification identifiers serve different functions. Permanent anchors, as stable entity identifiers stored internally by the unified mapping service, do not change with independent aggregation tasks, nor are they directly output to the outside as aggregation results. They are mainly used for cross-system entity binding and cross-task mapping traceability. Task-level de-identification identifiers are used for the data output of the current aggregation task. Their values are constrained by the current task key and de-identification strategy. Therefore, different independent tasks can form different task-level de-identification identifiers for the same real entity, but all can be associated with the same permanent anchor within the unified mapping service.
[0138] For example, “CUST_10001” in the CRM system, “10001” in the order system, and “uuid_a” in the financial system are all mapped to UnifiedEntityID=E10001. The unified mapping service generates PermAnchor_E10001 based on E10001. In the aggregation task T1, the system obtains the StrategyID and format constraints according to the corresponding consistent de-identification strategy, and generates a task-level de-identification identifier token_T1_xxx in combination with the task key K_T1. Since the customer identifiers in the three systems are all bound to the same PermAnchor_E10001, a consistent task-level de-identification identifier can be generated under the same strategy in T1, thereby hiding the original customer identifiers of each system while preserving the cross-system association relationship between the same customer records in the aggregated data.
[0139] In some embodiments of this application, the inheritance and use of task-level de-identification identifiers and task keys can be further controlled based on task inheritance relationships. When creating a convergence task, the parent task identifier ParentTaskID can be configured in the task metadata. ParentTaskID is used to represent the parent convergence task that the current convergence task declares it inherits from. When the current task does not carry a ParentTaskID, it is treated as an independent convergence task, and a task-level de-identification identifier is generated using the current task's own task key; when the current task carries a ParentTaskID, the unified mapping service queries the task information and mapping repository based on the identifier, locates the corresponding parent convergence task and obtains historical mapping records, and simultaneously determines whether the current task meets the task mapping inheritance conditions.
[0140] When it is determined that the current aggregation task has a valid mapping inheritance relationship with the parent aggregation task, the current aggregation task can inherit the task key corresponding to the parent aggregation task, and use the inherited task key as the valid task key for generating task-level de-identification identifiers. Therefore, when the parent task and the legally inherited child task use the same de-identification strategy and format constraints for the same permanent anchor point, they have the same input for generating task-level de-identification identifiers, thus maintaining a stable de-identification mapping relationship within the task chain.
[0141] After determining the parent task, the current task is verified to determine its eligibility for mapping inheritance. Mapping inheritance is not determined solely by the existence of ParentTaskID, but rather by verifying at least the requesting user's mapping inheritance permissions, the purpose of the current task, and the user's permissions corresponding to the current task.
[0142] The mapping inheritance permission is used to confirm whether the user applying for the current aggregation task is authorized to reuse the de-identified mapping relationship already formed by the parent aggregation task. The system can make this determination based on the authorization information corresponding to the parent task, user identity, role, or task access permissions. When the applying user does not have the parent task mapping inheritance permission, even if the current task enters the correct ParentTaskID, the task-level de-identified identifier of the parent task is not allowed to be used directly.
[0143] For the purpose of use, the task metadata of the current aggregation task and the parent aggregation task are compared. If their purposes are the same, or if the current task's purpose is a subset of the purposes already authorized by the parent task, the purpose inheritance condition is met. Here, a subset means that the current task's data usage scope does not exceed the scope of the parent task's defined purposes. For example, if the parent task is authorized for "internal customer data analysis," and the current subtask is only used for "customer statistical analysis," then the current purpose can be considered a sub-purpose within the parent task's scope. If the current task changes to external data sharing, it no longer falls within the original parent task's scope. The correspondence of purposes can be determined based on the pre-configured purpose categories and their inclusion relationships in the task metadata.
[0144] Regarding user permissions, further comparison is made to determine whether the data range and operation types that the user requesting the current task can access meet the parent task's preset inheritance permission conditions. As one implementation, the permissions of the user requesting the current task can be required to at least cover the field access range and operation permissions required by the parent task's mapping inheritance; that is, the current user must have at least the data access permissions and de-identified data usage permissions required to reuse the parent task's mapping relationship. This prevents users with insufficient permissions from directly inheriting historical de-identified mappings that were originally only applicable to users with higher permissions by creating subtasks.
[0145] When the verification of mapping inheritance permissions, usage purpose, and user permissions all pass, the unified mapping service determines that the current aggregation task and the parent aggregation task have a valid mapping inheritance relationship, and enables the current aggregation task to inherit the task key of the parent aggregation task. The inherited task key is recorded as the effective task key K_effective of the current task. Subsequently, the historical mapping record of the parent task is read according to ParentTaskID, and the permanent anchor point PermAnchor corresponding to the entity to be processed is used as the search basis.
[0146] If the parent task's historical mapping record already contains a task-level de-identification identifier corresponding to the PermAnchor, that historical task-level de-identification identifier can be directly reused. Alternatively, the deterministic task-level de-identification identifier generation process can be re-executed based on the inherited effective task key K_effective, the same PermAnchor, and the corresponding de-identification strategy identifier and format constraints. Since the inherited task uses the same effective task key as the parent task, and the deterministic generation function produces the same output when the input is the same, both methods can obtain a task-level de-identification identifier consistent with the parent task. The relationship can be expressed as: K_effective = K_parent; Token_parent=F(K_parent, PermAnchor, StrategyID, format_constraint); Token_current=F(K_effective, PermAnchor, StrategyID, format_constraint); Therefore, under the same input conditions: Token_current = Token_parent. Where: K_parent represents the task key corresponding to the parent aggregation task; K_effective represents the effective task key used by the current inheriting task; PermAnchor represents the permanent anchor point of the corresponding real-world entity; StrategyID represents the corresponding de-identification strategy identifier; and format_constraint represents the corresponding format constraint. Since K_effective is the same as K_parent, the deterministic task-level de-identification identifier generation function F obtains the same result when other input conditions are the same. If the corresponding Token has already been saved in the parent task's historical mapping record, the unified mapping service can directly return that historical Token to reduce redundant calculations.
[0147] If any of the above verification conditions are not met, the unified mapping service determines that the current aggregation task is not eligible for mapping inheritance, and the current task does not inherit the task key and historical task-level de-identification identifier from the parent aggregation task. In this case, the permanent anchor point corresponding to the same real-world entity is still used as the internal entity base, and the task key K_current of the current aggregation task itself is used as the effective task key for the current task, independently generating a new task-level de-identification identifier. Its generation relationship can be expressed as: K_effective = K_current; Token_current=F(K_effective, PermAnchor, StrategyID, format_constraint).
[0148] Here, K_current represents the task key configured for the current aggregation task. Since the current task does not inherit the task key from its parent task, its valid task key is different from that of the parent task. Therefore, even if the corresponding PermAnchor is the same, a task-level de-identified identifier different from that of the parent task can be generated. After generating Token_current, it is associated with the current task identifier and the corresponding PermAnchor and written into the mapping record of the unified mapping service. This achieves the isolation of de-identified identifiers between different independent tasks while maintaining the traceability of internal entities.
[0149] For example, when physical aggregation task T1 processes customer E10001, it uses the task key K_T1, the permanent anchor PermAnchor_E10001, and the corresponding de-identification policy constraints to generate a task-level de-identification identifier token_A, and saves the corresponding mapping record to the unified mapping service. Subsequently, the data analyst creates a real-time query task T2 and configures ParentTaskID=T1 in the task metadata. The system confirms that the analyst has mapping inheritance permissions for T1, that the purpose of using T2 falls within the authorized scope of T1, and that the user permissions requested by T2 meet the inheritance permission conditions set by T1. Therefore, it determines that T2 and T1 have a valid mapping inheritance relationship.
[0150] At this point, T2 inherits the task key K_T1 corresponding to T1 and uses K_T1 as its valid task key. When T2 queries the data corresponding to E10001, the unified mapping service queries T1's historical mapping record based on PermAnchor_E10001. If token_A already exists in the historical record, it can be directly reused as the task-level de-identification identifier for T2; alternatively, the inherited K_T1 and PermAnchor_E10001 can be recalculated using a deterministic generation function, resulting in a de-identification result consistent with token_A under the same strategy identifier and format constraints. Therefore, the physical aggregation result of T1 and the inherited query result of T2 maintain a consistent task-level de-identification identifier for the same customer.
[0151] If the purpose of T2 exceeds the authorized scope of T1, the applicant does not have mapping inheritance permissions, or the user's permissions do not meet the inheritance conditions, then T2 will not inherit K_T1 and token_A. Instead, it will use T2's own task key K_T2 to generate a new task-level de-identified identifier token_B, and continue to bind token_B to PermAnchor_E10001. Thus, although T1 and T2 can still trace back to the same real entity through the same permanent anchor point within the system, they use different task-level de-identified identifiers externally.
[0152] In some embodiments of this application, the differentiated and consistent de-identification strategy matching process in step S107 can be further refined. Candidate de-identification strategies suitable for the field to be processed are obtained from the de-identification strategy library and sequentially filtered according to permission prohibition rules, target environment compliance rules, sensitivity level protection rules, and associated level functional requirement rules. After filtering by the previous level of rules, only the remaining candidate strategies are applied to the next level of rules, ensuring that lower priority rules cannot overcome the restrictions formed by higher priority rules. After filtering by rules at each level, the consistent de-identification strategies that can be used for the current field in this aggregation task are obtained.
[0153] The permission prohibition rule is set as the highest priority rule. The system determines whether the current user has output permissions for the fields to be processed based on the applicant user, user role, and field access permissions for the current aggregation task. When a user's permissions do not meet the access conditions for the corresponding field, that field is marked as prohibited from output, and the system will no longer match it with desensitization policies that allow external output. In this case, even if the field's desensitization theoretically reduces data sensitivity, it cannot be used to circumvent existing access control restrictions by exploiting subsequent consistency or data availability requirements. By setting the permission prohibition rule as the highest priority, fields without access permissions can be incorrectly included in the aggregation results due to policy matching.
[0154] Once the permission conditions are met, the target environment compliance rules are further executed. These rules determine whether pre-configured mandatory data masking requirements exist when the current data is to be output to a production, testing, development, or other target environment. For example, if the target environment stipulates that certain types of sensitive data must be processed irreversibly, only candidate masking strategies that meet the irreversibility requirement are retained; if the target environment stipulates that output fields must meet specific format or structure requirements, candidate strategies that do not meet the corresponding format constraints are excluded. Target environment rules take precedence over subsequent sensitivity level and association level rules; therefore, processing methods that violate the mandatory requirements of the target environment should not be selected to maintain cross-system mapping consistency.
[0155] Among the candidate strategies that meet the mandatory requirements of the target environment, the permissible de-identification strength is further determined based on the effective sensitivity level. The higher the effective sensitivity level, the stronger the corresponding de-identification strategy should provide data protection. For example, highly sensitive fields can choose tokenization, format-preserving encryption, or other high-strength processing methods that meet the current environment's security requirements; important sensitive fields can adopt masking, pseudo-name authentication, or other appropriate methods depending on the use case; ordinary sensitive fields can choose corresponding de-identification methods that meet their protection requirements. Specific strategies are not limited to the above examples; the core principle is that the processing rules corresponding to lower sensitivity levels should not reduce the protection strength of highly sensitive fields to a level that fails to meet the established security requirements.
[0156] After the desensitization strength meets the requirements, the need to maintain cross-system mapping consistency is further determined based on the association level. For strongly associated fields, the desensitization method that can maintain a stable mapping relationship is selected from the remaining candidate strategies, ensuring that heterogeneous original data values within the same associated field group and aligned to the same unified entity key at the record level maintain a consistent mapping in the current task. For moderately associated fields, a strategy with consistent mapping capability is selected only when the corresponding conditional consistency is triggered. For weakly associated and zero-associated fields, independent randomization, irreversible processing, or other strategies that do not require maintaining cross-system mapping consistency can be used. By using the association level as a filtering condition at the functional requirement level, the necessary cross-system association analysis capabilities can be retained without violating permission and security constraints.
[0157] For example, for a customer identification field that is identified as highly sensitive and strongly associated, if the current target environment allows for a high-intensity desensitization method that can maintain a stable mapping relationship, then a strategy that simultaneously meets the requirements of high sensitivity protection and strong association consistency can be selected. If the target environment explicitly requires irreversible processing, then this mandatory requirement should be met first, and then a processing method that can maintain the required association capability as much as possible should be selected from the strategies that meet this requirement. Instead, a reversible processing method that does not meet the environmental security requirements should not be selected simply to maintain consistency.
[0158] Furthermore, when multiple related fields that need to maintain mapping consistency have different original data formats, conflicts between different format constraints also need to be handled. For example, customer identifiers in a CRM system might be strings with a fixed prefix, customer identifiers in an order system might be pure numbers, and customer identifiers in a financial system might be in UUID format. Forcing the three fields to output the exact same character format may cause some target fields to fail to meet their original data type, length, or structure requirements. Therefore, a `format_constraint` can be determined for each related field, and this can be used as the format constraint when the unified mapping service generates task-level de-identification identifiers. When the unified mapping service is called subsequently, the format-adapted task-level de-identification identifier can be represented as: `Token_i = F(K_task, PermAnchor, StrategyID, format_constraint_i)`.
[0159] Here, Token_i represents the format adaptation task-level de-identification identifier corresponding to the i-th associated field, K_task represents the task key of the current aggregation task, PermAnchor represents the permanent anchor point corresponding to the same real entity, StrategyID represents the currently matched consistent de-identification strategy identifier, and format_constraint_i represents the format constraint corresponding to the i-th field. Different fields can have different format_constraint_i values, therefore the generated Token_i can have different external representations, but all are associated with the same PermAnchor, ensuring that the system can still recognize that these different format de-identification values correspond to the same real entity. This processing method can simultaneously satisfy the requirements of field format compatibility and cross-system entity association.
[0160] For example, the CRM customer identifier field requires a fixed-length string, the order customer identifier field requires a numeric format, and the finance customer identifier field requires a UUID format. After entity alignment, all three fields correspond to the same permanent anchor, PermAnchor_E10001. The system generates corresponding task-level masking identifiers according to the format constraints of each of the three fields and binds all three to PermAnchor_E10001. Therefore, although the masking identifiers output by the three fields are not entirely identical in character format, the unified mapping service can still confirm that they correspond to the same customer through the common permanent anchor, achieving cross-system consistency management under format adaptation conditions.
[0161] In some embodiments of this application, multidimensional result verification can be further performed before the de-identified aggregated dataset is output to verify whether the de-identification result meets the requirements for sensitive data protection, user permissions, association consistency, and target environment format. First, the required consistency verification level is determined based on the association strength score obtained in the preceding steps.
[0162] Set a first strength threshold Th1 and a second strength threshold Th2, satisfying that Th1 > Th2. For a candidate association r, its association level can be determined according to the following formula: when Strength(r) ≥ Th1, the association level is strong association; when Th2 ≤ Strength(r) < Th1, the association level is medium association.
[0163] Where Strength(r) represents the association strength score of the candidate association. As one implementation, the first strength threshold can be set to 0.80, and the second strength threshold can be set to 0.60. In this case, field relationships with an association strength score of 0.80 or higher enter the strong association consistency check range, while field relationships with a score between 0.60 and 0.80 enter the medium association condition consistency check range. Weak or zero association relationships below the second strength threshold do not require mandatory cross-system mapping consistency checks, but the corresponding fields still need to undergo other applicable checks such as residual sensitive values, permissions, format, and structure.
[0164] After determining the consistency verification level, residual sensitive value verification is performed on the de-identified aggregated dataset. Residual sensitive value verification is used to detect whether unprocessed real sensitive data still exists in the de-identified results. The sensitivity type of the field to be verified can be determined based on the results of previous sensitive field identification, and the result data can be scanned in conjunction with the corresponding sensitivity type rules and format rules. For example, for mobile phone numbers, it can be checked whether the field value still conforms to the complete format of a real mobile phone number; for fields such as ID card numbers, bank card numbers, or email addresses, the corresponding data length, character structure, or format features can be used for detection. If a sensitive field still retains a complete real value after being processed according to the de-identification strategy, or if real sensitive data that should not exist appears in the output results, the residual sensitive value verification is deemed to have failed.
[0165] It should be noted that format rules are used to identify suspected residual sensitive data, and should not be directly judged as real sensitive data simply because the de-identification result still meets the original field format. For fields that use format-preserving encryption, format-adaptive tokenization, or other de-identification strategies that maintain the original data structure, the de-identification strategy corresponding to the field and its execution result should also be considered to determine whether the expected de-identification has been completed; when no effective de-identification result is detected and the field value still meets the characteristics of real sensitive data, the residual sensitive value verification is deemed to have failed.
[0166] Further, a permission coverage integrity check is performed. This check determines whether each field in the dataset to be output satisfies the data access permissions of the current user. Specifically, the field identifiers of the fields to be output are compared item by item with the user's identity, role, and field access permissions in the current aggregation task. Fields for which the user has output permissions are allowed to proceed to subsequent checks; fields for which the user does not have access permissions or which have been marked as prohibited from output by permission prohibition rules are not allowed to appear in the final result set. If a prohibited output field is detected to still be included in the dataset to be output, the permission coverage integrity check fails.
[0167] Subsequently, a consistency check is performed. For strong relationships, the task-level masking identifiers corresponding to heterogeneous original data values mapped to the same unified entity key within the same related field group are checked to ensure they meet mandatory consistency requirements. Specifically, the set of fields requiring consistency checks is first determined based on the related field group identifier. Then, records from different data sources that actually point to the same real-world entity are identified based on the unified entity key. Finally, the task-level masking identifiers corresponding to these records are compared. If the current strategy requires generating task-level masking identifiers in the same format, then the task-level masking identifiers corresponding to the same unified entity key should remain the same. If the aforementioned format constraints cause different fields to use format-adapted task-level masking identifiers, it can be further verified whether each format-adapted identifier is bound to the same permanent anchor point and meets the corresponding consistency strategy requirements.
[0168] For join relationships, join consistency checks are performed only when the conditional consistency trigger condition is met. The conditional consistency trigger condition can be that the current convergence result contains multiple data source fields corresponding to both sides of the join edge. When only the corresponding field from one data source is output, cross-system consistency checks are not enforced; when the convergence result contains related fields, it is checked whether records pointing to the same unified entity key maintain the corresponding consistent mapping according to the join strategy.
[0169] It's important to note that the consistency check targets data that are "within the same group of related fields and point to the same unified entity key," rather than simply comparing all original data values within the same field group. This avoids incorrectly requiring different real-world entities to generate the same task-level de-identification tags simply because they belong to the same group of related fields.
[0170] Furthermore, format and structure validation is performed. This validation checks whether the anonymized fields conform to the field length and data type requirements of the target environment and the corresponding business interface. For example, if the target field requires fixed-length character data, check whether the length of the anonymized data meets the requirement; if the target field requires numeric, string, or specific identifier formats, check whether the anonymized result can be stored and used normally according to the corresponding field type. For fields using format adaptation task-level anonymization identifiers, it should also be checked whether the adapted identifier conforms to the corresponding format_constraint.
[0171] In the validation processes for residual sensitive values, permission coverage integrity, strong association consistency, triggered association consistency, and format and structure requirements of the target environment, the validation items that must be forcibly passed can be determined according to preset rules. When any forced validation fails, the system does not directly output the current anonymized aggregated dataset, but intercepts the output and records the failed validation type and corresponding abnormal fields. For anomalies that can be resolved by adjusting the anonymization strategy, a strategy that meets the corresponding constraints is selected again from the anonymization strategy library based on the reason for failure, and the anonymization process is re-executed. For example, when residual sensitive value validation fails, the anonymization strength of the corresponding field can be increased; when association consistency validation fails, a strategy that meets the mapping consistency requirements can be reselected; when format validation fails, a strategy that meets the target field format constraints can be reselected. After reprocessing, the above validations are performed on the corresponding results again.
[0172] If the mandatory validation still fails after re-matching the de-identification strategy and re-performing the de-identification process, the abnormal result will be transferred to manual review. Manual review can confirm whether adjusting the mapping relationship, modifying the strategy configuration, or terminating the output of the corresponding field is permissible, based on the abnormal record, field sensitivity level, relationship, current user permissions, and the adopted de-identification strategy. The abnormal data will not be included in the final output until the manual review is completed and the corresponding validation requirements are met.
[0173] For example, in the data aggregation task of the CRM customer system, order system, and financial system, the association strength scores of the three customer identification fields all exceeded the first strength threshold. Therefore, a mandatory consistency check was performed according to the strong association. For the unified entity key E10001, it was checked whether the task-level de-identification identifiers of the corresponding customer records in the three systems met the consistency requirements. At the same time, the mobile phone number and ID card number fields were scanned to confirm that there were no unprocessed real sensitive values, and it was checked whether the current analysis user had access permissions to the de-identified data of all fields to be output, and whether the length and data type of each de-identified field conformed to the target format of the data platform. When all the above checks passed, the de-identified aggregated dataset was allowed to be output; if, for example, an ID card number still retained its real value, the output was immediately intercepted, a de-identification strategy that met higher protection requirements was re-matched, and the check was performed again. If the check still failed after reprocessing, it was transferred to manual review.
[0174] Based on the same inventive concept as the methods described above, this application also proposes an adaptive desensitization system for cross-system data aggregation. For example... Figure 2 As shown, the system includes a data normalization module, an association discovery module, an entity alignment module, an association classification module, a sensitivity level determination module, a unified mapping module, a strategy matching module, and a de-identification execution module.
[0175] The data normalization module is used to acquire data asset metadata and perform field normalization processing in step S101; the association discovery module is used to extract multimodal association fingerprints and determine cross-system association field candidates in step S102; the entity alignment module is used to perform record-level entity alignment and generate unified entity keys in step S103; the association classification module is used to perform association strength scoring, association level determination, and association field group generation in step S104; the sensitivity level determination module is used to determine the basic sensitivity level and effective sensitivity level in step S105; the unified mapping module is used to perform permanent anchor management and mapping functions in step S106 and the aforementioned unified mapping service; the policy matching module is used to perform consistent de-identification policy matching and algorithm constraint determination in step S107; and the de-identification execution module is used to perform task-level de-identification identifier generation and de-identification processing in step S108. The specific processing procedures of each module can be referred to the corresponding method steps and embodiments described above, and will not be repeated here.
[0176] The method steps and system modules in the various embodiments of this application can be implemented by a processor executing corresponding program instructions. The program instructions can be stored in a computer-readable storage medium and executed by a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to implement the corresponding data processing functions described in the above embodiments. Other software, hardware, or software-hardware combinations that can be implemented by those skilled in the art based on the disclosure of this application will not be elaborated here.
[0177] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and not to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that modifications or equivalent substitutions can still be made to the specific implementation of the present invention. Any modifications or equivalent substitutions that do not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. An adaptive data anonymization method for cross-system data aggregation, characterized in that, include: Obtain the aggregation task and the metadata of the data assets to be aggregated from multiple data sources involved in the aggregation task, obtain the context attributes of the aggregation task, standardize the field information in the data asset metadata, and generate a unified field record. The context attributes include at least the purpose of use, the target environment, and user permissions. Multimodal association fingerprint features are extracted from the unified field record, the fingerprint feature similarity between fields from different data sources is calculated, and a cross-system association field candidate set is determined based on the fingerprint feature similarity. Perform record-level entity alignment on the original data values corresponding to the associated fields in the cross-system associated field candidate set, establish an entity alias mapping table based on the source system identifier and the original data value, and map heterogeneous original data values pointing to the same real entity to a globally unique unified entity key; The association strength score of the candidate association is calculated by combining the fingerprint feature similarity, value range overlap rate and reference co-occurrence. The corresponding association level is determined according to the association strength score. Then, the association field group and the corresponding association field group identifier are generated according to the candidate association and its association level. A basic sensitivity score is calculated based on the multidimensional recognition features recorded in the unified field. A basic sensitivity level is determined based on the basic sensitivity score, and an effective sensitivity level is determined by combining the contextual attributes of the aggregation task. Based on the unified entity key, a permanent anchor point corresponding to the real entity is generated through the unified mapping service. This anchor point remains unchanged across tasks and is not output externally. Based on the effective sensitivity level, the association level, and the context attributes of the aggregation task, a differentiated and consistent desensitization strategy is matched from the desensitization strategy library, and the corresponding target desensitization algorithm constraints are determined. The unified mapping service is invoked, and for fields that need to maintain mapping consistency, a task-level de-identification identifier is generated based on the task key of the aggregation task, the permanent anchor point, and the target de-identification algorithm constraints. De-identification processing is then performed according to the matching consistency de-identification strategy to generate the de-identified aggregation dataset.
2. The method according to claim 1, characterized in that, The step of extracting multimodal association fingerprint features from the unified field record and calculating the fingerprint feature similarity between fields from different data sources includes: Extract the structural features, value range distribution features, and reference relationship features corresponding to each unified field record. The structural features include at least one of the following: field data type, field length, prefix or suffix pattern, and encoding rule features. The value range distribution features include at least one of the following: value range sparsity, null value rate, repetition rate, and value range shape features. The reference relationship features include at least one of the following: field reference frequency, number of times the field appears in related queries, and primary key or foreign key tagging information. The structural features, value range distribution features, and reference relationship features are encoded and normalized respectively, and the processed features are fused to generate an associated fingerprint vector. Generate field semantic features based on field name, field annotation, business tag, and field type, and use the field semantic features as pre-screening conditions for candidate fields or as correction features for fingerprint feature similarity. Calculate the similarity between the associated fingerprint vectors corresponding to fields from different data sources. When the similarity reaches a first association threshold, the corresponding field is automatically added to the cross-system associated field candidate set. When the similarity is lower than the first association threshold and reaches a second association threshold, the corresponding field is marked as an associated field to be confirmed. The first association threshold is greater than the second association threshold.
3. The method according to claim 1 or 2, characterized in that, The step of performing record-level entity alignment on the original data values corresponding to the associated fields in the cross-system associated field candidate set includes: According to the preset entity matching priority, the original data values corresponding to the associated fields in different data sources are matched sequentially using existing master data or bridging table matching, historical association query or data lineage matching, business primary key combination or encoding conversion rule matching, and entity matching based on attribute similarity. Matching results that are lower than the preset entity matching confidence level are identified as results to be confirmed. Generate a unified entity key for the original data values that match the same real-world entity, and establish the entity alias mapping table; The entity alias mapping table records at least the source system identifier, original data value, unified entity key, matching confidence, matching source, and update time, so that heterogeneous original data values from different source systems can establish a mapping relationship with the same unified entity key through the corresponding source system identifier and original data value.
4. The method according to claim 1, characterized in that, The calculation of the association strength score for candidate associations, the determination of the corresponding association level based on the association strength score, and the generation of association field groups and corresponding association field group identifiers include: The association strength score is obtained by weighting the fingerprint feature similarity, value range overlap rate, reference co-occurrence frequency and association confirmation results. The value range overlap rate is determined based on the degree of overlap between the unified entity key set formed after the original data values of different association fields are aligned at the record level. Based on multiple preset strength thresholds, candidate associations are divided into strong association, medium association, weak association, and zero association. Each unified field record is used as a node in the field-level association graph. Candidate associations and their association strength scores are used as edges. The edges corresponding to strong associations are aggregated. Field nodes connected by strong association edges are determined to be the same associated field group, and an associated field group identifier is assigned to the associated field group. The edges corresponding to medium associations are identified as conditional association edges, and the edges corresponding to weak associations and zero associations are excluded from the mandatory consistency association field group. Specifically, when the association level is strong, heterogeneous original data values mapped to the same unified entity key within the same association field group are identified as processing objects that must maintain cross-system mapping consistency; when the association level is medium, heterogeneous original data values are identified as processing objects that need to maintain cross-system mapping consistency only when the aggregation result contains association fields corresponding to multiple data sources; when the association level is weak or zero, cross-system mapping consistency is not required between corresponding fields, and desensitization processing is performed according to the desensitization strategy corresponding to each field.
5. The method according to claim 1, characterized in that, The calculation of the basic sensitivity score, the determination of the basic sensitivity level based on the basic sensitivity score, and the determination of the effective sensitivity level in conjunction with the contextual attributes of the aggregation task include: For unified field records, extract field name features, field type features, field comment features, data content pattern features, rule dictionary features, and historical confirmation features. After normalizing each identification feature, perform weighted calculation to obtain the basic sensitivity score of the corresponding field. The historical confirmation feature is Laplace smoothed and is determined based on the number of times the corresponding field is confirmed as a sensitive field and the number of times it is confirmed as a non-sensitive field in historical tasks. The basic sensitivity level is determined based on the basic sensitivity score and the sensitivity type, identifiability, leakage impact, and business rules corresponding to the field. Based on the purpose of the aggregation task, the target environment, user permissions, and the output method, the basic sensitivity level is adjusted to obtain the effective sensitivity level. The adjusted effective sensitivity level shall not be lower than the preset security baseline level corresponding to the target environment and user permissions.
6. The method according to claim 1, characterized in that, The unified mapping service performs the following processing for fields that need to maintain mapping consistency: The entity alias mapping table is queried based on the source system identifier and the original data value to determine the corresponding unified entity key; The unified entity key is processed using a preset deterministic identifier generation algorithm to generate the permanent anchor point, and the original data values from different source systems belonging to the same unified entity key are bound to the same permanent anchor point. The deterministic identifier generation algorithm includes a namespace-based universal unique identifier generation algorithm or an irreversible hash algorithm. The corresponding desensitization strategy identifier and format constraints are determined based on the matched consistency desensitization strategy, and a task-level desensitization identifier is generated based on the task key, the permanent anchor point, and the desensitization strategy identifier and format constraints. The permanent anchor point is used as an internal traceability identifier that remains stable across tasks, and the task-level desensitized identifier is used as an external output identifier for the current aggregated task.
7. The method according to claim 6, characterized in that, It also includes consistency handling based on task inheritance relationships: When the current merging task carries a parent task identifier, the parent merging task with a mapping inheritance relationship with the current merging task is determined according to the parent task identifier, and the historical mapping record corresponding to the parent merging task is obtained. Verify that the user applying for the current aggregation task has the mapping inheritance permission of the parent aggregation task, verify that the purpose of the current aggregation task is the same as or belongs to a subset of the purpose of the parent aggregation task, and verify that the user permission corresponding to the current aggregation task meets the inheritance permission conditions corresponding to the parent aggregation task. When all the above verifications pass, the task key of the parent aggregation task is determined as the valid task key of the current aggregation task. The unified mapping service queries the historical mapping record corresponding to the parent aggregation task based on the parent task identifier, and reuses the task-level de-identification identifier generated based on the task key of the parent aggregation task in the historical mapping record for the same permanent anchor point. If any verification fails, the task key and historical task-level de-identification identifier of the parent aggregation task are not inherited. Instead, a new task-level de-identification identifier is generated based on the task key of the current aggregation task, the corresponding permanent anchor point, and the currently matched de-identification strategy identifier and format constraints. The generated task-level de-identification identifier is then associated with the corresponding permanent anchor point.
8. The method according to claim 1 or 5, characterized in that, The step of matching differentiated and consistent desensitization strategies from the desensitization strategy library based on the effective sensitivity level, the association level, and the contextual attributes of the aggregation task includes: Candidate desensitization strategies in the desensitization strategy library are screened according to the priority order of permission prohibition rules, target environment compliance rules, sensitivity level protection rules, and associated level functional requirement rules. When the user's permissions do not meet the access conditions of the field to be processed, the output of the corresponding field is prohibited; When the target environment has a preset mandatory desensitization requirement, candidate desensitization strategies are limited according to the preset mandatory desensitization requirement; Among the candidate desensitization strategies that meet the preset mandatory desensitization requirements of the target environment, the desensitization intensity is determined according to the effective sensitivity level, and whether to maintain cross-system mapping consistency is determined according to the association level. When multiple related fields that need to maintain mapping consistency have different original data formats and corresponding format constraints are inconsistent, the corresponding format constraints are determined according to the original data format of each related field, and each format constraint is used as the target de-identification algorithm constraint condition for the corresponding field, so that the subsequent unified mapping service generates a format-adapted task-level de-identification identifier according to each format constraint, and establishes an association mapping between each format-adapted task-level de-identification identifier and the same permanent anchor point.
9. The method according to claim 1, characterized in that, Before outputting the desensitized aggregated dataset, the following is also included: The association level for association consistency verification is determined based on the comparison between the association strength score and the preset first strength threshold and second strength threshold. When the association strength score is greater than or equal to the first strength threshold, the corresponding association level is strong association. When the association strength score is less than the first strength threshold but greater than or equal to the second strength threshold, the corresponding association level is medium association, and the first strength threshold is greater than the second strength threshold. Perform residual sensitive value verification on the desensitized aggregated dataset, and detect whether there is any real sensitive data that has not been desensitized according to the sensitive type rules and format rules; Perform permission override integrity verification to check whether the fields to be output meet the data access permissions of the current user. Perform association consistency verification. When the association level is strong association, verify whether the task-level de-identification identifiers corresponding to the original data values mapped to the same unified entity key within the same association field group meet the mandatory consistency requirements. When the association level is medium association and the conditional consistency triggering condition is met, verify whether the corresponding association fields meet the conditional consistency requirements. Perform format and structure validation to check whether the length and data type of the de-identified fields meet the format requirements of the target environment; If any mandatory verification fails, the output of the desensitized aggregated dataset is intercepted; if the permission coverage integrity verification fails, the output of the corresponding field is prohibited; for other anomalies that can be resolved by adjusting the desensitization strategy, a desensitization strategy that meets the corresponding verification conditions is re-matched for desensitization processing and re-verification; if the corresponding mandatory verification still fails after re-matching, the corresponding abnormal result is transferred to manual review.
10. An adaptive data desensitization system for cross-system data aggregation, characterized in that, include: The data normalization module is used to obtain the data asset metadata of the aggregation task and multiple data sources involved in the aggregation task, obtain the context attributes of the aggregation task, normalize the field information in the data asset metadata, and generate unified field records. The context attributes include at least the purpose of use, target environment, and user permissions. The association discovery module is used to extract multimodal association fingerprint features from the unified field records, calculate the fingerprint feature similarity between fields from different data sources, and determine a cross-system association field candidate set based on the fingerprint feature similarity. The entity alignment module is used to perform record-level entity alignment on the original data values corresponding to the associated fields in the cross-system associated field candidate set, and to establish an entity alias mapping table based on the source system identifier and the original data value, mapping heterogeneous original data values pointing to the same real entity to a globally unique unified entity key; The association grading module is used to calculate the association strength score of candidate associations by comprehensively considering the fingerprint feature similarity, value range overlap rate and co-occurrence of references, determine the corresponding association level based on the association strength score, and generate association field groups and corresponding association field group identifiers based on the candidate associations and their association levels. The sensitivity level determination module is used to calculate a basic sensitivity score based on the multi-dimensional identification features recorded in the unified field, determine a basic sensitivity level based on the basic sensitivity score, and determine an effective sensitivity level in combination with the context attributes of the aggregation task. The unified mapping module is used to generate permanent anchor points corresponding to real-world entities based on the unified entity key, which remain unchanged across tasks and are not output externally; The strategy matching module is used to match differentiated and consistent desensitization strategies from the desensitization strategy library based on the effective sensitivity level, the association level, and the context attributes of the aggregation task, and to determine the corresponding target desensitization algorithm constraints. The desensitization execution module is used to call the unified mapping module, generate task-level desensitization identifiers for fields that need to maintain mapping consistency based on the task key of the aggregation task, the permanent anchor point and the target desensitization algorithm constraints, and perform desensitization processing according to the matching consistency desensitization strategy to generate the desensitized aggregation dataset.
