Communication device, terminal, and computer program therefor
By establishing multiple Wi-Fi connections and transmitting impossibility information, the communication device and terminal device address the issue of wireless communication failures, ensuring efficient and user-friendly recovery through alternative connection methods.
Patent Information
- Application Number
- JP2024105163
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2026-01-16
AI Technical Summary
Existing communication devices do not effectively notify users when wireless communication becomes impossible, leading to user inconvenience and inefficiency in establishing alternative connections.
A communication device and terminal device are configured to establish multiple wireless connections using different Wi-Fi standards, allowing the device to transmit impossibility information when primary communication fails, enabling the terminal device to output this information and guide the user through establishing alternative connections.
Enables users to promptly recognize and resolve wireless communication failures by providing clear notifications and facilitating seamless transitions to alternative communication paths, enhancing user convenience and efficiency.
Smart Images

Figure 2026006289000001_ABST
Abstract
Description
[Technical Field]
[0001] The present specification relates to a technique for situations in which a communication device transitions to a state in which wireless communication is no longer possible. [Background technology]
[0002] Patent Document 1 discloses a technique for notifying a user of the cause of a communication failure between a communication device and an information processing device via an external device. In this technique, when communication failure via the external device is not possible, a new connection is established between the communication device and the information processing device without using the external device. The information processing device then obtains the cause from the communication device via the newly established connection and notifies the user of the cause. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Patent Publication No. 2021-022877 Summary of the Invention [Problem to be solved by the invention]
[0004] SUMMARY OF THE INVENTION A novel technique is provided herein for notifying a user that a communication device is in a state where wireless communication is not possible. [Means for solving the problem]
[0005] This specification discloses a communication device, which may include: a Wi-Fi interface for performing wireless communication according to the Wi-Fi standard; a first establishing unit for establishing a first wireless connection between the communication device and a first external device via the Wi-Fi interface in accordance with a first method of the Wi-Fi standard, wherein the communication device is capable of performing wireless communication with a terminal device using the first wireless connection; a second establishing unit for establishing a second wireless connection between the communication device and the terminal device via the Wi-Fi interface in accordance with a second method of the Wi-Fi standard that is different from the first method; and a transmitting unit for, when the communication device transitions to a state in which it is unable to perform wireless communication with the terminal device using the first wireless connection after both the first wireless connection and the second wireless connection have been established in the communication device, transmitting impossibility information to the terminal device via the Wi-Fi interface, indicating that the wireless communication using the first wireless connection is impossible.
[0006] According to the above configuration, when the communication device transitions to a state in which it is unable to perform wireless communication with the terminal device using the first wireless connection after both the first wireless connection according to the first method and the second wireless connection according to the second method have been established, the communication device transmits impossibility information to the terminal device using the second wireless connection, thereby allowing the user of the terminal device to know that the communication device is unable to perform wireless communication using the first wireless connection.
[0007] This specification also discloses a terminal device, the terminal device including: a Wi-Fi interface for performing wireless communication in accordance with the Wi-Fi standard; a first establishing unit for establishing a first wireless connection between the terminal device and a first external device via the Wi-Fi interface in accordance with a first method of the Wi-Fi standard, the terminal device being capable of performing wireless communication with a communication device using the first wireless connection; and a second establishing unit for establishing a second wireless connection between the communication device and the terminal device via the Wi-Fi interface in accordance with a second method of the Wi-Fi standard that is different from the first method. The communication device may include a first receiving unit that receives impossibility information indicating that the wireless communication using the first wireless connection is not possible from the communication device via the Wi-Fi interface using the second wireless connection when, after both the first wireless connection and the second wireless connection have been established in the terminal device, the communication device transitions to a state in which wireless communication using the first wireless connection with the terminal device is not possible; and a first output control unit that, when the impossibility information is received from the communication device, outputs the impossibility information to an output unit of the terminal device.
[0008] According to the above configuration, when the communication device transitions to a state in which wireless communication with the terminal device using the first wireless connection is not possible after both the first wireless connection according to the first method and the second wireless connection according to the second method have been established, the terminal device receives impossibility information from the communication device using the second wireless connection and outputs the impossibility information, thereby allowing the user of the terminal device to know that the communication device is not able to perform wireless communication using the first wireless connection.
[0009] 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 computer program for the above-mentioned terminal device, a computer-readable recording medium storing the computer program, and a method executed by the terminal device are also novel and useful. Also, a communication system including the above-mentioned communication device and a terminal device is novel and useful. [Brief explanation of the drawings]
[0010] [Figure 1] FIG. 1 is a configuration diagram of a communication system. [Figure 2] FIG. 10 is a sequence diagram of processing executed between devices. [Figure 3] FIG. 2 is a sequence diagram of the first embodiment. [Figure 4] FIG. 10 is a sequence diagram of a second embodiment. [Figure 5] FIG. 11 is a sequence diagram of a third embodiment. [Figure 6] FIG. 10 is a sequence diagram of a fourth embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0011] (First Example) (Configuration of communication system 2; Figure 1) As shown in FIG. 1, the communication system 2 includes a printer 10, a terminal 100, and an access point (hereinafter referred to as "AP") 6A. A wireless connection (hereinafter referred to as "Wi-Fi Aware connection") conforming to the Wi-Fi Aware method of the Wi-Fi standard is established between the printer 10 and the terminal 100. The printer 10 and the terminal 100 belong to a wireless network formed by the AP 6A. As will be described in detail later, the terminal 100 receives the status of the printer 10 using the Wi-Fi Aware connection, for example, and transmits print data representing an image to be printed to the printer 10 via the AP 6A. In this embodiment, we consider a situation in which, in this situation, the AP 6A is replaced with an AP 6B, making it impossible for the printer 10 and the terminal 100 to perform wireless communication via the AP 6A.
[0012] (Printer 10 configuration) The printer 10 is a peripheral device capable of executing a printing function, such as a peripheral device for a terminal 100. In a modified example, the printer 10 may be a multi-function device capable of executing a scanning function, a facsimile function, etc. in addition to a printing function. The printer 10 includes an operation unit 12, a display unit 14, a Wi-Fi interface 16, a print execution unit 18, and a control unit 30. Each unit 12 to 30 is connected to a bus line. In the following, the interface will be referred to as "I / F."
[0013] The operation unit 12 is an I / F that allows the user to input various information to the printer 10, and includes, for example, a touch screen and buttons. The user can input various information to the printer 10 via the operation unit 12. The display unit 14 is a display for displaying various information. The print execution unit 18 includes, for example, an inkjet, laser, or thermal printing mechanism.
[0014] The Wi-Fi I / F 16 is a wireless I / F for performing Wi-Fi communication in accordance with the Wi-Fi standard. The Wi-Fi standard is a wireless communication standard for performing wireless communication in accordance with, for example, the 802.11 standard of the Institute of Electrical and Electronics Engineers, Inc. (IEEE) and its equivalent standards, such as 802.11a, 11b, 11n, and 11ac. In particular, the Wi-Fi I / F 16 supports the Wi-Fi Aware method established by the Wi-Fi Alliance. Details of the Wi-Fi Aware method are described in the standard document "Wi-Fi Aware Specification Version 4.0" created by the Wi-Fi Alliance. Wi-Fi Aware is also called a Wi-Fi Neighbor Awareness Network (NAN).
[0015] As will be described in detail later, each device (printer 10, terminal 100) can participate in a Wi-Fi Aware Neighbor Awareness Network (NAN) cluster. The discovery windows, which are the periods during which signals are sent and received, are synchronized among devices participating in the same NAN class.
[0016] Each device participating in a NAN cluster is assigned one of three roles: Master, Anchor Master, or Non-Master. A Master can share timer information, search for services, and invite devices to the NAN cluster. An Anchor Master can set timer information for synchronization in addition to the functions that a Master can perform. A Non-Master can share timer information and search for services, but cannot invite devices to the cluster.
[0017] Each device participating in a NAN cluster can search for other devices in the NAN cluster (more specifically, for services provided by the other devices). The signal for searching for services is called Subscribe. A device that receives Subscribe transmits a response signal called Publish. As will be described in detail later, in this embodiment, the terminal 100 transmits Subscribe to search for other devices that can provide a connection service related to a Wi-Fi Aware connection. Since the printer 10 is capable of providing a connection service, it transmits a Publish to the terminal 100 indicating that it can provide the connection service. As a result, when a pairing process for establishing a Wi-Fi Aware connection is executed between the printer 10 and the terminal 100, a Wi-Fi Aware connection is established between the printer 10 and the terminal 100. In this embodiment, the terminal 100 also transmits Subscribe to search for other devices that can provide a status service related to the device status. Since the printer 10 is capable of providing a status service, it transmits a Publish including its own status (e.g., connection status) to the terminal 100.
[0018] The Wi-Fi I / F 16 is also capable of performing wireless communication according to a normal Wi-Fi standard, which is different from the Wi-Fi Aware standard. Generally speaking, wireless communication according to the normal Wi-Fi standard is wireless communication that uses an AP (e.g., AP 6A), while wireless communication according to the Wi-Fi Aware standard is wireless communication that does not use an AP. For example, the printer 10 can join a normal Wi-Fi network by establishing a wireless connection (hereinafter referred to as an "AP connection") with an AP (e.g., 6A). The printer 10 can perform wireless communication with other devices (e.g., terminal 100) that belong to the normal Wi-Fi network via the AP 6A.
[0019] The control unit 30 includes a CPU 32 and a memory 34. The memory 34 includes a main storage device and an auxiliary storage device. The main storage device includes, for example, RAM and cache memory. The auxiliary storage device may be, for example, a flash memory, a solid state drive (SSD), or a ROM, or a combination thereof. A program 36 is stored in the auxiliary storage device. The CPU 32 performs various processes in accordance with the program 36 loaded from the auxiliary storage device to the main storage device.
[0020] (Configuration of terminal 100) The terminal 100 is a portable terminal device such as a mobile phone, a smartphone, a PDA, or a tablet PC. In a modified example, the terminal 100 may be a desktop PC, a laptop PC, or the like. The terminal 100 includes an operation unit 112, a display unit 114, a Wi-Fi I / F 116, and a control unit 130. The units 112 to 130 are connected to a bus line.
[0021] The operation unit 112 is an I / F that allows the user to input various information to the terminal 100, and includes, for example, a touch screen and buttons. The user can input various information to the terminal 100 via the operation unit 112. The display unit 114 is a display for displaying various information. The Wi-Fi I / F 116 is the same as the Wi-Fi I / F 16 of the printer 10. That is, the Wi-Fi I / F 116 supports the Wi-Fi Aware system.
[0022] The control unit 130 includes a CPU 132 and a memory 134. The memory 134 includes a main storage device and an auxiliary storage device. The main storage device includes, for example, a RAM and a cache memory. The auxiliary storage device may be, for example, a flash memory, a solid state drive (SSD), or a ROM, or a combination thereof. An OS program 136 and an application program 138 are stored in the auxiliary storage device. The CPU 132 performs various processes in accordance with the programs 136 and 138 loaded from the auxiliary storage device to the main storage device. Hereinafter, the OS program will be referred to as "OS." Furthermore, an application program will be referred to as "app."
[0023] The OS 136 controls the basic operations of the terminal 100. The application 138 can establish a Wi-Fi Aware connection between the printer 10 and the terminal 100 by causing the OS 136 to execute processing in accordance with the Wi-Fi Aware standard. The application 138 can also transmit print data representing an image to be printed to the printer 10 via an AP (e.g., AP 6A). The application 138 is, for example, downloaded from a server on the Internet and installed on the terminal 100.
[0024] (AP6A configuration) AP6A is a typical access point known as a wireless access point or wireless LAN router. AP6A relays communications between a pair of devices belonging to a wireless network in which AP6A acts as the master station. AP6A stores a Service Set Identifier (SSID) "AAA" and a password "XXX." Hereinafter, the password will be referred to as "PW." SSID "AAA" is information that identifies the wireless network formed by AP6A. PW "XXX" is authentication information used in the wireless network.
[0025] (AP6B configuration) AP 6B stores the SSID "BBB" and PW "YYY." In all other respects, it has the same configuration as AP 6A.
[0026] (Processing performed between each device; Figure 2) Next, the processing executed between each device will be described with reference to FIG. 2. Note that, in the following, for ease of understanding, the processing executed by the CPU (e.g., 32, 132) of each device (e.g., printer 10, terminal 100) will be described as the processing subject, rather than each CPU being described as the processing subject. Also, communication between each device is performed via a Wi-Fi I / F (e.g., 16, 116). Therefore, in the following description, when describing communication, the phrase "via a Wi-Fi I / F" will be omitted. In the initial state of FIG. 2, printer 10 belongs to a NAN cluster and operates as an Anchor Master.
[0027] At T10, various processes are executed to establish an AP connection between the printer 10 and the AP 6A, and a Wi-Fi connection is established between the printer 10 and the AP 6A. The various processes described above include, for example, receiving input of the SSID "AAA" and PW "XXX" at the printer 10, and authenticating the input SSID "AAA" and PW "XXX." Although not shown, when the printer 10 establishes an AP connection with the AP 6A at T10, the printer 10 stores the SSID "AAA."
[0028] Furthermore, at T12, various processes are executed to establish an AP connection between the terminal 100 and the AP 6A, and an AP connection is established between the terminal 100 and the AP 6A. As a result, both the printer 10 and the terminal 100 belong to the wireless network formed by the AP 6A. In other words, the printer 10 and the terminal 100 can communicate with each other via the AP 6A. Although not shown, when the terminal 100 establishes a connection with the AP 6A at T12, the terminal 100 stores the SSID "AAA."
[0029] When terminal 100 receives a NAN activation operation from the user at T20, it transitions to a state in which it can receive signals conforming to the Wi-Fi Aware method. Here, "a state in which it can receive signals conforming to the Wi-Fi Aware method" means a state in which Wi-Fi I / F 116 receives signals conforming to the Wi-Fi Aware method from the outside and CPU 132 can execute processing conforming to the signals.
[0030] At T22, the printer 10 broadcasts a NAN Discovery Beacon frame (hereinafter referred to as "Discovery"). Discovery is a signal conforming to the Wi-Fi Aware method, and is a signal for notifying the outside world of information about the NAN cluster to which the printer 10 belongs. A device that does not belong to the NAN cluster can join the NAN cluster in response to receiving Discovery. In other words, Discovery can be said to be a signal for inviting devices that do not belong to the NAN cluster to join the NAN cluster. The printer 10 periodically transmits Discovery.
[0031] At the stage of T22, the terminal 100 is operating in a state in which it can receive signals conforming to the Wi-Fi Aware method. Therefore, the terminal 100 receives a Discovery from the printer 10 at T22. In this case, the terminal 100 joins the NAN cluster at T24. As a result, the printer 10 and the terminal 100 belong to the same NAN cluster. Although not shown, once the terminal 100 joins the NAN cluster, it communicates with the printer 10 to determine its role within the NAN cluster. In this case, the terminal 100 operates as a Non-Master.
[0032] At T26, the terminal 100 broadcasts a Subscribe to the NAN cluster. In this case, the Subscribe is sent to the printer 10 in the NAN cluster. If devices other than the printer 10 and the terminal 100 exist in the NAN cluster, the Subscribe is also sent to those devices. The Subscribe at T26 is a signal for searching for devices that provide a connection service, i.e., a signal for searching for devices with which a Wi-Fi Aware connection can be established.
[0033] At T26, the printer 10 receives a Subscribe from the terminal 100. Since the printer 10 can provide a connection service, at T28 the printer 10 sends a Publish to the terminal 100. The Publish includes the serial number P1 of the printer 10.
[0034] At T26, the terminal 100 receives a Publish from the printer 10. If other devices exist in the NAN cluster, the terminal 100 may also receive a Publish from those devices. When the terminal 100 receives one or more Publishes, at T30, the terminal 100 displays a selection screen SC1 on the display unit 114. The selection screen SC1 includes a message prompting the user to select a device with which the terminal 100 wishes to establish a Wi-Fi Aware connection, and the received serial number. In this case, the selection screen SC1 includes the serial number P1.
[0035] In T30, the terminal 100 accepts the user's selection of serial number P1 on selection screen SC1. In this case, in T34, a pairing process is executed between the printer 10 corresponding to the selected serial number P1 and the terminal 100. By executing the pairing process, the printer 10 and the terminal 100 each store pairing information (e.g., an NAN pairing key (NPK) and a NAN identity key (NIK)) for a Wi-Fi Aware connection. As a result, in T40, the pairing information is used to establish a Wi-Fi Aware connection between the printer 10 and the terminal 100.
[0036] Furthermore, when a Wi-Fi Aware connection is established between the printer 10 and the terminal 100, the printer 10 stores the pairing information and the serial number T1 in association with each other in the memory 134.
[0037] When a Wi-Fi Aware connection is established between the printer 10 and the terminal 100, the terminal 100 stores the pairing information and the serial number P1 in association with each other in the memory 134.
[0038] In this way, the printer 10 and the terminal 100 can perform wireless communication via the AP 6A, and can also perform wireless communication using a Wi-Fi Aware connection. In this embodiment, the terminal 100 can send print data to the printer 10 using wireless communication via the AP 6A. The terminal 100 can also receive the status of the printer 10 from the printer 10 using wireless communication using a Wi-Fi Aware connection. Here, the status of the printer 10 is used in a situation where it is desired to have the printer 10 perform printing. Therefore, in this embodiment, the printer 10 with which a Wi-Fi Aware connection has been established with the terminal 100 is the printer from which the user desires to perform printing.
[0039] Thereafter, the user installs AP 6B in place of AP 6A. As a result, the AP connection between the printer 10 and AP 6A and the AP connection between the terminal 100 and AP 6A are disconnected. In other words, the printer 10 and the terminal 100 are unable to perform wireless communication via AP 6A. Note that in a modified example, a situation is also envisioned in which the AP connection between the printer 10 and AP 6A and the AP connection between the terminal 100 and AP 6A are disconnected when the power of AP 6A is turned off.
[0040] After AP 6B is installed, various processes for establishing a Wi-Fi connection between terminal 100 and AP 6B are executed at T50, and a Wi-Fi connection is established between terminal 100 and AP 6A. The various processes described above include, for example, accepting input of SSID "BBB" and PW "YYY" at terminal 100, and authenticating the input SSID "BBB" and PW "YYY." At this stage, an AP connection is not established between printer 10 and AP 6B, for example, because the user has forgotten to establish an AP connection between printer 10 and the new AP 6B.
[0041] (Continuation of Figure 2; Figure 3) 3, the terminal 100 accepts a print operation from a user. The print operation includes, for example, specification of the serial number P1 of the printer 10 to be used for printing, specification of image data representing the image to be printed, and specification of print conditions (e.g., print paper size, number of copies, number of colors (color, monochrome, grayscale)). In this case, the terminal 100 broadcasts a Subscribe to the NAN cluster in T102. The Subscribe is a signal for searching for a device that provides a status service, i.e., a signal requesting the status of the device to which the Subscribe is sent, and in this case, is sent to the printer 10 in the NAN cluster.
[0042] In T102, the printer 10 receives a Subscribe from the terminal 100. In this case, although not shown, the printer 10 executes a process to search for APs present around the printer 10 (for example, by sending a Probe Request). In this case, since AP 6B is present around the printer 10, the printer 10 receives the SSID "BBB" from AP 6B. The printer 10 has never belonged to a wireless network identified by the SSID "BBB." In this case, in T104, the printer 10 sends a Publish to the terminal 100 using the Wi-Fi Aware connection already established between the printer 10 and the terminal 100. The Publish includes the serial number P1 of the printer 10 and "AP connection not possible (no SSID)." Here, "AP connection not possible (no SSID)" means that the search did not find the SSID of a wireless network to which the printer 10 had previously belonged.
[0043] In T104, the terminal 100 receives a Publish from the printer 10. Because the Publish includes an AP connection not possible (no SSID), the terminal 100 can recognize that the printer 10 has not established an AP connection. In this case, the terminal 100 determines in T106 whether a Wi-Fi Aware connection has been established (i.e., pairing has been established) with each device that sent the Publish (in this case, the printer 10). Specifically, the terminal 100 determines whether the serial number P1 included in the received Publish is associated with pairing information and stored. In this case, the terminal 100 stores the pairing information and the serial number P1 in association with each other (see T42 in FIG. 2). Therefore, in T106, the terminal 100 determines that a Wi-Fi Aware connection with the printer 10 has been established.
[0044] The reason for determining whether a Wi-Fi Aware connection has been established with the device that sent the Publish is as follows: A printer for which Wi-Fi Aware has not been established with the terminal 100 is likely to be a printer that the user does not want to print from. Even if the terminal 100 receives a Publish from such a printer including an AP connection not possible (no SSID), the user does not want the printer to print, so there is no need for the terminal 100 to be able to perform wireless communication with the printer via an AP. In other words, there is no need for the printer to have an AP connection established with AP6B. For this reason, if it is determined in T106 that the printer does not have a Wi-Fi Aware connection established, the processes from T110 onward for establishing an alternative communication path for communicating print data are not executed. By executing the determination process of T106, the terminal 100 can switch whether to execute the processes from T110 onward.
[0045] In T104, the terminal 100 receives a Publish including an AP connection not possible (no SSID) from the printer 10, and in response to determining in T106 that a Wi-Fi Aware connection with the printer 10 has been established, in T110 the terminal 100 displays a cause screen SC10 on the display unit 114. The cause screen SC10 includes a message indicating that wireless communication with the printer 10 via an AP is not possible, and a message indicating the cause of the inability to perform wireless communication with the printer 10 via the AP (i.e., "AP to which the printer connects cannot be found").
[0046] Furthermore, at T112, the terminal 100 displays a method screen SC20 on the display unit 114. The method screen SC20 is a screen showing a method for performing wireless communication in place of wireless communication via the AP 6A, and includes a message asking the user whether or not to connect the printer 10 to another AP, a YES button, and a NO button. By looking at the method screen SC20, the user can know the method for causing the printer 10 to execute printing (i.e., that an AP connection with another AP should be established).
[0047] In T120, the terminal 100 accepts selection of the YES button on the method screen SC20 from the user. In this case, in T122, the terminal 100 displays the input screen SC22 on the display unit 114. The input screen SC22 includes a message prompting the user to input the SSID and PW of the AP (AP6B in this case) to which the printer 10 should establish an AP connection, an SSID input field, a PW input field, and an OK button.
[0048] In T124, the terminal 100 accepts from the user input of the SSID "BBB" of the AP 6B into the SSID input field on the input screen SC22 and input of the PW "YYY" of the AP 6B into the PW input field, and then accepts selection of the OK button. In this case, in T126, the terminal 100 transmits the input SSID "BBB" and PW "YYY" to the printer 10 using the established Wi-Fi Aware connection.
[0049] At T126, the printer 10 receives the SSID "BBB" and PW "YYY" from the terminal 100. In this case, various processes are executed to establish a Wi-Fi connection between the printer 10 and AP 6B, and a Wi-Fi connection is established between the printer 10 and AP 6B. The various processes include, for example, searching for a wireless network identified by the received SSID "BBB" (i.e., searching for AP 6B), authenticating the received SSID "BBB" and PW "YYY", etc. Although not shown, the printer 10 stores the SSID "BBB" when it establishes an AP connection with AP 6B.
[0050] When an AP connection is established between the printer 10 and AP 6B, both the printer 10 and the terminal 100 belong to the wireless network formed by the AP 6B. That is, the printer 10 and the terminal 100 can communicate with each other via the AP 6B. At T132, the terminal 100 transmits print data to the printer 10 via the AP 6B. The print data has a data format that can be interpreted by the printer 10.
[0051] When the printer 10 receives print data from the terminal 100 via the AP 6B at T132, the printer 10 causes the print execution unit 18 to print the image to be printed represented by the print data at T134. In this way, the printer 10 can receive print data from the terminal 100 via the AP 6B and print the image to be printed by establishing a new AP connection with the AP 6B after the AP connection with the AP 6A is disconnected. In particular, the AP connection between the printer 10 and the AP 6B is established in a series of steps after a print operation is received from the user, improving user convenience.
[0052] (Effects of the first embodiment) According to the above configuration, after both an AP connection with the AP 6A and a Wi-Fi Aware connection with the terminal 100 are established, the printer 10 transitions to a state in which wireless communication with the terminal 100 via the AP 6A is disabled in response to the AP connection being disconnected (see FIG. 2). In this case, the printer 10 uses the Wi-Fi Aware connection to send a Publish including an AP connection disabled (no SSID) to the terminal 100 (T104 in FIG. 3). Upon receiving the Publish from the printer 10, the terminal 100 displays a cause screen SC10 on the display unit 114 (T110). As a result, the user of the terminal 100 can know that wireless communication via the AP between the printer 10 and the terminal 100 is disabled.
[0053] Furthermore, normally, when the AP connection between the printer 10 and the AP 6A is disconnected, the user must go close to the printer 10 and operate the printer 10 directly to establish a new AP connection. Alternatively, when the AP connection between the printer 10 and the AP 6A is disconnected, the user must voluntarily access the printer 10, which functions as a web server, to establish a new AP connection. On the other hand, in this embodiment, when the AP connection between the printer 10 and the AP 6A is disconnected and a print operation is accepted, an AP connection can be established between the printer 10 and a new AP 6B during a series of processing steps (T110 to T130 in FIG. 3). This improves user convenience.
[0054] (Correspondence) The printer 10 and the terminal 100 are examples of a "communication device" and a "terminal device," respectively. The AP 6A and AP 6B are examples of a "first external device" and a "second external device," respectively. The serial number P1 of the printer 10 is an example of "specific identification information." The normal Wi-Fi system and the Wi-Fi Aware system are examples of a "first system" and a "second system," respectively. The AP connection established between the printer 10 and the AP 6A at T10 in FIG. 2 and the AP connection established between the terminal 100 and the AP 6A at T12 are examples of a "first wireless connection established between a communication device and a first external device" and a "first wireless connection established between a terminal device and a first external device," respectively. The Wi-Fi Aware connection established between the printer 10 and the terminal 100 at T40 is an example of a "second wireless connection." The AP connection established between the printer 10 and the AP 6B at T130 in FIG. 3 is an example of a "third wireless connection." The Subscribe in T102 is an example of a "specific processing request." The AP connection failure (no SSID) included in the Publish in T104 is an example of "impossibility information," "cause information," and "first cause information." The method screen SC20 is an example of "first method information." The print data sent in T132 is an example of "compatible information." The SSID "BBB" and PW "YYY" of AP6B are an example of "connection information."
[0055] The correspondence relationship of the processes executed by the "communication device" is as follows: The process of T10 and the process of T40 in FIG. 2, and the process of T130 in FIG. 3 are examples of processes executed by the "first establishment unit," the "second establishment unit," and the "third establishment unit," respectively. The process of T104 is an example of processes executed by the "transmission unit." The process of T126 and the process of T132 are examples of processes executed by the "connection information reception unit" and the "first correspondence information reception unit," respectively.
[0056] The correspondence relationship of the processes executed by the "terminal device" is as follows: The processes of T12 and T40 in FIG. 2 are examples of processes executed by the "first establishment unit" and the "second establishment unit", respectively. The process of T102 in FIG. 3 is an example of processes executed by the "first status request transmission unit" and the "processing request transmission unit". The process of T104 is an example of processes executed by the "first receiving unit" and the "second receiving unit". The processes of T110 and T112 are examples of processes executed by the "first output control unit" and the "second output control unit", respectively. The processes of T126 and T132 are examples of processes executed by the "connection information transmission unit" and the "first correspondence information transmission unit", respectively.
[0057] (Second embodiment; Figure 4) Next, a second embodiment will be described with reference to FIG. 4. In the second embodiment, the displayed method screen differs from that in the first embodiment. The Wi-Fi I / 16,116 of the second embodiment further supports the Wi-Fi Direct (WFD) method of the Wi-Fi standard established by the Wi-Fi Alliance. Wi-Fi Direct is a registered trademark of the Wi-Fi Alliance. Details of the WFD method are described in the specification "Wi-Fi Direct Specification Version 1.9" created by the Wi-Fi Alliance. FIG. 4 is a continuation of FIG. 2. The processes of T200 to T210 in FIG. 4 are the same as the processes of T100 to T110 in FIG. 3.
[0058] At T212, the terminal 100 displays a method screen SC30 on the display unit 114. The method screen SC30 is a screen showing a method for performing wireless communication instead of wireless communication via the AP 6A, and includes a message asking the user whether to establish a wireless connection (i.e., a direct connection) in accordance with the WFD method between the printer 10 and the terminal 100, a YES button, and a NO button. Hereinafter, a wireless connection in accordance with the WFD method will be referred to as a "WFD connection." By viewing the method screen SC30, the user can learn the method for causing the printer 10 to execute printing (i.e., that a WFD connection with the printer 10 should be established).
[0059] In T220, the terminal 100 accepts selection of the YES button on the method screen SC30 from the user. In this case, in T222, the terminal 100 uses the Wi-Fi Aware connection already established between the printer 10 and the terminal 100 to send a G / O activation request to the printer 10, requesting that the printer 10 operate as a WFD Group Owner (G / O, i.e., parent station).
[0060] When the printer 10 receives a G / O activation request from the terminal 100 in T222, the printer 10 activates the G / O in T224. The printer 10 operating as a G / O forms a wireless network identified by the SSID "CCC." The PW "ZZZ" is used in this wireless network. In T226, the printer 10 transmits the SSID "CCC" and PW "ZZZ" to the terminal 100 using the Wi-Fi Aware connection already established between the printer 10 and the terminal 100. As a result, various processes according to the WFD method, such as authentication, association, and 4-way handshake, are executed between the printer 10 and the terminal 100, and a WFD connection is established between the printer 10 and the terminal 100 in T228.
[0061] When a WFD connection is established between the printer 10 and the terminal 100, the printer 10 and the terminal 100 can communicate with each other. In T230, the terminal 100 transmits print data to the printer 10 using the WFD connection.
[0062] When the printer 10 receives print data from the terminal 100 in T230, the printer 10 causes the print execution unit 18 to print the image to be printed represented by the print data in T232. In this way, the printer 10 can receive the print data from the terminal 100 and print the image to be printed by establishing a new WFD connection with the terminal 100 after the AP connection with the AP 6A is disconnected. In particular, the WFD connection between the printer 10 and the terminal 100 is established in a series of steps after receiving a print operation from the user, improving user convenience. Thereafter, the WFD connection between the printer 10 and the terminal 100 is disconnected. The terminal 100 is an example of a "second external device." The G / O activation request in T222 of FIG. 4 is an example of a "predetermined request." The WFD connection established in T228 is an example of a "third wireless connection." The processing in T222 of FIG. 4 is an example of processing executed by a "predetermined request receiving unit" of the "communication device" and a "predetermined request sending unit" of the "terminal device."
[0063] (Third Example; Figure 5) Next, a third embodiment will be described with reference to Fig. 5. The third embodiment differs from the first and second embodiments in the method screen displayed. Fig. 5 is a continuation of Fig. 2. The processing of T300 to T310 in Fig. 5 is the same as the processing of T100 to T110 in Fig. 3.
[0064] At T312, the terminal 100 displays a method screen SC40 on the display unit 114. The method screen SC40 is a screen showing a method for performing wireless communication in place of wireless communication via the AP 6A, and includes a message asking the user whether to perform print data communication using the Wi-Fi Aware connection already established between the printer 10 and the terminal 100, a YES button, and a NO button. By looking at the method screen SC40, the user can learn the method for causing the printer 10 to perform printing (i.e., that the established Wi-Fi Aware connection should be used).
[0065] In T320, the terminal 100 accepts selection of the YES button on the method screen SC40 from the user. In this case, in T322, the terminal 100 sends a Data Path Request to the printer 10. The Data Path Request is a signal requesting the printer 10 to establish a communication path (i.e., a Data Path) for communicating print data within the established Wi-Fi Aware connection (see T40 in FIG. 2).
[0066] When the printer 10 receives a Data Path Request from the terminal 100 in T322, it transmits a Data Path Response to the terminal 100 in T324.
[0067] When the terminal 100 receives a Data Path Response from the printer 10 in T324, it sends a Data Path Confirm to the printer 10 in T326. As a result, in T328, a Data Path is established in the Wi-Fi Aware connection between the printer 10 and the terminal 100. Then, in T330, the terminal 100 uses the Data Path to send print data representing an image to be printed to the printer 10.
[0068] When the printer 10 receives print data from the terminal 100 in T330, the printer 10 causes the print execution unit 18 to execute the image to be printed represented by the print data in T332. In this way, after the AP connection with the AP 6A is disconnected, the printer 10 establishes a Data Path in the established Wi-Fi Aware connection, thereby receiving the print data from the terminal 100 and printing the image to be printed. In particular, since the Data Path is established in a series of steps after accepting a print operation from the user, user convenience is improved.
[0069] Furthermore, when the terminal 100 completes the transmission of the print data in T330, it transmits a Data Path Termination to the printer 10 in T324. As a result, in T326, the Data Path between the printer 10 and the terminal 100 disappears. The processing of T330 in FIG. 5 is an example of processing executed by the "second correspondence information receiving unit" of the "communication device" and the "second correspondence information transmitting unit" of the "terminal device."
[0070] (Fourth embodiment; Figure 6) Next, a fourth embodiment will be described with reference to Fig. 6. The fourth embodiment differs from the first embodiment in the reason why an AP connection between the printer 10 and the AP 6A cannot be established. In Fig. 6, first, the same processing as T10 to T44 in Fig. 2 is executed. That is, both the printer 10 and the terminal 100 belong to a wireless network formed by the AP 6A, and a Wi-Fi Aware connection is established between the printer 10 and the terminal 100.
[0071] Thereafter, in T400, the PW “XXX” of the AP 6A is changed to the PW “WWW.” As a result, the printer 10 and the terminal 100 are each in a state where the AP connection with the AP 6A is disconnected.
[0072] In T401, various processes are executed to re-establish an AP connection between the terminal 100 and the AP 6A whose PW has been changed, and the AP connection is re-established between the terminal 100 and the AP 6A. The various processes described above include, for example, receiving input of the SSID "AAA" and the changed PW "WWW" in the terminal 100, and authenticating the input SSID "AAA" and PW "WWW". The processes in T402 and T403 are similar to the processes in T100 and T102 in FIG. 3, respectively.
[0073] In T403, the printer 10 receives a Subscribe from the terminal 100. In this case, although not shown in the figure, the printer 10 executes a process of searching for APs present around the printer 10 and receives SSID "AAA" from AP 6A. The printer 10 has previously belonged to a wireless network identified by the SSID "AAA." In this case, in T404, the printer 10 sends a Publish to the terminal 100 using the Wi-Fi Aware connection already established between the printer 10 and the terminal 100. The Publish includes the serial number P1 of the printer 10 and an AP connection not possible (SSID "AAA"). Here, "AP connection not possible (SSID "AAA")" means that the search found the SSID "AAA" of a wireless network to which the printer 10 had previously belonged. The processing in T406 is the same as the processing in T106 of FIG. 3.
[0074] In T404, the terminal 100 receives a Publish including an AP connection not possible (SSID "AAA") from the printer 10, and in response to determining in T406 that a Wi-Fi Aware connection with the printer 10 has been established, in T410 the terminal 100 displays a cause screen SC100 on the display unit 114. The cause screen SC100 includes a message indicating that wireless communication with the printer 10 via the AP is not possible, and a message indicating the cause of the inability to perform wireless communication with the printer 10 via the AP (i.e., "The printer cannot connect to the AP with SSID "AAA"").
[0075] Furthermore, at T412, the terminal 100 displays a method screen SC110 on the display unit 114. The method screen SC110 is a screen showing a method for performing wireless communication in place of the wireless communication via the disconnected AP 6A, and includes a message asking the user whether or not to reconnect the printer 10 to the same AP 6A, a YES button, and a NO button. In this way, the method screen SC110 displayed here differs from the method screen SC20 (see T112 in FIG. 3) displayed in the first embodiment in which an AP connection failure (no SSID) is received. In this way, the terminal 100 can switch the method screen to be displayed depending on the cause of the inability to perform wireless communication via the AP with the printer 10.
[0076] In T420, the terminal 100 accepts the user's selection of the YES button on the method screen SC110. In this case, in T422, the terminal 100 displays the input screen SC112 on the display unit 114. The input screen SC112 is similar to the input screen SC22 (see FIG. 3) except that the SSID "AAA" is already entered in the SSID input field.
[0077] In T424, the terminal 100 accepts the user's input of the changed PW of AP6A, "WWW," into the PW input field on input screen SC22, and then accepts the selection of the OK button. In this case, in T426, the terminal 100 uses the established Wi-Fi Aware connection to send the written SSID, "AAA," and the entered PW, "WWW," to the printer 10.
[0078] In T426, the printer 10 receives the SSID “AAA” and PW “WWW” from the terminal 100. In this case, various processes for establishing a Wi-Fi connection between the printer 10 and the AP 6A are executed, and the Wi-Fi connection between the printer 10 and the AP 6A is re-established. The various processes described above include, for example, searching for a wireless network identified by the received SSID “AAA” (i.e., searching for the AP 6A) and authenticating the received SSID “AAA” and PW “WWW.” The processes in T432 and T434 are similar to those in T132 and T134 of FIG. 3, except that the wireless network formed by the AP 6A is used instead of the wireless network formed by the AP 6B. The AP connection failure (SSID “AAA”) included in the Publish in T404 of FIG. 6 is an example of “second cause information.” The method screen SC110 is an example of “second method information.”
[0079] 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 examples are listed below.
[0080] (Variation 1) In the above embodiment, a situation was described in which the AP connection between the printer 10 and the AP 6A was disconnected after the printer 10 and the terminal 100 joined a wireless network formed by the AP 6A. In a variation, the present technology is also useful in a situation in which a WFD connection is established between the printer 10 and the terminal 100 and then the WFD connection is disconnected. A situation in which a WFD connection is disconnected may be, for example, when the number of child stations with which a WFD connection can be established reaches an upper limit. For example, assume a situation in which the upper limit number of child stations with which a WFD connection can be established is three, and three WFD connections are established between the printer 10 operating as a G / O and three devices (i.e., child stations) including the terminal 100. In such a situation, if it is desired to establish a WFD connection between the printer 10 and a device other than the three devices, the WFD connection between the printer 10 and any one of the three devices may be disconnected. In this modification, the terminal 100 is an example of a "first external device," the WFD method is an example of a "first method," and the WFD connection is an example of a "first wireless connection."
[0081] (Variation 2) After the AP connection between the printer 10 and AP 6A is disconnected, the terminal 100 may, for example, when accepting a status request operation to request the status of a printer in the NAN cluster, send a Subscribe requesting the status to a device in the NAN cluster (see T102 in FIG. 3). Thereafter, after an AP connection with AP 6B is established, the printer 10 may send the status to the terminal 100 via AP 6B. In this variation, the above Subscribe is an example of a "specific processing request," and the status sent from the printer 10 to the terminal 100 via AP 6B is an example of "correspondence information." Furthermore, the Subscribe sent in T102 in FIG. 3 does not have to be a signal requesting the status of the destination device; for example, it may be a signal requesting the execution of a specific function. In this variation, the "status request sending unit" of the "terminal device" can be omitted.
[0082] (Variation 3) In the third embodiment described above, a Data Path is established when the user selects the YES button on the method screen SC40 at T320 in Fig. 5. In a variation, for example, a Data Path may be established in advance when a Wi-Fi Aware connection is established between the printer 10 and the terminal 100. Then, the terminal 100 may use this Data Path to send print data to the printer 10.
[0083] (Variation 4) In T40 of Fig. 2, the wireless connection established between the printer 10 and the terminal 100 does not have to be a Wi-Fi Aware connection (i.e., a wireless connection conforming to the Wi-Fi Aware method). Generally speaking, the "second method" does not have to be the "Wi-Fi Aware method."
[0084] (Variation 5) In T110 of FIG. 3, the terminal 100 may, for example, send an email including each message included in the cause screen SC10 to a pre-set email address of an administrator. In this variation, the process of sending the email is an example of a process executed by a "first output control unit" of the "terminal device." Similarly, in T112, the terminal 100 may send an email including each message included in the method screen SC20 to the email address of an administrator. In this variation, the process of sending the email is an example of a process executed by a "second output control unit" of the "terminal device."
[0085] (Variation 6) The terminal 100 can omit the process of T106 in FIG. 3. That is, when the terminal 100 receives a Publish including the serial number P1 and AP connection not possible (no SSID) from the printer 10 in T104, the terminal 100 may execute the processes from T110 onwards, regardless of whether a Wi-Fi Aware connection with the printer 10 has been established. In another variation, the terminal 100 may store the MAC address of the printer 10 in association with the pairing information in T42 in FIG. 2. Then, the printer 10 may send a Publish including the MAC address of the printer 10 to the terminal 100 in place of the serial number P1 in T104 in FIG. 3. Then, the terminal 100 may execute the processes from T110 onwards if it has stored the MAC address and pairing information included in the Publish. In this variation, the MAC address of the printer 10 is an example of "specific identification information."
[0086] (Variation 7) The terminal 100 can omit the process of T112 in Fig. 3. In this case, for example, a user of the terminal 100 who is familiar with wireless communication settings, etc., may execute a process to establish an AP connection between the printer 10 and AP 6B after viewing the cause screen SC10. In this variation, the "second output control unit" of the "terminal device" can be omitted.
[0087] (Variation 8) Instead of AP connection failure (no SSID), the printer 10 may send a Publish to the terminal 100 that does not include the cause (i.e., no SSID). Generally speaking, the "terminal device" does not need to receive the "cause information." In this variation, the "second receiving unit" can be omitted.
[0088] (Variation 9) In the above embodiment, the printer 10 transmits a Publish including information indicating that AP connection is not possible (no SSID) to the terminal 100 at T104 in FIG. 3 . That is, in the above embodiment, the "impossibility information" and the "cause information" are transmitted at the same time. In a variation, the timing at which these are transmitted may be different. For example, the printer 10 may first transmit a Publish including information indicating that AP connection is not possible to the terminal 100 at T104 in FIG. 3 , and then transmit a Follow-up to the terminal 100 that is defined in the Wi-Fi Aware method and includes the cause of the AP connection not possible (e.g., no SSID). In this variation, the process of receiving the Publish and the process of receiving the Follow-up are examples of processes executed by the "first receiving unit" and the "second receiving unit" of the "terminal device," respectively.
[0089] (Variant 10) In the above embodiment, the processing of each step in Figures 2 to 6 is realized by software (e.g., program 36, OS 136, application 138), but at least one of these processes may be realized by hardware such as a logic circuit.
[0090] The technical elements described in this specification or drawings may exhibit technical utility either alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. Furthermore, the technologies illustrated in this specification or drawings may achieve multiple objectives simultaneously, and achieving one of those objectives alone is technically useful.
[0091] In the scope of the claims at the time of filing, even if each claim depends on only some of the claims, it is not limited to the fact that each claim can depend on only those some of the claims. To the extent that there is no technical contradiction, each claim can also depend on other claims that were not dependent at the time of filing. In other words, the technology of each claim can be combined in various ways as follows: (Item 1) A communication device, a Wi-Fi interface for performing wireless communication according to the Wi-Fi standard; a first establishment unit that establishes a first wireless connection between the communication device and a first external device via the Wi-Fi interface in accordance with a first method of the Wi-Fi standard, the communication device being capable of performing wireless communication with a terminal device using the first wireless connection; a second establishment unit that establishes a second wireless connection between the communication device and the terminal device via the Wi-Fi interface in accordance with a second scheme of the Wi-Fi standard that is different from the first scheme; a transmitting unit that, when the communication device transitions to a state in which wireless communication using the first wireless connection with the terminal device is not possible after both the first wireless connection and the second wireless connection are established in the communication device, transmits, via the Wi-Fi interface, impossibility information to the terminal device, indicating that wireless communication using the first wireless connection is not possible; A communication device comprising: (Item 2) The communication device further comprises: The communication device of claim 1, further comprising: a third establishment unit that establishes a third wireless connection between the communication device and a second external device different from the first external device via the Wi-Fi interface after the impossibility information is sent to the terminal device, wherein the communication device is capable of performing wireless communication with the terminal device using the third wireless connection. (Item 3) the transmitting unit, when a specific processing request is received from the terminal device using the second wireless connection via the Wi-Fi interface after the communication device has transitioned to a state in which wireless communication using the first wireless connection with the terminal device is not executable, transmits the inability information to the terminal device; The communication device further comprises: The communication device described in item 2 further comprises a first correspondence information receiving unit that receives correspondence information corresponding to the specific processing request from the terminal device via the Wi-Fi interface using the third wireless connection after the third wireless connection is established. (Item 4) The communication device further comprises: a connection information receiving unit that receives connection information from the terminal device via the Wi-Fi interface using the second wireless connection after the impossibility information is transmitted to the terminal device; The communication device according to item 2 or 3, wherein the third establishment unit uses the connection information to establish the third wireless connection between the communication device and the second external device, which is an access point. (Item 5) The communication device further comprises: a predetermined request receiving unit that receives a predetermined request in accordance with a Wi-Fi Direct method of the Wi-Fi standard from the terminal device via the Wi-Fi interface and using the second wireless connection after the impossibility information is transmitted to the terminal device; The communication device described in item 2 or 3, wherein the third establishment unit establishes the third wireless connection between the communication device and the second external device, which is the terminal device, in accordance with the Wi-Fi Direct method when the specified request is received from the terminal device. (Item 6) the transmitting unit, when a specific processing request is received from the terminal device using the second wireless connection via the Wi-Fi interface after the communication device has transitioned to a state in which wireless communication using the first wireless connection with the terminal device is not executable, transmits the inability information to the terminal device; The communication device further comprises: A communication device according to any one of items 1 to 3, further comprising a second correspondence information receiving unit that receives correspondence information corresponding to the specific processing request from the terminal device via the Wi-Fi interface using the second wireless connection when the impossibility information is transmitted to the terminal device. (Item 7) the first method is a normal Wi-Fi method or a Wi-Fi Direct method for performing wireless communication via an access point; 7. The communication device according to any one of items 1 to 6, wherein the second method is a Wi-Fi Aware method. (Item 8) A terminal device, a Wi-Fi interface for performing wireless communication according to the Wi-Fi standard; a first establishment unit that establishes a first wireless connection between the terminal device and a first external device via the Wi-Fi interface in accordance with a first method of the Wi-Fi standard, wherein the terminal device is capable of performing wireless communication with a communication device using the first wireless connection; a second establishment unit that establishes a second wireless connection between the communication device and the terminal device via the Wi-Fi interface in accordance with a second scheme of the Wi-Fi standard that is different from the first scheme; a first receiving unit that, when the communication device transitions to a state in which wireless communication using the first wireless connection with the terminal device is not possible after both the first wireless connection and the second wireless connection have been established in the terminal device, receives impossibility information from the communication device via the Wi-Fi interface using the second wireless connection, the impossibility information indicating that wireless communication using the first wireless connection is not possible; a first output control unit that, when the impossible information is received from the communication device, causes an output unit of the terminal device to output the impossible information; A terminal device comprising: (Item 9) The terminal device further a status request transmitter configured to transmit a status request to the communication device via the Wi-Fi interface using the second wireless connection; Item 9. The terminal device according to item 8, wherein the first receiving unit receives the impossibility information from the communication device as a response to the status request. (Item 10) The terminal device further a memory for storing one or more pieces of identification information for identifying one or more communication devices; the first receiving unit receives the impossibility information and specific identification information that identifies the communication device from the communication device using the second wireless connection; 10. The terminal device according to item 8 or 9, wherein the first output control unit causes the output unit to output the impossible information when the received specific identification information has already been stored in the memory. (Item 11) The terminal device further A terminal device described in any one of items 8 to 10, comprising a second output control unit that, when the impossibility information is received from the communication device, causes the output unit to output method information indicating a method for performing wireless communication between the terminal device and the communication device that is an alternative to wireless communication using the first wireless connection. (Item 12) The terminal device further a second receiving unit that, when the communication device transitions to a state in which wireless communication using the first wireless connection with the terminal device is not executable after both the first wireless connection and the second wireless connection have been established in the terminal device, receives, via the Wi-Fi interface, from the communication device using the second wireless connection, cause information indicating a cause of the wireless communication using the first wireless connection being not executable; The second output control unit is when the impossibility information and first cause information are received from the communication device, causing the output unit to output first method information; A terminal device according to item 11, which, when the impossibility information and second cause information different from the first cause information are received from the communication device, causes the output unit to output second method information different from the first method information. (Item 13) The terminal device described in item 11 or 12, wherein the method information indicates a method for establishing a third wireless connection between the communication device and a second external device different from the first external device, replacing the first wireless connection, and the terminal device is capable of performing wireless communication with the communication device using the third wireless connection. (Item 14) The terminal device further a processing request sending unit that sends a specific processing request to the communication device via the Wi-Fi interface using the second wireless connection after the communication device transitions to a state in which wireless communication using the first wireless connection with the terminal device is no longer possible; a first correspondence information transmission unit that transmits correspondence information corresponding to the specific processing request to the communication device via the Wi-Fi interface, using the third wireless connection after the third wireless connection is established between the communication device and the second external device; Item 14. A terminal device according to item 13, comprising: (Item 15) The terminal device further a connection information sending unit that sends connection information to the communication device via the Wi-Fi interface using the second wireless connection after the impossibility information is received from the communication device; Item 15. The terminal device according to item 13 or 14, wherein the communication device uses the connection information to establish the third wireless connection between the communication device and the second external device, which is an access point. (Item 16) The terminal device further a predetermined request sending unit that, when the impossible information is received from the communication device, sends a predetermined request according to a Wi-Fi Direct method of the Wi-Fi standard to the communication device via the Wi-Fi interface and using the second wireless connection; an establishment unit that establishes a third wireless connection between the communication device and the terminal device in accordance with the Wi-Fi Direct method when the predetermined request is transmitted to the communication device; 15. A terminal device according to any one of items 8 to 14, comprising: (Item 17) The terminal device further a processing request sending unit that sends a specific processing request to the communication device via the Wi-Fi interface using the second wireless connection after the communication device transitions to a state in which wireless communication using the first wireless connection with the terminal device is no longer possible; a second correspondence information transmission unit that, when the impossibility information is received from the communication device, transmits correspondence information corresponding to the specific processing request to the communication device via the Wi-Fi interface using the second wireless connection; 13. A terminal device according to any one of items 8 to 12, comprising: [Explanation of symbols]
[0092] 2: Communication system, 6A, 6B: AP, 10: Printer, 12, 112: Operation unit, 14, 114: Display unit, 16, 116: Wi-Fi I / F, 18: Print execution unit, 30, 130: Control unit, 32, 132: CPU, 34, 134: Memory, 36: Program, 100: Terminal, 136: OS program, 138: Application program
Claims
1. A communication device, a Wi-Fi interface for performing wireless communication in accordance with the Wi-Fi standard; a first establishing unit that establishes a first wireless connection between the communication device and a first external device via the Wi-Fi interface in accordance with a first method of the Wi-Fi standard, the communication device being capable of performing wireless communication with a terminal device using the first wireless connection; a second establishment unit that establishes a second wireless connection between the communication device and the terminal device via the Wi-Fi interface in accordance with a second method of the Wi-Fi standard that is different from the first method; a transmitting unit that, when the communication device transitions to a state in which wireless communication using the first wireless connection with the terminal device is not possible after both the first wireless connection and the second wireless connection are established in the communication device, transmits impossibility information indicating that the wireless communication using the first wireless connection is not possible to the terminal device via the Wi-Fi interface, using the second wireless connection; A communication device comprising:
2. The communication device further comprises: The communication device of claim 1, further comprising: a third establishment unit that establishes a third wireless connection between the communication device and a second external device different from the first external device via the Wi-Fi interface after the impossibility information is sent to the terminal device, wherein the communication device is capable of performing wireless communication with the terminal device using the third wireless connection.
3. the transmitting unit, when a specific processing request is received from the terminal device using the second wireless connection via the Wi-Fi interface after the communication device has transitioned to a state in which wireless communication using the first wireless connection with the terminal device is not executable, transmits the impossibility information to the terminal device; The communication device further comprises:
3. The communication device according to claim 2, further comprising: a first correspondence information receiving unit that receives correspondence information corresponding to the specific processing request from the terminal device via the Wi-Fi interface using the third wireless connection after the third wireless connection is established.
4. The communication device further comprises: a connection information receiving unit that receives connection information from the terminal device via the Wi-Fi interface using the second wireless connection after the impossibility information is transmitted to the terminal device; The communication device according to claim 2 , wherein the third establishment unit uses the connection information to establish the third wireless connection between the communication device and the second external device that is an access point.
5. The communication device further comprises: a predetermined request receiving unit that receives a predetermined request in accordance with a Wi-Fi Direct method of the Wi-Fi standard from the terminal device via the Wi-Fi interface using the second wireless connection after the impossibility information is transmitted to the terminal device; 3. The communication device according to claim 2, wherein the third establishment unit establishes the third wireless connection between the communication device and the second external device that is the terminal device according to the Wi-Fi Direct method when the predetermined request is received from the terminal device.
6. the transmitting unit, when a specific processing request is received from the terminal device using the second wireless connection via the Wi-Fi interface after the communication device has transitioned to a state in which wireless communication using the first wireless connection with the terminal device is not executable, transmits the impossibility information to the terminal device; The communication device further comprises: The communication device according to claim 1, further comprising: a second correspondence information receiving unit that receives correspondence information corresponding to the specific processing request from the terminal device via the Wi-Fi interface using the second wireless connection when the impossibility information is sent to the terminal device.
7. The first method is a normal Wi-Fi method or a Wi-Fi Direct method for performing wireless communication via an access point, The communication device according to claim 1 , wherein the second method is a Wi-Fi Aware method.
8. A terminal device, a Wi-Fi interface for performing wireless communication in accordance with the Wi-Fi standard; a first establishment unit that establishes a first wireless connection between the terminal device and a first external device via the Wi-Fi interface in accordance with a first method of the Wi-Fi standard, wherein the terminal device is capable of performing wireless communication with a communication device using the first wireless connection; a second establishment unit that establishes a second wireless connection between the communication device and the terminal device via the Wi-Fi interface in accordance with a second method of the Wi-Fi standard that is different from the first method; a first receiving unit that, when the communication device transitions to a state in which wireless communication using the first wireless connection with the terminal device is not executable after both the first wireless connection and the second wireless connection have been established in the terminal device, receives impossibility information from the communication device via the Wi-Fi interface using the second wireless connection, the impossibility information indicating that wireless communication using the first wireless connection is not executable; a first output control unit that, when the impossible information is received from the communication device, causes an output unit of the terminal device to output the impossible information; A terminal device comprising:
9. The terminal device further a status request sending unit that sends a status request to the communication device via the Wi-Fi interface using the second wireless connection; The terminal device according to claim 8 , wherein the first receiving unit receives the impossibility information from the communication device as a response to the status request.
10. The terminal device further a memory for storing one or more pieces of identification information for identifying one or more communication devices; the first receiving unit receives the impossibility information and specific identification information that identifies the communication device from the communication device using the second wireless connection; The terminal device according to claim 8 , wherein the first output control unit causes the output unit to output the impossible information when the received specific identification information has been stored in the memory.
11. The terminal device further The terminal device according to claim 8, further comprising a second output control unit that, when the impossibility information is received from the communication device, causes the output unit to output method information indicating a method for performing wireless communication between the terminal device and the communication device that is an alternative to wireless communication using the first wireless connection.
12. The terminal device further a second receiving unit that, when the communication device transitions to a state in which wireless communication using the first wireless connection with the terminal device is not executable after both the first wireless connection and the second wireless connection have been established in the terminal device, receives cause information indicating a cause of the wireless communication using the first wireless connection from the communication device via the Wi-Fi interface, using the second wireless connection; The second output control unit is when the impossibility information and first cause information are received from the communication device, causing the output unit to output first method information; The terminal device according to claim 11, wherein when the impossibility information and second cause information different from the first cause information are received from the communication device, the output unit is caused to output second method information different from the first method information.
13. The terminal device described in claim 11, wherein the method information indicates a method for establishing a third wireless connection between the communication device and a second external device different from the first external device, replacing the first wireless connection, and the terminal device is capable of performing wireless communication with the communication device using the third wireless connection.
14. The terminal device further a processing request sending unit that sends a specific processing request to the communication device via the Wi-Fi interface using the second wireless connection after the communication device transitions to a state in which wireless communication using the first wireless connection with the terminal device is not possible; a first correspondence information transmission unit that transmits correspondence information corresponding to the specific processing request to the communication device via the Wi-Fi interface by using the third wireless connection after the third wireless connection is established between the communication device and the second external device; The terminal device according to claim 13, comprising:
15. The terminal device further a connection information sending unit that sends connection information to the communication device via the Wi-Fi interface using the second wireless connection after the impossibility information is received from the communication device; The terminal device according to claim 13 , wherein the communication device uses the connection information to establish the third wireless connection between the communication device and the second external device that is an access point.
16. The terminal device further a predetermined request sending unit that, when the impossible information is received from the communication device, sends a predetermined request according to a Wi-Fi Direct method of the Wi-Fi standard to the communication device via the Wi-Fi interface using the second wireless connection; an establishment unit that establishes a third wireless connection between the communication device and the terminal device in accordance with the Wi-Fi Direct scheme when the predetermined request is transmitted to the communication device; The terminal device according to claim 8, comprising:
17. The terminal device further a processing request sending unit that sends a specific processing request to the communication device via the Wi-Fi interface using the second wireless connection after the communication device transitions to a state in which wireless communication using the first wireless connection with the terminal device is not possible; a second correspondence information transmission unit that, when the impossibility information is received from the communication device, transmits correspondence information corresponding to the specific processing request to the communication device via the Wi-Fi interface using the second wireless connection; The terminal device according to claim 8, comprising:
18. 1. A computer program for a communication device, comprising: The communication device a Wi-Fi interface for performing wireless communication in accordance with the Wi-Fi standard; A computer, Equipped with The computer program controls the computer to operate as follows: a first establishing unit that establishes a first wireless connection between the communication device and a first external device via the Wi-Fi interface in accordance with a first method of the Wi-Fi standard, the communication device being capable of performing wireless communication with a terminal device using the first wireless connection; a second establishment unit that establishes a second wireless connection between the communication device and the terminal device via the Wi-Fi interface in accordance with a second method of the Wi-Fi standard that is different from the first method; a transmitting unit that, when the communication device transitions to a state in which wireless communication using the first wireless connection with the terminal device is not possible after both the first wireless connection and the second wireless connection are established in the communication device, transmits impossibility information indicating that the wireless communication using the first wireless connection is not possible to the terminal device via the Wi-Fi interface, using the second wireless connection; A computer program that functions as a
19. A computer program for a terminal device, comprising: The terminal device a Wi-Fi interface for performing wireless communication in accordance with the Wi-Fi standard; A computer, Equipped with The computer program controls the computer to operate as follows: a first establishment unit that establishes a first wireless connection between the terminal device and a first external device via the Wi-Fi interface in accordance with a first method of the Wi-Fi standard, wherein the terminal device is capable of performing wireless communication with a communication device using the first wireless connection; a second establishment unit that establishes a second wireless connection between the communication device and the terminal device via the Wi-Fi interface in accordance with a second method of the Wi-Fi standard that is different from the first method; a first receiving unit that, when the communication device transitions to a state in which wireless communication using the first wireless connection with the terminal device is not executable after both the first wireless connection and the second wireless connection have been established in the terminal device, receives impossibility information from the communication device via the Wi-Fi interface using the second wireless connection, the impossibility information indicating that wireless communication using the first wireless connection is not executable; a first output control unit that, when the impossible information is received from the communication device, causes an output unit of the terminal device to output the impossible information; A computer program that functions as a
Citation Information
Patent Citations
Information processing device, control method, and program
JP2021022877A