Abnormality detection method and device, nonvolatile storage medium and computer equipment

By acquiring and analyzing voltage data and identifying users in mismatched and power outage states, it solves the problem of long time and low efficiency in detecting abnormal users in household-to-household relationships in the existing technology, and achieves efficient abnormal user identification.

CN118656753APending Publication Date: 2024-09-17STATE GRID BEIJING ELECTRIC POWER CO +1

Patent Information

Application Number
CN202410803816.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-20
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

In the existing technology, detecting abnormal users in household-change relationships takes a long time, has low efficiency, and lacks effective solutions.

Method used

By obtaining the respective voltage data of multiple users in the target station area and the voltage data of the power supply unit, the unmatched users are selected as abnormal users, and the target abnormal users are determined based on the correlation of the voltage data and the power outage status to realize the abnormal household-to-household relationship change. User identification.

Benefits of technology

It improves the efficiency of detecting users with abnormal household changes, reduces the time consumed, and improves detection efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118656753A
    Figure CN118656753A
Patent Text Reader

Abstract

The invention discloses an anomaly detection method and device, a nonvolatile storage medium and computer equipment. The method comprises the following steps: acquiring voltage data corresponding to a plurality of users and voltage data corresponding to a power supply unit in a target transformer area; selecting the user corresponding to the voltage data which is not matched with the voltage data corresponding to the power supply unit as a first abnormal user according to the voltage data corresponding to the plurality of users; according to the voltage data corresponding to the plurality of users, determining the user whose voltage data exceeds a preset threshold value when the target station area is in a power failure state as a second abnormal user; and based on the first abnormal user and the second abnormal user, determining a target abnormal user in the target transformer area, the target abnormal user being a user with an abnormal user-to-user relationship. According to the method and the device, the technical problems of long time consumption and low efficiency of detecting the user with the abnormal user-to-user relationship in the related technology are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power systems, and in particular to an abnormality detection method, device, non-volatile storage medium and computer equipment. Background Art

[0002] At present, the management of low-voltage distribution network areas is mainly carried out in the form of "repair instead of maintenance". Basic file maintenance is also managed through the electronic transfer of distribution network projects. There is no effective means of supervision on whether the files are consistent with on-site management. At present, the investment cost of determining users with abnormal household transformer relationships is high, the manpower consumption is large, the time consumption is long, and the efficiency is low.

[0003] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0004] The embodiments of the present invention provide an anomaly detection method, an apparatus, a non-volatile storage medium and a computer device to at least solve the technical problem in the related art that it takes a long time and is inefficient to detect users with abnormal household change relationships.

[0005] According to one aspect of an embodiment of the present invention, a method for diagnosing abnormal household-change relationship is provided, including: obtaining voltage data corresponding to each of a plurality of users in a target substation and voltage data corresponding to a power supply unit; selecting a user corresponding to a voltage data that does not match the voltage data corresponding to the power supply unit as a first abnormal user based on the voltage data corresponding to each of the plurality of users; determining a user whose voltage data exceeds a preset threshold when the target substation is in a power outage state as a second abnormal user based on the voltage data corresponding to each of the plurality of users; and determining a target abnormal user in the target substation based on the first abnormal user and the second abnormal user, wherein the target abnormal user is a user with an abnormal household-change relationship.

[0006] Optionally, based on the voltage data corresponding to each of the multiple users, a user corresponding to the voltage data that does not match the voltage data corresponding to the power supply unit is selected as the first abnormal user, including: respectively calculating the correlation coefficients between the voltage data corresponding to each of the multiple users and the voltage data corresponding to the power supply unit; based on the correlation coefficients corresponding to each of the multiple users, judging whether the voltage data corresponding to each of the multiple users matches the voltage data corresponding to the power supply unit; and determining that the user corresponding to the correlation coefficient lower than the correlation threshold is the first abnormal user.

[0007] Optionally, voltage data exceeding a voltage abnormality threshold value among voltage data corresponding to each of the multiple users is deleted to obtain voltage data corresponding to a target user; and a correlation coefficient between the voltage data corresponding to the target user and the voltage data corresponding to the power supply unit is calculated.

