Risk judgment method and device of metering device, storage medium and electronic equipment

By analyzing the parameter information and electricity consumption data of the metering device, the problem of poor accuracy in judging the risk of power theft in the prior art is solved, and the accuracy of identifying the risk of power theft in the metering device is improved.

CN119168807APending Publication Date: 2024-12-20GUANGDONG POWER GRID CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411302458.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-18
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

In the prior art, the accuracy of judging whether there is a risk of power theft of the metering device based on current electricity consumption data is poor, and it is difficult to effectively identify the power theft of the metering device.

Method used

By analyzing the parameter information of the metering device to be evaluated, including usage time, component status data and first inspection metering data, we can determine whether the metering error meets the preset requirements, and obtain the target electricity consumption data and historical electricity consumption data within the target time period. Comparative analysis determines whether there is a risk of power theft.

Benefits of technology

The accuracy of judging whether there is a risk of power stolen from the metering device is improved. By eliminating the impact of the metering error of the metering device itself on the power consumption data, a more detailed comparison and analysis is carried out, which enhances the accuracy of the judgment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119168807A_ABST
    Figure CN119168807A_ABST
Patent Text Reader

Abstract

The invention discloses a risk judgment method and device of a metering device, a storage medium and electronic equipment. Relates to the technical field of data processing, and the method comprises the steps: judging whether the metering error of a to-be-evaluated metering device meets a preset requirement or not according to the parameter information of the to-be-evaluated metering device, and obtaining a first judgment result; acquiring target power consumption data of the to-be-evaluated metering device in a target time period and historical power consumption data of the to-be-evaluated metering device in a plurality of historical time periods under the condition that the first judgment result represents that the metering error meets the preset requirement; and judging whether the to-be-evaluated metering device has an electricity stealing risk or not according to the target electricity utilization data and the historical electricity utilization data to obtain a second judgment result. Through the method and the device, the problem that the accuracy of judging whether the metering device has the electricity stealing risk or not is relatively poor due to the fact that whether the metering device has the electricity stealing risk or not is judged based on the current electricity consumption data in related technologies is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a risk judgment method and device for a measuring device, a storage medium, and an electronic device. Background Art

[0002] Electricity theft refers to the act of occupying electricity by means not complying with relevant regulations, not paying or paying less electricity bills, and not measuring or under-measuring electricity consumption by means not complying with relevant regulations. This not only causes huge economic losses to power supply companies, but also poses great harm to the safety of the power grid. In the existing technology, it is often judged whether there is a risk of electricity theft based on the current electricity consumption data. It is easy to make a wrong judgment by judging the abnormality of special transformer metering based on occasional changes.

[0003] With regard to the problem in the related art that whether a metering device has a risk of electricity theft is determined based on current electricity consumption data, resulting in poor accuracy in determining whether a metering device has a risk of electricity theft, no effective solution has been proposed so far. Summary of the invention

[0004] The main purpose of the present application is to provide a risk judgment method and device for a metering device, a storage medium and an electronic device, so as to solve the problem in the related art that the accuracy of judging whether a metering device has a risk of electricity theft is relatively poor based on the current electricity consumption data.

[0005] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a method for risk judgment of a metering device is provided. The method comprises: judging whether the metering error of the metering device to be evaluated meets the preset requirements based on the parameter information of the metering device to be evaluated, and obtaining a first judgment result, wherein the parameter information at least includes: the usage time of the metering device to be evaluated, the component status data of the metering device to be evaluated, and the metering data of the metering device to be evaluated during the first inspection; when the first judgment result indicates that the metering error meets the preset requirements, obtaining the target power consumption data of the metering device to be evaluated within the target time period and the historical power consumption data within multiple historical time periods; judging whether the metering device to be evaluated has the risk of electricity theft based on the target power consumption data and the historical power consumption data, and obtaining a second judgment result.

[0006] Furthermore, judging whether the metering device to be evaluated has a risk of electricity theft based on the target electricity consumption data and the historical electricity consumption data, and obtaining a second judgment result includes: dividing the target electricity consumption data to obtain target electricity consumption data in multiple target sub-time periods; determining a power consumption deviation threshold value corresponding to each target sub-time period based on the target electricity consumption data in each target sub-time period and the historical electricity consumption data; judging whether the metering device to be evaluated has a risk of electricity theft based on the electricity consumption deviation threshold value, and obtaining a second judgment result.

[0007] Furthermore, determining the power consumption deviation threshold value corresponding to each target sub-time period based on the target power consumption data in each target sub-time period and the historical power consumption data includes: grouping the historical power consumption data to obtain multiple groups of historical power consumption data, wherein each group of historical power consumption data includes two historical power consumption data; for any group of historical power consumption data, dividing the first historical power consumption data in the group to obtain the first historical power consumption data in each historical sub-time period, and dividing the second historical power consumption data in the group to obtain the second historical power consumption data in each historical sub-time period; determining the power consumption deviation threshold value corresponding to each target sub-time period based on the first historical power consumption data in each historical sub-time period, the second historical power consumption data in each historical sub-time period and the difference between the target power consumption data in each target sub-time period and the historical power consumption data.

[0008] Furthermore, based on the electricity consumption deviation threshold, it is judged whether the metering device to be evaluated has a risk of electricity theft, and the second judgment result obtained includes: for the target electricity consumption data of each target sub-time period, determining the electricity consumption deviation value between the target electricity consumption data of the target sub-time period and any historical electricity consumption data; based on the electricity consumption deviation value and the electricity consumption deviation threshold, judging whether there are multiple continuous time points in the target sub-time period with an electricity consumption deviation greater than the electricity consumption deviation threshold, and obtaining a third judgment result; when the third judgment result indicates that there are multiple continuous time points with an electricity consumption deviation greater than the electricity consumption deviation threshold, determining the number of time points of the multiple continuous time points; based on the number of time points of the multiple continuous time points, judging whether the metering device to be evaluated has a risk of electricity theft, and obtaining the second judgment result.

[0009] Furthermore, judging whether the metering device to be evaluated has a risk of electricity theft based on the number of time points of the multiple consecutive time points, and obtaining the second judgment result includes: for the target electricity consumption data of each target sub-time period, if the number of time points is greater than a preset threshold, obtaining a line loss curve corresponding to the target sub-time period; fitting the target electricity consumption data of the target sub-time period with the line loss curve to obtain a target degree of fit; judging whether the metering device to be evaluated has a risk of electricity theft based on the target degree of fit and a degree of fit threshold, and obtaining the second judgment result.

[0010] Furthermore, judging whether the metering device to be evaluated has a risk of electricity theft based on the target fit and the fit threshold, and obtaining the second judgment result includes: for the target electricity usage data of each target sub-time period, if the target fit is greater than the fit threshold, marking the target electricity usage data of the target sub-time period as abnormal electricity usage data; determining the number of target sub-time periods marked as abnormal electricity usage data; judging whether the metering device to be evaluated has a risk of electricity theft based on the number, and obtaining the second judgment result.

[0011] Further, based on the parameter information of the metering device to be evaluated, judging whether the metering error of the metering device to be evaluated meets the preset requirements, and obtaining the first judgment result includes: judging whether the metering device to be evaluated is in a rotation interval based on the usage time in the parameter information; if the metering device to be evaluated is in the rotation interval, determining the target difference between the component status data of the metering device to be evaluated and the metering data of the metering device to be evaluated at the time of the first inspection and the preset parameter value; judging whether the metering error of the metering device to be evaluated meets the preset requirements based on the target difference, and obtaining the first judgment result.

