Smart meter and smart meter system

The smart meter system uses a secure module with a private key for public key cryptography to generate and verify electronic signatures, addressing log falsification and ensuring data integrity.

JP2024155626APending Publication Date: 2024-10-31DAI NIPPON PRINTING CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023070499
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-21
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

Existing smart meters lack effective measures to prevent falsification of operation logs, which are crucial for security and compliance with guidelines.

Method used

A smart meter system incorporating a secure module with a private key for public key cryptography to generate electronic signatures for log files, where the MCU updates logs and sends hash values to the secure module for signature generation, and the meter data management system verifies these signatures using a paired public key.

Benefits of technology

Prevents tampering of log files by ensuring the integrity of electronic signatures, thereby maintaining the security and compliance of smart meter data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024155626000001_ABST
    Figure 2024155626000001_ABST
Patent Text Reader

Abstract

To prevent logs recorded on a smart meter from being falsified.SOLUTION: A smart meter 2 includes: an MCU 20 which stores an electronic signature 210 and a log file 21 that stores logs of events; and a secure module 3 which stores a secret key 30 for use in generating the electronic signature 210. When detecting an event, the MCU 20 adds a log of the detected event to a log file, and transmits a hash value of the updated log file to a secure module 3. The secure module 3 generates an electronic signature using the secret key 30 and the hash value of the log file 21 received from the MCU 20. The MCU 20 updates the electronic signature 210 of the log file 21 using the electronic signature 210 acquired from the secure module 3.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The invention disclosed in this application relates to a smart meter that automatically measures electricity. [Background technology]

[0002] The Internet of Things (IoT), which is a network made up of physical objects, is becoming more widespread. The devices that make up the IoT are called IoT devices. IoT devices exchange data with business system servers through a designated network line.

[0003] One type of IoT device is a smart meter that automatically measures electricity. The Japan Electric Association (JEA) has defined security guidelines that list requirements for smart meter systems and has published these security guidelines on its website.

[0004] One of the requirements outlined in the Smart Meter Security Guidelines defined by the Japan Electric Association (a general incorporated association) is to store logs on the smart meter that record the operations performed on the smart meter and its operating status, and to check these logs on a regular basis.

[0005] Logs that record the operations performed on smart meters and their operating status are important data in terms of smart meter security, so it is important to prevent tampering with the logs recorded by smart meters.

[0006] In the invention disclosed in Patent Document 1, in order to prevent tampering with the data stored in the smart meter, in addition to a processor that performs arithmetic processing of meter reading data, a secure module (secure processor) with tamper resistance for internally stored information is mounted on the smart meter. The processor of the smart meter disclosed in Patent Document 1 encrypts data using a public key unique to the smart meter and supplies it to a secure element, and the secure element stores the data decrypted using a private key unique to the smart meter. [Prior art documents] [Patent documents]

[0007] [Patent Document 1] JP 2012-113670 A Summary of the Invention [Problem to be solved by the invention]

[0008] The present application aims to prevent tampering with logs recorded by smart meters. [Means for solving the problem]

[0009] The first invention for solving the above-mentioned problem is a smart meter equipped with a log file that saves an event log and an MCU (Micro Controller Unit) that stores an electronic signature of the log file, and a secure module that stores a private key of a public key cryptography system used to generate the electronic signature. When the MCU detects an event, the MCU adds a log of the detected event to the log file to update the log file, transmits a hash value of the updated log file to a secure module, causes the secure module to generate a digital signature, and updates the digital signature of the log file using the digital signature obtained from the secure module; The secure module generates a digital signature using the hash value of the log file received from the MCU and the private key. In the first invention, it is preferable that an event for which a digital signature is to be generated is defined as a specific event, and the MCU causes the secure module to generate a digital signature only when the MCU detects the specific event.

