Radio communication device, control method of radio communication device, and program

The wireless communication device uses NW and NAN methods to ensure device functionality by determining target device presence and facilitating network participation, addressing the limitation of existing technologies where devices must be in the same network.

JP2024136521APending Publication Date: 2024-10-04SEIKO EPSON CORP

Patent Information

Application Number
JP2023047661
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2024-10-04

AI Technical Summary

Technical Problem

Existing wireless communication technologies, such as those described in Patent Document 1, fail to enable the functionality of a device when it is not present in the same network, limiting the use of device functions if the terminal device and printing device are not connected to the same access point.

Method used

A wireless communication device employing both NW (network-based) and NAN (Neighbor Awareness Network) communication methods to determine the presence of a target device, establish a NAN connection if necessary, and transmit setting information to enable the target device to join the network, allowing it to function even if not initially connected.

Benefits of technology

Enables the use of device functions by allowing a target device to participate in a network even if it is not initially connected, ensuring seamless communication and functionality across different wireless communication methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024136521000001_ABST
    Figure 2024136521000001_ABST
Patent Text Reader

Abstract

To enable use of a function of a specific device in the case where there is no specific device in a network.SOLUTION: A radio communication device 100 includes: a first communication processing part 151 that performs processing for executing a communication of a first wireless communication system; a target determination part 152 that determines whether or not there is a target device 200 in a network that is accessible in a communication of the first wireless communication system; a second communication processing part 153 that performs the processing for executing the communication of a second wireless communication system with at least one of the target devices 200 in the case where no target device 200 exists in the network; and a transmission control part 157 that controls the transmission of setting information for participating to the network to at least one of the target devices 200 by using the communication of the second wireless communication system.SELECTED DRAWING: Figure 2
Need to check novelty before this filing date? Find Prior Art

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] There are known techniques for printing using wireless communication. For example, Patent Document 1 discloses a technique in which a terminal device and a printing device are connected to an access point via wireless communication, and printing is achieved by transmitting data from the terminal device to the printing device via the access point via wireless communication. [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2018-19146 A Summary of the Invention [Problem to be solved by the invention]

[0004] In the technology disclosed in Patent Document 1, when a printing device is connected to an access point to which a terminal device is connected, the terminal device can use the functions of the printing device, but when the printing device is not connected to the access point, the terminal device cannot use the functions of the printing device. In other words, when the terminal device and the printing device are not in the same network, the terminal device cannot use the functions of the printing device using wireless communication via the access point. For this reason, there is a demand for a technology that allows the functions of a specific device to be used when the specific device is not in the network. [Means for solving the problem]

[0005] The wireless communication device according to the present disclosure includes a first communication processing unit that performs processing to execute communication using a first wireless communication method, a target determination unit that determines whether a target device that is a device capable of providing a specific service is present in a network accessible via communication using the first wireless communication method, a second communication processing unit that performs processing to execute communication using a second wireless communication method that is a communication method conforming to the NAN standard and different from the first wireless communication method with at least one of the target devices when the target device is not present in the network, and a transmission control unit that controls the transmission of setting information for joining the network to the at least one target device using communication using the second wireless communication method.

[0006] In addition, in the control method for a wireless communication device disclosed herein, a process is performed to execute communication using a first wireless communication method, and a determination is made as to whether or not a target device that is a device capable of providing a specific service is present in a network accessible via communication using the first wireless communication method. If the target device is not present in the network, a process is performed to execute communication using a second wireless communication method that is a communication method conforming to the NAN standard and different from the first wireless communication method with at least one of the target devices, and control is performed to transmit setting information for joining the network to the at least one target device using communication using the second wireless communication method.

[0007] In addition, the program disclosed herein causes a computer to execute a first communication processing step of performing processing to execute communication using a first wireless communication method; a target determination step of determining whether a target device that is a device capable of providing a specific service is present in a network accessible via communication using the first wireless communication method; a second communication processing step of performing processing to execute communication using a second wireless communication method that is a communication method conforming to the NAN standard and different from the first wireless communication method with at least one of the target devices if the target device is not present in the network; and a transmission control step of controlling the transmission of setting information for joining the network to the at least one target device using communication using the second wireless communication method. [Brief description of the drawings]

[0008] [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] FIG. 2 is a block diagram showing an example of a configuration of a target device according to an embodiment; [Figure 4] 10 is a flowchart showing an example of an operation flow of a communication system for allowing a target 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. 2 is a schematic diagram showing transitions in the connection state of each device in the communication system according to the embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0009] 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.

