A power meter electricity larceny prevention method and system

By configuring power-on markers on the storage chip and main chip of the electricity meter, the problems of high hardware cost and low accuracy in existing electricity meter anti-theft methods are solved, and high-accuracy electricity theft detection and punishment without hardware detection are achieved.

CN115718216BActive Publication Date: 2026-02-06HEXING ELECTRICAL CO LTD +4
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211333566.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-28
Publication Date
2026-02-06
Estimated Expiration
2042-10-28

AI Technical Summary

Technical Problem

Existing methods for preventing electricity theft using electricity meters require hardware circuits or chips for auxiliary detection, which increases costs, cannot guarantee data confidentiality and accuracy, and users can continue to use electricity normally without any penalties after theft.

Method used

By configuring power-on tags on the storage chip and main chip of the electricity meter, the tag configuration and identification strategy can be used to determine whether electricity theft has occurred, avoiding hardware detection, improving the accuracy of judgment, and implementing punishment strategies.

Benefits of technology

It reduces the cost of electricity theft detection hardware, improves the accuracy of identifying electricity theft, avoids misjudgments, and allows for the implementation of punitive measures against electricity theft.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115718216B_ABST
    Figure CN115718216B_ABST
Patent Text Reader

Abstract

The application discloses an electricity stealing prevention method and system for an electric energy meter, and the method comprises the following steps: acquiring first data with a fixed length at the end of a storage chip of a current electric energy meter; acquiring second data with a fixed length in a fixed area of a main chip storage area of the current electric energy meter; comparing the first data with preconfigured first power-on mark data, and determining whether the current first data is the preconfigured first power-on mark data; if the current first data is different from the preconfigured first power-on mark data, it is determined that the current electric energy meter has an electricity stealing behavior or that the current electric energy meter is a new electric energy meter, and power-on mark configuration of the electric energy meter is performed. The power-on mark configuration and identification strategy of the storage chip are set to determine whether the storage chip is replaced, and whether the electricity stealing behavior exists is determined according to the power-on mark configuration and identification strategy of the storage chip. The electricity stealing behavior can be determined without using a hardware device for detection.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of electric energy meter, in particular to an electric energy meter electricity larceny prevention method and system. BACKGROUND

[0002] The existing electric energy meter electricity larceny prevention method mostly needs to cooperate with the hardware peripheral circuit to detect, such as bypass electricity larceny detection and magnetic interference electricity larceny detection. The bypass electricity larceny detection needs the electric energy meter to support two-way current sampling circuit, and the magnetic interference electricity larceny detection needs the electric energy meter to have a magnetic detection chip. When the electric energy meter detects that the electricity larceny behavior occurs, the corresponding event is recorded, and then the alarm lamp is lit, but the user can normally use electricity. The specific electricity larceny prevention process is as follows: the alternating voltage on the electric energy meter starts to work normally; the electric energy meter detects the electricity larceny in real time in the second task, that is, each second judges various electricity larceny events such as bypass and magnetic interference; if the electricity larceny event occurrence condition is met, the corresponding electricity larceny event is recorded and stored in the storage chip for later reading by the staff. If the electric energy meter hardware supports the alarm lamp, the alarm lamp is lit to warn the staff that the meter has an electricity larceny event; if the electricity larceny event occurrence condition is not met, the judgment is continued in a loop; after the electricity larceny occurs, the user can normally use electricity. However, the existing technology has the following technical problems: 1. The electricity larceny detection needs to be assisted by the hardware circuit or chip to detect, which increases the cost; 2. The storage chip EEPROM storing important data such as electricity larceny events and electricity cannot be detected whether it is replaced, so that the confidentiality and accuracy of the electric energy meter data cannot be guaranteed; 3. After the electricity larceny occurs, the user can normally use electricity, and there is no any punishment metering measure, which is not conducive to the reasonable management of electricity. SUMMARY

