CN112346904A - Smart electric meter calibration method and device, smart electric meter and storage medium - Google Patents

Smart electric meter calibration method and device, smart electric meter and storage medium Download PDF

Info

Publication number
CN112346904A
CN112346904A CN202011130119.2A CN202011130119A CN112346904A CN 112346904 A CN112346904 A CN 112346904A CN 202011130119 A CN202011130119 A CN 202011130119A CN 112346904 A CN112346904 A CN 112346904A
Authority
CN
China
Prior art keywords
program
check code
electric meter
smart meter
intelligent electric
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011130119.2A
Other languages
Chinese (zh)
Inventor
杨勇
张宇
宋慧娜
李军
石理宁
李强
李斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wasion Group Co Ltd
Original Assignee
Wasion Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wasion Group Co Ltd filed Critical Wasion Group Co Ltd
Priority to CN202011130119.2A priority Critical patent/CN112346904A/en
Publication of CN112346904A publication Critical patent/CN112346904A/en
Priority to PCT/CN2021/080260 priority patent/WO2022083046A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a method for checking an intelligent electric meter, which comprises the following steps of obtaining a first check code through the calculation of an Integrity Check Module (ICM) program according to the current program of the intelligent electric meter; acquiring a second check code prestored in the current intelligent electric meter, wherein the second check code is calculated according to an ICM program; and verifying the intelligent electric meter according to the first verification code and the second verification code. The invention also discloses a smart electric meter calibration device, a smart electric meter and a storage medium. The invention aims to improve the verification effectiveness and the verification efficiency of the intelligent electric meter.

Description

