Firmware protection method for wireless meter reading module of electric energy meter

2012 
The invention relates to a firmware protection method for a wireless meter reading module of an electric energy meter. The method comprises the following steps: calculating the CRC checksum of a critical code section, comparing the CRC checksum with a preset checksum and terminating operation if a calculation result is not consistent with a preset result in a program; reading hardware feature information of the wireless meter reading module if the calculation result is consistent with the preset result; calculating the feature information with the use of a predetermined calculation method to generate a feature key; using a preset key writing method in a piece of firmware to write the feature key in the firmware if the preset key writing method is not deleted and deleting the writing method; and comparing the generated feature key with a feature key in the firmware if the key writing method in the firmware is deleted and continuing operation if the keys are consistent, or terminating operation. The method of the invention is easy to operate, the integrity and legitimacy of a program are protected when the uniqueness of the program is ensured by using the hardware feature data, and the firmware is not easy to crack.
    • Correction
    • Source
    • Cite
    • Save
    • Machine Reading By IdeaReader
    0
    References
    0
    Citations
    NaN
    KQI
    []