[0010] A second invention for solving the above-mentioned problem is a smart meter system including at least a smart meter and a meter data management system that individually manages the smart meter. The smart meter is equipped with an MCU (Micro Controller Unit) that stores a log file that saves an event log and an electronic signature of the log file, and a secure module that stores a private key of a public key cryptography method used to generate an electronic signature, and when the MCU detects an event, it updates the log file by adding the log of the detected event to the log file, sends a hash value of the updated log file to a secure module to cause the secure module to generate an electronic signature, updates the electronic signature of the log file using the electronic signature obtained from the secure module, and the secure module generates an electronic signature using the hash value of the log file received from the MCU and the private key. The meter data management system acquires the log file and its electronic signature stored in the MCU of the smart meter, and verifies the electronic signature of the log file by comparing the hash value of the log file calculated by the meter data management system with the value obtained by decrypting the electronic signature of the log file using a public key that pairs with the private key stored in the secure module of the smart meter that acquired the log file. In the second invention, it is desirable that an event for which an electronic signature is to be generated is defined as a specific event, and the MCU of the smart meter causes the secure module to generate an electronic signature only when it detects the specific event, and the meter data management system calculates a hash value in the log file obtained from the smart meter, with the signature range being the first log to the last log of the specific event that occurred. Effect of the Invention

[0011] In the invention disclosed in this application, in order to prevent tampering with the log files recorded by the smart meter, a secure module is implemented in the smart meter, and the secure module is made to carry out processing related to generating an electronic signature for the log file. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a diagram showing the configuration of a smart meter system according to an embodiment of the present invention. [Diagram 2] Block diagram of a smart meter. [Diagram 3] FIG. 1 is a block diagram of a secure module. [Figure 4] FIG. 1 is a diagram explaining the operation of a smart meter system. [Diagram 5] FIG. 2 is a diagram for explaining the operation of MDMS. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] From here, an embodiment of the invention disclosed in this application will be described. This embodiment is intended to facilitate understanding of the invention disclosed in this application. The invention disclosed in this application is not limited to this embodiment. Furthermore, unless otherwise specified, the drawings are schematic diagrams drawn to facilitate understanding of the invention disclosed in this application.

[0014] FIG. 1 shows the configuration of a smart meter system 1 according to this embodiment. The smart meter system 1 is composed of at least a smart meter 2 and a meter data management system (MDMS) 4. The smart meter 2 is an electricity meter that digitally measures the amount of electricity and has a communication function. The MDMS 4 is a system that manages the smart meters 2 individually. The MDMS 4 manages the data acquired from the smart meter 2, such as the amount of electricity measured by the smart meter 2, for each smart meter 2.

[0015] The smart meter 2 is connected to the MDMS 4 via a WAN 5 (Wide Area Network). The smart meter 2 does not use just one communication method. In FIG. 1, the communication method of the smart meter 2 connected to a FAN 6 (FAN: Field Area Network) is a wireless multi-hop method. The smart meter 2 connected to the FAN 6 is connected to the WAN 5 via an aggregation device 6a. In FIG. 1, the communication method of the smart meter 2 not connected to the FAN 6 is a 1:N wireless communication method such as mobile communication (e.g., 5G).

[0016] The MDMS 4 according to this embodiment collects, in addition to the amount of power, a log of events that have occurred in the smart meter 2 from the smart meter 2. An event means an operation performed on the smart meter 2 (opening / closing a panel, updating firmware, etc.) or an operating status of the smart meter 2 (data communication, occurrence of an error, etc.).

[0017] The smart meter 2 according to this embodiment stores a log file 21 that stores a log describing an event that has occurred. The smart meter 2 according to this embodiment has a function of recording a log describing an event that has occurred in the log file 21, in addition to a function of digitally measuring the amount of power.

[0018] The log recorded by the smart meter 2 is highly confidential information. Therefore, in order to prevent tampering with the log file 21, the smart meter 2 according to this embodiment stores an electronic signature 210 of the log file 21 in addition to the log file 21 that stores the log of the event that occurred. The electronic signature 210 is a value generated from the log file 21 using a private key 30 of a public key cryptosystem. If the private key 30 used to generate the electronic signature 210 is leaked, the electronic signature 210 will be tampered with. Therefore, in this embodiment, in order to prevent leakage of the private key 30, a secure module 3 having high tamper resistance against leakage of stored information is mounted on the smart meter 2, and the private key 30 used to generate the electronic signature 210 is stored in the secure module 3. In this embodiment, the secure module 3 performs encryption processing related to the generation of the electronic signature 210. Note that in this embodiment, a semiconductor product having high tamper resistance against leakage of stored information is called the secure module 3, but the secure module 3 may also be called a security module, a security chip, a secure chip, or a secure element.

