A key management method for smart electric meter

The manufacturer generates and encrypts the initial key in the MES system, and the power company decrypts and updates it in the AMI system. Combining symmetric and public key algorithms solves the problem of insecure key management in the existing technology and realizes smart meters. High security and automated updates for key management.

CN114389801BActive Publication Date: 2024-09-03NINGBO SANXING INTELLIGENT ELECTRIC
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111423068.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-26
Publication Date
2024-09-03
Estimated Expiration
2041-11-26

AI Technical Summary

Technical Problem

In the existing smart meter key management method, the initial key is defined by the power company and lacks unified management tools, resulting in a high risk of key leakage and strong dependence on manual processing, making it difficult to ensure information security and may lead to illegal operations and billing errors. .

Method used

The manufacturer generates and records the initialization key in the MES system, and encrypts the transmission through the session key. The power company decrypts and updates the key in the AMI system, using symmetric algorithms such as AES encryption, and combining the transmission key pair with the RSA algorithm to ensure communication. Security, realizing one table, one encryption and automatic key update.

Benefits of technology

It improves the security of smart meter key management, avoids risks caused by key leaks and human operations, ensures the security of the initial key and the reliability of information transmission, and reduces the possibility of billing errors and social impact. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114389801B
    Figure CN114389801B
Patent Text Reader

Abstract

The present invention relates to a key management method for a smart meter, comprising the following steps: step 1: the manufacturer generates an initialization key in the MES system, and writes the initialization key into the smart meter; step 2: the manufacturer creates a session key in the MES system, and encrypts the initialization key with the session key, and encrypts the session key at the same time; step 3: the power company decrypts the encrypted session key in the AMI system to obtain the session key; and decrypts the encrypted initialization key with the decrypted session key to obtain the initialization key; step 4: after the power company's AMI system detects that the smart meter is connected to the network, the power company's AMI system generates a new key, and the AMI system uses the initialization key to interact with the smart grid and issue the new key; step 5: the new key is used in the smart meter to replace the initial key, and the key update is completed. Therefore, the method can greatly improve the security of key management of smart meters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart electric meters, and in particular to a key management method for smart electric meters. Background Art

[0002] In addition to the basic metering functions of traditional electric energy meters, smart meters also have remote two-way communication capabilities to achieve functions such as automatic data collection, real-time monitoring, and remote control. In order to ensure the privacy, legitimacy, and non-repudiation of the communication data exchange process of smart meters, keys must be used to encrypt / decrypt, sign / verify the communication data.

[0003] Usually, when the manufacturer produces the meter, a set of initial keys will be set. After it is installed on site and connected to the network, the AMI system of the power company will automatically perform the initial key update, replacing the initial key with the official key, so that the meter is completely controlled by the power company. Since it takes time for the meter to complete the key update from power-on, especially in the information island scenario, it may run in the initial key state for a long time. Therefore, ensuring the security of the initial key is also an important part of the overall solution.

[0004] Currently, the delivery and application process of the initial key is as follows:

[0005] 1. Before the meter is produced, the power company defines the initial key and passes it to the manufacturer;

[0006] 2. The manufacturer writes the initial key into the meter through the MES system (manufacturing execution system) during the production process;

[0007] 3. After the power AMI system (Advanced Metering Architecture) detects that the meter is connected to the network, it uses the initial key to shake hands with the meter to establish a connection;

[0008] 4. The power AMI system interacts with the KMS system (key management service) to obtain new keys and send them to the meter;

[0009] 5. The meter replaces the initial key with the new key to complete the key update.

[0010] The existing technical solutions have the following disadvantages:

[0011] 1. The initial key is defined by the power company, but many companies do not have the corresponding management tools and cannot generate a large number of keys. All meters can only use the same key, so the leakage of one key will affect all meters;

[0012] 2. The initial key requires manual processing during the information transmission process, which relies on personal responsibility and professional ability, making it difficult to guarantee information security.

[0013] If the initial key is leaked, it means that before the meter updates the key, a third party with the initial key can establish communication with the meter and perform the following illegal operations: steal meter measurement information, infringe customer privacy; illegally control the meter to open and close, interfere with the normal life of customers, and even disrupt the production and operation activities of enterprises and institutions; tamper with sensitive parameters related to meter billing, such as TOU, clock, threshold, etc., resulting in billing errors. Once the above problems occur, the power company will face claims and may cause adverse social impacts. Summary of the invention

