# US 2023/0412364 A1 · Method and system for communicating with authenticator

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

- Number: US 2023/0412364 A1
- Document ID: US20230412364A1
- Status: Published application
- Kind: A1
- Application number: 18/027,727
- Filed: 2021-11-23
- Published: 2023-12-21
- Earliest claimed: 2020-12-31
- Assignees: Feitian Technologies Co., Ltd.
- Applicants: Feitian Technologies Co., Ltd.
- Inventors: Zhou LU; Huazhang YU
- Web page: https://patentgrep.com/patent/US20230412364A1

## CPC

- H04L 9/0819: {Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) (network architectures or network communication protocols for key distribution in a packet data network H04L63/062)}
- H04L 9/0643: {Hash functions, e.g. MD5, SHA, HMAC or f9 MAC}
- H04L 9/0844: {with user authentication or key authentication, e.g. ElGamal, MTI, MQV-Menezes-Qu-Vanstone protocol or Diffie-Hellman protocols using implicitly-certified keys}
- H04L 9/0861: {Generation of secret information including derivation or calculation of cryptographic keys or passwords}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 9/3073: {involving pairings, e.g. identity based encryption [IBE], bilinear mappings or bilinear pairings, e.g. Weil or Tate pairing}
- H04W 12/06: Authentication
- H04W 12/50: Secure pairing of devices
- 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

A method and system for communicating with an authenticator, which belongs to communication technology field. The method includes: the client generates a first client identification, a first authenticator identification and a first session key, broadcasts data including the first client identification according to a preset time interval; the authenticator scans the broadcast data, obtain a third key to verify the first client identification, generates a second authenticator identification and a second session key if the verifying is successful, notifies that the verifying is successful, stops scanning and broadcasts broadcast data including the second authenticator identification; the client stops broadcasting and scans the broadcast data sent from the authenticator, obtains and verifies the second authenticator identification in the broadcast data, establishes the Bluetooth connection with the authenticator if the verifying is successful; the client performs handshake operation and encryption communication operation.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method for communicating with an authenticator, comprising:
Step S1, obtaining, by a client, a first key stored in the client, generating a first client identification and a first authenticator identification according to the first key, obtaining a second key corresponding to the first key, generating a first session key according to the second key, and broadcasting data comprising the first client identification according to a preset time interval;
Step S2, scanning, by the authenticator, the broadcast data, obtaining the first client identification in the broadcast data, obtaining a third key stored in the authenticator, verifying the first client identification according to the third key, executing Step S3 if the verifying is successful, rescanning the broadcast data if the verifying is failed;
Step S3, generating, by the authenticator, a second authenticator identification according to the third key, obtaining a fourth key corresponding to the third key, generating a second session key according to the fourth key, notifying that the verifying of the first client identification is successful, and stopping scanning and broadcasting broadcast data comprising the second authenticator identification;
Step S4, stopping, by the client, broadcasting, starting to scan the broadcast data sent from the authenticator, parsing the broadcast data obtained by scanning to obtain the second authenticator identification, and verifying the second authenticator identification, establishing a Bluetooth connection with the authenticator and executing Step S5 if the verifying is successful, ending the procedure if the verifying is failed;
Step S5, obtaining, by the client, a first handshake key by computation with the first session key, performing computation on the client data with the first handshake key to obtain a client data digest value, and sending a handshake command comprising the client data and the client data digest value to the authenticator;
Step S6, obtaining, by the authenticator, the client data and the client data digest value according to the handshake command, obtaining a second handshake key by computation with the second session key, verifying the client data according to the second handshake key, the client data and the client data digest value, performing computation on the authenticator data with the second handshake key to obtain an authenticator data digest value if the verifying is successful, and sending a handshake response comprising the authenticator data and the authenticator data digest value to the client;
Step S7, obtaining, by the client, the authenticator data and the authenticator data digest value according to the handshake response, and verifying the authenticator data according to the first handshake key, the authenticator data and the authenticator digest value, executing Step S8 in case of a successful handshake if the verifying is successful; otherwise, performing disconnection;
Step S8, obtaining, by the client, a first encryption key by computation with the first session key, performing computation on operating data with the first encryption key to obtain encryption data, and sending an operating command comprising the encryption data to the authenticator; and
Step S9, obtaining, by the authenticator, the encryption data in the operating command, obtaining a second encryption key by computation with the second session key, decrypting the encryption data with the second encryption key to obtain operating data, performing corresponding operation according to the operating data to obtain operating result data, performing computation on the operating result data with the second encryption key to obtain operating response data, and sending an operating response comprising the operating response data to the client.

### Claim 22 (depends on 21)