[0008] Optionally, based on the first abnormal user and the second abnormal user, determining a target abnormal user in the target substation includes: determining the degree of similarity between the voltage data corresponding to each of the multiple users based on the voltage data corresponding to each of the multiple users; dividing the multiple users into multiple user groups according to the degree of similarity between the voltage data corresponding to each of the multiple users; selecting a user in a user group that meets preset conditions from among the multiple user groups as a third abnormal user; and determining the target abnormal user based on the first abnormal user, the second abnormal user and the third abnormal user.

[0009] Optionally, based on the first abnormal user and the second abnormal user, a target abnormal user in the target substation is determined, including: obtaining power usage conditions corresponding to each of the multiple users; selecting a high-power user according to the power usage conditions corresponding to each of the multiple users; determining an initial target abnormal user according to the first abnormal user and the second abnormal user; and excluding the high-power user from the initial target abnormal user to determine the target abnormal user.

[0010] Optionally, determining a target abnormal user in a target station area based on the first abnormal user and the second abnormal user includes: acquiring a common abnormal user among the first abnormal user and the second abnormal user; and determining the target abnormal user according to the common abnormal user.

[0011] According to another aspect of an embodiment of the present invention, an abnormality detection device is also provided, including: an acquisition module, used to acquire voltage data corresponding to each of multiple users in a target substation and voltage data corresponding to a power supply unit; a selection module, used to select a user corresponding to a voltage data that does not match the voltage data corresponding to the power supply unit as a first abnormal user based on the voltage data corresponding to each of the multiple users; a first determination module, used to determine, based on the voltage data corresponding to each of the multiple users, a user whose voltage data exceeds a preset threshold when the target substation is in a power outage state as a second abnormal user; and a second determination module, used to determine a target abnormal user in the target substation based on the first abnormal user and the second abnormal user, wherein the target abnormal user is a user with an abnormal household-to-household relationship.

[0012] According to another aspect of an embodiment of the present invention, a non-volatile storage medium is provided, the non-volatile storage medium including a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute any one of the above-mentioned abnormality detection methods.

[0013] According to yet another aspect of an embodiment of the present invention, a computer device is provided. The computer device includes a processor, and the processor is used to run a program. When the program is run, any one of the above-mentioned abnormality detection methods is executed.

[0014] According to yet another aspect of an embodiment of the present invention, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, any one of the above-mentioned abnormality detection methods is implemented.

[0015] In an embodiment of the present invention, an abnormal relationship diagnosis method is adopted, by obtaining voltage data corresponding to each of multiple users in a target substation and voltage data corresponding to a power supply unit; based on the voltage data corresponding to each of the multiple users, a user corresponding to a voltage data that does not match the voltage data corresponding to the power supply unit is selected as a first abnormal user; based on the voltage data corresponding to each of the multiple users, a user whose voltage data exceeds a preset threshold when the target substation is in a power outage state is determined as a second abnormal user; based on the first abnormal user and the second abnormal user, a target abnormal user in the target substation is determined, wherein the target abnormal user is a user with an abnormal household-change relationship, thereby achieving the purpose of determining the abnormal household-change user based on the user voltage data, thereby realizing the technical effect of improving the efficiency of detecting users with abnormal household-change relationships, and further solving the technical problem of long time and low efficiency in detecting users with abnormal household-change relationships in related technologies. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0017] Figure 1 A hardware structure block diagram of a computer terminal for implementing an abnormality detection method is shown;

[0018] Figure 2 is a flow chart of an anomaly detection method provided according to an embodiment of the present invention;

[0019] Figure 3 is a structural block diagram of an abnormality detection device provided according to an embodiment of the present invention. DETAILED DESCRIPTION

[0020] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0021] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0022] According to an embodiment of the present invention, a method embodiment of anomaly detection is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0023] The method embodiment provided in the first embodiment of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Figure 1 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing an abnormality detection method. Figure 1 As shown, the computer terminal 10 may include one or more (102a, 102b, ..., 102n are used to illustrate) processors (the processor may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 104 for storing data. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0024] It should be noted that the one or more processors and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 10. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).

