Communication device, printer, control method of the same, program and storage medium

The communication device optimizes wireless communication by enabling simultaneous infrastructure and peer-to-peer modes with carrier sense control, enhancing efficiency and speed.

JP2024169645AActive Publication Date: 2024-12-05CANON KK
View PDF 13 Cites 0 Cited by

Patent Information

Application Number
JP2024165699
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2024-12-05
Estimated Expiration
2042-03-01

AI Technical Summary

Technical Problem

Existing wireless communication technologies lack efficient methods for simultaneous operation in infrastructure and peer-to-peer modes, leading to suboptimal communication efficiency.

Method used

A communication device enabling both infrastructure and peer-to-peer modes with a control mechanism for carrier sense execution and trigger frame handling compliant with IEEE 802.11 standards, allowing direct communication without carrier sense when necessary.

Benefits of technology

Enhances wireless communication efficiency by allowing simultaneous operation in both modes, reducing latency and improving data transmission speed.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024169645000001_ABST
    Figure 2024169645000001_ABST
Patent Text Reader

Abstract

To improve convenience in radio communication.SOLUTION: A communication device includes: reception means for receiving a first trigger frame according to IEEE802.11 standard including information on execution of a carrier sense from an external AP in a first mode of executing radio communication through the external AP; first communication means for executing the carrier sense and then transmitting data, when information indicating execution of the carrier sense is included in the first trigger frame; and second communication means for communicating with a device of a slave station without transmitting a second trigger frame according to IEEE802.11 standard including information indicating the execution of the carrier sense to the device of the slave station connected to a master station for determining a communication channel used in radio communication in a second mode of executing radio communication without through the external AP, when the communication device is operated as the master station in the second mode.SELECTED DRAWING: Figure 9
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a communication device, a printing device, a control method thereof, a program, and a storage medium. [Background technology]

[0002] Patent Document 1 discloses a technique that enables an image forming apparatus to perform wireless communication in infrastructure mode and wireless communication in ad-hoc mode in parallel via an access point. [Prior art documents] [Patent documents]

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

[0004] In recent years, wireless communication has come to be used in a variety of cases, and there is a demand for more convenient wireless communication. [Means for solving the problem]

[0005] In order to solve the above problems, A communication device, comprising: a control means for controlling to enable at least one of a first mode in which wireless communication is performed via an external access point outside the communication device and a second mode in which wireless communication is performed without going through an external access point outside the communication device; a receiving means for receiving a first trigger frame for transmitting UL data conforming to the IEEE 802.11 standard, the first trigger frame including information regarding execution of carrier sense, from an external access point outside the communication device while the first mode is enabled; a first communication means for performing carrier sense and then transmitting data when the first trigger frame includes information indicating that carrier sense is to be performed; When the communication device operates as a master station that determines the communication channel to be used in wireless communication in the second mode while the second mode is enabled, the communication device is characterized in having a second communication means that communicates with the slave station device connected to the master station without transmitting a second trigger frame compliant with the IEEE 802.11 standard, which includes information indicating that carrier sense is to be performed, to the slave station device. Effect of the Invention

[0006] According to the present invention, it is possible to provide a more efficient wireless communication technique. [Brief description of the drawings]

[0007] [Figure 1] FIG. 1 is a diagram illustrating an example of a system configuration according to an embodiment of the present invention. [Diagram 2] 1A is a diagram illustrating an example of the hardware configuration of a mobile terminal, and FIG. 1B is a diagram illustrating an example of the hardware configuration of an image forming apparatus. [Diagram 3] FIG. 2 illustrates an example of a functional configuration of an access point. [Figure 4] FIG. 4 is a diagram illustrating an example of a communication process according to the present embodiment. [Diagram 5] FIG. 2 is a diagram illustrating an example of a frame configuration. [Figure 6] FIG. 2 is a diagram illustrating an example of a frame configuration. [Figure 7] FIG. 2 is a diagram illustrating an example of a frame configuration. [Figure 8] FIG. 4 is a diagram illustrating an example of a communication process according to the present embodiment. [Figure 9] FIG. 4 is a flowchart showing a process executed in the image forming apparatus. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0008] Hereinafter, an embodiment of the present invention will be described in detail with reference to the drawings. Note that the embodiment is merely an example, and specific examples of components, processing steps, display screens, etc. are not intended to limit the scope of the present invention unless otherwise specified.