The method according to claim 21, before Step S1, further comprising:
Step A1, generating, by the client, a client key pair, sending an extension register command to the authenticator, wherein the extension register command comprises a client version number and a client public key in the client key pair;
Step A2, obtaining, by the authenticator, the client public key and the client version number in the extension register command, generating an authenticator key pair, and generating a second parameter according to the client public key and an authenticator private key in the authenticator key pair;
Step A3, obtaining, by the authenticator, first preset data stored in the authenticator, generating a second initial pairing key according to the client public key, an authenticator public key in the authenticator key pair, the client version number, the first preset data stored in the authenticator and the second parameter, splitting the second initial paring key to obtain a third key and a fourth key, and storing the third key and the fourth key correspondingly;
Step A4, sending, by the authenticator, an extension register response to the client, wherein the extension register response comprises the authenticator public key and the client version number;
Step A5, obtaining, by the client, the authenticator public key and the client version number in the extension register response, and generating a first parameter according to a client private key in the client key pair and the authenticator public key; and
Step A6, obtaining, by the client, first preset data stored in the client, generating a first initial paring key according to the client public key, the authenticator public key, the client version number, the first preset data stored in the client and the first parameter, splitting the first initial paring key to obtain a first key and a second key, and storing the first key and the second key correspondingly.

### Claim 23 (depends on 21)

The method according to claim 21, wherein the verifying the first client identification according to the third key specifically is: obtaining, by the authenticator, a first preset field stored in the authenticator, a first random number and first data in the first client identification, performing computation on the first preset field and the first random number with the third key according to a fourth preset algorithm to obtain second data, determining whether the second data is identical to the first data, if yes, the verifying is successful, otherwise, the verifying is failed.

### Claim 24 (depends on 21)

The method according to claim 21, wherein the generating, by the authenticator, the second authenticator identification according to the third key specifically is: obtaining, by the authenticator, a second preset field stored in the authenticator, concatenating the first client identification and the second preset field in sequence, performing computation on the first client identification and the second preset field with the third key according to a fourth preset algorithm to obtain fourth data, and obtaining a preset byte in the fourth data as the second authenticator identification.

### Claim 25 (depends on 23)

The method according to claim 23, wherein the generating the second session key according to the fourth key specifically is: obtaining, by the authenticator, first preset data stored in the authenticator, and performing computation on the first random number and the first preset data stored in the authenticator with the fourth key according to a third preset algorithm to obtain the second session key.

### Claim 26 (depends on 21)

The method according to claim 21, wherein the verifying the second authenticator identification specifically is: comparing, by the client, the second authenticator identification with the first authenticator identification, wherein the verifying is successful if there is consistent comparison, otherwise, the verifying is failed.

### Claim 27 (depends on 21)

The method according to claim 21, wherein the obtaining, by the client, the first handshake key by computation with the first session key specifically is: obtaining, by the client, a second random number and second preset data stored in the client, and performing computation on the second random number and the second preset data stored in the client with the first session key according to a third preset algorithm to obtain the first handshake key.

### Claim 28 (depends on 21)

The method according to claim 21, wherein the obtaining the second handshake key by computation with the second session key specifically is: obtaining, by the authenticator, a fourth random number and second preset data stored in the authenticator, performing computation on the fourth random number and the second preset data stored in the authenticator with the second session key according to a third preset algorithm to obtain the second handshake key.

### Claim 29 (depends on 21)

The method according to claim 21, wherein in Step S3, the notifying that the verifying of the first client identification is successful, and stopping scanning and broadcasting the broadcast data comprising the second authenticator identification specifically is: establishing, by the authenticator, the Bluetooth connection with the client, broadcasting the broadcast data comprising the second authenticator identification when the Bluetooth connection is disconnected.

### Claim 30 (depends on 29)

The method according to claim 29, after the establishing, by the authenticator, the Bluetooth connection with the client, further comprising: sending, by the authenticator, a first unique identification address to the client, and receiving a second unique identification address sent from the client;
wherein the broadcast data further comprises the first unique identification address and the second unique identification address;
Step S4 specifically comprises: stopping, by the client, broadcasting, starting to scan the broadcast data comprising the first unique identification address and the second unique identification address, parsing the broadcast data obtained by scanning to obtain the second authenticator identification, and verifying the second authenticator identification, establishing the Bluetooth connection with the authenticator and executing Step S5 if the verifying is successful, ending the procedure if the verifying is failed.

### Claim 31

