Method and device for reading electric energy meter measurement data

By using the method of private key signature and main station public key verification in the electric energy meter, the problem of tampering and forgery in the reading of electric energy meter measurement data is solved, data verification and security guarantee without on-site verification are realized, and data management is improved. efficiency and safety.

CN108173660BActive Publication Date: 2024-09-03ELECTRIC POWER RESEARCH INSTITUTE OF STATE GRID JIBEI ELECTRIC POWER CO LTD +3
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201810127497.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2018-02-08
Publication Date
2024-09-03
Estimated Expiration
2038-02-08

AI Technical Summary

Technical Problem

Existing energy meter measurement data reading solutions have problems such as tampering of the management core and concentrator, forgery and replay of legal measurement data by middlemen, and require operation and maintenance personnel to verify the data on site, resulting in inconvenience and security risks.

Method used

By using the private key to sign the data in the electric energy meter and transmit it to the main station, the main station uses the public key to verify the signature to ensure the validity, authenticity and uniqueness of the data and prevent tampering and forgery. At the same time, the management core regularly sends readings to the metering core. Get the request and verify the signature.

Benefits of technology

It achieves legal metrology data verification without on-site verification, ensures the authenticity and uniqueness of the data, prevents tampering and forgery, and improves data security and management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN108173660B
    Figure CN108173660B
Patent Text Reader

Abstract

The present invention provides a method and device for reading metering data of an electric energy meter, the method comprising: the metering core uses a preset private key to sign the electric energy meter data and transmits it to a master station device; the master station device uses a preset public key to verify the signature of the electric energy meter data and obtain the metering data of the electric energy meter. The data generated by the metering core of the present invention need to be digitally signed before being transmitted to the management core and other meter reading devices. The present invention can verify the digital signature through the public key on the management core, concentrator, master station, meter reading terminal and other devices to prevent the legal metering data from being tampered with and forged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to electric power technology, in particular to a method and a device for reading metering data of an electric energy meter. Background Art

[0002] The IR46 standard promoted by the International Legal Metrology Organization requires that the metering function of the electric energy meter be independent of other functions, and that legal metering data should be protected. Drawing on the design concept of European smart meters and combining it with the actual domestic situation, State Grid launched the next-generation smart meter project with a dual-core solution to meet the IR46 standard.

[0003] The existing legal metering data reading scheme is as follows: the electric energy meter management chip reads and stores the legal data of the metering chip, the concentrator reads and stores the data stored by the management chip, and then the master station reads the data stored by the concentrator. The firmware of the management chip and the concentrator does not belong to the legal metering part and the firmware can be upgraded. There are problems such as tampering with the management chip and the concentrator, and forgery and replay of legal metering data by middlemen.

[0004] In addition, the existing technology verifies the data of the electric energy meter mainly by using the power operation and maintenance handheld computer to manually read the data on site and compare the 485 reading legal metering data after the electric energy meter is removed with the reading data of the master station.

[0005] like Figure 1 The figure shows a schematic diagram of the on-site manual reading of electric energy meter data using an electric energy operation and maintenance handheld computer in the prior art, wherein the electric energy operation and maintenance handheld computer has an infrared interface that can communicate with the electric energy meter locally and a 2G / 3G / 4G uplink communication interface that can communicate with the master station for authorization. After the operation and maintenance personnel arrive at the site, they enter the communication address of the electric energy meter on the handheld computer, read the legal metering data of the electric energy meter through infrared, and then authenticate themselves with the master station through the uplink communication interface, obtain the legal metering data of the electric energy meter stored in the master station, and compare them. Summary of the invention

[0006] The present invention provides a method for reading legal metering data to prevent tampering. The operation and maintenance personnel do not need to go to the site to verify the legal metering data. The validity, authenticity and uniqueness of the legal metering data can be verified through the master station. The present invention provides a method for reading electric energy metering data, comprising:

[0007] Use the preset private key to sign the electric energy meter data and transmit it to the master station device;

[0008] The master station device uses a preset public key to perform signature verification on the electric energy meter data to obtain the electric energy meter measurement data.

[0009] In one embodiment of the present invention, the electric energy meter data includes: clock data of the electric energy meter and metering data of the metering core.

[0010] In one embodiment of the present invention, the method further comprises:

[0011] The management chip periodically sends a request to the metering chip to read metering chip data and data signature;

[0012] After receiving the request, the metering core signs the electric energy meter data and returns a request start response;