[0012] In order to achieve the above-mentioned purpose, according to another aspect of the present application, a risk judgment device for a metering device is provided. The device includes: a first judgment unit, which is used to judge whether the metering error of the metering device to be evaluated meets the preset requirements based on the parameter information of the metering device to be evaluated, and obtain a first judgment result, wherein the parameter information at least includes: the usage time of the metering device to be evaluated, the component status data of the metering device to be evaluated, and the metering data of the metering device to be evaluated during the first inspection; an acquisition unit, which is used to obtain the target power consumption data of the metering device to be evaluated in the target time period and the historical power consumption data in multiple historical time periods when the first judgment result indicates that the metering error meets the preset requirements; a second judgment unit, which is used to judge whether the metering device to be evaluated has the risk of electricity theft based on the target power consumption data and the historical power consumption data, and obtain a second judgment result.

[0013] Furthermore, the second judgment unit includes: a division subunit, used to divide the target electricity consumption data to obtain target electricity consumption data within multiple target sub-time periods; a first determination subunit, used to determine the electricity consumption deviation threshold corresponding to each target sub-time period based on the target electricity consumption data within each target sub-time period and the historical electricity consumption data; the first judgment subunit is used to judge whether the metering device to be evaluated has a risk of electricity theft based on the electricity consumption deviation threshold, and obtain a second judgment result.

[0014] Furthermore, the determination subunit includes: a grouping module, which is used to group the historical electricity consumption data to obtain multiple groups of historical electricity consumption data, wherein each group of historical electricity consumption data includes two historical electricity consumption data; a division module, which is used to divide the first historical electricity consumption data in any group of historical electricity consumption data to obtain the first historical electricity consumption data in each historical sub-time period, and to divide the second historical electricity consumption data in the group to obtain the second historical electricity consumption data in each historical sub-time period; a determination module, which is used to determine the electricity consumption deviation threshold corresponding to each target sub-time period based on the first historical electricity consumption data in each historical sub-time period, the second historical electricity consumption data in each historical sub-time period, and the target electricity consumption data in each target sub-time period and the difference between the historical electricity consumption data.

[0015] Furthermore, the second judgment unit includes: a second determination subunit, for determining, for each target sub-time period, a power consumption deviation value between the target power consumption data of the target sub-time period and any historical power consumption data; a second judgment subunit, for judging, based on the power consumption deviation value and the power consumption deviation threshold, whether there are multiple consecutive time points in the target sub-time period at which the power consumption deviation is greater than the power consumption deviation threshold, to obtain a third judgment result; a third determination subunit, for determining the number of multiple consecutive time points when the third judgment result indicates that there are multiple consecutive time points at which the power consumption deviation is greater than the power consumption deviation threshold; a third judgment subunit, for judging, based on the number of the multiple consecutive time points, whether there is a risk of power theft in the metering device to be evaluated, to obtain the second judgment result.

[0016] Furthermore, the third judgment subunit includes: an acquisition module, used for obtaining the line loss curve corresponding to the target sub-time period for the target power consumption data of each target sub-time period if the number of time points is greater than a preset threshold; a fitting module, used for fitting the target power consumption data of the target sub-time period with the line loss curve to obtain a target fitting degree; a judgment module, used for judging whether the metering device to be evaluated has a risk of power theft based on the target fitting degree and a fitting degree threshold, and obtaining the second judgment result.

[0017] Furthermore, the judgment module includes: a marking submodule, used for marking the target electricity consumption data of each target sub-time period as abnormal electricity consumption data if the target fit is greater than the fit threshold; a determination submodule, used for determining the number of target sub-time periods marked as abnormal electricity consumption data; and a judgment submodule, used for judging whether the metering device to be evaluated has a risk of electricity theft based on the number, and obtaining the second judgment result.

[0018] Further, the first judgment unit includes: a fourth judgment subunit, used to judge whether the metering device to be evaluated is in a rotation interval based on the usage time in the parameter information; a fourth determination subunit, used to determine the target difference between the component status data of the metering device to be evaluated and the metering data of the metering device to be evaluated at the time of the first inspection and the preset parameter value if the metering device to be evaluated is in the rotation interval; and a fifth judgment subunit, used to judge whether the metering error of the metering device to be evaluated meets the preset requirements based on the target difference, and obtain a first judgment result.

[0019] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a computer-readable storage medium is provided, which stores a program, wherein when the program is running, the device where the storage medium is located is controlled to execute any one of the risk judgment methods for the metering device described above.

[0020] In order to achieve the above-mentioned purpose, according to another aspect of the present application, an electronic device is also provided, the electronic device includes one or more processors and a memory, and the memory is used to store the risk judgment method of the metering device described in any one of the above-mentioned ones implemented by the one or more processors.

[0021] Through the present application, the following steps are adopted: based on the parameter information of the metering device to be evaluated, it is judged whether the metering error of the metering device to be evaluated meets the preset requirements, and a first judgment result is obtained, wherein the parameter information at least includes: the usage time of the metering device to be evaluated, the component status data of the metering device to be evaluated, and the metering data of the metering device to be evaluated during the first inspection; when the first judgment result indicates that the metering error meets the preset requirements, the target power consumption data of the metering device to be evaluated within the target time period and the historical power consumption data within multiple historical time periods are obtained; based on the target power consumption data and the historical power consumption data, it is judged whether the metering device to be evaluated has the risk of electricity theft, and a second judgment result is obtained, which solves the problem in the related art that the current power consumption data is used to judge whether the metering device has the risk of electricity theft, resulting in poor accuracy in judging whether the metering device has the risk of electricity theft. In this scheme, the influence of the metering error of the metering device to be evaluated on the electricity consumption data is determined based on the usage time of the metering device to be evaluated, the component status data of the metering device to be evaluated and the metering data of the metering device to be evaluated during the first inspection. When it is determined that the metering error of the metering device to be evaluated meets the requirements, it is judged whether the metering device to be evaluated has the risk of electricity theft based on the target electricity consumption data of the metering device to be evaluated within the target time period and the historical electricity consumption data within multiple historical time periods. By pre-judgment of the metering device, the influence of the metering error of the metering device itself on the electricity consumption data is eliminated. By comparing and analyzing the target electricity consumption data within the target time period with the historical electricity consumption data within multiple historical time periods, the comparative analysis is made more refined, thereby achieving the effect of improving the accuracy of judging whether the metering device has the risk of electricity theft. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The drawings constituting a part of the present application are used to provide a further understanding of the present application. The illustrative embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0023] Figure 1 The process of the risk judgment method of the measuring device provided in the embodiment of the present application is as follows Figure 1 ;

[0024] Figure 2 The process of the risk judgment method of the measuring device provided in the embodiment of the present application is as follows Figure 2 ;

[0025] Figure 3 is a schematic diagram of a risk judgment device of a metering device provided in an embodiment of the present application;

[0026] Figure 4 is a schematic diagram of a risk judgment system for a metering device provided in an embodiment of the present application;

[0027] Figure 5 is a schematic diagram of an electronic device provided according to an embodiment of the present application. DETAILED DESCRIPTION

[0028] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

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

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application 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 application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] It should be noted that the relevant information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties. For example, an interface is set between this system and the relevant user or organization. Before obtaining relevant information, it is necessary to send an acquisition request to the aforementioned user or organization through the interface, and obtain relevant information after receiving the consent information fed back by the aforementioned user or organization.