[0009] (System Configuration) Fig. 1 shows an example of the configuration of a system according to this embodiment. In one example, this system is a wireless communication system in which a plurality of communication devices can wirelessly communicate with each other. In the example of Fig. 1, the system includes an access point 131, an MFP 151, and a mobile terminal 101. Note that the mobile terminal 101 is an example of a mobile terminal 101, and is a notebook computer or a smartphone.

[0010] The MFP 151 has a printing function, a reading function (scanner), a FAX function, and the like. Moreover, the MFP 151 of this embodiment has a communication function capable of wireless communication with the 101. Moreover, in this embodiment, a case where the MFP 151 is used will be described as an example, but is not limited to this. For example, a facsimile device, a scanner device, a projector, or a single-function printing device may be used instead of the MFP 151. MFP is an abbreviation for Multi Function Peripheral. Note that in this embodiment, a device having a printing function may also be called an image forming device.

[0011] The access point 131 is provided separately (externally) from the mobile terminal 101 and the MFP 151, and operates as a base station device of a wireless LAN (WLAN). The access point 131 may also be referred to as an external access point 131 or an external wireless base station (or an external parent station). The MFP 151 having a WLAN communication function can communicate in infrastructure mode of the WLAN via the access point 131. In the following, the access point may be referred to as an "AP." Furthermore, the infrastructure mode may be referred to as a "wireless infrastructure mode" or an "infrastructure mode."

[0012] The infrastructure mode is a mode in which the MFP 151 communicates with other devices via an external device (e.g., the access point 131) that forms a network. A connection with an external access point established by the MFP 151 operating in the infrastructure mode is called an infrastructure connection (hereinafter, infrastructure connection). In this embodiment, in the infrastructure connection, the MFP 151 operates as a slave station, and the external access point operates as a master station. Note that in this embodiment, the master station is a device that determines a communication channel to be used in the network to which the master station belongs, and the slave station is a device that does not determine a communication channel to be used in the network to which the slave station belongs, but uses the communication channel determined by the master station.

[0013] The access point 131 performs wireless communication with a communication device that has been authorized to connect to the access point 131 (has been authenticated), and relays wireless communication between the communication device and other communication devices. The access point 131 may also be connected to, for example, a wired communication network, and may relay communication between a communication device connected to the wired communication network and another communication device wirelessly connected to the access point 131.

[0014] The mobile terminal 101 and the MFP 151 can use their respective WLAN communication functions to perform wireless communication in a wireless infrastructure mode via an external access point 131, or in a peer-to-peer mode not via the external access point 131. In the following, peer-to-peer is referred to as "P2P." Alternatively, communication not via the external access point 131 may be referred to as direct wireless communication. The P2P mode includes Wi-Fi Direct (registered trademark) and soft AP mode. In the following, Wi-Fi Direct (registered trademark) may be referred to as WFD. The P2P mode can also be said to be communication compliant with the IEEE802.11 series.

[0015] The P2P mode is a mode in which the MFP 151 communicates directly with other devices such as the mobile terminal 101 without going through an external device that forms a network. In this embodiment, the P2P mode includes an AP mode in which the MFP 151 operates as an access point. The connection information (SSID and password) of the access point that is enabled in the MFP 151 in the AP mode can be arbitrarily set by the user. The P2P mode may include, for example, a WFD mode in which the MFP 151 communicates by Wi-Fi Direct (WFD). Which of a plurality of WFD-compatible devices operates as a parent station is determined, for example, according to a sequence called Group Owner Negotiation. The parent station may be determined without executing Group Owner Negotiation. A device that is a WFD-compatible device and plays the role of a parent station is particularly called a Group Owner. A direct connection with another device established by the MFP 151 operating in the P2P mode is called a direct connection. In this embodiment, in a direct connection, the MFP 151 operates as a parent station, and another device (such as the mobile terminal 101) operates as a child station.

[0016] Next, the configuration of the mobile terminal of this embodiment and the communication device capable of communicating with the mobile terminal of this embodiment will be described with reference to Fig. 2. In addition, the following configuration will be described as an example in this embodiment, but this embodiment is applicable to devices capable of communicating with the communication device, and the functions are not particularly limited to those shown in this figure.

[0017] The mobile terminal 101 includes an input interface 102, a CPU 103, a ROM 104, a RAM 105, an external storage device 106, an output interface 107, a display unit 108, a keyboard 109, a communication unit 110, a short-range wireless communication unit 111, a network interface 112, and a USB interface 113. The CPU 103, the ROM 104, the RAM 105, etc. form a computer of the mobile terminal 101.

