CN112398226A - Power supply system electricity stealing prevention method, system, terminal and storage medium - Google Patents

Power supply system electricity stealing prevention method, system, terminal and storage medium Download PDF

Info

Publication number
CN112398226A
CN112398226A CN202011270279.7A CN202011270279A CN112398226A CN 112398226 A CN112398226 A CN 112398226A CN 202011270279 A CN202011270279 A CN 202011270279A CN 112398226 A CN112398226 A CN 112398226A
Authority
CN
China
Prior art keywords
current
current value
value
time sequence
predicted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011270279.7A
Other languages
Chinese (zh)
Inventor
王光磊
游菲
王泽�
尹加坤
公为刚
师磊
赵建文
李洁
姜玉净
张虓
尉立新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Corp of China SGCC
TaiAn Power Supply Co of State Grid Shandong Electric Power Co Ltd
Original Assignee
State Grid Corp of China SGCC
TaiAn Power Supply Co of State Grid Shandong Electric Power Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Corp of China SGCC, TaiAn Power Supply Co of State Grid Shandong Electric Power Co Ltd filed Critical State Grid Corp of China SGCC
Priority to CN202011270279.7A priority Critical patent/CN112398226A/en
Publication of CN112398226A publication Critical patent/CN112398226A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00001Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by the display of information or by user interaction, e.g. supervisory control and data acquisition systems [SCADA] or graphical user interfaces [GUI]
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R19/00Arrangements for measuring currents or voltages or for indicating presence or sign thereof
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/044Recurrent networks, e.g. Hopfield networks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/04Architecture, e.g. interconnection topology
    • G06N3/049Temporal neural networks, e.g. delay elements, oscillating neurons or pulsed inputs
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00002Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by monitoring
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J13/00Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network
    • H02J13/00006Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment
    • H02J13/00016Circuit arrangements for providing remote indication of network conditions, e.g. an instantaneous record of the open or closed condition of each circuitbreaker in the network; Circuit arrangements for providing remote control of switching means in a power distribution network, e.g. switching in and out of current consumers by using a pulse code signal carried by the network characterised by information or instructions transport means between the monitoring, controlling or managing units and monitored, controlled or operated power network element or electrical equipment using a wired telecommunication network or a data transmission bus
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J2203/00Indexing scheme relating to details of circuit arrangements for AC mains or AC distribution networks
    • H02J2203/20Simulating, e g planning, reliability check, modelling or computer assisted design [CAD]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y04INFORMATION OR COMMUNICATION TECHNOLOGIES HAVING AN IMPACT ON OTHER TECHNOLOGY AREAS
    • Y04SSYSTEMS INTEGRATING TECHNOLOGIES RELATED TO POWER NETWORK OPERATION, COMMUNICATION OR INFORMATION TECHNOLOGIES FOR IMPROVING THE ELECTRICAL POWER GENERATION, TRANSMISSION, DISTRIBUTION, MANAGEMENT OR USAGE, i.e. SMART GRIDS
    • Y04S40/00Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them
    • Y04S40/12Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment
    • Y04S40/124Systems for electrical power generation, transmission, distribution or end-user application management characterised by the use of communication or information technologies, or communication or information technology specific aspects supporting them characterised by data transport means between the monitoring, controlling or managing units and monitored, controlled or operated electrical equipment using wired telecommunication networks or data transmission busses

Abstract

The invention provides a method, a system, a terminal and a storage medium for preventing electricity stealing of a power supply system, wherein the method comprises the following steps: selecting a monitoring node in a power supply system, and acquiring current values of the monitoring node in a monitoring time range to generate a current value array arranged according to acquisition time; calculating the average current value of the current value array, and obtaining a current difference value time sequence by making a difference between each current value of the current value array and the average current value; carrying out normalization processing on the current difference time sequence to obtain a target time sequence, and recording a normalization coefficient of the normalization processing; inputting the target time sequence into a previously trained LSTM model to obtain a predicted value; and converting the predicted value into a predicted current value according to the normalization coefficient and the average current value, judging whether the predicted current value reaches a preset current threshold value, and generating an alarm if the predicted current value reaches the preset current threshold value. The invention can accurately find the abnormity caused by the electricity stealing behavior and can generate the alarm in time.

Description

