Intelligent electric energy meter data security storage and backup recovery method and system
By implementing multi-level encrypted storage and multiple backups for smart meter data, the problems of wasted data storage space and incomplete backups in smart meters are solved, enabling secure data storage and automatic recovery, and improving data management efficiency and reliability.
Patent Information
- Application Number
- CN202510982268.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-07-16
- Publication Date
- 2025-10-31
AI Technical Summary
Existing smart meters suffer from wasted space or insufficient storage of critical data, and lack complete backup and recovery functions, making it impossible to fully recover lost data.
Data is stored using multi-level encryption technology and backed up through multiple methods, including local storage, cloud storage, and external hard drives. Combined with data linking and backup/recovery triggering mechanisms, secure data storage and automatic recovery are achieved.
It improves the efficiency and reliability of data storage, ensures that data can be restored to its original state in a timely manner when lost, reduces manual intervention, and improves management efficiency and data utilization.
Smart Images

Figure CN120881084A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart energy meter technology, specifically to a method and system for secure data storage, backup, and recovery of smart energy meters. Background Technology
[0002] Smart meters are electricity metering devices installed on the electricity user side. They are widely used in power grid companies, industrial users, and residential users. They can accurately collect, analyze, and process various data information on users' electricity usage. They also have the function of communicating with the outside world, enabling real-time monitoring and remote management of users' electricity information. They are an important part of the smart grid.
[0003] Currently, smart meters generate a large amount of data during use. However, storing this data in the current way has certain shortcomings. Some smart meters do not fully consider reasonable data partitioning and optimized allocation, resulting in wasted storage space or insufficient critical data storage areas, which affects data storage efficiency and reliability. Furthermore, they only have backup functions but not backup and recovery functions. As a result, once data is lost, the data recovery will be incomplete or the data will be completely lost, making data recovery impossible. Summary of the Invention
[0004] The purpose of this invention is to provide a method and system for secure storage, backup and recovery of smart energy meter data, so as to solve the problems mentioned in the background art.
[0005] To achieve the above objectives, the present invention provides the following technical solution: a method and system for secure storage, backup and recovery of smart energy meter data, comprising the following:
[0006] S1: Sampling and collection of data from smart energy meters;
[0007] S2: Subdivide the sampled data;
[0008] S3: Allocate and store the processed data in a reasonable hierarchical manner;
[0009] S4: Employs multi-level encryption technologies, such as identity authentication, to encrypt the stored data;
[0010] S5: After completing the encryption process, perform multiple data backups on the stored data;
[0011] S6: Establish a data link and set up a backup and restore trigger mechanism in the background;
[0012] S7: Promptly perform corresponding detection procedures on the backup and restored data, and compare the original data with the source code.
[0013] Preferably, step S1 includes the following:
[0014] S11: When the smart energy meter is running, all data generated during the operation of the smart energy meter is sampled through the sampling and collection module;
[0015] S12: Collect and process the sampled smart energy meter data.
[0016] Preferably, step S2 includes the following:
[0017] S21: After the sampling and collection process is completed, the data is further subdivided and classified into different types through the subdivision processing module;
[0018] S22: Analyze the data after further processing, promptly remove useless data, and transmit useful data.
[0019] Preferably, step S3 includes the following:
[0020] S31: Receive the processed data and allocate and store the subdivided data at different levels through the hierarchical allocation module.
[0021] S32: After allocating and storing data at a reasonable level, it can be sorted according to size, time, or type as needed to facilitate subsequent searching.
[0022] Preferably, step S4 includes the following:
[0023] S41: The encryption processing module performs identity authentication encryption on the allocated and stored data, assigns operation permissions, and ensures that only authorized devices can access the data through two-way authentication;
[0024] S42: The data stored inside the smart meter is further encrypted using a strong encryption algorithm to ensure that the data will not be easily leaked even if the physical device is stolen. In addition, static SM9 algorithm encryption is set in the system background, and dynamic memory calculation is performed using Intel SGX trusted execution to encrypt the data.
[0025] Preferably, step S5 includes the following:
[0026] S51: The stored data is backed up through multiple backup modules, including local backup, cloud backup, and external hard drive backup.
[0027] S52: After completing the data backup process, set up a backup data recovery trigger mechanism receiver in each backup data.
[0028] Preferably, step S6 includes the following:
[0029] S61: After completing the data backup process, the data link module establishes source code data links for multiple different levels of data, and establishes source code data links for the backed-up data.
[0030] S62: Establish a master link for multiple established links, and set up a backup and recovery trigger mechanism in the master link. Once stored data is lost, send a message to trigger the backup and recovery mechanism.
[0031] Preferably, step S7 includes the following:
[0032] S71: After the data to be stored is recovered, the detection program is triggered to run, and the running detection program controls the analysis and comparison module;
[0033] S72: The analysis and comparison module compares and analyzes the backup and recovery data and the source code of the data, and promptly performs backup and recovery processing to identify any differences.
[0034] S73: After completing the data backup and recovery process again, the recovered data is analyzed and compared again through the analysis and comparison module to find missing data until the backup and recovery are complete.
[0035] Preferably, it includes: a secure storage system, a backup and recovery system, a sampling and collection module, a subdivision processing module, a hierarchical allocation module, an encryption processing module, a data link module, a multiple backup module, a trigger recovery module, and an analysis and comparison module. The secure storage system and the backup and recovery system are bidirectionally connected. The secure storage system is bidirectionally connected to the sampling and collection module, the subdivision processing module, the hierarchical allocation module, and the encryption processing module. The backup and recovery system is bidirectionally connected to the data link module, the multiple backup module, the trigger recovery module, and the analysis and comparison module.
[0036] The sampling and collection module is used to sample and collect data generated by smart meters, thereby obtaining a large amount of smart meter operation data;
[0037] The subdivision processing module is used to subdivide the data collected by the sampling and collection module, classify different types of data, and process useless data.
[0038] The hierarchical allocation module is used to allocate and store the subdivided processed data at different levels.
[0039] The encryption processing module is used to encrypt the stored data using an encryption algorithm after hierarchical allocation of storage, to ensure the confidentiality of the data during storage and transmission.
[0040] The data linking module is used to link source code data at multiple different levels of data.
[0041] The multi-backup module is used to perform multiple data backups on the stored data, including local backup, cloud backup, and external hard drive backup.
[0042] The trigger recovery module is used to set an automatic recovery mechanism in the smart energy meter, which can automatically trigger recovery from backup data when data anomalies are detected, reducing manual intervention and improving the reliability and stability of the system.
[0043] The analysis and comparison module is used to compare and analyze the backup and restored data and the source code of the data, and to perform backup and restoration again in a timely manner if any differences are found.
[0044] Compared with existing technologies, the beneficial effects of this invention are as follows: By employing multiple backup modules and backup methods within the storage system, smart meter data can be backed up locally, via the cloud, and via external hard drives, reducing the risk of data loss. The data link module establishes links and trigger mechanisms for these backups, enabling timely automatic backup and recovery in case of data loss. This prevents data loss. During backup and recovery, the analysis and comparison module compares the recovered data with the original data to ensure restoration to the original. Furthermore, the subdivision processing module and hierarchical allocation module allow for subdivision processing and hierarchical storage of the collected data, sorting it according to different methods. This facilitates subsequent retrieval by staff and improves the efficiency and utilization of data generated by smart meter operation. Finally, the encryption processing module encrypts the hierarchically allocated data using encryption algorithms, ensuring confidentiality during storage and transmission. Attached Figure Description
[0045] Figure 1 This is a schematic diagram of the method flow of the present invention;
[0046] Figure 2 This is a system framework diagram of the present invention. Detailed Implementation
[0047] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0048] Please see Figures 1 to 2 This invention provides a technical solution: a method and system for secure storage, backup and recovery of smart meter data, comprising the following:
[0049] S1: Sampling and collection of data from smart energy meters;
[0050] S2: Subdivide the sampled data;
[0051] S3: Allocate and store the processed data in a reasonable hierarchical manner;
[0052] S4: Employs multi-level encryption technologies, such as identity authentication, to encrypt the stored data;
[0053] S5: After completing the encryption process, perform multiple data backups on the stored data;
[0054] S6: Establish a data link and set up a backup and restore trigger mechanism in the background;
[0055] S7: Promptly perform corresponding detection procedures on the backup and restored data, and compare the original data with the source code.
[0056] Step S1 includes the following:
[0057] S11: When the smart energy meter is running, all data generated during the operation of the smart energy meter is sampled through the sampling and collection module;
[0058] S12: Collect and process the sampled smart energy meter data.
[0059] Step S2 includes the following:
[0060] S21: After the sampling and collection process is completed, the data is further subdivided and classified into different types through the subdivision processing module;
[0061] S22: Analyze the data after further processing, promptly remove useless data, and transmit useful data.
[0062] Step S3 includes the following:
[0063] S31: Receive the processed data and allocate and store the subdivided data at different levels through the hierarchical allocation module.
[0064] S32: After allocating and storing data at a reasonable level, it can be sorted according to size, time, or type as needed to facilitate subsequent searching.
[0065] Step S4 includes the following:
[0066] S41: The encryption processing module performs identity authentication encryption on the allocated and stored data, assigns operation permissions, and ensures that only authorized devices can access the data through two-way authentication;
[0067] S42: The data stored inside the smart meter is further encrypted using a strong encryption algorithm to ensure that the data will not be easily leaked even if the physical device is stolen. In addition, static SM9 algorithm encryption is set in the system background, and dynamic memory calculation is performed using Intel SGX trusted execution to encrypt the data.
[0068] Step S5 includes the following:
[0069] S51: The stored data is backed up through multiple backup modules, including local backup, cloud backup, and external hard drive backup.
[0070] S52: After completing the data backup process, set up a backup data recovery trigger mechanism receiver in each backup data.
[0071] Step S6 includes the following:
[0072] S61: After completing the data backup process, the data link module establishes source code data links for multiple different levels of data, and establishes source code data links for the backed-up data.
[0073] S62: Establish a master link for multiple established links, and set up a backup and recovery trigger mechanism in the master link. Once stored data is lost, send a message to trigger the backup and recovery mechanism.
[0074] Step S7 includes the following:
[0075] S71: After the data to be stored is recovered, the detection program is triggered to run, and the running detection program controls the analysis and comparison module;
[0076] S72: The analysis and comparison module compares and analyzes the backup and recovery data and the source code of the data, and promptly performs backup and recovery processing to identify any differences.
[0077] S73: After completing the data backup and recovery process again, the recovered data is analyzed and compared again through the analysis and comparison module to find missing data until the backup and recovery are complete.
[0078] It includes: a secure storage system, a backup and recovery system, a sampling and collection module, a subdivision processing module, a hierarchical allocation module, an encryption processing module, a data link module, a multiple backup module, a trigger recovery module, and an analysis and comparison module. The secure storage system and the backup and recovery system are bidirectionally connected. The secure storage system is bidirectionally connected to the sampling and collection module, the subdivision processing module, the hierarchical allocation module, and the encryption processing module. The backup and recovery system is bidirectionally connected to the data link module, the multiple backup module, the trigger recovery module, and the analysis and comparison module.
[0079] The sampling and collection module is used to sample and collect data generated by smart meters, thereby obtaining a large amount of smart meter operation data;
[0080] The subdivision processing module is used to subdivide the data collected by the sampling and collection module, classify different types of data, and process useless data.
[0081] The hierarchical allocation module is used to allocate and store the subdivided processed data at different levels.
[0082] The encryption processing module is used to encrypt the stored data using an encryption algorithm after hierarchical allocation of storage, to ensure the confidentiality of the data during storage and transmission.
[0083] The data linking module is used to link source code data at multiple different levels of data.
[0084] The multi-backup module is used to perform multiple data backups on the stored data, including local backup, cloud backup, and external hard drive backup.
[0085] The trigger recovery module is used to set an automatic recovery mechanism in the smart energy meter, which can automatically trigger recovery from backup data when data anomalies are detected, reducing manual intervention and improving the reliability and stability of the system.
[0086] The analysis and comparison module is used to compare and analyze the backup and restored data and the source code of the data, and to perform backup and restoration again in a timely manner if any differences are found.
[0087] Specifically, when using this invention, during the operation of the smart meter, the sampling and collection module samples all data generated during operation, and collects and processes the sampled smart meter data. After the sampling and collection processing is completed, the subdivision processing module further subdivides and classifies the data into different types. The subdivided data is then analyzed, and useless data is promptly removed while useful data is transmitted. The processed data is received, and the hierarchical allocation module allocates and stores the subdivided data at different levels. After the data is allocated and stored at the appropriate levels, it can be sorted according to size, time, or type as needed for easy retrieval later. The encryption processing module performs identity authentication encryption on the allocated and stored data and assigns operation permissions. Two-way authentication ensures that only authorized devices can access the data. Furthermore, a strong encryption algorithm is used to encrypt the data stored inside the smart meter to ensure that even if the physical device is stolen, the data will not be easily leaked. In addition, a static SM9 algorithm encryption is set in the system background, along with dynamic memory calculation. IntelSGX trusted execution is used to encrypt data. Multiple backup modules perform local, cloud, and external hard drive backups. After backup, each backup includes a data recovery trigger mechanism receiver. A data link module establishes source code links between different data levels and the backup data. These links are then combined into a master link, which triggers the backup recovery mechanism. If data loss occurs, a message is sent to activate the recovery mechanism. Once recovered, a detection program runs, controlling an analysis and comparison module. This module compares the recovered data with the source code, identifying discrepancies and initiating a second backup and recovery process. After this second recovery, the analysis and comparison module again analyzes and compares the recovered data to identify missing data until a complete backup is achieved.
[0088] Although embodiments of the invention have been shown and described, it will be understood by those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, the scope of which is defined by the appended claims and their equivalents.
Claims
1. A method for secure storage, backup, and recovery of data from a smart energy meter, characterized in that, Includes the following: S1: Sampling and collection of data from smart energy meters; S2: Subdivide the sampled data; S3: Allocate and store the processed data in a reasonable hierarchical manner; S4: Employs multi-level encryption technologies, such as identity authentication, to encrypt the stored data; S5: After completing the encryption process, perform multiple data backups on the stored data; S6: Establish a data link and set up a backup and restore trigger mechanism in the background; S7: Promptly perform corresponding detection procedures on the backup and restored data, and compare the original data with the source code.
2. The method for secure storage, backup, and recovery of smart meter data according to claim 1, characterized in that: Step S1 includes the following: S11: When the smart energy meter is running, all data generated during the operation of the smart energy meter is sampled through the sampling and collection module; S12: Collect and process the sampled smart energy meter data.
3. The method for secure storage, backup, and recovery of smart meter data according to claim 1, characterized in that: Step S2 includes the following: S21: After the sampling and collection process is completed, the data is further subdivided and classified into different types through the subdivision processing module; S22: Analyze the data after further processing, promptly remove useless data, and transmit useful data.
4. The method for secure storage, backup, and recovery of smart meter data according to claim 1, characterized in that: Step S3 includes the following: S31: Receive the processed data and allocate and store the subdivided data at different levels through the hierarchical allocation module. S32: After allocating and storing data at a reasonable level, it can be sorted according to size, time, or type as needed to facilitate subsequent searching.
5. The method for secure storage, backup, and recovery of smart meter data according to claim 1, characterized in that: Step S4 includes the following: S41: The encryption processing module performs identity authentication encryption on the allocated and stored data, assigns operation permissions, and ensures that only authorized devices can access the data through two-way authentication; S42: The data stored inside the smart meter is further encrypted using a strong encryption algorithm to ensure that the data will not be easily leaked even if the physical device is stolen. In addition, static SM9 algorithm encryption is set in the system background, and dynamic memory calculation is performed using Intel SGX trusted execution to encrypt the data.
6. The method for secure storage, backup, and recovery of smart meter data according to claim 1, characterized in that: Step S5 includes the following: S51: The stored data is backed up through multiple backup modules, including local backup, cloud backup, and external hard drive backup. S52: After completing the data backup process, set up a backup data recovery trigger mechanism receiver in each backup data.
7. The method for secure storage, backup, and recovery of smart meter data according to claim 1, characterized in that: Step S6 includes the following: S61: After completing the data backup process, the data link module establishes source code data links for multiple different levels of data, and establishes source code data links for the backed-up data. S62: Establish a master link for multiple established links, and set up a backup and recovery trigger mechanism in the master link. Once stored data is lost, send a message to trigger the backup and recovery mechanism.
8. The method for secure storage, backup, and recovery of smart meter data according to claim 1, characterized in that: Step S7 includes the following: S71: After the data to be stored is recovered, the detection program is triggered to run, and the running detection program controls the analysis and comparison module; S72: The analysis and comparison module compares and analyzes the backup and recovery data and the source code of the data, and promptly performs backup and recovery processing to identify any differences. S73: After completing the data backup and recovery process again, the recovered data is analyzed and compared again through the analysis and comparison module to find missing data until the backup and recovery are complete.
9. A smart energy meter data security storage, backup and recovery system, characterized in that: A method for secure storage, backup, and recovery of smart meter data as described in any one of claims 1-8 includes: a secure storage system, a backup and recovery system, a sampling and collection module, a subdivision processing module, a hierarchical allocation module, an encryption processing module, a data link module, a multiple backup module, a trigger recovery module, and an analysis and comparison module. The secure storage system and the backup and recovery system are bidirectionally connected. The secure storage system is bidirectionally connected to the sampling and collection module, the subdivision processing module, the hierarchical allocation module, and the encryption processing module. The backup and recovery system is bidirectionally connected to the data link module, the multiple backup module, the trigger recovery module, and the analysis and comparison module. The sampling and collection module is used to sample and collect data generated by smart meters, thereby obtaining a large amount of smart meter operation data; The subdivision processing module is used to subdivide the data collected by the sampling and collection module, classify different types of data, and process useless data. The hierarchical allocation module is used to allocate and store the subdivided processed data at different levels. The encryption processing module is used to encrypt the stored data using an encryption algorithm after hierarchical allocation of storage, to ensure the confidentiality of the data during storage and transmission. The data linking module is used to link source code data at multiple different levels of data. The multi-backup module is used to perform multiple data backups on the stored data, including local backup, cloud backup, and external hard drive backup. The trigger recovery module is used to set an automatic recovery mechanism in the smart energy meter, which can automatically trigger recovery from backup data when data anomalies are detected, reducing manual intervention and improving the reliability and stability of the system. The analysis and comparison module is used to compare and analyze the backup and restored data and the source code of the data, and promptly perform backup and restoration processing if any differences are found.