# US 2017/0364706 A1 · File Protection Method and Apparatus

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2017/0364706 A1
- Document ID: US20170364706A1
- Status: Published application
- Kind: A1
- Application number: 15/540,886
- Filed: 2014-12-30
- Published: 2017-12-21
- Earliest claimed: 2014-12-30
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jie Liu
- Web page: https://patentgrep.com/patent/US20170364706A1

## CPC

- G06F 21/6245: {Protecting personal data, e.g. for financial or medical purposes}
- G06F 21/6227: {where protection concerns the structure of data, e.g. records, types, queries}
- H04M 1/72463: to restrict the functionality of the device
- H04W 12/02: Protecting privacy or anonymity, e.g. protecting personally identifiable information [PII]
- H04M 1/66: with means for preventing unauthorised or fraudulent calling (verifying user identity or authority in secret or secure digital communications H04L9/32)
- H04M 2250/64: file transfer between terminals
- H04W 88/02: Terminal devices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- H04M: TELEPHONIC COMMUNICATION (circuits for controlling other apparatus via a telephone cable and not involving telephone switching apparatus G08)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

A file protection method, to resolve a problem that privacy of a file cannot be ensured by manually hiding the file or manually encrypting the file, is presented. The method includes obtaining, by a terminal device, a target file; determining, by the terminal device, whether the target file satisfies a preset file condition; when the target file satisfies the preset file condition, determining, by the terminal device, whether the target file satisfies a corresponding preset protection condition; and when the target file satisfies the preset protection condition, applying, by the terminal device, a corresponding protection solution to the target file. The embodiments of the present disclosure further provide a corresponding file protection apparatus.

## Claims

### Claim 1

A file protection method, comprising:
obtaining, by a terminal device, a target file;
determining, by the terminal device, whether the target file satisfies a preset file condition;
determining, by the terminal device, whether the target file satisfies a corresponding preset protection condition when the target file satisfies the preset file condition; and
applying, by the terminal device, a corresponding protection solution to the target file when the target file satisfies the preset protection condition.

### Claim 2 (depends on 1)

The file protection method according to claim 1, wherein the preset file condition comprises at least one of a preset file type, a file generation time, a file generation source, a file generation geographical location, or a file tag.

### Claim 3 (depends on 1)

The file protection method according to claim 1, wherein the preset protection condition comprises at least one of object information, voice information, text information, or geographical location information of a preset file.

### Claim 4 (depends on 1)

The file protection method according to claim 1, wherein determining, by the terminal device, whether the target file satisfies the corresponding preset protection condition comprises:
determining, by the terminal device when the target file is an image file, whether an attribute feature of the image file satisfies the preset protection condition, wherein the attribute feature of the image file comprises at least one of object information or geographical location information of the image file;
determining, by the terminal device when the target file is a video file, whether an attribute feature of the video file satisfies the preset protection condition, wherein the attribute feature of the video file comprises at least one of object information or voice information of the video file;
determining, by the terminal device when the target file is an email file, whether an attribute feature of the email file satisfies the preset protection condition, wherein the attribute feature of the email file comprises text information of the email file, and wherein the text information of the email file comprises at least one of keyword information, sender information, or recipient information; and
determining, by the terminal device when the target file is a text file, whether an attribute feature of the text file satisfies the preset protection condition, wherein the attribute feature of the text file comprises text information of the text file, and wherein the text information of the text file comprises at least one of keyword information or creator information.

### Claim 5 (depends on 1)

The file protection method according to claim 1, wherein applying, by the terminal device, the corresponding protection solution to the target file comprises executing at least one of the following protection solutions:
completely hiding, by the terminal device, the target file;
forbidding, by the terminal device, another application other than an application corresponding to the target file to access the target file; and
refreshing or stopping transmitting, by the terminal device, the target file when the target file is in an accidentally-transmitted slate.

### Claim 6 (depends on 1)

The file protection method according to claim 1, further comprising saving, by the terminal device, changed content when at least one of the preset file condition, the preset protection condition, or the protection solution is changed.

### Claim 7