[0013] After receiving the request, the management core starts responding and sends a read instruction;

[0014] After receiving the reading instruction, the metering core sends the signed electric energy meter data to the management core.

[0015] In one embodiment of the present invention, the master station device uses a preset public key to perform signature verification on the electric energy meter data, including:

[0016] Use the preset public key to verify the clock data in the electricity meter data.

[0017] At the same time, the present invention also provides an electric energy meter measurement data reading device, comprising:

[0018] The signature module is used to sign the electric energy meter data with a preset private key and transmit it to the master station device;

[0019] The verification module is used to perform signature verification on the electric energy meter data using a preset public key to obtain the electric energy meter measurement data.

[0020] In one embodiment of the present invention, the device further comprises:

[0021] A timing request sending module is used to send a request to read metering core data and data signature to the metering core at a regular interval;

[0022] The request response module is used to sign the electric energy meter data after receiving the request and return the request start response;

[0023] A read instruction sending module, used for sending a read instruction after receiving the request to start responding;

[0024] The electric energy meter data sending module is used to send the signed electric energy meter data after receiving the read instruction.

[0025] In one embodiment of the present invention, the verification module uses a preset public key to perform signature verification on the electric energy meter data, including:

[0026] Use the preset public key to verify the clock data in the electricity meter data.

[0027] In the technical solution of the present invention, the data generated by the metering core must be digitally signed before being transmitted to the management core and other meter reading devices. When the concentrator reads the metering data stored in the management core, the digital signature is uploaded together, and when the master station reads the metering data stored in the concentrator, the digital signature is uploaded together. The present invention can verify the digital signature through the public key on the management core, concentrator, master station, meter reading terminal and other devices to prevent the legal metering data from being tampered with and forged.

[0028] In order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0030] Figure 1 This is a schematic diagram of using a power operation and maintenance handheld device to manually read power meter data on site in the prior art;

[0031] Figure 2 It is a flow chart of a method for reading metering data of an electric energy meter disclosed in the present invention;

[0032] Figure 3 It is a flow chart of an embodiment of a method for reading metering data of an electric energy meter disclosed in the present invention;

[0033] Figure 4 A block diagram of a device for reading electric energy meter measurement data disclosed in the present invention;

[0034] Figure 5 It is a schematic diagram of an embodiment of the present invention. DETAILED DESCRIPTION

[0035] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0036] The present invention discloses a method for reading electric energy meter measurement data, such as Figure 2 As shown, the method includes:

[0037] Step S101, using a preset private key to sign the electric energy meter data and transmit it to the master station device;

[0038] Step S102: the master station device uses a preset public key to perform signature verification on the electric energy meter data to obtain the electric energy meter measurement data.

[0039] In the embodiment of the present invention, the electric energy meter data includes: clock data of the electric energy meter and metering data of the metering core.

[0040] like Figure 3 As shown, in the embodiment of the present invention, the method further includes:

[0041] Step S201, the management core periodically sends a request to read the metering core data and data signature to the metering core;

[0042] Step S202, after receiving the request, the metering core signs the electric energy meter data and returns a request start response;

[0043] Step S203, the management core sends a read instruction after receiving the request and starting to respond;

[0044] Step S204: After receiving the read instruction, the metering chip sends the signed electric energy meter data to the management chip.

[0045] At the same time, if Figure 4 As shown, the present invention also provides an electric energy meter measurement data reading device, comprising:

[0046] The signature module 301 is used to sign the electric energy meter data with a preset private key and transmit it to the master station device;

[0047] The verification module 302 is used to perform signature verification on the electric energy meter data using a preset public key to obtain the electric energy meter measurement data.

[0048] The electric energy meter metering data reading method and device disclosed in the present invention provide a method for preventing legal metering data from being tampered with, and operation and maintenance personnel do not need to go to the site to verify the legal metering data. The validity, authenticity and uniqueness of the legal metering data can be verified through the master station.

[0049] The embodiment of the present invention designs a method for verifying the authenticity of a digital signature of legal metrology data based on public encryption technology.

[0050] The data managed by the metering core has legal effect, so the embodiment of the present invention is designed with a private key and a public key digital certificate with legal effect. The CA organization that has obtained the "Electronic Certification Service License" qualification in accordance with the "Electronic Certification Service Management Measures" shall, in accordance with the "Electronic Signature Law of the People's Republic of China" and the Management Measures, use the relevant key algorithm to generate a public-private key pair in accordance with the PKI process, and inject the private key into the legal metering core, giving each legal metering core a unique key pair. The public key digital certificate is used as the only "identity card" of the measuring instrument and is issued in accordance with the requirements of PKI.

