# US 2022/0294623 A1 · Method, apparatus, and device for key generation and terminal provisioning

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

- Number: US 2022/0294623 A1
- Document ID: US20220294623A1
- Status: Published application
- Kind: A1
- Application number: 17/637,692
- Filed: 2020-08-31
- Published: 2022-09-15
- Earliest claimed: 2019-09-06
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Xiaobo Yu; Yuezhen Xiao; Hao Wang
- Web page: https://patentgrep.com/patent/US20220294623A1

## CPC

- H04L 9/0866: {involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics}
- H04L 41/0889: {Techniques to speed-up the configuration process}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/0869: {involving random numbers or seeds}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 41/0813: characterised by the conditions triggering a change of settings
- H04L 67/141: Setup of application sessions (admission control or resource allocation in data switching networks H04L47/70)
- H04W 12/041: Key generation or derivation
- H04W 12/50: Secure pairing of devices
- H04W 12/0471: Key exchange
- H04W 84/12: WLAN [Wireless Local Area Networks]
- 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

Provided in embodiments of the present application are a a key generation and terminal provisioning method, an apparatus, and a device thereof. The method for generating a key includes: sending, by an enrollee, a first request message to a configurator, the first request message comprising a first identifier, and the first identifier used to instruct the configurator to perform a network reconfiguration operation; receiving, by the enrollee, a first message sent by the configurator and including first key information; generating, by the enrollee, a session key according to the first key information; sending, by the enrollee, a second message to the configurator, the second message comprising second key information, thus allowing the configurator to generate the session key according to the second key information. In a process of an enrollee and a configurator performing provisioning for the first time, key information of each other is exchanged to generate a session key required for subsequent network reconfiguration performed on the enrollee, so that when the network reconfiguration is performed on the enrollee, it is unnecessary to perform an authentication process again, thereby improving the network configuration efficiency.

## Claims

### Claim at position 1

1-14. (canceled)

### Claim 15

A method for provisioning an enrollee by a configurator, comprising:
sending, by the enrollee, a first request message to the configurator, the first request message comprising a first identifier, and the first identifier indicating a network reconfiguration capability of the enrollee;
receiving, by the enrollee from the configurator, a first response message corresponding to the first request message, the first response message comprising first key information;
generating, by the enrollee, a session key according to the first key information; and
sending, by the enrollee to the configurator, a first confirm message corresponding to the first response message, the first confirm message comprising second key information, thus allowing the configurator to generate the session key according to the second key information; and the session key used in a network reconfiguration process performed by the configurator on the enrollee.

### Claim 16

(canceled)

### Claim 17

(canceled)

### Claim 18 (depends on 15)

The method according to claim 15,
wherein the first response message comprises first network configuration information of an access point.

### Claim 19 (depends on 18)

The method according to claim 18, further comprising:
sending, by the enrollee, a connection status query result message to the configurator:
receiving, by the enrollee from the configurator, a notification message: and
in response to the notification message, starting a network reconfiguration process.

### Claim 20

(canceled)

### Claim 21 (depends on 18)

The method according to claim 18, further comprising:
sending, by the enrollee, a second request message to the configurator, the second request message encrypted by the session key; and
receiving, by the enrollee from the configurator, a second response message corresponding to the second request message, the second response message comprising second network configuration information of the access point, and the second response message encrypted by the session key.

### Claim 22 (depends on 21)

The method according to claim 21, further comprising:
sending, by the enrollee to the configurator, a second confirm message corresponding to the second response message, the second confirm message encrypted by the session key.

### Claim 23

A terminal provisioning method for provisioning an enrollee by a configurator, comprising:
receiving, by a configurator, a first request message sent by an enrollee, the first request message comprising a first identifier, and the first identifier indicating a network reconfiguration capability of the enrollee;
sending, by the configurator to the enrollee, a first response message corresponding to the first request message, the first response message comprising first key information, thus allowing the enrollee to generate a session key according to the first key information;
receiving, by the configurator from the enrollee, a first confirm message corresponding to the first response message, the first confirm message comprising second key information; and
generating, by the configurator, the session key according to the second key information; and the session key used in a network reconfiguration process performed by the configurator on the enrollee.

### Claim 24

