Electric load data encryption method for intelligent electric meter consumption end
Through CaDP technology, data aggregation and noise encryption methods are used to solve the problem of smart meter data leakage, achieve high confidentiality and low-cost electricity information processing, reduce the risk of correlation attacks, and ensure the privacy and value balance of data.
Patent Information
- Application Number
- CN202410952623.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2024-10-22
AI Technical Summary
Existing smart meter data processing technology cannot effectively prevent leakage of user electricity information. Existing solutions have shortcomings in confidentiality and cost, and are difficult to deal with data correlation attacks.
Using CaDP (correlation-aware differential privacy) technology, through data aggregation, calculation of correlation coefficients and global sensitivity, the noise variance is determined based on the trade-off between privacy and value, and noise is added to achieve encryption of electrical load data at the smart meter consumer end.
It achieves high confidentiality and low-cost encryption of electricity consumption information on the smart meter consumer side, reduces the security risks caused by correlation attacks, balances the privacy and value of data, and ensures the high-value preservation of data.
Smart Images

Figure CN118821179A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a smart meter data processing technology, and in particular to a method for encrypting electric load data at a smart meter consumer end, which is a data encryption processing method capable of processing relevant data and balancing the privacy and availability of the data. Background Art
[0002] With the significant improvement in computer performance and the continuous improvement of data mining algorithms such as machine learning, data has become an increasingly valuable resource. However, at the same time, the leakage of data privacy has greatly troubled individuals and society.
[0003] As with other data collection processes, the collection of fine-grained energy consumption data by smart meters raises concerns about privacy leakage among users. Power suppliers can break down the energy usage of individual devices from the total consumption data, thereby inferring user lifestyles, idle time, etc. The leakage of such detailed information may violate users' privacy rights and lead to price discrimination.
[0004] To solve this problem, there are currently a variety of methods to ensure the privacy of smart meter data, including data anonymization, data encryption, battery-based load hiding (BLH) and noise addition. Among them: the literature (De Montjoye, Yves-Alexandre, Cesar A. Hidalgo, Michel Verleysen, Vincent D. Blondel. 2013. Unique in the crowd: The privacy bounds of human mobility. Scientific Reports, 3 (1), 1376-1376.) records a data anonymization method, which hides the original identity of the data owner through anonymization, but this identity can be easily leaked through link attacks. The literature (Liang, Xiaohui, Xu Li, Rongxing Lu, Xiaodong Lin, Xuemin Shen. 2013. Udp: Usage-based dynamic pricing with privacy preservation for smart grid. IEEE Transactions on Smart Grid, 4 (1), 141-150.) uses a data encryption method to convert the data in the smart meter into another form, and only people with access rights to the decryption key can read the data. Although such schemes are cryptographically strong, they are computationally expensive and difficult to implement (see Jia, Weiwei, Haojin Zhu, Zhenfu Cao, Xiaolei Dong, Chengxin Xiao. 2013. Human-factor-aware privacy-preserving aggregation in smartgrid. IEEE Systems Journal, 8(2), 598-607).The literature (McLaughlin, Stephen, Patrick McDaniel, William Aiello, ACM. 2011. Protecting consumer privacy from electric load monitoring. ACM, NEW YORK, 87-98. and the literature Wei, Dong, Yan Lu, Mohsen Jafari, Paul M Skare, Kenneth Rohde. 2011. Protecting smart grid automation systems against cyberattacks. IEEE Transactions on Smart Grid, 2 (4), 782-795.) adopts the BLH mechanism to install a battery for each household and use the battery charging and discharging to blur the actual demand consumption pattern. Although the BLH method is effective for data protection, the cost of battery installation may be as high as $1,000 and the service life is limited. The literature (Dwork, Cynthia, Aaron Roth, et al. 2014. The algorithmic foundations of differential privacy. Foundations and. in Theoretical Computer Science, 9(3–4), 211-407.) adopts the noise addition method - DP (Differential Privacy), which provides a proven privacy property by adding noise according to the sensitivity to ensure that the statistical properties of the dataset remain almost unchanged regardless of whether the individual is in the dataset. However, the privacy guarantee of DP may be compromised when the data are correlated.
[0005] In summary, the existing smart meter data processing technology is still difficult to effectively prevent the leakage of user electricity usage information. Summary of the invention
[0006] In order to overcome the deficiencies of the above-mentioned prior art, the present invention proposes a data encryption technology for electricity consumption data obtained by smart meter statistics - CaDP (correlation-aware differential privacy) technology. This technology can encrypt the electricity consumption information of users at the consumer end of smart meters at a relatively low cost to avoid leakage of users' electricity consumption information, and has little impact on the overall electricity consumption data, so that the power supplier can provide users with satisfactory services. Compared with the existing solutions, the method of the present invention has a high level of confidentiality, a high degree of data value preservation, and a low cost.
[0007] By adopting the method of the present invention, the electricity consumption data of the consumer end is collected through the smart meter, and the electricity consumption data is summarized to the mid-end data processing device. The data demand direction requests data from the mid-end device. The mid-end device selects appropriate privacy budget parameters according to the downstream task situation, and then performs privacy processing on the data through the CaDP method of the present invention, and transmits the processed data to the data demander.
[0008] The technical solution provided by the present invention is as follows:
[0009] A method for encrypting electric load data at the consumer end of a smart meter (CaDP method) is proposed. A correlation-aware differential privacy method is designed. The data collected by the smart meter is aggregated and the data correlation coefficient and data correlation sensitivity are calculated. The privacy budget parameter is determined according to the trade-off between privacy and value, including: quantifying the data value, quantifying the degree of privacy protection, and then determining the privacy budget parameter optimization objective function and calculating the optimization result. Noise is added based on the optimization result of the privacy budget parameter to encrypt the electric load data at the consumer end of the smart meter. The method includes the following steps:
[0010] 1) Collect and obtain electric load data signals through smart meters;
[0011] 2) Perform data aggregation: add up the electricity consumption data items in the database, that is, the electricity consumption of each user subgroup at the same time, to obtain the total electricity consumption;
[0012] 3) Based on the correlation of the electric load (power consumption) data, the power consumption related sensitivity is calculated, and the global power consumption sensitivity is further obtained;
[0013] The global sensitivity of electricity consumption is the maximum value of the sensitivity related to electricity consumption; the sensitivity related to electricity consumption refers to the maximum change in the output of the electricity consumption sum function (the sum of the electricity consumption of each user subgroup at the same time) caused by the change of a piece of electricity consumption data and the electricity consumption data related to it;
[0014] 4) Determine the privacy budget parameters based on the trade-off between privacy and value;
[0015] 5) Obtain the noise variance based on the global sensitivity and privacy budget parameters;
[0016] Furthermore, a noise adding algorithm is designed to generate corresponding random noise according to the noise variance, add noise, and transmit the noisy data back to the data applicant;
[0017] Through the above steps, the electric load data encryption of the smart meter consumer end is realized.
[0018] When the method of the present invention is specifically applied, it includes:
[0019] A. Divide users by region. The division of regions can be based on geographical location (such as district division) or type (such as living area, industrial area), and data is collected through smart meters in each area.
[0020] B. After the division, each area is equipped with a mid-end data processing device, which can receive the data signal transmitted by the smart meter, process the data signal and transmit the signal to the power supplier.
[0021] C. The power supplier submits a request for data to the terminal device based on its own needs.
[0022] D. The mid-end device aggregates the data and adds noise through the electric load data encryption method (CaDP method) of the smart meter consumer end of the present invention, and transmits the encrypted data to the power supplier.
[0023] D1. Data Aggregation
[0024] D2. Determine query sensitivity
[0025] D21. Calculate data correlation coefficient
[0026] D22. Calculate data-dependent sensitivity
[0027] D3. Determine privacy budget parameters based on the trade-off between privacy and value
[0028] D31) Quantify the data value, use the difference of empirical risk loss as the data value loss, and obtain the upper bound of the data value loss;
[0029] D32) quantifies the privacy protection degree by using the norm of the difference before and after adding noise;
[0030] D33) linearly combining the data value loss and the privacy protection level to determine the objective function for optimizing the balance between the data value loss and the privacy protection level;
[0031] D34) Calculate the optimization result and obtain the optimal privacy budget parameter by minimizing the objective function;
[0032] D4. Design a noise adding algorithm to add noise and return the result to the querying party.
[0033] E. Power supply companies can post-process electricity consumption data according to their own needs, such as using linear regression to predict users' future electricity consumption, so as to provide better services to users.
[0034] Compared with the prior art, the present invention has the following beneficial effects:
[0035] The method of the present invention designs a correlation-aware differential privacy method, which collects data from smart meters, aggregates the data to obtain the total power consumption, calculates the data correlation coefficient and data correlation sensitivity, and further obtains the global sensitivity; determines the privacy budget parameters according to the trade-off between privacy and value, including: quantifying the data value, quantifying the degree of privacy protection, determining the privacy budget parameter optimization objective function, and calculating the optimization result; and adds noise to the privacy budget parameter optimization result to achieve encryption of the electric load data at the consumer end of the smart meter. The electric load data encryption technical solution at the consumer end of the smart meter provided by the present invention can reduce the security risks brought by correlation attacks to the users of the consumer end of the smart meter, and at the same time, different levels of protection can be performed for the consumer end data of smart meters with different risk levels, and the privacy and value of the consumer end data of smart meters are balanced. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A flowchart of the noise addition algorithm designed in the present invention for realizing the encryption of electric load data at the consumer end of a smart meter. DETAILED DESCRIPTION
[0037] The present invention will be further described below by way of embodiments in conjunction with the accompanying drawings, but the scope of the present invention is not limited in any way.
[0038] The present invention provides an electric load data encryption method for a smart meter consumer end, which aggregates data collected by the smart meter, determines query sensitivity, and calculates data correlation coefficients and data correlation sensitivity, determines privacy budget parameters according to a trade-off between privacy and value, quantifies data value and the degree of privacy protection, and then determines an objective function, calculates optimization results of privacy budget parameters and adds noise, thereby realizing encryption of electric load data at the smart meter consumer end, and the data processed for privacy protection has a high prediction accuracy for downstream tasks.
[0039] The specific implementation methods of the present invention are as follows:
[0040] A. Divide users by region. The division of regions can be based on geographical location (such as district division) or type (such as living area, industrial area), and data is collected through smart meters in each area.
[0041] B. After the division, each area is equipped with a mid-end data processing device, which can receive the data signal transmitted by the smart meter, process the data signal and transmit the signal to the power supply company.
[0042] C. The power supply company submits a request for data to the terminal device based on its own needs.
[0043] D. The mid-end device aggregates the data and adds noise through the CaDP method, and transmits the encrypted data to the power supply company.
[0044] D1. Data Aggregation
[0045] Each smart meter records the user's electricity consumption at a fixed time interval, denoted as x i,t (i represents the smart meter or user or record tag, t represents time). The community gateway contains T timestamps, and the electricity consumption dataset D of N users can be expressed as There are potential correlations between the data items.
[0046] Aggregation: The mid-range device uses the power consumption sum function to sum the power consumption of each user subgroup at the same time, that is:
[0047]
[0048] Among them, f is the power consumption summation function set; f t is the sum function of electricity consumption at time t; D is the electricity consumption data set; N is the number of users;
[0049] D2. Determine sensitivity, including relevant sensitivity and global sensitivity;
[0050] According to the definition of the DP method, even with complete background information, the other party cannot fully identify private identity information. However, when the data is correlated, the effectiveness of DP may be compromised. For example, data can be inferred by merging and associating anonymous data sets. This type of attack is called a correlation attack. If the data includes rich data of the target, it is easy to launch a correlation attack to identify certain user privacy. Therefore, in order to prevent correlation attacks, it is necessary to additionally consider the correlation of electricity consumption data in the privacy protection method based on differential privacy. The present invention proposes a CaDP method, which takes data correlation into account when calculating sensitivity.
[0051] D21. Calculate data correlation coefficient
[0052] Due to the correlation between data, the change of one individual record may affect other related individual records, which in turn causes the output change of the power consumption sum function f(·) to be higher than the change when the data is unrelated, resulting in increased sensitivity. We use ρij As the correlation coefficient between the data of smart meters i and j, i.e., the power consumption, if ρ ij <0, then x i and x j Negatively correlated; if ρ ij >0, then x i and x j There is a positive correlation, where x i and x j Represent the load data of smart meters (users) i and j respectively. For a data set consisting of n smart meter records, we form a correlation matrix Δ by calculating the association degree (correlation coefficient) in pairs, as shown below:
[0053]
[0054] Since the data recorded by the smart meter is in time series format, we use the Spearman correlation coefficient of the time series data to calculate the correlation coefficient ρ ij An additional threshold ρ0 is introduced to control the granularity of the correlation measurement. If the absolute value of the correlation coefficient is below the threshold, the correlation coefficient is set to 0. The correlation sensitivity can then be calculated using the correlation matrix.
[0055] D22. Calculate data-related sensitivity and further obtain global sensitivity;
[0056] Correlation sensitivity refers to the maximum change in the output of the power consumption sum function f() caused by changes in a piece of data and data that are correlated with it. According to the definition in DP, sensitivity is used to describe how much the output of f(D) will change if any record in the data set D changes. When there is correlation between data, the change of a record will bring about changes in related records. The impact of the change of a record i in the data set D on power consumption (i.e., correlation sensitivity) can be expressed as:
[0057]
[0058] Among them, CS i is the corresponding correlation sensitivity of record i in the total power consumption data set D; -j represents a new data set, which differs from data set D only in the jth data record (the value can be changed arbitrarily within the valid range of the data); ρ ij is the correlation coefficient of the power consumption of records i and j; ||||2 is the binary norm; N is the total number of users (number of data items); the correlation between records can be positive or negative.
[0059] Record the impact of i at each timestamp t as CS i,t, which is called point-to-point mode. Record i is the load record data of the smart meter of user i. CS i,t It is expressed as:
[0060]
[0061] Since the global sensitivity describes the maximum impact of any data change, we need to set the global sensitivity to the maximum value of the relevant sensitivities:
[0062]
[0063] D3. Determine privacy budget parameters based on the trade-off between privacy and value;
[0064] There is a natural trade-off between privacy protection and data value, because data with extremely high obfuscation levels has limited data analysis value. Therefore, in order to achieve a balance between privacy and value, it is first necessary to quantify privacy protection and data value separately. In order to measure the degree of privacy protection, the present invention uses the Frobenius norm of the difference before and after adding noise to the data. The value of the data is measured by the performance of downstream tasks purchased by the data demander. These tasks use the data released by the data owner for predictive analysis and use the empirical risk minimization (ERM) framework to measure the prediction performance. Then, we select a suitable objective function to balance the degree of privacy protection and data value to obtain the optimal privacy budget parameters.
[0065] D31. Quantify the data value and obtain the upper bound of data value loss;
[0066] We quantify the value of data based on the performance of downstream prediction tasks. Specifically, after the privacy protection processing of the dataset D, the noisy data at each timestamp will be formed. Taking the downstream task of time series prediction as an example, the noisy data is used to generate training samples X (with dimensions of n*m, n represents the number of samples and m represents the size of the sliding window) through a sliding window. y (with dimensions of n*1) is the target predicted using the dataset X, such as the electricity consumption in the next period. U = [u1, u2, ..., u n ] T is a random perturbation imposed for privacy protection, That is, the disturbance noise meets the requirement of 0 as mean and σ 2 is the distribution of variance, Represents the identity matrix. In the ERM framework, its goal is to minimize the empirical risk, and the loss function J(β, D) that minimizes the empirical risk is expressed as:
[0067]
[0068] Among them, β is the fitting parameter, λ0 is the regularization coefficient; X is the data set formed after privacy protection processing; y is the predicted electricity consumption; T represents transposition; is the square of the second norm of β. When the data is interfered by noise U, the loss function becomes J in (β, D):
[0069]
[0070] make and β in Respectively represent the optimal coefficients of the two loss optimization functions, namely represents β which minimizes the following equation.
[0071] For data value, we follow the ERM framework and use the difference between value loss (experience risk loss) To quantify the value of data. Since the random perturbation U is a random variable, the value loss is also a random variable. Therefore, we analyze the upper bound of the value loss, which can be derived as follows:
[0072] If the dataset X is full rank, the noise variance σ>θ(n,γ)Δ0(β in )≥0, in, are all intermediate variables; with probability of at least 1-γ-ξ, the following inequality on the loss of data value holds.
[0073]
[0074] Based on this, we get the upper bound L of data value loss ERM .
[0075] Among them, ξ,γ are the non-holding probabilities during the scaling process; θ(n,γ) is the lower bound of σ. F represents the frobenius norm; λ0 is the regularization coefficient;
[0076] D32. Quantify the degree of privacy protection;
[0077] For the degree of privacy protection, we use the frobenius norm of added noise as the privacy measure, namely:
[0078]
[0079] Where Γ represents the gamma function; Express expectations.
[0080] D33. Linearly combine the data value loss and the privacy protection level to determine the objective function for optimizing the balance between the data value loss and the privacy protection level;
[0081] By linearly combining the data value loss and the degree of privacy protection, we determine the objective function that optimizes the balance:
[0082] L(σ, v) = L ERM (σ, v)-αG DP
[0083] Among them, α is the privacy hyperparameter, which represents the degree of attention to privacy. v is the probability of failure in the scaling process; the objective function of optimizing balance is expressed as:
[0084]
[0085] Among them, the probability of the relevant boundaries generated at different positions in the derivation process can take the same value, that is, v = ξ = γ.
[0086] We obtain the optimal privacy budget parameter by minimizing the objective function L(σ, v), that is, calculating the noise variance that minimizes the objective function.
[0087] D34. Calculate the optimization result, i.e., the noise variance, and determine the privacy budget parameter ∈;
[0088] The objective function L(σ, v) is a quadratic function of the noise variance σ, let:
[0089]
[0090] Among them, a is an intermediate variable, representing the symmetry axis of the target quadratic function image. According to the size relationship between a and θ(n,γ), the noise variance corresponding to the two optimal solutions is divided to optimize the target function.
[0091] If a≤θ(n,γ), then:
[0092]
[0093] Optimal privacy budget parameters
[0094]
[0095] If a>θ(n,γ), then
[0096]
[0097] Optimal privacy budget parameters
[0098]
[0099] Where s is the global sensitivity obtained in D22; δ is the relaxation term parameter of differential privacy.
[0100] D4. Add noise and return the result to the querying party: obtain the noise variance σ; generate the corresponding random noise according to the variance, and then return the noisy data to the data requester; including:
[0101] In step D1, the aggregate value f(D) is determined. The mid-end device needs to add noise to the aggregate value and then return it to the power supply company.
[0102]
[0103] in, is the result of CaDP mechanism acting on dataset D; r1, r2, ..., r T is an independent and identically distributed random noise, which conforms to the Gaussian distribution
[0104] The parameter σ is the noise variance, and the determination of the noise variance depends on the global sensitivity s of correlation perception determined in step 32 and the privacy budget ∈ determined in step D34. Specifically, for any ∈>0, any c 2 ≥2log(h(∈) / δ), c is an intermediate variable, where If the noise variance parameter σ satisfies σ ≥ cs / ∈, then Satisfy correlation-aware differential privacy, s is the global sensitivity. In specific execution, all places greater than or equal to are equal to, that is, c 2 =2log(h(∈) / δ), σ=cs / ∈, and the noise variance σ can be obtained. The mid-end device generates the corresponding random noise based on the variance, and then transmits the noisy power consumption data back to the power supply company that applied for the data.
[0105] Power supply companies can post-process electricity consumption data according to their own needs, such as using linear regression to predict users' future electricity consumption, so as to provide better services to users.
[0106] The present invention will be further described below by means of specific examples.
[0107] The power supplier in a certain area hopes to make hourly predictions on the electricity consumption data of users in a certain area to optimize its electricity allocation or optimize its pricing. The users in this area are all connected to smart meters, and these smart meters are all connected to a mid-end processing device. The power supplier can request the sum of the electricity consumption of any user group from the mid-end processing device. In order to prevent the power supplier from inferring the precise electricity consumption data of a specific user through data requests from different user groups, the mid-end processing device, after aggregating the requested data, adds noise to the data through the CaDP method provided by the present invention. In the process of adding noise, the trade-off between data and privacy is considered to determine the parameters to be used.
[0108] The process of the noise addition algorithm is as follows Figure 1 As shown, the following steps are included:
[0109] 1) For the requested time interval, read the corresponding data and calculate the correlation coefficient of each time point according to the method of D21.
[0110] 2) Calculate the correlation sensitivity (correlation coefficient) of each point according to the D22 method.
[0111] 3) Determine the privacy budget parameters that balance privacy and value based on D3’s method.
[0112] 4) According to the parameters determined above, noise is added using a Gaussian mechanism.
[0113] 5) End.
[0114] By utilizing the above-mentioned smart meter consumer-end electric load data encryption technology solution, the security risks of smart meter consumer-end users caused by correlation attacks can be reduced. At the same time, different levels of protection can be provided for smart meter consumer-end data of different risk levels, and the privacy and value of smart meter consumer-end data are balanced, so that the electric load data of the smart meter consumer-end has a high level of confidentiality, a high degree of data value preservation, and a low cost.
Claims
1. A method for encrypting electric load data at the consumer end of a smart meter, characterized in that: Design an association-aware differential privacy method. By collecting data from smart meters, aggregate the data to obtain the total power consumption, calculate the data-related sensitivity and global sensitivity; determine the privacy budget parameter based on the trade-off between privacy and value; and add noise to the optimization result of the privacy budget parameter to encrypt the power load data at the consumer end of the smart meter. The method includes the following steps: 1) Collect and obtain electric load data signals through smart meters; 2) Perform data aggregation: add up the electricity consumption data items in the database, that is, the electricity consumption of each user subgroup at the same time, to obtain the total electricity consumption; 3) The relevant sensitivity is calculated based on the data correlation, and the global sensitivity is further obtained; The relevant sensitivity refers to the impact of a change in a record in the electricity consumption data set on electricity consumption; The global sensitivity is the maximum value of the relevant sensitivities; 4) Determine the privacy budget parameters based on the trade-off between privacy and value; include: 41) Quantify the data value, use the difference of empirical risk loss as the data value loss, and obtain the upper bound of the data value loss; 42) The degree of privacy protection is quantified by the norm of the difference before and after adding noise; 43) Linearly combine the data value loss and the privacy protection degree to determine the objective function of optimizing the balance between the data value loss and the privacy protection degree; 44) Calculate the optimization results and obtain the optimal privacy budget parameters by minimizing the objective function; 5) Calculate the noise variance that minimizes the objective function based on the optimal privacy budget parameter; generate the corresponding random noise based on the noise variance, and then transmit the data with added noise back to the data applicant; Through the above steps, the electric load data encryption of the smart meter consumer end is realized.
2. The method for encrypting electric load data at the consumer end of a smart meter as claimed in claim 1, characterized in that: The total power consumption is obtained by data aggregation. Specifically, the power consumption of each user subgroup at the same time is summed up through the power consumption sum function, which is expressed as: Among them, f is the power consumption summation function set; f t is the sum function of electricity consumption at time t; D is the electricity consumption data set; N is the number of users; X i,t The user's electricity consumption is recorded at fixed time intervals for each smart meter; T is the number of timestamps.
3. The method for encrypting electric load data at the consumer end of a smart meter as claimed in claim 2, characterized in that: The correlation sensitivity is calculated according to the correlation matrix; the correlation matrix is specifically formed by calculating the data correlation coefficient; the correlation matrix is expressed as Δ: Among them, pi j is the correlation coefficient between the electricity consumption data of smart meters i and j.
4. The method for encrypting electric load data at the consumer end of a smart meter as claimed in claim 3, characterized in that: The relevant sensitivity is expressed as: Among them, CS i is the correlation sensitivity corresponding to the record in the total power consumption data set D; f is the power consumption sum function; D -j represents new data that differs from the dataset D only in the jth data record; ρ ij is the correlation coefficient of electricity consumption between i and j; || ||2 represents the bi-norm; N is the total number of users, i.e., the number of data records.
5. The method for encrypting electric load data at the consumer end of a smart electric meter as claimed in claim 4, characterized in that: Step 41) The data value is quantified by using the difference of empirical risk loss. To quantify the value of data; among them, and β in are the optimal coefficients of the loss optimization function, represents the β that minimizes the following equation; J(β, D) is the loss function that minimizes the empirical risk; J in (β, D) is the loss function when noise U is added to the data; J(β, D) is expressed as: J in (β, D) is expressed as: Among them, β is the fitting parameter, A0 is the regularization coefficient; X is the data set formed after privacy protection processing; y is the predicted electricity consumption; T represents transposition.
6. The method for encrypting electric load data at the consumer end of a smart meter as claimed in claim 5, characterized in that: Step 42) quantify the degree of privacy protection, specifically using the frobenius norm of added noise as a measure of privacy, expressed as: Among them, Γ represents the gamma function; E represents the expectation, F represents the frobenius norm, n and m are the dimensions of U, and σ is the noise variance.
7. The method for encrypting electric load data at the consumer end of a smart electric meter as claimed in claim 6, characterized in that: In step 43), the objective function L(σ, v) for optimizing the balance between data value loss and privacy protection is a quadratic function of the noise variance, expressed as: Where n represents the number of training sample datasets X, m represents the sliding window size, y is the target predicted using dataset X, and v is the probability of failure during scaling.
8. The method for encrypting electric load data at the consumer end of a smart electric meter as claimed in claim 7, characterized in that: Step 44) Calculate the result of optimizing the balance between data value loss and privacy protection, and obtain the optimal privacy budget parameter by minimizing the objective function; include: make: a and θ(n, Y) are both intermediate variables; according to the size of the intermediate variables a and θ(n, γ), the noise variance corresponding to the two optimal solutions is divided; γ is the probability of non-conformity in the scaling process; F is the frobenius norm; When a≤θ(n,γ), When a>θ(n,γ), Among them, ∈ is the optimal privacy budget parameter; s is the global sensitivity; δ is the relaxation term parameter of differential privacy.
Citation Information
Cited By
Privacy budget allocation method and device based on property data, equipment and medium
CN119106451A
