Data privacy protection method and device, storage medium and computer program product

By calculating the weight coefficients and privacy budget parameters of data attributes, combined with the Laplace and index mechanisms in differential privacy technology, the data is disturbed, and the problem that the existing technology cannot defend against homogeneous attacks and background knowledge hypothetical attacks is solved. It realizes effective protection of data privacy and balances availability and privacy.

CN118965428APending Publication Date: 2024-11-15CHINA MOBILE (SUZHOU) SOFTWARE TECH CO LTD +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202410995070.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-24
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing K-anonymity and L-diversity algorithms cannot effectively defend against homogeneous attacks and background knowledge hypothesis attacks, resulting in major flaws in data privacy protection.

Method used

By determining the weight coefficients of each data attribute in the dataset, compute the privacy budget parameters based on the weight coefficients and the total amount of the privacy budget, and perform differential privacy perturbations based on the data type and parameters, add noise to protect data privacy using Laplace and exponential mechanisms. .

Benefits of technology

Effectively reduce or avoid data privacy leakage, improve data availability and privacy balance, defend against homogeneous attacks and background knowledge assumption attacks, and improve communication efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118965428A_ABST
    Figure CN118965428A_ABST
Patent Text Reader

Abstract

The invention provides a data privacy protection method and device, a storage medium and a computer program product. The method comprises the following steps: determining a weight coefficient of each data attribute in a data set; determining a privacy budget parameter of each data attribute according to the weight coefficient and the privacy budget total amount; and performing differential privacy perturbation on the data according to the type of the data and the privacy budget parameter. In the application, the weight coefficient corresponding to each data attribute in the data set is determined, and the privacy budget parameter corresponding to each data attribute is calculated according to the to-be-added privacy budget total amount and the weight coefficient. For different types of data, different methods are used, and based on privacy budget parameters corresponding to the data, noise needing to be added to the data attributes is calculated. The weight coefficient can indicate the sensitivity of the data attribute, and the noise needing to be allocated to the data attribute is determined according to the sensitivity of the data attribute, so that the reasonable allocation of the privacy budget can be realized, and the availability and privacy of the data are kept balanced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and specifically to a data privacy protection method, device, storage medium and computer program product. Background Art

[0002] With the rapid development of big data and cloud computing, individuals, enterprises and institutions generate massive amounts of data every day. Stakeholders can use data mining to obtain hidden predictable information from large amounts of data and apply the analysis results to real life, which can improve life and promote social development. However, these data may directly or indirectly infringe on the privacy of users, resulting in the leakage of personal sensitive information and causing great inconvenience to users.

[0003] In order to solve the above-mentioned privacy leakage phenomenon, researchers have used K-anonymity algorithm and L-diversity algorithm to protect data. However, the protection methods of K-anonymity and L-diversity cannot defend against homogeneity attacks and background knowledge assumption attacks, so data privacy protection still has major defects. Summary of the invention

[0004] At least one embodiment of the present application provides a data privacy protection method, device, storage medium and computer program product, which are used to solve the problem of data privacy leakage.

[0005] In order to solve the above technical problems, this application is implemented as follows:

[0006] In a first aspect, an embodiment of the present application provides a data privacy protection method, including:

[0007] Determine the weight coefficient of each data attribute in the data set;

[0008] Determine the privacy budget parameter for each data attribute according to the weight coefficient and the total privacy budget;

[0009] The data is differentially privacy perturbed according to the type of data and the privacy budget parameter.

[0010] Optionally, determining a weight coefficient for each data attribute in the data set includes:

[0011] For each data attribute, determining the weight of each data sample in the data attribute;

[0012] Determining the information entropy of the data attribute according to the weight;

[0013] The weight coefficient of the data attribute is calculated according to the information entropy.

[0014] Optionally, before determining, for each data attribute, the proportion of each data sample in the data attribute, the method further includes:

[0015] The numerical data in the data set is normalized, and the non-numerical data is converted into numerical data.

[0016] Optionally, calculating the weight coefficient of the data attribute according to the information entropy includes:

[0017] Calculating information utility value according to the information entropy;

[0018] The weight coefficient of the data attribute is calculated according to the information utility value.

[0019] Optionally, calculating the information utility value according to the information entropy includes:

[0020] The information utility value is calculated using the following formula:

[0021] u j =1-e j ;

[0022] Among them, u j is the information utility value of data attribute j, e j is the information entropy of data attribute j;

[0023] Calculating the weight coefficient of the data attribute according to the information utility value includes:

[0024] The weight coefficient of the data attribute is calculated according to the information utility value using the following formula:

