Connectivity applications for communication systems and terminals
Patent Information
- Application Number
- JP2023187809
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-11-01
- Publication Date
- 2025-02-19
- Estimated Expiration
- 2039-08-30
Smart Images

Figure 0007632565000001 
Figure 0007632565000002 
Figure 0007632565000003
Abstract
Description
[Technical field]
[0001] SUMMARY Techniques are disclosed herein for establishing a wireless connection between a pair of devices. [Background technology]
[0002] Non-Patent Document 1 discloses the Device Provisioning Protocol method (hereinafter referred to as the "DPP method"), which is a wireless communication method established by the Wi-Fi Alliance. The DPP method is a method for easily establishing a wireless connection between a pair of devices in accordance with the Wi-Fi standard. [Prior art documents] [Non-patent literature]
[0003] [Non-Patent Document 1] “Device Provisioning Protocol Technical Specification Version 1.0” Wi-Fi Alliance, 2018 Summary of the Invention [Problem to be solved by the invention]
[0004] This specification provides a technique that enables a user of a terminal to easily establish a wireless connection between a pair of devices using the terminal. [Means for solving the problem]
[0005] The communication system disclosed in the present specification may include a communication device, a terminal, and a server. The terminal includes a terminal-side wireless interface for performing wireless communication according to a predetermined communication method of the Wi-Fi standard, a display unit, a computer program, a browser program, and a terminal-side memory for storing a connection application for establishing a wireless connection between a pair of devices, a first acquisition unit for acquiring location information of the server and related information related to a public key of the communication device by using the computer program, a web page request transmission unit for transmitting a web page request including at least the location information to the server by using the browser program, a web page reception unit for receiving web page data corresponding to the location information from the server by using the browser program in response to the web page request being transmitted to the server, a display control unit for displaying a web page represented by the web page data on the display unit by using the browser program, and a display control unit for displaying a web page represented by the web page data on the display unit by using the browser program when a predetermined operation is accepted on the web page. The communication device may further include a launch control unit that launches the connection application using a program, a second acquisition unit that acquires the public key related to the related information using the connection application, an authentication request sending unit that uses the connection application to send an authentication request according to the specified communication method to the communication device via the terminal-side wireless interface, the authentication request using the public key, an authentication response receiving unit that uses the connection application to receive an authentication response according to the specified communication method from the communication device via the terminal-side wireless interface using the connection application in response to the authentication request being sent to the communication device, and a terminal-side communication execution unit that uses the connection application to execute target communication with the communication device via the terminal-side wireless interface when the authentication response is received from the communication device, the target communication being communication for establishing a wireless connection between a pair of devices.
[0006] According to the above configuration, a user of a terminal can start a connection application by performing a predetermined operation on a web page, and can establish a wireless connection between a pair of devices according to the connection application. Therefore, the user does not need to start the connection application by selecting an icon of the connection application from among multiple icons displayed on the terminal. Therefore, the user can easily establish a wireless connection between a pair of devices using the terminal.
[0007] This specification also discloses a connection application for a terminal. The terminal may include a terminal-side wireless interface for performing wireless communication according to a predetermined communication method of the Wi-Fi standard, a display unit, a computer program, a browser program, a terminal-side memory for storing the connection application for establishing a wireless connection between a pair of devices, and a computer. The computer program may cause the computer to function as the following units, that is, a first acquisition unit for acquiring location information of a server and related information related to a public key of a communication device, and the browser program may cause the computer to function as the following units, that is, a webpage request transmission unit for transmitting a webpage request including at least the location information to the server, a webpage reception unit for receiving webpage data corresponding to the location information from the server in response to the webpage request being transmitted to the server, a display control unit for displaying a webpage represented by the webpage data on the display unit, and a start control unit for starting the connection application when a predetermined operation is accepted on the webpage. The connection application may cause the computer to function as the following units: a second acquisition unit that acquires the public key related to the related information; an authentication request sending unit that sends an authentication request according to the specified communication method using the public key to the communication device via the terminal-side wireless interface; an authentication response receiving unit that receives an authentication response according to the specified communication method from the communication device via the terminal-side wireless interface in response to the authentication request being sent to the communication device; and a terminal-side communication execution unit that, when the authentication response is received from the communication device, executes target communication with the communication device according to the specified communication method via the terminal-side wireless interface, where the target communication is communication for establishing a wireless connection between a pair of devices.
[0008] According to the above configuration, a user of a terminal can start a connection application by performing a predetermined operation on a web page, and can establish a wireless connection between a pair of devices according to the connection application. Therefore, the user does not need to start the connection application by selecting an icon of the connection application from among multiple icons displayed on the terminal. Therefore, the user can easily establish a wireless connection between a pair of devices using the terminal.
[0009] This specification also discloses a communication device, which is a housing on which a sticker showing a code image obtained by encoding a device-side wireless interface for performing wireless communication according to a predetermined communication method of the Wi-Fi standard, location information of a server, and related information related to a public key of the communication device is attached, the location information is used by a terminal to receive web page data from the server and display a web page represented by the web page data, and when a predetermined operation is accepted on the web page, a connection application of the terminal is started, and the connection application is an application for obtaining the public key related to the related information and establishing a wireless connection between a pair of devices. The housing may be an option, and the communication device may include an authentication request receiving unit that receives an authentication request in accordance with the specified communication method from the terminal that has acquired the public key via the device-side wireless interface, the authentication request using the public key, an authentication response sending unit that sends the authentication response to the terminal via the device-side wireless interface when the authentication request is received from the terminal, and a device-side communication execution unit that executes target communication with the terminal in accordance with the specified communication method via the device-side wireless interface when the authentication response is sent to the terminal, the target communication being communication for establishing a wireless connection between a pair of devices.
[0010] According to the above configuration, the user of the terminal can have the terminal acquire the server's location information and related information by having the terminal capture a code image of a sticker attached to the housing of the communication device. In this case, the terminal can display a web page using the location information. The user can start a connection application by performing a predetermined operation on the web page, and can establish a wireless connection between a pair of devices according to the connection application. Therefore, the user does not need to start the connection application by selecting an icon of the connection application from multiple icons displayed on the terminal, for example. Therefore, the user can easily establish a wireless connection between a pair of devices using the terminal.
[0011] This specification also discloses the following communication device: The communication device includes a device-side wireless interface for performing wireless communication according to a predetermined communication method of the Wi-Fi standard, and an output control unit for performing output control processing for outputting to the outside location information of a server and related information related to a public key of the communication device, the location information being used by a terminal to receive web page data from the server and display a web page represented by the web page data, and when a predetermined operation is accepted on the web page, a connection application of the terminal is started, the connection application being an application for obtaining the public key related to the related information and establishing a wireless connection between a pair of devices. The output control unit, and the communication device may also include an authentication request receiving unit that receives an authentication request in accordance with the specified communication method from the terminal that has acquired the public key via the device-side wireless interface, the authentication request using the public key, an authentication response sending unit that sends the authentication response to the terminal via the device-side wireless interface when the authentication request is received from the terminal, and a device-side communication execution unit that executes target communication with the terminal in accordance with the specified communication method via the device-side wireless interface when the authentication response is sent to the terminal, the target communication being communication for establishing a wireless connection between a pair of devices.
[0012] According to the above configuration, the user of the terminal can cause the terminal to acquire the server's location information and related information output from the communication device. In this case, the terminal can display a web page using the location information. The user can start a connection application by performing a predetermined operation on the web page, and can establish a wireless connection between a pair of devices according to the connection application. Therefore, the user does not need to start the connection application by selecting an icon of the connection application from among multiple icons displayed on the terminal, for example. Therefore, the user can easily establish a wireless connection between a pair of devices using the terminal.
[0013] The terminal itself and a method executed by the terminal are also novel and useful. A computer-readable recording medium storing the connection application is also novel and useful. Also, a method executed by the communication device, a computer program for implementing the communication device, and a computer-readable recording medium storing the computer program are also novel and useful. [Brief description of the drawings]
[0014] [Figure 1] 1 shows a schematic configuration of a communication system. [Diagram 2] The control configuration of each device is shown. [Diagram 3] 1 shows a schematic sequence diagram of a process for establishing a Wi-Fi connection between a printer and an access point. [Figure 4] A sequence diagram of Bootstrapping process is shown below. [Diagram 5] A sequence diagram of authentication process is shown below. [Figure 6] A sequence diagram of Configuration processing is shown below. [Figure 7] FIG. 13 is a sequence diagram of a bootstrap processing according to the first embodiment. [Figure 8] FIG. 11 is a sequence diagram of a bootstrap processing according to the second embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] (First embodiment) (Configuration of communication system 2: Figure 1) 1, the communication system 2 includes an access point (hereinafter simply referred to as "AP") 6, a terminal 10, a printer 100, and a server 200. In this embodiment, a situation is assumed in which a user uses the terminal 10 to establish a wireless connection (hereinafter referred to as "Wi-Fi connection") between the printer 100 and the AP 6 in accordance with the Wi-Fi standard.
[0016] (Configuration of terminal 10: Figure 2) The terminal 10 is a portable terminal such as a mobile phone (e.g., a smartphone), a PDA, or a tablet PC. In a modified example, the terminal 10 may be a stationary terminal. As shown in FIG. 2, the terminal 10 includes an operation unit 12, a display unit 14, a Wi-Fi interface 16, a camera 20, and a control unit 30. Each unit 10 to 30 is connected to a bus line (reference numerals omitted). In the following, the interface will be simply referred to as "I / F".
[0017] The operation unit 12 includes a plurality of buttons. A user can input various instructions to the terminal 10 by operating the operation unit 12. The display unit 14 is a display for displaying various information. The display unit 14 also functions as a so-called touch panel (i.e., an operation unit). The camera 20 is a device for photographing an object, and in this embodiment, is used for photographing QR codes (registered trademark) for the AP 6 and the printer 100.
[0018] The Wi-Fi I / F 16 is a wireless interface for performing wireless communication according to the Wi-Fi standard. The Wi-Fi standard is a standard for performing wireless communication according to, for example, the IEEE (abbreviation of The Institute of Electrical and Electronics Engineers, Inc.) 802.11 standard and standards equivalent thereto (e.g., 802.11a, 11b, 11g, 11n, etc.). The terminal 10 can establish a Wi-Fi connection with the AP 6 via the Wi-Fi I / F 16 by using the SSID (abbreviation of Service Set Identifier) and password of the wireless network formed by the AP 6.
[0019] The Wi-Fi I / F 16 also supports the DPP (abbreviation for Device Provisioning Protocol) method established by the Wi-Fi Alliance. The DPP method is described in the standard "Device Provisioning Protocol Technical Specification Version 1.0" created by the Wi-Fi Alliance, and is a method for easily establishing a Wi-Fi connection between a pair of devices (e.g., the printer 100 and the AP 6) using the terminal 10.
[0020] The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes in accordance with various programs 40 to 50 stored in the memory 34. The memory 34 is composed of a volatile memory, a non-volatile memory, etc. The memory 34 stores an OS program 40, a camera application 42, a browser application 44, and a print application 50. Hereinafter, the OS program will be simply referred to as "OS" and the application will be simply referred to as "app."
[0021] The OS 40 is a program for realizing basic operations of the terminal 10. The OS 40 is pre-stored in the terminal 10 at the time of shipment of the terminal 10. The camera application 42 is a program for realizing operations related to the camera 20. The browser application 44 is a program for displaying a web page. These applications 42 and 44 may be pre-stored in the terminal 10 at the time of shipment of the terminal 10, or may be installed in the terminal 10 after shipment of the terminal 10. The print application 50 is a program for establishing a Wi-Fi connection between the printer 100 and the AP 6 by performing wireless communication according to the DPP method. The print application 50 is a program for causing the printer 100 to execute printing using the Wi-Fi connection. The print application 50 is a program provided by the vendor of the printer 100, and is installed in the terminal 10 after shipment of the terminal 10.
[0022] (Configuration of printer 100: Figs. 1 and 2) The printer 100 is a peripheral device (for example, a peripheral device of the terminal 10) capable of executing a printing function. The printer 100 has a model name "AAA". As shown in FIG. 1, the printer 100 has a housing 100A. A sticker 100B showing a QR code is attached to the housing 100A. The QR code is information obtained by encoding a URI (short for Uniform Resource Identifier) that includes location information of the server 200, a unique ID related to the public key of the printer 100, the model name "AAA" of the printer 100, and information identifying the print application 50.
[0023] 2, the printer 100 includes an operation unit 112, a Wi-Fi I / F 116, a print execution unit 118, and a control unit 130. Each unit 112 to 130 is connected to a bus line (reference numerals omitted). The printer 100 of this embodiment does not include a display unit capable of displaying a QR code. This means that the printer 100 does not include even one display unit, and that the printer 100 includes a very small display unit.
[0024] The operation unit 112 includes a plurality of buttons. A user can input various instructions to the printer 100 by operating the operation unit 112. The Wi-Fi I / F 116 supports the DPP method. The MAC address "xxxyyyzzz" is assigned to the Wi-Fi I / F 116. The print execution unit 118 includes a printing mechanism such as an inkjet method or a laser method. The control unit 130 includes a CPU 132 and a memory 134. The CPU 132 executes various processes according to a program 136 stored in the memory 134. The memory 134 includes a volatile memory, a non-volatile memory, and the like.
[0025] (Server 200 configuration: Figure 2) The server 200 is a so-called web server, and is installed on the Internet 4 (see FIG. 1) by the vendor of the printer 100. The server 200 includes a communication I / F 216 and a control unit 230. The units 216 and 230 are connected to a bus line (reference numerals omitted). The communication I / F 216 is connected to the Internet 4. The control unit 230 includes a CPU 232 and a memory 234. The CPU 232 executes various processes according to a program 236 stored in the memory 234. The memory 234 is composed of a volatile memory, a non-volatile memory, etc.
[0026] Memory 234 further stores a model table 250. In model table 250, for each of a plurality of printer model names, the model name is associated with a message indicating a change operation for changing the state of a printer having that model name from DPPOFF state to DPPON state. The DPPOFF state and the DPPON state are states in which wireless communication according to the DPP method cannot be performed and can be performed, respectively.
[0027] (Outline of DPP: Figure 3) Next, an overview of DPP will be described with reference to Fig. 3. In the following, for ease of understanding, the operations executed by the CPU of each device (e.g. CPU 32) will be described with reference to each device (e.g. terminal 10) rather than the CPU. Furthermore, each of the following communications is basically executed using I / Fs 16, 116, and 216 (see Fig. 2). For this reason, the description "via an I / F" will be omitted unless a special explanation is required.
[0028] In this embodiment, the AP 6 does not support the DPP method. The AP 6 operates as a parent station of a wireless network using the SSID "sss" and the password "ttt". For example, the user of the terminal 10 operates the operation unit 12 to input the SSID "sss" and the password "ttt" to the terminal 10. In this case, the terminal 10 uses the OS 40 to establish a Wi-Fi connection with the AP 6. That is, the terminal 10 can use the OS 40 to establish a Wi-Fi connection with the AP 6 without using the print application 50 to execute wireless communication of the DPP method. Thus, in the case of FIG. 3, a situation is assumed in which a Wi-Fi connection is established between the terminal 10 and the AP 6. When the user of the terminal 10 wants the printer 100 to execute printing, the user establishes a Wi-Fi connection between the printer 100 and the AP 6, and executes communication between the terminal 10 and the printer 100 via the AP 6. To achieve this, the following processes are executed.
[0029] At T25, the terminal 10 executes DPP-based Bootstrapping (hereinafter simply referred to as "BS") with the printer 100. The BS is a process in which the printer 100 provides the terminal 10 with information used in Authentication (hereinafter simply referred to as "Auth") at T30, which will be described later, in response to the terminal 10 photographing a QR code shown on a sticker 100B (see FIG. 1) attached to the printer 100.
[0030] At T30, the terminal 10 uses the information already acquired at the BS at T25 to execute DPP-based Auth with the printer 100. This Auth is processing in which the terminal 10 and the printer 100 each authenticate the other party in communication.
[0031] In T35, the terminal 10 executes a DPP-based Configuration (hereinafter, simply referred to as "Config") with the printer 100. The Configuration is a process of transmitting information to the printer 100 for establishing a Wi-Fi connection between the printer 100 and the AP 6. Specifically, the terminal 10 generates a Printer Configuration Object (hereinafter, the Configuration Object is simply referred to as "CO") and transmits the Printer CO to the printer 100. The Printer CO includes the SSID "sss" and password "ttt" of the AP 6.
[0032] In T40, the printer 100 establishes a Wi-Fi connection with the AP 6 using the SSID "sss" and password "ttt" included in the printer CO acquired in T35. Specifically, the printer 100 first broadcasts a probe request and receives a probe response from each of one or more APs, including the AP 6, that are present around the printer 100. In this case, the printer 100 recognizes that a probe response including the SSID "sss" included in the printer CO (i.e., the SSID "sss" of the AP 6) is present among the one or more probe responses received from the one or more APs. Then, the printer 100 executes various communications with the AP 6, such as association and 4-way handshake, to establish a Wi-Fi connection with the AP 6. In the process of the various communications, the printer 100 transmits authentication information using the password "ttt" included in the printer CO to the AP 6, and the AP 6 executes authentication of the password "ttt". If the authentication is successful, a Wi-Fi connection is established between the printer 100 and the AP 6.
[0033] As a result of the above processes, both the terminal 10 and the printer 100 participate as slave stations in the same wireless network formed by the AP 6. For this reason, the terminal 10 can transmit print data representing, for example, an image to be printed to the printer 100 via the AP 6. Then, the printer 100 can execute printing of the image represented by the print data.
[0034] In the DPP method, in order to establish a Wi-Fi connection between the printer 100 and the AP 6, the user does not need to input the SSID "sss" and password "ttt" of the AP 6 into the printer 100. Therefore, the user can easily establish a Wi-Fi connection between the printer 100 and the AP 6.
[0035] (Details of each process: Figures 4 to 6) Next, the processes executed at T25 to T35 in FIG. 3 will be described in detail with reference to FIGS.
[0036] (Bootstrapping (BS): Figure 4) First, the process of BS executed at T25 in Fig. 3 will be described with reference to Fig. 4. In the initial state in Fig. 4, the memory 134 of the printer 100 stores the public key PPK1 and the private key psk1 of the printer 100 in advance.
[0037] In T110, the user starts the camera application 42 of the terminal 10, and in T120, uses the camera 20 to photograph the QR code shown on the sticker 100B of the printer 100. Then, in T122, the terminal 10 decodes the photographed QR code and acquires the public key PPK1 and the MAC address "xxxyyyzzz". Details of this process will be described later with reference to FIG. 7. When the process of T122 ends, the process of FIG. 4 ends. At the stage at which the process of FIG. 4 ends, the state of the printer 100 has been changed from the DPP OFF state to the ON state. Details of this process will also be described later.
[0038] (Authentication (Auth): Figure 5) Next, the Auth process executed between the terminal 10 and the printer 100 at T30 in FIG. 3 will be described with reference to FIG.
[0039] In T200, the terminal 10 generates a public key TPK1 and a secret key tsk1 of the terminal 10. Next, in T202, the terminal 10 generates a shared key SK1 according to ECDH (Elliptic curve Diffie-Hellman key exchange) using the generated secret key tsk1 and the public key PPK1 of the printer 100 acquired in T122 of Fig. 4. Then, in T204, the terminal 10 encrypts a random value RV1 using the generated shared key SK1 to generate encrypted data ED1.
[0040] In T210, the terminal 10 transmits a DPP Authentication Request (hereinafter simply referred to as "AReq") to the printer 100, with the MAC address "xxxyyyzzz" acquired in T122 of Fig. 4 as the destination. AReq is a signal requesting the printer 100 to execute authentication. AReq includes the public key TPK1 of the terminal 10 generated in T200, the encrypted data ED1 generated in T204, and the capability of the terminal 10.
[0041] Capability is information that is specified in advance in a device that supports the DPP method, and includes one of the following values: a value indicating that the device can operate only as a DPP Configurator; a value indicating that the device can operate only as a DPP Enrollee; and a value indicating that the device can operate as both a Configurator and an Enrollee. In the Config of T35 in FIG. 3, a Configurator refers to a device that transmits a CO to an Enrollee. On the other hand, in the Config, an Enrollee refers to a device that receives a CO from a Configurator. In this embodiment, the capability of the terminal 10 includes a value indicating that the device can operate only as a Configurator.
[0042] In T210, the printer 100 receives the AReq from the terminal 10. As described above, the AReq is transmitted to the MAC address “xxxyyyzzz” of the printer 100 as the transmission destination. Therefore, the printer 100 can properly receive the AReq from the terminal 10.
[0043] Next, the printer 100 executes the following process to authenticate the sender of the AReq (i.e., the terminal 10). Specifically, in T212, the printer 100 generates a shared key SK1 using the public key TPK1 of the terminal 10 in the AReq and the secret key psk1 of the printer 100 according to ECDH. Here, the shared key SK1 generated by the terminal 10 in T202 is the same as the shared key SK1 generated by the printer 100 in T212. Therefore, in T214, the printer 100 can appropriately decrypt the encrypted data ED1 in the AReq using the generated shared key SK1, and as a result, can obtain the random value RV1. If the decryption of the encrypted data ED1 is successful, the printer 100 determines that the sender of the AReq is the device that captured the QR code of the printer 100, that is, determines that the authentication has been successful, and executes the process from T216 onwards. On the other hand, if the printer 100 is not successful in decrypting the encrypted data ED1, it determines that the sender of the AReq is not the device that captured the image of the QR code of the printer 100, i.e., it determines that authentication has failed, and does not execute the processing from T216 onwards.
[0044] In T216, the printer 100 generates a new public key PPK2 and a new secret key psk2 of the printer 100. In a modified example, the printer 100 may store the public key PPK2 and the secret key psk2 in advance. Next, in T217, the printer 100 generates a shared key SK2 using the public key TPK1 of the terminal 10 in the AReq of T210 and the secret key psk2 of the printer 100 that has already been generated, according to ECDH. Then, in T218, the printer 100 encrypts the acquired random value RV1 and the new random value RV2 using the generated shared key SK2 to generate encrypted data ED2.
[0045] In T220, the printer 100 transmits a DPP Authentication Response (hereinafter simply referred to as "ARes") to the terminal 10. The ARes includes the public key PPK2 of the printer 100 generated in T216, the encrypted data ED2 generated in T218, and the capability of the printer 100. The capability includes a value indicating that the printer 100 can operate only as an Enrollee.
[0046] In response to receiving the ARes from the printer 100 in T220, the terminal 10 executes the following process for authenticating the sender of the ARes (i.e., the printer 100). Specifically, in T222, the terminal 10 generates a shared key SK2 according to ECDH using the private key tsk1 of the terminal 10 generated in T200 and the public key PPK2 of the printer 100 in the ARes. Here, the shared key SK2 generated by the printer 100 in T217 is the same as the shared key SK2 generated by the terminal 10 in T222. Therefore, in T224, the terminal 10 can appropriately decrypt the encrypted data ED2 in the ARes using the generated shared key SK2, and as a result, can obtain the random values RV1 and RV2. If the decryption of the encrypted data ED2 is successful, the terminal 10 determines that the sender of the ARes is a device having a photographed QR code, that is, determines that the authentication has been successful, and executes the process from T230 onwards. On the other hand, if the terminal 10 is not successful in decrypting the encrypted data ED2, it determines that the sender of the ARes is not a device having a photographed QR code, i.e., it determines that authentication has failed, and does not execute the processing after T230.
[0047] In T230, the terminal 10 sends a Confirm to the printer 100. The Confirm includes information indicating that the terminal 10 operates as a Configurator and the printer 100 operates as an Enrollee. As a result, in T232, the terminal 10 decides to operate as a Configurator, and in T234, the printer 100 decides to operate as an Enrollee. When the process of T234 ends, the process of FIG. 5 ends.
[0048] (Configuration (Config): Figure 6) Next, the Config process executed between the terminal 10 and the printer 100 at T35 in FIG. 3 will be described with reference to FIG.
[0049] In T300, the printer 100 transmits a DPP Configuration Request (hereinafter simply referred to as "CReq") to the terminal 10. The CReq is a signal requesting transmission of a CO for the printer.
[0050] In T300, the terminal 10 receives the CReq from the printer 100. In this case, in T304, the terminal 10 generates a printer CO including the SSID "sss" and password "ttt" of the AP 6. Then, in T310, the terminal 10 transmits a DPP Configuration Response (hereinafter simply referred to as "CRes") including the printer CO to the printer 100.
[0051] In T310, the printer 100 receives the CRes from the terminal 10. In this case, in T312, the printer 100 stores the printer CO in the CRes. When the process of T312 ends, the process of Fig. 6 ends. Thereafter, as described above, in T40 of Fig. 3, a Wi-Fi connection is established between the printer 100 and the AP 6.
[0052] The terminal 10 can establish a Wi-Fi connection with the AP 6 using the OS 40 without using the applications 42, 44, and 50 (initial state in FIG. 3). On the other hand, the terminal 10 needs to use the print application 50 in order to execute wireless communication with the printer 100 according to the DPP method (i.e., T30 and T35 in FIG. 3). For this purpose, it is necessary to start the print application 50 on the terminal 10. For example, a user can start the print application 50 by selecting an icon corresponding to the print application from among a plurality of icons corresponding to a plurality of applications displayed on the terminal 10. However, it may be difficult for a user with little knowledge of wireless communication to perform such an operation. In this embodiment, the following process in FIG. 7 is executed in order to realize easy start-up of the print application 50.
[0053] (BS details: Figure 7) The BS of T25 in Fig. 3 (that is, the BS in Fig. 4) will be described in detail with reference to Fig. 7. In the following, the processes executed by the applications 42, 44, and 50 of the terminal 10 will be described with the application as the main focus.
[0054] In this embodiment, the QR code shown by the sticker 100B of the printer 100 is an encoded URI 300. The URI 300 includes a location string 310 and a query string 320. The location string 310 includes the location information "server.com" of the server 200. Here, the query is the string following the character "?" among all the strings that make up the URI. The query string 320 includes a string "id=xxxyyyzzz" indicating the unique ID "xxxyyyzzz" of the printer 100, a string "model=AAA" indicating the model name "AAA" of the printer 100, and a string "printapplication" identifying the print application 50. The unique ID is a unique ID assigned to each of a plurality of printers including the printer 100, and is a MAC address in this embodiment. That is, the unique ID of the printer 100 is the MAC address "xxxyyyzzz" of the printer 100.
[0055] T510 and T520 are the same as T110 and S120 in FIG. 4. In T522, the camera application 42 obtains the URI 300 by decoding the QR code photographed in T520, and supplies the URI 300 to the OS 40. As a result, the OS 40 obtains the URI 300 from the camera application 42, and then starts the browser application 44, which is an application that should use the URI 300. In this way, the camera application 42 supplies the URI 300 to the OS 40, and the OS 40 starts the browser application 44. This is equivalent to the camera application 42 starting the browser application 44 via the OS 40. Therefore, in FIG. 8, the arrow of T524 indicates that the camera application 42 starts the browser application 44. In this way, the cooperation between the two applications is realized via the OS 40, but in FIG. 8, the operation of the OS 40 is omitted. This point is the same as in FIG. 8 of the second embodiment described later.
[0056] When the browser application 44 is started at T524, it transmits a webpage request including the URI 300 to the server 200 at T530. For example, when the Wi-Fi I / F 16 is connected to a router (e.g., AP6) for realizing Internet communication, the browser application 44 transmits the webpage request to the server 200 via the Wi-Fi I / F 16. Also, for example, when the Wi-Fi I / F 16 is not connected to a router, the browser application 44 can also transmit the webpage request to the server 200 via a cellular I / F (not shown). Here, the cellular I / F is an I / F for performing communication such as 4G and 5G.
[0057] When the server 200 receives a webpage request from the terminal 10 in T530, the server 200 acquires the model name "AAA" from the query string 320 in the URI 300 included in the webpage request in T532. Next, the server 200 extracts the message "Please press the Wi-Fi button three times" associated with the acquired model name "AAA" from the model table 250 (see FIG. 2) in the memory 234 in T534. The server 200 also acquires the character string "printapplication" that identifies the print application 50 from the query string 320. Next, the server 200 generates webpage data representing a webpage including the extracted message and an app store button associated with the acquired character string "printapplication". The webpage data further includes the URI 300. Then, the server 200 transmits the generated webpage data to the terminal 10 in T536.
[0058] When the browser application 44 receives the web page data from the server 200 at T536, at T540, the browser application 44 displays the web page 400 represented by the web page data on the display unit 14. The web page 400 includes a message 402 and an app store button 404.
[0059] In response to the message 402 in the web page 400, the user presses the Wi-Fi button (not shown) included in the operation unit 112 of the printer 100 three times at T550. In this case, the printer 100 transitions from the DPPOFF state to the DPPON state at T552. Specifically, the printer 100 (i.e., the CPU 132) supplies an instruction to the Wi-Fi I / F 116 to transition from the DPPOFF state to the DPPON state. This allows the printer 100 to be in a state capable of executing communication according to the DPP method (for example, transmission of ARes (see T220 in FIG. 5)). As described above, according to this embodiment, the web page 400 includes the message 402 for changing the state of the printer 100 having the model name "AAA" to the DPPON state, so that the user can easily change the state of the printer 100 to the DPPON state. This allows the user to appropriately change the state of the printer 100 to the DPPON state. If the printer 100 is maintained in the DPPOFF state, the printer 100 cannot transmit the ARes to the terminal 10. In this case, Auth fails, and a Wi-Fi connection cannot be established between the printer 100 and the AP 6.
[0060] Moreover, the app store button 404 in the web page 400 is a button for accessing a so-called app store. The app store is a web page for installing various apps, including the print app 50, in the terminal 10. The user executes an operation to select the app store button in T560. When accepting the operation to select the app store button, the browser application 44 first determines whether or not the print app 50 identified by the character string "printapplication" associated with the app store button has been installed. When the browser application 44 determines that the print app 50 has been installed, in T562, the browser application 44 starts the print app 50 via the OS 40.
[0061] On the other hand, if the browser application 44 determines that the print application 50 is not installed, it displays a predetermined web page of an app store, and downloads and installs the print application 50 in response to an instruction from the user. After that, the browser application 44 starts the print application 50 via the OS 40 at T562.
[0062] At T570, the print application 50 first obtains the URI 300 included in the web page data by using the URI scheme. Specifically, the web page data includes an instruction to execute the URI scheme, and the browser application 44 obtains the URI 300 from the web page data according to the instruction and provides the URI 300 to the print application 50 via the OS 40. This allows the print application 40 to obtain the URI 300. In this way, the URI scheme is used, so the print application 40 can obtain the URI 300 appropriately. Then, the print application 50 obtains the unique ID "xxxyyyzzz" from the query string 320 included in the URI 300. In other words, the print application 50 obtains the MAC address "xxxyyyzzz" of the printer 100.
[0063] Next, in T572, the print application 50 hashes the acquired unique ID "xxxyyyzzz" according to a predetermined hashing formula to acquire the public key PPK1 of the printer 100. In this manner, since the public key PPK1 is the hashed unique ID (i.e., MAC address) of the printer 100, the unique ID can be said to be information related to the public key PPK1. In this embodiment, the unique ID "xxxyyyzzz" in the URI 300 indicated by the QR code on the sticker 100B of the printer 100 is not the public key PPK1 of the printer 100 itself. In other words, the QR code does not indicate the public key PPK1 itself. For this reason, the security of the public key PPK1 (in other words, the security of the printer 100) is higher than in a configuration in which the QR code indicates the public key PPK1 itself.
[0064] When T572 ends, BS ends. After that, as described above, the print application 50 executes Auth in Fig. 5 (i.e., T25 in Fig. 3) using the public key PPK1 and the MAC address "xxxyyyzzz", and further executes Config in Fig. 6 (i.e., T30 in Fig. 3).
[0065] (Effects of this embodiment) According to this embodiment, the user of the terminal 10 can start the print application 50 (T562) by selecting the app store button 404 on the web page 400 (T560 in FIG. 7), and can establish a Wi-Fi connection between the printer 100 and the AP 6 by performing wireless communication with the printer 100 in accordance with the DPP method in accordance with the print application 50. This eliminates the need for the user to start the print application 50 by selecting an icon of the print application 50 from among multiple icons displayed on the terminal 10, for example. This allows the user to easily establish a Wi-Fi connection between the printer 100 and the AP 6 using the terminal 10.
[0066] (Correspondence) The DPP method is an example of a "predetermined communication method." The printer 100 and the AP 6 are an example of a "pair of devices." The camera application 42, the browser application 44, and the print application 50 are examples of a "computer program," a "browser program," and a "connection application," respectively. The unique ID (i.e., the MAC address "xxxyyyzzz") is an example of "related information." The operation of selecting the app store button 404 is an example of a "predetermined operation." The communication performed by the Config in FIG. 6 is an example of a "target communication." The DPPOFF state and the DPPON state are examples of an "impossible state" and an "available state," respectively. The message 402 in the web page 400, the operation of pressing the Wi-Fi button of the printer 100 three times, and the model name "AAA" are examples of a "specific message," a "specific change operation," and a "specific model information," respectively. The calculation for hashing is an example of a "predetermined calculation." The printer CO of the T310 in FIG. 6 is an example of "connection information."
[0067] The process of T522, the process of T530, the process of T536, the process of T540, the process of T562, and the process of T572 in Fig. 7 are examples of processes executed by a "first acquisition unit," a "web page request transmission unit," a "web page reception unit," a "display control unit," a "startup control unit," and a "second acquisition unit," respectively. The process of T210 and the process of T220 in Fig. 5 are examples of processes executed by an "authentication request transmission unit" and an "authentication response reception unit," respectively. Each communication in Fig. 6 is an example of a process executed by a "terminal side communication execution unit."
[0068] The processing of T534 and the processing of T536 in FIG. 7 are examples of processing executed by the "extraction unit" and the "web page transmission unit", respectively.
[0069] The processes of T210 and T220 in Fig. 5 are examples of processes executed by an "authentication request receiving unit" and an "authentication response transmitting unit", respectively. Each communication in Fig. 6 is an example of a process executed by an "apparatus-side communication executing unit". The process of T552 in Fig. 7 is an example of a process executed by a "change unit".
[0070] (Second Example) Next, a second embodiment will be described. Explanation of the same points as in the first embodiment will be omitted. In this embodiment, the sticker 100B is not attached to the housing 100A of the printer 100. The printer 100 includes a display unit 114 (see FIGS. 1 and 2) that can display a QR code. The server 200 does not include a model table 250 (see FIG. 2).
[0071] In this embodiment, the BS in Fig. 8 is executed instead of the BS in Fig. 7. The user executes a DPP startup operation on the printer 100 in T600. This operation may be, for example, an operation of selecting a DPP button in the operation unit 112, or an operation of selecting a DPP button in a setting screen displayed on the display unit 114. When the printer 100 accepts this operation, it transitions from the DPPOFF state to the DPPON state in T602.
[0072] Next, the printer 100 generates a QR code in T604 and displays the QR code on the display unit 114. The QR code is an encoded version of the URI 350. The URI 350 includes a location string 360 and a query string 370. The location string 360 includes the location information "server.com" of the server 200. The query string 370 includes a string "id=xxxyyyzzz20190801154540" indicating the unique ID "xxxyyyzzz20190801154540" of the printer 100 and a string "printapplication" that identifies the print application 50. In this embodiment, the unique ID is a combination of the MAC address "xxxyyyzzz" of the printer 100 and the current date and time "20190801154540 (i.e., August 1, 2019, 15:45:40)". In T604, the printer 100 generates a unique ID by combining the MAC address of the printer 100 with the current date and time, generates a URI 350 including the unique ID, and generates a QR code by encoding the URI 350.
[0073] Except for the difference in the contents of the URI, T610 to T630 are the same as T510 to T530 in Fig. 7. In this embodiment, since server 200 does not have model table 250, in T636, it transmits to terminal 10 web page data representing a web page that does not include a message for changing printer 100 to the DPPON state.
[0074] When the browser application 44 receives the web page data from the server 200 in T636, in T640, the browser application 44 displays a web page 450 represented by the web page data on the display unit 14. The web page 450 does not include the above message, but includes an app store button 454.
[0075] T660 and T662 are the same as T560 and T562. In T670, the print application 50 acquires the URI 350 using the URI scheme, and acquires the unique ID "xxxyyyzzz20190801154540" from the query string 370. Then, the print application 50 acquires the MAC address of the printer 100 by extracting the character string "xxxyyyzzz" other than the character string indicating the date and time from the unique ID.
[0076] T672 is the same as T572 in FIG. 7, except that the unique ID to be hashed is different. This allows the print application 50 to obtain the public key PPK1. Note that in this embodiment, the printer 100 does not store the public key PPK1 in advance at the time of shipment of the printer 100, but generates the public key PPK1 by hashing the unique ID generated in T604. That is, the printer 100 can generate a different public key every time it changes from the DPPOFF state to the DPPON state. This provides high security for the public key of the printer 100 (that is, the security of the printer 100).
[0077] (Effects of this embodiment) According to this embodiment, the user can easily establish a Wi-Fi connection between the printer 100 and the AP 6 by using the terminal 10. In this embodiment, T602 is an example of information executed by a "change unit". The process of T604 is an example of a process executed by an "output control unit" (i.e., an "output control process").
[0078] Although specific examples of the technology disclosed in this specification have been described in detail above, these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and variations of the specific examples exemplified above. Modifications are listed below.
[0079] (Modification 1) In the case of FIG. 3, the terminal 10 establishes a Wi-Fi connection with the AP 6 by using the SSID "sss" and password "ttt" of the AP 6. Alternatively, the terminal 10 may establish a Wi-Fi connection with the AP 6 by performing wireless communication of the DPP method. That is, the AP 6 supports the DPP method and has a QR code indicating the public key of the AP 6 (for example, a sticker is attached to the housing of the AP 6). The terminal 10 acquires the public key of the AP 6 by photographing the QR code (that is, executes BS). Thereafter, the terminal 10 executes Auth and Config with the AP 6, similarly to FIG. 5 and FIG. 6. However, the terminal 10 generates a CO for the AP including a SinedConnector for the AP (hereinafter, the SinedConnector will be referred to as "SC") in the Config, and transmits a CRes including the CO for the AP to the AP 6. The terminal 10 also generates an SC for the terminal. Then, the terminal 10 and AP 6 share a connection key by executing Network Access (hereinafter, referred to as "NA") using the SC for the terminal and the SC for the AP, and establish a Wi-Fi connection using the connection key. After that, the terminal 10 executes BS, Auth, and Config (see Figs. 4 to 6) with the printer 100. However, in Config, the terminal 10 generates a printer CO including the SC for the printer, rather than a printer CO including an SSID and a password, and transmits a CRes including the printer CO to the printer 100. In this case, the printer 100 and AP 6 share a connection key by executing NA using the SC for the printer and the SC for the AP, and establish a Wi-Fi connection using the connection key. In this modification, the SC for the printer is an example of "connection information".
[0080] (Modification 2) There is no particular limitation on the method by which the "second acquisition unit" acquires the public key associated with the associated information. For example, the following modifications 2-1 to 2-4 may be adopted.
[0081] 7, the print application 50 may acquire the URI 300 by using a so-called clipboard (i.e., a temporary storage area). That is, the OS 40 copies the URI 300 included in the web page data to the clipboard in response to the user selecting a button (not shown) included in the web page for storing the URI 300 in the clipboard. Next, the print application 50 accesses the clipboard to acquire the URI 300. Then, the print application 50 acquires a unique ID from the URI 300, and acquires the public key PPK1 from the unique ID.
[0082] (Modification 2-2) In T572 in FIG. 7, the print application 50 may not hash the unique ID itself, and may transmit the unique ID to the calculation server. In this case, the calculation server hashes the unique ID to generate a public key PPK1. Then, the print application 50 obtains the public key PPK1 from the calculation server.
[0083] 7, the server 200 may extract a unique ID from the URI 300 included in the webpage request received at T530, hash the unique ID to generate a public key PPK1, and store the public key PPK1 in a specific storage area in the memory 234. In this case, the server 200 may transmit, at T536, to the terminal 10, webpage data that does not include a unique ID and that includes a link destination URI for accessing the specific storage area. Then, the print application 50 uses the link destination URI to access the specific storage area in the server 200, and obtains the public key PPK1 from the server 200.
[0084] (Variation 2-4) URI 300 in FIG. 7 may not include query string 320. In this case, information described as query string 320 (i.e., unique ID, etc.) may be included in the QR code as information separate from URI 300. In this case, in T522, the unique ID, etc. are stored in a predetermined storage area in memory 34. The webpage request in T530 and the webpage data in T536 do not include the unique ID, etc. In T570, print application 50 accesses the above-mentioned predetermined storage area to acquire the unique ID, etc. Then, print application 50 acquires public key PPK1 from the unique ID.
[0085] (Modification 3) The unique ID does not have to be a MAC address, and may be the public key PPK1 itself. In this modification, the unique ID is also an example of "related information related to the public key."
[0086] (Variation 4) A Wi-Fi connection does not have to be established between the terminal 10 and the AP 6. In this case, the terminal 10 executes each process from T25 to T35 in FIG. 3, and at T35, operates as a Configurator, generates a printer CO including a printer SC, and transmits a CRes including the printer CO to the printer 100. The terminal 10 also generates a terminal CO including a terminal SC. Then, the terminal 10 and the printer 100 share a connection key by executing NA using the terminal SC and the printer SC, and establish a Wi-Fi connection using the connection key. In this variation, the printer SC is an example of "connection information". Also, the terminal 10 and the printer 100 are an example of a "pair of devices".
[0087] (Modification 5) A Wi-Fi connection may not be established between the terminal 10 and the AP 6. Instead, a Wi-Fi connection may be established between the printer 100 and the AP 6. In this case, the terminal 10 executes each process from T25 to T35 in FIG. 3, and at T35, operates as an Enrollee and receives a CRes including a terminal CO including a terminal SC from the printer 100. Then, the terminal 10 and the AP 6 share a connection key by executing NA using the terminal SC and the AP SC, and establish a Wi-Fi connection using the connection key. In this modification, the terminal SC is an example of "connection information", and the terminal 10 and the AP 6 are an example of "a pair of devices". Also, as in this modification, the "terminal side communication execution unit" may execute target communication with the communication device, including receiving connection information from the communication device.
[0088] (Variation 6) In place of displaying the QR code in T604 of Fig. 8, the printer 100 may cause the print execution unit 118 to print the QR code. In this variation, the process of causing the print execution unit 118 to print the QR code is an example of an "output control process".
[0089] (Variation 7) Each of the terminal 10 and the printer 100 may further include a wireless interface (e.g., BTI / F, NFC / F, etc.) conforming to a wireless method other than the Wi-Fi method (e.g., BT (abbreviation of Bluetooth (registered trademark)) method, NFC (abbreviation of Near Field Communication) method, etc.). In this case, in T604 of FIG. 8, the printer 100 may instruct the BTI / F of the printer 100 to transmit the URI 350. In this case, the terminal 10 can receive the URI 350 via the BTI / F of the terminal 10. In this variation, instructing the BTI / F to transmit the URI 350 is an example of an "output control process". In addition, in another variation, in T604 of FIG. 8, the printer 100 may store the URI 350 in the NFC I / F of the printer 100. In this case, the terminal 10 can receive the URI 350 via the NFC I / F of the terminal 10. In this modification, storing the URI 350 in the NFC I / F is an example of an “output control process.” In these modifications, the program that executes BT-based communication and the program that executes NFC-based communication are each an example of a “computer program.”
[0090] (Variation 8) The "computer program" and the "browser program" do not have to be separate programs, but may be one program (i.e., one application).
[0091] (Variant 9) The trigger for the processing of T602 in FIG. 8 does not have to be the DPP startup operation of T600, but may be, for example, a power ON operation of the printer 100. In other words, the "change unit" may change the state of the communication device from an impossible state to a possible state before an instruction to execute the output control process is accepted.
[0092] (Variation 10) The terminal 10 and the printer 100 may not support the DPP method, and may support other methods for establishing a Wi-Fi connection using a public key, an authentication request, and an authentication response. Generally speaking, the "predetermined communication method" is not limited to the DPP method.
[0093] (Variation 11) The "communication device" does not have to be the printer 100, but may be other devices such as a scanner, a multi-function device, a mobile terminal, a PC, or a server.
[0094] (Modification 12) In the above embodiment, the processes in FIGS. 3 to 8 are implemented by software, but at least one of these processes may be implemented by hardware such as a logic circuit.
[0095] The technical elements described in this specification or drawings have technical utility either alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technologies illustrated in this specification or drawings can achieve multiple objectives simultaneously, and achieving one of these objectives is itself technically useful. The matters described in the claims at the time of filing are set forth below. (Item 1) 1. A communication system comprising: A communication device; A terminal, A server, The terminal includes: a terminal-side wireless interface for performing wireless communication according to a predetermined communication method of the Wi-Fi standard; A display unit; a terminal-side memory for storing a computer program, a browser program, and a connection application for establishing a wireless connection between a pair of devices; a first acquisition unit that acquires location information of the server and related information related to a public key of the communication device by using the computer program; a web page request sending unit that uses the browser program to send a web page request including at least the location information to the server; a web page receiving unit that receives web page data corresponding to the location information from the server by using the browser program in response to the web page request being transmitted to the server; a display control unit that uses the browser program to cause a web page represented by the web page data to be displayed on the display unit; a start control unit that starts the connection application by using the browser program when a predetermined operation is accepted on the web page; a second acquisition unit that acquires the public key related to the related information by using the connection application; an authentication request transmission unit that uses the connection application to transmit, via the terminal-side wireless interface, an authentication request conforming to the predetermined communication method, the authentication request using the public key, to the communication device; an authentication response receiving unit that receives an authentication response according to the predetermined communication method from the communication device via the terminal side wireless interface by utilizing the connection application in response to the authentication request being transmitted to the communication device; a terminal-side communication execution unit that, when the authentication response is received from the communication device, executes target communication with the communication device via the terminal-side wireless interface by using the connection application in accordance with the predetermined communication method, the target communication being communication for establishing a wireless connection between a pair of devices; and A communication system comprising: (Item 2) the web page includes a specific message indicating a specific change operation for changing a state of the communication device from an incapable state in which wireless communication according to the predetermined communication method cannot be performed to a capable state in which wireless communication according to the predetermined communication method can be performed; The communication device includes: a device-side wireless interface for performing wireless communication according to the predetermined communication method; a change unit that changes a state of the communication device from the unavailable state to the available state when the specific change operation is accepted; an authentication request receiving unit that receives the authentication request from the terminal via the device-side wireless interface; an authentication response transmission unit that transmits the authentication response to the terminal via the device-side wireless interface when the authentication request is received from the terminal after a state of the communication device is changed from the impossible state to the possible state, the authentication response transmission unit not transmitting the authentication response before the state of the communication device is changed from the impossible state to the possible state; a device-side communication execution unit that executes the target communication with the terminal in accordance with the predetermined communication method via the device-side wireless interface when the authentication response is transmitted to the terminal; 2. The communication system according to item 1, comprising: (Item 3) the first acquisition unit of the terminal acquires the location information of the server, the related information, and specific model information indicating a model of the communication device by using the computer program; the web page request unit of the terminal uses the browser program to transmit the web page request, which includes at least the location information and the specific model information, to the server; The server, a server-side memory that stores, for each of a plurality of pieces of model information, the model information and a message indicating a change operation for changing a state of a device corresponding to the model information from the impossible state to the possible state in association with each other; an extracting unit that extracts, when the web page request is received from the terminal, from the server-side memory, the specific message associated with the specific model information included in the web page request, the specific message indicating the specific change operation; a web page sending unit that sends the web page data representing the web page including the extracted specific message to the terminal; 3. The communication system according to item 1 or 2, comprising: (Item 4) A connectivity application for a terminal, comprising: The terminal includes: a terminal-side wireless interface for performing wireless communication according to a predetermined communication method of the Wi-Fi standard; A display unit; a terminal-side memory for storing a computer program, a browser program, and the connection application for establishing a wireless connection between a pair of devices; A computer, The computer program causes the computer to operate in the following manner: a first acquiring unit that acquires location information of the server and related information related to the public key of the communication device; The browser program controls the computer to operate in the following manner: a web page request sending unit that sends a web page request including at least the location information to the server; a web page receiving unit that receives web page data corresponding to the location information from the server in response to the web page request being transmitted to the server; a display control unit that causes the display unit to display a web page represented by the web page data; a start control unit that starts the connection application when a predetermined operation is accepted on the web page; Functioning as a The connection application configures the computer to include the following components: a second acquisition unit that acquires the public key associated with the associated information; an authentication request transmission unit that transmits an authentication request conforming to the predetermined communication method, the authentication request using the public key, to the communication device via the terminal-side wireless interface; an authentication response receiving unit that receives an authentication response according to the predetermined communication method from the communication device via the terminal side wireless interface in response to the authentication request being transmitted to the communication device; a terminal-side communication execution unit that executes target communication with the communication device via the terminal-side wireless interface in accordance with the predetermined communication method when the authentication response is received from the communication device, the target communication being communication for establishing a wireless connection between a pair of devices; Acts as a connected application. (Item 5) 5. The connection application according to item 4, wherein the second acquisition unit acquires the public key by executing a predetermined calculation using the related information. (Item 6) the terminal-side communication execution unit executes the target communication with the communication device, the target communication including transmitting connection information to the communication device; 6. The connection application according to item 4 or 5, wherein the connection information is information for establishing the wireless connection between the pair of devices, which are the communication device and an access point. (Item 7) the webpage request sending unit sends the webpage request including at least the location information and the related information to the server; the web page receiving unit receives the web page data including the related information; The connection application according to any one of items 4 to 6, wherein the second acquisition unit acquires the public key by using the related information included in the web page data. (Item 8) The connection application according to any one of items 4 to 7, wherein the first acquisition unit acquires the location information and the related information by acquiring a URI (short for Uniform Resource Identifier) including the location information and the related information described as a query string. (Item 9) 1. A communication device, comprising: a device-side wireless interface for performing wireless communication according to a predetermined communication method of the Wi-Fi standard; A housing on which a sticker showing a code image obtained by encoding location information of a server and related information related to a public key of the communication device is attached, the location information is utilized by the terminal to receive web page data from the server and display the web page represented by the web page data; When a predetermined operation is accepted on the web page, a connection application of the terminal is started; the connection application is an application for obtaining the public key associated with the related information and establishing a wireless connection between a pair of devices; and an authentication request receiving unit that receives, from the terminal that has acquired the public key, an authentication request according to the predetermined communication method via the device-side wireless interface, the authentication request using the public key; an authentication response transmission unit that transmits the authentication response to the terminal via the device-side wireless interface when the authentication request is received from the terminal; a device-side communication execution unit that executes target communication with the terminal via the device-side wireless interface in accordance with the predetermined communication method when the authentication response is transmitted to the terminal, the target communication being communication for establishing a wireless connection between a pair of devices; and A communication device comprising: (Item 10) the web page includes a specific message indicating a specific change operation for changing a state of the communication device from an incapable state in which wireless communication according to the predetermined communication method cannot be performed to a capable state in which wireless communication according to the predetermined communication method can be performed; The communication device further comprises: a change unit that changes a state of the communication device from the unavailable state to the available state when the specific change operation is accepted; the authentication response transmission unit transmits the authentication response to the communication device when the authentication request is received from the terminal after a state of the communication device is changed from the impossible state to the possible state; 10. The communication device of claim 9, wherein the authentication response is not sent before the state of the communication device is changed from the disabled state to the enabled state. (Item 11) 1. A communication device, comprising: a device-side wireless interface for performing wireless communication according to a predetermined communication method of the Wi-Fi standard; An output control unit that executes an output control process for outputting location information of a server and related information related to a public key of the communication device to an outside, the location information is utilized by the terminal to receive web page data from the server and display the web page represented by the web page data; When a predetermined operation is accepted on the web page, a connection application of the terminal is started; the connection application is an application for obtaining the public key associated with the related information and establishing a wireless connection between a pair of devices; and an authentication request receiving unit that receives, from the terminal that has acquired the public key, an authentication request according to the predetermined communication method via the device-side wireless interface, the authentication request using the public key; an authentication response transmission unit that transmits the authentication response to the terminal via the device-side wireless interface when the authentication request is received from the terminal; a device-side communication execution unit that executes target communication with the terminal via the device-side wireless interface in accordance with the predetermined communication method when the authentication response is transmitted to the terminal, the target communication being communication for establishing a wireless connection between a pair of devices; and A communication device comprising: (Item 12) The communication device further comprises: a change unit that changes a state of the communication device from an impossible state in which wireless communication according to the predetermined communication method cannot be performed to a possible state in which wireless communication according to the predetermined communication method can be performed when an instruction to perform the output control process is received; the authentication response transmission unit transmits the authentication response to the communication device when the authentication request is received from the terminal after a state of the communication device is changed from the impossible state to the possible state; 12. The communication device of claim 11, wherein the authentication response is not sent before the state of the communication device is changed from the disabled state to the enabled state. (Item 13) The association information includes a MAC address of the device-side wireless interface, 13. The communication device according to any one of items 9 to 12, wherein the public key is a value obtained by executing a predetermined calculation using the related information. (Item 14) the device-side communication execution unit executes the target communication with the communication device, the target communication including receiving connection information from the terminal; Item 14. The communication device according to any one of items 9 to 13, wherein the connection information is information for establishing the wireless connection between the communication device and the pair of devices that are an access point. [Explanation of symbols]
[0096] 2: communication system, 6: AP, 10: terminal, 40: OS, 42: camera application, 44: browser application, 50: printing application, 100: printer, 200: server
Claims
1. 1. A communication system comprising: A communication device; A terminal, The terminal includes: a terminal-side wireless interface for performing wireless communication according to a predetermined communication method of the Wi-Fi standard; A display unit; a terminal-side memory for storing a computer program and a connection application for establishing a wireless connection between a pair of devices, the pair of devices being the communication device and an access point, the communication device and the terminal, or the terminal and an access point; a first acquisition unit that acquires specific information including related information related to a public key of the communication device, the related information being different from the public key, by using the computer program, the related information being information from which the public key is acquired by executing a predetermined calculation using the related information; and a second acquisition unit that acquires the public key by executing the predetermined calculation using the related information included in the specific information using the connection application; an authentication request transmission unit that uses the connection application to transmit, via the terminal-side wireless interface, an authentication request conforming to the predetermined communication method, the authentication request using the public key, to the communication device; an authentication response receiving unit that receives an authentication response according to the predetermined communication method from the communication device via the terminal side wireless interface by utilizing the connection application in response to the authentication request being transmitted to the communication device; a terminal-side communication execution unit that, when the authentication response is received from the communication device, executes target communication with the communication device via the terminal-side wireless interface by using the connection application in accordance with the predetermined communication method, the target communication being communication for establishing a wireless connection between the pair of devices; and A communication system comprising:
2. The communication device includes: a device-side wireless interface for performing wireless communication according to the predetermined communication method; a change unit that changes a state of the communication device from an impossible state in which wireless communication according to the predetermined communication method cannot be performed to a possible state in which wireless communication according to the predetermined communication method can be performed when a specific change operation is received; an authentication request receiving unit that receives the authentication request from the terminal via the device-side wireless interface; an authentication response transmission unit that transmits the authentication response to the terminal via the device-side wireless interface when the authentication request is received from the terminal after a state of the communication device is changed from the impossible state to the possible state, the authentication response transmission unit not transmitting the authentication response before the state of the communication device is changed from the impossible state to the possible state; a device-side communication execution unit that executes the target communication with the terminal in accordance with the predetermined communication method via the device-side wireless interface when the authentication response is transmitted to the terminal; The communication system of claim 1 , comprising:
3. A connectivity application for a terminal, comprising: The terminal includes: a terminal-side wireless interface for performing wireless communication according to a predetermined communication method of the Wi-Fi standard; A display unit; a terminal-side memory for storing a computer program and the connection application for establishing a wireless connection between a pair of devices, the pair of devices being a communication device and an access point, the communication device and the terminal, or the terminal and an access point; A computer, The computer program causes the computer to operate in the following manner: a first acquisition unit that acquires specific information including related information related to a public key of the communication device, the related information being different from the public key, the related information being information from which the public key is acquired by executing a predetermined calculation using the related information; The connection application configures the computer to include the following components: a second acquisition unit that acquires the public key by executing the predetermined calculation using the related information included in the specific information; an authentication request transmission unit that transmits an authentication request conforming to the predetermined communication method, the authentication request using the public key, to the communication device via the terminal-side wireless interface; an authentication response receiving unit that receives an authentication response according to the predetermined communication method from the communication device via the terminal side wireless interface in response to the authentication request being transmitted to the communication device; a terminal-side communication execution unit that executes target communication with the communication device via the terminal-side wireless interface in accordance with the predetermined communication method when the authentication response is received from the communication device, the target communication being communication for establishing a wireless connection between the pair of devices; Acts as a connected application.
4. the terminal-side communication execution unit executes the target communication with the communication device, the target communication including transmitting connection information to the communication device; The connection application of claim 3 , wherein the connection information is information for establishing the wireless connection between the pair of devices, the communication device and an access point.
Citation Information
Patent Citations
Information processing apparatus, program, and communication system
JP2016162122A
Communication apparatus, control method for communication apparatus, and program
JP2018042058A
Communication device, control method of the same, and program
JP2019029989A