Electric energy data abnormity detection method and device, electronic equipment and medium

By obtaining the power data and line attribute information of the power distribution system, calculating the line power loss results and inputting them into the anomaly detection model, the problem of low detection accuracy in the existing technology is solved and higher anomaly detection accuracy is achieved.

CN118690225AActive Publication Date: 2024-09-24TONGLIAN (SHENZHEN) DIGITAL TECH GRP CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202410690903.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-30
Publication Date
2024-09-24
Estimated Expiration
2044-05-30

AI Technical Summary

Technical Problem

Existing power distribution system anomaly detection methods fail to effectively consider the additional power loss, resulting in low detection accuracy.

Method used

By obtaining the power data and line attribute information of the power distribution system, the line power loss results are calculated, and these data are input into the pre-trained anomaly detection model to improve detection accuracy.

Benefits of technology

The accuracy of abnormality detection in the power distribution system is improved, and the additional power loss and various detection data of the power distribution system are comprehensively considered.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690225A
    Figure CN118690225A
Patent Text Reader

Abstract

The embodiment of the invention provides an electric energy data abnormity detection method and device, electronic equipment and a storage medium. The electric energy data abnormity detection method comprises the steps of obtaining electric energy data of a power distribution system and line attribute information of each power distribution line in the power distribution system; obtaining a line electric energy loss result corresponding to each distribution line based on the circuit detection data and the line attribute information corresponding to each distribution line; and inputting the line electric energy loss result, the circuit detection data, the electrical load data and the equipment monitoring data corresponding to each distribution line into a pre-trained anomaly detection model to obtain an anomaly detection result of the power distribution system. According to the technical scheme of the embodiment of the invention, the accuracy of anomaly detection of the power distribution system is effectively improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of power data processing, and more specifically, to a method, device, electronic device and computer-readable medium for detecting power data anomalies. Background Art

[0002] The power distribution system is a system that distributes and provides electrical energy to various electrical devices. When the power distribution system is running, in order to ensure the safety and stability of electricity use, it is necessary to monitor whether there are any abnormalities in the power distribution system so that timely repairs can be made when problems occur to ensure stable power supply.

[0003] At present, the monitoring of the distribution system is usually limited to the detection of the power supply data of the distribution system. This detection method does not take into account the impact of the additional power loss of the distribution system on the abnormal detection of the distribution system, which leads to low accuracy of abnormal detection of the distribution system. Summary of the invention

[0004] The embodiments of the present application provide a method, device, electronic device and computer-readable medium for detecting anomalies in electric energy data, which effectively improve the accuracy of anomaly detection in a power distribution system.

[0005] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by the practice of the present application.

[0006] According to one aspect of an embodiment of the present application, a method for detecting anomalies in electric energy data is provided, comprising: acquiring electric energy data of a power distribution system and line attribute information of each distribution line in the power distribution system, the electric energy data comprising circuit detection data of each distribution line in the power distribution system, power load data of each user's electric equipment in the power distribution system, and equipment monitoring data of each distribution equipment in the power distribution system; obtaining line power loss results corresponding to each distribution line based on the circuit detection data and the line attribute information corresponding to each distribution line; inputting the line power loss results corresponding to each distribution line, the circuit detection data, the power load data, and the equipment monitoring data into a pre-trained anomaly detection model to obtain an anomaly detection result of the power distribution system.

[0007] Optionally, the circuit detection data includes voltage detection data, current detection data and temperature detection data corresponding to each sub-circuit in the distribution line, and the line attribute information includes wire length data, wire cross-section data, wire resistance data and wire reactance data corresponding to each sub-circuit in the distribution line. The line power loss results corresponding to each distribution line are obtained based on the circuit detection data and the line attribute information corresponding to each distribution line, including: for each distribution line, based on the voltage detection data, the current detection data, the temperature detection data, the wire length data, the wire cross-section data, the wire resistance data and the wire reactance data corresponding to each sub-circuit in the distribution line, obtaining the line power loss results corresponding to each sub-circuit in the distribution line; for each distribution line, based on the line power loss results corresponding to each sub-circuit in the distribution line, obtaining the line power loss results corresponding to the distribution line.

[0008] Optionally, after inputting the line power loss results, the circuit detection data, the power load data and the equipment monitoring data corresponding to each distribution line into a pre-trained anomaly detection model to obtain the anomaly detection result of the distribution system, the detection of power data anomalies also includes: creating an anomaly detection form for the distribution system; importing the anomaly detection results, the circuit detection data, the power load data and the equipment monitoring data into the anomaly detection form; encrypting the data in the anomaly detection form based on the system identification information to obtain target encrypted data; associating the target encrypted data with the system identification information corresponding to the distribution system and storing it in the anomaly detection database corresponding to the distribution system.