[0025]

[0026] Among them, M j Represents the weight coefficient of data attribute j.

[0027] Optionally, the privacy budget parameter of each data attribute is determined according to the weight coefficient and the total privacy budget, including:

[0028] For data attribute j, the product of the total privacy budget and the weight coefficient of data attribute j is calculated, and the calculation formula is as follows:

[0029] ε j =ε*M j ;

[0030] Among them, ε j represents the privacy budget parameter of data attribute j, ε represents the total amount of the privacy budget, M j Represents the weight coefficient of data attribute j.

[0031] Optionally, performing differential privacy perturbation on the data according to the type of the data and the privacy budget parameter includes:

[0032] Dividing the data in the data set into numerical data and categorical data;

[0033] According to the privacy budget parameter and the sensitivity, the noise to be added to the numerical data is determined using the Laplace mechanism, and the numerical data after the noise is added is calculated;

[0034] According to the privacy budget parameter and the sensitivity, an exponential mechanism is used to determine the noise that needs to be added to the categorized data, and the categorized data after the noise is added is calculated.

[0035] Optionally, the calculation formula for determining the noise of the numerical data using the Laplace mechanism is as follows:

[0036] Y~Lap(Δq / ε j );

[0037] The calculation formula for determining the noise that needs to be added to the classified data using the exponential mechanism is as follows:

[0038] exp(ε j q(D, r) / 2Δq);

[0039] Where Y represents numerical data, Δq is the sensitivity of function q(D, r), and ε j represents the privacy budget parameter of data attribute j; D represents the classified data, and r is a random number.

[0040] In a second aspect, an embodiment of the present application provides an electronic device, comprising a transceiver and a processor, wherein the processor is used to determine a weight coefficient for each data attribute in a data set; determine a privacy budget parameter for each data attribute based on the weight coefficient and the total privacy budget; and perform differential privacy perturbation on the data based on the type of data and the privacy budget parameter.

[0041] In a third aspect, an embodiment of the present application provides a data privacy protection device, including:

[0042] A first determination module is used to determine the weight coefficient of each data attribute in the data set;

[0043] A second determination module is used to determine the privacy budget parameter of each data attribute according to the weight coefficient and the total privacy budget;

[0044] The first processing module is used to perform differential privacy perturbation on the data according to the type of the data and the privacy budget parameter.

[0045] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising: a processor, a memory, and a program stored in the memory and executable on the processor, wherein the program, when executed by the processor, implements the steps of the method described in the first aspect.

[0046] In a fifth aspect, an embodiment of the present application provides a readable storage medium on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the above-mentioned data privacy protection method are implemented.

[0047] In a sixth aspect, an embodiment of the present application provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the above-mentioned data privacy protection method.

[0048] In an embodiment of the present application, the weight coefficient corresponding to each data attribute in the data set is determined, and the privacy budget parameter corresponding to each data attribute can be calculated based on the total amount of privacy budget to be added and the weight coefficient. For different types of data, different methods are used to calculate the noise that needs to be added to the data attribute based on the privacy budget parameter corresponding to the data. Among them, the weight coefficient can indicate the sensitivity of the data attribute, and the noise that needs to be allocated to the data attribute is determined according to the sensitivity of the data attribute, which can achieve a reasonable allocation of the privacy budget, so that the availability and privacy of the data are balanced. BRIEF DESCRIPTION OF THE DRAWINGS

[0049] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:

[0050] Figure 1 A flowchart of a data privacy protection method according to an embodiment of the present application;

[0051] Figure 2 A schematic diagram of the structure of a data privacy protection device according to an embodiment of the present application;

[0052] Figure 3 This is one of the structural schematic diagrams of the electronic device according to the embodiment of the present application;

[0053] Figure 4 This is the second structural schematic diagram of the electronic device according to the embodiment of the present application. DETAILED DESCRIPTION

[0054] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.

[0055] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and need not be used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchangeable in appropriate circumstances, 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, the process, method, system, product or equipment comprising a series of steps or units need not be 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 equipment. "And / or" in the specification and claims represents at least one of the connected objects.