Smart electric meter calibration method and device, smart electric meter and storage medium
Technical Field
The invention relates to the field of intelligent electric meters, in particular to an intelligent electric meter calibration method and device, an intelligent electric meter and a storage medium.
Background
With the intellectualization of the electric meter, the currently used intelligent electric meters are controlled by codes, and the program codes in the intelligent electric meters are at risk of being tampered in the field operation process, wherein if a metering part code is modified, the electric energy meter can still normally operate, but simultaneously immeasurable economic loss is caused to users or countries, so the intelligent electric meters need to be verified. At present, Cyclic Redundancy Check (CRC) is generally adopted, and a Check code is stored in an Electrically Erasable Programmable Read Only Memory (EEPROM), but since a program code of the smart meter is stored in an external flash memory (flash), and the internal flash is erased every time the smart meter is upgraded, and the external flash is copied to the internal flash, a tampered record of the smart meter cannot be obtained at all through a verification method of the smart meter adopted in the prior art, and thus, the tampered information of the smart meter cannot be detected.
Disclosure of Invention
The invention mainly aims to provide a method and a device for checking an intelligent electric meter, the intelligent electric meter and a storage medium, and aims to solve the technical problem of how to prevent the intelligent electric meter from being tampered.
In order to achieve the purpose, the invention provides a method for checking an intelligent electric meter, which comprises the following steps:
calculating through an Integrity Checking Module (ICM) program according to a current program of the intelligent electric meter to obtain a first check code;
acquiring a second check code prestored in the current intelligent electric meter, wherein the second check code is calculated according to an ICM program;
and verifying the intelligent electric meter according to the first verification code and the second verification code.
Optionally, the step of verifying the smart meter according to the first verification code and the second verification code includes:
judging whether the first check code is the same as the second check code;
if the first check code is the same as the second check code, judging that the intelligent electric meter is verified successfully;
otherwise, judging that the intelligent electric meter fails to be verified.
Optionally, before the step of obtaining the first check code by calculating according to the current program of the smart meter through the integrity check module ICM program, the method includes:
if an upgrading request initiated by a user is received, controlling the intelligent ammeter to upgrade;
and calculating to obtain the second check code after the intelligent electric meter is upgraded through an ICM program according to the program after the intelligent electric meter is upgraded.
Optionally, the step of controlling the smart meter to perform upgrading includes:
downloading an upgrading program package;
checking the upgrading program package;
checking a post-upper identification flag;
judging whether the flag exists according to a starting program;
and if so, starting the program upgrading of the intelligent electric meter.
Optionally, the step of obtaining the upgraded second check code of the smart meter through ICM program calculation according to the upgraded program of the smart meter includes:
writing a program in an external flash memory flash into a flash inside a Micro Control Unit (MCU);
and calculating to obtain the second check code after the intelligent electric meter is upgraded through the ICM program according to the upgraded program in the flash inside the MCU.
Optionally, after the step of obtaining the second check code after the upgrading of the smart meter by calculating according to the program after the upgrading of the smart meter through an ICM program, the method includes:
and storing the second check code after the intelligent electric meter is upgraded in an EEPROM (electrically erasable programmable read-only memory).
Optionally, the step of obtaining the upgraded second check code of the smart meter through ICM program calculation according to the upgraded program of the smart meter further includes:
and calculating and acquiring the second check code by adopting one encryption algorithm of SHA1, SHA224 and SHA 256.
In addition, in order to achieve the above object, the present invention further provides a smart meter calibration apparatus, including: the intelligent electric meter verification method comprises a memory, a processor and an intelligent electric meter verification program stored on the memory and capable of running on the processor, wherein the intelligent electric meter verification program realizes the steps of the intelligent electric meter verification method according to any one of the above items when being executed by the processor.
In addition, in order to achieve the above object, the present invention further provides a smart meter, where the smart meter includes the smart meter calibration apparatus as described above.
In addition, in order to achieve the above object, the present invention further provides a storage medium, where the storage medium stores a smart meter verification program, and the smart meter verification program implements the steps of the smart meter verification method when executed by a processor.
According to the intelligent electric meter calibration method provided by the embodiment of the invention, a first calibration code is obtained by calculating through an Integrity Check Module (ICM) program according to a current program of an intelligent electric meter; acquiring a second check code prestored in the current intelligent electric meter, wherein the second check code is calculated according to an ICM program; according to the first check code and the second check code, the intelligent electric meter is checked, the intelligent electric meter can be effectively checked in real time after being electrified every time, the integrity condition inside the intelligent electric meter is obtained, the risk that the intelligent electric meter program is tampered is avoided, and the checking effectiveness and the checking efficiency of the intelligent electric meter are improved.
Drawings
FIG. 1 is a schematic diagram of a terminal \ device structure of a hardware operating environment according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of a first embodiment of the smart meter verification method according to the present invention;
FIG. 3 is a schematic view illustrating a detailed flow of the step of verifying the smart meter according to the first and second verification codes in FIG. 2;
fig. 4 is a flowchart illustrating a second embodiment of the method for checking the smart meter according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The main solution of the embodiment of the invention is as follows:
in the prior art, Cyclic Redundancy Check (CRC) is generally adopted, and a Check code is stored in an Electrically Erasable Programmable Read Only Memory (EEPROM), but since a program code of an electric energy meter is stored in an external flash memory (flash), an internal flash is erased every time the electric energy meter is upgraded, and the external flash is copied to the internal flash, a record of the previous electric energy meter cannot be obtained at all through the Check of the electric energy meter, and thus, information of the electric energy meter which is tampered cannot be detected.
The invention provides a solution, which is characterized in that a first check code is obtained by calculating through an integrity check module ICM program according to a current program of an intelligent ammeter; acquiring a second check code prestored in the current intelligent electric meter, wherein the second check code is calculated according to an ICM program; according to the first check code and the second check code, the intelligent electric meter is checked, the intelligent electric meter can be effectively checked in real time after being electrified every time, the integrity condition inside the intelligent electric meter is obtained, the risk that the intelligent electric meter program is tampered is avoided, and the checking effectiveness and the checking efficiency of the intelligent electric meter are improved.
As shown in fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to an embodiment of the present invention.
The terminal in the embodiment of the present invention is an intelligent electric meter, the intelligent electric meter includes an intelligent electric meter detection device, as shown in fig. 1, the intelligent electric meter may include: a processor 1001, such as a CPU, a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include an infrared receiving module for receiving a control command triggered by a user through a remote controller, and the optional user interface 1003 may further include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the smart meter configuration shown in fig. 1 does not constitute a limitation of the smart meter and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a smart meter verification program.
In the terminal shown in fig. 1, the network interface 1004 is mainly used for connecting to a backend server and performing data communication with the backend server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the smart meter verification program stored in the memory 1005, and perform the following operations:
calculating through an Integrity Checking Module (ICM) program according to a current program of the intelligent electric meter to obtain a first check code;
acquiring a second check code prestored in the current intelligent electric meter, wherein the second check code is calculated according to an ICM program;
and verifying the intelligent electric meter according to the first verification code and the second verification code.
Further, the processor 1001 may call the smart meter verification program stored in the memory 1005, and further perform the following operations:
judging whether the first check code is the same as the second check code;
if the first check code is the same as the second check code, judging that the intelligent electric meter is verified successfully;
otherwise, judging that the intelligent electric meter fails to be verified.
Further, the processor 1001 may call the smart meter verification program stored in the memory 1005, and further perform the following operations:
if an upgrading request initiated by a user is received, controlling the intelligent ammeter to upgrade;
and calculating to obtain the second check code after the intelligent electric meter is upgraded through an ICM program according to the program after the intelligent electric meter is upgraded.
Further, the processor 1001 may call the smart meter verification program stored in the memory 1005, and further perform the following operations:
downloading an upgrading program package;
checking the upgrading program package;
checking a post-upper identification flag;
judging whether the flag exists according to a starting program;
and if so, starting the program upgrading of the intelligent electric meter.
Further, the processor 1001 may call the smart meter verification program stored in the memory 1005, and further perform the following operations:
writing a program in an external flash memory flash into a flash inside a Micro Control Unit (MCU);
and calculating to obtain the second check code after the intelligent electric meter is upgraded through the ICM program according to the upgraded program in the flash inside the MCU.
Further, the processor 1001 may call the smart meter verification program stored in the memory 1005, and further perform the following operations:
and storing the second check code after the intelligent electric meter is upgraded in an EEPROM (electrically erasable programmable read-only memory).
Further, the processor 1001 may call the smart meter verification program stored in the memory 1005, and further perform the following operations:
and calculating and acquiring the second check code by adopting one encryption algorithm of SHA1, SHA224 and SHA 256.
The specific embodiments of the detection device and the smart meter of the invention are basically the same as the embodiments of the calibration method of the smart meter described below, and are not described herein again.
Referring to fig. 2, a flow chart of a first embodiment of the present invention is schematically illustrated, and the method includes the following steps:
and S100, obtaining a first check code through the ICM program of the integrity checking module according to the current program of the intelligent electric meter.
In the embodiment, after the smart meter is powered on, a program of a current grade of the smart meter is firstly obtained, and verification calculation is performed through an Integrity Check Module (ICM) program according to the current program, specifically, an ICM value A of the program of the current smart meter, namely a first verification code, is obtained through the ICM program calculation, the first verification code is different according to different grades of an internal program of the current smart meter, wherein the first verification code of the current smart meter needs to be obtained after the smart meter is powered on every time, meanwhile, in order to guarantee the safety of the smart meter, the verification code needs to be encrypted, a hardware secure hash algorithm module adopted in the encryption calculation has a very fast operation speed which is basically about 50 milliseconds, a user basically cannot perceive the scheme, and the decryption and decryption breaking time of the encryption algorithm basically exceeds the whole life cycle of the smart meter, therefore, the safety of the smart meter is ensured, common encryption algorithms comprise three types including SHA1, SHA224 and SHA256, and one of the algorithms can be selected.
Step S200, acquiring a second check code prestored in the current intelligent electric meter, wherein the second check code is calculated according to an ICM program;
and step S300, verifying the intelligent electric meter according to the first verification code and the second verification code.
In this embodiment, after the smart meter is powered on, a prestored ICM value B, that is, a second check code, is directly obtained from a memory in the smart meter, where the second check code is updated and stored after each upgrade of the smart meter, and is also calculated according to an ICM program; therefore, after the intelligent electric meter is powered on every time, the relation between the first check code and the second check code needs to be judged, and the intelligent electric meter is checked.
In the embodiment, the first check code is obtained by calculating through an Integrity Check Module (ICM) program according to a current program of the smart meter; acquiring a second check code prestored in the current intelligent electric meter, wherein the second check code is calculated according to an ICM program; according to the first check code and the second check code, the intelligent electric meter is checked, the intelligent electric meter can be effectively checked in real time after being electrified every time, the integrity condition inside the intelligent electric meter is obtained, the risk that the intelligent electric meter program is tampered is avoided, and the checking effectiveness and the checking efficiency of the intelligent electric meter are improved.
Further, referring to fig. 3, a flowchart illustrating a detailed process of the step of verifying the smart meter according to the first check code and the second check code according to the present invention is based on the embodiment shown in fig. 2, where the step of verifying the smart meter according to the first check code and the second check code includes:
step S310, determining whether the first check code is the same as the second check code.
In this embodiment, according to the first check code obtained in step S100 and the second check code obtained in step S200, whether the first check code and the second check code are the same is compared inside the smart meter.
And step S320, judging that the smart electric meter is successfully verified.
In this embodiment, according to the comparison result obtained in step S310, if the first check code is the same as the second check code, it is determined that the smart meter is verified successfully, and it is determined that the internal program of the smart meter is not tampered, and the smart meter will operate normally.
Step S330: otherwise, judging that the intelligent electric meter fails to be verified.
In this embodiment, according to the comparison result obtained in step S310, if the first check code is different from the second check code, it is determined that the smart meter verification fails. At this moment, the intelligent electric meter which fails in verification cannot be used continuously, the standby intelligent electric meter needs to be replaced in time to continuously record the electric quantity consumption, the service time of the standby intelligent electric meter of the intelligent electric meter needs to be limited when the standby intelligent electric meter is used, meanwhile, after the verification failure of the intelligent electric meter is displayed, verification failure reminding information is sent to a user, the user is reminded to timely process the fault condition of the intelligent electric meter, and related technical personnel are fed back to process the fault condition according to needs.
In the embodiment, different coping measures are taken by judging whether the first check code of the current intelligent electric meter is the same as the first check code of the pre-stored intelligent electric meter or not under different judgment results, wherein if the first check code of the current intelligent electric meter is the same as the first check code of the pre-stored intelligent electric meter, a user does not perform processing at the moment, and if the first check code of the current intelligent electric meter is different from the first check code of the pre-stored intelligent electric meter, the user needs to take a relevant measure to cope with the current verified intelligent electric meter at the moment; therefore, the intelligent electric meter can be effectively checked in real time after being electrified, the integrity condition inside the intelligent electric meter is acquired, a user can conveniently and timely take measures, the risk that the intelligent electric meter program is falsified is avoided in time, and the checking effectiveness and checking efficiency of the intelligent electric meter are improved.
Referring to fig. 4, a flowchart of a second embodiment of the present invention is shown, based on the embodiment shown in fig. 2, before the step of obtaining the first check code by the integrity check module ICM program according to the current program of the smart meter, the method includes:
and S400, if the upgrading request initiated by the user is received, controlling the intelligent electric meter to upgrade.
In this embodiment, after the smart meter is powered on, whether the smart meter program needs to be upgraded is determined according to a selection of a user, wherein if an upgrade request initiated by the user is received, the smart meter is controlled to be upgraded. Otherwise, step S100 is executed.
Specifically, for upgrading of the intelligent electric meter, upgrading of different functional modules inside the intelligent electric meter needs to be controlled in advance according to the needs of the user, wherein the different functional modules correspond to different upgrading program packages, and upgrading of different modules is controlled according to priority differences of functions of the different modules. For example, an internal module of a general smart meter includes a Boot-up Boot, a legal legacy and an illegal Non-legacy, wherein the legacy mainly includes a metering part, once the Boot cannot be upgraded after being authenticated by an authentication mechanism, the Boot cannot be upgraded after leaving a factory, the legal part legacy requires authentication and authorization by the authentication mechanism to allow upgrading, the illegal Non-legacy can be upgraded after being authorized by a client, and the system includes six modules of COSEM, protocol, G3-PLC, APP, driver and display, each module has an independent check code, and a check algorithm must meet authentication requirements and correspondingly control different functions of the smart meter.
Furthermore, under the condition that the free space in the memory of the intelligent electric meter is enough, all modules can be upgraded, when a user determines that a certain functional module or a plurality of functional modules are upgraded, the upgrading program packages corresponding to the corresponding functional modules are called and downloaded at the same time, the upgrading program packages are integrally checked in a digital signature mode, a mark flag is set in the application program of the intelligent electric meter after verification is completed, the intelligent electric meter program is controlled to restart, whether the mark flag in the application program exists or not is judged according to a starting program after the intelligent electric meter is restarted, and if the mark flag exists in the application program, the upgrading of the corresponding modules of the intelligent electric meter program is started. Otherwise, the corresponding module of the intelligent electric meter program is not allowed to be upgraded.
And S500, calculating to obtain a second check code after the intelligent electric meter is upgraded through an ICM program according to the program after the intelligent electric meter is upgraded.
In this embodiment, after the upgrade of the smart electric meter is performed according to step S400, each module in the smart electric meter has its own independent check code, so after the upgrade of the smart electric meter, the check code of the corresponding module of the upgraded smart electric meter needs to be timely acquired and stored for later use, the second check code after the upgrade of the smart electric meter is obtained according to the ICM program calculation, specifically, after the upgrade of the smart electric meter, the program in the external flash memory flash needs to be written into the flash inside the micro control unit MCU at this time, the second check code of the upgraded smart electric meter is obtained according to the program in the flash inside the MCU and calculated according to the ICM program, and the second check code after the upgrade of the smart electric meter is stored in the EEPROM. Meanwhile, in order to guarantee the safety of the intelligent electric meter, the check code needs to be encrypted, hardware secure hash algorithm modules adopted by the first check code and the second check code acquired in the scheme are used for carrying out encryption calculation, the operation speed is very high, basically about 50 milliseconds exists, a user can not detect the first check code and the second check code basically, the decryption breaking time of the encryption algorithm basically exceeds the whole life cycle of the intelligent electric meter, the safety of the intelligent electric meter is ensured, the first check code and the second check code adopt the same encryption algorithm, generally three types of SHA1, SHA224 and SHA256 are adopted, and the first check code and the second check code can be selected alternatively in the scheme.
The embodiment provides program upgrading of the intelligent electric meter, after an upgrading request of a user is received, an upgrading program package is downloaded and verified, a flag is set in an application program, whether the flag exists or not is judged through a starting program, so that the intelligent electric meter can complete upgrading of user requirements according to the flag, a second check code of the upgraded intelligent electric meter is further obtained through an ICM program and is stored, encryption of the check code is further achieved through multiple secure hash algorithms, safety of the intelligent electric meter is enhanced, and further risk that the intelligent electric meter is tampered is avoided.
In addition, an embodiment of the present invention further provides a storage medium, where the computer-readable storage medium stores a smart meter verification program, and the smart meter verification program, when executed by a processor, implements the steps of the smart meter verification method.
The specific embodiment of the storage medium of the present invention is substantially the same as the embodiments of the smart meter calibration method described above, and details thereof are not repeated herein.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a smart meter to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A smart meter verification method is characterized by comprising the following steps:
calculating through an Integrity Checking Module (ICM) program according to a current program of the intelligent electric meter to obtain a first check code;
acquiring a second check code prestored in the current intelligent electric meter, wherein the second check code is calculated according to an ICM program;
and verifying the intelligent electric meter according to the first verification code and the second verification code.
2. The method for checking the smart meter of claim 1, wherein the step of checking the smart meter according to the first check code and the second check code comprises:
judging whether the first check code is the same as the second check code;
if the first check code is the same as the second check code, judging that the intelligent electric meter is verified successfully;
otherwise, judging that the intelligent electric meter fails to be verified.
3. The method for checking the smart meter of claim 1, wherein the step of calculating the first check code according to the current program of the smart meter by the integrity check module ICM program comprises:
if an upgrading request initiated by a user is received, controlling the intelligent ammeter to upgrade;
and calculating to obtain the second check code after the intelligent electric meter is upgraded through an ICM program according to the program after the intelligent electric meter is upgraded.
4. The method for checking the smart meter according to claim 3, wherein the step of controlling the smart meter to perform the upgrade includes:
downloading an upgrading program package;
checking the upgrading program package;
checking a post-upper identification flag;
judging whether the flag exists according to a starting program;
and if so, starting the program upgrading of the intelligent electric meter.
5. The method for checking a smart meter of claim 3, wherein the step of calculating the second check code after the smart meter is upgraded through an ICM program according to the program after the smart meter is upgraded comprises:
writing a program in an external flash memory flash into a flash inside a Micro Control Unit (MCU);
and calculating to obtain the second check code after the intelligent electric meter is upgraded through the ICM program according to the upgraded program in the flash inside the MCU.
6. The method for verifying the smart meter of claim 3, wherein after the step of calculating the second verification code after the smart meter upgrade according to the program after the smart meter upgrade by the ICM program, the method comprises:
and storing the second check code after the intelligent electric meter is upgraded in an EEPROM (electrically erasable programmable read-only memory).
7. The method for checking a smart meter according to claim 3, wherein the step of calculating the second check code after the smart meter is upgraded according to the program after the smart meter is upgraded by using an ICM program further comprises:
and calculating and acquiring the second check code by adopting one encryption algorithm of SHA1, SHA224 and SHA 256.
8. The utility model provides a smart electric meter calibration equipment which characterized in that, smart electric meter calibration equipment includes: the smart meter verification method comprises the following steps of a memory, a processor and a smart meter verification program stored on the memory and capable of running on the processor, wherein the steps of the smart meter verification method are realized according to any one of claims 1 to 7 when the smart meter verification program is executed by the processor.
9. A smart meter, characterized in that it comprises a smart meter verification device according to claim 8.
10. A storage medium, wherein the storage medium stores a smart meter verification program, and the smart meter verification program, when executed by a processor, implements the steps of the smart meter verification method according to any one of claims 1 to 7.
CN202011130119.2A 2020-10-20 2020-10-20 Smart electric meter calibration method and device, smart electric meter and storage medium Pending CN112346904A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011130119.2A CN112346904A (en) 2020-10-20 2020-10-20 Smart electric meter calibration method and device, smart electric meter and storage medium
PCT/CN2021/080260 WO2022083046A1 (en) 2020-10-20 2021-03-11 Smart electricity meter checking method and apparatus, smart electricity meter, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011130119.2A CN112346904A (en) 2020-10-20 2020-10-20 Smart electric meter calibration method and device, smart electric meter and storage medium

