# US 2024/0205672 A1 · Non-transitory computer-readable recording medium storing computer-readable instructions for terminal device, communication device, and non-transitory computer-readable recording medium storing computer-readable instructions for server

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

- Number: US 2024/0205672 A1
- Document ID: US20240205672A1
- Status: Published application
- Kind: A1
- Application number: 18/592,148
- Filed: 2024-02-29
- Published: 2024-06-20
- Earliest claimed: 2020-05-22
- Assignees: Brother Kogyo Kabushiki Kaisha
- Applicants: Brother Kogyo Kabushiki Kaisha
- Inventors: Takeshi MIYAKE
- Web page: https://patentgrep.com/patent/US20240205672A1

## CPC

- H04W 12/06: Authentication
- 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/14: using a plurality of keys or algorithms
- H04L 9/3271: {using challenge-response}
- H04L 61/50: Address allocation
- H04W 4/80: Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
- H04W 12/041: Key generation or derivation
- H04W 12/0431: Key distribution or pre-distribution; Key agreement
- H04W 12/55: involving three or more devices, e.g. group pairing
- H04W 60/00: Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
- H04W 76/10: Connection setup
- H04L 2101/622: Layer-2 addresses, e.g. medium access control [MAC] addresses
- H04L 2209/80: Wireless
- 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 terminal device may send to a first server a sending request, and receive from the first server first related information which is related to a first public key of a first communication device in response to the sending request being sent to the first server. The terminal device may send to the first communication device a first authentication request in which the first public key related to the first related information is used in a case where the first related information is received from the first server, and send first connection information to the first communication device in a case where a first authentication response is received from the first communication device in response to the first authentication request being sent to the first communication device. The first connection information may be for establishing a first wireless connection between the first communication device and an external device.

## Claims

### Claim 1

A non-transitory computer-readable recording medium storing computer-readable instructions for a terminal device, wherein
the terminal device comprises:
a wireless interface configured to execute wireless communication; and
a computer,
wherein the computer-readable instructions, when executed by the computer, cause the terminal device to:
receive from a first server a plurality of pieces of related information related to a plurality of public keys of a plurality of communication devices;
in a case where the plurality of pieces of related information is received from the first server, send to a first communication device among the plurality of communication devices a first authentication request in which a first public key of the first communication device is used via the wireless interface, the first public key being related to first related information among the plurality of pieces of related information;
in a case where a first authentication response is received from the first communication device via the wireless interface in response to the first authentication request being sent to the first communication device, send first connection information to the first communication device via the wireless interface, the first connection information being for establishing a first wireless connection between the first communication device and an external device;
in a case where the plurality of pieces of related information is received from the first server, send to a second communication device different from the first communication device among the plurality of communication devices a second authentication request in which a second public key of the second communication device is used via the wireless interface, the second public key being related to second related information different from the first related information among the plurality of pieces of related information; and
in a case where a second authentication response is received from the second communication device via the wireless interface in response to the second authentication request being sent to the second communication device, send second connection information to the second communication device via the wireless interface, the second connection information being for establishing a second wireless connection between the second communication device and the external device.

### Claim 2 (depends on 1)

The non-transitory computer-readable recording medium as in claim 1, wherein
the computer-readable instructions, when executed by the computer, further cause the terminal device to:
send a first registration request to the first communication device via the wireless interface after the first connection information has been sent to the first communication device, the first registration request being a signal for requesting the first communication device to execute a first registration process, and the first registration process being a process in which the first communication device sends to a second server first device information related to the first communication device via the external device by using the first wireless connection so as to register the first device information in the second server; and
send a second registration request to the second communication device via the wireless interface after the second connection information has been sent to the second communication device, the second registration request being a signal for requesting the second communication device to execute a second registration process, and the second registration process being a process in which the second communication device sends to the second server second device information related to the second communication device via the external device by using the second wireless connection so as to register the second device information in the second server.

### Claim 3 (depends on 2)

The non-transitory computer-readable recording medium as in claim 2, wherein
the computer-readable instructions, when executed by the computer, further cause the terminal device to:
receive from the second server one registration code to be used for both registration of the first device information and registration of the second device information,
wherein the first registration request including the one registration code is sent to the first communication device after the first connection information has been sent to the first communication device and the one registration code has been received from the second server,
the first registration process includes the first communication device sending to the second server the first device information and the one registration code included in the first registration request,
the second registration request including the one registration code is sent to the second communication device after the second connection information has been sent to the second communication device and the one registration code has been received from the second server, and
the second registration process includes the second communication device sending to the second server the second device information and the one registration code included in the second registration request.

### Claim 4

A communication device, comprising:
a wireless interface configured to execute wireless communication; and
a controller,
wherein the controller is configured to:
receive an authentication request in which a public key of the communication device is used via the wireless interface from a terminal device;
send an authentication response to the terminal device via the wireless interface in response to the authentication request being received from the terminal device;
in a case where the authentication response is sent to the terminal device, receive connection information from the terminal device via the wireless interface, the connection information being for establishing a wireless connection between the communication device and an external device;
in a case where the connection information is received from the terminal device, establish the wireless connection between the communication device and the external device via the wireless interface by using the connection information;
receive a registration request from the terminal device via the wireless interface after the connection information has been received from the terminal device; and
send to a server device information related to the communication device via the wireless interface and via the external device by using the wireless connection in response to the registration request being received from the terminal device so as to register the device information in the server.

### Claim 5 (depends on 4)

The communication device as in claim 4, wherein
the controller is further configured to:
generate a secret key corresponding to the public key by using identification information for identifying the communication device; and
in a case where the authentication request is received from the terminal device, execute authentication of information included in the authentication request by using the generated secret key,
wherein in a case where the authentication is successful, the authentication response is sent to the communication device, and
the controller is further configured to:
in a case where the authentication is successful, delete the secret key from the communication device.

### Claim 6 (depends on 5)

The communication device as in claim 5, wherein
the identification information is a MAC address of the wireless interface.

### Claim 7 (depends on 4)

The communication device as in claim 4, wherein
the registration request includes a registration code that has been sent to the terminal device from the server, the registration code being to be used for registration of the device information, and
the device information is registered in the server by sending to the server the device information and the registration code included in the registration request.
