Sensitive data processing method, device, storage medium and electronic device
By classifying and determining the sensitivity level of the data to be desensitized in the database, and selecting an appropriate desensitization strategy for processing, the problem of low data desensitization calculation efficiency in the existing technology is solved, and efficient data privacy protection is achieved.
Patent Information
- Application Number
- CN202311433594.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-31
- Publication Date
- 2024-10-22
- Estimated Expiration
- 2043-10-31
AI Technical Summary
Existing sensitive data desensitization processing methods have low computational efficiency, making it difficult to effectively realize the need for data privacy protection.
By classifying the shared data to be desensitized in the database, the sensitivity level is determined, and an appropriate desensitization strategy set is selected based on the level for desensitization processing, including rules such as hash conversion, to improve calculation efficiency.
It improves the computing efficiency of data desensitization processing, effectively protects data privacy and security, reduces the computing power consumption of the system, and improves system performance.
Smart Images

Figure CN117407919B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing, and in particular, to a method, device, storage medium and electronic device for processing sensitive data. Background Art
[0002] With the rapid development of the Internet, mobile Internet and information communication, data has become an important asset for enterprises and institutions, and the demand for data security and data privacy protection is increasing. Existing sensitive data discovery and tracking methods mainly protect data privacy through encryption and decryption. However, encryption and decryption methods require a lot of computing power, resulting in low computational efficiency for desensitizing data.
[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0004] The embodiments of the present application provide a method, device, storage medium and electronic device for processing sensitive data, so as to at least solve the technical problem of low computational efficiency in desensitizing data.
[0005] According to one aspect of the embodiments of the present application, a method, device, storage medium and electronic device for processing sensitive data are provided. The method may include: obtaining shared data to be desensitized in a database, wherein the shared data is used to represent data containing sensitive information; classifying the shared data to obtain a classification result; based on the classification result, determining the sensitivity level of the sensitive data in the shared data, wherein the sensitivity level is used to represent the sensitivity of the sensitive data; based on the sensitivity level, determining a desensitization strategy set, wherein the desensitization strategy set includes at least one desensitization strategy, and the desensitization strategy is used to represent the rules for desensitizing the shared data; desensitizing the shared data based on the desensitization strategy set.
[0006] Optionally, based on the classification result, determining the sensitivity level of the sensitive data in the shared data includes: based on the classification result, determining a first sensitivity level of the sensitive attribute in the sensitive data, and a second sensitivity level of the sensitive numerical value in the sensitive data.
[0007] Optionally, based on the sensitivity level, a desensitization strategy set is determined, including: based on the first sensitivity level, determining a first desensitization strategy for sensitive attributes, and based on the second sensitivity level, determining a second desensitization strategy for sensitive values; combining the first desensitization strategy and the second desensitization strategy to obtain a desensitization strategy set.
[0008] Optionally, based on the first sensitivity level, a first desensitization strategy for the sensitive attribute is determined, including: in response to the first sensitivity level being greater than a first level threshold, determining a first intermediate calculation result of the first desensitization strategy as a first target value, or in response to the first sensitivity level being less than or equal to the first level threshold, determining the first intermediate calculation result as a second target value; in response to the first intermediate calculation result being greater than the first result threshold, determining the first desensitization strategy to desensitize the sensitive attribute based on hash conversion in a trusted execution environment, or in response to the first intermediate calculation result being less than or equal to the first result threshold, determining the first desensitization strategy to desensitize the sensitive attribute based on hash conversion in a normal execution environment.
[0009] Optionally, based on the second sensitivity level, a second desensitization strategy for sensitive values is determined, including: in response to the second sensitivity level being greater than the second level threshold, determining the second intermediate calculation result of the second desensitization strategy as a third target value, or in response to the second sensitivity level being less than or equal to the second level threshold, determining the second intermediate calculation result as a fourth target value; in response to the second intermediate calculation result being greater than the second result threshold, determining the second desensitization strategy to desensitize the sensitive value based on hash conversion in a trusted execution environment, or in response to the second intermediate calculation result being less than or equal to the second result threshold, determining the second desensitization strategy to desensitize the sensitive value based on hash conversion in a normal execution environment.
[0010] Optionally, based on the classification result, the sensitivity level of the sensitive data in the shared data is determined, including: based on a sensitive data discovery function, grading the classification result to obtain the sensitivity level of the sensitive data.
[0011] Optionally, classifying the shared data to obtain a classification result includes: classifying the shared data based on a data classification function to obtain a classification result.
[0012] Optionally, the method further includes: sharing the shared data after desensitization processing; tracking the shared data after sharing based on the sensitive data tracking module to obtain a trajectory set of the shared data.
[0013] According to another aspect of an embodiment of the present application, a sensitive data processing device is also provided, including: an acquisition unit, used to acquire shared data to be desensitized in a database, wherein the shared data is used to represent data containing sensitive information; a classification unit, used to classify the shared data to obtain a classification result; a first determination unit, used to determine the sensitivity level of the sensitive data in the shared data based on the classification result, wherein the sensitivity level is used to represent the degree of sensitivity of the sensitive data; a second determination unit, used to determine a desensitization strategy set based on the sensitivity level, wherein the desensitization strategy set includes at least one desensitization strategy, and the desensitization strategy is used to represent a rule for desensitizing the shared data; a processing unit, used to desensitize the shared data based on the desensitization strategy set.
[0014] According to another aspect of an embodiment of the present application, a non-volatile storage medium is further provided, the storage medium including a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute any sensitive data processing method.
[0015] According to another aspect of an embodiment of the present application, there is also provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute instructions to implement any method for processing sensitive data.
[0016] In an embodiment of the present application, shared data to be desensitized is obtained from a database, wherein the shared data is used to represent data containing sensitive information; the shared data is classified to obtain a classification result; based on the classification result, a sensitivity level of the sensitive data in the shared data is determined, wherein the sensitivity level is used to represent the degree of sensitivity of the sensitive data; based on the sensitivity level, a desensitization strategy set is determined, wherein the desensitization strategy set includes at least one desensitization strategy, and the desensitization strategy is used to represent a rule for desensitizing the shared data; based on the desensitization strategy set, the shared data is desensitized, thereby achieving a technical effect of improving the computational efficiency of desensitizing the data, thereby solving the technical problem of low computational efficiency of desensitizing the data. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0018] Figure 1 is a flow chart of a method for processing sensitive data according to an embodiment of the present application;
[0019] Figure 2 is a schematic diagram of a sensitive data processing system according to an embodiment of the present application;
[0020] Figure 3 is a flowchart of another sensitive data processing method according to an embodiment of the present application;
[0021] Figure 4 is a schematic diagram of a sensitive data processing device according to an embodiment of the present application;
[0022] Figure 5 A schematic block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] According to an embodiment of the present application, a method embodiment of a method for processing sensitive data is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0026] Figure 1 is a flowchart of a method for processing sensitive data according to an embodiment of the present application. Figure 1 As shown, the method may include the following steps:
[0027] Step S102, obtaining the shared data to be desensitized in the database, wherein the shared data is used to represent data containing sensitive information.
[0028] It should be noted that when an application in an external system initiates a shared data request for shared data, the shared data request is sent to the local system through the external shared data interface. After receiving the shared data request sent by the external system, the local system queries the database of the local system for the shared data to be applied for. The shared data to be desensitized can be obtained from the database. Among them, the external system can be represented by Se, the local system can be represented by SI, and the shared data can be represented by d.
[0029] Step S104, classify the shared data to obtain a classification result.
[0030] It is understandable that after obtaining the shared data to be desensitized from the database, the shared data can be classified to obtain the classification results.
[0031] Step S106: determining the sensitivity level of the sensitive data in the shared data based on the classification result, wherein the sensitivity level is used to indicate the degree of sensitivity of the sensitive data.
[0032] It should be noted that based on the classification result, the sensitivity level of the sensitive data in the shared data can be determined. For example, the sensitivity level of the sensitive data can be determined to be a high level, or the sensitivity level of the sensitive data can be determined to be a low level.
[0033] Step S108, determining a desensitization strategy set based on the sensitivity level, wherein the desensitization strategy set includes at least one desensitization strategy, and the desensitization strategy is used to represent a rule for desensitizing the shared data.
[0034] It is understandable that, according to the sensitivity level of sensitive data, the amount of sensitive data, and the current system resource usage (busyness), the desensitization strategy set can be determined by the following formula:
[0035] SP=Sds(nr,v,u)
[0036] Among them, nr can be used to indicate the sensitivity level of sensitive data, v can be used to indicate the data size of sensitive data, u can be used to indicate the current system resource occupancy, that is, the busyness of system resources, SP can be used to indicate the selected desensitization strategy set, and Sds can be used to indicate the selection function of the desensitization strategy set.
[0037] Step S110, desensitizing the shared data based on the desensitization strategy set.
[0038] It is understandable that for sensitive data of different sensitivity levels, different combinations of desensitization strategies can be used to desensitize sensitive data through the following formula:
[0039] ds=Ds(d,SP)
[0040] Among them, d can be used to represent shared data, SP can be used to represent the selected desensitization strategy set, ds can be used to represent desensitized data, and Ds can be used to represent the desensitization function.
[0041] In the processing method, shared data to be desensitized is obtained from a database, wherein the shared data is used to represent data containing sensitive information; the shared data is classified to obtain a classification result; based on the classification result, the sensitivity level of the sensitive data in the shared data is determined, wherein the sensitivity level is used to represent the degree of sensitivity of the sensitive data; based on the sensitivity level, a desensitization strategy set is determined, wherein the desensitization strategy set includes at least one desensitization strategy, and the desensitization strategy is used to represent the rules for desensitizing the shared data; based on the desensitization strategy set, the shared data is desensitized, thereby solving the technical problem of low computational efficiency of desensitizing the data and achieving the technical effect of improving the computational efficiency of desensitizing the data.
[0042] As an optional implementation method, based on the classification results, the sensitivity level of sensitive data in the shared data is determined, including: based on the classification results, determining a first sensitivity level of sensitive attributes in the sensitive data, and a second sensitivity level of sensitive values in the sensitive data.
[0043] It should be noted that the sensitive attribute in the sensitive data can be represented by key, and the sensitive value in the sensitive data can be represented by value. Based on the determined classification result of the shared data, the first sensitivity level of the sensitive attribute key in the sensitive data and the second sensitivity level of the sensitive value value in the sensitive data can be determined.
[0044] For example, when the first sensitivity level and the second sensitivity level are determined to be high, for sensitive data with a high sensitivity level, even if the data volume is large and the current system resource occupancy rate is high, the sensitive numerical value of the sensitive data and the sensitive attribute key of the sensitive data are hashed in a trusted execution environment. However, when the first sensitivity level and the second sensitivity level are determined to be low, for sensitive data with a low sensitivity level, different desensitization strategy sets will be selected to desensitize the shared data by comprehensively considering the data volume of the sensitive data and the current system resource occupancy rate.
[0045] As an optional implementation method, a desensitization strategy set is determined based on the sensitivity level, including: determining a first desensitization strategy for a sensitive attribute based on a first sensitivity level, and determining a second desensitization strategy for a sensitive value based on a second sensitivity level; combining the first desensitization strategy and the second desensitization strategy to obtain a desensitization strategy set.
[0046] It can be understood that based on the first sensitivity level of the determined sensitive attribute key, the first desensitization strategy of the sensitive attribute key can be determined. Based on the second sensitivity level of the determined sensitive numerical value value, the second desensitization strategy of the sensitive numerical value value can be determined. Based on the determined first desensitization strategy and the second desensitization strategy, the desensitization strategy set can be obtained by the following formula:
[0047] SP={SP k ,SP v}
[0048] Among them, SP k Can be used to represent the first desensitization strategy, SP v It can be used to represent the second desensitization strategy, and SP can be used to represent a desensitization strategy set.
[0049] As an optional implementation method, based on the first sensitivity level, a first desensitization strategy for sensitive attributes is determined, including: in response to the first sensitivity level being greater than the first level threshold, determining the first intermediate calculation result of the first desensitization strategy as a first target value, or in response to the first sensitivity level being less than or equal to the first level threshold, determining the first intermediate calculation result as a second target value; in response to the first intermediate calculation result being greater than the first result threshold, determining the first desensitization strategy to desensitize the sensitive attributes based on hash conversion in a trusted execution environment, or in response to the first intermediate calculation result being less than or equal to the first result threshold, determining the first desensitization strategy to desensitize the sensitive attributes based on hash conversion in a normal execution environment.
[0050] It is easy to notice that the first intermediate calculation result of the first desensitization strategy can be determined by the following formula:
[0051]
[0052] Among them, tp k Can be used to represent the first desensitization strategy SP k The first intermediate calculation result of u can be used to indicate the current system resource occupancy. The value range of u is 0 <u<1, Can be used to represent the weight of u, v k The amount of data that can be used to represent the sensitive attribute key of sensitive data. Can be used to represent v k The weight, nr k It can be used to indicate the sensitivity level of sensitive attribute key. Can be used to represent nr k The weight of The first level threshold that can be used to indicate the sensitivity level of the sensitive attribute key.
[0053] When the sensitivity level nr of the sensitive attribute key k Greater than the first level threshold When the first intermediate calculation result tp k is equal to the first target value 1, that is, for sensitive attribute keys with higher sensitivity levels, the other two parameters are no longer considered, and high-level desensitization protection is directly performed on the sensitive attribute key. k Less than or equal to the first level threshold When the first intermediate calculation result tp k Equal to the second target value That is, the other two parameters need to be considered comprehensively so as to achieve the goal of ensuring security while taking into account system resource overhead.
[0054] Based on the determined first intermediate calculation result, the first desensitization strategy is further determined by the following formula:
[0055]
[0056] Among them, SP k Can be used to represent the first desensitization strategy, Can be used to represent the first intermediate calculation result tp k The corresponding first result threshold. When the first intermediate calculation result tp k Greater than the first result threshold When , the first desensitization strategy SP k =1, that is, in a trusted execution environment, hash conversion is used to establish a hash mapping table to desensitize sensitive attributes. k Less than or equal to the first result threshold When , the first desensitization strategy SP k Equal to 0, that is, in the normal communication execution environment, hash conversion is used to establish a hash mapping table and desensitize sensitive attributes.
[0057] As an optional implementation method, based on the second sensitivity level, a second desensitization strategy for sensitive values is determined, including: in response to the second sensitivity level being greater than the second level threshold, determining the second intermediate calculation result of the second desensitization strategy as a third target value, or in response to the second sensitivity level being less than or equal to the second level threshold, determining the second intermediate calculation result as a fourth target value; in response to the second intermediate calculation result being greater than the second result threshold, determining the second desensitization strategy to desensitize the sensitive value based on hash conversion in a trusted execution environment, or in response to the second intermediate calculation result being less than or equal to the second result threshold, determining the second desensitization strategy to desensitize the sensitive value based on hash conversion in a normal execution environment.
[0058] It is easy to notice that the second intermediate calculation result of the second desensitization strategy can be determined by the following formula:
[0059]
[0060] Among them, tp v Can be used to represent the second desensitization strategy SP v The second intermediate calculation result of u can be used to indicate the current system resource usage. The value range of u is 0 <u<1, Can be used to represent the weight of u, v v The amount of data that can be used to represent the sensitive value of sensitive data. Can be used to represent v v The weight, nr v Can be used for the sensitivity level of sensitive values. Can be used to represent nr v The weight of The second level threshold that can be used to represent the sensitivity level of the sensitive value value.
[0061] When the sensitivity level nr of the sensitive value value v Greater than the second level threshold When the second intermediate calculation result tp v is equal to the third target value 1, that is, for sensitive values with higher sensitivity levels, the other two parameters are no longer considered, and high-level desensitization protection is directly performed on the sensitive values. v Less than or equal to the second level threshold When the second intermediate calculation result tp v Equal to the fourth target value That is, the other two parameters need to be considered comprehensively so as to achieve the goal of ensuring security while taking into account system resource overhead.
[0062] Based on the determined second intermediate calculation result, the second desensitization strategy is further determined by the following formula:
[0063]
[0064] Among them, SP v Can be used to represent the second desensitization strategy, Can be used to represent the second intermediate calculation result tp v The corresponding second result threshold.
[0065] When the second intermediate calculation result tp v Greater than the second result threshold When the second desensitization strategy SP v =1, that is, in a trusted execution environment, hash conversion is used to establish a hash mapping table to desensitize sensitive values. v Less than or equal to the second result threshold When the second desensitization strategy SP k Equal to 0, that is, in the normal communication execution environment, hash conversion is used to establish a hash mapping table to desensitize sensitive values.
[0066] As an optional implementation manner, based on the classification result, the sensitivity level of the sensitive data in the shared data is determined, including: based on the sensitive data discovery function, grading the classification result to obtain the sensitivity level of the sensitive data.
[0067] It can be understood that, through the classification results obtained after the classification processing of the shared data d, the local system SI further discovers sensitive data and classifies the sensitive data through the following formula through the sensitive data discovery function:
[0068] nr=R(C(d))
[0069] Among them, C(d) can be used to represent the classification result, that is, to further classify the sensitive data using the classification result, nr can be used to represent the sensitivity level (sensitivity level) after the sensitive data is classified, and R can be used to represent the sensitive data discovery function.
[0070] As an optional implementation manner, classifying the shared data to obtain the classification result includes: classifying the shared data based on the data classification function to obtain the classification result.
[0071] It can be understood that after the local system SI queries the shared data d to be applied for from the database, it first classifies the shared data d based on the data classification function by the following formula:
[0072] c=C(d)
[0073] Among them, d can be used to represent shared data, c can be used to represent classification results, and C can be used to represent data classification functions.
[0074] As an optional implementation manner, the method also includes: sharing the shared data after the desensitization process; tracking the shared data after sharing based on the sensitive data tracking module to obtain a track set of the shared data.
[0075] It is understandable that after desensitizing sensitive data, the local system SI provides data sharing to the external system Se through the external data sharing interface. The local system SI records and tracks the shared data trajectory and usage through the sensitive data tracking module deployed in the external system Se through the following formula:
[0076] SR=Tr(ds)
[0077] Among them, ds can be used to represent the desensitized data, SR can be used to represent the trajectory set of the desensitized data ds, and Tr can be used to represent the sensitive data tracking function.
[0078] This embodiment obtains shared data to be desensitized in a database, wherein the shared data is used to represent data containing sensitive information; classifies the shared data to obtain a classification result; based on the classification result, determines a sensitivity level of the sensitive data in the shared data, wherein the sensitivity level is used to represent the degree of sensitivity of the sensitive data; based on the sensitivity level, determines a desensitization strategy set, wherein the desensitization strategy set includes at least one desensitization strategy, and the desensitization strategy is used to represent the rules for desensitizing the shared data; desensitizes the shared data based on the desensitization strategy set, thereby solving the technical problem of low computational efficiency of desensitizing the data and achieving the technical effect of improving the computational efficiency of desensitizing the data.
[0079] The technical solution of the embodiment of the present invention is illustrated below in conjunction with preferred implementation modes.
[0080] With the rapid development of the Internet, mobile Internet and information communication, data has become an important asset for enterprises and institutions, and the demand for data security and data privacy protection is increasing. Existing sensitive data discovery and tracking methods mainly protect data privacy through encryption and decryption. However, encryption and decryption methods require a lot of computing power, resulting in low computational efficiency for desensitizing data.
[0081] This application classifies shared data, discovers sensitive data and implements desensitization strategies for sensitive data, relying on a trusted computing architecture to achieve discovery, desensitization and tracking of sensitive data while consuming lower computing resources. While effectively protecting the privacy and security of data sharing, it reduces the system's computing power consumption and improves system performance.
[0082] Figure 2 is a schematic diagram of a sensitive data processing system according to an embodiment of the present application, such as Figure 2As shown in FIG. 1 , the sensitive data processing system mainly includes a local internal system 201 and an external system 202. The local internal system 201 includes a desensitization module 203, an external data sharing interface 204, a sensitive data path query module 207, a sensitive track visualization module 208, and a sensitive data control module 209. The external system 202 includes a data sharing application system 205 and a sensitive data tracking module 206. The local internal system SI, i.e., the data provider (the seller of the data), is Figure 2 The left part of the dotted line; the external system Se, i.e. the data sharing party (the buyer of the data), is Figure 2 The right part of the dotted line. The sensitive data processing system can realize the discovery, desensitization and subsequent use tracking and control of sensitive data in the local internal system SI.
[0083] Outputting a desensitization strategy to desensitize the original data may include:
[0084] Step S201, obtaining original data.
[0085] In the above step S201, the original data to be desensitized can be obtained from the database.
[0086] Step S202: classify the original data based on the data classification function.
[0087] In the above step S202, the data classification function in the data provider SI implements the classification processing of the original data to obtain the classification result.
[0088] Step S203: Screen sensitive data based on the sensitive data discovery function.
[0089] In the above step S203, based on the classification result, sensitive data is screened out through a sensitive data discovery function, and the sensitive data is classified and graded.
[0090] Step S204: Select a function based on the sensitive data desensitization strategy and output the desensitization strategy.
[0091] In the above step S204, the sensitive data desensitization strategy selection function outputs a corresponding desensitization strategy based on three parameters: the sensitivity level of the sensitive data, the current data query volume, and the current system's other resource usage.
[0092] Through the desensitization strategy set, the corresponding desensitization measures are selected through the desensitization module 203 to desensitize the sensitive data. Specifically, when the determined first sensitivity level and the second sensitivity level are both high levels, in a trusted execution environment, based on the high-level sensitive value hash desensitization function and the high-level sensitive attribute hash desensitization function, a hash conversion is used to establish a hash mapping table, and the sensitive attributes and sensitive values are desensitized. When the determined first sensitivity level and the second sensitivity level are both low levels, in a normal execution environment, based on the low-level sensitive value hash desensitization function and the low-level sensitive attribute hash desensitization function, a hash conversion is used to establish a hash mapping table, and the sensitive attributes and sensitive values are desensitized.
[0093] Finally, after the sensitive data is desensitized, the system can share data with the external data buyer, that is, the data sharing application system 205 of the external system Se, through the external data sharing interface 204 of the system. In order to track the use of sensitive data, it is necessary to deploy a sensitive data tracking module 206 in the data buyer, that is, the external system Se. The local system SI can also realize sensitive data tracking communication with the external system Se through the sensitive data path query module 207, the sensitive track visualization display module 208 and the sensitive data control module 209.
[0094] Figure 3 is a flowchart of another sensitive data processing method according to an embodiment of the present application. Figure 3 As shown, the process of the sensitive data processing method may include:
[0095] Step S301: the external system applies for sharing data.
[0096] In the above step S301, for the sake of simplicity, the process of the sensitive data processing method is described by taking individual users of the big data platform as an example. The local system is called SI, and the external system is called Se. There can be n external systems, n≥1. When an application in the external system initiates a shared data request for shared data, the shared data request is sent to the local system through the external shared data interface.
[0097] Step S302: the local system queries shared data.
[0098] In the above step S302, after receiving the shared data request sent by the external system, the local system searches the database of the local system for the shared data to be requested.
[0099] Step S303, classify the shared data to obtain a classification result.
[0100] In the above step S303, after the local system SI searches the database for the shared data d to be applied for, it first classifies the shared data d based on the data classification function using the following formula:
[0101] c=C(d)
[0102] Among them, d can be used to represent shared data, c can be used to represent classification results, and C can be used to represent data classification functions.
[0103] Step S304: Determine the sensitivity level of the sensitive data based on the classification result.
[0104] In the above step S304, based on the classification results obtained after the shared data d is classified, the local system SI further discovers sensitive data and rates the sensitive data through the following formula using the sensitive data discovery function:
[0105] nr=R(C(d))
[0106] Among them, C(d) can be used to represent the classification result, that is, to further classify the sensitive data using the classification result, nr can be used to represent the sensitivity level (sensitivity level) after the sensitive data is classified, and R can be used to represent the sensitive data discovery function.
[0107] Step S305: Determine a desensitization strategy set based on the sensitivity level.
[0108] In the above step S305, based on the sensitivity level of the sensitive data, the amount of sensitive data, and the current system resource usage (busyness), the sensitive data can be desensitized using the following formula:
[0109] ds=Ds(d,SP)
[0110] Among them, d can be used to represent shared data, SP can be used to represent the selected desensitization strategy set, ds can be used to represent desensitized data, and Ds can be used to represent the desensitization function.
[0111] For sensitive data with a high sensitivity level, even if the data volume is large and the current system resource usage is high, the sensitive value and sensitive attribute key of the sensitive data are hashed in the trusted execution environment. However, for sensitive data with a low sensitivity level, different desensitization strategy sets will be selected to desensitize the shared data based on the data volume and the current system resource usage.
[0112] Step S306: desensitize the sensitive attributes in the trusted execution environment.
[0113] In the above step S306, the first intermediate calculation result of the first desensitization strategy can be determined by the following formula:
[0114]
[0115] Among them, tp k Can be used to represent the first desensitization strategy SP k The first intermediate calculation result of u can be used to indicate the current system resource occupancy. The value range of u is 0 <u<1, Can be used to represent the weight of u, v k The amount of data that can be used to represent the sensitive attribute key of sensitive data. Can be used to represent v k The weight, nr k It can be used to indicate the sensitivity level of sensitive attribute key. Can be used to represent nr k The weight of The first level threshold that can be used to indicate the sensitivity level of the sensitive attribute key.
[0116] When the sensitivity level nr of the sensitive attribute key k Greater than the first level threshold When the first intermediate calculation result tp k is equal to the first target value 1, that is, for sensitive attribute keys with higher sensitivity levels, the other two parameters are no longer considered, and high-level desensitization protection is directly performed on the sensitive attribute key. k Less than or equal to the first level threshold When the first intermediate calculation result tp k Equal to the second target value That is, the other two parameters need to be considered comprehensively so as to achieve the goal of ensuring security while taking into account system resource overhead.
[0117] Based on the determined first intermediate calculation result, the first desensitization strategy is further determined by the following formula:
[0118]
[0119] Among them, SP k Can be used to represent the first desensitization strategy, Can be used to represent the first intermediate calculation result tp k The corresponding first result threshold. When the first intermediate calculation result tp k Greater than the first result threshold When , the first desensitization strategy SP kEqual to 1, that is, in a trusted execution environment, hash conversion is used to establish a hash mapping table and desensitize sensitive attributes.
[0120] Step S307: desensitizing the sensitive attributes in a normal execution environment.
[0121] In the above step S307, when the first intermediate calculation result tp k Less than or equal to the first result threshold When , the first desensitization strategy SP k Equal to 0, that is, in the normal communication execution environment, hash conversion is used to establish a hash mapping table and desensitize sensitive attributes.
[0122] Step S308: desensitizing the sensitive values in the trusted execution environment.
[0123] In the above step S308, the second intermediate calculation result of the second desensitization strategy can be determined by the following formula:
[0124]
[0125] Among them, tp v Can be used to represent the second desensitization strategy SP v The second intermediate calculation result of u can be used to indicate the current system resource usage. The value range of u is 0 <u<1, Can be used to represent the weight of u, v v The amount of data that can be used to represent the sensitive value of sensitive data. Can be used to represent v v The weight, nr v Can be used for the sensitivity level of sensitive values. Can be used to represent nr v The weight of The second level threshold that can be used to represent the sensitivity level of the sensitive value value.
[0126] When the sensitivity level nr of the sensitive value value v Greater than the second level threshold When the second intermediate calculation result tp v is equal to the third target value 1, that is, for sensitive values with higher sensitivity levels, the other two parameters are no longer considered, and high-level desensitization protection is directly performed on the sensitive values. v Less than or equal to the second level threshold When the second intermediate calculation result tp v Equal to the fourth target value That is, the other two parameters need to be considered comprehensively so as to achieve the goal of ensuring security while taking into account system resource overhead.
[0127] Based on the determined second intermediate calculation result, the second desensitization strategy is further determined by the following formula:
[0128]
[0129] Among them, SP v Can be used to represent the second desensitization strategy, Can be used to represent the second intermediate calculation result tp v The corresponding second result threshold. When the second intermediate calculation result tp v Greater than the second result threshold When the second desensitization strategy SP v Equal to 1, that is, in a trusted execution environment, hash conversion is used to establish a hash mapping table and desensitize sensitive values.
[0130] Step S309: desensitize the sensitive values in a normal execution environment.
[0131] In the above step S309, when the second intermediate calculation result tp v Less than or equal to the second result threshold When the second desensitization strategy SP k Equal to 0, that is, in the normal communication execution environment, hash conversion is used to establish a hash mapping table to desensitize sensitive values.
[0132] Step S310: desensitize the sensitive data based on the desensitization strategy set.
[0133] In the above step S310, based on the determined first desensitization strategy and the second desensitization strategy, the desensitization strategy set can be obtained by the following formula:
[0134] SP={SP k ,SP v}
[0135] Among them, SP k Can be used to represent the first desensitization strategy, SP v It can be used to represent the second desensitization strategy, and SP can be used to represent a desensitization strategy set.
[0136] For sensitive data of different sensitivity levels, different combinations of desensitization strategies can be used to desensitize sensitive data using the following formula:
[0137] ds=Ds(d,SP)
[0138] Among them, d can be used to represent shared data, SP can be used to represent the selected desensitization strategy set, ds can be used to represent desensitized data, and Ds can be used to represent the desensitization function.
[0139] Step S311, sending the desensitized data to the external system.
[0140] In the above step S311, after the sensitive data is desensitized, the local system SI provides data sharing to the external system Se through the external shared data interface.
[0141] Step S312, tracking the desensitized data.
[0142] In the above step S312, the local system SI records and tracks the shared data trajectory and usage through the sensitive data tracking module deployed in the external system Se using the following formula:
[0143] SR=Tr(ds)
[0144] Among them, ds can be used to represent the desensitized data, SR can be used to represent the trajectory set of the desensitized data ds, and Tr can be used to represent the sensitive data tracking function.
[0145] The embodiment of the present invention further provides a sensitive data processing device. It should be noted that the sensitive data processing device of this embodiment can be used to execute the sensitive data processing method of the embodiment of the present invention.
[0146] Figure 4 is a schematic diagram of a sensitive data processing device according to an embodiment of the present application, such as Figure 4 As shown, the sensitive data processing device 400 includes: an acquisition unit 402 , a classification unit 404 , a first determination unit 406 , a second determination unit 408 and a processing unit 410 .
[0147] The acquisition unit 402 is used to acquire the shared data to be desensitized in the database, wherein the shared data is used to represent data containing sensitive information.
[0148] The classification unit 404 is used to classify the shared data to obtain a classification result.
[0149] The first determination unit 406 is configured to determine a sensitivity level of the sensitive data in the shared data based on the classification result, wherein the sensitivity level is used to indicate a degree of sensitivity of the sensitive data.
[0150] The second determining unit 408 is used to determine a desensitization strategy set based on the sensitivity level, wherein the desensitization strategy set includes at least one desensitization strategy, and the desensitization strategy is used to represent a rule for desensitizing the shared data.
[0151] The processing unit 410 is used to perform desensitization processing on the shared data based on the desensitization strategy set.
[0152] Optionally, the first determination unit includes: a first determination module, used to determine a first sensitivity level of a sensitive attribute in the sensitive data and a second sensitivity level of a sensitive numerical value in the sensitive data based on the classification result.
[0153] Optionally, the second determination unit includes: a second determination module, used to determine a first desensitization strategy for a sensitive attribute based on a first sensitivity level, and to determine a second desensitization strategy for a sensitive value based on a second sensitivity level; and a combination module, used to combine the first desensitization strategy and the second desensitization strategy to obtain a desensitization strategy set.
[0154] Optionally, the second determination module includes: a first determination submodule, used to determine that the first intermediate calculation result of the first desensitization strategy is a first target value in response to the first sensitivity level being greater than a first level threshold, or to determine that the first intermediate calculation result is a second target value in response to the first sensitivity level being less than or equal to the first level threshold; a second determination submodule, used to determine that the first desensitization strategy is to desensitize the sensitive attributes based on hash conversion in a trusted execution environment in response to the first intermediate calculation result being greater than the first result threshold, or to determine that the first desensitization strategy is to desensitize the sensitive attributes based on hash conversion in a normal execution environment in response to the first intermediate calculation result being less than or equal to the first result threshold.
[0155] Optionally, the second determination module also includes: a third determination submodule, used to determine that the second intermediate calculation result of the second desensitization strategy is a third target value in response to the second sensitivity level being greater than the second level threshold, or to determine that the second intermediate calculation result is a fourth target value in response to the second sensitivity level being less than or equal to the second level threshold; a fourth determination submodule, used to determine that the second desensitization strategy is to desensitize the sensitive value based on hash conversion in a trusted execution environment in response to the second intermediate calculation result being greater than the second result threshold, or to determine that the second desensitization strategy is to desensitize the sensitive value based on hash conversion in a normal execution environment in response to the second intermediate calculation result being less than or equal to the second result threshold.
[0156] Optionally, the first determination unit further includes: a grading module, configured to grade the classification result based on the sensitive data discovery function to obtain a sensitivity level of the sensitive data.
[0157] Optionally, the classification unit includes: a classification module, used to classify the shared data based on the data classification function to obtain a classification result.
[0158] Optionally, the device also includes: a sharing unit, used to share the shared data after desensitization processing; and a tracking unit, used to track the shared data after sharing based on the sensitive data tracking module to obtain a track set of the shared data.
[0159] In the processing device, the acquisition unit 402 acquires the shared data to be desensitized in the database, wherein the shared data is used to represent data containing sensitive information. The classification unit 404 classifies the shared data to obtain a classification result. The first determination unit 406 determines the sensitivity level of the sensitive data in the shared data based on the classification result, wherein the sensitivity level is used to represent the sensitivity of the sensitive data. The second determination unit 408 determines the desensitization strategy set based on the sensitivity level, wherein the desensitization strategy set includes at least one desensitization strategy, and the desensitization strategy is used to represent the rules for desensitizing the shared data. The processing unit 410 desensitizes the shared data based on the desensitization strategy set, thereby achieving the technical effect of improving the computational efficiency of desensitizing the data, thereby solving the technical problem of low computational efficiency of desensitizing the data.
[0160] According to another aspect of an embodiment of the present application, a non-volatile storage medium is further provided, the storage medium including a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute any sensitive data processing method.
[0161] Specifically, the above storage medium is used to store program instructions for the following functions to implement the following functions:
[0162] Receive a configuration request uploaded by a target object, wherein the configuration request carries basic attribute information of a video conference within a target time period; determine identification information of a video conferencing device to be involved in the video conferencing in a video conferencing system within a target space, and at least determine hardware configuration information corresponding to the identification information; determine at least a first amount of processing resources required for the video conference based on basic attribute requirements, and obtain a second amount of processing resources corresponding to the hardware configuration information, wherein the second amount of processing resources is a maximum value of processing resources that can be used by the video conferencing device to provide external services corresponding to the hardware configuration information; determine whether to upgrade the video conferencing device based on the first amount of processing resources and the second amount of processing resources.
[0163] Optionally, in this embodiment, the above-mentioned storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the above-mentioned contents. More specific examples of the above-mentioned storage medium may include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above-mentioned contents.
[0164] In an exemplary embodiment of the present application, a computer program product is further provided, including a computer program, and when the computer program is executed by a processor, the computer program implements any of the above-mentioned sensitive data processing methods.
[0165] Optionally, the computer program may implement the following steps when executed by a processor:
[0166] Receive a configuration request uploaded by a target object, wherein the configuration request carries basic attribute information of a video conference within a target time period; determine identification information of a video conferencing device to be involved in the video conferencing in a video conferencing system within a target space, and at least determine hardware configuration information corresponding to the identification information; determine at least a first amount of processing resources required for the video conference based on basic attribute requirements, and obtain a second amount of processing resources corresponding to the hardware configuration information, wherein the second amount of processing resources is a maximum value of processing resources that can be used by the video conferencing device to provide external services corresponding to the hardware configuration information; determine whether to upgrade the video conferencing device based on the first amount of processing resources and the second amount of processing resources.
[0167] According to an embodiment of the present application, an electronic device is provided, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute any of the above-mentioned methods for processing sensitive data.
[0168] Optionally, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0169] Figure 5A schematic block diagram of an example electronic device 500 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.
[0170] like Figure 5 As shown, the device 500 includes a computing unit 501, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 502 or a computer program loaded from a storage unit 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the device 500 can also be stored. The computing unit 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0171] A number of components in the device 500 are connected to the I / O interface 505, including: an input unit 506, such as a keyboard, a mouse, etc.; an output unit 507, such as various types of displays, speakers, etc.; a storage unit 508, such as a disk, an optical disk, etc.; and a communication unit 509, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 509 allows the device 500 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0172] The computing unit 501 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the computing unit 501 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various computing units running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The computing unit 501 performs the various methods and processes described above, such as a processing method for sensitive data. For example, in some embodiments, the processing method for sensitive data may be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 508. In some embodiments, part or all of the computer program may be loaded and / or installed on the device 500 via the ROM 502 and / or the communication unit 509. When the computer program is loaded into the RAM 503 and executed by the computing unit 501, one or more steps of the processing method for sensitive data described above may be performed. Alternatively, in other embodiments, the computing unit 501 may be configured to perform the processing method for sensitive data in any other appropriate manner (e.g., by means of firmware).
[0173] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0174] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0175] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0176] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).
[0177] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.
[0178] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.
[0179] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0180] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0181] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0182] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0183] In addition, each functional unit in each embodiment of the present application 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.
[0184] 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 application, 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, server or network device, etc.) to perform all or part of the steps of each embodiment method of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc., which can store program code.
[0185] The above are only preferred implementations of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A method for processing sensitive data, characterized in that: include: Acquire shared data to be desensitized in a database, wherein the shared data is used to represent data containing sensitive information; Classifying the shared data to obtain a classification result; Determining a sensitivity level of the sensitive data in the shared data based on the classification result, wherein the sensitivity level is used to indicate the sensitivity degree of the sensitive data; Based on the sensitivity level, determining a desensitization strategy set, wherein the desensitization strategy set includes at least one desensitization strategy, and the desensitization strategy is used to represent a rule for desensitizing the shared data; Performing desensitization processing on the shared data based on the desensitization strategy set; Wherein, based on the sensitivity level, a desensitization strategy set is determined, including: In response to a first sensitivity level of a sensitive attribute in the sensitive data being greater than a first level threshold, determining a first intermediate calculation result of a first desensitization strategy for the sensitive attribute as a first target value, or in response to the first sensitivity level being less than or equal to the first level threshold, determining the first intermediate calculation result as a second target value, wherein the second target value is u is used to indicate resource usage. Used to represent the weight of u, v k The amount of data used to represent the sensitive attribute, Used to represent v k The weight, nr k Used to indicate the first sensitivity level, Used to represent nr k Based on the first intermediate calculation, determining the first desensitization strategy; In response to the second sensitivity level of the sensitive value in the sensitive data being greater than the second level threshold, determining the second intermediate calculation result of the second desensitization strategy for the sensitive value to be the third target value, or in response to the second sensitivity level being less than or equal to the second level threshold, determining the second intermediate calculation result to be the fourth target value, wherein the fourth target value is v v The amount of data used to represent the sensitive value, Used to represent v v The weight, nr v Used to indicate the second sensitivity level, Used to represent nr v Based on the second intermediate calculation, determining the second desensitization strategy; The first desensitization strategy and the second desensitization strategy are combined to obtain the desensitization strategy set.
2. The method according to claim 1, characterized in that Determining the sensitivity level of the sensitive data in the shared data based on the classification result includes: Based on the classification result, the first sensitivity level of the sensitive attribute in the sensitive data and the second sensitivity level of the sensitive value in the sensitive data are determined.
3. The method according to claim 2, characterized in that The method further comprises: Based on the first sensitivity level, the first desensitization strategy for the sensitive attribute is determined, and based on the second sensitivity level, the second desensitization strategy for the sensitive value is determined.
4. The method according to claim 1, characterized in that Determining the first desensitization strategy based on the first intermediate calculation includes: In response to the first intermediate calculation result being greater than a first result threshold, the first desensitization strategy is determined to be, in a trusted execution environment, desensitizing the sensitive attribute based on hash conversion, or in response to the first intermediate calculation result being less than or equal to the first result threshold, the first desensitization strategy is determined to be, in a normal execution environment, desensitizing the sensitive attribute based on the hash conversion.
5. The method according to claim 1, characterized in that Determining the second desensitization strategy based on the second intermediate calculation includes: In response to the second intermediate calculation result being greater than a second result threshold, the second desensitization strategy is determined to be, in a trusted execution environment, desensitizing the sensitive value based on hash conversion, or in response to the second intermediate calculation result being less than or equal to the second result threshold, the second desensitization strategy is determined to be, in a normal execution environment, desensitizing the sensitive value based on the hash conversion.
6. The method according to claim 1, characterized in that Determining the sensitivity level of the sensitive data in the shared data based on the classification result includes: Based on a sensitive data discovery function, the classification result is graded to obtain the sensitivity level of the sensitive data.
7. The method according to claim 1, characterized in that Classifying the shared data to obtain the classification result includes: Based on the data classification function, the shared data is classified to obtain the classification result.
8. The method according to any one of claims 1 to 7, characterized in that The method further comprises: Sharing the shared data after desensitization processing; Based on the sensitive data tracking module, the shared data is tracked after being shared to obtain a track set of the shared data.
9. A sensitive data processing device, characterized in that: include: An acquisition unit, used for acquiring shared data to be desensitized in a database, wherein the shared data is used to represent data containing sensitive information; A classification unit, used to classify the shared data to obtain a classification result; A first determining unit, configured to determine a sensitivity level of the sensitive data in the shared data based on the classification result, wherein the sensitivity level is used to indicate a degree of sensitivity of the sensitive data; A second determining unit is configured to determine a desensitization strategy set based on the sensitivity level, wherein the desensitization strategy set includes at least one desensitization strategy, and the desensitization strategy is used to represent a rule for desensitizing the shared data; A processing unit, configured to perform desensitization processing on the shared data based on the desensitization strategy set; The second determination unit is further used to: in response to a first sensitivity level of a sensitive attribute in the sensitive data being greater than a first level threshold, determine a first intermediate calculation result of a first desensitization strategy for the sensitive attribute as a first target value, or in response to a first sensitivity level being less than or equal to the first level threshold, determine the first intermediate calculation result as a second target value, wherein the second target value is u is used to indicate resource usage. Used to represent the weight of u, v k The amount of data used to represent the sensitive attribute, Used to represent v k The weight, nr k Used to indicate the first sensitivity level, Used to represent nr k Based on the first intermediate calculation, determining the first desensitization strategy; In response to the second sensitivity level of the sensitive value in the sensitive data being greater than the second level threshold, determining the second intermediate calculation result of the second desensitization strategy for the sensitive value to be the third target value, or in response to the second sensitivity level being less than or equal to the second level threshold, determining the second intermediate calculation result to be the fourth target value, wherein the fourth target value is v v The amount of data used to represent the sensitive value, Used to represent v v The weight, nr v Used to indicate the second sensitivity level, Used to represent nr v Based on the second intermediate calculation, determining the second desensitization strategy; The first desensitization strategy and the second desensitization strategy are combined to obtain the desensitization strategy set.
10. A non-volatile storage medium, characterized in that: The storage medium includes a stored program, wherein when the program is executed, the device where the storage medium is located is controlled to execute the sensitive data processing method according to any one of claims 1 to 8.
11. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the sensitive data processing method according to any one of claims 1 to 8.
