# US 2021/0345111 A1 · Resource Access 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 2021/0345111 A1
- Document ID: US20210345111A1
- Status: Published application
- Kind: A1
- Application number: 17/373,460
- Filed: 2021-07-12
- Published: 2021-11-04
- Earliest claimed: 2014-10-24
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Kepeng Li
- Web page: https://patentgrep.com/patent/US20210345111A1

## CPC

- H04L 63/0884: {by delegation of authentication, e.g. a proxy authenticates an entity to be authenticated on behalf of this entity vis-à-vis an authentication entity}
- H04L 47/80: Actions related to the user profile or the type of traffic
- H04L 63/0892: {by using authentication-authorization-accounting [AAA] servers or protocols}
- H04L 63/102: {Entity profiles}
- H04L 67/12: specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04W 4/70: Services for machine-to-machine communication [M2M] or machine type communication [MTC]
- H04W 12/069: using certificates or pre-shared keys
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)

## Abstract

The present invention relates to the field of communication technologies, and particularly, to a resource access method and apparatus. In the solution, even if a client cannot directly communicate with an authorization server, the client can still initiate authorization verification to the authorization server by using a resource server. Then, the resource server returns a resource access response to the client when receiving an authorization response returned by the authorization server.

## Claims

### Claim 1

A resource access method, applied to an Internet of Things scenario, comprising:
sending, by a client device, a request for an unauthorized resource to a resource server;
receiving, by the client device from the resource server, receiving address information of an authorization server;
sending, by the client device to the authorization server according to the received address information of the authorization server, an authorization request carrying instruction information for obtaining a resource authorization;
receiving, by the client device, an authorization information identifier of authorization information issued by the authorization server;
sending, by the client device to a resource server, a resource access request carrying the authorization information identifier; and
receiving, by the client device, a resource access response returned by the resource server, wherein the resource access response is sent after the resource server receives an authorization response sent by the authorization server.

### Claim 2 (depends on 1)

The method according to claim 1, wherein after sending, to the resource server, the resource access request carrying the authorization information identifier, the method further comprises:
receiving an authorization verification failure response returned by the resource server, wherein the authorization verification failure response carries one or any combination of: information that the client device has no permission, information that permission owned by the client device does not accord with permission requested by the client device, or information that a local condition of a request of the client device for the resource does not meet a preset rule.

### Claim 3

A client device, applied to an Internet of Things scenario, comprising:
a memory storing executable instructions;
a processor configured to execute the executable instructions to perform operations of:
sending a request for an unauthorized resource to a resource server;
receiving, from the resource server, receiving address information of an authorization server;
sending an authorization request to the authorization server according to the received address information of the authorization server, wherein the authorization request carries instruction information for obtaining a resource authorization;
receiving an authorization information identifier of authorization information issued by the authorization server;
sending, to a resource server, a resource access request carrying the authorization information identifier; and
receiving a resource access response sent by the resource server, wherein the resource access response is sent after the resource server receives an authorization response sent by the authorization server.

### Claim 4 (depends on 3)

The client device according to claim 3, wherein the processor is configured to execute the executable instructions to perform further operations of:
receiving an authorization verification failure response returned by the resource server, wherein the authorization verification failure response carries one or any combination of: information that the client device has no permission, information that permission owned by the client device does not accord with permission requested by the client device, or information that a local condition of a request of the client device for the resource does not meet a preset rule.

### Claim 5

A resource server, applied to an Internet of Things scenario, comprising:
a memory storing executable instructions;
a processor configured to execute the executable instructions to perform operations of:
receiving a request for an unauthorized resource from a client device;
sending receiving address information of an authorization server to the client device;
receiving a resource access request that carries an authorization information identifier from the client device, wherein the authorization information identifier is issued by the authorization server;
sending an authorization request to the authorization server, wherein the authorization request comprises the authorization information identifier;
receiving an authorization response from the authorization server; and
sending a resource access response to the client device according to the authorization response.

### Claim 6

A authorization system, applied to an Internet of Things scenario, comprising:
a resource server comprising:
a first memory storing first executable instructions; and
a first processor configured to execute the first executable instructions to perform operations of:
receiving a request for an unauthorized resource from a client device;
sending receiving address information of an authorization server to the client device;
receiving a resource access request that carries an authorization information identifier from the client device, wherein the authorization information identifier is issued by the authorization server;
sending an authorization request to the authorization server, wherein the authorization request comprises the authorization information identifier;
receiving an authorization response from the authorization server; and
sending a resource access response to the client device according to the authorization response; and
an authorization server comprising:
a second memory storing second executable instructions; and
a second processor configured to execute the second executable instructions to perform operations of:
receiving the authorization request from the resource server, wherein the authorization request carries the authorization information identifier; and
sending an authorization response to the resource server according to the authorization information identifier.