[0018] The input interface 102 is an interface for receiving data input and operation instructions from a user by operating an operation unit such as a keyboard 109. The operation unit may be a physical keyboard, physical buttons, etc., or may be a soft keyboard, soft buttons, etc. displayed on the display unit 108. In other words, the input interface 102 may receive an input (operation) from the user via the display unit 108.

[0019] The CPU 103 is a system control unit, and controls the entire mobile terminal 101. The ROM 104 stores fixed data such as control programs and data tables executed by the CPU 103, and an embedded operating system (hereinafter, referred to as OS) program. In this embodiment, each control program stored in the ROM 104 performs software execution control such as scheduling, task switching, and interrupt processing under the management of the embedded OS stored in the ROM 104.

[0020] The RAM 105 is composed of a static random access memory (SRAM) that requires a backup power source. Since the RAM 105 holds data using a primary battery (not shown) for data backup, it can store important data such as program control variables without volatilizing the data. The RAM 105 also has a memory area for storing setting information for the mobile terminal 101, management data for the mobile terminal 101, and the like. The RAM 105 is also used as the main memory and work memory for the CPU 103.

[0021] The external storage device 106 stores, for example, a print information generation program for generating print information that can be interpreted by the printer 115. The output interface 107 is an interface that controls the display unit 108 to display data and notify the status of the mobile terminal 101.

[0022] Display unit 108 is composed of an LED (light emitting diode) and an LCD (liquid crystal display), and displays data and notifies the state of mobile terminal 101. Communication unit 110 is configured to connect to devices such as MFP 151 and access point (AP) 131 to execute data communication. For example, communication unit 110 can connect to an access point (not shown) in MFP 151. By connecting communication unit 110 to the access point in MFP 151, P2P communication is possible between mobile terminal 101 and MFP 151. Note that communication unit 110 may directly communicate with MFP 151 by wireless communication, or may communicate via an AP 131 device that exists outside mobile terminal 101 or MFP 151. Note that the external device includes an external access point (access point 131, etc.) that exists outside mobile terminal 101 and outside MFP 151, and a device that can relay communication other than an access point. In this embodiment, the wireless communication method used by the communication unit 110 is Wi-Fi (Wireless Fidelity) (registered trademark), which is a communication standard conforming to the IEEE802.11 series. In addition, the access point 131 may be, for example, a device such as a wireless LAN router.

[0023] The short-range wireless communication unit 111 is configured to wirelessly connect to a device such as the MFP 151 at a short distance and execute data communication, and communicates by a communication method different from that of the communication unit 110. The short-range wireless communication unit 111 is connectable to, for example, a short-range wireless communication unit 157 in the MFP 151. Examples of the communication method include Near Field Communication (NFC), Bluetooth (registered trademark) Classic, Bluetooth Low Energy (BLE), and Wi-Fi Aware.

[0024] The network interface 112 is a connection I / F that controls wireless communication and communication processing via a wired LAN cable.

[0025] The USB interface 113 is a connection I / F that controls a USB connection via a USB cable. Specifically, the USB interface 113 is an interface for connecting to devices such as the MFP 151 and the external access point 131 via USB and executing data communication.

[0026] Next, a description will be given of the MFP 151. The MFP 151 has a ROM 152, a RAM 153, a CPU 154, a print engine 155, a communication unit 156, a short-range wireless communication unit 157, an input interface 158, an operation unit 159, an output interface 160, a display unit 161, a network interface 162, a USB interface 163, etc. The ROM 152, the RAM 153, the CPU 154, etc. form a computer of the MFP 151.

[0027] The communication unit 156 controls communication processing using each interface. For example, the MFP 151 can operate in an infrastructure mode and a P2P (Peer to Peer) mode as modes for performing communication using the communication unit 156.

[0028] Specifically, the communication unit 156 can operate as an access point inside the MFP 151. For example, when a user instructs to enable the internal access point, the MFP 151 operates as an access point. In this embodiment, the wireless communication method used by the communication unit 156 is a communication standard conforming to the IEEE802.11 series. In the following description, Wi-Fi (Wireless Fidelity) (registered trademark) (Wi-Fi communication) is a communication standard conforming to the IEEE802.11 series. The communication unit 156 may include hardware that functions as an access point, or may operate as an access point by software for functioning as an access point. When the communication unit 156 operates as a parent station, the communication unit 156 can maintain P2P wireless connections with a predetermined number or less (for example, three or less) of child station devices in parallel. The communication unit 156 can execute wireless communication using a frequency band selected from 2.4 GHz, 5 GHz, and 6 GHz.