A file protection apparatus, comprising:
a memory storing executable instructions; and
a computer processor coupled to the memory and configured to:
obtain a target file;
determine whether the target file satisfies a preset file condition;
determine whether the target file satisfies a corresponding preset protection condition when the target file satisfies the preset file condition; and
apply a corresponding protection solution to the target file when the target file satisfies the preset protection condition.

### Claim 8 (depends on 7)

The file protection apparatus according to claim 7, wherein the preset file condition comprises at least one of a preset file type, a file generation time, a file generation source, a file generation geographical location, or a file tag.

### Claim 9 (depends on 7)

The file protection apparatus according to claim 7, wherein the preset protection condition comprises at least one of object information, voice information, text information, or geographical location information of a preset file.

### Claim 10 (depends on 7)

The file protection apparatus according to claim 7, wherein the computer processor is further configured to:
determine, when the target file is an image file, whether an attribute feature of the image file satisfies the preset protection condition, wherein the attribute feature of the image file comprises at least one of object information or geographical location information of the image file;
determine, when the target file is a video file, whether an attribute feature of the video file satisfies the preset protection condition, wherein the attribute feature of the video file comprises at least one of object information or voice information of the video file;
determine, when the target file is an email file, whether an attribute feature of the email file satisfies the preset protection condition, wherein the attribute feature of the email file comprises text information of the email file, and wherein the text information of the email file comprises at least one of keyword information, sender information, or recipient information; and
determine, when the target file is a text file, whether an attribute feature of the text file satisfies the preset protection condition, wherein the attribute feature of the text file comprises text information of the text file, and wherein the text information of the text file comprises at least one of keyword information or creator information.

### Claim 11 (depends on 7)

The file protection apparatus according to claim 7, wherein the computer processor is farther configured to execute at least one of the following protection solutions:
completely hiding the target file;
forbidding another application other than an application corresponding to the target file to access the target file; and
refreshing or stopping transmitting the target file when the target file is in an accidentally-transmitted state.

### Claim 12 (depends on 7)

The file protection apparatus according to claim 7, the computer processor further configured to save changed content when at least one of the preset file condition, the preset protection condition, or the protection solution is changed.

### Claim 13 (depends on 2)

The file protection method according to claim 2, further comprising saving, by the terminal device, changed content when at least one of the preset file condition, the preset protection condition, or the protection solution is changed.

### Claim 14 (depends on 3)

The file protection method according to claim 3, further comprising saving, by the terminal device, changed content when at least one of the preset file condition, the preset protection condition, or the protection solution is changed.

### Claim 15 (depends on 4)

The file protection method according to claim 4, further comprising saving, by the terminal device, changed content when at least one of the preset file condition, the preset protection condition, or the protection solution is changed.

### Claim 16 (depends on 5)

The file protection method according to claim 5, further comprising saving, by the terminal device, changed content when at least one of the preset file condition, the preset protection condition, or the protection solution is changed.

### Claim 17 (depends on 8)

The file protection apparatus according to claim 8, the computer processor further configured to save changed content when at least one of the preset file condition, the preset protection condition, or the protection solution is changed.

### Claim 18 (depends on 9)

The file protection apparatus according to claim 9, the computer processor further configured to save changed content when at least one of the preset file condition, the preset protection condition, or the protection solution is changed.

### Claim 19 (depends on 10)

The file protection apparatus according to claim 10, the computer processor further configured to save changed content when at least one of the preset file condition, the preset protection condition, or the protection solution is changed.

### Claim 20

A non-transitory computer readable storage medium comprising instructions that, when executed, cause an apparatus to:
obtain a target file;
determine whether the target file satisfies a preset file condition, wherein the preset file condition comprises: at least one of a preset file type, a file generation time, a file generation source, a file generation geographical location, or a file tag;
determine whether the target file satisfies a corresponding preset protection condition when the target file satisfies the preset file condition, wherein the preset protection condition comprises: at least one of object information, voice information, text information, or geographical location information of a preset file; and
apply a corresponding protection solution to the target file when the target file satisfies the preset protection condition.