[0010] As described above, there is a demand for a technique for enabling a specific device to utilize a function of the specific device when the specific device does not exist in a network. Therefore, in this embodiment, a technique for determining whether a specific device exists in a network and enabling the specific device to participate in the network when the specific device does not exist will be described.

[0011] 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 a wireless communication device 100, a target device 200, and an access point 300. The access point 300 is an access point of a wireless LAN (Local Area Network). Specifically, the wireless LAN is, for example, a Wi-Fi (registered trademark) network. In the present embodiment, the wireless communication device 100 is a device that uses the target device 200. The target device 200 is a wireless communication device that can provide a specific service, and is a device that is used by the wireless communication device 100. Although FIG. 1 shows one target device 200, the communication system 10 may include multiple target devices 200.

[0012] Wi-Fi Aware, which is one of the certification programs of the Wi-Fi Alliance, specifies a communication protocol called NAN (Neighbor Awareness Network) for wireless communication between devices 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. In this embodiment, wireless communication device 100 transmits setting information (to be described later) to target device 200 through communication in accordance with the NAN standard, thereby allowing target device 200 to participate in a wireless LAN using access point 300.

[0013] In the present disclosure, the wireless communication method for performing communication via the access point 300 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 300 in accordance with the Wi-Fi (registered trademark) standard, or a wireless communication method in infrastructure mode. In the present disclosure, a communication method in accordance with the NAN standard is also referred to as a NAN wireless communication method. In FIG. 1, the wireless communication device 100 performs communication C of the NW wireless communication method. NW 1, the target 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 target device 200 by the above.

[0014] 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 target device 200 is, for example, a printing device (printer). In the communication system 10, the wireless communication device 100 and the target device 200 communicate according to the NAN wireless communication method, that is, communication in accordance with the NAN standard, as described above.

[0015] Hereinafter, specific configurations and processes of the wireless communication device 100 and the target 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.

[0016] 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).

[0017] 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.

[0018] 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.

[0019] 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 target determination unit 152, a communication processing unit 153, a distance information acquisition unit 154, an input reception unit 155, a display control unit 156, and a transmission control unit 157. The wireless communication device 100 includes the communication processing unit 151 and the communication processing unit 153, and is configured to be capable of communication using two different types of wireless communication methods.

[0020] 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 300. Communication in the NW wireless communication method is performed after a wireless communication connection is established using such setting information.

[0021] The target determination unit 152 determines whether or not the target device 200 exists in a network that the wireless communication device 100 can access through communication using the NW wireless communication system. More specifically, the target determination unit 152 determines whether or not one or more target devices 200 exist in the network. In this manner, the target determination unit 152 determines whether or not the target device 200 participates in a wireless LAN, which is a network used for communication via the access point 300.

[0022] In the present embodiment, as an example, the target determination unit 152 determines whether the target device 200 participates in the wireless LAN based on whether the wireless communication device 100 receives a predetermined packet from the target device 200 through communication of the NW wireless communication method. When the wireless communication device 100 cannot receive a predetermined packet from the target device 200 through communication of the NW wireless communication method, the target determination unit 152 determines that the target device 200 does not participate in the wireless LAN. The target determination unit 152 may perform the following process to obtain a packet from the target device 200. For example, the target determination unit 152 may broadcast a packet for searching for the target device 200 to each device connected to the wireless LAN (access point 300) using communication of the NW wireless communication method. Then, when the wireless communication device 100 receives a response packet from the target device 200 that has received this packet through communication of the NW wireless communication method, the target determination unit 152 determines that the target device 200 exists in the wireless LAN. On the other hand, if the wireless communication device 100 cannot receive the response packet, the target determination unit 152 determines that the target device 200 does not exist in the wireless LAN. The above-mentioned predetermined packet transmitted from the target device 200 is a packet that notifies other devices in the wireless LAN that the target device 200 exists in the wireless LAN, and the target device 200 may transmit this packet as the above-mentioned response packet or may transmit it spontaneously. The target device 200 may periodically transmit the predetermined packet spontaneously. If the target device 200 transmits the predetermined packet spontaneously, the wireless communication device 100 does not need to broadcast a packet for searching for the target device 200.