Publications (1)

Publication Number Publication Date
CN112346904A true CN112346904A (en) 2021-02-09

Family

ID=74359356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011130119.2A Pending CN112346904A (en) 2020-10-20 2020-10-20 Smart electric meter calibration method and device, smart electric meter and storage medium

Country Status (2)

Country Link
CN (1) CN112346904A (en)
WO (1) WO2022083046A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112988205A (en) * 2021-03-09 2021-06-18 威胜集团有限公司 Electric energy meter upgrading method, electric energy meter and computer readable storage medium
CN113037832A (en) * 2021-03-04 2021-06-25 杭州海兴电力科技股份有限公司 Electric energy meter file checking method and system
WO2022083046A1 (en) * 2020-10-20 2022-04-28 威胜集团有限公司 Smart electricity meter checking method and apparatus, smart electricity meter, and computer storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105844901A (en) * 2016-05-23 2016-08-10 光科技股份有限公司 Security energy efficiency monitoring terminal based on tamper-proof technology and monitoring method of security energy efficiency monitoring terminal
CN106325955A (en) * 2016-08-30 2017-01-11 威胜集团有限公司 Remote upgrading method of STS prepayment meter
CN111488166A (en) * 2020-04-28 2020-08-04 南方电网数字电网研究院有限公司 Method and device for upgrading software of management unit of double-core intelligent ammeter and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007103924A2 (en) * 2006-03-08 2007-09-13 Distribution Control Systems Intelligent fault detector system and method
CN111259387B (en) * 2018-12-03 2021-06-15 上海掌门科技有限公司 Method and device for detecting tampered application
CN110596636B (en) * 2019-09-10 2022-04-19 江阴长仪集团有限公司 Smart electric meter power-on loading correction method
CN111314133A (en) * 2020-02-14 2020-06-19 宁波三星智能电气有限公司 Ammeter communication module upgrading method, ammeter control module and ammeter communication module
CN111562952B (en) * 2020-07-16 2021-03-16 南方电网数字电网研究院有限公司 Dynamic loading method and dynamic loading device for double-core intelligent ammeter management unit
CN112346904A (en) * 2020-10-20 2021-02-09 威胜集团有限公司 Smart electric meter calibration method and device, smart electric meter and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105844901A (en) * 2016-05-23 2016-08-10 光科技股份有限公司 Security energy efficiency monitoring terminal based on tamper-proof technology and monitoring method of security energy efficiency monitoring terminal
CN106325955A (en) * 2016-08-30 2017-01-11 威胜集团有限公司 Remote upgrading method of STS prepayment meter
CN111488166A (en) * 2020-04-28 2020-08-04 南方电网数字电网研究院有限公司 Method and device for upgrading software of management unit of double-core intelligent ammeter and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022083046A1 (en) * 2020-10-20 2022-04-28 威胜集团有限公司 Smart electricity meter checking method and apparatus, smart electricity meter, and computer storage medium
CN113037832A (en) * 2021-03-04 2021-06-25 杭州海兴电力科技股份有限公司 Electric energy meter file checking method and system
CN112988205A (en) * 2021-03-09 2021-06-18 威胜集团有限公司 Electric energy meter upgrading method, electric energy meter and computer readable storage medium
WO2022188281A1 (en) * 2021-03-09 2022-09-15 威胜集团有限公司 Method for upgrading electric energy meter, electric energy meter and computer-readable storage medium