[0014] The technical problem to be solved by the present invention is to provide a more secure key management method for a smart meter in view of the above-mentioned prior art.

[0015] The technical solution adopted by the present invention to solve the above technical problem is: a key management method for a smart meter, characterized in that it includes the following steps:

[0016] Step 1: The manufacturer generates an initialization key for the smart meter in the MES system, writes the initialization key into the smart meter, and records the initialization key into the MES database;

[0017] Step 2: The manufacturer creates a session key in the MES system, encrypts the initialization key with the session key, encrypts the session key, and finally exports the encrypted initialization key and session key;

[0018] Step 3: The power company imports the encrypted initialization key and session key into the AMI system. The AMI system decrypts the encrypted session key to obtain the session key. The encrypted initialization key is then decrypted using the decrypted session key to obtain the initialization key, which is then recorded in the AMI database.

[0019] Step 4: After the power company's AMI system detects that the smart meter is connected to the network, the power company's AMI system generates a new key. The AMI system uses the initialization key to interact with the smart grid and issue a new key.

[0020] Step 5: Use the new key to replace the initial key in the smart meter to complete the key update.

[0021] In order to realize the generation of the initialization key, the method for generating the initialization key in step 1 is: using a specific rule or randomly generating the initialization key.

[0022] Preferably, the method for generating the initialization key in step 1 is: using a random number generator of an encryption machine to generate the initialization key.

[0023] In order to achieve communication security between the power company and the manufacturer, the power company and the manufacturer further include the following steps before communication:

[0024] Step a: The manufacturer creates a first transmission key pair in the MES system, and the power company creates a second transmission key pair in the AMI system;

[0025] Step b: The manufacturer and the power company exchange the public keys in the first transmission key pair and the second transmission key pair.

[0026] Furthermore, in step 2, the manufacturer encrypts the session key using the public key of the second transmission key pair in the MES system.

[0027] Furthermore, in step 3, the AMI system uses the private key of the second transmission key pair to decrypt the encrypted session key.

[0028] Preferably, in step a, the first transmission key pair and the second transmission key pair are created by using an RSA algorithm.

[0029] Preferably, in step b, the method of exchanging public keys between the manufacturer and the power company is: using email or FIP.

[0030] In order to improve the encryption and decryption performance, the session key in step 2 uses a symmetric algorithm to encrypt the initialization key.

[0031] Preferably, the session key in step 2 uses the AES encryption algorithm in the symmetric algorithm to encrypt the initialization key. Of course, other symmetric algorithms can also be used for encryption.

[0032] Compared with the prior art, the advantages of the present invention are: an initialization key is generated by the manufacturer of the smart meter and transmitted to the power company, which facilitates the unified implementation of one meter and one secret; in addition, when transmitting the initialization key, a session key is created for encryption, thereby avoiding human processing and improving the security of information transmission. Therefore, this method can greatly improve the security of smart meter key management and improve the key leakage and security problems caused by the initialization key generated by the power company in the existing method. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 The figure is a flow chart of a key management method for a smart meter in an embodiment of the present invention. DETAILED DESCRIPTION

[0034] The present invention is further described in detail below with reference to the accompanying drawings.

[0035] like Figure 1 As shown, the key management method of the smart meter in this embodiment includes the following steps:

[0036] Step 1: The manufacturer generates an initialization key for the smart meter in the MES system, writes the initialization key into the smart meter, and records the initialization key into the MES database;

[0037] The method for generating the initialization key is: using a specific rule or randomly generating the initialization key; the specific rule may be a custom rule, and in this embodiment, the random number generator of the encryption machine is preferably used to generate the initialization key, so that one initialization key is provided for each electric meter;

[0038] Step 2: The manufacturer creates a session key in the MES system, encrypts the initialization key with the session key, encrypts the session key, and finally exports the encrypted initialization key and session key;

[0039] Step 3: The power company imports the encrypted initialization key and session key into the AMI system. The AMI system decrypts the encrypted session key to obtain the session key. The encrypted initialization key is then decrypted using the decrypted session key to obtain the initialization key, which is then recorded in the AMI database.

