Communication device and program
The communication device dynamically switches between 5GHz and 2.4GHz frequency bands to address frequency restrictions, ensuring seamless operation and compliance in multiple communication modes, enhancing connectivity and compliance.
Patent Information
- Application Number
- JP2023107220
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2023-06-29
- Publication Date
- 2024-12-16
- Estimated Expiration
- 2037-08-10
AI Technical Summary
Existing wireless communication devices face limitations in using multiple communication modes due to restrictions on frequency bands, particularly when operating in both 5GHz and 2.4GHz bands, which can lead to interference and reduced connectivity.
A communication device capable of switching between 5GHz and 2.4GHz frequency bands based on the activation state and mode of operation, using a control mechanism to avoid channels with DFS restrictions and ensure appropriate frequency settings for both wireless infrastructure and P2P modes.
Enables simultaneous and efficient operation of multiple wireless communication modes without interference, ensuring optimal connectivity and compliance with regulatory frequency bands.
Smart Images

Figure 0007600316000001 
Figure 0007600316000002 
Figure 0007600316000003
Abstract
Description
[Technical field]
[0001] The present invention relates to a communication device, a control method thereof, and a program. [Background technology]
[0002] In recent years, mobile information terminals such as smartphones and tablets have become widespread. To connect these information terminals to the Internet, users need to connect the information terminals to a line provided by a telecommunications carrier, either wired or wirelessly. Mobile communications such as 3G / LTE provided by telecommunications carriers and wireless LAN are often used as access lines to connect to the Internet. In particular, wireless LAN uses either the 2.4 GHz or 5 GHz frequency band. 2.4 GHz has been supported by many devices since wireless LAN first began to spread, but 5 GHz was initially supported by few devices.
[0003] However, problems with 2.4GHz, such as slower communication speeds due to radio interference with other devices such as microwave ovens and security cameras, have been pointed out. Nowadays, when there are more opportunities to send and receive large amounts of data, including videos, 5GHz communication, which has less radio interference with other devices and allows faster communication than 2.4GHz, has become mainstream. Therefore, wireless LAN devices released in recent years, such as access points, smartphones, and tablet devices, support not only the 2.4GHz band but also the 5GHz band as standard. In particular, access points can independently form multiple networks using different frequencies in the 2.4GHz band and the 5GHz band. Therefore, it is possible to connect to networks that correspond to the frequency bands supported by smartphones and tablet devices. Even when communication spans between network devices with different frequencies, the access point bridges the communication (between frequencies), ensuring sufficient communication connectivity between devices.
[0004] In addition, when using the 5 GHz band, attention should be paid to DFS (Dynamic Frequency Selection). The 5 GHz band overlaps with the band used by weather radars and the like. Therefore, when a wireless base station and a device such as a printer are operated as an access point (GroupOwner of Wi-Fi Direct (registered trademark), or soft AP) for P2P communication, the access point must always monitor interference waves of the channel being used so that the wireless infrastructure communication does not affect the weather radar. Note that a soft AP is a function that uses a wireless chip built into a device such as a printer or a personal computer to play the role of an access point in software. Also, wireless infrastructure communication is wireless communication in infrastructure mode. Therefore, if interference waves are detected, it is necessary to quickly switch to another available channel. Patent Document 1 discloses a technology that automatically changes to an available channel when a wireless base station detects radio waves from various radars such as weather radars in wireless communication in the 5 GHz band and communication has to be interrupted for a certain period of time. This technology is DFS. In addition to DFS, there is also a function to avoid radio interference called TPC (Transmit Power Control), so caution is also required. The 5GHz bands that can be used include W52, W53, W56, W58, etc., and the bands that can be used are regulated by law depending on the country or region. Of these, the bands in which DFS is implemented are W53 and W56. For example, in Japan, W52 (5.2GHz band (5150-5250MHz), W53 (5.3GHz band (5250-5350MHz)), and W56 (5.6GHz band (5470-5725MHz))) are stipulated as available bands in the 5GHz band, and W52 is the only band that is not subject to interference waves due to DFS. For example, W52 uses 36 / 40 / 44 / 48Ch.
[0005] Patent Document 2 considers a technique for efficiently allocating frequency bands to terminal devices that have restrictions on frequency band usage. Frequency band information indicating available frequency bands and simultaneously available frequency bands among a plurality of frequency bands is stored in advance. A technique is considered in which the base station and the slave station transmit available frequency band information to set each other's frequency bands. [Prior art documents] [Patent documents]
[0006] [Patent Document 1] JP 2010-278825 A [Patent Document 2] Patent No. 5279151 Summary of the Invention [Problem to be solved by the invention]
[0007] Connectivity with other devices is also an important factor for printers. In addition to a method of wireless connection via an external access point (so-called wireless infrastructure mode, hereafter referred to as "wireless infrastructure"), it is also possible to use a P2P (hereafter referred to as "P2P") wireless connection method in which either the printer or the other device acts as an access point and the devices connect wirelessly directly to each other.
[0008] Recent printers can execute these two communication modes simultaneously (in parallel), and products that fully consider the user experience are provided so that users do not have to perform the troublesome operation of switching the communication mode of the wireless device. Wireless communication in two modes can be executed simultaneously (in parallel) on one device. For example, it is possible to execute a mode in which the device itself establishes a wireless connection with an external access point as a client (i.e., a child station), and a mode in which the device itself establishes a P2P wireless connection with an external client as a GroupOwner (or soft AP, i.e., a parent station) between other devices.
[0009] When a printer has two wireless interfaces (two communication modes), for example, it may be possible to use a wireless infrastructure mode as the first wireless interface and a P2P mode as the second wireless interface. In this case, it is desirable to be able to use both the 5 GHz and 2.4 GHz bands in both the wireless infrastructure mode and the P2P mode.
[0010] However, when multiple wireless communication modes exist, the available frequency band may be limited due to the constraints of the wireless chipset. The present invention has been made in consideration of the above-mentioned conventional examples, and aims to realize appropriate frequency setting in a device that can use multiple wireless communication modes. [Means for solving the problem]
[0011] In order to solve the above problems, the present invention has the following configuration.
[0012] According to one aspect of the present invention, the present invention comprises: A communication device capable of performing wireless communication using a first frequency band and wireless communication using a second frequency band different from the first frequency band, a communication means capable of executing a first communication mode for enabling wireless communication with an information processing device via an external access point, and a second communication mode for enabling wireless communication with an information processing device as a slave station, without going through the external access point, in which the communication device functions as a master station; a control means for setting a channel to be used by said communication means and controlling said communication means; a storage means for storing information regarding whether the communication device is in an initial startup state; Equipped with When the communication device is not in the initial startup state, In the first communication mode, the communication means can communicate using any of a channel of the first frequency band, a channel of a specific frequency band that is included in the second frequency band and to which a DFS (Dynamic Frequency Selection) function needs to be applied, and a channel of a frequency band that is included in the second frequency band and different from the specific frequency band; In the second communication mode, the communication means is capable of communicating using either a channel of the first frequency band or a channel of a frequency band included in the second frequency band and different from the specific frequency band, and is controlled not to communicate using a channel of the specific frequency band; both the first communication mode and the second communication mode are enabled, the communication means communicates using a channel of the specific frequency band in the first communication mode, and the control means sets a channel of the different frequency band as a channel of the second communication mode; A communication device comprising: It is. According to another aspect of the present invention, there is provided a communication device capable of performing wireless communication using a first frequency band and wireless communication using a second frequency band different from the first frequency band, a communication means capable of executing a first communication mode for enabling wireless communication with an information processing device via an external access point, and a second communication mode for enabling wireless communication with an information processing device as a slave station, without going through the external access point, in which the communication device functions as a master station; a control means for setting a channel to be used by said communication means and controlling said communication means; a storage means for storing information regarding whether the communication device is in an initial startup state; Equipped with When the communication device is not in the initial startup state, When both the first communication mode and the second communication mode are enabled, the control means sets a channel to be used in the second communication mode based on a channel to be used in the first communication mode; The communication means communicates in the first communication mode using a channel of a specific frequency band that is included in the second frequency band and to which a DFS (Dynamic Frequency Selection) function needs to be applied, and the control means controls the communication means not to execute communication in the second communication mode using a channel of the specific frequency band; The communication device is characterized in that the communication means communicates using a channel of the specific frequency band in the first communication mode, and the control means sets a channel of a frequency band included in the second frequency band and different from the specific frequency band as the channel of the second communication mode. Effect of the Invention
[0013] According to the present invention, it is possible to set an appropriate frequency in a device capable of using a plurality of wireless communication modes. [Brief description of the drawings]
[0014] [Figure 1] FIG. 1 is a diagram illustrating an example of a configuration of a wireless communication system. [Diagram 2] FIG. 1 is a diagram showing the appearance of a portable communication terminal device. [Diagram 3] FIG. 1 is a diagram showing the external appearance of an MFP. [Figure 4] FIG. 2 illustrates an example of an operation display unit of an MFP. [Diagram 5] 1 is a block diagram showing a configuration of a portable communication terminal device; [Figure 6] FIG. 2 is a block diagram showing the configuration of an MFP. [Figure 7] FIG. 11 is a diagram showing a wireless search sequence in mode A (soft AP mode). [Figure 8] FIG. 13 is a diagram showing a wireless search sequence in mode B (WFD mode). [Figure 9] FIG. 11 is a diagram showing a wireless search sequence in mode C (wireless infrastructure mode). [Figure 10] FIG. 13 is a diagram showing an interface selection screen displayed when the MFP is initially started. [Figure 11] FIG. 11 is a flow chart showing the initial start-up of an MFP. [Figure 12] FIG. 4 is a diagram showing combinations of frequency bands for two communication modes in the first embodiment. [Figure 13] FIG. 4 is a flowchart showing switching of P2P settings in the first embodiment. [Figure 14] FIG. 4 is a flowchart showing switching of settings of a wireless infrastructure in the first embodiment. [Figure 15] FIG. 4 is a flowchart showing manual setup of a wireless infrastructure in the first embodiment. [Figure 16] FIG. 11 is a flowchart showing automatic setup (first half) of a wireless infrastructure in the first embodiment. [Figure 17] FIG. 11 is a flowchart showing the second half of automatic setup of a wireless infrastructure in the first embodiment. [Figure 18] FIG. 11 is a diagram showing combinations of frequency bands for two communication modes in the second embodiment. [Figure 19] FIG. 11 is a flowchart showing switching of P2P settings in the second embodiment. [Figure 20] FIG. 11 is a flowchart showing switching of settings of a wireless infrastructure in the second embodiment. [Figure 21] FIG. 11 is a flowchart showing manual setup of a wireless infrastructure in the second embodiment. [Figure 22] FIG. 11 is a flow diagram showing automatic setup (second half) of a wireless infrastructure in the second embodiment. [Figure 23] FIG. 11 is a diagram showing combinations of frequency bands for two communication modes in the third embodiment. [Figure 24] FIG. 11 is a flowchart showing manual setup of a wireless infrastructure in the third embodiment. [Diagram 25] FIG. 11 is a flowchart showing the second half of automatic setup of a wireless infrastructure in the third embodiment. [Figure 26] FIG. 13 is a diagram showing combinations of frequency bands for two communication modes in the fourth embodiment. [Figure 27] FIG. 13 is a flowchart showing manual setup of a wireless infrastructure in the fourth embodiment. [Figure 28] FIG. 13 is a flowchart showing the second half of automatic setup of a wireless infrastructure in the fourth embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0015] <<Embodiment 1>> Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. However, the relative arrangement of components, display screen, and the like described in the present embodiment are not intended to limit the scope of the present invention unless otherwise specified.
[0016] <System configuration> First, a system configuration for realizing the embodiment described below will be described with reference to FIGS. 1 to 6. FIG.
[0017] FIG. 1 is a diagram showing the configuration of a system including a portable communication terminal device, a printing device (MFP), and an access point (also called a wireless base station). The portable communication terminal device 200 is a terminal device (information processing device) having a wireless LAN (WLAN) communication unit, i.e., a wireless communication function. The portable communication terminal device 200 may be a personal information terminal such as a PDA (Personal Digital Assistant), a mobile phone, a digital camera, etc. The printing device (MFP) 300 is a communication device capable of wireless communication with the portable communication terminal device 200, and may have a reading function (scanner), a FAX function, and a telephone function. The communication device is not limited to a printer, but may also be a facsimile device, a scanner device, a projector, a mobile terminal, a smartphone, a notebook PC, a tablet terminal, a PDA, a digital camera, a music playback device, a television, etc. In this embodiment, a Multi Function Printer (MFP: multifunctional peripheral device) having a reading function and a printing function is taken as an example of the communication device. An external access point 400 provided separately from the portable communication terminal 200 and the printing device 300 has a WLAN communication unit and provides communication in wireless infrastructure mode by relaying communication between devices that are permitted to connect to the access point.
[0018] The portable communication terminal 200 and the MFP 300 may perform wireless communication in a wireless infrastructure mode via an access point 400 using their respective WLAN communication units, or may perform P2P communication (peer-to-peer communication) such as Wi-Fi Direct (registered trademark) or soft AP mode. Each mode will be described in detail later with reference to Figs. 7 to 9. The portable communication terminal 200 and the MFP 300 are capable of executing processes corresponding to a plurality of printing services via WLAN, as will be described later.
[0019] 2 is a diagram showing the external appearance of the portable communication terminal device 200. In this embodiment, a smartphone is taken as an example. A smartphone is a multi-function mobile phone equipped with a camera, a web browser, an e-mail function, and the like in addition to the functions of a mobile phone.
[0020] The WLAN unit 201 is a unit for performing communication via WLAN. The WLAN unit 201 is capable of data (packet) communication in a WLAN system conforming to, for example, the IEEE 802.11 series (IEEE 802.11a, IEEE 802.11b, etc.). In this example, the WLAN unit 201 is capable of communication in both the 2.4 GHz band and the 5 GHz band. In addition, in wireless communication using the WLAN unit 201, communication based on Wi-Fi Direct (WFD) (registered trademark), communication in soft AP mode, communication in wireless infrastructure mode, etc. are possible. Each mode will be described in detail later with reference to Figs. 7 to 9. The display unit 202 is, for example, a display having an LCD-type display mechanism. The operation unit 203 has a touch panel-type operation mechanism and detects an operation by a user. A representative operation method is that the display unit 202 displays button icons and a software keyboard, and an operation event is detected when the user touches these points. The power key 204 is a hard key used to turn the power on and off.
[0021] FIG. 3 is a diagram showing the external appearance of the MFP 300. In FIG. 3, the manuscript table 301 is a glass-like transparent table on which a manuscript to be read by the scanner (reading unit) is placed. The manuscript cover 302 is a cover for holding the manuscript when reading by the scanner and for preventing light from a light source that irradiates the manuscript when reading from leaking to the outside. The print paper insertion port 303 is an insertion port into which papers of various sizes can be set. The papers set in the print paper insertion port 303 are transported one by one to the printing unit, where they are printed and discharged from the print paper discharge port 304. The operation display unit 305 is composed of keys such as character input keys, cursor keys, a decision key, and a cancel key, as well as LEDs (light-emitting diodes) and LCDs (liquid crystal displays), and allows the user to start various functions as the MFP and perform various settings. It may also be composed of a touch panel. The WLAN antenna 306 is embedded with an antenna for communication via WLAN. The MFP 300 can also communicate in both the 2.4 GHz band and the 5 GHz band.
[0022] FIG. 4 is a diagram showing an example of a screen display of the operation display unit 305 of the MFP. FIG. 4(a) is a home screen showing a state (idle state) in which the MFP is powered on and is not performing operations such as printing or scanning. Various settings and function execution are possible from the menu display of copy, scan, and cloud functions using Internet communication by key operation or touch panel operation. Functions different from those shown in FIG. 4(a) can be seamlessly displayed from the home screen of FIG. 4(a) by key operation or touch panel operation. FIG. 4(b) is an example of such a screen, which allows execution of print and photo functions and change of LAN settings. FIG. 4(c) is a screen displayed when LAN settings are selected on the screen of FIG. 4(b). From this screen, various LAN setting changes can be performed, such as enabling / disabling the wireless infrastructure mode and enabling / disabling the P2P mode such as WFD and soft AP mode. In addition, the frequency band and channel of the wireless LAN can also be set. The wireless infrastructure mode is sometimes called the first communication mode, and the P2P mode is sometimes called the second communication mode.
[0023] Configuration of portable communication terminal device 5 is a block diagram showing the configuration of the portable communication terminal device 200. The portable communication terminal device 200 has a main board 501 that performs main control of the device itself, and a WLAN unit 201 that performs WLAN communication. In the main board 501, a CPU (Central Processing Unit) 502 is a system control unit that controls the entire portable communication terminal device 200. The processing of the portable communication terminal device 200 described below is executed under the control of the CPU 502. The ROM 503 stores a control program executed by the CPU 502, an embedded operating system (OS) program, and the like. In this embodiment, each control program stored in the ROM 503 performs software control such as scheduling and task switching under the management of the embedded OS stored in the ROM 503.
[0024] The RAM 504 is composed of SRAM (Static RAM) etc., and stores data such as program control variables, as well as setting values registered by the user and management data for the portable communication terminal device 200, and is provided with various work buffer areas.
[0025] The image memory 505 is constituted by a memory such as a DRAM (Dynamic RAM), and temporarily stores image data received via the WLAN unit 201 and image data read from the data storage unit 513 for processing by the CPU 502 .
[0026] The non-volatile memory 512 is configured with a memory such as a flash memory, and continues to store data even when the power is turned off. However, the memory configuration is not limited to this. For example, the image memory 505 and the RAM 504 may be shared, or data may be backed up in the data storage unit 513. In this embodiment, a DRAM is used for the image memory 505, but this is not limited to the above, as other storage media such as a hard disk or a non-volatile memory may also be used.
[0027] The data conversion unit 506 performs data conversion such as analysis of data in various formats, color conversion, and image conversion. The telephone unit 507 controls the telephone line and realizes telephone communication by processing audio data input and output via the speaker unit 514. The operation unit 203 controls the signals of the operation unit 204 (FIG. 2). The GPS (Global Positioning System) 509 acquires location information such as the current latitude and longitude of the portable communication terminal device 200. The display unit 202 electronically controls the display contents of the display unit 203 (FIG. 2), and can perform various input operations and display the operating status and status of the MFP 300.
[0028] The camera unit 511 has a function of electronically recording and encoding an image input through a lens. Images taken by the camera unit 511 are stored in a data storage unit 513. The speaker unit 514 realizes a function of inputting or outputting voice for a telephone function, as well as other functions such as alarm notification. The power supply unit 515 is a portable battery, and controls the power supply to the device. The power supply states include a dead battery state in which there is no remaining battery power, a power-off state in which the power key 205 is not pressed, a running state in which the device is normally running, and a power-saving state in which the device is running but in a power-saving mode.
[0029] The portable communication terminal 200 can perform wireless communication via WLAN. This allows the portable communication terminal 200 to perform data communication with other devices such as an MFP. In this communication unit, data is converted into packets and the packets are transmitted to other devices. Conversely, packets from other external devices are restored to the original data and transmitted to the CPU 502. The WLAN unit 201 is connected to the main board 501 via a bus cable 516. The WLAN unit 201 is a unit for realizing communication conforming to a standard. The WLAN unit 201 can provide two communication modes in parallel at the same time, for example, a wireless infrastructure mode as a first communication mode and a P2P mode as a second communication mode. However, the frequency bands used in each communication mode may be limited by the function or performance of the hardware. Various components (503 to 515 and 201 to 203) in the main board 501 are connected to each other via a system bus 519 managed by the CPU 502.
[0030] MFP configuration 6 is a block diagram showing the configuration of the MFP 300. The MFP 300 has a main board 601 that performs main control of the device itself, and a WLAN unit 617 that performs WLAN communication.
[0031] In the main board 601, a CPU (Central Processing Unit) 602 is a system control unit, and controls the entire MFP 300. The processes of the MFP 300 described below are executed under the control of the CPU 601. A ROM 603 stores a control program executed by the CPU 602, an embedded operating system (OS) program, and the like. In this embodiment, each control program stored in the ROM 603 performs software control such as scheduling and task switching under the management of the embedded OS stored in the ROM 603. A RAM 604 is composed of an SRAM (Static RAM) or the like, and stores data such as program control variables, and also stores data such as setting values registered by the user and management data of the MFP 300, and is provided with various work buffer areas.
[0032] The non-volatile memory 605 is composed of a memory such as a flash memory, and continues to store data even when the power is turned off. The image memory 606 is composed of a memory such as a DRAM (Dynamic RAM), and accumulates image data received via a WLAN unit, image data processed by the encoding / decoding processing unit 611, and the like. As with the memory configuration of the portable communication terminal device 200, the memory configuration is not limited to this. The data conversion unit 608 analyzes data of various formats, converts image data into print data, and the like.
[0033] The reading control unit 607 controls the reading unit 609 (for example, a CIS image sensor (contact type image sensor)) to optically read the image on the document. Next, the image signal obtained by converting the image into electrical image data is output. At this time, the image may be subjected to various image processing such as binarization and halftone processing before being output.
[0034] The operation display unit 305 corresponds to the operation display unit 305 in Fig. 4. The encoding / decoding processing unit 611 performs encoding / decoding processing and enlargement / reduction processing of image data (JPEG, PNG, etc.) handled by the MFP 300. The paper feed unit 613 holds paper for printing. Paper can be fed from the paper feed unit 613 under the control of the print control unit 614. In particular, the paper feed unit 613 can have multiple paper feed units in order to hold multiple types of paper in one device. Then, the print control unit 614 can control which paper feed unit to feed paper from.
[0035] The print control unit 614 performs various image processing such as smoothing, print density correction, and color correction on the image data to be printed, and then outputs the data to the print unit 612. The print unit 612 can be, for example, an inkjet printer that prints an image by ejecting ink supplied from an ink tank from a print head. The print control unit 614 also plays a role in periodically reading information from the print unit 612 and updating information in the RAM 604. Specifically, it updates status information such as the remaining amount of ink in the ink tank and the state of the print head.
[0036] The MFP300 is also equipped with a WLAN unit 616, similar to the portable communication terminal device 200. Since its function is equivalent to that of the WLAN unit 201 of the portable communication terminal device 200, the description is omitted. Here, the WLAN unit 616 is connected to the main board 601 via a bus cable 615. Note that the portable communication terminal device 200 and the MFP300 are capable of communication based on WFD and have a software access point (soft AP) function.
[0037] Various components (blocks 602 to 614, 616 to 617, 619) within the main board 601 are interconnected via a system bus 620 managed by the CPU 602.
[0038] <Regarding the P2P (Peer to Peer) method> In communication in WLAN, multiple modes can be considered as ways to implement P2P (a method in which devices communicate directly via a wireless LAN without going through an external access point). In each mode, the device on the discovery side uses the same device discovery request (for example, a Probe Request frame) to discover the device that will be the communication partner (referred to as the communication partner device or the peer device). When the MFP300 is started in P2P mode, it is possible to use a frequency band in the 5 GHz band or the 2.4 GHz band. For example, when the MFP300 is started with only the 2.4 GHz band set in the P2P mode, the MFP300 will not respond even if a discovery command is sent by a device on the discovery side, such as the portable communication terminal 200, in the 5 GHz band. The following two modes can be considered as P2P mode.
[0039] · Mode A (Soft AP mode) · Mode B (Wi-Fi Direct (WFD) (registered trademark) mode) Some devices support each mode, while others do not, and the applications may differ for each mode. Below, the wireless device search sequence for each mode will be described with reference to Figs. 7 and 8. In addition, in a device having a communication function using Wi-Fi Direct (registered trademark), a dedicated application that realizes the communication function is called from the operation unit. Then, the Wi-Fi Direct (registered trademark) device can execute Wi-Fi Direct (registered trademark) communication based on the screen operation of a UI (user interface) provided by the application.
[0040] ●Soft AP mode device search sequence 7 is a diagram showing a wireless device search sequence in mode A (soft AP mode). In the soft AP mode, between devices (for example, portable communication terminal 200 and MFP 300) performing communication, one device (for example, portable communication terminal 200) serves as a client that requests various services. The other device serves as a soft AP (for example, MFP 300) that realizes the function of an access point in a WLAN by software settings.
[0041] In the soft AP mode, the client searches for a device that will be a soft AP by a device discovery request 701. The soft AP that receives the device discovery request 701 replies with a device discovery response 702. Through this exchange, the client side discovers the MFP 300 that is a soft AP. Note that commands and parameters transmitted and received when establishing a wireless connection between the client and the soft AP may be those specified in the Wi-Fi standard, and therefore a description thereof will be omitted here.
[0042] ● Device search sequence in WFD mode FIG. 8 is a diagram showing a wireless device search sequence in mode B (WFD mode). In the WFD mode, a device to be a communication partner is searched for by a device search request 801. The device search request 801 has a WFD attribute, and it is possible to identify that the target of the search is a communication device in WFD mode. When the MFP 300 that has received the device search request 801 returns a device search response 802, the MFP 300 that is a P2P communication partner is detected on the client side. After the roles of the P2P group owner and the P2P client are determined, the remaining wireless connection processing is performed. This role determination corresponds to, for example, GO Negotiation in P2P. However, if there is a restriction of the wireless chipset on the frequency band when the wireless infrastructure mode and the WFD mode operate simultaneously in parallel, as described later, it is necessary to match the channels of the two modes. Therefore, it is desirable for the MFP 300 to be started up fixedly as a parent station (Autonomous Group Owner) in the WFD mode. In that case, GO Negotiation communication is not required to determine the role. When the MFP 300 is started as a Group Owner in the WFD mode, the MFP 300 itself determines the frequency band and channel as a parent station, and therefore can select and use either the 5 GHz or 2.4 GHz frequency band and channel. The P2P mode, including the soft AP mode and the WFD mode, may also be referred to as a second wireless interface or a second communication mode in this example.
[0043] <About wireless infrastructure mode> FIG. 9 is a diagram showing a wireless device search sequence in mode C (wireless infrastructure mode). In the wireless infrastructure mode, devices (for example, the portable communication terminal device 200 and the MFP 300) that communicate are connected to an external "access point" (for example, the access point 400) that manages the network, and the devices communicate with each other via the external access point. In other words, the devices communicate with each other via a network built by the external access point. In the wireless infrastructure mode, the portable communication terminal device 200 searches for the access point 400 by a device search request 901. When the access point 400 returns a device search response 902, the access point is discovered. When the portable communication terminal device 200 and the MFP 300 each discover and connect to an access point, communication between the devices can be performed via the access point. Note that commands and parameters transmitted and received when realizing a wireless connection between the devices and the access point may be those specified in the Wi-Fi standard, and will not be described here. The wireless infrastructure mode may also be referred to as the first wireless interface or the first communication mode in this example.
[0044] <Frequency band restrictions and setup method> A method for utilizing wireless communication without impairing user convenience even when multiple wireless interfaces can operate simultaneously in parallel in one wireless device and when there are functional or performance constraints on the hardware of a low-cost wireless chipset is described in detail. Before describing the details, the constraints that are the premise of this embodiment will be described.
[0045] These wireless usage restrictions may occur due to the fact that only one CPU or antenna can be used by the wireless chipset, and firmware becomes complicated when multiple wireless interfaces are operated simultaneously. In other words, when multiple communication modes operate simultaneously in parallel within one device, the available frequency band may be limited due to the restrictions of the wireless chipset. In particular, in the case of a low-cost wireless chipset with relatively low performance, the available frequency band may be restricted.
[0046] The first constraint is that when operating in wireless infrastructure mode and P2P mode simultaneously, the channels (and frequency bands) used in wireless infrastructure mode and P2P mode must be the same. This is due to the performance of the wireless chipset, which operates with one CPU and one antenna and cannot listen to multiple channels simultaneously.
[0047] Next, as a second constraint, the 5GHz DFS function may not be available in P2P mode (GroupOwner or soft AP). When a device operates in the 5GHz band as a wireless base station, it must constantly monitor the radar wave band specified by the weather radar to detect interference waves, and if it detects them, it must immediately change channels. This is the DFS function, but depending on the wireless chipset, DFS in P2P mode may exceed its performance, and the second constraint is due to such circumstances. This is because the P2P mode operates as a parent station, and the parent station's responsibility for the DFS function is to monitor the band used by radar waves and to avoid the channel if it detects interference.
[0048] In other words, when a wireless chipset has the first and second constraints, the available frequency bands (2.4 GHz band, 5 GHz band) may be limited by the wireless interface depending on the settings of each wireless interface (e.g., single IF / multiple IF). Since there is a trade-off between the available frequency bands and the simultaneous use of multiple interfaces, these constraints can be avoided by controlling the wireless device internally, allowing the wireless device to be used without compromising user convenience.
[0049] In this embodiment, in order to avoid the first and second constraints, when the wireless infrastructure mode and the P2P mode operate simultaneously in parallel, the device is controlled to operate only in the 2.4 GHz band across the communication modes (i.e., both communication modes). When the wireless infrastructure mode operates alone, the device is controlled to operate in either the 5 GHz band or the 2.4 GHz band according to the wireless access point to which it is connected. When the P2P mode operates alone, the device is controlled to operate only in the 2.4 GHz band. There are several methods for setting the wireless infrastructure mode and the P2P mode, such as initial setup
[11] , IF enable / disable switching by LAN settings, manual wireless setup, and automatic wireless setup, and they will be described in order.
[0050] <Initial startup setup> When a user who has purchased the main body turns on the power for the first time, the MFP300 is configured to start a process sequence (initial setup) dedicated to initial startup that is different from normal, in order to perform initial settings from the factory shipment state (shipped state). For example, when the MFP300 is shipped from the factory, the printing unit 612 is shipped in a state in which no ink tanks or print heads are attached. Therefore, it is necessary to prepare the MFP300 for use, such as by prompting the user to perform a process to attach the included ink tanks and print heads immediately after the user operates the initial startup for the first time. Whether or not the MFP300 is in the initial startup state, which indicates that the MFP300 remains in the factory shipment state, is controlled using a flag (initial startup flag) stored in the non-volatile memory 605, and when preparation for use at the user's site is completed, the state of the initial startup flag changes, and the process sequence dedicated to initial startup is not started thereafter. In this embodiment, focusing on the fact that the MFP300 performs a process specific to initial startup, the process at initial startup includes setting of the wireless interface. The IF setting process sequence at initial startup of the MFP300 will be described with reference to FIG. 10 and FIG. 11. At the time of initial startup, an initial setup sequence other than the IF setting is also processed, but sequences that are not directly related to this embodiment are not shown here. FIG. 11 shows the process executed by the MFP 300, particularly the CPU 602.
[0051] When the power is turned on, the CPU 602 of the MFP 300 refers to the initial startup flag stored in the non-volatile memory 605 in step S1101 to determine whether or not the MFP 300 is currently in an initial startup state. This initial startup flag is preset to a specific value when the MFP 300 is shipped from the factory.
[0052] If it is determined in step S1101 that the initial startup state is not established, in step S1112, the CPU 602 enables the IF according to the IF enable / disable setting stored in the non-volatile memory. Then, in step S1113, the normal startup standby screen as shown in Fig. 4(a) is displayed and a user operation is awaited. Steps S1112 and S1113 are a sequence equivalent to the startup process during normal user use.
[0053] Step S1102 and thereafter constitute the processing sequence of this embodiment. If it is determined in step S1101 that the initial startup state is established, in step S1102, the CPU 602 displays a screen for the user to select an interface to be used on the operation display unit 305, as shown in Fig. 10. When this screen is displayed, the user selects an interface that he or she intends to use from the items displayed on the screen.
[0054] In step S1103, the CPU 602 judges whether or not the wireless LAN has been selected by the user operation. If it is determined that the wireless LAN has not been selected, the process proceeds to step S1110. In step S1110, the CPU 602 judges whether or not the wired LAN has been selected. If the wired LAN has not been selected, the process proceeds to step S1114. Here, the case in which the process proceeds to step S1114 is a case in which neither the wireless LAN nor the wired LAN has been selected, and the USB has been selected. In step S1114, the CPU 602 enables the USB, and ends the IF setting process at the time of initial startup. Although not shown here, when the entire arrival process sequence including the interface selection is completed, the value of the initial startup flag stored in the non-volatile memory 605 is changed from the initial startup state to the non-initial startup state. Then, the initial startup process sequence is not started thereafter.
[0055] When the CPU 602 determines in step S1110 that the wired LAN has been selected, it performs processing to enable the wired LAN in step S1111. In addition, assuming that the wired LAN has been enabled, the setting is saved in the non-volatile memory 605, and is referred to as an IF to be enabled during normal startup.
[0056] On the other hand, if it is determined in step S1103 that wireless LAN has been selected by user operation, the CPU 602 starts the cableless setup mode in step S1104. The cableless setup mode is a dedicated mode that allows wireless settings of a wireless infrastructure. In the cableless setup mode, the MFP 300 starts as a soft AP mode that operates in the same manner as an access point (parent device). Therefore, an external device such as a personal computer, a smartphone, or a tablet can easily connect to the MFP 300 as a client (child device) and communicate with it. The frequency band used in this cableless setup is 2.4 GHz. In the cableless setup mode, not only the soft AP mode but also the WFD mode can be used. However, in the case of WFD, it is necessary to include a character string of a randomly generated value in the SSID, which is a wireless parameter, according to the standard specification, and the soft AP mode is more suitable for a cableless setup that uses a reserved SSID. It is configured so that even a user who does not have much knowledge about LANs can easily connect to the MFP 300 by using a dedicated LAN setting application that runs on an external device such as a personal computer, a smartphone, or a tablet. The dedicated LAN setting application is configured to send information required to identify an access point and security information for connection to MFP300, which is a soft AP, without the user having to know the details of the setting contents.
[0057] In the cableless setup mode, in step S1105, the CPU 602 mainly accepts settings necessary for connection in the wireless infrastructure mode. After connecting to the MFP 300, an external device such as a personal computer, smartphone, or tablet transmits wireless infrastructure setting information to the MFP 300 by the application.
[0058] The wireless setting information that the MFP300 receives from an external device includes the SSID of the external access point that configures the network you want to join, the frequency band used by the external access point (either 5 GHz or 2.4 GHz, or a wireless channel value related to the frequency band), the encryption method, the authentication method, etc. After receiving the wireless setting information, the MFP300 stops the soft AP mode and executes wireless setting processing for the wireless infrastructure mode.
[0059] Upon receiving the settings, in step S1106, CPU 602 ends the cableless setup mode. Then, in step S1107, CPU 602 starts communication in wireless infrastructure mode according to the LAN setting values received in step S1105, and performs connection processing to external access point 400. Then, the setting is stored in non-volatile memory 605, assuming that wireless infrastructure mode is set to enabled.
[0060] In step S1108, CPU 602 determines whether multiple wireless interfaces are enabled or disabled in accordance with the second constraint on the frequency band of the wireless chipset. At this time, the frequency band of the wireless infrastructure mode to be set by MFP 300 is determined according to the frequency band of the wireless infrastructure transmitted from the external device (either 5 GHz or 2.4 GHz, or a wireless channel value related to the frequency band is transmitted). That is, MFP 300 determines whether the wireless infrastructure mode and P2P mode are enabled or disabled based on the information on the frequency band transmitted from the external device, which is included in the LAN setting value instructed in step S1105. When a wireless channel value is transmitted from the external device, MFP 300 converts it to a frequency band (2.4 GHz, 5 GHz) and determines whether the wireless infrastructure mode and P2P mode are enabled or disabled. In step S1105, information indicating the 5 GHz band as the frequency band of the wireless infrastructure is transmitted, and in S1107, if the wireless infrastructure mode is activated with a wireless access point of the 5 GHz frequency band as the connection destination (Yes in S1108), the process proceeds to step S1114 with the P2P mode disabled, and the USB is activated. Note that both the wireless infrastructure mode and the P2P mode are set to an inactive state as the initial value (default) of the factory settings. On the other hand, in step S1105, information indicating the 2.4 GHz frequency band as the frequency band of the infrastructure is transmitted, and in S1107, the wireless infrastructure mode of the 2.4 GHz frequency band is activated (No in S1108), the P2P mode is activated in the 2.4 GHz frequency band, and a process of activating the P2P mode is performed (S1109). By activating the P2P as the parent station, a beacon is transmitted, and it becomes possible to be detected by the terminal device on the host side. Then, the setting is stored in the non-volatile memory 605 as the P2P mode is set to be active. In addition, for printers that are capable of operating simultaneously in wireless infrastructure mode and P2P mode, if the user selects wireless infrastructure mode alone during the setup flow at initial startup, the printer should also enable P2P mode at its own discretion, and automatically set up both modes to operate simultaneously.That is, the process of enabling the P2P mode and saving the settings is performed regardless of whether a setting to enable the P2P mode is received in the previous step S1105. However, only when an external access point in the 5 GHz band is selected in the wireless infrastructure mode, due to the constraints of the wireless chipset, the P2P mode remains disabled.
[0061] After that, whether the wired LAN is selected or the wireless LAN is selected, in both cases, the USB IF is enabled in step S1114, and the IF setting process at the initial startup is completed.
[0062] As described above, when WLAN is selected by operating the main body operation unit at the initial startup, if the 2.4 GHz band is set for communication in the wireless infrastructure mode, the communication flow enables simultaneous communication between the communication in the wireless infrastructure mode and the communication in the P2P mode (Wi-Fi Direct (registered trademark) or soft AP). On the other hand, if the 5 GHz band is set for communication in the wireless infrastructure mode, the communication in the P2P mode (Wi-Fi Direct (registered trademark) or soft AP) becomes invalid, and only the wireless infrastructure mode is enabled. That is, when the 5 GHz band is set, the communication in the wireless infrastructure mode and the communication in the P2P mode are set so that they cannot operate simultaneously (in parallel). This enables a setting that conforms to the first constraint that there may be a possibility of using the same channel in the same band for multiple communication modes, and the second constraint that DFS does not function in the P2P mode and there may be a possibility that the 5 GHz band cannot be used, during the initial setup when the MFP starts to be used.
[0063] <Enable / Disable Switching of IF According to LAN Settings> Next, a method for setting the wireless infrastructure mode and the P2P mode when switching between the enable and disable of the IF will be described. The operation display unit 305 of the MFP main body is configured to be able to set the enable / disable of the IF to be used via the main body operation screen shown in FIG. 4(c) or the cableless setup. In this embodiment, the use of the wired LAN and the wireless LAN is exclusive, and the wireless LAN cannot be enabled at the same time as the wired LAN is enabled. Conversely, the wired LAN cannot be enabled at the same time as the wireless LAN is enabled. It is possible to set the wired LAN and the wireless LAN to be disabled at the same time. The USB IF cannot be disabled by the user's settings, but is always enabled at startup and is configured to be usable at the same time as the wired LAN or the wireless LAN. The wireless LAN has settings for the P2P mode and the wireless infrastructure mode, and can be set to be enabled / disabled individually and independently. It is possible to set the P2P mode and the wireless infrastructure mode to be enabled at the same time. At that time, the MFP 300 can perform communication by P2P and communication by wireless infrastructure at the same time. The enabled / disabled state that you set is saved in non-volatile memory 605 and is referenced the next time you start up the device, and each IF is enabled based on the saved information. When the LAN settings on the device are initialized, P2P mode and wireless infrastructure mode are disabled. Wired LAN is also disabled, and neither wired nor wireless LAN is used. After initializing the LAN settings, the user can individually change the settings to enabled for the desired IFs and use them.
[0064] The switching of IF will be described with reference to Fig. 12. Fig. 12 shows possible combinations of communication mode and frequency band as LAN setting values. According to Fig. 12, there are three combinations of communication mode settings, but in combination with the setting of the frequency band to be used, there are four possible settings, from communication mode setting 1 to communication mode setting 4.
[0065] Communication mode setting 1 is a pattern in which wireless infrastructure mode is enabled and P2P mode is disabled. For example, starting from a LAN disabled state, set up with an external wireless access point in wireless infrastructure mode, and save the wireless settings when connection to the external wireless access point is completed in the 2.4 GHz band.
[0066] Communication mode setting 2 is a pattern in which wireless infrastructure mode is enabled and P2P mode is disabled, similar to communication mode setting 1. For example, from a LAN disabled state, setup with an external wireless access point is performed in wireless infrastructure mode, and the wireless settings at the time of connection to the wireless access point in the 5 GHz band are saved. Also, if wireless infrastructure mode is specified in step S1105 of FIG. 11 at initial startup and a connection is made to an external wireless access point in the 5 GHz band in step S1108, the settings are saved in communication mode setting 2.
[0067] Communication mode setting 3 is a pattern in which the wireless infrastructure mode is disabled and the P2P mode is enabled. For example, when the P2P mode is switched from disabled to enabled on the operation display unit in FIG. 4(c) from the LAN disabled state, the communication mode setting 3 is saved.
[0068] Communication mode setting 4 is a pattern in which the wireless infrastructure mode is disabled and the P2P mode is enabled. For example, when the P2P mode is switched from disabled to enabled on the operation display unit in Fig. 4(c) from communication mode setting 1, it is saved as communication mode setting 4. Also, if the wireless infrastructure mode is specified as the LAN setting value in step S1105 of Fig. 11 at the initial startup and a connection is made in the 2.4 GHz band in step S1108, the P2P mode is started in 2.4 GHz in step S1109 and saved as communication mode setting 4.
[0069] As described above, in the wireless communication settings allowed in this embodiment, the 5 GHz band is used only for the wireless infrastructure mode, and is not used for the P2P mode. Moreover, the frequency band used in the wireless infrastructure mode and the P2P mode is the same. Note that, when the MFP 300 is initially started, the communication mode set in the procedure of FIG. 11 is the same as the communication mode setting 2 if the 5 GHz band is specified in S1105, and is the same as the communication mode setting 4 if the 2.4 GHz band is specified.
[0070] Enabling P2P mode A pattern in which the constraints of the wireless chipset become a barrier to IF switching is when switching from communication mode setting 2 to another communication mode setting. In communication mode setting 2, the wireless infrastructure mode is set to 5 GHz. When the P2P mode is switched from disabled to enabled on the operation display unit in FIG. 4(c), the first and second constraints of the wireless chipset become barriers. That is, due to the first constraint, in order to operate the two modes simultaneously in parallel, the P2P mode must also be activated at 5 GHz in accordance with the channel and frequency band of the wireless infrastructure mode. However, due to the second constraint, the P2P mode cannot use the DFS function of 5 GHz and therefore can only be activated at 2.4 GHz. For this reason, FIG. 13 shows a flowchart of switching to communication mode setting 3 in which the P2P mode can be used, with priority given to the setting change to the P2P mode explicitly set by the user. FIG. 13 shows the process executed by the MFP 300, particularly the CPU 602.
[0071] In step S1301 of FIG. 13, the CPU 602 executes an instruction to switch the P2P mode from an invalid setting to an valid setting in response to a user operation on the operation display unit of FIG. 4(c). In step S1302, the CPU 602 determines whether the wireless infrastructure setting is valid or invalid. If the wireless infrastructure is invalid, the process proceeds to step S1306, where the CPU 602 specifies a channel in the 2.4 GHz band and starts the P2P mode. If the wireless infrastructure is valid, the process proceeds to step S1303, where the CPU 602 determines whether the frequency band set for the wireless infrastructure mode already saved as the LAN setting is 5 GHz or not. If the band setting for the wireless infrastructure mode is 5 GHz, the CPU 602 prioritizes the setting change to the P2P mode explicitly set by the user, and switches to communication mode setting 3 in which the P2P mode can be used. Therefore, it is preferable that the CPU 602 issues a warning (notification) that the wireless infrastructure mode will be disabled in step S1304, for example by displaying a warning message, and then disables the wireless infrastructure mode in step S1305. Then, in S1306, the CPU 602 activates the desired P2P mode at 2.4 GHz. If the wireless infrastructure setting is 2.4 GHz in step S1303, the process proceeds to step S1307, where the same channel and 2.4 GHz frequency band as the wireless infrastructure mode are set for the P2P mode, and the process proceeds to step S1306 to activate the P2P mode.
[0072] According to the above procedure, when the P2P mode is enabled, communication in the P2P mode can be started while both the first constraint and the second constraint are satisfied.
[0073] ●Enable infrastructure mode A pattern in which the wireless chipset constraints become a barrier to IF switching is when changing from communication mode setting 3 to another communication mode setting that uses 5 GHz. In communication mode setting 3, the P2P mode is set to 2.4 GHz, and when the wireless infrastructure mode previously set up in the 5 GHz band is switched from disabled to enabled on the operation display unit in FIG. 4(c), the first and second constraints of the wireless chipset become barriers. That is, due to the first constraint, in order to operate the wireless infrastructure mode and P2P mode in parallel at the same time, P2P must also be started at 5 GHz in accordance with the channel and frequency band of the wireless infrastructure mode. However, due to the second constraint, the P2P mode cannot use the 5 GHz DFS function and can only be started at 2.4 GHz. For this reason, FIG. 14 shows a flowchart for switching to communication mode setting 2, prioritizing the setting change to the wireless infrastructure mode explicitly set by the user. FIG. 14 shows the process executed by the MFP 300, particularly the CPU 602.
[0074] In step S1401 of FIG. 14, the CPU 602 executes an instruction to switch the wireless infrastructure mode from an invalid setting to an valid setting in response to a user operation on the operation display unit of FIG. 4(c). In step S1402, the CPU 602 judges whether the P2P mode setting is valid or invalid. If the P2P mode is invalid, the process proceeds to step S1406, where the CPU 602 specifies the saved frequency band and channel to activate the wireless infrastructure mode. If the P2P mode is valid as in the communication mode setting 3 of FIG. 12, the process proceeds to step S1403, where it is judged whether the set frequency band for the wireless infrastructure mode already saved as the LAN setting is 5 GHz or not. If the band setting for the wireless infrastructure mode is 5 GHz, the setting change to the wireless infrastructure mode explicitly set by the user is prioritized. Therefore, in order to switch to the communication mode setting 2, it is preferable that in step S1404 the CPU 602 outputs a warning message, for example, by displaying, to warn that the P2P mode will be invalid, and then invalidates the P2P mode setting in step S1405. Then, in step S1406, the CPU 602 activates the desired wireless infrastructure mode at 5 GHz. If the wireless infrastructure setting is 2.4 GHz in step S1403, the CPU 602 proceeds to step S1407, where the CPU 602 sets the same frequency band of 2.4 GHz and the same channel as the wireless infrastructure mode to the P2P mode, and in step S1406 the CPU 602 activates the P2P mode.
[0075] By the above procedure, even when the wireless infrastructure mode is enabled, communication in the wireless infrastructure mode can be started while both the first constraint and the second constraint are satisfied.
[0076] <Manual wireless setup> Next, a method for setting the wireless infrastructure mode and the P2P mode during manual wireless setup will be described. Fig. 15 is a flow chart showing manual setup of the wireless infrastructure performed by the MFP 300. In manual setup, a list of surrounding wireless access points searched (or discovered) at the user's instruction is displayed on the operation display unit 305 of the MFP, and the user manually selects a wireless access point from the search results. Fig. 15 shows the process executed by the MFP 300, particularly the CPU 602.
[0077] In step S1501, the CPU 602 executes an instruction for manual setup of the wireless infrastructure in response to a user operation on the operation display unit 305 of the MFP 300. If the wireless LAN of the MFP 300 is disabled, the wireless IF has not yet been started, so in step S1502 the CPU 602 starts the wireless IF. For example, in the procedure of FIG. 11, if a wired LAN or USB is selected, the wireless LAN becomes disabled.
[0078] In step 1503, the CPU 602 searches for surrounding wireless access points using the WLAN unit 616. In FIG. 9, the MFP 300 transmits an equipment search request 903, and an equipment search response 904 is returned from the surrounding external wireless access points. The equipment search request is broadcast without specifying the ESSID or BSSID in the command, thereby detecting surrounding wireless access points. In addition, a broadcast search is sequentially performed for all available channels for both the 5 GHz and 2.4 GHz bands. In this case, the search may be performed starting from the smallest channel in the order of 2.4 GHz and 5 GHz, or vice versa, starting from the largest channel in the order of 5 GHz and 2.4 GHz. The equipment search response 904 returned from the wireless access point 400 includes information such as the ESSID, BSSID, and channel, and based on this, the search results of the wireless access points are displayed in a list on the operation display unit 305 of the MFP.
[0079] From the list of search results, the user can select a desired wireless access point in step S1504, and the CPU 602 accepts the selection result. It is easy to understand that the ESSID of the wireless access point is displayed as an identifier in the list of search results, but other information such as encryption information (WPA2, WPA, WEP, etc.), BSSID, channel, frequency band, and signal strength may also be displayed.
[0080] In step S1505, the CPU 602 connects the MFP 300 to the selected wireless access point in wireless infrastructure mode. In step S1506, the CPU 602 determines whether the P2P setting is already enabled. If the P2P setting is already enabled, the CPU 602 determines in step S1506 whether the wireless access point is connected in the 5 GHz band. If the connection is made in the 2.4 GHz band, in step S1508, the CPU 602 enables the P2P mode according to the channel acquired in the wireless infrastructure mode in the first embodiment. If the connection is made in the 5 GHz band, in step S1509, a warning message is outputted, for example, by displaying, to warn that the P2P mode will be disabled, and the P2P mode is disabled in step S1510.
[0081] In this way, in the first embodiment, because of the first and second restrictions of the wireless chipset, there is an advantage that the user can use the wireless infrastructure mode and the P2P mode without being hindered from being used simultaneously by connecting to the 2.4 GHz band. In addition, when connecting to a wireless access point in the 5 GHz band, a warning is displayed to the user, and the user is guided to set the LAN to avoid the restrictions by disabling the P2P mode. In addition, when searching for an access point using the access point search function, the frequency band to be used can be set to avoid the restrictions.
[0082] <Automatic wireless setup (2.4GHz band preferred)> Next, a method for setting the wireless infrastructure mode and the P2P mode when the 2.4 GHz band is prioritized during the automatic wireless setup will be described. The automatic setup is called automatic setup because the wireless access point to be connected to can be automatically selected using a push button or a PIN code method. Specifically, there are methods such as WPS (Wi-Fi Protected Setup) (trademark), AOSS (trademark), and Raku-Raku Wireless Start (registered trademark). During the automatic wireless setup, it is necessary to try to connect to either the 2.4 GHz band or the 5 GHz band in the order of priority from the frequency information of the wireless parameters acquired from the wireless access point. In the first embodiment, due to the second constraint of the wireless chipset, the possibility of satisfying the conditions for simultaneous use of the wireless infrastructure mode and the P2P mode is increased by prioritizing the connection to the 2.4 GHz band. Therefore, the method for trying to connect to the 2.4 GHz band will be described first.
[0083] Figures 16 and 17 are flow charts showing automatic setup of the wireless infrastructure mode performed by MFP 300. In step S1601 in Figure 16, MFP 300 transitions to automatic setup mode of the wireless infrastructure mode in response to a user's key operation or the like. Figures 16 and 17 show processing executed by MFP 300, particularly CPU 602.
[0084] In step S1602, MFP 300 determines whether or not it is connected to external access point 400 undergoing automatic setup in wireless infrastructure mode.
[0085] If connected (YES in step S1602), it is determined in step S1603 whether or not n wireless connection profiles (n is a positive integer) have been received from access point 400. One wireless connection profile is information consisting of "SSID," "frequency," "authentication method," "encryption method," and "passphrase."
[0086] On the other hand, if no connection has been made (NO in step S1602), it is determined in step S1605 whether or not a predetermined timeout has occurred. If a timeout has occurred (YES in step S1605), MFP 300 displays an error screen on operation display unit 305 and ends the automatic setup of the wireless infrastructure mode. On the other hand, if a timeout has not occurred (NO in step S1605), the process returns to step S1602 and waits for connection to access point 400 that is undergoing automatic setup in the wireless infrastructure mode.
[0087] If n wireless connection profiles (that is, at least one) have been received from the access point 400 (YES in step S1603), a wireless connection profile counter variable m is initialized to "1" in step S1604.
[0088] On the other hand, if n wireless connection profiles have not been received from access point 400 (NO in step S1603), it is determined in step S1606 whether or not a predetermined timeout has occurred. If a timeout has occurred (YES in step S1606), MFP 300 displays an error screen on operation display unit 305 and ends the automatic setup of the wireless infrastructure mode. On the other hand, if a timeout has not occurred (NO in step S1606), the process returns to step S1603 and continues to wait for n wireless connection profiles to be transmitted from access point 400.
[0089] In step S1607, it is determined whether the frequency of the m-th wireless connection profile is the 2.4 GHz band. If it is the 2.4 GHz band (YES in step S1607), in step S1608, the m-th wireless connection profile is stored in an area of RAM 604 of MFP 300 that stores 2.4 GHz connection information.
[0090] On the other hand, if it is not the 2.4 GHz band (NO in step S1607), in step S1611, it is determined whether the frequency of the m-th wireless connection profile is the 5 GHz band. If it is 5 GHz (YES in step S1611), in step S1612, the m-th wireless connection profile is stored in an area of RAM 604 of MFP 300 that stores connection information for the 5 GHz band. On the other hand, if it is not the 5 GHz band (NO in step S1611), details will be explained later in (Case 2).
[0091] In step S1609, wireless connection profile counter variable m is incremented by 1. In step S1610, it is determined whether n (the number of wireless connection profiles) is smaller than m (wireless connection profile counter variable). If n (the number of wireless connection profiles) is smaller than m (wireless connection profile counter variable) (YES in step S1610), the process proceeds to step S1717 in Fig. 17. It is then determined whether or not there is a wireless connection profile in the area of RAM 604 of MFP 300 that stores connection information for the 2.4 GHz band.
[0092] On the other hand, if n (the number of wireless connection profiles) is greater than m (the wireless connection profile counter variable), or if n (the number of wireless connection profiles) is the same as m (the wireless connection profile counter variable) (NO in step S1610), the process returns to step S1607. Then, it is determined whether the frequency of the m-th wireless connection profile is the 2.4 GHz band. Thereafter, the process is repeated until step S1610 becomes YES.
[0093] In step S1608, when the m-th wireless connection profile is stored in the area of RAM 604 of MFP 300 that stores connection information for the 2.4 GHz band, the profile may be stored in order of the authentication method and the strength of the encryption method. In step S1612, when the m-th wireless connection profile is stored in the area of RAM 604 of MFP 300 that stores connection information for the 5 GHz band, the profile may also be stored in order of the authentication method and the strength of the encryption method.
[0094] 17, it is determined whether or not a wireless connection profile is stored in an area for storing connection information for the 2.4 GHz band in RAM 604 of MFP 300. If a wireless connection profile is stored (YES in step S1717), connection information for the 2.4 GHz band is specified in step S1718 to perform connection processing in wireless infrastructure mode. In this connection processing, MFP 300 performs connection processing starting from the wireless connection profile at the top of the table.
[0095] In step S1719, it is determined whether or not the connection in the 2.4 GHz band has been successful. If it has been successful (YES in step S1719), in step S1720, the P2P mode setting is read from non-volatile memory 605 of MFP 300, and it is determined whether the setting is valid or invalid. If the P2P mode setting is valid (YES in step S1720), MFP 300 starts the P2P mode in step S1721. On the other hand, if the P2P mode setting is invalid (NO in step S1720), the process ends.
[0096] On the other hand, if a wireless connection profile is not stored in the area of RAM 604 of MFP 300 that stores connection information for the 2.4 GHz band in step S1717 (NO in step S1717), the process branches to step S1722.
[0097] In step S1722, it is determined whether or not a wireless connection profile is stored in an area for storing connection information for the 5 GHz band in RAM 604 of MFP 300. If a wireless connection profile is stored (YES in step S1722), in step S1723, connection information for the 5 GHz band is specified and connection processing for wireless infrastructure mode is performed. In this connection processing, MFP 300 performs connection processing starting from the wireless connection profile at the top of the table.
[0098] On the other hand, if it has not been saved (NO in step S1722), in step S1720, the P2P mode setting is read from non-volatile memory 605 of MFP 300, and it is determined whether the setting is valid or invalid. If the P2P mode setting is valid (YES in step S1720), MFP 300 starts the P2P mode in step S1715. On the other hand, if the P2P mode setting is invalid (NO in step S1720), the process ends.
[0099] In step S1724, it is determined whether or not the connection in the 5 GHz band was successful. If successful (YES in step S1724), in step S1725, the P2P mode setting is read from non-volatile memory 605 of MFP 300, and it is determined whether the setting is valid or invalid. If the P2P mode setting is valid (YES in step S1725), MFP 300 displays a warning to the user on the operation screen in step S1726 that the P2P mode will be disabled, for example by displaying a warning message, and then disables the P2P mode setting in step S1727. The warning to the user on the operation screen should notify the user that the P2P mode setting, which is not directly related to user operation, will be automatically disabled. If the P2P mode setting is invalid (NO in step S1725), the process ends.
[0100] On the other hand, if the connection has failed (NO in step S1724), MFP 300 displays an error screen on operation display unit 305, and ends the automatic setup of the wireless infrastructure mode.
[0101] The above method realizes wireless setup for the 2.4 GHz band or 5 GHz band using a common processing flow for WPS (Wi-Fi Protected Setup), AOSS, and Raku-Raku Wireless Start (registered trademark). The frequency band at the time of wireless setup completion is stored in a storage area and fixed to either the 2.4 GHz or 5 GHz band. If access points for both the 2.4 GHz and 5 GHz bands are found, the 2.4 GHz band is preferentially connected, thereby increasing the opportunity for simultaneous use with P2P. This prevents the wireless chipset from unintentionally falling into the first or second constraint, which would cause the wireless infrastructure mode or P2P mode to become unusable after reconnection after wireless disconnection.
[0102] <Automatic wireless setup (5GHz band preferred)> Next, we will explain how to set up wireless infrastructure mode and P2P mode when the 5 GHz band is prioritized during automatic wireless setup. During automatic wireless setup, it is necessary to try to connect to either the 2.4 GHz or 5 GHz band in the order of priority from the frequency information of the wireless parameters acquired from the wireless access point. In the above example of prioritizing the 2.4 GHz band, due to the second constraint of the wireless chipset, prioritizing connection to 2.4 GHz increases the possibility of satisfying the conditions for simultaneous use of wireless infrastructure mode and P2P mode, so connection was made with 2.4 GHz as a priority. However, there are also users who would like to prioritize use of the 5 GHz frequency band over simultaneous use of multiple wireless interfaces. Here, we will explain how to try to connect with priority on 5 GHz.
[0103] When connecting to a wireless access point with 5 GHz priority, the wireless connection profile is received and saved in the same manner as in steps S1601 to S1616 of Fig. 16 described in <Wireless automatic setup (2.4 GHz priority)>. However, to prioritize 5 GHz, the processes of steps S1607, S1608, and S1613 are replaced with processes for the 5 GHz band instead of the 2.4 GHz band. Also, the processes of steps S1611, S1612, and S1615 are replaced with the 2.4 GHz band instead of the 5 GHz band, thereby prioritizing 5 GHz.
[0104] When connecting to a wireless access point with 5 GHz priority, the wireless infrastructure mode connection process is performed according to the stored wireless connection profile, similar to steps S1717 to S1727 in Fig. 17 described in <Wireless automatic setup (2.4 GHz priority)>. However, to prioritize 5 GHz, steps S1717 and S1718 are replaced with processing for the 5 GHz band instead of the 2.4 GHz band. Also, the processing for steps S1722 and S1723 is replaced with the 2.4 GHz band instead of the 5 GHz band, so that 5 GHz is prioritized.
[0105] Also, the warning display in step S1726 is unnecessary since it is a warning dedicated to 5 GHz band, and instead, it is desirable to display a warning immediately before step S1721 in the processing of the 5 GHz band. Furthermore, in step S1721, P2P mode is disabled, and in step S1727, P2P mode is activated in the same band and channel as the wireless infrastructure mode. That is, steps S1719 to S1721 are performed as a set as processing after successful connection to the 2.4 GHz band. Steps S1725 to S1727 are performed as a set as processing after successful connection to the 5 GHz band.
[0106] The above process flow enables automatic setup to be performed when the wireless chipset has restrictions and the 5 GHz frequency band is to be prioritized over the simultaneous use of multiple wireless interfaces (communication modes). When any communication mode is disabled, communication in the communication mode to be disabled is simply stopped. In that case, the settings related to the disabled communication mode are saved as they are. This is the same in other embodiments.
[0107] According to the first embodiment, with the above-described configuration and procedure, in a device that supports two communication modes, the wireless infrastructure mode and the P2P mode, the bandwidth of each communication mode can be appropriately set so as to satisfy the bandwidth constraints caused by the hardware limitations. At the same time, when the user specifies the settings, the settings can be implemented while respecting the settings as much as possible.
[0108] <<Embodiment 2>> A method for using wireless without impairing user convenience even when multiple wireless interfaces can operate simultaneously in parallel in one wireless device and there are restrictions on the hardware of a low-cost wireless chipset will be described in embodiment 2. As described in embodiment 1, restrictions on wireless use may arise due to the fact that only one CPU or antenna can be adopted for the wireless chipset, and firmware becomes complicated when multiple wireless interfaces are operated simultaneously.
[0109] The first constraint for low-cost wireless chipsets is that when they operate simultaneously in wireless infrastructure mode and P2P mode, the channels (and frequency bands) used in the wireless infrastructure mode and P2P mode must be the same.
[0110] The second constraint of low-cost wireless chipsets is that the 5GHz DFS function cannot be used in P2P mode (GroupOwner or soft AP). In other words, if a wireless chipset has the first and second constraints, the available frequency bands (2.4GHz, 5GHz) may be limited by the wireless interface depending on the setting (single IF / multiple IF) of each wireless interface. Since there is a trade-off between the available frequency bands and the simultaneous use of multiple interfaces, the convenience of wireless devices can be improved by avoiding these constraints through internal control of the wireless device.
[0111] In the first embodiment, as shown in FIG. 12, the use of the 5 GHz band is permitted in the wireless infrastructure mode when the P2P mode is disabled. When two communication modes, the wireless infrastructure mode and the P2P mode, are used simultaneously, the use is permitted by setting both to the 2.4 GHz band. This prevents the use of the same frequency band in both communication modes in accordance with the above-mentioned two constraints, and the use of the 5 GHz band without functioning DFS. Here, the 5 GHz band includes bands specified by DFS (e.g., W53, W56) and bands that do not require DFS. Therefore, the 5 GHz band can be used in P2P mode by avoiding bands that require DFS.
[0112] Therefore, in this embodiment, in order to avoid the first constraint and the second constraint, when the wireless infrastructure mode and the P2P mode operate in parallel, as a device, when operating in the 5 GHz band other than the 2.4 GHz band or the frequency band defined by DFS (for example, a band other than W52, W53, and W56), it is controlled to operate. Also, when the wireless infrastructure mode operates alone, it is controlled to operate in either the 5 GHz / 2.4 GHz band according to the connected wireless access point. In the wireless infrastructure mode, there are no constraints regarding the DFS function, so any band in the 5 GHz band can be selected in this case. When the P2P mode operates alone, it is controlled to operate in the 2.4 GHz band or the 5 GHz band other than the frequency band defined by DFS. As a specific example of the method for setting the wireless infrastructure mode and the P2P mode, the methods of enabling / disabling the IF by LAN setting, manual wireless setup, and automatic wireless setup will be described in order. In the following description, the figures and their descriptions common to the first embodiment are omitted, and the differences will be mainly described. In particular, the configuration of the system and each device in this embodiment, and the basic descriptions of the wireless infrastructure mode and the P2P mode are the same as those in the first embodiment, so the descriptions are omitted.
[0113] <Enabling / Disabling the IF by LAN Setting> On the main body operation unit, it is configured to be able to set the enabling / disabling of the IF to be used via the main body operation screen shown in Fig. 4(c) or the cableless reset setup. In this embodiment, the use of the wired LAN and the wireless LAN is exclusive, and it is not possible to enable the wireless infrastructure at the same time while the wired LAN is enabled. Conversely, it is also not possible to enable the wired LAN at the same time while the wireless LAN is enabled. It is possible to set both the wired LAN and the wireless LAN to be disabled at the same time. The USB IF cannot be disabled by user settings, but is always enabled at startup and can be used simultaneously with the wired LAN or the wireless LAN.
[0114] The wireless LAN has settings for P2P mode and wireless infrastructure mode, and can be set to enable / disable independently. It is possible to set P2P mode and wireless infrastructure mode to enable at the same time. In that case, MFP300 can perform P2P communication and wireless infrastructure communication at the same time. The set enable / disable state is saved in non-volatile memory 605 and is referenced at the next startup, and each IF is enabled based on the saved information.
[0115] When the LAN settings of the main unit are initialized, P2P mode and wireless infrastructure mode are disabled. Wired LAN is also disabled, and neither wired nor wireless LAN is used. Users who initialize the LAN settings will need to enable the desired IF individually and use it.
[0116] Communication mode setting according to embodiment 2 The IF switching will be explained using Figure 18. Figure 18 shows the possible combinations of communication mode and frequency band as LAN setting values. Communication mode setting 1 and communication mode setting 2 are patterns in which wireless infrastructure mode is enabled and P2P mode is disabled. For example, if you start from a disabled LAN state, set up a wireless access point in wireless infrastructure mode, and save the wireless settings when connection to the wireless access point is completed in the 2.4 GHz band, the communication mode will be 1. Communication mode setting 1 and communication mode setting 2 are the same settings in terms of the LAN settings (enabled / disabled) for wireless infrastructure mode and P2P mode, but as a result of a successful wireless connection, the saved frequency bands are different, so they are explicitly distinguished in the table.
[0117] Communication mode setting 3 and communication mode setting 4 are patterns in which wireless infrastructure mode is disabled and P2P mode is enabled. For example, when the P2P mode is switched from disabled to enabled on the operation display unit in Fig. 4(c) from a LAN disabled state, it is saved as communication mode setting 3. It may be possible to make it possible for the user to change whether the P2P mode operates in the 5 GHz band or the 2.4 GHz band. However, the frequency bands for P2P mode that can be selected in communication mode setting 4 are limited to bands in which the use of DFS is not specified.
[0118] A pattern in which the constraints of the wireless chipset become a barrier to IF switching is switching from communication mode setting 2 to another communication mode setting. In the state of communication mode setting 2, the wireless infrastructure mode is set to 5 GHz. When the P2P mode is switched from disabled to enabled on the operation display unit in FIG. 4(c), the first and second constraints of the wireless chipset become barriers. That is, due to the first constraint, in order to operate simultaneously in parallel, the P2P mode must also be started at 5 GHz in accordance with the channel and frequency band of the wireless infrastructure mode. However, due to the second constraint, the P2P mode cannot use the DFS function of 5 GHz and can only be started at 2.4 GHz. For this reason, FIG. 19 shows a flowchart of switching to a communication mode setting in which the P2P mode can be used, with priority given to the setting change to the P2P mode explicitly set by the user. FIG. 19 shows the process executed by the MFP 300, particularly the CPU 602.
[0119] In step S1901 of FIG. 19, an input operation from the user is received via the operation display unit of FIG. 4(c), and an instruction to switch the P2P mode from disabled to enabled is executed. In step S1902, a determination is made as to whether the wireless infrastructure mode setting is enabled or disabled. If the wireless infrastructure mode is disabled, the process proceeds to step S1906, where the P2P mode is activated on a channel set by the user or a factory default setting of the 2.4 GHz / 5 GHz band. If the 5 GHz band is set in the P2P mode, a channel in which the use of DFS is not specified is selected, so that the P2P mode can be activated using the set channel. However, if the channel is newly specified by the user or the like when the P2P mode is activated, the channel in the band in which the use of DFS is not specified is set again in step S1906, and P2P is activated. For example, a restriction may be set on the selection screen so that a channel in the band in which the use of DFS is specified (DFS band) cannot be selected for the P2P mode. Alternatively, when the DFS band is set by the user, the setting may be changed so as to set a channel in a band that is registered in advance and in which the use of DFS is not specified.
[0120] If the wireless infrastructure mode is enabled, the process proceeds to step S1903, where it is determined whether the frequency band of the wireless infrastructure mode setting already saved as the LAN setting is a frequency band used by the 5 GHz DFS function (hereinafter, referred to as the DFS usage band). If the wireless infrastructure mode setting corresponds to the 5 GHz DFS usage band, the setting change to the P2P mode explicitly set by the user is prioritized, and the communication mode setting is switched to communication mode setting 3 or communication mode setting 4 in which the P2P mode can be used. For this purpose, a warning is issued in step S1904 that the wireless infrastructure will be disabled, and the wireless infrastructure mode setting is disabled in step S1905. Then, the desired P2P mode is started in step S1906. However, if the 5 GHz band is set, a band other than the DFS usage band is set as described above.
[0121] If it is determined in step S1903 that the wireless infrastructure setting is a band other than the 2.4 GHz or 5 GHz DFS band, the process proceeds to step S1907, where the same channel and frequency band as the wireless infrastructure are set for P2P mode, and in step S1906 the P2P mode is activated.
[0122] Another example of a pattern in which wireless chipset restrictions become a barrier to IF switching is when changing from communication mode setting 4 (5 GHz band P2P mode) to a communication mode setting that uses 2.4 GHz by enabling wireless infrastructure mode. In other words, this is a case in which the settings are changed so that wireless infrastructure mode and P2P mode use different frequencies.
[0123] In the state of communication mode setting 4, the P2P mode is in the 5 GHz band excluding the DFS band. Therefore, when the wireless infrastructure mode, which was previously set up to connect in the 5 GHz band, is switched from disabled to enabled on the operation display unit in FIG. 4(c), the first and second constraints of the wireless chipset become obstacles. That is, due to the first constraint, in order to operate simultaneously in parallel, P2P must also be started in 5 GHz in accordance with the channel and frequency band of the wireless infrastructure mode. However, due to the second constraint, the P2P mode cannot use the DFS band of the 5 GHz DFS function. For this reason, FIG. 20 shows a flowchart for switching to communication mode setting 1 or communication mode setting 2, with a priority given to the setting change to the wireless infrastructure mode explicitly set by the user. FIG. 20 shows the process executed by the MFP 300, particularly the CPU 602.
[0124] In step S2001 of FIG. 20, an input operation from the user is received via the operation display unit of FIG. 4(c), and an instruction to switch the wireless infrastructure mode from the disabled setting to the enabled setting is executed. In step S2002, it is determined whether the P2P mode setting is enabled or disabled. If the P2P mode is disabled, the process proceeds to step S2006, where the previously saved frequency band and channel are specified to activate the wireless infrastructure mode. On the other hand, if the P2P mode is enabled as in communication mode setting 4, the process proceeds to step S2003, where it is determined whether the frequency band of the previously saved wireless infrastructure setting is the 5GHz DFS usage band or not. If the DFS usage band is set, the setting change to the wireless infrastructure mode explicitly set by the user is prioritized. Then, in order to switch to communication mode setting 1 or communication mode setting 2, a warning is issued in step S2004 that the P2P mode will be disabled, and the P2P mode setting is disabled in step S2005. Then, in step S2006, the desired wireless infrastructure mode is activated at 5GHz / 2.4GHz. If the wireless infrastructure setting is 2.4 GHz or a band other than the DFS available band in step S2003, the process proceeds to step S2007, where the same channel and frequency band as the wireless infrastructure are set for the P2P mode, and in step S2006 the P2P mode is started.
[0125] <Manual wireless setup> Fig. 21 is a flow chart showing manual setup of a wireless infrastructure performed by MFP 300. Fig. 21 shows processing executed by MFP 300, particularly CPU 602. In manual setup, a list of surrounding wireless access points searched for by user instruction is displayed on the operation display unit 305 of the MFP, and the user manually selects a wireless access point from the search results, hence the name manual setup. The flow chart of steps S2101 to S2106 is the same processing as steps S1501 to S1506 in <Wireless manual setup> of embodiment 1.
[0126] If the P2P setting is already enabled in step S2106, it is determined in step S2107 whether or not a connection has been made to a wireless access point in the 5 GHz DFS band. If a connection has been made in a band other than the 5 GHz DFS band or in the 2.4 GHz band, the P2P mode is enabled in step 2108 according to the channel obtained from the wireless infrastructure. If a connection has been made in the 5 GHz DFS band, a warning is displayed in step S2109, and the P2P mode is disabled in step S2110.
[0127] In this way, in the second embodiment, since there are the first and second restrictions of the wireless chipset, the frequency bands of the wireless infrastructure mode and the P2P mode can be connected together except when the DFS band is connected, which has the advantage that the user can use the wireless infrastructure mode and the P2P mode without hindering simultaneous use. Also, when the wireless access point is connected in the 5 GHz DFS band, a warning is displayed to the user, and the user is guided to a LAN setting that avoids the restrictions by disabling the P2P mode.
[0128] <Automatic wireless setup> During automatic wireless setup, it is necessary to try to connect in the order of priority given to either 2.4 GHz or 5 GHz from among the frequency information of the wireless parameters acquired from the wireless access point. In the second embodiment, although there is a second restriction of the wireless chipset, if the connection is made in a band other than the 5 GHz DFS band, the condition for simultaneous use of the wireless infrastructure mode and the P2P mode can be met. Here, a method of prioritizing the 5 GHz wireless infrastructure connection and operating the wireless infrastructure and the P2P mode in the same frequency band as much as possible will be described. When connecting to a wireless access point with priority given to 5 GHz, the wireless connection profile is received and stored in the same manner as in steps S1601 to S1616 in FIG. 16 according to the description of <Automatic Wireless Setup (5 GHz Priority)> in the first embodiment. The subsequent processing will be described with reference to FIG. 22. FIG. 22 shows processing executed by the MFP300, particularly the CPU602. Steps S2201 to S2204 in FIG. 22 are the same as the 5 GHz connection processing of <Automatic Wireless Setup (5 GHz Priority)> in the first embodiment described using steps S1717 to S1720 in FIG.
[0129] If wireless connection in the 5 GHz band is successful (YES in step S2203), the P2P mode setting is read from non-volatile memory 605 of MFP 300 in step S2204, and it is determined whether the setting is valid or invalid. If the P2P mode setting is valid (YES in step S2204), it is determined in step S2205 whether connection to the wireless access point is made in the DFS available band.
[0130] If it is determined that the connection is made using the DFS band, MFP300 displays a warning on the operation screen to the user in step S2206, and then disables the P2P mode setting in step S2207. The warning displayed on the operation screen to the user should inform the user that the P2P mode setting, which is not directly related to user operation, will be automatically disabled. If the P2P mode setting is disabled (NO in step S2204), the process ends.
[0131] S2208 to S2210 in FIG. 22 are the same as the 2.4 GHz connection process of <Wireless automatic setup (5 GHz preferred)> described in the first embodiment using steps S1722 to S1724 in FIG. 17. However, in the second embodiment, a different method for avoiding the first and second constraints of the wireless chipset is described. When the wireless infrastructure mode and the P2P mode operate in parallel at the same time, the device is controlled to operate in the 5 GHz band other than the 2.4 GHz or the frequency band specified by DFS. Therefore, when the P2P mode is enabled in step S2211 or S2204, the P2P mode is started in step S2312 according to the channel / frequency band of the wireless infrastructure mode. When the channel of the wireless infrastructure mode cannot be used in the P2P mode due to the constraint, the P2P mode is disabled (S2207) after issuing a warning (S2206).
[0132] The above method realizes 2.4GHz / 5GHz wireless setup using a common process flow for WPS (Wi-Fi Protected Setup), AOSS, and Rakuraku Wireless Start (registered trademark). The frequency band at the time of wireless setup completion is stored in a storage area and fixed to either 2.4GHz or 5GHz. This prevents the wireless chipset from unintentionally running into the first or second constraint, which would cause the wireless infrastructure mode or P2P mode to become unusable, after reconnecting after wireless disconnection.
[0133] According to this embodiment, the 5 GHz band is used by avoiding the DFS band, making it possible to use the 5 GHz band even in P2P mode. This allows for more room for band selection while complying with the second constraint, making it possible to select a more efficient band and use the wireless interface. Furthermore, the use of the same channel in two communication modes (P2P mode and wireless infrastructure mode) also complies with the first constraint.
[0134] <<Embodiment 3>> This paper describes a method for utilizing wireless communication without compromising user convenience, even when multiple wireless communication interfaces can operate simultaneously in parallel on a single wireless device and there are hardware constraints in the form of a low-cost wireless chipset.
[0135] The first constraint described in the first and second embodiments can be solved by incurring additional costs such as increasing the CPU configuration and antenna configuration of the wireless chipset in this embodiment. As a result, even when the wireless infrastructure mode and the P2P mode are operated simultaneously in parallel, it is assumed that independent channels (and frequency bands) can be used in the wireless infrastructure mode and the P2P mode. Therefore, the first constraint does not exist in the third embodiment. However, since the wireless chipset incurs additional costs by the amount of each configuration increase, it is difficult to apply this to low-priced products. As a second constraint of the low-cost wireless chipset, it is assumed that the 5GHz DFS function cannot be used in the P2P mode (GroupOwner or soft AP).
[0136] In this embodiment, in order to solve the second constraint, the P2P mode is controlled to operate in the 5 GHz band other than the frequency band specified by DFS. As a result, regardless of whether the wireless infrastructure mode is a single interface operation or a multiple interface operation, the wireless infrastructure mode is controlled to operate in either 5 GHz or 2.4 GHz according to the wireless access point to which the connection is made. Regardless of whether the wireless infrastructure mode is a single interface operation or a multiple interface operation, the P2P mode is controlled to operate in 2.4 GHz or in the 5 GHz band other than the frequency band specified by DFS. As a specific example of a method for setting the wireless infrastructure mode and the P2P mode, a method for switching between IF enable and disable by LAN setting, a method for manual wireless setup, and a method for automatic wireless setup will be described in order. In the following description, the figures and the description thereof common to the above-mentioned embodiments will be omitted, and the differences will be described in detail. In particular, the configuration of the system and the configuration of each device of this embodiment, and the basic description of the wireless infrastructure mode and the P2P mode will be omitted because they are the same as those of the first embodiment.
[0137] <Enabling / Disabling IFs Based on LAN Settings> On the main body operation unit, it is configured to enable / disable the IFs to be used via the main body operation screen shown in Fig. 4(c) or the cableless reset setup. In this embodiment, the use of wired LAN and wireless LAN is exclusive. When the wired LAN is enabled, it is not possible to simultaneously enable the wireless infrastructure. Conversely, when the wireless LAN is enabled, it is not possible to simultaneously enable the wired LAN. It is possible to simultaneously disable the wired LAN and the wireless LAN. The USB IF cannot be disabled by user settings but is always enabled at startup and can be used simultaneously with the wired LAN or the wireless LAN.
[0138] For the wireless LAN, there are settings for the P2P mode and the wireless infrastructure mode, and they can be individually and independently enabled / disabled. It is possible to simultaneously enable the P2P mode and the wireless infrastructure mode. In that case, the MFP300 can simultaneously perform communication via P2P and communication via the wireless infrastructure. The enabled / disabled state set is stored in the non-volatile memory 605 and is also referenced at the next startup, and each IF is enabled based on the stored information.
[0139] When the LAN setting items of the main body are initialized, the P2P mode and the wireless infrastructure mode become disabled. Also, the wired LAN becomes disabled, and the state is such that neither the wired nor the wireless LAN is used. The user who has initialized the LAN settings will individually enable and change the settings of the desired IF for use.
[0140] The switching of the IFs will be described with reference to Fig. 23. Fig. 23 shows the combinations of communication modes and frequency bands that can be set as LAN setting values.
[0141] Communication mode setting 1 and communication mode setting 2 are patterns where wireless infrastructure mode is enabled and P2P mode is disabled. For example, if you start with a disabled LAN state, set up a wireless access point in wireless infrastructure mode, and save the wireless settings when the connection to the wireless access point is completed in the 2.4 GHz band, the communication mode will be 1. Communication mode setting 1 and communication mode setting 2 have the same settings in terms of the LAN settings (enabled / disabled) for wireless infrastructure mode and P2P mode, but because the saved frequency bands are different as a result of a successful wireless connection, they are explicitly distinguished in the table.
[0142] Communication mode setting 3 and communication mode setting 4 are patterns in which wireless infrastructure mode is disabled and P2P mode is enabled. For example, when the P2P mode is switched from disabled to enabled on the operation display unit in Fig. 4(c) from a LAN disabled state, it is saved as communication mode setting 3. It may be possible to make it possible for the user to change whether the P2P mode operates in the 5 GHz band or the 2.4 GHz band. There are no patterns in which wireless chipset restrictions are a barrier to IF switching.
[0143] If you want to use the P2P mode in the 2.4GHz or 5GHz band, you can simply control it to operate only in bands other than the DFS band.
[0144] <Manual wireless setup> Fig. 24 is a flow chart showing manual setup of a wireless infrastructure performed by MFP 300. Fig. 24 shows processing executed by MFP 300, particularly CPU 602. In manual setup, a list of surrounding wireless access points searched for by user instruction is displayed on the operation display unit 305 of the MFP, and the user manually selects a wireless access point from the search results, hence the name manual setup. The first half of the flow chart, steps S2401 to S2405, is the same processing as steps S1501 to S1505 in Fig. 15 described in <Manual wireless setup> of the first embodiment.
[0145] If the P2P setting is already enabled in step S2406, a band other than the 5 Hz DFS band or the 2.4 GHz band is set to P2P mode in step S2407, and the P2P mode is enabled in step 2208. If the P2P setting is disabled in step S2406, the process ends.
[0146] As described above, in the third embodiment, since there is no first restriction on the wireless chipset, there is no need to match the frequency band or channel of the wireless infrastructure mode and the P2P mode. However, since there is the second restriction, it is sufficient to activate the P2P mode in a band other than the 5 GHz band used by DFS, or in 2.4 GHz.
[0147] <Automatic wireless setup> During automatic wireless setup, it is necessary to try to connect in the order of priority given to either 2.4 GHz or 5 GHz from among the frequency information of the wireless parameters acquired from the wireless access point. In the third embodiment, due to the second restriction of the wireless chipset, if the connection is made in a band other than the 5 GHz DFS band, the condition for simultaneous use of the wireless infrastructure mode and the P2P mode can be satisfied. Here, a method is described in which the wireless infrastructure connection is made in priority to 5 GHz, and the P2P mode is made in a band other than the 5 GHz DFS band. When connecting to a wireless access point with priority given to 5 GHz, the wireless connection profile is received and stored in the same manner as in steps S1601 to S1616 in FIG. 16, according to the description of <Automatic Wireless Setup (5 GHz Priority)> in the first embodiment. The subsequent processing is described with reference to FIG. 25. FIG. 25 shows processing executed by the MFP300, particularly the CPU602.
[0148] Steps S2501 to S2504 in FIG. 25 are the same as the 5 GHz connection process of <Automatic Wireless Setup (5 GHz Priority)> in the first embodiment described using steps S1717 to S1720 in FIG.
[0149] If a wireless connection is successful in the 5 GHz band (YES in step S2503), the P2P mode setting is read from the non-volatile memory 605 of the MFP 300 in step S2504, and it is determined whether the setting is valid or invalid. If the P2P mode setting is valid (YES in step S2504), the P2P mode is activated in a band other than the DFS usage band (S2505). At this time, since there is no first constraint on the wireless chipset, there is no need to match the frequency band or channel for the wireless infrastructure mode and the P2P mode. If the P2P mode setting is invalid (NO in step S2504), the process ends.
[0150] S2506 to S2508 in Fig. 25 are the same as the 2.4 GHz connection process of <Wireless automatic setup (5 GHz preferred)> in the first embodiment described using steps S1722 to S1724 in Fig. 17. The P2P mode start-up process in steps S2504 to S2405 is common regardless of whether a connection to a wireless infrastructure at 2.4 GHz or 5 GHz has been successful.
[0151] The above method achieves 2.4GHz / 5GHz wireless setup using a common process flow for WPS (Wi-Fi Protected Setup), AOSS, and Rakuraku Wireless Start (registered trademark).
[0152] The frequency band at the time of wireless setup completion is stored in a storage area and fixed to either 2.4 GHz or 5 GHz. However, unlike in the first and second embodiments, after reconnection when wireless is disconnected, there is no unintentional restriction of the wireless chipset, and the wireless infrastructure mode or P2P mode cannot be used. Therefore, it is not necessarily required to store the frequency band at the time of wireless setup completion in a storage area and fix it to either 2.4 GHz or 5 GHz.
[0153] 16, the wireless connection profile is received and stored, and therefore exists in the area of RAM 604 of MFP 300 that stores connection information for 5 GHz and 2.4 GHz. The frequency bands upon completion of wireless setup are as follows: A: 2.4GHz B: 5GHz C: 2.4GHz+5GHz The profile can be saved in the non-volatile memory 605 with either of the frequency settings A and B. Combination C is one in which the P2P mode and the wireless infrastructure mode use different frequencies, and is further divided into two profiles depending on which communication mode and which frequency are used. If the wireless chipset can use the 2.4 GHz and 5 GHz frequency bands and has the first constraint, the P2P mode may unintentionally become unusable due to the first constraint depending on the frequency band of the access point to which the wireless infrastructure is reconnected. For this reason, it is desirable to fix the profile and save it as "A: 2.4 GHz" or "B: 5 GHz" according to the wireless infrastructure connection destination.
[0154] On the other hand, in the case where the wireless chipset can use the 2.4 GHz and 5 GHz frequency bands as in this embodiment and there is no first constraint, the P2P mode will not be unintentionally disabled due to the first constraint depending on the frequency band of the wireless infrastructure connection destination. Therefore, it is desirable to save it as "C: 2.4 GHz + 5 GHz" in which the frequency band is set for each mode (i.e., for each wireless interface). By doing so, when the 5 GHz / 2.4 GHz wireless infrastructure is disconnected, the P2P mode can be used as it is without being disabled even if the wireless infrastructure is reconnected in either the 5 GHz DFS band or a frequency band other than the DFS band.
[0155] According to this embodiment, the 5 GHz band can be used even in P2P mode by avoiding the DFS band and using channels in the 5 GHz band. This increases the scope for band selection, making it possible to select a more efficient band for use in the wireless interface.
[0156] <<Embodiment 4>> There are multiple wireless communication interfaces in one wireless device, and even when there are constraints as the hardware of a low-cost wireless chipset, a method for using wireless without sacrificing user convenience will be described. In this embodiment, an example where multiple wireless interfaces do not operate simultaneously in parallel (that is, an example where multiple communication modes operate only individually) will be described. In this embodiment, the first constraints described in Embodiment 1 and Embodiment 2 do not become substantial communication constraints. Next, as the second constraint of the low-cost wireless chipset, it is assumed that the 5GHz DFS function cannot be used in the P2P mode (GroupOwner or soft AP). In the following description, the figures and their descriptions common to the above-described embodiments are omitted, and the different points will be mainly described. In particular, the configuration of the system and each device in this embodiment, and the basic description of the wireless infrastructure mode and the P2P mode are the same as those in the first embodiment, so the description will be omitted.
[0157] <Enable / Disable of IF by LAN Setting> The main body operation unit is configured to be able to set the enable / disable of the IF to be used via the main body operation screen shown in Fig. 4(c) or the cableless reset setup. In this embodiment, the use of the wired LAN and the wireless LAN is exclusive, and when the wired LAN is enabled, the wireless infrastructure cannot be enabled at the same time. Conversely, when the wireless LAN is enabled, the wired LAN cannot be enabled at the same time. It is possible to set both the wired LAN and the wireless LAN to be disabled at the same time. The USB IF cannot be disabled by user settings, but is always enabled at startup and can be used simultaneously with the wired LAN or the wireless LAN.
[0158] The wireless LAN has settings for P2P mode and wireless infrastructure mode, and can be set to enable / disable independently. However, the P2P mode and wireless infrastructure mode cannot be set to enable at the same time. The set enable / disable state is saved in the non-volatile memory 605, and is referenced at the next startup, and each IF is enabled based on the saved information. When the LAN setting items of the main body are initialized, the P2P mode and wireless infrastructure mode are disabled. In addition, the wired LAN is also disabled, and neither the wired nor wireless LAN is used. A user who initializes the LAN setting can individually change the setting to enable the desired IF and use it. For example, when one of the communication modes is enabled, if the other communication mode is enabled, the other communication mode is disabled before enabling the communication mode to be enabled. Furthermore, to satisfy the second constraint, the use of the 2.4 GHz band is permitted in the P2P mode, and the use of the 5 GHz band is not permitted.
[0159] The IF switching will be explained using Figure 26. Figure 26 shows the possible combinations of communication mode and frequency band as LAN setting values. Communication mode setting 1 and communication mode setting 2 are patterns in which wireless infrastructure mode is enabled and P2P mode is disabled. For example, if you start from a disabled LAN state, set up a wireless access point in wireless infrastructure mode, and save the wireless settings when connection to the wireless access point is completed in the 2.4 GHz band, the communication mode will be 1. Communication mode 1 and communication mode setting 2 have the same settings as the LAN settings (enabled / disabled) for wireless infrastructure mode and P2P mode, but as a result of a successful wireless connection, the saved frequency bands are different, so they are explicitly distinguished in the table.
[0160] Communication mode setting 3 is a pattern in which wireless infrastructure mode is disabled and P2P mode is enabled. For example, when the LAN is disabled and P2P mode is switched from disabled to enabled on the operation display unit in Fig. 4(c), it is saved as communication mode setting 3. Since P2P mode cannot use DFS, it is fixed to operate in the 2.4 GHz band. Since wireless infrastructure mode and P2P mode are set to exclusive operation and P2P mode is fixed to 2.4 GHz, there is no pattern in which wireless chipset restrictions become a barrier to IF switching.
[0161] <Manual wireless setup> Fig. 27 is a flowchart showing manual setup of a wireless infrastructure performed by MFP 300. Fig. 27 shows processing executed by MFP 300, particularly CPU 602. In manual setup, a list of surrounding wireless access points searched for by user instruction is displayed on the operation display unit 305 of the MFP, and the user manually selects a wireless access point from the search results, hence the name manual setup. The first half of the flowchart, steps S2701 to S2705, is the same processing as steps S1501 to S1505 in Fig. 15 described in <Manual Wireless Setup> of the first embodiment.
[0162] If the P2P setting is already enabled in step S2706, a warning screen is displayed on the MFP's operation display unit 305 in step S2707. This is because the wireless infrastructure mode and P2P mode operate exclusively, and therefore when the wireless infrastructure is enabled, the P2P mode is disabled in step S2708. If the P2P setting is disabled in step S2706, the process is terminated. Also, in the fourth embodiment, the wireless infrastructure mode and P2P mode operate exclusively, and therefore the first constraint on the wireless chipset becomes irrelevant.
[0163] <Automatic wireless setup> During automatic wireless setup, it is necessary to try to connect in the order of priority given to either 2.4 GHz or 5 GHz from among the frequency information of the wireless parameters acquired from the wireless access point. In the fourth embodiment, there is a second restriction of the wireless chipset, and to avoid this, the P2P mode is operated at a fixed 2.4 GHz. Here, a method of prioritizing 5 GHz for wireless infrastructure connection and operating at a fixed 2.4 GHz for P2P mode will be described. When connecting to a wireless access point with priority given to 5 GHz, the wireless connection profile is received and stored in the same manner as in steps S1601 to S1616 in FIG. 16, according to the description of <Automatic Wireless Setup (5 GHz Priority)> in the first embodiment. The subsequent processing will be described with reference to FIG. 28. FIG. 28 shows processing executed by the MFP300, particularly the CPU602.
[0164] Steps S2801 to S2804 in FIG. 28 are the same as the 5 GHz connection processing of <Automatic Wireless Setup (5 GHz Priority)> in the first embodiment described using steps S1717 to S1720 in FIG.
[0165] If wireless connection in the 5 GHz band is successful (YES in step S2803), the P2P mode setting is read from non-volatile memory 605 of MFP 300 in step S2804, and it is determined whether the setting is valid or invalid. If the P2P mode setting is valid (YES in step S2804), the P2P mode is disabled in step S2805 due to exclusive operation. If the P2P mode setting is invalid (NO in step S2504), the process ends.
[0166] Steps S2806 to S2508 in Fig. 28 are the same as the 2.4 GHz connection process of <Wireless automatic setup (5 GHz preferred)> in the first embodiment described using steps S1722 to S1724 in Fig. 17. The P2P mode disabling process in steps S2804 to S2805 is common regardless of whether a connection to a wireless infrastructure at 2.4 GHz or 5 GHz has been successful.
[0167] The above method achieves 2.4GHz / 5GHz wireless setup using a common process flow for WPS (Wi-Fi Protected Setup), AOSS, and Rakuraku Wireless Start (registered trademark). The frequency band at the time of wireless setup completion is stored in a storage area and fixed to either 2.4 GHz or 5 GHz. However, unlike in the first and second embodiments, after reconnection when wireless is disconnected, there is no unintentional restriction of the wireless chipset, and the wireless infrastructure mode or P2P mode cannot be used. Therefore, it is not necessarily required to store the frequency band at the time of wireless setup completion in a storage area and fix it to either 2.4 GHz or 5 GHz.
[0168] 16, the wireless connection profile is received and stored, so that the wireless connection profile exists in the area of RAM 604 of MFP 300 that stores the connection information for 5 GHz and 2.4 GHz. A: 2.4GHz B: 5GHz C: 2.4GHz+5GHz It is possible to store the setting in the non-volatile memory 605 with either of the above frequency settings. If the wireless chipset can use the 2.4 GHz and 5 GHz frequency bands and there is no first constraint, the P2P mode may unintentionally become unavailable due to the first constraint depending on the frequency band of the access point to which the wireless infrastructure is to be reconnected. For this reason, it is desirable to fix the setting and store it as "A: 2.4 GHz" or "B: 5 GHz" according to the connection destination of the wireless infrastructure.
[0169] Conversely, in the present embodiment, when the wireless chipset can use the 2.4 GHz and 5 GHz frequency bands and the first constraint is not relevant because the frequency bands are exclusively used, the P2P mode will not be unintentionally disabled due to the first constraint depending on the frequency band to which the wireless infrastructure is connected. Therefore, it is desirable to save it as "C: 2.4 GHz + 5 GHz". By doing so, when the 5 GHz / 2.4 GHz wireless infrastructure is disconnected, the wireless infrastructure can be reconnected in any frequency band within the 5 GHz DFS band or outside the DFS band.
[0170] In addition, since the connection in P2P mode is not maintained in the procedures of Figures 27 and 28 of this embodiment, the P2P mode may be disabled first before starting the processes of Figures 27 and 28. By doing so, the process of testing the validity of the P2P mode and the process of disabling the P2P mode depending on the result of that process become unnecessary.
[0171] In addition, P2P mode can also be used in the 5GHz band by limiting the settings to channels that do not use DFS.
[0172] According to this embodiment, simultaneous use of two communication modes, that is, P2P mode and wireless infrastructure mode, is restricted, and setting of a band that uses DFS is not permitted in P2P mode, thereby making it possible to simultaneously satisfy two constraints.
[0173] [Other embodiments] In the above-described embodiments, the 2.4 GHz band and the 5 GHz band have been given as examples of frequency bands to be used. However, the present invention can also use other frequency bands. For example, the present invention can also be applied to cases where frequency bands other than those mentioned above become available due to additions or changes to wireless LAN communication standards.
[0174] The present invention can also be realized by a process in which a program for realizing one or more functions of the above-mentioned embodiments is supplied to a system or device via a network or a storage medium, and one or more processors in the computer of the system or device read and execute the program. In this case, the program code itself read from the storage medium realizes the functions of the above-mentioned embodiments. Processors include CPUs, MPUs, and other processors. The present invention can also be realized by a circuit (e.g., ASIC) that realizes one or more functions.
[0175] 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.
[0176] Furthermore, not only can the functions of the above-described embodiments be realized by the computer executing the read program code, but the OS or applications running on the computer can also perform part or all of the actual processing based on the instructions of the program code. The present invention also includes cases where the functions of the above-described embodiments are realized by the processing of the OS or applications. [Explanation of symbols]
[0177] 200 Portable communication terminal device, 201 WLAN unit, 202 Display unit, 203 Operation unit, 204 Power key, 300 MFP, 301 Document table, 302 Document cover, 303 Print paper insertion port, 304 Print paper ejection port, 305 Operation display unit, 306 WLAN antenna
Claims
1. A communication device capable of performing wireless communication using a first frequency band and wireless communication using a second frequency band different from the first frequency band, a communication means capable of executing a first communication mode for enabling wireless communication with an information processing device via an external access point, and a second communication mode for enabling wireless communication with an information processing device as a slave station, without going through the external access point, in which the communication device functions as a master station; a control means for setting a channel to be used by said communication means and controlling said communication means; a storage means for storing information regarding whether the communication device is in an initial startup state; Equipped with When the communication device is not in the initial startup state, In the first communication mode, the communication means can communicate using any of a channel of the first frequency band, a channel of a specific frequency band that is included in the second frequency band and to which a DFS (Dynamic Frequency Selection) function needs to be applied, and a channel of a frequency band that is included in the second frequency band and different from the specific frequency band; In the second communication mode, the communication means is capable of communicating using either a channel of the first frequency band or a channel of a frequency band included in the second frequency band and different from the specific frequency band, and is controlled not to communicate using a channel of the specific frequency band; both the first communication mode and the second communication mode are enabled, the communication means communicates using a channel of the specific frequency band in the first communication mode, and the control means sets a channel of the different frequency band as a channel of the second communication mode; A communication device comprising:
2. A communication device capable of performing wireless communication using a first frequency band and wireless communication using a second frequency band different from the first frequency band, a communication means capable of executing a first communication mode for enabling wireless communication with an information processing device via an external access point, and a second communication mode for enabling wireless communication with an information processing device as a slave station, without going through the external access point, in which the communication device functions as a master station; a control means for setting a channel to be used by said communication means and controlling said communication means; a storage means for storing information regarding whether the communication device is in an initial startup state; Equipped with When the communication device is not in the initial startup state, When both the first communication mode and the second communication mode are enabled, the control means sets a channel to be used in the second communication mode based on a channel to be used in the first communication mode; The communication means communicates in the first communication mode using a channel of a specific frequency band that is included in the second frequency band and to which a DFS (Dynamic Frequency Selection) function needs to be applied, and the control means controls the communication means not to execute communication in the second communication mode using a channel of the specific frequency band; The communication means communicates using a channel of the specific frequency band in the first communication mode, and the control means sets a channel of a frequency band that is included in the second frequency band and different from the specific frequency band as a channel of the second communication mode. A communication device comprising:
3. When both the first communication mode and the second communication mode are enabled, if a channel of the first frequency band is used in the first communication mode, the control means sets the same channel as the channel used in the first communication mode as the channel to be used in the second communication mode.
3. The communication device according to claim 1 or 2.
4. The communication means communicates in the first communication mode on a channel of the specific frequency band, and the control means controls the communication means not to communicate in the second communication mode.
4. The communication device according to claim 1, wherein the first and second inputs are connected to the first and second inputs.
5. The communication means communicates using a channel of the different frequency band in the first communication mode, and the control means sets the same channel as that used in the first communication mode as the channel to be used in the second communication mode.
4. The communication device according to claim 1, wherein the first and second inputs are connected to the first and second inputs.
6. The communication means communicates in the first communication mode on a channel of the different frequency band, and the control means controls the communication means not to communicate in the second communication mode.
6. The communication device according to claim 1, wherein the first and second inputs are connected to the first and second inputs.
7. the communication means acquires setting information required for connecting to an external access point through communication with an external device; Based on information regarding a frequency band included in the acquired setting information, the communication means connects to the external access point and executes communication in the first communication mode.
7. The communication device according to claim 1, wherein the first and second inputs are connected to the first and second inputs.
8. When the information regarding the frequency band included in the acquired setting information indicates a channel of the first frequency band, the communication means executes the second communication mode using the same channel as a channel used for connecting to the external access point; When the information on the frequency band included in the acquired setting information indicates a channel of the specific frequency band, the communication means does not execute the second communication mode.
8. The communication device according to claim 7,
9. when the second communication mode is enabled in a state in which the first communication mode is enabled and a channel of the specific frequency band is set as a channel to be used in the first communication mode, the communication means executes the second communication mode without executing the first communication mode; When the second communication mode is enabled in a state in which the first communication mode is enabled and a channel of the first frequency band is set as a channel to be used in the first communication mode, the communication means executes the second communication mode using the same channel as the channel to be used in the first communication mode.
9. A communication device according to claim 1, wherein the communication device is a communication device having a plurality of communication ports.
10. when the communication means enables the first communication mode in a state in which the second communication mode is enabled and a channel of the specific frequency band is set as a channel to be used in the first communication mode, the communication means executes the first communication mode without executing the second communication mode; When the second communication mode is enabled and a channel of the first frequency band is set as a channel to be used in the first communication mode, the communication means executes the first communication mode using the same channel as the channel to be used in the first communication mode when enabling the first communication mode.
10. The communication device according to claim 1 ,
11. the communication means searches for an external access point and acquires response information including identification information from the external access point; The communication means connects to an external access point corresponding to identification information selected by a user from among the identification information displayed on the display means of the communication device based on the acquired response information, and executes communication in the first communication mode.
11. The communication device according to claim 1 ,
12. When the second communication mode is enabled and an external access point corresponding to the selected identification information is connected via a channel of the first frequency band, the control means sets a channel to be used in the second communication mode to the same channel as a channel of the first communication mode; When the second communication mode is enabled and a connection is made with an external access point corresponding to the selected identification information through a channel of the specific frequency band, the communication means does not execute the second communication mode.
12. The communication device according to claim 11 .
13. the communication means acquires connection information including information about a frequency band from an external access point by a wireless automatic setup method; When the acquired connection information includes information on the first frequency band and information on the second frequency band, the communication unit prioritizes the first frequency band when connecting to the external access point.
13. A communication device according to claim 1 .
14. The wireless automatic setup method is one of WPS (Wi-Fi Protected Setup), AOSS (AirStation One-Touch Secure System), and Raku-Raku Wireless Start.
14. The communication device according to claim 13 .
15. When the second communication mode is enabled and the external access point is connected via a channel of the first frequency band, the control means sets a channel to be used in the second communication mode to the same channel as a channel of the first communication mode; When the communication means is connected to the external access point through a channel of the specific frequency band in a state in which the second communication mode is enabled, the communication means does not execute the second communication mode.
15. A communication device according to claim 13 or 14.
16. When either the first communication mode or the second communication mode is disabled, a message is displayed on a display means of the communication device.
16. A communication device according to claim 1 , wherein the communication device is a communication device.
17. The communication means executes the first communication mode and the second communication mode by communication conforming to the IEEE 802.11 series.
17. A communication device according to any one of claims 1 to 16.
18. The first communication mode is a mode in which the external access point operates as a master station and the communication device operates as a slave station.
18. A communication device according to any one of claims 1 to 17.
19. In the first communication mode, a channel to be set by the control means is determined based on information about a frequency obtained from the external access point serving as a master station; In the second communication mode, the channel set by the information processing device serving as a slave station is determined based on the channel set by the control means.
19. A communication device according to any one of claims 1 to 18.
20. In the second communication mode, the communication device operates fixedly as a master station.
20. A communication device according to any one of claims 1 to 19.
21. In the second communication mode, the communication device operates as a master station by executing a negotiation for determining a role.
21. A communication device according to any one of claims 1 to 20.
22. The second communication mode is a mode in which the communication device operates as a master station by executing an access point function of the communication device.
22. A communication device according to any one of claims 1 to 21.
23. The second communication mode is a mode in which the communication device operates as a group owner of Wi-Fi Direct (registered trademark) and thereby operates as a parent station.
23. A communication device according to any one of claims 1 to 22.
24. When the communication in the first communication mode and the communication in the second communication mode are executed in parallel, the control means is capable of setting a channel to be used in the second communication mode that is different from the channel in the first communication mode.
24. A communication device according to any one of claims 1 to 23.
25. A user can set whether the second frequency band or the first frequency band is to be used as the frequency band used by the communication means, and communication in the second communication mode is performed using a channel of the frequency band based on the setting by the user.
25. A communication device according to any one of claims 1 to 24.
26. The communication device is further capable of performing communication via a wired LAN; When the wired LAN is enabled, the communication means cannot execute either the first communication mode or the second communication mode.
26. A communication device according to any one of claims 1 to 25.
27. The communication device is a scanner device.
27. A communication device according to any one of claims 1 to 26.
28. The communication device is a printer 28. A communication device according to any one of claims 1 to 27.
29. A communication device as described in any one of claims 1 to 28, characterized in that even if the communication means communicates using a channel of the specific frequency band in the first communication mode and the information processing device is capable of communicating using the specific frequency band, the control means controls the communication means not to perform communication in the second communication mode using a channel of the specific frequency band.
30. A program for causing a computer to function as each of the means according to any one of claims 1 to 29.
Citation Information
Patent Citations
Control of the zero flow rate operation in hydraulic machine
JP1977079151A
Radio communication device and communication method thereof
JP2009302874A
Radio communication apparatus, radio communication system, and radio communication method
JP2010278825A
Peer-to-peer communications on restricted channels
JP2015115950A
Communication device, control method, and program
JP2015188132A