[0056] The technology described herein is not limited to NR systems and Long Time Evolution (LTE) / LTE-Advanced (LTE-A) systems, and can also be used for various wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" are often used interchangeably. A CDMA system can implement radio technologies such as CDMA2000, Universal Terrestrial Radio Access (UTRA). UTRA includes Wideband Code Division Multiple Access (WCDMA) and other CDMA variants. A TDMA system can implement radio technologies such as Global System for Mobile Communication (GSM). OFDMA systems can implement radio technologies such as Ultra Mobile Broadband (UMB), Evolution-UTRA (E-UTRA), IEEE 802.21 (Wi-Fi), IEEE 802.16 (WiMAX), IEEE 802.20, Flash-OFDM, etc. UTRA and E-UTRA are parts of Universal Mobile Telecommunications System (UMTS). LTE and more advanced LTE (such as LTE-A) are new UMTS versions that use E-UTRA. UTRA, E-UTRA, UMTS, LTE, LTE-A, and GSM are described in documents from an organization named "3rd Generation Partnership Project" (3GPP). CDMA2000 and UMB are described in documents from an organization named "3rd Generation Partnership Project 2" (3GPP2).The techniques described herein may be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies. However, the following description describes an NR system for example purposes and uses NR terminology in much of the following description, although the techniques may also be applicable to applications other than NR system applications.

[0057] The following description provides examples and does not limit the scope, applicability, or configuration set forth in the claims. Changes may be made to the functions and arrangements of the elements discussed without departing from the spirit and scope of the present disclosure. Various examples may appropriately omit, replace, or add various procedures or components. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.

[0058] As described in the background technology, existing privacy protection methods cannot defend against homogeneity attacks and background knowledge assumption attacks, and data privacy protection still has major defects. In order to solve at least one of the above problems, an embodiment of the present application provides a data privacy protection method that can reduce or avoid the occurrence of the above situations, improve communication efficiency, and improve user experience.

[0059] Please refer to Figure 1 , a data privacy protection method provided in an embodiment of the present application includes:

[0060] Step 101, determining the weight coefficient of each data attribute in the data set;

[0061] In this embodiment, the data set may be in the form of an array, each column of data in the array is data of an attribute, and the weight coefficient of each column of data is calculated to obtain the weight coefficient corresponding to the attribute. The weight coefficient may be used to indicate the sensitivity of each data attribute, and the larger the weight coefficient, that is, the greater the sensitivity, the more noise needs to be added; conversely, the smaller the weight coefficient, that is, the smaller the sensitivity, the less noise needs to be added.

[0062] Step 102: Determine the privacy budget parameter of each data attribute according to the weight coefficient and the total privacy budget;

[0063] The total privacy budget is the total disturbance value to be added. According to the weights corresponding to each data attribute and the total privacy budget, the privacy budget parameter corresponding to each data attribute can be calculated. The privacy budget parameter is the privacy budget value corresponding to each data attribute.

[0064] Step 103: Perform differential privacy perturbation on the data according to the type of data and the privacy budget parameter.

[0065] Optionally, the data type includes numerical data and categorical data. For different data types, different methods can be used to calculate the noise that needs to be added to the data attribute based on the privacy budget parameter corresponding to the data, thereby achieving differential privacy perturbation of the data.

[0066] In an embodiment of the present application, the weight coefficient corresponding to each data attribute in the data set is determined, and the privacy budget parameter corresponding to each data attribute can be calculated based on the total amount of privacy budget to be added and the weight coefficient. For different types of data, different methods are used to calculate the noise that needs to be added to the data attribute based on the privacy budget parameter corresponding to the data. Among them, the weight coefficient can indicate the sensitivity of the data attribute, and the noise that needs to be allocated to the data attribute is determined according to the sensitivity of the data attribute, which can achieve a reasonable allocation of the privacy budget, so that the availability and privacy of the data are balanced.

[0067] As an optional embodiment, determining the weight coefficient of each data attribute in the data set includes:

[0068] (1) for each data attribute, determining the weight of each data sample in the data attribute;

[0069] In this step, the proportion P of the i-th data sample of data attribute j is determined ij , according to the following calculation formula, calculate the proportion of each data sample in each data attribute in turn:

[0070]

[0071] Among them, P ij represents the proportion of the i-th data sample of data attribute j, y ij Represents the i-th data sample of data attribute j, i = 1, 2, ... n.

[0072] (2) determining the information entropy of the data attribute according to the weight;

[0073] In this step, the information entropy corresponding to each data attribute is calculated according to the proportion of each data sample in each data attribute. The calculation formula is as follows:

[0074]

[0075] Among them, e j represents the information entropy of data attribute j, P ij Indicates the proportion of the i-th data sample of data attribute j.

[0076] (3) Calculate the weight coefficient of the data attribute based on the information entropy.

[0077] Optionally, calculating the weight coefficient of the data attribute according to the information entropy includes:

[0078] An information utility value is calculated according to the information entropy; and a weight coefficient of the data attribute is calculated according to the information utility value.

[0079] Optionally, calculating the information utility value according to the information entropy includes:

[0080] The information utility value is calculated using the following formula:

[0081] u j =1-e j ;

[0082] Among them, u j is the information utility value of data attribute j, e j is the information entropy of data attribute j;

[0083] Calculating the weight coefficient of the data attribute according to the information utility value includes:

[0084] The weight coefficient of the data attribute is calculated according to the information utility value using the following formula:

[0085]

[0086] Among them, M j Represents the weight coefficient of data attribute j. Here, it is assumed that the data set contains 12 attributes. It should be noted that the number of attributes is not limited here and can also be other values, which can be set to m.

[0087] In this embodiment, the weight coefficient of the data attribute can represent the sensitivity of the data attribute. Sensitivity is one of the important indicators for measuring the addition of noise. The greater the sensitivity, the more noise needs to be added. Conversely, the smaller the sensitivity, the smaller the noise needs to be added. This embodiment uses the entropy weight method to determine the sensitivity of each data attribute. According to the discrete degree of the data attribute, the entropy weight of each data attribute, that is, the weight coefficient of the data attribute, is calculated using information entropy. Then, the privacy budget parameter corresponding to the data attribute is calculated according to the weight coefficient of each data attribute, which has a certain objectivity.

[0088] As an optional embodiment, before determining, for each data attribute, the proportion of each data sample in the data attribute, the method further includes:

[0089] The numerical data in the data set is normalized, and the non-numerical data is converted into numerical data.

[0090] In this embodiment, when calculating the weight coefficient of each data attribute, normalized numerical data is used. If the data set contains non-numerical data, the non-numerical data needs to be converted into numerical data.

[0091] As an optional embodiment, determining the privacy budget parameter of each data attribute according to the weight coefficient and the total privacy budget includes:

[0092] For data attribute j, the product of the total privacy budget and the weight coefficient of data attribute j is calculated, and the calculation formula is as follows:

[0093] ε j =ε*M j ;

[0094] Among them, ε j represents the privacy budget parameter of data attribute j, ε represents the total amount of the privacy budget, M j Represents the weight coefficient of data attribute j.

[0095] In this embodiment, the privacy budget parameter corresponding to the data attribute indicates the disturbance size that needs to be added to the data attribute. The total privacy budget is a preset total disturbance amount. The disturbance amount corresponding to each data attribute can be determined according to the total privacy budget and the weight coefficient corresponding to each data attribute. After determining the disturbance amount corresponding to each data attribute, differential privacy disturbance can be performed on the data according to the data type.

[0096] As an optional embodiment, performing differential privacy perturbation on the data according to the type of the data and the privacy budget parameter includes:

[0097] Dividing the data in the data set into numerical data and categorical data;

[0098] According to the privacy budget parameter and the sensitivity, the noise to be added to the numerical data is determined using the Laplace mechanism, and the numerical data after the noise is added is calculated;

[0099] According to the privacy budget parameter and the sensitivity, an exponential mechanism is used to determine the noise that needs to be added to the categorized data, and the categorized data after the noise is added is calculated.

[0100] Optionally, the calculation formula for determining the noise of the numerical data using the Laplace mechanism is as follows:

[0101] Y~Lap(Δq / ε j );

[0102] The calculation formula for determining the noise that needs to be added to the classified data using the exponential mechanism is as follows:

[0103] exp(ε j q(D, r) / 2Δq);

[0104] Where Y represents numerical data, Δq is the sensitivity of function q(D, r), and ε j represents the privacy budget parameter of data attribute j; D represents the classified data, and r is a random number.

[0105]

[0106] Where Δq is the sensitivity of the query function q, D 2 and D 1 These are two datasets with the same structure.

[0107] In this embodiment, after calculating the weight coefficient and privacy budget parameter of each column attribute, the Laplace mechanism and exponential mechanism in differential privacy are used to perturb the data. Specifically, the data set is divided into two arrays of numerical data and categorical data. For the numerical data, the Laplace mechanism is used to add noise to each column attribute. For the categorical data, the exponential mechanism is used to add noise to each column attribute. Optionally, the numerical data and categorical data after noise are merged into one array.

[0108] In the present application, the implementation mechanism of differential privacy includes the Laplace mechanism and the exponential mechanism. Among them, the Laplace mechanism is used to add noise to the numerical data in the data, and the exponential mechanism is used to add noise to the categorical data in the data. The embodiment of the present application first uses the entropy weight method to calculate the weight of each data attribute in the data set, and then divides the categorical data and the numerical data in the data set into two arrays, and uses the Laplace mechanism to add noise to the information in the numerical array, and uses the exponential mechanism to add noise to the array in the categorical data, fundamentally perturbing the data, solving the defects of K-anonymity and L-diversity technology, and differential privacy technology can make data sets under different parameter processing comparable at the level of privacy protection. The essence of differential privacy is random probability, that is, all differential privacy mechanisms are random. In the process of adding noise, the ε of each attribute column j =ε*M j .

