Communication apparatus

The communication device addresses the limitations of existing wireless communication systems by enabling simultaneous operation in infrastructure and ad hoc modes through direct connections and IEEE802.11 compliant carrier sensing, enhancing flexibility and efficiency in data transmission.

JP2024134600AInactive Publication Date: 2024-10-04CANON KK
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023044872
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-22
Publication Date
2024-10-04
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Existing communication devices lack the capability to perform highly convenient wireless communication by simultaneously utilizing both infrastructure and ad hoc modes, limiting their flexibility and efficiency in wireless data transmission.

Method used

A communication device capable of performing first wireless communication via an external access point and second wireless communication without the external access point, utilizing a direct connection for information exchange, and implementing carrier sensing and data transmission protocols compliant with IEEE802.11 standards to facilitate seamless communication between master and slave stations.

Benefits of technology

Enables highly convenient wireless communication by allowing simultaneous operation in infrastructure and ad hoc modes, enhancing flexibility and efficiency in data transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024134600000001_ABST
    Figure 2024134600000001_ABST
Patent Text Reader

Abstract

To improve the convenience in wireless communication because of an increase in the number of cases of using wireless communication in recent years.SOLUTION: When a communication device operates as a master station that determines a communication channel to be used in wireless communication, the communication device transmits a second trigger frame compliant with the IEEE802.11 standard to a slave station device connected to the master station, the second trigger frame including information indicating that carrier-sensing is not to be performed.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

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

[0002] Patent Document 1 discloses a technique that enables a communication device 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 problem, a communication device capable of performing a first wireless communication via an external access point and a second wireless communication not via the external access point is characterized in that, when a wireless setting mode is enabled, the communication device includes a first receiving means for receiving information regarding the external access point from the terminal device via a direct connection established with the terminal device without via an external access point outside the communication device, a second receiving means for connecting to the external access point based on the information regarding the external access point received by the first receiving means and receiving a first trigger frame compliant with the IEEE 802.11 standard including information regarding execution of carrier sense of the external access point, a first transmitting means for transmitting data after performing carrier sense when the first trigger frame includes information indicating that carrier sense is to be performed, a second transmitting means for transmitting a second trigger frame compliant with the IEEE 802.11 standard including information indicating that carrier sense is to be performed to a child station device connected to the parent station when the communication device operates as a parent station that determines a communication channel to be used in the second wireless communication, and a print processing means for performing a print process on paper based on print data received from the child station device. Effect of the Invention