[0040] Step 4: After the power company's AMI system detects that the smart meter is connected to the network, the power company's AMI system generates a new key. The AMI system uses the initialization key to interact with the smart grid and issue a new key.

[0041] Step 5: Use the new key to replace the initial key in the smart meter to complete the key update.

[0042] In addition, if Figure 1 As shown, the power company and the manufacturer also include the following steps before communication:

[0043] Step a: The manufacturer creates a first transmission key pair in the MES system, and the power company creates a second transmission key pair in the AMI system. In this embodiment, the first transmission key pair and the second transmission key pair are created by the RSA algorithm.

[0044] Step b: the manufacturer and the power company exchange the public keys in the first transmission key pair and the second transmission key pair; in this embodiment, the manufacturer and the power company exchange the public keys by email or FIP.

[0045] After the public key is exchanged between the manufacturer and the power company, the manufacturer can use its own private key to decrypt the information encrypted by the power company, and the power company can use its own private key to decrypt the information encrypted by the manufacturer, so as to ensure the security of communication between the manufacturer and the power company.

[0046] In step 2, the manufacturer encrypts the session key in the MES system using the public key of the second transmission key pair; correspondingly, in step 3, the AMI system decrypts the encrypted session key using the private key of the second transmission key pair.

[0047] In addition, the session key in step 2 uses a symmetric algorithm to encrypt the initialization key. In this embodiment, the session key uses an AES encryption algorithm in a symmetric algorithm to encrypt the initialization key.

[0048] In the present invention, the manufacturer of the smart meter generates an initialization key and transmits it to the power company, which facilitates the unified implementation of one meter and one secret. In addition, when transmitting the initialization key, a session key is created for encryption, thereby avoiding human processing and improving the security of information transmission. Therefore, this method can greatly improve the security of smart meter key management.

[0049] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the technical principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A key management method for a smart meter, characterized in that: The following steps are involved: Step 1: The manufacturer generates an initialization key for the smart meter in the MES system, writes the initialization key into the smart meter, and records the initialization key into the MES database; Step 2: The manufacturer creates a session key in the MES system, encrypts the initialization key with the session key, encrypts the session key, and finally exports the encrypted initialization key and session key; Step 3: The power company imports the encrypted initialization key and session key into the AMI system. The AMI system decrypts the encrypted session key to obtain the session key. The encrypted initialization key is then decrypted using the decrypted session key to obtain the initialization key, which is then recorded in the AMI database. Step 4: After the power company's AMI system detects that the smart meter is connected to the network, the power company's AMI system generates a new key. The AMI system uses the initialization key to interact with the smart meter and issue the new key. Step 5: In the smart meter, the new key is used to replace the initial key to complete the key update; The power company and the manufacturer also include the following steps before communication: Step a: The manufacturer creates a first transmission key pair in the MES system, and the power company creates a second transmission key pair in the AMI system; Step b: the manufacturer and the power company exchange the public key in the first transmission key pair and the second transmission key pair; In step 2, the manufacturer encrypts the session key with the public key of the second transmission key pair in the MES system; In step 3, the AMI system uses the private key of the second transmission key pair to decrypt the encrypted session key.

2. The key management method for a smart meter according to claim 1, characterized in that: The method for generating the initialization key in step 1 is: using a specific rule or randomly generating the initialization key.

3. The key management method for a smart meter according to claim 2, characterized in that: The method for generating the initialization key in step 1 is: using the random number generator of the encryption machine to generate the initialization key.

4. The key management method for a smart meter according to claim 1, characterized in that: In the step a, a first transmission key pair and a second transmission key pair are created by using an RSA algorithm.

5. The key management method for a smart meter according to claim 4, characterized in that: In step b, the method of exchanging public keys between the manufacturer and the power company is: using email or FIP.

6. The key management method for a smart meter according to claim 1, characterized in that: In step 2, the session key is encrypted using a symmetric algorithm to initialize the key.

7. The key management method for a smart meter according to claim 6, characterized in that: In step 2, the session key uses the AES encryption algorithm in the symmetric algorithm to encrypt the initialization key.