# US 2019/0357043 A1 · Bluetooth mesh network provisioning authentication

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

- Number: US 2019/0357043 A1
- Document ID: US20190357043A1
- Status: Published application
- Kind: A1
- Application number: 16/411,902
- Filed: 2019-05-14
- Published: 2019-11-21
- Earliest claimed: 2018-05-18
- Assignees: Alibaba Group Holding Limited
- Applicants: Alibaba Group Holding Limited
- Inventors: Junfeng Hu
- Web page: https://patentgrep.com/patent/US20190357043A1

## CPC

- H04W 12/06: Authentication
- H04L 9/0631: {Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms}
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/0866: {involving user or device identifiers, e.g. serial number, physical or biometrical information, DNA, hand-signature or measurable physical characteristics}
- H04L 9/0869: {involving random numbers or seeds}
- H04L 9/321: {involving a third party or a trusted authority}
- H04L 63/0876: {based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint}
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- H04W 12/71: Hardware identity
- H04W 80/02: Data link layer protocols
- H04L 2209/805: Lightweight hardware, e.g. radio-frequency identification [RFID] or sensor
- H04W 84/18: Self-organising networks, e.g. ad-hoc networks or sensor networks
- H04W: WIRELESS COMMUNICATION NETWORKS (broadcast communication H04H; communication systems using wireless links for non-selective communication, e.g. wireless extensions H04M1/72)
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A first set of device authentication parameters for a to-be-authenticated Bluetooth device in a Bluetooth mesh network is determined based at least in part on device identification information associated with the to-be-authenticated Bluetooth device. First authentication information is generated based at least in part on the first set of device authentication parameters and a first random number. The first authentication information and the first random number are forwarded to the to-be-authenticated Bluetooth device. Second authentication information and a second random number associated with the to-be-authenticated Bluetooth device are received, wherein the second authentication information is generated based at least in part on a second set of device authentication parameters and the second random number. The to-be-authenticated Bluetooth device is authenticated based at least in part on the second authentication information and the second random number.

## Claims

### Claim 1

A system, comprising:
a processor; and
a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions which when executed cause the processor to:
determine a first set of device authentication parameters for a to-be-authenticated Bluetooth device in a Bluetooth mesh network based at least in part on device identification information associated with the to-be-authenticated Bluetooth device;
generate first authentication information based at least in part on the first set of to device authentication parameters and a first random number;
forward the first authentication information and the first random number to the to-be-authenticated Bluetooth device so that the to-be-authenticated Bluetooth device can perform an authentication operation;
receive second authentication information and a second random number associated with the to-be-authenticated Bluetooth device, wherein the second authentication information is generated based at least in part on a second set of device authentication parameters and the second random number, wherein the second set of device authentication parameters matches the first set of device authentication parameters; and
authenticate the to-be-authenticated Bluetooth device based at least in part on the second authentication information and the second random number.

### Claim 2 (depends on 1)

The system of claim 1, wherein the device identification information includes a product identifier associated with the to-be-authenticated Bluetooth device, a media access control address associated with the to-be-authenticated Bluetooth device, or both.

### Claim 3 (depends on 1)

The system of claim 1, wherein the first set of device authentication parameters includes one or more of: a product identifier associated with the to-be-authenticated Bluetooth device, a media access control address associated with the to-be-authenticated Bluetooth device, and/or an authentication key associated with the to-be-authenticated Bluetooth device.

### Claim 4 (depends on 3)

The system of claim 3, wherein the authentication key corresponds on a one-to-one basis with the media access control address and/or the product identifier.

### Claim 5 (depends on 1)

The system of claim 1, wherein to generate the first authentication information includes to:
perform a hash function using the first set of device authentication parameters to generate an authentication value;
combine the authentication value with the first random number into a combined result; and
encrypt the combined result.

### Claim 6 (depends on 1)

The system of claim 1, wherein the first authentication information and the first random number are forwarded to the to-be-authenticated Bluetooth device via a gateway node in the Bluetooth mesh network.

### Claim 7 (depends on 1)

The system of claim 1, wherein the second authentication information and the second random number are received via a gateway node in the Bluetooth mesh network after having originated from the to-be-authenticated Bluetooth device.

### Claim 8 (depends on 1)

The system of claim 1, wherein to generate the second authentication information is includes to:
hash the second set of device authentication parameters to generate a second authentication value using a same hashing function that is used to hash the first set of device authentication parameters into a first authentication value;
combine the second authentication value with the second random number into a second combined result; and
encrypt the second combined result using a same encryption function that is used to encrypt a first combined result, wherein the first combined result is a combination of the first authentication value and the first random number.

### Claim 9 (depends on 1)

The system of claim 1, wherein to authenticate the to-be-authenticated Bluetooth device includes to:
hash the first set of device authentication parameters to generate an authentication value;
combine the authentication value with the second random number into a combined result;
apply an encryption operation to the combined result to produce comparison authentication information; and
determine whether the comparison authentication information matches the second authentication information.

### Claim 10 (depends on 1)

The system of claim 1, wherein the system includes a server node that is communicatively connected to one or more gateway nodes in the Bluetooth mesh network.