[0025] The memory 104 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the abnormality detection method in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory 104, that is, the abnormality detection method of the above-mentioned application is realized. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor, and these remote memories may be connected to the computer terminal 10 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0026] The display may be, for example, a touch screen liquid crystal display (LCD) that enables a user to interact with a user interface of the computer terminal 10 .

[0027] The frequent changes in the addresses of users in low-voltage substations result in the user-to-user relationship in the substation being inconsistent with the actual situation, which will affect the line loss control and power grid operation in the substation. However, it currently takes a lot of time to determine users with abnormal household-to-user relationships, which is inefficient. To address the above technical issues, the present invention adopts an abnormality detection method. Figure 2 FIG. 1 is a flow chart of an abnormality detection method according to an embodiment of the present invention. Figure 2 As shown, the method comprises the following steps:

[0028] Step S201, obtaining voltage data corresponding to each of a plurality of users in a target area and voltage data corresponding to a power supply unit.

[0029] In this step, obtaining the voltage data corresponding to each of the multiple users in the target area may be obtaining the voltage curve corresponding to each user, wherein the users in the target area may include low-voltage users and public transformer users. The voltage data corresponding to the power supply unit obtained may also be obtaining the voltage curve of the power supply unit, that is, the voltage curve of the target area. Because the user uses electricity in the target area, the voltage curve of the user should be similar to the voltage curve of the target area under normal circumstances. Therefore, obtaining the voltage data of the user and the area can be used to subsequently determine the users with abnormal user-transformer relationships.

[0030] Step S202 : selecting, according to the voltage data corresponding to the plurality of users, a user corresponding to the voltage data which does not match the voltage data corresponding to the power supply unit as a first abnormal user.

[0031] In this step, under normal circumstances, the voltage data of users located in the substation should match the voltage data corresponding to the power supply unit. If there is a situation where the voltage data of the user does not match the voltage data corresponding to the power supply unit, it can be considered that the user may be a user with an abnormal household-to-household relationship. Specifically, it is possible to determine whether the voltage data matches by calculating the correlation coefficient between the voltage data corresponding to the user and the voltage data corresponding to the power supply unit. For example, the Pearson correlation coefficient between the user's voltage data and the voltage data of the substation power supply unit can be calculated. The higher the coefficient, the higher the degree of similarity. Whether the voltage data matches is determined based on the correlation coefficient.

[0032] Step S203: According to the voltage data corresponding to the plurality of users, it is determined that the user whose voltage data exceeds a preset threshold when the target substation is in a power outage state is a second abnormal user.

[0033] In this step, under normal circumstances, when the substation is in a power outage state, the voltage data of the users in the substation should not be obtained. Therefore, when the substation is in a power outage state, if the voltage data corresponding to the user can still be obtained, it can be considered that the user may be a user with abnormal household-to-household relationship. Specifically, it can be judged by comparing the voltage data of the user in the power outage state with the preset threshold. If the voltage data exceeds the preset threshold, it can be considered that the corresponding user may be a user with abnormal household-to-household relationship.

[0034] Step S204: determining a target abnormal user in a target station area based on the first abnormal user and the second abnormal user, wherein the target abnormal user is a user with an abnormal household change relationship.

[0035] In this step, users with abnormal user change relationships can be determined based on the first abnormal user and the second abnormal user. For example, the first abnormal user list and the second abnormal user list can be compared to obtain the overlapping part, and the users in the overlapping part can be considered as target abnormal users. Alternatively, both the first abnormal user and the second abnormal user can be considered as target abnormal users.

[0036] Through the above steps, the purpose of determining abnormal household-to-household change users according to user voltage data is achieved, thereby realizing the technical effect of improving the efficiency of detecting users with abnormal household-to-household change relationships, and further solving the technical problem of long time and low efficiency in detecting users with abnormal household-to-household change relationships in related technologies.