[0032] The present invention is described below in conjunction with preferred implementation steps. Figure 1 The process of the risk judgment method of the measuring device provided in the embodiment of the present application is as follows Figure 1 ,like Figure 1 As shown, the method comprises the following steps:

[0033] Step S101, judging whether the measurement error of the measurement device to be evaluated meets the preset requirements based on the parameter information of the measurement device to be evaluated, and obtaining a first judgment result, wherein the parameter information at least includes: the usage time of the measurement device to be evaluated, the component status data of the measurement device to be evaluated, and the measurement data of the measurement device to be evaluated during the first inspection.

[0034] Optionally, parameter information such as the usage time of the metering device to be evaluated, the component status data of the metering device to be evaluated, and the metering data of the metering device to be evaluated during the first inspection are obtained. Then, based on these parameter information, it is determined whether the metering error of the metering device to be evaluated meets the preset requirements. It should be noted that the preset requirements may be that the usage time of the metering device to be evaluated is within the repeated rotation interval, and the difference between the component status data of the metering device to be evaluated and the metering data of the metering device to be evaluated during the first inspection and the standard parameters is less than a threshold value.

[0035] The influence of the metering error of the metering device itself on the electricity consumption data can be accurately evaluated through the usage time of the metering device to be evaluated, the component status data of the metering device to be evaluated and the metering data of the metering device to be evaluated during the first inspection.

[0036] Step S102, when the first judgment result indicates that the metering error meets the preset requirement, the target power consumption data of the metering device to be evaluated in the target time period and the historical power consumption data in multiple historical time periods are obtained.

[0037] Optionally, when the first judgment result indicates that the metering error meets the preset requirements, the target power consumption data of the metering device to be evaluated in the target time period and the historical power consumption data in multiple historical time periods are collected. For example, the current year power consumption data of the metering device to be evaluated and the historical power consumption data of multiple historical years are selected.

[0038] Step S103: judging whether the metering device to be evaluated has a risk of electricity theft based on the target electricity consumption data and the historical electricity consumption data, and obtaining a second judgment result.

[0039] Optionally, by comparing and analyzing the target electricity usage data and the historical electricity usage data, it is determined whether the metering device to be evaluated has a risk of electricity theft, thereby obtaining a second judgment result.

[0040] To summarize, based on the usage time of the metering device to be evaluated, the component status data of the metering device to be evaluated and the metering data of the metering device to be evaluated during the first inspection, the influence of the metering error of the metering device to be evaluated itself on the electricity consumption data is determined. When it is determined that the metering error of the metering device to be evaluated itself meets the requirements, based on the target electricity consumption data of the metering device to be evaluated within the target time period and the historical electricity consumption data within multiple historical time periods, it is judged whether the metering device to be evaluated has the risk of electricity theft. By making a preliminary judgment on the metering device, the influence of the metering error of the metering device itself on the electricity consumption data is eliminated. By comparing and analyzing the target electricity consumption data within the target time period with the historical electricity consumption data within multiple historical time periods, the comparative analysis is made more refined, thereby achieving the effect of improving the accuracy of judging whether the metering device has the risk of electricity theft.

[0041] Optionally, in the risk judgment method for the metering device provided in the embodiment of the present application, judging whether the metering device to be evaluated has the risk of electricity theft based on the target electricity consumption data and the historical electricity consumption data, and obtaining the second judgment result includes: dividing the target electricity consumption data to obtain the target electricity consumption data in multiple target sub-time periods; determining the electricity consumption deviation threshold corresponding to each target sub-time period based on the target electricity consumption data and the historical electricity consumption data in each target sub-time period; judging whether the metering device to be evaluated has the risk of electricity theft based on the electricity consumption deviation threshold, and obtaining the second judgment result.

[0042] In an optional embodiment, the following steps are used to determine whether the metering device to be evaluated has a risk of electricity theft: First, the target electricity consumption data is divided to obtain the target electricity consumption data in multiple target sub-time periods. For example, the current annual electricity consumption data of the metering device to be evaluated is selected, and the current year is divided according to months, quarters, or any required method to obtain multiple current time periods, and the electricity consumption curve of each current time period is drawn. For example, the current year is divided according to quarters, then January to March is the first time period, April to June is the second time period, July to September is the third time period, and October to December is the fourth time period, and the electricity consumption curves of these four time periods are drawn.

[0043] Then, the target electricity consumption data and historical electricity consumption data in each target sub-time period are calculated to obtain the electricity consumption deviation threshold corresponding to each target sub-time period. For example, multiple historical years are selected, and the electricity consumption data of any two historical years and the corresponding time period of the current time period are compared to obtain the maximum electricity consumption deviation between the two historical years and the corresponding time period of the current time period. Similarly, multiple deviation maximum values ​​are obtained, and the maximum value among the multiple deviation maximum values ​​is selected as the above-mentioned electricity consumption deviation threshold.

[0044] Finally, based on the electricity consumption deviation threshold, determine whether the metering device to be evaluated has a risk of electricity theft. For example, by determining whether the electricity consumption deviation between the target electricity consumption data and the historical electricity consumption data corresponding to any historical year exceeds the electricity consumption deviation threshold, it is determined whether the metering device to be evaluated has a risk of electricity theft, and a second judgment result is obtained.

[0045] By calculating the power consumption deviation between the target power consumption data and the historical power consumption data in each target sub-time period, the accuracy of determining the deviation threshold is improved, thereby improving the accuracy of judging whether the metering device to be evaluated has the risk of power theft.

[0046] Optionally, in the risk judgment method of the metering device provided in the embodiment of the present application, determining the electricity consumption deviation threshold value corresponding to each target sub-time period based on the target electricity consumption data and the historical electricity consumption data in each target sub-time period includes: grouping the historical electricity consumption data to obtain multiple groups of historical electricity consumption data, wherein each group of historical electricity consumption data includes two historical electricity consumption data; for any group of historical electricity consumption data, dividing the first historical electricity consumption data in the group to obtain the first historical electricity consumption data in each historical sub-time period, and dividing the second historical electricity consumption data in the group to obtain the second historical electricity consumption data in each historical sub-time period; determining the electricity consumption deviation threshold value corresponding to each target sub-time period based on the first historical electricity consumption data in each historical sub-time period, the second historical electricity consumption data in each historical sub-time period, and the difference between the target electricity consumption data and the historical electricity consumption data in each target sub-time period.

[0047] In an optional embodiment, the following steps are used to determine the above-mentioned electricity consumption deviation threshold: historical electricity consumption data are grouped in pairs to obtain multiple groups of historical electricity consumption data, for example, 5 historical years are selected, such as the 1st year, the 2nd year, the 3rd year, the 4th year and the 5th year, and any two historical years are selected. There are a total of 10 selection methods, the 1st year and the 2nd year, the 1st year and the 3rd year, the 1st year and the 4th year, the 1st year and the 5th year, the 2nd year and the 3rd year, the 2nd year and the 4th year, the 2nd year and the 5th year, the 3rd year and the 4th year, the 3rd year and the 5th year and the 4th year and the 5th year.

[0048] Then, for any group of historical electricity consumption data, the first historical electricity consumption data in the group is divided to obtain the first historical electricity consumption data in each historical sub-time period, and the second historical electricity consumption data in the group is divided to obtain the second historical electricity consumption data in each historical sub-time period. For example, if the current year is divided into quarters, January to March is the first period, April to June is the second period, July to September is the third period, and October to December is the fourth period. Correspondingly, the first historical electricity consumption data and the second historical electricity consumption data are divided into four periods of electricity consumption data according to the quarter.

