# US 2025/0168017 A1 · Method, apparatus, device and storage medium for device authentication and checking

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

- Number: US 2025/0168017 A1
- Document ID: US20250168017A1
- Status: Published application
- Kind: A1
- Application number: 18/836,689
- Filed: 2023-05-11
- Published: 2025-05-22
- Earliest claimed: 2022-06-07
- Assignees: Douyin Vision (Beijing) Co., Ltd.
- Applicants: Douyin Vision (Beijing) Co., Ltd.
- Inventors: Yangkun HUANG; Zhoushu HUANG
- Web page: https://patentgrep.com/patent/US20250168017A1

## CPC

- H04L 9/3263: {involving certificates, e.g. public key certificate [PKC] or attribute certificate [AC]; Public key infrastructure [PKI] arrangements (network architectures or network communication protocols for supporting authentication of entities using certificates in a packet data network H04L63/0823)}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/32: including means for verifying the identity or authority of a user of the system {or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials}
- H04L 9/3247: {involving digital signatures}
- H04L 9/40: Network security protocols
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

According to embodiments of this disclosure, a method, apparatus, device and storage medium for device authentication and checking are provided. The method of device authentication includes: sending, at a first device, a device activation request to a second device, the device activation request comprising identity authentication information of the first device; and in response to receiving an activation certificate from the second device, storing the activation certificate in a trusted environment associated with the first device. The method further includes: sending a certificate signing request to the second device, the certificate signing request being generated based at least in part on the activation certificate in the trusted environment; and storing a device certificate received from the second device in the trusted environment, the device certificate being generated based on the certificate signing request.

## Claims

### Claim 1

A method for device authentication, comprising:
sending, at a first device, a device activation request to a second device, the device activation request comprising identity authentication information of the first device;
in response to receiving an activation certificate from the second device, storing the activation certificate in a trusted environment associated with the first device;
sending a certificate signing request to the second device, the certificate signing request being generated based at least in part on the activation certificate in the trusted environment; and
storing a device certificate received from the second device in the trusted environment, the device certificate being generated based on the certificate signing request.

### Claim 2 (depends on 1)

The method of claim 1, further comprising:
establishing a secure connection between the first device and the device for transmission of at least one of: the device activation request, the activation certificate, the certificate signing request, or the device certificate.

### Claim 3 (depends on 1)

The method of claim 1, wherein storing the activation certificate in the trusted environment associated with the first device comprises:
performing signature verification on the activation certificate based on a first public key in a first asymmetric key pair, a first private key in the first asymmetric key pair being used by the second device to sign the activation certificate; and
in response to the signature verification being passed, storing the activation certificate in the trusted environment.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
generating a second asymmetric key pair in the trusted environment;
signing the certificate signing request with a second private key in the second asymmetric key pair; and
sending a second public key in the second asymmetric key pair to the second device.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
sending an activation acknowledgement to the second device.

### Claim at position 6

6-8. (canceled)

### Claim 9

A method for device authentication, comprising:
in response to receiving a device activation request from a first device, verifying, at a second device, identity authentication information of the first device indicated in the device activation request;
in response to the verification of the identity authentication information being successful, sending an activation certificate to the first device; and
in response to receiving a certificate signing request from the first device, sending a device certificate to the first device, the device certificate being generated based on the certificate signing request.

### Claim 10 (depends on 9)

The method of claim 9, wherein at least one of the device activation request, the activation certificate, the certificate signing request, or the device certificate is transmitted over a secure connection between the first device and the second device.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
signing the activation certificate with a first private key of a first asymmetric key pair; and
sending a first public key in the first asymmetric key pair to the first device.

### Claim 12 (depends on 9)

The method of claim 9, further comprising generating the device certificate by:
obtaining a second public key of a second asymmetric key pair from the certificate signing request, the second asymmetric key pair being generated in a trusted environment associated with the first device; and
generating the device certificate by signing the second public key.

### Claim 13 (depends on 9)

The method of claim 9, further comprising:
receiving an activation acknowledgement for the first device from the first device.

### Claim 14 (depends on 9)

The method of claim 9, further comprising checking the first device by:
in response to receiving a checking request from the first device, performing signature verification on the checking request with a second public key in a second asymmetric key pair, the second asymmetric key pair being generated in a trusted environment associated with the first device; and
sending a corresponding verification response to the first device based on a result of the signature verification.

### Claim at position 13

15-17. (canceled)

### Claim 18

An electronic device, comprising:
at least one processing unit; and
at least one memory coupled to the at least one processing unit and storing instructions for execution by the at least one processing unit, the instructions, when executed by the at least one processing unit, causing the electronic device to perform acts for device authentication, the acts comprising:
sending, at a first device, a device activation request to a second device, the device activation request comprising identity authentication information of the first device;
in response to receiving an activation certificate from the second device, storing the activation certificate in a trusted environment associated with the first device;
sending a certificate signing request to the second device, the certificate signing request being generated based at least in part on the activation certificate in the trusted environment; and
storing a device certificate received from the second device in the trusted environment, the device certificate being generated based on the certificate signing request.

### Claim 19

(canceled)

### Claim 20 (depends on 1)

The method of claim 1, wherein the identity authentication information of the first device comprises at least one of: a device identification, or password information.

### Claim 21 (depends on 14)

The method of claim 14, wherein performing the local verification on the activation certificate comprises verifying at least one of:
legality of the activation certificate, or
a validity period of the activation certificate.

### Claim 22 (depends on 14)

The method of claim 14, further comprising:
in response to the activation certificate passing the local verification, generating a checking request;
signing the checking request with a second private key of a second asymmetric key pair generated in the trusted environment, wherein the second public key of the second asymmetric key pair has been sent by the first device to the second device during a previous device authentication process; and
sending the signed checking request to the second device for identity checking of the first device in a remote service.

### Claim 23 (depends on 9)

The method of claim 9, wherein the identity authentication information of the first device comprises at least one of: a device identification, or password information.

### Claim 24 (depends on 18)

The device of claim 18, wherein the acts further comprise:
establishing a secure connection between the first device and the device for transmission of at least one of: the device activation request, the activation certificate, the certificate signing request, or the device certificate.

### Claim 25 (depends on 18)

The device of claim 18, wherein storing the activation certificate in the trusted environment associated with the first device comprises:
performing signature verification on the activation certificate based on a first public key in a first asymmetric key pair, a first private key in the first asymmetric key pair being used by the second device to sign the activation certificate; and
in response to the signature verification being passed, storing the activation certificate in the trusted environment.

### Claim 26 (depends on 18)

The device of claim 18, wherein the acts further comprise:
generating a second asymmetric key pair in the trusted environment;
signing the certificate signing request with a second private key in the second asymmetric key pair; and
sending a second public key in the second asymmetric key pair to the second device.

### Claim 27 (depends on 18)

The device of claim 18, wherein the acts further comprise:
sending an activation acknowledgement to the second device.
