Computer program for terminal device, and communication device
The terminal device facilitates communication between printers and Internet servers by ensuring successful LAN connections, enhancing user convenience and reducing processing load through feedback mechanisms.
Patent Information
- Application Number
- JP2024145224
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-08-27
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2040-05-22
AI Technical Summary
Existing techniques do not facilitate communication between a printer and a server on the Internet, limiting the functionality of connected devices within a LAN.
A terminal device equipped with a LAN interface and communication interface, capable of attempting communication with an Internet server, transmitting connection information to other devices, and receiving feedback to ensure successful connection to a LAN that allows communication with the server.
Enables communication devices to connect to a LAN that supports Internet communication, allowing users to efficiently set up printers and register them with a server, improving user convenience and reducing processing load.
Smart Images

Figure 2024164210000001_ABST
Abstract
Description
[Technical field]
[0001] This specification relates to a technique for connecting a communication device to a LAN (abbreviation of Local Area Network) using a terminal device. [Background technology]
[0002] Patent Document 1 discloses a terminal device that transmits a printer Configuration Object conforming to the DPP (abbreviation of Device Provisioning Protocol) method to a printer. The printer establishes a Wi-Fi connection with an access point using the printer Configuration Object. The terminal then transmits print data to the printer via the access point using the Wi-Fi connection. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-180041 A [Non-patent literature]
[0004] [Non-Patent Document 1] “Device Provisioning Protocol Specification Version 1.1.13” Wi-Fi Alliance, 2019 Summary of the Invention [Problem to be solved by the invention]
[0005] The above techniques do not take into consideration the possibility of allowing a printer to communicate with a server on the Internet.
[0006] SUMMARY OF THE DISCLOSURE Techniques are provided herein that allow a communication device to communicate with a server on the Internet. [Means for solving the problem]
[0007] In a computer program for a terminal device disclosed in this specification, the terminal device includes a communication interface for performing communication using a LAN (abbreviation for Local Area Network), and a computer, and the computer program causes the computer to function as the following parts: a first attempt unit that performs a first attempt process to attempt communication with a server on the Internet via the communication interface using a specific LAN to which the terminal device is currently connected, and a connection information sending unit that sends connection information to a communication device other than the terminal device if an attempt to communicate with the server in the first attempt process is successful, and does not send the connection information to the communication device if specific conditions are met including that the attempt to communicate with the server in the first attempt process fails, the connection information being information for connecting the communication device to the specific LAN.
[0008] According to the above configuration, when the attempt to communicate with the server in the first attempt process is successful, i.e., when the specific LAN is a LAN capable of communicating with the server, the terminal device transmits connection information to the communication device, thereby connecting the communication device to the specific LAN, and as a result, the communication device can communicate with a server on the Internet.
[0009] In addition, in a computer program for a terminal device disclosed in this specification, the terminal device includes a communication interface for performing communication via a LAN (abbreviation for Local Area Network), and a computer, and the computer program causes the computer to function as the following units, namely, a connection information sending unit that sends connection information to a communication device other than the terminal device via the communication interface, where the connection information is information for connecting the communication device to a specific LAN to which the terminal device is currently connected, and an attempt request sending unit that sends an attempt request to the communication device via the communication interface after the connection information is sent to the communication device, where the attempt request is a request for the communication device to attempt communication with a server using the specific LAN, where the server exists on the Internet, and where the result of the attempt is output by a specified output unit.
[0010] According to the above configuration, the communication device attempts to communicate with the server, and the result of the attempt is output. This allows the user to know whether the communication device's attempt to communicate with a server on the Internet using a specific LAN is successful or not. For this reason, if the communication device's attempt to communicate with a server on the Internet using a specific LAN is unsuccessful, the user may perform an operation to connect the communication device to a LAN that is different from the specific LAN and that can communicate with a server on the Internet. As a result, the communication device may communicate with a server on the Internet.
[0011] Furthermore, the communication device disclosed in this specification includes a communication interface for performing communication using a LAN (short for Local Area Network), a connection information receiving unit that receives connection information from a terminal device different from the communication device via the communication interface, the connection information being information for connecting the communication device to a specific LAN to which the terminal device is currently connected, the connection information receiving unit, a connection control unit that connects the communication interface to the specific LAN using the received connection information, an attempt request receiving unit that receives an attempt request from the terminal device via the communication interface after the connection information is received from the terminal device, the attempt request being a request for the communication device to attempt communication with a server using the specific LAN, the server being located on the Internet, the attempt request receiving unit, an attempt unit that attempts communication with the server via the communication interface using the specific LAN after the attempt request is received from the terminal device, and a second output control unit that outputs result information indicating a result of the attempt to an output unit of the communication device.
[0012] According to the above configuration, the communication device outputs result information. This allows the user to know whether the communication device's attempt to communicate with a server on the Internet using a specific LAN is successful or not. For this reason, if the communication device's attempt to communicate with a server on the Internet using a specific LAN is unsuccessful, the user may perform an operation to connect the communication device to a LAN that is different from the specific LAN and that can communicate with a server on the Internet. As a result, the communication device may communicate with a server on the Internet.
[0013] A computer-readable recording medium storing a computer program for the above-mentioned terminal device, the terminal device itself, and a method executed by the terminal device are also novel and useful. A computer program for the above-mentioned communication device, a computer-readable recording medium storing the computer program, and a method executed by the communication device are also novel and useful. Also, a communication system including a terminal device and a communication device is novel and useful. [Brief description of the drawings]
[0014] [Figure 1] The outline of this embodiment is shown below. [Diagram 2] The hardware configuration of the terminal and printer is shown. [Diagram 3] FIG. 11 is a sequence diagram showing a process of setting up an access point. [Figure 4] FIG. 11 is a sequence diagram showing a printer setup process. [Diagram 5] FIG. 5 is a sequence diagram showing a continuation of the case in FIG. 4 in which a Wi-Fi connection has been established. [Figure 6] FIG. 6 is a sequence diagram showing a continuation of FIG. 5. [Figure 7] FIG. 11 is a sequence diagram showing a process for setting up a second printer. [Figure 8] FIG. 11 is a sequence diagram showing a process of registration in a server. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] (Configuration of communication system 2; Figure 1) 1, the communication system 2 includes an AP (abbreviation of Access Point) 6, a terminal 10, and two printers 100 and 200. The AP 6 can form a wireless LAN (abbreviation of Local Area Network), and by being connected to the Internet 8, relays communication between a device on the wireless LAN (e.g., the terminal 10) and a device on the Internet 8 (e.g., a server 500). By being connected to the wireless LAN, each of the devices 10, 100, and 200 can communicate with the server 500 via the AP 6 and the Internet 8. The server 500 is installed on the Internet 8 by the vendor of the printer (e.g., 100). In a modified example, the server 500 may be installed on the Internet 8 by a business entity different from the vendor of the printer (e.g., 100).
[0016] Server 500 is a server for providing printer-related services to a printer user. The services include, for example, a management service that receives information indicating the printer status (e.g., the remaining amount of colorant used in the printer) from the printer and manages the information. The management service is, for example, a service that ships a cartridge containing colorant to a printer user when the current remaining amount of colorant is equal to or less than a predetermined threshold.
[0017] In this embodiment, it is assumed that the AP 6 and the printers 100 and 200 are installed in an office. In order to receive the service provided by the server 500, the office manager uses the terminal 10 to establish a wireless connection (hereinafter, referred to as a "Wi-Fi connection") between the printer 100 and the AP 6 according to the Wi-Fi system, and causes the printer 100 to execute communication for starting the service of the server 500.
[0018] (Configuration of terminal 10; Figure 2) The terminal 10 is a portable terminal device 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 PC, a notebook PC, or the like. The terminal 10 includes an operation unit 12, a display unit 14, a Wi-Fi interface 16, a camera 18, and a control unit 30. The units 12 to 30 are connected to a bus line (reference numerals omitted). In the following, the interface is simply referred to as "I / F". The camera 18 is a device for photographing an object, and in this embodiment, it is used to photograph QR codes (registered trademark) for the AP 6 and the printer 100 in particular.
[0019] The operation unit 12 includes a plurality of keys. 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 may function as a touch panel (i.e., the operation unit 12).
[0020] The Wi-Fi I / F 16 is a wireless I / F for performing Wi-Fi communication according to the Wi-Fi standard. The Wi-Fi standard is a standard for performing wireless communication according to, for example, the IEEE (The Institute of Electrical and Electronics Engineers, Inc.) 802.11 standard and standards equivalent thereto (for example, 802.11a, 11b, 11g, 11n, etc.). The Wi-Fi I / F 16 supports the DPP (abbreviation of Device Provisioning Protocol) method established by the Wi-Fi Alliance. The DPP method is described in the specification "Device Provisioning Protocol Specification Version 1.1.13" created by the Wi-Fi Alliance.
[0021] The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes according to programs 36 and 40 stored in the memory 34. The memory 34 is composed of a volatile memory, a non-volatile memory, and the like. The OS (Operating System) program 36 is a program for executing basic control of the terminal 10. The connection application 40 (hereinafter simply referred to as "connection app 40") is a program for establishing a Wi-Fi connection between the printer 100 and the AP 6, and is installed in the terminal 10 from, for example, a server (not shown) on the Internet provided by the vendor of the printer 100.
[0022] (Configuration of printers 100 and 200; Fig. 2) Printer 100 is a peripheral device (for example, a peripheral device of terminal 10) capable of executing a printing function. In a modified example, printer 100 may be a multi-function device capable of executing a scanning function, a FAX function, etc. in addition to a printing function. Printer 100 includes an operation unit 112, a display unit 114, 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). Printer 200 (see FIG. 1) has the same configuration as printer 100.
[0023] The operation unit 112 has a plurality of keys. A user can input various instructions to the printer 100 by operating the operation unit 112. The display unit 114 is a display for displaying various information. The display unit 114 may function as a touch panel (i.e., the operation unit 112). The Wi-Fi I / F 116 is the same as the Wi-Fi I / F 16 of the terminal 10. That is, the Wi-Fi I / F 116 supports the DPP method. The Wi-Fi I / F 116 also has a MAC address "MACpr1". The print execution unit 118 has a printing mechanism such as an inkjet method or a laser method.
[0024] The control unit 130 includes a CPU 132 and a memory 134. The CPU 132 executes various processes in accordance with a program 136 stored in the memory 134. The memory 134 is configured by a volatile memory, a non-volatile memory, or the like.
[0025] (AP6 Setup; Figure 3) The setup of the AP 6 will be described with reference to FIG. 3. This setup establishes a Wi-Fi connection between the terminal 10 and the AP 6. All of the following communications executed by the terminal 10 are executed via the Wi-Fi I / F 16. Therefore, in the following, when describing the processing related to communication, the description "via the Wi-Fi I / F 16" will be omitted. Also, in the following, for ease of understanding, the operations executed by the CPU of each device (e.g., CPU 32, etc.) will be described with each device (e.g., terminal 10) as the subject, rather than with the CPU as the subject.
[0026] The AP6 supports the DPP method. The AP6 pre-stores a public key "PPKap" used for DPP communication. A QR code obtained by encoding the AP6's public key "PPKap" and the AP6's MAC address "MACap" is attached to the AP6's housing.
[0027] When the terminal 10 accepts a camera start operation from the office administrator in T110, the terminal 10 starts the camera 18, and captures the QR code of the AP 6 in T112. Then, the terminal 10 uses the connection application 40 in T114 to decode the captured QR code and acquires the public key "PPKap" and the MAC address "MACap". In other words, the processes of T112 and T114 are Bootstrapping (hereinafter referred to as "BS") of the DPP method executed between the terminal 10 and the printer 100. Note that all of the following processes executed by the terminal 10 are executed by the connection application 40.
[0028] When BS ends, the terminal 10 executes DPP authentication (hereinafter referred to as "Auth") with the AP 6 at T120. Specifically, the terminal 10 first generates a shared key using the public key "PPKap" and the terminal 10's private key (not shown), and generates encrypted data using the shared key. The terminal 10 then transmits an Auth Request including the encrypted data and the terminal 10's public key (not shown) to the printer 100. The Request is a signal requesting the AP 6 to execute authentication, and further includes information indicating that the terminal 10 operates as a Configurator. Hereinafter, the Request will be referred to as "Req."
[0029] When the AP 6 receives an Auth Req from the terminal 10, it authenticates the encrypted data contained in the Auth Req. If the authentication is successful, the AP 6 transmits an Auth Response indicating success to the terminal 10. The Response includes information indicating that the AP 6 will operate as an Enrollee. In the following, the Response will be referred to as "Res." As a result of the authentication being executed, it is determined that the terminal 10 will operate as a Configurator and the AP 6 will operate as an Enrollee.
[0030] When the AP 6 transmits the Auth Res to the terminal 10 (T120), at T130, it executes a DPP-based Configuration (hereinafter, referred to as "Config") with the terminal 10. Specifically, the AP 6, which is the Enrollee, transmits a Config Req to the terminal 10, which is the Configurator. The Req is a signal requesting the terminal 10 to transmit a CO for the AP. The CO for the AP is information used by the AP 6 to establish a Wi-Fi connection between the terminal 10 and the AP 6.
[0031] When the terminal 10 receives a Config Req from the AP 6, it generates a CO for the AP. The CO for the AP includes a Signed-Connector for the AP (hereinafter, referred to as "SC"). Then, the terminal 10 transmits a Config Res including the CO for the AP to the AP 6.
[0032] When the AP 6 receives the Config Res from the terminal 10 (T130), the AP 6 stores the CO for the AP in a memory (not shown) of the AP 6 in T132.
[0033] Next, at T140, the terminal 10 executes DPP-based Network Access with the AP 6. Specifically, first, the terminal 10 generates a terminal CO. The terminal CO includes a terminal SC. The terminal 10 acquires the terminal SC included in the already generated terminal CO. The terminal 10 then transmits a DPP Peer Discovery Req including the SC to the AP 6. The Req is a signal requesting the AP 6 to execute authentication. Hereinafter, DPP Peer Discovery will be simply referred to as "Discovery".
[0034] When the AP 6 receives a Discovery Req from the terminal 10, the AP 6 performs authentication using the SC for the terminal included in the Req. If the authentication is successful, the AP 6 generates a connection key and transmits a Discovery Res including the SC for the AP in the CO for the AP to the terminal 10.
[0035] When the terminal 10 receives a Discovery Res from the AP 6, it performs authentication using the SC for AP included in the Res. If the authentication is successful, the terminal 10 generates a connection key. The connection key generated here is the same as the connection key generated by the AP 6. As a result, the connection key is shared between the terminal 10 and the AP 6.
[0036] The terminal 10 uses the connection key to execute 4-way handshake communication with the AP 6. As a result, at T142, a Wi-Fi connection is established between the terminal 10 and the AP 6. That is, the terminal 10 (i.e., the Wi-Fi I / F 16) is connected to the wireless LAN formed by the AP 6 (hereinafter, referred to as a "specific wireless LAN").
[0037] When the AP6 establishes a Wi-Fi connection with the terminal 10 in T142, the AP6 transmits a DPP Status Query Result (hereinafter simply referred to as "Result") of the DPP method to the terminal 10 in T150. The Result includes information indicating that a Wi-Fi connection has been established between the terminal 10 and the AP6.
[0038] When the terminal 10 receives a Result from the AP 6 in T150, the terminal 10 attempts to communicate with the server 500 on the Internet 8 in T160 by using the Wi-Fi connection of T142. Specifically, the terminal 10 transmits a PING signal addressed to the server 500 to the AP 6 in T160A.
[0039] (Case A1) Case A1 is a case where an attempt to communicate with the server 500 fails in response to a PING signal from T160A. The attempt fails when a response signal to the PING signal is not received by the terminal 10. The cause of the failure is, for example, that the AP 6 is not connected to the Internet 8, that the AP 6 is connected to the Internet 8 but the server 500 is disconnected from the Internet 8 due to maintenance or the like of the server 500, that the AP 6 and the server 500 are connected to the Internet 8 but decryption or authentication of the PING signal fails, etc.
[0040] If the terminal 10 determines that it has not received a response signal to the PING signal of T160A, it displays the setup screen SR1 on the display unit 14 in T162. The setup screen SR1 includes a message indicating that communication with the server 500 is not possible, a "Cancel" button, and a "New" button. The "Cancel" button is a button for accepting input of an instruction to cancel the setup of the printer 100 (FIG. 4), which will be described later. When the "Cancel" button is selected, the terminal 10 disconnects the Wi-Fi connection with the AP 6, and starts up the camera 18 again to execute BS with another AP.
[0041] The "New" button is a button for accepting input of instructions for printer setup (see FIG. 4) described below. That is, even if the terminal 10 is unable to communicate with the server 500, it can accept input of instructions for printer setup. With this configuration, the user can proceed with printer setup before the situation changes from one in which communication with the server 500 is unable to one in which communication is possible. This improves user convenience.
[0042] (Case A2) Case A2 is a case in which an attempt to communicate with the server 500 is successful in the PING signal of T160A. If a response signal to the PING signal is received by the terminal 10, the attempt is successful. For example, when the AP 6 is connected to the Internet 8, the AP 6 transmits the PING signal received from the terminal 10 to the server 500 in T160B. Then, the AP 6 receives a response signal to the PING signal from the server 500 in T164, and transmits the response signal to the terminal 10. As a result, the response signal is received by the terminal 10.
[0043] When the terminal 10 determines that it has received a response signal to the PING signal of T160A, it causes the display unit 14 to display the setup screen SR2 in T166. The setup screen SR2 includes a message indicating that communication with the server 500 is possible, and a "New" button. Here, the setup screen SR2 does not include a "Cancel" button. In other words, it is configured not to accept input of an instruction to cancel the setup of the printer 100 (FIG. 4), which will be described later. With this configuration, it is possible to prevent the setup of the printer 100, which will be described later, from being erroneously canceled even if the attempt to communicate with the server 500 has been successful in the PING signal of T160A.
[0044] (Printer Setup; Figures 4 to 8) The setup of one or more printers will be described with reference to Figs. 4 to 8. In the printer setup, a Wi-Fi connection between the printer and AP 6 may be established. Figs. 4 to 6 describe a case in which the setup of the printer 100 is executed. Fig. 4 is a continuation of case A2 in Fig. 3 (i.e., a case in which the attempt to communicate with the server 500 is successful). Also, Fig. 7 described later describes a case in which the setup of the printer 200 is executed after the setup of the printer 100.
[0045] In T200, the printer 100 accepts a power ON operation from the office administrator, and in T202, accepts a setting button operation for establishing a Wi-Fi connection between the printer 100 and the AP 6. In this case, in T204, the printer 100 displays a QR code on the display unit 114. The QR code is a code image in which information including the public key "PPKpr1" and the MAC address "MACpr1" that have been stored in the printer 100 are encoded.
[0046] In T210, the terminal 10 accepts an operation to select the "New" button in the setup screen SR2 of T166 in Fig. 3. T212 is similar to T112 in Fig. 3 except that the QR code of the printer 100 is photographed. T214 is similar to T114 in Fig. 3 except that the public key "PPKpr1" and the MAC address "MACpr1" are acquired.
[0047] T220 is similar to T120 in Fig. 3, except that Auth is executed with the printer 100. In T220, it is determined that the terminal 10 operates as a Configurator and the printer 100 operates as an Enrollee.
[0048] T230 is similar to T130 in FIG. 3, except that a first printer CO is transmitted from the terminal 10 to the printer 100. The first printer CO is information used by the printer 100 to establish a Wi-Fi connection between the printer 100 and the AP 6. In other words, the first printer CO is information for connecting the printer 100 to a specific wireless LAN of the AP 6. The first printer CO includes a first printer SC.
[0049] When the printer 100 receives a ConfigRes including a CO for the first printer from the terminal 10 (T230), the printer 100 stores the CO for the first printer in the memory 134 in T232.
[0050] T240 is similar to T140 in FIG. 3, except that Network Access is executed between the printer 100 and the AP 6, and the first printer SC is used.
[0051] (Case B1) Case B1 is a case where network access of the T240 fails. The cause of the network access failure is, for example, that the printer 100 is installed in a place where radio waves from the AP6 cannot reach, that the authentication method of the printer 100 is different from that of the AP6, etc.
[0052] If the network access fails, the printer 100 transmits, in T250, to the terminal 10, a result including information indicating that the establishment of the Wi-Fi connection between the printer 100 and the AP 6 has failed.
[0053] When the terminal 10 receives a Result from the printer 100 in T250, the terminal 10 displays a setup screen SR3 on the display unit 114 in T252. The setup screen SR3 includes a status table ST, a "Register" button, and a "New" button. The status table ST is a table for displaying the setup status of each of one or more printers. The status table ST in the setup screen SR3 includes a message "Connection Failed" indicating that establishment of a Wi-Fi connection with the AP6 has failed for the MAC address "MACpr1" of the printer 100.
[0054] The "Register" button is a button for accepting input of a registration instruction. The registration instruction is an instruction for registering the MAC address of a printer (e.g., printer 100) in server 500. The process executed when the "Register" button is selected will be described later with reference to FIG. 8.
[0055] The "New" button in the setup screen SR3 is the same as the "New" button in the setup screen SR1 in Fig. 3. The process when the "New" button in the setup screen SR3 is selected will be described later with reference to Fig. 7.
[0056] (Case B2) Case B2 is a case in which the network access in T240 is successful. In T262, a Wi-Fi connection is established between the printer 100 and the AP 6. That is, the printer 100 (i.e., the Wi-Fi I / F 116) is connected to a specific wireless LAN of the AP 6.
[0057] If the network access is successful, the printer 100 transmits a Result including information indicating that the Wi-Fi connection between the printer 100 and the AP 6 has been successfully established to the terminal 10 in T270.
[0058] When the terminal 10 receives a Result from the printer 100 in T270, in T272, the terminal 10 displays a setup screen SR4 on the display unit 114. The setup screen SR4 is similar to the setup screen SR3 except for the content of the status table ST. The status table ST in the setup screen SR4 includes a message "Setting up" indicating that the setup of the printer 100 is in progress for the MAC address "MACpr1" of the printer 100.
[0059] (Continuation of Case B2 in Figure 4; Figure 5) Next, when the terminal 10 receives a Result from the printer 100 in T270 of FIG. 4, in T280A, the terminal 10 attempts to communicate with the printer 100 using the Wi-Fi connection in T142 of FIG. 3 and the Wi-Fi connection in T262 of FIG. 4 (i.e., the specific wireless LAN of AP6). Specifically, in T280A, the printer 100 transmits a PING signal addressed to the printer 100 (i.e., MAC address "MACpr1") to the AP6. As a result, in T280B, the AP6 transmits a PING signal to the printer 100 using the specific wireless LAN of AP6. As a result, the terminal 10 can know whether or not communication with the printer 100 using the specific wireless LAN of AP6 is possible.
[0060] (Case C1) Case C1 is a case where an attempt to communicate with the printer 100 fails in response to a PING signal from T280A. For example, if there is a problem with the network settings of the printer 100, the printer 100 does not transmit a response signal to the PING signal to the terminal 10. As a result, an attempt to communicate with the printer 100 fails in response to a PING signal from T280A.
[0061] If the terminal 10 determines that it has not received a response signal to the PING signal of T280A, then in T282, it causes the display unit 14 to display a setup screen SR5. The setup screen SR5 is similar to the setup screen SR3 of Fig. 4, except that the contents of the status table ST are different. The status table ST in the setup screen SR5 includes a message "Printer communication failed" indicating that communication with the printer 100 is not possible for the printer 100's MAC address "MACpr1".
[0062] (Case C2) Case C2 is a case where an attempt to communicate with printer 100 is successful in the PING signal of T280A. If a response signal to the PING signal is received by terminal 10, the attempt is successful. For example, if there is no problem with the network settings of printer 100, printer 100 uses a specific wireless LAN of AP6 in T284A and T284B to transmit a response signal to the PING signal to terminal 10. As a result, the response signal is received by terminal 10. In this case, the display of setup screen SR4 in FIG. 4 continues.
[0063] (Continuation of Case C2 in Figure 5; Figure 6) Next, when the terminal 10 receives a response signal from the printer 100 at T284B in FIG. 5, the terminal 10 transmits a PING transmission instruction to the printer 100 at T300A and T300B using a specific wireless LAN of the AP6. The PING transmission signal is a request for the printer 100 to attempt communication with the server 500 using the specific wireless LAN of the AP6. For example, a comparative example is assumed in which a PING transmission instruction is transmitted to the printer 100 using a P2P connection between the terminal 10 and the printer 100 without using the specific wireless LAN of the AP6. In this comparative example, a P2P connection needs to be established between the terminal 10 and the printer 200. In contrast, in this embodiment, a specific wireless LAN is used, so that it is not necessary to establish a P2P connection. Therefore, the processing load of the terminal 10 and the printer 200 can be reduced. The format of the P2P connection is, for example, WFD (abbreviation of Wi-Fi Direct (registered trademark)), SoftAP, etc. Note that in a modified example, the configuration of this comparative example may be adopted.
[0064] When the printer 100 receives a PING transmission instruction from the terminal 10 in T300B, the printer 100 attempts to communicate with the server 500 on the Internet 8 using a specific wireless LAN of the AP 6 in T302A. Specifically, the printer 100 transmits a PING signal addressed to the server 500 to the AP 6 in T302A.
[0065] (Case D1) Case D1 is a case where an attempt to communicate with the server 500 fails in response to a PING signal from T302A. The attempt fails if a response signal to the PING signal is not received by the printer 100. The cause of the failure is, for example, that the AP 6 is not connected to the Internet 8, that the AP 6 is connected to the Internet 8 but the server 500 is disconnected from the Internet 8 due to maintenance or the like, that the AP 6 and the server 500 are connected to the Internet 8 but decryption or authentication of the PING signal fails, etc.
[0066] When the printer 100 determines that it has not received a response signal to the PING signal of T302A, in T304A and T304B, it uses a specific wireless LAN of the AP6 to send a no-response notification to the terminal 10 indicating that the response signal was not received.
[0067] When the terminal 10 receives a no-response notification from AP6 in T304B, in T306, it displays a setup screen SR6 on the display unit 14. The setup screen SR6 is similar to the setup screen SR3 in Fig. 4 except for the content of the status table ST. The status table ST in the setup screen SR6 includes a message "Server communication failed" indicating that communication with the server 500 is not possible for the printer 100 with the MAC address "MACpr1".
[0068] (Case D2) Case D2 is a case in which an attempt to communicate with the server 500 is successful in the PING signal of T302A. If a response signal to the PING signal is received by the printer 100, the attempt is successful. For example, when the AP 6 is connected to the Internet 8, the AP 6 transmits the PING signal to the server 500 in T302B. Then, the AP 6 receives a response signal to the PING signal from the server 500 in T308, and transmits the response signal to the terminal 10. As a result, the response signal is received by the terminal 10.
[0069] When the printer 100 determines that it has received a response signal to the PING signal of T302A, it transmits, at T310A and T310B, a response notification indicating that the response signal has been received to the terminal 10, using a specific wireless LAN of the AP6.
[0070] When the terminal 10 receives a response notification from the AP6 at T310B, it displays a setup screen SR7 on the display unit 14 at T312. The setup screen SR7 is similar to the setup screen SR3 in Fig. 4 except for the content of the status table ST. The status table ST in the setup screen SR7 includes a message "Settings Completed" indicating that the setup of the printer 100 has been completed for the printer 100's MAC address "MACpr1".
[0071] (Setting up a second printer with an access point; Figure 7) 7 is a continuation of case B1 in FIG. 4 (i.e., a case where the establishment of a Wi-Fi connection between the printer 100 and the AP 6 fails). In this embodiment, even if the setup of the printer 100 fails, the setup of another printer 200 can be executed. Since the setup of another printer 200 can be executed without waiting for the completion of the setup of the printer 100, user convenience is improved.
[0072] In T410, the terminal 10 accepts an operation to select the "New" button in the setup screen SR3 of T252 in Fig. 4. This causes BS to be executed in the same manner as T212 and T214 in Fig. 4. In the BS, the public key "PPKpr2" of the printer 200 and the MAC address "MACpr2" of the printer 200 are obtained.
[0073] T420 is the same as T220 in FIG. 4 except that Auth is executed with the printer 200. T430 is the same as T230 in FIG. 4 except that a second printer CO is transmitted from the terminal 10 to the printer 200. The second printer CO is information used by the printer 200 to establish a Wi-Fi connection between the printer 200 and the AP6. In other words, the second printer CO is information for connecting the printer 200 to a specific wireless LAN of the AP6. The second printer CO includes a second printer SC. T432 is the same as T232 in FIG. 4 except that the second printer CO is stored in the memory 134.
[0074] 4, except that network access is performed between the printer 200 and the AP6 and a second printer SC is used. In T442, a Wi-Fi connection is established between the printer 200 and the AP6.
[0075] T450 is similar to T270 in FIG. 4, except that the sender of the Result is printer 200. T472 is similar to T272 in FIG. 4, except that setup screen SR14 is displayed. Setup screen SR14 is similar to setup screen SR4, except that the contents of the status table ST are different. Setup screen SR14 includes the message "Connection failed" for printer 100's MAC address "MACpr1", and the message "Setting up" for printer 200's MAC address "MACpr2".
[0076] T480A to T484B are the same as T280A to T284B in Fig. 5. When the response signal is received at T484B, the setup screen SR14 continues to be displayed.
[0077] T500A to T510B are the same as T300A to T302B, T308, T310A, and T310B in Fig. 6, except that the sender of the PING signal and the response notification is printer 200. T512 is the same as T312 in Fig. 6, except that setup screen SR17 is displayed. Setup screen SR17 includes the message "Connection failed" for printer 100's MAC address "MACpr1", and the message "Settings complete" for printer 200's MAC address "MACpr2".
[0078] (Registration to server 500; Figure 8) 8, a process for registering the MAC address "MACpr2" of the printer 200 in the server 500 after the setup of the printers 100 and 200 will be described. FIG. 8 is a continuation of FIG.
[0079] When the terminal 10 accepts an operation to select the "Register" button in the setup screen SR17 of T512 in Fig. 7 at T600, the terminal 10 displays a login screen SR20 on the display unit 14. The login screen SR20 is a screen for inputting account information (i.e., account name and password) used for login authentication. Account information AI of the user (i.e., administrator) of the terminal 10 is registered in advance in the server 500.
[0080] When the terminal 10 accepts input of the account information AI on the login screen SR20 in T602, it transmits a login request including the account information AI to the server 500 in T604.
[0081] When the server 500 receives a login request from the terminal 10 in T604, the server 500 executes authentication of the account information AI in the login request in T606. In this case, the authentication of the account information AI is successful. In T608, the server 500 transmits a success notification indicating that the authentication of the account information AI has been successful to the terminal 10.
[0082] When the terminal 10 receives a success notification from the server 500 in T608, the terminal 10 transmits a PIN request to the server 500 in T610 to request the generation of a PIN (short for Personal Identification Number) code. The PIN code is a code used for authentication to register the MAC address “MACpr2” of the printer 200 in the server 500.
[0083] When the server 500 receives a PIN request from the terminal 10 in T610, the server 500 generates a PIN code "1234" in T612. Then, the server 500 associates the PIN code "1234" with the currently logged-in account information AI and stores the PIN code "1234" in a memory (not shown) of the server 500.
[0084] In T614, the server 500 transmits the PIN code “1234” generated in T612 to the terminal 10.
[0085] When the terminal 10 receives the PIN code "1234" from the server 500 in T614, it transmits the PIN code "1234" to the printer 200 in T620A and T620B using a specific wireless LAN of the AP6. This configuration reduces the user's workload compared to the comparative example in which the PIN code "1234" is entered into the printer 200 by operating an operation unit (not shown) of the printer 200. Note that the configuration of this comparative example may be adopted in the modified example.
[0086] Furthermore, the processes of T602 to T620A are executed using the terminal 10 (i.e., the DPP Configurator) used to set up the printer 200. The user can execute registration to the server 500 without using a terminal other than the terminal 10 used to set up the printer 200. This improves user convenience.
[0087] Also, for example, a comparative example is assumed in which the PIN code "1234" is transmitted to the printer 200 using another communication path different from the specific wireless LAN of the AP6. The other communication path is, for example, a wireless LAN formed by an AP different from the AP6, a P2P connection formed between the terminal 10 and the printer 200, etc. The P2P connection is, for example, a connection according to a format such as WFD, SoftAP, Bluetooth (registered trademark), or NFC (abbreviation of Near Field Communication). In contrast, in this embodiment, a specific wireless LAN established by the setup of the printer 200 is used, so no other communication path is required. Since a process of connecting the terminal 10 and the printer 200 to another communication path is not executed, or there is no need to maintain another communication path, the processing load of the terminal 10 and the printer 200 can be reduced. Note that the configuration of this comparative example may be adopted in a modified example.
[0088] When the printer 200 receives the PIN code "1234" from the terminal 10 in T620B, the printer 200 transmits a registration request to the server 500 in T622, using a specific wireless LAN of the AP6, for registering the MAC address "MACpr2" of the printer 200 in the server 500. The registration request includes the MAC address "MACpr2" and the PIN code "1234". With this configuration, by selecting the "Register" button in the setup screen SR17, the printer 200's MAC address "MACpr2" can be registered following the setup of the printer 200. This improves user convenience.
[0089] When the server 500 receives the registration request from the printer 200 in T622, it executes authentication of the PIN code "1234" in the registration request in T624. In this case, since the PIN code "1234" is stored in the memory (not shown) of the server 500, the authentication is successful. The server 500 then identifies the account information AI stored in association with the PIN code "1234" from the memory of the server 500, and stores the MAC address "MACpr2" in the registration request in association with the identified account information AI in the memory of the server 500. This completes the registration of the MAC address "MACpr2" of the printer 200 in the server 500, and the user can receive the services provided by the server 500.
[0090] (Effects of this embodiment) According to the configuration of this embodiment, when the terminal 10 establishes a Wi-Fi connection with the AP 6, the terminal 10 uses a specific wireless LAN of the AP 6 to transmit a PING signal addressed to the server 500 to the AP 6, and attempts to communicate with the server 500 (T160A in FIG. 3). If the attempt is successful (case A2 in FIG. 3), the terminal 10 executes the setup of the printer 100 and transmits a first printer CO to the printer 100 (T230 in FIG. 4). This allows the printer 100 to be connected to the specific wireless LAN of the AP 6 (i.e., a wireless LAN capable of communicating with the server 500), and as a result, the printer 100 can communicate with the server 500 on the Internet 8.
[0091] After transmitting the first printer CO to the printer 100, the terminal 10 transmits a PING transmission instruction to the printer 100 (T300A in FIG. 6). As a result, the printer 100 attempts to communicate with the server 500 using the specific wireless LAN of the AP6 (T302A in FIG. 6). A notification indicating the result of the attempt (i.e., no response notification or response notification) is transmitted to the terminal 10. As a result, the terminal 10 displays a setup screen (i.e., SR6 or SR7) including a message corresponding to the notification (i.e., "Server communication not possible" or "Settings complete"). A user who sees the setup screen can know whether the printer 100's attempt to communicate with the server 500 on the Internet 8 using the specific wireless LAN will be successful or not. For this reason, if the printer 100's attempt to communicate with the server 500 using the specific wireless LAN fails, the user can perform an operation to connect the printer 100 to a wireless LAN that is different from the specific wireless LAN and is capable of communicating with the server 500 on the Internet 8. As a result, the printer 100 can communicate with a server 500 on the Internet 8 .
[0092] Here, a comparative example is assumed in which the printer 100 displays a message in response to the no-response notification of T304A or the response notification of T310A on the display unit 114. In this comparative example, the user needs to move closer to the printer 100 to see the message. In contrast, in this embodiment, the user can read the message by looking at the setup screens SR6 and SR7 of the terminal 10. This improves user convenience.
[0093] In addition, in this embodiment, the terminal 10 displays a setup screen including different messages in various cases. Specifically, in case C1 in which the terminal 10 cannot communicate with the printer 100 using a specific wireless LAN of the AP6, the setup screen SR5 includes a message "Printer communication failure" (T182 in FIG. 5). In case D1 in which the printer 100 cannot communicate with the server 500 using a specific wireless LAN of the AP6, the setup screen SR6 includes a message "Server communication failure" (T306 in FIG. 6). And, in case D2 in which the printer 100 can communicate with the server 500 using a specific wireless LAN of the AP6, the setup screen SR7 includes a message "Settings complete" (T312 in FIG. 6). With this configuration, the user can know whether communication with the server 500 is possible and the reason why communication with the server 500 is impossible.
[0094] (Correspondence) The terminal 10, the connection application 40, and the CPU 32 are examples of a "terminal device," a "computer program," and a "computer," respectively. The display unit 14 is an example of a "display unit (and a predetermined output unit)." The Wi-Fi I / F 16 is an example of a "communication interface" of the "terminal device." The printer 100 is an example of a "communication device." The Wi-Fi I / F 116 is an example of a "communication interface (and output unit)" of the "communication device." The AP6 and a specific wireless LAN are examples of an "access point" and a "specific LAN." The processing of T160A in FIG. 3 is an example of a "first trial processing." Selection of the "Cancel" button in the setup screen SR1 in FIG. 3 is an example of "a specific condition being satisfied." The setup screen SR1 in FIG. 3, the "New" button in the screen SR1, and selection of the "New" button are examples of a "first screen," a "first button," and a "first instruction," respectively. The "Cancel" button in the setup screen SR1 in FIG. 3 and the selection of the "Cancel" button are examples of the "second button" and "second instruction", respectively. The setup screen SR2 in FIG. 3 and the "New" button in the setup screen SR2 are examples of the "second screen" and "third button". The QR code in FIG. 4 and the Auth Req and Auth Res in T220 in FIG. 4 are examples of the "specific information", "authentication request", and "authentication response", respectively. The CO for the first printer is an example of the "connection information". The process of T280A in FIG. 5, the PING signal of T280B, and the response signal of T284A are examples of the "second trial process", "predetermined signal", and "response signal", respectively. The setup screen SR5 in FIG. 5, the setup screen SR6 in FIG. 6, and the setup screen SR7 in FIG. 6 are examples of the "third screen", "fourth screen", and "fifth screen", respectively. The no-response notification of T304B or the response notification of T310 in FIG. 6 are examples of the "result information". The PIN code "1234" of T620 and the registration request of T622 in FIG. 8 are examples of a "registration signal" and a "registration request", respectively.
[0095] T160 in FIG. 3, T230 in FIG. 4, and T300A in FIG. 6 are examples of processing realized by the "first attempt unit," the "connection information transmission unit," and the "attempt request transmission unit," respectively.
[0096] T230 in Fig. 4, T240 in Fig. 4, and T300A and T302 in Fig. 6 are examples of processing realized by a "connection information receiving unit", a "connection control unit", an "attempt request receiving unit", and an "attempt unit", respectively. T304 or T310 in Fig. 6 is an example of processing realized by a "second output control unit".
[0097] 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 of the above embodiments are listed below.
[0098] (Variation 1) In the above embodiment, the terminal 10 transmits a PING signal to the AP6 using the specific wireless LAN of the AP6 (T160A in FIG. 3). Alternatively, the terminal 10 may transmit a PING signal to the AP6 using a wired LAN between the terminal 10 and the AP6. In this variation, a LAN including the above wired LAN and the specific wireless LAN of the AP6 is an example of a "specific LAN." Also, an I / F for performing communication using the wired LAN is an example of a "communication interface."
[0099] (Variation 2) In the above embodiment, the terminal 10 transmits the first printer CO to the printer 100 via the Wi-Fi I / F 16 (T230 in FIG. 4). Alternatively, the terminal 10 may transmit the first printer CO to the printer 100 using a wired LAN between the terminal 10 and the AP 6. Furthermore, in this variation, Auth in T220 and Result in T250 may also be executed using the wired LAN. Furthermore, in this variation, the PING transmission instruction in T300A in FIG. 6 may be sent to the printer 100 using the wired LAN. In this variation, the I / F for executing communication using the wired LAN is an example of a "communication interface."
[0100] (Variation 3) The "communication device" is not limited to the printer 100, but may be, for example, a scanner, a multi-function device, a FAX machine, a PC, or the like.
[0101] (Variation 4) The "first instruction" is not limited to the selection of the "New" button in the setup screen SR1 of FIG. 3, but may be, for example, the selection of a specific button (e.g., a button other than a touch panel) on the operation unit 12 of the terminal 10, an instruction by voice, etc.
[0102] (Modification 5) The setup screen SR1 in Fig. 3 may not include the "New" button. If the attempt to communicate with the server 500 fails in response to the PING signal of T160A, the terminal 10 may not execute the processes in Fig. 4 and subsequent steps. In this modification, the "first instruction" may be omitted.
[0103] (Variation 6) The "second instruction" is not limited to the selection of the "Cancel" button in the setup screen SR1 of FIG. 3, but may be, for example, the selection of a specific button (e.g., a button other than a touch panel) on the operation unit 12 of the terminal 10, an instruction by voice, etc.
[0104] (Variation 7) The setup screen SR2 in Fig. 3 may include a "Cancel" button. Generally speaking, the terminal device may be configured to accept input of a second instruction when the attempt to communicate with the server in the first attempt process is successful.
[0105] (Variation 8) In the above embodiment, the setup screens SR1 and SR2 in FIG. 3 each include the same "New" button. Alternatively, either of the setup screens SR1 and SR2 in FIG. 3 may include another button different from the "New" button for receiving input of printer setup instructions. In this variation, the other button is an example of a "third button."
[0106] (Variation 9) The "predetermined output unit" is not limited to the display unit 14 of the terminal 10, but may be, for example, a microphone, a light, an I / F for communicating with other devices (e.g., an I / F for sending e-mail), etc. of the terminal 10. The "predetermined output unit" is also not limited to the display unit 14 provided in the terminal 10, but may be, for example, the display unit 114 provided in the printer 100. In this variation, displaying the result of the communication attempt with the server 500 in the PING signal of T302A in FIG. 6 on the display unit 114 is an example of a process realized by the "second output control unit."
[0107] (Modification 10) The process of T300A in FIG. 6 does not have to be executed. In this modification, the "attempt request" can be omitted. In other words, the "computer of the terminal device" only needs to function as the "first attempt unit" and the "connection information transmission unit."
[0108] (Modification 11) The process of T160A in FIG. 3 does not have to be executed. In this modification, the "first trial process" can be omitted. In other words, the "computer of the terminal device" only needs to function as a "connection information transmission unit" and an "trial request transmission unit."
[0109] (Modification 12) The "trial request" may be sent to the receiving device by using another communication path different from the "specific LAN." The other communication path is, for example, a P2P connection according to WFD or the like.
[0110] (Modification 13) Each of the setup screens in Figures 4 to 8 does not have to include the status table ST. In this modification, the "third screen", "fourth screen", and "fifth screen" can be omitted.
[0111] (Modification 14) The process of T280A in Fig. 5 does not have to be executed. In the modification, the "second trial process", the "predetermined signal", and the "response signal" can be omitted.
[0112] (Modification 15) In place of displaying the QR code in T204 of FIG. 4, the printer 100 may execute the processes of the following modifications 15-1 and 15-2.
[0113] (Variation 15-1) Printer 100 may cause print execution unit 118 to print a QR code. In this case, terminal 10 acquires information such as public key "PPKpr1" by photographing the printed QR code. In this variation, printing of the QR code is an example of "specific information being output by a communication device", and print execution unit 118 is an example of an "output unit" of the "communication device".
[0114] (Variation 15-2) The printer 100 may establish a P2P connection (e.g., a connection according to the WFD method, Bluetooth method, or NFC method) with the terminal 10. In this case, the printer 100 may use the established P2P connection to transmit information such as the public key "PPKpr1" to the terminal 10. In this variation, the transmission of information such as the public key "PPKpr1" is an example of "specific information being output by a communication device", and an I / F for performing wireless communication using a P2P connection (e.g., a connection according to the WFD method, Bluetooth method, or NFC method) is an example of an "output unit" of the "communication device".
[0115] (Variation 16) In the above embodiment, each DPP process (Auth, etc.) is executed, and the first printer CO is sent to the printer 100. Alternatively, each DPP process may not be executed, and the wireless profile of the AP6 (i.e., SSID and password) may be sent from the terminal 10 to the printer 100. In this variation, the wireless profile is an example of "connection information", and the "public key", "authentication request", and "authentication response" may be omitted.
[0116] (Variation 17) The "registration signal" is not limited to a signal including a PIN code, and may be, for example, a signal including a command instructing transmission of a registration request and not including a PIN code.
[0117] (Modification 18) The process in Fig. 8 does not have to be executed. In this modification, the "registration signal" and the "registration request" can be omitted.
[0118] (Modification 19) In the above embodiment, the processes in FIGS. 3 to 8 are implemented by software (for example, the connection application 40), but at least one of these processes may be implemented by hardware such as a logic circuit.
[0119] 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. [Explanation of symbols]
[0120] 2: communication system, 6: AP, 8: Internet, 10: terminal, 12: operation unit, 14: display unit, 16: Wi-Fi I / F, 18: camera, 30: control unit, 32: CPU, 34: memory, 36: OS program, 40: connection application, 100: printer, 112: operation unit, 114: display unit, 116: Wi-Fi I / F, 118: print execution unit, 130: control unit, 132: CPU, 134: memory, 136: program, 200: printer, 500: server, AI: account information, SR1 to SR17: setup screens, ST: status table, SR20: login screen
Claims
1. A computer program for a terminal device, comprising: The terminal device A communication interface for performing communication using a LAN (Local Area Network); A computer, Equipped with The computer program causes the computer to operate in the following manner: a first attempt unit that executes a first attempt process for attempting communication with a server on the Internet via the communication interface by utilizing a specific LAN to which the terminal device is currently connected; a connection information sending unit that sends connection information to a communication device different from the terminal device when an attempt to communicate with the server in the first attempt process is successful, and does not send the connection information to the communication device when a specific condition including an attempt to communicate with the server in the first attempt process is satisfied, the connection information being information for connecting the communication device to the specific LAN; A computer program that functions as a
2. the connection information transmission unit transmits the connection information to the communication device when an attempt to communicate with the server fails in the first attempt process and a first instruction is input; The computer program product according to claim 1 , wherein the specific condition includes that an attempt to communicate with the server in the first attempt process fails and the first instruction is not input.
3. The terminal device further includes a display unit, The computer program further causes the computer to 3. The computer program of claim 2, further comprising: a first display control unit that causes the display unit to display a first screen including a first button for accepting input of the first instruction when an attempt to communicate with the server fails in the first attempt process.
4. the specific condition includes that an attempt to communicate with the server in the first attempt process fails, the first instruction is not input, and a second instruction different from the first instruction is input; 4. The computer program product according to claim 2, wherein the terminal device is configured not to accept input of the second instruction when an attempt to communicate with the server in the first attempt process is successful.
5. The terminal device further includes a display unit, The computer program further causes the computer to a first display control unit that, when an attempt to communicate with the server fails in the first attempt process, causes the display unit to display a first screen including a first button for accepting input of the first instruction and a second button for accepting input of the second instruction; a second display control unit that, when an attempt to communicate with the server in the first attempt process is successful, causes the display unit to display a second screen that includes a third button for receiving an instruction to transmit the connection information to the communication device but does not include the second button; The computer program product according to claim 4,
6. The computer program further causes the computer to A computer program as described in any one of claims 1 to 5, functioning as an attempt request sending unit that sends an attempt request to the communication device after the connection information is sent to the communication device, the attempt request being a request to cause the communication device to attempt communication with the server using the specific LAN, and the result of the attempt being output by a predetermined output unit.
7. A computer program for a terminal device, comprising: The terminal device A communication interface for performing communication via a LAN (Local Area Network); A computer, Equipped with The computer program causes the computer to operate in the following manner: a connection information transmission unit that transmits connection information to a communication device different from the terminal device via the communication interface, the connection information being information for connecting the communication device to a specific LAN to which the terminal device is currently connected; an attempt request sending unit that sends an attempt request to the communication device via the communication interface after the connection information is sent to the communication device, the attempt request being a request for causing the communication device to attempt communication with a server using the specific LAN, the server being on the Internet, and a result of the attempt being output by a predetermined output unit; A computer program that functions as a
8. 8. The computer program product according to claim 6, wherein the attempt request sending unit sends the attempt request to the communication device via the communication interface using the specific LAN after the connection information is sent to the communication device and the communication device is connected to the specific LAN.
9. The terminal device further includes the predetermined output unit, The computer program further causes the computer to a result information receiving unit that receives result information indicating a result of the attempt from the communication device via the communication interface in response to the attempt request being transmitted to the communication device; a first output control unit that causes the predetermined output unit to output a result indicated by the received result information; 9. A computer program as claimed in claim 6, which causes a computer to function as follows:
10. the predetermined output unit is a display unit, The computer program further causes the computer to a second attempt unit that executes a second attempt process to attempt communication with the communication device via the communication interface by using the specific LAN after the connection information is transmitted to the communication device; a third display control unit that causes a third screen to be displayed on the display unit when an attempt to communicate with the communication device fails in the second attempt process; Function as a The first output control unit is displaying a fourth screen on the display unit when the attempt to communicate with the communication device is successful in the second attempt process and the result information indicating that the attempt to communicate with the server is unsuccessful is received from the communication device; displaying a fifth screen on the display unit when the attempt to communicate with the communication device is successful in the second attempt process and the result information indicating that the attempt to communicate with the server is successful is received from the communication device; The computer program product of claim 9 , wherein the third screen, the fourth screen, and the fifth screen include different messages from each other.
11. The computer program further causes the computer to A computer program according to any one of claims 1 to 9, which functions as a second attempt unit that executes a second attempt process to attempt communication with the communication device via the communication interface using the specific LAN after the connection information is sent to the communication device.
12. the communication interface is an interface for performing communication using a wireless LAN, The computer program product according to claim 1 , wherein the specific LAN is a wireless LAN formed by an access point.
13. The computer program further causes the computer to an acquisition unit that acquires a public key of the communication device when specific information obtained by using the public key of the communication device is output by the communication device; an authentication request sending unit that sends an authentication request using the acquired public key to the communication device; an authentication response receiving unit that receives an authentication response from the communication device in response to the authentication request being transmitted to the communication device; Functioning as a The computer program product of claim 12 , wherein the connection information transmission unit transmits the connection information to the communication device after the authentication response is received from the communication device.
14. The computer program further causes the computer to 14. The computer program product according to claim 1, further comprising a registration signal transmission unit that transmits a registration signal to the communication device after the connection information is transmitted to the communication device, the registration signal being a signal for registering identification information of the communication device in the server.
15. 1. A communication device, comprising: A communication interface for performing communication using a LAN (Local Area Network); a connection information receiving unit that receives connection information from a terminal device different from the communication device via the communication interface, the connection information being information for connecting the communication device to a specific LAN to which the terminal device is currently connected; a connection control unit that connects the communication interface to the specific LAN by using the received connection information; an attempt request receiving unit that receives an attempt request from the terminal device via the communication interface after the connection information is received from the terminal device, the attempt request being a request for causing the communication device to attempt communication with a server using the specific LAN, the server being present on the Internet; an attempt unit that attempts communication with the server via the communication interface by using the specific LAN after the attempt request is received from the terminal device; a second output control unit that causes an output unit of the communication device to output result information indicating a result of the attempt; A communication device comprising:
16. the output unit is the communication interface, The communication device according to claim 15 , wherein the second output control unit transmits the result information to the terminal device via the communication interface.
17. 17. The communication device according to claim 15, wherein the attempt request receiving unit receives the attempt request from the terminal device via the communication interface by using the specific LAN after the communication device is connected to the specific LAN.
18. The communication device further comprises: a signal receiving unit that receives a predetermined signal from the terminal device via the communication interface by using the specific LAN after the connection information is received from the terminal device; 18. The communication device according to claim 15, further comprising: a response signal transmitting unit configured to transmit a response signal to the terminal device via the communication interface using the specific LAN in response to receiving the predetermined signal from the terminal device.
19. the communication interface is an interface for performing communication using a wireless LAN, The communication device according to claim 15 , wherein the specific LAN is a wireless LAN formed by an access point.
20. The communication device further comprises: an output control unit that causes the output unit to output specific information obtained by using a public key; an authentication request receiving unit that receives an authentication request using the public key from the terminal device via the communication interface after the specific information is output; an authentication response transmission unit that transmits an authentication response to the terminal device via the communication interface in response to receiving the authentication request from the terminal device; Equipped with The communication device according to claim 15 , wherein the connection information receiving unit receives the connection information from the terminal device after the authentication response is transmitted to the terminal device.
21. The communication device further comprises:
21. The communication device according to claim 15, further comprising a registration request sending unit that, when communication with the server is possible in the attempt, sends a registration request to the server via the communication interface using the specific LAN to register identification information of the communication device to the server.
Citation Information
Patent Citations
Communication system
JP2014127739A
Communication terminal, communication system, communication method and program
JP2016213630A
Radio network setting system, communication terminal, and radio network setting method
JP2017046025A
Home appliance, home appliance network connection system, and home appliance network connection method
JP2017512396A
Communication device, communication control method and program
JP2018148470A
