# US 2025/0156562 A1 · File management method, application management method, and electronic device

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

- Number: US 2025/0156562 A1
- Document ID: US20250156562A1
- Status: Published application
- Kind: A1
- Application number: 19/022,125
- Filed: 2025-01-15
- Published: 2025-05-15
- Earliest claimed: 2022-08-31
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Zhiwei Zhang; Daiyue Zhang; Ge Qiu; Xinjian Wang; Dehe Gu
- Web page: https://patentgrep.com/patent/US20250156562A1

## CPC

- G06F 16/122: {using management policies (point-in-time backing up or restoration of persistent data G06F11/1446; file migration policies for HSM systems G06F16/185)}
- G06F 21/62: Protecting access to data via a platform, e.g. using keys or access control rules
- G06F 8/61: Installation
- G06F 16/11: File system administration, e.g. details of archiving or snapshots (error detection or correction of the data by redundancy in operations G06F11/14)
- G06F 21/51: at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
- G06F 21/60: Protecting data
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F 2221/2141: Access rights, e.g. capability lists, access control lists, access tables, access matrices
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

In accordance with an embodiment, a method includes installing, by an electronic device, a first application from an application market, wherein the first application corresponds to a permission configuration file, the permission configuration file indicates an access permission for a file type approved by the application market through reviewing, and the first application is capable of using the file type; in response to the first application needing to access a file in the electronic device, requesting, by the first application, to apply for a first permission; displaying, by the electronic device, a first interface in response to the permission configuration file comprising the first permission, wherein the first interface is used to request a user to grant the first permission; and obtaining, by the first application, the first permission in response to a first operation in which the user agrees to grant the first permission.

## Claims

### Claim 1

A method, comprising:
installing, by an electronic device, a first application from an application market, wherein the first application corresponds to a permission configuration file, the permission configuration file indicates an access permission for a file type approved by the application market through reviewing, and the first application is capable of using the file type;
in response to the first application needing to access a file in the electronic device, requesting, by the first application, to apply for a first permission;
displaying, by the electronic device, a first interface in response to the permission configuration file comprising the first permission, wherein the first interface is used to request a user to grant the first permission; and
obtaining, by the first application, the first permission in response to a first operation in which the user agrees to grant the first permission.

### Claim 2 (depends on 1)

The method according to claim 1, further comprising:
skipping, by the electronic device, displaying the first interface in response to the permission configuration file not comprising the first permission.

### Claim 3 (depends on 1)

The method according to claim 1, further comprising:
installing, by the electronic device, a second application through the application market; and
in response to the second application needing to access the file in the electronic device, accessing, by the second application, the file in the electronic device through a file picker provided by an operating system of the electronic device.

### Claim 4 (depends on 3)

The method according to claim 3, wherein accessing, by the second application, the file in the electronic device through the file picker comprises:
displaying, by the electronic device, a second interface showing or more candidate files provided by the file picker;
receiving, by the electronic device, a second operation in which the user determines one or more target files from the one or more candidate files; and
obtaining, by the second application in response to the second operation, a permission to access the one or more target files.

### Claim 5 (depends on 3)

The method according to claim 3, wherein:
the first application is a management application that relies on accessing a plurality of file types in the electronic device to implement a main function of the management application; and
the second application is a non-management application that does not rely on accessing the plurality of file types in the electronic device to implement a main function of the non-management application.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the file in the electronic device is stored in a file management module, and the method further comprises:
accessing, by the first application, a target file through a first interface of the file management module, wherein a file type of the target file is the same as a file type associated with the first permission.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the permission configuration file comprises at least one of the following:
a permission to access or operate a picture/video file, a permission to access or operate an audio file, or a permission to access or operate a document file.

### Claim 8 (depends on 7)

The method according to claim 7, wherein:
the permission to access or operate the picture/video file comprises a permission to read, edit, delete, or create the picture/video file;
the permission to access or operate the audio file comprises a permission to read, edit, delete, or create the audio file; and
the permission to access or operate the document file comprises a permission to read, edit, delete, or create the document file.

