Electricity meter data security management method based on blockchain

By identifying and classifying sensitive information collected from electric energy meter data, extracting minimized data, and using the distributed ledger set of the blockchain for encrypted storage, the risk of user privacy leakage in electric energy meter data is solved and the security management of data is achieved. and privacy protection.

CN118504037BActive Publication Date: 2024-09-17NANJING METER TECHNOLOGY CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202410955552.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-17
Publication Date
2024-09-17
Estimated Expiration
2044-07-17

AI Technical Summary

Technical Problem

The existing energy meter data collection model has the risk of leaking user privacy information, and centralized storage and processing lead to the exposure of sensitive information.

Method used

Adopting a blockchain-based energy meter data security management method, by preprocessing the user power consumption data collected by the energy meter, identifying and classifying sensitive information, extracting minimized data, establishing a corresponding relationship with the original data, and using distributed The ledger set is stored encrypted to ensure data confidentiality and integrity.

Benefits of technology

It reduces the scope of private data exposure, achieves precise positioning and classification of data, ensures the normal operation of the power company's business, and provides data traceability and auditing functions to prevent the risk of user privacy leakage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118504037B
    Figure CN118504037B
Patent Text Reader

Abstract

The present invention discloses a method for secure management of electric energy meter data based on blockchain, which belongs to the field of data management, and includes: pre-processing the user power consumption data collected by the electric energy meter, and dividing it into multiple categories of user power consumption data; obtaining minimized data based on the multiple categories of user power consumption data; establishing a corresponding relationship between the minimized data and the multiple categories of user power consumption data; obtaining a distributed ledger set of the blockchain network; obtaining storage target data, assigning a distributed ledger set to the storage target data, and determining a storage mapping relationship; encrypting the storage target data based on the storage mapping relationship, and storing the encrypted storage target data in the corresponding distributed ledger. The present application solves the technical problem that the electric energy meter data collected in the prior art contains a large amount of sensitive information, resulting in the risk of user privacy leakage, and achieves the technical effect of preventing the risk of user privacy leakage by classifying and desensitizing the electric energy meter data and encrypting and storing it on the blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data management, and in particular to a method for securely managing electric energy meter data based on blockchain. Background Art

[0002] The electric energy meter is an important device for recording and measuring the user's electricity consumption. The electric energy meter data collected by the electric energy meter is crucial for the power company to carry out energy management, billing, fault detection and other businesses. The electric energy meter data not only includes the electricity consumption readings, but may also involve the user's privacy information. For example, the timestamp information and peak and valley electricity consumption time periods in the electric energy meter data reflect the user's daily routine; the user's identity information and electricity consumption pattern reflect the family composition and electrical appliance usage. However, the existing electric energy meter data adopts a centralized storage and processing mode, that is, the raw data collected by the electric energy meter is directly uploaded to the central server. In this mode, there are potential security risks in the transmission and storage process of the electric energy meter data, and there is a risk of leakage of user privacy information. Summary of the invention

[0003] This application provides a blockchain-based electricity meter data security management method, aiming to solve the technical problem that the electricity meter data collected in the prior art contains a large amount of sensitive information, resulting in the risk of user privacy leakage.

[0004] The blockchain-based electric energy meter data security management method disclosed in the present application includes: preprocessing user electricity consumption data collected by the electric energy meter, the preprocessing includes identifying sensitive information of the user electricity consumption data and dividing it into multiple categories of user electricity consumption data; based on the multiple categories of user electricity consumption data, obtaining minimized data, the minimized data is the electricity consumption data necessary for the electric energy meter service; establishing a correspondence between the minimized data and the multiple categories of user electricity consumption data; obtaining a distributed ledger set of the blockchain network; removing the minimized data from the multiple categories of user electricity consumption data to obtain storage target data, allocating a distributed ledger set to the storage target data, and determining a storage mapping relationship; after encrypting the storage target data based on the storage mapping relationship, storing the encrypted storage target data in the corresponding distributed ledger.

[0005] One or more technical solutions provided in this application have at least the following technical effects or advantages:

[0006] By preprocessing the user electricity consumption data collected by the electricity meter, identifying sensitive information in the user electricity consumption data, and dividing it into multiple categories of user electricity consumption data, accurate positioning and classification of privacy data can be achieved, providing a basis for subsequent privacy protection measures; for different categories of user electricity consumption data, the minimum data set required for the electricity meter service is extracted, while ensuring the normal business operation of the power company, the exposure scope of privacy data is minimized, thereby reducing the risk of privacy leakage; a mapping relationship between minimized data and multiple categories of user electricity consumption data is established to ensure that the minimized data can represent the user electricity consumption data without directly leaking privacy, providing support for data queries based on minimized data; a distributed ledger set for storing data is obtained for subsequent Preparation for the secure storage of privacy data; after removing the minimized data extracted from the electricity consumption data of multiple categories of users, the storage target data is obtained, and based on the obtained distributed ledger set, a distributed ledger set is assigned to the storage target data, and the storage mapping relationship is determined, so that the storage location of the data on the chain is associated with the storage target data, which is convenient for data traceability and auditing; based on the storage mapping relationship, the storage target data is encrypted, and the encrypted storage target data is stored in the corresponding distributed ledger to implement a technical solution for the secure management of electricity meter data, which solves the technical problem that the electricity meter data collected in the prior art contains a large amount of sensitive information, resulting in the risk of user privacy leakage, and achieves the technical effect of preventing the risk of user privacy leakage by classifying and desensitizing the electricity meter data and encrypting and storing it on the blockchain.