[0023] The target determination unit 152 may further determine whether the target device 200, which has received the setting information from the wireless communication device 100, has succeeded in connecting to the wireless LAN (access point 300). The target determination unit 152 determines whether the connection has been successful based on whether the wireless communication device 100 has received a packet from the target device 200 through communication in the NW wireless communication system. When the wireless communication device 100 has received a packet from the target device 200 through communication in the NW wireless communication system, the target determination unit 152 determines that the connection has been successful. In contrast, for example, when the target determination unit 152 is unable to confirm the network connection by the target device 200 even after a predetermined time has elapsed since the transmission of the setting information, the target determination unit 152 determines that the target device 200 has failed to connect to the network. That is, when the target determination unit 152 is unable to receive a packet from the target device 200 even after a predetermined time has elapsed since the transmission of the setting information, the target determination unit 152 determines that the target device 200 has failed to connect to the network. When determining whether the target device 200 that has received the setting information has succeeded in connecting to the wireless LAN, the target determination unit 152 may perform the following process to obtain a packet from the target device 200. For example, the target determination unit 152 may broadcast a packet for searching for the target device 200 to each device connected to the wireless LAN (access point 300) using communication of the NW wireless communication method. Then, when the wireless communication device 100 receives a response packet from the target device 200 that has received this packet, through communication of the NW wireless communication method, the target determination unit 152 determines that the target 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 target determination unit 152 determines that the target device 200 has failed in connecting to the wireless LAN. The above-mentioned packet for searching for the target device 200 may be transmitted periodically or at a predetermined timing after the transmission of the setting information.

[0024] 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 target determination unit 152 may store in the storage unit 110 the MAC address of the wireless communication device to which the setting information is to be transmitted (the target device 200) notified during communication for transmitting the setting information. The target determination unit 152 then determines whether the target device 200 has successfully connected to the wireless LAN by determining whether the MAC address notified during communication using the NW wireless communication method matches the MAC address stored in the storage unit 210.

[0025] Note that, even when determining whether the target device 200 that has received the setting information has succeeded in connecting to the wireless LAN, the wireless communication device 100 does not necessarily have to broadcast a packet for searching for the target device 200. For example, when the target device 200 establishes a wireless communication connection using the NW wireless communication method, the target device 200 may broadcast a packet to each device connected to the wireless LAN (access point 300) using communication using the NW wireless communication method. In this case, the wireless communication device 100 does not have to broadcast a packet for searching for the target device 200. The target device 200 that has established a wireless communication connection using the NW wireless communication method may broadcast a packet at the time the wireless communication connection is established, or may broadcast the packet periodically.

[0026] The communication processing unit 153 performs a process of performing communication with at least one target device 200 in the NAN wireless communication system. In particular, in this embodiment, the communication processing unit 153 performs a process of performing communication with at least one target device 200 in the NAN wireless communication system when the target device 200 does not exist in a network (i.e., a wireless LAN) that the wireless communication device 100 can access by communication in the NW wireless communication system. The wireless communication device 100 and the target device 200 can perform two types of communication as the NAN wireless communication system communication: communication using a discovery window (DW: Discovery Window) 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 153 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) in this embodiment. As described below, the communication processing unit 153 searches for at least one target device 200 according to the NAN standard, and establishes a NAN connection (NAN data link) with the at least one target device 200, which is a wireless communication connection in the NAN wireless communication system.

[0027] Here, a detailed description will be given of the processing of communication processing unit 151 and a communication processing unit 241 of target device 200 (described later) for establishing a NAN connection between wireless communication device 100 and target device 200. Note that communication processing unit 241 is a component that performs processing for executing communication in the NAN wireless communication system in target device 200. Communication processing unit 151 and communication processing unit 241 of target device 200 (described later) establish a NAN connection in accordance with a connection sequence defined by the NAN standard.

[0028] To establish a NAN connection, first, the communication processing unit 153 of the wireless communication device 100 and the communication processing unit 241 of the target device 200 perform processing for forming a NAN cluster between the wireless communication device 100 and the target device 200. After that, the communication processing unit 153 of the wireless communication device 100 and the communication processing unit 241 of the target device 200 perform processing for establishing a NAN connection, i.e., a NAN data link.

[0029] 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, the wireless communication device 100 may operate as the master, or the target device 200 may operate as the master.

[0030] 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.

[0031] 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 following, in this embodiment, a flow until a NAN connection is established between wireless communication device 100 and target device 200 will be described.

[0032] First, the wireless communication device 100 and the target device 200 share a discovery window. To share the discovery window, either the wireless communication device 100 or the target device 200 operates as a master. For example, when the wireless communication device 100 operates as the master, the communication processing unit 153 of the wireless communication device 100 performs a process of transmitting a discovery beacon and a synchronization beacon from the wireless communication device 100.

