| CPC G06F 21/572 (2013.01) [G06F 8/63 (2013.01); G06F 21/602 (2013.01); G06F 21/64 (2013.01); G06F 9/4401 (2013.01)] | 20 Claims |

|
1. A method for implementing replacing a startup screen of a smart POS device, comprising:
StepS1: checking, by the smart POS device, whether an updating screen completing flag exists when detecting a startup, if yes, executing StepS3, otherwise, executing StepS2;
StepS2: reading, by the smart POS device, a screen mirror file from a default startup screen partition and taking the screen mirror file as a parameter, invoking a display driver program to display a default startup screen, executing StepS4;
Step3: reading, by the smart POS device, a mirror file from a backup partition and taking the mirror file as a parameter, invoking the display driver program to display a corresponding startup screen, executing StepS4;
StepS4: decrypting, by the smart POS device, an image data ciphertext by using a stored protection key when receiving the image data ciphertext, if decrypting is successful, executing StepS5;
StepS5: verifying, by the smart POS device, data obtained by successful decrypting, if verifying is successful, executing StepS6, if verifying is failed, reporting an error;
StepS6: generating, by the smart POS device, a mirror file of the startup screen according to the data obtained by successful decrypting and storing the mirror file;
StepS7: applying, by the smart POS device, for writing to the backup partition, and determining whether has a writing permission of the backup partition, if yes, executing StepS8; otherwise, reporting an error;
StepS8: clearing, by the smart POS device, the updating screen completing flag and starting to write the stored mirror file in the backup partition;
StepS9: determining, by the smart POS device, whether the mirror file is written in the backup partition completely, if yes, executing StepS10, otherwise, reporting an error;
StepS10: setting, by the smart POS device, the updating screen completing flag.
|