Also Published As

Publication number Publication date
WO2022083046A1 (en) 2022-04-28

Similar Documents

Publication Publication Date Title
CN112346904A (en) Smart electric meter calibration method and device, smart electric meter and storage medium
EP3889766B1 (en) Secure firmware upgrade method, device, on-board system, and vehicle
JP5975964B2 (en) Information processing program, information processing method, information processing apparatus, and information processing system
EP2863303B1 (en) Method for confirming correction program, confirming program for confirming correction program, and information processing apparatus
CN107924443B (en) Firmware upgrading method and system for process control device
US9792440B1 (en) Secure boot for vehicular systems
US20170346808A1 (en) Information device, data processing system, data processing method, and non-transitory storage medium
CN106940651B (en) POS terminal software upgrading method and device
JPH10282884A (en) Data processing method and its system
CN103329095B (en) Authenticate a hypervisor with encoded information
CN103729597A (en) System starting verifying method and device and terminal
WO2007097439A1 (en) Program execution control system, execution control method, execution control computer program
CN105453103A (en) Secure OS boot as per reference platform manifest and data sealing
CN110058867B (en) Application program mirror image packaging and installing method, computer device and storage medium
CN106919859B (en) Basic input output system protection method and device
CN111797038B (en) Burning control method, system, device, equipment and computer readable storage medium
CN115643564A (en) FOTA upgrading method, device, equipment and storage medium for automobile safety
CN117272317B (en) System safety starting method, electronic equipment and storage medium
US20150234646A1 (en) Method for Installing Security-Relevant Applications in a Security Element of a Terminal
CN113885907A (en) Firmware upgrading system and method
CN115543386A (en) Firmware encryption method, decryption method, processing device and medium
CN115357274A (en) Remote IO equipment firmware upgrading method and system
CN114036491A (en) Software management method, system and storage medium
CN109241728B (en) Method and device for acquiring password information, computer equipment and storage medium
CN105827413A (en) Electronic terminal, and system safety verification device and method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210209

RJ01 Rejection of invention patent application after publication