WO2020019403A1 - Electricity consumption abnormality detection method, apparatus and device, and readable storage medium - Google Patents

Electricity consumption abnormality detection method, apparatus and device, and readable storage medium Download PDF

Info

Publication number
WO2020019403A1
WO2020019403A1 PCT/CN2018/103220 CN2018103220W WO2020019403A1 WO 2020019403 A1 WO2020019403 A1 WO 2020019403A1 CN 2018103220 W CN2018103220 W CN 2018103220W WO 2020019403 A1 WO2020019403 A1 WO 2020019403A1
Authority
WO
WIPO (PCT)
Prior art keywords
abnormal
sequence
distribution curve
data
characteristic
Prior art date
Application number
PCT/CN2018/103220
Other languages
French (fr)
Chinese (zh)
Inventor
郑立颖
徐亮
肖京
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2020019403A1 publication Critical patent/WO2020019403A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/06Energy or water supply
    • 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
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the technical field of abnormality detection, and in particular, to a method for detecting abnormality in power consumption, an abnormality detecting device, an abnormality detecting device, and a computer-readable storage medium.
  • the disadvantages are: 1.
  • the point of consideration of the year-on-year difference is too one-sided, which is likely to cause misjudgment; 2.
  • the method based on moving average will be greatly affected by outliers, causing a sequence after the outliers to be judged as abnormal; the disadvantage of starting from the perspective of distance difference is that the time series of electricity consumption generally has a wide span and relatively large data.
  • the main purpose of the present application is to provide an abnormality detection method, abnormality detection device, abnormality detection device, and computer-readable storage medium, which aims to solve the problem that the traditional abnormality detection method of electrical consumption is not high in accuracy and is easily detected by abnormal values. Interference, and the calculation is complicated, and the detection efficiency is low.
  • an embodiment of the present application provides a method for detecting abnormality in power consumption.
  • the method for detecting abnormality in power consumption includes:
  • abnormal score is greater than the abnormal alert value, confirming the characteristic data sequence as a normal sequence
  • the characteristic data sequence is confirmed as an abnormality sequence.
  • the present application also provides an abnormality detection device.
  • the abnormality detection device includes:
  • a collection module configured to collect sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
  • a first calculation module configured to calculate an abnormal score of all the characteristic data sequences according to an isolated forest algorithm
  • a first confirmation module configured to confirm the characteristic data sequence as a normal sequence if the abnormal score is greater than an abnormal alert value
  • a second confirmation module is configured to confirm the characteristic data sequence as an abnormal sequence if the abnormal score is less than or equal to an abnormal alert value.
  • the present application further provides an anomaly detection device.
  • the anomaly detection device includes: a memory, a processor, a communication bus, and computer-readable instructions stored on the memory.
  • the communication bus is used for Realize the communication connection between the processor and the memory;
  • the processor is configured to execute the computer-readable short instruction to implement the following steps:
  • abnormal score is greater than the abnormal alert value, confirming the characteristic data sequence as a normal sequence
  • the characteristic data sequence is confirmed as an abnormality sequence.
  • the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores one or more computer-readable instructions, and the one or more computer-readable instructions may be replaced by one Or more than one processor to perform:
  • abnormal score is greater than the abnormal alert value, confirming the characteristic data sequence as a normal sequence
  • the characteristic data sequence is confirmed as an abnormality sequence.
  • the present application collects sequence feature values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series; calculates the The abnormal scores of all the characteristic data sequences are described; if the abnormal score is greater than the abnormal alert value, the characteristic data sequence is confirmed as a normal sequence; if the abnormal score is less than or equal to the abnormal alert value, the characteristic data sequence is identified Confirmed as an abnormal sequence.
  • This application uses the isolated forest algorithm to perform anomaly detection on large-scale data in time series. By calculating the abnormal scores in the characteristic data sequence and thresholding the abnormal scores, the normal sequence and the abnormal sequence are determined, and traditional detection is avoided. The method cannot be used for large-scale detection and defects with low accuracy, which improves the accuracy of power consumption abnormality detection, eliminates the interference of abnormal values, reduces the computational complexity, and improves the detection efficiency.
  • FIG. 1 is a schematic flowchart of a first embodiment of an abnormality detection method for power consumption in this application;
  • FIG. 2 is a detailed flowchart of step S20 in FIG. 1; FIG.
  • FIG. 3 is a schematic diagram of a device structure of a hardware operating environment involved in a method according to an embodiment of the present application
  • FIG. 4 is a schematic diagram of functional modules of the abnormality detection device of the present application.
  • the present application provides a method for detecting abnormality in power consumption.
  • the method for detecting abnormality in power consumption includes:
  • Step S10 Collect sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
  • the power consumption time series represents the distribution data of power consumption at different time periods in a day, and the different power consumption time series represents the power consumption distribution data on different dates.
  • the system can detect historical time series, as well as time series received in real time.
  • the power consumption time series is stored in the database.
  • the system retrieves multiple power consumption time series from the database. Because the data of each power consumption time series is distributed in time units, the system will collect each Some of the eigenvalues in the time series of electricity are used as samples to reduce the computational complexity of the data.
  • the characteristic value of the power consumption time series is distributed according to time units.
  • the system will collect the characteristic value of each power consumption time series by collecting a characteristic data every preset number of hours. Specifically, the preset time interval can be determined according to actual business requirements.
  • the system can collect 24 feature values from a time series, and the 24 feature values will be used as the power consumption.
  • Characteristic data series of time series For example, if one feature value is collected every one hour, the system can collect 24 feature values from a time series, and the 24 feature values will be used as the power consumption. Characteristic data series of time series. The use of multiple characteristic time series of power consumption time series can effectively avoid the influence of outliers.
  • Step S20 Calculate the abnormal scores of all the characteristic data sequences according to the isolated forest algorithm
  • the characteristic data series can reflect the distribution of the corresponding power consumption time series.
  • the system will apply the isolated forest algorithm to calculate the abnormal scores of all the characteristic data sequences.
  • isolated isolated data in the characteristic data sequence can be captured, and the discrete degree of the isolated isolated data can be quantified to a specific value.
  • the system substitutes the feature data sequence into the isolated forest algorithm, and uses the spatial iterative cutting method in the isolated forest algorithm to determine the spatial dispersion of the feature data in the feature data sequence.
  • the feature data is spatially cut and The feature data in each space is re-cut until the feature data that is separately cut in the data space is obtained.
  • This process can be embodied in the form of a binary tree layering, that is, all feature data that is cut on the same side of the data space will continue to be iteratively cut, the binary tree will continue to be layered down, and features that are left alone in the data space Since the data will not continue to be cut, it stays at the height of the current binary tree.
  • the isolated forest algorithm will calculate the abnormal score of the feature data sequence according to the height of all discrete feature data.
  • Step S30 if the abnormal score is greater than the abnormal alert value, confirm the characteristic data sequence as a normal sequence
  • step S40 if the abnormal score is less than or equal to the abnormal alert value, the characteristic data sequence is confirmed as an abnormal sequence.
  • an abnormal alert value is set, and the abnormal alert value is a judgment threshold value of the abnormal score.
  • the abnormality of the characteristic data sequence needs to be judged by the abnormal alert value.
  • the abnormal score is greater than the abnormal alert value, it means that all the characteristic values in the characteristic data sequence corresponding to the abnormal score are relatively concentrated, the discrete offset is small and within a reasonable range, and the corresponding characteristic data sequence belongs to the normal sequence.
  • the system detects that the abnormal score is less than or equal to the abnormal warning value, it indicates that the abnormal score does not reach the standard warning line, and all the characteristic values in the corresponding characteristic data sequence have a large offset. A large number of discrete invalid data cannot reflect the normal power consumption distribution, and the corresponding characteristic data sequence is an abnormal sequence.
  • the present application collects sequence feature values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series; calculates the The abnormal scores of all the characteristic data sequences are described; if the abnormal score is greater than the abnormal alert value, the characteristic data sequence is confirmed as a normal sequence; if the abnormal score is less than or equal to the abnormal alert value, the characteristic data sequence is identified Confirmed as an abnormal sequence.
  • This application uses the isolated forest algorithm to perform anomaly detection on large-scale data in time series.
  • the normal sequence and the abnormal sequence are determined, and traditional detection is avoided.
  • the method cannot be used for large-scale detection and defects with low accuracy, which improves the accuracy of power consumption abnormality detection, eliminates the interference of abnormal values, reduces the computational complexity, and improves the detection efficiency.
  • a second embodiment of the power consumption abnormality detection method of the present application is proposed.
  • the difference from the foregoing embodiment is that the step S20
  • the steps include:
  • Step A Determine the positions of the corresponding data points in the isolated forest model space for the sequence feature values at all target time points in each feature data sequence to generate a data point set, and count the total data of the data point set Number of points
  • each feature data sequence has two types of data: the target time point and the sequence feature value, and these two types of data are mapped to each other. Therefore, each feature data sequence can be worthwhile according to the target time point and the sequence feature.
  • the model is configured with a model space for inductively placing all data points. That is, the model space is equivalent to a coordinate space. According to the coordinate values of each data point, the system can determine the coordinate positions of all data points in each characteristic data sequence, thereby generating a corresponding data point set in the model space.
  • the current sequence A includes a power consumption value of 5 at 0, a power consumption value of 8 at 6, a power consumption value of 12 at 10, and a power consumption value of 8 at 18.
  • Step B Iteratively space cut all data points in the data point set according to a preset algorithm rule of the isolated forest algorithm until all single data points that are individually cut into a single space are obtained;
  • the preset algorithm rule of the isolated forest algorithm is to perform iterative space cutting on all data point sets to obtain the cutting space, and calculate the number of data points in each cutting space.
  • the spatial cutting refers to cutting a data point set in an isolated forest model space using a random hyperplane. Assuming that each data point in the data point set is relatively concentrated, it is not easy to have separate data points cut into one space during the space cutting process. If some data points in the data point set are loose or scattered at the edge of the data point set, those scattered data points will be easily cut into a single space. The system cuts through iterative space to obtain all single data points that are individually cut into a single space.
  • Step C Obtain the number of iterations to which each single data point belongs, and obtain a target data point in a preset number of iterations among all the single data points;
  • Step D Count the number of data points of all the target data points, and calculate the ratio of the number of data points to the total number of data points;
  • the system obtains the number of iterations when each single data point is generated. For example, a single data point A is generated during the first spatial cutting, a single data point B, C is generated during the second spatial cutting, a single data point D, E, F, G is generated during the third spatial cutting, etc.
  • the system will count the number of iterations for each single data point. Assuming the preset number of times is 2, the system will obtain the target data points A, B, and C generated in the previous 2 spatial iterations.
  • step E the percentage value is set as an abnormal score.
  • the system will set the percentage value to the abnormal score as a reference value for subsequent numerical comparisons.
  • a third embodiment of the power consumption abnormality detection method of the present application is proposed.
  • the difference from the foregoing embodiment is that the method further includes:
  • Step S50 Generate corresponding normal distribution curves and abnormal distribution curves from the respective normal sequences and the respective abnormal sequences;
  • the system in order to facilitate the user to intuitively view and analyze the difference in sequence feature values between the normal sequence and the abnormal sequence, the system will convert the normal sequence and the abnormal sequence into corresponding normal distribution curves after determining the normal sequence and the abnormal sequence, respectively. And anomalous distribution curves. Because the sequence feature values in the normal sequence and the abnormal sequence are sorted in chronological order, the chronological system can be based on the target time point and their corresponding The series eigenvalues generate normal distribution curves and abnormal distribution curves.
  • step S60 the normal distribution curve and the abnormal distribution curve are respectively displayed and marked in a preset coordinate system for user identification.
  • the system After obtaining all the normal and abnormal distribution curves, in order to more intuitively reflect the difference between the normal and abnormal distribution curves, the system will display the normal and abnormal distribution curves in a preset coordinate system.
  • the preset coordinate system in order to improve the recognition degree, the normal distribution curve and the abnormal distribution curve will be displayed through different marking forms, for example, the normal distribution curve is marked as a green curve, and the abnormal distribution curve is marked as a red curve.
  • the normal and abnormal sequences respectively corresponding to the normal distribution curve and the abnormal distribution curve are shown to facilitate user identification and analysis.
  • a fourth embodiment of the power consumption abnormality detection method of the present application is proposed.
  • the difference from the foregoing embodiment is that the isolated forest algorithm stores the The abnormal eigenvalues in all characteristic data sequences, after step S60, further include:
  • Step S70 Obtain a target data point corresponding to the abnormal sequence in the isolated forest model space, and obtain an abnormal time point and an abnormal feature value of the target data point;
  • the anomaly sequence includes free anomalous eigenvalues in the model space, but also includes normal eigenvalues.
  • the system because the target data point is cut out a preset number of times before, the system has located a target data point with a large offset. Therefore, the abnormal time points and abnormal eigenvalues of the target data points of the abnormal sequence in the isolated forest model space can be obtained.
  • the abnormal eigenvalues at these abnormal time points will be displayed in the abnormal distribution curve, but they are not clearly marked to increase the degree of recognition. When the number of anomalous distribution curves is large, it will disturb the user's analysis and judgment.
  • this embodiment obtains the target data points of the abnormal sequence in the model space of the isolated forest algorithm.
  • the system can Obtain the target data points' abnormal time points and abnormal eigenvalues from the previous calculation process of the isolated forest algorithm.
  • the offset of the abnormal feature value in the isolated forest algorithm is much larger than other feature values.
  • Step S80 Obtain an abnormal distribution curve corresponding to the abnormal sequence, locate the target data point on the abnormal distribution curve, and display the abnormal time point and abnormal characteristic value of the target data point correspondingly.
  • the system obtains the corresponding abnormal distribution curve according to the abnormal sequence, and locates the target data point from the abnormal distribution curve. For example, if the target data point is point C, then the point C in the abnormal distribution curve is obtained, and according to the abnormal time of the data point Points and outlier eigenvalues in outliers It is marked in the distribution curve, and the data point is displayed as the target data point, and its abnormal time point and abnormal characteristic value are displayed, thereby improving the degree of data identification.
  • a fifth embodiment of the power consumption abnormality detection method of the present application is proposed.
  • the difference from the foregoing embodiment lies in each target in the normal sequence. There are corresponding normal eigenvalues at time points.
  • the method further includes:
  • Step S90 Collect the corresponding normal feature values in each normal sequence, and perform an average calculation on all the normal feature values at the same target time point in all the normal sequences to obtain the feature average value of each target time point;
  • All normal sequences represent the distribution of the power consumption time series under normal conditions.
  • This embodiment will provide an ideal distribution curve in a preset coordinate system based on the data of all normal sequences. Specifically, the system collects the feature values of all normal sequences at different time points. Assuming that there are n feature data sequences currently determined to be normal sequences, the system extracts feature values at the same time point from the n normal sequences. There are n in total. The system will calculate the mean of all the feature values at the same time point to get the feature mean value at that time point. The feature mean value can represent the ideal level of normal feature values at that time point.
  • the mean value of 4 can represent the average distribution of the target time points in the five normal sequences.
  • step S100 the mean values of all the features are converted into an average distribution curve in the order of the target time points, and the average distribution curve is displayed and marked in the preset coordinate system.
  • the system can sort the feature mean according to the time point order and convert it into an average distribution curve. Since different feature mean values represent the average distribution at the corresponding time points, all feature mean values are sorted in order of time points to obtain an average distribution curve representing the average distribution situation at different time points as a whole.
  • the system will display the average distribution curve in a preset coordinate system, and mark the average distribution curve to facilitate user identification and analysis.
  • step S80 the method further includes:
  • Step S110 performing a difference calculation on the abnormal characteristic values at each abnormal time point on the abnormal distribution curve and the average characteristic value corresponding to each abnormal time point in the average distribution curve to obtain the abnormal distribution curve and the The characteristic offset value corresponding to the average distribution curve at an abnormal time point;
  • step S120 if a trigger operation based on the abnormal distribution curve is detected, the characteristic offset values at the target time points of the abnormal distribution curve are displayed in the preset coordinate system for user analysis.
  • the system When the user triggers the abnormal distribution curve (such as clicking to check the data in the abnormal distribution curve), the system will directly display the characteristic offset value of each target time point of the abnormal distribution curve in the preset coordinate system. In this way, according to the characteristic offset value, the user can know the change trend of power consumption at different target time points, and can analyze the cause of the abnormality through the change trend analysis, such as a short circuit of the circuit, a failure of the meter, and the like.
  • a seventh embodiment of the power consumption abnormality detection method of the present application is proposed.
  • the difference from the foregoing embodiment is that the method further includes:
  • Step a When an abnormal control ratio is received, obtain a target alert value mapped to the abnormal control ratio from a preset mapping table;
  • the abnormality judgment criteria for anomaly detection may change. For example, if the power supply is limited or cut off for a certain period of time, the power consumption will change drastically, and the system will judge that it is abnormal. In fact, this change is not caused by abnormalities, but caused by known and controllable reasons. Therefore, this abnormal situation needs to be eliminated. In other words, this application can adjust the abnormality judgment standard according to actual business requirements. For example, if there is a need to limit power within the current month, the number of corresponding abnormal sequences will increase. In order to exclude such abnormal sequences, the system can change the judgment criteria, and the determination of the judgment criteria is related to the preset value. It can be understood that the proportion of abnormal control refers to filtering all abnormal sequences in proportion.
  • the system stores a preset mapping table.
  • the system receives the abnormal control ratio input from the outside, and finds the target preset value mapped to the ratio in the preset mapping table. For example, in the case of power limitation or power failure, it is known that 5% of the normal sequences in all characteristic data sequences are determined to be abnormal sequences. Then, by adjusting the exception control ratio, this part of the original sequence is abnormal. Sequence exclusion.
  • the preset mapping table in this embodiment there is a one-to-one correspondence between the abnormal control ratio and the alert value. It can be understood that the setting of the actual distribution can be determined by the abnormal alert value, that is, the abnormal alert value can be customized to adjust the judgment standard of the abnormal sequence.
  • step b the current default abnormality alert value is adjusted to the target alert value, so as to adjust the judgment criteria of the normal sequence and the abnormal sequence.
  • the system will directly adjust the current default abnormal alert value to the target alert value, thereby adjusting the normal sequence and abnormality. The criterion of the sequence.
  • FIG. 3 is a schematic diagram of a device structure of a hardware operating environment involved in the method according to the embodiment of the present application.
  • the device in this embodiment of the present application may be a PC, or a smart phone, a tablet computer, an e-book reader, or MP3 (Moving Picture). Experts Group Audio Layer III, standard video layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio layer 4) Terminal equipment such as players, portable computers.
  • MP3 Moving Picture
  • MP4 Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio layer 4
  • Terminal equipment such as players, portable computers.
  • the abnormality detection device may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002.
  • the communication bus 1002 is used to implement connection and communication between the processor 1001 and the memory 1005.
  • the memory 1005 may be a high-speed RAM memory or a non-volatile memory. memory), such as disk storage.
  • the memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
  • the abnormality detection device may further include a user interface, a network interface, a camera, and an RF (Radio Frequency) circuits, sensors, audio circuits, WiFi modules, and more.
  • the user interface may include a display, an input unit such as a keyboard, and the optional user interface may further include a standard wired interface and a wireless interface.
  • the network interface can optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
  • the structure of the abnormality detection device shown in FIG. 3 does not constitute a limitation on the abnormality detection device, and may include more or fewer components than shown in the figure, or combine some components or different components Layout.
  • the memory 1005 as a computer storage medium may include an operating system, a network communication module, and computer-readable instructions.
  • the operating system is a program that manages and controls the hardware and software resources of the anomaly detection device, and supports the execution of computer-readable instructions and other software and / or programs.
  • the network communication module is used to implement communication between components in the memory 1005 and to communicate with other hardware and software in the abnormality detection device.
  • the processor 1001 is configured to execute computer-readable instructions stored in the memory 1005 to implement the following steps:
  • abnormal score is greater than the abnormal alert value, confirming the characteristic data sequence as a normal sequence
  • the characteristic data sequence is confirmed as an abnormality sequence.
  • the specific implementation manners of the abnormality detection device of the present application are basically the same as the embodiments of the foregoing abnormality detection method for power consumption, and are not repeated here.
  • the abnormality detection device includes:
  • a collection module configured to collect sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
  • a first calculation module configured to calculate an abnormal score of all the characteristic data sequences according to an isolated forest algorithm
  • a first confirmation module configured to confirm the characteristic data sequence as a normal sequence if the abnormal score is greater than an abnormal alert value
  • a second confirmation module is configured to confirm the characteristic data sequence as an abnormal sequence if the abnormal score is less than or equal to an abnormal alert value.
  • the first calculation module includes:
  • a generating unit configured to determine the positions of the corresponding data points in the isolated forest model space of the sequence feature values at all target time points in each of the feature data sequences to generate a data point set, and count the Total number of data points;
  • a cutting unit configured to perform iterative space cutting on all data points in the data point set according to a preset algorithm rule of an isolated forest algorithm until all single data points that are individually cut into a single space are obtained;
  • An obtaining unit configured to obtain the number of iterations to which each single data point belongs, and to obtain a target data point of a preset number of iterations among all the single data points;
  • a calculation unit configured to count the number of data points of all the target data points, and calculate a ratio of the number of data points to the total number of data points;
  • a setting unit configured to set the ratio value as an abnormal score.
  • the abnormality detection device further includes:
  • a generating module configured to generate corresponding normal distribution curves and abnormal distribution curves from the respective normal sequences and the respective abnormal sequences
  • a first display module is configured to display and mark the normal distribution curve and the abnormal distribution curve respectively in a preset coordinate system for user identification.
  • the isolated forest algorithm stores abnormal characteristic values in all characteristic data sequences
  • the abnormality detection device further includes:
  • a first obtaining module configured to obtain a target data point corresponding to the abnormal sequence in an isolated forest model space, and obtain an abnormal time point and an abnormal characteristic value of the target data point;
  • a second display module is configured to obtain an abnormal distribution curve corresponding to the abnormal sequence, locate the target data point on the abnormal distribution curve, and display the abnormal time point and abnormal characteristic value of the target data point correspondingly.
  • each target time point in the normal sequence has a corresponding normal feature value
  • the abnormality detection device further includes:
  • a second calculation module is configured to collect the corresponding normal feature values in each normal sequence, and perform an average calculation on all the normal feature values at the same target time point in all the normal sequences to obtain the target time points.
  • a conversion module configured to convert the mean values of all features into an average distribution curve in the order of target time points, and display and mark the average distribution curve in the preset coordinate system.
  • the abnormality detection device further includes:
  • a third calculation module configured to perform difference calculation on the abnormal characteristic values at each abnormal time point on the abnormal distribution curve and the average characteristic value corresponding to each abnormal time point in the average distribution curve to obtain the abnormal distribution A characteristic offset value at an abnormal time point corresponding to the curve and the average distribution curve;
  • a third display module configured to display, if a trigger operation based on the abnormal distribution curve is detected, the characteristic offset value at each target time point of the abnormal distribution curve in the preset coordinate system, For user analysis.
  • the abnormality detection device further includes:
  • a second obtaining module configured to obtain a target alert value mapped to the abnormal control ratio from a preset mapping table when the abnormal control ratio is received;
  • An adjustment module is configured to adjust a current default abnormal alert value to the target alert value, so as to adjust the judgment criteria of the normal sequence and the abnormal sequence.
  • the computer-readable instructions may be stored in In a computer-readable storage medium, the aforementioned storage medium may be a read-only memory, a magnetic disk, or an optical disk.
  • This application also provides a computer-readable storage medium, where the computer-readable storage medium stores one or more computer-readable instructions, and the one or more computer-readable instructions can also be processed by one or more The device executes steps for implementing the method for detecting an abnormality in power consumption according to any one of the foregoing.
  • the computer-readable storage medium may be a non-volatile readable storage medium, such as a RAM, a magnetic disk, an optical disk, or the like.
  • the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better.
  • Implementation Based on such an understanding, the technical solution of this application that is essentially or contributes to the existing technology can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present application.
  • a terminal device which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Landscapes

  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Public Health (AREA)
  • Water Supply & Treatment (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

An electricity consumption abnormality detection method, an electricity consumption abnormality detection apparatus, an electricity consumption abnormality detection device, and a computer-readable storage medium. The electricity consumption abnormality detection method comprises: collecting, according to a preset time interval, a sequence feature value at each target time point from multiple electricity consumption time sequences, so as to generate a feature data sequence corresponding to each of the electricity consumption time sequences (S10); computing abnormality scores of all the feature data sequences according to an isolation forest algorithm (S20); if the abnormality scores are greater than an abnormality warning value, confirming the feature data sequences as normal sequences (S30); and if the abnormality scores are less than or equal to the abnormality warning value, confirming the feature data sequences as abnormal sequences (S40). The accuracy of electricity consumption abnormality detection is improved, the interference of an abnormal value is eliminated, computational complexity is reduced, and detection efficiency is improved.

Description

用电量异常检测方法、装置、设备及可读存储介质  Method, device, device and readable storage medium for detecting abnormal power consumption Ranch
本申请要求于2018年07月26日提交中国专利局、申请号为201810841413.0、发明名称为“用电量异常检测方法、装置、设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。This application claims the priority of a Chinese patent application filed on July 26, 2018 with the Chinese Patent Office, application number 201810841413.0, and the invention name "Abnormal power consumption detection method, device, device, and readable storage medium". The contents are incorporated in the application by reference.
技术领域Technical field
本申请涉及异常检测技术领域,尤其涉及一种用电量异常检测方法、异常检测装置、异常检测设备及计算机可读存储介质。The present application relates to the technical field of abnormality detection, and in particular, to a method for detecting abnormality in power consumption, an abnormality detecting device, an abnormality detecting device, and a computer-readable storage medium.
背景技术Background technique
目前对于用电量时间序列的异常检测大多从用电量时间序列角度(例如同比差异、环比差异、移动平均、ARIMA预测等)和距离差异角度(例如比较某一时间窗口内序列与其他序列的欧氏距离)入手,从用电量时间序列角度入手的缺点在于:1. 同比差异环比差异考虑的点太片面,很可能造成误判;2. 基于移动平均的方法会很大程度被异常值影响,造成异常值之后的一段序列也被判断为异常;从距离差异角度入手的缺点在于,用电量时间序列一般来说跨度较广且数据较大,距离计算较为复杂,耗时大效率不高。因此,传统的用电量异常检测方法无法实现大规模数据检测,并且检测精确度不高,容易被异常值干扰,且计算复杂,检测效率低下。At present, most of the anomaly detection of power consumption time series are from the perspective of power consumption time series (such as year-on-year difference, ring-to-moment difference, moving average, ARIMA prediction, etc.) and distance difference angle (such as comparing sequences within a time window with other sequences Euclidean distance), from the perspective of electricity consumption time series, the disadvantages are: 1. The point of consideration of the year-on-year difference is too one-sided, which is likely to cause misjudgment; 2. The method based on moving average will be greatly affected by outliers, causing a sequence after the outliers to be judged as abnormal; the disadvantage of starting from the perspective of distance difference is that the time series of electricity consumption generally has a wide span and relatively large data. Large, distance calculation is more complicated, time-consuming and inefficient. Therefore, the traditional power consumption anomaly detection method cannot achieve large-scale data detection, and the detection accuracy is not high, it is easy to be disturbed by outliers, the calculation is complicated, and the detection efficiency is low.
发明内容Summary of the Invention
本申请的主要目的在于提供一种用电量异常检测方法、异常检测装置、异常检测设备及计算机可读存储介质,旨在解决传统的用电量异常检测方法精确度不高,容易被异常值干扰,且计算复杂,检测效率低下的技术问题。The main purpose of the present application is to provide an abnormality detection method, abnormality detection device, abnormality detection device, and computer-readable storage medium, which aims to solve the problem that the traditional abnormality detection method of electrical consumption is not high in accuracy and is easily detected by abnormal values. Interference, and the calculation is complicated, and the detection efficiency is low.
为实现上述目的,本申请实施例提供一种用电量异常检测方法,所述用电量异常检测方法包括:In order to achieve the foregoing objective, an embodiment of the present application provides a method for detecting abnormality in power consumption. The method for detecting abnormality in power consumption includes:
按预设时间间隔从多个用电量时间序列中采集各目标时间点上的序列特征值,以生成所述各用电量时间序列对应的特征数据序列;Collecting sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
根据孤立森林算法计算所述所有特征数据序列的异常得分;Calculate the abnormal scores of all the characteristic data sequences according to the isolated forest algorithm;
若所述异常得分大于异常警戒值,则将所述特征数据序列确认为正常序列;If the abnormal score is greater than the abnormal alert value, confirming the characteristic data sequence as a normal sequence;
若所述异常得分小于或等于异常警戒值,则将所述特征数据序列确认为异常序列。If the abnormality score is less than or equal to the abnormality alert value, the characteristic data sequence is confirmed as an abnormality sequence.
本申请还提供一种异常检测装置,所述异常检测装置包括:The present application also provides an abnormality detection device. The abnormality detection device includes:
采集模块,用于按预设时间间隔从多个用电量时间序列中采集各目标时间点上的序列特征值,以生成所述各用电量时间序列对应的特征数据序列;A collection module, configured to collect sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
第一计算模块,用于根据孤立森林算法计算所述所有特征数据序列的异常得分;A first calculation module, configured to calculate an abnormal score of all the characteristic data sequences according to an isolated forest algorithm;
第一确认模块,用于若所述异常得分大于异常警戒值,则将所述特征数据序列确认为正常序列;A first confirmation module, configured to confirm the characteristic data sequence as a normal sequence if the abnormal score is greater than an abnormal alert value;
第二确认模块,用于若所述异常得分小于或等于异常警戒值,则将所述特征数据序列确认为异常序列。A second confirmation module is configured to confirm the characteristic data sequence as an abnormal sequence if the abnormal score is less than or equal to an abnormal alert value.
此外,为实现上述目的,本申请还提供一种异常检测设备,所述异常检测设备包括:存储器、处理器、通信总线以及存储在所述存储器上的计算机可读指令,所述通信总线用于实现处理器与存储器间的通信连接;In addition, in order to achieve the above object, the present application further provides an anomaly detection device. The anomaly detection device includes: a memory, a processor, a communication bus, and computer-readable instructions stored on the memory. The communication bus is used for Realize the communication connection between the processor and the memory;
所述处理器用于执行所述计算机可短指令,以实现以下步骤:The processor is configured to execute the computer-readable short instruction to implement the following steps:
按预设时间间隔从多个用电量时间序列中采集各目标时间点上的序列特征值,以生成所述各用电量时间序列对应的特征数据序列;Collecting sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
根据孤立森林算法计算所述所有特征数据序列的异常得分;Calculate the abnormal scores of all the characteristic data sequences according to the isolated forest algorithm;
若所述异常得分大于异常警戒值,则将所述特征数据序列确认为正常序列;If the abnormal score is greater than the abnormal alert value, confirming the characteristic data sequence as a normal sequence;
若所述异常得分小于或等于异常警戒值,则将所述特征数据序列确认为异常序列。If the abnormality score is less than or equal to the abnormality alert value, the characteristic data sequence is confirmed as an abnormality sequence.
此外,为实现上述目的,本申请还提供一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者一个以上计算机可读指令,所述一个或者一个以上计算机可读指令可被一个或者一个以上的处理器执行以用于:In addition, in order to achieve the foregoing object, the present application further provides a computer-readable storage medium, where the computer-readable storage medium stores one or more computer-readable instructions, and the one or more computer-readable instructions may be replaced by one Or more than one processor to perform:
按预设时间间隔从多个用电量时间序列中采集各目标时间点上的序列特征值,以生成所述各用电量时间序列对应的特征数据序列;Collecting sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
根据孤立森林算法计算所述所有特征数据序列的异常得分;Calculate the abnormal scores of all the characteristic data sequences according to the isolated forest algorithm;
若所述异常得分大于异常警戒值,则将所述特征数据序列确认为正常序列;If the abnormal score is greater than the abnormal alert value, confirming the characteristic data sequence as a normal sequence;
若所述异常得分小于或等于异常警戒值,则将所述特征数据序列确认为异常序列。If the abnormality score is less than or equal to the abnormality alert value, the characteristic data sequence is confirmed as an abnormality sequence.
本申请通过按预设时间间隔从多个用电量时间序列中采集各目标时间点上的序列特征值,以生成所述各用电量时间序列对应的特征数据序列;根据孤立森林算法计算所述所有特征数据序列的异常得分;若所述异常得分大于异常警戒值,则将所述特征数据序列确认为正常序列;若所述异常得分小于或等于异常警戒值,则将所述特征数据序列确认为异常序列。本申请利用孤立森林算法,可对时间序列中的大规模数据进行异常检测,通过计算特征数据序列中的异常得分,并对异常得分进行阈值判断,从而确定正常序列和异常序列,避免了传统检测方法无法大规模进行检测,以及检测精确度不高的缺陷,提高了用电量异常检测的精确度,排除了异常值的干扰,降低计算复杂度,提升了检测效率。The present application collects sequence feature values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series; calculates the The abnormal scores of all the characteristic data sequences are described; if the abnormal score is greater than the abnormal alert value, the characteristic data sequence is confirmed as a normal sequence; if the abnormal score is less than or equal to the abnormal alert value, the characteristic data sequence is identified Confirmed as an abnormal sequence. This application uses the isolated forest algorithm to perform anomaly detection on large-scale data in time series. By calculating the abnormal scores in the characteristic data sequence and thresholding the abnormal scores, the normal sequence and the abnormal sequence are determined, and traditional detection is avoided. The method cannot be used for large-scale detection and defects with low accuracy, which improves the accuracy of power consumption abnormality detection, eliminates the interference of abnormal values, reduces the computational complexity, and improves the detection efficiency.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为本申请用电量异常检测方法第一实施例的流程示意图;FIG. 1 is a schematic flowchart of a first embodiment of an abnormality detection method for power consumption in this application;
图2为图1中步骤S20的细化流程示意图;FIG. 2 is a detailed flowchart of step S20 in FIG. 1; FIG.
图3为本申请实施例方法涉及的硬件运行环境的设备结构示意图;3 is a schematic diagram of a device structure of a hardware operating environment involved in a method according to an embodiment of the present application;
图4为本申请异常检测装置的功能模块示意图。FIG. 4 is a schematic diagram of functional modules of the abnormality detection device of the present application.
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features and advantages of the purpose of this application will be further described with reference to the embodiments and the drawings.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。It should be understood that the specific embodiments described herein are only used to explain the application, and are not used to limit the application.
本申请提供一种用电量异常检测方法,在用电量异常检测方法第一实施例中,参照图1,所述用电量异常检测方法包括:The present application provides a method for detecting abnormality in power consumption. In a first embodiment of the method for detecting abnormality in power consumption, referring to FIG. 1, the method for detecting abnormality in power consumption includes:
步骤S10,按预设时间间隔从多个用电量时间序列中采集各目标时间点上的序列特征值,以生成所述各用电量时间序列对应的特征数据序列;Step S10: Collect sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
用电量时间序列中代表了在一天之中不同时间阶段的用电量的分布数据,不同的用电量时间序列代表了不同日期中的用电量分布数据。系统可对历史时间序列进行检测,也可以实时接收到的时间序列进行检测。用电量时间序列保存在数据库中,系统从数据库中调取多个用电量时间序列,由于每个用电量时间序列的数据在时间单位上的分布较多,因此,系统将采集每个用电量时间序列其中部分特征值作为样本,以降低数据计算复杂度。用电量时间序列的特征值是按照时间单位分布的,系统将按照每隔预设个数小时采集一个特征数据的方式采集每个用电量时间序列的特征值。具体地,预设时间间隔可根据实际业务需求确定,例如每隔一个小时采集一个特征值,则系统可从一个时间序列中采集到24个特征值,该24个特征值将作为该用电量时间序列的特征数据序列。采用多个用电量时间序列的特征数据序列,能够有效避免异常值的影响。The power consumption time series represents the distribution data of power consumption at different time periods in a day, and the different power consumption time series represents the power consumption distribution data on different dates. The system can detect historical time series, as well as time series received in real time. The power consumption time series is stored in the database. The system retrieves multiple power consumption time series from the database. Because the data of each power consumption time series is distributed in time units, the system will collect each Some of the eigenvalues in the time series of electricity are used as samples to reduce the computational complexity of the data. The characteristic value of the power consumption time series is distributed according to time units. The system will collect the characteristic value of each power consumption time series by collecting a characteristic data every preset number of hours. Specifically, the preset time interval can be determined according to actual business requirements. For example, if one feature value is collected every one hour, the system can collect 24 feature values from a time series, and the 24 feature values will be used as the power consumption. Characteristic data series of time series. The use of multiple characteristic time series of power consumption time series can effectively avoid the influence of outliers.
步骤S20,根据孤立森林算法计算所述所有特征数据序列的异常得分;Step S20: Calculate the abnormal scores of all the characteristic data sequences according to the isolated forest algorithm;
特征数据序列可反映对应的用电量时间序列的分布情况。本实施例中,系统将应用孤立森林算法,计算所有特征数据序列的异常得分。通过孤立森林算法可捕捉到特征数据序列中的孤立游离数据,并将该孤立游离数据的离散程度量化为具体的数值。例如,系统将特征数据序列代入到孤立森林算法中,利用孤立森林算法中的空间迭代切割方式,确定特征数据序列中的特征数据的空间离散量,具体为,通过将特征数据进行空间切割,并对各空间内的特征数据进行再切割,直到获取到被单独切割在数据空间中的特征数据。该过程可以二叉树分层的形式体现出来,也就是说,被切割在同一侧数据空间的所有特征数据将继续进行迭代切割,二叉树将继续向下分层,而被单独留在数据空间内的特征数据由于不会再继续切割,则停留在当前二叉树所在层的高度。孤立森林算法将根据所有离散特征数据的高度,统计出特征数据序列的异常得分。The characteristic data series can reflect the distribution of the corresponding power consumption time series. In this embodiment, the system will apply the isolated forest algorithm to calculate the abnormal scores of all the characteristic data sequences. Through the isolated forest algorithm, isolated isolated data in the characteristic data sequence can be captured, and the discrete degree of the isolated isolated data can be quantified to a specific value. For example, the system substitutes the feature data sequence into the isolated forest algorithm, and uses the spatial iterative cutting method in the isolated forest algorithm to determine the spatial dispersion of the feature data in the feature data sequence. Specifically, the feature data is spatially cut and The feature data in each space is re-cut until the feature data that is separately cut in the data space is obtained. This process can be embodied in the form of a binary tree layering, that is, all feature data that is cut on the same side of the data space will continue to be iteratively cut, the binary tree will continue to be layered down, and features that are left alone in the data space Since the data will not continue to be cut, it stays at the height of the current binary tree. The isolated forest algorithm will calculate the abnormal score of the feature data sequence according to the height of all discrete feature data.
步骤S30,若所述异常得分大于异常警戒值,则将所述特征数据序列确认为正常序列;Step S30: if the abnormal score is greater than the abnormal alert value, confirm the characteristic data sequence as a normal sequence;
步骤S40,若所述异常得分小于或等于异常警戒值,则将所述特征数据序列确认为异常序列。In step S40, if the abnormal score is less than or equal to the abnormal alert value, the characteristic data sequence is confirmed as an abnormal sequence.
本实施例设置了一个异常警戒值,所述异常警戒值为异常得分的判断门限值。特征数据序列的异常与否需要通过异常警戒值来判断。当异常得分大于异常警戒值时,则说明异常得分对应的特征数据序列中的所有特征值相对集中,离散偏移量较小,处于合理范围之内,对应的特征数据序列属于正常序列。反之,若系统检测到异常得分小于或等于异常警戒值,则说明该异常得分没有达到标准警戒线,对应的特征数据序列中的所有特征值偏移量较大,数据的实际分布情况中存在较多的离散无效数据,无法反映正常的用电量分布情况,对应的特征数据序列为异常序列。In this embodiment, an abnormal alert value is set, and the abnormal alert value is a judgment threshold value of the abnormal score. The abnormality of the characteristic data sequence needs to be judged by the abnormal alert value. When the abnormal score is greater than the abnormal alert value, it means that all the characteristic values in the characteristic data sequence corresponding to the abnormal score are relatively concentrated, the discrete offset is small and within a reasonable range, and the corresponding characteristic data sequence belongs to the normal sequence. Conversely, if the system detects that the abnormal score is less than or equal to the abnormal warning value, it indicates that the abnormal score does not reach the standard warning line, and all the characteristic values in the corresponding characteristic data sequence have a large offset. A large number of discrete invalid data cannot reflect the normal power consumption distribution, and the corresponding characteristic data sequence is an abnormal sequence.
本申请通过按预设时间间隔从多个用电量时间序列中采集各目标时间点上的序列特征值,以生成所述各用电量时间序列对应的特征数据序列;根据孤立森林算法计算所述所有特征数据序列的异常得分;若所述异常得分大于异常警戒值,则将所述特征数据序列确认为正常序列;若所述异常得分小于或等于异常警戒值,则将所述特征数据序列确认为异常序列。本申请利用孤立森林算法,可对时间序列中的大规模数据进行异常检测,通过计算特征数据序列中的异常得分,并对异常得分进行阈值判断,从而确定正常序列和异常序列,避免了传统检测方法无法大规模进行检测,以及检测精确度不高的缺陷,提高了用电量异常检测的精确度,排除了异常值的干扰,降低计算复杂度,提升了检测效率。The present application collects sequence feature values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series; calculates the The abnormal scores of all the characteristic data sequences are described; if the abnormal score is greater than the abnormal alert value, the characteristic data sequence is confirmed as a normal sequence; if the abnormal score is less than or equal to the abnormal alert value, the characteristic data sequence is identified Confirmed as an abnormal sequence. This application uses the isolated forest algorithm to perform anomaly detection on large-scale data in time series. By calculating the abnormal scores in the characteristic data sequence and thresholding the abnormal scores, the normal sequence and the abnormal sequence are determined, and traditional detection is avoided The method cannot be used for large-scale detection and defects with low accuracy, which improves the accuracy of power consumption abnormality detection, eliminates the interference of abnormal values, reduces the computational complexity, and improves the detection efficiency.
进一步地,在本申请用电量异常检测方法第一实施例的基础上,提出本申请用电量异常检测方法第二实施例,参照图2,与前述实施例的区别在于,所述步骤S20步骤包括:Further, based on the first embodiment of the power consumption abnormality detection method of the present application, a second embodiment of the power consumption abnormality detection method of the present application is proposed. Referring to FIG. 2, the difference from the foregoing embodiment is that the step S20 The steps include:
步骤A,确定所述每个特征数据序列中所有目标时间点上的序列特征值在孤立森林模型空间中对应的数据点的位置,以生成数据点集合,并统计所述数据点集合的总数据点个数;Step A: Determine the positions of the corresponding data points in the isolated forest model space for the sequence feature values at all target time points in each feature data sequence to generate a data point set, and count the total data of the data point set Number of points
可以理解的是,每个特征数据序列中有目标时间点以及序列特征值两类数据,并且这两类数据都是相互映射的,因此每个特征数据序列中可根据目标时间点和序列特征值得到对应的数据点,将各个数据点代入到孤立森林算法模型中,模型中配置有模型空间,用于归纳放置所有数据点。即模型空间相当于一个坐标空间,根据各个数据点的坐标值,系统可确定各个特征数据序列中所有数据点的坐标位置,从而在模型空间中生成相应的数据点集合。例如当前序列A中包括0时的用电量值为5,6时的用电量值为8,12时的用电量值为10,18时的用电量值为8。因此序列A中的数据点包括A1=(0,5),A2=(6,8),A3=(12,10),A4=(18,8)。而这些数据点将在模型空间中根据坐标依次排列,从而获取到各个数据点的数据点集合,并根据数据点集合统计其中所有数据点的总数据点个数。It can be understood that each feature data sequence has two types of data: the target time point and the sequence feature value, and these two types of data are mapped to each other. Therefore, each feature data sequence can be worthwhile according to the target time point and the sequence feature. Go to the corresponding data points, and substitute each data point into the isolated forest algorithm model. The model is configured with a model space for inductively placing all data points. That is, the model space is equivalent to a coordinate space. According to the coordinate values of each data point, the system can determine the coordinate positions of all data points in each characteristic data sequence, thereby generating a corresponding data point set in the model space. For example, the current sequence A includes a power consumption value of 5 at 0, a power consumption value of 8 at 6, a power consumption value of 12 at 10, and a power consumption value of 8 at 18. The data points in sequence A therefore include A1 = (0,5), A2 = (6,8), A3 = (12,10), and A4 = (18,8). These data points will be sequentially arranged in the model space according to the coordinates, thereby obtaining the data point set of each data point, and counting the total number of data points of all data points in the data point set.
以上所述例子仅为举例,并不代表数据点集合仅包括以上四个数据点的具体数值。The above examples are just examples, and do not mean that the data point set includes only the specific values of the above four data points.
步骤B,按照孤立森林算法的预设算法规则对所述数据点集合中的所有数据点进行迭代空间切割,直至获取到所有单独被切割在单一空间内的单一数据点;Step B: Iteratively space cut all data points in the data point set according to a preset algorithm rule of the isolated forest algorithm until all single data points that are individually cut into a single space are obtained;
孤立森林算法的预设算法规则是对所有数据点集合进行迭代空间切割,得到切割空间,并计算各个切割空间内的数据点数量。所述空间切割是指利用随机超平面将孤立森林模型空间中的数据点集合进行切割。假设数据点集合中各数据点较为集中,那么在空间切割过程中就不容易有单独的数据点内切割在一个空间内。而若是数据点集合中存在部分数据点较为松散或游离在数据点集合的边缘时,那么那些游离的数据点将容易被单独切割在一个空间内。系统通过迭代空间切割,从而获得所有被单独切割在单一空间内的单一数据点。可以理解的是,数据点集合中每个数据点被单独切割在单一空间内时,此时即产生了单一数据点,系统将记录该单一数据点。且所有单一数据点的数量等于数据点集合中所有数据点的数量。The preset algorithm rule of the isolated forest algorithm is to perform iterative space cutting on all data point sets to obtain the cutting space, and calculate the number of data points in each cutting space. The spatial cutting refers to cutting a data point set in an isolated forest model space using a random hyperplane. Assuming that each data point in the data point set is relatively concentrated, it is not easy to have separate data points cut into one space during the space cutting process. If some data points in the data point set are loose or scattered at the edge of the data point set, those scattered data points will be easily cut into a single space. The system cuts through iterative space to obtain all single data points that are individually cut into a single space. It can be understood that when each data point in the data point set is individually cut into a single space, a single data point is generated at this time, and the system will record the single data point. And the number of all single data points is equal to the number of all data points in the data point set.
步骤C,获取所述各个单一数据点产生时所属的迭代次数,并获取所述所有单一数据点中迭代次数在前预设次数中的目标数据点;Step C: Obtain the number of iterations to which each single data point belongs, and obtain a target data point in a preset number of iterations among all the single data points;
步骤D,统计所述所有目标数据点的数据点个数,并计算所述数据点个数在所述总数据点个数中的占比值;Step D: Count the number of data points of all the target data points, and calculate the ratio of the number of data points to the total number of data points;
系统获取各单一数据点产生时的迭代次数。例如单一数据点A在第一次空间切割时产生,单一数据点B、C在第二次空间切割时产生,单一数据点D、E、F、G在第三次空间切割时产生等等,系统将统计各个单一数据点产生时的迭代次数。假设预设次数为2,则系统将获取在前2次空间迭代中产生的目标数据点A、B和C。The system obtains the number of iterations when each single data point is generated. For example, a single data point A is generated during the first spatial cutting, a single data point B, C is generated during the second spatial cutting, a single data point D, E, F, G is generated during the third spatial cutting, etc. The system will count the number of iterations for each single data point. Assuming the preset number of times is 2, the system will obtain the target data points A, B, and C generated in the previous 2 spatial iterations.
系统统计目标数据点的数据点个数总共为3个,假设当前数据点集合中的总数据点个数15个,那么数据点个数占总比的占比值为3/15=0.2。The system counts the total number of data points of the target data points as three. Assuming that the total number of data points in the current data point set is 15, then the ratio of the number of data points to the total value is 3/15 = 0.2.
步骤E,将所述占比值设置为异常得分。In step E, the percentage value is set as an abnormal score.
系统将把占比值设置为异常得分,以作为后续数值比较的参考值。The system will set the percentage value to the abnormal score as a reference value for subsequent numerical comparisons.
进一步地,在本申请用电量异常检测方法第二实施例的基础上,提出本申请用电量异常检测方法第三实施例,与前述实施例的区别在于,所述方法还包括:Further, based on the second embodiment of the power consumption abnormality detection method of the present application, a third embodiment of the power consumption abnormality detection method of the present application is proposed. The difference from the foregoing embodiment is that the method further includes:
步骤S50,将所述各个正常序列和所述各个异常序列分别生成对应的正常分布曲线和异常分布曲线;Step S50: Generate corresponding normal distribution curves and abnormal distribution curves from the respective normal sequences and the respective abnormal sequences;
将各序列可视化为曲线的意义在于,用户可以直观地观测并识别哪些用电量时间序列偏离了正常分布情形。The significance of visualizing each sequence as a curve is that users can intuitively observe and identify which time series of power consumption deviate from the normal distribution situation.
本实施例中,为方便用户直观地查看分析正常序列和异常序列在序列特征值上的差异,系统在确定正常序列和异常序列之后,将把正常序列和异常序列分别转化为对应的正常分布曲线和异常分布曲线。由于正常序列和异常序列中的序列特征值都是以时间顺序分别排序的,因此按时间先后顺序系统可根据目标时间点以及各自对应的 序列特征值生成正常分布曲线和异常分布曲线。In this embodiment, in order to facilitate the user to intuitively view and analyze the difference in sequence feature values between the normal sequence and the abnormal sequence, the system will convert the normal sequence and the abnormal sequence into corresponding normal distribution curves after determining the normal sequence and the abnormal sequence, respectively. And anomalous distribution curves. Because the sequence feature values in the normal sequence and the abnormal sequence are sorted in chronological order, the chronological system can be based on the target time point and their corresponding The series eigenvalues generate normal distribution curves and abnormal distribution curves.
步骤S60,将所述正常分布曲线和所述异常分布曲线分别显示并标记在预设坐标系中,以供用户识别。In step S60, the normal distribution curve and the abnormal distribution curve are respectively displayed and marked in a preset coordinate system for user identification.
在获取所有正常分布曲线和异常分布曲线之后,为了更直观地体现正常分布曲线和异常分布曲线之间的差异,系统将把正常分布曲线和异常分布曲线显示在预设坐标系中。在所述预设坐标系中,为提高辨识度,正常分布曲线和异常分布曲线将通过不同的标记形式进行显示,例如将正常分布曲线标记为绿色曲线,将异常分布曲线标记为红色曲线,以分别表明正常分布曲线和异常分布曲线各自所对应的正常序列和异常序列,以方便用户识别分析。After obtaining all the normal and abnormal distribution curves, in order to more intuitively reflect the difference between the normal and abnormal distribution curves, the system will display the normal and abnormal distribution curves in a preset coordinate system. In the preset coordinate system, in order to improve the recognition degree, the normal distribution curve and the abnormal distribution curve will be displayed through different marking forms, for example, the normal distribution curve is marked as a green curve, and the abnormal distribution curve is marked as a red curve. The normal and abnormal sequences respectively corresponding to the normal distribution curve and the abnormal distribution curve are shown to facilitate user identification and analysis.
进一步地,在本申请用电量异常检测方法第三实施例的基础上,提出本申请用电量异常检测方法第四实施例,与前述实施例的区别在于,所述孤立森林算法中保存有所有特征数据序列中的异常特征值,所述步骤S60之后还包括:Further, on the basis of the third embodiment of the power consumption abnormality detection method of the present application, a fourth embodiment of the power consumption abnormality detection method of the present application is proposed. The difference from the foregoing embodiment is that the isolated forest algorithm stores the The abnormal eigenvalues in all characteristic data sequences, after step S60, further include:
步骤S70,获取所述异常序列在孤立森林模型空间中对应的目标数据点,并获取所述目标数据点的异常时间点和异常特征值;Step S70: Obtain a target data point corresponding to the abnormal sequence in the isolated forest model space, and obtain an abnormal time point and an abnormal feature value of the target data point;
异常序列在模型空间中包括了游离的异常特征值,但也包括了正常的特征值。在本实施例中,由于目标数据点是前预设次数被切割出来的,即系统已定位出偏移量较大的目标数据点。因此可获取异常序列在孤立森林模型空间中的目标数据点的异常时间点和异常特征值。这些异常时间点上的异常特征值在异常分布曲线中会显示,但并没有明确标记出来以增加辨识度。当异常分布曲线的数量规模较大时,会扰乱用户的分析判断。为提高异常特征值的辨识度,本实施例获取异常序列在孤立森林算法的模型空间中的目标数据点,由于目标数据点是确立下来的异常数据点,且异常序列已经确立下来,因此系统可从之前的孤立森林算法的计算过程中获取目标数据点的异常时间点和异常特征值。所述异常特征值在孤立森林算法中的偏移量远远大于其他特征值。The anomaly sequence includes free anomalous eigenvalues in the model space, but also includes normal eigenvalues. In this embodiment, because the target data point is cut out a preset number of times before, the system has located a target data point with a large offset. Therefore, the abnormal time points and abnormal eigenvalues of the target data points of the abnormal sequence in the isolated forest model space can be obtained. The abnormal eigenvalues at these abnormal time points will be displayed in the abnormal distribution curve, but they are not clearly marked to increase the degree of recognition. When the number of anomalous distribution curves is large, it will disturb the user's analysis and judgment. In order to improve the recognition of abnormal eigenvalues, this embodiment obtains the target data points of the abnormal sequence in the model space of the isolated forest algorithm. Since the target data points are established abnormal data points and the abnormal sequence has been established, the system can Obtain the target data points' abnormal time points and abnormal eigenvalues from the previous calculation process of the isolated forest algorithm. The offset of the abnormal feature value in the isolated forest algorithm is much larger than other feature values.
步骤S80,获取所述异常序列对应的异常分布曲线,在异常分布曲线上定位到所述目标数据点,并对应显示所述目标数据点的异常时间点和异常特征值。Step S80: Obtain an abnormal distribution curve corresponding to the abnormal sequence, locate the target data point on the abnormal distribution curve, and display the abnormal time point and abnormal characteristic value of the target data point correspondingly.
系统根据异常序列获取到对应的异常分布曲线,从异常分布曲线中定位到目标数据点,例如目标数据点为C点,则获取到异常分布曲线中的C点,并根据该数据点的异常时间点和异常特征值在异常 分布曲线中将其标记出来,以显示该数据点为目标数据点,并显示其异常时间点和异常特征值,提高数据辨识度。The system obtains the corresponding abnormal distribution curve according to the abnormal sequence, and locates the target data point from the abnormal distribution curve. For example, if the target data point is point C, then the point C in the abnormal distribution curve is obtained, and according to the abnormal time of the data point Points and outlier eigenvalues in outliers It is marked in the distribution curve, and the data point is displayed as the target data point, and its abnormal time point and abnormal characteristic value are displayed, thereby improving the degree of data identification.
进一步地,在本申请用电量异常检测方法第四实施例的基础上,提出本申请用电量异常检测方法第五实施例,与前述实施例的区别在于,所述正常序列中的各目标时间点均有对应的正常特征值,所述步骤S60之后还包括:Further, on the basis of the fourth embodiment of the power consumption abnormality detection method of the present application, a fifth embodiment of the power consumption abnormality detection method of the present application is proposed. The difference from the foregoing embodiment lies in each target in the normal sequence. There are corresponding normal eigenvalues at time points. After step S60, the method further includes:
步骤S90,采集所述各正常序列中对应的正常特征值,并对所述所有正常序列中同一目标时间点的所述所有正常特征值进行均值计算,以获得各个目标时间点的特征均值;Step S90: Collect the corresponding normal feature values in each normal sequence, and perform an average calculation on all the normal feature values at the same target time point in all the normal sequences to obtain the feature average value of each target time point;
所有正常序列代表了用电量时间序列在正常情况下的分布情况,本实施例将根据所有正常序列的数据在预设坐标系中提供了一种理想分布曲线。具体地,系统采集到所有正常序列在不同时间点上的特征值,假设当前判定为正常序列的特征数据序列一共有n个,那么系统从n个正常序列中提取出的同一时间点的特征值共有n个。系统将计算同一时间点的所有特征值的均值,得到该时间点上的特征均值,该特征均值可代表该时间点上正常特征值的理想水准。例如,当前所采集到的所有正常序列一共5个,而在5个正常序列中时间点为18点整的5个特征值分别为3、5、4、3.5、4.5。则18点整的特征均值为(3+5+4+3.5+4.5)/5=4。该特征均值4即可代表5个正常序列中目标时间点为18点整的平均分布情况。All normal sequences represent the distribution of the power consumption time series under normal conditions. This embodiment will provide an ideal distribution curve in a preset coordinate system based on the data of all normal sequences. Specifically, the system collects the feature values of all normal sequences at different time points. Assuming that there are n feature data sequences currently determined to be normal sequences, the system extracts feature values at the same time point from the n normal sequences. There are n in total. The system will calculate the mean of all the feature values at the same time point to get the feature mean value at that time point. The feature mean value can represent the ideal level of normal feature values at that time point. For example, there are a total of five normal sequences currently collected, and the five characteristic values of the time points in the five normal sequences are three, five, four, 3.5, and 4.5. Then the average feature value at 18 o'clock is (3 + 5 + 4 + 3.5 + 4.5) / 5 = 4. The mean value of 4 can represent the average distribution of the target time points in the five normal sequences.
步骤S100,将所述所有特征均值按照目标时间点的先后顺序转化为平均分布曲线,并将所述平均分布曲线显示并标记在所述预设坐标系。In step S100, the mean values of all the features are converted into an average distribution curve in the order of the target time points, and the average distribution curve is displayed and marked in the preset coordinate system.
获取到各个时间点的特征均值之后,系统可将特征均值按照时间点顺序进行排序,转化为平均分布曲线。由于不同的特征均值均代表了对应时间点上的平均分布情况,因此将所有特征均值按时间点顺序进行排序,可得到从整体上代表不同时间点的平均分布情况的平均分布曲线。系统将把该平均分布曲线显示在预设坐标系中,并将该平均分布曲线标记出来,以方便用户识别分析。After obtaining the feature mean at each time point, the system can sort the feature mean according to the time point order and convert it into an average distribution curve. Since different feature mean values represent the average distribution at the corresponding time points, all feature mean values are sorted in order of time points to obtain an average distribution curve representing the average distribution situation at different time points as a whole. The system will display the average distribution curve in a preset coordinate system, and mark the average distribution curve to facilitate user identification and analysis.
进一步地,在本申请用电量异常检测方法第五实施例的基础上,提出本申请用电量异常检测方法第六实施例,与前述实施例的区别在于,所述步骤S80之后还包括:Further, based on the fifth embodiment of the power consumption abnormality detection method of the present application, a sixth embodiment of the power consumption abnormality detection method of the present application is proposed. The difference from the foregoing embodiment is that after step S80, the method further includes:
步骤S110,对所述异常分布曲线上各异常时间点的异常特征值,以及所述平均分布曲线中各异常时间点对应的平均特征值进行差值计算,以获得所述异常分布曲线与所述平均分布曲线对应异常时间点上的特征偏移值;Step S110: performing a difference calculation on the abnormal characteristic values at each abnormal time point on the abnormal distribution curve and the average characteristic value corresponding to each abnormal time point in the average distribution curve to obtain the abnormal distribution curve and the The characteristic offset value corresponding to the average distribution curve at an abnormal time point;
进一步地,在预设坐标系中显示异常分布曲线和平均分布曲线可方便观看,但用户可能需要精确地分析结果。例如房东需要对某个租户的异常用电量进行细致分析,或者用户需要调查异常用电量中的具体细节,为方便用户进行比对分析,系统将基于异常分布曲线中各异常时间点上的异常特征值与平均分布曲线上对应异常时间点的平均特征值进行差值计算,以得到每个异常时间点上异常分布曲线与平均分布曲线的特征偏移值。例如异常分布曲线上5时的异常特征值为10,而平均分布曲线上5时的平均特征值为5,则特征偏移值为10-5=5。Further, displaying the abnormal distribution curve and the average distribution curve in a preset coordinate system can be conveniently viewed, but the user may need to accurately analyze the results. For example, the landlord needs to make a detailed analysis of the abnormal power consumption of a tenant, or the user needs to investigate the specific details of the abnormal power consumption. In order to facilitate the user's comparison analysis, the system will be based on the abnormal time points in the abnormal distribution curve. Difference calculation is performed between the abnormal eigenvalue and the average eigenvalue at the corresponding abnormal time point on the average distribution curve to obtain the characteristic offset value of the abnormal distribution curve and the average distribution curve at each abnormal time point. For example, when the abnormal characteristic value is 5 on the abnormal distribution curve and the average characteristic value is 5 on the average distribution curve, the characteristic offset value is 10-5 = 5.
步骤S120,若检测到基于所述异常分布曲线的触发操作,将该异常分布曲线所述各目标时间点上的所述特征偏移值显示在所述预设坐标系中,以供用户分析。In step S120, if a trigger operation based on the abnormal distribution curve is detected, the characteristic offset values at the target time points of the abnormal distribution curve are displayed in the preset coordinate system for user analysis.
当用户触发异常分布曲线(如点击查探异常分布曲线中的数据)时,系统将把该异常分布曲线各目标时间点的特征偏移值直接显示在预设坐标系中。这样根据特征偏移值,用户可得知不同目标时间点上用电量的变化趋势,并可通过变化趋势分析判断产生该异常的原因,例如电路短路,电表仪失灵等等。When the user triggers the abnormal distribution curve (such as clicking to check the data in the abnormal distribution curve), the system will directly display the characteristic offset value of each target time point of the abnormal distribution curve in the preset coordinate system. In this way, according to the characteristic offset value, the user can know the change trend of power consumption at different target time points, and can analyze the cause of the abnormality through the change trend analysis, such as a short circuit of the circuit, a failure of the meter, and the like.
进一步地,在本申请用电量异常检测方法第六实施例的基础上,提出本申请用电量异常检测方法第七实施例,与前述实施例的区别在于,所述方法还包括:Further, based on the sixth embodiment of the power consumption abnormality detection method of the present application, a seventh embodiment of the power consumption abnormality detection method of the present application is proposed. The difference from the foregoing embodiment is that the method further includes:
步骤a,当接收到异常控制比例时,从预设映射表中获取与所述异常控制比例相映射的目标警戒值;Step a: When an abnormal control ratio is received, obtain a target alert value mapped to the abnormal control ratio from a preset mapping table;
现实场景中,异常检测的异常判断标准可能会发生改变。例如某段时间内限电或者断电,那么用电量将发生大幅度变化,系统将判断这是异常,但实际上这种变化并非是因为异常,而是由可知可控的原因导致的,因此需要将该异常情况进行排除。也就是说,本申请可根据实际业务需求调整异常判断标准。例如,当前1个月内需要限电,那么相对应的异常序列的数量将会上升,为将该类异常序列排除,系统可对判断标准进行更改,而判断标准的确定与预设值相关。可以理解的是,异常控制比例是指对所有异常序列按比例进行过滤。In a real scenario, the abnormality judgment criteria for anomaly detection may change. For example, if the power supply is limited or cut off for a certain period of time, the power consumption will change drastically, and the system will judge that it is abnormal. In fact, this change is not caused by abnormalities, but caused by known and controllable reasons. Therefore, this abnormal situation needs to be eliminated. In other words, this application can adjust the abnormality judgment standard according to actual business requirements. For example, if there is a need to limit power within the current month, the number of corresponding abnormal sequences will increase. In order to exclude such abnormal sequences, the system can change the judgment criteria, and the determination of the judgment criteria is related to the preset value. It can be understood that the proportion of abnormal control refers to filtering all abnormal sequences in proportion.
本实施例中,系统保存有预设映射表。系统接收到外界输入的异常控制比例,在预设映射表中找到与该比例相映射的目标预设值。例如出现限电或断电情况下,已知会使得所有特征数据序列中5%的正常序列被确定为异常序列,那么,只需调整异常控制比例,即可将这部分原本为正常序列的异常序列排除。而本实施例中的预设映射表,异常控制比例与警戒值存在一一对应关系。可以理解的是,实际分布情况的设定可通过异常警戒值确定,即异常警戒值可自定义设置,从而调整对异常序列的判断标准。In this embodiment, the system stores a preset mapping table. The system receives the abnormal control ratio input from the outside, and finds the target preset value mapped to the ratio in the preset mapping table. For example, in the case of power limitation or power failure, it is known that 5% of the normal sequences in all characteristic data sequences are determined to be abnormal sequences. Then, by adjusting the exception control ratio, this part of the original sequence is abnormal. Sequence exclusion. In the preset mapping table in this embodiment, there is a one-to-one correspondence between the abnormal control ratio and the alert value. It can be understood that the setting of the actual distribution can be determined by the abnormal alert value, that is, the abnormal alert value can be customized to adjust the judgment standard of the abnormal sequence.
步骤b,将当前默认的异常警戒值调整为所述目标警戒值,以调整所述正常序列和所述异常序列的判断标准。In step b, the current default abnormality alert value is adjusted to the target alert value, so as to adjust the judgment criteria of the normal sequence and the abnormal sequence.
由上可知,当前系统默认的异常警戒值将不再适应当前的实际业务需求,获取到目标警戒值之后,系统将直接把当前默认的异常警戒值调整为目标警戒值,从而调整正常序列和异常序列的判断标准。It can be known from the above that the current system's default abnormal alert value will no longer meet the current actual business needs. After obtaining the target alert value, the system will directly adjust the current default abnormal alert value to the target alert value, thereby adjusting the normal sequence and abnormality. The criterion of the sequence.
参照图3,图3是本申请实施例方法涉及的硬件运行环境的设备结构示意图。Referring to FIG. 3, FIG. 3 is a schematic diagram of a device structure of a hardware operating environment involved in the method according to the embodiment of the present application.
本申请实施例设备可以是PC,也可以是智能手机、平板电脑、电子书阅读器、MP3(Moving Picture Experts Group Audio Layer III,动态影像专家压缩标准音频层面3)播放器、MP4(Moving Picture Experts Group Audio Layer IV,动态影像专家压缩标准音频层面4)播放器、便携计算机等终端设备。The device in this embodiment of the present application may be a PC, or a smart phone, a tablet computer, an e-book reader, or MP3 (Moving Picture). Experts Group Audio Layer III, standard video layer 3) player, MP4 (Moving Picture Experts Group Audio Layer IV, motion picture expert compression standard audio layer 4) Terminal equipment such as players, portable computers.
如图3所示,该异常检测设备可以包括:处理器1001,例如CPU,存储器1005,通信总线1002。其中,通信总线1002用于实现处理器1001和存储器1005之间的连接通信。存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile memory),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。As shown in FIG. 3, the abnormality detection device may include: a processor 1001, such as a CPU, a memory 1005, and a communication bus 1002. The communication bus 1002 is used to implement connection and communication between the processor 1001 and the memory 1005. The memory 1005 may be a high-speed RAM memory or a non-volatile memory. memory), such as disk storage. The memory 1005 may optionally be a storage device independent of the foregoing processor 1001.
可选地,该异常检测设备还可以包括用户接口、网络接口、摄像头、RF(Radio Frequency,射频)电路,传感器、音频电路、WiFi模块等等。用户接口可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口还可以包括标准的有线接口、无线接口。网络接口可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。Optionally, the abnormality detection device may further include a user interface, a network interface, a camera, and an RF (Radio Frequency) circuits, sensors, audio circuits, WiFi modules, and more. The user interface may include a display, an input unit such as a keyboard, and the optional user interface may further include a standard wired interface and a wireless interface. The network interface can optionally include a standard wired interface and a wireless interface (such as a WI-FI interface).
本领域技术人员可以理解,图3中示出的异常检测设备结构并不构成对异常检测设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。Those skilled in the art can understand that the structure of the abnormality detection device shown in FIG. 3 does not constitute a limitation on the abnormality detection device, and may include more or fewer components than shown in the figure, or combine some components or different components Layout.
如图3所示,作为一种计算机存储介质的存储器1005中可以包括操作系统、网络通信模块以及计算机可读指令。操作系统是管理和控制异常检测设备硬件和软件资源的程序,支持计算机可读指令以及其它软件和/或程序的运行。网络通信模块用于实现存储器1005内部各组件之间的通信,以及与异常检测设备中其它硬件和软件之间通信。As shown in FIG. 3, the memory 1005 as a computer storage medium may include an operating system, a network communication module, and computer-readable instructions. The operating system is a program that manages and controls the hardware and software resources of the anomaly detection device, and supports the execution of computer-readable instructions and other software and / or programs. The network communication module is used to implement communication between components in the memory 1005 and to communicate with other hardware and software in the abnormality detection device.
在图3所示的异常检测设备中,处理器1001用于执行存储器1005中存储的计算机可读指令,实现以下步骤:In the abnormality detection device shown in FIG. 3, the processor 1001 is configured to execute computer-readable instructions stored in the memory 1005 to implement the following steps:
按预设时间间隔从多个用电量时间序列中采集各目标时间点上的序列特征值,以生成所述各用电量时间序列对应的特征数据序列;Collecting sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
根据孤立森林算法计算所述所有特征数据序列的异常得分;Calculate the abnormal scores of all the characteristic data sequences according to the isolated forest algorithm;
若所述异常得分大于异常警戒值,则将所述特征数据序列确认为正常序列;If the abnormal score is greater than the abnormal alert value, confirming the characteristic data sequence as a normal sequence;
若所述异常得分小于或等于异常警戒值,则将所述特征数据序列确认为异常序列。If the abnormality score is less than or equal to the abnormality alert value, the characteristic data sequence is confirmed as an abnormality sequence.
本申请异常检测设备的具体实施方式与上述用电量异常检测方法各实施例基本相同,在此不再赘述。The specific implementation manners of the abnormality detection device of the present application are basically the same as the embodiments of the foregoing abnormality detection method for power consumption, and are not repeated here.
参照图4,本申请提供了一种异常检测装置,所述异常检测装置包括:Referring to FIG. 4, the present application provides an abnormality detection device. The abnormality detection device includes:
采集模块,用于按预设时间间隔从多个用电量时间序列中采集各目标时间点上的序列特征值,以生成所述各用电量时间序列对应的特征数据序列;A collection module, configured to collect sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
第一计算模块,用于根据孤立森林算法计算所述所有特征数据序列的异常得分;A first calculation module, configured to calculate an abnormal score of all the characteristic data sequences according to an isolated forest algorithm;
第一确认模块,用于若所述异常得分大于异常警戒值,则将所述特征数据序列确认为正常序列;A first confirmation module, configured to confirm the characteristic data sequence as a normal sequence if the abnormal score is greater than an abnormal alert value;
第二确认模块,用于若所述异常得分小于或等于异常警戒值,则将所述特征数据序列确认为异常序列。A second confirmation module is configured to confirm the characteristic data sequence as an abnormal sequence if the abnormal score is less than or equal to an abnormal alert value.
进一步地,所述第一计算模块包括:Further, the first calculation module includes:
生成单元,用于确定所述每个特征数据序列中所有目标时间点上的序列特征值在孤立森林模型空间中对应的数据点的位置,以生成数据点集合,并统计所述数据点集合的总数据点个数;A generating unit, configured to determine the positions of the corresponding data points in the isolated forest model space of the sequence feature values at all target time points in each of the feature data sequences to generate a data point set, and count the Total number of data points;
切割单元,用于按照孤立森林算法的预设算法规则对所述数据点集合中的所有数据点进行迭代空间切割,直至获取到所有单独被切割在单一空间内的单一数据点;A cutting unit, configured to perform iterative space cutting on all data points in the data point set according to a preset algorithm rule of an isolated forest algorithm until all single data points that are individually cut into a single space are obtained;
获取单元,用于获取所述各个单一数据点产生时所属的迭代次数,并获取所述所有单一数据点中迭代次数在前预设次数中的目标数据点;An obtaining unit, configured to obtain the number of iterations to which each single data point belongs, and to obtain a target data point of a preset number of iterations among all the single data points;
计算单元,用于统计所述所有目标数据点的数据点个数,并计算所述数据点个数在所述总数据点个数中的占比值;A calculation unit, configured to count the number of data points of all the target data points, and calculate a ratio of the number of data points to the total number of data points;
设置单元,用于将所述占比值设置为异常得分。A setting unit, configured to set the ratio value as an abnormal score.
进一步地,所述异常检测装置还包括:Further, the abnormality detection device further includes:
生成模块,用于将所述各个正常序列和所述各个异常序列分别生成对应的正常分布曲线和异常分布曲线;A generating module, configured to generate corresponding normal distribution curves and abnormal distribution curves from the respective normal sequences and the respective abnormal sequences;
第一显示模块,用于将所述正常分布曲线和所述异常分布曲线分别显示并标记在预设坐标系中,以供用户识别。A first display module is configured to display and mark the normal distribution curve and the abnormal distribution curve respectively in a preset coordinate system for user identification.
进一步地,所述孤立森林算法中保存有所有特征数据序列中的异常特征值,所述异常检测装置还包括:Further, the isolated forest algorithm stores abnormal characteristic values in all characteristic data sequences, and the abnormality detection device further includes:
第一获取模块,用于获取所述异常序列在孤立森林模型空间中对应的目标数据点,并获取所述目标数据点的异常时间点和异常特征值;A first obtaining module, configured to obtain a target data point corresponding to the abnormal sequence in an isolated forest model space, and obtain an abnormal time point and an abnormal characteristic value of the target data point;
第二显示模块,用于获取所述异常序列对应的异常分布曲线,在异常分布曲线上定位到所述目标数据点,并对应显示所述目标数据点的异常时间点和异常特征值。A second display module is configured to obtain an abnormal distribution curve corresponding to the abnormal sequence, locate the target data point on the abnormal distribution curve, and display the abnormal time point and abnormal characteristic value of the target data point correspondingly.
进一步地,所述正常序列中的各目标时间点均有对应的正常特征值,所述异常检测装置还包括:Further, each target time point in the normal sequence has a corresponding normal feature value, and the abnormality detection device further includes:
第二计算模块,用于采集所述各正常序列中对应的正常特征值,并对所述所有正常序列中同一目标时间点的所述所有正常特征值进行均值计算,以获得各个目标时间点的特征均值;A second calculation module is configured to collect the corresponding normal feature values in each normal sequence, and perform an average calculation on all the normal feature values at the same target time point in all the normal sequences to obtain the target time points. Feature mean
转化模块,用于将所述所有特征均值按照目标时间点的先后顺序转化为平均分布曲线,并将所述平均分布曲线显示并标记在所述预设坐标系。A conversion module, configured to convert the mean values of all features into an average distribution curve in the order of target time points, and display and mark the average distribution curve in the preset coordinate system.
进一步地,所述异常检测装置还包括:Further, the abnormality detection device further includes:
第三计算模块,用于对所述异常分布曲线上各异常时间点的异常特征值,以及所述平均分布曲线中各异常时间点对应的平均特征值进行差值计算,以获得所述异常分布曲线与所述平均分布曲线对应异常时间点上的特征偏移值;A third calculation module, configured to perform difference calculation on the abnormal characteristic values at each abnormal time point on the abnormal distribution curve and the average characteristic value corresponding to each abnormal time point in the average distribution curve to obtain the abnormal distribution A characteristic offset value at an abnormal time point corresponding to the curve and the average distribution curve;
第三显示模块,用于若检测到基于所述异常分布曲线的触发操作,将该异常分布曲线所述各目标时间点上的所述特征偏移值显示在所述预设坐标系中,以供用户分析。A third display module, configured to display, if a trigger operation based on the abnormal distribution curve is detected, the characteristic offset value at each target time point of the abnormal distribution curve in the preset coordinate system, For user analysis.
进一步地,所述异常检测装置还包括:Further, the abnormality detection device further includes:
第二获取模块,用于当接收到异常控制比例时,从预设映射表中获取与所述异常控制比例相映射的目标警戒值;A second obtaining module, configured to obtain a target alert value mapped to the abnormal control ratio from a preset mapping table when the abnormal control ratio is received;
调整模块,用于将当前默认的异常警戒值调整为所述目标警戒值,以调整所述正常序列和所述异常序列的判断标准。An adjustment module is configured to adjust a current default abnormal alert value to the target alert value, so as to adjust the judgment criteria of the normal sequence and the abnormal sequence.
需要说明的是,本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过计算机可读指令来指示相关的硬件完成,所述计算机可读指令可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。It should be noted that a person of ordinary skill in the art may understand that all or part of the steps for implementing the foregoing embodiments may be completed by hardware, or computer-readable instructions may be used to instruct related hardware to complete. The computer-readable instructions may be stored in In a computer-readable storage medium, the aforementioned storage medium may be a read-only memory, a magnetic disk, or an optical disk.
本申请还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者一个以上计算机可读指令,所述一个或者一个以上计算机可读指令还可被一个或者一个以上的处理器执行以用于实现上述任一项所述的用电量异常检测方法的步骤。所述计算机可读存储介质可以为非易失性可读存储介质,如RAM、磁碟、光盘等。This application also provides a computer-readable storage medium, where the computer-readable storage medium stores one or more computer-readable instructions, and the one or more computer-readable instructions can also be processed by one or more The device executes steps for implementing the method for detecting an abnormality in power consumption according to any one of the foregoing. The computer-readable storage medium may be a non-volatile readable storage medium, such as a RAM, a magnetic disk, an optical disk, or the like.
本申请可读存储介质具体实施方式与上述用电量异常检测方法各实施例基本相同,在此不再赘述。The specific implementation manner of the readable storage medium in this application is basically the same as each embodiment of the foregoing method for detecting an abnormality in power consumption, and details are not described herein again.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, in this article, the terms "including", "including" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, It also includes other elements not explicitly listed, or elements inherent to such a process, method, article, or device. Without more restrictions, an element limited by the sentence "including a ..." does not exclude that there are other identical elements in the process, method, article, or device that includes the element.
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。The above-mentioned serial numbers of the embodiments of the present application are merely for description, and do not represent the superiority or inferiority of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods in the above embodiments can be implemented by means of software plus a necessary universal hardware platform, and of course, also by hardware, but in many cases the former is better. Implementation. Based on such an understanding, the technical solution of this application that is essentially or contributes to the existing technology can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, The optical disc) includes several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in the embodiments of the present application.
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。The above are only preferred embodiments of the present application, and thus do not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made by using the description and drawings of the present application, or directly or indirectly used in other related technical fields Are included in the scope of patent protection of this application.