[0009] Optionally, encrypting the data in the anomaly detection form based on the system identification information to obtain target encrypted data includes: classifying the data in the anomaly detection form to obtain user privacy data and non-user privacy data, wherein the user privacy data includes the power load data, and the non-user privacy data includes the circuit detection data, the equipment monitoring data and the anomaly detection result; encoding the system identification information through a standard Base64 encoding table to obtain coded characters; determining that the numeric character that appears most frequently in the coded characters is the first identification character and the numeric character that appears least frequently in the system identification information is the second identification character; and sequentially encoding the first identification character and the The second identification characters are combined to obtain a combined identification character; the combined identification character is added to a specific position of the user privacy data to obtain the added user privacy data; based on the total number of characters of the first identification character, a corresponding first encryption algorithm is matched in a preset multiple encryption algorithm library, and based on the total number of characters of the second identification character, a corresponding second encryption algorithm is matched in a preset multiple encryption algorithm library; based on the first encryption algorithm, the added user privacy data is encrypted to obtain first encrypted data, and based on the second encryption algorithm, the non-user privacy data is encrypted to obtain second encrypted data; based on the first encrypted data and the second encrypted data, the target encrypted data is generated.

[0010] Optionally, encrypting the data in the anomaly detection form based on the system identification information to obtain target encrypted data includes: classifying the data in the anomaly detection form to obtain user privacy data and non-user privacy data, wherein the user privacy data includes the power load data, and the non-user privacy data includes the circuit detection data, the equipment monitoring data and the anomaly detection result; determining the total number of characters of the first category of characters and the total number of characters of the second category of characters in the system identification information; matching a corresponding third encryption algorithm in a preset plurality of encryption algorithm libraries based on the total number of characters of the first category of characters, and matching a corresponding fourth encryption algorithm in a preset plurality of encryption algorithm libraries based on the total number of numeric characters of the second category of characters; encrypting the user privacy data based on the third encryption algorithm to obtain first initial encrypted data, and encrypting the non-user privacy data based on the fourth encryption algorithm to obtain second initial encrypted data; generating an encryption password based on the first initial encrypted data and the second initial encrypted data; performing secondary encryption on the data of the first initial encrypted data based on the encryption password to obtain secondary encrypted data; generating the target encrypted data based on the secondary encrypted data and the second initial encrypted data.

[0011] According to one aspect of an embodiment of the present application, a device for detecting anomalies in electric energy data is provided, comprising: an acquisition unit, used to acquire electric energy data of a power distribution system and line attribute information of each distribution line in the power distribution system, the electric energy data including circuit detection data of each distribution line in the power distribution system, power load data of each user's electric equipment in the power distribution system and equipment monitoring data of each distribution equipment in the power distribution system; an electric energy loss determination unit, used to obtain line electric energy loss results corresponding to each distribution line based on the circuit detection data and the line attribute information corresponding to each distribution line; an anomaly detection unit, used to input the line electric energy loss results corresponding to each distribution line, the circuit detection data, the power load data and the equipment monitoring data into a pre-trained anomaly detection model to obtain an anomaly detection result of the power distribution system.

[0012] Optionally, the circuit detection data includes voltage detection data, current detection data and temperature detection data corresponding to each sub-circuit in the distribution line, the line attribute information includes wire length data, wire cross-section data, wire resistance data and wire reactance data corresponding to each sub-circuit in the distribution line, and the power loss determination unit includes: a first calculation subunit, used to obtain, for each distribution line, line power loss results corresponding to each sub-circuit in the distribution line based on the voltage detection data, the current detection data, the temperature detection data, the wire length data, the wire cross-section data, the wire resistance data and the wire reactance data corresponding to each sub-circuit in the distribution line; and a second calculation subunit, used to obtain, for each distribution line, line power loss results corresponding to the distribution line based on the line power loss results corresponding to each sub-circuit in the distribution line.

[0013] Optionally, the device for detecting anomalies in electric energy data further includes: a creation unit for creating an anomaly detection form for the power distribution system; an import unit for importing the anomaly detection result, the circuit detection data, the power load data and the equipment monitoring data into the anomaly detection form; an encryption unit for encrypting the data in the anomaly detection form based on the system identification information to obtain target encrypted data; a storage unit for associating the target encrypted data with the system identification information corresponding to the power distribution system and storing it in an anomaly detection database corresponding to the power distribution system. According to one aspect of an embodiment of the present application, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method for detecting anomalies in electric energy data as described in the above embodiments.

