Communication device, control method for the same, and program
The communication device addresses the need for improved control over multi-link communication by using IEEE 802.11be for multi-link and IEEE 802.11 for single-link communications, and dynamically switching based on UDP communication states to optimize performance and efficiency.
Patent Information
- Application Number
- JP2023210832
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-12-14
- Publication Date
- 2025-06-26
AI Technical Summary
In environments where communication using multiple links is available, there is a need for more appropriate control over the execution of such communication to optimize performance and efficiency.
A communication device that performs wireless communication with external devices compliant with the IEEE 802.11 standard, featuring an establishment means for setting up links using IEEE 802.11be for multi-link communication or IEEE 802.11 for single-link communication, and a control means that determines whether to execute multi-link or single-link communication based on the device's state of performing UDP communication.
This solution allows for more appropriate control of communication using multiple links, enhancing performance and efficiency by dynamically adjusting the number of links based on the communication state and requirements.
Smart Images

Figure 2025095056000001_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a communication device, a control method for a communication device, and a program.
Background Art
[0002] In an Extended Service Set (ESS) composed of a plurality of Access Points (APs), there is a technology for dynamically switching the connection destination AP so that the AP and the Station (STA) can efficiently exchange data. When it is determined that the connection destination AP should be switched based on the congestion status of the AP to which the STA is connected, the availability of other APs, the radio wave status, etc., the connected AP sends a connection AP change request to the STA. When the STA receives the AP change request, it can connect to an appropriate AP by switching the connection destination AP according to the request.
[0003] Patent Document 1 discloses the following as a process of requesting a connection destination change from a router having AP functions to a connected wireless slave device. A Mobile Router (MR1) that can be connected to a plurality of wireless slave devices checks whether the wireless slave device terminal supports IEEE802.11v. Whether the wireless slave device terminal supports IEEE802.11v can be determined from the Association Request frame transmitted when the wireless slave device terminal makes a wireless connection to the MR1. When the wireless slave device terminal supports IEEE802.11v, a BTM (BSS Transition Management) Request frame is transmitted to the corresponding wireless slave device terminal. The BSS Transition Candidate List Entries field of the BTM Request frame specifies the BSS ID of the parent router RT2 as the connection destination. This prompts the connection destination switch of the slave device terminal, and the wireless slave device terminal switches the connection destination from the MR1 to the RT2 according to the received BTM Request frame.
[0004] In the newly established IEEE 802.11be standard, multi-link communication is realized in which a plurality of wireless links are established between a communication device serving as an AP and other communication devices serving as STAs via a plurality of different frequency channels, and communication is performed in parallel over those links.
Prior Art Documents
Patent Documents
[0005]
Patent Document 1
Summary of the Invention
Problems to be Solved by the Invention
[0006] In an environment where communication using a plurality of links is available, it is desired to more appropriately control the execution of communication using a plurality of links.
[0007] Therefore, an object of the present invention is to more appropriately control the execution of communication using a plurality of links.
Means for Solving the Problems
[0008] The present invention is a communication device that performs wireless communication with an external device compliant with the IEEE 802.11 standard, and includes an establishment means for establishing a link between the external device and the communication device by a communication function compliant with the IEEE 802.11 standard, and as communication between the external device and the communication device, a first communication using a first number of links between the external device and the communication device established by a communication function compliant with the IEEE 802.11be standard, or a second communication using a second number of links less than the first number between the external device and the communication device established by a communication function compliant with the IEEE 802.11 standard, and a control means for executing a predetermined process for controlling whether to execute the first communication or the second communication based on whether the communication device is in a state of executing UDP (User Datagram Protocol) communication.
Effects of the Invention
[0009] According to the present invention, the execution of communication using a plurality of links can be more appropriately controlled.
Brief Description of the Drawings
[0010]
Figure 1
Figure 2
Figure 3
Figure 4
Figure 5
Figure 6
Figure 7
Figure 8
Modes for Carrying Out the Invention
[0011] Hereinafter, embodiments will be described in detail with reference to the accompanying drawings. Note that the following embodiments do not limit the invention according to the claims. Although a plurality of features are described in the embodiments, not all of these plurality of features are essential for the invention, and the plurality of features may be arbitrarily combined. Further, in the accompanying drawings, the same or similar configurations are given the same reference numerals, and redundant explanations are omitted.
[0012] Hereinafter, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
[0013] (Configuration of Wireless Communication System) Fig. 1 shows a configuration example of a communication network according to the present embodiment. Fig. 1 shows a configuration including one access point (AP) 101 and two wireless slave devices 102 and 105. The wireless slave devices are stations, hereinafter referred to as STAs. In the present embodiment, the AP 101 and the STAs 102 and 105 each correspond to one device. Specifically, for example, the AP 101 is one external device and one wireless LAN (Local Area Network) router. Also specifically, for example, the STAs 102 and 105 are each one printer. As shown in Fig. 1, the communication network formed by the AP 101 is indicated by a circle 100. The AP 101 and the STAs 102 and 105 can transmit and receive signals to and from each other. Hereinafter, a communication network configured by wireless communication may be simply referred to as a network or a wireless network. The STAs 102 and 105 may also be referred to as slave devices, wireless slave devices, or wireless terminals. Also, the AP 101 and the STAs 102 and 105 may be collectively referred to as communication devices or communication devices.
[0014] STA102 and 105 have joined the network constituted by AP101, and AP101, STA102, and 105 can perform wireless communication compliant with the IEEE802.11be (EHT) standard. Note that IEEE is the abbreviation of Institute of Electrial and Electronics Engineers. Also, EHT is the abbreviation of Extremely High Throughput. Note that EHT may also be interpreted as the abbreviation of Extreme High Throughput. Also, IEEE802.11be is also referred to as Wi-Fi (registered trademark) 7. In EHT, each communication device can communicate at frequencies in the 2.4 GHz band, 5 GHz band, and 6 GHz band. The frequency band used by each communication device is not limited to this, and for example, a different frequency band such as the 60 GHz band may be used. Also, AP101, STA102, and 105 can communicate using bandwidths of 20 GHz, 40 MHz, 80 MHz, 160 MHz, and 320 MHz. The bandwidth used by each communication device is not limited to this, and for example, different bandwidths such as 240 MHz and 4 MHz may be used.
[0015] Although AP101, STA102, and 105 are assumed to comply with the IEEE802.11be standard, in addition to this, they may also comply with legacy standards that are older than the IEEE802.11be standard, or they may comply with successor standards to IEEE802.11be. Specifically, AP101 and STA102 may comply with at least one of the IEEE802.11a / b / g / n / ac / ax standards. Also, in addition to the IEEE802.11 series of standards, they may comply with other communication standards such as Bluetooth (registered trademark), NFC, UWB, ZigBee, MBOA, etc. Note that UWB is an abbreviation for Ultra Wide Band, and MBOA is an abbreviation for Multi Band OFDM Alliance. Also, NFC is an abbreviation for Near Field Communication. UWB includes wireless USB, wireless 1394, WiNET, etc. Also, AP101 may comply with the communication standards of wired communication such as wired LAN. Specific examples of AP101 include, but are not limited to, wireless LAN routers, personal computers (PCs), single-function access points, etc. Also, AP101 may be an information processing device such as a wireless chip that can execute wireless communication compliant with the IEEE802.11be standard. Also, specific examples of STA102 include, but are not limited to, cameras, tablet terminals, smartphones, personal computers (PCs), mobile phones, video cameras, headsets, etc. Also, STA102 may be an information processing device such as a wireless chip that can execute wireless communication compliant with the IEEE802.11be standard. Also, specific examples of STA105 include image forming devices having composite functions such as printers that form images and scanners that read images.
[0016] STA105 is an image forming apparatus such as, for example, a single-function printer or a digital multi-function peripheral having a scanner for optically reading images. This image forming apparatus is a STA with respect to AP101, and is thus called STA105, and may also be called communication device 105. STA105 is connected to AP101 by communication conforming to the IEEE802.11be standard. A unit of processing specific to an image forming apparatus, such as image formation or image reading executed by STA105, is called a job, and STA105 can execute a plurality of jobs whose used resources do not conflict in parallel. For example, STA105 can execute a scan job and a print job that does not use a scanner in parallel.
[0017] Servers 111A and 111B are so-called cloud servers arranged on the Internet. One or both of them have the function of a print server that stores print data received from a terminal and transmits the print data to STA105 in response to or without a request. Servers 111A and 111B are here described as cloud servers, but may be connected by wireless communication conforming to AP101 and IEEE802.11be. Also, servers 111A and 111B may be servers that provide services other than a print server. In the following description, the description of STA102 also applies to STA105 which is an image forming apparatus. Note that only one of servers 111A or 111B may exist, or there may be three or more servers.
[0018] AP101 and STA102, 105 execute Multi-Link communication (multi-link communication) to establish and communicate multiple links via multiple frequency channels. The AP corresponding to one device that executes Multi-Link communication and the STA corresponding to one device each include a plurality of virtual APs and a plurality of virtual STAs. Therefore, the AP corresponding to one device and the STA corresponding to one device are also referred to as an AP multi-link device (AP MLD) and an STA multi-link device (STA MLD), respectively. The STA MLD may also be called a Non-AP MLD. The AP MLD and the STA MLD may also be called communication devices or communication apparatuses, respectively. And the virtual AP and the virtual STA are called affiliated APs (participating APs) and affiliated STAs (participating STAs), respectively. The plurality of affiliated APs included in one AP MLD are APs that communicate using different channels. Similarly, the plurality of affiliated STAs included in one STA MLD are STAs that communicate using different channels. In the IEEE 802.11 series standards, the bandwidth of each frequency channel is defined as 20 MHz. Here, the frequency channel is a frequency channel defined in the IEEE 802.11 series standards. In the IEEE 802.11 series standards, a plurality of frequency channels are defined in each frequency band of the 2.4 GHz band, 5 GHz band, 6 GHz band, and 60 GHz band. Therefore, the plurality of affiliated APs and the plurality of affiliated STAs will use any one of the above frequency channels. Note that by bonding with adjacent frequency channels, a bandwidth of 40 MHz or more may be utilized in one frequency channel. For example, AP101 can establish and communicate a link 103 with STA102 via a first frequency channel in the 5 GHz band. In parallel with this, STA102, 105 can establish and communicate a link 104 with AP102 via a second frequency channel in the 6 GHz band.In this case, STAs 102 and 105 execute Multi-Link communication to maintain a second link 104 via a second frequency channel in parallel with link 103 via the first frequency channel. In the following, when AP 101 and STAs 102 and 105 support multi-link communication, to distinguish the individual APs and STAs included therein, AP 101 is called AP MLD101, and STAs 102 and 105 are called STA MLD102 and 105. However, when there is no risk of confusion, they are called AP 101 and STAs 102 and 105.
[0019] An example of a sequence diagram for performing Multi-Link communication is shown in FIG. 2. In FIG. 2, affiliated APs are represented by appending numbers such as AP1, AP2 ···, and affiliated STAs are represented by appending numbers such as STA1, STA2 ···. That is, in FIG. 2, for example, AP MLD101 includes AP1 which is the first AP, AP2 which is the second AP, and AP3 which is the third AP. STA MLD102 and 105 each include STA1 which is the first STA, STA2 which is the second STA, and STA3 which is the third STA. AP1 and STA1 establish a first link using the first frequency channel. AP2 and STA2 establish a second link using the second frequency channel. AP3 and STA3 establish a third link using the third frequency channel. In this embodiment, the connection between an affiliated STA and an affiliated AP is referred to as a link. Also, the first frequency channel to the third frequency channel are the 2.4 GHz band, 5 GHz band, and 6 GHz band respectively in the example of FIG. 2, but may be other available frequency bands. In this case, the number of APs included in AP MLD is not limited to three and may be a number corresponding to the available frequency band. The same applies to STA MLD. As described above, an AP associated with each frequency band capable of performing data communication is called an affiliated AP, and a STA associated with each frequency band capable of performing data communication is called an affiliated STA. The affiliated AP and the affiliated STA may be preset by a user such as an administrator from among the APs included in, for example, AP MLD101 or the STAs included in STA MLD102, 105. The determination of whether to connect via Multi-Link is made based on the Basic Multi-Link element. AP MLD transmits the Basic Multi-Link element by attaching it to a Beacon or a Probe Response to a Probe Request from a STA.The STA MLD determines whether the Basic Multi-Link element is included in the Beacon or Probe Response sent by any affiliated AP, and determines whether it is an AP MLD or not. If the Basic Multi-Link element is included, the transmitting AP can be determined to be an AP MLD.
[0020] When the communication partner AP (hereinafter referred to as the opposing AP) is an AP MLD, the frequency band and channel information of other affiliated APs belonging to the same AP MLD are obtained from the RNR (Reduced Neighbor Report) element included in the acquired Beacon or Probe Response. Whether it is the same AP MLD is determined by the MLD ID included in the RNR element being 0. The format of the RNR element is shown in Figure 3. The RNR element includes the MLD ID 301 as shown in Figure 3. The STA MLD switches to the frequency band and channel indicated by the acquired channel information, obtains detailed information of each affiliated AP, and connects to the affiliated AP to be connected in a Multi-Link based on this. If the opposing AP is not an AP MLD, it connects on a single frequency channel. When the STA and the AP establish a connection, first, STA1 requests authentication from AP1 using an Authentication Frame. When the authentication is successful, STA1 sends an Association Request to AP1. AP1 returns an Association Response to associate with each other. Then, a 4-way handshake is performed to install the encryption / decryption keys.
[0021] By establishing a plurality of links between AP101 and STAs 102 and 105 via a plurality of frequency channels in this manner, the throughput in the communication between AP101 and each of STAs 102 and 105 can be improved. In this embodiment, as will be described in Examples 1 and 2 below, even if beacons or probe responses received by STAs 102 and 105 indicate that AP101 is an AP MLD, multi-link is not unconditionally set. Instead, multi-link is set according to the situation, or the number of those links is changed. This will be described with reference to FIGS. 6A, 6B, and 7.
[0022] Note that in Multi-Link communication, a plurality of links with different frequency bands may be established between communication devices. For example, in addition to Link 103 in the 5 GHz band and Link 104 in the 6 GHz band between AP101 and STA102, a third link in the 2.4 GHz band may be established. Alternatively, links may be established via a plurality of different channels included in the same frequency band. For example, Channel 15 in the 6 GHz band may be used as the first link, and in addition, Channel 207 in the 6 GHz band may be used as the second link. Note that links with the same frequency band and different links may be mixed. For example, in addition to Link 103 of Channel 36 in the 5 GHz band between each of AP101 and STAs 102 and 105, a link of Channel 149 in the 5 GHz band and a link of Channel 15 in the 6 GHz band may be established. By establishing a plurality of connections with different frequencies between AP101 and STA102, even when a certain band is congested, communication can be established with STA102 in the other band, so that a decrease in throughput and communication delay in the communication with STA102 can be prevented. The same applies to STA105.
[0023] (Configuration of AP and STA) FIG. 4 shows an example of the hardware configuration of AP101 in this embodiment. AP101 includes a storage unit 401, a control unit 402, a functional unit 403, an input unit 404, an output unit 405, a communication unit 406, and an antenna 407. Note that there may be a plurality of antennas.
[0024] The storage unit 401 is composed of one or more memories such as non-volatile memory devices like ROM and RAM, and stores computer programs for performing various operations described later, as well as various information such as communication parameters for wireless communication. ROM is an abbreviation for Read Only Memory, and RAM is an abbreviation for Random Access Memory. In addition to memories such as ROM and RAM, storage media such as flexible disks, hard disks, optical disks, magneto-optical disks, CD-ROMs, CD-Rs, magnetic tapes, non-volatile memory cards, and DVDs may be used as the storage unit 401. Also, the storage unit 401 may include a plurality of memories and the like.
[0025] The control unit 402 is composed of, for example, one or more processors such as a CPU or an MPU, and controls the entire AP101 by executing the computer program stored in the storage unit 401. Note that the control unit 402 may control the entire AP101 by cooperating with the computer program stored in the storage unit 401 and the OS (Operating System). Also, the control unit 402 generates data and signals (wireless frames) to be transmitted in communication with other communication devices. Note that CPU is an abbreviation for Central Processing Unit, and MPU is an abbreviation for Micro Processing Unit. Also, the control unit 402 may include a plurality of processors such as a multi-core processor, and control the entire AP101 by the plurality of processors.
[0026] In addition, the control unit 402 controls the functional unit 403 to execute predetermined processes such as wireless communication, imaging, printing, and projection. The functional unit 403 is hardware for the AP101 to execute predetermined processes.
[0027] The input unit 404 receives various operations from the user. The output unit 405 performs various outputs to the user via a monitor screen or a speaker. Here, the output by the output unit 405 may be a display on the monitor screen, an audio output by the speaker, a vibration output, or the like. Note that both the input unit 404 and the output unit 405 may be realized by a single module such as a touch panel. Also, the input unit 404 and the output unit 405 may be integrated with the AP101 or separate from it, respectively.
[0028] The communication unit 406 controls wireless communication compliant with the IEEE802.11be standard. In addition to the IEEE802.11be standard, the communication unit 406 may control wireless communication compliant with other IEEE802.11 series standards or wired communication such as a wired LAN. The communication unit 406 controls the antenna 407 to transmit and receive signals for wireless communication generated by the control unit 402.
[0029] Note that when the AP101 supports communication standards such as NFC and Bluetooth in addition to the IEEE802.11be standard, it may control wireless communication compliant with these communication standards. Also, when the AP101 can execute wireless communication compliant with multiple communication standards, it may have separate communication units and antennas corresponding to each communication standard. The AP101 communicates data such as image data, document data, and video data with a counterpart device via the communication unit 406. Note that the antenna 407 may be configured separately from the communication unit 406 or may be configured as a single module together with the communication unit 406.
[0030] The antenna 407 is an antenna capable of communication in the 2.4 GHz band, 5 GHz band, and 6 GHz band. In this embodiment, it is assumed that the AP102 has two antennas, but it may have three antennas. Alternatively, it may have different antennas for each frequency band. Also, when the AP101 has a plurality of antennas, it may have a communication unit 406 corresponding to each antenna.
[0031] Note that STA102 and STA105 have the same hardware configuration as AP101 shown in FIG. 4. Since STA105 is, for example, an image forming apparatus, in addition to the configuration of FIG. 4, it may have an image forming unit (printer unit) such as an inkjet method or an electrophotographic method, a reading unit (scanner unit) that reads an image recorded on a document such as paper, and a control unit for them. Furthermore, it may have an image processing unit for processing the image to be recorded or the read image, and a storage unit for storing print data received from a terminal or a server. Regarding STA105, the configuration shown in FIG. 4 is called a controller unit separately from the configuration specific to an image forming apparatus such as an image forming unit or a scanner unit. The same applies to STA102, but ST102 may be a device different from STA105. For example, STA102 may have at least one of a printer unit that prints image data on a medium and a scanner unit that reads a document. Also, STA102 may have a camera unit that performs imaging. That is, STA102 may be an image processing apparatus such as a printer, a scanner, or an MFP, or may be a portable terminal such as a smartphone or a tablet, a camera, or a personal computer (PC).
[0032] Fig. 8 shows an example of the configuration and memory areas of the memory unit 401 included in STAs 102 and 105 in the present embodiment. The memory unit 401 includes a non-volatile memory unit 801 and a RAM 802. The non-volatile memory unit 801 includes function information 8011 indicating the functions of STAs 102 and 105, and Multi-Link communication settings 8012 set by a user, for example. The function information 8011 includes multi-link support information indicating whether STAs 102 and 105 support multi-link communication. The Multi-Link communication settings 8012 are set by a user from the user interfaces of STAs 102 and 105 or remotely via communication. The setting value is either to perform (ON) or not perform (OFF) multi-link communication, or to automatically determine it. The RAM 802 includes a communication quality flag 8021 indicating whether the latest communication quality with the opposing AP is good, and a UDP communication in progress flag 8022 indicating that UDP communication is in progress. Further, when the STA is the image forming apparatus 105, the RAM 802 includes a job flag 8023 indicating that a job is being executed there, and a sleep flag 8024 indicating that STAs 102 and 105 are in a sleep state. The sleep state is a power-saving state that returns to the normal operating state in response to signal reception or operation input. For example, there is a state in which power supply is stopped except for the controller unit (see Fig. 4) of the image forming apparatus. The image forming apparatus 105 transitions from the normal operating state to the sleep state, for example, when a predetermined time has elapsed after a job is completed, and transitions from the sleep state to the normal operating state when there is reception of some message or an operation from the user interface (UI). Note that the sleep state is not limited to the above description, and there may be cases where the clock rate of the CPU is decreased, or power supply to units other than those that receive signal reception or operation input, such as the input unit 404 and the communication unit 406, in the controller unit is stopped.
[0033] FIG. 5 shows a block diagram of the functional configuration of AP101 in this embodiment. The functional blocks shown here are realized by the control unit 402 executing programs for performing respective functions on the hardware shown in FIG. 4. Note that STA102 and 105 have the same configuration, but for the STA, the affiliated AP setting unit 502 is read as the affiliated STA setting unit, and the setting target is also the affiliated AP.
[0034] AP101 is composed of a multi-link control unit 501, an affiliated AP setting unit 502, a frame generation unit 503, a frame transmission / reception unit 504, and a communication quality measurement unit 505.
[0035] The multi-link control unit 501 is a block that controls communication start processing (connection processing) for establishing one or more links used by AP101 for wireless communication with STA102, link addition processing, deletion processing, and communication end processing for deleting all links after communication start. Specifically, the connection processing is composed of Authentication processing, Association processing, and 4-Way-Hand-Shake (4WHS) processing.
[0036] The affiliated AP setting unit 502 selects and determines the affiliated AP in multi-link communication according to the settings in each UI unit. In addition, it notifies the frame transmission / reception unit 504 of the affiliated AP to be used.
[0037] The frame generation unit 503 is a block that generates frames to be transmitted according to the settings of the affiliated AP setting unit 502.
[0038] The frame transmission / reception unit 504 processes according to the affiliated AP information received from the affiliated AP setting unit 502. Specifically, it transmits wireless frames including Beacon / Probe Response frames and data frames generated by the frame generation unit 503 according to the information, and receives wireless frames from the counterpart device.
[0039] The communication quality measurement unit 505 measures and calculates the communication quality of the Beacon / Probe Response frame received from the frame transmission / reception unit 504. Note that in AP101, since the quality of the received signals from STA102 and 105 is evaluated, the measurement and calculation of the communication quality of frames received from the STA, such as Probe Request frames, may also be performed. The communication quality information to be measured includes, but is not limited to, the received radio wave intensity (RSSI) and the signal-to-noise ratio (SNR).
[0040] By the way, if the STA always performs Multi-Link communication during communication, frame exchanges with multiple APs will occur. Therefore, when there is no communication or the traffic is low, the processing load of the STA increases, and the communication overhead becomes larger and the power consumption may increase compared to performing communication with a single Link. Therefore, it is necessary to determine the state where Multi-Link communication is required and switch between single-Link communication and Multi-Link communication at an appropriate timing. Also, when printing or scanning is performed by STA105, reception of job data by STA105 is required. Also, when uploading such job data from STA102, transmission of job data by STA102 is required. In such a case, if it is single-link communication using a single Link, data transmission and reception will be slower compared to Multi-Link communication, and an increase in the job processing time may cause a decrease in user usability. Therefore, in this embodiment, the processing for solving such problems is executed as described below.
[0041] (Flow of processing) Subsequently, several embodiments will be described, such as the flow of processing for selecting single-link communication and multi-link communication as needed, and determining the number of links in multi-link communication, which are executed by the above-described AP and STA, particularly the STA, and the sequence in the wireless communication system.
[0042] (Example 1) FIG. 6A and FIG. 6B show the process until it is determined whether STA105 performs Multi-Link communication with AP101 using a predetermined criterion. This process starts when STA105 starts a connection attempt to AP101. This process is realized by the control unit 402 of STA105, particularly its CPU, executing a program stored in the storage unit 401. In the following description, STA105 is taken as an example, but STA102 can also execute the same process. For example, for steps S614 and S617, which are processes related to the image forming apparatus, STA102, which is not an image forming apparatus, may determine that none of them meet the conditions.
[0043] First, in S601, the control unit 402 of STA105 determines whether it supports Multi-Link communication. This determination may be made by referring to the information indicating whether it supports Multi-Link communication included in the function information 8011. If STA105 does not support Multi-Link communication, it branches to S602. In S602, the control unit 402 of STA102 determines that it cannot perform Multi-Link communication and connects only to an AP1 operating on the same frequency channel as the affiliated STA1 to be used. That is, in a state where Multi-Link communication is not executed, STA105 connects to AP101. If STA105 supports Multi-Link communication, assuming that STA105 operates on the premise of performing Multi-Link communication, it proceeds to the next step S603. If the process of this flowchart is only performed in the Multi-Link communication-supported STA105, this step may be omitted and the process may start from S603. Also, in S601, since only one link is established, a link may be established based on the normal IEEE802.11 standard without using the Multi-Link communication function compliant with the IEEE802.11be standard.
[0044] In S603, the control unit 402 of STA105 determines whether AP101 supports Multi-Link communication. Whether AP101 supports Multi-Link communication is determined by whether there is a Basic Multi-Link element in the Beacon / Probe Response frame of AP1 obtained by STA1. The Basic Multi-Link element exists in the Beacon / Probe Response frame of a device that supports Multi-Link communication and contains information about affiliated APs / STAs capable of Multi-Link communication. If the Beacon / Probe Response frame contains the Basic Multi-Link element, it is determined that AP101 supports Multi-Link communication, and the process proceeds to S604. If there is no Basic Multi-Link element in the Beacon / Probe Response frame of AP1, the process proceeds to S602. In S602, the control unit 402 of STA105 determines that AP101 is an AP that does not support Multi-Link communication and connects only to AP1.
[0045] In S604, the control unit 402 of STA105 checks the setting value of the Multi-Link communication setting 8012. If the Multi-Link communication setting 8012 is set to Off by the user's operation at the input unit 404 of STA105, the process proceeds to step S602. If it is set to On, the process proceeds to S605. If it is set automatically, the process proceeds to S608. The automatic setting is a setting that dynamically changes whether to perform Multi-Link communication according to the state of STA105.
[0046] When the Multi-Link communication setting is On, at S605, the control unit 402 of STA105 acquires information indicating the frequency bands and channels in which affiliated APs other than AP1 belonging to AP101 (let these be AP2 and AP3) are operating. The Basic Multi-Link element received by the STA may also include information on another group of APs that do not belong to AP101. Therefore, in order to determine whether it is an affiliated AP belonging to AP101, the control unit 402 of STA105 makes a determination using the RNR (Reduced Neighbor Report) element in the Beacon / Probe Response frame of AP1 acquired at STA1 (see Figure 3). Each affiliated AP group in the Basic Multi-Link element is assigned an MLD ID301. When this MLD ID301 is 0, it indicates that the affiliated AP that issued the Beacon / Probe Response frame acquired by STA1 belongs to the AP MLD. Therefore, by acquiring information indicating the frequency bands and channels of the affiliated APs with an MLD ID of 0, it is possible to grasp and identify the frequency bands and channels of AP2 and AP3, which are APs other than AP1 operating at AP101.
[0047] Furthermore, at S606, the control unit 402 of STA105 switches the frequency band and channel to be used for communication to the frequency bands and channels of the grasped AP2 and AP3. Then, the control unit 402 of STA105 acquires the Beacon / Probe Response frames of AP2 and AP3 and shares detailed information on AP2 and AP3 respectively. At S607, the control unit 402 of STA105 performs a connection with AP1, AP2, and AP3 in Multi-Link. That is, STA105 connects to AP101 in a state for executing Multi-Link communication by establishing three links, which are links with AP1, AP2, and AP3. The connection procedure includes authentication, association, and a 4-way handshake as shown in Figure 2.
[0048] At S608, the control unit 402 of STA105 determines whether the communication quality (communication quality of AP1) in the communication between AP1 and STA105 is poor. That is, in this embodiment, the execution of Multi-Link communication is controlled based on the element of the communication quality of AP1. Specifically, the control unit 402 of STA105 calculates the communication quality of AP1, and determines whether the calculated communication quality of AP1 is below the threshold value when using the lowest rate MCS0 respectively. If the communication quality is below the threshold value, it proceeds to S610; otherwise, it proceeds to S609. MCS is the abbreviation of Modulation and Coding Scheme, which indexes the combination of wireless modulation method, coding rate, etc., and the MCS used varies depending on the communication environment. MCS0 is the method with the lowest throughput and is used when the communication environment is very poor. In this embodiment, as the value representing the communication quality, the received signal strength indication (RSSI) based on the radio wave transmitted from AP1 and received by STA105 is used. At S609, when the RSSI of the control unit 402 of STA105 is equal to or higher than the threshold value when using MCS0, it is determined that there is no problem with the communication environment, and "good" is recorded in the communication quality flag 8021. At S610, when the RSSI of the control unit 402 of STA105 is below the threshold value when using MCS0, "bad" is recorded in the communication quality flag 8021. For example, taking -70dbm as the threshold value, if the RSSI is -70dBm or higher, the communication quality flag 8021 is set to "good", and if it is -71dBm or lower, it is set to "bad". When applications with a large amount of downlink information are frequently used, the downlink communication quality measured by ATA105 may be referred to as the value representing the communication quality. When the amount of uplink information is large, the uplink communication quality measured by PA101 may be obtained from PA101 and referred to. Which communication quality of the downlink or uplink to refer to may be determined by referring to the application being executed.For example, in the case of an application involving reception of an image or video with a large amount of downstream information or acquisition of a print job, the communication quality of the downlink may be used as a criterion for selection. In the case of an application involving upload of an image, video, or print job, the communication quality of the uplink may be used as a criterion for selection.
[0049] Subsequently, in S611, the control unit 402 of STA105 determines whether it is in the UDP (User Datagram Protocol) communication state. That is, in this embodiment, the execution of Multi-Link communication is controlled based on the element of whether it is in the UDP communication state or not. If it is in UDP communication, it proceeds to S613; if not, it proceeds to S614. The UDP communication state refers to a state where STA105 is performing UDP communication that requires real-time performance such as video and audio. UDP communication is one-way communication. Unlike TCP (Transmission Control Protocol) communication, it has low reliability but can transmit data at high speed. Therefore, when there is communication overlap with other applications other than the application for which STA105 is performing UDP communication, a delay in UDP communication occurs, and packet loss occurs when the transmission and reception processing of STA105 cannot keep up. During UDP communication, it is possible to reduce the occurrence of delay by Multi-Link communication. Other than video and audio, when STA105 is an image forming device such as a multifunction machine or a printer, UDP communication is used for transmitting and receiving images such as IP-FAX. IP-FAX is a function for communicating an image to be printed by FAX via IP (Internet Protocol). In step S611, it may be determined whether the packet to be received or the packet to be transmitted is a UDP packet. Alternatively, it may be determined whether it is in the UDP communication state based on whether an application using UDP is running. For example, in addition to IP-FAX, applications such as voice communication, video distribution, and web conferencing usually use UDP, and if a specific application using UDP is running, it may be determined that it is in the UDP communication state. Note that the state of not being in the UDP communication state refers to a state where communication other than UDP communication is being executed or a state where communication with other devices is not being executed. And communication other than UDP communication is, for example, TCP communication. Also, functions for which TCP communication is used are, for example, functions for receiving print jobs and scan jobs from other devices and functions for transmitting an image obtained by scanning based on a scan job to other devices.
[0050] When it is determined in S611 that the UDP communication state exists, in S613, the control unit 402 of STA105 records "1" in the UDP communication flag 8022. When it is determined in S611 that the UDP communication state does not exist, in S612, the control unit 402 of STA105 records "0" in the UDP communication flag. Specifically, for example, when the control unit 402 of STA105 starts the transmission and reception of an image by the IP-FAX function, it records "1" in the UDP communication flag 8022, and when the transmission and reception of the image by the IP-FAX function is completed, it records "0" in the UDP communication flag 8022. The determination of whether the UDP communication state exists may be made by referring to the communication settings using UDP, and when the communication settings are valid, record "1" in the UDP communication flag, and when they are invalid, record "0" in the UDP communication flag.
[0051] Subsequently, in S614, the control unit 402 of STA105 determines whether a job is being executed in STA10 (S614). That is, in this embodiment, the execution of Multi-Link communication is controlled based on the element of whether a job is being executed in STA10. If a job is being executed, it proceeds to S616, and if not, it proceeds to S615. When STA105 is an image forming apparatus such as a multifunction device or a printer, the jobs executed by STA105 are, for example, print jobs and scan jobs. A print job is a job that executes printing based on print data received from another STA (for example, STA102). A scan job is a job that scans a document based on a scan instruction received from another STA or a scan instruction received by the input unit 404 of STA105 from a user, and transmits the image data obtained by the scan. The presence or absence of a job being executed may be determined, for example, by referring to information indicating the presence of a job being executed, or may be determined based on the presence or absence of a job by referring to a job queue. In S616, the control unit 402 of STA105 records "1" in the job flag 8023. On the other hand, in S615, the control unit 402 of STA105 records "0" in the job flag 8023.
[0052] Subsequently, in S617, the control unit 402 of STA105 determines whether STA105 is in the sleep state. If it is in the sleep state, the process proceeds to S622; if not, it proceeds to S618. Since STA105 is an image forming apparatus such as a multifunction device or a printer, there are parts that do not need to share power when the user is not using them, such as a printing unit that prints on a paper medium (not shown) or a reading unit that reads a document, or when no job is being executed. In such a state, the sleep state is a state in which power supply to some of the hardware components of STA105 is stopped, or the clock for operating the hardware components of STA105 is stopped or the frequency of the clock is lowered. That is, the sleep state is a state in which the power consumption of STA105 is suppressed. Also, the normal state refers to a state that is not the sleep state and has a higher power consumption than the sleep state. Specifically, the normal state is a state in which power is supplied to a larger number of hardware components than the number of hardware components to which power is supplied in the sleep state. Also, the normal state is a state in which a clock with a higher frequency than the frequency of the clock supplied to the hardware components in the sleep state is supplied to the hardware components. Also, when STA105 receives a job from another device via AP101 or the like in the sleep state, it shifts to the normal state and then executes processing (such as printing or scanning) based on the job. Note that the sleep state can also occur in STA102 which is not an image forming apparatus. For example, if STA102 is a terminal device, in the sleep state, the illuminance of the backlight of the display unit, which is a part of the hardware components, is lowered or turned off. Such a state may also be included in the sleep state. The determination of whether it is in the sleep state may be made by referring to the information indicating the state of the STA.
[0053] Subsequently, in S618, the control unit 402 of STA105 determines whether the conditions for Multi-Link communication are satisfied. Specifically, if at least one of the communication quality flag 8021 being "bad", the UDP communication in progress flag 8022 being "1", and the job flag 8023 being "1" is met, it is determined that the Multi-Link communication conditions are satisfied. If none of the conditions are met, it is determined that the Multi-Link communication conditions are not satisfied. If the Multi-Link communication conditions are satisfied, the process proceeds to S621; if not, the process proceeds to S624. In S621, the control unit 402 of STA105 acquires information indicating the frequency bands and channels in which affiliated APs other than AP1 belonging to AP101 (designated as AP2 and AP3) are operating, and identifies the frequency bands and channels. The processing in S621 is the same as the processing in S605. Further, in S622, the control unit 402 of STA105 switches the frequency band and channel used for communication to the frequency bands and channels of the identified AP2 and AP3. Then, the control unit 402 of STA105 acquires the Beacon / Probe Response frames of AP2 and AP3, and shares the detailed information of each of AP2 and AP3. The processing in S622 is the same as the processing in S606. In S623, the control unit 402 of STA105 establishes a Multi-Link connection with AP1, AP2, and AP3. The processing in S623 is the same as the processing in S607.
[0054] On one side S624, the control unit 402 of STA105 determines whether it is in a Multi-Link connection. This determination can be made, for example, by setting information indicating that fact when a Multi-Link connection is made in S607 or S623 and referring to it. Of course, other information indicating that it is in a Multi-Link connection may also be referred to. If it is determined that it is in a Multi-Link connection, it proceeds to S623. If it is determined that it is not in a Multi-Link connection, it proceeds to S624. In S623, since the Multi-Link communication conditions no longer hold, the control unit 402 of STA105 disconnects the connections with APs other than AP1, namely AP2 and AP3. In S624, the control unit 402 of STA105 connects to AP1 or does nothing if it is already connected to AP1.
[0055] On the condition that the Multi-Link communication setting (multi-link communication setting) is set to "Automatic" in this way, when the Multi-Link communication condition (multi-link communication condition) is satisfied, STA105 performs Multi-Link communication with AP101, and when it is not satisfied, single Link communication is performed. By doing so, the exchange of extra frames for exchanging Link information is minimized, the communication overhead and power consumption are reduced, and the communication reliability can be improved. By not performing multi-link communication that is not particularly necessary, it is possible to prevent wasteful use of communication resources such as channels shared with other communication devices in the service area. Furthermore, when the communication quality is low, the throughput can be increased by performing multi-link communication. Especially when the communication quality of a channel in a specific frequency band is low, the communication quality can be improved and the throughput can be increased by using other frequency bands in multi-link communication. Additionally, while UDP communication is being performed, since there is a possibility that the target data is being transmitted and received, the throughput can be improved by multi-link communication, and packet loss and the like can be prevented. Also, when the STA is STA105, that is, an image forming apparatus, by performing multi-link communication during the execution of a job with a large amount of information to be transmitted and received, it is possible to prevent job delays caused by low communication throughput. Moreover, since it makes no sense for a STA in the sleep state to perform multi-link communication, multi-link communication is not performed in the sleep state, and power consumption can be further reduced.
[0056] In the procedure of FIG. 6, in S620, if at least one of the four determination criteria is satisfied, it is determined that the multi-link communication condition is satisfied. However, the determination criteria are not limited to these, and other conditions may be added, or any one of the conditions may be replaced with other conditions. Also, in the above-described procedure, all three determinations (S608, S611, S614) based on the three determination criteria are executed, but it is not limited to this form, and it may be any form in which at least one of the three determinations is executed. And in S618, it may be determined whether the condition for Multi-Link communication is satisfied based on the result of the determination that has been executed among the three determinations. Specifically, for example, the control unit 402 of STA105 may execute only the determination of S608 among the three determinations, and then proceed to S618 immediately after S609 or S610. Also, for example, the control unit 402 of STA105 may execute only the determination of S611 among the three determinations, skip S608 to S610, and then proceed to S618 immediately after S612 or S613. Also, for example, the control unit 402 of STA105 may execute only the determination of S614 among the three determinations and skip S608 to S613. Also, for example, the control unit 402 of STA105 may execute only the determination of S617 among the four determinations and skip S608 to S616. Also, the order of the three determinations is not limited to the order of the above-described procedure. Also, even in a form in which only some of the three determinations are executed, the order of the some determinations may be any order. Also, the process of FIG. 6, in the block diagram of FIG. 5, the communication quality referred to in S608 is executed by the communication quality measurement unit 505, and the other steps are executed by the multi-link control unit 501.
[0057] In the above description, in S602, S623, and S624, a form in which only one link is established between STA105 and AP101 was described. However, it is not limited to this form. In S602, S623, and S624, two or more links may be established between STA105 and AP101. However, when proceeding to S602, S623, or S624, it is assumed that the number of links used for communication is controlled to be less than the number of links used for communication when proceeding to S607 or S623. Specifically, for example, in S602, S623, and S624, a form in which two links are established between STA105 and AP101, and in S607 and S623, three links are established between STA105 and AP101 may be used. And when proceeding to S602, S623, or S624, it may be controlled such that communication using two links is executed as the communication between STA105 and AP101. And when proceeding to S607 or S623, it may be controlled such that communication using three links is executed as the communication between STA105 and AP101.
[0058] Also, after establishing a plurality of links between STA105 and AP101, STA105 can use only some of the plurality of established links for communication while maintaining the establishment of the plurality of links. Therefore, for example, in S602, S623, and S624, as well as in S607 and S623, it may be in a form where three links are established between STA105 and AP101. And when proceeding to S602, S623, or S624, it may be controlled such that only one of the three links is used for communication between STA105 and AP101. And when proceeding to S607 or S623, it may be controlled such that communication using three links is executed between STA105 and AP101. However, in the sleep state, there are few merits in establishing a plurality of links. Therefore, for example, in the process executed when S617 is YES, it may be controlled to establish only one link between STA105 and AP101. And in the process executed when S618 is NO, a plurality of links may be established between STA105 and AP101, and while maintaining the establishment of the plurality of links, it may be controlled to use only some of the plurality of links for communication.
[0059] Also, in the above-described form, it was determined whether it was in the sleep state and the process was switched based on the determination result, but it is not limited to this form. This determination (the determination of S617) may be omitted. That is, it may be in a form where the process of S618 is performed immediately after S615 or S616. Also, in the above-described form, the processes of S608 to S616 were executed and the process was switched based on the result of the process, but it is not limited to this form. The processes of S608 to S616 and S618 may be omitted. That is, based only on whether it is in the sleep state, it may be switched whether to execute the process of S619 or the process of S622.
[0060] (Embodiment 2) Also, the number of connections for Multi-Link communication may be determined according to the state of the STA by combining the above embodiments. When the STA is a multifunction device (an image forming apparatus having composite functions such as a printer and a scanner), the traffic volume changes according to the settings of the multifunction device and the operating status of the functions depending on the user environment. Therefore, it is desirable to dynamically determine the number of Multi-Link connections instead of fixing it in the multifunction device. As Example 2, the processing until the number of connections for Multi-Link communication is determined is shown. In the present embodiment, in steps other than S607 and S621 in the processing of FIG. 6 described in Example 1, the same processing as the processing described in Example 1 is executed, and thus the description thereof is omitted. That is, in the present embodiment, the processing peculiar to the present embodiment is executed only in steps S607 and S621 in the processing of FIG. 6 described in Example 1. The details of the processing executed in S607 and S621 in the present embodiment will be described with reference to FIG. 7.
[0061] The processing shown in FIG. 7 is realized by the control unit 402 of the STA 105, particularly its CPU executing the program stored in the storage unit 401. In the following description, the STA 105 will be described as an example, but the same processing can be executed by the STA 102 as well. In S701 - S707, specific individual conditions that become link number reduction conditions are confirmed or determined, the link number is determined according to the conditions, and communication is performed with that link number.
[0062] At S701, the control unit 402 of STA105 determines whether the job being executed in STA105 is a job corresponding to Cloud Print. Here, Cloud Print is a function that executes printing based on a print job received via the Internet from cloud servers 111A, 111B, etc. In Cloud Print, data for printing is downloaded to STA105 via AP101. That is, a print job received via the Internet from cloud servers 111A, 111B, etc. is a print job corresponding to Cloud Print. Also, as a printing function different from Cloud Print, there is a function called Local Print. Local Print is a function that executes printing based on a print job received without going through the Internet from the local network to which STA105 belongs. In Local Print, for example, STA105 receives a job from STA102. That is, a print job received without going through the Internet is a print job corresponding to Local Print. If the job being executed in STA105 is determined to be a job corresponding to Cloud Print, the process proceeds to S706. If the job being executed in STA105 is determined not to be a job corresponding to Cloud Print, the process proceeds to S702. Specifically, the case where the job being executed in STA105 is not a job corresponding to Cloud Print is, for example, when the job being executed in STA105 is a job corresponding to Local Print. Also, for example, when the job being executed in STA105 is a scan job, or when there is no job being executed in STA105, etc. Cloud Print may increase the communication volume due to authentication, etc. compared to Local Print. Therefore, in this embodiment, if a print job corresponding to Cloud Print is being executed, the number of connections for Multi-Link communication is increased to improve the job processing speed.
[0063] In S702, the control unit 402 of STA105 determines whether the data volume of the data to be processed is equal to or greater than a threshold value (for example, 50 megabytes). If it is determined that the data volume of the data to be processed is equal to or greater than the predetermined threshold value, the process proceeds to S706. If it is not determined that the data volume of the data to be processed is equal to or greater than the threshold value, that is, if the data volume of the data to be processed is smaller than the threshold value, the process proceeds to S703. The data to be processed is, for example, data based on a job being executed in STA105. More specifically, the data to be processed is, for example, print setting information or scan setting information included in the job, image data to be printed, or image data obtained by scanning. In this embodiment, when the data volume of the data to be processed is equal to or greater than the threshold value, the number of connections for Multi-Link communication is increased to improve the job processing speed. Note that the threshold value of the data volume is not limited to the above-mentioned 50 megabytes. Further, the data volume is defined not only by the size (megabytes) of print or scan data, but also by the number of pages of a print job, etc., and is not limited thereto. For example, it may be based on the number of pages.
[0064] In S703, the control unit 402 of STA105 determines whether the number of jobs held by STA105 is equal to or greater than a predetermined threshold value (for example, 2). If the number of jobs held by STA105 is equal to or greater than the predetermined number, the process proceeds to S706. If it is not equal to or greater than the predetermined number, the process proceeds to S704. In this embodiment, when STA105 holds a plurality of jobs, the number of connections for Multi-Link communication is increased to improve the job processing speed.
[0065] In S704, the control unit 402 of STA105 confirms that one or more server functions of STA105 are enabled and the number thereof is equal to or more than a predetermined number, for example, two or more. The server function is a function in which STA105 operates as a server. Specifically, the server functions of STA105 include a remote user interface function, an SMB (Server Message Block) function, and a Wi-Fi Direct function. The remote user interface function is a function in which, by operating STA105 as an HTTP server, an interface screen for remotely operating STA105 is provided to another device. The SMB function is a function in which, by operating STA105 as an SMB server, access to a scanned image stored in the storage unit 401 and file storage in the storage unit 401 are enabled. The Wi-Fi Direct function is a function in which, by operating STA105 as a DHCP server, an AP is enabled in STA105 and direct wireless connection to another device without using another AP is enabled. If two or more server functions are enabled, the process proceeds to S706; if less than two, the process proceeds to S704. When a plurality of functions are enabled, since communication may be performed using each function, the number of connections for Multi-Link communication is increased on the condition that the CPU usage rate is low, and the job processing speed is improved.
[0066] In S705, the control unit 402 of STA105 confirms that the number of servers of the communication destination (or communication partner) of STA105 is equal to or more than a predetermined number, for example, two or more. The communication destination server may be a server with which STA105 communicates via the Internet accessible through AP101. The communication destination servers are, for example, a DHCP server, an SMB server, and cloud print servers such as cloud servers 111A and 111B. The number of communication destination servers is specified based on whether the operation log of STA105, counter information, update information of a computer program, etc. are set to communicate with a server (not shown). If the number of communication destination servers is two or more, the process proceeds to S706; otherwise, it proceeds to S707. If the number of communication destination servers is two or more, since there is a possibility of communicating with each server, the number of connections for Multi-Link communication is increased on the condition that the CPU usage rate is low, and the job processing speed is improved.
[0067] When at least one of the conditions of job type, job data volume, number of executed jobs, number of enabled server functions, number of communication destination servers, and number of always-connected servers is satisfied, in S706, the control unit 402 of STA105 determines whether the CPU usage rate is equal to or more than a certain level. The CPU usage rate can be known, for example, by referring to information provided by the operating system. If the CPU usage rate is equal to or more than a certain level, STA105 is in a state where the processing load other than Multi-Link communication is high. Therefore, even if the throughput is improved by Multi-Link communication, the data cannot be completely processed, and only the processing load of Multi-Link communication increases, resulting in inefficiency. If the CPU usage rate is equal to or more than a certain level, the process proceeds to S707; otherwise, it proceeds to S708.
[0068] If all the conditions of job type, job data volume, number of executed jobs, number of effective server functions, number of destination servers, and number of always-connected servers are not met, at S707, the control unit 402 of STA105 connects to AP1 and AP2 via Multi-Link. The same applies when the CPU usage rate is above a certain level. That is, STA105 connects to AP101 in a state for executing Multi-Link communication by establishing two links that are the links with AP1 and AP2. If the CPU usage rate is not above a certain level, at S708, the control unit 402 of STA105 connects to AP1, AP2, and AP3 via Multi-Link. In this way, according to the link number reduction condition, the number of links for multi-link connection is determined to be either 2 or 3, and multi-link communication is performed with the determined number of links. Although the number of links is 2 or 3 in this example, it may be switched between a first number and a second number greater than the first number, and the specific number may be other numbers. For example, if the link number reduction condition is satisfied, the number of links is set to the first number, and if not, it is set to the second number greater than the first number. Depending on the conditions, the number of links may be set to a third number different from both the first number and the second number, or even to other numbers.
[0069] After that, at S709, the control unit 402 of STA105 checks the Multi-Link communication settings. If the Multi-Link communication setting is On, the flowchart ends, and if it is automatic, it returns to the procedure of FIG. 6B. Thereby, in the procedure of FIG. 6B, it is possible to connect to AP101 via multi-link communication according to the multi-link communication conditions, and further, at the time of connecting the multi-link communication, the number of links can be changed according to the communication and processing status in the procedure of FIG. 7.
[0070] In this way, in this embodiment, by setting the number of connections (number of links) for Multi-Link communication according to the state of the STA (for example, communication state and processing state), it becomes possible to perform Multi-Link communication that suppresses power consumption in a situation with less overhead and improves communication reliability.
[0071] It is not necessary to determine the CPU usage in S706. That is, it may be in a form that immediately proceeds to S708 when it is determined to be YES in S701 to S705.
[0072] Also, it may be in a form where not all of the determinations in S701 to S705 are executed. That is, it may be in a form where at least one of the determinations in S701 to S705 is executed. Specifically, for example, if only the determination in S701 is made, if it is determined to be YES in S701, it will immediately proceed to S706, and if it is determined to be NO in S701, it will immediately proceed to S707. The order of the determinations to be executed among S701 to S705 is not particularly limited.
[0073] A recording medium recording the program code of the software that realizes the above functions may be supplied to a system or device, and the computer (CPU, MPU) of the system or device may read and execute the program code stored in the recording medium. In this case, the program code itself read from the storage medium realizes the functions of the above-described embodiments, and the storage medium storing the program code constitutes the above-described device.
[0074] As the storage medium for supplying the program code, for example, a flexible disk, a hard disk, an optical disk, a magneto-optical disk, a CD-ROM, a CD-R, a magnetic tape, a non-volatile memory card, a ROM, a DVD, etc. can be used.
[0075] Also, by executing the program code read by the computer, not only are the above functions realized, but also based on the instructions of the program code, the OS running on the computer performs part or all of the actual processing to realize the above functions. OS is an abbreviation for Operating System.
[0076] Furthermore, write the program code read from the storage medium into the memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer. Then, based on the instructions of the program code, the CPU provided in the function expansion board or the function expansion unit may perform part or all of the actual processing to realize the above-described functions.
[0077] [Other Embodiments] The present invention can also be realized by supplying a program that realizes one or more functions of the above-described embodiments to a system or device via a network or a storage medium, and causing one or more processors in the computer of the system or device to read and execute the program. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
[0078] ●Summary of Embodiments Summarizing the above embodiments, the following inventions are included.
[0079] (Item 1) A communication device that performs wireless communication with an external device compliant with the IEEE802.11 standard, Establishing means for establishing a link between the external device and the communication device by a communication function compliant with the IEEE802.11 standard, As communication between the external device and the communication device, execute a first communication using a first number of links between the external device and the communication device established by a communication function compliant with the IEEE802.11be standard, or execute a second communication using a second number of links less than the first number between the external device and the communication device established by a communication function compliant with the IEEE802.11 standard. A control means for executing a predetermined process based on whether the communication device is in a state of executing UDP (User Datagram Protocol) communication, A communication device characterized by having the above.
[0080] (Item 2) The predetermined process is a process of controlling whether to establish the first number of links or the second number of links as a link between the external device and the communication device. When the first number of links is established as a link between the external device and the communication device, the first communication is executed. When the second number of links is established as a link between the external device and the communication device, the second communication is executed. The communication device according to item 1, characterized in that.
[0081] (Item 3) The first number of links between the external device and the communication device is established by a Multi-Link communication function compliant with the IEEE802.11be standard. The communication device according to item 1 or 2, characterized in that.
[0082] (Item 4) The second communication is a communication executed using the second number of links in a state where the second number of links is established between the external device and the communication device by a communication function compliant with the IEEE802.11 standard. The communication device according to any one of items 1 to 3, characterized in that.
[0083] (Item 5) The second communication is a communication executed using the second number of links in a state where more than the second number of links are established between the external device and the communication device by a communication function compliant with the IEEE802.11be standard. The communication device according to any one of items 1 to 3, characterized in that.
[0084] (Item 6) The second number is 1. The communication device according to any one of items 1 to 5, characterized in that.
[0085] (Item 7) A state where the communication device is not executing UDP communication includes a state where the communication device is not performing communication with other devices. The communication device according to any one of Items 1 to 6, characterized in that.
[0086] (Item 8) A state where the communication device is not executing UDP communication includes a state where the communication device is performing communication other than UDP communication. The communication device according to any one of Items 1 to 7, characterized in that.
[0087] (Item 9) A state where the communication device is executing UDP communication includes a state where communication is being executed by a function of communicating an image printed by FAX via the Internet protocol. The communication device according to any one of Items 1 to 8, characterized in that.
[0088] (Item 10) Based on the state where the communication device is executing UDP communication, control is performed so that the first communication is executed as communication between the external device and the communication device. Based on the state where the communication device is not executing UDP communication, control is performed so that the second communication is executed as communication between the external device and the communication device. The communication device according to any one of Items 1 to 9, characterized in that.
[0089] (Item 11) The predetermined process is further executed based on the communication quality in communication using at least one link between the external device and the communication device. Based on the communication quality being the first quality, control is performed so that the first communication is executed as communication between the external device and the communication device. Based on the communication quality being a second quality better than the first quality, control is performed so that the second communication is executed as communication between the external device and the communication device. The communication device according to any one of Items 1 to 10, characterized in that...
[0090] (Item 12) The predetermined process is further executed based on whether a printing job or a scanning job is being executed in the communication device. Based on the fact that a printing job or a scanning job is being executed in the communication device, the second communication is controlled to be executed as communication between the external device and the communication device. The communication device according to any one of Items 1 to 11, characterized in that...
[0091] (Item 13) The predetermined process is further executed based on whether the communication device is in a sleep state. Based on the fact that the communication device is in a sleep state, the second communication is controlled to be executed as communication between the external device and the communication device. The communication device according to any one of Items 1 to 12, characterized in that...
[0092] (Item 14) When the communication device is not in a sleep state, based on the fact that the communication device is in a state of executing UDP communication, the first communication is controlled to be executed as communication between the external device and the communication device. When the communication device is not in a sleep state, based on the fact that the communication device is not in a state of executing UDP communication, the second communication is controlled to be executed as communication between the external device and the communication device. The second communication executed based on the fact that the communication device is not in a state of executing UDP communication when the communication device is not in a sleep state is communication executed using the second number of links in a state where more than the second number of links are established between the external device and the communication device by a communication function compliant with the IEEE802.11be standard. The second communication executed based on the communication device being in the sleep state is communication executed using the second number of links in a state where the second number of links are established between the external device and the communication device by a communication function compliant with the IEEE802.11 standard. The communication device according to item 13, characterized in that.
[0093] (Item 15) The first number, which is the number of links used in the first communication, is controlled based on whether the job being executed in the communication device is a job acquired from a server via the Internet. The communication device according to any one of items 1 to 14, characterized in that.
[0094] (Item 16) The first number, which is the number of links used in the first communication, is controlled based on whether the data volume of the job being executed in the communication device is equal to or greater than a predetermined threshold. The communication device according to any one of items 1 to 15, characterized in that.
[0095] (Item 17) The first number, which is the number of links used in the first communication, is controlled based on whether the number of jobs held in the communication device is equal to or greater than a predetermined threshold. The communication device according to any one of items 1 to 16, characterized in that.
[0096] (Item 18) The first number, which is the number of links used in the first communication, is a function enabled in the communication device and is controlled based on the number of functions in which the communication device operates as a server. The communication device according to any one of items 1 to 17, characterized in that.
[0097] (Item 19) The first number, which is the number of links used in the first communication, is controlled based on the number of servers with which the communication device communicates via the Internet. The communication device according to any one of Items 1 to 18, characterized in that.
[0098] (Item 20) The first number, which is the number of links used in the first communication, is controlled based on the usage rate of the processor included in the communication device. The communication device according to any one of Items 1 to 19, characterized in that.
[0099] (Item 21) The communication device according to any one of Items 1 to 20, further comprising printing means for executing printing.
[0100] (Item 22) A program for causing each means of the communication device according to any one of Items 1 to 21 to function.
[0101] (Item 23) A control method for a communication device that performs wireless communication with an external device compliant with the IEEE802.11 standard, comprising: An establishing step of establishing a link between the external device and the communication device by a communication function compliant with the IEEE802.11 standard; As communication between the external device and the communication device, a predetermined process of controlling whether to execute first communication using a first number of links between the external device and the communication device established by a communication function compliant with the IEEE802.11be standard or second communication using a second number of links less than the first number between the external device and the communication device established by a communication function compliant with the IEEE802.11 standard is executed based on whether the communication device is in a state of executing UDP (User Datagram Protocol) communication; A control method, characterized by comprising.
Description of Signs
[0102] 401 Memory unit 402 Control unit 403 Functional unit 404 Input unit 405 Output unit 406 Communication unit
Claims
1. A communication device that performs wireless communication with an external device compliant with the IEEE 802.11 standard, establishing means for establishing a link between the external device and the communication device by a communication function compliant with the IEEE 802.11 standard; control means for executing a predetermined process of controlling whether to execute a first communication using a first number of links between the external device and the communication device established by a communication function compliant with the IEEE 802.11be standard or a second communication using a second number of links less than the first number between the external device and the communication device established by a communication function compliant with the IEEE 802.11 standard, based on whether the communication device is in a state of executing UDP (User Datagram Protocol) communication; A communication device, characterized by comprising the above.
2. The predetermined process is a process of controlling whether to establish the first number of links or the second number of links as a link between the external device and the communication device. When the first number of links is established as a link between the external device and the communication device, the first communication is executed. When the second number of links is established as a link between the external device and the communication device, the second communication is executed. The communication device according to claim 1, characterized by the above.
3. The first number of links between the external device and the communication device is established by a Multi-Link communication function compliant with the IEEE 802.11be standard. The communication device according to claim 1, characterized by the above.
4. The second communication is a communication executed using the second number of links in a state where the second number of links between the external device and the communication device is established by a communication function compliant with the IEEE 802.11 standard. The communication device according to claim 1, characterized by the above.
5. The second communication is a communication executed using the second number of links in a state where a number of links more than the second number is established between the external device and the communication device by a communication function compliant with the IEEE 802.11be standard. The communication device according to claim 1, characterized by the above.
6. The second number is 1. The communication device according to claim 1, characterized by the above.
7. A state where the communication device is not in a state of executing UDP communication includes a state where the communication device is not performing communication with other devices. The communication device according to claim 1, characterized in that.
8. A state where the communication device is not in a state of executing UDP communication includes a state where the communication device is performing communication other than UDP communication. The communication device according to claim 1, characterized in that.
9. A state where the communication device is executing UDP communication includes a state where communication is being executed by a function of communicating an image printed by FAX via the Internet protocol. The communication device according to claim 1, characterized in that.
10. Based on the state that the communication device is executing UDP communication, control is performed so that the first communication is executed as communication between the external device and the communication device. Based on the state that the communication device is not executing UDP communication, control is performed so that the second communication is executed as communication between the external device and the communication device. The communication device according to claim 1, characterized in that.
11. The predetermined process is further executed based on the communication quality in communication using at least one link between the external device and the communication device. Based on the communication quality being a first quality, control is performed so that the first communication is executed as communication between the external device and the communication device. Based on the communication quality being a second quality better than the first quality, control is performed so that the second communication is executed as communication between the external device and the communication device. The communication device according to claim 1, characterized in that.
12. The predetermined process is further executed based on whether a print job or a scan job is being executed in the communication device. Based on a print job or a scan job being executed in the communication device, control is performed so that the second communication is executed as communication between the external device and the communication device. The communication device according to claim 1, characterized in that.
13. The predetermined process is further executed based on whether the communication device is in a sleep state. Based on the communication device being in a sleep state, control is performed so that the second communication is executed as communication between the external device and the communication device. The communication device according to claim 1, characterized in that.
14. When the communication device is not in the sleep state, based on the fact that the communication device is in a state of executing UDP communication, it is controlled such that the first communication is executed as communication between the external device and the communication device. When the communication device is not in the sleep state, based on the fact that the communication device is not in a state of executing UDP communication, it is controlled such that the second communication is executed as communication between the external device and the communication device. The second communication executed based on the fact that the communication device is not in a state of executing UDP communication when the communication device is not in the sleep state is communication executed using the second number of links in a state where a number of links greater than the second number are established between the external device and the communication device by a communication function compliant with the IEEE 802.11be standard. The second communication executed based on the fact that the communication device is in the sleep state is communication executed using the second number of links in a state where the second number of links are established between the external device and the communication device by a communication function compliant with the IEEE 802.11 standard. The communication device according to claim 13, characterized in that.
15. The first number, which is the number of links used in the first communication, is controlled based on whether the job being executed in the communication device is a job acquired from a server via the Internet. The communication device according to claim 1, characterized in that.
16. The first number, which is the number of links used in the first communication, is controlled based on whether the data volume of the job being executed in the communication device is equal to or greater than a predetermined threshold. The communication device according to claim 1, characterized in that.
17. The first number, which is the number of links used in the first communication, is controlled based on whether the number of jobs held in the communication device is equal to or greater than a predetermined threshold. The communication device according to claim 1, characterized in that.
18. The first number, which is the number of links used in the first communication, is a function enabled by the communication device and is controlled based on the number of functions in which the communication device operates as a server. The communication device according to claim 1, characterized in that.
19. The first number, which is the number of links used in the first communication, is controlled based on the number of servers with which the communication device communicates via the Internet. The communication device according to claim 1, characterized in that.
20. The first number, which is the number of links used in the first communication, is controlled based on the usage rate of the processor included in the communication device. The communication device according to claim 1, characterized in that.
21. The communication device according to claim 1, further comprising printing means for performing printing.
22. A program for causing each means of the communication device according to any one of claims 1 to 21 to function.
23. A control method for a communication device that performs wireless communication with an external device compliant with the IEEE 802.11 standard, An establishing step of establishing a link between the external device and the communication device by a communication function compliant with the IEEE 802.11 standard; As communication between the external device and the communication device, a control step of executing a first communication using a first number of links between the external device and the communication device established by a communication function compliant with the IEEE 802.11be standard, or executing a second communication using a second number of links less than the first number between the external device and the communication device established by a communication function compliant with the IEEE 802.11 standard, the control step being executed based on whether the communication device is in a state of executing UDP (User Datagram Protocol) communication; A control method characterized by comprising.
Citation Information
Patent Citations
Communication device, control method, and program
JP2018050133A