[0033] When the wireless communication device 100 and the target device 200 share a discovery window, the target device 200 waits for an inquiry about a service to be broadcast. Then, the communication processing unit 153 of the wireless communication device 100 performs communication using the discovery window in order to search for the target device 200, which is a device that provides a specific service (for example, a print service in this embodiment). Specifically, the communication processing unit 153 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 153 broadcasts a message to make 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 target device 200 that receives this broadcast 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 devices that can provide a specific service. Thereafter, communication processing unit 153 of wireless communication device 100 and communication processing unit 241 of target device 200 execute processing to establish a NAN data link in accordance with a connection procedure based on the NAN standard. In this manner, a NAN connection is established.

[0034] Next, other processing of the communication processing unit 153 of the wireless communication device 100 will be described. When the communication processing unit 153 completes the transmission of the setting information based on the control of the transmission control unit 157 described later, the communication processing unit 153 leaves the NAN cluster. That is, when the communication processing unit 153 completes the transmission of the setting information, the communication processing unit 153 causes the wireless communication device 100 to leave the NAN cluster to which the wireless communication device 100 belongs in order to transmit the setting information by communication of the NAN wireless communication method. Note that, when the destination of the setting information is a plurality of target devices 200, the communication processing unit 153 performs the leaving from the NAN cluster when the transmission of the setting information to all the target devices 200 belonging to the same NAN cluster is completed. Here, the leaving from the NAN cluster specifically means the disconnection of the NAN connection and the end of the NAN synchronization. Note that the NAN synchronization is a process of synchronizing with the discovery window. However, when the wireless communication device 100 does not establish a NAN connection, the leaving from the NAN cluster means only the end of the NAN synchronization. The leaving from the NAN cluster can suppress the power consumption. Furthermore, when a common antenna is used for communication in the NW wireless communication system and communication in the NAN wireless communication system, the throughput of communication in the NW wireless communication system can be improved by leaving the NAN cluster.

[0035] The communication processing unit 153 may cause the wireless communication device 100 to leave the NAN cluster when the target device 200 to which the setting information was sent has successfully established a wireless communication connection in the NW wireless communication method. That is, the communication processing unit 153 may cause the wireless communication device 100 to leave the NAN cluster after the target device 200 that received the setting information has joined the wireless LAN (access point 300). When the setting information is sent to multiple target devices 200, the communication processing unit 153 may cause the wireless communication device 100 to leave the NAN cluster when all the target devices 200 that belong to the same NAN cluster to which the setting information was sent have successfully established a wireless communication connection in the NW wireless communication method.

[0036] The distance information acquisition unit 154 acquires distance information indicating the distance from the wireless communication device 100 for each of the target devices 200 discovered by a search according to the NAN standard. That is, the distance information acquisition unit 154 acquires information indicating the distance from other wireless communication devices (target devices 200) belonging to the NAN cluster to which the wireless communication device 100 belongs. In this embodiment, the distance information acquisition unit 154 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 154 acquires the distance between the wireless communication device 100 and the target device 200 measured using this technique. Distance information acquisition unit 154 may acquire distance information indicating the distance measured by wireless communication device 100, or may acquire information indicating the distance measured by target device 200 from target device 200. In this embodiment, distance information acquisition unit 154 acquires a distance measured according to the NAN standard, but may acquire a distance measured by other techniques. In this case, the distance information acquired by distance information acquisition unit 154 may be information indicating the distance measured by wireless communication device 100, or may be information indicating the distance received from another device.

[0037] The input receiving unit 155 receives instructions or information input by the user via the operation unit 140. In this embodiment, for example, the input receiving unit 155 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 155 also receives an instruction as to whether or not to connect the target device 200 to a wireless LAN. The input receiving unit 155 may also receive an instruction to select the target device 200 to be connected to the wireless LAN. That is, the input receiving unit 155 may receive an instruction to select the target device 200 to which setting information for connecting to the wireless LAN is to be transmitted.

[0038] The display control unit 156 controls the display by the display unit 130. In this embodiment, the display control unit 156 displays a user interface screen for determining the target device 200 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 156 controls the display unit 130 to display a list of the target devices 200 discovered by the search according to the NAN standard. In particular, the display control unit 156 controls the display unit 130 to display the distance information for each target device 200 acquired by the distance information acquisition unit 154. That is, the display control unit 156 controls the display unit 130 to display the distance information for each target device 200 in the above-mentioned list. This allows the user to select the target device 200 to be connected to the wireless LAN by referring to the distance. This improves the user's convenience.