Claims (20)

  1. 一种用电量异常检测方法,其特征在于,所述用电量异常检测方法包括: An abnormality detection method of power consumption, characterized in that the abnormality detection method of power consumption includes:
    按预设时间间隔从多个用电量时间序列中采集各目标时间点上的序列特征值,以生成所述各用电量时间序列对应的特征数据序列;Collecting sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
    根据孤立森林算法计算所述所有特征数据序列的异常得分;Calculate the abnormal scores of all the characteristic data sequences according to the isolated forest algorithm;
    若所述异常得分大于异常警戒值,则将所述特征数据序列确认为正常序列;If the abnormal score is greater than the abnormal alert value, confirming the characteristic data sequence as a normal sequence;
    若所述异常得分小于或等于异常警戒值,则将所述特征数据序列确认为异常序列。If the abnormality score is less than or equal to the abnormality alert value, the characteristic data sequence is confirmed as an abnormality sequence.
  2. 如权利要求1所述的用电量异常检测方法,其特征在于,所述根据孤立森林算法计算所述所有特征数据序列的异常得分的步骤包括:The method for detecting abnormal power consumption according to claim 1, wherein the step of calculating the abnormal scores of all the characteristic data sequences according to the isolated forest algorithm comprises:
    确定所述每个特征数据序列中所有目标时间点上的序列特征值在孤立森林模型空间中对应的数据点的位置,以生成数据点集合,并统计所述数据点集合的总数据点个数;Determining the position of the corresponding data points of the sequence feature values at all target time points in each feature data sequence in the isolated forest model space to generate a data point set, and counting the total number of data points in the data point set ;
    按照孤立森林算法的预设算法规则对所述数据点集合中的所有数据点进行迭代空间切割,直至获取到所有单独被切割在单一空间内的单一数据点;Performing iterative space cutting on all data points in the data point set according to a preset algorithm rule of the isolated forest algorithm until all single data points that are individually cut into a single space are obtained;
    获取所述各个单一数据点产生时所属的迭代次数,并获取所述所有单一数据点中迭代次数在前预设次数中的目标数据点;Obtaining the number of iterations to which each single data point belongs, and obtaining the target data point in the preset number of iterations among all the single data points;
    统计所述所有目标数据点的数据点个数,并计算所述数据点个数在所述总数据点个数中的占比值;Counting the number of data points of all the target data points, and calculating the ratio of the number of data points to the total number of data points;
    将所述占比值设置为异常得分。The percentage value is set as an abnormal score.
  3. 如权利要求2所述的用电量异常检测方法,其特征在于,所述方法还包括:The method for detecting abnormal power consumption according to claim 2, wherein the method further comprises:
    将所述各个正常序列和所述各个异常序列分别生成对应的正常分布曲线和异常分布曲线;Generating corresponding normal distribution curves and abnormal distribution curves from the respective normal sequences and the respective abnormal sequences;
    将所述正常分布曲线和所述异常分布曲线分别显示并标记在预设坐标系中,以供用户识别。The normal distribution curve and the abnormal distribution curve are respectively displayed and marked in a preset coordinate system for user identification.
  4. 如权利要求3所述的用电量异常检测方法,其特征在于,所述孤立森林算法中保存有所有特征数据序列中的异常特征值,所述将所述正常分布曲线和所述异常分布曲线分别显示并标记在预设坐标系中,以供用户识别的步骤之后还包括:The method for detecting abnormal power consumption according to claim 3, wherein the isolated forest algorithm stores abnormal characteristic values in all characteristic data sequences, and the normal distribution curve and the abnormal distribution curve are stored in the isolated forest algorithm. After the steps of displaying and marking in the preset coordinate system for user identification, the method further includes:
    获取所述异常序列在孤立森林模型空间中对应的目标数据点,并获取所述目标数据点的异常时间点和异常特征值;Acquiring a target data point corresponding to the abnormal sequence in the isolated forest model space, and acquiring an abnormal time point and an abnormal characteristic value of the target data point;
    获取所述异常序列对应的异常分布曲线,在异常分布曲线上定位到所述目标数据点,并对应显示所述目标数据点的异常时间点和异常特征值。Obtain the abnormal distribution curve corresponding to the abnormal sequence, locate the target data point on the abnormal distribution curve, and display the abnormal time point and abnormal characteristic value of the target data point correspondingly.
  5. 如权利要求3所述的用电量异常检测方法,其特征在于,所述正常序列中的各目标时间点均有对应的正常特征值,所述将所述正常分布曲线和所述异常分布曲线分别显示并标记在预设坐标系中,以供用户识别的步骤之后还包括:The method according to claim 3, wherein each target time point in the normal sequence has a corresponding normal characteristic value, and the normal distribution curve and the abnormal distribution curve are After the steps of displaying and marking in the preset coordinate system for user identification, the method further includes:
    采集所述各正常序列中对应的正常特征值,并对所述所有正常序列中同一目标时间点的所述所有正常特征值进行均值计算,以获得各个目标时间点的特征均值;Collecting corresponding normal feature values in each normal sequence, and performing average calculation on all the normal feature values at the same target time point in all normal sequences to obtain the feature average value of each target time point;
    将所述所有特征均值按照目标时间点的先后顺序转化为平均分布曲线,并将所述平均分布曲线显示并标记在所述预设坐标系。Converting all the mean values of the features into an average distribution curve according to the sequence of the target time point, and displaying and marking the average distribution curve in the preset coordinate system.
  6. 如权利要求5所述的用电量异常检测方法,其特征在于,所述将所述所有特征均值按照目标时间点的先后顺序转化为平均分布曲线,并将所述平均分布曲线显示并标记在所述预设坐标系的步骤之后还包括:The method for detecting abnormal power consumption according to claim 5, wherein the average values of all the features are converted into an average distribution curve in the order of the target time points, and the average distribution curve is displayed and marked in After the step of presetting the coordinate system, the method further includes:
    对所述异常分布曲线上各异常时间点的异常特征值,以及所述平均分布曲线中各异常时间点对应的平均特征值进行差值计算,以获得所述异常分布曲线与所述平均分布曲线对应异常时间点上的特征偏移值;Performing difference calculation on the abnormal characteristic values at each abnormal time point on the abnormal distribution curve and the average characteristic value corresponding to each abnormal time point in the average distribution curve to obtain the abnormal distribution curve and the average distribution curve Corresponds to the characteristic offset value at the abnormal time point;
    若检测到基于所述异常分布曲线的触发操作,将该异常分布曲线所述各目标时间点上的所述特征偏移值显示在所述预设坐标系中,以供用户分析。If a trigger operation based on the abnormal distribution curve is detected, the characteristic offset values at the target time points of the abnormal distribution curve are displayed in the preset coordinate system for user analysis.
  7. 如权利要求1所述的用电量异常检测方法,其特征在于,所述方法还包括:The method for detecting an abnormal power consumption according to claim 1, further comprising:
    当接收到异常控制比例时,从预设映射表中获取与所述异常控制比例相映射的目标警戒值;When an abnormal control ratio is received, obtaining a target alert value mapped to the abnormal control ratio from a preset mapping table;
    将当前默认的异常警戒值调整为所述目标警戒值,以调整所述正常序列和所述异常序列的判断标准。Adjusting the current default abnormal alert value to the target alert value to adjust the normal sequence and the judgment criterion of the abnormal sequence.
  8. 一种异常检测装置,其特征在于,所述异常检测装置包括:An abnormality detection device, characterized in that the abnormality detection device includes:
    采集模块,用于按预设时间间隔从多个用电量时间序列中采集各目标时间点上的序列特征值,以生成所述各用电量时间序列对应的特征数据序列;A collection module, configured to collect sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
    第一计算模块,用于根据孤立森林算法计算所述所有特征数据序列的异常得分;A first calculation module, configured to calculate an abnormal score of all the characteristic data sequences according to an isolated forest algorithm;
    第一确认模块,用于若所述异常得分大于异常警戒值,则将所述特征数据序列确认为正常序列;A first confirmation module, configured to confirm the characteristic data sequence as a normal sequence if the abnormal score is greater than an abnormal alert value;
    第二确认模块,用于若所述异常得分小于或等于异常警戒值,则将所述特征数据序列确认为异常序列。A second confirmation module is configured to confirm the characteristic data sequence as an abnormal sequence if the abnormal score is less than or equal to an abnormal alert value.
  9. 一种异常检测设备,其特征在于,所述异常检测设备包括:存储器、处理器、通信总线以及存储在所述存储器上的计算机可读指令,所述处理器用于执行所述计算机可读指令,以实现以下步骤:An abnormality detection device, characterized in that the abnormality detection device includes: a memory, a processor, a communication bus, and computer-readable instructions stored on the memory, and the processor is configured to execute the computer-readable instructions, To achieve the following steps:
    按预设时间间隔从多个用电量时间序列中采集各目标时间点上的序列特征值,以生成所述各用电量时间序列对应的特征数据序列;Collecting sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
    根据孤立森林算法计算所述所有特征数据序列的异常得分;Calculate the abnormal scores of all the characteristic data sequences according to the isolated forest algorithm;
    若所述异常得分大于异常警戒值,则将所述特征数据序列确认为正常序列;If the abnormal score is greater than the abnormal alert value, confirming the characteristic data sequence as a normal sequence;
    若所述异常得分小于或等于异常警戒值,则将所述特征数据序列确认为异常序列。If the abnormality score is less than or equal to the abnormality alert value, the characteristic data sequence is confirmed as an abnormality sequence.
  10. 如权利要求9所述的异常检测设备,其特征在于,所述根据孤立森林算法计算所述所有特征数据序列的异常得分的步骤包括:The abnormality detection device according to claim 9, wherein the step of calculating the abnormality scores of all the characteristic data sequences according to the isolated forest algorithm comprises:
    确定所述每个特征数据序列中所有目标时间点上的序列特征值在孤立森林模型空间中对应的数据点的位置,以生成数据点集合,并统计所述数据点集合的总数据点个数;Determining the position of the corresponding data points of the sequence feature values at all target time points in each feature data sequence in the isolated forest model space to generate a data point set, and counting the total number of data points in the data point set ;
    按照孤立森林算法的预设算法规则对所述数据点集合中的所有数据点进行迭代空间切割,直至获取到所有单独被切割在单一空间内的单一数据点;Performing iterative space cutting on all data points in the data point set according to a preset algorithm rule of the isolated forest algorithm until all single data points that are individually cut into a single space are obtained;
    获取所述各个单一数据点产生时所属的迭代次数,并获取所述所有单一数据点中迭代次数在前预设次数中的目标数据点;Obtaining the number of iterations to which each single data point belongs, and obtaining the target data point in the preset number of iterations among all the single data points;
    统计所述所有目标数据点的数据点个数,并计算所述数据点个数在所述总数据点个数中的占比值;Counting the number of data points of all the target data points, and calculating the ratio of the number of data points to the total number of data points;
    将所述占比值设置为异常得分。The percentage value is set as an abnormal score.
  11. 如权利要求10所述的异常检测设备,其特征在于,所述处理器用于执行所述计算机可读指令,还以实现以下步骤:The abnormality detection device according to claim 10, wherein the processor is configured to execute the computer-readable instructions, and further to implement the following steps:
    将所述各个正常序列和所述各个异常序列分别生成对应的正常分布曲线和异常分布曲线;Generating corresponding normal distribution curves and abnormal distribution curves from the respective normal sequences and the respective abnormal sequences;
    将所述正常分布曲线和所述异常分布曲线分别显示并标记在预设坐标系中,以供用户识别。The normal distribution curve and the abnormal distribution curve are respectively displayed and marked in a preset coordinate system for user identification.
  12. 如权利要求11所述的异常检测设备,其特征在于,所述孤立森林算法中保存有所有特征数据序列中的异常特征值,所述将所述正常分布曲线和所述异常分布曲线分别显示并标记在预设坐标系中,以供用户识别的步骤之后还包括:The abnormality detection device according to claim 11, wherein the isolated forest algorithm stores abnormal characteristic values in all characteristic data sequences, and the normal distribution curve and the abnormal distribution curve are separately displayed and The steps marked in the preset coordinate system for user identification also include:
    获取所述异常序列在孤立森林模型空间中对应的目标数据点,并获取所述目标数据点的异常时间点和异常特征值;Acquiring a target data point corresponding to the abnormal sequence in the isolated forest model space, and acquiring an abnormal time point and an abnormal characteristic value of the target data point;
    获取所述异常序列对应的异常分布曲线,在异常分布曲线上定位到所述目标数据点,并对应显示所述目标数据点的异常时间点和异常特征值。Obtain the abnormal distribution curve corresponding to the abnormal sequence, locate the target data point on the abnormal distribution curve, and display the abnormal time point and abnormal characteristic value of the target data point correspondingly.
  13. 如权利要求11所述的异常检测设备,其特征在于,所述正常序列中的各目标时间点均有对应的正常特征值,所述将所述正常分布曲线和所述异常分布曲线分别显示并标记在预设坐标系中,以供用户识别的步骤之后还包括:The abnormality detection device according to claim 11, wherein each target time point in the normal sequence has a corresponding normal eigenvalue, and the normal distribution curve and the abnormal distribution curve are separately displayed and displayed. The steps marked in the preset coordinate system for user identification also include:
    采集所述各正常序列中对应的正常特征值,并对所述所有正常序列中同一目标时间点的所述所有正常特征值进行均值计算,以获得各个目标时间点的特征均值;Collecting corresponding normal feature values in each normal sequence, and performing average calculation on all the normal feature values at the same target time point in all normal sequences to obtain the feature average value of each target time point;
    将所述所有特征均值按照目标时间点的先后顺序转化为平均分布曲线,并将所述平均分布曲线显示并标记在所述预设坐标系。Converting all the mean values of the features into an average distribution curve according to the sequence of the target time point, and displaying and marking the average distribution curve in the preset coordinate system.
  14. 如权利要求13所述的异常检测设备,其特征在于,所述将所述所有特征均值按照目标时间点的先后顺序转化为平均分布曲线,并将所述平均分布曲线显示并标记在所述预设坐标系的步骤之后还包括:The abnormality detection device according to claim 13, wherein the average value of all the features is converted into an average distribution curve in the order of the target time points, and the average distribution curve is displayed and marked in the pre- The steps of setting the coordinate system also include:
    对所述异常分布曲线上各异常时间点的异常特征值,以及所述平均分布曲线中各异常时间点对应的平均特征值进行差值计算,以获得所述异常分布曲线与所述平均分布曲线对应异常时间点上的特征偏移值;Performing difference calculation on the abnormal characteristic values at each abnormal time point on the abnormal distribution curve and the average characteristic value corresponding to each abnormal time point in the average distribution curve to obtain the abnormal distribution curve and the average distribution curve Corresponds to the characteristic offset value at the abnormal time point;
    若检测到基于所述异常分布曲线的触发操作,将该异常分布曲线所述各目标时间点上的所述特征偏移值显示在所述预设坐标系中,以供用户分析。If a trigger operation based on the abnormal distribution curve is detected, the characteristic offset values at the target time points of the abnormal distribution curve are displayed in the preset coordinate system for user analysis.
  15. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机可读指令,所述计算机可读指令被处理器执行,以实现以下步骤:A computer-readable storage medium is characterized in that computer-readable instructions are stored on the computer-readable storage medium, and the computer-readable instructions are executed by a processor to implement the following steps:
    按预设时间间隔从多个用电量时间序列中采集各目标时间点上的序列特征值,以生成所述各用电量时间序列对应的特征数据序列;Collecting sequence characteristic values at each target time point from multiple power consumption time series at preset time intervals to generate a characteristic data sequence corresponding to each power consumption time series;
    根据孤立森林算法计算所述所有特征数据序列的异常得分;Calculate the abnormal scores of all the characteristic data sequences according to the isolated forest algorithm;
    若所述异常得分大于异常警戒值,则将所述特征数据序列确认为正常序列;If the abnormal score is greater than the abnormal alert value, confirming the characteristic data sequence as a normal sequence;
    若所述异常得分小于或等于异常警戒值,则将所述特征数据序列确认为异常序列。If the abnormality score is less than or equal to the abnormality alert value, the characteristic data sequence is confirmed as an abnormality sequence.
  16. 如权利要求15所述的计算机可读存储介质,其特征在于,所述根据孤立森林算法计算所述所有特征数据序列的异常得分的步骤包括:The computer-readable storage medium of claim 15, wherein the step of calculating an abnormal score of all the characteristic data sequences according to an isolated forest algorithm comprises:
    确定所述每个特征数据序列中所有目标时间点上的序列特征值在孤立森林模型空间中对应的数据点的位置,以生成数据点集合,并统计所述数据点集合的总数据点个数;Determining the position of the corresponding data points of the sequence feature values at all target time points in each feature data sequence in the isolated forest model space to generate a data point set, and counting the total number of data points in the data point set ;
    按照孤立森林算法的预设算法规则对所述数据点集合中的所有数据点进行迭代空间切割,直至获取到所有单独被切割在单一空间内的单一数据点;Performing iterative space cutting on all data points in the data point set according to a preset algorithm rule of the isolated forest algorithm until all single data points that are individually cut into a single space are obtained;
    获取所述各个单一数据点产生时所属的迭代次数,并获取所述所有单一数据点中迭代次数在前预设次数中的目标数据点;Obtaining the number of iterations to which each single data point belongs, and obtaining the target data point in the preset number of iterations among all the single data points;
    统计所述所有目标数据点的数据点个数,并计算所述数据点个数在所述总数据点个数中的占比值;Counting the number of data points of all the target data points, and calculating the ratio of the number of data points to the total number of data points;
    将所述占比值设置为异常得分。The percentage value is set as an abnormal score.
  17. 如权利要求16所述的计算机可读存储介质,其特征在于,所述计算机可读指令被处理器执行,还以实现以下步骤:The computer-readable storage medium of claim 16, wherein the computer-readable instructions are executed by a processor to further implement the following steps:
    将所述各个正常序列和所述各个异常序列分别生成对应的正常分布曲线和异常分布曲线;Generating corresponding normal distribution curves and abnormal distribution curves from the respective normal sequences and the respective abnormal sequences;
    将所述正常分布曲线和所述异常分布曲线分别显示并标记在预设坐标系中,以供用户识别。The normal distribution curve and the abnormal distribution curve are respectively displayed and marked in a preset coordinate system for user identification.
  18. 如权利要求17所述的计算机可读存储介质,其特征在于,所述孤立森林算法中保存有所有特征数据序列中的异常特征值,所述将所述正常分布曲线和所述异常分布曲线分别显示并标记在预设坐标系中,以供用户识别的步骤之后还包括:The computer-readable storage medium of claim 17, wherein the isolated forest algorithm stores abnormal characteristic values in all characteristic data sequences, and the normal distribution curve and the abnormal distribution curve are respectively stored in the isolated forest algorithm. After the step of displaying and marking in a preset coordinate system for identification by the user, the method further includes:
    获取所述异常序列在孤立森林模型空间中对应的目标数据点,并获取所述目标数据点的异常时间点和异常特征值;Acquiring a target data point corresponding to the abnormal sequence in the isolated forest model space, and acquiring an abnormal time point and an abnormal characteristic value of the target data point;
    获取所述异常序列对应的异常分布曲线,在异常分布曲线上定位到所述目标数据点,并对应显示所述目标数据点的异常时间点和异常特征值。Obtain the abnormal distribution curve corresponding to the abnormal sequence, locate the target data point on the abnormal distribution curve, and display the abnormal time point and abnormal characteristic value of the target data point correspondingly.
  19. 如权利要求17所述的计算机可读存储介质,其特征在于,所述正常序列中的各目标时间点均有对应的正常特征值,所述将所述正常分布曲线和所述异常分布曲线分别显示并标记在预设坐标系中,以供用户识别的步骤之后还包括:The computer-readable storage medium of claim 17, wherein each target time point in the normal sequence has a corresponding normal characteristic value, and the normal distribution curve and the abnormal distribution curve are respectively After the step of displaying and marking in a preset coordinate system for identification by the user, the method further includes:
    采集所述各正常序列中对应的正常特征值,并对所述所有正常序列中同一目标时间点的所述所有正常特征值进行均值计算,以获得各个目标时间点的特征均值;Collecting corresponding normal feature values in each normal sequence, and performing average calculation on all the normal feature values at the same target time point in all normal sequences to obtain the feature average value of each target time point;
    将所述所有特征均值按照目标时间点的先后顺序转化为平均分布曲线,并将所述平均分布曲线显示并标记在所述预设坐标系。Converting all the mean values of the features into an average distribution curve according to the sequence of the target time point, and displaying and marking the average distribution curve in the preset coordinate system.
  20. 如权利要求19所述的计算机可读存储介质,其特征在于,所述将所述所有特征均值按照目标时间点的先后顺序转化为平均分布曲线,并将所述平均分布曲线显示并标记在所述预设坐标系的步骤之后还包括:The computer-readable storage medium of claim 19, wherein the average values of all the features are converted into an average distribution curve in the order of the target time points, and the average distribution curve is displayed and marked on all After the steps of describing the preset coordinate system, the method further includes:
    对所述异常分布曲线上各异常时间点的异常特征值,以及所述平均分布曲线中各异常时间点对应的平均特征值进行差值计算,以获得所述异常分布曲线与所述平均分布曲线对应异常时间点上的特征偏移值;Performing difference calculation on the abnormal characteristic values at each abnormal time point on the abnormal distribution curve and the average characteristic value corresponding to each abnormal time point in the average distribution curve to obtain the abnormal distribution curve and the average distribution curve Corresponds to the characteristic offset value at the abnormal time point;
    若检测到基于所述异常分布曲线的触发操作,将该异常分布曲线所述各目标时间点上的所述特征偏移值显示在所述预设坐标系中,以供用户分析。 If a trigger operation based on the abnormal distribution curve is detected, the characteristic offset values at the target time points of the abnormal distribution curve are displayed in the preset coordinate system for user analysis. Ranch
