COMMUNICATION DEVICE, CONTROL METHOD AND PROGRAM FOR COMMUNICATION DEVICE

The communication device employs a standby, search, and acquisition mechanism to obtain network information from other devices, addressing the challenge of establishing connections without recognized network information, thereby enabling successful connections.

JP7596331B2Active Publication Date: 2024-12-09CANON KK
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2022092798
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2022-06-08
Publication Date
2024-12-09
Estimated Expiration
2042-06-08

AI Technical Summary

Technical Problem

Existing communication devices face challenges in establishing connections when there is no communication device that recognizes the network information of the partner device.

Method used

The communication device includes a standby means for waiting on a connection to a first network, a search means for a second network, a control means for controlling the execution of these processes, and acquisition means for obtaining connection information from other devices, allowing it to connect to the destination even if no device recognizes the network information.

Benefits of technology

Enables the acquisition of network information of a connection destination when no communication device recognizes the network information, facilitating successful connections.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007596331000001
    Figure 0007596331000001
  • Figure 0007596331000002
    Figure 0007596331000002
  • Figure 0007596331000003
    Figure 0007596331000003
Patent Text Reader

Abstract

To appropriately obtain network information of a connection destination when there is not any communication device that recognizes the network information for the communication device to connect to a partner device.SOLUTION: A communication device obtains connection information from a first other communication device when the first other communication device connects to a first network constructed by the communication device, obtains connection information from a second other communication device when the communication device connects to a second network constructed by the second other communication device, connects to a connection destination indicated by the connection information obtained in the first network or the second network, and starts searching for the second network based on the fact that a predetermined period of time has elapsed without connection from the first other communication device after the communication device builds the first network.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication device that performs wireless communication. [Background technology]

[0002] There are known communication devices, such as printers, that communicate with terminal devices, such as personal computers (PCs) and smartphones. Such communication devices execute a connection setting process for communicating with the terminal devices by a predetermined communication method, such as Wi-Fi.

[0003] Patent document 1 discloses that in order for a first communication device to establish a connection with a second communication device, information about a network constructed by the second communication device is obtained from another communication device that has established a connection with the second communication device. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] Patent No. 6242241 Summary of the Invention [Problem to be solved by the invention]

[0005] In the above connection method, in order for a first communication device to establish a connection with a second communication device, it is necessary for there to be a communication device that recognizes information about the network that the second communication device establishes. However, for example, if there is no communication device that recognizes information about the network of a device to which a connection is to be established, the first communication device may not be able to obtain information for connecting to the device.

[0006] SUMMARY OF THE PRESENT DISCLOSURE In view of the above, an object of the present invention is to appropriately acquire destination network information when there is no communication device that recognizes information about a network for a communication device to connect to a partner device. [Means for solving the problem]

[0009] In order to solve the above problems, The communication device of the present invention comprises: A communication device, comprising: a waiting means for waiting for a connection from another communication device to a first network for a predetermined setup established by the communication device; a searching means for searching for a second network for a predetermined setup established by the other communication device; and a control means for controlling the waiting for a connection from the other communication device to the first network by the waiting means and the searching for the second network by the searching means to be executed in parallel; The above No. When a first other communication device is connected to the first network, The above a first acquiring means for acquiring connection information from a first other communication device; and a second other communication device acting as a Group Owner. By construction was done a second acquisition means for acquiring connection information from the second other communication device when the communication device is connected to a second network; a disconnection means for disconnecting the connection with the first other communication device or the connection with the second other communication device when the communication device acquires the connection information; The above A connection means for connecting to a destination indicated by the connection information; of Yes. Effect of the Invention

[0010] According to the present invention, when there is no communication device that recognizes information about a network for a communication device to connect to a partner device, it is possible to appropriately obtain information about a network to which the communication device is to connect. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a diagram showing a network configuration in the present embodiment. [Diagram 2] FIG. 2 is a diagram illustrating a hardware configuration of a communication device 101. [Diagram 3] 4 is a flowchart showing a process executed by the communication device 101 of the first embodiment. [Figure 4] FIG. 2 is a sequence diagram according to the first embodiment. [Diagram 5] 11 is a flowchart showing a process executed by the communication device 101 of the second embodiment. [Figure 6] FIG. 11 is a sequence diagram according to the second embodiment. [Figure 7]13 is a flowchart showing a process executed by the communication device 101 of the third embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Note that the configurations shown in the following embodiments are merely examples, and the present invention is not limited to the configurations shown in the drawings.

