US 12,008,121 B2
File processing method and terminal device
Xiwen Fang, Shanghai (CN); and Qiang Wei, Shenzhen (CN)
Assigned to HUAWEI TECHNOLOGIES CO., LTD., Shenzhen (CN)
Appl. No. 17/434,446
Filed by HUAWEI TECHNOLOGIES CO., LTD., Guangdong (CN)
PCT Filed Feb. 28, 2019, PCT No. PCT/CN2019/076567
§ 371(c)(1), (2) Date Aug. 27, 2021,
PCT Pub. No. WO2020/172874, PCT Pub. Date Sep. 3, 2020.
Prior Publication US 2022/0147641 A1, May 12, 2022
Int. Cl. G06F 21/62 (2013.01); G06F 21/31 (2013.01); G06F 21/60 (2013.01); G06F 21/10 (2013.01)
CPC G06F 21/6209 (2013.01) [G06F 21/31 (2013.01); G06F 21/602 (2013.01); G06F 21/606 (2013.01); G06F 21/107 (2023.08)] 20 Claims
OG exemplary drawing
 
1. A file processing method, comprising:
receiving, by a first terminal device, an encrypted file from a second terminal device;
storing, by the first terminal device, the encrypted file;
receiving, by the first terminal device, an access instruction for the encrypted file;
obtaining, by the first terminal device, a current security state; and
when the current security state is higher than or equal to a first security state, decrypting, by the first terminal device, the encrypted file by using a decryption key, wherein
the first security state is a security state corresponding to the decryption key.