Power supply system electricity stealing prevention method, system, terminal and storage medium
Technical Field
The invention relates to the technical field of power supply systems, in particular to a method, a system, a terminal and a storage medium for preventing electricity stealing of a power supply system.
Background
Most of the existing electricity stealing detection methods of the power supply system collect historical current values, and the average value or the maximum value of the historical current values is used as a standard parameter for judging the abnormity. Due to the diversity and complexity of power users, this static determination method is not accurate.
Disclosure of Invention
In view of the above-mentioned deficiencies of the prior art, the present invention provides a method, a system, a terminal and a storage medium for preventing power stealing in a power supply system, so as to solve the above-mentioned technical problems.
In a first aspect, the present invention provides a method for preventing electricity stealing of a power supply system, including:
selecting a monitoring node in a power supply system, and acquiring current values of the monitoring node in a monitoring time range to generate a current value array arranged according to acquisition time;
calculating the average current value of the current value array, and obtaining a current difference value time sequence by making a difference between each current value of the current value array and the average current value;
carrying out normalization processing on the current difference time sequence to obtain a target time sequence, and recording a normalization coefficient of the normalization processing;
inputting the target time sequence into a previously trained LSTM model to obtain a predicted value;
and converting the predicted value into a predicted current value according to the normalization coefficient and the average current value, judging whether the predicted current value reaches a preset current threshold value, and generating an alarm if the predicted current value reaches the preset current threshold value.
Further, the acquiring the current value of the monitoring node in the monitoring time range to generate a current value array arranged according to the acquisition time includes:
setting a current value acquisition period;
acquiring the current value of the monitoring node periodically according to the acquisition period;
and screening out the current values in the monitoring time range from the collected current values.
Further, the normalizing the time series of current difference values includes:
taking the maximum current difference value in the current difference value time sequence as the value of the normalization coefficient;
and dividing all current difference values in the current difference value time sequence by the normalization coefficient to obtain a target time sequence.
Further, the method further comprises:
acquiring a historical current value time sequence of a monitoring node, and performing difference and normalization processing on the historical current value time sequence and an average historical current value to obtain a historical target time sequence;
dividing a historical target time sequence into a training set and a data set;
constructing an LSTM model, and training the LSTM model by using a training set;
and testing the trained LSTM models by using the test set to select the optimal LSTM model.
Further, the method further comprises:
arranging the historical current data of the monitoring nodes which normally run according to the time sequence to generate a historical current time sequence;
and clustering the historical current time sequence according to the current values by using a K-mean clustering algorithm, and counting the time periods and the maximum values of various current values to obtain threshold values of a plurality of time periods.
Further, the determining whether the predicted current value reaches the preset current threshold includes:
collecting the time period to which the predicted current value belongs;
searching a corresponding threshold value of the period of the predicted current value;
and judging the predicted current value by using the corresponding threshold value.
In a second aspect, the present invention provides a power supply system anti-theft system, comprising:
the target monitoring unit is configured and used for selecting monitoring nodes in a power supply system, acquiring current values of the monitoring nodes in a monitoring time range and generating a current value array arranged according to acquisition time;
the average difference making unit is configured for calculating the average current value of the current value array and obtaining a current difference value time sequence by making a difference between each current value of the current value array and the average current value;
the normalization processing unit is configured to perform normalization processing on the current difference time sequence to obtain a target time sequence, and record a normalization coefficient of the normalization processing;
the target prediction unit is configured to input the target time sequence into a previously trained LSTM model to obtain a predicted value;
and the abnormal alarm unit is configured for converting the predicted value into a predicted current value according to the normalization coefficient and the average current value, judging whether the predicted current value reaches a preset current threshold value, and generating an alarm if the predicted current value reaches the preset current threshold value.
Further, the system further comprises:
the history generation unit is configured for arranging the history current data of the monitoring nodes which normally run according to the time sequence to generate a history current time sequence;
and the threshold generating unit is configured and used for clustering the historical current time sequence according to the current values by utilizing a K-mean clustering algorithm, and counting the time periods and the maximum values of various current values to obtain the thresholds of a plurality of time periods.
In a third aspect, a terminal is provided, including:
a processor, a memory, wherein,
the memory is used for storing a computer program which,
the processor is used for calling and running the computer program from the memory so as to make the terminal execute the method of the terminal.
In a fourth aspect, a computer storage medium is provided having stored therein instructions that, when executed on a computer, cause the computer to perform the method of the above aspects.
The beneficial effect of the invention is that,
according to the method, the system, the terminal and the storage medium for preventing electricity stealing of the power supply system, the monitoring node is selected in the power supply system, the dynamic rule of the current value of the monitoring node is summarized and predicted, the abnormity caused by the electricity stealing behavior is accurately found, and the alarm can be generated in time.
In addition, the invention has reliable design principle, simple structure and very wide application prospect.
Drawings
In order to more clearly illustrate the embodiments or technical solutions in the prior art of the present invention, the drawings used in the description of the embodiments or prior art will be briefly described below, and it is obvious for those skilled in the art that other drawings can be obtained based on these drawings without creative efforts.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention.
FIG. 2 is a schematic block diagram of a system of one embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make those skilled in the art better understand the technical solution of the present invention, the technical solution in the embodiment of the present invention will be clearly and completely described below with reference to the drawings in the embodiment of the present invention, and it is obvious that the described embodiment is only a part of the embodiment of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
FIG. 1 is a schematic flow diagram of a method of one embodiment of the invention. Wherein, the executive body in fig. 1 can be a power supply system anti-electricity-stealing system.
As shown in fig. 1, the method includes:
110, selecting a monitoring node in a power supply system, and acquiring current values of the monitoring node in a monitoring time range to generate a current value array arranged according to acquisition time;
step 120, calculating an average current value of the current value array, and obtaining a current difference value time sequence by making a difference between each current value of the current value array and the average current value;
step 130, performing normalization processing on the current difference time sequence to obtain a target time sequence, and recording a normalization coefficient of the normalization processing;
step 140, inputting the target time sequence into a previously trained LSTM model to obtain a predicted value;
step 150, converting the predicted value into a predicted current value according to the normalization coefficient and the average current value, and judging whether the predicted current value reaches a preset current threshold value, if so, generating an alarm.
Specifically, the power supply system electricity stealing prevention method comprises the following steps:
s1, selecting a monitoring node in the power supply system, and acquiring the current value of the monitoring node in the monitoring time range to generate a current value array arranged according to the acquisition time.
And selecting important nodes from the topology structure chart of the power supply system as monitoring nodes. This embodiment takes a certain monitoring node as an example for explanation.
Setting the monitoring time range to be 1 year, collecting current values every 1h, and generating a current value array I ═ I of a monitoring nodei=[I1,I2,…,In]。
S2, calculating the average current value of the current value array, and obtaining a current difference value time sequence by making difference between each current value of the current value array and the average current value.
Calculating the current value array I ═ Ii=[I1,I2,…,In]Average value of (2)
Figure BDA0002777498250000061
And obtaining a current difference value time sequence A (A) by subtracting the array from the average valuei=[A1,A2,…,An]
And S3, carrying out normalization processing on the current difference time sequence to obtain a target time sequence, and recording a normalization coefficient of the normalization processing.
Selecting the maximum power consumption difference after averaging: sg ═ max (A)
And (3) obtaining a target time sequence through normalization processing: p is A/sg is P1,…,pn]The target time series obtained at this time is used for prediction.
And S4, inputting the target time sequence into a pre-trained LSTM model to obtain a predicted value.
Acquiring a historical current value time sequence of a monitoring node, performing difference and normalization processing on the historical current value time sequence and an average historical current value to obtain a historical target time sequence, and dividing the historical target time sequence into a training set and a data set; and constructing an LSTM model, training the LSTM model by using a training set, testing a plurality of trained LSTM models by using the testing set, and selecting an optimal LSTM model.
The target time series P ═ a/sg ═ P in step S31,…,pn]And inputting the optimal LSTM model to obtain a predicted value H.
S5, constructing a K-mean model; arranging the historical current data of the monitoring nodes which normally run according to the time sequence to generate a historical current time sequence; and clustering the historical current time sequence according to the current values by using a K-mean clustering algorithm, and counting the time periods and the maximum values of various current values to obtain threshold values of a plurality of time periods.
Firstly, randomly setting the clustering quantity, if the classifying quantity is 10 types, dividing the historical current data into 10 types according to the current magnitude by utilizing a K-mean clustering algorithm, and judging the average difference value of the current in each type;
setting the classification number as 11, clustering again and calculating the average difference of the currents in each class;
and continuously iterating until the average difference value reaches a preset difference value level threshold value, and stopping iterating at the moment.
And outputting the final classification result, counting the time period and the maximum value of each type of current, and taking the maximum value of each type of current as the threshold value of the corresponding time period.
S6, converting the predicted value into a predicted current value according to the normalization coefficient and the average current value, judging whether the predicted current value reaches a preset current threshold value, and if so, generating an alarm.
And multiplying the predicted value by a normalization coefficient and adding the average current value to obtain a predicted current value.
And collecting the time period to which the predicted current value belongs, searching a corresponding threshold value of the time period to which the predicted current value belongs, and judging the predicted current value by using the corresponding threshold value.
As shown in fig. 2, the system 200 includes:
the target monitoring unit 210 is configured to select a monitoring node in a power supply system, acquire a current value of the monitoring node in a monitoring time range, and generate a current value array arranged according to acquisition time;
an average difference unit 220 configured to calculate an average current value of the current value array, and obtain a current difference value time sequence by subtracting each current value of the current value array from the average current value;
a normalization processing unit 230 configured to perform normalization processing on the current difference time series to obtain a target time series, and record a normalization coefficient of the normalization processing;
a target prediction unit 240 configured to input the target time sequence into a previously trained LSTM model to obtain a predicted value;
and an abnormal alarm unit 250 configured to convert the predicted value into a predicted current value according to the normalization coefficient and the average current value, and determine whether the predicted current value reaches a preset current threshold, and if so, generate an alarm.
Optionally, as an embodiment of the present invention, the system further includes:
the history generation unit is configured for arranging the history current data of the monitoring nodes which normally run according to the time sequence to generate a history current time sequence;
and the threshold generating unit is configured and used for clustering the historical current time sequence according to the current values by utilizing a K-mean clustering algorithm, and counting the time periods and the maximum values of various current values to obtain the thresholds of a plurality of time periods.
Fig. 3 is a schematic structural diagram of a terminal 300 according to an embodiment of the present invention, where the terminal 300 may be used to perform a method for preventing electricity stealing in a power supply system according to the embodiment of the present invention.
Among them, the terminal 300 may include: a processor 310, a memory 320, and a communication unit 330. The components communicate via one or more buses, and those skilled in the art will appreciate that the architecture of the servers shown in the figures is not intended to be limiting, and may be a bus architecture, a star architecture, a combination of more or less components than those shown, or a different arrangement of components.
The memory 320 may be used for storing instructions executed by the processor 310, and the memory 320 may be implemented by any type of volatile or non-volatile storage terminal or combination thereof, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The executable instructions in memory 320, when executed by processor 310, enable terminal 300 to perform some or all of the steps in the method embodiments described below.
The processor 310 is a control center of the storage terminal, connects various parts of the entire electronic terminal using various interfaces and lines, and performs various functions of the electronic terminal and/or processes data by operating or executing software programs and/or modules stored in the memory 320 and calling data stored in the memory. The processor may be composed of an integrated C ircu i, for example, a single packaged IC, or may be composed of a plurality of packaged ICs connected with the same or different functions. For example, the processor 310 may include only a Central Processing Unit (CPU). In the embodiment of the present invention, the CPU may be a single operation core, or may include multiple operation cores.
A communication unit 330, configured to establish a communication channel so that the storage terminal can communicate with other terminals. And receiving user data sent by other terminals or sending the user data to other terminals.
The present invention also provides a computer storage medium, wherein the computer storage medium may store a program, and the program may include some or all of the steps in the embodiments provided by the present invention when executed. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Therefore, the monitoring node is selected in the power supply system, the dynamic rule of the current value of the monitoring node is summarized and predicted, the abnormality caused by the electricity stealing behavior is accurately found, and the alarm can be generated in time.
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be embodied in the form of a software product, where the computer software product is stored in a storage medium, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and the like, and includes instructions for enabling a computer terminal (which may be a personal computer, a server, or a second terminal, a network terminal, and the like) to perform all or part of the steps of the method in the embodiments of the present invention.
The same and similar parts in the various embodiments in this specification may be referred to each other. Especially, for the terminal embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant points can be referred to the description in the method embodiment.
In the embodiments provided in the present invention, it should be understood that the disclosed system and method can be implemented in other ways. For example, the above-described system embodiments are merely illustrative, and for example, the division of the units is only one logical functional division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, systems or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
Although the present invention has been described in detail by referring to the drawings in connection with the preferred embodiments, the present invention is not limited thereto. Various equivalent modifications or substitutions can be made on the embodiments of the present invention by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications or substitutions are within the scope of the present invention/any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method for preventing electricity stealing in a power supply system, comprising:
selecting a monitoring node in a power supply system, and acquiring current values of the monitoring node in a monitoring time range to generate a current value array arranged according to acquisition time;
calculating the average current value of the current value array, and obtaining a current difference value time sequence by making a difference between each current value of the current value array and the average current value;
carrying out normalization processing on the current difference time sequence to obtain a target time sequence, and recording a normalization coefficient of the normalization processing;
inputting the target time sequence into a previously trained LSTM model to obtain a predicted value;
and converting the predicted value into a predicted current value according to the normalization coefficient and the average current value, judging whether the predicted current value reaches a preset current threshold value, and generating an alarm if the predicted current value reaches the preset current threshold value.
2. The method of claim 1, wherein the collecting the current values of the monitoring node in the monitoring time range generates a current value array arranged by collecting time, and comprises:
setting a current value acquisition period;
acquiring the current value of the monitoring node periodically according to the acquisition period;
and screening out the current values in the monitoring time range from the collected current values.
3. The method of claim 1, wherein the normalizing the time series of current difference values comprises:
taking the maximum current difference value in the current difference value time sequence as the value of the normalization coefficient;
and dividing all current difference values in the current difference value time sequence by the normalization coefficient to obtain a target time sequence.
4. The method of claim 1, further comprising:
acquiring a historical current value time sequence of a monitoring node, and performing difference and normalization processing on the historical current value time sequence and an average historical current value to obtain a historical target time sequence;
dividing a historical target time sequence into a training set and a data set;
constructing an LSTM model, and training the LSTM model by using a training set;
and testing the trained LSTM models by using the test set to select the optimal LSTM model.
5. The method of claim 1, further comprising:
arranging the historical current data of the monitoring nodes which normally run according to the time sequence to generate a historical current time sequence;
and clustering the historical current time sequence according to the current values by using a K-mean clustering algorithm, and counting the time periods and the maximum values of various current values to obtain threshold values of a plurality of time periods.
6. The method of claim 5, wherein the determining whether the predicted current value reaches the predetermined current threshold comprises:
collecting the time period to which the predicted current value belongs;
searching a corresponding threshold value of the period of the predicted current value;
and judging the predicted current value by using the corresponding threshold value.
7. A power supply system electricity stealing prevention system, comprising:
the target monitoring unit is configured and used for selecting monitoring nodes in a power supply system, acquiring current values of the monitoring nodes in a monitoring time range and generating a current value array arranged according to acquisition time;
the average difference making unit is configured for calculating the average current value of the current value array and obtaining a current difference value time sequence by making a difference between each current value of the current value array and the average current value;
the normalization processing unit is configured to perform normalization processing on the current difference time sequence to obtain a target time sequence, and record a normalization coefficient of the normalization processing;
the target prediction unit is configured to input the target time sequence into a previously trained LSTM model to obtain a predicted value;
and the abnormal alarm unit is configured for converting the predicted value into a predicted current value according to the normalization coefficient and the average current value, judging whether the predicted current value reaches a preset current threshold value, and generating an alarm if the predicted current value reaches the preset current threshold value.
8. The system of claim 7, further comprising:
the history generation unit is configured for arranging the history current data of the monitoring nodes which normally run according to the time sequence to generate a history current time sequence;
and the threshold generating unit is configured and used for clustering the historical current time sequence according to the current values by utilizing a K-mean clustering algorithm, and counting the time periods and the maximum values of various current values to obtain the thresholds of a plurality of time periods.
9. A terminal, comprising:
a processor;
a memory for storing instructions for execution by the processor;
wherein the processor is configured to perform the method of any one of claims 1-6.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN202011270279.7A 2020-11-13 2020-11-13 Power supply system electricity stealing prevention method, system, terminal and storage medium Pending CN112398226A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011270279.7A CN112398226A (en) 2020-11-13 2020-11-13 Power supply system electricity stealing prevention method, system, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011270279.7A CN112398226A (en) 2020-11-13 2020-11-13 Power supply system electricity stealing prevention method, system, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112398226A true CN112398226A (en) 2021-02-23