[0003] One of the purposes of the present application is to provide an electric energy meter electricity larceny prevention method and system, which judges whether the storage chip is replaced by setting the power-on mark configuration and identification strategy of the storage chip, and judges whether there is an electricity larceny behavior according to the power-on mark configuration and identification strategy of the storage chip, so that the present application can judge whether there is an electricity larceny behavior without using hardware devices for detection, thereby reducing the hardware cost of electricity larceny detection.

[0004] Another purpose of the present application is to provide an electric energy meter electricity larceny prevention method and system, which marks and configures the storage chip for recording electricity larceny events and electricity at the first power-on, and at the same time marks the corresponding position of the electric energy meter main chip storage area, and identifies whether the electric energy meter has an electricity larceny behavior of replacing the storage chip through the linkage of marking and identification, thereby improving the accuracy of electricity larceny behavior judgment and avoiding misjudgment.

[0005] Another object of the present application is to provide a power meter electricity larceny prevention method and system, which can sequentially perform new judgment operation on the storage chip and the main chip of the power meter according to the power-on mark configuration and identification strategy, and perform power-on mark configuration on the newly judged storage chip and main chip, thereby avoiding misjudgment of the newly installed power meter.

[0006] To achieve at least one of the above objects, the present application provides a power meter electricity larceny prevention method, which comprises:

[0007] Querying and obtaining first data of a fixed length at the end of the storage chip of the current power meter;

[0008] Querying and obtaining second data of a fixed length in a fixed area of the storage area of the main chip of the current power meter;

[0009] Comparing the first data with preconfigured first power-on mark data, and judging whether the current first data is the preconfigured first power-on mark configuration data;

[0010] If the current first data is different from the preconfigured first power-on mark configuration data, it is judged that the current power meter has electricity larceny behavior or that the current power meter is a new power meter, and power-on mark configuration of the power meter is performed.

[0011] According to a preferred embodiment of the present application, second power-on mark configuration data is preconfigured in the power meter, and after the second data is obtained, the second data is compared with the preconfigured second power-on mark configuration data. If the current second data is different from the second power-on mark configuration data, it is judged that the current power meter is a new power meter.

[0012] According to another preferred embodiment of the present application, if the current second data of the power meter is the same as the second power-on mark configuration data, it is judged that the current power meter is not a new power meter, and the first data is further obtained. If the current first data is the same as the preconfigured first power-on mark configuration data, it is judged that the current power meter has no electricity larceny behavior, and the power meter is normally metered.

[0013] According to another preferred embodiment of the present application, if the current second data is different from the second power-on mark configuration data, and the obtained first data is different from the preconfigured first power-on mark configuration data, the first power-on mark configuration data is configured to the first data of a fixed length at the end of the storage chip of the power meter, and the second power-on mark configuration data is configured to the second data of a fixed length in a fixed area of the storage area of the main chip of the power meter.

[0014] According to another preferred embodiment of the present application, if the current acquired second data is the same as the second power-on mark configuration data, and the first data of the current electric energy meter is not the same as the first power-on mark configuration data, it is determined that the current electric energy meter has a storage chip replacement electricity stealing behavior.

[0015] According to another preferred embodiment of the present application, the method further comprises: configuring an electricity stealing punishment strategy in the main chip of the electric energy meter, and if the current electric energy meter is determined to have a storage chip replacement electricity stealing behavior, executing the electricity stealing punishment strategy.

[0016] According to another preferred embodiment of the present application, an alarm strategy is configured in the main chip of the electric energy meter, and if it is determined that the electric energy meter has an electricity stealing behavior, the current main chip of the electric energy meter starts the alarm strategy, and according to the alarm strategy, the calculated electric quantity is no longer displayed and an alarm information is sent out.

[0017] According to another preferred embodiment of the present application, the storage chip is an EEPROM chip, and the first power-on mark configuration data is stored in the last four bytes of the EEPROM chip, and the second power-on mark configuration data is stored in the flash fixed area of the storage area of the main chip of the electric energy meter.

