Wireless communication device, method for controlling wireless communication device, and program
By using dual communication methods, the wireless communication device efficiently manages NAN and NW connections, reducing processing overhead by maintaining the NAN connection until a successful NW connection is established, thus optimizing communication efficiency.
Patent Information
- Application Number
- JP2023047660
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-24
- Publication Date
- 2024-10-04
AI Technical Summary
The existing NAN data link in wireless communication devices is immediately disconnected after information transmission, leading to increased processing requirements for re-establishing connections due to potential errors, which is inefficient.
A wireless communication device employs two communication methods: a first method for establishing a connection using NAN standard and a second method for maintaining the connection until a successful NW wireless communication connection is established, allowing controlled disconnection of the NAN connection when the NW connection is successful.
This approach reduces the processing overhead by maintaining the NAN connection during retransmissions, ensuring efficient and seamless communication without the need for repeated connection establishment.
Smart Images

Figure 2024136520000001_ABST
Abstract
Description
[Technical field]
[0001] The present disclosure relates to a wireless communication device, a control method for a wireless communication device, and a program. [Background technology]
[0002] Wi-Fi Aware, one of the certification programs of the Wi-Fi Alliance, specifies a communication protocol called NAN (Neighbor Awareness Network), which allows devices to communicate wirelessly without going through an access point. Hereinafter, the standard for this NAN specified by the Wi-Fi Alliance will be referred to as the NAN standard. Patent Document 1 discloses a technology in which a printer establishes a wireless LAN connection by transmitting and receiving information for a wireless LAN connection between a user terminal and the printer using a NAN Data Link, which is a wireless communication connection that conforms to the NAN standard. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] JP 2019-134322 A Summary of the Invention [Problem to be solved by the invention]
[0004] In the technology disclosed in Patent Document 1, the NAN data link is immediately disconnected after information for wireless LAN connection is sent and received. Therefore, if an error occurs in the transmission of the information and the wireless LAN connection is not successful, the user terminal and the printer must start over from the process of establishing the NAN data link in order to transmit the information again. In other words, when transmitting information again, the amount of processing required to establish a wireless communication connection increases. For this reason, there is a demand for technology that reduces the amount of processing required to establish a wireless communication connection. [Means for solving the problem]
[0005] A wireless communication device according to the present disclosure includes a first communication processing unit that establishes a wireless communication connection of a first wireless communication method using setting information, a second communication processing unit that searches for at least one other wireless communication device in accordance with the NAN standard and establishes a wireless communication connection with the at least one other wireless communication device of a second wireless communication method that is a communication method in accordance with the NAN standard and different from the first wireless communication method, and a transmission control unit that controls the transmission of the setting information to the at least one other wireless communication device using the wireless communication connection of the second wireless communication method, and when the other wireless communication device successfully establishes a wireless communication connection of the first wireless communication method, the second communication processing unit disconnects the wireless communication connection of the second wireless communication method with the other wireless communication device.
[0006] In addition, a wireless communication device according to the present disclosure has a first communication processing unit that establishes a wireless communication connection with another wireless communication device using a first wireless communication method conforming to the NAN standard, a setting information acquisition unit that acquires setting information from the other wireless communication device using the wireless communication connection of the first wireless communication method, and a second communication processing unit that uses the setting information to establish a wireless communication connection of a second wireless communication method different from the first wireless communication method, and when the first communication processing unit successfully establishes the wireless communication connection of the second wireless communication method, it disconnects the wireless communication connection of the first wireless communication method.
[0007] In addition, in a control method for a wireless communication device according to the present disclosure, a wireless communication connection of a first wireless communication method is established using setting information, at least one other wireless communication device is searched for in accordance with the NAN standard, a wireless communication connection of a second wireless communication method that is a communication method in accordance with the NAN standard and different from the first wireless communication method is established with the at least one other wireless communication device, and the setting information is controlled to be transmitted to the at least one other wireless communication device using the wireless communication connection of the second wireless communication method, and when the other wireless communication device successfully establishes a wireless communication connection of the first wireless communication method, the wireless communication connection of the second wireless communication method with the other wireless communication device is disconnected.
[0008] In addition, in a control method for a wireless communication device according to the present disclosure, a wireless communication connection is established with another wireless communication device using a first wireless communication method conforming to the NAN standard, the wireless communication connection of the first wireless communication method is used to obtain setting information from the other wireless communication device, the setting information is used to establish a wireless communication connection of a second wireless communication method different from the first wireless communication method, and when the wireless communication connection of the second wireless communication method is successfully established, the wireless communication connection of the first wireless communication method is disconnected.
[0009] In addition, the program disclosed herein causes a computer to execute a first communication processing step of establishing a wireless communication connection of a first wireless communication method using setting information; a second communication processing step of searching for at least one other wireless communication device in accordance with the NAN standard and establishing a wireless communication connection of a second wireless communication method with the at least one other wireless communication device, the second wireless communication method being a communication method in accordance with the NAN standard and different from the first wireless communication method; a transmission control step of controlling the wireless communication connection of the second wireless communication method to be transmitted to the at least one other wireless communication device using the wireless communication connection; and a disconnection step of disconnecting the wireless communication connection of the second wireless communication method with the other wireless communication device when the other wireless communication device has successfully established a wireless communication connection of the first wireless communication method.
[0010] In addition, the program disclosed herein causes a computer to execute a first communication processing step of establishing a wireless communication connection with another wireless communication device using a first wireless communication method conforming to the NAN standard, a setting information acquisition step of acquiring setting information from the other wireless communication device using the wireless communication connection of the first wireless communication method, a second communication processing step of establishing a wireless communication connection of a second wireless communication method different from the first wireless communication method using the setting information, and a disconnection step of disconnecting the wireless communication connection of the first wireless communication method if the wireless communication connection of the second wireless communication method is successfully established. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a schematic diagram illustrating an example of a configuration of a communication system according to an embodiment. [Diagram 2] 1 is a block diagram showing an example of a configuration of a wireless communication device according to an embodiment; [Diagram 3] 1 is a block diagram showing an example of a configuration of a wireless communication device according to an embodiment; [Figure 4A] 10 is a flowchart showing an example of an operation flow of a communication system for allowing a wireless communication device to participate in a wireless LAN. [Figure 4B] 10 is a flowchart showing an example of an operation flow of a communication system for allowing a wireless communication device to participate in a wireless LAN. [Diagram 5] FIG. 4 is a schematic diagram illustrating an example of a user interface screen. [Figure 6] FIG. 11 is a schematic diagram illustrating disconnection of a NAN connection. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, the embodiments will be described with reference to the drawings. For clarity of explanation, the following description and drawings are omitted and simplified as appropriate. In addition, in each drawing, the same elements are given the same reference numerals, and duplicate explanations are omitted as necessary.
[0013] As described above, there is a demand for a technology that reduces the amount of processing required to establish a wireless communication connection. In this embodiment, a technology is described that can reduce an increase in the amount of processing required even when a situation occurs in which retransmission of setting information is required, by devising a timing for disconnecting a wireless communication connection used for transmitting setting information.
[0014] FIG. 1 is a schematic diagram showing an example of a configuration of a communication system 10 according to an embodiment. The communication system 10 includes an access point 500 and a plurality of wireless communication devices. The access point 500 is an access point of a wireless LAN. Specifically, the wireless LAN is, for example, a Wi-Fi (registered trademark) network. As shown in FIG. 1, the communication system 10 includes a wireless communication device 100 and a wireless communication device 200 as the above-mentioned plurality of wireless communication devices. In this embodiment, the wireless communication device 100 is a device that transmits setting information to be described later to the wireless communication device 200. The wireless communication device 200 is a device that receives the setting information from the wireless communication device 100 and connects to the wireless LAN using the setting information. In the example shown in FIG. 1, a wireless communication device 301 and a wireless communication device 302 are illustrated as other wireless communication devices connected to the wireless LAN, but the communication system 10 does not necessarily have to include these wireless communication devices.
[0015] In the present disclosure, the wireless communication method for performing communication via the access point 500 is also referred to as a NW (network) wireless communication method. The NW wireless communication method can be a method for performing communication via the access point 500 according to the Wi-Fi (registered trademark) standard, or a wireless communication method in infrastructure mode. In the present disclosure, a communication method according to the NAN standard is also referred to as a NAN wireless communication method. In FIG. 1, the wireless communication device 100, the wireless communication device 301, and the wireless communication device 302 perform communication C of the NW wireless communication method. NW1, the wireless communication device 200 has not yet established a wireless communication connection in the NW wireless communication method, and is therefore unable to execute communication in the NW wireless communication method. For this reason, as will be described later, the wireless communication device 100 is unable to execute communication in the NAN wireless communication method. NAN The setting information is transmitted to the wireless communication device 200 by the above.
[0016] In this embodiment, the wireless communication device 100 is a terminal device, for example. Specifically, the wireless communication device 100 is, for example, a mobile terminal such as a smartphone or a tablet terminal, but is not limited thereto, and may be a PC (Personal Computer), for example. Also, in this embodiment, the wireless communication device 200 is, for example, a printing device (printer). In the communication system 10, the wireless communication device 100 and the wireless communication device 200 perform communication according to the NAN wireless communication method, that is, communication in accordance with the NAN standard, as described above.
[0017] Hereinafter, specific configurations and processes of the wireless communication device 100 and the wireless communication device 200 will be described. First, the wireless communication device 100 will be described. Fig. 2 is a block diagram showing an example of the configuration of the wireless communication device 100. As shown in Fig. 2, the wireless communication device 100 has a storage unit 110, a wireless communication unit 120, a display unit 130, an operation unit 140, and a control unit 150.
[0018] The storage unit 110 is a storage device that stores a program for implementing the processing of the control unit 150 and data used in the processing of the wireless communication device 100. This storage device may be, for example, a non-volatile storage device such as a hard disk or a flash memory, and may include a memory such as a RAM (Random access Memory).
[0019] The wireless communication unit 120 is hardware that performs wireless communication. That is, the wireless communication unit 120 is a wireless communication interface. The wireless communication unit 120 may include a transmitting circuit, a receiving circuit, and an antenna.
[0020] The display unit 130 and the operation unit 140 are a user interface. The display unit 130 is configured with a display or the like that displays various information to the user. The operation unit 140 is configured with buttons or the like that accept input operations from the user. The display unit 130 and the operation unit 140 may be configured integrally with a touch panel or the like.
[0021] The control unit 150 is a processor such as a CPU (Central Processing Unit) that controls each component of the wireless communication device 100. The control unit 150 may have multiple processors. The control unit 150 loads a program into a memory and executes the program. As a result, in this embodiment, the control unit 150 realizes the functions of a communication processing unit 151, a communication processing unit 152, a distance information acquisition unit 153, an input reception unit 154, a display control unit 155, a transmission control unit 156, and a connection determination unit 157.
[0022] The wireless communication device 100 includes a communication processing unit 151 and a communication processing unit 152, and is configured to be capable of communicating in two different wireless communication systems. The communication processing unit 151 performs a process of executing communication in the NW wireless communication method. This process includes a process of establishing a wireless communication connection in the NW wireless communication method using setting information. This setting information is information necessary to establish a wireless communication connection in the NW wireless communication method, that is, information for connecting to a wireless LAN. In this embodiment, specifically, this setting information is an SSID (Service Set Identifier) and a password of the access point 500. Communication in the NW wireless communication method is performed after a wireless communication connection is established using such setting information.
[0023] The communication processing unit 152 performs a process of performing communication of the NAN wireless communication method with at least one wireless communication device. The wireless communication device 100 and the wireless communication device 200 can perform two types of communication as the communication of the NAN wireless communication method: communication using a discovery window (DW) according to the NAN standard, and communication performed after establishing a wireless communication connection according to the NAN standard. For this reason, the process performed by the communication processing unit 152 includes a process of performing communication using a discovery window and a process of performing communication after establishing a wireless communication connection. Hereinafter, the wireless communication connection according to the NAN standard is also referred to as a NAN connection. Hereinafter, the wireless communication connection according to the NAN standard is specifically a NAN data link (NAN Data Link). As will be described later, the communication processing unit 152 searches for at least one other wireless communication device according to the NAN standard, and establishes a NAN connection (NAN Data Link), which is a wireless communication connection of the NAN wireless communication method, with the at least one other wireless communication device.
[0024] Here, a detailed description will be given of the processing of communication processing unit 151 and a communication processing unit 241 of wireless communication device 200 described later for establishing a NAN connection between wireless communication device 100 and wireless communication device 200. Note that communication processing unit 241 is a component that performs processing for executing communication of the NAN wireless communication system in wireless communication device 200. Communication processing unit 151 and communication processing unit 241 of wireless communication device 200 described later establish a NAN connection in accordance with a connection sequence defined by the NAN standard.
[0025] To establish a NAN connection, first, the communication processing unit 152 of the wireless communication device 100 and the communication processing unit 241 of the wireless communication device 200 perform processing for the wireless communication device 100 and the wireless communication device 200 to configure a NAN cluster. After that, the communication processing unit 152 of the wireless communication device 100 and the communication processing unit 241 of the wireless communication device 200 perform processing to establish a NAN connection, i.e., a NAN data link.
[0026] In the NAN standard, a period called a discovery window is defined. The discovery window is a communication period that occurs intermittently mainly for devices to announce and search for services, and arrives at a predetermined cycle. A set of devices that share the discovery window is called a NAN cluster. A device operating as a master transmits a discovery beacon to other devices that do not yet belong to the NAN cluster to make the other devices recognize the NAN cluster. In addition, the device operating as a master transmits a synchronization beacon to synchronize each device with the discovery window. In this embodiment, wireless communication device 100 may operate as a master, or wireless communication device 200 may operate as a master.
[0027] Each device that makes up a NAN cluster can check the services provided by each device by sending and receiving signals within the discovery window. Specifically, within the discovery window, signals consisting of frames in a format called a Service Discovery Frame are transmitted.
[0028] A device that constitutes a NAN cluster can establish a data link that allows mutual communication with other devices that constitute the NAN cluster regardless of the DW period. In other words, a NAN connection can be established between devices that constitute a NAN cluster. In the NAN standard, the above-mentioned data link is called a NAN data link. In the present embodiment, the flow until wireless communication device 100 and wireless communication device 200 establish a NAN connection will be described below.
[0029] First, wireless communication device 100 and wireless communication device 200 share a discovery window. To share the discovery window, either wireless communication device 100 or wireless communication device 200 operates as a master. For example, when wireless communication device 100 operates as a master, communication processing unit 152 of wireless communication device 100 performs a process of transmitting a discovery beacon and a synchronization beacon from wireless communication device 100.
[0030] When the wireless communication device 100 and the wireless communication device 200 share a discovery window, the wireless communication device 200 waits for an inquiry about a service to be broadcast. Then, the communication processing unit 152 of the wireless communication device 100 performs communication using the discovery window in order to search for the wireless communication device 200, which is a device that provides a specific service (for example, a print service in this embodiment). Specifically, the communication processing unit 152 broadcasts an inquiry about the service by transmitting a signal using a discovery window defined in the NAN standard. That is, the communication processing unit 152 broadcasts a message making an inquiry to all other devices that configure the NAN cluster. Note that this message is a message using a service discovery frame. In response to this, the communication processing unit 241 of the wireless communication device 200 that receives the broadcast of this inquiry responds to this inquiry by transmitting a signal using a discovery window defined in the NAN standard. This allows the wireless communication device 100 to identify a device that can provide a specific service. Thereafter, communication processing unit 152 of wireless communication device 100 and communication processing unit 241 of wireless communication device 200 execute processing to establish a NAN data link in accordance with a connection procedure in accordance with the NAN standard. In this manner, a NAN connection is established.
[0031] Next, other processing of the communication processing unit 152 of the wireless communication device 100 will be described. The communication processing unit 152 also performs processing to disconnect the NAN connection, that is, processing to terminate the NAN connection. In particular, when the wireless communication device (wireless communication device 200) to which setting information is transmitted under the control of the transmission control unit 156 described later has succeeded in establishing a wireless communication connection in the NW wireless communication method, the communication processing unit 152 disconnects the wireless communication connection in the NAN wireless communication method with this wireless communication device (wireless communication device 200). That is, after the wireless communication device 200 that has received the setting information has succeeded in connecting to the wireless LAN (access point 500), the communication processing unit 152 disconnects the NAN connection with this wireless communication device 200. In this case, the communication processing unit 152 may not only disconnect the NAN connection, but also cause the wireless communication device 100 to leave the NAN cluster to which the wireless communication device 100 belonged in order to establish this NAN connection. Here, leaving the NAN cluster specifically means the end of processing to synchronize with the discovery window, that is, the end of NAN synchronization. When the wireless communication device 100 transmits the setting information to a plurality of wireless communication devices 200, the communication processing unit 152 may disconnect only the NAN connection to the wireless communication device 200 that has successfully established a wireless communication connection of the NW wireless communication method among the plurality of wireless communication devices 200. In this case, the communication processing unit 152 may cause the wireless communication device 100 to leave the NAN cluster when all the wireless communication devices 200 that belong to the same NAN cluster to which the setting information is transmitted have successfully established a wireless communication connection of the NW wireless communication method. By disconnecting the NAN connection or leaving the NAN cluster, it is possible to suppress power consumption due to execution of unnecessary communication. Furthermore, when a common antenna is used for communication of the NW wireless communication method and communication of the NAN wireless communication method, it is possible to improve the throughput of communication of the NW wireless communication method by disconnecting the NAN connection or leaving the NAN cluster.
[0032] The distance information acquisition unit 153 acquires distance information indicating the distance from the wireless communication device 100 for each wireless communication device found by a search according to the NAN standard. That is, the distance information acquisition unit 153 acquires information indicating the distance from other wireless communication devices belonging to the NAN cluster to which the wireless communication device 100 belongs. In this embodiment, the distance information acquisition unit 153 acquires distance information indicating the distance from the wireless communication device 100 measured according to the NAN standard. The NAN standard defines a technique in which a device constituting a NAN cluster measures the distance from other devices constituting the NAN cluster. This technique is also called Ranging. In Ranging, a specific frame is transmitted and received between devices constituting a NAN cluster, and the distance between the devices is calculated from the transmission and reception times of the specific frame. The distance information acquisition unit 153 acquires the distance between the wireless communication device 100 and other wireless communication devices (such as the wireless communication device 200) measured using this technique. Distance information acquisition unit 153 may acquire distance information indicating a distance measured by wireless communication device 100, or may acquire information indicating a distance measured by another wireless communication device from the other wireless communication device. In the present embodiment, distance information acquisition unit 153 acquires a distance measured according to the NAN standard, but may acquire a distance measured by another technology. In this case, the distance information acquired by distance information acquisition unit 153 may be information indicating a distance measured by wireless communication device 100, or may be information indicating a distance received from another device.
[0033] The input receiving unit 154 receives instructions or information input by the user via the operation unit 140. In the present embodiment, for example, the input receiving unit 154 receives a print instruction issued by the user via the operation unit 140. This instruction includes an instruction to specify data to be printed. This instruction may further include an instruction to specify print settings. The input receiving unit 154 also receives an instruction as to whether or not to connect another wireless communication device (wireless communication device 200) to the wireless LAN. The input receiving unit 154 may also receive an instruction to select a wireless communication device to be connected to the wireless LAN. That is, the input receiving unit 154 may receive an instruction to select a wireless communication device to which setting information for connecting to the wireless LAN is to be transmitted.
[0034] The display control unit 155 controls the display by the display unit 130. In this embodiment, the display control unit 155 displays a user interface screen for determining a wireless communication device to which the setting information is to be transmitted on the display unit 130, as shown in FIG. 5 described later. That is, the display control unit 155 controls the display unit 130 to display a list of wireless communication devices found by a search according to the NAN standard. In particular, the display control unit 155 controls the display unit 130 to display the distance information for each wireless communication device acquired by the distance information acquisition unit 153. That is, the display control unit 155 controls the display unit 130 to display the distance information for each wireless communication device in the above-mentioned list. This allows the user to select a wireless communication device to be connected to the wireless LAN by referring to the distance. This improves the user's convenience.
[0035] The transmission control unit 156 controls to transmit setting information required for establishing a wireless communication connection of the NW wireless communication method to at least one other wireless communication device found by the search according to the NAN standard, using the wireless communication connection of the NAN wireless communication method established by the communication processing unit 152, i.e., the NAN connection. In this embodiment, the setting information (SSID and password of the access point 500) is transmitted to the wireless communication device 200. After transmitting the setting information, if the wireless communication device (wireless communication device 200) to which the setting information is transmitted does not succeed in establishing a wireless communication connection of the NW wireless communication method, the transmission control unit 156 may control to transmit the setting information again to the wireless communication device using the wireless communication connection of the NAN wireless communication method that is still connected. In other words, if the wireless communication device 200 that has received the setting information does not succeed in connecting to the wireless LAN (access point 500), the wireless communication device 100 may transmit the setting information to the wireless communication device 200 again. In this way, by retransmitting the setting information, the setting information can be transmitted appropriately even if an error occurs in transmitting the setting information the first time. That is, even if a bit error occurs during transmission of the setting information due to the influence of noise or the like, the setting information is retransmitted to wireless communication device 200, so that wireless communication device 200 can receive correct setting information. In particular, in this embodiment, the NAN connection is not immediately disconnected after transmitting the setting information, but is maintained, so that even if retransmission of the setting information is required, a process of re-establishing the NAN connection is not necessary. Therefore, the setting information can be immediately retransmitted. Note that transmission control unit 156 may transmit, together with the setting information, a request to wireless communication device 200 to instruct execution of a connection process using the setting information.
[0036] The transmission control unit 156 may limit the destination of the setting information required to establish a wireless communication connection of the NW wireless communication method based on the distance information acquired by the distance information acquisition unit 153. For example, the transmission control unit 156 may control the transmission of the setting information only to wireless communication devices that exist within a predetermined distance from the wireless communication device 100. This makes it possible to prevent the setting information from being transmitted to a wireless communication device that is far away, and therefore to prevent the setting information from being leaked to a wireless communication device that is not managed by the user. Furthermore, according to the above-mentioned configuration, the setting information is transmitted to the wireless communication device 200 that is closest to the user of the wireless communication device 100, and therefore printing via wireless LAN can be realized by the device closest to the user.
[0037] Furthermore, the transmission control unit 156 may determine the destination of the setting information according to an instruction to select a destination from among the wireless communication devices listed in the above-mentioned list displayed by the display control unit 155. In this case, the transmission control unit 156 determines the destination of the setting information according to an instruction from the user received by the input receiving unit 154. With this configuration, the user can select the destination of the setting information from the list. In other words, the user can select the wireless communication device to be connected to the wireless LAN. This improves user convenience.
[0038] The transmission control unit 156 may also control the transmission of information other than the setting information. For example, the transmission control unit 156 may control the transmission of a print job generated in response to a print instruction received by the input receiving unit 154 to the wireless communication device 200 using a wireless communication connection of the NW wireless communication method or the NAN wireless communication method. The transmission control unit 156 may control the transmission of a print job by switching between the wireless communication connection of the NW wireless communication method and the NAN wireless communication method according to the throughput. In particular, when the wireless communication device 200 that has received the setting information does not succeed in establishing a wireless communication connection of the NW wireless communication method, the transmission control unit 156 may control the transmission of a print job to the wireless communication device 200 using the wireless communication connection of the NAN wireless communication method. With this configuration, even if the wireless communication device 100 and the wireless communication device 200 cannot communicate with each other using the NW wireless communication method, printing can be realized.
[0039] After the wireless communication device 200 that has received the setting information has successfully established a wireless communication connection in the NW wireless communication method, the wireless communication connection may be disconnected due to some reason such as a failure or replacement of the access point 500, a change in the radio wave environment, or the like. In other words, the wireless communication connection in the NW wireless communication method of the wireless communication device 200 may be disconnected in a state in which the NAN connection between the wireless communication device 100 and the wireless communication device 200 is not maintained. In such a case, that is, when the wireless communication connection in the NW wireless communication method of the wireless communication device 200 is successfully established and then disconnected, the wireless communication device 100 may operate as follows. First, the communication processing unit 152 performs a process of re-establishing a NAN connection with the wireless communication device 200. After that, the transmission control unit 156 controls the wireless communication device 200 to transmit a print job using the re-established NAN connection. With this configuration, even if the wireless communication device 100 and the wireless communication device 200 cannot communicate with each other in the NW wireless communication method, printing can be realized.
[0040] The connection determination unit 157 determines whether the wireless communication device 200 has succeeded in connecting to the wireless LAN (access point 500). In the present embodiment, as an example, the connection determination unit 157 determines whether the connection has succeeded based on whether the wireless communication device 100 has received a packet from the wireless communication device 200 through communication of the NW wireless communication method. When the wireless communication device 100 has received a packet from the wireless communication device 200 through communication of the NW wireless communication method, the connection determination unit 157 determines that the connection has succeeded. In contrast, for example, when the wireless communication device 200 is unable to confirm a network connection even after a predetermined time has elapsed since the transmission of the setting information, the connection determination unit 157 determines that the wireless communication device 200 has failed to connect to the network. That is, when the wireless communication device 200 is unable to receive a packet from the wireless communication device 200 even after a predetermined time has elapsed since the transmission of the setting information, the connection determination unit 157 determines that the wireless communication device 200 has failed to connect to the network. The connection determination unit 157 may perform the following process in order to obtain a packet from the wireless communication device 200. For example, the connection determination unit 157 may broadcast a packet for searching for the wireless communication device 200 to each device connected to the wireless LAN (access point 500) by using communication of the NW wireless communication method. Then, when the wireless communication device 100 receives a response packet from the wireless communication device 200 that received this packet by communication of the NW wireless communication method, the connection determination unit 157 determines that the wireless communication device 200 has succeeded in connecting to the wireless LAN. On the other hand, when the wireless communication device 100 cannot receive the response packet, the connection determination unit 157 determines that the wireless communication device 200 has failed to connect to the wireless LAN. The above-mentioned packet for searching for the wireless communication device 200 may be transmitted periodically or at a predetermined timing after the transmission of the setting information.
[0041] The identity of the wireless communication device to which the setting information is to be transmitted and the wireless communication device from which the packet such as the response packet is transmitted can be determined, for example, by using a media access control (MAC) address notified during communication. In this case, the connection determination unit 157 may store in the storage unit 110 the MAC address of the wireless communication device to which the setting information is to be transmitted, notified during communication for transmitting the setting information. The connection determination unit 157 then determines whether the wireless communication device 200 has succeeded in connecting to the wireless LAN by determining whether the MAC address notified during communication of the NW wireless communication method matches the MAC address stored in the storage unit 210.
[0042] The above-mentioned connection determination method is an example, and the wireless communication device 100 does not necessarily have to broadcast a packet for searching the wireless communication device 200. For example, when the wireless communication device 200 establishes a wireless communication connection of the NW wireless communication method, the wireless communication device 200 may broadcast a packet to each device connected to the wireless LAN (access point 500) by using communication of the NW wireless communication method. In this case, the wireless communication device 100 does not need to broadcast a packet for searching the wireless communication device 200. The wireless communication device that has established a wireless communication connection of the NW wireless communication method may broadcast a packet when the wireless communication connection is established, or may broadcast the packet periodically. In addition, this broadcast may be performed not only by the wireless communication device 200, but also by any wireless communication device that has established a wireless communication connection of the NW wireless communication method. In addition, the connection determination unit 157 may also determine whether the wireless communication device 100 is connected to the wireless LAN (access point 500).
[0043] Next, the wireless communication device 200 will be described. Fig. 3 is a block diagram showing an example of the configuration of the wireless communication device 200. As shown in Fig. 3, the wireless communication device 200 has a storage unit 210, a wireless communication unit 220, a printing unit 230, and a control unit 240. Note that the wireless communication device 200 may also have other components. For example, the wireless communication device 200 may further have a user interface such as a touch panel display, or may further have a scanner or the like.
[0044] The storage unit 210 is a storage device that stores a program for implementing the processing of the control unit 240 and data used in the processing of the wireless communication device 200. This storage device may be, for example, a non-volatile storage device such as a hard disk or a flash memory, and may include a memory such as a RAM.
[0045] The wireless communication unit 220 is hardware that performs wireless communication. That is, the wireless communication unit 220 is a wireless communication interface. The wireless communication unit 220 may include a transmitting circuit, a receiving circuit, and an antenna.
[0046] The printing unit 230 has a printing function for printing on a print medium such as paper. The printing unit 230 includes a print engine. The print engine is a mechanical configuration that prints an image on a print medium using color materials. The print engine may have a mechanism for printing using ink, for example, by an inkjet method. Alternatively, the print engine may have a mechanism for printing using toner, for example, by an electrophotographic method. The print engine may also have a transport mechanism for transporting the print medium.
[0047] The control unit 240 is a processor such as a CPU that controls each component of the wireless communication device 200. The control unit 240 may have multiple processors. The control unit 240 loads a program into a memory and executes the program. In this embodiment, the control unit 240 thereby realizes the functions of a communication processing unit 241, a setting information acquisition unit 242, a communication processing unit 243, a connection determination unit 244, a print information acquisition unit 245, and a print processing unit 246.
[0048] The wireless communication device 200 includes a communication processing unit 241 and a communication processing unit 243, and is configured to be capable of communication using two different types of wireless communication methods. The communication processing unit 241 performs a process of performing communication of the NAN wireless communication method with another wireless communication device (wireless communication device 100 in this embodiment). As described above, wireless communication device 100 and wireless communication device 200 can perform two types of communication as communication of the NAN wireless communication method: communication using a discovery window and communication performed after establishing a NAN connection. For this reason, the process performed by the communication processing unit 241 includes a process of performing communication using a discovery window and a process of performing communication after establishing a NAN connection. As described above, in this embodiment, the communication processing unit 241 performs communication with wireless communication device 100 using a discovery window to establish a NAN connection with wireless communication device 100. Note that the communication processing unit 241 may also establish a NAN connection with a wireless communication device other than wireless communication device 100, for example, wireless communication device 301 or wireless communication device 302.
[0049] The communication processing unit 241 also performs a process of disconnecting the NAN connection, that is, a process of terminating the NAN connection. In particular, the communication processing unit 241 disconnects the NAN connection established with the wireless communication device 100 when the establishment of the wireless communication connection of the NW wireless communication method is successful. That is, the communication processing unit 241 disconnects the NAN connection with the wireless communication device 100 when the connection process by the communication processing unit 243, which will be described later, using the setting information received from the wireless communication device 100 is successful. In other words, the communication processing unit 241 disconnects the NAN connection with the wireless communication device 100 after the wireless communication device 200 is successfully connected to the wireless LAN (access point 500). Note that the communication processing unit 241 may not only disconnect the NAN connection, but also cause the wireless communication device 200 to leave the NAN cluster to which the wireless communication device 200 belonged in order to establish the NAN connection.
[0050] As described above, the wireless communication device 200 may have established a NAN connection with a wireless communication device other than the wireless communication device 100 (for example, the wireless communication device 301 or 302). In this case, the communication processing unit 241 may also disconnect the NAN connection with a wireless communication device that can communicate via a wireless communication connection of the NW wireless communication method. That is, when the communication processing unit 241 has successfully established a wireless communication connection of the NW wireless communication method, the communication processing unit 241 may perform not only a process of disconnecting the NAN connection with the wireless communication device 100 that is the transmission source of the setting information, but also the following disconnection process. The communication processing unit 241 also disconnects the NAN connection with a device other than the wireless communication device 100 that can communicate via the wireless communication connection of the successfully established NW wireless communication method, among other devices that have established a NAN connection with the wireless communication device 100.
[0051] The setting information acquisition unit 242 acquires setting information from the wireless communication device 100 using the wireless communication connection of the NAN wireless communication system established by the communication processing unit 241, that is, the NAN connection.
[0052] The communication processing unit 243 performs a process of executing communication in the NW wireless communication method. The communication processing unit 243 establishes a wireless communication connection in the NW wireless communication method using the setting information acquired by the setting information acquisition unit 242, i.e., the setting information received from the wireless communication device 100. Specifically, the communication processing unit 243 establishes a wireless communication connection in the NW wireless communication method using the SSID and password of the access point 500 received from the wireless communication device 100. When the wireless communication connection in the NW wireless communication method is successfully established, the communication processing unit 241 disconnects the NAN connection as described above.
[0053] The connection determination unit 244 determines whether the wireless communication device 200 has established a wireless communication connection in the NW wireless communication method. That is, the connection determination unit 244 determines whether the wireless communication device 200 has succeeded in connecting to the wireless LAN (access point 500). The connection determination unit 244 also determines whether or not there is a device capable of wireless communication in the NW wireless communication method among other devices in which the NAN connection is established with the wireless communication device 200. For example, the connection determination unit 244 determines this by the same process as the connection determination unit 157 described above. That is, the connection determination unit 244 determines whether or not the wireless communication device 200 has received a packet from a wireless communication device in which the NAN connection is established by communication in the NW wireless communication method. That is, when the same MAC address as that acquired in communication using the NAN connection is acquired in communication in the NW wireless communication method, the connection determination unit 244 determines that there is a wireless communication device that has established a NAN connection with the wireless communication device 200 and is capable of wireless communication in the NW wireless communication method with the wireless communication device 200.
[0054] The print information acquisition unit 245 acquires a print job from the wireless communication device 100 using the NAN connection established by the communication processing unit 241 or the wireless communication connection of the NW wireless communication method established by the communication processing unit 243.
[0055] The print processing unit 246 performs processing for executing printing by the printing unit 230. In this embodiment, the print processing unit 246 executes printing using the printing unit 230 in accordance with a print job received from the wireless communication device 100.
[0056] Next, in this embodiment, the flow of the operation of the communication system 10 for making the wireless communication device 200 participate in the wireless LAN will be described. FIG. 4A and FIG. 4B are flowcharts showing an example of the flow of the operation of the communication system 10 for making the wireless communication device 200 participate in the wireless LAN in this embodiment. Note that the flowcharts shown in FIG. 4A and FIG. 4B only show an example of the operation. Therefore, for example, the order of execution of each step can be changed as long as no technical contradiction occurs. Also, some steps may be omitted. Note that, prior to the operation described below, the wireless communication device 100 establishes a wireless communication connection of the NW wireless communication method using the setting information. On the other hand, it is assumed that the wireless communication device 200 has not yet established a wireless communication connection of the NW wireless communication method. Hereinafter, the flow of the operation will be described with reference to FIG. 4A and FIG. 4B.
[0057] In step S101, the communication processing unit 152 of the wireless communication device 100 searches for the wireless communication device 200 by broadcasting an inquiry about a service according to the NAN standard. That is, the communication processing unit 152 searches for the wireless communication device 200 by performing communication using a discovery window. At this time, the communication processing unit 152 may search only for wireless communication devices that can provide a specific service by broadcasting an inquiry about a service according to the NAN standard. In this case, in a later step, the setting information is transmitted only to wireless communication devices that can provide a specific service. This makes it possible to search only for wireless communication devices that are appropriate for participating in a wireless LAN. For example, the communication processing unit 152 may search only for devices that can provide a connection service such as the wireless communication device 200, that is, wireless communication devices that have a function of establishing a wireless communication connection of a NW wireless communication method using the setting information received in the NAN connection. Also, for example, the communication processing unit 152 may search only for wireless communication devices that can provide a print service, or may search only for wireless communication devices that can provide a scan service. Also, the communication processing unit 152 may search only for wireless communication devices that can provide a specific service that satisfies a specific condition. For example, the communication processing unit 152 may search only for wireless communication devices that can provide a print service with a specific print setting.
[0058] Then, in this embodiment, in step S102, communication processing unit 152 of wireless communication device 100 establishes a NAN connection with wireless communication device 200. In other words, communication processing unit 241 of wireless communication device 200 establishes a NAN connection with wireless communication device 100. Note that, when multiple wireless communication devices 200 are found in the search in step S101, communication processing unit 152 of wireless communication device 100 may establish a NAN connection with the multiple wireless communication devices 200.
[0059] Next, in step S103, connection determination unit 157 of wireless communication device 100 determines whether or not wireless communication device 100 is connected to a wireless LAN (specifically, in this embodiment, a Wi-Fi (registered trademark) network). Here, the description will be continued assuming that wireless communication device 100 is connected to a wireless LAN, but if wireless communication device 100 is not connected to a wireless LAN, the process ends. If wireless communication device 100 is connected to a wireless LAN, the process proceeds to step S104. Note that if wireless communication device 100 holds setting information, the process may proceed to step S104 regardless of whether wireless communication device 100 is connected to a wireless LAN or not.
[0060] In step S104, distance information acquisition section 153 of wireless communication device 100 acquires the distance between wireless communication device 100 and the other wireless communication device with which the NAN connection was established in step S102.
[0061] Next, in step S105, the display control unit 155 of the wireless communication device 100 displays a user interface screen for determining a wireless communication device to which the setting information is to be transmitted, on the display unit 130. Specifically, for example, the display control unit 155 displays a user interface screen 90 including a list of wireless communication devices discovered by the search in step S101, on the display unit 130, as shown in Fig. 5. That is, the display control unit 155 displays on the display unit 130 a list showing candidates for wireless communication devices to which the setting information is to be transmitted.
[0062] FIG. 5 is a schematic diagram showing an example of a user interface screen 90 displayed by the display control unit 155. As shown in FIG. 5, the display control unit 155 may display the distance from the wireless communication device 100 for each candidate destination of the setting information. Also, as shown in FIG. 5, the display control unit 155 may display the identification information (printer name) of each wireless communication device. Note that, in order to obtain the identification information of each wireless communication device, an inquiry of the identification information may be made to the wireless communication device connected to the NAN. The user interface screen 90 shown in FIG. 5 includes a button 91 for instructing the wireless communication device 100 to transmit the setting information held therein to another wireless communication device, and a button 92 for canceling the transmission of the setting information held therein to another wireless communication device. The button 91 can also be said to be a button for instructing the wireless communication device to newly participate in the wireless LAN. Also, the button 92 can also be said to be a button for canceling the participation of another wireless communication device in the wireless LAN. When a user wants to newly participate in a wireless LAN with another wireless communication device, the user selects a device to be joined from the wireless communication devices listed in the list, and presses the button 91. 5, the user interface screen 90 includes the list, but a user interface screen that does not include the list may be displayed. In this case, when a user wants another wireless communication device to newly join the wireless LAN, the user instructs the other wireless communication device to newly join the wireless LAN without selecting a wireless communication device. In this case, the transmission control unit 156 may transmit the setting information to all wireless communication devices connected to the NAN, or may determine the destination wireless communication device based on the distance information as described above.
[0063] If input receiving unit 154 receives an instruction from the user to connect another wireless communication device to the wireless LAN (YES in step S106), that is, if button 91 is operated, the process proceeds to step S107. If an instruction to connect another wireless communication device to the wireless LAN is not received (NO in step S106), that is, if button 92 is operated, the process ends.
[0064] In step S107, the transmission control unit 156 of the wireless communication device 100 controls to transmit, to the wireless communication device 200, setting information for establishing a wireless communication connection of the NW wireless communication method, i.e., setting information for connecting to a Wi-Fi (registered trademark) network, using the NAN connection established in step S102. For example, the transmission control unit 156 controls to transmit the setting information to the wireless communication device 200 selected by the user as the destination from among the wireless communication devices 200 listed in the list. In response to this, the setting information acquisition unit 242 of the wireless communication device 200 acquires the setting information transmitted from the wireless communication device 100. As a result, the setting information is transmitted from the wireless communication device 100 to the wireless communication device 200 via the NAN connection.
[0065] Next, in step S108, the communication processing unit 243 of the wireless communication device 200 executes a process of establishing a wireless communication connection of the NW wireless communication method using the setting information received from the wireless communication device 100. That is, the communication processing unit 243 executes a process for connecting to a Wi-Fi (registered trademark) network. When the wireless communication device 200 establishes a wireless communication connection of the NW wireless communication method, that is, when the connection to the Wi-Fi (registered trademark) network is successful (YES in step S109), the process proceeds to step S111. On the other hand, when the connection is unsuccessful (NO in step S109), the process proceeds to step S110. Note that the success or failure of the network connection by the wireless communication device 200 is detected by the connection determination unit 157 of the wireless communication device 100 and the connection determination unit 244 of the wireless communication device 200.
[0066] In step S110, transmission control unit 156 of wireless communication device 100 determines whether or not the setting information has already been retransmitted to wireless communication device 200 that has failed to connect to the network. If the setting information has not been retransmitted (NO in step S110), the process returns to step S107. Then, in step S107, the setting information is retransmitted. This allows the setting information to be properly transmitted to wireless communication device 200 even if an error occurs in the first transmission of the setting information. On the other hand, if the setting information has already been retransmitted (YES in step S110), the process ends. For example, if the distance between wireless communication device 200 and access point 500 is long and the radio waves are weak, the result is YES in step S110.
[0067] When the process proceeds to step S111, in step S111, communication processing unit 241 of wireless communication device 200 and communication processing unit 152 of wireless communication device 100 disconnect the NAN connection. Note that the process of disconnecting the NAN connection may be performed by only one of wireless communication device 200 and wireless communication device 100. After step S111, the process proceeds to step S112.
[0068] In step S112, connection determination unit 244 of wireless communication device 200 determines whether or not there is a wireless communication device that has established a NAN connection with wireless communication device 200 and that can be accessed via a Wi-Fi (registered trademark) network. That is, connection determination unit 244 determines whether or not there is a wireless communication device that can disconnect the NAN connection. If there is a wireless communication device that can disconnect the NAN connection (YES in step S112), the process proceeds to step S113. If there is no wireless communication device that can disconnect the NAN connection (NO in step S112), the process ends.
[0069] In step S113, communication processing unit 241 of wireless communication device 200 also disconnects the NAN connection with the wireless communication device that was found in step S112 as a wireless communication device that can be disconnected. Then, the process ends. Note that, in the above-mentioned flowchart, the distance information is acquired after step S102, but it may be acquired before step S102. In this case, communication processing unit 152 may use the distance information to limit the party with which a NAN connection is established. That is, for example, communication processing unit 152 may establish a NAN connection with a wireless communication device whose distance is equal to or less than a predetermined threshold.
[0070] FIG. 6 is a schematic diagram for explaining the disconnection of the NAN connection. In the example shown in FIG. 6, it is assumed that before the above-mentioned step S101 is started, the wireless communication device 200 has already established the NAN connection L1 with the wireless communication device 302, and has already established the NAN connection L2 with the wireless communication device 303. It is assumed that the wireless communication device 303 is not connected to the wireless LAN. Then, in step S102, the wireless communication device 200 also establishes the NAN connection L3 with the wireless communication device 100. Furthermore, in step S108, the wireless communication device 200 establishes the wireless communication connection L4 of the NW wireless communication method. In this case, in step S111, the NAN connection L3 is disconnected. Also, since the wireless communication device 200 and the wireless communication device 302 are now able to communicate via the access point 500, the NAN connection L1 is disconnected in step S113. However, since the wireless communication device 200 still cannot communicate with the wireless communication device 303 via the access point 500, the wireless communication device 200 maintains the NAN connection L2.
[0071] According to the above-described embodiment, even if the user does not input setting information to the wireless communication device 200, the wireless communication device 200 can establish a wireless communication connection in the NW wireless communication method. This allows not only the wireless communication device 100 but also other wireless communication devices in the wireless LAN (e.g., the wireless communication devices 301, 302, etc.) to use the services of the wireless communication device 200 via the wireless LAN. In particular, according to the above-described embodiment, the NAN connection between the wireless communication device 100 and the wireless communication device 200 is not disconnected immediately after the setting information is transmitted, but is disconnected when the wireless communication device 200 succeeds in establishing a wireless communication connection in the NW wireless communication method. Therefore, even if a situation occurs in which retransmission of the setting information is required, it is not necessary to re-establish the NAN connection. This makes it possible to reduce the amount of processing.
[0072] Although the embodiment has been described above, the present invention is not limited to the above embodiment, and can be modified as appropriate without departing from the spirit and scope of the present invention.
[0073] Also, in the above examples, the program includes a set of instructions (or software code) that, when loaded into a computer, causes the computer to perform one or more functions described in the embodiments. The program may be stored in a non-transitory computer-readable medium or a tangible storage medium. By way of example and not limitation, the computer-readable medium or tangible storage medium includes random-access memory (RAM), read-only memory (ROM), flash memory, solid-state drive (SSD) or other memory technology, CD-ROM, digital versatile disk (DVD), Blu-ray (registered trademark) disk or other optical disk storage, magnetic cassette, magnetic tape, magnetic disk storage or other magnetic storage device. The program may be transmitted on a transitory computer-readable medium or communication medium. By way of example and not limitation, the transitory computer-readable medium or communication medium includes electrical, optical, acoustic, or other forms of propagated signals.
[0074] A part or all of the above-described embodiments may be described as, but is not limited to, the following supplementary notes. (Appendix 1) a first communication processing unit that establishes a wireless communication connection of a first wireless communication method by using setting information; a second communication processing unit that searches for at least one other wireless communication device according to a Neighbor Awareness Network (NAN) standard and establishes a wireless communication connection with the at least one other wireless communication device using a second wireless communication method that is a communication method according to the NAN standard and different from the first wireless communication method; a transmission control unit that controls the transmission of the setting information to the at least one other wireless communication device using the wireless communication connection of the second wireless communication method; having The second communication processing unit disconnects the wireless communication connection of the second wireless communication method with the other wireless communication device when the other wireless communication device successfully establishes the wireless communication connection of the first wireless communication method. Wireless communication device. (Appendix 2) The transmission control unit controls, when the other wireless communication device does not succeed in establishing the wireless communication connection in the first wireless communication method, to transmit the setting information again to the other wireless communication device using the wireless communication connection in the second wireless communication method. 2. The wireless communication device of claim 1. (Appendix 3) the other wireless communication device is a printing device, The transmission control unit controls, when the other wireless communication device does not succeed in establishing the wireless communication connection in the first wireless communication method, to transmit a print job to the other wireless communication device using the wireless communication connection in the second wireless communication method. 3. The wireless communication device according to claim 1 or 2. (Appendix 4) the other wireless communication device is a printing device, When the wireless communication connection is disconnected after the wireless communication connection of the first wireless communication method by the other wireless communication device is successfully established, the second communication processing unit re-establishes a wireless communication connection with the other wireless communication device according to the second wireless communication method; The transmission control unit controls the transmission of a print job to the other wireless communication device using the re-established wireless communication connection of the second wireless communication method. 3. The wireless communication device according to claim 1 or 2. (Appendix 5) a distance information acquisition unit that acquires distance information indicating a distance from the wireless communication device, the distance information being measured according to the NAN standard, for each of the at least one other wireless communication device; The transmission control unit limits a destination of the setting information based on the distance information. 5. A wireless communication device according to any one of claims 1 to 4. (Appendix 6) a display control unit configured to control the display of a list of the at least one other wireless communication device; The transmission control unit determines a destination of the setting information in accordance with an instruction to select a destination from the at least one other wireless communication device listed in the list. 6. A wireless communication device according to any one of claims 1 to 5. (Appendix 7) a distance information acquisition unit that acquires distance information indicating a distance from the wireless communication device, the distance information being measured according to the NAN standard, for each of the at least one other wireless communication device; The display control unit controls to further display the distance information of each of the at least one other wireless communication devices in the list. 7. The wireless communication device of claim 6. (Appendix 8) The second communication processing unit searches for the at least one other wireless communication device capable of providing a specific service by broadcasting an inquiry about the service according to a NAN standard; The transmission control unit controls to transmit the setting information to the at least one other wireless communication device capable of providing the specific service. 8. A wireless communication device according to any one of claims 1 to 7. (Appendix 9) a first communication processing unit that establishes a wireless communication connection with another wireless communication device using a first wireless communication method conforming to the NAN standard; a setting information acquisition unit that acquires setting information from the other wireless communication device using the wireless communication connection of the first wireless communication method; a second communication processing unit that uses the setting information to establish a wireless communication connection of a second wireless communication method different from the first wireless communication method; having The first communication processing unit disconnects the wireless communication connection of the first wireless communication method when the wireless communication connection of the second wireless communication method is successfully established. Wireless communication device. (Appendix 10) When the establishment of the wireless communication connection of the second wireless communication method is successful, the first communication processing unit also disconnects the wireless communication connection of the first wireless communication method with devices that have established a wireless communication connection of the first wireless communication method with the wireless communication device, the devices being other than the other wireless communication device and that can communicate via the wireless communication connection of the second wireless communication method that has been successfully established. 10. The wireless communication device of claim 9. (Appendix 11) Establishing a wireless communication connection in a first wireless communication method by using the setting information; searching for at least one other wireless communication device in accordance with a NAN standard, and establishing a wireless communication connection with the at least one other wireless communication device using a second wireless communication method that is a communication method in accordance with the NAN standard and different from the first wireless communication method; controlling the wireless communication device to transmit the setting information to the at least one other wireless communication device using the wireless communication connection of the second wireless communication method; When the other wireless communication device has succeeded in establishing the wireless communication connection in the first wireless communication method, the wireless communication connection in the second wireless communication method to the other wireless communication device is disconnected. A method for controlling a wireless communication device. (Appendix 12) Establishing a wireless communication connection with another wireless communication device using a first wireless communication method conforming to the NAN standard; acquiring setting information from the other wireless communication device using the wireless communication connection of the first wireless communication method; Establishing a wireless communication connection of a second wireless communication method different from the first wireless communication method by using the setting information; When the wireless communication connection of the second wireless communication method is successfully established, the wireless communication connection of the first wireless communication method is disconnected. A method for controlling a wireless communication device. (Appendix 13) a first communication processing step of establishing a wireless communication connection of a first wireless communication method by using setting information; a second communication processing step of searching for at least one other wireless communication device according to the NAN standard and establishing a wireless communication connection with the at least one other wireless communication device using a second wireless communication method that is a communication method according to the NAN standard and different from the first wireless communication method; a transmission control step of controlling the wireless communication device to transmit the setting information to the at least one other wireless communication device using the wireless communication connection of the second wireless communication method; a disconnection step of disconnecting the wireless communication connection of the second wireless communication method to the other wireless communication device when the other wireless communication device has successfully established the wireless communication connection of the first wireless communication method; A program that causes a computer to execute the following. (Appendix 14) a first communication processing step of establishing a wireless communication connection with another wireless communication device using a first wireless communication method conforming to the NAN standard; a setting information acquisition step of acquiring setting information from the other wireless communication device using the wireless communication connection of the first wireless communication method; a second communication processing step of establishing a wireless communication connection of a second wireless communication method different from the first wireless communication method by using the setting information; a disconnection step of disconnecting the wireless communication connection of the first wireless communication method when the wireless communication connection of the second wireless communication method is successfully established; A program that causes a computer to execute the following. [Explanation of symbols]
[0075] 10...communication system, 90...user interface screen, 91...button, 92...button, 100...wireless communication device, 110...storage unit, 120...wireless communication unit, 130...display unit, 140...operation unit, 150...control unit, 151...communication processing unit, 152...communication processing unit, 153...distance information acquisition unit, 154...input reception unit, 155...display control unit, 156...transmission control unit, 157...connection determination unit, 200...wireless communication device, 210...storage unit, 220...wireless communication unit, 230...printing unit, 240...control unit, 241...communication processing unit, 242...setting information acquisition unit, 243...communication processing unit, 244...connection determination unit, 245...print information acquisition unit, 246...printing processing unit, 301...wireless communication device, 302...wireless communication device, 303...wireless communication device, 500...access point
Claims
1. a first communication processing unit that establishes a wireless communication connection of a first wireless communication method by using setting information; a second communication processing unit that searches for at least one other wireless communication device according to a Neighbor Awareness Network (NAN) standard and establishes a wireless communication connection with the at least one other wireless communication device using a second wireless communication method that is a communication method according to the NAN standard and different from the first wireless communication method; a transmission control unit that controls the transmission of the setting information to the at least one other wireless communication device using the wireless communication connection of the second wireless communication method; having The second communication processing unit disconnects the wireless communication connection of the second wireless communication method with the other wireless communication device when the other wireless communication device has successfully established the wireless communication connection of the first wireless communication method. Wireless communication device.
2. The transmission control unit controls, when the other wireless communication device does not succeed in establishing the wireless communication connection of the first wireless communication method, to transmit the setting information again to the other wireless communication device using the wireless communication connection of the second wireless communication method. The wireless communication device of claim 1 .
3. the other wireless communication device is a printing device, The transmission control unit controls the transmission of a print job to the other wireless communication device using the wireless communication connection of the second wireless communication method when the other wireless communication device does not succeed in establishing the wireless communication connection of the first wireless communication method.
3. A wireless communication device according to claim 1 or 2.
4. the other wireless communication device is a printing device, When the wireless communication connection is disconnected after the wireless communication connection of the first wireless communication method by the other wireless communication device is successfully established, the second communication processing unit re-establishes a wireless communication connection with the other wireless communication device according to the second wireless communication method; The transmission control unit controls the transmission of a print job to the other wireless communication device using the re-established wireless communication connection of the second wireless communication method.
3. A wireless communication device according to claim 1 or 2.
5. a distance information acquisition unit that acquires distance information indicating a distance from the wireless communication device, the distance information being measured according to a NAN standard, for each of the at least one other wireless communication device; The transmission control unit limits a destination of the setting information based on the distance information. The wireless communication device of claim 1 .
6. a display control unit configured to control the display of a list of the at least one other wireless communication device; The transmission control unit determines a destination of the setting information in accordance with an instruction to select a destination from the at least one other wireless communication device listed in the list. The wireless communication device of claim 1 .
7. a distance information acquisition unit that acquires distance information indicating a distance from the wireless communication device, the distance information being measured according to a NAN standard, for each of the at least one other wireless communication device; The display control unit controls to further display the distance information of each of the at least one other wireless communication devices in the list.
7. The wireless communication device according to claim 6.
8. the second communication processing unit searches for the at least one other wireless communication device capable of providing a specific service by broadcasting an inquiry about the service according to a NAN standard; The transmission control unit controls to transmit the setting information to the at least one other wireless communication device capable of providing the specific service. The wireless communication device of claim 1 .
9. a first communication processing unit that establishes a wireless communication connection with another wireless communication device using a first wireless communication method in accordance with the NAN standard; a setting information acquisition unit that acquires setting information from the other wireless communication device using the wireless communication connection of the first wireless communication method; a second communication processing unit that uses the setting information to establish a wireless communication connection of a second wireless communication method different from the first wireless communication method; having The first communication processing unit disconnects the wireless communication connection of the first wireless communication method when the wireless communication connection of the second wireless communication method is successfully established. Wireless communication device.
10. When the establishment of the wireless communication connection of the second wireless communication method is successful, the first communication processing unit also disconnects the wireless communication connection of the first wireless communication method with devices that are establishing a wireless communication connection of the first wireless communication method with the wireless communication device, the devices being other than the other wireless communication device and that can communicate via the wireless communication connection of the second wireless communication method that has been successfully established.
10. The wireless communication device of claim 9.
11. Establishing a wireless communication connection of a first wireless communication method by using the setting information; searching for at least one other wireless communication device according to a NAN standard, and establishing a wireless communication connection with the at least one other wireless communication device using a second wireless communication method that is a communication method according to the NAN standard and different from the first wireless communication method; Controlling the wireless communication device to transmit the setting information to the at least one other wireless communication device using the wireless communication connection of the second wireless communication method; When the other wireless communication device has succeeded in establishing a wireless communication connection in the first wireless communication method, the wireless communication connection in the second wireless communication method to the other wireless communication device is disconnected. A method for controlling a wireless communication device.
12. Establishing a wireless communication connection with another wireless communication device using a first wireless communication method conforming to the NAN standard; acquiring setting information from the other wireless communication device using the wireless communication connection of the first wireless communication method; Establishing a wireless communication connection of a second wireless communication method different from the first wireless communication method by using the setting information; When the wireless communication connection of the second wireless communication method is successfully established, the wireless communication connection of the first wireless communication method is disconnected. A method for controlling a wireless communication device.
13. a first communication processing step of establishing a wireless communication connection of a first wireless communication method by using setting information; a second communication processing step of searching for at least one other wireless communication device according to a NAN standard and establishing a wireless communication connection with the at least one other wireless communication device using a second wireless communication method that is a communication method according to the NAN standard and different from the first wireless communication method; a transmission control step of controlling the wireless communication device to transmit the setting information to the at least one other wireless communication device using the wireless communication connection of the second wireless communication method; a disconnection step of disconnecting the wireless communication connection of the second wireless communication method to the other wireless communication device when the other wireless communication device has successfully established the wireless communication connection of the first wireless communication method; A program that causes a computer to execute the following.
14. a first communication processing step of establishing a wireless communication connection with another wireless communication device using a first wireless communication method according to the NAN standard; a setting information acquisition step of acquiring setting information from the other wireless communication device using the wireless communication connection of the first wireless communication method; a second communication processing step of establishing a wireless communication connection of a second wireless communication method different from the first wireless communication method by using the setting information; a disconnection step of disconnecting the wireless communication connection of the first wireless communication method when the wireless communication connection of the second wireless communication method is successfully established; A program that causes a computer to execute the following.
Citation Information
Patent Citations
Communication device, control method, and program
JP2019134322A