[0029] The short-range wireless communication unit 157 is a component for wirelessly connecting to a device such as the mobile terminal 101 at a short distance, and can be connected to, for example, the short-range wireless communication unit 111 in the mobile terminal 101. Examples of communication methods include NFC, Bluetooth Classic, BLE, and Wi-Fi Aware.

[0030] The RAM 153 is composed of an SRAM or the like that requires a backup power source. Since the RAM 153 holds data using a primary battery for data backup (not shown), important data such as program control variables can be stored without volatilization. The RAM 153 also has a memory area for storing setting information for the MFP 151, management data for the MFP 151, and the like. The RAM 153 is also used as the main memory and work memory for the CPU 154, and stores a reception buffer for temporarily storing print information received from the mobile terminal 101 or the like, and various other information.

[0031] The ROM 152 stores fixed data such as control programs, data tables, and OS programs executed by the CPU 154. In this embodiment, each control program stored in the ROM 152 performs software execution control such as scheduling, task switching, and interrupt processing under the management of the embedded OS stored in the ROM 152.

[0032] The CPU 154 is a system control unit, and controls the entire MFP 151 .

[0033] The print engine 155 executes a print process for forming an image on a recording medium such as paper by applying a recording agent such as ink on the recording medium based on information stored in the RAM 153 or a print job received from the mobile terminal 101 or the like, and outputs the print result. In general, the amount of data of a print job transmitted from the mobile terminal 101 or the like is large, so that a communication method capable of high-speed communication is required for communication of the print job. Therefore, the MFP 151 receives the print job via the communication unit 156 capable of communication at a higher speed than the short-range wireless communication unit 157. Note that printing using ink is an example, and printing may be performed by an electrophotographic method using toner. In addition, as for the ink, the MFP may be a cartridge type MFP in which a cartridge is attached, or may be a type MFP in which ink is refilled from an ink bottle into the ink tank of the MFP.

[0034] Note that MFP 151 may be equipped with a memory such as an external HDD or an SD card as an optional device, and information stored in MFP 151 may be stored in the memory.

[0035] The input interface 158 is an interface for accepting data input and operation instructions from a user by operating an operation unit 159 such as a physical button. The operation unit may be a soft keyboard, soft buttons, or the like displayed on the display unit 161. That is, the input interface 158 may accept an input from the user via the display unit 161.

[0036] The output interface 160 is an interface that controls the display unit 161 to display data and to notify the status of the MFP 151 .

[0037] Display unit 161 is configured with an LED (light emitting diode), an LCD (liquid crystal display), and the like, and displays data and notifies the status of MFP 151.

[0038] The USB interface 163 is an interface that controls a USB connection via a USB cable. Specifically, the USB interface 163 is an interface that connects to the MFP 151, an external access point, or other device via USB to perform data communication.

[0039] 3 is a block diagram showing an example of a functional configuration of the AP 131. The AP 131 has, as its functional configuration, a wireless LAN control unit 301, a trigger frame control unit 302, a received frame analysis unit 303, a UI control unit 304, a storage unit 305, and a bandwidth allocation unit 306, for example.

[0040] The wireless LAN control unit 301 executes control for transmitting and receiving wireless signals with other wireless LAN communication devices. The wireless LAN control unit 301 can be realized by, for example, a program for controlling a baseband circuit, an RF circuit, and an antenna for the wireless LAN. The wireless LAN control unit 301 executes communication control of the wireless LAN in accordance with the IEEE802.11 series of standards, and executes wireless communication with STAs that comply with the IEEE802.11 series of standards.

[0041] The Trigger frame control unit 302 performs control for transmitting a Trigger frame to a STA that has been successfully authenticated via the wireless LAN control unit 301. When the STA receives the Trigger frame, it transmits an uplink (UL) frame in response to the frame. When the AP 131 receives a UL frame via the wireless LAN control unit 301, the received frame analysis unit 303 interprets the contents of the received UL frame. For example, when the received UL frame includes AC information, the received frame analysis unit 303 acquires the AC information by analysis and determines which AC's transmission target data the STA that transmitted the UL frame has.

[0042] The bandwidth allocating unit 306 determines the width of the frequency band to be allocated for data transmission of each STA, the center frequency of the frequency band, and the time to allocate the frequency band, based on the information acquired by the received frame analyzing unit 303. That is, the bandwidth allocating unit 306 determines the timing and frequency range of radio resources to be allocated to each STA. The trigger frame control unit 302 notifies each STA of information indicating the allocation determined by the bandwidth allocating unit 306 via the trigger frame, and causes each STA to transmit a UL frame according to the allocation.