[0018] In order to achieve at least one of the above-mentioned purposes, the present application provides an electric energy meter electricity stealing prevention system, which executes the above-mentioned electric energy meter electricity stealing prevention method.

[0019] The present application further provides a computer readable storage medium, which stores a computer program, and the computer program can execute the above-mentioned electric energy meter electricity stealing prevention method by a processor. BRIEF DESCRIPTION OF DRAWINGS

[0020] Fig. 1 Fig. 1 shows a flowchart of an electric energy meter electricity stealing prevention method according to the present application.

[0021] Fig. 2 Fig. 2 shows a complete electric energy meter first power-on and electricity stealing prevention processing flowchart according to the present application. DETAILED DESCRIPTION

[0022] The following description is provided to enable any person skilled in the art to practice the present application. The preferred embodiments described below are only examples of the present application, and other obvious modifications can be made by those skilled in the art. The basic principles defined in the following description can be applied to other embodiments, modifications, improvements, equivalents and other technical solutions without departing from the spirit and scope of the present application.

[0023] It can be understood that the term "one" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of one element can be one, and in another embodiment, the number of the element can be multiple, and the term "one" cannot be understood as a limitation on the number.

[0024] In conjunction with Figs. 1-2 The application discloses an electricity stealing prevention method and system for an electric energy meter, wherein the method comprises: first, power-on of the electric energy meter is required, and whether the current electric energy meets the power-on condition is judged, such as whether the voltage, current and other parameters of the electric energy meter connected to the power grid meet the power-on requirement. If the power-on requirement is met, the power-on operation of the electric energy meter is performed. After the power-on of the electric energy meter is completed, the first data of the last 4 bytes in length is read by the main chip of the electric energy meter, and the storage chip in the application preferably adopts EEPROM, and the last 4 bytes of the EEPROM are the storage area of the first data. Further, the second data of the fixed flash area of the main chip storage area is obtained by the main chip of the electric energy meter. Further, the first power-on mark configuration data of the first data and the second power-on mark configuration data for the second data are pre-configured. Wherein the application stores the power-on mark configuration and identification strategy in the main chip of the electric energy meter, the strategy is used to judge whether the current storage chip and the electric energy meter are new, and after the first data of the storage chip and the second data of the main chip of the electric energy meter are obtained, the current electric energy meter is output whether it is a new electric energy meter or whether there is a power stealing behavior of replacing the storage chip. The power stealing punishment strategy and the power stealing alarm strategy are also pre-stored in the main chip of the electric energy meter, and the power stealing punishment and the external power stealing alarm are performed respectively. It should be noted that the above strategy can be stored in the electric energy meter or the upper computer in the form of a computer program, and the corresponding first power-on mark configuration data and the second power-on mark configuration data for the second data can be configured in the upper computer.

[0025] Specifically, when the electric energy meter performs power-on, first, the first data of the last 4 bytes of the storage chip EEPROM is read by the main chip of the electric energy meter, and it is judged whether the first data is same as the first power-on mark configuration data. The first power-on mark configuration data in the application can be configured as 0xA5, if the first data of the last 4 bytes of the storage chip EEPROM of the current electric energy meter is also 0xA5, it is indicated that the EEPROM of the current electric energy meter is a non-new storage chip. Further, the second data stored in the fixed area of 4 bytes of the flash of the storage area of the electric energy meter is read by the main chip, if the read second data is same as the second power-on mark configuration data, it is determined that the current electric energy meter is a non-new electric energy meter. At this time, according to the preset power-on mark configuration and identification strategy, the determination result of the first data and the second data can determine that the current electric energy meter is in normal state, and the current electric energy meter can normally meter the user's electricity.