[0019] The private key 30 of the public key cryptography to be stored in the secure module 3 may be generated outside the secure module 3 (e.g., in the MDMS 4) and the private key 30 may be registered in the secure module 3. However, in consideration of the risk of leakage of the private key 30 used to generate the digital signature 210, it is preferable to generate the private key 30 inside the secure module 3. When generating the private key 30 inside the secure module 3, the secure module 3 has a function of generating the private key 30 and a public key that pairs with it, and outputting the public key.

[0020] The smart meter 2 constituting the smart meter system 1 will now be described. Fig. 2 shows a block diagram of the smart meter 2. As shown in Fig. 2, the smart meter 2 includes an MCU 20 (Micro Controller Unit), a communication module 22, a sensing module 23, and a display 24. Furthermore, the smart meter 2 includes the secure module 3 described above.

[0021] The MCU 20 of the smart meter 2 is a semiconductor circuit in which a CPU 20a (Central Processing Unit), various memories, and peripheral functions 20e (Peripherals) are integrated on one chip. The MCU 20 of the smart meter 2 includes, as memories, a ROM 20b (Read Only Memory), which is a non-volatile memory that cannot be electrically rewritten, a RAM 20c (Random Access Memory), which is a volatile memory that can be electrically rewritten, and an NVM 20d (Non-Volatile Memory), which is a non-volatile memory that can be electrically rewritten.

[0022] The communication module 22 is a circuit for the smart meter 2 to perform communication. Specifically, the communication module 22 is a circuit for performing communication using a wireless multi-hop method, or a circuit for performing 1:N wireless communication. The sensing module 23 is a circuit for measuring data collected by the smart meter 2. Specifically, the sensing module 23 is a circuit for measuring power including a current sensor and a power sensor. The display 24 is a display device for displaying the power meter reading value and the like. Specifically, the display 24 is a liquid crystal display.

[0023] The NVM 20d included in the MCU 20 stores a log file 21 that is a file for recording logs of the smart meter 2. The log recorded in the log file 21 includes the date and time when an event corresponding to the log occurred and information for identifying the event corresponding to the log.

[0024] When an event to be recorded in a log occurs, the CPU 20a of the MCU 20 generates a log corresponding to the occurred event, and adds this log to the log file 21 of the NMV 20d, thereby executing a process of updating the log file 21. Furthermore, the CPU 20a of the MCU 20 executes a process of having the secure module 3 generate a digital signature 210 for the updated log file 21, and updating the digital signature 210 of the log file 21 using the digital signature 210 calculated by the secure module 3. A computer program for causing the CPU 20a of the MCU 20 to perform these processes is stored in the ROM 20b of the MCU 20.

[0025] The electronic signature 210 of the log file 21 is a value generated by using the hash value of the log file 21 and the private key 30 stored in the secure module 3. In this embodiment, the entity that calculates the hash value of the log file 21 is the MCU 20. The entity that generates the electronic signature by using the hash value of the log file 21 and the private key 30 is the secure module 3. The MCU 20 transmits the hash value of the log file 21 calculated by the MCU 20 to the secure module 3, and causes the secure module 3 to generate the electronic signature 210 for the log file 21.

[0026] The process of generating the digital signature 210 places a heavy load (a process that takes a long time) on the MCU 20 of the smart meter 2. Therefore, it is desirable to define in advance in the smart meter 2 an event for which the digital signature 210 is to be generated as a specific event, and for the MCU 20 of the smart meter 2 to generate the digital signature 210 for the log file 21 only when the specific event occurs.

[0027] 3 shows a block diagram of the secure module 3. The secure module 3 is a semiconductor product that has high tamper resistance against external attacks. In this embodiment, the secure module 3 is incorporated in the board of the smart meter 2 and is connected to the MCU 20 of the smart meter 2. The secure module 3 may take the form of a Subscriber Identity Module Card (SIM card).

[0028] Like the MCU 20 included in the smart meter 2, the secure module 3 includes a CPU 3a, a ROM 3b, a RAM 3c, an NVM 3d, a coprocessor 3e, and peripheral functions 3f. The NVM 3d included in the secure module 3 stores a private key 30 used to generate a digital signature 210 of the log file 21. A public key 40 that pairs with this private key 30 is stored in the MDMS 4.