[0007] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0008] Figure 1 A flowchart of a method for secure management of electric energy meter data based on blockchain is provided for an embodiment of the present application.

[0009] Figure 2 A flowchart of obtaining electricity consumption data of multiple categories of users in a blockchain-based electricity meter data security management method is provided for an embodiment of the present application. DETAILED DESCRIPTION

[0010] The overall idea of ​​the technical solution provided by this application is as follows:

[0011] The embodiment of the present application provides a method for secure management of electric energy meter data based on blockchain.

[0012] First, the user electricity consumption data collected by the electricity meter is identified and classified for sensitive information to accurately locate the privacy data. Then, based on the classified data, the minimum data required for the electricity meter service is extracted to minimize the risk of privacy exposure while ensuring business operation. Next, a mapping relationship between the minimized data and the original user electricity consumption data is established, which can represent the original data and avoid direct privacy leakage. Subsequently, the user electricity consumption data after removing the minimized data is stored in the distributed ledger of the blockchain, and the integrity and confidentiality of the privacy data are protected by the decentralized and tamper-proof characteristics of the blockchain.

[0013] After introducing the basic principles of the present application, the non-limiting implementation methods of the present application will be specifically introduced below in conjunction with the drawings in the specification.

[0014] like Figure 1 As shown, the embodiment of the present application provides a method for secure management of electric energy meter data based on blockchain, the method comprising:

[0015] S1: Preprocessing the user power consumption data collected by the power meter, wherein the preprocessing includes identifying sensitive information of the user power consumption data and classifying the user power consumption data into multiple categories.

[0016] Specifically, first, the original electricity consumption data collected by the electric energy meter is obtained. Since the user electricity consumption data collected by the electric energy meter contains a large amount of user privacy information, the user electricity consumption data is preprocessed. Among them, the preprocessing includes sensitive information identification and data classification. Sensitive information identification refers to analyzing the user electricity consumption data collected by the electric energy meter to find out the various types of user sensitive information contained therein, such as the user's electricity consumption timestamp information, peak and valley electricity consumption time periods, user identity information, payment information, etc. Although this information is not direct personal identity information, it can reveal the user's electricity consumption behavior pattern, life routine, family member composition and other information through analysis, so it needs to be identified and protective measures taken. Data classification refers to dividing the original user electricity consumption data into different categories based on the results of sensitive information identification. Each category of data contains a certain type of sensitive information, and multi-category user electricity consumption data is obtained. Through classification, more refined privacy protection can be achieved, and different levels of desensitization and encryption measures can be taken for different categories of sensitive data.

[0017] By sorting out sensitive information that needs to be protected from the original user electricity consumption data and classifying it, it provides a basis for subsequent security measures such as data desensitization and encryption, which can more specifically protect user privacy and improve the precision of data security management. At the same time, the classified data can also support more flexible access control, and different categories of data can be accessed according to different permission levels.

[0018] S2: Based on the multi-category user electricity consumption data, minimized data is obtained, where the minimized data is electricity consumption data necessary for the electricity meter service.

[0019] Specifically, obtaining minimized data means filtering out the minimum set of electricity consumption data required for the electricity meter service from the electricity consumption data of multiple categories of users. The so-called electricity meter service refers to the basic service functions such as metering, billing, and fault detection provided by the power system to users. To realize these service functions, only a part of the key information in the user's electricity consumption data is needed, but not all the data. The process of obtaining minimized data is to find the minimum dependency set of service functions in the full amount of user electricity consumption data, and eliminate all unnecessary redundant data that may contain user privacy, so as to minimize the sensitive information in the electricity meter data and reduce the risk of data leakage and abuse. For example, for basic electricity metering services, only a small amount of information such as the user's total electricity consumption and electricity price type is needed, but no detailed electricity consumption time series is needed; for another example, for simple fault detection services, only the mutation information of electricity consumption is needed, but no complete electricity consumption curve is needed.

[0020] Minimizing the acquisition of data is achieved through technical means such as data dependency analysis and data quality assessment. By analyzing the dependency of the electric energy meter service function on the data items, the core data set is identified; by evaluating the sensitivity and data quality of different data items, data items with low sensitivity and high data quality are given priority. In this way, the data volume can be minimized while taking into account the availability and effectiveness of the data.

[0021] By obtaining minimized data, the exposure and transmission of sensitive data can be minimized while ensuring the basic service functions of the electricity meter, thereby achieving a balance between data security and service functionality. This not only protects user privacy, but also reduces the burden of data storage and processing and improves system efficiency.

[0022] S3: Establishing a corresponding relationship between the minimization data and the power consumption data of the multiple categories of users.

[0023] Specifically, since the minimized data is extracted from the electricity consumption data of multiple categories of users, it has a one-to-one mapping relationship with the original data. By establishing the corresponding relationship between the minimized data and the electricity consumption data of multiple categories of users, the location and source of the minimized data in the original data can be clearly defined, so that in the subsequent data processing and access process, the original electricity consumption data of multiple categories of users can be traced back based on the minimized data, which not only supports data traceability and auditing, but also facilitates data recovery and reconstruction. For example, when the power system needs to review the electricity bill of a certain user, it can trace back to the original electricity consumption data of the user based on the minimized data in the bill and perform cross-verification; for another example, when the user needs to request access to his complete electricity consumption data, the system can reassemble multiple distributed stored data fragments based on the corresponding relationship between the minimized data and the original data to restore the complete electricity consumption data. In the specific implementation, the corresponding relationship between the minimized data and the electricity consumption data of multiple categories of users is realized by constructing data structures such as mapping tables and hash indexes. These data structures can record the location, category, extraction time and other meta-information of each minimized data item in the original data, thereby establishing the corresponding relationship between the minimized data and the electricity consumption data of multiple categories of users.