[0109] The results of the privacy protection method in the embodiment of the present application are analyzed below.

[0110] Parallel Combinability Principle. Suppose a data set D is divided into several disjoint subsets {D1, ...D x}, B is any random algorithm that satisfies ε-differential privacy, then algorithm B is used in the dataset {D1,...D x} satisfy ε-differential privacy.

[0111] Serial combination principle: Assume that a data set D and t random algorithms {B1,...B T}, B t Satisfying ε-differential privacy, the random algorithm {B1,...B T The sequence combination on the dataset D satisfies ε-differential privacy. The total privacy budget of m attributes is:

[0112]

[0113] Assume that the total privacy budget (i.e., the total privacy budget) is ε, and the weight coefficient of each column attribute is M j , the privacy budget parameter of each column attribute can be calculated as: ε j =ε*M j .

[0114] Therefore, the amount of noise added to each column attribute is determined by the sensitivity value of the attribute. The sensitivity of the attribute is reflected by the weight coefficient of the attribute. The greater the sensitivity, the more noise is added, and the smaller the sensitivity, the less noise is added.

[0115] For all numerical data, use the Laplace mechanism to add noise to meet differential privacy:

[0116] Assume that D1 and D2 are arbitrary adjacent data sets, B is a noise adding algorithm, the value of attribute X after noise addition is X1, and the privacy budget of attribute j is ε j The following formula proves that one of the columns of attributes satisfies differential privacy, and similarly, the remaining columns of attributes also satisfy differential privacy protection;

[0117]

[0118] Since adding noise to each column of data attributes satisfies the parallel combination principle of differential privacy, the total privacy budget consumed by each column of attributes is equal to ε j ; The sum of the privacy budgets of all attributes is The serial combination principle of differential privacy is satisfied, which is equal to the pre-set total privacy budget ε.

[0119] For all classified data, use exponential mechanism to add noise to meet differential privacy:

[0120] Assume that x and y represent arbitrary adjacent data sets, Δq is the sensitivity of function q(x, r), and M E (x, q, R) selects and outputs the element r∈R. The following formula proves that one of the columns of attributes satisfies differential privacy, and similarly, the remaining columns of attributes also satisfy differential privacy protection;

[0121]

[0122] Similar to the Laplace addition principle mentioned above, using an exponential mechanism to add noise also satisfies differential privacy protection.

[0123] The embodiment of the present application proposes a sensitivity privacy budget allocation scheme, which can calculate the sensitivity of each column attribute in the data set, so as to reasonably add noise to the data set so as to achieve a balance between the availability and privacy of the data; the Laplace mechanism and the exponential mechanism in the differential privacy mechanism are used to add noise to the numerical data and the categorical data in the data set respectively, thereby solving the defect that a single mechanism can only disturb a single type of data.

[0124] The embodiments of the present application use differential privacy to protect data, solving the defects of homogeneity attacks and background knowledge assumption attacks existing in L-diversity and K-anonymity types; the sensitivity privacy budget allocation scheme proposed in the present application can accurately add noise to the data, solving the defect that privacy protection technology can only encrypt a single data type, and has a wide range of application scenarios in privacy protection scenarios.

[0125] The privacy protection method of this application belongs to situational awareness. Situational awareness adopts an advanced big data architecture, and uniformly processes and analyzes the network security data collected by the system, realizes the discovery and warning of network attack behaviors, security volume and other network security issues, and creates security monitorable and threat-safe capabilities.

[0126] The above describes various methods of the embodiments of the present application. The following further provides devices for implementing the above methods.

[0127] Please refer to Figure 2 , the embodiment of the present application also provides a data privacy protection device, including:

[0128] A first determination module 210, used to determine a weight coefficient of each data attribute in the data set;

[0129] A second determination module 220, configured to determine a privacy budget parameter for each data attribute according to the weight coefficient and the total privacy budget;

[0130] The first processing module 230 is used to perform differential privacy perturbation on the data according to the type of the data and the privacy budget parameter.

[0131] Optionally, the first determining module includes:

[0132] A first determining unit, configured to determine, for each data attribute, a weight of each data sample in the data attribute;

[0133] A second determining unit, configured to determine the information entropy of the data attribute according to the weight;

[0134] The first calculation unit is used to calculate the weight coefficient of the data attribute according to the information entropy.

[0135] Optionally, the device further comprises:

[0136] The second processing module is used to normalize the numerical data in the data set and convert the non-numerical data into numerical data.

[0137] Optionally, the first computing unit is specifically configured to:

[0138] Calculating information utility value according to the information entropy;

[0139] The weight coefficient of the data attribute is calculated according to the information utility value.

[0140] Optionally, calculating the information utility value according to the information entropy includes:

[0141] The information utility value is calculated using the following formula:

[0142] u j =1-e j ;

[0143] Among them, u j is the information utility value of data attribute j, e j is the information entropy of data attribute j;

[0144] Calculating the weight coefficient of the data attribute according to the information utility value includes:

[0145] The weight coefficient of the data attribute is calculated according to the information utility value using the following formula:

[0146]

[0147] Among them, M j Represents the weight coefficient of data attribute j.

[0148] Optionally, the second determining module:

[0149] For data attribute j, the product of the total privacy budget and the weight coefficient of data attribute j is calculated, and the calculation formula is as follows:

[0150] ε j =ε*M j ;

[0151] Among them, ε j represents the privacy budget parameter of data attribute j, ε represents the total amount of the privacy budget, M j Represents the weight coefficient of data attribute j.

[0152] Optionally, the second processing module is specifically used to:

[0153] Dividing the data in the data set into numerical data and categorical data;

[0154] According to the privacy budget parameter and the sensitivity, the noise to be added to the numerical data is determined using the Laplace mechanism, and the numerical data after the noise is added is calculated;

[0155] According to the privacy budget parameter and the sensitivity, an exponential mechanism is used to determine the noise that needs to be added to the categorized data, and the categorized data after the noise is added is calculated.

[0156] Optionally, the calculation formula for determining the noise of the numerical data using the Laplace mechanism is as follows:

[0157] Y~Lap(Δq / ε j );

[0158] The calculation formula for determining the noise that needs to be added to the classified data using the exponential mechanism is as follows:

[0159] exp(ε j q(D, r) / 2Δq);

[0160] Where Y represents numerical data, Δq is the sensitivity of function q(D, r), and ε j represents the privacy budget parameter of data attribute j; D represents the classified data, and r is a random number.

[0161] It should be noted that the device in this embodiment is a device corresponding to the above method, and the implementation methods in the above embodiments are all applicable to the embodiments of the device, and can also achieve the same technical effects. The above device provided in the embodiment of the present application can implement all the method steps implemented in the above method embodiment, and can achieve the same technical effects. The parts and beneficial effects that are the same as those in the method embodiment in this embodiment will not be specifically described here.

[0162] Please refer to Figure 3 , the embodiment of the present application further provides an electronic device 300, including: a transceiver 301 and a processor 302;

[0163] The processor 302 is used to determine the weight coefficient of each data attribute in the data set; determine the privacy budget parameter of each data attribute according to the weight coefficient and the total privacy budget; and perform differential privacy perturbation on the data according to the type of data and the privacy budget parameter.

[0164] Optionally, the processor determines a weight coefficient for each data attribute in the data set, including:

[0165] For each data attribute, determining the weight of each data sample in the data attribute;

[0166] Determining the information entropy of the data attribute according to the weight;

[0167] The weight coefficient of the data attribute is calculated according to the information entropy.

[0168] Optionally, the processor is further configured to:

[0169] The numerical data in the data set is normalized, and the non-numerical data is converted into numerical data.

[0170] Optionally, the processor calculates the weight coefficient of the data attribute according to the information entropy, including:

[0171] Calculating information utility value according to the information entropy;

[0172] The weight coefficient of the data attribute is calculated according to the information utility value.

[0173] Optionally, the processor calculates the information utility value according to the information entropy, including:

[0174] The information utility value is calculated using the following formula:

[0175] u j =1-e j ;

[0176] Among them, u j is the information utility value of data attribute j, e j is the information entropy of data attribute j;

[0177] Calculating the weight coefficient of the data attribute according to the information utility value includes:

[0178] The weight coefficient of the data attribute is calculated according to the information utility value using the following formula:

[0179]

[0180] Among them, M j Represents the weight coefficient of data attribute j.

[0181] Optionally, the processor determines the privacy budget parameter of each data attribute according to the weight coefficient and the total privacy budget, including:

[0182] For data attribute j, the product of the total privacy budget and the weight coefficient of data attribute j is calculated, and the calculation formula is as follows:

[0183] ε j =ε*Mj ;

[0184] Among them, ε j represents the privacy budget parameter of data attribute j, ε represents the total amount of the privacy budget, M j Represents the weight coefficient of data attribute j.

[0185] Optionally, the processor performs differential privacy perturbation on the data according to the type of the data and the privacy budget parameter, including:

[0186] Dividing the data in the data set into numerical data and categorical data;

[0187] According to the privacy budget parameter and the sensitivity, the noise to be added to the numerical data is determined using the Laplace mechanism, and the numerical data after the noise is added is calculated;

[0188] According to the privacy budget parameter and the sensitivity, an exponential mechanism is used to determine the noise that needs to be added to the categorized data, and the categorized data after the noise is added is calculated.

[0189] Optionally, the calculation formula for determining the noise of the numerical data using the Laplace mechanism is as follows:

[0190] Y~Lap(Δq / ε j );

[0191] The calculation formula for determining the noise that needs to be added to the classified data using the exponential mechanism is as follows:

[0192] exp(ε j q(D, r) / 2Δq);

[0193] Where Y represents numerical data, Δq is the sensitivity of function q(D, r), and ε j represents the privacy budget parameter of data attribute j; D represents the classified data, and r is a random number.

[0194] It should be noted that the device in this embodiment is a device corresponding to the above method, and the implementation methods in the above embodiments are all applicable to the embodiments of the device, and can also achieve the same technical effects. The above device provided in the embodiment of the present application can implement all the method steps implemented in the above method embodiment, and can achieve the same technical effects, and the parts and beneficial effects that are the same as those in the method embodiment in this embodiment will not be specifically described here.

[0195] The present application also provides an electronic device, such as Figure 4As shown, it includes a transceiver 410, a processor 400, a memory 420, and a program or instruction stored in the memory 420 and executable on the processor 400; when the processor 400 executes the program or instruction, the steps of the above-mentioned data privacy protection method are implemented.

[0196] The transceiver 410 is used to receive and send data under the control of the processor 400 .

[0197] Among them, Figure 4 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically linking together various circuits of one or more processors represented by processor 400 and memory represented by memory 420. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 410 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 400 is responsible for managing the bus architecture and general processing, and the memory 420 may store data used by the processor 400 when performing operations.

[0198] An embodiment of the present application also provides a readable storage medium on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the data privacy protection method as described above are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0199] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0200] An embodiment of the present application also provides a computer program product, including computer instructions, which, when executed by a processor, implement the steps of the above-mentioned data privacy protection method and can achieve the same technical effect. To avoid repetition, they are not repeated here.

