# US 2025/0156565 A1 · Access Control 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 2025/0156565 A1
- Document ID: US20250156565A1
- Status: Published application
- Kind: A1
- Application number: 19/028,057
- Filed: 2025-01-17
- Published: 2025-05-15
- Earliest claimed: 2022-07-29
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Guangyu Zhou; Junhua Zhao
- Web page: https://patentgrep.com/patent/US20250156565A1

## CPC

- G06F 21/62: Protecting access to data via a platform, e.g. using keys or access control rules
- G06F 21/6209: {to a single file or object, e.g. in a secure envelope, encrypted and accessed using a key, or with access control rules appended to the object itself}
- G06F 21/00: Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F 21/44: Program or device authentication
- G06F 21/6218: {to a system of files or objects, e.g. local or distributed file system or database}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An access control method includes an apparatus that may perform authentication on an application based on a file request of the application to detect whether the application has permission to perform a target file operation on a target resource file. When the application has the corresponding permission, the apparatus may provide a corresponding system resource for the application, to meet a running requirement of the application. Further, system resources are integrated for centralized management on permission for the system resources such that configuration difficulty and costs can be effectively reduced, and overall processing efficiency of the apparatus can be improved.

## Claims

### Claim 1

A method comprising:
obtaining, from a first application, a first file request that is based on performance of a target file operation on a target resource file;
detecting, based on the first file request and preset permission information, whether the first application has an operation permission for the target file operation; and
invoking, based on the first file request and when the first application has the operation permission, system resources from a target service corresponding to the target resource file,
wherein the system resources comprise software entities and hardware entities for use in a running process of the first application.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
obtaining, from the first application, a second file request that is based on accessing the target resource file; and
determining, based on the second file request, that the first application has access permission,
wherein obtaining the first file request comprises obtaining the first file request responsive to the second file request indicating the first application has the access permission.

### Claim 3 (depends on 2)

The method of claim 2, wherein obtaining the a second file request comprises:
performing identity verification on the first application; and
obtaining, in response to the identity verification succeeding, the second file request.

### Claim 4 (depends on 3)

The method of claim 3, wherein the second file request comprises first identification information of the target resource file and second identification information of the first application, and wherein performing the identity verification on the first application comprises performing, based on the first identification information and the second identification information, the identity verification on the first application.

### Claim 5 (depends on 4)

The method of claim 4, wherein the first identification information is a file path of the target resource file.

### Claim 6 (depends on 1)

The method of claim 1, wherein the target file operation is a write operation, wherein the first file request comprises target data, and wherein invoking the system resources comprises writing the first target data into the system resources.

### Claim 7 (depends on 1)

The method of claim 1, wherein the target file operation is a read operation, and wherein invoking the system resources comprises:
reading, based on the first file request, target data from the system resources; and
transmitting, to the first application, the target data.

### Claim 8 (depends on 1)

The method of claim 1, wherein the target file operation comprises a read operation or a write operation.

### Claim 9

An apparatus comprising:
a memory configured to store instructions; and
at least one processor coupled to the memory, wherein the instructions when executed by the at least one processor, cause the apparatus to:
obtain, from a first application, a first file request that is based on performance of a target file operation on a target resource file;
detect, based on the first file request and preset permission information, whether the first application has an operation permission for the target file operation; and
invoke, based on the first file request and when the first application has the operation permission, system resources from a target service corresponding to the target resource file,
wherein the system resources comprise software entities and hardware entities for use in a running process of the first application.

### Claim 10 (depends on 9)

The apparatus of claim 9, wherein the instructions, when executed by the at least one processor, further cause the apparatus to:
obtain, through a first communication channel and from the first application, a second file request that is based on accessing the target resource file, wherein the second file request comprises first identification information of the target resource file and second identification information of the first application;
perform, based on the first identification information and the second identification information of, identity verification on the first application;
send, to the target service through a second communication channel and in response to the identity verification on the first application succeeding, the second file request;
determine, based on the second file request, that the first application has access permission; and
establish a third communication channel between the target service and the first application responsive to the first application having the access permission.

### Claim 11 (depends on 10)

The apparatus of claim 10, wherein the instructions, when executed by the at least one processor, further cause the apparatus to obtain, through the third communication channel and from the first application, the first file request responsive to the second file request indicating the first application has the access permission.

### Claim 12 (depends on 10)

The apparatus of claim 10, wherein the first identification information is a file path of the target resource file.

### Claim 13 (depends on 9)

The apparatus of claim 9, wherein the target file operation is a write operation, wherein the first file request comprises target data, and wherein the instructions, when executed by the at least one processor, further cause the apparatus to write the first target data into the system resources.

### Claim 14 (depends on 9)

The apparatus of claim 9, wherein the target file operation is a read operation, and wherein the instructions, when executed by the at least one processor, further cause the apparatus to:
read, based on the first file request, target data from the system resources; and
transmit, to the first application, the target data.

### Claim 15 (depends on 9)

The apparatus of claim 9, wherein the target file operation comprises a read operation or a write operation.

### Claim 16

A computer program product comprising computer-executable instructions that are stored on a non-transitory computer-readable storage medium and that, when executed by at least one processor, cause an electronic device to:
obtain, from a first application, a first file request that is based on performance of a target file operation on a target resource file;
detect, based on the first file request and preset permission information, whether the first application has an operation permission for the target file operation; and
invoke, based on the first file request and when the first application has the operation permission, system resources from a target service corresponding to the target resource file,
wherein the system resources comprise software entities and hardware entities for use in a running process of the first application.

### Claim 17 (depends on 16)

The computer program product of claim 16, wherein the computer-executable instructions, when executed by the at least one processor, further cause the electronic device to:
obtain, from the first application, a second file request that is based on accessing the target resource file;
determine, based on the second file request, that the first application has access permission; and
obtain the first file request responsive to the second file request indicating the first application has the access permission.

### Claim 18 (depends on 17)

The computer program product of claim 17, wherein the computer-executable instructions, when executed by the at least one processor, further cause the electronic device to:
perform identity verification on the first application; and
obtain, in response to the identity verification on the first application is succeeding, the second file request.

### Claim 19 (depends on 18)

The computer program product of claim 18, wherein the second file request comprises first identification information of the target resource file and second identification information of the first application, and wherein the computer-executable instructions, when executed by the at least one processor, further cause the electronic device to perform, based on the first identification information and the second identification information, the identity verification on the first application.

### Claim 20 (depends on 19)

The computer program product of claim 19, wherein the first identification information is a file path of the target resource file.