A system for communicating with an authenticator, comprising a client and an authenticator;
the client is configured to:
obtain a first key stored in the client;
generate a first client identification and a first authenticator identification according to the first key;
obtain a second key corresponding to the first key;
generate a first session key according to the second key;
broadcast data comprising the first client identification according to a preset time interval;
stop broadcasting, start to scan broadcast data sent from the authenticator, and parse the broadcast data obtained by scanning;
verify a second authenticator identification;
obtain a first handshake key by computation with the first session key, and perform computation on the client data with the first handshake key to obtain a client data digest value;
send a handshake command comprising the client data and the client data digest value to the authenticator;
obtain authenticator data and a authenticator digest value according to a handshake response;
verify the authenticator data according to the first handshake key, the authenticator data and the authenticator digest value;
obtain a first encryption key by computation with the first session key, and perform computation on operating data with the first encryption key to obtain encryption data; and
send an operating command comprising the encryption data to the authenticator;
the authenticator is configured to:
scan the broadcast data and obtain the first client identification from the broadcast data;
obtain a third key stored in the authenticator;
verify the first client identification according to the third key;
generate a second authenticator identification according to the third key;
obtain a fourth key corresponding to the third key;
generate a second session key according to the fourth key;
notify that the verifying of the first client identification is successful;
stop scanning and broadcast the broadcast data comprising the second authenticator identification;
obtain the client data and the client data digest value according to the handshake command;
obtain a second handshake key by computation with the second session key;
verify the client data according to the second handshake key, the client data and the client data digest value;
perform computation on the authenticator data with the second handshake key to obtain an authenticator data digest value;
send the handshake response comprising the authenticator data and the authenticator data digest value to the client;
obtain the encryption data in the operating command;
obtain a second encryption key by computation with the second session key;
decrypt the encryption data with the second encryption key to obtain operating data, perform corresponding operation according to the operating data to obtain operating result data, and perform computation on the operating result data with the second encryption key to obtain operating response data; and
send an operating response comprising the operating response data to the client.

### Claim 32 (depends on 31)

The system according to claim 31, wherein the client is further configured to:
generate a client key pair, send an extension register command to the authenticator, wherein the extension register command comprises a client version number and a client public key in the client key pair;
obtain an authenticator public key and a client version number in an extension register response, and generate a first parameter according to a client private key in the client key pair and the authenticator public key; and
obtain first preset data stored in the client, generate a first initial paring key according to the client public key, the authenticator public key, the client version number, the first preset data stored in the client and the first parameter, split the first initial paring key to obtain a first key and a second key, and store the first key and the second key correspondingly;
the authenticator is further configured to:
obtain the client public key and the client version number in the extension register command, generate an authenticator key pair, and generate a second parameter according to the client public key and an authenticator private key in the authenticator key pair;
obtain first preset data stored in the authenticator, generate a second initial pairing key according to the client public key, an authenticator public key in the authenticator key pair, the client version number, the first preset data stored in the authenticator and the second parameter, split the second initial paring key to obtain a third key and a fourth key, and store the third key and the fourth key correspondingly; and
send the extension register response to the client, wherein the extension register response comprises the authenticator public key and the client version number.

### Claim 33 (depends on 31)

The system according to claim 31, wherein the authenticator is further configured to obtain a first preset field stored in the authenticator, a first random number and first data in the first client identification, perform computation on the first preset field and the first random number with the third key according to a fourth preset algorithm to obtain second data, determine whether the second data is identical to the first data.

### Claim 34 (depends on 31)

The system according to claim 31, wherein the authenticator is further configured to obtain a second preset field stored in the authenticator, concatenate the first client identification and the second preset field in sequence, perform computation on the first client identification and the second preset field with the third key according to a fourth preset algorithm to obtain fourth data, and obtain a preset byte in the fourth data as the second authenticator identification.

### Claim 35 (depends on 33)

The system according to claim 33, wherein the authenticator is further configured to obtain first preset data stored in the authenticator, and perform computation on the first random number and the first preset data stored in the authenticator with the fourth key according to a third preset algorithm to obtain the second session key.

### Claim 36 (depends on 31)

The system according to claim 31, wherein the client is further configured to compare the second authenticator identification with the first authenticator identification, wherein the verifying is successful if there is consistent comparison, otherwise, the verifying is failed.

### Claim 37 (depends on 31)

The system according to claim 31, wherein the client is further configured to obtain a second random number and second preset data stored in the client, and perform computation on the second random number and the second preset data stored in the client with the first session key according to a third preset algorithm to obtain the first handshake key.

### Claim 38 (depends on 31)

The system according to claim 31, wherein the authenticator is further configured to obtain a fourth random number and second preset data stored in the authenticator, and perform computation on the fourth random number and the second preset data stored in the authenticator with the second session key according to a third preset algorithm to obtain the second handshake key.

### Claim 39 (depends on 31)

The system according to claim 31, wherein the authenticator is further configured to establish the Bluetooth connection with the client, and broadcast the broadcast data comprising the second authenticator identification when the Bluetooth connection is disconnected.

### Claim 40 (depends on 39)

The system according to claim 39, wherein the authenticator is further configured to send a first unique identification address to the client, and receive a second unique identification address sent from the client;
wherein the broadcast data further comprises the first unique identification address and the second unique identification address;
the client is further configured to stop broadcasting, start to scan the broadcast data comprising the first unique identification address and the second unique identification address, and parse the broadcast data obtained by scanning; and
the client is further configured to verify the second authenticator identification, and establish the Bluetooth connection with the authenticator if the verifying is successful.
