Electronic device and file protection method
AssigneesHon Hai Precision Industry Co., Ltd., HONG FU JIN PRECISION INDUSTRY (ShenZhen) CO., LTD.
InventorXIN GUO
Life of this patent
Estimating the term…
Abstract
In a file protection method, when a request for opening a protected file is received, an environment image is captured, and character features in the environment image are extracted. The extracted character features are compared with character features of one or more authorized users that are pre-stored in a storage device, to determine if the environment image contains character features that match with the pre-stored character features of an authorized user. The content of the file is shown on the display device when the environment image contains character features that match with the pre-stored character features of an authorized user, and the file is forbidden to open when the environment image does not contain character features that match with the pre-stored character.
Claims19
An electronic device, comprising:
- a storage device stores a plurality of files;
- at least one processor;
- and
- one or more modules that are stored in the storage device and executed by the at least one processor, the one or more modules comprising instructions to:
- determine whether a file is a protected file when a request of opening the file is received;
- turn on a camera device of the electronic device, and capture an environment image of the electronic device using the camera device;
- extract character features in the environment image, compare the extracted character features with character features of one or more authorized users that are pre-stored in the storage device, and determine whether the environment image contains character features that matches with the pre-stored character features of an authorized user;
- and
- show the contents of the file on a display device when the environment image contains character features that matches with the pre-stored character features of an authorized user, and forbid the opening of the file when the environment image does not contain character features that matches with the pre-stored character features of an authorized user.
A file protection method implemented by an electronic device, comprising:
- determining whether a file is a protected file when a request of opening the file is received;
- turning on a camera device of the electronic device, and capturing an environment image of the electronic device using the camera device when the file is a protected file;
- extracting character features in the environment image, comparing the extracted character features with character features of one or more authorized users that are pre-stored in a storage device, and determining whether the environment image contains character features that matches with the pre-stored character features of an authorized user;
- and
- showing the contents of the file on a display device when the environment image contains character features that matches with the pre-stored character features of an authorized user, and forbidding the opening of the file when the environment image does not contain character features that matches with the pre-stored character features of an authorized user.
A non-transitory storage medium having stored thereon instructions that, when executed by processers of an electronic device, causes the processers to perform a file protection method, wherein the method comprises:
- determining whether a file is a protected file when a request of opening the file is received;
- turning on a camera device of the electronic device, and capturing an environment image of the electronic device using the camera device when the file is a protected file;
- extracting character features in the environment image, comparing the extracted character features with character features of one or more authorized users that are pre-stored in a storage device, and determining whether the environment image contains character features that matches with the pre-stored character features of an authorized user;
- and
- showing the contents of the file on a display device when the environment image contains character features that matches with the pre-stored character features of an authorized user, and forbidding the opening of the open the file when the environment image does not contain character features that matches with the pre-stored character.
Dependencies are inferred from the claim text.