[0029] The ROM 3b of the secure module 3 stores a computer program for operating the CPUa of the secure module 3. In this embodiment, the computer programs stored in the ROM 3b of the secure module 3 include a computer program for encrypting information (here, a hash value of the log file 21) passed from the MCU 20 with the private key 30, using the coprocessor 3e. This computer program provides the secure module 3 with a function for generating a digital signature 210 using the private key 30.

[0030] From here, the operation of the smart meter 2 will be described. FIG. 4 is a diagram for explaining the operation of the smart meter 2. When the MCU 20 of the smart meter 2 detects an event that has occurred in the smart meter 2 (step S1), it generates a log corresponding to the detected event (step S2). The event detected by the MCU 20 is a predetermined process executed by the MCU 20 or an error (alarm) that has occurred in the smart meter 2. The log includes information for identifying the event detected by the MCU 20 and the time of occurrence of the event. When the MCU 20 generates the log, it adds the generated log to the log file 21 and updates the log file 21 (step S3).

[0031] The MCU 20 of the smart meter 2 checks whether a specific event is defined, which means an event for which the digital signature 210 is to be generated (step S4). If a specific event is not defined, the MCU 20 updates the log file 21 and then calculates a hash value of the updated log file 21 (step S5). A hash function (summary function) such as SHA-1, SHA-2, or SHA-256 is used to calculate the hash value.

[0032] The MCU 20 transmits the hash value of the updated log file 21 to the secure module 3 (step S6). The secure module 3 encrypts the hash value delivered from the MCU 20 using the private key 30 stored in the NVM 3d, and transmits the encrypted hash value of the log file 21 to the MCU 20 as the digital signature 210 (step S7). The MCU 20 updates the digital signature 210 stored together with the log file 21 to the digital signature 210 received from the secure module 3 (step S8), and the procedure in FIG. 4 ends.

[0033] If a specific event is defined in step S4 of Fig. 4, the MCU 20 checks whether the event detected by the MCU 20 in step S1 of Fig. 4 is a specific event (step S9). If the event detected by the MCU 20 in step S1 of Fig. 4 is not a specific event, the procedure in Fig. 4 ends. That is, if the event detected by the MCU 20 in step S1 of Fig. 4 is not a specific event, a log corresponding to the event detected by the MCU 20 in step S1 of Fig. 4 is added to the log file 21 and the log file 21 is updated, but the electronic signature 210 of the log file 21 is not updated.

[0034] If the event detected by the MCU 20 in step S1 of Fig. 4 is a specific event, the MCU 20 proceeds to step S5 of Fig. 4, executes steps S5 to S8, and ends the procedure of Fig. 4. That is, if the event detected by the MCU 20 in step S1 of Fig. 4 is a specific event, a log corresponding to the event detected by the MCU 20 in step S1 of Fig. 4 is added to the log file 21, the log file 21 is updated, and the electronic signature 210 corresponding to the log file 21 is updated to the electronic signature 210 generated from the updated log file 21.

[0035] The MDMS4 will be described. The MDMS4 is a system realized by using one or more servers. Due to the development of cloud computing technology, it is common to realize the MDMS4 by cloud computing. The MDMS4 has a function of verifying the electronic signature 210 attached to the log file 21 acquired from the smart meter 2. The encryption key used to verify the electronic signature 210 is the public key 40 that pairs with the private key 30 stored in the secure module 3 of the smart meter 2. The MDMS4 stores the public key 40 of the smart meter 2 in association with the identification number of the smart meter 2. The process of verifying the electronic signature 210 attached to the log file 21 acquired from the smart meter 2 is a process of comparing the hash value of the log file 21 calculated by the MDMS4 with the value obtained by decrypting the electronic signature 210 using the public key 40.

[0036] From here, the operation of the MDMS 4 will be described. Fig. 5 is a diagram for explaining the operation of the MDMS 4. The MDMS 4 acquires the log file 21 and its corresponding digital signature 210 stored in the smart meter 2 from the smart meter 2 (step S10). The MDMS 4 requests the smart meter 2 to transmit the log file 21 and its corresponding digital signature 210, and receives the log file 21 and its corresponding digital signature 210 from the smart meter 2.

[0037] The MDMS 4 searches for the public key 40 corresponding to the smart meter 2 from which the log file 21 has been acquired, from among the public keys 40 stored in the MDMS 4 (step S11). When transmitting the log file 21 of the smart meter 2, the smart meter 2 may notify the MDMS 4 of the identification number of the smart meter 2, or the identification number of the smart meter 2 may be included in the supplementary information of the log file 21.

