US 12,450,356 B2
Method for implementing replacing a startup screen of a smart POS device and apparatus thereof
Zhou Lu, Beijing (CN)
Assigned to Feitian Technologies Co., Ltd., Beijing (CN)
Appl. No. 18/694,418
Filed by Feitian Technologies Co., Ltd., Beijing (CN)
PCT Filed Sep. 2, 2022, PCT No. PCT/CN2022/116865
§ 371(c)(1), (2) Date Mar. 22, 2024,
PCT Pub. No. WO2023/061099, PCT Pub. Date Apr. 20, 2023.
Claims priority of application No. 202111194937.3 (CN), filed on Oct. 14, 2021.
Prior Publication US 2024/0394372 A1, Nov. 28, 2024
Int. Cl. G06F 1/24 (2006.01); G06F 8/61 (2018.01); G06F 21/57 (2013.01); G06F 21/60 (2013.01); G06F 21/64 (2013.01); G06F 9/4401 (2018.01)
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
OG exemplary drawing
 
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.