[0014] According to one aspect of an embodiment of the present application, a computer-readable medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the method for detecting anomalies in electric energy data as described in the above embodiment is implemented.

[0015] In the technical solutions provided in some embodiments of the present application, by acquiring the circuit detection data of each distribution line in the distribution system, the power load data of each user's power equipment in the distribution system, the equipment monitoring data of each distribution equipment in the distribution system, and the line attribute information of each distribution line in the distribution system, and based on the circuit detection data and line attribute information corresponding to each distribution line, the line power loss results corresponding to each distribution line are obtained; the line power loss results, circuit detection data, power load data and equipment monitoring data corresponding to each distribution line are input into a pre-trained anomaly detection model to obtain the anomaly detection results of the distribution system. Since this method comprehensively considers the additional power loss of the distribution system and various detection data of the distribution system to perform anomaly detection, it can effectively improve the accuracy of anomaly detection for the distribution system.

[0016] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In the drawings: Figure 1 A flow chart of a method for detecting abnormal power data according to an embodiment of the present application is shown.

[0018] Figure 2 A block diagram of a device for detecting abnormal power data according to an embodiment of the present application is shown.

[0019] Figure 3 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0020] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.

[0021] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, components, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.

[0022] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.

[0023] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.

[0024] refer to Figure 1 , Figure 1 A flow chart of a method for detecting abnormal power data according to an embodiment of the present application is shown. The method for detecting abnormal power data in this embodiment at least includes steps S110 to S130, which are described in detail as follows.

[0025] Step S110, acquiring electric energy data of the power distribution system and line attribute information of each distribution line in the power distribution system, the electric energy data including circuit detection data of each distribution line in the power distribution system, power load data of each user's electric equipment in the power distribution system, and equipment monitoring data of each distribution equipment in the power distribution system; Step S120, obtaining the line power loss result corresponding to each distribution line based on the circuit detection data and line attribute information corresponding to each distribution line; Step S130, inputting the line power loss results, circuit detection data, power load data and equipment monitoring data corresponding to each distribution line into the pre-trained anomaly detection model to obtain the anomaly detection results of the distribution system.

[0026] As described in the above step S110, the power distribution system refers to a system used to deliver the electric energy generated by a power plant or other power station to various power users through transformer, distribution, control, protection and other equipment. The power distribution system includes three categories of equipment: user power equipment, distribution lines and distribution equipment. User power equipment is the power equipment used by the user terminal, the distribution line is the cable line or wire line used to transmit electric energy to the end user, and the distribution equipment includes generators, transformer equipment, circuit switch equipment, circuit protection equipment, distribution boards, distribution boxes and other various power equipment for achieving the purpose of power distribution.

[0027] As described in the above step S110, the electric energy data includes the circuit detection data of each distribution line in the distribution system, the power load data of each user's electric equipment in the distribution system, and the equipment monitoring data of each distribution equipment in the distribution system. The circuit detection data of the distribution line includes voltage detection data, current detection data, and temperature detection data. It can be understood that the data can be detected in a time series manner, which is not limited here. The power load data of the user's electric equipment refers to the electric energy consumed by these devices in a specific time period. It can include real-time load, rated load, load curve, etc. The equipment monitoring data of the distribution equipment includes the operating status information of the distribution equipment and the circuit-related detection parameters of the distribution equipment. The detection parameters of different types of distribution equipment may be different. For example, the equipment monitoring data of the generator includes parameters such as output power, voltage, frequency, etc., and the transformer includes input voltage, output voltage and temperature. All of the above data can be obtained by real-time monitoring of sensors or monitoring equipment set at corresponding positions in the distribution system.

[0028] The line attribute information of the distribution line is a kind of attribute information reflecting the power characteristics of the cables or wires in the distribution line. It may include wire length data, wire cross-section data, wire resistance data and wire reactance data corresponding to each sub-line in the distribution line.

[0029] As described in the above step S120, based on the circuit detection data and line attribute information corresponding to each distribution line, the line power loss result corresponding to each distribution line can be obtained through an energy consumption calculation algorithm or an energy consumption calculation formula. The line power loss result is the power loss of the distribution system when transmitting on the distribution line.

[0030] In one embodiment, step S120 of obtaining the line power loss results corresponding to each distribution line based on the circuit detection data and line attribute information corresponding to each distribution line includes: For each distribution line, based on the voltage detection data, current detection data, temperature detection data, wire length data, wire cross-section data, wire resistance data and wire reactance data corresponding to each sub-line in the distribution line, the line power loss result corresponding to each sub-line in the distribution line is obtained; For each distribution line, based on the line power loss results corresponding to each sub-line in the distribution line, the line power loss result corresponding to the distribution line is obtained.