[0006] According to the present invention, it is possible to provide highly convenient wireless communication. [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 diagram illustrating an example of wireless setting processing in the present embodiment. [Figure 10] 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 this is not limiting. 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 (or a communication 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 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 IEEE802.11ax, by making it possible to allocate frequency bands in sizes smaller than the conventional 20 MHz, many terminals can use radio resources simultaneously. Such allocation of radio resources 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 radio 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 the radio 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 IEEE802.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 infrastructure mode and P2P mode are enabled in the MFP 151 by user instructions. For example, the user enables infrastructure mode and WFD mode using the operation panel of the MFP 151, thereby enabling both modes. Also, the MFP 151 operates as a parent station (for example, a WFD group owner) in P2P communication. It is noted that P2P communication in a mode other than the WFD mode may be performed. For example, a soft AP mode may be executed.

[0052] Here, it is assumed that the MFP 151 has received a trigger frame from the AP 131 in S403. When both the infrastructure communication and the P2P communication are enabled, the MFP 151 refers to the communication channel used in the infrastructure communication. The MFP 151 may then build a network as a master station so as to execute the P2P communication on the same communication channel. When both the infrastructure communication and the P2P communication are enabled, the MFP 151 refers to the communication channel used in the infrastructure communication. The MFP 151 may then build a network as a master station so as to execute the P2P communication on a communication channel different from the communication channel used in the infrastructure communication. That is, in FIG. 8, the MFP 151 receives a trigger frame from the external access point 131 in S403 while both the infrastructure mode and the P2P mode are enabled.

[0053] Since the MFP 151 itself operates as a parent station, it transmits a trigger frame (S801). Note that the MFP 151 divides one communication channel (for example, 20 MHz) into multiple resource units using the trigger frame as described above in FIG. 5, and allocates each resource unit to the STA including the mobile terminal 101. That is, the RU Allocation 606 of the trigger frame transmitted by the MFP 151 includes information on the allocation of resource units. 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 a direct connection in parallel. For example, if the communication unit 156 can maintain a P2P wireless connection 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. That is, the maximum number of devices to which the resource units specified in the trigger frame in S801 are allocated is the same as the maximum number of child stations that can be maintained in parallel in a direct connection. The mobile terminal 101 transmits data to the MFP 151 in S802 (S802). Here, the mobile terminal 101 transmits data using the resource unit allocated in the Trigger frame. For example, the mobile terminal 101 transmits a print job in S802. The mobile terminal 101 may also transmit a request to obtain the status of the MFP 151 or a request to obtain the remaining amount of consumables (ink, toner, or paper) in S802.

[0054] 8, the MFP 151 is connected to the AP 131 in response to a user instruction using the operation panel of the MFP 151 as described above. In this method, the user selects an SSID displayed on the operation panel of the MFP 151 and inputs a password corresponding to the selected SSID into the operation panel. However, an infrastructure connection between the MFP 151 and the AP 131 may be established by other methods. Such a method will be described with reference to FIG. 9.

[0055] The MFP 151 enables the setup mode (wireless setting mode) of the MFP 151 based on a user instruction on the operation panel (S901). This S901 causes the MFP 151 to start its own internal AP (S902). It is possible to enable the setup mode in S901 even if an infrastructure connection with the AP has been established before S901. In that case, the infrastructure connection is disconnected. Also, if the MFP 151 was operating as a parent station of P2P communication (for example, a group owner of WFD) before S901, the MFP 151 may stop operating as a parent station of P2P communication (for example, a group owner of WFD) based on the instruction of S901.

[0056] In response to an instruction from the user, the setup application is started (S903). Note that, although the wireless setting process of the MFP 151 is performed from a PC in this embodiment, it may be performed from a mobile terminal such as a smartphone.

[0057] When a user operates the setup application and instructs to execute wireless setting processing, the setup application executes direct connection processing with the internal AP. For example, the setup application holds the SSID and password of the internal AP since the application was installed. Therefore, when instructed to execute wireless setting processing, the setup application reads the SSID and password of the internal AP and issues an instruction to establish a direct connection between the PC and MFP151 using this information.

[0058] This instruction establishes a direct connection between the PC and the internal AP of the MFP 151 (S904).

[0059] Next, the setup application instructs the MFP 151 to perform an AP search via the direct connection established in S904 (S905).

[0060] Upon receiving the instruction in S905, the MFP 151 searches for access points with which the MFP 151 can communicate, and transmits a list of SSIDs as the search results (S907).

[0061] The setup application transmits the SSID and password selected from the list of SSIDs received in S907 as AP information (S908). For example, the setup application displays the list of SSIDs received in S907 and accepts a selection from the user. The setup application then displays a password input screen corresponding to the selected SSID and transmits the input password and the selected SSID as AP information.

[0062] Alternatively, if the PC was connected to the AP 131 immediately before S904 and the list of SSIDs transmitted in S907 included the SSID of the AP 131, the setup application automatically transmits the SSID and password of the AP 131 in S905. That is, the PC transmits AP information without displaying the list of SSIDs and accepting a selection from the user. On the other hand, if the PC was connected to the AP 131 immediately before S904 and the list of SSIDs transmitted in S907 did not include the SSID of the AP 131, the setup application may display the list of SSIDs received in S907 and accept a selection from the user.

[0063] When the MFP 151 receives the AP information transmitted in S908, it stops the internal AP and establishes an infrastructure connection using the AP information transmitted in S908.

[0064] Then, after the processing in Fig. 9 is completed, the user may enable the WFD mode using the operation panel of the MFP 151, thereby enabling both the infrastructure mode and the WFD mode, and the processing in Fig. 8 described above may be executed. Note that, as described above, if the MFP 151 stops operating as a parent station of P2P communication (e.g., a WFD group owner) based on S901, the MFP 151 resumes operating as a parent station of P2P communication (e.g., a WFD group owner) based on the processing in S910. In this case, the MFP 151 may resume operating as a parent station of P2P communication on the same channel as the infrastructure connection established in S910, or may resume operating as a parent station of P2P communication on a different channel.

[0065] Next, the processing executed by the MFP 151 will be described with reference to the flowchart in Fig. 10. Note that the flowchart in this embodiment is realized by the CPU 154 reading out a program related to the processing of the flowchart from the ROM 152 and executing it. Also, the flowchart in Fig. 10 is executed in a situation where an infrastructure connection is established by the processing in Fig. 9, and then the user enables the WFD mode using the operation panel of the MFP 151, thereby enabling both the infrastructure mode and the WFD mode.

[0066] The CPU 154 receives the Trigger frame described above in S403 of Fig. 4 from the AP 131 (S1001), and checks whether or not carrier sensing is required (S1002). S1002 is implemented by referring to the information in CS Required 604 of Fig. 6. If it is determined in S1002 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 (S1005).

[0067] On the other hand, if it is determined in S1002 that carrier sensing is necessary, the CPU 154 executes carrier sensing (S1003) and senses the energy (power) of radio waves generated in the communication channel used in communication with the AP 131. It is determined whether the sensed energy is equal to or greater than a threshold (S1004). 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 S1003. Note that if it is determined as No in S1004, the CPU 154 may skip the process of S1005 and proceed to the process of S1006.

[0068] 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 (S1005). For example, scan data obtained by MFP 151 reading a document, or status information of MFP 151 is transmitted in S1005. Note that the status information of MFP 151 may be error information of MFP 151, remaining amount of ink (or toner) information, or remaining amount of paper information. Also, the status information may be a combination of error information, remaining amount of ink (or toner) information, and remaining amount of paper information. Note that CPU 154 transmits the data to be transmitted using resource units allocated to MFP 151 by RU Allocation 702.

[0069] Next, CPU 154 determines whether to operate as a parent station of direct communication (S1006). 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 S1006. Also, if the user instructs MFP 151 to enable software AP mode, CPU 154 determines Yes in S1006.

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

[0071] 10, 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 ...

[0072] Furthermore, when infrastructure communication is disabled and only direct communication is enabled, the CPU 154 may execute only steps S1006 to S1009.

[0073] Furthermore, the MFP 151 may execute S1008 in accordance with whether or not carrier sensing is required in the Trigger frame transmitted from the AP 131. That is, if the MFP 151 determines in S1002 that CS is required, it creates a Trigger frame in S1008 that includes information indicating that CS is required. On the other hand, if the MFP 151 determines in S1002 that CS is not required, it creates a Trigger frame in S1008 that includes information indicating that CS is not required.

[0074] According to this embodiment, when the MFP 151 is instructed to perform carrier sensing by the AP 131, the MFP 151 transmits a Trigger frame indicating that carrier sensing is also required to the child stations connected to the MFP 151. This allows the child stations including the mobile terminal 101 to transmit print data and the like after performing carrier sensing, enabling appropriate data transmission.

[0075] (Other embodiments) In the above embodiment, when the MFP 151 is instructed to enter the setup mode, the internal AP is started and AP information is received, but other configurations are also possible. For example, when the MFP 151 is instructed to enter the setup mode, the MFP 151 establishes a connection with a surrounding PC or smartphone via Bluetooth. After that, the above-mentioned steps S904 to S908 may be executed via the Bluetooth connection. Alternatively, other communication methods may be used, not limited to Bluetooth.

[0076] 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]

[0077] 151 MFP

Claims

1. A communication device capable of performing a first wireless communication via an external access point and a second wireless communication not via the external access point, a first receiving means for receiving information about an external access point from a terminal device via a direct connection established with the terminal device without going through an external access point outside the communication device when a wireless setting mode is enabled; a second receiving means for connecting to the external access point based on the information about the external access point received by the first receiving means, and receiving a first trigger frame conforming to the IEEE 802.11 standard, the first trigger frame including information about execution of carrier sense at the external access point; a first transmission means for transmitting data after performing carrier sense when the first trigger frame includes information indicating that carrier sense is to be performed; a second transmission means for transmitting, when the communication device operates as a master station that determines a communication channel to be used in the second wireless communication, 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 a slave station device connected to the master station; a communication device 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;

2. The apparatus further includes a reading unit for acquiring scan data by scanning an original, The communication device according to claim 1, characterized in that the first transmitting 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.

3. The communication device described in claim 1, characterized in that the first transmitting means performs the carrier sense and, when it determines that the sensed energy is less than a threshold, transmits status information indicating the state of the communication device using one or more resource units allocated to the communication device by the first trigger frame.

4. 4. The communication device according to claim 1, wherein the second trigger frame includes information indicating that the carrier sense is to be performed and information regarding allocation of one or more resource units.

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

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

7. The communication device according to claim 1 , wherein the first wireless communication and the second wireless communication are performed using the same communication channel.

8. The communication device according to claim 1 , wherein the first wireless communication and the second wireless communication are performed using different communication channels.

9. 9. 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.

Citation Information

Patent Citations

  • Communication device and control method

    JP2012019487A