PCT/CN2018/103220 2018-07-26 2018-08-30 Electricity consumption abnormality detection method, apparatus and device, and readable storage medium WO2020019403A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810841413.0 2018-07-26
CN201810841413.0A CN109726731B (en) 2018-07-26 2018-07-26 Power consumption abnormality detection method, device, equipment and readable storage medium

Publications (1)

Publication Number Publication Date
WO2020019403A1 true WO2020019403A1 (en) 2020-01-30

Family

ID=66294601

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/103220 WO2020019403A1 (en) 2018-07-26 2018-08-30 Electricity consumption abnormality detection method, apparatus and device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN109726731B (en)
WO (1) WO2020019403A1 (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111401431A (en) * 2020-03-12 2020-07-10 成都小步创想慧联科技有限公司 Group renting house identification method and system and storage medium
CN112966017A (en) * 2021-03-01 2021-06-15 北京青萌数海科技有限公司 Abnormal subsequence detection method with indefinite length in time sequence
CN113377568A (en) * 2021-06-29 2021-09-10 北京同创永益科技发展有限公司 Abnormity detection method and device, electronic equipment and storage medium
CN113822343A (en) * 2021-09-03 2021-12-21 国网江苏省电力有限公司营销服务中心 Group renting house identification method based on fine-grained energy consumption data
WO2022105502A1 (en) * 2020-11-23 2022-05-27 歌尔股份有限公司 Point cloud data processing method and apparatus
CN114648227A (en) * 2022-03-23 2022-06-21 成都飞机工业(集团)有限责任公司 Aviation hydraulic pump station time sequence abnormity detection method, device, equipment and storage medium
CN114872290A (en) * 2022-05-20 2022-08-09 深圳市信润富联数字科技有限公司 Self-adaptive production abnormity monitoring method for injection molding part
CN115081840A (en) * 2022-06-09 2022-09-20 国网湖南省电力有限公司 Daily electric quantity abnormal value detection and correction system based on first-order difference and ARIMA method
CN115473331A (en) * 2022-07-22 2022-12-13 国网河南省电力公司新乡供电公司 Dynamic modeling-based digital twin power grid power consumption monitoring system
CN115665209A (en) * 2022-12-09 2023-01-31 施维智能计量系统服务(长沙)有限公司 Ammeter data acquisition method and device, electronic equipment and readable storage medium
CN115792479A (en) * 2023-02-08 2023-03-14 东营市建筑设计研究院 Intelligent power consumption monitoring method and system for intelligent socket
CN116155298A (en) * 2023-04-20 2023-05-23 山东水运发展集团有限公司济宁分公司 Ship lock remote management system based on internet data
CN116414097A (en) * 2023-05-15 2023-07-11 广东思创智联科技股份有限公司 Alarm management method and system based on industrial equipment data
CN116611017A (en) * 2023-07-17 2023-08-18 山东一然环保科技有限公司 Nitrogen oxide emission detection method of low-nitrogen combustion heating furnace
CN116864020A (en) * 2023-09-05 2023-10-10 山东鲁扬新材料科技有限公司 Data management system applied to EGDA generation process
CN116911806A (en) * 2023-09-11 2023-10-20 湖北华中电力科技开发有限责任公司 Internet + based power enterprise energy information management system
CN117195137A (en) * 2023-11-07 2023-12-08 江苏赛冲智能装备有限公司 Rotor die casting error detecting system based on data analysis
CN117312997A (en) * 2023-11-21 2023-12-29 乾程电力有限公司 Intelligent diagnosis method and system for power management system
CN117408734A (en) * 2023-12-15 2024-01-16 广东云百科技有限公司 Customer information intelligent management system based on Internet of things equipment
CN117436006A (en) * 2023-12-22 2024-01-23 圣道天德电气(山东)有限公司 Intelligent ring main unit fault real-time monitoring method and system
CN117478442A (en) * 2023-12-28 2024-01-30 深圳市金瑞铭科技有限公司 Edge intelligent terminal and intelligent remote control method thereof
CN117572331A (en) * 2024-01-16 2024-02-20 山东宜美科节能服务有限责任公司 Method and system for collecting data of intelligent ammeter in real time
CN117609928A (en) * 2024-01-23 2024-02-27 华北电力科学研究院有限责任公司 Pollutant emission amount anomaly identification method and device based on power data
CN118033300A (en) * 2024-04-10 2024-05-14 贵州国昱源丰节能科技有限公司 Intelligent identification method for load power failure abnormality of dynamic voltage regulator

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110472894A (en) * 2019-09-07 2019-11-19 陈赞 A kind of power consumer electricity consumption evaluation method based on intelligent distribution network
CN111159251A (en) * 2019-12-19 2020-05-15 青岛聚好联科技有限公司 Method and device for determining abnormal data
CN113123955B (en) * 2019-12-30 2022-07-26 北京国双科技有限公司 Plunger pump abnormity detection method and device, storage medium and electronic equipment
CN111719210B (en) * 2020-06-11 2021-06-18 苏州汇川技术有限公司 Method and device for detecting abnormal spindle in spinning frame and readable storage medium
CN111709790B (en) * 2020-06-19 2022-01-07 广东电网有限责任公司 Method, device, equipment and storage medium for identifying abnormal electricity price of day-ahead market
CN111897695B (en) * 2020-07-31 2022-06-17 平安科技(深圳)有限公司 Method and device for acquiring KPI abnormal data sample and computer equipment
CN112541016A (en) * 2020-11-26 2021-03-23 南方电网数字电网研究院有限公司 Power consumption abnormality detection method, device, computer equipment and storage medium
CN113688166B (en) * 2021-08-16 2023-09-12 远景智能国际私人投资有限公司 Electric quantity acquisition system and method
CN113688125B (en) * 2021-08-24 2023-12-05 平安国际智慧城市科技股份有限公司 Abnormal value detection method and device based on artificial intelligence, electronic equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095655A (en) * 2016-05-31 2016-11-09 北京蓝海讯通科技股份有限公司 A kind of method for detecting abnormality, application and monitoring device
CN106371939A (en) * 2016-09-12 2017-02-01 山东大学 Time-series data exception detection method and system thereof
CN106649438A (en) * 2016-09-09 2017-05-10 西安交通大学 Time series data unexpected fault detection method
CN106707099A (en) * 2016-11-30 2017-05-24 国网上海市电力公司 Monitoring and locating method based on abnormal electricity consumption detection module
CN106778841A (en) * 2016-11-30 2017-05-31 国网上海市电力公司 The method for building up of abnormal electricity consumption detection model

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108319981A (en) * 2018-02-05 2018-07-24 清华大学 A kind of time series data method for detecting abnormality and device based on density

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106095655A (en) * 2016-05-31 2016-11-09 北京蓝海讯通科技股份有限公司 A kind of method for detecting abnormality, application and monitoring device
CN106649438A (en) * 2016-09-09 2017-05-10 西安交通大学 Time series data unexpected fault detection method
CN106371939A (en) * 2016-09-12 2017-02-01 山东大学 Time-series data exception detection method and system thereof
CN106707099A (en) * 2016-11-30 2017-05-24 国网上海市电力公司 Monitoring and locating method based on abnormal electricity consumption detection module
CN106778841A (en) * 2016-11-30 2017-05-31 国网上海市电力公司 The method for building up of abnormal electricity consumption detection model

Cited By (44)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111401431A (en) * 2020-03-12 2020-07-10 成都小步创想慧联科技有限公司 Group renting house identification method and system and storage medium
CN111401431B (en) * 2020-03-12 2023-07-25 成都小步创想慧联科技有限公司 Group renting room identification method and system and storage medium
WO2022105502A1 (en) * 2020-11-23 2022-05-27 歌尔股份有限公司 Point cloud data processing method and apparatus
CN112966017A (en) * 2021-03-01 2021-06-15 北京青萌数海科技有限公司 Abnormal subsequence detection method with indefinite length in time sequence
CN112966017B (en) * 2021-03-01 2023-11-14 北京青萌数海科技有限公司 Abnormal subsequence detection method for indefinite length in time sequence
CN113377568B (en) * 2021-06-29 2023-10-20 北京同创永益科技发展有限公司 Abnormality detection method and device, electronic equipment and storage medium
CN113377568A (en) * 2021-06-29 2021-09-10 北京同创永益科技发展有限公司 Abnormity detection method and device, electronic equipment and storage medium
CN113822343A (en) * 2021-09-03 2021-12-21 国网江苏省电力有限公司营销服务中心 Group renting house identification method based on fine-grained energy consumption data
CN113822343B (en) * 2021-09-03 2023-08-25 国网江苏省电力有限公司营销服务中心 Group renting room identification method based on fine-grained energy consumption data
CN114648227A (en) * 2022-03-23 2022-06-21 成都飞机工业(集团)有限责任公司 Aviation hydraulic pump station time sequence abnormity detection method, device, equipment and storage medium
CN114648227B (en) * 2022-03-23 2024-03-15 成都飞机工业(集团)有限责任公司 Method, device, equipment and storage medium for detecting abnormal time sequence of aviation hydraulic pump station
CN114872290B (en) * 2022-05-20 2024-02-06 深圳市信润富联数字科技有限公司 Self-adaptive production abnormality monitoring method for injection molding part
CN114872290A (en) * 2022-05-20 2022-08-09 深圳市信润富联数字科技有限公司 Self-adaptive production abnormity monitoring method for injection molding part
CN115081840A (en) * 2022-06-09 2022-09-20 国网湖南省电力有限公司 Daily electric quantity abnormal value detection and correction system based on first-order difference and ARIMA method
CN115473331B (en) * 2022-07-22 2024-04-12 国网河南省电力公司新乡供电公司 Digital twin power grid electricity consumption monitoring system based on dynamic modeling
CN115473331A (en) * 2022-07-22 2022-12-13 国网河南省电力公司新乡供电公司 Dynamic modeling-based digital twin power grid power consumption monitoring system
CN115665209B (en) * 2022-12-09 2023-05-05 云南电网有限责任公司 Ammeter data acquisition method and device, electronic equipment and readable storage medium
CN115665209A (en) * 2022-12-09 2023-01-31 施维智能计量系统服务(长沙)有限公司 Ammeter data acquisition method and device, electronic equipment and readable storage medium
CN115792479B (en) * 2023-02-08 2023-05-09 东营市建筑设计研究院 Intelligent power consumption monitoring method and system for intelligent socket
CN115792479A (en) * 2023-02-08 2023-03-14 东营市建筑设计研究院 Intelligent power consumption monitoring method and system for intelligent socket
CN116155298A (en) * 2023-04-20 2023-05-23 山东水运发展集团有限公司济宁分公司 Ship lock remote management system based on internet data
CN116414097B (en) * 2023-05-15 2023-09-29 广东思创智联科技股份有限公司 Alarm management method and system based on industrial equipment data
CN116414097A (en) * 2023-05-15 2023-07-11 广东思创智联科技股份有限公司 Alarm management method and system based on industrial equipment data
CN116611017B (en) * 2023-07-17 2023-09-19 山东一然环保科技有限公司 Nitrogen oxide emission detection method of low-nitrogen combustion heating furnace
CN116611017A (en) * 2023-07-17 2023-08-18 山东一然环保科技有限公司 Nitrogen oxide emission detection method of low-nitrogen combustion heating furnace
CN116864020A (en) * 2023-09-05 2023-10-10 山东鲁扬新材料科技有限公司 Data management system applied to EGDA generation process
CN116864020B (en) * 2023-09-05 2023-11-03 山东鲁扬新材料科技有限公司 Data management system applied to EGDA generation process
CN116911806A (en) * 2023-09-11 2023-10-20 湖北华中电力科技开发有限责任公司 Internet + based power enterprise energy information management system
CN116911806B (en) * 2023-09-11 2023-11-28 湖北华中电力科技开发有限责任公司 Internet + based power enterprise energy information management system
CN117195137B (en) * 2023-11-07 2024-02-20 江苏赛冲智能装备有限公司 Rotor die casting error detecting system based on data analysis
CN117195137A (en) * 2023-11-07 2023-12-08 江苏赛冲智能装备有限公司 Rotor die casting error detecting system based on data analysis
CN117312997B (en) * 2023-11-21 2024-03-08 乾程电力有限公司 Intelligent diagnosis method and system for power management system
CN117312997A (en) * 2023-11-21 2023-12-29 乾程电力有限公司 Intelligent diagnosis method and system for power management system
CN117408734B (en) * 2023-12-15 2024-03-19 广东云百科技有限公司 Customer information intelligent management system based on Internet of things equipment
CN117408734A (en) * 2023-12-15 2024-01-16 广东云百科技有限公司 Customer information intelligent management system based on Internet of things equipment
CN117436006B (en) * 2023-12-22 2024-03-15 圣道天德电气(山东)有限公司 Intelligent ring main unit fault real-time monitoring method and system
CN117436006A (en) * 2023-12-22 2024-01-23 圣道天德电气(山东)有限公司 Intelligent ring main unit fault real-time monitoring method and system
CN117478442A (en) * 2023-12-28 2024-01-30 深圳市金瑞铭科技有限公司 Edge intelligent terminal and intelligent remote control method thereof
CN117478442B (en) * 2023-12-28 2024-03-29 深圳市金瑞铭科技有限公司 Edge intelligent terminal and intelligent remote control method thereof
CN117572331A (en) * 2024-01-16 2024-02-20 山东宜美科节能服务有限责任公司 Method and system for collecting data of intelligent ammeter in real time
CN117572331B (en) * 2024-01-16 2024-03-26 山东宜美科节能服务有限责任公司 Method and system for collecting data of intelligent ammeter in real time
CN117609928A (en) * 2024-01-23 2024-02-27 华北电力科学研究院有限责任公司 Pollutant emission amount anomaly identification method and device based on power data
CN117609928B (en) * 2024-01-23 2024-04-05 华北电力科学研究院有限责任公司 Pollutant emission amount anomaly identification method and device based on power data
CN118033300A (en) * 2024-04-10 2024-05-14 贵州国昱源丰节能科技有限公司 Intelligent identification method for load power failure abnormality of dynamic voltage regulator

Also Published As

Publication number Publication date
CN109726731A (en) 2019-05-07
CN109726731B (en) 2023-04-18

Similar Documents

Publication Publication Date Title
WO2020019403A1 (en) Electricity consumption abnormality detection method, apparatus and device, and readable storage medium
WO2020010677A1 (en) Method for acquiring consecutive missing values, data analysis device, terminal, and storage medium
WO2020015060A1 (en) Power consumption anomaly estimation method and apparatus, device, and computer storage medium
WO2019037196A1 (en) Method and device for task assignment, and computer-readable storage medium
WO2020253034A1 (en) Client buried point test method, apparatus and device, and storage medium
WO2018205373A1 (en) Method and apparatus for estimating injury claims settlement and loss adjustment expense, server and medium
WO2018076756A1 (en) Wearing state detecting method and detecting apparatus for smart wearable device, and air conditioner
WO2020024534A1 (en) Power consumption control method, apparatus, and device based on electric quantity prediction, and storage medium
WO2020258657A1 (en) Abnormality detection method and apparatus, computer device and storage medium
WO2020119369A1 (en) Intelligent it operation and maintenance fault positioning method, apparatus and device, and readable storage medium
WO2020015064A1 (en) System fault processing method, apparatus, device and storage medium
WO2020119383A1 (en) Medical insurance supervision method, device, apparatus and computer readable storage medium
WO2018120681A1 (en) Data synchronization method, device and system, data processing server, and storage medium
WO2014193041A1 (en) System and method for analyzing yield by utilizing sensor data of manufacturing equipment
WO2014204179A1 (en) Method for verifying bad pattern in time series sensing data and apparatus thereof
WO2019114559A1 (en) Air conditioner control method and apparatus, and computer readable storage medium
WO2020052152A1 (en) User residence determination method, apparatus, and device, and computer readable storage medium
WO2020155773A1 (en) Method of monitoring for suspicious text input, device, computer apparatus, and storage medium
WO2021000507A1 (en) Method for controlling abnormal temperature adjustment of air conditioner, and air conditioner and storage medium
WO2020186774A1 (en) Positioning method and apparatus based on image detection, and device and storage medium
WO2021027143A1 (en) Information pushing method, apparatus and device, and computer-readable storage medium
WO2021012481A1 (en) System performance monitoring method and apparatus, device, and storage medium
WO2020258574A1 (en) Air conditioner control method and device, air conditioner, and storage medium
WO2020107591A1 (en) Double insurance limiting method, apparatus, device, and readable storage medium
WO2020207038A1 (en) People counting method, apparatus, and device based on facial recognition, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18928008

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18928008

Country of ref document: EP

Kind code of ref document: A1