Family

ID=74600318

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011270279.7A Pending CN112398226A (en) 2020-11-13 2020-11-13 Power supply system electricity stealing prevention method, system, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112398226A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113362912A (en) * 2021-04-29 2021-09-07 中南大学 Secondary simulation method and system for alumina concentration and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170371757A1 (en) * 2016-06-28 2017-12-28 Beijing Baidu Netcom Science And Technology, Ltd. System monitoring method and apparatus
CN109190916A (en) * 2018-08-09 2019-01-11 国网浙江桐庐县供电有限公司 Method of opposing electricity-stealing based on big data analysis
CN110223196A (en) * 2019-06-04 2019-09-10 国网浙江省电力有限公司电力科学研究院 Analysis method of opposing electricity-stealing based on typical industry feature database and sample database of opposing electricity-stealing
CN111198799A (en) * 2019-12-31 2020-05-26 苏州浪潮智能科技有限公司 Machine room power consumption early warning method, system, terminal and storage medium based on LSTM
CN111223006A (en) * 2019-12-25 2020-06-02 国网冀北电力有限公司信息通信分公司 Abnormal electricity utilization detection method and device
CN111738364A (en) * 2020-08-05 2020-10-02 国网江西省电力有限公司供电服务管理中心 Electricity stealing detection method based on combination of user load and electricity consumption parameter

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170371757A1 (en) * 2016-06-28 2017-12-28 Beijing Baidu Netcom Science And Technology, Ltd. System monitoring method and apparatus
CN109190916A (en) * 2018-08-09 2019-01-11 国网浙江桐庐县供电有限公司 Method of opposing electricity-stealing based on big data analysis
CN110223196A (en) * 2019-06-04 2019-09-10 国网浙江省电力有限公司电力科学研究院 Analysis method of opposing electricity-stealing based on typical industry feature database and sample database of opposing electricity-stealing
CN111223006A (en) * 2019-12-25 2020-06-02 国网冀北电力有限公司信息通信分公司 Abnormal electricity utilization detection method and device
CN111198799A (en) * 2019-12-31 2020-05-26 苏州浪潮智能科技有限公司 Machine room power consumption early warning method, system, terminal and storage medium based on LSTM
CN111738364A (en) * 2020-08-05 2020-10-02 国网江西省电力有限公司供电服务管理中心 Electricity stealing detection method based on combination of user load and electricity consumption parameter

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
温粉莲: "一种混合模型的时序数据异常检测方法", 《数字通信世界》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113362912A (en) * 2021-04-29 2021-09-07 中南大学 Secondary simulation method and system for alumina concentration and storage medium
CN113362912B (en) * 2021-04-29 2023-04-28 中南大学 Alumina concentration secondary simulation method, system and storage medium