### Claim 11 (depends on 10)

The system of claim 10, wherein the server node is a cloud server, cloud host, or virtual data center server.

### Claim 12 (depends on 1)

The system of claim 1, wherein:
the first set of device authentication parameters is maintained by a server node in the Bluetooth mesh network;
the first authentication information and the first random number are generated by the server node or a device communicatively connected to the server node;
the second set of device authentication parameters are built into the to-be-authenticated Bluetooth device; and
the second authentication information and the second random number are generated by the to-be-authenticated Bluetooth device or a device communicatively connected to the to-be-is authenticated Bluetooth device.

### Claim 13 (depends on 1)

The system of claim 1, wherein the first random number is forwarded to the to-be-authenticated Bluetooth device via a gateway node after the gateway node receives the second authentication information from the to-be-authenticated Bluetooth device.

### Claim 14 (depends on 1)

The system of claim 1, wherein:
the first set of device authentication parameters is loaded onto a server in the Bluetooth mesh network before mutual authentication of the server and the to-be-authenticated Bluetooth device is performed; and
the second set of device authentication parameters is loaded onto the to-be-authenticated Bluetooth device before the mutual authentication of the server and the to-be-authenticated Bluetooth device is performed.

### Claim 15 (depends on 1)

The system of claim 1, wherein one or more of: the first authentication information, the first random number, the second authentication information, and the second random number are transmitted using a communication channel out of band of a communication channel used to transmit messages between nodes in the Bluetooth mesh network during operation of the Bluetooth mesh network unrelated to authentication.

### Claim 16 (depends on 1)

The system of claim 1, wherein the memory is further configured to provide the processor with instructions which when executed cause the processor to forward to the to-be-authenticated Bluetooth device via a gateway node in the Bluetooth mesh network a key that defines membership in the Bluetooth mesh network and possession of which grants access to the Bluetooth mesh network.

### Claim 17 (depends on 16)

The system of claim 16, wherein the gateway node is selected from a plurality of gateway nodes based at least in part on signal strengths of the to-be-authenticated Bluetooth device detected by the plurality of gateway nodes and/or priority levels of the plurality of gateway nodes.

### Claim 18

A method, comprising:
determining a first set of device authentication parameters for a to-be-authenticated Bluetooth device in a Bluetooth mesh network based at least in part on device identification information associated with the to-be-authenticated Bluetooth device;
generating first authentication information based at least in part on the first set of device authentication parameters and a first random number;
forwarding the first authentication information and the first random number to the to-be-authenticated Bluetooth device so that the to-be-authenticated Bluetooth device can perform an authentication operation;
receiving second authentication information and a second random number associated with the to-be-authenticated Bluetooth device, wherein the second authentication information is generated based at least in part on a second set of device authentication parameters and the second random number, wherein the second set of device authentication parameters matches the first set of device authentication parameters; and
authenticating the to-be-authenticated Bluetooth device based at least in part on the second authentication information and the second random number.

### Claim 19

A computer program product, the computer program product being embodied in a non-transitory computer readable storage medium and comprising computer instructions for:
determining a first set of device authentication parameters for a to-be-authenticated Bluetooth device in a Bluetooth mesh network based at least in part on device identification information associated with the to-be-authenticated Bluetooth device;
generating first authentication information based at least in part on the first set of device authentication parameters and a first random number;
forwarding the first authentication information and the first random number to the to-be-authenticated Bluetooth device so that the to-be-authenticated Bluetooth device can perform an authentication operation;
receiving second authentication information and a second random number associated with the to-be-authenticated Bluetooth device, wherein the second authentication information is generated based at least in part on a second set of device authentication parameters and the second random number, wherein the second set of device authentication parameters matches the first set of device authentication parameters; and
authenticating the to-be-authenticated Bluetooth device based at least in part on the second authentication information and the second random number.

### Claim 20

A system, comprising:
a processor of a gateway node in a Bluetooth mesh network; and
a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions which when executed cause the processor to:
detect device identification information associated with a to-be-authenticated Bluetooth device requesting access to the Bluetooth mesh network;
report the device identification information to a server node in the Bluetooth mesh network;
receive first authentication information and a first random number sent by the server node;
forward the first authentication information and the first random number to the to-be-authenticated Bluetooth device so that the to-be-authenticated Bluetooth device can authenticate the server node;
receive second authentication information and a second random number sent by the to-be-authenticated Bluetooth device; and
forward the second authentication information and the second random number to the server node so that the server node can authenticate the to-be-authenticated Bluetooth device.

### Claim 21

A system, comprising:
a processor of a to-be-authenticated Bluetooth device in a Bluetooth mesh network; and
a memory coupled with the processor, wherein the memory is configured to provide the processor with instructions which when executed cause the processor to:
broadcast device identification information so that a gateway node in the Bluetooth mesh network can forward the device identification information to a server node in the Bluetooth mesh network;
receive first authentication information and a first random number;
authenticate the server node based at least in part on the first authentication information and the first random number;
generate second authentication information based at least in part on built-in device authentication parameters and a second random number; and
forward the second authentication information and the second random number to the server node so that the server node can authenticate the to-be-authenticated Bluetooth device.