[0049] Finally, the difference between the first historical electricity consumption data in each historical sub-time period, the second historical electricity consumption data in each historical sub-time period, and the target electricity consumption data and the historical electricity consumption data in each target sub-time period is calculated, and then the electricity consumption deviation threshold corresponding to each target sub-time period is determined according to the calculated difference. For example, the maximum deviation of electricity consumption in each period in the corresponding four time periods of the first year and the second year is obtained by comparison, for example, the maximum deviation of the first period is F1, the maximum deviation of the second period is F2, the maximum deviation of the third period is F3, and the maximum deviation of the fourth period is F4. Similarly, the maximum deviation of electricity consumption in each period in the corresponding four time periods of any other two historical years can be obtained. MAX[F1] is selected as the electricity consumption deviation threshold G1 of the first period, that is, G1=MAX[F1], MAX[F2] is the second deviation threshold G2 of the second period, that is, G2=MAX[F2], MAX[F3] is the electricity consumption deviation threshold G3 of the third period, that is, G3=MAX[F3], and MAX[F4] is the electricity consumption deviation threshold G4 of the fourth period, that is, G4=MAX[F4].

[0050] By comparing the current annual data and historical annual data of the metering device to be evaluated by dividing them into time periods and setting a deviation threshold for each time period, the accuracy of subsequent determination of whether there is a risk of electricity theft based on the electricity consumption deviation threshold can be improved.

[0051] Optionally, in the risk judgment method for the metering device provided in the embodiment of the present application, based on the electricity consumption deviation threshold, it is judged whether the metering device to be evaluated has the risk of electricity theft, and the second judgment result is obtained, including: for the target electricity consumption data of each target sub-time period, determining the electricity consumption deviation value between the target electricity consumption data of the target sub-time period and any historical electricity consumption data; based on the electricity consumption deviation value and the electricity consumption deviation threshold, judging whether there are multiple continuous time points in the target sub-time period with the electricity consumption deviation greater than the electricity consumption deviation threshold, and obtaining a third judgment result; when the third judgment result indicates that there are multiple continuous time points with the electricity consumption deviation greater than the electricity consumption deviation threshold, determining the number of time points of the multiple continuous time points; based on the number of time points of the multiple continuous time points, judging whether the metering device to be evaluated has the risk of electricity theft, and obtaining the second judgment result.

[0052] In an optional embodiment, judging whether there is a risk of electricity theft in the metering device to be evaluated based on the electricity deviation threshold includes the following steps: for the target electricity consumption data of any target sub-time period, determining the electricity consumption deviation value between the target electricity consumption data of the target sub-time period and the historical electricity consumption data within the sub-time end of any historical electricity consumption data, for example, calculating the electricity consumption deviation value between the current first time period and the first time period of any year among the first, second, third, fourth and fifth years.

[0053] According to the power consumption deviation value and the power consumption deviation threshold, determine whether there are multiple consecutive time points in the target sub-time period where the power consumption deviation is greater than the power consumption deviation threshold. If there are multiple consecutive time points, determine whether there is a risk of power theft in the metering device to be evaluated based on the number of time points of the multiple consecutive time points, and obtain the second judgment result. For example, if there are multiple consecutive time points with a power consumption deviation greater than G1 between the current first time period and the first time period of any of the first, second, third, fourth and fifth years, and the number of time points H is greater than or equal to the time point number threshold KH, that is, |U TN -U T1 |>G1, where TN is any time point in the current first period, T1 is the time point corresponding to TN in the first period of the first year, and U TN is the electricity consumption at time TN in the current first period, and UT1 is the electricity consumption at time T1 in the first period of the first year. It can be judged that there is a risk of electricity theft in the metering device to be evaluated.

[0054] By comparing and analyzing each time period, the precision of the comparative analysis is improved, thereby improving the accuracy of judging whether the metering device to be evaluated has the risk of electricity theft.

[0055] Optionally, in the risk judgment method for the metering device provided in the embodiment of the present application, whether the metering device to be evaluated has the risk of electricity theft is judged based on the number of time points of multiple consecutive time points, and the second judgment result is obtained, including: for the target electricity consumption data of each target sub-time period, if the number of time points is greater than a preset threshold, obtaining the line loss curve corresponding to the target sub-time period; fitting the target electricity consumption data of the target sub-time period with the line loss curve to obtain the target fitting degree; judging whether the metering device to be evaluated has the risk of electricity theft based on the target fitting degree and the fitting degree threshold, and obtaining the second judgment result.

[0056] In an optional embodiment, judging whether there is a risk of electricity theft in the metering device to be evaluated based on the number of time points at multiple consecutive time points includes the following steps: for the target electricity consumption data of each target sub-time period, if there is a number of time points greater than a preset threshold, obtaining the line loss curve corresponding to the target sub-time period. It should be noted that the line loss curve is a tool used in the power system to describe and analyze the loss of electric energy during the transmission process. It usually refers to a curve in which the difference between the power supply and the power sales changes over time within a certain period of time.

[0057] The power consumption curve and line loss curve corresponding to the target power consumption data of the target sub-time period are fitted to obtain the target fitting degree. Finally, according to the target fitting degree and the fitting degree threshold, it is judged whether the metering device to be evaluated has the risk of power theft, and the second judgment result is obtained. For example, if the target fitting degree is greater than the fitting degree threshold, it is judged that the metering device to be evaluated has the risk of power theft. If the target fitting degree is less than or equal to the fitting degree threshold, it is judged that the metering device to be evaluated does not have the risk of power theft.

[0058] Optionally, in the risk judgment method for a metering device provided in an embodiment of the present application, judging whether the metering device to be evaluated has a risk of electricity theft is judged based on the target fit and the fit threshold, and obtaining a second judgment result includes: for the target electricity usage data of each target sub-time period, if the target fit is greater than the fit threshold, marking the target electricity usage data of the target sub-time period as abnormal electricity usage data; determining the number of target sub-time periods marked as abnormal electricity usage data; and judging whether the metering device to be evaluated has a risk of electricity theft based on the number, to obtain a second judgment result.

[0059] In an optional embodiment, the following steps are used to determine whether the metering device to be evaluated has a risk of electricity theft: determine whether the target fit is greater than a fit threshold; if the target fit is greater than the fit threshold, mark the target electricity usage data of the target sub-time period as abnormal electricity usage data.

[0060] Then, the number of target sub-time periods marked as abnormal power consumption data within the target time end is determined, and finally, based on the number, it is determined whether the metering device to be evaluated has a risk of power theft, and a second judgment result is obtained. For example, if the number of target sub-time periods marked as abnormal power consumption data is greater than a threshold, it is determined that the metering device to be evaluated has a risk of power theft.

[0061] In an optional embodiment, the number of target sub-time periods marked as abnormal power consumption data and whether the target sub-time periods marked as abnormal power consumption data are continuous can also be used to determine whether the metering device to be evaluated has a risk of power theft. For example, if the time periods with suspected power theft risks are continuous and the number of time periods D is greater than or equal to the time period number threshold KD, that is, D≥KD, for example, there are two consecutive time periods with suspected power theft risks among four time periods, then it is determined that the metering device to be evaluated has a risk of power theft.