[0024] By establishing a corresponding relationship between minimized data and electricity consumption data of multiple categories of users, data traceability and recovery can be achieved. While improving data security, data availability and flexibility are retained, providing important basic support for privacy protection, access control, data auditing and other work.

[0025] S4: Obtain the distributed ledger set of the blockchain network.

[0026] Specifically, a distributed ledger set refers to a ledger resource used to store electricity meter data in a blockchain network. A distributed ledger refers to a database that is distributed and stored on multiple nodes in a blockchain network. There are multiple distributed ledgers in a blockchain network, each serving different application scenarios and user groups. In order to store electricity meter data securely in a blockchain, multiple distributed ledgers are selected from the blockchain network to form a distributed ledger set. The selection of ledgers takes into account many factors, such as the storage capacity of the ledger, access latency, consensus efficiency, and privacy protection mechanism.

[0027] By obtaining the distributed ledger set of the blockchain network, the connection between the electricity meter data and the blockchain storage resources is realized, providing a reliable infrastructure support for subsequent data storage and privacy protection, so as to give full play to the advantages of blockchain technology in the field of data security and realize the trustworthiness, controllability and traceability of electricity meter data management.

[0028] S5: After removing the minimized data from the multi-category user electricity consumption data, storage target data is obtained, the distributed ledger set is allocated to the storage target data, and a storage mapping relationship is determined.

[0029] Specifically, first, remove those data items that have been extracted as minimized data from the multi-category user electricity consumption data. The data after elimination is the storage target data, which is sensitive data that needs further privacy protection and distributed storage. By eliminating the minimized data from the multi-category user electricity consumption data, the sensitive information in the electricity meter data is separated from the non-sensitive information. Sensitive information requires stricter encryption and access control measures because it involves user privacy; while non-sensitive information (i.e., minimized data) does not involve privacy and can be directly stored and used. By separating the two, the use value of the data can be maximized while ensuring privacy security.

[0030] After obtaining the storage target data, appropriate distributed ledger resources are allocated to it to realize the mapping of data to storage space. Specifically, according to the characteristics of the storage target data (such as data volume, sensitivity, etc.), as well as the performance and security attributes of different distributed ledgers, the optimal distributed ledger is matched for each part of the storage target data. For example, for storage target data with large data volume and high sensitivity, a distributed ledger with large storage capacity and high security is selected; while for storage target data with small data volume and low sensitivity, a distributed ledger with high storage efficiency and low access latency is selected. Through differentiated ledger allocation strategies, the comprehensive performance of storage and access is improved while ensuring data security. The result of ledger allocation is a storage mapping relationship, which defines the corresponding rules between the storage target data and the distributed ledger, that is, in which distributed ledger each part of the storage target data should be stored, which is not only used to guide subsequent data storage operations, but also provides a basis for data retrieval and reconstruction.

[0031] The storage target data is obtained by eliminating the minimized data, and distributed ledger resources are allocated to the storage target data to determine the storage mapping relationship, providing support for the reasonable distribution and secure storage of electricity meter data in the blockchain network.

[0032] S6: After encrypting the storage target data based on the storage mapping relationship, the encrypted storage target data is stored in a corresponding distributed ledger.

[0033] Specifically, after obtaining the storage mapping relationship and the storage target data, the storage target data is first encrypted using cryptographic technology to encode the sensitive data and convert it into a ciphertext form that cannot be directly identified and understood, thereby protecting the confidentiality of the storage target data and preventing unauthorized access and leakage. Among them, the encryption process needs to be based on the storage mapping relationship. The storage mapping relationship not only defines the corresponding rules between the storage target data and the distributed ledger, but also determines the security requirements of each part of the storage target data. Different distributed ledgers have different security attributes and credibility, so the corresponding data encryption strength should also be different. For example, for data stored in a higher security ledger, a stronger encryption algorithm (such as AES, SM4, etc.) is used to achieve a higher level of protection; for data stored in a lower security ledger, a relatively weak encryption algorithm (such as DES, 3DES, etc.) can be used to reduce encryption overhead while ensuring basic security.

[0034] Preferably, in addition to selecting different encryption algorithms for different ledgers, fine-grained encryption strategy adjustments can also be made within the same ledger according to the sensitivity of the target data being stored. For example, for data segments with higher sensitivity, longer keys or more complex encryption modes are used; and for data segments with lower sensitivity, the encryption strength is reduced accordingly. The adaptive encryption strategy can not only meet the differentiated security needs of data, but also help improve the overall efficiency of data storage and achieve the optimal configuration of data encryption protection.

[0035] After the data encryption is completed, the encrypted storage target data is stored in the corresponding distributed ledger. This storage process strictly follows the storage mapping relationship and writes each part of the encrypted storage target data into the specified ledger storage location.

[0036] By encrypting the storage target data based on the storage mapping relationship and storing the encrypted data in the corresponding distributed ledger, the confidentiality protection and trusted storage of the electricity meter data in the blockchain network are achieved, providing all-round and multi-level privacy protection for sensitive electricity data, effectively preventing the risks of data leakage and tampering, and achieving trustworthy, controllable and verifiable data management.

