US 11,720,275 B2
File reading method, non-transitory computer readable storage medium, and communication device for reading file from non-volatile memory
Chin Cheng, Hsinchu (TW); Yi-Xin Huang, Suzhou (CN); and Xiao-Lu Ma, Suzhou (CN)
Assigned to REALTEK SEMICONDUCTOR CORPORATION, Hsinchu (TW)
Filed by Realtek Semiconductor Corporation, Hsinchu (TW)
Filed on Mar. 25, 2021, as Appl. No. 17/212,172.
Claims priority of application No. 202011299901.7 (CN), filed on Nov. 19, 2020.
Prior Publication US 2022/0155963 A1, May 19, 2022
Int. Cl. G06F 3/06 (2006.01)
CPC G06F 3/065 (2013.01) [G06F 3/061 (2013.01); G06F 3/0659 (2013.01); G06F 3/0673 (2013.01); G06F 3/0679 (2013.01)] 18 Claims
OG exemplary drawing
 
1. A file reading method, comprising:
determining, by a processor, whether a file in a Subscriber Identity Module (SIM) card is stored in a non-volatile memory;
performing, by the processor, a reading process to read the file from the SIM card if the file is not stored in the non-volatile memory; and
storing, by the processor, the file into the non-volatile memory,
wherein performing the reading process to read the file from the SIM card comprises:
determining, by the processor, whether a reading access condition of the file matches a specific access condition level;
determining, by the processor, whether the reading process supports a short file identification (SFI) format if the reading access condition of the file matches the specific access condition level;
outputting, by the processor, a first selection command to select the file in the SIM card if the reading process fails to support the SFI format; and
outputting, by the processor, a first reading command to read the file from the SIM card.