[0062] Optionally, in the risk judgment method for a metering device provided in an embodiment of the present application, judging whether the metering error of the metering device to be evaluated meets preset requirements based on parameter information of the metering device to be evaluated, and obtaining a first judgment result includes: judging whether the metering device to be evaluated is in a rotation interval based on the usage time in the parameter information; if the metering device to be evaluated is in the rotation interval, determining a target difference between component status data of the metering device to be evaluated and the metering data of the metering device to be evaluated at the first inspection and a preset parameter value; judging whether the metering error of the metering device to be evaluated meets the preset requirements based on the target difference, and obtaining the first judgment result.

[0063] In an optional embodiment, the following steps are adopted to determine whether the measurement error of the measurement device to be evaluated meets the preset requirements: judging whether the measurement device to be evaluated is within the rotation interval according to the usage duration in the parameter information. If the measurement device to be evaluated is within the rotation interval, determining the target difference between the component state data of the measurement device to be evaluated and the measurement data of the measurement device at the first inspection and the preset parameter values. Finally, judging whether the measurement error of the measurement device to be evaluated meets the preset requirements according to the target difference, and obtaining the first judgment result. For example, determining whether the deviation between the parameter information of the measurement device to be evaluated, the measurement data at the first inspection and the preset parameter values is less than the deviation threshold.

[0064] In an optional embodiment, different deviation thresholds can be set for all the preset parameter values respectively. When the deviations between all the parameter data and the preset parameter values are less than the corresponding first deviation thresholds, the measurement error of the measurement device to be evaluated meets the preset requirements.

[0065] In an optional embodiment, weights can also be set for the preset parameter values and sorted according to the weights, and the preset parameter values with higher rankings are selected. When the deviations between the data of the measurement device to be evaluated and these preset parameter values with higher rankings are less than the corresponding deviation thresholds, the measurement error of the measurement device to be evaluated meets the preset requirements. For example, the parameter information X of the measurement device to be evaluated includes X1, X2... Xn. Deviation thresholds K1, K2... Kn can be set for X1, X2... Xn respectively. If |X1 - x1| < K1, |X2 - x2| < K2... |Xn - xn| < Kn are satisfied, the measurement error of the measurement device to be evaluated meets the preset requirements, or weights w1, w2... wn are set for x1, x2... xn, w1 + w2 +... + wn = 1, and they are sorted from large to small. For example, when n = 6, assuming w2 > w5 > w1 > w3 > w6 > w4, the first 3 are selected, that is, w2, w5, w1. If |X2 - x2| < K2, |X5 - x5| < K5, |X1 - x1| < K1 are satisfied, the measurement error of the measurement device to be evaluated meets the preset requirements.

[0066] By judging whether the measurement device to be evaluated is within the rotation interval and the deviation situation of the parameter information, the influence of the measurement error of the measurement device itself on the power consumption data is excluded, and the accuracy of subsequent judgment of whether there is a risk of electricity theft is improved.

[0067] In an optional embodiment, it can be judged whether there is a risk of electricity theft through the flowchart as Figure 2 shown, which specifically includes the following steps: Step 1: Determine whether the measurement device to be evaluated is within the two-year repeated rotation interval;

[0068] Step 2: If yes, determine whether the deviation between the first inspection data of the metering device to be evaluated and the preset first inspection data is less than the first deviation threshold; wherein the first inspection data includes multiple parameter data, such as the internal component status data of the metering device, the metering data at the first inspection, etc., and accordingly, different first deviation thresholds are set for different parameter data, and the first deviation thresholds can be set for all parameter data respectively. When the deviations between all parameter data and the corresponding preset first inspection data are less than the corresponding first deviation threshold, execute step 3; or set weights for all preset first inspection data and sort them according to the weights, select the preset first inspection data with the top ranking, and when the deviation between the first inspection data of the metering device to be evaluated and these preset first inspection data with the top ranking is less than the corresponding first deviation threshold, execute step 3;

[0069] Step 3, select the current annual electricity consumption data of the metering device to be evaluated, and divide the current year into months, quarters or any required method to obtain multiple current time periods, and draw the electricity consumption curve for each current time period;

[0070] Step 4: Select multiple historical years, compare the electricity consumption data of any two historical years with the corresponding time period of the current time period, obtain the maximum deviation of electricity consumption between the two historical years and the corresponding time period of the current time period, and similarly obtain multiple maximum deviation values, and select the maximum value among the multiple maximum deviation values ​​as the second deviation threshold;

[0071] Step 5: If there are multiple consecutive time points between any current period and any corresponding period of any historical year where the power consumption deviation is greater than the second deviation threshold, and the number of time points is greater than or equal to the time point number threshold, then execute step 6:

[0072] Step 6: Draw the line loss curve of the current period in step 5, and fit the power consumption curve of the current period with the line loss curve. If the fitting degree is greater than or equal to the fitting degree threshold, it is determined that the metering device to be evaluated has a suspected risk of electricity theft;

[0073] Step 7: If the time periods with suspected electricity theft risks are continuous and the number of time periods is greater than or equal to the time period threshold, it is determined that the metering device to be evaluated has electricity theft risks.

[0074] The risk judgment method for a metering device provided in an embodiment of the present application obtains a first judgment result by judging whether a metering error of the metering device to be evaluated meets preset requirements based on parameter information of the metering device to be evaluated, wherein the parameter information at least includes: the usage time of the metering device to be evaluated, component status data of the metering device to be evaluated, and metering data of the metering device to be evaluated during the first inspection; when the first judgment result indicates that the metering error meets the preset requirements, the target power consumption data of the metering device to be evaluated within a target time period and the historical power consumption data within multiple historical time periods are obtained; based on the target power consumption data and the historical power consumption data, it is judged whether the metering device to be evaluated has a risk of electricity theft, and a second judgment result is obtained, which solves the problem in the related art that judging whether a metering device has a risk of electricity theft is based on current power consumption data, resulting in poor accuracy in judging whether a metering device has a risk of electricity theft. In this scheme, the influence of the metering error of the metering device to be evaluated on the electricity consumption data is determined based on the usage time of the metering device to be evaluated, the component status data of the metering device to be evaluated and the metering data of the metering device to be evaluated during the first inspection. When it is determined that the metering error of the metering device to be evaluated meets the requirements, it is judged whether the metering device to be evaluated has the risk of electricity theft based on the target electricity consumption data of the metering device to be evaluated within the target time period and the historical electricity consumption data within multiple historical time periods. By pre-judgment of the metering device, the influence of the metering error of the metering device itself on the electricity consumption data is eliminated. By comparing and analyzing the target electricity consumption data within the target time period with the historical electricity consumption data within multiple historical time periods, the comparative analysis is made more refined, thereby achieving the effect of improving the accuracy of judging whether the metering device has the risk of electricity theft.

[0075] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0076] The embodiment of the present application also provides a risk judgment device for a metering device. It should be noted that the risk judgment device for a metering device in the embodiment of the present application can be used to execute the risk judgment method for a metering device provided in the embodiment of the present application. The risk judgment device for a metering device provided in the embodiment of the present application is introduced below.

[0077] Figure 3 Schematic diagram of a risk judgment device of a metering device according to an embodiment of the present application. Figure 3 As shown, the device includes: a first judgment unit 301, an acquisition unit 302 and a second judgment unit 303.