[0043] The UI control unit 304 is realized by a program or the like that controls hardware related to a user interface, such as a touch panel or buttons for accepting an operation on the AP 131 by a user (not shown) of the AP 131. The UI control unit 304 may also have a function for presenting information to the user, such as displaying an image or outputting sound. The storage unit 305 is a storage function that may be configured by a ROM, a RAM, or the like that stores a program and data operated by the AP 131.

[0044] Here, in IEEE801.11ax, by making it possible to allocate frequency bands in sizes smaller than the conventional 20 MHz, many terminals can use wireless resources simultaneously. Such wireless resource allocation is performed using OFDMA (Orthogonal Frequency Division Multiple Access). In IEEE802.11ax, for example, a 20 MHz bandwidth is divided into nine blocks each having 26 subcarriers (tones) that do not overlap with each other on the frequency axis, and wireless resources are allocated to terminals in blocks. This allocation unit block is called a Resource Unit (RU), and the size of the RU can be determined according to the frequency bandwidth and the number of terminals to which wireless resources are allocated. The size of the RU is expressed in units of the number of tones, and for example, 26, 52, 106, 242, 484, 996, and 2×996 can be used, but in a 20 MHz bandwidth, values ​​of 242 or less of these can be used. When allocating the entire 20 MHz bandwidth to one terminal, a maximum of 242 tones can be allocated. On the other hand, for example, if nine terminals use a 20 MHz bandwidth at the same time, 26 tones are allocated to those terminals. In this way, by dividing the frequency band into 26 tones, the smallest allocation unit, nine terminals can communicate at the same time using the 20 MHz bandwidth. Similarly, when frequency bands of 40 MHz, 80 MHz, and 160 MHz are used, a maximum of 18, 37, and 74 terminals can communicate at the same time, respectively.

[0045] Next, a basic flow of multi-user (MU) communication in UL will be described with reference to FIG. 4. First, the AP 131 transmits a Buffer Status Report Request (BSR Request) by the Trigger frame control unit 302 (S401). An example of the configuration of the frame transmitted at this time is shown in FIG. 5. FIG. 5 includes information 501 to 508. In the following, description of fields that are not related to the description of this embodiment will be omitted. In this embodiment, the AP 131, the MFP 151, and the mobile terminal 101 are capable of performing communication based on IEEE801.11ax.

[0046] 4, each STA transmits a buffer status report (BSP) (S402). In S402, each STA notifies the AP whether or not there is data to be transmitted.

[0047] When the AP 131 receives the BSP from each STA, the AP 131 transmits a Trigger frame for prompting transmission of UL data based on the information (S403). The frame transmitted at this time also has, for example, the format shown in FIG. 5. In FIG. 5, the Frame Control field 501 is a field in which a value indicating that the frame is an IEEE802.11ax Trigger frame is entered. FIG. 6 shows an example of the data configuration of Common Info 505 in FIG. 5. FIG. 6 includes information 601 to 609. The Trigger Type subfield 601 stores "0". The UL Length subfield 602 stores a value corresponding to a communication period common to all STAs, and this value indicates the amount of data that each STA can transmit. When the Trigger Type subfield 601 has a value "0", User Info fields 506-1 to 506-K are added to the frame in FIG. 5. The User Info fields 506-1 to 506-K will be described in detail with reference to FIG. 7. Note that FIG. 7 includes information 701 to 709. The STA is identified by the AID subfield 701, and the RU and tone size allocated to the STA are identified by the index value indicated by the RU Allocation subfield 702. Note that the tone size is a value indicating the width of the frequency band that can be allocated to each STA.

[0048] The AP reserves a communication channel for transmitting a trigger frame, and then divides the reserved communication channel into multiple resource units in the frequency domain and assigns each resource unit to a terminal.

[0049] Returning to Fig. 6, 604 denotes CS (Carrier Sense) Required, which is 1 bit in length. CS 604 stores information indicating whether carrier sense needs to be performed. Therefore, if CS 604 contains information indicating the need to perform carrier sense, a communication device that receives the Trigger frame will perform carrier sense. On the other hand, if CS 604 contains information indicating whether carrier sense should be performed, a communication device that receives the Trigger frame will not perform carrier sense.

[0050] When each STA receives the Trigger frame, it transmits a UL Data frame within the range of the data amount determined by the UL Length subfield 512 of the Trigger frame (S404). At this time, if the CS 604 includes information indicating the need to perform carrier sense, the STA performs carrier sense before executing S404. When the AP 131 receives a PPDU from each STA, it transmits a Multi Block Ack (Multi BA) as a reception confirmation (S405).