(canceled)

### Claim 25

(canceled)

### Claim 26 (depends on 23)

The method according to claim 23,
wherein the first response message comprises first network configuration information of an access point.

### Claim 27 (depends on 26)

The method according to claim 26, further comprising:
receiving, by the configurator, a connection status query result message sent by the enrollee:
sending, by the configurator, a notification message to the enrollee to cause the enrollee to start a network reconfiguration process.

### Claim 28

(canceled)

### Claim 29 (depends on 26)

The method according to claim 26, further comprising:
receiving, by the configurator, a second request message sent by the enrollee, the second request message encrypted by the session key; and
sending, by the configurator, a second response message corresponding to the second request message to the enrollee, the second response message encrypted by the session key, and the second response message comprising second network configuration information of the access point.

### Claim 30 (depends on 29)

The method according to claim 29, further comprising:
receiving, by the configurator from the enrollee, a second confirm message corresponding to the second response message, the second confirm message encrypted by the session key.

### Claim at position 18

31-60. (canceled)

### Claim 61

A method for provisioning a first network device by a second network device, comprising:
generating, by the first network device, first and second session keys;
receiving, by the first network device from the second network device, first network configuration information of an access point, the first network configuration information encrypted by the first session key;
accessing, by the first network device, the access point based on the first network configuration information;
sending, by the first network device to the second network device, a message indicating a connection state between the first network device and the access point;
receiving, by the first network device from the second network device, second network configuration information of the access point, the second network configuration information encrypted by the second session key, thereby facilitating a network reconfiguration process performed on the first network device.

### Claim 62 (depends on 61)

The method according to claim 61, wherein generating the first and second session keys comprises:
receiving, by the first network device from the second network device, an authentication request, the authentication request message comprising first random number information and second random number information; and
generating, by the first network device, the first session key and the second session key according to the first random number information, the second random number information, and third random number information and fourth random number information corresponding to the first network device.

### Claim 63 (depends on 62)

The method according to claim 62, further comprising:
sending, by the first network device to the second network device, an authentication response message corresponding to the authentication request message, the authentication response message comprising the third random number information and the fourth random number information, thus allowing the second network device to generate the first session key and the second session key according to the first random number information, the second random number information, and the third random number information and the fourth random number information.

### Claim 64 (depends on 61)

The method according to claim 61, wherein accessing the access point further comprises decrypting the first network configuration information using the first session key.

### Claim 65 (depends on 61)

The method according to claim 61, further comprising:
decrypting the second network configuration information using the second session key in order to re-access the access point.

### Claim 66

A computer system, comprising:
a memory; and
a processor, wherein the memory stores executable code, which when executed by the processor, causes the processor to perform a method for provisioning a first network device by a second network device, the method comprising:
generating, by the first network device, first and second session keys;
receiving, by the first network device from the second network device, first network configuration information of an access point, the first network configuration information encrypted by the first session key;
accessing, by the first network device, the access point based on the first network configuration information;
sending, by the first network device to the second network device, a message indicating a connection state between the first network device and the access point;
receiving, by the first network device from the second network device, second network configuration information of the access point, the second network configuration information encrypted by the second session key, thereby facilitating a network reconfiguration process performed on the first network device.

### Claim 67 (depends on 66)

The computer system of claim 66, wherein generating the first and second session keys comprises:
receiving, by the first network device from the second network device, an authentication request, the authentication request message comprising first random number information and second random number information; and
generating, by the first network device, the first session key and the second session key according to the first random number information, the second random number information, and third random number information and fourth random number information corresponding to the first network device.

### Claim 68 (depends on 67)

The computer system of claim 67, wherein the method further comprises:
sending, by the first network device to the second network device, an authentication response message corresponding to the authentication request message, the authentication response message comprising the third random number information and the fourth random number information, thus allowing the second network device to generate the first session key and the second session key according to the first random number information, the second random number information, and the third random number information and the fourth random number information.

### Claim 69 (depends on 66)

The computer system of claim 66, wherein accessing the access point further comprises decrypting the first network configuration information using the first session key.

### Claim 70 (depends on 66)

The computer system of claim 66, wherein the method further comprises:
decrypting the second network configuration information using the second session key in order to re-access the access point.