[0201] It should be further explained that the electronic devices described in this specification include but are not limited to smart phones, tablet computers, etc., and many of the functional components described are called modules in order to more particularly emphasize the independence of their implementation methods.

[0202] In the embodiment of the present application, module can be implemented with software so that it can be executed by various types of processors. For example, an executable code module of an identification can include one or more physical or logical blocks of computer instructions, for example, it can be constructed as an object, process or function. Nevertheless, the executable code of the identified module does not need to be physically located together, but can include different instructions stored in different positions, and when these instructions are logically combined together, it constitutes a module and realizes the specified purpose of the module.

[0203] In fact, executable code module can be a single instruction or many instructions, and can even be distributed on a plurality of different code segments, distributed among different programs, and distributed across a plurality of memory devices. Similarly, operating data can be identified in the module, and can be implemented and organized in the data structure of any appropriate type according to any appropriate form. The operating data can be collected as a single data set, or can be distributed in different locations (including on different storage devices), and can only be present on a system or network as an electronic signal at least in part.

[0204] When a module can be implemented by software, considering the level of existing hardware technology, a person skilled in the art can build a corresponding hardware circuit to implement the corresponding function of the module that can be implemented by software without considering the cost. The hardware circuit includes a conventional very large scale integration (VLSI) circuit or gate array and existing semiconductors such as logic chips, transistors, or other discrete components. The module can also be implemented by a programmable hardware device, such as a field programmable gate array, a programmable array logic, a programmable logic device, etc.