[0051] Next, the operation of the MFP 151 will be described with reference to FIG. 8. It is assumed that both the infrastructure mode and the P2P mode are enabled in the MFP 151 by a user instruction. For example, the user enables the infrastructure mode and the WFD mode for the MFP 151, so that both are enabled. It is also assumed that the MFP 151 operates as a parent station (for example, a WFD group owner) in P2P communication. It is assumed here that the MFP 151 receives a Trigger frame from the AP 131 in S403. It is also assumed that, when both the infrastructure communication and the P2P communication are enabled, the MFP 151 may refer to the communication channel used in the infrastructure communication and build a network as a parent station so as to execute the P2P communication on the same communication channel. It is also assumed that, when both the infrastructure communication and the P2P communication are enabled, the MFP 151 may refer to the communication channel used in the infrastructure communication and build a network as a parent station so as to execute the P2P communication on a channel different from the communication channel used in the infrastructure communication. That is, in FIG. 8, the MFP 151 receives in S403 a trigger frame conforming to the IEEE 802.11 standard that includes information regarding the execution of carrier sensing from an external access point while both the infrastructure mode and the P2P mode are enabled.

[0052] The MFP 151 transmits a Trigger frame since it is operating as a parent station (S801). Here, the MFP 151 divides one communication channel (for example, 20 MHz) into a plurality of resource units using the Trigger frame as described above in FIG. 5, and allocates each resource unit to a STA including the mobile terminal 101. That is, RU Allocation 702 of the Trigger frame transmitted by the MFP 151 includes information on the allocation of resource units. Also, CS Required 604 of the Trigger frame transmitted by the MFP 151 includes information indicating that carrier sense is not required. Here, the number of child station devices to which the resource units are allocated by the MFP 151 is the maximum number of devices that can maintain direct connections in parallel. For example, if the communication unit 156 can maintain P2P wireless connections with a maximum of three child station devices in parallel, the maximum number of child station devices to which the resource units are allocated is three. The mobile terminal 101 transmits data to the MFP 151 in S802 (S802). Here, the mobile terminal transmits data using the resource units allocated in the Trigger frame. In this embodiment, since information indicating that carrier sensing is not required is set, mobile terminal 101 transmits data to MFP 151 without performing carrier sensing. Note that MFP 151 can notify mobile terminal 101 of the remaining amount of consumables (ink or toner) via a direct connection. This allows an application running on mobile terminal 101 to display the remaining amount of the consumables. Other states of MFP 151 may also be communicated via a direct connection. Examples of other states include no paper, the cover of MFP 151 is open, and an error in MFP 151 (paper jam, etc.).

[0053] Next, a description will be given with reference to a flowchart of the processing executed by the MFP 151. Note that the flowchart of this embodiment is realized by the CPU 154 reading out from the ROM 152 a program related to the processing of the flowchart and executing it.

[0054] The CPU 154 receives the Trigger frame described above in S403 of Fig. 4 from the AP 131 (S901), and checks whether or not carrier sensing is required (S902). S902 is implemented by referring to the information in CS Required 604 of Fig. 6. If it is determined in S902 that carrier sensing is not required, the CPU 154 transmits the data to be transmitted to the target device via the AP 131 without performing carrier sensing (S905).

[0055] On the other hand, if it is determined in S902 that carrier sensing is necessary, the CPU 154 executes carrier sensing (S903) and senses the energy (power) of radio waves generated in the communication channel specified in the Trigger frame. It is determined whether the sensed energy is equal to or greater than a threshold (S904). If it is determined that the energy of radio waves generated in the communication channel is equal to or greater than the threshold, the CPU 154 determines that data cannot be transmitted to the AP 131, and returns to S903. Note that if it is determined as No in S904, the CPU 154 may skip the process of S905 and proceed to the process of S906.

[0056] On the other hand, if it is determined that the power generated in the communication channel is less than the threshold, CPU 154 determines that data can be transmitted to AP 131, and transmits the data to be transmitted to the target device via AP 131 (S905). For example, scan data obtained by MFP 151 reading a document, or status information of MFP 151, etc. are transmitted in S905. CPU 154 transmits the data to be transmitted using resource units allocated to MFP 151 by RU Allocation 702.

[0057] Next, CPU 154 determines whether to operate as a parent station of direct communication (S906). For example, if the user instructs MFP 151 to enable WFD and it is determined to operate as a group owner by negotiation processing with a WFD communication partner device (comparison of Intent values), CPU 154 determines Yes in S906. Also, if the user instructs MFP 151 to enable software AP mode, CPU 154 determines Yes in S906.