[0078] The first judgment unit 301 is used to judge whether the measurement error of the measurement device to be evaluated meets the preset requirements according to the parameter information of the measurement device to be evaluated, and obtain a first judgment result, wherein the parameter information at least includes: the use time of the measurement device to be evaluated, the component status data of the measurement device to be evaluated, and the measurement data of the measurement device to be evaluated during the first inspection;

[0079] An acquisition unit 302 is configured to acquire target power consumption data of the metering device to be evaluated within a target time period and historical power consumption data within multiple historical time periods when the first judgment result indicates that the metering error meets a preset requirement;

[0080] The second judgment unit 303 is used to judge whether the metering device to be evaluated has a risk of electricity theft according to the target electricity consumption data and the historical electricity consumption data, and obtain a second judgment result.

[0081] The risk judgment device for a metering device provided in an embodiment of the present application judges whether the metering error of the metering device to be evaluated meets the preset requirements through a first judgment unit 301 according to the parameter information of the metering device to be evaluated, and obtains a first judgment result, wherein the parameter information at least includes: the usage time of the metering device to be evaluated, the component status data of the metering device to be evaluated, and the metering data of the metering device to be evaluated during the first inspection; the acquisition unit 302 acquires the target power consumption data of the metering device to be evaluated within the target time period and the historical power consumption data within multiple historical time periods when the first judgment result indicates that the metering error meets the preset requirements; the second judgment unit 303 judges whether the metering device to be evaluated has the risk of electricity theft according to the target power consumption data and the historical power consumption data, and obtains the second judgment result, which solves the problem in the related art that the accuracy of judging whether the metering device has the risk of electricity theft is relatively poor based on the current power consumption data. In this scheme, the influence of the metering error of the metering device to be evaluated on the electricity consumption data is determined based on the usage time of the metering device to be evaluated, the component status data of the metering device to be evaluated and the metering data of the metering device to be evaluated during the first inspection. When it is determined that the metering error of the metering device to be evaluated meets the requirements, it is judged whether the metering device to be evaluated has the risk of electricity theft based on the target electricity consumption data of the metering device to be evaluated within the target time period and the historical electricity consumption data within multiple historical time periods. By pre-judgment of the metering device, the influence of the metering error of the metering device itself on the electricity consumption data is eliminated. By comparing and analyzing the target electricity consumption data within the target time period with the historical electricity consumption data within multiple historical time periods, the comparative analysis is made more refined, thereby achieving the effect of improving the accuracy of judging whether the metering device has the risk of electricity theft.

[0082] Optionally, in the risk judgment device of the metering device provided in the embodiment of the present application, the second judgment unit includes: a division subunit, used to divide the target electricity consumption data to obtain target electricity consumption data in multiple target sub-time periods; a first determination subunit, used to determine the electricity consumption deviation threshold value corresponding to each target sub-time period based on the target electricity consumption data and historical electricity consumption data in each target sub-time period; the first judgment subunit is used to judge whether the metering device to be evaluated has a risk of electricity theft based on the electricity consumption deviation threshold value, and obtain a second judgment result.

[0083] Optionally, in the risk judgment device of the metering device provided in the embodiment of the present application, the determination subunit includes: a grouping module, which is used to group the historical electricity consumption data to obtain multiple groups of historical electricity consumption data, wherein each group of historical electricity consumption data includes two historical electricity consumption data; a division module, which is used to divide the first historical electricity consumption data in any group of historical electricity consumption data to obtain the first historical electricity consumption data in each historical sub-time period, and to divide the second historical electricity consumption data in the group to obtain the second historical electricity consumption data in each historical sub-time period; a determination module, which is used to determine the electricity consumption deviation threshold corresponding to each target sub-time period based on the first historical electricity consumption data in each historical sub-time period, the second historical electricity consumption data in each historical sub-time period, and the difference between the target electricity consumption data and the historical electricity consumption data in each target sub-time period.

[0084] Optionally, in the risk judgment device of the metering device provided in the embodiment of the present application, the second judgment unit includes: a second determination subunit, for determining, for each target sub-time period, a power consumption deviation value between the target power consumption data of the target sub-time period and any historical power consumption data; a second judgment subunit, for judging, based on the power consumption deviation value and the power consumption deviation threshold, whether there are multiple consecutive time points in the target sub-time period in which the power consumption deviation is greater than the power consumption deviation threshold, to obtain a third judgment result; a third determination subunit, for determining the number of time points of the multiple consecutive time points when the third judgment result indicates that there are multiple consecutive time points in which the power consumption deviation is greater than the power consumption deviation threshold; and a third judgment subunit, for judging, based on the number of time points of the multiple consecutive time points, whether there is a risk of power theft in the metering device to be evaluated, to obtain a second judgment result.

[0085] Optionally, in the risk judgment device of the metering device provided in the embodiment of the present application, the third judgment subunit includes: an acquisition module, used for obtaining the line loss curve corresponding to the target sub-time period for the target power consumption data of each target sub-time period if the number of time points is greater than a preset threshold; a fitting module, used for fitting the target power consumption data of the target sub-time period with the line loss curve to obtain a target fitting degree; a judgment module, used for judging whether the metering device to be evaluated has a risk of electricity theft based on the target fitting degree and a fitting degree threshold, and obtaining a second judgment result.

[0086] Optionally, in the risk judgment device of the metering device provided in the embodiment of the present application, the judgment module includes: a marking submodule, for marking the target electricity consumption data of each target sub-time period as abnormal electricity consumption data if the target fit is greater than the fit threshold; a determination submodule, for determining the number of target sub-time periods marked as abnormal electricity consumption data; and a judgment submodule, for judging whether the metering device to be evaluated has a risk of electricity theft based on the number, and obtaining a second judgment result.

[0087] Optionally, in the risk judgment device of the metering device provided in the embodiment of the present application, the first judgment unit includes: a fourth judgment subunit, used to judge whether the metering device to be evaluated is in a rotation interval based on the usage time in the parameter information; a fourth determination subunit, used to determine the target difference between the component status data of the metering device to be evaluated and the metering data of the metering device to be evaluated at the time of the first inspection and the preset parameter value if the metering device to be evaluated is in the rotation interval; and a fifth judgment subunit, used to judge whether the metering error of the metering device to be evaluated meets the preset requirements based on the target difference, and obtain a first judgment result.

[0088] The risk judgment device of the measuring device includes a processor and a memory. The above-mentioned first judgment unit 301, acquisition unit 302 and second judgment unit 303 are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0089] The processor includes a kernel, which calls the corresponding program unit from the memory. One or more kernels can be set, and the risk of electricity theft of the metering device can be accurately determined by adjusting the kernel parameters.

[0090] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0091] The present application also provides a risk determination system for a metering device, such as Figure 4As shown, it includes a pre-judgment module 40 for the metering device to be evaluated, a data processing module 41 for the current year, a data processing module 42 for the historical year, and a comparison and analysis module 43. The pre-judgment module 40 for the metering device to be evaluated determines whether the metering error of the metering device to be evaluated meets the preset requirements, the data processing module 41 for the current year divides and processes the target power consumption data of the current year, the data processing module 42 for the historical year divides and processes the power consumption data of the historical year, and the comparison and analysis module 43 analyzes the divided power consumption data and the line loss curve to obtain the risk judgment result of the metering device.

[0092] An embodiment of the present invention provides a computer-readable storage medium having a program stored thereon, and when the program is executed by a processor, a risk judgment method for a metering device is implemented.

[0093] An embodiment of the present invention provides a processor, which is used to run a program, wherein the risk judgment method of a metering device is executed when the program is run.