[0037] As an optional embodiment, based on the voltage data corresponding to each of the multiple users, a user corresponding to the voltage data that does not match the voltage data corresponding to the power supply unit is selected as the first abnormal user, including: respectively calculating the correlation coefficients between the voltage data corresponding to each of the multiple users and the voltage data corresponding to the power supply unit; based on the correlation coefficients corresponding to each of the multiple users, judging whether the voltage data corresponding to each of the multiple users matches the voltage data corresponding to the power supply unit; and determining that the user corresponding to the correlation coefficient lower than the correlation threshold is the first abnormal user.

[0038] Optionally, under normal circumstances, the voltage data output from the power supply unit to the user should be consistent with the voltage data required by the user, that is, the fluctuation of the voltage curve of the user should be consistent with the trend of the voltage curve fluctuation of the power supply unit in the area. Therefore, the correlation coefficient between the voltage data of the user and the voltage data of the power supply unit can be calculated to determine whether the voltage data match. For example, the Pearson correlation coefficient between the voltage data corresponding to each of the multiple users and the voltage data corresponding to the power supply unit can be calculated respectively. Among them, the Pearson correlation coefficient is obtained by dividing the covariance of the two data by the product of the standard deviation of the two data. When the Pearson correlation coefficient is lower than the correlation threshold, the corresponding user can be considered to be the first abnormal user. When calculating the correlation coefficient, because there may be a clock offset, that is, when collecting voltage data, the voltage data obtained is not at the same time due to transmission delays and other reasons, the voltage data of the user can be offset multiple times before and after to calculate the correlation coefficient, which can improve the accuracy of the result. For power supply units with high three-phase similarity, the correlation coefficient between the user and one of the phase voltage data can also be calculated to make a judgment. This can improve the efficiency of the calculation. Each day may also be divided into three time periods, and different correlation thresholds may be set for different time periods. If the correlation coefficient of a user in one time period exceeds the correlation threshold, the user may be considered to have a normal user-to-user relationship.

[0039] As an optional embodiment, the voltage data exceeding the voltage abnormality threshold among the voltage data corresponding to multiple users are deleted to obtain the voltage data corresponding to the target user; and the correlation coefficient between the voltage data corresponding to the target user and the voltage data corresponding to the power supply unit is calculated.

[0040] Optionally, before calculating the correlation coefficient, the voltage data corresponding to each of the multiple users that exceeds the voltage abnormality threshold can be deleted. Because the abnormal voltage may affect the judgment of the overall correlation coefficient, this type of user may be a user with voltage data quality problems, which may be caused by factors such as data acquisition system failure, equipment aging, environmental interference, etc., and corresponding measures can be taken for this type of user, for example, to repair the acquisition equipment and circuit. Similarly, users who use photovoltaic power generation can also be excluded, because the photovoltaic power generation system is intermittent and volatile, and its output power will be affected by factors such as weather and light, which will affect the voltage data. Users with large differences in the three-phase voltage of the distribution transformer can also be excluded, because the large difference in the three-phase voltage of the distribution transformer may cause imbalance in the power system, affect the stability and operation efficiency of the power grid, and even cause power grid failure. Users whose total power consumption for a continuous period of time is too small can also be excluded. After excluding the above users, the calculation of the correlation coefficient for the remaining users can improve the accuracy, because the correlation coefficient calculated by the above users may be low, affecting the setting of the correlation threshold.

[0041] As an optional embodiment, based on the first abnormal user and the second abnormal user, determining the target abnormal user in the target substation includes: determining the similarity between the voltage data corresponding to the multiple users based on the voltage data corresponding to the multiple users; dividing the multiple users into multiple user groups according to the similarity between the voltage data corresponding to the multiple users; selecting a user in the user group that meets preset conditions from the multiple user groups as the third abnormal user; and determining the target abnormal user based on the first abnormal user, the second abnormal user and the third abnormal user.