[0037] Furthermore, before preprocessing the user power consumption data collected by the power meter, the embodiment of the present application includes:

[0038] Obtain historical electricity meter data analysis cases, wherein the historical electricity meter data analysis cases include electricity meter power consumption data and user feature recognition results; perform user personal information recognition processing based on the user feature recognition results in the historical electricity meter data analysis cases, and determine the user's personal identity information in the electricity meter power consumption data; perform user power consumption habit feature recognition analysis based on the user feature recognition results, and determine the power-related features in the electricity meter power consumption data that are used to reflect the user's habit feature recognition; use the user's personal identity information and the power-related features of the user's habit feature recognition as user sensitive information recognition features.

[0039] In a feasible implementation, before preprocessing the user electricity consumption data collected by the electric energy meter, the user sensitive information identification features are determined by analyzing historical electric energy meter data analysis cases.

[0040] First, a batch of historical electricity meter data analysis cases are obtained. These cases come from past electricity meter data analysis projects. Each case contains two parts, namely, electricity meter electricity consumption data and user feature recognition results. Among them, user feature recognition results refer to information related to user identity, behavior habits, etc. inferred by analyzing electricity meter electricity consumption data. This information includes the user's name, home address, work and rest routine, and electrical appliance usage preferences. Then, the user feature recognition results in the historical electricity meter data analysis cases are further analyzed and summarized to determine which features belong to the user's personal identity information. The so-called user personal identity information refers to information that can directly or indirectly identify the identity of a specific natural person, such as name, ID number, home address, telephone number, etc.

[0041] At the same time, the user feature recognition results in the historical electricity meter data analysis cases are analyzed to identify the user's electricity usage habit characteristics. These characteristics refer to the statistical laws or change patterns of certain electricity parameters, such as peak electricity consumption hours, electricity consumption fluctuation cycles, and the frequency of use of special electricity equipment. By mining the user's electricity usage habit characteristics, it can be used to infer the user's occupation, family structure, daily routine, economic status and other privacy information, which are also sensitive information. Afterwards, the identified user's personal identity information and electricity usage habit characteristics are determined as user sensitive information recognition features in the electricity meter data, covering various data patterns that may expose user privacy. In the subsequent electricity meter data preprocessing process, the user's sensitive information recognition features are used as a reference to compare and screen the real-time user electricity consumption data one by one, and timely discover and locate various types of privacy information contained therein, providing a basis for targeted privacy protection measures.

[0042] Furthermore, the embodiment of the present application also includes:

[0043] Based on the user's personal identity information and the electricity-related features identified by the user's habit characteristics, the historical electricity meter data analysis cases are identified to construct a training data set; a neural network model framework is built, and the neural network model framework is trained and converged using the training data set to obtain a sensitive information recognition model.

[0044] In a preferred embodiment, in order to further improve the intelligence level and accuracy of sensitive information identification, after determining the user's sensitive information identification features, a special sensitive information identification model is constructed.

[0045] First, using the determined user sensitive information identification features, the historical electricity meter data analysis cases are re-labeled and sorted to construct a training data set specifically for training sensitive information identification models. Specifically, the original electricity meter electricity consumption data in each historical electricity meter data analysis case is paired with the corresponding user personal identity information and electricity consumption habit features, and the sensitive information contained in each electricity consumption data is identified as a sample label to form a complete training data sample. By labeling and extracting a large number of historical electricity meter data analysis cases, a structured training data set is obtained, covering various typical electricity consumption data patterns and corresponding sensitive information, providing a data basis for training high-quality sensitive information identification models. Among them, the construction quality of the training data set directly determines the upper limit of subsequent model training. In order to ensure the representativeness and balance of the data set, when selecting historical electricity meter data analysis cases, it is necessary to take into account data samples from different regions, different user groups, and different time periods, and eliminate data bias as much as possible.

[0046] Subsequently, neural network technology is used to design and build a model framework dedicated to sensitive information identification. For the sensitive information identification task of electric energy meter data, different types of neural network models such as convolutional neural network, recurrent neural network, long short-term memory network, etc. can be selected. These models have unique advantages in processing time series data and extracting data features, and can effectively capture the privacy information patterns contained in the electricity consumption data of the electric energy meter. After the neural network model framework is built, the model is repeatedly trained and tuned using the constructed training data set. By inputting the electricity consumption data of each training data sample into the model, the model predicts the type of sensitive information it contains, and compares the prediction result with the sample label, calculates the prediction error, and then uses the back propagation algorithm to update the model parameters, and continuously improves the recognition accuracy of the model. After sufficient training and verification, the neural network model will eventually learn the deep correlation between electricity consumption data and sensitive information, and form a sensitive information identification model. Through the sensitive information identification model, various types of privacy information hidden in the user electricity consumption data collected by the electric energy meter can be automatically, quickly and accurately discovered, providing a judgment basis for subsequent privacy protection processing.

[0047] By building a sensitive information identification model to identify sensitive information, the process of sensitive information identification is made more automated and intelligent, able to adapt to the dynamic changes in the electricity data environment and continuously optimize the identification effect. At the same time, the introduction of the sensitive information identification model also greatly reduces the cost of manually configuring identification rules and improves the automation level of sensitive information identification.

[0048] Further, such as Figure 2 As shown, the embodiment of the present application also includes:

[0049] Configure the risk event type according to the user feature identification result; establish a mapping relationship between the user's personal identity information, the electricity-related characteristics identified by the user's habit characteristics, and the risk event type; based on the mapping relationship, match the risk event type according to the sensitive information identification result to obtain the risk event type existing in the electricity meter data; according to the risk event type, trace the sensitive information identification result, and classify the sensitive information identification result according to the risk event type based on the tracing relationship to obtain the multi-category user electricity consumption data.

