Search

JP-7855984-B2 - Communication device, computer program for communication device, application program for terminal device, and terminal device

JP7855984B2JP 7855984 B2JP7855984 B2JP 7855984B2JP-7855984-B2

Inventors

  • 柴田 寛

Assignees

  • ブラザー工業株式会社

Dates

Publication Date
20260511
Application Date
20220930

Claims (13)

  1. A communication device, A Wi-Fi interface for performing wireless communication in accordance with the Wi-Fi standard, An output control unit causes an output unit to output a code image representing code information including the public key of the communication device and specific network identification information that identifies a specific wireless network. In the first case where the public key included in the code information is used by the terminal device in response to the code image being captured by a terminal device different from the communication device, a first connection information receiving unit performs a predetermined communication using the public key with the terminal device via the Wi-Fi interface and receives first connection information from the terminal device. A first establishment unit establishes a Wi-Fi connection with the target access point via the Wi-Fi interface using the first connection information, In the second case where the specific network identification information contained in the code information is used by the terminal device in response to the code image being captured by the terminal device, a second establishment unit establishes a Wi-Fi connection with the terminal device via the Wi-Fi interface, A second connection information receiving unit that receives second connection information from the terminal device via the Wi-Fi interface using the Wi-Fi connection with the terminal device, A third establishment unit establishes a Wi-Fi connection with the target access point using the second connection information, A communication device equipped with the following features.
  2. The aforementioned predetermined communication is communication in accordance with the Device Provisioning Protocol (DPP) of the Wi-Fi standard. The aforementioned predetermined communication is Receiving an authentication request using the public key from the terminal device, Sending an authentication response to the terminal device, Sending a connection information request to the terminal device, Receiving the first connection information from the terminal device, A communication device according to claim 1, including the following:
  3. The aforementioned communication device further, The communication device is equipped with a first state transition unit that transitions the operating state of the communication device from a non-master state, where it does not operate as a master station of the specific wireless network, to a master station state, where it operates as a master station. The communication device according to claim 1, wherein the output control unit causes the code image to output to the output unit after the operating state of the communication device has transitioned from the non-master state to the master state.
  4. The communication device according to claim 3, wherein the specific network identification information includes the Service Set Identifier (SSID) of the specific wireless network formed by the communication device operating as the master station.
  5. The aforementioned communication device further, The communication device according to claim 3, wherein in the first case, and when a predetermined signal is received from the terminal device via the Wi-Fi interface, the communication device is further comprising a second state transition unit that transitions the operating state of the communication device from the master station state to the non-master station state.
  6. The communication device according to claim 1, wherein the code information includes a predetermined identifier described in accordance with the Bootstrapping Information Format specified in the Device Provisioning Protocol (DPP) of the Wi-Fi standard, and the public key described following the predetermined identifier.
  7. In the second case described above, the target access point is one of the access points found by the communication device or terminal device through a search, as described in claim 1.
  8. A program for an application for a terminal device, The aforementioned terminal device is A Wi-Fi interface for performing wireless communication in accordance with the Wi-Fi standard, Computers and, Equipped with, The aforementioned application program controls the computer as follows: An acquisition unit that acquires specific information relating to a communication device, which includes the public key of the communication device and specific network identification information that identifies a specific wireless network. When the aforementioned specific information is obtained, a determination unit determines whether the terminal device is capable of performing a predetermined communication using the public key, In the first case where it is determined that the terminal device is capable of performing the predetermined communication, a first supply unit supplies the public key to the OS program, wherein the OS program, upon obtaining the public key from the application program, performs the predetermined communication with the communication device via the Wi-Fi interface and transmits first connection information to the communication device, the first connection information being information for establishing a Wi-Fi connection between the communication device and the target access point, the first supply unit, In the second case where it is determined that the terminal device is unable to perform the predetermined communication, a second supply unit supplies the specific network identification information to the OS program, wherein the OS program, upon obtaining the specific network identification information from the application program, establishes a Wi-Fi connection with the communication device via the Wi-Fi interface using the specific network identification information, the second supply unit A connection information transmission unit that transmits second connection information to the communication device via the Wi-Fi interface using the Wi-Fi connection with the communication device, wherein the second connection information is information for establishing a Wi-Fi connection between the communication device and the target access point, An application program that functions as such.
  9. The aforementioned predetermined communication is communication in accordance with the Device Provisioning Protocol (DPP) of the Wi-Fi standard. The aforementioned predetermined communication is The authentication request using the public key is transmitted to the communication device. Receiving an authentication response from the aforementioned communication device, Receiving a connection information request from the aforementioned communication device, Transmitting the first connection information to the communication device, The application program according to claim 8, including the following:
  10. The application program according to claim 8, wherein the acquisition unit acquires the specific information by decoding a code image representing the specific information when the code image is captured by the terminal device.
  11. The application program according to claim 8, wherein the specific network identification information includes the Service Set Identifier (SSID) of the specific wireless network formed by the communication device acting as the master station.
  12. A computer program for a communication device, The aforementioned communication device is A Wi-Fi interface for performing wireless communication in accordance with the Wi-Fi standard, Computers and, Equipped with, The aforementioned computer program comprises the following components of the computer, namely: An output control unit causes an output unit to output a code image representing code information including the public key of the communication device and specific network identification information that identifies a specific wireless network. In the first case where the public key included in the code information is used by the terminal device in response to the code image being captured by a terminal device different from the communication device, a first connection information receiving unit performs a predetermined communication using the public key with the terminal device via the Wi-Fi interface and receives first connection information from the terminal device. A first establishment unit establishes a Wi-Fi connection with the target access point via the Wi-Fi interface using the first connection information, In the second case where the specific network identification information contained in the code information is used by the terminal device in response to the code image being captured by the terminal device, a second establishment unit establishes a Wi-Fi connection with the terminal device via the Wi-Fi interface, A second connection information receiving unit that receives second connection information from the terminal device via the Wi-Fi interface using the Wi-Fi connection with the terminal device, A third establishment unit establishes a Wi-Fi connection with the target access point using the second connection information, A computer program that functions as such.
  13. A terminal device, A Wi-Fi interface for performing wireless communication in accordance with the Wi-Fi standard, An acquisition unit that acquires specific information relating to a communication device, which includes the public key of the communication device and specific network identification information that identifies a specific wireless network. When the aforementioned specific information is obtained, a determination unit determines whether or not the terminal device is capable of performing a predetermined communication using the public key, In the first case where it is determined that the terminal device is capable of performing the predetermined communication, a first connection information transmission unit performs the predetermined communication with the communication device via the Wi-Fi interface and transmits first connection information to the communication device, wherein the first connection information is information for establishing a Wi-Fi connection between the communication device and the target access point, In the second case where it is determined that the terminal device is unable to perform the predetermined communication, the establishment unit establishes a Wi-Fi connection with the communication device via the Wi-Fi interface using the specific network identification information, A second connection information transmission unit that transmits second connection information to the communication device via the Wi-Fi interface using the Wi-Fi connection with the communication device, wherein the second connection information is information for establishing a Wi-Fi connection between the communication device and the target access point. A terminal device equipped with the following features.