[0042] Optionally, under normal circumstances, the voltage data in the same substation should be similar, so the third abnormal user can be determined based on the similarity between the voltage data corresponding to each of the multiple users. For example, the voltage data corresponding to each of the multiple users can be clustered to determine the abnormal user. Appropriate features can be selected for cluster analysis, for example, the frequency, amplitude and other features of the voltage waveform can be selected in the voltage data. Then, a clustering algorithm is used to perform cluster analysis on the data to divide the data points into different clusters. Identify clusters or outliers that are different from other data points. The data points in these clusters may be abnormal data. The identified abnormal data can be further analyzed and processed, and the user corresponding to the abnormal voltage data obtained is the third abnormal user. Specifically, the isolation forest (based on distance) and LOF (based on density) algorithms can be used for calculation, and the intersection of the results obtained by the two algorithms is taken as the identification result, that is, the third abnormal user, so that the result obtained will be more accurate. Among them, the isolation forest algorithm constructs multiple isolated binary trees, averages or weights the abnormality of each tree, and calculates the path length of the data point on each tree to evaluate its abnormality; the LOF algorithm identifies abnormal points by calculating the density relationship between each data point and its neighboring points. Similarly, before calculating the similarity between the voltage data corresponding to the users, the users can also be checked to filter out the voltage data corresponding to users with photovoltaic power generation, large differences in the three-phase distribution transformer, and voltage data quality problems, so as to prevent the voltage data corresponding to these users from affecting the final clustering results.

[0043] As an optional embodiment, based on the first abnormal user and the second abnormal user, the target abnormal user in the target substation is determined, including: obtaining the power usage conditions corresponding to each of the multiple users; selecting a high-power user according to the power usage conditions corresponding to each of the multiple users; determining the initial target abnormal user according to the first abnormal user and the second abnormal user; excluding the high-power user from the initial target abnormal user to determine the target abnormal user.

[0044] Optionally, high-power users can be selected based on their electricity consumption. Because the use of high-power equipment in low-voltage areas is prone to sudden voltage changes, these users are considered to have abnormal household-to-household relationships, although their household-to-household relationships have not changed, that is, their household-to-household relationships are normal, but because the use of high-power equipment causes the voltage data to be unstable. Therefore, this type of user can be excluded from the initial abnormal users. Special high-power user rules and segmented calculation correlation rules can be set to filter such situations. For example, users whose voltage data changes suddenly 2 to 4 times within a day can be set as high-power users and excluded from the initial target abnormal users.

[0045] As an optional embodiment, determining a target abnormal user in a target station area based on the first abnormal user and the second abnormal user includes: acquiring a common abnormal user from the first abnormal user and the second abnormal user; and determining the target abnormal user based on the common abnormal user.

[0046] Optionally, a common abnormal user of the first abnormal user and the second abnormal user may be obtained, that is, the intersection of the first abnormal user and the second abnormal user is taken as the target abnormal user.

[0047] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should know that the present invention is not limited by the described action sequence, because according to the present invention, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.

[0048] Through the description of the above implementation methods, those skilled in the art can clearly understand that the anomaly detection method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, disk, CD), including a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present invention.

[0049] According to an embodiment of the present invention, there is also provided an anomaly detection device for implementing the above anomaly detection method. Figure 3 is a structural block diagram of an abnormality detection device provided according to an embodiment of the present invention. Figure 3 As shown, the abnormality detection device includes: an acquisition module 31, a selection module 32, a first determination module 33, and a second determination module 34. The abnormality detection device is described below.

[0050] The acquisition module 31 is used to acquire voltage data corresponding to each of a plurality of users in the target substation area and voltage data corresponding to the power supply unit.

[0051] The selection module 32 is connected to the acquisition module 31 and is used to select, according to the voltage data corresponding to the plurality of users, a user corresponding to the voltage data which does not match the voltage data corresponding to the power supply unit as a first abnormal user.

[0052] The first determination module 33 is connected to the selection module 32, and is used to determine, based on the voltage data corresponding to the plurality of users, that the user whose voltage data exceeds a preset threshold when the target substation is in a power outage state is a second abnormal user.

