# US 11,029,897 B2 · Communication device, non-transitory computer-readable medium storing computer-readable instructions for communication device and method executed by communication device

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

- Number: US 11,029,897 B2
- Document ID: US11029897B2
- Status: Granted
- Kind: B2
- Application number: 16/419,389
- Filed: 2019-05-22
- Published: 2019-11-28
- Granted: 2021-06-08
- Earliest claimed: 2018-05-22
- Assignees: Brother Kogyo Kabushiki Kaisha
- Applicants: Brother Kogyo Kabushiki Kaisha
- Inventors: Hiroshi Shibata
- Web page: https://patentgrep.com/patent/US11029897B2

## CPC

- G06F 3/1222: {Increasing security of the print job}
- G06F 3/1236: {Connection management}
- G06F 3/1238: {Secure printing, e.g. user identification, user rights for device usage, unallowed content, blanking portions or fields of a page, releasing held jobs}
- G06F 3/1292: {Mobile client, e.g. wireless printing}
- G06F 21/608: {Secure printing}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 9/30: Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
- H04W 12/0431: Key distribution or pre-distribution; Key agreement
- H04W 12/0433: Key management protocols
- H04W 12/0471: Key exchange
- H04W 12/06: Authentication
- H04W 12/069: using certificates or pre-shared keys
- H04W 12/77: Graphical identity
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- 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 communication device may: comprise an output unit configured to output first information obtained by using a first public key in a memory in a case where a predetermined instruction is inputted to the communication device; after the first information has been outputted, receive an authentication request in which the first public key is used from a terminal device; send an authentication response to the terminal device; establish a wireless connection between the communication device and an external device; and in a case where a predetermined condition is satisfied after the first information has been outputted, create a second public key different from the first public key and store the second public key in the memory. In a case where the predetermined instruction is inputted to the communication device again, the output unit may be configured to output second information obtained by using the second public key in the memory.

## Claims

### Claim 1

A communication device comprising:
a first wireless interface;
a processor;
a memory storing computer-readable instructions therein and configured to store a first public key; and
an output unit configured to output first information obtained by using the first public key in the memory in a case where a predetermined instruction is inputted to the communication device after the first public key has been stored in the memory,
wherein the computer-readable instructions, when executed by the processor, cause the communication device to:
after the first information has been outputted, receive, via the first wireless interface, an authentication request in which the first public key is used from a terminal device that obtained the first public key;
in a case where the authentication request is received from the terminal device, send an authentication response, as a response for the authentication request, to the terminal device via the first wireless interface;
after the authentication response has been sent to the terminal device, receive connection information from the terminal device via the first wireless interface, the connection information being for establishing a wireless connection via the first wireless interface 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 via the first wireless interface between the communication device and the external device by using the connection information; and
in a case where a predetermined condition is satisfied after the first information has been outputted, create a second public key different from the first public key and store the second public key in the memory,
wherein in a case where the predetermined instruction is inputted again to the communication device after the second public key has been stored in the memory, the output unit is further configured to output second information obtained by using the second public key in the memory.

### Claim 2 (depends on 1)

The communication device as in claim 1, wherein
the predetermined condition is satisfied in a case where the connection information is received from the terminal device.

### Claim 3 (depends on 1)

The communication device as in claim 1, wherein
the output unit stops outputting the first information in a case where the authentication response is sent to the terminal device.

### Claim 4 (depends on 1)

The communication device as in claim 1, wherein
the predetermined condition is satisfied after the output unit has stopped outputting the first information.

### Claim 5 (depends on 1)

The communication device as in claim 1, wherein
the output unit is a display unit,
the first information is a first code image obtained by coding the first public key,
the second information is a second code image obtained by coding the second public key, and
the computer-readable instructions, when executed by the processor, further cause the communication device to:
cause the output unit which is the display unit to display the first information which is the first code image in the case where the predetermined instruction is inputted to the communication device; and
cause the output unit which is the display unit to display the second information which is the second code image in the case where the predetermined instruction is inputted to the communication device again.

### Claim 6 (depends on 5)

The communication device as in claim 5, wherein
the computer-readable instructions, when executed by the processor, further cause the communication device to:
create the first code image by using the first public key in the memory in the case where the predetermined instruction is inputted to the communication device; and
create the second code image by using the second public key in the memory in the case where the predetermined instruction is inputted to the communication device again.

### Claim 7 (depends on 1)

The communication device as in claim 1, wherein
the second public key is created in a case where the predetermined condition is satisfied after the first information has been outputted without the predetermined instruction being inputted to the communication device again.

### Claim 8 (depends on 1)

The communication device as in claim 1, wherein
the predetermined instruction includes at least one of: accepting a predetermined operation to an operating unit of the communication device from a user; and receiving a specific signal from the terminal device.

### Claim 9 (depends on 1)

The communication device as in claim 1, wherein
the computer-readable instructions, when executed by the processor, further cause the communication device to:
after the authentication response has been sent to the terminal device, cause a display unit of the communication device to display an execution screen indicating that a process for establishing the wireless connection is being executed.

### Claim 10 (depends on 1)

The communication device as in claim 1, wherein
the second public key is created by using information related to a communication traffic volume of the communication device.

### Claim 11 (depends on 1)

The communication device as in claim 1, wherein
the computer-readable instructions, when executed by the processor, further cause the communication device to:
transit an operation state of the communication device from a non-responsive state to a responsive state in the case where the predetermined instruction is inputted to the communication device, the non-responsive state being a state in which the authentication response is not sent even if the authentication request is received from the terminal device, and the responsive state being a state in which the authentication response is sent in the case where the authentication request is received from the terminal device,
wherein the authentication response is sent to the terminal device via the first wireless interface in a case where the authentication request is received from the terminal device after the operation state of the communication device has been transited from the non-responsive state to the responsive state.