Description

This specification relates to a technology for establishing a Wi-Fi connection between a communication device and an access point using a terminal device. Non-patent document 1 describes the Device Provisioning Protocol (DPP), a wireless communication method developed by the Wi-Fi Alliance. DPP is a wireless communication method for easily establishing a Wi-Fi connection between a pair of devices. Japanese Patent Publication No. 2020-108064 Wi-Fi Easy Connect Specification Version 2.0, Wi-Fi Alliance, 2020 Figure 1 shows the configuration of the communication system.Figure 2 shows a sequence diagram of the processes performed between each device.Figure 3 shows the sequence diagram for Case A.Figure 4 shows the sequence diagram for Case B. (Configuration of communication system 2; Figure 1) As shown in Figure 1, the communication system 2 comprises two access points 6A and 6B, two terminals 10A and 10B, and a printer 100. Hereinafter, an access point will be referred to as "AP". This specification discloses a technology for establishing a wireless connection in accordance with the Wi-Fi standard between AP 6A or AP 6B and the printer 100 using terminal 10A or terminal 10B. Hereinafter, a wireless connection in accordance with the Wi-Fi standard will be referred to as "Wi-Fi connection". (Configuration of terminal 10A) Terminal 10A is a portable terminal device such as a mobile phone, smartphone, PDA, or tablet PC. In a modified example, terminal 10A may be a stationary PC, laptop PC, or the like. Terminal 10A comprises an operation unit 12A, a display unit 14A, a Wi-Fi interface 16A, a camera 18A, and a control unit 30A. Each unit 12A to 30A is connected to a bus line. Hereafter, the interface will be referred to as "I/F". The operation unit 12A is an interface that allows the user to input various information to the terminal 10A, and includes, for example, a touchscreen and buttons. The user can input various information to the terminal 10A via the operation unit 12A. The display unit 14A is a display for showing various information. The camera 18A is a device for photographing objects. In this embodiment, the camera 18A is used to photograph the QR code displayed on the printer 100. QR Code is a registered trademark of DENSO WAVE INCORPORATED. The Wi-Fi Interface 16A is a wireless interface for performing Wi-Fi communication in accordance with the Wi-Fi standard. The Wi-Fi standard is a wireless communication standard for performing wireless communication according to standards such as the 802.11 standard of the Institute of Electrical and Electronics Engineers, Inc. (IEEE), and equivalent standards such as 802.11a, 11b, 11g, 11n, and 11ac. In particular, the Wi-Fi Interface 16A supports the Device Provisioning Protocol (DPP) developed by the Wi-Fi Alliance. Details of DPP are described in the "Wi-Fi Easy Connect Specification Version 2.0" standard document created by the Wi-Fi Alliance. Furthermore, terminal 10A can establish a Wi-Fi connection with the AP by using the Service Set Identifier (SSID) and password of the wireless network formed by the AP. Hereafter, the password will be referred to as "PW". Wi-Fi communication utilizes radio waves in one of several frequency bands, including two frequency bands: 2.4 GHz and 5.0 GHz (for example, 1.0 GHz, 6.0 GHz). This specification assumes a scenario where Wi-Fi communication utilizes either the 2.4 GHz or 5.0 GHz frequency band. The Wi-Fi I/F16A supports both 2.4 GHz and 5.0 GHz. That is, the Wi-Fi I/F16A can perform both wireless communication using 2.4 GHz radio waves and wireless communication using 5.0 GHz radio waves. The control unit 30A comprises a CPU 32A and a memory 34A. The memory 34A stores the OS program 36A and the application program 38. The CPU 32A executes various processes according to the OS program 36A and the application program 38 stored in the memory 34A. The memory 34A is, for example, ROM or RAM. Hereafter, the OS program will be referred to as "OS," and the application program as "App." OS 36A controls the basic operation of terminal 10A. Application 38 can establish a Wi-Fi connection between terminal 10A and either AP6A or AP6B, or between printer 100 and AP6B, by causing OS 36A to execute processing according to DPP. Application 38 is downloaded, for example, from an internet server provided by the printer 100 vendor and installed on terminal 10A. Memory 34A further stores DPP support information. This DPP support information indicates that the Wi-Fi I/F16 supports DPP. (Configuration of terminal 10B) Terminal 10B is a portable terminal device such as a mobile phone, smartphone, PDA, or tablet PC. In a modified example, terminal 10B may be a stationary PC, laptop PC, or the like. Terminal 10B comprises an operation unit 12B, a display unit 14B, a Wi-Fi interface 16B, a camera 18B, and a control unit 30B. Each unit 12B to 30B is connected to a bus line. The control unit 30B comprises a CPU 32B and a memory 34B. The configuration