[0053] The second determining module 34 is connected to the first determining module 33, and is used to determine a target abnormal user in the target station area based on the first abnormal user and the second abnormal user, wherein the target abnormal user is a user with an abnormal household change relationship.

[0054] It should be noted that the acquisition module 31, the selection module 32, the first determination module 33 and the second determination module 34 correspond to steps S201 to S204 in the embodiment, and the examples and application scenarios implemented by the multiple modules and the corresponding steps are the same, but are not limited to the contents disclosed in the above embodiment. It should be noted that the above modules, as part of the device, can be run in the computer terminal 10 provided in the embodiment.

[0055] An embodiment of the present invention may provide a computer device. Optionally, in this embodiment, the computer device may be located in at least one network device among multiple network devices of a computer network. The computer device includes a memory and a processor.

[0056] Among them, the memory can be used to store software programs and modules, such as the program instructions / modules corresponding to the abnormality detection method and device in the embodiment of the present invention. The processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, realizing the above-mentioned abnormality detection method. The memory may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include a memory remotely arranged relative to the processor, and these remote memories can be connected to the computer terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0057] The processor can call the information and application stored in the memory through the transmission device to execute the following steps: obtain the voltage data corresponding to each of the multiple users in the target substation and the voltage data corresponding to the power supply unit; based on the voltage data corresponding to each of the multiple users, select the user corresponding to the voltage data that does not match the voltage data corresponding to the power supply unit as the first abnormal user; based on the voltage data corresponding to each of the multiple users, determine that the user whose voltage data exceeds a preset threshold when the target substation is in a power outage state is the second abnormal user; based on the first abnormal user and the second abnormal user, determine the target abnormal user in the target substation, wherein the target abnormal user is a user with an abnormal household-to-user relationship.

[0058] Optionally, the processor may also execute the program code of the following steps: respectively calculating the correlation coefficients between the voltage data corresponding to each of the multiple users and the voltage data corresponding to the power supply unit; judging whether the voltage data corresponding to each of the multiple users matches the voltage data corresponding to the power supply unit according to the correlation coefficients corresponding to each of the multiple users; and determining that the user corresponding to the correlation coefficient lower than the correlation threshold is the first abnormal user.

[0059] Optionally, the processor may also execute the program code of the following steps: deleting the voltage data that exceeds the voltage abnormality threshold among the voltage data corresponding to multiple users to obtain the voltage data corresponding to the target user; and calculating the correlation coefficient between the voltage data corresponding to the target user and the voltage data corresponding to the power supply unit.

[0060] Optionally, the processor may also execute program codes of the following steps: determining the degree of similarity between the voltage data corresponding to the multiple users based on the voltage data corresponding to the multiple users; dividing the multiple users into multiple user groups according to the degree of similarity between the voltage data corresponding to the multiple users; selecting a user from the user group that meets preset conditions among the multiple user groups as a third abnormal user; and determining a target abnormal user based on the first abnormal user, the second abnormal user and the third abnormal user.

[0061] Optionally, the processor may also execute program codes of the following steps: obtaining power usage corresponding to each of multiple users; selecting a high-power user based on the power usage corresponding to each of the multiple users; determining an initial target abnormal user based on the first abnormal user and the second abnormal user; excluding the high-power user from the initial target abnormal users to determine the target abnormal user.

[0062] Optionally, the processor may further execute program codes of the following steps: obtaining a common abnormal user among the first abnormal user and the second abnormal user; and determining a target abnormal user according to the common abnormal user.

[0063] By adopting the embodiment of the present invention, a scheme for abnormality detection is provided. By acquiring voltage data corresponding to each of multiple users in the target substation and voltage data corresponding to the power supply unit; according to the voltage data corresponding to each of the multiple users, the user corresponding to the voltage data that does not match the voltage data corresponding to the power supply unit is selected as the first abnormal user; according to the voltage data corresponding to each of the multiple users, the user whose voltage data exceeds a preset threshold when the target substation is in a power outage state is determined as the second abnormal user; based on the first abnormal user and the second abnormal user, the target abnormal user in the target substation is determined, wherein the target abnormal user is a user with an abnormal household-to-household relationship, and the purpose of determining the abnormal household-to-household user according to the user voltage data is achieved, thereby achieving the technical effect of improving the efficiency of detecting users with abnormal household-to-household relationship, and further solving the technical problem of long time and low efficiency in detecting users with abnormal household-to-household relationship in the related technology.