[0058] CPU 154 operates MFP 151 as a parent station of direct communication (S907). Next, CPU 154 transmits a Trigger frame to a child station (e.g., mobile terminal 101) connected to itself (S908). At this time, MFP 151 sets information indicating that carrier sense is not required in CS Required 604 in FIG. 6 and transmits the Trigger frame shown in FIG. 5. CPU 154 also allocates resource units to be used by a device (e.g., mobile terminal 101) connected to MFP 151 by RU Allocation 702. In this case, mobile terminal 101 transmits data to MFP 151 using the allocated resource units. For example, mobile terminal 101 transmits print data to MFP 151 using the allocated resource units.

[0059] 9, the CPU 154 may execute the processes in the reverse order. That is, the CPU 154 may execute the processes in the reverse order. In other words, the CPU 154 may execute the processes in the reverse order. In addition, the CPU 154 may execute the processes in the opposite order. In other words, the CPU 154 may execute the processes in the opposite order. In addition ...

[0060] Furthermore, when infrastructure communication is disabled and only direct communication is enabled, the CPU 154 may execute only steps S906 to S908.

[0061] According to this embodiment, even if the MFP 151 is instructed to perform carrier sensing by the AP 131, the MFP 151 instructs the child stations connected to itself to transmit data without performing carrier sensing. This allows the child stations including the mobile terminal 101 to transmit print data and the like efficiently, and for example, enables the user to shorten the time from issuing a print instruction to receiving a printed matter.

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

[0063] 151 MFP

Claims

1. 1. A communication device, comprising: a control means for controlling to enable at least one of a first mode in which wireless communication is performed via an external access point outside the communication device and a second mode in which wireless communication is performed without going through an external access point outside the communication device; a receiving means for receiving a first trigger frame for transmitting UL data conforming to the IEEE 802.11 standard, the first trigger frame including information regarding execution of carrier sense, from an external access point outside the communication device while the first mode is enabled; a first communication means for performing carrier sense and then transmitting data when the first trigger frame includes information indicating that carrier sense is to be performed; a second communication means for communicating with a slave station device connected to the master station without transmitting a second trigger frame conforming to the IEEE 802.11 standard, the second trigger frame including information indicating that carrier sense is to be performed, to the slave station device when the communication device operates as a master station that determines the communication channel to be used in wireless communication in the second mode while the second mode is enabled.

2. The communication device according to claim 1, characterized in that when the first communication means receives the first trigger frame including information indicating that carrier sense is to be performed when both the first mode and the second mode are enabled, the first communication means performs carrier sense before transmitting data.

3. The communication device according to claim 1 or 2, characterized in that the second communication means communicates with the slave station device without transmitting the second trigger frame including information indicating that carrier sense is to be performed to the slave station device, even when the second communication means receives the first trigger frame including information indicating that carrier sense is to be performed when both the first mode and the second mode are enabled.

4. The communication device according to any one of claims 1 to 3, characterized in that the second communication means communicates with the slave station device by transmitting the second trigger frame, which does not include information indicating that carrier sense is to be performed, to the slave station device when the second mode is enabled.

5. The communication device according to any one of claims 1 to 4, characterized in that the second communication means communicates with the slave station device by transmitting the second trigger frame to the slave station device, the second trigger frame including information indicating that carrier sensing is not performed when the second mode is enabled.

6. The apparatus further includes a reading unit for acquiring scan data by scanning an original, A communication device as described in any one of claims 1 to 5, characterized in that the first communication means performs the carrier sense and, when it determines that the sensed energy is less than a threshold, transmits the scan data using one or more resource units allocated to the communication device by the first trigger frame.

7. 7. The communication device according to claim 1, wherein the first trigger frame and the second trigger frame are IEEE802.11ax Trigger frames.

8. 8. The communication device according to claim 1, wherein the second trigger frame includes information for specifying a resource unit and a width of a frequency band allocated to the slave station device.

9. 9. The communication device according to claim 1, wherein the second trigger frame includes information regarding allocation of radio resources to the communication device using Orthogonal Frequency Division Multiple Access (OFDMA).

10. The communication device according to any one of claims 1 to 9, characterized in that the second trigger frame includes information regarding the allocation of one or more resource units as information for identifying a resource unit to be used when transmitting data from the child station device to the communication device.

11. The communication device according to claim 10, characterized in that the maximum number of devices to which the resource units specified in the trigger frame are assigned is the same as the maximum number of child station devices that can be maintained in parallel in wireless communication in the second mode.