[0205] The above exemplary embodiments are described with reference to the accompanying drawings, and many different forms and embodiments are feasible without departing from the spirit and teachings of the present application. Therefore, the present application should not be constructed as a limitation of the exemplary embodiments proposed herein. More specifically, these exemplary embodiments are provided so that the present application will be perfect and complete, and the scope of the present application will be conveyed to those who are familiar with the technology. In these figures, the component sizes and relative sizes may be exaggerated for clarity. The terms used here are only based on the purpose of describing specific exemplary embodiments and are not intended to be limiting. As used herein, unless the text clearly indicates otherwise, the singular forms "one", "an" and "the" are intended to include these multiple forms. It will be further understood that the terms "comprising" and / or "including" when used in this specification indicate the presence of the features, integers, steps, operations, components and / or components, but do not exclude the presence or increase of one or more other features, integers, steps, operations, components, components and / or their groups. Unless otherwise indicated, when stated, a range of values ​​includes the upper and lower limits of that range and any subranges therebetween.

[0206] The above is a preferred embodiment 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 described in the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.

Claims

1. A data privacy protection method, characterized in that: include: Determine the weight coefficient of each data attribute in the data set; Determine the privacy budget parameter of each data attribute according to the weight coefficient and the total privacy budget; The data is differentially privacy perturbed according to the type of data and the privacy budget parameter.

