Electricity meter program starting system and method

By introducing the collaborative work of the main control module and the security control module into the electric meter program startup system, and using the ECDSA verification of hash values ​​and signatures, the problem of low security when the electric meter program is started is solved, and effective verification and backup verification of the program are achieved. , improving the safety of the meter program.

CN118784240APending Publication Date: 2024-10-15SHENZHEN CLOU ELECTRONICS
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410794189.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-19
Publication Date
2024-10-15

AI Technical Summary

Technical Problem

The existing electricity meter program lacks effective detection of the program space when starting up, resulting in low security and easy to be tampered with and forged.

Method used

An electric meter program startup system is designed, including a main control module and a security control module. By obtaining the hash value and signature of the application, using random numbers to confuse and perform ECDSA algorithm verification, the integrity and correctness of the program are ensured, and the verification is performed Query backup procedures on failure for increased security.

Benefits of technology

It improves the startup safety of the meter program, prevents tampering and forgery, and ensures the integrity and correct operation of the program.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118784240A_ABST
    Figure CN118784240A_ABST
Patent Text Reader

Abstract

The invention provides an electricity meter program starting system and method. The system provided by the invention comprises a main control module and a security control module, the main control module is used for obtaining a hash value of a current application program and a signature corresponding to the current application program, and is also used for sending a random number request to the security control module; the safety control module is used for generating a random number and sending the random number to the main control module; the main control module is also used for confusing the random number, the hash value and the signature to obtain confused content, and sending the verification request to the security control module; the safety control module is also used for verifying the signature and sending a verification result to the main control module; and the main control module is also used for starting the current application program when the verification result is successful verification, verifying the backup program by matching with the safety control module when the verification fails, and starting the backup program if the verification is successful. According to the system, the program running safety can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of electric meter programs, and in particular to an electric meter program starting system and method. Background Art

[0002] With the development of technology, the market has higher and higher requirements for the safety of electric meters. The electric meter program is usually started by the bootloader. During the bootloader startup process, the bootloader performs a simple initialization on the electric meter and then jumps to the application entry to run the program. If the program is forged or tampered with, unpredictable consequences will occur. Therefore, detecting and verifying the integrity and correctness of the program when the bootloader is started is also an important part of the safety of the electric meter. At present, the electric meter program generally does not check the program space when it is started, or simply checks the integrity of the program, which makes the program run less secure and the program is easily tampered and forged. Summary of the invention

[0003] The object of the present invention is to provide an electric meter program starting system and method to solve the technical problem of low safety of electric meter program operation in the prior art.

[0004] The technical solution of the present invention is as follows: a system for starting an electric meter program is provided, comprising: a main control module and a safety control module,

[0005] The main control module is used to obtain the hash value of the current application and the signature corresponding to the current application, and is also used to send a random number request to the security control module;

[0006] The security control module is used to generate a random number and send the random number to the main control module after receiving the random number request;

[0007] The main control module is further used to confuse the random number, the hash value and the signature to obtain obfuscated content, and send a verification request containing the obfuscated content to the security control module;

[0008] The security control module is further used to verify the signature according to the obfuscated content and send the verification result to the main control module;

[0009] The main control module is also used to start the current application when the verification result is successful verification, and to query whether there is a backup program corresponding to the current application when the verification result is failed verification, and to cooperate with the security control module to verify the backup program if the backup program exists, and to start the backup program if the backup program verification is successful.

[0010] Furthermore, the main control module obtains the hash value of the current application, including:

[0011] Obtain a checksum value of a current application, a size of the current application, and a version number of the current application, and obtain a hash value of the current application according to the checksum value, the size, and the version number.

[0012] Furthermore, the security control module is also used to determine the hash value and the signature according to the obfuscated content and the random number, and verify the signature according to the hash value, the signature and a preset public key.

[0013] Furthermore, the security control module is also used to determine the signature according to the ECDSA algorithm, the hash value and a preset private key, and verify the signature according to the ECDSA algorithm, the signature, the hash value and a preset public key.

[0014] Further, the electric meter program starting system also includes a first power supply circuit and a second power supply circuit;