### Claim 9 (depends on 1)

The method according to claim 1, wherein the file in the electronic device is stored in a corresponding preset directory based on the file type.

### Claim 10 (depends on 1)

The method according to claim 1, wherein the first application does not have a permission to create a new directory or a new file outside a preset directory that already exists in the electronic device.

### Claim 11 (depends on 1)

The method according to claim 1, wherein the file in the electronic device is stored in a file management module, and the method further comprises:
modifying, by the electronic device through the first application, metadata information of a target file stored in the file management module, wherein the file type of the target file is the same as a file type associated with the first permission; and
in response to the electronic device accessing the target file through a second application, obtaining, by the second application, metadata information that is of the target file and that is modified by the electronic device through the first application, wherein the second application is different from the first application.

### Claim 12

An application management method, comprising:
obtaining, by an application market from a developer of a first application, a data packet of the first application and a file access permission request associated with the first application;
reviewing, by the application market, whether the file access permission request is proper; and
configuring, by the application market, a permission configuration file for the first application based on the reviewing, wherein the permission configuration file indicates a permission, for a file type, that is approved by the application market based on the reviewing, wherein the first application is capable of using the file type.

### Claim 13 (depends on 12)

The method according to claim 12, wherein reviewing, by the application market, whether the file access permission request is proper comprises:
reviewing, by the application market based on an application type of the first application, whether the the file access permission request is proper.

### Claim 14 (depends on 13)

The method according to claim 13, wherein:
the application type comprises a management application and a non-management application;
the management application is an application that relies on accessing a plurality of file types in an electronic device to implement a main function of the management application; and
the non-management application is an application that does not rely on accessing the plurality of file types in the electronic device to implement a main function of the non-management application.

### Claim 15

An electronic device, comprising:
one or more processors; and
one or more memories with instructions stored thereon, wherein the instructions, whern executed by the one or more processors, enable the electronic device to:
install a first application from an application market, wherein the first application corresponds to a permission configuration file, and the permission configuration file indicates an access permission for a file type approved by the application market through reviewing, and the first application is capable of using the file type;
in response to the first application needing to access a file in the electronic device, request, by the first application, to apply for a first permission;
display a first interface in response to the permission configuration file comprising the first permission, wherein the first interface is used to request a user to grant the first permission; and
obtain, by the first application, the first permission in response to a first operation in which the user agrees to grant the first permission.

### Claim 16 (depends on 15)

The electronic device of claim 15, wherein the instructions, when executed by the one or more processors, further enable the electronic device to:
skip displaying the first interface in response to the permission configuration file not comprising the first permission.

### Claim 17 (depends on 15)

The electronic device of claim 15, wherein the instructions, when executed by the one or more processors, further enable the electronic device to:
install a second application through the application market; and
in response to the second application needing to access the file in the electronic device, access, by the second application, the file in the electronic device through a file picker provided by an operating system of the electronic device.

### Claim 18 (depends on 17)

The electronic device of claim 17, wherein the instructions, when executed by the one or more processors, further enable the electronic device to:
display a second interface, wherein the second interface showing one or more candidate files provided by the file picker;
receive a second operation in which the user determines one or more target files from the one or more candidate files; and
obtain, by the second application in response to the second operation, a permission to access the one or more target files.

### Claim 19 (depends on 17)

The electronic device of claim 17, wherein:
the first application is a management application, and the management application is an application that relies on a plurality of file types in the electronic device to implement a main function of the management application; and
the second application is a non-management application, and the non-management application is an application that does not rely on the plurality of file types in the electronic device to implement a main function of the non-management application.

### Claim 20 (depends on 15)

The electronic device of claim 15, wherein:
the file in the electronic device is stored in a file management module; and
when the instructions are executed by the one or more processors, the electronic device is further enabled to access, by the first application, a target file through a first interface of the file management module, wherein a file type of the target file is the same as a file type associated with the first permission.
