US 12,261,943 B2
Communication system, non-transitory computer-readable medium storing computer-readable instructions for terminal device, first communication device and second communication device
Takeshi Shiotani, Nagoya (JP)
Assigned to BROTHER KOGYO KABUSHIKI KAISHA, Nagoya (JP)
Filed by BROTHER KOGYO KABUSHIKI KAISHA, Nagoya (JP)
Filed on Nov. 23, 2021, as Appl. No. 17/533,515.
Claims priority of application No. 2020-196940 (JP), filed on Nov. 27, 2020.
Prior Publication US 2022/0173892 A1, Jun. 2, 2022
Int. Cl. H04L 9/08 (2006.01); H04L 9/14 (2006.01)
CPC H04L 9/0825 (2013.01) [H04L 9/085 (2013.01); H04L 9/14 (2013.01)] 12 Claims
OG exemplary drawing
 
1. A communication system comprising:
a terminal device comprising a terminal memory;
a first communication device comprising a first memory configured to store first key information for encrypting and decrypting information; and
a second communication device comprising a second memory configured to store second key information for encrypting and decrypting information, wherein the first communication device is configured to externally send information indicating a first key included in the first key information, the second communication device is configured to externally send information indicating a second key included in the second key information;
the terminal device is configured to:
receive the information indicating the first key from the first communication device;
receive the information indicating the second key from the second communication device;
in response to sending a request to the first communication device, receive first encrypted connection information from the first communication device as a response to the request, the first encrypted connection information being information that is obtained and encrypted by the first communication device by using the first key information, and
the connection information being for establishing a wireless connection with a specific device;
in a case where the first encrypted connection information is received from the first communication device, decrypt the first encrypted connection information by using the first key indicated by the information received from the first communication device so as to obtain the connection information;
generate second encrypted connection information by encrypting the obtained connection information by using the second key indicated by the information received from the second communication device; and
send the second encrypted connection information to the second communication device;
the second communication device is further configured to:
receive the second encrypted connection information from the terminal device;
in a case where the second encrypted connection information is received from the terminal device, decrypt the second encrypted connection information by using the second key information so as to obtain the connection information; and
in a case where a user input is received on the second communication device, in response to selection of a button, for agreeing to establishing the wireless connection with the specific device, establish the wireless connection with the specific device by using the obtained connection information, wherein in a case where the button is not selected, the wireless connection with the specific device is not established;
wherein the first communication device is further configured to, in a case where another user input is received by selecting a specific button of the first communication device after the request has been received from the terminal device, send the first encrypted connection information to the terminal device as the response, wherein in a case where the specific button is not selected after the request has been received from the terminal device, the response is not sent to the terminal device.