[0031] As described above, for each distribution line, when calculating the line power loss result of the distribution line, the line power loss result corresponding to each sub-line in the distribution line can be obtained by firstly using the voltage detection data, current detection data, temperature detection data, wire length data, wire cross-section data, wire resistance data and wire reactance data corresponding to each sub-line in the distribution line. It can be understood that the sub-lines on the distribution line can be divided according to the wire attributes or circuit attributes on the distribution line. The line power loss results corresponding to each sub-line in the distribution line are calculated as a whole to obtain the line power loss result corresponding to the distribution line.

[0032] In this embodiment, the distribution line is divided according to the conductor attributes or circuit attributes, and the line power loss results corresponding to each sub-line in the distribution line are first calculated, and then an overall calculation is performed based on the line power loss results corresponding to each sub-line in the distribution line to obtain the line power loss results corresponding to the distribution line. Compared with the method of directly calculating the line power loss results corresponding to the distribution line at one time, the method of first calculating the line power loss results of the distribution line in sections and then performing an overall calculation can effectively improve the accuracy of the calculated line power loss results corresponding to each distribution line.

[0033] As described in the above step S130, the pre-trained abnormality detection model is obtained by training the machine learning model with the detection data related to the distribution system as the training data set. Specifically, each training data in the training data set includes the line power loss results, circuit detection data, power load data, equipment monitoring data corresponding to each distribution line, and the real abnormality detection results of the distribution system at this time. It can be understood that since the above data contains time series data, the trained machine learning model in this embodiment can be specifically a model for processing time series data, such as a recurrent neural network (RNN, Recurrent Neural Network) model, or a long short-term memory network (LSTM, Long Short-Term Memory) model, or other models derived from the recurrent neural network model or the long short-term memory network model, which are not limited here. The process of training the machine learning model is to adjust the various coefficients in the network structure corresponding to the machine learning model, so that for the line power loss results, circuit detection data, power load data and equipment monitoring data corresponding to each input distribution line, after the various coefficients in the network structure corresponding to the machine learning model are calculated, the output result is the predicted abnormality detection result of the distribution system.

[0034] In the technical solution of the present embodiment, by acquiring the circuit detection data of each distribution line in the distribution system, the power load data of each user's power equipment in the distribution system, the equipment monitoring data of each distribution equipment in the distribution system and the line attribute information of each distribution line in the distribution system, and based on the circuit detection data and line attribute information corresponding to each distribution line, the line power loss results corresponding to each distribution line are obtained; the line power loss results, circuit detection data, power load data and equipment monitoring data corresponding to each distribution line are input into a pre-trained anomaly detection model to obtain the anomaly detection results of the distribution system. Since this method comprehensively considers the additional power loss of the distribution system and various detection data of the distribution system to perform anomaly detection, it can effectively improve the accuracy of anomaly detection for the distribution system.

[0035] In one embodiment, the detection of abnormal power data further includes: An anomaly detection form for the power distribution system is created; the anomaly detection form is used to store anomaly detection result data of the power distribution system.

[0036] The abnormal detection results, circuit detection data, power load data and equipment monitoring data are imported into the abnormal detection form; when storing the abnormal detection result data of the distribution system, the abnormal detection result data can be stored together with the circuit detection data, power load data and equipment monitoring data, so as to facilitate the analysis and evaluation of the causes, impacts and solutions of the abnormalities in the distribution system.

[0037] Based on the system identification information, the data in the anomaly detection form is encrypted to obtain encrypted data; the encrypted data is associated with the system identification information corresponding to the power distribution system and stored in the anomaly detection database corresponding to the power distribution system.

[0038] In this embodiment, after obtaining the abnormal detection results of the power distribution system, in order to facilitate the analysis of the specific cause of the fault, the abnormal detection result data can be associated with the circuit detection data, power load data and equipment monitoring data and stored together, thereby facilitating the analysis and evaluation of the causes, impact levels and solutions of the abnormalities in the power distribution system. By encrypting the data in the abnormal detection form to obtain encrypted data, and associating the encrypted data with the system identification information corresponding to the power distribution system and storing it in the abnormal detection database corresponding to the power distribution system, it is possible to avoid being able to arbitrarily view the power load data of the user's power equipment corresponding to the user, effectively prevent the leakage of user data, and improve data security.