[0013] Fig. 1 shows a network configuration according to this embodiment. In Fig. 1, a communication device 104 is an AP (Access Point) that has a role of constructing a communication network, and a communication device 101 is an STA (Station) that participates in and communicates with the communication network constructed by the AP.

[0014] The communication device 102 is a personal computer (hereinafter referred to as a PC), the communication device 103 is a smart device, and the communication device 104 is a wide area network (hereinafter referred to as a WAN). The communication device 103 has an AGO (Autonomous Group Owner) function, and is, for example, a tablet having a structure in which a PC or a smartphone is integrated with a Wi-Fi router.

[0015] The network constructed by the communication device 104 is connected to the WAN 141 with the communication device 104 serving as a gateway.

[0016] The communication device 101 has multiple STA functions, and can establish a connection with an AP using a first STA function to perform communication, and can also establish a connection with a GO using a client function of the Wi-Fi Direct standard using a second STA function to perform communication. Here, GO is an abbreviation for Group Owner.

[0017] The communication device 101 also has a cableless setup mode. The cableless setup mode is a dedicated mode that allows wireless settings for wireless infrastructure communication. In the cableless setup mode, the communication device 101 is started in a soft AP mode and operates as a parent station. The soft AP started at this timing is a parent station for the cableless setup mode. This allows an external communication device such as a personal computer, smartphone, or tablet to connect to the communication device 101 as a client (child device) and communicate with it. In the cableless setup mode, the soft AP mode is not necessarily used, and Wi-Fi Direct mode is used instead of the soft AP mode. However, when Wi-Fi Direct is used, it is necessary to include a randomly generated character string in the SSID, which is a network identifier. The communication device 101 is configured to be easily connected to the communication device 101 by a dedicated LAN setting application that runs on an external device such as a personal computer, smartphone, or tablet. The communication device 101 is configured to be sent information required for connection to the STA 101 without the user having to know the details of the setting contents by the dedicated LAN setting application.

[0018] 2 shows a hardware configuration of the STA 101. The STA 101 includes a power supply unit 201, an input unit 202, an output unit 203, a wireless interface unit 204 (hereinafter, wireless I / F unit), a wireless I / F unit 205, a control unit 206, a storage unit 207, and antennas 208 and 209.

[0019] A power supply unit 201 supplies power to each piece of hardware. The power supply unit 201 obtains power from, for example, an AC power source or a battery.

[0020] The input unit 202 receives various operations from the user, and includes, for example, buttons.

[0021] The output unit 203 performs various outputs to the user. Here, the output by the output unit 203 includes, for example, display on an LED or a screen, audio output by a speaker, vibration output, and the like. Note that both the input unit 202 and the output unit 203 may be realized by one module, like a touch panel. Also, the input unit 202 and the notification unit 203 may be integrated with the STA 101, or may be separate from it.

[0022] The wireless I / F unit 204 and the wireless I / F unit 205 perform wireless LAN control compatible with the IEEE802.11 standard and the Wi-Fi standard, and transmit and receive radio waves. The wireless I / F unit 204 and the wireless I / F unit 205 can selectively operate the STA function, the AP function, and the CL function. The STA 101 is configured so that two wireless I / F units can operate in parallel, and can connect to up to two wireless communication devices operating the AP or GO function. In this embodiment, the STA 101 has a first STA function and a second STA function, so two wireless I / F units are provided, but the number of wireless I / F units is not limited to this.

