Method and device for verifying electric energy meter
By remote identity authentication and data verification in the power meter verification system, the problem of virtual power meter and mirror power meter interfering with data authenticity is solved, and the authenticity verification and guarantee of power meter data is realized.
Patent Information
- Application Number
- CN202311444872.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-01
- Publication Date
- 2025-05-16
- Estimated Expiration
- 2043-11-01
AI Technical Summary
In the prior art, remote automatic meter reading technology is easily interfered with by virtual power meters and mirror power meters, resulting in the lack of authenticity of the collected power meters data and it is difficult to verify the authenticity of the power meters.
By establishing a communication connection between the main station and the acquisition terminal and the power meter, sending meter reading instructions to the target power meter and performing remote identity authentication, using the security module's serial number and target random number for identity verification, and performing ciphertext parameter verification and power statistics verification, the authenticity of the power meter is determined.
Effectively check and identify virtual energy meters and mirror energy meters to ensure the authenticity of the collected electricity meter data and improve the reliability of data collection.
Smart Images

Figure CN117375973B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of detection and identification technology, and more specifically, to an electric energy meter verification method and device. Background Art
[0002] With the continuous development of power technology and the continuous improvement of living standards, smart electricity meters are produced according to the number of electricity users. At present, the total number of smart electricity meters in operation in China is close to 600 million. Smart electricity meters have basically realized remote automatic meter reading, replacing on-site meter reading by meter readers.
[0003] Nowadays, while remote automatic meter reading technology is convenient for transmitting meter code information to the marketing system, it is also easily exploited by new electricity theft technologies, resulting in the data received by the marketing system not being real electricity energy data.
[0004] Figure 1 The data collection process of electric energy meters in three scenarios is demonstrated.
[0005] Scenario 1 is to collect data from the energy meter under normal conditions. The collection terminal calls for the daily data of the energy meter through the 645 communication protocol. The power consumption information collection master station calls the data of the collection terminal through the uplink communication protocol to realize the reading of the customer's billing energy data. The energy meter data obtained by the master station are all real data.
[0006] Scenario 2 is to collect data from electric energy meters in the fitting mode. The collection terminal is a real terminal, and some electric energy meters are hardware devices that simulate electric energy meters and respond to requests initiated by the main station, which are called virtual electric energy meters. Virtual electric energy meters are arranged at the site of real electric energy meters to spoof real electric energy meters. Virtual electric energy meters can be connected to the collection terminal through communication modules such as 485, carrier, and micro-power wireless. Since it only involves the "read" operation of the electric energy meter stored data, the virtual electric energy meter can interact with the collection terminal in 645 plain text. This operation does not involve the identity authentication of the electric energy meter. Therefore, as long as the software is properly developed, the collection terminal cannot determine the authenticity of the virtual electric energy meter through daily interaction alone. It will only transmit the "simulated data" generated by the virtual electric energy meter to the power consumption information collection main station according to the set process. At this time, the electric energy meter data obtained by the main station is not real data.
[0007] Scenario 3 is the data collection of electric energy meters in the mirror mode. The collection terminal is a mirror terminal, and some electric energy meters are virtual electric energy meters or mirror electric energy meters. The mirror electric energy meter means that the actual electric energy meter and its transmission channel still exist. The various types of data collected are actually transmitted to the mirror collection terminal through the virtual software interface by the mirror electric energy meter in the form of software mirroring. For the data that cannot be collected, the software virtual electric energy meter is used to complete the simulation data, which is then transmitted to the main station by the mirror collection terminal. It can be seen that the simulation data completed by software lacks authenticity.
[0008] In summary, the current process of collecting electric energy meter data by the master station is interfered by virtual electric energy meters and mirror electric energy meters, resulting in a lack of authenticity of the data.
[0009] How to verify the authenticity of electricity meters and distinguish between virtual and real electricity meters before collecting electricity meter data is an issue that needs attention. Summary of the invention
[0010] In view of the above problems, the present application is proposed to provide an electric energy meter verification method and device to check virtual electric energy meters and mirror electric energy meters, so as to make the collected electric energy meter measurement data more authentic.
[0011] In order to achieve the above objectives, the specific plan is proposed as follows:
[0012] An electric energy meter verification method is applied to a master station, wherein the master station is connected to a plurality of acquisition terminals in communication, each acquisition terminal is connected to a plurality of electric energy meters in communication, and each electric energy meter is provided with a safety module;
[0013] The method includes:
[0014] Sending a meter reading instruction to a target electric energy meter through a target acquisition terminal to obtain information fed back by the target electric energy meter based on the meter reading instruction, wherein the target acquisition terminal is in communication connection with the target electric energy meter;
[0015] If it is detected that the information fed back by the target electric energy meter is meter code data, a remote identity authentication instruction is sent to the target electric energy meter through the target acquisition terminal to obtain a target random number returned by the target electric energy meter based on the remote identity authentication instruction and a serial number of a security module of the target electric energy meter;
[0016] Performing identity authentication on the target electric energy meter by using the serial number and the target random number, and determining an identity authentication result of the target electric energy meter;
[0017] When the identity verification result is verification passed, the target electric energy meter is subjected to ciphertext parameter verification to determine the ciphertext parameter verification result, and the target electric energy meter is subjected to power statistics verification to determine the power statistics verification result;
[0018] If both the ciphertext parameter verification result and the power statistics verification result are verified to be passed, it is determined that the target electric energy meter is a real electric energy meter.
[0019] Optionally, performing ciphertext parameter verification on the target electric energy meter to determine a ciphertext parameter verification result includes:
[0020] Writing preset parameters into the target electric energy meter ciphertext through the target acquisition terminal to change the target parameter of the target electric energy meter from a first parameter value to a second parameter value;
[0021] The target parameter read in ciphertext from the target electric energy meter through the target acquisition terminal, if the target parameter is the second parameter value, it is determined that the ciphertext parameter verification result of the target electric energy meter is verification passed.
[0022] Optionally, performing electricity statistics verification on the target electric energy meter to determine the electricity statistics verification result includes:
[0023] Acquire the positive active power recorded by the target power meter in a preset historical period, and the power energy data counted by the power consumption information collection system in the preset historical period, wherein both the target power meter and the power consumption information collection system measure the power consumption data of the same power user;
[0024] If the forward active power is the same as the electric energy data, it is determined that the power statistics verification result of the target electric energy meter is verified to be passed.
[0025] Optionally, the master station includes a cryptographic machine;
[0026] Performing identity authentication on the target electric energy meter by using the serial number and the target random number to determine the identity authentication result of the target electric energy meter includes:
[0027] Decrypting the serial number using the cipher machine to obtain decrypted electric energy meter information, and determining a random number set generated by the electric energy meter corresponding to the decrypted electric energy meter information, wherein the random number set includes a plurality of random numbers;
[0028] If the random number set does not include the target random number, determining that the identity authentication result of the target electric energy meter is authentication failure;
[0029] If the random number set includes the target random number, it is determined that the identity authentication result of the target electric energy meter is authentication passed.
[0030] Optionally, the method further includes:
[0031] If it is detected that the information fed back by the target electric energy meter is not meter code data, a message requesting manual verification is sent to the management terminal.
[0032] An electric energy meter verification device is applied to a master station, the master station is connected to a plurality of acquisition terminals in communication, each acquisition terminal is connected to a plurality of electric energy meters in communication, and each electric energy meter is equipped with a safety module;
[0033] The device includes:
[0034] A feedback message acquisition unit, used for sending a meter reading instruction to a target electric energy meter through a target acquisition terminal to acquire information fed back by the target electric energy meter based on the meter reading instruction, wherein the target acquisition terminal is in communication connection with the target electric energy meter;
[0035] A remote authentication information acquisition unit, configured to send a remote identity authentication instruction to the target electric energy meter through the target acquisition terminal if it is detected that the information fed back by the target electric energy meter is meter code data, so as to obtain a target random number returned by the target electric energy meter based on the remote identity authentication instruction and a serial number of a security module of the target electric energy meter;
[0036] An identity authentication unit, used for performing identity authentication on the target electric energy meter through the serial number and the target random number, and determining an identity authentication result of the target electric energy meter;
[0037] A ciphertext parameter verification unit, configured to perform ciphertext parameter verification on the target electric energy meter and determine a ciphertext parameter verification result when the identity authentication result is verification passed;
[0038] An electric quantity statistics verification unit, used to perform electric quantity statistics verification on the target electric energy meter and determine an electric quantity statistics verification result;
[0039] The real electric energy meter determination unit is used to determine that the target electric energy meter is a real electric energy meter if the ciphertext parameter verification result and the electric quantity statistics verification result are both verified to be passed.
[0040] Optionally, the ciphertext parameter verification unit includes:
[0041] A first ciphertext parameter verification subunit is used to write preset parameters into the target electric energy meter ciphertext through the target acquisition terminal when the identity authentication result is verification passed, so as to change the target parameter of the target electric energy meter from the first parameter value to the second parameter value;
[0042] The second ciphertext parameter verification subunit is used to transmit the target parameter read in ciphertext to the target electric energy meter through the target acquisition terminal, and if the target parameter is the second parameter value, determine that the ciphertext parameter verification result of the target electric energy meter is verification passed.
[0043] Optionally, the power statistics verification unit includes:
[0044] A first electricity statistics verification subunit is used to obtain the positive active electricity recorded by the target electric energy meter in a preset historical period, and the electric energy data counted by the electricity consumption information collection system in the preset historical period, wherein the target electric energy meter and the electricity consumption information collection system both measure the electricity consumption data of the same electricity user;
[0045] The second electric quantity statistics verification subunit is used to determine that the electric quantity statistics verification result of the target electric energy meter is verified passed if the forward active electric quantity is the same as the electric energy data.
[0046] Optionally, the master station includes a cryptographic machine;
[0047] The identity verification unit comprises:
[0048] A first identity authentication subunit is used to decrypt the serial number using the cryptographic machine to obtain decrypted electric energy meter information, and determine a random number set generated by the electric energy meter corresponding to the decrypted electric energy meter information, wherein the random number set includes a plurality of random numbers;
[0049] A second identity authentication subunit, configured to determine that the identity authentication result of the target electric energy meter is a failed authentication if the random number set does not include the target random number;
[0050] The third identity authentication subunit is configured to determine that the identity authentication result of the target electric energy meter is authentication passed if the random number set includes the target random number.
[0051] Optionally, the device further comprises:
[0052] The message sending unit is used to send a message requesting manual verification to the management terminal if it is detected that the information fed back by the target electric energy meter is not meter code data.
[0053] By means of the above technical scheme, the present application sends a meter reading instruction to a target electric energy meter through a target acquisition terminal to obtain information fed back by the target electric energy meter based on the meter reading instruction. The target acquisition terminal is in communication with the target electric energy meter. If it is detected that the information fed back by the target electric energy meter is meter code data, a remote identity authentication instruction is sent to the target electric energy meter through the target acquisition terminal to obtain a target random number returned by the target electric energy meter based on the remote identity authentication instruction and a serial number of a security module of the target electric energy meter. The target electric energy meter is authenticated by the serial number and the target random number to determine the identity authentication result of the target electric energy meter. When the identity authentication result is a passed verification, a ciphertext parameter verification is performed on the target electric energy meter to determine the ciphertext parameter verification result. The target electric energy meter is also authenticated by a power statistics verification to determine the power statistics verification result. If both the ciphertext parameter verification result and the power statistics verification result are verified, the target electric energy meter is determined to be a real electric energy meter. It can be seen that by performing remote identity authentication on the electric energy meter through the security module, it is possible to confirm whether the electric energy meter is communicating securely with the main station, and by performing power statistics verification and ciphertext parameter verification on the electric energy meter, it is possible to detect whether the electric energy meter is a virtual electric energy meter or a mirror electric energy meter, thereby realizing the investigation of virtual electric energy meters and mirror electric energy meters and ensuring the authenticity of the electric energy meter data collection. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Various other advantages and benefits will become apparent to those of ordinary skill in the art by reading the detailed description of the preferred embodiments below. The accompanying drawings are only for the purpose of illustrating the preferred embodiments and are not to be considered as limiting the present application. Also, the same reference symbols are used throughout the accompanying drawings to represent the same components. In the accompanying drawings:
[0055] Figure 1 Schematic diagram of the implementation process of electric energy meter data collection in three scenarios provided for this application;
[0056] Figure 2 A schematic diagram of a flow chart for realizing electric energy meter verification provided in an embodiment of the present application;
[0057] Figure 3 A schematic diagram of the structure of a device for realizing electric energy meter verification provided in an embodiment of the present application. DETAILED DESCRIPTION
[0058] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions 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 are within the scope of protection of this application.
[0059] The present application scheme can be implemented based on a terminal with data processing capability, which can be a master station. The master station can be connected to several acquisition terminals in communication, each acquisition terminal can be connected to several electric energy meters in communication, each electric energy meter can have a security module, and the security module can be an ESAM security module, which can perform security authentication during data transmission. The master station can have a cryptographic machine, which can decrypt the serial number of the security module in the electric energy meter.
[0060] It is understandable that the collection terminal can collect meter data of each electric energy meter to which it is connected, and the master station can obtain electric energy data of each collection terminal to which it is connected, so the master station can count the electricity consumption information of all electricity users in a certain area.
[0061] Next, combine Figure 2 The electric energy meter verification method of the present application may include the following steps:
[0062] Step S110: sending a meter reading instruction to a target electric energy meter through a target acquisition terminal to obtain information fed back by the target electric energy meter based on the meter reading instruction.
[0063] Among them, the target acquisition terminal can be communicatively connected with the target electric energy meter.
[0064] Specifically, the master station can send a meter reading instruction of the target electric energy meter to the target acquisition terminal through the uplink communication protocol. The target acquisition terminal can determine the target electric energy meter to which the instruction is sent according to the meter reading instruction, and forward the meter reading instruction to the target electric energy meter. After receiving the meter reading instruction, the target electric energy meter can respond to the meter reading instruction and feedback the meter code data to the sender.
[0065] Step S120: If it is detected that the information fed back by the target electric energy meter is meter code data, a remote identity authentication instruction is sent to the target electric energy meter through the target acquisition terminal to obtain the target random number returned by the target electric energy meter based on the remote identity authentication instruction and the serial number of the security module of the target electric energy meter.
[0066] It is understandable that if the target energy meter is online, it can communicate securely with the master station, the target energy meter can successfully transmit the meter code data to the master station through the target acquisition terminal, and the master station can also successfully detect that the information fed back by the target energy meter is the meter code data. At this time, the master station can further authenticate the target energy meter.
[0067] Furthermore, if the target electric energy meter is not online, the target electric energy meter cannot communicate securely with the master station, and cannot feed back the meter code data to the master station.
[0068] The remote identity authentication instruction may include a dispersion factor, a first random number and a ciphertext of the first random number.
[0069] Specifically, when the target electric energy meter receives the remote identity authentication instruction, it can send the identity authentication instruction to the security module. The security module can encrypt the first random number to obtain the encryption result, and compare whether the encryption result is equal to the ciphertext of the first random number. If they are not equal, an error is reported. If they are equal, a target random number is generated. The target electric energy meter can return the target random number and the serial number of the security module to the main station.
[0070] Step S130: Authentication of the target electric energy meter is performed using the serial number and the target random number to determine the authentication result of the target electric energy meter.
[0071] Specifically, the master station can authenticate the target electric energy meter by determining whether the serial number and the target random number are information fed back by the target electric energy meter itself. If the serial number and the target random number are not the real feedback information of the target electric energy meter, the identity authentication result of the target electric energy meter is verification failure, otherwise it is verification success.
[0072] It can be understood that when the identity authentication result of the target electric energy meter is not the real feedback information of the target electric energy meter, it may indicate that the communication link between the master station and the target electric energy meter has been connected to a virtual electric energy meter or a mirror electric energy meter, or that the target electric energy meter communicating with the master station is a virtual electric energy meter or a mirror electric energy meter.
[0073] Step S140: When the identity authentication result is that the authentication is passed, the target electric energy meter is subjected to ciphertext parameter verification to determine the ciphertext parameter verification result, and the target electric energy meter is subjected to power statistics verification to determine the power statistics verification result.
[0074] It is understandable that in order to strengthen the verification that the target electricity meter is a real electricity meter, the target electricity meter can be verified by changing parameters, and it can also be verified by correlating and comparing with the electricity statistical data of other electricity statistical devices to determine the security and data authenticity of the target electricity meter.
[0075] Step S150: If both the ciphertext parameter verification result and the power statistics verification result are verified to be passed, it is determined that the target power meter is a real power meter.
[0076] It can be understood that, when the target electricity meter passes identity authentication, the parameters of the target electricity meter can change with the changes of the master station, and the recorded electricity data is authentic, which can indicate that the target electricity meter is a real electricity meter. Otherwise, it can be determined that the communication link between the master station and the target electricity meter has been connected to a virtual electricity meter or a mirror electricity meter, or that the target electricity meter communicating with the master station is a virtual electricity meter or a mirror electricity meter.
[0077] The electric energy meter verification method provided in this embodiment sends a meter reading instruction to a target electric energy meter through a target acquisition terminal to obtain information fed back by the target electric energy meter based on the meter reading instruction. The target acquisition terminal is in communication with the target electric energy meter. If it is detected that the information fed back by the target electric energy meter is meter code data, a remote identity authentication instruction is sent to the target electric energy meter through the target acquisition terminal to obtain a target random number returned by the target electric energy meter based on the remote identity authentication instruction and a serial number of a security module of the target electric energy meter. The target electric energy meter is authenticated by the serial number and the target random number to determine the identity authentication result of the target electric energy meter. When the identity authentication result is a passed verification, a ciphertext parameter verification is performed on the target electric energy meter to determine the ciphertext parameter verification result. The target electric energy meter is also authenticated by an electric power statistics verification to determine the electric power statistics verification result. If both the ciphertext parameter verification result and the electric power statistics verification result are verified, the target electric energy meter is determined to be a real electric energy meter. It can be seen that by performing remote identity authentication on the electric energy meter through the security module, it is possible to confirm whether the electric energy meter is communicating securely with the main station, and by performing power statistics verification and ciphertext parameter verification on the electric energy meter, it is possible to detect whether the electric energy meter is a virtual electric energy meter or a mirror electric energy meter, thereby realizing the investigation of virtual electric energy meters and mirror electric energy meters and ensuring the authenticity of the electric energy meter data collection.
[0078] In some embodiments of the present application, the process of performing ciphertext parameter verification on the target electric energy meter and determining the ciphertext parameter verification result mentioned in the above embodiment is introduced, and the process may include:
[0079] S1. Writing preset parameters into a target electric energy meter ciphertext through a target acquisition terminal to change a target parameter of the target electric energy meter from a first parameter value to a second parameter value.
[0080] Specifically, the preset parameters may represent some unimportant parameters in the target electric energy meter, such as the reserved bits of the active reporting mode word. After the preset parameters are written, the identity authentication function, electric data collection function and data transmission function of the target electric energy meter will not be affected.
[0081] S2. The target parameter read in ciphertext is sent to the target electric energy meter through the target acquisition terminal. If the target parameter is the second parameter value, the ciphertext parameter verification result of the target electric energy meter is determined to be passed.
[0082] For example, the master station writes the reserved bits of the active reporting mode word of the target electricity meter to the target electricity meter in ciphertext through the target acquisition terminal, increasing the active reporting mode word from the original x bits to y bits. Then, the master station can read the active reporting mode word of the target electricity meter in plaintext through the target acquisition terminal to verify based on the change of the reserved bits. If the reserved bits are y bits, it indicates that the parameters of the target electricity meter have been changed by the instruction of the master station, and the master station can obtain the correct feedback information, so it can be determined that the verification result of the ciphertext parameters of the target electricity meter is passed. If the reserved bits are x bits, it indicates that the parameters of the target electricity meter have not been changed by the instruction of the master station, or the parameters of the target electricity meter have been changed but the master station does not obtain the parameter information of the target electricity meter. Then, it can be determined that the verification result of the ciphertext parameters of the target electricity meter is not passed. If the reserved bits are z bits (x < z < y), although the master station cannot obtain the correct feedback information, the parameters of the target electricity meter have still been changed by the instruction of the master station. Therefore, it can also be determined that the verification result of the ciphertext parameters of the target electricity meter is passed.
[0083] The electricity meter verification method provided in this embodiment writes preset parameters to the target electricity meter in ciphertext through the target acquisition terminal to change the target parameters of the target electricity meter from the first parameter value to the second parameter value, and reads the target parameters in plaintext from the target electricity meter through the target acquisition terminal. If the target parameters are the second parameter value, it is determined that the verification result of the ciphertext parameters of the target electricity meter is passed, which can further confirm whether there is an abnormality in the communication process between the target electricity meter and the master station.
[0084] In some embodiments of the present application, the process of performing electricity quantity statistical verification on the target electricity meter mentioned in the above embodiment and determining the electricity quantity statistical verification result is introduced. This process may include:
[0085] S1. Obtain the forward active electricity quantity recorded by the target electricity meter within a preset historical period, and the electric energy data statistically obtained by the power consumption information acquisition system within the preset historical period.
[0086] Among them, the target electricity meter and the power consumption information acquisition system may be devices that both measure the power consumption data of the same electricity user.
[0087] Specifically, the forward active electricity quantity recorded by the target electricity meter may be the meter reading value, and the electric energy data statistically obtained by the power consumption information acquisition system may also be the meter reading value. The electric energy data statistically obtained by the power consumption information acquisition system may represent the real historical data retrieved, and the forward active electricity quantity recorded by the target electricity meter may represent the daily round-robin data.
[0088] S2. If the forward active electricity quantity is the same as the electric energy data, determine that the electricity quantity statistical verification result of the target electricity meter is passed.
[0089] It is understandable that since the data of daily calls may be generated by the virtual electric energy meter according to a certain rule and is inconsistent with the data in the real electric energy meter, it is necessary to compare the positive active power and the electric energy data to determine whether there is a contradiction between the two. If the positive active power and the electric energy data are the same, the power statistics verification result of the target electric energy meter is determined to be passed; if the positive active power and the electric energy data are different, the power statistics verification result of the target electric energy meter is determined to be failed.
[0090] The electric energy meter verification method provided in this embodiment obtains the positive active power recorded by the target electric energy meter within a preset historical period, and the electric energy data counted by the electricity consumption information collection system within the preset historical period, and compares the positive active power with the electric energy data. If the positive active power is the same as the electric energy data, the power statistics verification result of the target electric energy meter is determined to be verified passed, so as to further confirm whether there is any abnormality in the data counted by the target electric energy meter.
[0091] In some embodiments of the present application, the process of performing identity authentication on the target electric energy meter through the serial number and the target random number in the above step S130 and determining the identity authentication result of the target electric energy meter is introduced, and the process may include:
[0092] S1. Decrypt the serial number using a cryptographic machine to obtain decrypted electric energy meter information, and determine the random number set generated by the electric energy meter corresponding to the decrypted electric energy meter information.
[0093] The random number set may include multiple random numbers, and each random number in the random number set may be generated by the electric energy meter corresponding to the decrypted electric energy meter information.
[0094] Specifically, the cryptographic machine can decrypt the serial number to determine the electric energy meter information containing the security module corresponding to the serial number, and the master station can determine the electric energy meter according to the electric energy meter information, and further determine the various random numbers that the electric energy meter can generate.
[0095] S2. If the random number set does not include the target random number, it is determined that the identity authentication result of the target electric energy meter is verification failure.
[0096] It can be understood that if the random number set does not include the target random number, indicating that the target random number is not generated by the target electric energy meter, then it can be determined that the identity authentication result of the target electric energy meter is verification failure.
[0097] S3. If the random number set includes the target random number, the identity authentication result of the target electric energy meter is determined to be verification passed.
[0098] It can be understood that if the random number set includes the target random number, indicating that the target random number can be generated by the target electric energy meter, then it can be determined that the identity authentication result of the target electric energy meter is verification passed.
[0099] Considering that the target electric energy meter may be in an offline state or in an abnormal communication state, and remote identity authentication cannot be performed normally, the electric energy meter verification method provided in this application may also include:
[0100] If it is detected that the information fed back by the target electric energy meter is not meter code data, a message requesting manual verification is sent to the management terminal.
[0101] It is understandable that if it is detected that the information fed back by the target electric energy meter is not meter code data, it may indicate that the communication between the master station and the target electric energy meter is abnormal, and manual intervention is required for manual verification, and a message requesting manual verification may be sent to the management terminal.
[0102] In addition, when no feedback information from the target electric energy meter is detected, a message requesting manual verification may also be sent to the management terminal.
[0103] It is understandable that if no feedback information from the target electric energy meter is detected, indicating that the target electric energy meter is offline, a message requesting manual verification can be sent to the management terminal to request manual intervention to manually authenticate the target electric energy meter.
[0104] The following is a description of an apparatus for implementing electric energy meter verification provided in an embodiment of the present application. The apparatus for implementing electric energy meter verification described below and the method for implementing electric energy meter verification described above can refer to each other.
[0105] See also Figure 3 , Figure 3 A schematic diagram of the structure of a device for realizing electric energy meter verification disclosed in an embodiment of the present application.
[0106] like Figure 3 As shown, the device may include:
[0107] A feedback message acquisition unit 11 is used to send a meter reading instruction to a target electric energy meter through a target acquisition terminal to obtain information fed back by the target electric energy meter based on the meter reading instruction, and the target acquisition terminal is in communication connection with the target electric energy meter;
[0108] A remote authentication information acquisition unit 12 is used to send a remote identity authentication instruction to the target electric energy meter through the target acquisition terminal if it is detected that the information fed back by the target electric energy meter is meter code data, so as to obtain the target random number returned by the target electric energy meter based on the remote identity authentication instruction and the serial number of the security module of the target electric energy meter;
[0109] An identity verification unit 13, configured to verify the identity of the target electric energy meter using the serial number and the target random number, and determine an identity verification result of the target electric energy meter;
[0110] The ciphertext parameter verification unit 14 is used to perform ciphertext parameter verification on the target electric energy meter and determine the ciphertext parameter verification result when the identity authentication result is verification passed;
[0111] An electric quantity statistics verification unit 15 is used to perform electric quantity statistics verification on the target electric energy meter and determine an electric quantity statistics verification result;
[0112] The real electric energy meter determining unit 16 is used to determine that the target electric energy meter is a real electric energy meter if both the ciphertext parameter verification result and the electric energy statistics verification result are verified to be passed.
[0113] Optionally, the ciphertext parameter verification unit includes:
[0114] A first ciphertext parameter verification subunit is used to write preset parameters into the target electric energy meter ciphertext through the target acquisition terminal when the identity authentication result is verification passed, so as to change the target parameter of the target electric energy meter from the first parameter value to the second parameter value;
[0115] The second ciphertext parameter verification subunit is used to transmit the target parameter read in ciphertext to the target electric energy meter through the target acquisition terminal, and if the target parameter is the second parameter value, determine that the ciphertext parameter verification result of the target electric energy meter is verification passed.
[0116] Optionally, the power statistics verification unit includes:
[0117] A first electricity statistics verification subunit is used to obtain the positive active electricity recorded by the target electric energy meter in a preset historical period, and the electric energy data counted by the electricity consumption information collection system in the preset historical period, wherein the target electric energy meter and the electricity consumption information collection system both measure the electricity consumption data of the same electricity user;
[0118] The second electric quantity statistics verification subunit is used to determine that the electric quantity statistics verification result of the target electric energy meter is verified passed if the forward active electric quantity is the same as the electric energy data.
[0119] Optionally, the master station includes a cryptographic machine;
[0120] The identity verification unit comprises:
[0121] A first identity authentication subunit is used to decrypt the serial number using the cryptographic machine to obtain decrypted electric energy meter information, and determine a random number set generated by the electric energy meter corresponding to the decrypted electric energy meter information, wherein the random number set includes a plurality of random numbers;
[0122] A second identity authentication subunit, configured to determine that the identity authentication result of the target electric energy meter is an authentication failure if the random number set does not include the target random number;
[0123] The third identity authentication subunit is configured to determine that the identity authentication result of the target electric energy meter is authentication passed if the random number set includes the target random number.
[0124] Optionally, the device further comprises:
[0125] The message sending unit is used to send a message requesting manual verification to the management terminal if it is detected that the information fed back by the target electric energy meter is not meter code data.
[0126] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0127] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can refer to each other.
[0128] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for verifying an electric energy meter, characterized in that: Applied to a master station, the master station is connected to a plurality of acquisition terminals in communication, each acquisition terminal is connected to a plurality of electric energy meters in communication, and each electric energy meter is equipped with a safety module; The method includes: Sending a meter reading instruction to a target electric energy meter through a target acquisition terminal to obtain information fed back by the target electric energy meter based on the meter reading instruction, wherein the target acquisition terminal is in communication connection with the target electric energy meter; If it is detected that the information fed back by the target electric energy meter is meter code data, a remote identity authentication instruction is sent to the target electric energy meter through the target acquisition terminal to obtain a target random number returned by the target electric energy meter based on the remote identity authentication instruction and a serial number of a security module of the target electric energy meter; Performing identity authentication on the target electric energy meter by using the serial number and the target random number, and determining an identity authentication result of the target electric energy meter; When the identity verification result is verification passed, the target electric energy meter is subjected to ciphertext parameter verification to determine the ciphertext parameter verification result, and the target electric energy meter is subjected to power statistics verification to determine the power statistics verification result; If both the ciphertext parameter verification result and the power statistics verification result are verified to be passed, it is determined that the target electric energy meter is a real electric energy meter.
2. The method according to claim 1, characterized in that Performing ciphertext parameter verification on the target electric energy meter and determining a ciphertext parameter verification result includes: Writing preset parameters into the target electric energy meter ciphertext through the target acquisition terminal to change the target parameter of the target electric energy meter from a first parameter value to a second parameter value; The target parameter is read from the target electric energy meter through the target acquisition terminal. If the target parameter is the second parameter value, it is determined that the result of the ciphertext parameter verification of the target electric energy meter is verification passed.
3. The method according to claim 1, characterized in that Performing electricity statistics verification on the target electric energy meter to determine the electricity statistics verification result includes: Acquire the positive active power recorded by the target power meter in a preset historical period, and the power energy data counted by the power consumption information collection system in the preset historical period, wherein both the target power meter and the power consumption information collection system measure the power consumption data of the same power user; If the forward active power is the same as the electric energy data, it is determined that the power statistics verification result of the target electric energy meter is verified to be passed.
4. The method according to claim 1, characterized in that: The master station includes a cryptographic machine; Performing identity authentication on the target electric energy meter by using the serial number and the target random number to determine the identity authentication result of the target electric energy meter includes: Decrypting the serial number using the cipher machine to obtain decrypted electric energy meter information, and determining a random number set generated by the electric energy meter corresponding to the decrypted electric energy meter information, wherein the random number set includes a plurality of random numbers; If the random number set does not include the target random number, determining that the identity authentication result of the target electric energy meter is authentication failure; If the random number set includes the target random number, it is determined that the identity authentication result of the target electric energy meter is authentication passed.
5. The method according to any one of claims 1 to 4, characterized in that: Also includes: If it is detected that the information fed back by the target electric energy meter is not meter code data, a message requesting manual verification is sent to the management terminal.
6. An electric energy meter verification device, characterized in that: Applied to a master station, the master station is connected to a plurality of acquisition terminals in communication, each acquisition terminal is connected to a plurality of electric energy meters in communication, and each electric energy meter is equipped with a safety module; The device includes: A feedback message acquisition unit, used for sending a meter reading instruction to a target electric energy meter through a target acquisition terminal to acquire information fed back by the target electric energy meter based on the meter reading instruction, wherein the target acquisition terminal is in communication connection with the target electric energy meter; A remote authentication information acquisition unit, configured to send a remote identity authentication instruction to the target electric energy meter through the target acquisition terminal if it is detected that the information fed back by the target electric energy meter is meter code data, so as to obtain a target random number returned by the target electric energy meter based on the remote identity authentication instruction and a serial number of a security module of the target electric energy meter; An identity authentication unit, used for performing identity authentication on the target electric energy meter through the serial number and the target random number, and determining an identity authentication result of the target electric energy meter; A ciphertext parameter verification unit, configured to perform ciphertext parameter verification on the target electric energy meter and determine a ciphertext parameter verification result when the identity authentication result is verification passed; An electric quantity statistics verification unit, used to perform electric quantity statistics verification on the target electric energy meter and determine an electric quantity statistics verification result; The real electric energy meter determination unit is used to determine that the target electric energy meter is a real electric energy meter if the ciphertext parameter verification result and the electric quantity statistics verification result are both verified to be passed.
7. The device according to claim 6, characterized in that The ciphertext parameter verification unit includes: A first ciphertext parameter verification subunit is used to write preset parameters into the target electric energy meter ciphertext through the target acquisition terminal when the identity authentication result is verification passed, so as to change the target parameter of the target electric energy meter from the first parameter value to the second parameter value; The second ciphertext parameter verification subunit is used to read the target parameter from the target electric energy meter through the target acquisition terminal, and if the target parameter is the second parameter value, determine that the ciphertext parameter verification result of the target electric energy meter is verification passed.
8. The device according to claim 6, characterized in that The power statistics verification unit includes: A first electricity statistics verification subunit is used to obtain the positive active electricity recorded by the target electric energy meter in a preset historical period, and the electric energy data counted by the electricity consumption information collection system in the preset historical period, wherein the target electric energy meter and the electricity consumption information collection system both measure the electricity consumption data of the same electricity user; The second electric quantity statistics verification subunit is used to determine that the electric quantity statistics verification result of the target electric energy meter is verified passed if the forward active electric quantity is the same as the electric energy data.
9. The device according to claim 6, characterized in that The master station includes a cryptographic machine; The identity verification unit comprises: A first identity authentication subunit is used to decrypt the serial number using the cryptographic machine to obtain decrypted electric energy meter information, and determine a random number set generated by the electric energy meter corresponding to the decrypted electric energy meter information, wherein the random number set includes a plurality of random numbers; A second identity authentication subunit, configured to determine that the identity authentication result of the target electric energy meter is a failed authentication if the random number set does not include the target random number; The third identity authentication subunit is configured to determine that the identity authentication result of the target electric energy meter is authentication passed if the random number set includes the target random number.
10. The device according to any one of claims 6 to 9, characterized in that: Also includes: The message sending unit is used to send a message requesting manual verification to the management terminal if it is detected that the information fed back by the target electric energy meter is not meter code data.
Citation Information
Patent Citations
Data transmission security encryption method for metering automation system
CN103001771A
Electric energy metering device verification method for cost control of intelligent electric energy meter
CN110286349A