[0039] In one embodiment, in order to further improve the security of data, this embodiment provides a new encryption method. Specifically, based on the system identification information, the data in the anomaly detection form is encrypted to obtain the encrypted data. The data encryption method includes: The data in the anomaly detection form is classified to obtain user privacy data and non-user privacy data, wherein the user privacy data includes power load data, and the non-user privacy data includes circuit detection data, equipment monitoring data and anomaly detection results.

[0040] The system identification information is encoded using a standard Base64 encoding table to obtain encoded characters; the standard Base64 encoding table includes 64 serial numbers and 64 encoded characters mapped to the 64 serial numbers, and the encoded characters include numbers and uppercase and lowercase English letters.

[0041] It is determined that the numeric character that appears most times in the coded characters is the first identification character and the numeric character that appears least times in the system identification information is the second identification character.

[0042] The first identification character and the second identification character are combined in sequence to obtain a combined identification character.

[0043] The combined identification characters are added to a specific position of the user privacy data to obtain the added user privacy data; the specific position may be the beginning, end or middle of the user privacy data, etc., which is not limited here.

[0044] A corresponding first encryption algorithm is matched in a preset multiple encryption algorithm library based on the total number of characters of the first identification character, and a corresponding second encryption algorithm is matched in a preset multiple encryption algorithm library based on the total number of characters of the second identification character; the encryption algorithm library includes multiple encryption algorithms such as DES encryption algorithm, AES encryption algorithm, IDEA encryption algorithm, etc., and the encryption algorithm library pre-stores a one-to-one mapping relationship between the total number of characters and each algorithm.

[0045] The added user privacy data is encrypted based on a first encryption algorithm to obtain first encrypted data, and the non-user privacy data is encrypted based on a second encryption algorithm to obtain second encrypted data.

[0046] Based on the first encrypted data and the second encrypted data, target encrypted data is generated.

[0047] In the scheme of this embodiment, the system identification information of the power distribution system is processed through specific complex logic to generate specific calibration characters, and the specific characters are added to user privacy data such as power load data and then encrypted again. Even if the encrypted data is illegally obtained by criminals, it is difficult to easily obtain user privacy data, thereby significantly improving data security.

[0048] In one embodiment, in order to further improve the security of data, this embodiment provides a new encryption method. Specifically, based on the system identification information, the data in the anomaly detection form is encrypted to obtain the encrypted data. The data encryption method includes: Classify the data in the anomaly detection form to obtain user privacy data and non-user privacy data, wherein the user privacy data includes power load data, and the non-user privacy data includes circuit detection data, equipment monitoring data and anomaly detection results; The total number of characters of the first category of characters and the total number of characters of the second category of characters in the system identification information are determined; the first category of characters and the second category of characters are characters of different categories, such as letters or numbers.

[0049] A corresponding third encryption algorithm is matched in a preset multiple encryption algorithm library based on the total number of characters of the first category of characters, and a corresponding fourth encryption algorithm is matched in a preset multiple encryption algorithm library based on the total number of characters of the second category of characters; the encryption algorithm library includes multiple encryption algorithms such as DES encryption algorithm, AES encryption algorithm, IDEA encryption algorithm, etc., and the encryption algorithm library pre-stores a one-to-one mapping relationship between the total number of characters and each algorithm.

[0050] The user privacy data is encrypted based on a third encryption algorithm to obtain first initial encrypted data, and the non-user privacy data is encrypted based on a fourth encryption algorithm to obtain second initial encrypted data; an encrypted password is generated based on the first initial encrypted data and the second initial encrypted data; when generating an encrypted password based on the first initial encrypted data and the second initial encrypted data, each character in the initial encrypted data can be input into the first set in sequence; each character in the second initial encrypted data can be input into the second set in sequence; the intersection of the first set and the second set is calculated, and the intersection characters in the intersection are obtained as the encrypted password; if the first set and the second set do not have an intersection, the same characters at specified positions in the first set and the second set are obtained and combined, and the obtained combined characters are used as the encrypted password.

[0051] Performing secondary encryption on the first initially encrypted data based on the encryption password to obtain secondary encrypted data; Based on the secondary encrypted data and the second initial encrypted data, target encrypted data is generated.

[0052] In the solution of this embodiment, user privacy data such as power load data is double-encrypted using the above-mentioned complex and novel encryption method. Even if the encrypted data is illegally obtained by criminals, it is difficult to easily decrypt and crack the data to obtain the user privacy data, thereby significantly improving data security.

[0053] The following describes an apparatus embodiment of the present application, which can be used to execute the method for detecting abnormal power data in the above-mentioned embodiment of the present application. For details not disclosed in the apparatus embodiment of the present application, please refer to the embodiment of the method for detecting abnormal power data in the above-mentioned embodiment of the present application.