[0023] The control unit 206 is configured with, for example, a processor such as a CPU or MPU, an ASIC, a DSP, an FPGA, etc. CPU is an abbreviation for Central Processing Unit, MPU is an abbreviation for Micro Processing Unit, and ASIC is an abbreviation for Application Specific integrated Circuit. DSP is an abbreviation for Digital Signal Processor, and FPGA is an abbreviation for Field Programmable Gate Array.

[0024] The control unit 206 controls the AP and the STA as a whole by executing a program stored in the storage unit 207. Note that the control unit 206 may control the AP and the STA as a whole in cooperation with the program stored in the storage unit 207 and an OS (Operating System).

[0025] The storage unit 207 is configured with memories such as ROM and RAM, and stores programs for performing various processes described below and various information. ROM is an abbreviation for Read Only Memory, and RAM is an abbreviation for Random Access Memory. Note that, in addition to memories such as ROM and RAM, storage media such as flexible disks, hard disks, optical disks, magneto-optical disks, CD-ROMs, CD-Rs, magnetic tapes, non-volatile memory cards, and DVDs may be used as the storage unit 208. The storage unit may also include multiple memories.

[0026] Antennas 208 and 209 are antennas capable of communication in the 2.4 GHz band, the 5 GHz band, and the 6 GHz band. In this embodiment, STA 101 has two antennas, but is not limited to this. Alternatively, STA 101 may have a different antenna for each frequency band. Furthermore, when STA 101 has multiple antennas, it may have a wireless I / F unit corresponding to each antenna.

[0027] <Embodiment 1> In this embodiment, an example is shown in which the AP function and CL function (or STA function) of the STA 101 are sequentially activated during cableless setup, so that the STA 101 receives information necessary to establish a connection with a partner device. The AP function activated here is a parent station for the cableless setup mode.

[0028] FIG. 3 is a flowchart showing the flow of processing carried out by the control unit 206 executing a program stored in the storage unit 207 of the STA 101.

[0029] This flowchart starts when the user operates the input unit 202 to select a connection destination setting menu.

[0030] When the process starts, it is determined whether or not to attempt cableless setup process (S301). In S301, a predetermined number of attempts are made until the setup is completed.

[0031] If the predetermined number of times has not been reached and cableless setup processing is to be attempted, the AP function is activated (S302). In S302, the AP function of the STA 101 is activated to form a cableless setup network with a predetermined SSID for configuration so that the STA can receive AP or GO information of the remote device to which the connection is to be made from the STA. Here, SSID stands for Service Set Identifier. The STA waits for a certain period of time for the STA to connect to the cableless setup network formed in S302 for obtaining information on the remote device to which the connection is to be made (S303).

[0032] Next, the STA 101 checks whether a connection has been established with the STA 103 in the network for cableless setup (S304). If it is checked in S304 that a connection has been established with the STA 103, the STA 101 obtains information on the AP or GO to be connected from the STA 103 (S305). Here, the information on the connection destination obtained in S305 is the SSID and password of the AP or GO.

[0033] When the destination information is acquired in S305, the AP function for constructing a network for cableless setup is stopped (S306), and the STA function is started to connect to the destination AP or GO (S307). If it can be determined that the destination is a GO from the SSID, etc., of the destination information acquired in S305, the CL function may be started instead of the STA function to connect to the destination. When the STA function is started in S307, the destination information received from STA103 is set in the STA function, and an attempt is made to connect to the destination (S308).

[0034] Next, it is determined whether or not a connection to the destination has been established (S309), and if it is determined in S309 that a connection has been established, this flow chart is terminated. If it is determined in S309 that a connection has not been established, an error message is displayed indicating that the settings have not been completed (S310), and this flow chart is terminated.

[0035] On the other hand, if a timeout occurs without establishing a connection after a certain period of time in S304, the AP function is stopped (S311) and the CL function is started (S312). Next, a search is performed to see if another device has formed a network for cableless setup as the GO with a specified SSID for cableless setup (S313). Next, a check is performed to see if a network for cableless setup formed by another device with the GO has been found (S314). If a network for cableless setup has been found in S314, the device connects to the network for cableless setup formed by the GO (S315), and obtains information about the GO to which the device is to be connected from the GO (S316).