[0039] The transmission control unit 157 controls to transmit, to at least one target device 200 found by the search according to the NAN standard, the setting information required for establishing a wireless communication connection of the NW wireless communication method, using the wireless communication connection of the NAN wireless communication method established by the communication processing unit 153, i.e., the NAN connection. In this embodiment, the setting information (SSID and password of the access point 300) is transmitted to the target device 200. After transmitting the setting information, if the target 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 157 may control to transmit the setting information again to the target device 200 using the NAN connection. In other words, if the target device 200 that has received the setting information does not succeed in connecting to the wireless LAN (access point 300), the wireless communication device 100 may transmit the setting information to the target 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 due to the influence of noise or the like during transmission of the setting information, the setting information is retransmitted to the target device 200, so that the target device 200 can receive correct setting information. In particular, when the wireless communication device 100 leaves the NAN cluster when the target device 200 has successfully established a wireless communication connection of the NW wireless communication method, even when retransmission of the setting information is required, there is no need to reconstruct the NAN cluster or reestablish the NAN connection. Therefore, the setting information can be retransmitted immediately. The transmission control unit 157 may transmit, together with the setting information, a request to the target device 200 to instruct execution of a connection process using the setting information.

[0040] The transmission control unit 157 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 154. For example, the transmission control unit 157 may control the transmission of the setting information only to the target device 200 that exists within a predetermined distance from the wireless communication device 100. This makes it possible to prevent the setting information from being transmitted to a target device 200 that is located far away, and therefore to prevent the setting information from being leaked to a target device 200 that is not managed by the user. Furthermore, according to the above-mentioned configuration, the setting information is transmitted to the target device 200 that is located 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.

[0041] Furthermore, the transmission control unit 157 may determine the destination of the setting information according to an instruction to select a destination from among the target devices 200 listed in the above-mentioned list displayed by the display control unit 156. In this case, the transmission control unit 157 determines the destination of the setting information according to an instruction from the user received by the input receiving unit 155. With this configuration, the user can select the destination of the setting information from the list. In other words, the user can select the target device 200 to be connected to the wireless LAN. This improves user convenience.

[0042] The transmission control unit 157 may also control the transmission of information other than the setting information. For example, the transmission control unit 157 may control the transmission of a print job generated in response to a print instruction received by the input reception unit 155 to the target device 200 using a wireless communication connection of the NW wireless communication method. In this embodiment, when the target device 200 does not participate in a wireless LAN, the wireless communication device 100 transmits setting information for connecting to the wireless LAN to the target device 200, and connects the target device 200 to the wireless LAN. Therefore, in this embodiment, regardless of whether the target device 200 has participated in a wireless LAN in advance or not, the transmission control unit 157 can transmit a print job to the target device 200 using a wireless communication connection of the NW wireless communication method. Note that the transmission control unit 157 may control the transmission of a print job generated in response to a print instruction received by the input reception unit 155 to the target device 200 using a wireless communication connection of the NAN wireless communication method. The transmission control unit 157 may also control the transmission of a print job by switching between the wireless communication connection of the NW wireless communication method and the wireless communication connection of the NAN wireless communication method according to the throughput. In particular, when the target device 200 that has received the setting information does not succeed in establishing a wireless communication connection in the NW wireless communication method, the transmission control unit 157 may control to transmit a print job to the target device 200 using a wireless communication connection in the NAN wireless communication method. With this configuration, even if the wireless communication device 100 and the target device 200 cannot communicate in the NW wireless communication method, printing can be realized.

[0043] Next, the target device 200 will be described. Fig. 3 is a block diagram showing an example of the configuration of the target device 200. As shown in Fig. 3, the target device 200 has a storage unit 210, a wireless communication unit 220, a printing unit 230, and a control unit 240. Note that the target device 200 may also have other components. For example, the target 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 target 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 target device 200. The control unit 240 may have multiple processors. The control unit 240 loads a program into memory and executes the program. As a result, in this embodiment, the control unit 240 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 target device 200 includes a communication processing unit 241 and a communication processing unit 243, and is configured to be capable of communicating using two different types of wireless communication methods. The communication processing unit 241 performs a process of performing communication using 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 target device 200 can perform two types of communication using the NAN wireless communication method: communication using a discovery window and communication performed after establishing a NAN connection. Therefore, the process performed by 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, 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.

[0049] Furthermore, the communication processing unit 241 leaves the NAN cluster when the setting information acquisition unit 242 described later acquires setting information from the wireless communication device 100. That is, when the communication processing unit 241 completes reception of the setting information, it causes the target device 200 to leave the NAN cluster to which the target device 200 belongs in order to receive the setting information by communication in the NAN wireless communication method. Note that the communication processing unit 241 may cause the target device 200 to leave the NAN cluster when the target device 200 succeeds in establishing a wireless communication connection in the NW wireless communication method. That is, the communication processing unit 241 may cause the target device 200 to leave the NAN cluster when a connection process by the communication processing unit 243 described later using the setting information received from the wireless communication device 100 is successful. In other words, the communication processing unit 241 may cause the target device 200 to leave the NAN cluster after the target device 200 succeeds in connecting to the wireless LAN (access point 300).