[0050] In a feasible implementation, first, a set of risk event types are predefined based on the user feature identification results, i.e., sensitive information. The so-called risk event types refer to various types of privacy and security risk events that may be caused by the leakage of sensitive information, such as identity fraud, credit fraud, precision marketing, behavioral voyeurism, etc. There is a corresponding relationship between different sensitive information types and different risk event types. For example, the leakage of user identity information may trigger identity fraud events, and the leakage of electricity usage habit information may trigger precision marketing events, etc. By configuring risk event types with wide coverage and accurate classification based on the user feature identification results, a foundation is laid for subsequent risk identification and classification. Then, a direct mapping relationship is established between sensitive information and risk event types, and which risk event types may be triggered by a certain sensitive information type is recorded. For example, user personal identity information such as user name, ID number, and telephone number will trigger identity fraud risk events; electricity usage habit information such as peak electricity usage hours and electricity usage patterns will trigger precision marketing risk events. After establishing the mapping relationship, when a piece of electricity consumption data is actually identified as containing specific sensitive information, the type of risk event that may be caused by the sensitive information can be quickly determined by consulting the mapping relationship, providing a basis for subsequent risk classification and disposal.

[0051] Subsequently, the real-time collected electric energy meter data is scanned and identified one by one to detect the various types of sensitive information contained therein. For each piece of identified sensitive information, the established mapping relationship is queried to find the corresponding risk event type. By matching all sensitive information with risk events, the risk event types existing in the electric energy meter data are obtained, reflecting what types of privacy and security risks exist in the electric energy meter data. Afterwards, all electric energy meter data are grouped according to the identified risk events. Each group of data contains all sensitive information that triggers the same type of risk event, and the sensitive information identification result is obtained. Next, the source and location of each sensitive information in the sensitive information identification result in the original electric energy meter data are traced, and the sensitive information from the same user, the same time period, and the same geographical area are classified into the same data packet to form independent and complete user electricity consumption data slices. Each slice is a type of user electricity consumption data, and the sensitive information inside it has a high degree of homogeneity and correlation, so as to obtain multi-category user electricity consumption data.

[0052] By converting the originally disorganized massive amount of electricity meter data into multi-category user electricity consumption data with distinct risk characteristics and clear structure, it provides a basis for subsequent hierarchical privacy protection and differentiated data desensitization processing, so that the corresponding desensitization rules and security strategies can be matched according to the risk level and sensitivity of different data categories, so as to achieve more accurate and efficient privacy protection. This risk-oriented data classification method can quickly identify and locate various privacy and security risks in electricity meter data, and implement targeted privacy protection measures. Compared with the traditional indiscriminate data desensitization method, it can maximize the use value of data while improving the accuracy of privacy protection, achieving a win-win situation of privacy protection and data utilization.

[0053] Furthermore, the embodiment of the present application also includes:

[0054] Obtain the excluded data position of the minimized data; divide the multi-category user electricity consumption data into nodes based on the excluded data position, wherein each divided node includes at least one of the excluded data positions; establish a chain connection relationship according to the divided nodes, perform distributed ledger set matching based on the chain connection relationship, and establish a storage mapping relationship between the divided nodes and the distributed ledgers.

[0055] In a feasible implementation, in order to further enhance the privacy protection effect of the storage target data, after the minimized data is removed from the multi-category user electricity consumption data to form the storage target data, the storage target data is segmented and reorganized, and a storage mapping relationship is established with the distributed ledger.

[0056] First, when extracting minimized data from multi-category user electricity consumption data, the starting position and ending position of each minimized data in the multi-category user electricity consumption data are recorded to form a position index table. The position index table marks the distribution position of the minimized data in the multi-category user electricity consumption data, that is, the excluded data position. By obtaining the excluded data position, these positions can be avoided in the subsequent data segmentation and reorganization to ensure that the minimized data will not appear in the storage target data, thereby cutting off the correlation between the storage target data and the minimized data, avoiding the inference and restoration of the storage target data through the minimized data, and reducing the risk of comprehensive data leakage. Then, with the excluded data position as the demarcation point, the multi-category user electricity consumption data is divided to form multiple data division nodes. Each division node is a subset of the multi-category user electricity consumption data and contains at least one excluded data position. Among them, the size and number of the division nodes are dynamically adjusted according to factors such as the total amount of data and the need for privacy protection. The finer the division granularity, the higher the degree of data dispersion and the better the privacy protection effect, but at the same time the data availability will be reduced, and the subsequent query and analysis operations will be more complicated.

[0057] Afterwards, according to the order of the partition nodes in the electricity consumption data of multiple categories of users and their excluded data positions, a chain connection relationship between the partition nodes is established, and all the partition nodes are organized into an ordered linked list structure. Adjacent partition nodes are connected by the excluded data positions. After the chain connection relationship is established, considering the availability, security, access efficiency and other factors of the ledger, as well as the data volume and privacy level of the partition nodes, a distributed ledger is matched and allocated to each partition node for data storage. The matching result is a mapping relationship table that records the corresponding relationship between each partition node and the distributed ledger, that is, the storage mapping relationship. The storage mapping relationship provides guidance for subsequent data storage operations to upload the storage target data in each partition node to the corresponding distributed ledger.