[0094] like Figure 5 As shown, an embodiment of the present invention provides an electronic device, the device includes a processor, a memory, and a program stored in the memory and executable on the processor, and the processor implements the following steps when executing the program: judging whether the metering error of the metering device to be evaluated meets the preset requirements based on the parameter information of the metering device to be evaluated, and obtaining a first judgment result, wherein the parameter information at least includes: the usage time of the metering device to be evaluated, the component status data of the metering device to be evaluated, and the metering data of the metering device to be evaluated at the time of the first inspection; when the first judgment result indicates that the metering error meets the preset requirements, obtaining the target power consumption data of the metering device to be evaluated within the target time period and the historical power consumption data within multiple historical time periods; judging whether the metering device to be evaluated has the risk of power theft based on the target power consumption data and the historical power consumption data, and obtaining a second judgment result.

[0095] Optionally, judging whether the metering device to be evaluated has a risk of electricity theft based on the target electricity consumption data and the historical electricity consumption data, and obtaining a second judgment result includes: dividing the target electricity consumption data to obtain target electricity consumption data in multiple target sub-time periods; determining a power consumption deviation threshold value corresponding to each target sub-time period based on the target electricity consumption data and the historical electricity consumption data in each target sub-time period; judging whether the metering device to be evaluated has a risk of electricity theft based on the electricity consumption deviation threshold value, and obtaining a second judgment result.

[0096] Optionally, determining the power consumption deviation threshold corresponding to each target sub-time period based on the target power consumption data and historical power consumption data in each target sub-time period includes: grouping the historical power consumption data to obtain multiple groups of historical power consumption data, wherein each group of historical power consumption data includes two historical power consumption data; for any group of historical power consumption data, dividing the first historical power consumption data in the group to obtain the first historical power consumption data in each historical sub-time period, and dividing the second historical power consumption data in the group to obtain the second historical power consumption data in each historical sub-time period; determining the power consumption deviation threshold corresponding to each target sub-time period based on the first historical power consumption data in each historical sub-time period, the second historical power consumption data in each historical sub-time period, and the difference between the target power consumption data and the historical power consumption data in each target sub-time period.

[0097] Optionally, based on the electricity consumption deviation threshold, it is judged whether the metering device to be evaluated has the risk of electricity theft, and the second judgment result obtained includes: for the target electricity consumption data of each target sub-time period, determining the electricity consumption deviation value between the target electricity consumption data of the target sub-time period and any historical electricity consumption data; based on the electricity consumption deviation value and the electricity consumption deviation threshold, judging whether there are multiple consecutive time points in the target sub-time period with electricity consumption deviation greater than the electricity consumption deviation threshold, and obtaining a third judgment result; when the third judgment result indicates that there are multiple consecutive time points with electricity consumption deviation greater than the electricity consumption deviation threshold, determining the number of time points of the multiple consecutive time points; based on the number of time points of the multiple consecutive time points, judging whether the metering device to be evaluated has the risk of electricity theft, and obtaining the second judgment result.

[0098] Optionally, judging whether the metering device to be evaluated has a risk of electricity theft based on the number of time points of multiple consecutive time points, and obtaining a second judgment result includes: for the target electricity consumption data of each target sub-time period, if the number of time points is greater than a preset threshold, obtaining a line loss curve corresponding to the target sub-time period; fitting the target electricity consumption data of the target sub-time period with the line loss curve to obtain a target fitting degree; judging whether the metering device to be evaluated has a risk of electricity theft based on the target fitting degree and a fitting degree threshold, and obtaining a second judgment result.

[0099] Optionally, judging whether the metering device to be evaluated has a risk of electricity theft based on the target fit and the fit threshold, and obtaining the second judgment result includes: for the target electricity usage data of each target sub-time period, if the target fit is greater than the fit threshold, marking the target electricity usage data of the target sub-time period as abnormal electricity usage data; determining the number of target sub-time periods marked as abnormal electricity usage data; and judging whether the metering device to be evaluated has a risk of electricity theft based on the number, to obtain the second judgment result.

[0100] Optionally, judging whether the metering error of the metering device to be evaluated meets the preset requirements based on the parameter information of the metering device to be evaluated, and obtaining the first judgment result includes: judging whether the metering device to be evaluated is in the rotation interval based on the usage time in the parameter information; if the metering device to be evaluated is in the rotation interval, determining the target difference between the component status data of the metering device to be evaluated and the metering data of the metering device to be evaluated at the first inspection and the preset parameter value; judging whether the metering error of the metering device to be evaluated meets the preset requirements based on the target difference, and obtaining the first judgment result. The device in this article can be a server, PC, PAD, mobile phone, etc.

[0101] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: judging whether the metering error of the metering device to be evaluated meets the preset requirements based on the parameter information of the metering device to be evaluated, and obtaining a first judgment result, wherein the parameter information at least includes: the usage time of the metering device to be evaluated, the component status data of the metering device to be evaluated, and the metering data of the metering device to be evaluated during the first inspection; when the first judgment result indicates that the metering error meets the preset requirements, obtaining the target power consumption data of the metering device to be evaluated within the target time period and the historical power consumption data within multiple historical time periods; judging whether there is a risk of power theft in the metering device to be evaluated based on the target power consumption data and the historical power consumption data, and obtaining a second judgment result.

[0102] Optionally, judging whether the metering device to be evaluated has a risk of electricity theft based on the target electricity consumption data and the historical electricity consumption data, and obtaining a second judgment result includes: dividing the target electricity consumption data to obtain target electricity consumption data in multiple target sub-time periods; determining a power consumption deviation threshold value corresponding to each target sub-time period based on the target electricity consumption data and the historical electricity consumption data in each target sub-time period; judging whether the metering device to be evaluated has a risk of electricity theft based on the electricity consumption deviation threshold value, and obtaining a second judgment result.

[0103] Optionally, determining the power consumption deviation threshold corresponding to each target sub-time period based on the target power consumption data and historical power consumption data in each target sub-time period includes: grouping the historical power consumption data to obtain multiple groups of historical power consumption data, wherein each group of historical power consumption data includes two historical power consumption data; for any group of historical power consumption data, dividing the first historical power consumption data in the group to obtain the first historical power consumption data in each historical sub-time period, and dividing the second historical power consumption data in the group to obtain the second historical power consumption data in each historical sub-time period; determining the power consumption deviation threshold corresponding to each target sub-time period based on the first historical power consumption data in each historical sub-time period, the second historical power consumption data in each historical sub-time period, and the difference between the target power consumption data and the historical power consumption data in each target sub-time period.

[0104] Optionally, based on the electricity consumption deviation threshold, it is judged whether the metering device to be evaluated has the risk of electricity theft, and the second judgment result obtained includes: for the target electricity consumption data of each target sub-time period, determining the electricity consumption deviation value between the target electricity consumption data of the target sub-time period and any historical electricity consumption data; based on the electricity consumption deviation value and the electricity consumption deviation threshold, judging whether there are multiple consecutive time points in the target sub-time period with electricity consumption deviation greater than the electricity consumption deviation threshold, and obtaining a third judgment result; when the third judgment result indicates that there are multiple consecutive time points with electricity consumption deviation greater than the electricity consumption deviation threshold, determining the number of time points of the multiple consecutive time points; based on the number of time points of the multiple consecutive time points, judging whether the metering device to be evaluated has the risk of electricity theft, and obtaining the second judgment result.

