High-performance personal information desensitization method and system for data openness
By adopting the character-level personal information identification and positioning method in the data open scenario, the problems of insufficient personal information identification and inaccurate desensitization in the existing technology are solved, and accurate identification and desensitization of hidden information in the data are achieved, avoiding the problem of Sensitive information is leaked, while the authenticity and utilization value of the data are retained.
Patent Information
- Application Number
- CN202410153939.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-04
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2044-02-04
AI Technical Summary
Existing technologies cannot effectively identify and desensitize personal information hidden in data in public data open scenarios, resulting in sensitive information leakage and reduced data utilization value.
Adopting a character-level personal information identification and positioning method, by setting personal information types and identification rules and desensitization rules, the desensitization strategy can be adaptively selected to achieve accurate identification and desensitization of character-level personal information in the data table. .
It effectively avoids the disclosure of personal information after data is opened, retains the authenticity and availability of data, meets data-related business needs, avoids risks associated with personal data, and adapts to complex desensitization requirements.
Smart Images

Figure CN117708883B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of information security technology, and specifically relates to a high-performance personal information desensitization method and system for data openness. Background Art
[0002] Data desensitization, also known as data bleaching or data privacy removal, refers to the processing of sensitive data according to given desensitization rules and strategies while retaining the original characteristics of the data, thereby removing sensitive information contained in the data and protecting sensitive data from unauthorized access and acquisition; at the same time, under the condition of appropriate processing of sensitive data, sensitive data can still be used safely. Taking the opening of public data as an example to describe the data opening scenario, public data is data collected and generated by relevant national agencies in the process of performing their duties or providing public services in accordance with the law, and personal information is an important part of it. In the scenario of public data opening, the applicable data desensitization method needs to meet the requirements of data availability after data opening while ensuring data security. The basis of the desensitization algorithm is the identification of personal information and the setting of desensitization rules. Public data has the characteristics of large data capacity, wide range of aspects involved, and complex data structure. The personal information therein is diversely distributed and hidden. The personal information desensitization method provided by the existing technology cannot well meet the needs of compliant opening and effective use of public data in actual situations.
[0003] Prior art, such as the Chinese invention patent with publication number CN115859372A, discloses a medical data desensitization method and system. The medical data desensitization method and system provided by the invention can complete fully automated desensitization for medical data. Users only need to enter the medical fields contained in the medical data; they can desensitize diversified medical data. The invention classifies the collected medical data according to the names of each field, and divides it into text data and non-text data. However, based only on the field name, it is impossible to grasp the specific field content. This method cannot effectively handle the abnormal values and mixed information in the field content. It is necessary to require the collected data to be standard data, otherwise the sensitive information will not be desensitized normally.
[0004] For another example, a Chinese invention patent with publication number CN112257108A discloses a data desensitization method, a data desensitization device, a computer-readable storage medium and an electronic device. The invention uses the data attributes of the source data as keywords, sets sensitive data attributes, and obtains the values corresponding to the keywords as the data to be desensitized. Since it is impossible to determine whether the obtained data to be desensitized is the target sensitive data, it is required that the values corresponding to the data attributes must be standard data. The data to be desensitized obtained by this method may be directly processed and the problem of sensitive information being disclosed may occur.
[0005] The current personal information desensitization methods, which are based on identification methods based on field names or field sampling, field-level desensitization rules, and manually set desensitization strategies, cannot meet the needs of compliant opening and effective use of public data in actual situations. The existing problems are as follows: (1) Insufficient personal information identification methods; (2) Field-level desensitization rules are prone to lead to sensitive information disclosure. Summary of the invention
[0006] The purpose of the present invention is to provide a high-performance personal information desensitization method and system for data openness, which can identify and locate personal information at the character level, and can adaptively select desensitization strategies for characters carrying sensitive information to perform desensitization processing, thereby realizing accurate personal information desensitization at the character level of data tables in data openness scenarios.
[0007] To achieve the above-mentioned object of the invention, the technical solution of the present invention is as follows:
[0008] A high-performance personal information desensitization method for data openness includes the following steps:
[0009] S1 Obtaining the data to be desensitized: Access the data source and obtain the original data table to be desensitized from the data source;
[0010] S2 Policy Setting: It includes two parts: setting personal information types and identification rules and setting personal information desensitization rules. The setting of each part includes two levels: bottom-line strategy and policy customization.
[0011] The setting of personal information types and identification rules includes setting the types of personal information to be identified and their corresponding identification rules. Subsequent processing steps will be based on the personal information identified by the set identification rules.
[0012] The setting of personal information desensitization rules includes setting the information granularity and desensitization form to be retained when performing different desensitization processes on various types of identified personal information;
[0013] S3 Personal information identification and location: According to the various personal information types and identification rules set in the confirmed strategy, the original data table to be anonymized is detected, identified and located at the character level;
[0014] S4 adaptively desensitizes the identified characters that carry personal information: adaptively desensitizes the characters that carry personal information in the record according to the personal information desensitization rules set in the confirmed policy at the character level.
[0015] Referring to the local standard DB 3301 / T 0363-2022 "Public Data Desensitization Management Specification", the basic principles of public data desensitization management are authenticity, validity, consistency and stability. Authenticity means that the desensitization process must maintain the true characteristics of the data used for subsequent analysis to help achieve data-related business needs. Authenticity characteristics include but are not limited to data structure characteristics and data statistical characteristics; validity means that after data desensitization, the sensitive information contained in the original information has been removed, and the sensitive information cannot be obtained through the processed data; consistency means that after data desensitization, the primary and foreign key association consistency, the business data association business consistency, and the implicit inclusion and association relationship between the original data are retained; stability means that due to the correlation between the original data, in order to ensure that data users can use and analyze the data normally, the data desensitization must ensure that for the same original data, under the premise of consistent input conditions, no matter how many times the desensitization is performed, the final result data is the same. Therefore, when using data desensitization technology to desensitize open data, it is necessary to reduce the sensitivity of the data while retaining the inherent correlation and other characteristics of the original data set, and to retain its mining value to the greatest extent.
[0016] At present, the commonly used methods for identifying personal information in data fields mainly include keyword screening of field names to determine the information category to which the field belongs and identifying field sampling values to determine the information category to which the field belongs. The former method is suitable for data sets with metadata management standards and specifications. However, for public data from various data systems, there is often a lack of standardized field name naming standards for business data. It is impossible to accurately and reliably determine the information category to which the field belongs by relying solely on field name information. The latter method is more suitable for data sets with standardized data structures. The information types under the same field are unified. At this time, sampling the field can determine the information category to which the entire field belongs. However, for public data without unified and rigorous data structure constraints, the same field is mixed with complex and diverse information types. It is impossible to comprehensively determine the information type contained in the field by relying solely on field sampling values. In addition, for free texts containing a variety of complex personal sensitive information in the field content, such as resumes, personal experiences, case descriptions and other descriptive free texts, which often contain information such as name, mobile phone number, ID number, etc., it is difficult for existing methods to identify personal information. Therefore, the current personal information identification method cannot meet the effectiveness principle of data desensitization management. The hidden personal information in the original data is unknown and cannot be accurately identified and desensitized. In the scenario of data openness, the disclosure of personal information in the data without desensitization is contrary to the requirements of laws and regulations on the protection of personal information and is very likely to generate risks associated with personal data.
[0017] In data desensitization technology, the entire content of the field identified as personal information is often desensitized using the same strategy. Taking the masking and filling desensitization strategy as an example, when faced with a field with mixed information or when there are values with abnormal character lengths in the field, the field-level desensitization rules often result in sensitive information not being desensitized normally. For example, an abnormal value appears in a mobile phone number field. At this time, the desensitization rule for the mobile phone number field is set to desensitize four characters starting from the third character on the left. Under the desensitization processing based on the desensitization rule acting on the entire field, the abnormal value such as the name "Zhang Wu" is disclosed. Therefore, the current field-level desensitization rules cannot meet the effectiveness principle of data desensitization management, which is easy to lead to the disclosure of sensitive information.
[0018] At present, there are still problems with arbitrary desensitization objects and arbitrary desensitization methods in setting desensitization strategies for public data. The problem of arbitrary desensitization objects is manifested in unclear desensitization targets and unclear standards and requirements for objects that need desensitization, and even polarization between complete desensitization and no desensitization at all. In actual data sets, non-sensitive information such as institutional information is completely desensitized, but more sensitive contact information such as mobile phone numbers and names are not processed at all, resulting in the problem of direct disclosure of sensitive information and the risk of indirect disclosure of sensitive information due to information association.
[0019] The problem of random desensitization methods is that the selected desensitization method will cause a large amount of available non-sensitive information in the data set to be lost. For example, the disabled person information table uses meaningless strings to fill in the personal information field, which will make the data information unusable. Another example is that in the public data environment, institutions, institutional legal persons, and institutional addresses are desensitized by pseudonymization. Although it meets certain desensitization needs, for public data, this method will affect the accuracy of open public data and weaken its authoritative, authentic and reliable characteristics that distinguish it from general Internet data.
[0020] Therefore, the desensitization strategy set up cannot meet the authenticity and effectiveness principles of data desensitization management due to the problems of arbitrary desensitization objects and arbitrary desensitization methods. It is easy to result in the true characteristics of non-sensitive information not being retained, making the data lose its value for analysis and use, and being unable to meet data-related business needs after being opened, as well as the problem of sensitive information leakage.
[0021] The high-performance personal information desensitization method and system for data openness of the present invention, by focusing on a model of personal information identification and positioning based on the character level, solves to a certain extent the problem that the original personal information identification method and desensitization rules based on the field level cannot accurately identify and efficiently desensitize the personal information hidden in the data due to data structure specifications and outliers, and effectively avoids the problem of personal information disclosure caused by data opening.
[0022] In the above-mentioned high-performance personal information desensitization method for data openness, in step S2,
[0023] The bottom-line strategy level of the personal information type and identification rule setting part includes listing directly identifiable personal information based on the scenario characteristics of data openness and personal information protection requirements, compiling specific identification rules for directly identifiable personal information types, designing basic personal information types and identification rules with bottom-line thinking for personal information protection, and realizing the identification of characters that carry personal information.
[0024] The bottom-line strategy level of the personal information desensitization rule setting part includes, for the set basic personal information types, targeted design of personal information desensitization rules based on the bottom-line thinking of personal information protection, which removes the sensitivity of information for each personal information type while retaining its data structure characteristics and data statistical characteristics.
[0025] The bottom-line strategy level of the personal information type and identification rule setting section is as follows: Based on the characteristics of data openness scenarios and the personal information protection requirements of relevant laws and regulations, typical directly identifiable personal information such as personal name, ID number, mobile phone number, etc. are listed; by combining regular expressions, named entity recognition and other technologies, specific identification rules are written for these typical directly identifiable personal information types, and basic personal information types and identification rules are designed to realize the identification of characters that carry personal information.
[0026] For example, the recognition of personal names requires the use of a named entity recognition method based on deep learning to identify personal names that appear in structured personal names and descriptive long texts, and to identify the characters that carry the personal name information. Another example is that the recognition of information with unified coding features such as ID card numbers requires the use of regular expressions for extraction and verification using ID card recognition rules to identify the characters that carry the ID card number information.
[0027] The bottom-line strategy level of the personal information desensitization rule setting part is as follows: corresponding to the basic personal information types, based on the characteristics of data open scenarios and the personal information protection requirements of relevant laws and regulations and the need to avoid risks associated with personal data, the basic personal information desensitization rules are designed in a targeted manner, requiring that appropriate processing can be performed to remove the sensitivity of the information while retaining the data structure characteristics and data statistical characteristics of each personal information type. Taking personal names and mobile phone numbers as examples, the basic personal information desensitization rules can retain common surnames in personal names and the first three and last four digits of mobile phone numbers.
[0028] The present invention sets a bottom line strategy based on the scenario characteristics of data opening and the requirements of laws and regulations to ensure that common typical directly identifying personal information is not disclosed during the data opening process, thereby avoiding the risk of personal data association.
[0029] In the above-mentioned high-performance personal information desensitization method for data openness, in step S2,
[0030] The policy customization level of the personal information type and identification rule setting part is based on the bottom line policy. By adding, deleting, editing or importing the identification rules of relevant information types, the personal information types that need to be identified and subsequently desensitized can be customized to expand, reduce and adjust.
[0031] The policy customization level of the personal information desensitization rule setting part selects the type of personal information that needs to be desensitized based on the bottom line policy, and sets the granularity of information to be retained and the desensitization form.
[0032] The policy customization levels of the personal information desensitization rule setting part are as follows:
[0033] Based on the bottom line strategy of the personal information desensitization rule setting part, select the type of personal information that needs to be desensitized according to the needs of actual applications, and choose to divide the personal information into more fine-grained information. Because various types of personal information are often composed of more fine-grained information.
[0034] The different forms include hiding or replacing, and in actual application, different desensitization forms are selected according to needs.
[0035] The strategy setting method provided by the present invention can select more fine-grained information characters that constitute personal information with a high degree of freedom and perform desensitization processing; in addition, the type of personal information that needs to be desensitized can be selected, and the specific form of masking or replacement when processing the characters that carry personal information can be selected. Content tags, special characters, etc. can be used for masking or replacement, and the actual position, end position or length of the part to be masked or replaced can also be set.
[0036] Based on the mode of desensitizing characters that carry personal information, a customizable desensitization strategy is adopted, allowing users to select the information that can be retained during the desensitization process in a fine-grained manner, and allowing users to implement data desensitization with a high degree of freedom in various forms, adapting to the complex and changeable desensitization requirements in different current scenarios, and ensuring the flexibility and efficiency of the business. At the same time, combining the bottom line strategy and the user-defined strategy, it can serve users without a security compliance background, and can also be applied to a variety of advanced scenario requirements. The present invention meets the need to maintain the true characteristics of the data used for subsequent analysis in the desensitization process to a certain extent, avoids the loss of a large amount of available non-sensitive information caused by the existing desensitization processing method, and takes into account the accuracy of the data, so as to help achieve data-related business needs.
[0037] In the above-mentioned high-performance personal information desensitization method for data openness, the step S3 includes:
[0038] S301 creates a copy data table of the original data table to be desensitized;
[0039] S302: split the original data table to be desensitized according to fields, and then detect and identify the content of the cells under the field content at the character level according to the recognition strategy, and obtain the characters carrying personal information hidden in each cell under each field content;
[0040] S303 writes the specifically identified characters carrying personal information, the original text of the record row index, field index, information type and cell value of the characters, into a designated database.
[0041] The character-level based personal information identification and positioning and the mode based on desensitizing characters carrying personal information proposed in the present invention have strong adaptability and can be used not only for static data desensitization but also for dynamic data desensitization.
[0042] In the above-mentioned high-performance personal information desensitization method for data openness, the step S4 includes:
[0043] S401, according to the personal information type to which the identified characters carrying personal information belong, select a desensitization strategy corresponding to the personal information type from the personal information desensitization strategy set in the confirmed strategy;
[0044] S402. Process the characters carrying personal information according to the information granularity that needs to be retained and the form of masking or replacement set by the corresponding desensitization strategy, locate the desensitized characters according to the recorded personal information, locate them to the position of the characters carrying the personal information in the original data table, and replace the characters carrying the personal information with the desensitized characters in the copy data table of the original data table to be desensitized.
[0045] The information identification, positioning and desensitization method of the present invention focuses on the character level and does not use keywords to obtain data values for field names or data attributes, effectively solving the problem of being unable to accurately identify and efficiently desensitize personal information hidden in data due to data structure specifications and abnormal values.
[0046] A high-performance personal information desensitization system for data openness, including a data acquisition module for obtaining a data table to be desensitized, a policy setting module, a personal information identification and positioning module, an adaptive desensitization module and an output module.
[0047] The policy setting module sets the personal information identification policy set and the desensitization policy that are relied upon when processing the original data to be desensitized, and includes an identification policy setting submodule and a desensitization policy setting submodule in sequence.
[0048] The identification strategy setting submodule sets the personal information identification strategy set required for personal information identification and location, and the desensitization strategy setting submodule sets the information granularity and desensitization form for processing the identified characters carrying personal information;
[0049] The personal information identification and positioning module performs character-level personal information identification and positioning on the original data table to be desensitized according to the confirmed identification strategy set;
[0050] The adaptive desensitization module adaptively selects a desensitization strategy corresponding to the type of personal information according to the confirmed desensitization strategy set for the identified characters carrying personal information and performs appropriate desensitization processing, and replaces the desensitized characters in the copy data table according to the position of the characters in the original data table.
[0051] The present invention first confirms the type of personal information that needs to be identified and its identification rules through the strategy setting module, and confirms the desensitization strategy of the corresponding personal information type when performing desensitization processing. Then, a copy of the data table to be desensitized is created and split through the personal information identification and positioning module, and the data table cell content is subjected to personal information identification and positioning at the character level according to the recognition algorithm in the set recognition strategy set, and the characters carrying personal information, the information type and the character positioning in the data table are obtained. Then, in the adaptive desensitization module, the identified characters carrying personal information are subjected to adaptive desensitization processing according to the desensitization strategy in the set desensitization strategy set, and the replacement is completed in the copy data table according to the character positioning.
[0052] In the above-mentioned high-performance personal information desensitization system for data openness, the identification strategy setting submodule includes a built-in default basic identification strategy and a customized identification strategy.
[0053] The basic identification strategy is centered around the characteristics of data open scenarios and the personal information protection requirements of relevant laws and regulations. It is a strategy with a bottom-line mindset for personal information protection that recognizes typical directly identifiable personal information types by default.
[0054] The customized identification strategy allows the user to customize the identification strategy for the type of personal information that needs to be identified. After the customized identification strategy is confirmed, an identification strategy library will be formed. The identification algorithm identifies the type of personal information in accordance with the identification strategy library using the strategy definition method.
[0055] The built-in default basic recognition strategy is as follows: Based on the characteristics of data open scenarios, the personal information protection requirements of relevant laws and regulations, and the avoidance of personal data association risks, the embodiment of the present invention designs a recognition algorithm for typical directly identifying personal information types based on regular expressions, named entity recognition and other technologies. The personal information types that can be addressed include common personal information types such as personal name, ID number, mobile phone number, email address, bank card number, license plate number, IP address, etc.
[0056] The customized identification strategy is as follows: users are allowed to customize the addition, deletion or editing of the types of personal information that need to be identified and desensitized, and can independently set the identification strategy or import the identification strategy to define the types of personal information that need to be identified and desensitized. For example, if the user wants to add the identification of the personal information type of the teacher's certificate practice number, the identification rules of the teacher's certificate practice number can be imported. After the customized identification strategy is confirmed, an identification strategy library will be formed, and the identification algorithm will identify the type of personal information in accordance with the identification strategy library using the strategy definition method.
[0057] In the above-mentioned high-performance personal information desensitization system for data openness, the desensitization strategy setting submodule includes a built-in default basic desensitization strategy and a custom desensitization strategy.
[0058] The basic desensitization strategy, based on the characteristics of data open scenarios and the personal information protection requirements of relevant laws and regulations, removes the sensitivity of information while retaining the data structure and statistical characteristics of each type of personal information. It is a strategy with a bottom-line thinking of personal information protection that performs desensitization processing on various typical direct identification personal information types in the basic identification strategy by default.
[0059] The customized desensitization strategy allows the user to customize the desensitization strategy for the determined personal information identification type. After the customized desensitization strategy is confirmed, a desensitization strategy library will be formed. The desensitization processing algorithm adaptively masks information in accordance with the desensitization strategy library using the strategy definition.
[0060] The built-in default basic desensitization strategy is as follows: for the target personal information types included in the built-in default basic identification strategy, a basic desensitization strategy is set in accordance with the principles of effectiveness and authenticity, and each personal information type can be processed accordingly to remove the sensitivity of the information while retaining its data structure characteristics and data statistical characteristics. Taking mobile phone numbers and ID card numbers as examples, the default basic desensitization strategy can retain the first three and last four digits of mobile phone numbers, and the first three and last digits of ID card numbers.
[0061] The custom desensitization strategy is as follows: users are allowed to set desensitization strategies for the determined personal information identification types. After the custom desensitization strategy is confirmed, a desensitization strategy library will be formed. The desensitization processing algorithm will adaptively mask the information in accordance with the desensitization strategy library using the strategy definition. It includes the following two levels:
[0062] Customize the fine-grained information for desensitization processing. Users can edit rules to deconstruct characters that carry personal information, divide the target information into more fine-grained information types, and allow users to select the fine-grained information types that can be retained when processing the target personal information.
[0063] Customized desensitization forms such as hiding or replacing. For desensitization processing of sensitive data, the present invention allows users to configure multiple desensitization forms to hide and replace characters carrying various types of personal information according to the type of information they carry.
[0064] In the above-mentioned high-performance personal information desensitization system for data openness, the personal information identification and positioning module includes data table preprocessing, personal information identification and positioning records,
[0065] The data table preprocessing includes creating a copy of the original data table to be desensitized, splitting the original data table to be desensitized according to fields, and then splitting the field content into cells.
[0066] The personal information recognition includes detecting and recognizing the content of the cells under the field content at the character level according to the recognition algorithm composed of the recognition rules in the set recognition strategy set, and obtaining the characters carrying personal information hidden in each cell under each field content.
[0067] The positioning record includes writing and registering the identified characters carrying personal information into a designated database according to the field index, record row index, the information type to which they belong, and the original text of the value of the cell in which they are located.
[0068] In the above-mentioned high-performance personal information desensitization system for data openness, the data acquisition module acquires the data source, accesses and synchronizes the data source through the client to import the data table, and selects the data table to be desensitized from the imported data table as the original data to perform subsequent desensitization processing;
[0069] The output module evaluates the desensitization effect of the desensitized data table and compares the evaluation indicators of various sensitive attributes after desensitization, assists users in viewing the desensitization results, verifies the desensitization effect, and returns the output to the client for display for user operation.
[0070] The output module evaluates the desensitization effect of the desensitized data table and compares the evaluation indicators such as "equivalence class size" and "information entropy" for various sensitive attributes after desensitization, assisting users to efficiently and conveniently view the desensitization results and verify the desensitization effect, and returns the output to the client for display, so that users can compare, view, edit and subsequently perform a series of operations such as data opening.
[0071] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0072] (1) The present invention is aimed at data openness scenarios such as public data openness, and proposes a high-performance personal information desensitization method and system to achieve accurate personal information desensitization at the character level of data tables in data openness scenarios. It solves the problems of personal information leakage and improper desensitization caused by the current field-level personal information identification method and desensitization rules, as well as the loss of non-sensitive but valuable information caused by arbitrary desensitization objects and desensitization methods when setting desensitization strategies, and takes into account both personal information protection and the authenticity and availability of data in data openness scenarios.
[0073] (2) The present invention, through a model based on character-level personal information identification and location, solves to a certain extent the problem that the original field-level personal information identification method and desensitization rules cannot accurately identify and efficiently desensitize the personal information hidden in the data due to data structure specifications and outliers, and effectively avoids the problem of personal information disclosure caused by data opening.
[0074] (3) The present invention sets a bottom line strategy based on the characteristics of data opening scenarios and the requirements of laws and regulations to ensure that common typical directly identifying personal information is not disclosed during the data opening process, thereby avoiding the risk of personal data association. In addition, based on the mode of desensitizing characters that carry personal information, a customizable desensitization strategy is adopted, allowing users to select information that can be retained during desensitization processing at a fine-grained level, and allowing users to implement data desensitization in a variety of forms with high degrees of freedom, desensitizing information at a fine-grained level, adapting to the complex and changeable desensitization requirements in different current scenarios, and ensuring the flexibility and efficiency of the business. At the same time, combining the bottom line strategy and the user-defined strategy, it can serve users without a security compliance background, and can also be applied to a variety of advanced scenario requirements.
[0075] (4) The present invention satisfies, to a certain extent, the need to maintain the true characteristics of data for subsequent analysis during the desensitization process, avoids the loss of a large amount of available non-sensitive information caused by existing desensitization processing, and takes into account the accuracy of the data, thereby helping to achieve data-related business needs.
[0076] (5) The character-level personal information identification and positioning and the desensitization mode based on characters carrying personal information proposed in the present invention are highly adaptable and can be used not only for static data desensitization but also for dynamic data desensitization.
[0077] (6) The information identification, positioning and desensitization method of the present invention is centered around the character level and does not use keywords to obtain data values for field names or data attributes, effectively solving the problem of being unable to accurately identify and efficiently desensitize personal information hidden in data due to data structure specifications and abnormal values. BRIEF DESCRIPTION OF THE DRAWINGS
[0078] Figure 1 This is a schematic diagram of the process flow of the high-performance personal information desensitization method for data openness of the present invention;
[0079] Figure 2 This is a schematic diagram of the module flow of the high-performance personal information desensitization system for data openness of the present invention;
[0080] Figure 3 This is a schematic diagram of the detailed interaction flow between modules of the high-performance personal information desensitization system for data openness of the present invention. DETAILED DESCRIPTION
[0081] Specific implementation modes are listed below to further explain the technical solution of the present invention in detail.
[0082] Example 1
[0083] like Figure 1 As shown, this embodiment provides a high-performance personal information desensitization method for data openness, including the following steps:
[0084] S1 Obtaining the data to be desensitized: Access the data source and obtain the original data table to be desensitized from the data source.
[0085] S2 Strategy Setting: It consists of two parts. The setting of each part contains two levels: bottom line strategy and strategy customization.
[0086] The first is the setting of personal information types and identification rules. The setting of personal information types and identification rules is to set the personal information types that need to be identified and their corresponding identification rules. The subsequent processing steps will be based on the personal information identified by the set identification rules;
[0087] S201. Bottom-line strategy level for the setting of personal information types and identification rules: Based on the characteristics of data openness scenarios and the personal information protection requirements of relevant laws and regulations, typical directly identifiable personal information such as personal name, ID number, mobile phone number, etc. are listed; by combining regular expressions, named entity recognition and other technologies, specific identification rules are written for these typical directly identifiable personal information types, basic personal information types and identification rules are designed, and the characters carrying personal information are identified;
[0088] For example, the recognition of personal names requires the use of a named entity recognition method based on deep learning to identify personal names that appear in structured personal names and long descriptive texts, and to identify the characters that carry personal name information. Another example is the recognition of information with unified coding features such as ID card numbers, which requires the use of regular expressions for extraction and verification using ID card recognition rules to identify the characters that carry ID card number information.
[0089] S202 Policy customization level for the personal information type and identification rule setting section: Based on the bottom-line policy for the personal information type and identification rule setting section in S201, the personal information types that need to be identified and subsequently desensitized can be customized to expand, reduce, and adjust by adding, deleting, editing, or importing identification rules for relevant information types according to actual application needs;
[0090] The second is the setting of personal information desensitization rules; the setting of personal information desensitization rules is to set different information granularity to be retained and desensitization forms such as hiding or replacing for each type of personal information identified;
[0091] S211. Bottom-line strategy level for setting rules for personal information desensitization: Corresponding to the basic personal information types set in S201, based on the characteristics of data open scenarios, the personal information protection requirements of relevant laws and regulations, and the need to avoid risks associated with personal data, basic personal information desensitization rules are designed in a targeted manner, requiring that appropriate processing be performed on each type of personal information while retaining its data structure characteristics and data statistical characteristics to remove the sensitivity of the information; taking personal names and mobile phone numbers as examples, basic personal information desensitization rules can retain common surnames in personal names and the first three and last four digits of mobile phone numbers;
[0092] S212 Policy customization level of the personal information desensitization rule setting part: Based on the bottom line policy of the personal information desensitization rule setting part in S211, select the type of personal information that needs to be desensitized according to the needs of the actual application, and optionally divide the personal information into more fine-grained information. Because various types of personal information are often composed of more fine-grained information. Taking the ID card number as an example, the ID card number is composed of the address code, date of birth, sequence code and check code. The more fine-grained information includes the household registration address information composed of the province, city and district information, the birthday information composed of the year, month and day information, and gender information. The policy setting method provided in this embodiment can select the finer-grained information characters that constitute the personal information with a high degree of freedom and perform desensitization processing;
[0093] In addition, you can select the type of personal information that needs to be desensitized and choose the specific form of masking or replacement when processing the characters that carry the personal information. You can use content tags, special characters, etc. to mask or replace, or you can set the actual position, end position or length of the part to be masked or replaced.
[0094] S3 Personal information identification and location: According to the various personal information types and identification rules set in the confirmed strategy, the original data table to be desensitized is detected, identified and located at the character level; the specific steps include:
[0095] S301 creates a copy data table of the original data table to be desensitized;
[0096] S302 first splits the original data table to be desensitized according to fields, and then detects and recognizes the content of the cells under the field content at the character level according to the recognition strategy, and obtains the characters carrying personal information hidden in each cell under each field content;
[0097] S302 writes the specifically identified characters carrying personal information, the original text of the record row index, field index, information type and cell value of the characters, into a designated database.
[0098] S4 adaptively desensitizes the identified characters carrying personal information: adaptively desensitizes the characters carrying personal information according to the personal information desensitization rules set in the confirmed strategy. The specific steps include:
[0099] S401, according to the type of personal information to which the identified characters carrying personal information belong, select a desensitization policy corresponding to the type of personal information from the personal information desensitization policy set set in the confirmed policy;
[0100] S402: Process the characters carrying personal information according to the information granularity to be retained and the form of masking or replacement set by the corresponding desensitization strategy. Position the desensitized characters according to the recorded personal information to the position of the characters carrying the personal information in the original data table, and replace the characters carrying the personal information with the desensitized characters in the copy data table of the original data table to be desensitized.
[0101] Example 2
[0102] like Figure 2 As shown, this embodiment provides a high-performance personal information desensitization system for data openness. The detailed interaction process between the system module process modules is as follows Figure 3 As shown, including:
[0103] The data acquisition module is used to acquire the data source, access and synchronize the data source through the client, and import data tables from the data source in the form of various structured data tables. The data table to be desensitized is selected from the imported data table as the original data for subsequent desensitization processing.
[0104] The policy setting module includes two submodules, the first is the identification policy setting submodule, and the second is the desensitization policy setting submodule. It is used to set the personal information identification policy set and desensitization policy that are relied on when processing the original data to be desensitized;
[0105] The identification strategy setting submodule is used to set the personal information identification strategy set required for personal information identification and location; specifically includes:
[0106] Built-in default basic recognition strategy, focusing on the characteristics of data open scenarios and the personal information protection requirements of relevant laws and regulations, as well as avoiding personal data association risks, this embodiment designs a recognition algorithm for typical directly labeled personal information types based on regular expressions, named entity recognition and other technologies. The personal information types that can be dealt with include personal name, ID number, mobile phone number, email address, bank card number, license plate number, IP address and other common personal information types;
[0107] Customized identification strategies allow users to add, delete or edit the types of personal information that need to be identified and desensitized. Users can set identification strategies independently or import identification strategies to define the types of personal information that need to be identified and desensitized. For example, if users want to add the identification of the personal information type of teacher's certificate practice number, they can import the identification rules of the teacher's certificate practice number. After the customized identification strategy is confirmed, an identification strategy library will be formed. The identification algorithm identifies the type of personal information in accordance with the identification strategy library using the strategy definition method;
[0108] The desensitization strategy setting submodule is used to set the information granularity and desensitization form for processing the characters that carry personal information identified; specifically, it includes:
[0109] Built-in default basic desensitization strategy. This embodiment sets a basic desensitization strategy for the target personal information types included in the built-in default basic identification strategy in accordance with the principles of effectiveness and authenticity. It can perform corresponding processing to remove the sensitivity of information while retaining the data structure characteristics and data statistical characteristics of each personal information type. Taking mobile phone numbers and ID card numbers as examples, the default basic desensitization strategy can retain the first three and last four digits of mobile phone numbers, and the first three and last digits of ID card numbers;
[0110] The customized desensitization strategy allows users to set the desensitization strategy for the determined personal information identification type. After the customized desensitization strategy is confirmed, a desensitization strategy library will be formed. The desensitization processing algorithm will adaptively mask the information in accordance with the desensitization strategy library using the strategy definition. It includes the following two levels:
[0111] Customize the fine-grained information for desensitization processing. Users can edit rules to deconstruct the characters that carry personal information, divide the target information into more fine-grained information types, and allow users to choose the fine-grained information types that can be retained when processing the target personal information. Taking the ID card number as an example, after setting the fine-grained information composition rules for the target personal information, if the user chooses to retain the province information, gender information and check code, the ID card will be processed in a form that retains the first two digits and the last two digits;
[0112] Customize desensitization forms such as hiding or replacing, and perform desensitization processing on sensitive data. This embodiment supports users to configure multiple desensitization forms to hide and replace characters carrying various types of personal information according to the type of information they carry, as follows:
[0113] A can choose to replace information in the form of content tags. Taking a personal name as an example, Zhang San can be replaced with <name> or <surname> <first name>.
[0114] B can choose to use masking characters such as # and * to mask and fill. Taking the mobile phone number as an example, if the user chooses to keep all the information except the area code, the mobile phone number will be processed to keep the first three digits and the last four digits, and the middle four digits of the area code will be replaced by #### or ****.
[0115] C can set the starting position, ending position or length of the characters carrying information. Taking the bank card number as an example, the starting position is set to the 4th character, the ending position is set to the 4th character from the end, or the hiding or replacement length is set to 8 characters, that is, the bank card number will be processed in the form of retaining the first four digits and replacing the last four digits with "**** ****".
[0116] D can be set to generalize the characters of the target information. Taking a personal address as an example, the user can freely select the coarse-grained address information to be retained, and the detailed address can be generalized to the coarse-grained range set by the user, such as No. XX, XX Road, XX District, XX City, which is generalized to XX District, XX City.
[0117] The personal information identification and positioning module is used to identify and locate personal information at the character level according to the confirmed identification strategy set for the original data table to be desensitized, including:
[0118] Data table preprocessing: after creating a copy of the original data table to be desensitized, split the original data table to be desensitized according to the fields, and then split the field contents into cells;
[0119] Personal information recognition: Perform character-level detection and recognition on the content of the cells under the field content according to the recognition algorithm composed of the recognition rules in the set recognition strategy set, and obtain the characters carrying personal information hidden in each cell under each field content;
[0120] Locate the record, and write the identified characters carrying personal information into the designated database according to the field index, record row index, the information type to which they belong, and the original text of the cell value.
[0121] The adaptive desensitization module is used to adaptively select the desensitization strategy corresponding to the type of personal information according to the confirmed desensitization strategy set for the identified characters carrying personal information and perform appropriate desensitization processing, and replace the desensitized characters in the copy data table according to the position of the characters in the original data table.
[0122] The output module evaluates the desensitization effect of the desensitized data table and compares the evaluation indicators such as "equivalence class size" and "information entropy" for various sensitive attributes after desensitization, assisting users to efficiently and conveniently view the desensitization results and verify the desensitization effect, and returns the output to the client for display, so that users can compare, view, edit and subsequently perform a series of operations such as data opening.
[0123] It should be appreciated that embodiments of the present invention may be implemented or enforced by computer hardware, a combination of hardware and software, or by computer instructions stored in a non-transitory computer-readable memory. The method may be implemented in a computer program using standard programming techniques - including a non-transitory computer-readable storage medium configured with a computer program, wherein the storage medium so configured causes the computer to operate in a specific and predefined manner - according to the methods and drawings described in the specific embodiments. Each program may be implemented in a high-level procedural or object-oriented programming language to communicate with a computer system. However, if desired, the program may be implemented in an assembly or machine language. In any case, the language may be a compiled or interpreted language. In addition, the program may be run on a programmed ASIC for this purpose.
[0124] Furthermore, the operations of the processes described herein may be performed in any suitable order unless otherwise indicated herein or otherwise clearly contradicted by context. The processes described herein (or variations and / or combinations thereof) may be performed under the control of one or more computer systems configured with executable instructions, and may be implemented as code (e.g., executable instructions, one or more computer programs, or one or more applications) that is executed collectively on one or more processors, by hardware, or a combination thereof. The computer program includes a plurality of instructions that may be executed by one or more processors.
[0125] Further, the method can be implemented in any type of computing platform that is operably connected to a suitable computer, including but not limited to a personal computer, a minicomputer, a mainframe, a workstation, a network or distributed computing environment, a separate or integrated computer platform, or in communication with a charged particle tool or other imaging device, etc. Aspects of the present invention can be implemented in machine-readable code stored on a non-transitory storage medium or device, whether removable or integrated into a computing platform, such as a hard disk, an optical read and / or write storage medium, a RAM, a ROM, etc., so that it can be read by a programmable computer, and when the storage medium or device is read by the computer, it can be used to configure and operate the computer to perform the process described herein. In addition, the machine-readable code, or part thereof, can be transmitted via a wired or wireless network. When such media includes instructions or programs that implement the steps described above in conjunction with a microprocessor or other data processor, the invention described herein includes these and other different types of non-transitory computer-readable storage media. When programmed according to the methods and techniques described in the present invention, the present invention also includes the computer itself. The computer program can be applied to input data to perform the functions described herein, thereby converting the input data to generate output data stored in a non-volatile memory. The output information can also be applied to one or more output devices such as a display. In a preferred embodiment of the present invention, the converted data represents a physical and tangible object, including a specific visual depiction of the physical and tangible object produced on a display.
[0126] As used in this application, the terms "component", "module", "system", etc. are intended to refer to a computer-related entity, which can be hardware, firmware, a combination of hardware and software, software, or software in operation. For example, a component can be, but is not limited to: a process running on a processor, a processor, an object, an executable file, a thread in execution, a program, and / or a computer. As an example, an application running on a computing device and the computing device can both be components. One or more components can exist in a process and / or thread in execution, and a component can be located in a computer and / or distributed between two or more computers. In addition, these components can be executed from various computer-readable media having various data structures thereon. These components can communicate in a local and / or remote process manner, such as according to a signal having one or more data packets (e.g., data from a component that interacts with another component in a local system, a distributed system, and / or interacts with other systems in a signal manner through a network such as the Internet).
[0127] It should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solutions of the present invention may be modified or replaced by equivalents without departing from the spirit and scope of the technical solutions of the present invention, which should all be included in the scope of the claims of the present invention.
Claims
1. A high-performance personal information desensitization method for data openness, characterized by: The steps include: S1 Obtaining the data to be desensitized: Access the data source and obtain the original data table to be desensitized from the data source; S2 Policy Setting: It includes two parts: setting personal information types and identification rules and setting personal information desensitization rules. The setting of each part includes two levels: bottom-line strategy and policy customization. The setting of personal information types and identification rules includes setting the types of personal information to be identified and their corresponding identification rules. Subsequent processing steps will be performed based on the personal information identified by the set identification rules. The setting of personal information desensitization rules includes setting different information granularity and desensitization forms to be retained when desensitizing various types of personal information identified; S3 Personal information identification and location: According to the various types of personal information and identification rules set in the confirmed strategy, the original data table to be desensitized is detected, identified and located at the character level, including: S301 creates a copy data table of the original data table to be desensitized; S302: split the original data table to be desensitized according to fields, and then detect and identify the content of the cells under the field content at the character level according to the recognition strategy, and obtain the characters carrying personal information hidden in each cell under each field content; S303 writes the specifically identified characters carrying personal information, the record row index, field index, information type and cell value of the characters, into a designated database; S4 adaptively desensitizes the identified characters that carry personal information: adaptively desensitizes the characters that carry personal information according to the personal information desensitization rules set in the confirmed policy, including: S401, according to the personal information type to which the identified characters carrying personal information belong, select a desensitization strategy corresponding to the personal information type from the personal information desensitization strategy set in the confirmed strategy; S402, processing the characters carrying personal information according to the information granularity to be retained and the form of masking or replacement set by the corresponding desensitization strategy, locating the desensitized characters according to the recorded personal information to the position of the characters carrying the personal information in the original data table, and replacing the characters carrying the personal information with the desensitized characters in the copy data table of the original data table to be desensitized; In the step S2, The bottom-line strategy level of the personal information type and identification rule setting part includes listing directly identifiable personal information based on the scenario characteristics of data openness and personal information protection requirements, compiling specific identification rules for directly identifiable personal information types, designing basic personal information types and identification rules with bottom-line thinking for personal information protection, and realizing the identification of characters that carry personal information. The bottom line strategy level of the personal information desensitization rule setting part includes designing personal information desensitization rules based on the bottom line thinking of personal information protection for the set basic personal information types, removing the sensitivity of the information while retaining its data structure characteristics and data statistical characteristics for each personal information type; The policy customization level of the personal information type and identification rule setting part is based on the bottom line policy. By adding, deleting, editing or importing the identification rules of relevant information types, the personal information types that need to be identified and subsequently desensitized can be customized to expand, reduce and adjust. The policy customization level of the personal information desensitization rule setting part selects the type of personal information that needs to be desensitized based on the bottom line policy, and sets the granularity of information to be retained and the desensitization form.
2. A high-performance personal information desensitization system for data openness, characterized by: It includes a data acquisition module for obtaining the data table to be desensitized, a policy setting module, a personal information identification and positioning module, an adaptive desensitization module and an output module. The policy setting module sets the personal information identification policy set and the desensitization policy that are relied upon when processing the original data to be desensitized, and includes an identification policy setting submodule and a desensitization policy setting submodule in sequence. The identification strategy setting submodule sets the personal information identification strategy set required for personal information identification and location, and the desensitization strategy setting submodule sets the information granularity and desensitization form for processing the identified characters carrying personal information; The personal information identification and positioning module performs character-level personal information identification and positioning on the original data table to be desensitized according to the confirmed identification strategy set; The adaptive desensitization module adaptively selects a desensitization strategy corresponding to the type of personal information according to the confirmed desensitization strategy set for the identified characters carrying personal information and performs appropriate desensitization processing, and replaces the desensitized characters in the copy data table according to the location of the characters in the original data table; The personal information identification and positioning module includes data table preprocessing, personal information identification and positioning records, The data table preprocessing includes creating a copy of the original data table to be desensitized, splitting the original data table to be desensitized according to fields, and then splitting the field content into cells. The personal information recognition includes detecting and recognizing the content of the cells under the field content at the character level according to the recognition algorithm composed of the recognition rules in the set recognition strategy set, and obtaining the characters carrying personal information hidden in each cell under each field content. The positioning record includes writing and registering the identified characters carrying personal information into a designated database according to the field index, record row index, the information type to which they belong, and the original text of the cell value in which they are located; The identification strategy setting submodule includes a built-in default basic identification strategy and a custom identification strategy. The basic identification strategy is centered around the characteristics of data open scenarios and the personal information protection requirements of relevant laws and regulations. It is a strategy with a bottom-line mindset for personal information protection that recognizes typical directly identifiable personal information types by default. The customized identification strategy allows users to customize the identification strategy of the type of personal information that needs to be identified. After the customized identification strategy is confirmed, an identification strategy library will be formed. The identification algorithm identifies the type of personal information in accordance with the identification strategy library using the strategy definition method; The desensitization strategy setting submodule includes a built-in default basic desensitization strategy and a custom desensitization strategy. The basic desensitization strategy, based on the characteristics of data open scenarios and the personal information protection requirements of relevant laws and regulations, removes the sensitivity of information while retaining the data structure and statistical characteristics of each type of personal information. It is a strategy with a bottom-line thinking of personal information protection that performs desensitization processing on various typical direct identification personal information types in the basic identification strategy by default. The customized desensitization strategy allows the user to customize the desensitization strategy for the determined personal information identification type. After the customized desensitization strategy is confirmed, a desensitization strategy library will be formed. The desensitization processing algorithm adaptively masks information in accordance with the desensitization strategy library using the strategy definition.
3. The high-performance personal information desensitization system for data openness as claimed in claim 2, characterized in that: The data acquisition module acquires the data source, accesses and synchronizes the data source through the client to import the data table, and selects the data table to be desensitized from the imported data table as the original data to perform subsequent desensitization processing; The output module evaluates the desensitization effect of the desensitized data table and compares the evaluation indicators of various sensitive attributes after desensitization, assists users in viewing the desensitization results, verifies the desensitization effect, and returns the output to the client for display for user operation.
Citation Information
Patent Citations
Data desensitization method and device, medium and electronic equipment
CN112257108A
Medical data desensitization method and system
CN115859372A
Data desensitization method and related equipment
CN106203145A
Data desensitization method and device
CN107145799A
A data static desensitization system and method based on database sensitive discovery
CN109271808A
