# US 2021/0334353 A1 · Device authentication 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/0334353 A1
- Document ID: US20210334353A1
- Status: Published application
- Kind: A1
- Application number: 17/368,382
- Filed: 2021-07-06
- Published: 2021-10-28
- Earliest claimed: 2019-09-19
- Assignees: Huawei Technologies Co., Ltd.
- Applicants: Huawei Technologies Co., Ltd.
- Inventors: Jianfen Peng; Zhipeng Guo
- Web page: https://patentgrep.com/patent/US20210334353A1

## CPC

- G06F 21/44: Program or device authentication
- G06F 21/445: {by mutual authentication, e.g. between devices or programs}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 63/0869: {for achieving mutual authentication (cryptographic mechanisms or cryptographic arrangements for mutual authentication H04L9/3273)}
- H04W 4/48: for in-vehicle communication
- H04W 12/069: using certificates or pre-shared keys
- G06F 2221/2129: Authenticate client device independently of the user
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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

This application relates to an apparatus and a non-transitory computer readable medium applying to the internet of vehicles. Embodiments of this application implement a distributed authentication process, which including sending information used to indicate a to-be-authenticated device to the to-be-authenticated device. Compared with a centralized authentication mechanism, the authentication manner in the embodiments of this application reduces load of a device because one intermediate node does not need to perform authentication on a plurality of nodes. If the to-be-authenticated device fails to be authenticated, because the authentication is an authentication process related to a first service, the determined execution policy is an execution policy related to the first service, and the determined execution policy better meets a service requirement.

## Claims

### Claim 1

A device authentication method, comprising:
performing, by a second device, an authentication on a first device;
determining, by the second device when the authentication fails, a first execution policy based on a first service, wherein the authentication corresponds to the first service; and
indicating, by the second device, the first execution policy for performing.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the indicating, by the second device, the first execution policy for performing, comprises:
indicating, by the second device, execution of the first execution policy locally.

### Claim 3 (depends on 1)

The method according to claim 1, wherein the indicating, by the second device, the first execution policy for performing, comprises:
indicating, by the second device, the first execution policy to the first device for the first device to execute the first execution policy.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the first execution policy comprises: stopping working, or stopping using part of functions.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the performing the authentication on the first device, comprises:
performing the authentication on the first device based on a first signature, a first random number, and an identifier of the first device.

### Claim 6 (depends on 5)

The method according to claim 5, wherein the method further comprises:
receiving, by the second device, information of a first certificate from the first device, wherein the first certificate is a device certificate of the first device;
verifying, by the second device based on another certificate of the first device, whether the first certificate is correct;
generating, by the second device, the first random number when the first certificate is correct;
sending, by the second device, the first random number to the first device; and
receiving, by the second device from the first device, the first signature that is generated based on the first random number.

### Claim 7 (depends on 1)

The method according to claim 1, wherein the method further comprises:
receiving, by the second device from the first device, first information which is used to indicate the second device, wherein the authentication on the first device is performed responding to the first information.

### Claim 8 (depends on 6)

The method according to claim 6, wherein the information of the first certificate does not comprise subject attribute information of the first certificate.

### Claim 9 (depends on 6)

The method according to claim 6, wherein the information of the first certificate comprises one or any combination of the following information:
version information of the first certificate;
signer information of the first certificate;
subject information of the first certificate;
validity information of the first certificate; or
signature information of the first certificate.

### Claim 10

A communications apparatus, comprising:
a processor; and
a memory, wherein the memory is configured to store program instructions, and the processor coupled to the memory is configured to execute the instructions to:
perform, an authentication on a first device;
determine, when the authentication fails, a first execution policy based on a first service, wherein the authentication corresponds to the first service; and
indicate, the first execution policy for performing.

### Claim 11 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to execute the instructions to indicate, the first execution policy for performing by
indicating, execution of the first execution policy locally.

### Claim 12 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to indicate, the first execution policy for performing by
indicating, the first execution policy to the first device for the first device to execute the first execution policy.

### Claim 13 (depends on 10)

The apparatus according to claim 10, wherein the first execution policy comprises:
stopping working, or stopping using part of functions.

### Claim 14 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to execute the instructions to
perform the authentication on the first device based on a first signature, a first random number, and an identifier of the first device.

### Claim 15 (depends on 14)

The apparatus according to claim 14, wherein the processor is further configured to execute the instructions to:
receive, information of a first certificate from the first device, wherein the first certificate is a device certificate of the first device;
verify, based on another certificate of the first device, whether the first certificate is correct;
generate, the first random number when the first certificate is correct;
send, the first random number to the first device; and
receive, from the first device, the first signature that is generated based on the first random number.

### Claim 16 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to execute the instructions to:
receive, from the first device, first information which is used to indicate the communications apparatus, wherein the authentication on the first device is performed responding to the first information.

### Claim 17 (depends on 10)

The apparatus according to claim 10, wherein the processor is further configured to execute the instructions to:
receive, from the first device, the identifier of the first device.

### Claim 18 (depends on 15)

The apparatus according to claim 15, wherein the information of the first certificate does not comprise subject attribute information of the first certificate.

### Claim 19 (depends on 15)

The apparatus according to claim 15, wherein the information of the first certificate comprises one or any combination of the following information:
version information of the first certificate;
signer information of the first certificate;
subject information of the first certificate;
validity information of the first certificate; or
signature information of the first certificate.

### Claim 20

A communications system, comprising:
a first device; and
a second device communicating with the first device, wherein the second device is configured to
perform, an authentication on the first device;
determine, when the authentication fails, a first execution policy based on a first service, wherein the authentication corresponds to the first service; and
indicate, the first execution policy for performing.