[0064] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing the hardware related to the terminal device through a program, and the program can be stored in a non-volatile storage medium, and the storage medium may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0065] The embodiment of the present invention further provides a non-volatile storage medium. Optionally, in this embodiment, the non-volatile storage medium can be used to store the program code executed by the abnormality detection method provided by the above embodiment.

[0066] Optionally, in this embodiment, the non-volatile storage medium may be located in any computer terminal in a computer terminal group in a computer network, or in any mobile terminal in a mobile terminal group.

[0067] Optionally, in this embodiment, the non-volatile storage medium is configured to store program codes for executing the following steps: obtaining voltage data corresponding to each of multiple users in the target substation and voltage data corresponding to the power supply unit; based on the voltage data corresponding to each of the multiple users, selecting a user corresponding to a voltage data that does not match the voltage data corresponding to the power supply unit as a first abnormal user; based on the voltage data corresponding to each of the multiple users, determining a user whose voltage data exceeds a preset threshold when the target substation is in a power outage state as a second abnormal user; based on the first abnormal user and the second abnormal user, determining a target abnormal user in the target substation, wherein the target abnormal user is a user with an abnormal household-to-household relationship.

[0068] Optionally, in this embodiment, the non-volatile storage medium is configured to store program codes for executing the following steps: respectively calculating correlation coefficients between voltage data corresponding to multiple users and voltage data corresponding to the power supply unit; judging whether the voltage data corresponding to multiple users and voltage data corresponding to the power supply unit match based on the correlation coefficients corresponding to the multiple users; and determining that the user corresponding to the correlation coefficient lower than the correlation threshold is the first abnormal user.

[0069] Optionally, in this embodiment, the non-volatile storage medium is configured to store program codes for executing the following steps: deleting voltage data that exceeds a voltage abnormality threshold in voltage data corresponding to each of multiple users to obtain voltage data corresponding to a target user; and calculating a correlation coefficient between the voltage data corresponding to the target user and the voltage data corresponding to the power supply unit.

[0070] Optionally, in this embodiment, the non-volatile storage medium is configured to store program codes for executing the following steps: determining the degree of similarity between the voltage data corresponding to the multiple users based on the voltage data corresponding to the multiple users; dividing the multiple users into multiple user groups according to the degree of similarity between the voltage data corresponding to the multiple users; selecting users from the user groups that meet preset conditions among the multiple user groups as third abnormal users; and determining the target abnormal user based on the first abnormal user, the second abnormal user and the third abnormal user.

[0071] Optionally, in this embodiment, the non-volatile storage medium is configured to store program codes for executing the following steps: obtaining power usage corresponding to each of multiple users; selecting a high-power user based on the power usage corresponding to each of the multiple users; determining an initial target abnormal user based on the first abnormal user and the second abnormal user; and excluding the high-power user from the initial target abnormal users to determine the target abnormal user.

[0072] Optionally, in this embodiment, the non-volatile storage medium is configured to store program codes for executing the following steps: obtaining a common abnormal user among the first abnormal user and the second abnormal user; and determining a target abnormal user according to the common abnormal user.

[0073] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0074] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0075] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0076] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0077] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0078] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a non-volatile storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0079] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. An anomaly detection method, characterized in that: include: Obtaining voltage data corresponding to each of a plurality of users in a target area and voltage data corresponding to a power supply unit; According to the voltage data corresponding to each of the multiple users, a user corresponding to the voltage data that does not match the voltage data corresponding to the power supply unit is selected as a first abnormal user; According to the voltage data corresponding to each of the plurality of users, determining that the user whose voltage data exceeds a preset threshold value when the target substation is in a power outage state is a second abnormal user; Based on the first abnormal user and the second abnormal user, a target abnormal user in the target station area is determined, wherein the target abnormal user is a user with an abnormal household change relationship.