[0036] When the connection destination network information is acquired in S316, the connected network for cableless setup is disconnected (S317), the CL function is stopped (S318), and the process proceeds to S307.

[0037] If a timeout occurs because the network for cableless setup formed by another device at GO cannot be found in S314, a decision is made in S301 as to whether or not to retry, and then in S302 the AP function is started again to perform the above-mentioned processing.

[0038] In the present embodiment, an example has been shown in which the AP function is started first during cableless setup, and the STA function is started if the destination network information cannot be received, but this is not limiting. For example, the STA function may be started first, and if the network information cannot be received, the AP function may be started.

[0039] According to this embodiment, by sequentially activating the AP function and the CL function during cableless setup, it becomes possible to obtain network information of the connection destination even if there is no communication device that recognizes the network information for connecting to the other device.

[0040] Fig. 4 shows an example of an operation sequence for the STA 101 of this embodiment to receive information on a destination network. Fig. 4 shows a sequence when the STA 101 cannot connect to a setting STA in the network for cableless setup that was established by the STA 101 in S304 of Fig. 3.

[0041] In response to a user operation, the STA 101 activates the AP function and forms a network for cableless setup with the SSID PrinterSetup (S401). In response to a user operation, the STA 103 forms a network for cableless setup with the SSID DIRECT-PrinterSetup (S402).

[0042] The STA101 waits for a connection of a STA in the network for cableless setup for a certain period of time, and since a connection with another device in the network for cableless setup has not been established, the STA101 stops the AP function (S403) and starts the CL function (S404). When the CL function is started in S404, the STA101 searches whether a GO has formed a network for cableless setup, and when the STA101 finds a network for cableless setup, it connects to the network (S405). The STA101 acquires information on the network with SSID DIRECT-SmartDevice from the STA103 (S406). After acquiring the information on the connection destination, the STA101 disconnects the network with SSID DIRECT-PrinterSetup (S407) and stops the CL function (S408). The STA103 stops the GO that has formed the network for cableless setup, and terminates the network for cableless setup (S409). The STA101 starts the STA function to connect to the connection destination (S410). The STA 103 starts up the GO to establish a connection, and forms a network with the SSID DIRECT-SmartDevice (S411). The STA 101 sets the acquired connection destination information, and connects to the network with the SSID DIRECT-SmartDevice (S412).

[0043] In this embodiment, the AP function and the CL function are started in this order in S302 and S312, but the CL function and the AP function may be started in this order to receive information on the connection destination.

[0044] <Embodiment 2> In the first embodiment, an example was shown in which the AP function and CL function of the STA 101 are successively started during cableless setup to receive destination network information. In this embodiment, the AP function and CL function (or STA function) are started in parallel to receive destination information and perform settings. The AP function started here is a parent station for the cableless setup mode.

[0045] FIG. 5 is a flowchart showing a flow of processing performed by the control unit 206 executing a program stored in the storage unit 207 of the STA 101. This flowchart is started when the user operates the input unit 202 to select a connection destination setting menu. When the processing is started, the AP function is started to form a network for cableless setup (S501). In S501, a network for cableless setup with a predetermined SSID for cableless setup is formed by the AP function so that information on the AP or GO to be connected to can be received from the STA. Furthermore, the system waits for a certain period of time for the STA to connect to the network (S502). Next, the CL function is started (S503). In S503, the CL function is started in parallel with the AP function. When the CL function is started in S503, a search is performed to see if another device has formed a network for cableless setup as a GO (S504).

[0046] Next, it is confirmed whether the STA has connected to the network for cableless setup or whether a network for cableless setup formed by another device with the GO has been found (S505). If it is confirmed that the STA has connected to the network for cableless setup, the CL function is stopped (S506) and information on the AP or GO to be connected to is obtained from the STA (S507). Here, the information on the connection destination in S507 is the SSID and password of the AP or GO. When the information on the connection destination is obtained in S504, the AP function is stopped (S508) and the STA function is started to connect to the AP or GO to be connected to (S509). Note that if it can be determined that the connection destination is a GO from the SSID, etc. of the information on the connection destination obtained in S507, the CL function may be started instead of the STA function to connect to the connection destination.