[0026] If the first data of the last 4 bytes of the EEPROM read by the main chip of the electric energy meter is not the preset first power-on mark configuration data 0xA5, it is determined that the current EEPROM is a new storage chip. At this time, the current EEPROM storage chip may be a replaced storage chip, or it may be a new storage chip without power-on. Therefore, the main chip of the electric energy meter also needs to read the second data stored in the fixed area of 4 bytes of the flash of the storage area, if the read second data is same as the preset second power-on mark configuration data, for example, the second power-on mark configuration data in the application can be fixedly written as 0xBA, and the read second data is also 0xBA, it is determined that the current electric energy meter itself is a non-new electric energy meter which has been initially powered on. Further, according to the power-on mark configuration and identification strategy, the determination result of the first data and the second data can determine that the current electric energy meter has a non-normal storage chip electricity stealing behavior. The main chip of the electric energy meter triggers the electricity stealing punishment strategy and the electricity stealing alarm strategy.

[0027] It is worth mentioning that the application can effectively reduce the misjudgment phenomenon of single identification by configuring power-on identification for the storage chip and the storage area of the main chip of the electric energy meter respectively, and through the linkage identification and judgment mode. The linkage identification and judgment can identify whether it is a new behavior of the whole electric energy meter, and the configuration strategy of the power-on identification is executed for each whole new electric energy meter. The configuration strategy of the power-on identification includes: if the current electric energy meter is powered on, the electric energy meter main chip reads the first data stored in the last 4 bytes of the storage chip and the second data stored in the flash fixed area of the storage area of the main chip in turn, and then identifies the storage chip corresponding to the first data as a new storage chip and a new electric energy meter main chip according to the identification strategy of the power-on identification. At this time, the electric energy meter main chip starts the power-on identification configuration strategy, and configures the first power-on mark configuration data and the second power-on mark configuration data in the host computer to the storage positions corresponding to the first data and the second data in turn. After completing the power-on identification configuration, the new electric energy meter can identify the electricity stealing behavior of replacing the corresponding storage chip. And execute the electricity stealing punishment strategy and the electricity stealing alarm strategy corresponding to the electricity stealing behavior. If the electricity stealing behavior occurs, enter the electricity stealing indication, such as liquid crystal only displaying OPENED, not displaying other important information such as power, and the alarm light is on, reminding the power bureau staff that the electric energy meter has replaced EEPROM, tampered with important information such as power consumption of the electric energy meter. At this time, the electric energy meter does not measure according to the normal metering, and needs to enter the punitive metering stage, and measures according to the rated voltage and the maximum current, which plays a kind of punishment on the electricity stealing behavior. After confirming the electricity stealing behavior and processing, the first power-on mark configuration data is reconfigured for the last 4 bytes length area of the current replaced EEPROM, so as to detect the next replacement electricity stealing behavior.

[0028] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program according to embodiments disclosed herein. For example, embodiments of the disclosure include a computer program product comprising a computer program carried on a computer readable medium, the computer program comprising program code for performing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication section, and / or installed from a detachable medium. When the computer program is executed by a central processing unit (CPU), the above-described functions defined in the methods of the present application are performed. It should be noted that the computer readable medium described above in the present application can be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer readable storage medium may, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or apparatus, or any combination of the above. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, the computer readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus or device. In the present application, the computer readable signal medium can include a data signal carried in a baseband or as a part of a carrier wave, which carries the computer readable program code. Such a propagated data signal can take on many forms, including but not limited to, an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium can also be any computer readable medium that can send, propagate or transfer a program for use by or in connection with an instruction execution system, apparatus or device. The program code contained on the computer readable medium can be transmitted using any suitable medium, including but not limited to, wireless, wireline, optical fiber, RF, etc., or any suitable combination of the above.

[0029] The computer program product of the present application can be a computer program product comprising a computer-readable medium bearing computer program code embodied therein for use with a computer. The computer program code can be code defining and / or implementing the present application. The computer program code can be organized into one or more computer program components, including but not limited to, program components for implementing the features of the present application. The one or more computer program components can each include the code implementing the features of the present application. The one or more computer program components can each be embodied on the computer-readable medium. The computer-readable medium can be a tangible computer-readable medium. In operation, the computer program code is provided on the computer-readable medium to a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the code can be executed to implement the present application.