[0015] The first power supply circuit is used to power on and start the safety control module when the main control module is in low power consumption operation;

[0016] The second power supply circuit is used to power on and start the main control module after the safety control module is powered on and started;

[0017] The main control module is further configured to cause the first power supply circuit to cut off power supply to the safety control module when the idle time of the safety control module exceeds a preset idle time threshold.

[0018] Furthermore, the electric meter program startup system also includes an I2C bus, and the I2C bus is used for communication between the main control module and the safety control module;

[0019] The main control module is further used to encrypt the request information using a symmetric encryption algorithm and send the encrypted request information to the security control module. The security control module is also used to obtain a key and decrypt the encrypted request information according to the key to obtain the request information.

[0020] The security control module is further used to encrypt the response information using a symmetric encryption algorithm and send the encrypted response information to the main control module. The main control module is further used to obtain the key and decrypt the encrypted response information according to the key to obtain the response information;

[0021] The request information includes the random number request or the verification request, and correspondingly, the response information includes the random number or the verification result.

[0022] Another technical solution of the present invention is as follows, and also provides an electric meter program starting method, comprising:

[0023] Obtain a random number, a hash value of the current application, and a signature corresponding to the current application;

[0024] Obfuscate the random number, the hash value, and the signature to obtain obfuscated content;

[0025] The signature is verified according to the obfuscated content. If the verification is successful, the current application is started. Otherwise, it is queried whether there is a backup program corresponding to the current application. If the backup program verification is successful, the backup program is started.

[0026] Furthermore, the hash value of the current application is obtained, including:

[0027] Obtain a checksum value of a current application, a size of the current application, and a version number of the current application, and obtain a hash value of the current application according to the checksum value, the size, and the version number.

[0028] Further, verifying the signature according to the obfuscated content includes:

[0029] The hash value and the signature are determined according to the obfuscated content and the random number, and the signature is verified according to the hash value, the signature and a preset public key.

[0030] Further, verifying the signature according to the hash value, the signature and a preset public key includes:

[0031] The signature is determined according to the ECDSA algorithm, the hash value and the preset private key, and the signature is verified according to the ECDSA algorithm, the signature, the hash value and the preset public key.

[0032] The beneficial effects of the present invention are as follows: the hash value of the current application and the signature corresponding to the current application are obtained through the main control module, and are also used to send a random number request to the security control module; after receiving the random number request, the security control module generates a random number and sends the random number to the main control module; the main control module confuses the random number, the hash value and the signature to obtain the obfuscated content, and sends a verification request containing the obfuscated content to the security control module; the security control module verifies the signature according to the obfuscated content and sends the verification result to the main control module; the main control module starts the current application when the verification result is a successful verification, and queries whether there is a backup program corresponding to the current application when the verification result is a failed verification, and when the backup program exists, cooperates with the security control module to verify the backup program, and if the backup program is successfully verified, starts the backup program; the verification of the meter program is realized, the security of the program operation can be improved, and the program is not easily tampered with or forged. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] Figure 1 A schematic diagram of the structure of an electric meter program starting system provided in an embodiment of the present invention.

[0034] Figure 2 A logical diagram of signature verification provided by an embodiment of the present invention.

[0035] Figure 3 A schematic diagram of the process of signature acquisition and verification provided by an embodiment of the present invention.

[0036] Figure 4 A schematic diagram of the circuit principle of a first power supply circuit provided in an embodiment of the present invention.

[0037] Figure 5 A circuit schematic diagram of a second power supply circuit provided in an embodiment of the present invention.

[0038] Figure 6 A schematic diagram of a key generation process for an I2C bus provided in an embodiment of the present invention.

[0039] Figure 7 A schematic flow chart of an electric meter program starting method provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0040] 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.

[0041] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0042] Figure 1 1 is a schematic diagram of the structure of the electric meter program start system of an embodiment of the present invention. It should be noted that if there is substantially the same result, the electric meter program start system of the present invention is not based on Figure 1 The structure shown is limited. Figure 1 As shown, the electric meter program startup system includes a main control module 11 and a safety control module 12.