[0047] When the STA function is started in S509, the information of the connection destination received from the STA in S507 is set in the STA function, and an attempt is made to connect to the connection destination (S510). Next, it is determined whether or not a connection to the connection destination has been established (S511). If it is determined in S511 that a connection has been established, this flowchart ends. If it is determined in S511 that a connection has not been established, an error message is displayed indicating that the setting has not been completed (S512), and this flowchart ends.

[0048] On the other hand, if a network for cableless setup formed by another device is found in S505, the AP function is stopped (S513), and the device connects to the network for cableless setup formed by the GO (S514), and obtains information about the GO to which the device is to be connected from the GO (S515).

[0049] Next, the connected network for cableless setup is disconnected (S516), the CL function is stopped (S517), and the process proceeds to S509.

[0050] In addition, in S505, if the STA does not connect to the network for cableless setup even after a certain period of time has elapsed, and if the network for cableless setup formed by the GO of another device cannot be found, an error is displayed (S512). After the error is displayed in S512, this flowchart ends.

[0051] According to this embodiment, by activating the AP function and the CL function in parallel during cableless setup, it becomes possible to obtain the network information for connecting to the other device even if there is no communication device that recognizes the network information.

[0052] 6 shows an example of an operation sequence for the STA 101 of this embodiment to receive information about a network to which the STA 101 is to connect. FIG 6 shows a sequence in the case where a network for cableless setup is found in S505 of FIG 5.

[0053] In response to a user operation, the STA 101 activates the AP function and forms a network for cableless setup with the SSID PrinterSetup (S601). In response to a user operation, the STA 103 forms a network for cableless setup with the SSID DIRECT-PrinterSetup (S602). Furthermore, the STA 101 activates the CL function in parallel with activating the AP function (S603).

[0054] The STA101 searches for whether the GO of another device has formed a network for cableless setup using the CL function. If the network for cableless setup is found, the STA101 stops the AP function (S604) and connects to the STA103 that has formed the network for cableless setup (S605). The STA101 acquires information on the network with SSID DIRECT-SmartDevice from the STA103 (S606). After acquiring the connection destination information in S606, the STA101 disconnects the network with SSID DIRECT-PrinterSetup, which is the network for cableless setup (S607), and stops the CL function (S608). When the CL function is stopped by the STA101 in S608, the STA103 stops the GO that has formed the network for cableless setup, and terminates the network for cableless setup (S609). The STA101 starts the STA function to connect to the destination device (S610). STA103 starts GO to establish a connection with STA101, and forms a network with SSID DIRECT-SmartDevice (S611). STA101 sets the acquired connection destination information and connects to the network with SSID DIRECT-SmartDevice (S612).

[0055] <Embodiment 3> In the second embodiment, an example is shown in which the STA 101 acquires destination network information by activating the AP function and the CL function in parallel during cableless setup. In the present embodiment, if a connection is not established in two or more interfaces of the STA 101 during cableless setup, the AP function and the CL function are activated in parallel. Also, if there are not two or more interfaces in a state in which a connection is not established, an example is shown in which the AP function and the CL function are activated in sequence to receive destination information.

[0056] 7 is a flowchart showing a flow of processing performed by the control unit 206 executing a program stored in the storage unit 207 of the STA 101. This flowchart starts when the user operates the input unit 202 to select a connection destination setting menu. When the processing starts, the first wireless I / F unit, i.e., the wireless I / F unit 204, determines whether or not a connection with the connection destination has been established (S701).

[0057] If it is determined in S701 that the connection is not established, the second wireless I / F unit, i.e., the wireless I / F unit 205, determines whether or not the connection with the destination is established (S702). If it is determined in S702 that the connection is not established, the STA 101 has two or more available interfaces. Therefore, the setting process shown in the second embodiment is performed to obtain information on the destination network using multiple interfaces (S703), and this flowchart ends. In S703, the wireless I / F units 204 and 205 start the AP function and the CL function in parallel, respectively, so that the destination information can be obtained from the STA or GO in the cableless setup network.