### Claim 12 (depends on 11)

The communication device as in claim 11, wherein
the computer-readable instructions, when executed by the processor, further cause the communication device to:
transit the operation state of the communication device from the responsive state to the non-responsive state in a case where the second public key is created in a situation where the operation state of the communication device is the responsive state.

### Claim 13 (depends on 1)

The communication device as in claim 1, wherein
the computer-readable instructions, when executed by the processor, further cause the communication device to:
when power of the communication device is turned on, create the first public key and store the first public key in the memory.

### Claim 14 (depends on 1)

The communication device as in claim 1, wherein
the output unit is a print executing unit,
the first information is a first code image obtained by coding the first public key,
the second information is a second code image obtained by coding the second public key, and
the computer-readable instructions, when executed by the processor, further cause the communication device to:
cause the output unit which is the print executing unit to execute print of the first information which is the first code image in the case where the predetermined instruction is inputted to the communication device; and
cause the output unit which is the print executing unit to execute print of the second information which is the second code image in the case where the predetermined instruction is inputted to the communication device again,
wherein the predetermined condition is satisfied in a case where a predetermined time elapses since the print of the first information which is the first code image was executed.

### Claim 15 (depends on 14)

The communication device as in claim 14, wherein
the computer-readable instructions, when executed by the processor, further cause the communication device to:
cause the output unit which is the print executing unit to execute print of information indicating the predetermined time.

### Claim 16 (depends on 14)

The communication device as in claim 14, wherein
the computer-readable instructions, when executed by the processor, further cause the communication device to:
cause the output unit which is the print executing unit to execute print of information that is related to an application program for establishing the wireless connection by using the first public key.

### Claim 17 (depends on 14)

The communication device as in claim 14, wherein
the second public key is created in a case where the predetermined condition is satisfied due to the predetermined time elapsing before the authentication request is received from the terminal device,
the second public key is created in a case where the predetermined condition is satisfied due to the predetermined time elapsing after the connection information has been received from the terminal device, and
even if the predetermined condition is satisfied due to the predetermined time elapsing after the authentication request has been received from the terminal device and before the connection information is received from the terminal device, the second public key is not created, and after the connection information has been received from the terminal device, the second public key is created.

### Claim 18 (depends on 1)

The communication device as in claim 1, wherein
the predetermined condition is satisfied in a case where the wireless connection is established between the communication device and the external device.

### Claim 19 (depends on 18)

The communication device as in claim 18, wherein
the predetermined condition is satisfied in a case where the wireless connection is established between the communication device and the external device, and the communication device is capable of communicating with the terminal device via the external device.

### Claim 20 (depends on 18)

The communication device as in claim 18, wherein
the output unit is a second wireless interface, and
the output unit which is the second wireless interface is configured to:
send the first information externally in the case where the predetermined instruction is inputted to the communication device; and
send the second information externally in the case where the predetermined instruction is inputted to the communication device again,
wherein the computer-readable instructions, when executed by the processor, further cause the communication device to:
stop sending the first information via the second wireless interface in the case where the wireless connection is established between the communication device and the external device.

### Claim 21

A non-transitory computer-readable medium storing computer-readable instructions for a communication device,
wherein the communication device comprises:
a first wireless interface;
a memory configured to store a first public key; and
an output unit configured to output first information obtained by using the first public key in the memory in a case where a predetermined instruction is inputted to the communication device after the first public key has been stored in the memory,
wherein the computer-readable instructions, when executed by a processor of the communication device, cause the communication device to:
after the first information has been outputted, receive, via the first wireless interface, an authentication request in which the first public key is used from a terminal device that obtained the first public key;
in a case where the authentication request is received from the terminal device, send an authentication response as a response for the authentication request to the terminal device via the first wireless interface;
after the authentication response has been sent to the terminal device, receive connection information from the terminal device via the first wireless interface, the connection information being for establishing a wireless connection via the first wireless interface 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 via the first wireless interface between the communication device and the external device by using the connection information; and
in a case where a predetermined condition is satisfied after the first information has been outputted, create a second public key deferent from the first public key and store the second public key in the memory,
wherein in a case where the predetermined instruction is inputted again to the communication device after the second public key has been stored in the memory, the output unit is further configured to output second information obtained by using the second public key in the memory.

### Claim 22

A method executed by a communication device,
wherein the communication device comprises:
a first wireless interface;
a memory configured to store a first public key; and
an output unit configured to output first information obtained by using the first public key in the memory in a case where a predetermined instruction is inputted to the communication device after the first public key has been stored in the memory,
wherein the method comprises:
after the first information has been outputted, receiving, via the first wireless interface, an authentication request in which the first public key is used from a terminal device that obtained the first public key;
in a case where the authentication request is received from the terminal device, sending an authentication response as a response for the authentication request to the terminal device via the first wireless interface;
after the authentication response has been sent to the terminal device, receiving connection information from the terminal device via the first wireless interface, the connection information being for establishing a wireless connection via the first wireless interface between the communication device and an external device;
in a case where the connection information is received from the terminal device, establishing the wireless connection via the first wireless interface between the communication device and the external device by using the connection information; and
in a case where a predetermined condition is satisfied after the first information has been outputted, creating a second public key deferent from the first public key and store the second public key in the memory,
wherein in a case where the predetermined instruction is inputted again to the communication device after the second public key has been stored in the memory, the output unit is further configured to output second information obtained by using the second public key in the memory.