[0030] It will be appreciated by persons skilled in the art that the present application is not limited to what has been described above and illustrated in the drawings. The application is defined by the claims and many modifications and variations of the illustrative embodiments can be made by those skilled in the art without departing from the scope of the present application, which is defined by the following claims.

Claims

1. A method for preventing electricity theft in an electricity meter, characterized in that, The method includes: Query and retrieve the first data of a fixed length at the end of the current electricity meter's storage chip; Query and retrieve the second data of a fixed region and fixed length in the storage area of ​​the main chip of the current identical energy meter; Compare the first data with the pre-configured first power-on flag data to determine whether the current first data is the pre-configured first power-on flag configuration data; If the current first data is different from the pre-configured first power-on flag configuration data, it is determined that the current electricity meter has engaged in electricity theft or that the current electricity meter is a new electricity meter and the electricity meter power-on flag configuration is executed.

2. The method for preventing electricity theft from an electricity meter according to claim 1, characterized in that, The second power-on flag configuration data is pre-configured. After the second data is obtained, the second data is compared with the pre-configured second power-on flag configuration data. If the current second data and the second power-on flag configuration data are different, the current energy meter is determined to be a new energy meter.

3. The method for preventing electricity theft in an electricity meter according to claim 2, characterized in that, If the current second data of the electricity meter is the same as the second power-on flag configuration data, it is determined that the current electricity meter is not a new electricity meter. The first data is then obtained. If the current first data is the same as the preset first power-on flag configuration data, it is determined that the current electricity meter does not have any electricity theft behavior and the electricity meter is measuring normally.

4. A method for preventing electricity theft from an electricity meter according to claim 2, characterized in that, If the current second data and the second power-on flag configuration data are different, and the obtained first data is different from the pre-configured first power-on flag configuration data, then the first power-on flag configuration data is configured to the first data with a fixed length at the end in the energy meter storage chip; and the second power-on flag configuration data is configured to the second data with a fixed length in a fixed area in the energy meter main chip storage area.

5. A method for preventing electricity theft in an electricity meter according to claim 2, characterized in that, If the currently acquired second data and the second power-on flag configuration data are the same, and the current first data of the same energy meter is different from the first power-on flag configuration data, then it is determined that the current energy meter has a storage chip replacement for electricity theft.

6. A method for preventing electricity theft from an electricity meter according to claim 1, characterized in that, The method includes: configuring an electricity theft punishment strategy in the main chip of the electricity meter; if the current electricity meter is determined to be a case of electricity theft by replacing the memory chip, then executing the electricity metering method of the electricity theft punishment strategy.

7. A method for preventing electricity theft from an electricity meter according to claim 1, characterized in that, An alarm policy is configured in the main chip of the electricity meter. If it is determined that the electricity meter is involved in electricity theft, the main chip of the current electricity meter will activate the alarm policy, stop displaying the calculated electricity consumption, and issue an alarm message.

8. A method for preventing electricity theft from an electricity meter according to claim 2, characterized in that, The storage chip is an EEPROM chip, and the first power-on flag configuration data is stored in the last four bytes of the EEPROM chip, while the second power-on flag configuration data is stored in the fixed flash area of ​​the main chip storage area of ​​the energy meter.

9. An anti-theft system for electricity meters, characterized in that, The system implements a method for preventing electricity theft from an electricity meter as described in any one of claims 1-8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that can be executed by a processor according to any one of claims 1-8, a method for preventing electricity theft in an electricity meter.

Citation Information

Patent Citations

  • Electric larceny detecting method and system, and electricity meter

    CN102608373A

  • Data backup method and device and data recovery method and device

    CN109947594A