[0058] On the other hand, if it is determined in S702 that the connection has been established, the setting process shown in the first embodiment is performed (S704), and the process ends. In S704, the AP function and the CL function are successively activated in the wireless I / F unit 204, so that information on the connection destination can be obtained from the STA or GO.

[0059] If it is determined in S701 that a connection has been established, the wireless I / F unit 205 determines whether or not a connection has been established with the destination (S705). If it is determined in S705 that a connection has not been established, the STA 101 has one available interface. Therefore, the setting process shown in the first embodiment is performed to obtain information on the destination network using one interface (S706), and this flowchart ends. In S706, the wireless I / F unit 205 sequentially starts the AP function and the CL function so that information on the destination can be obtained from the STA or GO. If it is determined in S705 that a connection has been established, an error message is displayed indicating that the setting has not been completed (S707), and this flowchart ends.

[0060] According to this embodiment, by starting the AP function and the CL function sequentially or in parallel based on the connection status of the interfaces of a communication device having multiple interfaces, it becomes possible to obtain network information for connecting to a remote device.

[0061] In the first to third embodiments, the CL function is activated to obtain information on the connection destination from the GO that has formed the network for cableless setup, but this is not limiting. For example, instead of activating the CL function, the STA function may be activated to obtain information on the connection destination from the AP that has formed the network for cableless setup.

[0062] The STA 103 described in this embodiment may be a printer having a printing means. When operating as a printer, for example, it is possible to print data acquired by communicating with a partner device.

[0063] Furthermore, the STA 103 described in this embodiment may be a camera having an image capturing means. When operating as a camera, it is possible to transmit captured image data by communicating with a partner device, for example.

[0064] A recording medium on which the program code of the software for realizing the above-mentioned functions is recorded may be supplied to the system or device, and the computer (CPU, MPU) of the system or device may read and execute the program code stored in the recording medium. In this case, the program code itself read from the storage medium will realize the functions of the above-mentioned embodiments, and the storage medium on which the program code is stored will constitute the above-mentioned device.

[0065] Examples of storage media for supplying the program code include flexible disks, hard disks, optical disks, magneto-optical disks, CD-ROMs, CD-Rs, magnetic tapes, non-volatile memory cards, ROMs, and DVDs.

[0066] In addition, the above-mentioned functions may be realized not only by the computer executing the read program code, but also by the OS running on the computer performing all or part of the actual processing based on the instructions of the program code. OS is an abbreviation for Operating System.

[0067] Furthermore, the program code read from the storage medium may be written to a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, and a CPU provided in the function expansion board or function expansion unit may perform part or all of the actual processing based on instructions in the program code to realize the above-mentioned functions.

[0068] The present invention can also be realized by a process in which a program for implementing one or more of the functions of the above-described embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in a computer of the system or device read and execute the program. The present invention can also be realized by a circuit (e.g., ASIC) that implements one or more of the functions.

[0069] The disclosure of this embodiment includes the following configuration.

[0070] (Configuration 1) A communication device comprising: a first acquisition means for acquiring connection information from a first other communication device when a first other communication device connects to a first network constructed by the communication device; a second acquisition means for acquiring connection information from a second other communication device when the communication device connects to a second network constructed by a second other communication device; a connection means for connecting to a connection destination indicated by the connection information acquired by the first acquisition means or the second acquisition means; and a control means for starting a search for the second network based on the elapse of a predetermined time after the communication device constructs the first network without the first other communication device connecting.

[0071] (Configuration 2) A communication device comprising: a first acquisition means for acquiring connection information from a first other communication device when a first other communication device connects to a first network constructed by the communication device; a second acquisition means for acquiring connection information from a second other communication device when the communication device connects to a second network constructed by the second other communication device; a connection means for connecting to a connection destination indicated by the connection information acquired by the first acquisition means or the second acquisition means; and a control means for constructing the first network based on the fact that a predetermined time has elapsed after the communication device starts searching for the second network without discovering the second network.

