Dynamic data desensitization method and system, medium and processor
By deploying a proxy server on the data link, using machine learning algorithms to establish dynamic sensitive data identification rules, and performing data desensitization processing in real time, it solves the problem of low intelligence level of traditional technology and achieves instant desensitization and desensitization of data during access. Risk reduction.
Patent Information
- Application Number
- CN202410800285.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-20
- Publication Date
- 2024-09-20
AI Technical Summary
Traditional data desensitization technology has low levels of intelligence and specialization, making it difficult to effectively predict diverse scenarios, resulting in a lack of intelligent processing when processing massive data and increasing the risk of sensitive data leakage.
Adopt a dynamic data desensitization method to intercept client data requests through a proxy server, use machine learning algorithms to establish dynamic sensitive data identification rules, perform desensitization processing in real time, and apply different desensitization rules based on the visitor's identity and permissions to ensure that the data is stored and are converted to a non-sensitive form during transmission.
It improves the intelligence and professionalization level of the desensitization system, realizes instant desensitization of data when accessed, reduces the processing and storage requirements for original data, and reduces the risk of data leakage.
Smart Images

Figure CN118673529A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data desensitization, and in particular to a dynamic data desensitization method, system, medium and processor. Background Art
[0002] With the development of the Internet and the widespread application of cloud computing, big data, and artificial intelligence technologies, the production systems of communication operators have a large amount of sensitive data. For example, sensitive business data such as financial reports, strategic documents, and product pricing policies, as well as personal privacy data such as user names, locations, home addresses, and ID numbers. If operators leak or tamper with these sensitive data during development, testing, and business operations, it will not only have a serious impact on the company and the industry, but may even cause irreparable losses to the country. In particular, with the gradual development of 5G services, the security issues of sensitive data have become more prominent. There are many solutions to solve the security issues of sensitive data, and the most commonly used is data desensitization technology.
[0003] Traditional data desensitization technology focuses on the final results, which affects users' usage habits. The process lacks anticipation of diverse scenarios. Faced with massive amounts of data, manual identification of sensitive data is required, and the desensitization system has a low level of intelligence and specialization.
[0004] In view of this, a dynamic data desensitization method, system, medium and processor are needed. Summary of the invention
[0005] In view of the low intelligence and professional level of desensitization systems in the prior art, the present invention provides a dynamic data desensitization method, system, medium and processor, which can establish dynamic sensitive data identification rules, improve the intelligence and professional level of the desensitization system, and at the same time, through real-time dynamic desensitization processing, allow instant desensitization when data is accessed, reducing the processing and storage requirements of original data. The specific technical solution is as follows:
[0006] A dynamic data desensitization method is applied to a proxy server, wherein the proxy server is located on a data link between a client and a database server; the method comprises the following steps:
[0007] Intercept data requests from clients;
[0008] Forward the client's data request to the backend database server;
[0009] Capturing response data sent by the database server, wherein the response data is the result returned by the database server after processing the data request of the client;
[0010] Analyze the returned response data, use machine learning algorithms to establish dynamic sensitive data identification rules, and identify sensitive data in the response data;
[0011] Perform real-time dynamic desensitization processing on the identified sensitive data according to the configured desensitization strategy;
[0012] Send the desensitized data back to the client.
[0013] Furthermore, the use of a machine learning algorithm to establish a dynamic sensitive data identification rule includes the following steps:
[0014] Sample the content in the big data cluster and synchronize the sampled data to the sample library;
[0015] Use clustering or classification analysis techniques to transform sample data into ordered samples with characteristics;
[0016] Use semantic proximity analysis, rule analysis or dictionary analysis technology to divide the obtained ordered samples into several types of data models according to content and meaning;
[0017] The classified data model is graded and divided, and finally a dynamic and targeted sensitive data identification rule and classification standard is formed.
[0018] Furthermore, when the identified sensitive data is desensitized in real time according to the configured desensitization strategy, different desensitization rules are applied according to data characteristics, contextual information, or visitor identity and permissions to ensure that users can only access data that meets their permission level.
[0019] Furthermore, applying different desensitization rules according to different visitor identities and permissions includes the following steps:
[0020] First, define different identity characteristics according to different roles and responsibilities of users;
[0021] Sensitive data can be hidden, shielded, encrypted or audit-masked to varying degrees based on identity characteristics, so that users of different levels must access sensitive data accordingly according to their different identity characteristics, and cannot make any modifications to any type of sensitive data.
[0022] Furthermore, the data features include name, ID number, bank account, address, telephone number, company name or organization code.
[0023] Furthermore, the dynamic desensitization process includes partial masking, reversible desensitization, mixed desensitization, synonymous replacement or deterministic desensitization.
[0024] Furthermore, the dynamic data desensitization method further includes the following steps:
[0025] Based on the identification of sensitive data, the relationship between sensitive data is adjusted to ensure the association of data.
[0026] A dynamic data desensitization system, applied to the above-mentioned dynamic data desensitization method, comprises:
[0027] An interception module, which is used to intercept data requests sent by the client;
[0028] A forwarding module, which is used to forward the client's data request to the back-end database server;
[0029] A capture module is used to capture response data sent by the database server, wherein the response data is the result returned by the database server after processing the data request of the client;
[0030] An analysis module is used to analyze the returned response data, establish dynamic sensitive data identification rules using machine learning algorithms, and identify sensitive data in the response data;
[0031] A desensitization module, which is used to perform real-time dynamic desensitization processing on the identified sensitive data according to the configured desensitization strategy;
[0032] The sending module is used to send the desensitized data back to the client.
[0033] A computer-readable storage medium, the computer-readable storage medium comprising a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the dynamic data desensitization method as described above.
[0034] A processor is used to run a program, wherein the program executes the dynamic data desensitization method as described above when running.
[0035] Compared with the prior art, the present invention has the following beneficial effects:
[0036] 1. Able to establish dynamic sensitive data identification rules and improve the intelligence and professionalism of the desensitizing system.
[0037] 2. Dynamic data desensitization technology allows instant desensitization when data is accessed, reducing the processing and storage requirements of raw data.
[0038] 3. Through desensitization technology, sensitive data is converted into non-sensitive form during storage and transmission, reducing the risk of data leakage. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following is a brief introduction to the drawings required for the specific embodiments or the description of the prior art. In all the drawings, similar elements or parts are generally identified by similar reference numerals. In the drawings, the elements or parts are not necessarily drawn according to the actual scale.
[0040] Figure 1 It is a flowchart of a dynamic data desensitization method;
[0041] Figure 2 This is a flowchart for data desensitization based on visitor identity and permissions;
[0042] Figure 3 This is a schematic diagram of the streaming data desensitization process based on Storm;
[0043] Figure 4 This is a schematic diagram of the batch data desensitization processing flow. DETAILED DESCRIPTION
[0044] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0045] It should be understood that when used in this specification and the appended claims, the terms "include" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0046] It should also be understood that the terms used in the present specification are only for the purpose of describing specific embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to include plural forms.
[0047] It should be further understood that the term "and / or" used in the present description and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.
[0048] Embodiment 1
[0049] In the era of big data, all data needs to be efficiently integrated so that data can create the greatest benefits. In the process of efficient data integration (i.e. development, testing, production, application, etc.), how to ensure data security will become an important task for information security management, operation and maintenance and other departments. With the rapid development of information technology in Power Grid Co., Ltd., various application systems have been widely used. In order to enable the data of each application system to provide external services and give full play to its use value, it is necessary to effectively connect with external systems. However, at the same time, there will be data security risks, and sensitive data needs to be desensitized. Specific data desensitization requirements include:
[0050] (1) Prevent sensitive data in the production database from being leaked. Important sensitive information such as user card numbers, addresses, identities, and mobile phone numbers in the production database is shuffled and obfuscated before the relevant data is provided to a third party for use, thereby preventing sensitive data in the production database from being leaked.
[0051] (2) Ensure the relevance of data in the development, testing, and application stages. By using data desensitization strategies and data desensitization algorithms, the integrity of the desensitized data (i.e., the meaning of the data is not lost, and the length of the data does not change), validity (the business format and data type of the data do not change), and relevance (the association between data within and between tables does not change) are ensured, thereby improving the availability and authenticity of data in various stages such as development, testing, and application.
[0052] (3) Ensure the security of data sharing and data maintenance. Different access policies and access rights are formulated and implemented for visitors to different databases, and the user names, total access time, tool types used, IP addresses, etc. used by these visitors are monitored throughout the entire process to achieve differentiated management and control and ensure the security of the accessed data.
[0053] (4) Ensure compliance with sensitive data management policies. The desensitization of sensitive data, the processing of sensitive data, and the desensitization rules must comply with the data management requirements of the Power Grid Co., Ltd. and must be carried out under the conditions permitted by the relevant policies and regulations of the Power Grid Co., Ltd.
[0054] Data desensitization can be divided into static data desensitization and dynamic data desensitization.
[0055] Static data desensitization refers to the desensitization and privacy removal of data files while ensuring the correlation between data; then the data is sent to a third-party company for development testing or data analysis, and the analyzed data can be traced back after the analysis results are obtained. This desensitization method is suitable for project development units that need to obtain complete data to ensure the smooth completion of data analysis work, and for data providers, they do not want sensitive data to be leaked. In this case, it is necessary to use a traceable desensitization method to desensitize the data to ensure that the data sent does not contain sensitive information. When the project development is completed, the analysis system or result data is traced back to the real source data, which not only ensures data sharing and result consistency during the development process, but also ensures that the real data will not be leaked during the development process.
[0056] Dynamic data desensitization means that the user retrieves the sensitive data of the backend database server in the front-end client application, desensitizes it, and then presents the desensitized data on the front-end client. At the same time, the sensitive data of each business system can be transparently and real-time desensitized by proxy deployment at the communication level, that is, a computer data processing system including a client, a database server and a proxy server. The proxy server is located on the data link between the client and the database server, and is connected to the client and the database server respectively; the proxy server is used to desensitize the data when the client accesses the data in the database server and then sends it to the client, so as to avoid the security risk of data leakage caused by the client accessing sensitive information.
[0057] like Figure 1 The figure shows a flow chart of a dynamic data desensitization method, which is applied to the above-mentioned proxy server, and the proxy server is located on the data link between the client and the database server; it includes the following steps:
[0058] Deploy a proxy server on the data transmission path, usually between the client and the database server;
[0059] Intercept data requests from clients, including query requests;
[0060] Forward the client's data request to the backend database server;
[0061] Capturing response data sent by the database server, wherein the response data is the result returned by the database server after processing the data request of the client;
[0062] Analyze the returned response data, use machine learning algorithms to establish dynamic sensitive data identification rules, and identify sensitive data in the response data;
[0063] According to the configured desensitization strategies, such as masking, replacement, encryption, etc., the identified sensitive data is desensitized in real time and dynamically;
[0064] The desensitized data is sent back to the client. The data received by the client has been processed and does not contain sensitive information.
[0065] This application solution can establish dynamic sensitive data identification rules and improve the intelligence and professional level of the desensitization system. At the same time, the use of dynamic data desensitization technology allows instant desensitization when data is accessed, reducing the processing and storage requirements of original data. With this application solution, the work of the proxy server is transparent to the client and database server, and will not change the existing data access mode and application logic. It can effectively protect sensitive data without changing the existing database and application architecture, while ensuring data availability and compliance. The proxy server needs to process data efficiently and complete the desensitization task with minimal delay to ensure that the user experience is not affected. The design of the proxy server needs to take security into consideration to prevent it from becoming a target of attack and to comply with data protection regulations. The proxy server records logs of all data access and desensitization operations to facilitate auditing and monitoring of data access behavior.
[0066] In a specific implementation, the use of a machine learning algorithm to establish a dynamic sensitive data identification rule includes the following steps:
[0067] Sample the content in the big data cluster and synchronize the sampled data to the sample library;
[0068] Use clustering or classification analysis techniques to transform sample data into ordered samples with characteristics;
[0069] Use semantic proximity analysis, rule analysis or dictionary analysis technology to divide the obtained ordered samples into several types of data models according to content and meaning;
[0070] The classified data model is graded and divided, and finally a dynamic and targeted sensitive data identification rule and classification standard is formed.
[0071] In a specific implementation, when the identified sensitive data is desensitized in real time according to the configured desensitization strategy, different desensitization rules are applied according to data characteristics, contextual information, or visitor identity and permissions to ensure that users can only access data that meets their permission level.
[0072] Further, such as Figure 2 As shown, the proxy server can apply different desensitization rules according to different user permissions and roles to ensure that users can only access data that meets their permission levels. The application of different desensitization rules according to different visitor identities and permissions includes the following steps:
[0073] For all kinds of dynamic data returned from the production database (a database server), first define different identity features according to different roles and responsibilities of users;
[0074] Sensitive data can be hidden, shielded, encrypted or audit-masked to varying degrees based on identity characteristics, so that users of different levels must access sensitive data accordingly according to their different identity characteristics, and cannot make any modifications to any type of sensitive data.
[0075] In specific implementations, the dynamic desensitization processing includes partial masking, reversible desensitization, mixed desensitization, synonymous replacement or deterministic desensitization. Generally, data desensitization can be performed using a corresponding data dynamic desensitization algorithm based on different user identity characteristics. Different dynamic desensitization technologies have their own characteristics and are suitable for different scenarios and needs. The following is a brief description of the desensitization technologies of partial masking, reversible desensitization, mixed desensitization, synonymous replacement and deterministic desensitization:
[0076] (1) Partial Masking:
[0077] This method masks only a portion of the data; for example, for a credit card number, only the last four digits might be displayed, with the rest replaced with asterisks or a similar placeholder, such as "************1234".
[0078] (2) Reversible Data Masking:
[0079] Reversible desensitization technology allows sensitive data to be converted into a reversible format, which means that the original data can be restored through some algorithm or key. This is usually used in scenarios where the original format of the data needs to be retained for analysis but the data needs to be protected.
[0080] (3) Hybrid Masking:
[0081] Hybrid desensitization combines multiple desensitization techniques, such as partial masking and data replacement, to provide more comprehensive protection. This approach can flexibly select the most appropriate desensitization strategy based on the sensitivity of the data and the needs of the visitor.
[0082] (4) Synonym Replacement:
[0083] Synonym substitution is a method of replacing sensitive data with synonyms or similar terms, but this method may not change the actual meaning of the data and may not be suitable for scenarios where personal privacy needs to be strictly protected.
[0084] (5) Deterministic Data Masking:
[0085] Deterministic masking means that for the same original data, each masking process will produce the same result. This helps in testing and development in environments where data consistency is required, because the same input will always produce the same output.
[0086] Each desensitization technology has its applicable scenarios and advantages and disadvantages. When choosing a desensitization strategy, you need to consider the sensitivity of the data, business needs, compliance requirements, and the usability of the data after desensitization. For example, reversible desensitization may be very useful in scenarios where data needs to be analyzed but privacy needs to be protected, while partial masking is suitable for scenarios where data needs to be quickly identified but the full content of the data is not required.
[0087] In a specific implementation, the data features include name, ID number, bank account, address, telephone number, company name or organization code.
[0088] In specific implementation, data desensitization can also be divided into streaming data desensitization and batch data desensitization.
[0089] Streaming data refers to data that is continuously generated, calculated in real time, dynamically increased, and requires timely response. It has the characteristics of massiveness and real-time. Generally, real-time or quasi-real-time data processing technologies are classified as streaming data processing technologies, including Apache Storm, Spark Streaming, etc. Figure 3As shown in Figure 1, Storm is a distributed, reliable, and fault-tolerant data stream processing system. The input stream of the cluster is managed by the spout component, that is, after the spout passes data to the bolt, the bolt either passes data to other bolts or saves the data in some storage. A Storm cluster converts the data passed by the spout between a series of bolts. Since Storm's data processing method is incremental real-time processing, the data desensitization module should have the function of incremental data desensitization. When the data has not been fully transmitted, the desensitization module can be used to read historical data (historical data needs to be read to restore the previous state to ensure the continuity and consistency of data processing) and combine the corresponding algorithm to perform data desensitization, remove sensitive words, and generalize the data according to the desensitization rules. The advantage of streaming data desensitization is that data processing is performed from the moment the data starts to be transmitted. The disadvantage is that it is impossible to use the full amount of data for complex association processing. For micro-batch processing, state calculation is required, and only one delivery can be performed, but there is no need to consider high latency data, Spark Streaming can be used for streaming data desensitization. If the data user performs machine learning, graph operations, or accesses a SQL database, the stack within Apache Spark will combine the data flow with certain libraries so that the data user has a convenient, integrated programming model.
[0090] like Figure 4 As shown in the figure, batch data access means that the data source comes from a stable and basically unchanged storage medium, and the data is collected to the big data platform at one time by data scanning. The data is mainly historical data, and the data source generally comes from files, relational databases, NoSQL databases, etc. The processing technologies include Flume, Sqoop, etc. Batch data desensitization can be performed during the data import process, or after the data enters the big data platform, the desensitization program module can be called to perform desensitization. The desensitization of batch data can be combined with the correlation relationship of the data and use complex desensitization algorithms to achieve better desensitization effects. Based on the data collection method of Flume, you can write an interceptor, call the data desensitization program in the interceptor, and output the desensitized data. Sqoop is suitable for data collection of relational databases. It can be done by establishing an intermediate table, writing user-defined functions (UDF) and programs, and finally performing data desensitization in batches through the task scheduling program.
[0091] In a specific implementation, the dynamic data desensitization method also includes the following steps: based on the identification of sensitive data, adjusting the relationship between sensitive data to ensure the association relationship of the data.
[0092] Therefore, the process of implementing data desensitization in the proxy server is generally divided into four steps: sensitive data discovery, sensitive data sorting, desensitization plan formulation, and desensitization task execution. In combination with data desensitization rules, data desensitization algorithms, and data desensitization environments, the best data desensitization effect can be achieved. The detailed introduction of each process is as follows:
[0093] Discovery of sensitive data: Discovery of sensitive data can be divided into two types: manual discovery and automatic discovery. Among them, for the relatively fixed business data of Power Grid Co., Ltd., manual screening can be used to clearly specify which columns and databases need to be desensitized. Generally, the structure and length of such data will not change, and most of them are numeric and fixed-length characters. For identification columns such as unit code, household number, household name, electricity address, etc., for these data, desensitization rules and different data access strategies can be manually specified to ensure that sensitive information is not leaked. In addition, with the help of sensitive data information database and word segmentation system, sensitive information contained in the database can be automatically identified, which can reduce workload and prevent omissions compared to manual identification.
[0094] Sensitive data sorting: After discovering sensitive data, adjust the relationship between sensitive data to ensure the correlation of data. Through deformation, shielding, replacement, randomization, strong encryption, format-preserving encryption and other data desensitization algorithms, data masking is performed for different data types.
[0095] Desensitization plan formulation: For different data desensitization requirements, a special desensitization strategy can be configured based on the basic desensitization algorithm. The formulation of the desensitization plan mainly relies on the reuse of desensitization strategies and desensitization algorithms, and the optimal plan is formulated by configuring and expanding the desensitization algorithm.
[0096] Execution of desensitization tasks: operations such as starting, stopping, and pausing desensitization tasks, supporting the interruption or continuation of desensitization tasks, and parallel processing of desensitization tasks.
[0097] Selection of data desensitization algorithm: Different data desensitization algorithms are selected based on different data features. For example, when desensitizing data such as name, ID number, bank account, address, telephone number, company name, organization code, etc., the data desensitization algorithms generally used are: deformation, shielding, randomization, replacement, strong encryption and format-preserving encryption.
[0098] Formulation of data desensitization rules: Desensitization rules can generally be divided into two categories: recoverable rules and irrecoverable rules. Among them, recoverable rules are rules that can restore the desensitized sensitive data to the original sensitive data in some way, such as various encryption and decryption algorithm rules. Recoverable rules are rules that cannot restore the desensitized sensitive data to the original sensitive data in any way, such as the two data desensitization algorithms of generation algorithm and replacement algorithm. Commonly used desensitization rules are shown in Table 1.
[0099] Table 1
[0100]
[0101]
[0102] Selection of data desensitization environment: Data desensitization environment can be divided into two categories: data desensitization for production environment and data desensitization for non-production environment. If divided by application scenario, it can be divided into dynamic data desensitization and static data desensitization. The biggest difference between these two types of data desensitization is whether data desensitization is being performed when sensitive data is used.
[0103] The application of the above dynamic data desensitization method in power system enterprises can bring many benefits:
[0104] (1) Enhanced data security:
[0105] Through desensitizing technology, sensitive data is converted into non-sensitive form during storage and transmission, reducing the risk of data leakage.
[0106] (2) Protecting personal privacy:
[0107] Personal sensitive information (such as name, address, ID number, etc.) is desensitized to ensure that personal privacy is not subject to unauthorized access.
[0108] (3) Improve customer trust:
[0109] By implementing data desensitization measures, companies demonstrate respect and protection for customer privacy, thereby enhancing customer trust and loyalty.
[0110] (4) Reduce the cost of violations:
[0111] By reducing the risk of data breaches, businesses can avoid the costly fines and compensation that come with violating data protection regulations.
[0112] (5) Promoting data sharing:
[0113] Anonymous data can be shared without exposing sensitive information, supporting data collaboration across departments or organizations.
[0114] (6) Support secondary use of data:
[0115] Data desensitization allows the data to be used for other purposes, such as testing, development, analysis, etc., without having to worry about leaking sensitive information.
[0116] (7) Improve data processing efficiency:
[0117] Dynamic data desensitization technology allows instant desensitization when data is accessed, reducing the processing and storage requirements of raw data.
[0118] (8) Optimize data backup and recovery:
[0119] Using desensitizing technology during data backup and recovery can ensure the security of backup data and reduce risks during the recovery process.
[0120] (9) Enhance the auditability of data:
[0121] Records and logs of desensitizing operations can improve the transparency of data operations and facilitate security audits and monitoring.
[0122] (10) Promote data-driven decision making:
[0123] Masked data can be used for analysis and reporting, helping businesses make data-based decisions while protecting sensitive information.
[0124] Embodiment 2
[0125] A dynamic data desensitization system, applied to the above-mentioned dynamic data desensitization method, comprises:
[0126] An interception module, which is used to intercept data requests sent by the client;
[0127] A forwarding module, which is used to forward the client's data request to the back-end database server;
[0128] A capture module is used to capture response data sent by the database server, wherein the response data is the result returned by the database server after processing the data request of the client;
[0129] An analysis module is used to analyze the returned response data, establish dynamic sensitive data identification rules using machine learning algorithms, and identify sensitive data in the response data;
[0130] Desensitization module, which is used to perform real-time dynamic desensitization processing on the identified sensitive data according to the configured desensitization strategy;
[0131] The sending module is used to send the desensitized data back to the client.
[0132] Through the construction of the data desensitization system, the establishment of a desensitization algorithm library based on the big data platform has been realized, and the privacy-sensitive data can be desensitized efficiently and in parallel according to the rules of data desensitization; a measurement model for user privacy data has been established based on the theory of data desensitization, so that the risk of sensitive data leakage can be quantitatively, qualitatively and accurately measured. The permission management system of the big data platform, the user authentication system, and the permission management system of privacy data under different protection levels have been combined to establish an approval-based access mechanism for privacy data. At the same time, combined with various rules, regulations, laws and regulations of the Power Grid Co., Ltd., the value of data mining and analysis can be maximized while minimizing the risk of sensitive data leakage and protecting user privacy data.
[0133] Embodiment 3
[0134] A computer-readable storage medium, the computer-readable storage medium comprising a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the dynamic data desensitization method as described above.
[0135] Embodiment 4
[0136] A processor is used to run a program, wherein the program executes the dynamic data desensitization method as described above when running.
[0137] The present application provides a dynamic data desensitization method, which is applied to a proxy server, and the proxy server is located on the data link between the client and the database server; comprising the following steps: intercepting the data request issued by the client; forwarding the data request of the client to the database server at the back end; capturing the response data issued by the database server, and the response data is the result returned after the database server processes the data request of the client; analyzing the returned response data, using a machine learning algorithm to establish a dynamic sensitive data identification rule, and identifying the sensitive data in the response data; performing real-time dynamic desensitization processing on the identified sensitive data according to the configured desensitization strategy; and sending the desensitized data back to the client. By being able to establish dynamic sensitive data identification rules, the intelligence and professional level of the desensitization system are improved. Dynamic data desensitization technology allows instant desensitization when data is accessed, reducing the processing and storage requirements of the original data. Through desensitization technology, sensitive data is converted into non-sensitive form during storage and transmission, reducing the risk of data leakage.
[0138] Those of ordinary skill in the art will appreciate that the units of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition of each example has been generally described in terms of function in the above description. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0139] In the embodiments provided by the present invention, it should be understood that the division of units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units can be combined into one unit, one unit can be split into multiple units, or some features can be ignored, etc.
[0140] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0141] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-0nlyMemory), random access memory (RAM, RandomAccessMemory), mobile hard disk, magnetic disk or optical disk, etc., which can store program code.
[0142] Finally, 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 aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. These modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present invention, and they should all be included in the scope of the claims and specification of the present invention.
Claims
1. A dynamic data desensitization method, characterized in that: The method is applied to a proxy server, wherein the proxy server is located on a data link between a client and a database server; and comprises the following steps: Intercept data requests from clients; Forward the client's data request to the backend database server; Capturing response data sent by the database server, wherein the response data is the result returned by the database server after processing the data request of the client; Analyze the returned response data, use machine learning algorithms to establish dynamic sensitive data identification rules, and identify sensitive data in the response data; Perform real-time dynamic desensitization processing on the identified sensitive data according to the configured desensitization strategy; Send the desensitized data back to the client.
2. The dynamic data desensitization method according to claim 1, characterized in that: The method of using a machine learning algorithm to establish a dynamic sensitive data identification rule includes the following steps: Sample the content in the big data cluster and synchronize the sampled data to the sample library; Use clustering or classification analysis techniques to transform sample data into ordered samples with characteristics; Use semantic proximity analysis, rule analysis or dictionary analysis technology to divide the obtained ordered samples into several types of data models according to content and meaning; The classified data model is graded and divided, and finally a dynamic and targeted sensitive data identification rule and classification standard is formed.
3. The dynamic data desensitization method according to claim 1, characterized in that: When performing real-time desensitization processing on the identified sensitive data according to the configured desensitization strategy, different desensitization rules are applied according to data characteristics, context information, or visitor identity and permissions to ensure that users can only access data that meets their permission level.
4. The dynamic data desensitization method according to claim 3, characterized in that: The method of applying different desensitization rules according to different visitor identities and permissions includes the following steps: First, define different identity characteristics according to different roles and responsibilities of users; Sensitive data can be hidden, shielded, encrypted or audit-masked to varying degrees based on identity characteristics, so that users of different levels must access sensitive data accordingly according to their different identity characteristics, and cannot make any modifications to any type of sensitive data.
5. The dynamic data desensitization method according to claim 3, characterized in that: The data features include name, ID number, bank account, address, telephone number, company name or organization code.
6. The dynamic data desensitization method according to claim 1, characterized in that: The dynamic desensitization process includes partial masking, reversible desensitization, mixed desensitization, synonymous substitution or deterministic desensitization.
7. The dynamic data desensitization method according to claim 1, characterized in that: The following steps are also included: Based on the identification of sensitive data, the relationship between sensitive data is adjusted to ensure the association of data.
8. A dynamic data desensitization system, characterized in that: The dynamic data desensitization method applied to any one of claims 1 to 7 comprises: An interception module, which is used to intercept data requests sent by the client; A forwarding module, which is used to forward the client's data request to the back-end database server; A capture module is used to capture response data sent by the database server, wherein the response data is the result returned by the database server after processing the data request of the client; An analysis module is used to analyze the returned response data, establish dynamic sensitive data identification rules using machine learning algorithms, and identify sensitive data in the response data; A desensitization module, which is used to perform real-time dynamic desensitization processing on the identified sensitive data according to the configured desensitization strategy; The sending module is used to send the desensitized data back to the client.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the dynamic data desensitization method described in any one of claims 1 to 7.
10. A processor, characterized in that: The processor is used to run a program, wherein the program, when running, executes the dynamic data desensitization method described in any one of claims 1 to 7.
Citation Information
Cited By
Dynamic data adaptive desensitization method and device based on artificial intelligence
CN119128990A
Dynamic data adaptive desensitization method and device based on artificial intelligence
CN119128990B