2. The method according to claim 1, characterized in that: The step of determining a weight coefficient for each data attribute in the data set includes: For each data attribute, determining the weight of each data sample in the data attribute; Determining the information entropy of the data attribute according to the weight; The weight coefficient of the data attribute is calculated according to the information entropy.

3. The method according to claim 2, characterized in that Before determining, for each data attribute, the proportion of each data sample in the data attribute, the method further includes: The numerical data in the data set is normalized, and the non-numerical data is converted into numerical data.

4. The method according to claim 2, characterized in that: The calculating the weight coefficient of the data attribute according to the information entropy includes: Calculating information utility value according to the information entropy; The weight coefficient of the data attribute is calculated according to the information utility value.

5. The method according to claim 4, characterized in that The calculating the information utility value according to the information entropy comprises: The information utility value is calculated using the following formula: the j =1-e j ; Among them, u j is the information utility value of data attribute j, e j is the information entropy of data attribute j; Calculating the weight coefficient of the data attribute according to the information utility value includes: The weight coefficient of the data attribute is calculated according to the information utility value using the following formula: Among them, M j Represents the weight coefficient of data attribute j.

6. The method according to claim 1, characterized in that According to the weight coefficient and the total privacy budget, the privacy budget parameters of each data attribute are determined, including: For data attribute j, the product of the total privacy budget and the weight coefficient of data attribute j is calculated, and the calculation formula is as follows: e j =e*M j ; Among them, ε j represents the privacy budget parameter of data attribute j, ε represents the total amount of the privacy budget, M j Represents the weight coefficient of data attribute j.

7. The method according to claim 1, characterized in that The performing differential privacy perturbation on the data according to the type of the data and the privacy budget parameter includes: Dividing the data in the data set into numerical data and categorical data; According to the privacy budget parameter and the sensitivity, the noise to be added to the numerical data is determined using the Laplace mechanism, and the numerical data after the noise is added is calculated; According to the privacy budget parameter and the sensitivity, an exponential mechanism is used to determine the noise that needs to be added to the categorized data, and the categorized data after the noise is added is calculated.

8. The method according to claim 7, characterized in that The calculation formula for determining the noise of the numerical data using the Laplace mechanism is as follows: Y~Lap(Δq / ε j ); The calculation formula for determining the noise that needs to be added to the classified data using the exponential mechanism is as follows: exp(ε j q(D,r) / 2Δq); Where Y represents numerical data, Δq is the sensitivity of function q(D, r), and ε j represents the privacy budget parameter of data attribute j; D represents the classified data, and r is a random number.

9. An electronic device, characterized in that: comprising a transceiver and a processor, wherein: The processor is used to determine the weight coefficient of each data attribute in the data set; determine the privacy budget parameter of each data attribute according to the weight coefficient and the total privacy budget; and perform differential privacy perturbation on the data according to the type of data and the privacy budget parameter.

10. A data privacy protection device, characterized in that: include: A first determination module is used to determine the weight coefficient of each data attribute in the data set; A second determination module is used to determine the privacy budget parameter of each data attribute according to the weight coefficient and the total privacy budget; The first processing module is used to perform differential privacy perturbation on the data according to the type of the data and the privacy budget parameter.

11. A readable storage medium having a program or instruction stored thereon, characterized in that: When the program or instruction is executed by the processor, the steps of the data privacy protection method as described in any one of claims 1 to 8 are implemented.

12. A computer program product, characterized in that It includes computer instructions, which, when executed by a processor, implement the steps of the data privacy protection method as described in any one of claims 1 to 8.

Citation Information

Cited By

  • Data processing method and device, electronic equipment, storage medium and program product

    CN120632923A

  • Intelligent federal learning cross-component privacy query method, related device and storage medium

    CN120995504A

  • Data processing methods, apparatus, equipment, storage media and program products

    CN122674109A