[0050] 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.

[0051] 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 300 received from the wireless communication device 100. When the wireless communication connection in the NW wireless communication method is successfully established, as described above, the communication processing unit 241 disconnects the NAN connection.

[0052] The connection determination unit 244 determines whether or not the target device 200 has established a wireless communication connection in the NW wireless communication system. That is, the connection determination unit 244 determines whether or not the target device 200 has succeeded in connecting to the wireless LAN (access point 300).

[0053] The print information acquisition unit 245 acquires a print job from the wireless communication device 100 using the wireless communication connection of the NW wireless communication method established by the communication processing unit 243. Note that the print information acquisition unit 245 may acquire a print job from the wireless communication device 100 using the NAN connection established by the communication processing unit 241.

[0054] 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.

[0055] Next, in this embodiment, the flow of operations of the communication system 10 for making the target device 200 participate in the wireless LAN will be described. FIG. 4 is a flowchart showing an example of the flow of operations of the communication system 10 for making the target device 200 participate in the wireless LAN in this embodiment. Note that the flowchart shown in FIG. 4 shows only one example of the operations. 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 operations 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 target device 200 has not yet established a wireless communication connection of the NW wireless communication method. Hereinafter, the flow of operations will be described with reference to FIG. 4.

[0056] Step S101 may be executed when, for example, a user starts a predetermined application software (e.g., a print application) installed in the wireless communication device 100, but the trigger of step S101 is not limited to this. In step S101, the target determination unit 152 of the wireless communication device 100 determines whether or not the target device 200 is connected to a wireless LAN (specifically, in this embodiment, a Wi-Fi (registered trademark) network). That is, the target determination unit 152 determines whether or not the target device 200 exists in the wireless LAN. Here, the description will be continued assuming that the target device 200 is not connected to the wireless LAN, but if the target device 200 is connected to the wireless LAN, the process ends. If the target device 200 is not connected to the wireless LAN, the process proceeds to step S102.

[0057] In step S102, the communication processing unit 153 of the wireless communication device 100 searches for the target device 200 by broadcasting an inquiry about the service according to the NAN standard. That is, the communication processing unit 153 searches for the target device 200 by performing communication using a discovery window. At this time, the communication processing unit 153 may search only for wireless communication devices that can provide a specific service by broadcasting an inquiry about the 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 the specific service. This makes it possible to search for only wireless communication devices that are appropriate for participating in a wireless LAN. For example, the communication processing unit 153 may search only for devices that can provide a connection service such as the target 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 153 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 153 may search only for wireless communication devices that can provide a specific service that satisfies a specific condition. For example, the communication processing unit 153 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 S103, communication processing unit 153 of wireless communication device 100 establishes a NAN connection with target device 200 searched for in step S102. In other words, communication processing unit 241 of target device 200 establishes a NAN connection with wireless communication device 100. Note that, when multiple target devices 200 are found in the search in step S102, communication processing unit 153 of wireless communication device 100 may establish a NAN connection with the multiple target devices 200.

[0059] In step S104, distance information acquisition section 154 of wireless communication device 100 acquires the distance between wireless communication device 100 and target device 200 with which the NAN connection was established in step S103.

[0060] Next, in step S105, the display control unit 156 of the wireless communication device 100 displays a user interface screen for determining the target device 200 to which the setting information is to be transmitted, on the display unit 130. Specifically, for example, the display control unit 156 displays a user interface screen 90 including a list of the target devices 200 discovered by the search in step S102, on the display unit 130, as shown in Fig. 5. That is, the display control unit 156 displays on the display unit 130 a list showing candidates for the target device 200 to which the setting information is to be transmitted.

[0061] FIG. 5 is a schematic diagram showing an example of a user interface screen 90 displayed by the display control unit 156. As shown in FIG. 5, the display control unit 156 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 156 may display the identification information (printer name) of each target device 200. Note that, in order to obtain the identification information of each target device 200, an inquiry about the identification information may be made to the target device 200 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 the target device 200, and a button 92 for canceling the transmission of the setting information held therein to the target device 200. The button 91 can also be said to be a button for instructing the target device 200 to newly participate in the wireless LAN. Also, the button 92 can also be said to be a button for canceling the target device 200 to newly participate in the wireless LAN. When a user wants to have a target device 200 newly join the wireless LAN, the user selects the target device from the target devices 200 listed in the list and presses button 91. In the example shown in FIG. 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 a target device 200 to newly join the wireless LAN, the user instructs the target device 200 to newly join the wireless LAN without selecting the target device 200. In this case, the transmission control unit 157 may transmit the setting information to all target devices 200 connected to the NAN, or may determine the target device 200 as the transmission destination based on the distance information as described above.