[0043] The main control module is used to obtain the hash value of the current application and the signature corresponding to the current application, and is also used to send a random number request to the security control module;

[0044] The security control module is used to generate a random number and send the random number to the main control module after receiving the random number request;

[0045] The main control module is further used to confuse the random number, the hash value and the signature to obtain obfuscated content, and send a verification request containing the obfuscated content to the security control module;

[0046] The security control module is further used to verify the signature according to the obfuscated content and send the verification result to the main control module;

[0047] The main control module is also used to start the current application when the verification result is successful verification, and to query whether there is a backup program corresponding to the current application when the verification result is failed verification, and to cooperate with the security control module to verify the backup program if the backup program exists, and to start the backup program if the backup program verification is successful.

[0048] In some embodiments, the main control module obtains the hash value of the current application, including:

[0049] Obtain a checksum value of a current application, a size of the current application, and a version number of the current application, and obtain a hash value of the current application according to the checksum value, the size, and the version number.

[0050] In a specific embodiment, the logical diagram of signature verification is as follows: Figure 2 As shown, Figure 2 In the figure, the vertical line on the left represents the content executed by the main control module, the vertical line on the right represents the content executed by the security control module, and the horizontal line in the middle represents the content of the interaction between the main control module and the security control module. The main control module obtains the check value Crc of the current application (app) through CRC32, and obtains the size Size of the current application and the version number Version of the current application, and obtains the hash value Msg according to the check value, size and version number; the main control module sends a random number request Get Challenge Request() to the security control module. After receiving the random number request, the security control module generates a random number IV (challenge) according to the random number request and sends the random number to the main control module.

[0051] In some embodiments, the security control module is further used to determine the hash value and the signature according to the obfuscated content and the random number, and verify the signature according to the hash value, the signature and a preset public key.

[0052] In the embodiment of the present invention, the security control module determines the hash value and the signature according to the obfuscated content and the random number, and verifies the signature according to the hash value, the signature and the preset public key, thereby ensuring the security of the signature verification.

[0053] In a specific embodiment, in order to make the signature data different during each data transmission process, the main control module will request a random number from the security signature before starting to request signature verification, which is used to confuse the signature data with XOR calculation. Then it is transmitted to the security control module to start the signature verification request program startup. Figure 2As shown, the main control module confuses the random number, hash value and signature (Sign) to obtain the obfuscated content Content. Specifically, the random number, hash value and signature can be confused by an exclusive OR (XOR) pair. The main control module sends a verification request containing the obfuscated content to the security control module. The security control module determines the hash value and the signature according to the obfuscated content and the random number, that is, Msg+Sign=XOR(Content, IV). The security control module also verifies the signature according to the hash value, the signature and the preset public key.

[0054] In some embodiments, the security control module is further used to determine the signature according to the ECDSA algorithm, the hash value and a preset private key, and verify the signature according to the ECDSA algorithm, the signature, the hash value and a preset public key.

[0055] In the embodiment of the present invention, by enabling the security control module to determine the signature according to the ECDSA algorithm, the hash value and the preset private key, and verifying the signature according to the ECDSA algorithm, the signature, the hash value and the preset public key, the security of the signature verification can be further guaranteed, thereby improving the security of the program operation.

[0056] In a specific embodiment, Figure 2 As shown, ECDSA Verify (Msg + Sign + Public) means using the ECDSA algorithm to verify the signature according to the signature, hash value and preset public key. In order to ensure the correctness and integrity of the program from the software perspective, the ECDSA and SHA256 asymmetric algorithms can be used to verify the signature of the application content to ensure its integrity. Assuming that the entire application content is app, first use SHA256 (app) to calculate the hash value and set it as MD, and then use ECDSA (MD) to calculate the signature Sign. By verifying whether the signature Sign is correct, it can be detected whether the application in the flash space of the main control module has been tampered with or forged. The above SHA256 (app) means using the SHA256 algorithm to process app, and the above ECDSA (MD) means using the ECDSA algorithm to process MD.