12. The communication device according to claim 11, wherein the communication device operating as the master station maintains in parallel wireless connections in the second mode with a predetermined number or less of slave station devices.

13. the control means is capable of enabling both the first mode and the second mode; 13. The communication device according to claim 1, wherein the first mode wireless communication and the second mode wireless communication are performed using the same communication channel.

14. the control means is capable of enabling both the first mode and the second mode; 14. The communication device according to claim 1, wherein the first mode wireless communication and the second mode wireless communication are performed using different communication channels.

15. 15. The communication device according to claim 1, wherein the communication device performs wireless communication using a frequency band selected from 2.4 GHz, 5 GHz, and 6 GHz.

16. The communication device according to claim 1 , wherein the first trigger frame includes information specifying a resource unit and a width of a frequency band allocated to the communication device.

17. 17. The communication device according to claim 1, wherein the first trigger frame includes information regarding allocation of radio resources to the communication device using Orthogonal Frequency Division Multiple Access (OFDMA).

18. 18. The communication device according to claim 1, further comprising a print processing unit that executes a print process on a sheet of paper based on the print data received from the slave station device.

19. A program for causing at least one computer to function as each of the means of the communication device according to any one of claims 1 to 18.

20. A computer-readable storage medium storing a program for causing at least one computer to function as each of the means of the communication device according to any one of claims 1 to 12.

21. A method for controlling a communication device, comprising: a control step of controlling to enable at least one of a first mode in which wireless communication is performed via an external access point outside the communication device and a second mode in which wireless communication is performed without going through an external access point outside the communication device; a receiving step of receiving a first trigger frame for transmitting UL data conforming to the IEEE 802.11 standard, the first trigger frame including information regarding execution of carrier sense, from an external access point outside the communication device while the first mode is enabled; a first communication step of performing carrier sense and then transmitting data when the first trigger frame includes information indicating that carrier sense is to be performed; a second communication step of communicating with a slave station device connected to the master station without transmitting a second trigger frame conforming to the IEEE 802.11 standard, the second trigger frame including information indicating that carrier sense is to be performed, to the slave station device when the communication device operates as a master station that determines a communication channel to be used in wireless communication in the second mode while the second mode is enabled; 13. A method for controlling a communication device, comprising:

22. 1. A printing device, comprising: a control means for controlling to enable at least one of a first mode in which wireless communication is performed via an external access point outside the printing device and a second mode in which wireless communication is performed without going through an external access point outside the printing device; a receiving means for receiving a first trigger frame for transmitting UL data conforming to the IEEE 802.11 standard, the first trigger frame including information regarding execution of carrier sense, from an external access point outside the printing device while the first mode is enabled; a first communication means for performing carrier sense and then transmitting data when the first trigger frame includes information indicating that carrier sense is to be performed; a second communication means for communicating with a slave station device connected to the master station without transmitting a second trigger frame conforming to the IEEE 802.11 standard, the second trigger frame including information indicating that carrier sense is to be performed, when the printing device operates as a master station that determines a communication channel to be used in wireless communication in the second mode while the second mode is enabled; A printing device comprising:

23. A method for controlling a printing device, comprising: a control step of controlling to enable at least one of a first mode in which wireless communication is performed via an external access point outside the printing device and a second mode in which wireless communication is performed without going through an external access point outside the printing device; a receiving step of receiving a first trigger frame for transmitting UL data conforming to the IEEE 802.11 standard, the first trigger frame including information regarding execution of carrier sense, from an external access point outside the printing device while the first mode is enabled; a first communication step of performing carrier sense and then transmitting data when the first trigger frame includes information indicating that carrier sense is to be performed; a second communication step of communicating with a slave station device connected to the master station without transmitting a second trigger frame conforming to the IEEE 802.11 standard, the second trigger frame including information indicating that carrier sense is to be performed, when the printing device operates as a master station that determines a communication channel to be used in wireless communication in the second mode while the second mode is enabled; 13. A method for controlling a printing device, comprising:

24. A program for causing at least one computer to function as each of the means of the printing device according to claim 22.

25. A computer-readable storage medium storing a program for causing at least one computer to function as each of the means of the printing device according to claim 22.

Citation Information

Patent Citations

  • Data transmission method in wireless communication system and apparatus therefor

    JP2017539179A

  • Communication system, control method, and program

    JP2019193143A

  • Transmitting device and transmitting method

    JP2019527961A

  • Communication device, control method, and program

    JP2022011085A

  • COMMUNICATION DEVICE AND COMMUNICATION METHOD FOR EXTENDED DIRECT LINK COMMUNICATION - Patent application

    JP2022539490A