[0038] The MDMS4 checks whether a specific event is defined, which means an event for which the electronic signature 210 is to be generated (step S12). If a specific event is not defined, the MDMS4 verifies the electronic signature 210 of the log file 21 acquired from the smart meter 2, with all of the log files 21 acquired from the smart meter 2 as the signature range (step S13). In this case, the MDMS4 calculates a hash value using all of the log files 21 acquired from the smart meter 2, and checks whether the value obtained by decrypting the electronic signature 210 with the public key 40 matches this hash value. If the value obtained by decrypting the electronic signature 210 with the public key 40 matches this hash value, the MDMS4 determines that the verification of the electronic signature 210 has been successful. If the value obtained by decrypting the electronic signature 210 with the public key 40 does not match this hash value, the MDMS4 determines that the verification of the electronic signature 210 has failed.

[0039] If a specific event is defined, the MDMS 4 verifies the electronic signature 210 of the log file 21 acquired from the smart meter 2, with the signature range being from the first log to the last log of the specific event in the log file 21 acquired from the smart meter 2 (step S14). In this case, the MDMS 4 calculates a hash value using the logs from the first log to the last log of the specific event in the log file 21 acquired from the smart meter 2, and checks whether the value obtained by decrypting the electronic signature 210 with the public key 40 matches this hash value.

[0040] The MDMS4 branches the process depending on the verification result of the electronic signature 210 (step S15). If the verification of the electronic signature 210 fails, i.e., if the value obtained by decrypting the electronic signature 210 with the public key 40 does not match the hash value of the log file 21, the MDMS4 abnormally terminates without storing the log file 21 received from the smart meter 2 (step S16b). If the verification of the electronic signature 210 is successful, i.e., if the value obtained by decrypting the electronic signature 210 with the public key 40 matches the hash value of the log file 21, the MDMS4 stores the log file 21 received from the smart meter 2 and terminates normally (step S16a). [Explanation of symbols]

[0041] 1. Smart meter system 2. Smart meters 20 MCU 21 Log files 210 Electronic Signature 3 Secure Module 30 private key 4. Meter Data Management System 40 Public Key

Claims

1. The present invention includes a log file for storing an event log and a secure module for storing an electronic signature of the log file, the secure module storing a private key of a public key cryptosystem used for generating the electronic signature, When the MCU detects an event, it adds a log of the detected event to the log file to update the log file, transmits a hash value of the updated log file to a secure module, causes the secure module to generate a digital signature, and updates the digital signature of the log file using the digital signature obtained from the secure module; the secure module generates a digital signature using the hash value of the log file received from the MCU and the private key; A smart meter characterized by:

2. An event for which a digital signature is to be generated is defined as a specific event, and the MCU causes the secure module to generate a digital signature only when the MCU detects the specific event. A smart meter as claimed in claim 1.

3. The smart meter comprises at least a smart meter and a meter data management system that individually manages the smart meter; The smart meter includes an MCU (Micro Controller Unit) that stores a log file for saving an event log and an electronic signature of the log file, and a secure module that stores a private key of a public key cryptosystem used to generate an electronic signature, and when the MCU detects an event, the MCU adds a log of the detected event to the log file to update the log file, transmits a hash value of the updated log file to a secure module to cause the secure module to generate an electronic signature, and updates the electronic signature of the log file using the electronic signature obtained from the secure module, and the secure module generates an electronic signature using the hash value of the log file received from the MCU and the private key, The meter data management system acquires the log file and its electronic signature stored in the MCU of the smart meter, and verifies the electronic signature of the log file by comparing a hash value of the log file calculated by the meter data management system with a value obtained by decrypting the electronic signature of the log file using a public key that is paired with the private key stored in the secure module of the smart meter that acquired the log file. A smart meter system characterized by:

4. Define the event for which the electronic signature is to be generated as a specific event, The MCU of the smart meter causes the secure module to generate an electronic signature only when the specific event is detected; the meter data management system calculates a hash value in the log file acquired from the smart meter, with the signature range being from the first log to the last log of the specific event that occurred; A smart meter system according to claim 3.

Citation Information

Patent Citations

  • Smart meter and meter reading system

    JP2012113670A