[0057] It should be noted that both the ECDSA algorithm and the SHA256 algorithm are asymmetric algorithms. For the use of the algorithm, SHA256 (app) requires a lot of resources to perform calculations on the entire application, but usually the size of the meter program is about 200K. The more functions the program has, the larger the program is. However, the single-chip microcomputer as the main control module (MCU) of the meter cannot achieve this in terms of resources and computing power. Even if forced calculation is performed, it will take up a huge amount of program startup time, which is far from the standard required by the IEC (International Electrotechnical Commission) that the program should be fully started within 5 seconds. To address this problem, the CRC32 and SHA256 algorithms can be combined, that is, the check value is calculated using CRC32 first, and then the hash value MD is calculated using SHA256. This method can not only detect whether the application has been modified, but also solve the problem of resources and computing power of the main control module, which can greatly improve the startup speed of the program. The security control module also provides a secure storage function. The unique key (storage key) used for secure storage is generated by the security control module and cannot be read or accessed from the outside. The public key required for program signature verification of the main control module is encrypted by the storage key and stored in the security control module, so there is no need to carry public key information during signature data transmission, further ensuring the security of signature verification.

[0058] As an optional implementation, a flow chart of signature acquisition and verification is shown in FIG. Figure 3 shown. Figure 3 In the code, the application content app is processed by CRC32 to obtain the check value, the check value, the application size and the version number are processed by the SHA256 algorithm to obtain the hash value MD, the preset private key Private key and the hash value MD are processed by the ECDSA algorithm to obtain the signature Sign, the signature Sign, the preset public key Public key and the hash value MD are processed by the ECDSA algorithm to obtain the signature verification result Result, and the signature verification result includes verification success or verification failure.

[0059] In some embodiments, the electric meter program start system further includes a first power circuit and a second power circuit;

[0060] The first power supply circuit is used to power on and start the safety control module when the main control module is in low power consumption operation;

[0061] The second power supply circuit is used to power on and start the main control module after the safety control module is powered on and started;

[0062] The main control module is further configured to cause the first power supply circuit to cut off power supply to the safety control module when the idle time of the safety control module exceeds a preset idle time threshold.

[0063] In a specific embodiment, the meter program startup system includes a main control module and a safety control module. The main control module and the safety control module can be a main MCU and a safety MCU respectively. The safety control module can provide a hardware accelerator for the safety algorithm and can also provide a safe storage environment. The meter program startup system also includes a first power supply circuit and a second power supply circuit. The circuit principle diagram of the first power supply circuit is as shown in FIG. Figure 4 As shown, the initial state of the main control module can be a low-power operation state, and the 3V3_ENCRY1 is turned on by pulling down the ENCRY_ON pin level, thereby powering on the safety control module. Figure 5 As shown, after the safety control module is powered on, the MCU_CNT pin level is pulled high so that the pin 12V1 is powered on and the main control module can be powered on and work normally.

[0064] As an optional implementation, after the main control module is started, the check value Crc of the current application (app) is calculated, the signature is obtained, and a random number request (instruction) is sent to the security control module. After the security control module returns the random number to the main control module, the main control module performs obfuscation according to the random number, signature, and hash value, and sends a verification request containing the obfuscated content to the security control module. The security control module verifies the signature according to the obfuscated content and sends the verification result to the main control module. If the verification result is successful, the current application is run. If the verification result is failed, it is queried whether there is a backup program corresponding to the current application. If there is a backup program, the main control module and the security control module cooperate to verify the backup program. If the backup program is successfully verified, the backup program is started. The steps of the control module and the security control module cooperating to verify the backup program are the same as the steps of verifying the current application, and will not be repeated here. If the backup program is successfully verified, the backup program is started, that is, the backup program reset is activated. If it fails, the backup program is not started.

[0065] As an optional implementation, the security control module is in an idle state or a state of waiting for a request (instruction) after startup. When the idle time of the security control module in the idle state exceeds a preset idle time threshold, the first power supply circuit cuts off the power supply to the security control module, and may also cut off the power supply to the main control module. When the security control module receives a random number request or a verification request, it returns a corresponding random number or verification result. If the verification result is a verification failure, it is recorded, and then the security control module is in an idle state again.

[0066] In some embodiments, the electric meter program startup system further includes an I2C bus, and the I2C bus is used for communication between the main control module and the safety control module;