[0072] (Configuration 3) a first acquisition means for acquiring connection information from a first other communication device when a first other communication device connects to a first network constructed by the communication device; a second acquisition means for acquiring connection information from a second other communication device when the communication device connects to a second network constructed by the second other communication device; a connection means for connecting to a connection destination indicated by the connection information acquired by the first acquisition means or the second acquisition means; and a control means for executing construction of the first network and a search for the second network in parallel based on receiving a predetermined instruction for connecting the communication device to the connection destination.

[0073] (Configuration 4) The communication device according to any one of configurations 1 to 3, wherein the information is an SSID (Service Set ID).

[0074] (Configuration 5) 5. The communication device according to any one of configurations 1 to 4, wherein the communication device is a printer having a printing means.

[0075] (Configuration 6) A program for causing a computer to function as each of the means of the communication device according to any one of configurations 1 to 5. [Explanation of symbols]

[0076] 201 Power supply section 202 Input section 203 Output section 204 Wireless I / F section 205 Wireless I / F section 206 Control Unit 207 Memory section 208 Antenna

Claims

1. 1. A communication device, comprising: a waiting means for waiting for a connection from another communication device to a first network for a predetermined setup established by the communication device; a searching means for searching a second network for a given setup established by another communication device; a control means for controlling the waiting means to wait for a connection from another communication device to the first network and the searching means to search for the second network in parallel; a first acquiring means for acquiring connection information from a first other communication device when the first other communication device is connected to the first network; a second acquisition means for acquiring connection information from a second other communication device when the communication device is connected to a second network established by the second other communication device acting as a group owner; a disconnection means for disconnecting the connection with the first other communication device or the connection with the second other communication device when the communication device acquires the connection information; a connection means for connecting to a connection destination indicated by the connection information acquired by the first acquisition means or the second acquisition means; A communication device comprising:

2. The connection information is an SSID (Service Set Identifier).

2. The communication device according to claim 1 .

3. The character string of the SSID of the first network includes at least a character string of PrinterSetup, and the character string of the SSID of the second network includes at least a character string of DIRECT-PrinterSetup.

3. The communication device according to claim 2.

4. The predetermined setup is a wireless setting of a wireless infrastructure communication, and the first network and the second network are networks for performing the wireless setting of the wireless infrastructure communication.

4. A communication device according to claim 1, wherein the communication device is a communication device having a plurality of communication ports.

5. The communication device further comprises a receiving means for receiving a user instruction for executing a predetermined setup, The control means controls the waiting means to wait for a connection from another communication device to the first network and the searching means to search for the second network based on the user instruction.

5. A communication device according to claim 1, wherein the communication device is a communication device having a plurality of communication ports.

6. The communication device is a printer having a printing means.

6. A communication device according to claim 1, wherein the communication device is a communication device having a plurality of communication ports.

7. The communication device is a camera having an imaging means.

7. A communication device according to any one of the preceding claims.

8. A method for controlling a communication device, comprising: a waiting step of waiting for a connection from another communication device to a first network for a given setup established by the communication device; a searching step of searching for a second network for a given setup established by another communication device; a control step of controlling the waiting step of waiting for a connection from another communication device to the first network and the searching step of searching for the second network to be executed in parallel; a first acquisition step of acquiring connection information from a first other communication device when the first other communication device is connected to the first network; a second acquisition step of acquiring connection information from a second other communication device when the communication device is connected to a second network established by the second other communication device operating as a group owner; a disconnection step of disconnecting the connection between the communication device and the first other communication device or the second other communication device when the communication device acquires the connection information; a connection step of connecting to a destination indicated by the connection information acquired in the first acquisition step or the second acquisition step; 13. A method for controlling a communication device, comprising:

9. A program for causing a computer to function as the communication device control method according to claim 8.

Citation Information

Patent Citations

  • Debug control system

    JP1987042241A

  • Radio communication apparatus and radio communication apparatus control method

    JP2016174295A

  • Communication apparatus, control method thereof, and program

    JP2018056829A

  • Reactive power compensator

    JP2019009888A

  • Home appliance system and home appliance

    JP2021040176A