[0058] By minimizing the position of data in the original data, the target data is chain-divided and mapped, so that the target data is dispersed and stored in multiple ledgers, effectively reducing the risk of single-point data leakage. At the same time, the semantic integrity of the stored data is avoided through a link mechanism based on eliminating the data position. Even if the data in a certain ledger is cracked, it is difficult to infer and restore the complete original data, thereby greatly improving the comprehensive security of the data. In addition, the chain structure facilitates subsequent data retrieval and reorganization. You only need to retrieve each ledger in the order of the chain to quickly obtain the target data.

[0059] Furthermore, the embodiment of the present application also includes:

[0060] The sensitive information risk of the partitioned node is evaluated according to the storage mapping relationship; the encryption algorithm strength is configured according to the sensitive information risk to obtain a matching encryption algorithm; and the storage target data in the partitioned node is encrypted based on the matching encryption algorithm.

[0061] In a preferred embodiment, in order to improve the privacy protection level of the stored target data, after establishing the storage mapping relationship between the partitioned node and the distributed ledger, the stored target data is encrypted, and an adaptive encryption scheme based on the storage mapping relationship and the risk level of sensitive information is adopted. According to the data characteristics of different partitioned nodes, the optimal encryption algorithm and strength are matched to achieve refined and efficient encryption protection.

[0062] First, evaluate the sensitivity and privacy leakage risk of the data in each partition node to provide a basis for the subsequent selection of encryption algorithms. Analyze the sensitive attributes of the data inside each partition node, such as whether it contains personal identity information, whether it belongs to a special protection group, etc. The more types of sensitive information in the node and the higher the level, the greater the risk; At the same time, analyze the security characteristics of the distributed ledger matched by each partition node, such as the network scale, consensus mechanism, encryption algorithm, etc. of the ledger. The larger the network scale, the more perfect the consensus mechanism, and the stronger the built-in encryption algorithm, the higher the security, and accordingly, the lower the risk of the partition node matched with it; The sensitive information in the node and the security characteristics of the distributed ledger matched by the node are combined to obtain the risk of sensitive information of each partition node, reflecting the comprehensive privacy leakage risk of the data of the partition node, and providing a quantitative basis for the customized configuration of the encryption scheme.

[0063] Subsequently, according to the risk of sensitive information of each partition node, the optimal data encryption algorithm is matched and selected for it. The matching principle is as follows: the partition node with higher risk should adopt the encryption algorithm with higher strength; on the contrary, the partition node with lower risk can reduce the encryption strength to improve the encryption efficiency. In the matching process, the encryption algorithm strength level table is pre-set, and the current various encryption algorithms (such as AES, RSA, SM4, etc.) are arranged from high to low according to the security strength, and divided into several levels, each level corresponding to a specific risk interval. Then, the sensitive information risk of each partition node is compared with the encryption algorithm strength level table, and the interval where the risk is located is found. The optimal encryption strength level of the partition node can be determined, and then one or more encryption algorithms of the corresponding level are selected. These algorithms are the encryption algorithms matching the partition node. After that, the storage target data in each partition node is encrypted one by one using the selected matching encryption algorithm. The basic unit of encryption is the partition node, that is, the storage target data in the same node uses the same encryption algorithm and key, and the encryption methods between different nodes can be different. By encrypting the partition nodes one by one, the encryption protection of all storage target data is achieved. Compared with a single encryption scheme, the adaptive hierarchical encryption scheme can tailor the optimal encryption strategy according to the risk level of the data, while taking into account data security, it also improves encryption efficiency and resource utilization. Moreover, since different partition nodes use different encryption methods, even if the encryption of a partition node is cracked, it will not affect the security of data in other nodes, thereby further reducing the overall risk of data leakage.

[0064] Furthermore, after the encrypted storage target data is stored in the corresponding distributed ledger, the embodiment of the present application further includes:

[0065] Based on the smart contract, identity matching and verification are performed on the requesting user and the requested access content; when the matching verification is passed, the ledger is decrypted through the preset decryption information to obtain the storage target data of each distributed ledger; based on the correspondence between the minimized data and the multi-category user electricity consumption data and the deleted data position of the minimized data, the decrypted storage target data of each distributed ledger is inserted and restored to obtain the user electricity consumption data.

[0066] In a preferred embodiment, after the encrypted storage target data is stored in the distributed ledger, the user's electricity consumption data is recovered through a user access request verification method based on a smart contract and combined with data decryption and recovery technology.

[0067] First, blockchain smart contract technology is used to perform security verification and permission control on data access requests. The so-called smart contract refers to an automated execution program written in code and deployed on the blockchain. It can automatically verify requests and perform matching operations according to preset conditions to ensure the objectivity and immutability of request verification. Specifically, a smart contract for data access control is deployed on the blockchain in advance. The contract sets the identity information and data access rights of various users. For example, ordinary users can only access their own data, power managers can access all data within the jurisdiction, and third-party institutions need specific authorization to access data. When a user submits a data access request, the smart contract is first called to verify the identity information of the requesting user to ensure that it is consistent with the identity information recorded in the contract. Then, according to the identity of the requesting user, its data access rights are automatically matched to verify whether it has the right to access the requested target data. Only when both the identity and permissions are verified, the user's access request is allowed, otherwise the request will be rejected. Using smart contracts for access control can ensure the automation, standardization and security of the entire request verification process.