[0054] Figure 2 A block diagram of a device for detecting abnormal power data according to an embodiment of the present application is shown.

[0055] Reference Figure 2As shown, according to an embodiment of the present application, the power data anomaly detection device 200 includes: a first acquisition unit 210, a power loss determination unit 220 and an anomaly detection unit 230. The first acquisition unit 210 is used to acquire the power data of the distribution system and the line attribute information of each distribution line in the distribution system, the power data including the circuit detection data of each distribution line in the distribution system, the power load data of each user's power equipment in the distribution system and the equipment monitoring data of each distribution equipment in the distribution system; the power loss determination unit 220 is used to obtain the line power loss results corresponding to each distribution line based on the circuit detection data and the line attribute information corresponding to each distribution line; the anomaly detection unit 230 is used to input the line power loss results corresponding to each distribution line, the circuit detection data, the power load data and the equipment monitoring data into the pre-trained anomaly detection model to obtain the anomaly detection result of the distribution system.

[0056] In some embodiments of the present application, based on the aforementioned scheme, the circuit detection data includes voltage detection data, current detection data and temperature detection data corresponding to each sub-circuit in the distribution line, and the line attribute information includes wire length data, wire cross-section data, wire resistance data and wire reactance data corresponding to each sub-circuit in the distribution line. The power loss determination unit 220 includes: a first calculation subunit, which is used to obtain, for each distribution line, the line power loss result corresponding to each sub-circuit in the distribution line based on the voltage detection data, the current detection data, the temperature detection data, the wire length data, the wire cross-section data, the wire resistance data and the wire reactance data corresponding to each sub-circuit in the distribution line; and a second calculation subunit, which is used to obtain, for each distribution line, the line power loss result corresponding to the distribution line based on the line power loss result corresponding to each sub-circuit in the distribution line.

[0057] In some embodiments of the present application, based on the aforementioned scheme, the device for detecting anomalies in electric energy data also includes: a creation unit, used to create an anomaly detection form for the power distribution system; an import unit, used to import the anomaly detection results, the circuit detection data, the power load data and the equipment monitoring data into the anomaly detection form; an encryption unit, used to encrypt the data in the anomaly detection form based on the system identification information to obtain target encrypted data; a storage unit, used to associate the target encrypted data with the system identification information corresponding to the power distribution system and store it in the anomaly detection database corresponding to the power distribution system.

[0058] In some embodiments of the present application, based on the aforementioned scheme, the encryption unit is specifically used to classify the data in the anomaly detection form to obtain user privacy data and non-user privacy data, wherein the user privacy data includes the power load data, and the non-user privacy data includes the circuit detection data, the equipment monitoring data and the anomaly detection result; the system identification information is encoded through a standard Base64 encoding table to obtain an encoded character; the numeric character that appears the most times in the encoded character is determined to be the first identification character and the numeric character that appears the least times in the system identification information is determined to be the second identification character; the first identification character and the second identification character are sequentially encoded. Combine to obtain a combined identification character; add the combined identification character to a specific position of the user privacy data to obtain the added user privacy data; match the corresponding first encryption algorithm in a preset multiple encryption algorithm library based on the total number of characters of the first identification character, and match the corresponding second encryption algorithm in a preset multiple encryption algorithm library based on the total number of characters of the second identification character; encrypt the added user privacy data based on the first encryption algorithm to obtain first encrypted data, and encrypt the non-user privacy data based on the second encryption algorithm to obtain second encrypted data; generate the target encrypted data based on the first encrypted data and the second encrypted data.

[0059] In some embodiments of the present application, based on the aforementioned scheme, the encryption unit is specifically used to classify the data in the anomaly detection form to obtain user privacy data and non-user privacy data, wherein the user privacy data includes the power load data, and the non-user privacy data includes the circuit detection data, the equipment monitoring data and the anomaly detection result; determine the total number of characters of the first category of characters and the total number of characters of the second category of characters in the system identification information; match the corresponding third encryption algorithm in a preset multiple encryption algorithm library based on the total number of characters of the first category of characters, and match the corresponding fourth encryption algorithm in a preset multiple encryption algorithm library based on the total number of numeric characters of the second category of characters; encrypt the user privacy data based on the third encryption algorithm to obtain first initial encrypted data, and encrypt the non-user privacy data based on the fourth encryption algorithm to obtain second initial encrypted data; generate an encryption password based on the first initial encrypted data and the second initial encrypted data; re-encrypt the data of the first initial encrypted data based on the encryption password to obtain secondary encrypted data; generate the target encrypted data based on the secondary encrypted data and the second initial encrypted data.

