| CPC G06F 3/0622 (2013.01) [G06F 3/0653 (2013.01); G06F 3/0679 (2013.01)] | 14 Claims |

|
1. A card reader, comprising:
a storage device, configured to store specific identification data of a specific memory device, wherein the specific memory device is a secure digital (SD) memory card; and
a controller, coupled to the storage device, configured to receive identification data of an external memory device which is plugged into the card reader, and determine whether the external memory device is the specific memory device according to the identification data and the specific identification data, to generate a determination result;
wherein:
when the determination result indicates that the external memory device is not the specific memory device, the controller prevents opening permission of at least one function;
when the determination result indicates that the external memory device is the specific memory device, the controller detects a plugging pattern of the specific memory device to generate a detection result, and the plugging pattern comprises multiple write-protection-switch states of the SD memory card during multiple specific periods, respectively;
when the multiple write-protection-switch states do not match predetermined states, respectively, the controller prevents opening permission of the at least one function; and
when the multiple write-protection-switch states match the predetermined states, respectively, the controller opens permission of the at least one function.
|