Abnormal ammeter checking method and device, computer equipment and storage medium
By collecting and analyzing power consumption and line loss, abnormal meter screening was solved, and the problem of inefficient line loss inspection in the station area was achieved, achieving more efficient and accurate abnormal meter inspection.
Patent Information
- Application Number
- CN202510004080.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-05-02
AI Technical Summary
In the case of many branches of power supply lines in Taiwan, there is a lack of professional line loss inspection tools, which makes it difficult to carry out anti-smuggling and omission work, and the traditional inspection is inefficient.
By collecting the power consumption and line losses of each meter in the power consumption area in different time periods, a candidate meter for abnormal electricity consumption is determined, and an abnormal meter is screened out through the calculation of total electricity consumption and metering errors.
The efficiency and accuracy of abnormal meter inspection have been improved, the scope and number of inspections have been reduced, and the efficiency of anti-smuggling and missed work has been significantly improved.
Smart Images

Figure CN119916289A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a method, device, computer equipment and storage medium for troubleshooting abnormal electric meters. Background Art
[0002] There are many branches in the power supply lines in the substation. When abnormal line loss occurs in the substation, there are no professional line loss detection tools to assist in detecting the specific line or location of power loss. It is also impossible to quickly find the cause of power loss by analyzing the power data in the user's meter, which makes anti-leakage detection difficult.
[0003] In traditional substations, abnormal line loss inspections or anti-theft and leakage inspections can only rely on professional experience or meter accuracy testing to find out whether there are causes of power loss such as power theft, meter inaccuracy, and wrong wiring. It is necessary to conduct electricity usage inspections on each meter one by one. The scope of the inspection is wide and the number is large. Therefore, there is usually a problem of low inspection efficiency. Summary of the invention
[0004] Based on this, it is necessary to provide a method, device, computer equipment and storage medium for detecting abnormal electric meters that can improve the detection efficiency in response to the above technical problems.
[0005] In a first aspect, the present application provides a method for troubleshooting an abnormal electric meter, comprising:
[0006] Collect the electricity consumption of each meter in the electricity consumption area in different time periods, as well as the line loss in the corresponding time period;
[0007] Selecting at least one candidate meter with abnormal power consumption from each power consumption meter according to the collected power consumption and line loss;
[0008] Obtain the total electricity consumption of the total electricity meter in the electricity consumption area at different time periods;
[0009] According to the collected power consumption, line loss and total power consumption of each candidate power meter, the abnormal power meter is selected from the candidate power meters.
[0010] In one embodiment, based on the collected power consumption and line loss, at least one candidate power meter with abnormal power consumption is selected from each power consumption meter, including:
[0011] For each electricity consumption meter, determine the correlation between the collected electricity consumption and the line loss according to the corresponding collected electricity consumption and line loss of the electricity consumption meter;
[0012] From the electricity consumption meters, electricity consumption meters with correlation greater than a preset correlation threshold are selected as candidate electricity meters.
[0013] In one embodiment, determining the correlation between the collected power consumption and the line loss according to the corresponding collected power consumption and line loss of the power consumption meter includes:
[0014] According to the corresponding collected power consumption and line loss of the power consumption meter, the Hamming distance between the collected power consumption and the line loss is determined;
[0015] Based on the Hamming distance, the correlation between the collected power consumption and line loss is determined.
[0016] In one embodiment, according to the collected power consumption, line loss and total power consumption of each candidate power meter, an abnormal power meter is selected from each candidate power meter, including:
[0017] Determine the measurement error of each candidate electric meter according to the collected electric power consumption, line loss and total electric power consumption of each candidate electric meter;
[0018] The candidate electric meters whose metering errors are greater than the preset error threshold are regarded as abnormal electric meters.
[0019] In one embodiment, determining the measurement error of each candidate electric meter according to the collected electric power consumption, line loss and total electric power consumption of each candidate electric meter includes:
[0020] Obtaining an electric energy conservation equation; the electric energy conservation equation is determined based on the quantitative relationship between the collected power consumption of each candidate electric meter, line loss, total power consumption and the measurement error of each candidate electric meter;
[0021] Based on the electric energy conservation equation, the metering error of each candidate meter is determined according to the collected power consumption, line loss and total power consumption of each candidate meter.
[0022] In one embodiment, based on the electric energy conservation equation, according to the collected power consumption, line loss and total power consumption of each candidate power meter, the measurement error of each candidate power meter is determined, including:
[0023] Based on a preset Lagrange multiplier, a preset unit matrix and a preset regularization parameter, the electric energy conservation equation is converted into an electric meter measurement error determination equation;
[0024] Based on the meter measurement error determination equation, the measurement error of each candidate meter is determined according to the collected power consumption, line loss and total power consumption of each candidate meter.
[0025] In a second aspect, the present application also provides an abnormal electric meter troubleshooting device, comprising:
[0026] The data acquisition module is used to collect the power consumption of each power meter in the power consumption area in different time periods, as well as the line loss in the corresponding power consumption period;
[0027] A first screening module is used to select at least one candidate meter with abnormal power consumption from each power consumption meter according to the collected power consumption and line loss;
[0028] The second screening module is used to obtain the total power consumption of the total power meters in the power consumption area at different time periods; and select abnormal power meters from each candidate power meter according to the collected power consumption, line loss and total power consumption of each candidate power meter.
[0029] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0030] Collect the power consumption of each electricity meter in the power consumption area in different time periods, as well as the line loss in the corresponding power consumption period;
[0031] According to the collected power consumption and line loss, at least one collection meter with abnormal power consumption is selected from each power consumption meter;
[0032] Obtain the total power consumption of the total power meter in the power consumption area at different time periods;
[0033] According to the collected power consumption, line loss and total power consumption of each candidate power meter, the abnormal power meter is selected from the candidate power meters.
[0034] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0035] Collect the power consumption of each electricity meter in the power consumption area in different time periods, as well as the line loss in the corresponding power consumption period;
[0036] Selecting at least one candidate meter with abnormal power consumption from each power consumption meter according to the collected power consumption and line loss;
[0037] Obtain the total power consumption of the total power meter in the power consumption area at different time periods;
[0038] According to the collected power consumption, line loss and total power consumption of each candidate power meter, the abnormal power meter is selected from the candidate power meters.
[0039] In a fifth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:
[0040] Collect the power consumption of each electricity meter in the power consumption area in different time periods, as well as the line loss in the corresponding power consumption period;
[0041] Selecting at least one candidate meter with abnormal power consumption from each power consumption meter according to the collected power consumption and line loss;
[0042] Obtain the total power consumption of the total power meter in the power consumption area at different time periods;
[0043] According to the collected power consumption, line loss and total power consumption of each candidate power meter, the abnormal power meter is selected from the candidate power meters.
[0044] The above abnormal meter troubleshooting method, device, computer equipment and storage medium collect the collected power consumption of each power meter in the power consumption area in different time periods, and the line loss in the corresponding power consumption period; select at least one candidate meter with abnormal power consumption from each power meter based on the collected power consumption and line loss; obtain the total power consumption of all power meters in the power consumption area in different time periods; select the abnormal meter from each candidate meter based on the collected power consumption, line loss and total power consumption of each candidate meter. This embodiment accurately identifies abnormal meters after two screenings, thereby improving the efficiency and accuracy of abnormal meter troubleshooting. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the related technologies, the drawings required for use in the embodiments or the related technical descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0046] Figure 1 An application environment diagram of an abnormal electric meter troubleshooting method provided in this embodiment;
[0047] Figure 2 A schematic diagram of the flow of the first abnormal electric meter troubleshooting method provided in this embodiment;
[0048] Figure 3 A schematic diagram of a portable troubleshooting device provided for this embodiment;
[0049] Figure 4 A structural block diagram of an abnormal electric meter troubleshooting device provided in this embodiment;
[0050] Figure 5 An internal structure diagram of a first computer device provided in this embodiment;
[0051] Figure 6 This is a diagram of the internal structure of the second computer device provided in this embodiment. DETAILED DESCRIPTION
[0052] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0053] The abnormal electric meter troubleshooting method provided in the embodiment of the present application can be applied to Figure 1 In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The data storage system can store the data that the server 104 needs to process. The data storage system can be integrated on the server 104, or it can be placed on the cloud or other network servers. Collect the collected power consumption of each power meter in the power consumption area in different time periods, and the line loss in the corresponding power consumption period; select at least one candidate meter with abnormal power consumption from each power meter according to the collected power consumption and line loss; obtain the total power consumption of the total power meter in the power consumption area in different time periods; select the abnormal meter from each candidate meter according to the collected power consumption, line loss and total power consumption of each candidate meter. Among them, the computer device can be both a terminal and a server. The terminal 102 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, Internet of Things devices and portable wearable devices. The Internet of Things devices can be smart speakers, smart TVs, smart air conditioners, smart car-mounted devices, etc. Portable wearable devices can be smart watches, smart bracelets, head-mounted devices, etc. The server 104 can be implemented with an independent server or a server cluster consisting of multiple servers.
[0054] In an exemplary embodiment, Figure 2 As shown, a method for checking abnormal electric meters is provided, and the method is applied to Figure 1 The computer device in the example is used to illustrate, including the following steps 201 to 204. Among them:
[0055] Step 201 , collecting the power consumption of each power meter in the power consumption area in different time periods, and the line loss in the corresponding power consumption time period.
[0056] Specifically, in this embodiment, the portable troubleshooting equipment can be used to collect the power consumption of each power meter in the power consumption area in different time periods, as well as the line loss in the corresponding power consumption period.
[0057] Exemplarily, this embodiment can also continuously monitor and store the power supply status of the power supply line by installing the portable inspection equipment at the node position of the power supply line that needs to be detected in the power consumption area; obtain the topological relationship between the line and the meter through carrier communication, and collect the collected power consumption of each power meter in the power supply line in different time periods; calculate the actual line loss of the monitoring line based on the collected data, and determine whether there is an abnormal line loss problem in the power supply line according to the size and fluctuation of the line loss rate.
[0058] For example, Figure 3 The schematic diagram of the portable inspection device shown in the figure shows that the portable inspection device may include a signal detection module, a carrier communication module, a wireless communication module, a power management module and a central processing module. The power management module converts the AC 220V power supply of the mains into a weak power supply to provide working power for the device; the signal detection module converts the measured voltage and current signals into digital signals and transmits them to the central processing module; the central processing module reads the power data of the power supply meter of the line through the carrier communication module, and then transmits the detection data and analysis results to the remote background through the wireless communication module. The signal detection module includes a voltage transformer, a current transformer, a signal conditioning circuit and an AD conversion circuit. The voltage transformer and the current transformer isolate and convert the voltage and current signals into weak analog signals. After filtering and amplitude adjustment by the signal conditioning circuit, the AD conversion circuit converts the analog signals into digital signals that can be recognized by the central processing module. The central processing module includes a metering chip, an MCU main chip, a clock chip and an internal storage chip. Among them, the metering chip is used for line power calculation, the MCU main chip is used for meter power data reading, line line loss calculation and abnormal power consumption analysis, and the clock chip and internal storage chip realize the collection and storage of continuous power consumption data and frozen power.
[0059] Step 202 , based on the collected power consumption and line loss, at least one candidate power meter with abnormal power consumption is selected from the power consumption meters.
[0060] Specifically, based on the collected power consumption and line loss, power consumption meters with strong correlation are selected from various power consumption meters as candidate meters that do not meet the standards.
[0061] Step 203: Obtain the total power consumption of the total power consumption meters in the power consumption area in different time periods.
[0062] Step 204 , selecting abnormal electricity meters from the candidate electricity meters according to the collected electricity consumption, line loss and total electricity consumption of the candidate electricity meters.
[0063] Specifically, the metering error of each candidate meter is determined according to the collected power consumption, line loss and total power consumption of each candidate meter, and the abnormal meter with abnormal power consumption is selected from the candidate meters.
[0064] The above abnormal meter troubleshooting method collects the power consumption of each power meter in the power consumption area in different time periods, and the line loss in the corresponding power consumption period; selects at least one candidate meter with abnormal power consumption from each power meter based on the collected power consumption and line loss; obtains the total power consumption of all power meters in the power consumption area in different time periods; selects the abnormal meter from each candidate meter based on the collected power consumption, line loss and total power consumption of each candidate meter. This embodiment accurately identifies abnormal meters after two screenings, thereby improving the efficiency and accuracy of abnormal meter troubleshooting.
[0065] In one embodiment, based on the collected power consumption and line loss, at least one candidate meter with abnormal power consumption is selected from each power meter, including: for each power meter, determining the correlation between the collected power consumption and the line loss based on the corresponding collected power consumption and line loss of the power meter; and selecting a power meter with a correlation greater than a preset correlation threshold from each power meter as a candidate meter.
[0066] Specifically, the correlation between the collected electricity consumption and the line loss is determined based on the corresponding electricity consumption and line loss collected by the electricity meter, including: determining the Hamming distance between the collected electricity consumption and the line loss based on the corresponding electricity consumption and line loss collected by the electricity meter; determining the correlation between the collected electricity consumption and the line loss based on the Hamming distance.
[0067] Specifically, preprocessing is performed on the electricity consumption and line loss corresponding to the electricity consumption meters to obtain the preprocessed electricity consumption and line loss corresponding to the electricity consumption meters; the Hamming distance between the preprocessed electricity consumption and line loss corresponding to the electricity consumption meters is determined; based on the Hamming distance, the correlation between the collected electricity consumption and the line loss is determined; and the electricity consumption meters having a correlation greater than a preset correlation threshold are selected from the electricity consumption meters as candidate meters.
[0068] Exemplarily, preprocessing the corresponding collected power consumption and line loss of the power consumption meter to obtain the preprocessed corresponding collected power consumption and line loss of the power consumption meter includes: preprocessing the corresponding collected power consumption and line loss of the power consumption meter to construct the power time series q i =[q i (1) ⋯q i (j) ⋯q i (t) ] T ,q i is the time series of electricity collected by meter i in t time periods, q i (j) is the amount of electricity collected by meter i at time point j, l=[l (1) ⋯l (j) ⋯l (t) ]T The line loss time series in t time periods. The collected power consumption and line loss are normalized by the following formula (1-1) to obtain the collected power consumption and line loss corresponding to the preprocessed power meter.
[0069] (1-1)
[0070] Among them, q min is the minimum power consumption collected by all electricity meters in all time periods, q max is the maximum power consumption of all electricity meters in all time periods, l min is the minimum line loss in all time periods, l max is the maximum line loss in all time periods.
[0071] Exemplarily, determining the Hamming distance between the preprocessed electricity consumption and the line loss corresponding to the electricity consumption meter includes: selecting a random projection function hash function as a local sensitive hash function, for the electricity time series q i ', define the power hash function , where a is a t-dimensional random vector, b is a random number, w is the set broadband parameter, and ⌈⌉ represents rounding down to get the power hash sequence , similarly calculate the line loss time series l', and get the line loss hash sequence . The following formula (1-2) is used to determine and The Hamming distance between .
[0072] (1-2)
[0073] in, express and The Hamming distance between Indicates the hash sequence corresponding to the collected power consumption, Represents the hash sequence corresponding to the line loss,
[0074] Exemplarily, the correlation between the collected power consumption and the line loss is determined according to the Hamming distance using the following formula (1-3).
[0075] (1-3)
[0076] Among them, d k express and The Hamming distance between them is t, t is the t-th time period, and m is the total number of electric meters in the substation.
[0077] In this embodiment, for each electricity meter, the correlation between the collected electricity consumption and the line loss is determined based on the corresponding collected electricity consumption and line loss of the electricity meter; the electricity meter with a correlation greater than a preset correlation threshold is selected from each electricity meter as a candidate meter, and the candidate meter can be preliminarily screened through the correlation between the collected electricity consumption and the line loss.
[0078] In one embodiment, an abnormal meter is selected from each candidate meter based on the collected power consumption, line loss and total power consumption of each candidate meter, including: constructing an electric energy conservation equation based on the collected power consumption, line loss and total power consumption of each candidate meter, and calculating the metering error of each candidate meter; and selecting a candidate meter whose metering error is greater than a preset error threshold as an abnormal meter.
[0079] In one of the embodiments, the metering error of each candidate meter is determined based on the collected power consumption, line loss and total power consumption of each candidate meter, including: obtaining an electric energy conservation equation; the electric energy conservation equation is determined based on the quantitative relationship between the collected power consumption, line loss, total power consumption of each candidate meter and the metering error of each candidate meter; based on the electric energy conservation equation, the metering error of each candidate meter is determined based on the collected power consumption, line loss and total power consumption of each candidate meter.
[0080] Exemplarily, an electric energy conservation equation is constructed based on the total power consumption in different time periods, the total line loss and the collected power consumption of each candidate meter, so as to obtain the measurement error of each candidate meter, including: according to the law of conservation of electric energy, the total power supply of the substation in any time period = the sum of the actual power consumption of each user in the substation + power loss, and the electric energy conservation equation is constructed as follows (1-4):
[0081] (1-4)
[0082] in, is the measurement result of the i-th meter at the j-th time, ε i is the measurement error of the ith meter, y j is the measurement result of the total meter of the substation area at the jth time, δ j is the total line loss in the jth time period, W j is the measurement result of the virtual station division table at the jth time, where, , is the actual power consumption of the i-th meter in time period j.
[0083] In one of the embodiments, based on the electric energy conservation equation, the measurement error of each candidate electricity meter is determined according to the collected electricity consumption, line loss and total electricity consumption of each candidate electricity meter, including: based on a preset Lagrange multiplier, a preset unit matrix and a preset regularization parameter, the electric energy conservation equation is converted into an electricity meter measurement error determination equation; based on the electricity meter measurement error determination equation, the measurement error of each candidate electricity meter is determined according to the collected electricity consumption, line loss and total electricity consumption of each candidate electricity meter.
[0084] Exemplarily, based on the electric energy conservation equation, according to the collected power consumption, line loss and total power consumption of each candidate meter, the measurement error of each candidate meter is determined, including: determining that the collected power consumption of the candidate meter i in different time periods corresponds to the predicted power sequence: , the error sequence corresponding to the meter measurement error is , the actual power consumption of each candidate meter i in different time periods corresponds to the actual power sequence: The metering error of the candidate meter is determined by the following metering error determination equation (1-5).
[0085] (1-5)
[0086] Among them, Q represents the predicted power series, B represents the expected power series, α represents the Lagrange multiplier, I represents the identity matrix, and γ is the regularization parameter.
[0087] It should be noted that the measurement error determination equation of the candidate meter can be determined by the following method: using LS-SVM to solve Qz=B, constructing the least squares loss function to obtain the following formula (1-6); introducing the Lagrange multiplier into the least squares loss function , construct the Lagrangian function to obtain the following formula (1-7); calculate the partial derivatives of the Lagrangian function with respect to z and α respectively to obtain the following formula (1-8); rearrange formula (1-8) to obtain formula (1-5) for determining the measurement error of the candidate meter.
[0088] (1-6)
[0089] Among them, L represents the least squares loss function, Q represents the predicted power sequence, B represents the actual power sequence, z represents the error sequence, ξ represents the error term, and γ represents the regularization parameter.
[0090] (1-7)
[0091] Among them, Γ(z,α,ξ) represents the Lagrangian function, Q represents the predicted power sequence, B represents the expected power sequence, z represents the error sequence, α represents the Lagrangian multiplier, and γ represents the regularization parameter.
[0092] (1-8)
[0093] Among them, Q represents the predicted power sequence, B represents the expected power sequence, z represents the error sequence, α represents the Lagrange multiplier, and γ represents the regularization parameter.
[0094] In this embodiment, the meter measurement error of each candidate meter is determined based on the collected power consumption, line loss and total power consumption of each candidate meter; the candidate meter whose meter measurement error is greater than the preset error threshold is regarded as an abnormal meter, thereby accurately determining the abnormal meter.
[0095] In an exemplary embodiment, a method for troubleshooting abnormal electric meters is provided. Figure 1 The computer device in the example is used to illustrate, including the following steps 301 to 307. Among them:
[0096] Step 301 : collecting the power consumption of each power meter in the power consumption area in different time periods, and the line loss in the corresponding power consumption time period.
[0097] Step 302: for each electricity consumption meter, determine the Hamming distance between the collected electricity and the line loss according to the corresponding collected electricity and line loss of the electricity meter.
[0098] Step 303: Determine the correlation between the collected power consumption and the line loss according to the Hamming distance.
[0099] Step 304 , selecting electricity consumption meters having correlations greater than a preset correlation threshold from among the electricity consumption meters as candidate electricity consumption meters.
[0100] Step 305: Obtain the total power consumption of the total power consumption meters in the power consumption area in different time periods.
[0101] Step 306, calculating the measurement error of the candidate electric meter based on the collected electric quantity, line loss, and actual power supply of each candidate electric meter in different time periods in combination with the electric energy conservation equation.
[0102] Step 307: The candidate electric meters whose metering errors are greater than a preset error threshold are regarded as abnormal electric meters.
[0103] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0104] Based on the same inventive concept, the embodiment of the present application also provides an abnormal meter troubleshooting device for implementing the abnormal meter troubleshooting method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more abnormal meter troubleshooting device embodiments provided below can refer to the limitations of the abnormal meter troubleshooting method above, and will not be repeated here.
[0105] In an exemplary embodiment, Figure 4 As shown, a device for checking abnormal electric meters is provided, comprising: a data acquisition module 10, a first screening module 11 and a second screening module 12, wherein:
[0106] The data acquisition module 10 is used to collect the power consumption of each power meter in the power consumption area in different time periods, and the line loss in the corresponding power consumption period;
[0107] The first screening module 11 is used to select at least one candidate meter with abnormal power consumption from each power consumption meter according to the collected power consumption and line loss;
[0108] The second screening module 12 is used to obtain the total power consumption of the total power meters in the power consumption area at different time periods; and select abnormal power meters from the candidate power meters according to the collected power, line loss and total power consumption of each candidate power meter.
[0109] In one embodiment, the first screening module 11 is also used to determine, for each electricity meter, the correlation between the collected electricity consumption and the line loss according to the corresponding collected electricity consumption and line loss of the electricity meter; and select from each electricity meter an electricity meter whose correlation is greater than a preset correlation threshold as a candidate electricity meter.
[0110] In one embodiment, the first screening module 11 is further used to determine the Hamming distance between the collected power consumption and the line loss according to the corresponding collected power consumption and line loss of the power consumption meter; and determine the correlation between the collected power consumption and the line loss according to the Hamming distance.
[0111] In one embodiment, the second screening module 12 is further used to determine the metering error of each candidate meter based on the collected power consumption, line loss and total power consumption of each candidate meter; and to regard the candidate meter whose metering error is greater than a preset error threshold as an abnormal meter.
[0112] In one embodiment, the second screening module 12 is also used to obtain an electric energy conservation equation; the electric energy conservation equation is determined based on the quantitative relationship between the collected power consumption, line loss, total power consumption of each candidate meter and the measurement error of each candidate meter; based on the electric energy conservation equation, the measurement error of each candidate meter is determined according to the collected power consumption, line loss and total power consumption of each candidate meter.
[0113] In one of the embodiments, the second screening module 12 is also used to convert the electric energy conservation equation into an electric meter measurement error determination equation based on a preset Lagrange multiplier, a preset unit matrix and a preset regularization parameter; based on the electric meter measurement error determination equation, the measurement error of each candidate electric meter is determined according to the collected power consumption, line loss and total power consumption of each candidate electric meter.
[0114] Each module in the abnormal meter troubleshooting device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.
[0115] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Figure 5As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for troubleshooting abnormal electric meters is implemented.
[0116] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 6 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and the external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a method for troubleshooting an abnormal electric meter is realized. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.
[0117] Those skilled in the art will understand that Figure 5 and Figure 6The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0118] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.
[0119] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.
[0120] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.
[0121] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0122] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0123] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0124] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A method for troubleshooting abnormal electric meters, characterized in that: The method comprises: Collecting the power consumption of each power meter in the power consumption area in different time periods, and the line loss in the corresponding power consumption period; According to the collected power consumption and line loss, at least one candidate power meter with abnormal power consumption is selected from each power consumption meter; Obtain the total power consumption of the total power meter in the power consumption area at different time periods; According to the collected power consumption of each candidate power meter, the line loss and the total power consumption, an abnormal power meter is selected from each candidate power meter.
2. The method according to claim 1, characterized in that The selecting at least one candidate electric meter with abnormal power consumption from each electric meter according to the collected power consumption and line loss comprises: For each electricity consumption meter, according to the electricity consumption and line loss corresponding to the electricity consumption meter, determine the correlation between the collected electricity consumption and the line loss; From the electricity consumption meters, electricity consumption meters with correlation greater than a preset correlation threshold are selected as candidate electricity meters.
3. The method according to claim 2, characterized in that The determining the correlation between the collected power consumption and the line loss according to the corresponding collected power consumption and the line loss of the power consumption meter includes: Determine the Hamming distance between the collected power consumption and the line loss according to the power consumption meter corresponding to the collected power consumption and the line loss; The correlation between the power consumption and the line loss is determined according to the Hamming distance.
4. The method according to claim 1, characterized in that The selecting an abnormal electric meter from each candidate electric meter according to the electric power consumption of each candidate electric meter, the line loss and the total electric power consumption comprises: Determining the measurement error of each candidate electric meter according to the electric power consumption of each candidate electric meter, the line loss and the total electric power consumption; The candidate electric meters whose metering errors are greater than the preset error threshold are regarded as abnormal electric meters.
5. The method according to claim 4, characterized in that The determining of the measurement error of each candidate electric meter according to the electric power consumption of each candidate electric meter, the line loss and the total electric power consumption includes: Obtaining an electric energy conservation equation; the electric energy conservation equation is determined based on the quantitative relationship between the collected power consumption of each candidate electric meter, the line loss, the total power consumption and the measurement error of each candidate electric meter; Based on the electric energy conservation equation, the metering error of each candidate electric meter is determined according to the collected electric power consumption of each candidate electric meter, the line loss and the total electric power consumption.
6. The method according to claim 5, characterized in that The method of determining the measurement error of each candidate electric meter based on the electric energy conservation equation according to the collected electric power consumption of each candidate electric meter, the line loss and the total electric power consumption includes: Based on a preset Lagrange multiplier, a preset unit matrix and a preset regularization parameter, the electric energy conservation equation is converted into an electric meter measurement error determination equation; Based on the meter measurement error determination equation, the measurement error of each candidate meter is determined according to the collected power consumption of each candidate meter, the line loss and the total power consumption.
7. An abnormal electric meter troubleshooting device, characterized in that: The device comprises: A data acquisition module collects the power consumption of each power meter in the power consumption area in different time periods, and the line loss in the corresponding power consumption time period; A first screening module is used to select at least one candidate meter with abnormal power consumption from each power consumption meter according to the collected power consumption and line loss; The second screening module is used to obtain the total power consumption of the total power meters in the power consumption area at different time periods; and select abnormal power meters from the candidate power meters according to the collected power consumption of each candidate power meter, the line loss and the total power consumption.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.