[0060] Figure 3 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown.

[0061] It should be noted that Figure 3 The computer system 300 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0062] like Figure 3 As shown, the computer system 300 includes a central processing unit (CPU) 301, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 302 or the program loaded from the storage part 308 to the random access memory (RAM) 303, such as executing the method described in the above embodiment. In the RAM 303, various programs and data required for system operation are also stored. The CPU 301, the ROM 302 and the RAM 303 are connected to each other through the bus 304. The input / output (I / O) interface 305 is also connected to the bus 304.

[0063] The following components are connected to the I / O interface 305: an input section 306 including a keyboard, a mouse, etc.; an output section 307 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 308 including a hard disk, etc.; and a communication section 309 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 309 performs communication processing via a network such as the Internet. A drive 310 is also connected to the I / O interface 305 as needed. A removable medium 311, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 310 as needed so that a computer program read therefrom is installed into the storage section 308 as needed.

[0064] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer-readable medium, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 309, and / or installed from a removable medium 311. When the computer program is executed by a central processing unit (CPU) 301, various functions defined in the system of the present application are executed.

[0065] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, device or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier, which carries a computer-readable computer program. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The computer program contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0066] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0067] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.

[0068] As another aspect, the present application also provides a computer-readable medium, which may be included in the electronic device described in the above embodiment; or may exist independently without being assembled into the electronic device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by an electronic device, the electronic device implements the method described in the above embodiment.

[0069] It should be noted that, although several modules or units of the equipment for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present application, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into being embodied by multiple modules or units.

[0070] Through the description of the above implementation methods, it is easy for those skilled in the art to understand that the example implementation methods described here can be implemented by software, or by combining software with necessary hardware. Therefore, the technical solution according to the implementation method of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation method of the present application.

[0071] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.

[0072] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.

Claims

1. A method for detecting abnormal power data, characterized in that: include: Acquire electric energy data of a power distribution system and line attribute information of each distribution line in the power distribution system, wherein the electric energy data includes circuit detection data of each distribution line in the power distribution system, power load data of each user's electric equipment in the power distribution system, and equipment monitoring data of each distribution equipment in the power distribution system; Based on the circuit detection data and the line attribute information corresponding to each distribution line, obtaining the line power loss results corresponding to each distribution line; The line power loss results corresponding to the respective distribution lines, the circuit detection data, the power load data and the equipment monitoring data are input into a pre-trained anomaly detection model to obtain an anomaly detection result of the distribution system.

2. The method for detecting abnormal power data according to claim 1, characterized in that: The circuit detection data includes voltage detection data, current detection data and temperature detection data corresponding to each sub-circuit in the distribution line, the line attribute information includes wire length data, wire cross-section data, wire resistance data and wire reactance data corresponding to each sub-circuit in the distribution line, and the line power loss results corresponding to each distribution line are obtained based on the circuit detection data and the line attribute information corresponding to each distribution line, including: For each of the distribution lines, based on the voltage detection data, the current detection data, the temperature detection data, the wire length data, the wire cross-section data, the wire resistance data, and the wire reactance data corresponding to each of the sub-lines in the distribution line, a line power loss result corresponding to each of the sub-lines in the distribution line is obtained; For each of the distribution lines, based on the line power loss results corresponding to each sub-line in the distribution line, the line power loss results corresponding to the distribution line are obtained.

3. The method for detecting abnormal power data according to claim 1, characterized in that: After inputting the line power loss results corresponding to the respective distribution lines, the circuit detection data, the power load data and the equipment monitoring data into the pre-trained anomaly detection model to obtain the anomaly detection result of the distribution system, the detection of the power data anomaly further includes: Creating an anomaly detection form for the power distribution system; Importing the abnormality detection result, the circuit detection data, the power load data and the equipment monitoring data into the abnormality detection form; Encrypting the data in the anomaly detection form based on the system identification information to obtain target encrypted data; The target encrypted data is associated with the system identification information corresponding to the power distribution system and stored in an abnormality detection database corresponding to the power distribution system.