Similar Documents

Publication Publication Date Title
CN111314173B (en) Monitoring information abnormity positioning method and device, computer equipment and storage medium
CN110727556A (en) BMC health state monitoring method, system, terminal and storage medium
CN111198799A (en) Machine room power consumption early warning method, system, terminal and storage medium based on LSTM
CN107944721A (en) A kind of general machine learning method based on data mining, device and system
CN112461289A (en) Ring main unit fault monitoring method, system, terminal and storage medium
CN108009063A (en) The method of a kind of electronic equipment fault threshold detection
CN113125903A (en) Line loss anomaly detection method, device, equipment and computer-readable storage medium
CN116882804A (en) Intelligent power monitoring method and system
CN116794510A (en) Fault prediction method, device, computer equipment and storage medium
CN111752481A (en) Memory monitoring and service life prediction method and system based on SPD
CN111832654A (en) Electricity stealing and leakage user identification method and device, computer equipment and storage medium
CN112398226A (en) Power supply system electricity stealing prevention method, system, terminal and storage medium
CN108009582A (en) The method that a kind of electronic equipment standard working index is set
CN107977626A (en) The group technology of a kind of electronic equipment operational data
CN112381272A (en) Power grid load prediction method, system, terminal and storage medium
CN116381542B (en) Health diagnosis method and device of power supply equipment based on artificial intelligence
CN117233645A (en) Energy storage inverter battery abnormality judging method, system and medium
US20180129963A1 (en) Apparatus and method of behavior forecasting in a computer infrastructure
CN111062503A (en) Power grid monitoring alarm processing method, system, terminal and storage medium
CN115420988A (en) Method, device, equipment and storage medium for identifying abnormal electricity users
CN115923592A (en) Battery state detection method and device for electric vehicle
US20220222580A1 (en) Deterioration detection method, non-transitory computer-readable storage medium, and information processing device
CN116249186A (en) Data processing method and device of wireless network equipment, storage medium and electronic equipment
CN113608953B (en) Test data generation method and device, electronic equipment and readable storage medium
CN110187167B (en) Method and device for detecting load switch event based on manifold classification

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210223