[0067] The main control module is further used to encrypt the request information using a symmetric encryption algorithm and send the encrypted request information to the security control module. The security control module is also used to obtain a key (transmission key) and decrypt the encrypted request information according to the key to obtain the request information.

[0068] The security control module is further used to encrypt the response information using a symmetric encryption algorithm and send the encrypted response information to the main control module. The main control module is further used to obtain the key and decrypt the encrypted response information according to the key to obtain the response information;

[0069] The request information includes the random number request or the verification request, and correspondingly, the response information includes the random number or the verification result.

[0070] In a specific embodiment, the main control module and the security control module can be hardware isolated using independently packaged chips, and data exchange can be achieved between them using the I2C bus transmission protocol communication method. I2C is a bus-based transmission with only one byte of checksum (value), which cannot safely guarantee the confidentiality and integrity of data transmission. Therefore, the AES-GCM-128 symmetric encryption algorithm is used for the transmitted data, which not only encrypts the data, but also verifies whether the transmitted data is complete and correct. The storage and access security of the key is also very important. Placing the key in non-volatile storage or MCU flash space may cause key leakage. The security control module is used to randomly generate a key and inform the main control module. This random logical key method is almost impossible to leak or be cracked. In this way, even if someone monitors the data on the bus, different random data is obtained each time, ensuring the transmission security of the bus data. The key generation process diagram of the I2C bus is shown as follows. Figure 6 As shown, the steps of key generation include S601, the main control module sends a random key request, S602, the security control module generates a true random number, S603, the security control module produces a key, and S604, the main control module obtains the key; wherein, the key obtained by the true random number needs to be obfuscated, and in step S604, the main control module needs to eliminate the obfuscation after obtaining the initial key to obtain the final key. The encryption method of I2C bus transmission can largely prevent tampering and forgery of signature data.

[0071] The electric meter program startup system provided by the embodiment of the present invention obtains the hash value of the current application and the signature corresponding to the current application through the main control module, and is also used to send a random number request to the security control module; after receiving the random number request, the security control module generates a random number and sends the random number to the main control module; the main control module confuses the random number, the hash value and the signature to obtain the obfuscated content, and sends a verification request containing the obfuscated content to the security control module; the security control module verifies the signature according to the obfuscated content and sends the verification result to the main control module; the main control module starts the current application when the verification result is successful, and queries whether there is a backup program corresponding to the current application when the verification result is failed, and when the backup program exists, cooperates with the security control module to verify the backup program, and starts the backup program if the backup program verification succeeds; the verification of the electric meter program is realized, which can improve the security of program operation and make the program not easy to be tampered with or forged.

[0072] The embodiment of the present invention provides a method for starting an electric meter program, and a flowchart thereof is shown as follows: Figure 7 As shown, the electric meter program starting method includes:

[0073] S701, obtaining a random number, a hash value of a current application, and a signature corresponding to the current application;

[0074] S702, obfuscating the random number, the hash value, and the signature to obtain obfuscated content;

[0075] S703, verifying the signature according to the obfuscated content, if the verification is successful, starting the current application, otherwise, querying whether there is a backup program corresponding to the current application, if the backup program verification is successful, starting the backup program.

[0076] In some embodiments, obtaining the hash value of the current application includes:

[0077] Obtain a checksum value of a current application, a size of the current application, and a version number of the current application, and obtain a hash value of the current application according to the checksum value, the size, and the version number.

[0078] In some embodiments, verifying the signature based on the obfuscated content includes:

[0079] The hash value and the signature are determined according to the obfuscated content and the random number, and the signature is verified according to the hash value, the signature and a preset public key.

[0080] In some embodiments, verifying the signature according to the hash value, the signature, and a preset public key includes:

[0081] The signature is determined according to the ECDSA algorithm, the hash value and the preset private key, and the signature is verified according to the ECDSA algorithm, the signature, the hash value and the preset public key.

[0082] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0083] The above embodiments only express the preferred implementation modes of the present invention, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the invention patent. It should be pointed out that, for those of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present invention, and these all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.

Claims