2. The method according to claim 1, characterized in that The selecting, according to the voltage data corresponding to each of the plurality of users, a user corresponding to voltage data that does not match the voltage data corresponding to the power supply unit as a first abnormal user comprises: respectively calculating correlation coefficients of voltage data corresponding to each of the plurality of users and voltage data corresponding to the power supply unit; According to the correlation coefficients corresponding to the multiple users, determining whether the voltage data corresponding to the multiple users matches the voltage data corresponding to the power supply unit; It is determined that the user corresponding to the correlation coefficient lower than the correlation threshold is the first abnormal user.

3. The method according to claim 2, characterized in that The calculating the correlation coefficient between the voltage data corresponding to each of the plurality of users and the voltage data corresponding to the power supply unit includes: Deleting voltage data exceeding a voltage abnormality threshold from the voltage data corresponding to each of the plurality of users, to obtain voltage data corresponding to a target user; The correlation coefficient between the voltage data corresponding to the target user and the voltage data corresponding to the power supply unit is calculated.

4. The method according to claim 1, characterized in that: The determining of a target abnormal user in the target station area based on the first abnormal user and the second abnormal user further includes: Determining, based on the voltage data corresponding to the multiple users, the similarity between the voltage data corresponding to the multiple users; According to the similarity between the voltage data corresponding to the multiple users, the multiple users are divided into multiple user groups; Selecting a user in a user group that meets a preset condition from among the multiple user groups as a third abnormal user; The target abnormal user is determined according to the first abnormal user, the second abnormal user and the third abnormal user.

5. The method according to claim 1, characterized in that The step of determining a target abnormal user in the target area based on the first abnormal user and the second abnormal user includes: Obtaining electricity usage conditions corresponding to each of the multiple users; Selecting a high-power user according to the power consumption conditions of the multiple users; Determining an initial target abnormal user according to the first abnormal user and the second abnormal user; The high-power user is excluded from the initial target abnormal users to determine the target abnormal user.

6. The method according to any one of claims 1 to 5, characterized in that: The step of determining a target abnormal user in the target area based on the first abnormal user and the second abnormal user includes: Acquire a common abnormal user between the first abnormal user and the second abnormal user; The target abnormal user is determined according to the common abnormal users.

7. An abnormality detection device, characterized in that: include: An acquisition module, used to acquire voltage data corresponding to each of a plurality of users in a target area and voltage data corresponding to a power supply unit; a selection module, configured to select, according to the voltage data corresponding to each of the plurality of users, a user corresponding to a voltage data that does not match the voltage data corresponding to the power supply unit as a first abnormal user; A first determination module is used to determine, based on the voltage data corresponding to each of the plurality of users, that a user whose voltage data exceeds a preset threshold value when the target substation is in a power outage state is a second abnormal user; The second determination module is used to determine a target abnormal user in the target station area based on the first abnormal user and the second abnormal user, wherein the target abnormal user is a user with an abnormal household change relationship.

8. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is executed, the device where the non-volatile storage medium is located is controlled to execute the abnormality detection method according to any one of claims 1 to 6.

9. A computer device, characterized in that: include: Memory and processor, The memory stores a computer program; The processor is used to execute the computer program stored in the memory, and when the computer program is running, the processor executes the abnormality detection method according to any one of claims 1 to 6.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the abnormality detection method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Power grid user-transformer relationship identification method and identification device, and electronic equipment

    CN112308459A

  • Transformer area anomaly analysis method and device based on big data, equipment and medium

    CN114077932A

  • Transformer area user-transformer relation identification method, apparatus and device, and storage medium

    CN116885708A

  • Power grid abnormal user transformer processing method and system

    CN117541224A

  • Power failure event-based transformer user relation identification method, system and equipment, and medium

    CN117578443A

Cited By

  • Transistor selection method and device for balancing loss and computer equipment

    CN121031501A