[0105] Optionally, judging whether the metering device to be evaluated has a risk of electricity theft based on the number of time points of multiple consecutive time points, and obtaining a second judgment result includes: for the target electricity consumption data of each target sub-time period, if the number of time points is greater than a preset threshold, obtaining a line loss curve corresponding to the target sub-time period; fitting the target electricity consumption data of the target sub-time period with the line loss curve to obtain a target fitting degree; judging whether the metering device to be evaluated has a risk of electricity theft based on the target fitting degree and a fitting degree threshold, and obtaining a second judgment result.

[0106] Optionally, judging whether the metering device to be evaluated has a risk of electricity theft based on the target fit and the fit threshold, and obtaining the second judgment result includes: for the target electricity usage data of each target sub-time period, if the target fit is greater than the fit threshold, marking the target electricity usage data of the target sub-time period as abnormal electricity usage data; determining the number of target sub-time periods marked as abnormal electricity usage data; and judging whether the metering device to be evaluated has a risk of electricity theft based on the number, to obtain the second judgment result.

[0107] Optionally, judging whether the metering error of the metering device to be evaluated meets preset requirements based on the parameter information of the metering device to be evaluated, and obtaining the first judgment result includes: judging whether the metering device to be evaluated is in a rotation interval based on the usage time in the parameter information; if the metering device to be evaluated is in the rotation interval, determining a target difference between component status data of the metering device to be evaluated and the metering data of the metering device to be evaluated at the first inspection and a preset parameter value; judging whether the metering error of the metering device to be evaluated meets the preset requirements based on the target difference, and obtaining the first judgment result.

[0108] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0109] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0110] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0111] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1The steps for the functions specified in one or more boxes.

[0112] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0113] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0114] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0115] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0116] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0117] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included within the scope of the claims of the present application.

Claims

1. A method for determining risk of a measuring device, characterized in that: include: According to the parameter information of the metering device to be evaluated, it is judged whether the metering error of the metering device to be evaluated meets the preset requirements, and a first judgment result is obtained, wherein the parameter information at least includes: the usage time of the metering device to be evaluated, the component status data of the metering device to be evaluated, and the metering data of the metering device to be evaluated during the first inspection; When the first judgment result indicates that the metering error meets the preset requirement, obtaining target power consumption data of the metering device to be evaluated within a target time period and historical power consumption data within multiple historical time periods; Based on the target electricity usage data and the historical electricity usage data, it is determined whether the metering device to be evaluated has a risk of electricity theft, and a second determination result is obtained.

2. The method according to claim 1, characterized in that Judging whether the metering device to be evaluated has a risk of electricity theft based on the target electricity consumption data and the historical electricity consumption data, and obtaining a second judgment result includes: Dividing the target power consumption data to obtain target power consumption data in multiple target sub-time periods; Determine a power consumption deviation threshold value corresponding to each target sub-time period according to the target power consumption data in each target sub-time period and the historical power consumption data; Based on the electricity usage deviation threshold, it is determined whether the metering device to be evaluated has a risk of electricity theft, and a second determination result is obtained.

3. The method according to claim 2, characterized in that Determining the power consumption deviation threshold corresponding to each target sub-time period according to the target power consumption data in each target sub-time period and the historical power consumption data includes: Grouping the historical power consumption data to obtain multiple groups of historical power consumption data, wherein each group of historical power consumption data includes two historical power consumption data; For any group of historical electricity consumption data, the first historical electricity consumption data in the group is divided to obtain the first historical electricity consumption data in each historical sub-time period, and the second historical electricity consumption data in the group is divided to obtain the second historical electricity consumption data in each historical sub-time period; The power consumption deviation threshold corresponding to each target sub-time period is determined based on the first historical power consumption data in each historical sub-time period, the second historical power consumption data in each historical sub-time period, and the difference between the target power consumption data in each target sub-time period and the historical power consumption data.

4. The method according to claim 2, characterized in that: Judging whether the metering device to be evaluated has a risk of electricity theft based on the electricity consumption deviation threshold, and obtaining a second judgment result includes: For the target power consumption data of each target sub-time period, determining a power consumption deviation value between the target power consumption data of the target sub-time period and any historical power consumption data; According to the power consumption deviation value and the power consumption deviation threshold, determining whether there are multiple consecutive time points in the target sub-time period when the power consumption deviation is greater than the power consumption deviation threshold, and obtaining a third determination result; When the third judgment result indicates that there are multiple consecutive time points at which the power consumption deviation is greater than the power consumption deviation threshold, determining the number of the multiple consecutive time points; According to the number of the multiple consecutive time points, it is judged whether the metering device to be evaluated has the risk of electricity theft, and the second judgment result is obtained.

5. The method according to claim 4, characterized in that According to the number of time points of the plurality of consecutive time points, Determining whether the metering device to be evaluated has a risk of electricity theft, and obtaining the second determination result includes: For the target power consumption data of each target sub-time period, if the number of time points is greater than a preset threshold, obtaining a line loss curve corresponding to the target sub-time period; Fitting the target power consumption data of the target sub-time period with the line loss curve to obtain a target fitting degree; According to the target fitting degree and the fitting degree threshold, it is judged whether the metering device to be evaluated has the risk of electricity theft, and the second judgment result is obtained.

6. The method according to claim 5, characterized in that According to the target fitness and fitness threshold, Determining whether the metering device to be evaluated has a risk of electricity theft, and obtaining the second determination result includes: For the target power consumption data of each target sub-time period, if the target fitness is greater than the fitness threshold, marking the target power consumption data of the target sub-time period as abnormal power consumption data; determining the number of target sub-time periods marked as abnormal power usage data; Based on the quantity, it is determined whether the metering device to be evaluated has a risk of electricity theft, and the second determination result is obtained.

7. The method according to claim 1, characterized in that According to the parameter information of the metering device to be evaluated, judging whether the metering error of the metering device to be evaluated meets the preset requirements, and obtaining the first judgment result includes: According to the usage time in the parameter information, determining whether the metering device to be evaluated is in a rotation interval; If the metering device to be evaluated is within the rotation interval, determining the target difference between the component status data of the metering device to be evaluated and the metering data of the metering device to be evaluated during the first inspection and the preset parameter value; Based on the target difference, it is judged whether the measurement error of the measurement device to be evaluated meets the preset requirements to obtain a first judgment result.

8. A risk judgment device for a measuring device, characterized in that: include: A first judgment unit is used to judge whether the measurement error of the measurement device to be evaluated meets the preset requirements according to the parameter information of the measurement device to be evaluated, and obtain a first judgment result, wherein the parameter information at least includes: the use time of the measurement device to be evaluated, the component status data of the measurement device to be evaluated, and the measurement data of the measurement device to be evaluated during the first inspection; an acquisition unit, configured to acquire target power consumption data of the metering device to be evaluated within a target time period and historical power consumption data within multiple historical time periods when the first judgment result indicates that the metering error meets the preset requirement; The second judgment unit is used to judge whether the metering device to be evaluated has a risk of electricity theft based on the target electricity consumption data and the historical electricity consumption data, and obtain a second judgment result.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the storage medium is controlled to execute the risk judgment method for a metering device according to any one of claims 1 to 7 in a device.

10. An electronic device, characterized in that: It includes one or more processors and a memory, wherein the memory is used to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the risk judgment method of the metering device according to any one of claims 1 to 7.

Citation Information

Cited By

  • Electricity utilization information acquisition system and method based on dual-mode communication

    CN119477604A