4. The method for detecting abnormal power data according to claim 3, characterized in that: The step of encrypting the data in the anomaly detection form based on the system identification information to obtain target encrypted data includes: Classifying the data in the anomaly detection form to obtain user privacy data and non-user privacy data, wherein the user privacy data includes the power load data, and the non-user privacy data includes the circuit detection data, the equipment monitoring data and the anomaly detection result; The system identification information is encoded using a standard Base64 encoding table to obtain encoded characters; Determine that the numeric character that appears most times in the coded characters is the first identification character and the numeric character that appears least times in the system identification information is the second identification character; combining the first identification character and the second identification character in sequence to obtain a combined identification character; Adding the combined identification character to a specific position of the user privacy data to obtain the added user privacy data; Matching a corresponding first encryption algorithm in a preset multiple encryption algorithm library based on the total number of characters of the first identification character, and matching a corresponding second encryption algorithm in a preset multiple encryption algorithm library based on the total number of characters of the second identification character; Encrypting the added user privacy data based on the first encryption algorithm to obtain first encrypted data, and encrypting the non-user privacy data based on the second encryption algorithm to obtain second encrypted data; The target encrypted data is generated based on the first encrypted data and the second encrypted data.

5. The method for detecting abnormal power data according to claim 3, characterized in that: The step of encrypting the data in the anomaly detection form based on the system identification information to obtain target encrypted data includes: Classifying the data in the anomaly detection form to obtain user privacy data and non-user privacy data, wherein the user privacy data includes the power load data, and the non-user privacy data includes the circuit detection data, the equipment monitoring data and the anomaly detection result; Determine the total number of characters of the first category and the total number of characters of the second category in the system identification information; Matching a corresponding third encryption algorithm in a preset plurality of encryption algorithm libraries based on the total number of characters in the first category, and matching a corresponding fourth encryption algorithm in a preset plurality of encryption algorithm libraries based on the total number of numeric characters in the second category; Encrypting the user privacy data based on the third encryption algorithm to obtain first initial encrypted data, and encrypting the non-user privacy data based on the fourth encryption algorithm to obtain second initial encrypted data; generating an encryption password based on the first initial encrypted data and the second initial encrypted data; Based on the encryption password, the data of the first initial encrypted data is re-encrypted to obtain re-encrypted data; The target encrypted data is generated based on the secondary encrypted data and the second initial encrypted data.

6. A device for detecting abnormal power data, characterized in that: include: An acquisition unit, used to acquire electric energy data of a power distribution system and line attribute information of each distribution line in the power distribution system, wherein the electric energy data includes circuit detection data of each distribution line in the power distribution system, power load data of each user's electric equipment in the power distribution system, and equipment monitoring data of each distribution equipment in the power distribution system; An electric energy loss determination unit, configured to obtain a line electric energy loss result corresponding to each of the distribution lines based on the circuit detection data and the line attribute information corresponding to each of the distribution lines; The anomaly detection unit is used to input the line power loss results corresponding to each distribution line, the circuit detection data, the power load data and the equipment monitoring data into a pre-trained anomaly detection model to obtain an anomaly detection result of the distribution system.

7. The device for detecting abnormal power data according to claim 6, characterized in that: The circuit detection data includes voltage detection data, current detection data and temperature detection data corresponding to each sub-circuit in the distribution line, the line attribute information includes wire length data, wire cross-section data, wire resistance data and wire reactance data corresponding to each sub-circuit in the distribution line, and the power loss determination unit includes: A first calculation subunit is used for obtaining, for each distribution line, a line power loss result corresponding to each sub-line in the distribution line based on the voltage detection data, the current detection data, the temperature detection data, the wire length data, the wire cross-section data, the wire resistance data, and the wire reactance data corresponding to each sub-line in the distribution line; The second calculation subunit is used to obtain, for each distribution line, a line power loss result corresponding to the distribution line based on the line power loss result corresponding to each sub-line in the distribution line.

8. The device for detecting abnormal power data according to claim 6, characterized in that: The device for detecting abnormal electric energy data further comprises: A creating unit, used for creating an abnormality detection form for the power distribution system; An import unit, used for importing the abnormality detection result, the circuit detection data, the power load data and the equipment monitoring data into the abnormality detection form; An encryption unit, used to encrypt the data in the anomaly detection form based on the system identification information to obtain target encrypted data; A storage unit is used to associate the target encrypted data with the system identification information corresponding to the power distribution system and store it in an abnormality detection database corresponding to the power distribution system.

9. An electronic device, characterized in that: include: one or more processors; A storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, enables the one or more processors to implement the method for detecting abnormal power data as described in any one of claims 1 to 5.

10. A computer readable medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method for detecting abnormal power data according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Abnormal electricity consumption identification method and system

    CN114090646A

  • Low-voltage transformer area line anomaly detection system and method based on voltage drop

    CN115219953A

  • Line loss abnormity judgment method based on line loss dynamic analysis

    CN115982608A

  • Abnormal data detection method and device, electronic equipment and computer storage medium

    CN116028257A

  • Power distribution network line loss anomaly detection method and system based on intelligent algorithm

    CN116298675A