A method for local detection and remote encrypted transmission of electric meter data
By performing on-site detection and encryption processing in the transmission of electricity meter data, and using CEEMD algorithm and random encryption matrix for decomposition and encryption, the security and reliability problems in the transmission of electricity meter data are solved, the workload of remote data centers is reduced, and the workload of remote data centers is realized. Timely detection of power theft behavior and safe data transmission.
Patent Information
- Application Number
- CN202210507928.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-11
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2042-05-11
AI Technical Summary
The prior art ignores security and reliability issues during the transmission of electricity meter data, resulting in large workloads in remote data centers and difficult to detect power theft in a timely manner.
Using in-place detection and remote encryption transmission methods, the microprocessor copied the power consumption data, decomposed and encrypted by the encryption processing component, the power stolen detection component generates abnormal tags, and the microprocessor was bundled with public key encryption, and it was CEEMD algorithm and random The encryption matrix is decomposed and encrypted to ensure the security and reliability of data transmission.
Through on-site detection and encrypted transmission, the workload of remote data centers is reduced, the security and reliability of data transmission is improved, and the timely detection of power theft behavior and the secure transmission of data are ensured.
Smart Images

Figure CN115085910B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electric power technology, and in particular to a method for on-site detection and remote encrypted transmission of electric meter data. Background Art
[0002] At present, the focus of meter reading is on how to efficiently and quickly transmit meter data to the remote data center, and then the remote data center will conduct unified detection and data aggregation analysis on the meter data, often ignoring the security and reliability issues in the data transmission process. In addition, the remote data center also analyzes the received meter data to determine whether there is any user stealing electricity, which makes the remote data center's workload heavy. Summary of the invention
[0003] The present invention provides a method for on-site detection and remote encrypted transmission of electric meter data to solve one or more technical problems existing in the prior art and at least provide a beneficial choice or create conditions.
[0004] The embodiment of the present invention provides a method for on-site detection and remote encrypted transmission of electric meter data, which is applied in a remote meter reading management system, wherein the remote meter reading management system includes a concentrator, a key distribution center, a remote data center, and a plurality of electric energy meters, wherein the concentrator includes a microprocessor, a memory, an electricity theft detection component, an encryption processing component, and a communication component; the method includes:
[0005] Using the microprocessor to copy the plurality of power consumption data transmitted by the plurality of power meters to obtain a plurality of power consumption data copies;
[0006] Using the encryption processing component to decompose and encrypt the plurality of power consumption data one by one to obtain a plurality of encrypted data packets;
[0007] Using the electricity theft detection component to perform electricity usage anomaly detection on the plurality of electricity usage data copies one by one to generate a plurality of electricity usage behavior labels;
[0008] Using the microprocessor to correspondingly bundle the plurality of encrypted data packets and the plurality of power usage behavior tags, and then encapsulating the plurality of encrypted data packets bundled with the tags into a transmission data packet;
[0009] The microprocessor is used to perform public key encryption on the transmission data packet, and then the encrypted transmission data packet is transmitted to the remote data center through the communication component.
[0010] Furthermore, the encryption processing component is used to decompose and encrypt the plurality of power consumption data one by one to obtain a plurality of encrypted data packets including:
[0011] Decomposing each of the plurality of electricity consumption data based on the CEEMD algorithm to obtain a plurality of IMF components corresponding to each of the electricity consumption data;
[0012] The encryption matrix corresponding to the electricity consumption data is used to encrypt the several IMF components, and then the encrypted several IMF components are encapsulated into an encrypted data packet, wherein the dimension of the encryption matrix is 1×N, N is the number of the several IMF components, N>0 and N is a positive integer.
[0013] Further, the encrypting the plurality of IMF components using the encryption matrix corresponding to the electricity consumption data includes:
[0014] The i-th column data in the encryption matrix is multiplied by the i-th IMF component among the plurality of IMF components, where i=1,2,3,...,N.
[0015] Furthermore, before encrypting the plurality of IMF components using the encryption matrix corresponding to the electricity consumption data, the method further includes:
[0016] Feedback the number of the plurality of IMF components and meter information associated with the electricity consumption data to the microprocessor using the encryption processing component;
[0017] Using the microprocessor to generate a meter key application instruction according to the number of the plurality of IMF components, the meter information associated with the power consumption data, and the identity information of the concentrator, and then transmitting the meter key application instruction to the key distribution center through the communication component;
[0018] Using the key distribution center to respond to the meter key application instruction, randomly generate an encryption matrix whose dimension matches the number of several IMF components, and then bundle the encryption matrix with the meter information and transmit it back to the microprocessor through the communication component;
[0019] The encryption matrix is copied by using the key distribution center to obtain an encryption matrix copy, and then the encryption matrix copy is bundled with the meter information and the identity information of the concentrator and uploaded to the remote data center to perform data decryption operations.
[0020] Furthermore, the meter information associated with the electricity consumption data includes the serial number of the electric energy meter corresponding to the electricity consumption data and the serial number of the concentrator to which the electric energy meter belongs; the identity information of the concentrator includes the region and serial number of the concentrator.
[0021] Furthermore, the using the electricity theft detection component to perform electricity usage anomaly detection on the plurality of electricity usage data copies one by one to generate a plurality of electricity usage behavior labels includes:
[0022] Based on the electric energy meter corresponding to each of the plurality of electric energy data copies, calling the historical electric energy data of the electric energy meter in the last week of the previous month from the memory;
[0023] Taking seven days as one electricity consumption cycle, the electricity consumption data copy and its corresponding historical electricity consumption data are divided into several electricity consumption cycle data;
[0024] Calculating the average power consumption corresponding to each of the plurality of power consumption cycle data, and then calculating the difference between the average power consumption of two adjacent power consumption cycle data;
[0025] When it is determined that the difference in average power consumption between any two adjacent power consumption cycle data is less than a preset threshold, a power consumption behavior label corresponding to the power consumption data copy and recording normal power consumption information is generated, and the power consumption data copy is stored in the memory;
[0026] When it is determined that the difference in average power consumption between two adjacent power consumption cycle data is greater than the preset threshold, a power consumption behavior label corresponding to the power consumption data copy and recording suspected power theft information is generated.
[0027] Furthermore, there is only one day of non-overlapping electricity usage data between two adjacent electricity usage cycle data among the plurality of electricity usage cycle data.
[0028] Furthermore, before the microprocessor performs public key encryption on the transmission data packet, the method further includes:
[0029] Using the microprocessor to generate a transmission encryption application instruction according to the identity information of the concentrator, and then transmitting the transmission encryption application instruction to the key distribution center through the communication component;
[0030] The key distribution center is used to respond to the transmission encryption application instruction, a public key and a private key used in conjunction with the public key are generated based on an asymmetric encryption algorithm, and the public key is then transmitted back to the microprocessor through the communication component;
[0031] The private key is bundled with the identity information of the concentrator by the key distribution center and then uploaded to the remote data center to perform the transmission decryption operation.
[0032] The present invention has at least the following beneficial effects: by preferentially detecting electricity theft and binding tags to a plurality of electricity consumption data transmitted by a plurality of electricity meters, the objects of investigation and concern can be directly provided to the remote data center to reduce the workload of the remote data center. By using the CEEMD algorithm in conjunction with a randomly generated encryption matrix to decompose and encrypt a plurality of electricity consumption data transmitted by a plurality of electricity meters, and then using a public key to re-encrypt the transmission data packet formed after the initial encryption, the security and reliability of the data transmission process can be ensured. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] The accompanying drawings are used to provide a further understanding of the technical solution of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the technical solution of the present invention and do not constitute a limitation on the technical solution of the present invention.
[0034] Figure 1 Schematic diagram of the structure of the remote meter reading management system in the embodiment of the present invention;
[0035] Figure 2 It is a flow chart of a method for on-site detection and remote encrypted transmission of electric meter data in an embodiment of the present invention. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0037] It should be noted that, although the functional modules are divided in the system schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the system or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0038] Please refer to Figure 1 , Figure 11 is a schematic diagram of the structure of a remote meter reading management system provided by an embodiment of the present invention, wherein the system comprises a concentrator, a key distribution center, a remote data center and a plurality of electric energy meters; wherein the concentrator comprises a microprocessor, a memory, an electricity theft detection component, an encryption processing component and a communication component, the plurality of electric energy meters are connected to the microprocessor via an RS485 bus, the microprocessor is connected to the encryption processing component, the microprocessor is connected to the electricity theft detection component, the electricity theft detection component is connected to the memory, the microprocessor is connected to the communication component, the communication component is connected to the remote data center, the communication component is connected to the key distribution center, and the key distribution center is connected to the remote data center.
[0039] Based on the remote meter reading management system involved in the above embodiment, Figure 2 A method for on-site detection and remote encrypted transmission of electric meter data provided by an embodiment of the present invention is described in detail.
[0040] Please refer to Figure 2 , Figure 2 1 is a flow chart of a method for local detection and remote encrypted transmission of electric meter data provided by an embodiment of the present invention, the method comprising the following steps:
[0041] S101, using the microprocessor to copy a plurality of electricity consumption data transmitted by the plurality of electric energy meters to obtain a plurality of copies of the electricity consumption data;
[0042] S102, using the encryption processing component to decompose and encrypt the plurality of power consumption data one by one to obtain a plurality of encrypted data packets;
[0043] S103, using the electricity theft detection component to perform electricity usage anomaly detection on the plurality of electricity usage data copies one by one, and generate a plurality of electricity usage behavior labels;
[0044] S104, using the microprocessor to correspondingly bundle the plurality of encrypted data packets and the plurality of electricity usage behavior tags, and then encapsulating the plurality of encrypted data packets of the bundled tags into a transmission data packet;
[0045] S105, using the microprocessor to perform public key encryption on the transmission data packet, and then transmitting the encrypted transmission data packet to the remote data center through the communication component.
[0046] When executing the above step S102, firstly, each of the plurality of electricity consumption data is decomposed based on the CEEMD (Complementary Ensemble Empirical Mode Decomposition) algorithm to obtain a plurality of IMF (intrinsic mode functions) components corresponding to each electricity consumption data; secondly, the plurality of IMF components are encrypted using an encryption matrix corresponding to the electricity consumption data, and then the encrypted plurality of IMF components are encapsulated into an encrypted data packet, wherein the dimension of the encryption matrix is 1×N, N is the number of the plurality of IMF components, N>0 and N is a positive integer.
[0047] In an embodiment of the present invention, before the encryption matrix corresponding to the electricity consumption data is used to encrypt the several IMF components, it also includes: first, using the encryption processing component to feed back the number of the several IMF components and the meter information associated with the electricity consumption data to the microprocessor, wherein the meter information associated with the electricity consumption data includes the electric energy meter serial number corresponding to the electricity consumption data and the concentrator serial number to which the electric energy meter belongs; secondly, using the microprocessor to generate a meter key application instruction according to the number of the several IMF components, the meter information associated with the electricity consumption data and the identity information of the concentrator, and then transmitting the meter key application instruction to the key distribution center through the communication component, wherein the identity information of the concentrator includes the area and serial number of the concentrator; then using the key distribution center to respond to the meter key application instruction, randomly generate an encryption matrix with a dimension matching the number of several IMF components, and then bundle the encryption matrix with the meter information and transmit it back to the microprocessor through the communication component.
[0048] It should be noted that after the key distribution center transmits the encryption matrix back to the microprocessor, it should also copy the encryption matrix to obtain an encryption matrix copy, and then bundle the encryption matrix copy with the meter information and the identity information of the concentrator and upload it to the remote data center, so that the remote data center has a confirmed data decryption basis when receiving the encrypted transmission data packet transmitted by the microprocessor.
[0049] In the embodiment of the present invention, the EMD (Empirical Mode Decomposition) algorithm has instability and mode aliasing problems when decomposing the original data; the EEMD (Ensemble Empirical Mode Decomposition) algorithm can solve the mode aliasing problem of the EMD algorithm when adding the statistical characteristics of the uniform distribution of the Gaussian white noise spectrum to the original data and decomposing it, but there are certain errors in the reconstruction process of the original data; on this basis, in order to ensure the integrity of the original data in the process of first decomposition and then reconstruction, it is proposed to use the CEEMD algorithm with better performance to decompose each power consumption data, wherein the power consumption data transmitted by the electric energy meter is actually the user side load data, and the specific implementation process includes the following steps:
[0050] (1) Add Gaussian white noise w(n) to the electricity consumption data x(n), where the mean of the Gaussian white noise w(n) is 0 and the variance is 1, and construct the current data to be decomposed as x(n)+ε 0 w(n) is then subjected to m EMD decompositions to obtain the first IMF component:
[0051]
[0052] (2) Calculate the first-order residual as r 1 (n) = x(n) - IMF 1 (n), in the first-order residual r 1 (n) is added with the Gaussian white noise w(n), and the current data to be decomposed is constructed as r 1 (n)+ε 1 E 1 [w(n)] is then subjected to m EMD decompositions to obtain the second IMF component:
[0053]
[0054] (3) The k-th order residual is calculated as r k (n) = r k-1 (n)-IMF k (n), where k = 2, 3, 4, ..., K, K is the maximum number of decompositions allowed, in the k-th order residual r k (n) is added with the Gaussian white noise w(n), and the current data to be decomposed is constructed as r k (n)+ε k E k [w(n)] is then subjected to m EMD decompositions to obtain the k+1th IMF component:
[0055]
[0056] (4) Execute the above step (3) repeatedly until the residual extreme value is no more than two. At this time, the electricity consumption data x(n) can be finally expressed as:
[0057]
[0058] Among them, ε i is the signal-to-noise ratio coefficient set for the i-th decomposition stage, E i Refers to the EMD decomposition operator symbol used in the i-th decomposition stage.
[0059] In an embodiment of the present invention, the encryption processing process of the several IMF components using the encryption matrix corresponding to the electricity consumption data is: multiplying the i-th column data in the encryption matrix with the i-th IMF component among the several IMF components, where i=1,2,3,...,N; that is, multiplying the first column data in the encryption matrix with the first IMF component among the several IMF components, multiplying the second column data in the encryption matrix with the second IMF component among the several IMF components, and so on to complete the encryption processing of the several IMF components.
[0060] When executing the above step S103, since each electricity consumption data copy is the electricity consumption data of this month transmitted by the corresponding electricity meter, first, based on the electricity meter corresponding to each of the several electricity consumption data copies, the historical electricity consumption data of the electricity meter in the last week of the previous month is called from the memory; secondly, taking seven days as a electricity consumption cycle, the electricity consumption data copy and its corresponding historical electricity consumption data are divided into several electricity consumption cycle data, and it is ensured that there is only one day of electricity consumption data that does not overlap between two adjacent electricity consumption cycle data in the several electricity consumption cycle data, that is, there is a electricity consumption cycle data whose collection time is from May 1 to May 7, and the collection time of the next adjacent electricity consumption cycle data is from May 2 to May 8; then the average electricity consumption corresponding to each electricity consumption cycle data in the several electricity consumption cycle data is calculated, and then the difference in the average electricity consumption between two adjacent electricity consumption cycle data is calculated.
[0061] On this basis, the generation process of electricity usage behavior labels is stipulated as follows: after determining that the difference in average electricity consumption between any two adjacent electricity usage cycle data is less than a preset threshold, an electricity usage behavior label corresponding to the electricity usage data copy and recording normal electricity usage information is generated, and the electricity usage data copy is stored in the memory; or, after determining that the difference in average electricity consumption between any two adjacent electricity usage cycle data is greater than the preset threshold, an electricity usage behavior label corresponding to the electricity usage data copy and recording suspected electricity theft information is generated.
[0062] When executing the above step S104, there is a corresponding electricity usage data copy for any electricity usage data. The electricity usage data is decomposed and encrypted by the encryption processing component to obtain an encrypted data packet, and the electricity usage data copy is processed by the electricity theft detection component to obtain an electricity usage behavior label after the electricity theft detection component performs electricity usage anomaly detection. At this time, the microprocessor is used to bundle the encrypted data packet with the electricity usage behavior label.
[0063] Before executing the above step S105, it also includes: first, using the microprocessor to generate a transmission encryption application instruction according to the identity information of the concentrator, and then transmitting the transmission encryption application instruction to the key distribution center through the communication component; secondly, using the key distribution center to respond to the transmission encryption application instruction, based on the existing asymmetric encryption algorithm, generate a public key and a private key used to match the public key, and then transmit the public key back to the microprocessor through the communication component; at the same time, using the key distribution center to bundle the private key with the identity information of the concentrator and upload it to the remote data center, so that the remote data center has a confirmed transmission decryption basis when receiving the encrypted transmission data packet transmitted by the microprocessor.
[0064] In the embodiment of the present invention, by preferentially detecting electricity theft and binding tags to a plurality of electricity consumption data transmitted by a plurality of electricity meters, the remote data center can be directly provided with objects of investigation and concern, so as to reduce the workload of the remote data center. By using the CEEMD algorithm in conjunction with a randomly generated encryption matrix to decompose and encrypt a plurality of electricity consumption data transmitted by a plurality of electricity meters, and then using a public key to re-encrypt the transmission data packet formed after the initial encryption, the security and reliability of the data transmission process can be ensured.
[0065] Although the description of the present application has been quite detailed and specifically describes several described embodiments, it is not intended to be limited to any of these details or embodiments or any particular embodiment, but should be regarded as providing a broad possible interpretation of these claims by reference to the attached claims, taking into account the prior art, so as to effectively cover the intended scope of the present application. In addition, the above description of the present application is based on the embodiments foreseeable by the inventor, and its purpose is to provide a useful description, and those non-substantial changes to the present application that have not yet been foreseen may still represent equivalent changes to the present application.
Claims
1. A method for local detection and remote encrypted transmission of electric meter data. It is characterized in that The method is applied in a remote meter reading management system, which includes a concentrator, a key distribution center, a remote data center and several electric energy meters, wherein the concentrator includes a microprocessor, a memory, an electricity theft detection component, an encryption processing component and a communication component; the method includes: Using the microprocessor to copy the plurality of power consumption data transmitted by the plurality of power meters to obtain a plurality of power consumption data copies; Using the encryption processing component to decompose and encrypt the plurality of power consumption data one by one to obtain a plurality of encrypted data packets; Using the electricity theft detection component to perform electricity usage anomaly detection on the plurality of electricity usage data copies one by one to generate a plurality of electricity usage behavior labels; Using the microprocessor to correspondingly bundle the plurality of encrypted data packets and the plurality of power usage behavior tags, and then encapsulating the plurality of encrypted data packets bundled with the tags into a transmission data packet; Using the microprocessor to perform public key encryption on the transmission data packet, and then transmitting the encrypted transmission data packet to the remote data center through the communication component; The encryption processing component is used to decompose and encrypt the plurality of power consumption data one by one to obtain a plurality of encrypted data packets including: Decomposing each of the plurality of electricity consumption data based on the CEEMD algorithm to obtain a plurality of IMF components corresponding to each of the electricity consumption data; Encrypting the plurality of IMF components using an encryption matrix corresponding to the electricity consumption data, and then encapsulating the encrypted plurality of IMF components into an encrypted data packet, wherein the dimension of the encryption matrix is 1×N, N is the number of the plurality of IMF components, N>0 and N is a positive integer; The step of using the electricity theft detection component to perform electricity usage anomaly detection on the plurality of electricity usage data copies one by one to generate a plurality of electricity usage behavior labels includes: Based on the electric energy meter corresponding to each of the plurality of electric energy data copies, calling the historical electric energy data of the electric energy meter in the last week of the previous month from the memory; Taking seven days as one electricity usage cycle, the electricity usage data copy and its corresponding historical electricity usage data are divided into a number of electricity usage cycle data, wherein there is only one day of electricity usage data that does not overlap between two adjacent electricity usage cycle data in the number of electricity usage cycle data; Calculating the average power consumption corresponding to each of the plurality of power consumption cycle data, and then calculating the difference between the average power consumption of two adjacent power consumption cycle data; When it is determined that the difference in average power consumption between any two adjacent power consumption cycle data is less than a preset threshold, a power consumption behavior label corresponding to the power consumption data copy and recording normal power consumption information is generated, and the power consumption data copy is stored in the memory; When it is determined that the difference in average power consumption between two adjacent power consumption cycle data is greater than the preset threshold, a power consumption behavior label corresponding to the power consumption data copy and recording suspected power theft information is generated.
2. The method for on-site detection and remote encrypted transmission of electric meter data according to claim 1, It is characterized in that The step of encrypting the plurality of IMF components using the encryption matrix corresponding to the electricity consumption data comprises: The i-th column data in the encryption matrix is multiplied by the i-th IMF component among the plurality of IMF components, where i=1,2,3,...,N.
3. The method for on-site detection and remote encrypted transmission of electric meter data according to claim 1, It is characterized in that Before encrypting the plurality of IMF components using the encryption matrix corresponding to the electricity consumption data, the method further includes: Feedback the number of the plurality of IMF components and meter information associated with the electricity consumption data to the microprocessor using the encryption processing component; Using the microprocessor to generate a meter key application instruction according to the number of the plurality of IMF components, the meter information associated with the power consumption data, and the identity information of the concentrator, and then transmitting the meter key application instruction to the key distribution center through the communication component; Using the key distribution center to respond to the meter key application instruction, randomly generate an encryption matrix whose dimension matches the number of several IMF components, and then bundle the encryption matrix with the meter information and transmit it back to the microprocessor through the communication component; The encryption matrix is copied by using the key distribution center to obtain an encryption matrix copy, and then the encryption matrix copy is bundled with the meter information and the identity information of the concentrator and uploaded to the remote data center to perform data decryption operations.
4. The method for on-site detection and remote encrypted transmission of electric meter data according to claim 3, It is characterized in that The meter information associated with the electricity consumption data includes the serial number of the electric energy meter corresponding to the electricity consumption data and the serial number of the concentrator to which the electric energy meter belongs; the identity information of the concentrator includes the region and serial number of the concentrator.
5. The method for local detection and remote encrypted transmission of electric meter data according to claim 1, It is characterized in that Before the microprocessor is used to perform public key encryption on the transmission data packet, the method further comprises: Using the microprocessor to generate a transmission encryption application instruction according to the identity information of the concentrator, and then transmitting the transmission encryption application instruction to the key distribution center through the communication component; The key distribution center is used to respond to the transmission encryption application instruction, a public key and a private key used in conjunction with the public key are generated based on an asymmetric encryption algorithm, and the public key is then transmitted back to the microprocessor through the communication component; The private key is bundled with the identity information of the concentrator by the key distribution center and then uploaded to the remote data center to perform the transmission decryption operation.