[0051] In this embodiment, the data generated by the metering core must be digitally signed before it can be passed to the management core and other meter reading devices. When the concentrator reads the metering data stored in the management core, it uploads the digital signature together, and when the master station reads the metering data stored in the concentrator, it uploads the digital signature together. This method can verify the digital signature through the public key on the management core, concentrator, master station, meter reading terminal and other devices to prevent the legal metering data from being tampered with and forged. Figure 5 The figure shows a schematic diagram of an embodiment of the present invention. The metering core 501 uses a private key to digitally sign the time stamp and power data, and then uploads it to the management core 502. When the concentrator 503 reads the metering data stored in the management core 502, it uploads the digital signature to the main station 504. The main station 504 uses the public key to verify the signature of the uploaded data to verify the authenticity and legality of the metering data.

[0052] The metering core in the electric energy meter is an embedded system with limited resources such as CPU and memory, and the digital signature algorithm takes a long time. In the embodiment of the present invention, the following method is used to solve the problem of the digital signature algorithm taking a long time, specifically:

[0053] The management chip periodically sends a request to the metering chip to read the legal metering data and digital signature of the metering chip. After receiving the request, the metering chip responds to the management chip with the data and signature start. The management chip then sends a read result command, and the metering chip responds to the management chip with the metering data with the signature completed.

[0054] According to the IR46 international recommendation, the clock belongs to the legal measurement data. In the embodiment of the present invention, the management core uses the clock data as the time stamp when reading the metering data of the metering core, and the time stamp and the metering data are included in the digital signature. The management core, concentrator, master station, meter reading terminal and other devices verify the digital signature through the public key and then perform time stamp verification to prevent the metering data from being replayed.

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

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

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

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

[0059] The present invention uses specific embodiments to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of ​​the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A method for reading electric energy meter measurement data, characterized in that: The method includes: Use the preset private key to sign the electric energy meter data and transmit it to the master station device; The master station device uses a preset public key to perform signature verification on the electric energy meter data to obtain the electric energy meter measurement data; The method of signing the electric energy meter data with a preset private key and transmitting the signature to the master station device includes: The metering core signs the electric energy meter data with a preset private key and then transmits it to the management core and other meter reading devices; when the concentrator reads the metering data stored in the management core, it uploads the digital signature to the main station; the main station uses the public key to verify the signature of the uploaded data; each metering core has a unique public-private key pair; the public-private key pair is generated using a related key algorithm; The electric energy meter data includes: the clock data of the electric energy meter and the metering data of the metering core; the master station device uses a preset public key to perform signature verification on the electric energy meter data, including: The master station verifies the digital signature through the public key and then performs time stamp verification to prevent the metering data from being replayed; The electric energy meter measurement data reading method also includes: The management chip periodically sends a request to the metering chip to read metering chip data and data signature; After receiving the request, the metering core signs the electric energy meter data and returns a request start response; After receiving the request, the management core starts responding and sends a read instruction; After receiving the reading instruction, the metering core sends the signed electric energy meter data to the management core.

2. A device for reading electric energy meter measurement data, characterized in that: The device comprises: The signature module is used to sign the electric energy meter data with a preset private key and transmit it to the master station device; A verification module, used to perform signature verification on the electric energy meter data using a preset public key to obtain the electric energy meter measurement data; The signature module is specifically used for: The metering core uses a preset private key to sign the electric energy meter data and then transmits it to the management core and other meter reading devices; when the concentrator reads the metering data stored in the management core, it uploads the digital signature to the main station; the main station uses the public key to verify the signature of the uploaded data; each metering core has a unique public-private key pair; the public-private key pair is generated using a related key algorithm; The electric energy meter data includes: the clock data of the electric energy meter and the metering data of the metering core; the verification module is specifically used for: The master station verifies the digital signature through the public key and then performs time stamp verification to prevent the metering data from being replayed; The electric energy meter measurement data reading device also includes: A timing request sending module is used to send a request to read metering core data and data signature to the metering core at a regular interval; The request response module is used to sign the electric energy meter data after receiving the request and return the request start response; A read instruction sending module, used for sending a read instruction after receiving the request to start responding; The electric energy meter data sending module is used to send the signed electric energy meter data after receiving the read instruction.