[0068] After successfully verifying the user's identity and permissions, the data decryption and acquisition operations are started. Since the storage target data is stored in multiple distributed ledgers in ciphertext form, it is necessary to decrypt these ciphertext data first to restore the readable original data. The decryption operation needs to use the same decryption algorithm and key as the encryption. In order to ensure the security of the decryption process, the various parameters required for decryption (such as decryption algorithm type, key, etc.) are encrypted and saved as preset decryption information in advance. Only after the identity authentication is passed can this information be decrypted and called. Specifically, the target data ciphertext distributed in each ledger is first accessed, and the decryption algorithm and key specified in the preset decryption information are called to decrypt the ciphertext data and restore the storage target data of each distributed ledger. Among them, since the storage target data of different partition nodes use different encryption algorithms and keys, the decryption process needs to be performed separately for the data of each partition node. This requires that the decryption parameters of each partition node are stored in the preset decryption information, and can be associated with the storage mapping relationship so as to accurately decrypt each part of the data.

[0069] After obtaining the decrypted storage target data, the data recovery operation is started to restore the complete user electricity consumption data. First, according to the storage mapping relationship, the storage target data segments scattered in different distributed ledgers are combined into a storage target data set; then, according to the position of the excluded data of the minimized data, a blank area is reserved at the corresponding position of the storage target data set for inserting the minimized data; then, according to the correspondence between the minimized data and the multi-category user electricity consumption data, each excluded data segment is extracted and inserted into the reserved blank area of ​​the storage target data set to form the complete user electricity consumption data.

[0070] Through the user request verification method based on smart contracts and the corresponding data decryption and recovery method, the reliable and secure management and control of power user data in the storage, access, and utilization links are realized. At the same time, the technical advantages of blockchain are fully utilized, and smart contracts are used to replace manual approval to realize the automated control of data access.

[0071] Furthermore, the embodiment of the present application also includes:

[0072] A verification connection is established with the electric energy meter user based on the smart contract. When the electric energy meter user's electricity consumption data receives a request for access, the access request information and the read user's electricity consumption data are fed back to the electric energy meter user. The electric energy meter user manages and controls the electric energy meter data based on the access request information and the read user's electricity consumption data, including data time limit management and reading information control.

[0073] In a feasible implementation method, in order to further strengthen the power users' control over their personal data and their right to know, and to improve the transparency and credibility of the entire power data ecosystem, a user participation and feedback mechanism is introduced in the data access link, allowing power users to monitor the access to their own data in real time and flexibly control the management and use of data as needed.

[0074] First, using smart contract technology, a real-time and trusted data access verification connection is established with each electric energy meter user. This connection can push data access information to users on the one hand, and users can perform data management and control on the other hand, forming a two-way interactive data management channel. Specifically, in addition to the aforementioned user identity information and access permission settings, the smart contract running on the blockchain also designs a data access feedback interface and a data control interface for each electric energy meter user. When the electric energy meter data of a certain electric energy meter user is subject to an external access request, it first undergoes identity authentication and permission matching to confirm the legitimacy of the request, and then automatically calls the access feedback interface of the electric energy meter user to feedback the requested access information (such as requester identity, request time, request data range, etc.) and the actual read user power consumption data to the electric energy meter user in the form of real-time notification. In this way, the electric energy meter user can understand the access status of his own power data in real time, accurately and comprehensively, and master the first-hand information of data sharing and utilization, which not only satisfies the right of the electric energy meter user to know, but also provides a decision-making basis for the electric energy meter user to implement data management and control.

[0075] After receiving data access feedback information, the user of the electric energy meter can flexibly control the management and use of the electric energy meter data according to their own security needs and privacy preferences through the data control interface provided by the smart contract, including data time limit management and reading information control. In terms of data time limit management, the user of the electric energy meter can set different access validity periods for different data content and data requesters. For example, for data involving commercial secrets, users can set a shorter access validity period to ensure that the data will not be retained and used for a long time; and for anonymous data required for academic research, users can set a relatively loose access period. Once the set access validity period is exceeded, access to the relevant data will be automatically blocked, or the data deletion operation will be automatically triggered, thereby minimizing the risk of data leakage. In terms of reading information control, users can further refine the granularity and scope of data access. For example, users can choose to only disclose their electricity consumption data for some time periods and some categories, rather than all data; users can also control the access rights of certain sensitive fields in the data (such as detailed address information) and desensitize or shield them when sharing data. Selective information control can meet the basic needs of third-party institutions for user data on the one hand, and protect the privacy and security of users to the greatest extent on the other hand.

[0076] Through the user participation and feedback mechanism constructed above, power users are transformed from passive data contributors to active data managers, allowing users to have real-time supervision and flexible control over their own data, forming a data protection network with direct user participation. This can effectively make up for the shortcomings of simple technical means (such as data desensitization, encryption, etc.) in dealing with complex scenarios, and provide more three-dimensional and dynamic privacy protection.

[0077] In summary, the blockchain-based electric energy meter data security management method provided in the embodiment of the present application has the following technical effects:

[0078] The user electricity consumption data collected by the electric energy meter is preprocessed. The preprocessing includes identifying sensitive information of the user electricity consumption data and dividing it into multiple categories of user electricity consumption data to provide accurate data support for subsequent privacy protection measures. Based on the multi-category user electricity consumption data, the minimized data is obtained. The minimized data is the electricity consumption data necessary for the electric energy meter service. Under the premise of ensuring the normal operation of the power company's business, the exposure scope of the private data is minimized, thereby reducing the risk of privacy leakage. The corresponding relationship between the minimized data and the multi-category user electricity consumption data is established, which can not only ensure that the minimized data set represents the original user electricity consumption data, but also avoid direct privacy leakage, which provides convenience for privacy query based on minimized data. The distributed ledger set of the blockchain network is obtained to prepare for the secure storage of private data. After removing the minimized data from the multi-category user electricity consumption data, the storage target data is obtained, and the distributed ledger set is assigned to the storage target data. The storage mapping relationship is determined to effectively protect the integrity and confidentiality of the private data, avoid the risk of single point failure, and facilitate data traceability and auditing. After encrypting the storage target data based on the storage mapping relationship, the encrypted storage target data is stored in the corresponding distributed ledger to achieve secure storage of private data in the electricity meter data, thereby preventing the risk of user privacy leakage.

[0079] Any step of the method described above can be stored as a computer instruction or program in an unlimited computer memory, and can be called and recognized by an unlimited computer processor to implement any method in the embodiments of the present application, without any unnecessary restrictions.

[0080] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the present application and its equivalent technologies, the present application is intended to include these modifications and variations.

Claims

1. A method for secure management of electric energy meter data based on blockchain, characterized in that: The method comprises: Preprocessing the user power consumption data collected by the electric energy meter, wherein the preprocessing includes identifying sensitive information of the user power consumption data and classifying the user power consumption data into multiple categories; Based on the multi-category user power consumption data, obtaining minimized data, wherein the minimized data is power consumption data necessary for the power meter service; By constructing a mapping table and a hash index data structure, the position, category, and extraction time meta information of the minimized data in the multi-category user power consumption data are recorded, and a corresponding relationship between the minimized data and the multi-category user power consumption data is established; Get the distributed ledger set of the blockchain network; The minimized data is removed from the multi-category user power consumption data to obtain storage target data, the distributed ledger set is allocated to the storage target data, and a storage mapping relationship is determined; After encrypting the storage target data based on the storage mapping relationship, storing the encrypted storage target data in a corresponding distributed ledger; Before preprocessing the user power consumption data collected by the electric energy meter, the method includes: Obtaining historical electric energy meter data analysis cases, wherein the historical electric energy meter data analysis cases include electric energy meter power consumption data and user feature recognition results; Performing user personal information identification processing based on the user feature identification results in the historical electric energy meter data analysis case to determine the user personal identity information in the electric energy meter power consumption data; Performing a user power usage habit feature recognition analysis based on the user feature recognition result, and determining a power-related feature in the power meter power usage data that is used to reflect the user habit feature recognition; The user's personal identity information and the power-related features identified by the user's habit features are used as user sensitive information identification features; The sensitive information of the user's electricity consumption data is identified and divided into multiple categories of user's electricity consumption data, including: Configuring risk event types according to the user feature identification results; Establishing a mapping relationship between the user's personal identity information, the power-related features identified by the user's habit features, and the risk event type; Based on the mapping relationship, matching the risk event type is performed according to the sensitive information identification result to obtain the risk event type existing in the electric energy meter data; According to the risk event type, tracing the sensitive information identification result, classifying the sensitive information identification result according to the risk event type based on the tracing relationship, and obtaining the multi-category user electricity consumption data; The method includes removing the minimized data from the multi-category user power consumption data to obtain storage target data, allocating the distributed ledger set to the storage target data, and determining a storage mapping relationship, including: Obtain the data position to be removed from the minimized data; Based on the excluded data positions, the multi-category user power consumption data is divided into nodes, wherein each divided node includes at least one of the excluded data positions; Establishing a chain connection relationship according to the divided nodes, performing distributed ledger set matching based on the chain connection relationship, and establishing a storage mapping relationship between the divided nodes and the distributed ledger; Encrypting the storage target data based on the storage mapping relationship includes: Performing a sensitive information risk assessment on the partitioned nodes according to the storage mapping relationship; Configure the encryption algorithm strength according to the risk level of sensitive information and obtain a matching encryption algorithm; The target data stored in the partition node is encrypted based on the matching encryption algorithm.

2. The method according to claim 1, characterized in that The method further comprises: Based on the user's personal identity information and the power-related features identified by the user's habit features, the historical electric energy meter data analysis cases are identified to construct a training data set; A neural network model framework is constructed, and the training data set is used to train and converge the neural network model framework to obtain a sensitive information recognition model.

3. The method according to claim 1, characterized in that After storing the encrypted storage target data in the corresponding distributed ledger, the method further includes: Based on smart contracts, identity matching and verification of the requesting user and the requested access content are performed; After the matching verification is passed, the ledger is decrypted using the preset decryption information to obtain the storage target data of each distributed ledger; Based on the correspondence between the minimized data and the multi-category user electricity consumption data and the removed data position of the minimized data, the storage target data of each decrypted distributed ledger is inserted and restored to obtain the user electricity consumption data.

4. The method according to claim 3, characterized in that The method further comprises: Establishing a verification connection with the user of the electric energy meter based on the smart contract, when the user's electricity consumption data receives a request for access, feeding back the access request information and the read user's electricity consumption data to the user of the electric energy meter; The electric energy meter user manages and controls the electric energy meter data according to the request access information and reads the user's electric energy consumption data, including data time limit management and information reading control.

Citation Information

Patent Citations

  • User power consumption data acquisition method based on block chain

    CN112116309A

  • Power consumer access control method and system based on block chain smart contract

    CN114172722A

  • Power demand response data management method

    CN115174115A

  • Method and system for processing power utilization data of power supply transfer users based on alliance chain

    CN116680753A

  • System and method for validation of distributed data storage systems

    US20190132350A1