[0062] If the input receiving unit 155 receives an instruction from the user to connect the target device 200 to the wireless LAN (YES in step S106), that is, if the button 91 is operated, the process proceeds to step S107. If the input receiving unit 155 does not receive an instruction to connect the target device 200 to the wireless LAN (NO in step S106), that is, if the button 92 is operated, the process ends.

[0063] In step S107, the transmission control unit 157 of the wireless communication device 100 controls the transmission of 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, to the target device 200 using the NAN connection established in step S103. For example, the transmission control unit 157 controls the transmission of the setting information to the target device 200 selected by the user as the destination from among the target devices 200 listed in the list. In response to this, the setting information acquisition unit 242 of the target 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 target device 200 via the NAN connection.

[0064] Next, in step S108, the communication processing unit 243 of the target device 200 executes a process of establishing a wireless communication connection in 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. As a result, the target device 200 establishes a wireless communication connection in the NW wireless communication method, and the target device 200 joins the wireless LAN using the access point 300.

[0065] Next, in step S109, the communication processing unit 241 of the target device 200 and the communication processing unit 153 of the wireless communication device 100 execute withdrawal from the NAN cluster. Note that withdrawal from the NAN cluster may be executed by only one of the target device 200 and the wireless communication device 100.

[0066] In the above-described flowchart, the distance information is acquired after step S103, but it may be acquired before step S103. In this case, the communication processing unit 153 may use the distance information to limit the party with which the NAN connection is established. That is, for example, the communication processing unit 153 may establish a NAN connection with a target device 200 whose distance is equal to or less than a predetermined threshold.

[0067] Fig. 6 is a schematic diagram showing transition of the connection state of each device in the communication system 10. As shown in Fig. 6, in step S103 described above, the wireless communication device 100 and the target device 200 establish a NAN connection L1. Then, in step S108, the target device 200 establishes a wireless communication connection L2 of the NW wireless communication method. After that, in step S109, the NAN connection L1 is disconnected, and the wireless communication device 100 and the target device 200 leave the NAN cluster.

[0068] According to the above-described embodiment, when the wireless communication device 100 and the target device 200 are not in the same network, setting information for connecting to the network is transmitted from the wireless communication device 100 to the target device 200, and the target device 200 joins the network using this setting information. Therefore, even if the target device 200 is not already in the network, the functions of the target device 200 can be used.

[0069] Although the embodiment has been described above, the present invention is not limited to the above embodiment, and can be appropriately modified within the scope of the present invention. For example, in the above embodiment, the setting information is transmitted by communication using a NAN connection, but the setting information may be transmitted by communication using a discovery window. Specifically, the transmission control unit 157 of the wireless communication device 100 may transmit a service discovery frame including setting information for participating in a network by communication using a discovery window. Here, the service discovery frame including the setting information may be transmitted as any one of a Publish message, a Subscribe message, and a Follow up message defined in the NAN standard. Note that, when the setting information is transmitted by communication using a discovery window, the wireless communication device 100 does not need to establish a NAN connection with the target device 200. In this way, the setting information only needs to be transmitted by communication using the NAN wireless communication method, and is not limited to transmission by communication performed after establishing a NAN connection or transmission by communication using a discovery window. That is, the transmission control unit 157 of the wireless communication device 100 may perform control so as to transmit setting information for joining the network to at least one target device 200 using communication in the NAN wireless communication system.

[0070] 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.