1. An electric meter program start system, characterized in that: Including main control module and safety control module, The main control module is used to obtain the hash value of the current application and the signature corresponding to the current application, and is also used to send a random number request to the security control module; The security control module is used to generate a random number and send the random number to the main control module after receiving the random number request; The main control module is further used to confuse the random number, the hash value and the signature to obtain obfuscated content, and send a verification request containing the obfuscated content to the security control module; The security control module is further used to verify the signature according to the obfuscated content and send the verification result to the main control module; The main control module is also used to start the current application when the verification result is successful verification, and to query whether there is a backup program corresponding to the current application when the verification result is failed verification, and to cooperate with the security control module to verify the backup program if the backup program exists, and to start the backup program if the backup program verification is successful.

2. The electric meter program starting system according to claim 1, characterized in that: The main control module obtains the hash value of the current application, including: Obtain a checksum value of a current application, a size of the current application, and a version number of the current application, and obtain a hash value of the current application according to the checksum value, the size, and the version number.

3. The electric meter program starting system according to claim 1, characterized in that: The security control module is also used to determine the hash value and the signature according to the obfuscated content and the random number, and verify the signature according to the hash value, the signature and a preset public key.

4. The electric meter program starting system according to claim 3, characterized in that: The security control module is also used to determine the signature according to the ECDSA algorithm, the hash value and the preset private key, and verify the signature according to the ECDSA algorithm, the signature, the hash value and the preset public key.

5. The electric meter program starting system according to claim 1, characterized in that: The electric meter program start system also includes a first power supply circuit and a second power supply circuit; The first power supply circuit is used to power on and start the safety control module when the main control module is in low power consumption operation; The second power supply circuit is used to power on and start the main control module after the safety control module is powered on and started; The main control module is further configured to cause the first power supply circuit to cut off power supply to the safety control module when the idle time of the safety control module exceeds a preset idle time threshold.

6. The electric meter program starting system according to claim 1, characterized in that: The electric meter program startup system also includes an I2C bus, and the I2C bus is used for communication between the main control module and the safety control module; The main control module is further used to encrypt the request information using a symmetric encryption algorithm and send the encrypted request information to the security control module. The security control module is also used to obtain a key and decrypt the encrypted request information according to the key to obtain the request information. The security control module is further used to encrypt the response information using a symmetric encryption algorithm and send the encrypted response information to the main control module. The main control module is further used to obtain the key and decrypt the encrypted response information according to the key to obtain the response information; The request information includes the random number request or the verification request, and correspondingly, the response information includes the random number or the verification result.

7. A method for starting an electric meter program, characterized in that: include: Obtain a random number, a hash value of the current application, and a signature corresponding to the current application; Obfuscate the random number, the hash value, and the signature to obtain obfuscated content; The signature is verified according to the obfuscated content. If the verification is successful, the current application is started. Otherwise, it is queried whether there is a backup program corresponding to the current application. If the backup program verification is successful, the backup program is started.

8. The method for starting an electric meter program according to claim 7, characterized in that: Get the hash value of the current application, including: Obtain a checksum value of a current application, a size of the current application, and a version number of the current application, and obtain a hash value of the current application according to the checksum value, the size, and the version number.

9. The method for starting an electric meter program according to claim 7, characterized in that: Verifying the signature according to the obfuscated content includes: The hash value and the signature are determined according to the obfuscated content and the random number, and the signature is verified according to the hash value, the signature and a preset public key.

10. The method for starting an electric meter program according to claim 9, characterized in that: Verifying the signature according to the hash value, the signature, and a preset public key includes: The signature is determined according to the ECDSA algorithm, the hash value and the preset private key, and the signature is verified according to the ECDSA algorithm, the signature, the hash value and the preset public key.

Citation Information

Patent Citations

  • System, method and device for Windows application program integrity checking

    CN104008351A

  • Electronic circuit system and power consumption reducing method thereof

    CN105487638A

  • Credible safe starting method and system based on Internet of Things gas meter

    CN112613030A

  • Vehicle guidance loader authentication system

    CN115997209A

  • Watt-hour meter equipped with program verification function

    JP2005180966A