[0071] A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes. (Appendix 1) a first communication processing unit that performs processing for executing communication in a first wireless communication system; a target determination unit that determines whether or not a target device that is capable of providing a specific service exists in a network accessible through communication in the first wireless communication system; a second communication processing unit that performs processing for performing communication with at least one of the target devices using a second wireless communication method that is a communication method conforming to a Neighbor Awareness Network (NAN) standard and different from the first wireless communication method when the target device does not exist on the network; a transmission control unit that controls the transmission of setting information for joining the network to the at least one target device by using communication in the second wireless communication system; A wireless communication device having the above configuration. (Appendix 2) When the transmission of the setting information is completed, the second communication processing unit causes the wireless communication device to leave a NAN cluster for communication in the second wireless communication method. 2. The wireless communication device of claim 1. (Appendix 3) The second communication processing unit, when the target device that has received the setting information joins the network, causes the wireless communication device to leave a NAN cluster for communication in the second wireless communication method. 2. The wireless communication device of claim 1. (Appendix 4) The second communication processing unit searches for the target device capable of providing the specific service by broadcasting an inquiry about the service according to the NAN standard. 4. A wireless communication device according to any one of claims 1 to 3. (Appendix 5) a distance information acquisition unit that acquires distance information indicating a distance from the wireless communication device to each of the at least one target device, the distance information being measured according to the NAN standard; 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 target 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 target 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 to each of the at least one target device, the distance information being measured according to the NAN standard; The display control unit controls to further display the distance information of each of the at least one target device in the list. 7. The wireless communication device of claim 6. (Appendix 8) performing a process of performing communication in a first wireless communication system; determining whether or not a target device capable of providing a specific service is present in a network accessible through communication in the first wireless communication system; When the target device is not present on the network, a process is performed to execute communication with at least one of the target devices using a second wireless communication method that is a communication method according to the NAN standard and different from the first wireless communication method; and controlling the transmission of setting information for joining the network to the at least one target device using communication of the second wireless communication system. A method for controlling a wireless communication device. (Appendix 9) a first communication processing step of performing processing for executing communication in a first wireless communication system; a target determination step of determining whether or not a target device that is a device capable of providing a specific service exists in a network accessible through communication in the first wireless communication system; a second communication processing step of performing processing for performing communication with at least one of the target devices using a second wireless communication method that is a communication method according to the NAN standard and different from the first wireless communication method when the target device does not exist on the network; a transmission control step of controlling the transmission of setting information for joining the network to the at least one target device by using communication in the second wireless communication system; A program that causes a computer to execute the following. [Explanation of symbols]

[0072] 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...target determination unit, 153...communication processing unit, 154...distance information acquisition unit, 155...input acceptance unit, 156...display control unit, 157...transmission control unit, 200...target 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...printing information acquisition unit, 246...printing processing unit, 300...access point

Claims

1. a first communication processing unit that performs processing for executing communication in a first wireless communication system; a target determination unit that determines whether or not a target device that is capable of providing a specific service exists in a network accessible through communication in the first wireless communication system; a second communication processing unit that performs processing for performing communication with at least one of the target devices using a second wireless communication method that is a communication method conforming to a Neighbor Awareness Network (NAN) standard and is different from the first wireless communication method when the target device does not exist on the network; a transmission control unit that controls the transmission of setting information for joining the network to the at least one target device by using communication in the second wireless communication system; A wireless communication device having the above configuration.

2. When the transmission of the setting information is completed, the second communication processing unit causes the wireless communication device to leave a NAN cluster for communication of the second wireless communication method. The wireless communication device of claim 1 .

3. The second communication processing unit causes the wireless communication device to leave a NAN cluster for communication in the second wireless communication method when the target device that has received the setting information joins the network. The wireless communication device of claim 1 .

4. The second communication processing unit searches for the target device capable of providing the specific service by broadcasting an inquiry about the service according to the NAN standard. A wireless communication device according to any one of claims 1 to 3.

5. a distance information acquisition unit that acquires distance information indicating a distance from the wireless communication device to each of the at least one target device, the distance information being measured in accordance with the NAN standard; 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 target 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 target 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 to each of the at least one target device, the distance information being measured in accordance with the NAN standard; The display control unit controls to further display the distance information of each of the at least one target device in the list.

7. The wireless communication device according to claim 6.

8. performing a process of performing communication in a first wireless communication system; determining whether or not a target device capable of providing a specific service is present in a network accessible through communication in the first wireless communication system; When the target device is not present on the network, a process is performed to execute communication with at least one of the target devices using a second wireless communication method that is a communication method according to the NAN standard and different from the first wireless communication method; and controlling the transmission of setting information for joining the network to the at least one target device using communication of the second wireless communication method. A method for controlling a wireless communication device.

9. a first communication processing step of performing processing for executing communication in a first wireless communication system; a target determination step of determining whether or not a target device that is capable of providing a specific service exists in a network accessible through communication in the first wireless communication system; a second communication processing step of performing processing for performing communication with at least one of the target devices using a second wireless communication method that is a communication method according to the NAN standard and different from the first wireless communication method when the target device does not exist on the network; a transmission control step of controlling the transmission of setting information for joining the network to the at least one target device by using communication of the second wireless communication system; A program that causes a computer to execute the following.

Citation Information

Patent Citations

  • Communication apparatus and control method therefor, and program

    JP2018019146A

Cited By

  • Wireless communication device, wireless communication system, wireless communication method, and program

    WO2026105180A1