WO2020137344A1 - 通信装置、制御方法、及びプログラム - Google Patents

通信装置、制御方法、及びプログラム Download PDF

Info

Publication number
WO2020137344A1
WO2020137344A1 PCT/JP2019/046605 JP2019046605W WO2020137344A1 WO 2020137344 A1 WO2020137344 A1 WO 2020137344A1 JP 2019046605 W JP2019046605 W JP 2019046605W WO 2020137344 A1 WO2020137344 A1 WO 2020137344A1
Authority
WO
WIPO (PCT)
Prior art keywords
communication
mode
mfp
wireless
communication device
Prior art date
Application number
PCT/JP2019/046605
Other languages
English (en)
French (fr)
Inventor
正喜 大塚
Original Assignee
キヤノン株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by キヤノン株式会社 filed Critical キヤノン株式会社
Publication of WO2020137344A1 publication Critical patent/WO2020137344A1/ja
Priority to US17/340,220 priority Critical patent/US20210298023A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/12Wireless traffic scheduling
    • H04W72/1215Wireless traffic scheduling for collaboration of different radio technologies
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/80Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0446Resources in time domain, e.g. slots or frames
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • H04W84/20Master-slave selection or change arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices
    • H04W88/06Terminal devices adapted for operation in multiple networks or having at least two operational modes, e.g. multi-mode terminals

Definitions

  • the present invention relates to a communication device, a control method, and a program, and more specifically to technology for allocating communication periods for communication in a plurality of communication modes.
  • Patent Document 1 there is no specific description about control when executing wireless communication in parallel in a plurality of communication modes (communication methods).
  • the present invention provides a technique for improving convenience in a communication device capable of executing wireless communication in a plurality of communication modes in parallel.
  • a communication device is configured to perform communication in a plurality of modes in a predetermined period based on an operation state of a communication unit that switches a plurality of modes in a time division manner for communication. And a setting means for setting a period to be allocated for that purpose.
  • FIG. 1 is a diagram showing a system configuration example.
  • FIG. 2 is a diagram showing an example of the external configuration of the mobile communication terminal device.
  • FIG. 3 is a diagram illustrating an external configuration example of the MFP.
  • FIG. 4A is a diagram illustrating an example of the operation display unit of the MFP.
  • FIG. 4B is a diagram illustrating an example of the operation display unit of the MFP.
  • FIG. 4C is a diagram illustrating an example of the operation display unit of the MFP.
  • FIG. 5 is a block diagram showing a configuration example of a mobile communication terminal device.
  • FIG. 1 is a diagram showing a system configuration example.
  • FIG. 2 is a diagram showing an example of the external configuration of the mobile communication terminal device.
  • FIG. 3 is a diagram illustrating an external configuration example of the MFP.
  • FIG. 4A is a diagram illustrating an example of the operation display unit of the MFP.
  • FIG. 4B is a diagram illustrating an example of the operation display unit
  • FIG. 6 is a block diagram showing a configuration example of the MFP.
  • FIG. 7 is an example of a device search sequence in mode A (soft AP mode).
  • FIG. 8 is an example of a device search sequence in mode B (WFD mode).
  • FIG. 9 is an example of a device search sequence in mode C (wireless infrastructure mode).
  • FIG. 10 is an example of a device search sequence in mode D (BLE mode).
  • FIG. 11 is an example of a device search sequence in mode E (BT mode).
  • FIG. 12 is a diagram showing an example of an interface selection screen at the time of initial startup.
  • FIG. 13 is a diagram showing an example of the flow of interface processing at the time of initial activation.
  • FIG. 12 is a diagram showing an example of an interface selection screen at the time of initial startup.
  • FIG. 14 is a diagram showing an example of the flow of the setting process of the wireless control setting table at the time of initial startup.
  • FIG. 15A is an example of a wireless control setting table.
  • FIG. 15B is an example of a wireless control setting table.
  • FIG. 15C is an example of a wireless control setting table.
  • FIG. 16A is an example of a wireless control setting table.
  • FIG. 16B is an example of a wireless control setting table.
  • FIG. 16C is an example of a wireless control setting table.
  • FIG. 17A is an example of a wireless control setting table.
  • FIG. 17B is an example of a wireless control setting table.
  • FIG. 17C is an example of a wireless control setting table.
  • FIG. 18A is an example of a wireless control setting table.
  • FIG. 18A is an example of a wireless control setting table.
  • FIG. 18B is an example of a wireless control setting table.
  • FIG. 18C is an example of a wireless control setting table.
  • FIG. 19A is an example of a wireless control setting table.
  • FIG. 19B is an example of a wireless control setting table.
  • FIG. 19C is an example of a wireless control setting table.
  • FIG. 20A is an example of a wireless control setting table.
  • FIG. 20B is an example of a wireless control setting table.
  • FIG. 20C is an example of a wireless control setting table.
  • FIG. 21A is an example of a wireless control setting table.
  • FIG. 21B is an example of a wireless control setting table.
  • FIG. 21C is an example of a wireless control setting table.
  • FIG. 22A is an example of a wireless control setting table.
  • FIG. 22B is an example of a wireless control setting table.
  • FIG. 22C is an example of a wireless control setting table.
  • FIG. 23A is an example of a wireless control setting table.
  • FIG. 23B is an example of a wireless control setting table.
  • FIG. 23C is an example of a wireless control setting table.
  • FIG. 24 is a diagram illustrating an example of a flow of state transition by a user operation and change processing of the wireless control setting table.
  • FIG. 25 is a diagram illustrating an example of the flow of a change determination process of the wireless control setting table.
  • FIG. 26A is a diagram showing an example of a data receiving operation.
  • FIG. 26B is a diagram showing an example of a data receiving operation.
  • FIG. 26C is a diagram showing an example of a data receiving operation.
  • FIG. 26A is a diagram showing an example of a data receiving operation.
  • FIG. 26B is a diagram showing an example of a data receiving operation.
  • FIG. 26C is
  • FIG. 26D is a diagram showing an example of a data receiving operation.
  • FIG. 27A is a diagram illustrating an example of a data transmission operation.
  • FIG. 27B is a diagram illustrating an example of the data transmission operation.
  • FIG. 27C is a diagram illustrating an example of a data transmission operation.
  • FIG. 27D is a diagram illustrating an example of the data transmission operation. It is a flowchart regarding a communication period setting process.
  • FIG. 1 shows a configuration example of a system according to this embodiment.
  • the system is, for example, a wireless communication system in which a plurality of communication devices can wirelessly communicate with each other.
  • the communication device includes a portable communication terminal device 200, an MFP 300, and an access point 400.
  • the mobile communication terminal device 200 may be simply referred to as the terminal device 200.
  • the terminal device 200 is a terminal device (information processing device) having a wireless communication function such as a wireless LAN or Bluetooth (registered trademark).
  • the wireless LAN may be referred to as WLAN and Bluetooth (registered trademark) may be referred to as BT.
  • the terminal device 200 may be a personal information terminal such as a PDA (Personal Digital Assistant), a mobile phone, a digital camera, or the like.
  • the MFP 300 is a printing device having a printing function, and may further have a reading function (scanner), a FAX function, and a telephone function. Further, the MFP 300 of this embodiment has a communication function capable of wirelessly communicating with the terminal device 200.
  • the present invention is not limited to this.
  • a facsimile device, a scanner device, a projector, a mobile terminal, a smartphone, a notebook PC, a tablet terminal, a PDA, a digital camera, a music playback device, a television, etc. each having a communication function may be used instead of the MFP 300.
  • MFP is an acronym for Multi Function Peripheral.
  • the access point 400 is provided separately (outside) from the terminal device 200 and the MFP 300, and operates as a WLAN base station device.
  • a communication device having a WLAN communication function can perform communication in the WLAN infrastructure mode via the access point 400.
  • the access point may be referred to as “AP”.
  • the infrastructure mode may be referred to as a “wireless infrastructure mode”.
  • the access point 400 communicates with (authenticated) a communication device that is permitted to connect to the own device, and relays communication between the communication device and another communication device that is connected to the own device, for example. Further, the access point 400 is connected to, for example, a wired communication network, and via the wired communication network, a communication device connected to the own device and another communication device connected to the wired communication network or another AP. Can relay the communication.
  • the terminal device 200 and the MFP 300 can perform wireless communication in a wireless infrastructure mode via the access point 400 or a peer-to-peer mode not via the access point 400 by using the WLAN communication function of each.
  • peer-to-peer is referred to as "P2P".
  • the P2P mode includes Wi-Fi Direct (registered trademark) and soft AP mode.
  • Wi-Fi Direct registered trademark
  • WFD Wi-Fi Direct
  • the terminal device 200 and the MFP 300 may perform P2P communication using the BT communication function. In the present embodiment, it is assumed that the terminal device 200 and the MFP 300 can execute the processes corresponding to a plurality of print services by using WLAN communication, as described later.
  • FIG. 2 is a diagram showing an external configuration example of the terminal device 200.
  • the terminal device 200 includes, for example, a display unit 202, an operation unit 203, and a power key 204.
  • the display unit 202 is, for example, a display including a display mechanism of an LCD (Liquid Crystal Display) system.
  • the display unit 202 may display information using, for example, an LED (Light Emitting Diode).
  • the terminal device 200 may have a function of outputting information by voice, in addition to or instead of the display unit 202.
  • the operation unit 203 includes hard keys such as keys and buttons for detecting a user operation, a touch panel, and the like.
  • the display unit 202 and the operation unit 203 are realized by one device. ing.
  • a button icon or a software keyboard is displayed by using the display function of the display unit 202, and the user's touch of those parts is detected by the operation reception function of the operation unit 203.
  • the display unit 202 and the operation unit 203 may be separated, and the display hardware and the operation reception hardware may be separately prepared.
  • the power key 204 is a hard key for receiving a user operation for turning on or off the power of the terminal device 200.
  • the terminal device 200 does not necessarily have to be visible from the outside, but has a WLAN unit 201 that provides a WLAN communication function.
  • the WLAN unit 201 is configured to be capable of executing data (packet) communication in a WLAN system based on, for example, the IEEE 802.11 standard series (IEEE 802.11a/b/g/n/ac, etc.).
  • IEEE 802.11a/b/g/n/ac the IEEE 802.11 standard series
  • the present invention is not limited to this, and the WLAN unit 201 may be capable of executing communication in a WLAN system that complies with another standard.
  • the WLAN unit 201 is assumed to be able to communicate in both frequency bands of 2.4 GHz band and 5 GHz band.
  • the WLAN unit 201 is assumed to be capable of performing WFD-based communication, soft AP mode communication, wireless infrastructure mode communication, and the like. The operation in these modes will be described later.
  • the terminal device 200 further includes a BT unit (not shown) that cannot be visually recognized from the outside.
  • the BT unit conforms to the IEEE802.15.1 standard, and provides a 2.4 GHz band communication function used in BT1.1 to 5.0 such as Bluetooth BR/EDR, Bluetooth+HS, Bluetooth Low Energy and the like. The operation of BT will be described later.
  • FIG. 3 shows an external configuration example of the MFP 300.
  • the MFP 300 includes, for example, a document table 301, a document cover 302, a print sheet insertion port 303, a print sheet discharge port 304, and an operation display unit 305.
  • the document table 301 is a table on which a document to be read is placed.
  • the document cover 302 is a cover for pressing a document placed on the document table 301 and for preventing light from a light source that illuminates the document during reading from leaking to the outside.
  • the printing paper insertion slot 303 is an insertion slot into which various sizes of paper can be set.
  • the print sheet discharge port 304 is a discharge port for discharging the printed sheet.
  • the sheets set in the printing sheet insertion port 303 are conveyed one by one to the printing unit, and after being printed in the printing unit, ejected from the printing sheet ejection port 304.
  • the operation display unit 305 includes keys such as a character input key, a cursor key, a decision key, and a cancel key, and an LED, an LCD, and the like, and can accept operations of various functions as an MFP and various setting operations by the user. Is composed of.
  • the operation display unit 305 may also be configured to include a touch panel display.
  • the MFP 300 has a wireless communication function based on WLAN or BT and is not necessarily visible from the outside, but is configured to include an antenna 306 for wireless communication for the wireless communication. Similarly to the terminal device 200, the MFP 300 can also perform wireless communication in the frequency band of 2.4 GHz band or 5 GHz band by WLAN or BT.
  • FIG. 4A to 4C schematically show examples of screen displays on the operation display unit 305 of the MFP 300.
  • FIG. 4A is an example of a home screen that is displayed while the MFP 300 is powered on and a printing operation, a scanning operation, or the like is not performed (idle status, Standby status).
  • a menu display of a cloud function using copy, scan, or internet communication is selected by a key operation or a touch panel operation, the MFP 300 can start executing the corresponding setting or function.
  • the MFP 300 can seamlessly display a screen different from that of FIG. 4A.
  • FIG. 4A is an example of a home screen that is displayed while the MFP 300 is powered on and a printing operation, a scanning operation, or the like is not performed (idle status, Standby status).
  • FIG. 4B is an example thereof, and shows an example in which a menu for executing a print or photo function, changing communication settings, or the like is displayed.
  • the print or photo function or communication setting can be executed based on the user selection on this screen.
  • FIG. 4C is an example of a screen displayed when the communication setting is selected on the screen of FIG. 4B.
  • various LAN setting menus (“wired LAN”, “wireless LAN”, “wireless LAN”, “wireless infrastructure mode enable/disable setting”, P2P mode enable/disable setting such as WFD and software AP mode) are available.
  • “Wireless Direct” is displayed in a selectable manner.
  • the wireless infrastructure mode is enabled, and when the wireless direct is enabled by the user operation, the P2P mode is enabled.
  • a setting menu (“Bluetooth”) for BT setting such as BT valid/invalid setting is displayed in a selectable manner.
  • a common setting menu regarding each connection form is also displayed. Further, from this screen, setting menu operations such as setting of a wireless LAN frequency band and frequency channel and setting of a BT pairing code can be performed.
  • FIG. 5 shows a configuration example of the terminal device 200.
  • the terminal device 200 includes, for example, a main board 501 that performs main control of the device itself, a WLAN unit 201 that performs WLAN communication, and a BT unit 205 that performs BT communication.
  • the main board 501 includes, for example, a CPU 502, a ROM 503, a RAM 504, an image memory 505, a data conversion unit 506, a telephone unit 507, a GPS 509, a camera unit 511, a non-volatile memory 512, a data storage unit 513, a speaker unit 514, and a power supply unit 515. Including.
  • the terminal device 200 also includes a display unit 202 and an operation unit 203.
  • the functional units in these main boards 501 are mutually connected via a system bus 518 managed by the CPU 502. Further, the main board 501 and the WLAN unit 201 and the BT unit 205 are connected via, for example, a dedicated bus 516.
  • the CPU 502 is a system control unit and controls the entire terminal device 200. In one example, the processing of the terminal device 200 described below is realized by the CPU 502 executing a program stored in the ROM 503. Note that dedicated hardware for each process may be prepared.
  • the ROM 503 stores a control program executed by the CPU 502, an embedded operating system (OS) program, and the like. In this embodiment, the CPU 502 executes each control program stored in the ROM 503 under the control of the embedded OS also stored in the ROM 503, thereby performing software control such as scheduling and task switching. ..
  • the RAM 504 is configured by SRAM (Static RAM) or the like. The RAM 504 stores data such as program control variables, data such as setting values registered by the user and management data of the terminal device 200.
  • the RAM 504 can be used as a buffer for various works.
  • the image memory 505 is composed of a memory such as a DRAM (Dynamic RAM).
  • the image memory 505 temporarily stores the image data received via the WLAN unit 201 or the BT unit 205 or the image data read from the data storage unit 513 for the CPU 502 to process.
  • the non-volatile memory 512 is configured by a memory such as a flash memory, and continues to store data even when the power of the terminal device 200 is turned off.
  • the memory configuration of the terminal device 200 is not limited to the above configuration.
  • the image memory 505 and the RAM 504 may be shared, or data backup may be performed using the data storage unit 513.
  • the DRAM is taken as an example of the image memory 505, but another storage medium such as a hard disk or a non-volatile memory may be used.
  • the data conversion unit 506 analyzes data of various formats and performs data conversion such as color conversion and image conversion.
  • the telephone unit 507 realizes telephone communication by controlling a telephone line and processing voice data input/output through the speaker unit 514.
  • the GPS 509 receives the radio wave transmitted from the satellite and acquires the position information such as the current latitude and longitude of the terminal device 200.
  • the camera unit 511 has a function of electronically recording and encoding an image input via the lens.
  • the image data obtained by the image pickup by the camera unit 511 is stored in the data storage unit 513.
  • the speaker unit 514 performs control for realizing a function of inputting or outputting sound for a telephone function and other functions such as alarm notification.
  • the power supply unit 515 is, for example, a portable battery, and controls power supply to the inside of the device.
  • the power supply state is, for example, a dead battery state in which the battery is empty, a power-off state in which the power key 204 is not pressed, a normally activated start state, or a power-saving state in which the power is being activated.
  • the display unit 202 is the display unit 202 described with reference to FIG. 2.
  • the display unit 202 electronically controls display contents and executes control for performing various input operations and displaying the operation status and status status of the MFP 300.
  • the operation unit 203 is the operation unit 203 described with reference to FIG. 2, and when a user operation is received, the operation unit 203 performs control such as generating an electric signal corresponding to the operation and outputting the electric signal to the CPU 502.
  • the terminal device 200 performs wireless communication using the WLAN unit 201 and the BT unit 205, and performs data communication with other devices such as the MFP 300.
  • the WLAN unit 201 and the BT unit 205 convert data into packets and transmit the packets to other devices.
  • the WLAN unit 201 and the BT unit 205 restore the packet from another external device to the original data and output it to the CPU 502.
  • the WLAN unit 201 and the BT unit 205 are units for realizing communication conforming to the WLAN and BT standards, respectively.
  • the WLAN unit 201 can operate in parallel in at least two communication modes including a wireless infrastructure mode and a P2P mode.
  • the BT unit 205 can operate in a communication mode based on, for example, BT1.1 to 5.0. The frequency band used in these communication modes may be limited by the function and performance of hardware.
  • FIG. 6 shows a configuration example of the MFP 300.
  • the MFP 300 is configured to include a main board 601 that performs main control of the apparatus itself and a wireless combo unit 616 that is one communication module that performs WLAN communication and BT communication using at least one common antenna. Further, the MFP 300 is configured to include, for example, a modem 619 for performing wired communication.
  • the main board 601 includes, for example, a CPU 602, a ROM 603, a RAM 604, a non-volatile memory 605, an image memory 606, a reading control unit 607, a data conversion unit 608, a reading unit 609, and a code decoding processing unit 611.
  • the main board 601 also includes, for example, a printing unit 612, a paper feeding unit 613, a print control unit 614, and an operation display unit 305.
  • the functional units in these main boards 601 are mutually connected via a system bus 620 managed by the CPU 602.
  • the main board 601 and the wireless combo unit 616 are connected via, for example, a dedicated bus 615, and the main board 601 and the modem 619 are connected via, for example, a bus 618.
  • the CPU 602 is a system control unit and controls the entire MFP 300.
  • the processing of the MFP 300 described below is realized by the CPU 602 executing a program stored in the ROM 603.
  • the ROM 603 stores a control program executed by the CPU 602, an embedded OS program, and the like.
  • the CPU 602 executes each control program stored in the ROM 603 under the control of the embedded OS similarly stored in the ROM 603, thereby performing software control such as scheduling and task switching.
  • RAM604 is comprised by SRAM etc.
  • RAM 604 stores data such as program control variables, setting values registered by the user, management data of MFP 300, and the like.
  • the RAM 604 can be used as a buffer for various works.
  • the non-volatile memory 605 is configured by a memory such as a flash memory, and keeps storing data even when the power of the MFP 300 is turned off.
  • the image memory 606 is composed of a memory such as a DRAM.
  • the image memory 606 stores image data received via the wireless combo unit 616, image data processed by the encoding/decoding processing unit 611, and the like. Note that the memory configuration of MFP 300 is not limited to the above-described configuration, as in the case of terminal device 200.
  • the data conversion unit 608 analyzes data in various formats and converts image data into print data.
  • the reading control unit 607 controls a reading unit 609 (for example, a CIS (contact image sensor)) to optically read a document placed on the document table 301.
  • the reading control unit 607 converts an image obtained by optically reading a document into electrical image data (image signal) and outputs it. At this time, the reading control unit 607 may output various image data after performing various image processing such as binarization processing and halftone processing.
  • the operation unit 305 is the operation display unit 305 described with reference to FIGS. 4A to 4C, and executes display control, electric signal generation control corresponding to a user operation, and the like.
  • the encoding/decoding processing unit 611 performs encoding processing and decoding processing of image data (JPEG, PNG, etc.) handled by the MFP 300, and enlargement/reduction processing.
  • the paper feeding unit 613 holds paper for printing.
  • the paper supply unit 613 can supply the set paper under the control of the print control unit 614.
  • the paper feed unit 613 may include a plurality of paper feed units in order to hold a plurality of types of paper in one device. Under the control of the print control unit 614, the paper feed unit from which the paper is fed Can be controlled.
  • the print control unit 614 performs various image processing such as smoothing processing, print density correction processing, and color correction on the image data to be printed, and outputs the processed image data to the printing unit 612.
  • the printing unit 612 is configured to be able to execute an inkjet printing process, for example, and causes the print head to eject ink supplied from an ink tank to record an image on a recording medium such as paper.
  • the printing unit 612 may be configured to be able to execute other print processing such as an electrophotographic method.
  • the print control unit 614 can periodically read the information of the printing unit 612 and update the status information and the like stored in the RAM 604, including the remaining amount of the ink tank, the state of the print head, and the like.
  • the wireless combo unit 616 is a unit that can provide a communication function of WLAN and BT, and can provide the same function as a combination of the WLAN unit 201 and the BT unit of the terminal device 200, for example. That is, the wireless combo unit 616 converts data into a packet and transmits the packet to another device according to the WLAN or BT standard, or restores a packet from an external device other than the original data to output to the CPU 602. To do.
  • the terminal device 200 and the MFP 300 can perform P2P communication based on WFD, and the wireless combo unit 616 has a software access point (soft AP) function or a group owner function. That is, the wireless combo unit 616 can construct a network for P2P communication and determine a channel used for P2P communication.
  • P2P communication method Next, in WLAN communication, an outline will be given of a P2P communication method in which devices directly and wirelessly communicate with each other without going through an external access point.
  • P2P communication can be realized using a plurality of methods. For example, a communication device supports a plurality of modes for P2P communication, and selectively uses any one of the plurality of modes to execute P2P communication. can do.
  • the communication device on the searching side uses the search signal (for example, Probe Request frame or Beacon) for searching for the communication device on the searched side (other device) to search and discover the other device. ..
  • the search signal for example, Probe Request frame or Beacon
  • the frequency band to be used and the communication method need to match on the search side and the searched side.
  • a user may (1) in a WLAN P2P mode in the 2.4 GHz frequency band, (2) in a BT P2P mode in the 2.4 GHz frequency band, and (3) in the 5 GHz frequency band.
  • the MFP 300 can be set to operate in the desired P2P mode from the WLAN P2P mode.
  • the user sets MFP 300 to operate in the P2P mode of WLAN in the frequency band of 2.4 GHz band, for example.
  • the MFP 300 is not in a state of being able to receive the search signal in the 5 GHz band, and therefore the response to the search signal is received. It does not send a signal.
  • the user sets MFP 300 to operate in the P2P mode by BT in the 2.4 GHz band.
  • the communication device on the search side such as the terminal device 200 transmits the search signal in the same 2.4 GHz band
  • the search signal is a WLAN search signal
  • the MFP 300 recognizes the search signal. Therefore, no response signal is transmitted. In this way, the communication device on the search side can discover the partner device on the search side in which the used frequency band and the used communication method match.
  • Mode A Soft AP mode
  • Mode B Wi-Fi Direct (WFD) mode
  • Mode D Bluetooth Low Energy (BLE) mode
  • Mode E Bluetooth Classic (BT) mode
  • a communication device capable of performing P2P communication can be configured to support at least one of these modes.
  • a communication device capable of executing P2P communication does not have to support all of these modes, and may be configured to support only a part thereof.
  • the communication device can support the wireless infrastructure mode (mode C) as well as the P2P mode.
  • a communication device for example, the terminal device 200 having a communication function by WFD or BT
  • an application in some cases, a dedicated application for realizing the communication function
  • this communication device may display a screen of a UI (user interface) provided by the application to prompt a user operation, and execute WFD communication or BT communication based on the user operation received in response to the screen.
  • a UI user interface
  • the BT communication here means communication of BT1.1 to BT5.0 such as Bluetooth Classic and Bluetooth Low Energy.
  • FIG. 7 shows a device search sequence in mode A (soft AP mode).
  • the communication device for example, the terminal device 200
  • the other communication device for example, the MFP 300
  • the communication device operating as a client transmits a device search request 701 to search for a communication device operating as a soft AP.
  • the software AP transmits a device search response 702 as a response.
  • the communication device By transmitting and receiving such a device search request and device search response, the communication device (for example, the terminal device 200) operating as the client discovers the partner device (for example, the MFP 300) operating as the software AP.
  • the partners device for example, the MFP 300
  • the commands and parameters transmitted and received when establishing a wireless connection between the client and the soft AP only need to be those defined by the Wi-Fi (registered trademark) standard, and therefore the description here will be made. Will be omitted.
  • the MFP 300 operating in the soft AP mode determines a frequency band and a frequency channel as a master station. Therefore, the MFP 300 can select which frequency band is used and which frequency channel is used in that frequency band from 5 GHz and 2.4 GHz.
  • FIG. 8 shows a device search sequence in mode B (WFD mode).
  • WFD mode the communication device on the search side searches for the partner device on the search side by transmitting a device search request 801.
  • the communication device on the search side is terminal device 200 and the partner device on the search side is MFP 300.
  • the device search request 801 has a WFD attribute, which specifies that the target of the search is a WFD mode communication device.
  • the MFP 300 upon receiving the device search request 801, the MFP 300 transmits a device search response 802 as a response to the terminal device 200.
  • the terminal device 200 Upon receiving the device search response 802, the terminal device 200 detects the MFP 300 that is the P2P communication partner. After completing the device search, these communication devices determine the roles of the P2P group owner (GO) and the P2P client, and perform the remaining wireless connection processing. This role determination corresponds to GO Negotiation in P2P, for example.
  • the MFP 300 may be fixedly activated as the master station in the WFD mode (Autonomous Group Owner). In this case, the GO Negotiation communication for determining the role is unnecessary. Further, in this case, the MFP 300 determines the frequency band and the frequency channel as the master station. Therefore, the MFP 300 can select which frequency band is used from 5 GHz and 2.4 GHz, and which frequency channel is used in that frequency band.
  • FIG. 10 shows a device search sequence in mode D (BLE mode).
  • the communication device sends out a beacon 1001.
  • the other communication device can recognize the existence of the communication device by receiving the beacon 1001.
  • the terminal device 200 can recognize the presence of the MFP 300 by receiving the beacon 1001.
  • the terminal device 200 after receiving the beacon 1001, executes control communication for establishing a P2P connection with the MFP 300.
  • the commands and parameters used for the control communication for connection may be those specified by the standard such as BT4.1, and therefore the description thereof is omitted here.
  • FIG. 11 shows a device search sequence in mode E (BT mode).
  • BT mode one communication device operates as a master that searches for a BT device, and the other communication device operates as a slave.
  • the terminal device 200 operates as a master and the MFP 300 operates as a slave.
  • the terminal device 200 (master) searches for the partner device by transmitting the device search request 1101.
  • the MFP 300 (slave) transmits a device search response 1102 as a response signal.
  • Procedures such as connection and transmission/reception using commands and parameters including the device search request 1101 and the device search response 1102 are defined by the BT1.1 standard and its variations, and therefore description thereof is omitted here.
  • FIG. 9 is a diagram showing a device search sequence in mode C (wireless infrastructure mode).
  • a communication device for example, the terminal device 200 and the MFP 300
  • an external AP for example, an access point 400
  • communication between the communication devices is performed by the AP. Done through.
  • communication between the communication devices is executed via the network constructed by the external AP.
  • the terminal device 200 searches for the access point 400 by transmitting a device search request 901, for example.
  • the access point 400 transmits a device search response 902 in response to the device search request 901.
  • the terminal device 200 discovers the access point 400.
  • the MFP 300 also discovers the access point 400 by transmitting the device search request 903 and receiving the device search response 904.
  • the terminal device 200 and the MFP 300 respectively discover the access point 400 and connect to the access point 400, whereby communication can be performed via the access point 400 of these communication devices.
  • a plurality of communication devices may connect to different APs.
  • data transfer between APs eg, via a wired network
  • the commands and parameters transmitted and received during the communication between the communication devices via the access point may be those specified by the Wi-Fi standard, and therefore the description thereof is omitted here.
  • the access point 400 determines the frequency band and the frequency channel. For this reason, the access point 400 can select which frequency band to use and which frequency channel to use in that frequency band from 5 GHz and 2.4 GHz.
  • the one set of antennas is, for example, one antenna or one set of array antennas. Therefore, for example, in the MFP 300 having the wireless combo unit 616 as described above, when the wireless infrastructure mode, the P2P mode such as WFD, and the P2P mode such as BLE are operated in parallel, the communication interval and the communication speed are stabilized depending on the operation state. It can disappear.
  • the MFP 300 is provided with one set of antennas will be described, but one or more sets of antennas may be provided.
  • the restriction on the communication stability when the communication device is set to use a plurality of interfaces in parallel is avoided by the control inside the communication device.
  • the MFP 300 according to the present embodiment is connected to a plurality of partner devices (for example, the terminal device 200 and the access point 400) by a plurality of wireless interfaces, it controls so as to operate in a time division manner. .. Then, the MFP 300 executes control such that the ratio of the time length when performing time-division communication using each wireless interface is changed according to the operating state of the device itself.
  • the time division control based on the operating state will be described.
  • the user can enable the wireless infrastructure mode, the P2P mode, and the BLE mode of the WLAN, for example, using the screen of FIG. 4C.
  • the MFP 300 wirelessly connects in the infrastructure mode to enable wireless communication with the communication partner device via the external access point, and the device itself functions as a master station without the external access point.
  • the wireless connection in the peer-to-peer mode for enabling wireless communication with the communication partner device (slave station) and the wireless connection by BLE can be maintained in parallel.
  • the wireless combo unit 616 of the MFP 300 is capable of WLAN communication conforming to the IEEE 802.11 standard series of 2.4 GHz band and 5 GHz band, and further capable of communication conforming to BLE standard of BT 4.1 or later.
  • the operation state of the MFP 300 using the wireless combo unit 616 includes, for example, “Standby”, “Print”, “Scan”, and “BLE communication in progress”. It should be noted that “Standby” is a state in which the power of the MFP 300 is ON and the print instruction and the scan instruction can be accepted, but the print processing and the scan processing are not actually performed.
  • Print is a state from the start of receiving print data from an external device (for example, the terminal device 200) to the completion of print processing.
  • Scan is a state from when a scan execution instruction is received from an external device (for example, the terminal device 200) or the operation display unit 305 until transmission processing of scan data to the external device is completed.
  • In BLE communication is a state from the start of beacon transmission to the completion of BLE communication with the communication partner device (terminal device 200 in the present embodiment).
  • the MFP 300 can enable the WLAN wireless infrastructure mode and the P2P mode in parallel. Of these two modes, the time length assigned to each mode is determined based on which of the wireless infrastructure mode and the P2P mode data communication requires more wireless resources. Further, in the BLE mode, it is necessary to send a beacon every 100 msec. Therefore, while the BLE communication is valid, the MFP 300 allocates a period from the start of beacon transmission every 100 msec to the end of beacon transmission and a fixed period after the end of beacon transmission for BLE communication. For example, the MFP 300 may receive the request packet from the terminal device 200 during this fixed period.
  • the MFP 300 allocates a beacon transmission period for every 100 msec and a BLE data transmission/reception period for BLE communication. Note that 100 msec is an example, and other intervals may be used.
  • the MFP 300 performs the initial setting from the factory shipment state (loaded state), so that a special processing sequence (initial setup) for initial startup different from usual is started. Is configured. For example, the MFP 300 is shipped from the factory with no ink tank, print head, or the like attached to the printing unit 612. Therefore, it is necessary to prepare the MFP 300 so that it can be used, for example, by prompting the user to mount the enclosed ink tank or print head immediately after the initial startup when the user first operates. Whether or not the MFP 300 is in the initial startup state with the factory shipment state is controlled using a flag (initial startup flag) stored in the nonvolatile memory 605. The state of this initial startup flag changes in response to the completion of preparation for use by the user, and the MFP 300 is configured not to start the processing sequence dedicated to initial startup after the completion of preparation. There is.
  • a flag initial startup flag
  • the processing at initial startup includes the setting of the wireless interface.
  • the interface setting process when the MFP 300 is initially activated will be described with reference to FIGS. 12 and 13. Although a sequence of initial setup other than interface setting is executed at the time of initial startup, description of sequences that are not directly related to this embodiment will be omitted here.
  • FIG. 13 shows an example of the flow of processing executed by the MFP 300. This processing is executed by the CPU 602 executing a program stored in the ROM 603, for example.
  • the MFP 300 When the power is turned on, the MFP 300 refers to the initial startup flag stored in the non-volatile memory 605 and determines whether the device itself is in the initial startup state (S1301).
  • the initial activation flag is set to a specific value indicating that the MFP 300 is in the initial activation state when shipped from the factory.
  • the validly set interface is validated according to the valid/invalid setting of the interface stored in the nonvolatile memory 605 ( S1312).
  • the MFP 300 displays a normal startup standby screen as shown in FIG. 4A (S1313), enters a state of waiting for a user operation, and ends the process.
  • the processes of S1312 and S1313 correspond to the startup process of the MFP 300 during normal use.
  • the processing sequence shown in S1302 to S1315 when the user first starts the MFP 300 is executed.
  • the MFP 300 first displays on the operation display unit 305 a screen as shown in FIG. 12, which prompts the user to select an interface to be used in the MFP 300 (S1302).
  • the user selects the interface to be used in the MFP 300 from the items displayed on the screen.
  • the MFP 300 determines whether the interface selected by the user operation is “wireless LAN” (S1303), and if it determines that the wireless LAN is not selected (NO in S1303), the process proceeds to S1310.
  • the MFP 300 determines that the wired LAN has been selected (YES in S1310), the MFP 300 performs the processing for activating the wired LAN (S1311), and advances the processing to S1314. Further, the MFP 300 saves setting information indicating that the wired LAN has been set to be valid in the non-volatile memory 605. As a result, the MFP 300 can activate the wired LAN interface by referring to this setting information at the time of normal startup (NO in S1301) (S1312). The MFP 300 determines whether “wired LAN” is selected (S1310), and if the wired LAN is not selected (NO in S1310), the process proceeds to S1314.
  • the MFP 300 validates BLE and USB (S1314, S1315), and ends the interface setting process at the time of initial startup.
  • the MFP 300 sets the value of the initial startup flag stored in the non-volatile memory 605 to a non-initial value from the value indicating the initial startup state after completing all the loading processing sequences including the interface selection. Change to a value that indicates the startup status. As a result, the initial startup processing sequence will not be started at the next timing when the power of the MFP 300 is turned on.
  • the MFP 300 determines that the interface selected by the user operation is “wireless LAN” (YES in S1303), the MFP 300 advances the process to S1304.
  • the MFP 300 activates the cableless setup mode.
  • the cableless setup mode is a dedicated mode for wireless setting.
  • the MFP 300 activates the soft AP mode and operates as an AP.
  • an external communication device such as a personal computer, a smartphone, or a tablet can easily connect and communicate with the MFP 300 as a client (slave unit).
  • the frequency band of 2.4 GHz band or 5 GHz band is used.
  • which frequency band to use may be determined by the MFP 300, for example, based on surrounding wireless communication conditions. For example, when the MFP 300 determines that the wireless communication using the 2.4 GHz band is more congested than the wireless communication using the 5 GHz band, even if the software AP is activated to perform the communication using the 5 GHz band. Good.
  • the soft AP mode is not necessarily used, but the soft AP mode does not necessarily have to be used, such as the WFD mode is used.
  • WFD when WFD is used, it is necessary to include a randomly generated character string in the SSID that is the network identifier, and the soft AP does not have such a restriction. Therefore, the soft AP mode is used here. Shall be.
  • the terminal device 200 establishes a wireless connection in P2P with the MFP 300 operating as an AP in S1304.
  • the MFP 300 accepts the input of setting values mainly required for connection in the wireless infrastructure mode (S1305).
  • an external communication device such as a personal computer, a smartphone, or a tablet transmits setting information for the wireless infrastructure mode to the MFP 300 using, for example, a LAN setting dedicated application.
  • a LAN setting-dedicated application that operates in an external communication device such as a personal computer, a smart phone, or a tablet is configured to be able to connect the MFP 300 to an external AP to which it is connected.
  • the LAN setting dedicated application operating on the terminal device 200 is configured to transmit wireless setting information regarding an external AP to which the terminal device 200 is connected to the MFP 300 operating as a soft AP.
  • the LAN setting-dedicated application may be activated by the external communication device executing a program stored in a storage medium included in the product of the MFP 300 or distributed in a network downloadable format.
  • the wireless setting information that the MFP 300 receives from the external communication device includes the SSID of the external AP that constructs the network to join, the frequency band used by the external AP, the encryption method, the authentication method, and the like.
  • the information on the frequency band may be information designating the 5 GHz band or the 2.4 GHz band, a value indicating a wireless channel associated with the frequency band, or the like.
  • the MFP 300 ends the cableless setup mode (S1306), stops the soft AP mode, and executes the wireless setting process of the wireless infrastructure mode. Then, the MFP 300 starts setting the wireless combo unit 616 according to the wireless setting information received in S1305 (S1307).
  • the wireless combo unit 616 is the only module that performs WLAN communication and BT communication with a common antenna as described above. Since the MFP 300 enables communication with a plurality of communication interfaces using a common antenna, the priority of each interface is set, and the period length assigned by the time division control is set based on the priority.
  • the wireless control setting table used for the setting of S1307 is shown in FIGS. 15A, 16A,..., 23A. Based on the wireless setting information received in S1305, the MFP 300 identifies which of the 2.4 GHz band and the 5 GHz band is used in the infrastructure mode, and when 5 GHz is used, which of the DFS channel and the non-DFS channel is used.
  • DFS Dynamic Frequency Selection and has a function of dynamically changing a channel depending on the presence or absence of an interference wave such as a weather radar.
  • a DFS channel that needs to be dynamically changed according to the presence or absence of an interference wave such as a weather radar is referred to as “DFS Ch”.
  • a non-DFS channel that does not need to be dynamically changed depending on the presence or absence of an interference wave such as a weather radar is referred to as a "non-DFS Ch”.
  • the MFP 300 determines which of the wireless control setting tables in FIGS. 15A to 23C is to be used based on the combination of the wireless setting information received in S1305. Details of the wireless control setting tables of FIGS.
  • the MFP 300 sets the information of the wireless control setting table extracted based on the wireless setting information received in S1305, and stores the setting in the non-volatile memory 605.
  • the MFP 300 acquires the connection CH setting value of the P2P connection in the cableless setup mode and the connection CH (channel) setting value of the wireless infrastructure mode set by the user from the wireless setting information received in S1305 (S1401).
  • the connection CH setting value in the wireless infrastructure mode is set by the user operating the LAN setting dedicated application operating on the terminal device 200. Further, in the present embodiment, it is described that the connection CH setting value of the P2P connection is acquired from the wireless setting information received in S1305, but another method may be used. That is, the MFP 300 stores the connection CH of the P2P connection in the cableless setup mode.
  • the MFP 300 may read the stored connection CH setting value of the P2P connection in the cableless setup mode. Then, the MFP 300 determines whether the connection CH set value for the P2P connection is in the 2.4 GHz band or the 5 GHz band (S1402). When the connection CH set value for P2P connection is in the 5 GHz band (NO in S1402), the MFP 300 determines whether the channel is DFS Ch (S1403). DFS Ch is W53 or W56 in the 5 GHz band that is generally defined by the IEEE 802.11 standard series. However, depending on the country or region, DFS Ch may also include W52 and W58.
  • the MFP 300 determines that the connection CH setting value for the P2P connection is not DFS Ch (NO in S1403), the MFP 300 determines that the connection channel setting value for the P2P mode is non-DFS Ch in the 5 GHz band (S1404). ..
  • the MFP 300 determines that the connection CH setting value of the P2P connection is DFS Ch (YES in S1403), the MFP 300 determines the information of the 5 GHz band DFS Ch as the connection CH setting value of the P2P mode (S1405). ).
  • the MFP 300 determines that the connection CH set value for the P2P connection is in the 2.4 GHz band (YES in S1402), the MFP 300 determines information in the 2.4 GHz band as the connection CH set value in the P2P mode (S1406). ).
  • the MFP 300 determines whether the connection CH setting value in the wireless infrastructure mode is the 2.4 GHz band or the 5 GHz band based on the wireless setting information received in S1305 (S1407). Then, when the connection CH setting value is in the 5 GHz band (NO in S1407), the MFP 300 determines whether the connection CH setting value is DFS Ch or non-DFS Ch (S1408). If the MFP 300 determines that the connection CH setting value is not DFS Ch (NO in S1408), the MFP 300 determines the connection CH setting value in the wireless infrastructure mode as non-DFS Ch (S1409).
  • the MFP 300 determines the connection channel setting value in the wireless infrastructure mode to be DFS Ch (S1410). If the MFP 300 determines that the connection CH setting value is in the 2.4 GHz band (YES in S1407), the MFP 300 determines the connection CH setting value in the wireless infrastructure mode to be 2.4 GHz (S1411).
  • the MFP 300 refers to the wireless control setting table (S1412) and uses the wireless control setting table based on the connection CH setting value in the P2P mode and the connection CH setting value in the wireless infrastructure mode determined by the above-described processing. To decide.
  • An example of the wireless control setting table determined here is shown in FIGS. 15A to 23C.
  • the MFP 300 sets the setting values described in the wireless control setting table determined in S1412 (S1413), and determines the WLAN and BLE priorities and the time-division control setting values.
  • the MFP 300 activates communication in the wireless infrastructure mode in accordance with the wireless setting information received in S1305 and the setting value based on the processing in S1307, and performs connection processing to the external access point 400. Then, the MFP 300 stores the setting in the non-volatile memory 605 when the wireless infrastructure mode is set to be valid. Specifically, the fact that the wireless infrastructure mode is valid, the SSID of the external AP used in the wireless infrastructure mode, and the like are stored. Further, the MFP 300 validates the P2P mode setting based on the frequency band information transmitted from the external communication device included in the wireless setting information received in S1305 and the setting value based on the process of S1307 (S1309).
  • the MFP 300 stores the setting in the non-volatile memory 605 when the P2P mode is set valid. Specifically, the fact that the P2P mode is valid, the frequency band used in the P2P mode, and Ch information are stored. If the MFP 300 is capable of operating in parallel with the wireless infrastructure mode and the P2P mode, even if the user selects the wireless infrastructure mode alone in the setup flow at the time of initial startup, the P300 is automatically determined by the MFP 300. Modes can also be enabled. Then, the MFP 300 can automatically execute setup so that the wireless infrastructure mode and the P2P mode operate in parallel.
  • the process of activating the P2P mode and saving the settings may be performed regardless of whether or not the wireless setting information for activating the P2P mode is received in S1305.
  • the frequency band and CH suitable for the area where the wireless LAN is used can be held in the MFP 300 in advance as an initial value.
  • the MFP 300 validates BLE and USB (S1314, S1315), and ends the interface setting process at the time of initial startup. That is, the BLE mode is activated and the USB interface is activated regardless of whether the wired LAN is selected or the wireless LAN is selected. Note that the MFP 300 does not have to enable the BLE mode or the USB interface by, for example, setting based on a user operation.
  • the process of enabling the parallel communication in the wireless infrastructure mode, the P2P mode, and the BLE mode is performed.
  • the frequency band used in the wireless infrastructure mode or the P2P mode is the 2.4 GHz band or the 5 GHz band, and in the case of 5 GHz
  • the set channel is DFS Ch or non-DFS Ch.
  • the radio control setting table to be used is determined. That is, ⁇ Infrastructure: 2.4 GHz, P2P: 2.4 GHz ⁇ FIGS. 15A to 15C ⁇ Infrastructure: 5 GHz non-DFS Ch, P2P: 2.4 GHz ⁇ FIGS.
  • the radio control setting table to be used is determined.
  • the MFP 300 can maintain the wireless connection of the above-described pattern in parallel.
  • the MFP 300 can maintain a 5 GHz DFS Ch wireless connection in the wireless infrastructure mode, a 2.4 GHz wireless connection in the P2P mode, and a BLE mode wireless connection in parallel. Further, for example, the MFP 300 can maintain a 5 GHz DFS Ch wireless connection in the wireless infrastructure mode, a 5 GHz non-DFS Ch wireless connection in the P2P mode, and a BLE mode wireless connection in parallel.
  • the MFP 300 Upon completion of this initial activation, the MFP 300 transitions to the Standby state.
  • the MFP 300 can improve the convenience when operating the P2P mode, the wireless infrastructure mode, and the BLE mode in parallel by using the common hardware resource.
  • the BLE mode When the BLE mode is disabled, the period allocated to BLE is distributed according to the time ratio allocated to the wireless infrastructure mode and the P2P mode in the above-mentioned wireless control setting table. sell. Further, another wireless control setting table corresponding to the case where the BLE mode is disabled may be prepared.
  • the communication period length of each mode is determined based on the time ratio in the wireless control setting table described above.
  • another wireless control setting table may be prepared.
  • the remaining period may be assigned to another mode while maintaining the beacon transmission period for the BLE mode in the above-mentioned wireless control setting table. ..
  • another wireless control setting table including a period related to the wireless communication mode can be prepared.
  • the MFP 300 is configured to enable/disable the interface to be used via a main body operation screen as shown in FIG. 4C or via a cableless setup. Note that the MFP 300 can perform cableless setup when the user operates the operation screen of the MFP 300. That is, when the user instructs to perform cableless setup using the operation screen of the MFP 300, the MFP 300 activates the soft AP mode as in S1304 and operates as an AP.
  • the MFP 300 cannot enable the wireless LAN with the wired LAN enabled.
  • the MFP 300 cannot enable the wired LAN while the wireless LAN is enabled.
  • the wired LAN and the wireless LAN can be disabled in parallel. Since the communication function of Bluetooth is also realized by the wireless combo unit 616 together with the wireless LAN, it is configured not to be enabled when the wired LAN is enabled.
  • the USB interface cannot be disabled by setting by the user, is always enabled at startup, and is configured to be usable in parallel with a wired LAN, wireless LAN, or BLE.
  • the wireless LAN has settings for the P2P mode and the wireless infrastructure mode, and the MFP 300 is configured to be able to individually enable/disable the settings for these modes.
  • the P2P mode and the wireless infrastructure mode can be enabled in parallel. That is, the MFP 300 can maintain the wireless connection in the P2P mode and the wireless connection in the wireless infrastructure mode in parallel. It should be noted that the connections can be maintained in parallel, but the data communication is not executed in parallel but is executed sequentially. For example, when the wireless connection in the P2P mode and the wireless connection in the wireless infrastructure mode are maintained in parallel, data communication in the wireless infrastructure mode is first performed for a predetermined period, and then data communication in the P2P mode is performed. ..
  • the MFP 300 is configured to enable/disable the BLE mode independently of the P2P mode of the wireless LAN and the wireless infrastructure mode.
  • the BLE mode can also be enabled in parallel with each mode of the wireless LAN (P2P mode and/or wireless infrastructure mode). That is, the MFP 300 can maintain the wireless connection in each mode of the wireless LAN and the wireless connection in the BLE mode in parallel. Therefore, the MFP 300 can maintain the wireless connection by P2P of the wireless LAN, the wireless connection by the wireless infrastructure mode, and the wireless connection by BLE in parallel.
  • the set valid/invalid state is stored in the non-volatile memory 605, and the MFP 300 refers to the information at the next startup after the power is turned off, and validates each interface based on the stored information. ..
  • the MFP 300 invalidates the P2P mode, the wireless infrastructure mode, and the BLE mode. Further, in this case, the MFP 300 also disables the wired LAN, and the LAN is not used for both wired and wireless.
  • the user initializes the LAN settings, the user will change the settings of the desired interfaces to be valid and use the MFP 300.
  • the MFP 300 can execute the same process as in FIG. 14 and select the wireless control setting table to be used, for example, in response to the setting change as described above.
  • FIGS. 15A to 23C show examples of the radio control setting tables respectively corresponding to the frequency bands and channels used in the radio infrastructure mode and the P2P mode.
  • FIGS. 15A, 16A,..., 23A are Standby tables used when the MFP 300 is in the Standby state (idle state).
  • 15B, 16B,..., 23B are wireless infrastructure connection priority used when the MFP 300 is in the Print/Scan operating state and is transmitting/receiving print data (or scan data) in the wireless infrastructure mode.
  • 15C, 16C,..., 23C are P2P connection priority tables used when the MFP 300 is in the Print/Scan operating state and is transmitting/receiving print data (or scan data) in the P2P mode. is there.
  • the “Priority” item in each table is a setting value that indicates the priority order in which common hardware (for example, one CPU, one set of antennas) is used.
  • BLEs that need to send beacons at regular intervals are always given priority 1 (highest priority), and the wireless infrastructure mode and P2P mode have priority 2 or 3 depending on the connected channel. It is set.
  • the priority when the channel used is the 5 GHz band DFS Ch is set to the other channel (2.4 GHz band or 5 GHz band non-DFS Ch). Higher than the priority of.
  • the 2.4 GHz band and non-DFS Ch in the 5 GHz band have the same priority.
  • the settings of these priorities are examples, and settings different from the settings shown may be used.
  • the higher the priority the more preferentially communication is performed.
  • communication in the BLE mode (priority 1) is executed with the highest priority.
  • the P2P mode (priority 2) communication is preferentially executed.
  • the priority of communication in the wireless infrastructure mode (priority 3) is the lowest. That is, in the examples of FIGS. 19A to 19C, when the packet received in the P2P mode communication during the wireless infrastructure mode communication includes the DFS command, the wireless infrastructure mode communication is stopped. Then, the processing of the DFS command included in the packet received in the P2P mode communication is executed with priority over the communication in the wireless infrastructure mode.
  • the item of “time division occupancy” is the communication in the BLE mode, the wireless infrastructure mode, and the P2P mode in the interval from the start of the beacon transmission period of the BLE constant interval (for example, 100 msec interval) to the start of the next beacon transmission period. It is a setting value of possible time. Communication in each mode is executed during the period set by this time division occupancy, and communication in other modes is not performed within that period. For example, according to the table of FIG. 15A, communication in the BLE mode is performed every 100 msec which is the beacon transmission interval in the BLE mode. At this time, if there is data to be communicated other than the beacon in the BLE mode, the communication in the BLE mode is performed until the communication is completed.
  • the communication period in the BLE mode is, for example, 10 msec. After that, the remaining 90 msec is used by 50% in each of the wireless infrastructure mode and the P2P mode. That is, a communication period of 45 msec is allocated to the wireless infrastructure mode and a communication period of 45 msec is allocated to the P2P mode. Also, according to the table of FIG. 15B, since Print/Scan data is transmitted and received in the wireless infrastructure mode, a large amount of time is allocated to the wireless infrastructure mode.
  • the communication period in the BLE mode is, for example, 10 msec
  • the communication period of each mode is determined according to the operating state of MFP 300.
  • a fixed guard time may be inserted during switching between the modes.
  • the setting of these time division occupancy is an example, and a setting different from the setting shown may be used. In the examples of FIGS.
  • the wireless infrastructure mode and the P2P mode have the same priority of “2”. Therefore, there is no difference in communication between the two. Therefore, for example, even when the P2P mode communication is required during the wireless infrastructure mode communication, the wireless infrastructure mode communication is continued.
  • a separate table is prepared according to the operating state of the MFP 300, and the priority and the time division occupancy are set for each mode, so that hardware common to communication in a plurality of modes is provided.
  • the period of use is determined.
  • the state of the MFP 300 before the process of FIG. 24 starts is the Standby state.
  • the MFP 300 accepts the user operation via the communication in any mode (S2401).
  • the MFP 300 refers to the Standby table and can perform communication in each mode during the communication period defined in the table. Therefore, the MFP 300 can receive a signal indicating a user operation from the partner device (terminal device 200).
  • the MFP 300 determines whether the content of the user operation is a Print/Scan operation (S2402). That is, the MFP 300 determines whether the signal received from the terminal device 200 indicates a print instruction or a scan instruction.
  • the MFP 300 determines that the content of the user operation is an operation other than the Print/Scan operation (NO in S2402), the MFP 300 accepts the user operation with the Standby table as it is (S2403), and ends the processing in FIG. That is, in this case, the MFP 300 determines that the device state related to the communication is not changed by the user operation, and maintains the Standby state.
  • the MFP 300 determines that the content of the user operation is the Print/Scan operation (YES in S2402)
  • the MFP 300 transitions to the Print/Scan operation state (S2404).
  • the MFP 300 changes the wireless control setting table to be used, depending on the state after this transition and whether the Print/Scan is instructed by the wireless infrastructure mode, the P2P mode, or the BLE mode (S2405). Then, the MFP 300 transmits/receives Print/Scan data to/from the partner device (terminal device 200) using the setting information corresponding to the priority and the time division occupancy in the changed wireless control setting table ( S2406). This transmission/reception process is repeated until all data is transmitted/received (NO in S2407, S2406). When the data transmission/reception is completed (YES in S2407), the MFP 300 executes the Print/Scan completion process (S2408) and prepares for the next state transition.
  • the Print/Scan completion process is similar to the process performed in a general MFP, and will not be described in detail here.
  • the MFP 300 transitions the operating state to Standby (S2409) and changes the wireless control setting table to be used to the Standby table corresponding to the current wireless setting (S2410).
  • the MFP 300 first determines which of the wireless infrastructure mode, the P2P mode, and the BLE mode has received the Print/Scan execution instruction (S2501, S2502).
  • the MFP 300 determines that the execution instruction has been received through the communication in the BLE mode (NO in S2501 and NO in S2502)
  • the MFP 300 executes the handover for communicating with the partner device (terminal device 200) of the communication in the P2P mode. (S2503).
  • the terminal device 200 receives the wireless connection information (SSID, password, etc.) of the software AP inside the MFP 300 via BLE communication.
  • the terminal device 200 instructs the MFP 300 to activate the software AP via BLE communication.
  • the MFP 300 Upon receiving the activation instruction of the software AP via BLE, the MFP 300 confirms and sets the P2P mode connection channel (S2504). Then, the MFP 300 sets the P2P connection priority table as the wireless control setting table to be used among the wireless control setting tables corresponding to the set values (S2505). For example, a case will be described in which the MFP 300 is set to communicate at 2.4 GHz in the wireless infrastructure mode, and the software AP activated by an instruction via BLE is set to use 5 GHz non-DFS Ch. .. In this case, the MFP 300 sets FIG. 18C in step S2505.
  • the MFP 300 when the MFP 300 is set to communicate with the 5 GHz DFS Ch for the wireless infrastructure mode, and the soft AP activated by an instruction via BLE is set to use 2.4 GHz. Will be described. In this case, the MFP 300 sets FIG. 17C.
  • a P2P connection is established between the software AP inside the MFP 300 activated by an instruction via BLE and the terminal device 200.
  • the terminal device 200 establishes a wireless connection using the wireless connection information (SSID, password, etc.) received in the BLE communication.
  • SSID wireless connection information
  • the MFP 300 determines that the user operation information has been received through the communication in the P2P mode (NO in S2501 and YES in S2502), it uses the P2P connection priority table corresponding to the current connection setting information already held. It is set as a wireless control setting table (S2506).
  • the MFP 300 determines that the user operation information is received through the communication in the wireless infrastructure mode (YES in S2501), it uses the wireless infrastructure connection priority table corresponding to the current connection setting information that is already held. It is set as a wireless control setting table (S2507).
  • the set table information is stored in the non-volatile memory 605.
  • FIGS. 26A to 26D and 27A to 27D show an example of an operation when the MFP 300 receives data
  • FIGS. 27A to 27D show an example of an operation when the MFP 300 transmits data
  • 26A to 26D and FIGS. 27A to 27D show a case where a beacon is periodically transmitted by BLE communication.
  • the packets indicated by white rectangles indicate packets transmitted by the MFP 300
  • the packets indicated by hatched rectangles indicate packets received by the MFP 300.
  • the horizontal axis indicates the passage of time.
  • FIG. 26A shows beacon transmission in BLE mode and data packet reception operation in wireless infrastructure mode and P2P mode based on the Standby table.
  • a packet 2601 indicates a beacon transmitted by the MFP 300 in the BLE mode.
  • the BLE beacon is transmitted in a predetermined time period indicated by the beacon interval.
  • a packet 2602 indicates a data packet received by the MFP 300 in the wireless infrastructure mode.
  • the MFP 300 determines that this data packet is a normal packet, it sends an ACK packet (packet 2603).
  • the wireless infrastructure mode data packet packet (packet 2602) arrives at MFP 300 at the timing when the BLE beacon (packet 2601) is transmitted from MFP 300.
  • the MFP 300 executes beacon (packet 2601) transmission in the BLE mode, and the wireless infrastructure mode is set.
  • Ignore packet 2602. 26A to 26D and 27A to 27D the communication period in the BLE mode is referred to as a "BLE time division occupied period". Therefore, the reception process of the packet 2602 does not occur, and the ACK packet (packet 2603) is not transmitted accordingly. Therefore, the partner device (for example, the access point 400) cannot receive the ACK packet and retransmits the packet 2602.
  • this packet 2602 is transmitted in the communication period assigned to the wireless infrastructure mode in MFP 300, so that MFP 300 can receive this packet 2602. it can.
  • the MFP 300 Since the MFP 300 has not received the information about Print/Scan at this time, the MFP 300 sets the communication periods of the BLE mode, the wireless infrastructure mode, and the P2P mode based on the time division occupancy defined in the Standby table. To do. For example, when the MFP 300 is set to perform communication at 2.4 GHz for the wireless infrastructure mode communication and the P2P mode communication, FIG. 15A is referred to. That is, according to the example of FIG. 15A, the remaining period after the completion of the communication in the BLE mode is allocated to the communication periods of the wireless infrastructure mode and the P2P mode by 50%. For example, when FIG.
  • the MFP 300 does not perform the transmission of the BLE mode beacon or the process on the packet received in the P2P mode during the communication period of the wireless infrastructure mode. Therefore, even if the P2P mode packet 2604 arrives during the communication period of the wireless infrastructure mode, the MFP 300 ignores it. In this case, the communication partner device (terminal device 200) in the P2P mode does not receive the ACK packet after transmitting the packet 2604, and therefore retransmits the packet 2604. This retransmission is also performed according to the communication control of the WLAN communication standard after a predetermined time (“t2” in FIG. 26A) has elapsed from the previous packet transmission.
  • t2 predetermined time
  • the packet 2604 is transmitted in the communication period assigned to the P2P mode in the MFP 300, and thus the MFP 300 can receive the packet 2604. Then, upon successful reception of the packet 2604, the MFP 300 transmits an ACK packet (packet 2605) to the partner device (terminal device 200).
  • the communication period in the wireless infrastructure mode is represented as a “wireless infrastructure connection time division occupied period”
  • the communication period in the P2P mode is represented as a “P2P connection time division occupied period”. ..
  • the MFP 300 is set to perform communication at the 5 GHz DFS Ch for communication in the wireless infrastructure mode, and is set to perform communication at 2.4 GHz for the P2P mode communication. I will explain the situation. In this case, reference is made to FIG. 17A.
  • the priority of the wireless infrastructure mode is higher than the priority of the P2P mode. Therefore, the MFP 300 receives the wireless infrastructure mode packet during the communication period assigned to the P2P mode, and determines whether the packet includes the DFS command. When it is determined that the packet contains the DFS command, the MFP 300 preferentially executes the process based on the DFS command in the wireless infrastructure mode over the process based on the packet in P2P mode.
  • the MFP 300 reads the Ch information specified by the DFS command and stores it in the memory. Then, the process based on the P2P mode packet is restarted. Then, when the MFP 300 next operates in the wireless infrastructure mode, the MFP 300 executes the wireless infrastructure mode communication process using the Ch information specified by the DFS command stored in the memory. In this case, when the MFP 300 determines that the DFS command is not included in the packet in the wireless infrastructure mode received during the communication period assigned to the P2P mode, the packet is ignored. Then, the process based on the packet received in the P2P mode communication is preferentially executed.
  • the communication period of the wireless infrastructure mode and the P2P mode of the MFP 300 is within a predetermined period determined by the beacon cycle. It is constant.
  • the length of the communication period in the wireless infrastructure mode and the P2P mode in MFP 300 varies accordingly.
  • FIG. 26B shows an example of communication operation when data communication other than a beacon occurs in the BLE mode in the Standby table. The MFP 300 sets a specific period as a BLE communication period after the beacon transmission is started.
  • the MFP 300 analyzes the request packet 2606 and transmits a response packet 2607 as a response signal. At this time, the MFP 300 extends the communication period in the BLE mode until the communication with the terminal device 200 is completed. In this case, the length of the predetermined period corresponding to the beacon period excluding the BLE mode communication period is reduced by the amount of the extension of the BLE mode communication period, and accordingly, the wireless infrastructure mode and The communication period in the P2P mode also becomes shorter.
  • the MFP 300 allocates the remaining period obtained by subtracting the communication period length of the BLE mode from the beacon period to the wireless infrastructure mode and the P2P mode according to the ratio of the time division occupancy specified in the wireless control setting table. Set the communication period of the mode. Note that the process of FIG. 26B can be performed, for example, when the MFP 300 receives the user operation information indicating Print/Scan in FIG. 25 by communication in the BLE mode (NO in S2501 and NO in S2502).
  • FIG. 26C shows beacon transmission in BLE mode and data packet reception operation in wireless infrastructure mode and P2P mode based on the wireless infrastructure connection priority table.
  • the basic operation is the same as in FIGS. 26A and 26B.
  • the MFP 300 compares the period length of the communication period of the wireless infrastructure mode with the period length of the communication period of the P2P mode in the remaining period in which the communication period of the BLE mode is secured. Set longer. As a result, the MFP 300 can sufficiently secure the communication speed in communication with the access point 400 in the wireless infrastructure mode while maintaining regular beacon transmission.
  • the process of FIG. 26C can be performed, for example, when the MFP 300 receives the user operation information indicating Print/Scan in FIG. 25 by communication in the wireless infrastructure mode (YES in S2501).
  • FIG. 26D shows the beacon transmission in the BLE mode and the data packet reception operation in the wireless infrastructure mode and the P2P mode based on the P2P connection priority table.
  • the basic operation is the same as in FIGS. 26A and 26B.
  • the MFP 300 relatively compares the period length of the P2P mode communication period with the period length of the wireless infrastructure mode communication period in the remaining period in which the BLE mode communication period is secured. Set to long. As a result, the MFP 300 can sufficiently secure the communication speed in communication with the terminal device 200 in the P2P mode while maintaining regular beacon transmission.
  • the process of FIG. 26D can be performed, for example, when the MFP 300 receives the user operation information indicating Print/Scan in FIG. 25 by communication in the P2P mode (NO in S2501 and YES in S2501).
  • FIG. 27A shows beacon transmission in BLE mode and data packet transmission operation in wireless infrastructure mode and P2P mode based on the Standby table.
  • the MFP 300 sets the communication periods of the BLE mode, the wireless infrastructure mode, and the P2P mode according to the time division occupancy set in the Standby table.
  • the MFP 300 periodically transmits a beacon (packet 2601).
  • the MFP 300 transmits the packet 2702 to the communication partner device (access point 400) in the wireless infrastructure mode during the communication period in the wireless infrastructure mode.
  • ACK packet 2703 is transmitted from the communication partner device, and MFP 300 receives this ACK packet 2703.
  • the MFP 300 waits for the expiration of that period before performing signal transmission in the wireless infrastructure mode. Further, the MFP 300 transmits the packet 2704 and receives the ACK packet 2705 in the P2P mode, similarly to the signal transmission in the wireless infrastructure mode. During the communication period of the wireless infrastructure mode, even if there is no data to be transmitted, the MFP 300 waits for the expiration of the period and then executes the signal transmission in the P2P mode. In the P2P mode, the destination of the packet 2704 is the terminal device 200, and the ACK packet 2705 is received from the terminal device 200.
  • FIG. 27B shows an example of communication operation when data communication other than beacon occurs in the BLE mode in the Standby table.
  • the MFP 300 sets a specific period as a BLE communication period after the beacon transmission is started.
  • a request packet 2606 from the terminal device 200 is received for the beacon (packet 2601) during this communication period, the MFP 300 analyzes the request packet 2606 and transmits a response packet 2607 as a response signal.
  • the processing up to this point is the same as in FIG. 26B.
  • the MFP 300 extends the communication period in the BLE mode until the communication with the terminal device 200 is completed.
  • the length of the predetermined period corresponding to the beacon period excluding the BLE mode communication period is reduced by the amount of the extension of the BLE mode communication period, and accordingly, the wireless infrastructure mode and The communication period in the P2P mode also becomes shorter.
  • the MFP 300 allocates the remaining period obtained by subtracting the communication period length of the BLE mode from the beacon period to the wireless infrastructure mode and the P2P mode according to the ratio of the time division occupancy specified in the wireless control setting table. Set the communication period of the mode.
  • FIG. 27C shows the beacon transmission in the BLE mode and the data packet transmission operation in the wireless infrastructure mode and the P2P mode based on the wireless infrastructure connection priority table.
  • the basic operation is the same as in FIGS. 27A and 27B.
  • the MFP 300 compares the period length of the communication period of the wireless infrastructure mode with the period length of the communication period of the P2P mode in the remaining period in which the communication period of the BLE mode is secured. Set longer. As a result, the MFP 300 can sufficiently secure the communication speed in communication with the access point 400 in the wireless infrastructure mode while maintaining regular beacon transmission.
  • FIG. 27D shows beacon transmission in BLE mode and data packet reception operation in wireless infrastructure mode and P2P mode based on the P2P connection priority table.
  • the basic operation is the same as in FIGS. 27A and 27B.
  • the MFP 300 relatively compares the period length of the P2P mode communication period with the period length of the wireless infrastructure mode communication period in the remaining period in which the BLE mode communication period is secured. Set to long. As a result, the MFP 300 can sufficiently secure the communication speed in communication with the terminal device 200 in the P2P mode while maintaining regular beacon transmission.
  • the MFP 300 regularly transmits a beacon in BLE mode (S2801). After transmitting the packet 2601, the MFP 300 starts a beacon interval timer for transmitting the packet 2601 at regular intervals (S2802). The MFP 300 determines whether it is during the BLE mode communication period (S2803). Then, when the MFP 300 determines that the communication is in the BLE mode communication period (YES in S2803), the MFP 300 determines whether the request packet is received from the partner device (for example, the terminal device 200) of the communication in the BLE mode (S2804). .. When the communication period in the BLE mode has expired (YES in S2803) without receiving the request packet from the terminal device 200 (NO in S2804), the MFP 300 ends the process in FIG.
  • the MFP 300 turns on the extension flag of the communication period in the BLE mode (S2805). While the BLE mode communication period extension flag is ON, the MFP 300 does not shift to the wireless infrastructure mode or P2P mode communication period even if the set BLE mode communication period is exceeded. After that, the MFP 300 determines whether to continue the communication in the BLE mode each time the response packet 2607 is transmitted or the request packet 2606 is received (S2807).
  • the MFP 300 determines whether or not to continue the measurement because the beacon interval timer has not reached the specified time ( S2808). That is, the MFP 300 determines whether or not it is time to transmit the next BLE beacon.
  • the MFP 300 determines that the beacon interval timer has reached the specified time and the next beacon is to be transmitted (NO in S2808), the MFP 300 turns off the BLE mode communication period extension flag (S2809). Then, the MFP 300 returns the process to S2801, and repeats the series of processes from the beacon transmission.
  • the process returns to step S2806 and communication in the BLE mode is continued.
  • the MFP 300 determines that the beacon interval timer has not reached the specified time and it is not the timing to transmit the next beacon (YES in step S2808), the process returns to step S2806 and communication in the BLE mode is continued.
  • the MFP 300 turns off the extension flag of the communication period in the BLE mode (S2810).
  • the MFP 300 calculates the difference between the specified value of the beacon interval timer and the elapsed time of the current beacon interval timer, and specifies the remaining time until the next beacon is sent (S2811).
  • the MFP 300 calculates the communication period length of the wireless infrastructure mode and P2P from the specified remaining time and the time division occupancy of the wireless infrastructure mode of the currently set wireless control setting table (S2812, S2813). .. Then, the MFP 300 identifies a new communication period based on the communication period lengths of the wireless infrastructure mode and the P2P mode calculated in S2812 and S2813, and updates the set value of the communication period.
  • the MFP 300 can extend the communication period in the BLE mode as necessary while continuing to transmit in the BLE mode while transmitting the beacon in the BLE mode at a constant cycle. To do. Then, after the communication in the BLE mode is completed, the MFP 300 distributes a predetermined period corresponding to the beacon period as a communication period in the wireless infrastructure mode and the P2P mode according to the operation state of the own device. As a result, it is possible to perform communication while switching the communication mode at an appropriate time distribution according to the operating state of the MFP 300 while surely performing BLE communication. Note that, as shown in FIG.
  • the MFP 300 sets a communication period of an appropriate length for each of the BLE mode and the wireless infrastructure mode and the P2P mode in which the communication standard is different from that of the BLE, based on the operation state. can do. For example, the MFP 300 determines the operating state of its own device, and uses the determination result to identify the priority and time division occupancy of each communication mode (for example, by referring to a wireless control setting table prepared in advance). To do. Then, the MFP 300 distributes the period corresponding to the BLE beacon transmission cycle to each of the plurality of communication modes based on the specified priority and time-division occupancy, and sets the communication period of each communication mode. .. As a result, it is possible to allocate the communication period to the communication mode in which a predetermined signal is communicated periodically and the communication mode in which the throughput is required, in an appropriate distribution.
  • each communication device may be configured so that a communication mode according to another wireless communication standard can be used.
  • a wireless LAN standard is added/changed or a new wireless communication standard becomes available
  • the above discussion can be applied using the added/changed standard or the new wireless communication standard. ..
  • the period assigned to each of the BLE mode, the wireless infrastructure mode, and the P2P mode is set within the period determined according to the BLE beacon transmission cycle, but the present invention is not limited to this.
  • the communication period may be assigned in units of a predetermined period regardless of the beacon transmission cycle.
  • a period corresponding to a cycle of transmitting the predetermined signal may be set as a predetermined period which is a unit of allocation.
  • the frequency bands used are 2.4 GHz band and 5 GHz band as an example, but the frequency band is not limited to this.
  • the above discussion can be applied to the case where a new frequency band becomes available due to addition/change of the wireless communication standard.
  • the present invention is not limited to this, and for example, the table to be used may be determined depending on whether or not predetermined data that is expected to have a large size is transmitted. That is, when the predetermined data expected to have a large size is transmitted and the predetermined data is transmitted in the wireless infrastructure mode, it is determined to use the wireless infrastructure connection priority table. When the predetermined data is transmitted in the P2P mode, it is decided to use the P2P connection priority table.
  • the frequency band and frequency channel to be used for BLE are uniquely determined, this is not used as the operation state of the MFP 300.
  • information on frequency bands and frequency channels for all communication modes may be used as the operating state of the communication device. That is, the communication device capable of operating in the plurality of modes can use the frequency band and the frequency channel used for at least a part of the plurality of modes as the operating state.
  • the table of FIGS. 15A to 23C includes the priority, but the priority may not be included.
  • the MFP 300 determines whether the packet includes a DFS command. Then, when the MFP 300 determines that the packet includes the DFS command, the MFP 300 can preferentially execute the process based on the DFS command received through the communication in another mode. Further, in the above-mentioned example, it is described that the process using the extension flag of the BLE communication period is performed in FIG. 28, but the process of FIG. 28 may be performed without using the flag.
  • the MFP 300 extends the BLE communication period when it is determined as YES in S2804. Then, when it is time to send the next beacon in a state where the packet received in step S2806 does not include a command indicating the end of BLE communication, the MFP 300 executes the process again from step S2801. If YES is determined in S2804, the MFP 300 extends the BLE communication period. Then, when the packet received in S2806 includes a command indicating the end of BLE communication, the MFP 300 may end the extended BLE communication period and execute the processing of S2810 and thereafter.
  • the present invention supplies a program that implements one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in a computer of the system or apparatus read and execute the program. It can also be realized by the processing. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.
  • a circuit for example, ASIC

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Facsimiles In General (AREA)

Abstract

時分割で複数のモードを切り替えて通信する通信装置は、通信装置の動作状態に基づいて、所定の期間において、複数のモードのそれぞれでの通信のために割り当てる期間を設定する。

Description

通信装置、制御方法、及びプログラム
 本発明は、通信装置、制御方法、及びプログラムに関し、具体的には複数の通信モードでの通信のための通信期間の割当技術に関する。
 インフラストラクチャモードとダイレクトモードとで並行して無線通信を実行するなど、複数の通信モード・通信方式で動作可能な通信装置が存在する(特許文献1参照)。
特開2014-216956号公報
 特許文献1では、複数の通信モード(通信方式)での無線通信を並行して実行する際の制御については具体的な記載がない。
 本発明は、複数の通信モードでの無線通信を並行して実行可能な通信装置における利便性を向上させる技術を提供する。
 本発明の一態様による通信装置は、時分割で複数のモードを切り替えて通信する通信手段と、前記通信装置の動作状態に基づいて、所定の期間における、前記複数のモードのそれぞれでの通信のために割り当てる期間を設定する設定手段と、を有する。
 本発明によれば、複数の通信モードでの無線通信を並行して実行可能な通信装置における利便性を向上させることができる。
 本発明のその他の特徴及び利点は、添付図面を参照とした以下の説明により明らかになるであろう。なお、添付図面においては、同じ若しくは同様の構成には、同じ参照番号を付す。
 添付図面は明細書に含まれ、その一部を構成し、本発明の実施の形態を示し、その記述と共に本発明の原理を説明するために用いられる。
図1は、システム構成例を示す図である。 図2は、携帯型通信端末装置の外観構成例を示す図である。 図3は、MFPの外観構成例を示す図である。 図4Aは、MFPの操作表示部の一例を示す図である。 図4Bは、MFPの操作表示部の一例を示す図である。 図4Cは、MFPの操作表示部の一例を示す図である。 図5は、携帯型通信端末装置の構成例を示すブロック図である。 図6は、MFPの構成例を示すブロック図である。 図7は、モードA(ソフトAPモード)の機器探索シーケンスの一例である。 図8は、モードB(WFDモード)の機器探索シーケンスの一例である。 図9は、モードC(無線インフラモード)の機器探索シーケンスの一例である。 図10は、モードD(BLEモード)の機器探索シーケンスの一例である。 図11は、モードE(BTモード)の機器探索シーケンスの一例である。 図12は、初期起動時のインタフェース選択画面の例を示す図である。 図13は、初期起動時のインタフェース処理の流れの例を示す図である。 図14は、初期起動時の無線制御設定テーブルの設定処理の流れの例を示す図である。 図15Aは、無線制御設定テーブルの例である。 図15Bは、無線制御設定テーブルの例である。 図15Cは、無線制御設定テーブルの例である。 図16Aは、無線制御設定テーブルの例である。 図16Bは、無線制御設定テーブルの例である。 図16Cは、無線制御設定テーブルの例である。 図17Aは、無線制御設定テーブルの例である。 図17Bは、無線制御設定テーブルの例である。 図17Cは、無線制御設定テーブルの例である。 図18Aは、無線制御設定テーブルの例である。 図18Bは、無線制御設定テーブルの例である。 図18Cは、無線制御設定テーブルの例である。 図19Aは、無線制御設定テーブルの例である。 図19Bは、無線制御設定テーブルの例である。 図19Cは、無線制御設定テーブルの例である。 図20Aは、無線制御設定テーブルの例である。 図20Bは、無線制御設定テーブルの例である。 図20Cは、無線制御設定テーブルの例である。 図21Aは、無線制御設定テーブルの例である。 図21Bは、無線制御設定テーブルの例である。 図21Cは、無線制御設定テーブルの例である。 図22Aは、無線制御設定テーブルの例である。 図22Bは、無線制御設定テーブルの例である。 図22Cは、無線制御設定テーブルの例である。 図23Aは、無線制御設定テーブルの例である。 図23Bは、無線制御設定テーブルの例である。 図23Cは、無線制御設定テーブルの例である。 図24は、ユーザ操作による状態遷移と無線制御設定テーブルの変更処理の流れの例を示す図である。 図25は、無線制御設定テーブルの変更判定処理の流れの例を示す図である。 図26Aは、データ受信動作の例を示す図である。 図26Bは、データ受信動作の例を示す図である。 図26Cは、データ受信動作の例を示す図である。 図26Dは、データ受信動作の例を示す図である。 図27Aは、データ送信動作の例を示す図である。 図27Bは、データ送信動作の例を示す図である。 図27Cは、データ送信動作の例を示す図である。 図27Dは、データ送信動作の例を示す図である。 通信期間の設定処理に関するフローチャートである。
 以下、図面を参照しながら、本発明の実施の形態について詳細に説明する。なお、本実施形態は一例に過ぎず、構成要素、処理ステップ、表示画面等の具体的な例は、特段の記載の無い限り、本発明の範囲をそれらに限定することを意図していないことに留意されたい。
 (システム構成)
 図1に、本実施形態に係るシステムの構成例を示す。本システムは、一例において、複数の通信装置が相互に無線で通信可能な無線通信システムである。図1の例では、通信装置として、携帯型通信端末装置200、MFP300、アクセスポイント400を含む。なお、携帯型通信端末装置200は、単に端末装置200と記載されることもある。
 端末装置200は、無線LANやBluetooth(登録商標)等による無線通信機能を有する端末装置(情報処理装置)である。なお、以下では、無線LANをWLAN、Bluetooth(登録商標)をBTと呼ぶ場合がある。端末装置200は、PDA(Personal Digital Assistant)等の個人情報端末、携帯電話、デジタルカメラ等でありうる。MFP300は、印刷機能を有する印刷装置であり、さらに、読取機能(スキャナ)やFAX機能、電話機能を有していてもよい。また、本実施形態のMFP300は、端末装置200と無線通信可能な通信機能を有する。また、本実施形態では一例としてMFP300が用いられる場合について説明するが、これに限られない。例えば、それぞれ通信機能を有する、ファクシミリ装置、スキャナ装置、プロジェクタ、携帯端末、スマートフォン、ノートPC、タブレット端末、PDA、デジタルカメラ、音楽再生デバイス、テレビ等がMFP300の代わりに用いられてもよい。なお、MFPは、Multi Function Peripheral(多機能周辺機器)の頭字語である。アクセスポイント400は、端末装置200及びMFP300とは別(外部)に設けられ、WLANの基地局装置として動作する。WLANの通信機能を有する通信装置は、アクセスポイント400を介してWLANのインフラストラクチャモードでの通信を行うことができる。なお、以下では、アクセスポイントを「AP」と呼ぶ場合がある。また、インフラストラクチャモードを「無線インフラモード」と呼ぶ場合がある。アクセスポイント400は、自装置への接続を許可した(認証済みの)通信装置と通信を行い、その通信装置と、例えば自装置と接続中の他の通信装置との通信を中継する。また、アクセスポイント400は、例えば有線通信ネットワークに接続され、その有線通信ネットワークを介して、自装置に接続された通信装置と、その有線通信ネットワークや他のAPに接続された他の通信装置との通信を中継しうる。
 端末装置200とMFP300は、各々が有するWLAN通信機能を用いて、アクセスポイント400を介した無線インフラモードや、アクセスポイント400を介さないピア・ツー・ピアモードで無線通信を行いうる。なお、以下では、ピア・ツー・ピアを「P2P」と呼ぶ。P2Pモードでは、Wi-Fi Direct(登録商標)やソフトAPモード等を含む。なお、以下ではWi-Fi Direct(登録商標)をWFDと呼ぶ場合がある。また、端末装置200とMFP300は、BT通信機能を用いて、P2P通信を行ってもよい。なお、本実施形態では、端末装置200及びMFP300が、後述のように、WLAN通信を用いて、複数の印刷サービスに対応した処理を実行可能であるものとする。
 (端末装置の外観構成)
 図2は、端末装置200の外観構成例を示す図である。本実施形態では、一例として、端末装置200が、一般的な形式のスマートフォンである場合について示す。なお、端末装置200は、例えば、表示部202、操作部203、及び電源キー204を含んで構成される。表示部202は、例えば、LCD(Liquid Crystal Display)方式の表示機構を含んだディスプレイである。なお、表示部202は、例えばLED(Light Emitting Diode)等を用いて情報を表示してもよい。また、端末装置200は、表示部202に加えて又はこれに代えて、音声によって情報を出力する機能を有していてもよい。操作部203は、ユーザ操作を検出するための、キーやボタン等のハードキー、タッチパネル等を含んで構成される。なお、本例では、表示部202における情報表示と、操作部203によるユーザ操作の受付とを、共通のタッチパネルディスプレイを用いて行うため、表示部202と操作部203とが1つの装置によって実現されている。この場合、例えば、表示部202による表示機能を用いてボタンアイコンやソフトウェアキーボードが表示され、ユーザがそれらの箇所に触れたことが、操作部203による操作受付機能によって検出される。なお、表示部202と操作部203とが、分離されて、表示用のハードウェアと操作受付用のハードウェアとが別個に用意されてもよい。電源キー204は、端末装置200の電源をオン又はオフとするためのユーザ操作を受け付けるためのハードキーである。
 端末装置200は、必ずしも外観から視認できる必要はないが、WLANの通信機能を提供するWLANユニット201を有する。WLANユニット201は、例えばIEEE802.11規格シリーズ(IEEE802.11a/b/g/n/ac等)に準拠したWLANシステムにおけるデータ(パケット)通信を実行可能に構成される。ただしこれに限られず、WLANユニット201は、他の規格に準拠したWLANシステムの通信を実行可能であってもよい。なお、本例では、WLANユニット201は、2.4GHz帯及び5GHz帯の両方の周波数帯域で通信可能であるものとする。また、WLANユニット201は、WFDをベースにした通信、ソフトAPモードによる通信、無線インフラモードによる通信等を実行可能であるものとする。これらのモードでの動作については後述する。端末装置200は、さらに、外観から視認できないBTユニット(不図示)を有する。BTユニットは、IEEE802.15.1規格に準拠し、Bluetooth BR/EDR、Bluetooth+HS、Bluetooth Low Energy等、BT1.1~5.0で用いられる2.4GHz帯の通信機能を提供する。BTの動作については後述する。
 (MFPの外観構成)
 図3に、MFP300の外観構成例を示す。MFP300は、例えば、原稿台301、原稿蓋302、印刷用紙挿入口303、印刷用紙排出口304、及び、操作表示部305を有する。原稿台301は、読取対象の原稿を置く台である。原稿蓋302は、原稿台301に置かれた原稿を押さえ、また、読取の際に原稿を照射する光源からの光が外部に漏れないようにするための蓋である。印刷用紙挿入口303は、様々なサイズの用紙をセット可能な挿入口である。印刷用紙排出口304は、印刷が完了した用紙を排出する排出口である。印刷用紙挿入口303にセットされた用紙は、一枚ずつ印刷部に搬送され、印刷部で印刷が行われた後に、印刷用紙排出口304から排出される。操作表示部305は、文字入力キー、カーソルキー、決定キー、取り消しキー等のキーと、LEDやLCD等を含んで構成され、ユーザによるMFPとしての各種機能の起動や各種設定の操作を受付可能に構成される。また、操作表示部305は、タッチパネルディスプレイを含んで構成されてもよい。MFP300は、WLANやBTによる無線通信機能を有し、必ずしも外観から視認できる必要はないが、その無線通信のための無線通信用のアンテナ306を含んで構成される。MFP300も、端末装置200と同様に、WLANやBTによって、2.4GHz帯や5GHz帯の周波数帯域で無線通信を行うことができる。
 図4A~図4Cに、MFP300の操作表示部305の画面表示の一例を模式的に示す。図4Aは、MFP300の電源が投入され、印刷やスキャン等の動作が行われていない状態(アイドル状態、Standby状態)の間に表示されるホーム画面の一例である。キー操作やタッチパネル操作により、コピー、スキャン、インターネット通信を利用したクラウド機能のメニュー表示が選択されることにより、MFP300は対応する設定や機能を実行開始しうる。MFP300は、図4Aのホーム画面においてキー操作やタッチパネルの操作を受け付けることによってシームレスに図4Aとは異なる画面を表示することができる。図4Bは、その一例であり、プリント又はフォト機能の実行や、通信設定の変更等のメニューが表示されている例を示している。この画面におけるユーザ選択に基づいて、プリント又はフォト機能や通信設定が実行されうる。図4Cは、図4Bの画面において通信設定が選択された場合に表示される画面の例である。この画面では、有線接続の設定、無線インフラモードの有効/無効設定や、WFDやソフトAPモード等のP2Pモードの有効/無効設定など各種のLAN設定メニュー(「有線LAN」、「無線LAN」、「無線ダイレクト」)が選択可能に表示される。なお、図4Cにおいて無線LANがユーザ操作により有効に設定された場合、無線インフラモードが有効となり、無線ダイレクトがユーザ操作により有効に設定された場合、P2Pモードが有効となる。また、この画面では、BTの有効/無効設定等のBT設定の設定メニュー(「Bluetooth」)が選択可能に表示される。また、この画面では、各接続形態に関する共通設定メニューも表示される。さらに、この画面から、無線LANの周波数帯域や周波数チャネルの設定、及び、BTのペアリング用のコードの設定等の設定メニュー操作を行うことができる。
 (端末装置の構成)
 図5に、端末装置200の構成例を示す。端末装置200は、一例において、装置自身のメイン制御を行うメインボード501、WLAN通信を行うWLANユニット201、及び、BT通信を行うBTユニット205を有する。メインボード501は、例えば、CPU502、ROM503、RAM504、画像メモリ505、データ変換部506、電話部507、GPS509、カメラ部511、不揮発性メモリ512、データ蓄積部513、スピーカ部514、電源部515を含む。ここで、CPUはCentral Processing Unitの、ROMはRead Only Memoryの、RAMはRandom Access Memoryの、GPSはGlobal Positioning Systemの、頭字語である。また、端末装置200は、表示部202、操作部203を含む。これらのメインボード501内の機能部は、CPU502が管理するシステムバス518を介して、相互に接続される。また、メインボード501とWLANユニット201及びBTユニット205との間は、例えば、専用のバス516を介して接続される。
 CPU502は、システム制御部であり、端末装置200の全体を制御する。以下で説明する端末装置200の処理は、一例において、CPU502がROM503に記憶されたプログラムを実行することにより、実現される。なお、各処理の専用のハードウェアが用意されていてもよい。ROM503は、CPU502が実行する制御プログラムや組込オペレーティングシステム(OS)プログラム等を記憶する。本実施形態では、CPU502が、ROM503に記憶されている各制御プログラムを、同様にROM503に記憶されている組込OSの管理の下で実行することにより、スケジューリングやタスクスイッチ等のソフトウェア制御を行う。RAM504は、SRAM(Static RAM)等により構成される。RAM504は、プログラム制御の変数等のデータや、ユーザが登録した設定値や端末装置200の管理データ等のデータを記憶する。また、RAM504は、各種ワーク用バッファとして利用されうる。画像メモリ505は、DRAM(Dynamic RAM)等のメモリで構成される。画像メモリ505は、WLANユニット201やBTユニット205を介して受信した画像データや、データ蓄積部513から読み出した画像データをCPU502で処理するために一時的に記憶する。不揮発性メモリ512は、例えばフラッシュメモリ等のメモリによって構成され、端末装置200の電源がオフとされてもデータを記憶し続ける。なお、端末装置200のメモリ構成は、上述の構成に限定されない。例えば、画像メモリ505とRAM504とが共有されてもよいし、データ蓄積部513を用いてデータのバックアップ等が行われてもよい。また、本実施形態では、画像メモリ505の一例としてDRAMを挙げているが、ハードディスクや不揮発性メモリ等の他の記憶媒体が使用されてもよい。
 データ変換部506は、種々の形式のデータの解析や、色変換、画像変換等のデータ変換を行う。電話部507は、電話回線の制御を行い、スピーカ部514を介して入出力される音声データを処理することによって、電話による通信を実現する。GPS509は、衛星から送出されている電波を受信して、端末装置200の現在の緯度や経度等の位置情報を取得する。カメラ部511は、レンズを介して入力された画像を電子的に記録して符号化する機能を有する。カメラ部511による撮像で得られた画像データは、データ蓄積部513に保存される。スピーカ部514は、電話機能のための音声を入力または出力する機能や、その他、アラーム通知等の機能を実現するための制御を行う。電源部515は、例えば携帯可能な電池であり、装置内への電力供給制御を行う。電源状態は、例えば、電池に残量が無い電池切れ状態、電源キー204を押下していない電源オフ状態、通常起動している起動状態、起動しているが省電力になっている省電力状態を含む。表示部202は、図2を参照して説明した表示部202であり、表示内容を電子的に制御し、各種入力操作や、MFP300の動作状況、ステータス状況の表示等を行うための制御を実行する。操作部203は、図2を参照して説明した操作部203であり、ユーザ操作を受け付けたことによって、その操作に対応する電気信号を生成してCPU502へ出力する等の制御を実行する。
 端末装置200は、WLANユニット201やBTユニット205を用いて無線通信を行い、MFP300等の他のデバイスとのデータ通信を行う。WLANユニット201やBTユニット205は、データをパケットに変換し、他デバイスにパケットを送信する。また、WLANユニット201やBTユニット205は、外部の他デバイスからのパケットを、元データに復元してCPU502に対して出力する。WLANユニット201とBTユニット205は、それぞれWLAN及びBTの規格に準拠した通信を実現するためのユニットである。WLANユニット201は、無線インフラモード及びP2Pモードを含んだ少なくとも2つの通信モードで並行して動作することができる。BTユニット205は、例えばBT1.1~5.0に準拠した通信モードで動作することができる。なお、これらの通信モードで使用される周波数帯域は、ハードウェアの機能や性能により制限されうる。
 (MFPの構成)
 図6に、MFP300の構成例を示す。MFP300は、装置自身のメイン制御を行うメインボード601と、WLAN通信およびBT通信を、共通の少なくとも1つのアンテナを用いて行う1つの通信モジュールである無線コンボユニット616とを含んで構成される。また、MFP300は、例えば有線通信を行うためのモデム619を含んで構成される。メインボード601は、例えば、CPU602、ROM603、RAM604、不揮発性メモリ605、画像メモリ606、読取制御部607、データ変換部608、読取部609、符号復号化処理部611を含んで構成される。また、メインボード601は、例えば、印刷部612、給紙部613、印刷制御部614、操作表示部305を含む。これらのメインボード601内の機能部は、CPU602が管理するシステムバス620を介して、相互に接続される。また、メインボード601と無線コンボユニット616との間は、例えば、専用のバス615を介して接続され、メインボード601とモデム619との間は、例えばバス618を介して接続される。
 CPU602は、システム制御部であり、MFP300の全体を制御する。以下で説明するMFP300の処理は、一例において、CPU602がROM603に記憶されたプログラムを実行することにより、実現される。なお、各処理の専用のハードウェアが用意されていてもよい。ROM603は、CPU602が実行する制御プログラムや組込OSプログラム等を記憶する。本実施形態では、CPU602が、ROM603に記憶されている各制御プログラムを、同様にROM603に記憶されている組込OSの管理の下で実行することにより、スケジューリングやタスクスイッチ等のソフトウェア制御を行う。RAM604は、SRAM等により構成される。RAM604は、プログラム制御変数等のデータや、ユーザが登録した設定値やMFP300の管理データ等のデータを記憶する。また、RAM604は、各種ワーク用バッファとして利用されうる。不揮発性メモリ605は、例えばフラッシュメモリ等のメモリによって構成され、MFP300の電源がオフとされてもデータを記憶し続ける。画像メモリ606は、DRAM等のメモリで構成される。画像メモリ606は、無線コンボユニット616を介して受信した画像データや、符号復号化処理部611で処理した画像データなどを蓄積する。なお、MFP300のメモリ構成は、端末装置200の場合と同様に、上述の構成に限定されない。データ変換部608は、種々の形式のデータの解析や、画像データから印刷データへの変換等を行う。
 読取制御部607は、読取部609(例えば、CIS(密着型イメージセンサ))を制御して、原稿台301に置かれた原稿を光学的に読み取る。読取制御部607は、光学的に原稿を読み取ることによって得られた画像を電気的な画像データ(画像信号)に変換して出力する。読取制御部607は、このときに、2値化処理や中間調処理等の各種画像処理を施してから画像データを出力してもよい。操作部305は、図4A~図4Cを参照して説明した操作表示部305であり、表示制御やユーザ操作に対応した電気信号の生成制御等を実行する。
 符号復号化処理部611は、MFP300で扱う画像データ(JPEG、PNG等)の符号化処理及び復号処理や、拡大縮小処理を行う。給紙部613は、印刷のための用紙を保持する。給紙部613は、印刷制御部614による制御の下で、セットされた用紙の供給することができる。給紙部613は、複数種類の用紙を1つの装置に保持するために、複数の給紙部を含んでもよく、印刷制御部614による制御の下で、どの給紙部から給紙を行うかを制御することができる。印刷制御部614は、印刷される画像データに対して、スムージング処理、印刷濃度補正処理、色補正等の各種画像処理を施し、処理後の画像データを印刷部612に出力する。印刷部612は、例えば、インクジェット方式の印刷処理を実行可能に構成され、インクタンクから供給されるインクをプリントヘッドから吐出させて、用紙等の記録媒体に画像を記録する。なお、印刷部612は、電子写真方式等の他の印刷処理を実行可能に構成されてもよい。また、印刷制御部614は、印刷部612の情報を定期的に読み出して、RAM604に記憶された、インクタンクの残量やプリントヘッドの状態等を含んだステータス情報等を更新しうる。
 無線コンボユニット616は、WLAN及びBTの通信機能を提供可能なユニットであり、例えば、端末装置200のWLANユニット201とBTユニットとを組み合わせたものと同様の機能を提供可能である。すなわち、無線コンボユニット616は、WLANやBTの規格に従って、データをパケットに変換して他デバイスにパケットを送信し、また、外部の他デバイスからのパケットを元データに復元してCPU602に対して出力する。なお、端末装置200及びMFP300はWFDに基づくP2P通信が可能であり、無線コンボユニット616はソフトウェアアクセスポイント(ソフトAP)機能又はグループオーナ機能を有する。すなわち、無線コンボユニット616が、P2P通信のネットワークを構築することや、P2P通信に使用するチャネルを決定することができる。
 (P2P通信方式)
 続いて、WLANの通信において、外部アクセスポイントを介さずに装置同士がダイレクトに無線で通信するP2P通信方式について概説する。P2P通信は、複数の手法を用いて実現可能であり、例えば、通信装置は、P2P通信のための複数のモードをサポートし、その複数のモードのいずれかを選択的に用いてP2P通信を実行することができる。
 それぞれのモードでは、探索側の通信装置が、被探索側の通信装置(相手装置)を探索するための探索信号(例えば、Probe RequestフレームやBeacon)を使用して、相手装置を探索及び発見する。なお、この相手装置の探索においては、使用する周波数帯域や通信方式が探索側と被探索側とで一致している必要がある。例えば、ユーザは、(1)2.4GHz帯の周波数帯域でのWLANのP2Pモード、(2)2.4GHz帯の周波数帯域でのBTのP2Pモード、及び(3)5GHz帯の周波数帯域でのWLANのP2Pモードから所望のP2Pモードで動作するようにMFP300を設定可能である。ここで、ユーザが、例えば2.4GHz帯の周波数帯域でのWLANのP2Pモードで動作するようにMFP300を設定したとする。この場合、端末装置200等の探索側の通信装置が5GHz帯で探索信号を送信しても、MFP300は、5GHz帯の探索信号を受信することができる状態ではないため、この探索信号への応答信号を送信することはない。また、ユーザが、2.4GHz帯でのBTによるP2Pモードで動作するようにMFP300を設定したとする。この場合、例えば端末装置200等の探索側の通信装置が同じ2.4GHz帯で探索信号を送信しても、その探索信号がWLANの探索信号である場合には、MFP300はその探索信号を認識することがないため、応答信号を送信することはない。このように、探索側の通信装置は、使用周波数帯域と使用通信方式とが一致している被探索側の相手装置を発見することができる。
 P2Pモードとして、以下の4つのモードが想定される:
 ・モードA(ソフトAPモード)
 ・モードB(Wi-Fi Direct(WFD)モード)
 ・モードD(Bluetooth Low Energy(BLE)モード)
 ・モードE(Bluetooth Classic(BT)モード)
P2P通信を実行可能な通信装置は、これらのモードのうちの少なくともいずれかをサポートするように構成されうる。一方で、P2P通信を実行可能な通信装置であっても、これらのモードの全てをサポートしなければならないわけではなく、その一部のみをサポートするように構成されてもよい。なお、通信装置は、P2Pモード以外に、無線インフラモード(モードC)にも対応しうる。
 WFDやBTによる通信機能を有する通信装置(例えば、端末装置200)では、その操作部を介してユーザ操作を受け付けることにより、その通信機能を実現するための(場合によっては専用の)アプリケーションを呼び出す。そして、この通信装置は、そのアプリケーションによって提供されるUI(ユーザインタフェース)の画面を表示してユーザ操作を促し、それに応じて受け付けたユーザ操作に基づいて、WFD通信やBT通信を実行しうる。なお、ここでのBT通信は、Bluetooth ClassicやBluetooth Low Energyなど、BT1.1~BT5.0の通信を意味する。
 続いて、上述の4つのP2Pモードにおける相手装置の探索シーケンス(機器探索シーケンス)について説明する。
 ●モードA(ソフトAPモード)における機器探索シーケンス
 図7に、モードA(ソフトAPモード)における機器探索シーケンスを示す。ソフトAPモードでは、通信装置(例えば、端末装置200)が、各種サービスを依頼するクライアントの役割で動作する。そしてもう一方の通信装置(例えば、MFP300)が、ソフトウェアによる設定でWLANのAPの機能を実行可能なソフトAPとして動作する。ソフトAPモードでは、クライアントとして動作している通信装置が、機器探索リクエスト701を送信して、ソフトAPとして動作している通信装置を探索する。ソフトAPは、機器探索リクエスト701を受信すると、その応答として、機器探索応答702を送信する。このような機器探索リクエストと機器探索応答の送受信によって、クライアントとして動作している通信装置(例えば、端末装置200)が、ソフトAPとして動作している相手装置(例えば、MFP300)を発見する。なお、クライアントとソフトAPとの間で無線接続を確立する場合に送受信されるコマンドやパラメータは、Wi-Fi(登録商標)規格で規定されているものが用いられれば足りるため、ここでの説明については省略する。また、ソフトAPモードで動作するMFP300は、親局として周波数帯と周波数チャネルを決定する。このため、MFP300は、5GHzと2.4GHzとから、どちらの周波数帯域を用いるか、及び、その周波数帯域でどの周波数チャネルを用いるかを選択することができる。
 ●モードB(WFDモード)における機器探索シーケンス
 図8に、モードB(WFDモード)における機器探索シーケンスを示す。WFDモードでは、探索側の通信装置が、機器探索リクエスト801を送信することにより被探索側の相手装置を探索する。ここでは、探索側の通信装置が端末装置200であり、被探索側の相手装置がMFP300であるものとする。機器探索リクエスト801は、WFD属性を有しており、これにより、探索の対象がWFDモードの通信装置であることが特定される。MFP300は、WFDモードで動作中の場合、機器探索リクエスト801を受信すると、その応答として機器探索応答802を端末装置200へ送信する。端末装置200は、機器探索応答802を受信したことにより、P2Pの通信相手であるMFP300を検出する。これらの通信装置は、この機器探索の完了後、P2Pのグループオーナー(GO)とP2Pのクライアントの役割を決定し、残りの無線接続の処理を行う。この役割決定は、例えばP2PではGO Negotiationに対応する。一方で、MFP300には、後述のように無線インフラモードとWFDモードとで並行動作する際に無線チップセットの制約がある場合は、これらの並列動作する2つのモードで、使用する周波数帯域及び周波数チャネルを一致させる必要がある。このため、MFP300は、WFDモードの親局として固定的に起動するようにしてもよい(Autonomous Group Owner)。この場合は、役割を決定するためのGO Negotiationの通信が不要となる。また、この場合には、MFP300は、親局として周波数帯と周波数チャネルを決定する。このため、MFP300は、5GHzと2.4GHzとからどちらの周波数帯域を用いるか、及び、その周波数帯域でどの周波数チャネルを用いるかを選択することができる。
 ●モードD(BLEモード)における機器探索シーケンス
 図10に、モードD(BLEモード)における機器探索シーケンスを示す。BLEモードでは、通信装置がビーコン1001を送出する。他の通信装置は、このビーコン1001を受信することにより、その通信装置の存在を認識することができる。例えば、MFP300がこのビーコン1001を送出した場合、例えば端末装置200は、このビーコン1001を受信することにより、MFP300の存在を認識することができる。この場合、端末装置200は、ビーコン1001を受信した後に、MFP300とP2Pで接続するための制御通信を実行する。なお、接続のための制御通信に用いるコマンドやパラメータは、BT4.1等の規格で規定されているものを用いれば足りるため、ここでの説明については省略する。
 ●モードE(BTモード)における機器探索シーケンス
 図11に、モードE(BTモード)における機器探索シーケンスを示す。BTモードでは、一方の通信装置がBT機器を探索するマスターとして動作し、他方の通信装置がスレーブとして動作する。ここでは、一例として、端末装置200がマスターとして動作し、MFP300がスレーブとして動作するものとする。端末装置200(マスター)は、機器探索リクエスト1101を送信することにより、相手装置を探索する。MFP300(スレーブ)は、この機器探索リクエスト1101を受信すると、応答信号として、機器探索応答1102を送信する。機器探索リクエスト1101と機器探索応答1102を含めたコマンドやパラメータでの接続や送受信等の手続については、BT1.1やそのバリエーションの規格で規定されているため、ここでの説明は省略する。
 (無線インフラモード)
 図9に、モードC(無線インフラモード)の機器探索シーケンスを示す図である。無線インフラモードでは、相互に通信を行う通信装置(例えば、端末装置200及びMFP300)を、それぞれネットワークを統括する外部のAP(例えば、アクセスポイント400)と接続させ、通信装置間の通信がそのAPを介して行われる。換言すれば、外部のAPが構築したネットワークを介して通信装置間の通信が実行される。無線インフラモードでは、例えば端末装置200が機器探索リクエスト901を送信することによりアクセスポイント400を探索する。アクセスポイント400は、機器探索リクエスト901に応答して機器探索応答902を送信する。端末装置200は、この機器探索応答902を受信したことにより、アクセスポイント400を発見する。同様に、MFP300も、機器探索リクエスト903を送信して機器探索応答904を受信することにより、アクセスポイント400を発見する。端末装置200とMFP300がそれぞれアクセスポイント400を発見し、このアクセスポイント400に接続することにより、これらの通信装置のアクセスポイント400を介した通信が可能となる。なお、複数の通信装置が別個のAPに接続してもよい。この場合、AP間で(例えば有線ネットワークを介した)データ転送が行われることで、通信装置間の通信が可能となる。アクセスポイントを介して各通信装置間の通信の際に送受信されるコマンドやパラメータについては、Wi-Fi規格で規定されているものを用いれば足りるため、ここでの説明については省略する。また、この場合には、アクセスポイント400が、周波数帯と周波数チャネルを決定する。このため、アクセスポイント400は、5GHzと2.4GHzとから、どちらの周波数帯域を用いるか、及び、その周波数帯域でどの周波数チャネルを用いるかを選択することができる。
 (処理の概要)
 1台の無線通信装置が複数の無線インタフェースを並行して動作させる場合、利便性が低下するケースがある。例えば1つのCPU及び1組のアンテナで複数の無線インタフェースを並行して接続可能とする場合に、データ通信に使用される無線インタフェースの通信時間が十分に確保できず利便性が低下するおそれがある。なお、1組のアンテナとは、例えば1本のアンテナや1組のアレイアンテナ等である。このため、例えば上述のように無線コンボユニット616を有するMFP300では、無線インフラモード、WFD等のP2Pモード、BLE等のP2Pモードを並行して動作させる場合、動作状態によって通信間隔や通信速度が安定しなくなりうる。なお、本実施形態では、MFP300が1組のアンテナを備えるケースについて説明するが、1組以上のアンテナが備えられていても構わない。
 本実施形態では、通信装置において複数インタフェースを並行して使用する設定が行われる場合の通信の安定性に関する制約を、その通信装置内部の制御によって回避する。具体的には、本実施形態に係るMFP300は、複数の無線インタフェースによって複数の相手装置(例えば、端末装置200やアクセスポイント400)と接続されている場合、時分割で動作を行うように制御する。そして、MFP300は、自装置の動作状態に応じて、各無線インタフェースを用いて時分割通信を行う際の時間長の割合を変更するような制御を実行する。以下では、動作状態に基づく時分割制御について説明する。なお、ユーザは、例えば図4Cの画面を使って、WLANの無線インフラモードとP2PモードとBLEモードを有効に設定することができる。この操作により、MFP300は、外部のアクセスポイントを介して通信相手装置と無線通信を可能とするためのインフラストラクチャモードでの無線接続と、外部のアクセスポイントを介さずに自装置が親局として機能し、通信相手装置(子局)との無線通信を可能とするためのピア・ツー・ピアモードでの無線接続と、BLEによる無線接続とを並行して維持することが可能となる。
 (動作状態に基づく時分割制御)
 MFP300の無線コンボユニット616は、例えば、2.4GHz帯及び5GHz帯のIEEE802.11規格シリーズに準拠したWLAN通信が可能であり、さらにBT4.1以降のBLE規格に準拠した通信が可能である。無線コンボユニット616を用いるMFP300の動作状態は、例えば、「Standby」、「Print」、「Scan」、及び、「BLE通信中」を含む。なお、「Standby」は、MFP300の電源がON状態であり、印刷指示やスキャン指示を受け付け可能であるが、実際に印刷処理やスキャン処理を行っていない状態である。また、「Print」は、外部の装置(例えば、端末装置200)から印刷データの受信を開始してから印刷処理が完了するまでの状態である。また、「Scan」は、外部の装置(例えば、端末装置200)や操作表示部305からスキャンの実行指示を受けてからスキャンデータの外部の装置への送信処理が完了するまでの状態である。「BLE通信中」は、ビーコンの送信を開始してから通信相手装置(本実施形態では、端末装置200)とのBLE通信が完了するまでの状態である。MFP300は、動作状態が「Print」と「Scan」である場合、無線コンボユニット616をWLANの無線インフラモードでの無線通信又はP2Pモードでの無線通信によりデータ通信を行う。また、MFP300は、WLANの無線インフラモードとP2Pモードとを並行して有効化することができる。この2つのモードのうち、無線インフラモードとP2Pモードとのいずれによるデータ通信がより多くの無線リソースを必要としているかに基づいて、各モードに割り当てる時間長を決定する。また、BLEモードでは、100msecごとにビーコンを送出する必要がある。このため、MFP300は、BLEでの通信が有効となっている間は、100msecごとのビーコン送出開始からビーコン送出終了までの期間およびビーコン送出終了後の一定の期間をBLE通信用に割り当てる。例えば、この一定の期間の中で、MFP300は、端末装置200からのリクエストパケットを受信しうる。また、MFP300は、「BLE通信中」の状態においては、100msecごとのビーコン送出用の期間に加え、BLEでのデータ送受信用の期間をBLE通信用として割り当てる。なお、100msecは一例であり、他の間隔が用いられてもよい。
 <起動時の設定>
 MFP300は、本体を購入したユーザが初めて電源を投入した際に、工場出荷状態(着荷状態)から初期設定を行うため、通常とは異なる初期起動時専用の処理シーケンス(初期セットアップ)を起動するように構成されている。例えば、MFP300は、印刷部612にインクタンクやプリントヘッド等が装着されていない状態で工場から出荷される。このため、ユーザが初めて操作する初期起動直後に、同梱されたインクタンクやプリントヘッド等を装着する処理をユーザに促すなど、MFP300を使用可能なように準備する必要がある。MFP300が工場出荷状態のままの初期起動状態であるか否かは、不揮発性メモリ605に保存されるフラグ(初期起動フラグ)を用いて制御される。この初期起動フラグは、ユーザの下で使用するための準備が完了したことに応じて状態が変わり、MFP300は、その準備の完了以降は初期起動時専用の処理シーケンスを起動しないように構成されている。
 本実施形態では、MFP300で初期起動時に特有の処理が行われることに着目し、初期起動時の処理に、無線インタフェースの設定を含める。MFP300の初期起動時のインタフェース設定処理について、図12および図13を用いて説明する。なお、初期起動時にはインタフェース設定以外の初期セットアップのシーケンスも実行されるが、本実施形態に直接関係のないシーケンスについては、ここでは説明を省略する。図13に、MFP300によって実行される処理の流れの例を示す。本処理は、例えば、CPU602がROM603に記憶されているプログラムを実行することによって、実行される。
 MFP300は、電源が投入されると、不揮発性メモリ605に保存されている初期起動フラグを参照し、自装置が初期起動状態であるか否かを判定する(S1301)。初期起動フラグは、MFP300の工場出荷時に初期起動状態であることを示す特定の値にセットされている。そして、MFP300は、自装置が初期起動状態ではないと判定した場合(S1301でNO)、不揮発性メモリ605に保存されたインタフェースの有効/無効設定に従って、有効設定されているインタフェースを有効化する(S1312)。その後、MFP300は、図4Aに示したような通常の起動時待機画面を表示して(S1313)、ユーザ操作を待ち受ける状態となり、処理を終了する。S1312及びS1313の処理は、MFP300の通常使用時の起動処理に相当する。
 一方、MFP300は、自装置が初期起動状態であると判定した場合(S1301でYES)、S1302~S1315に示すような、ユーザがMFP300を初めて起動させた場合の処理シーケンスを実行する。この処理シーケンスでは、MFP300は、まず、図12に示すような、MFP300において使用するインタフェースの選択をユーザに促す画面を操作表示部305に表示する(S1302)。ユーザは、MFP300において使用する予定のインタフェースを、画面に表示された項目の中から選択する。MFP300は、ユーザ操作により選択されたインタフェースが「無線LAN」であるか否かを判定し(S1303)、無線LANが選択されていないと判定した場合(S1303でNO)は処理をS1310へ進める。MFP300は、有線LANが選択されたと判定した場合(S1310でYES)には、有線LANを有効化する処理を行い(S1311)、処理をS1314へ進める。また、MFP300は、有線LANが有効に設定されたことを示す設定情報を不揮発性メモリ605に保存する。これにより、MFP300は、通常起動時(S1301でNO)に、この設定情報を参照して、有線LANインタフェースを有効化することができる(S1312)。MFP300は、「有線LAN」が選択されたか否かを判定し(S1310)、有線LANも選択されていない場合(S1310でNO)は処理をS1314へ進める。S1311の処理が行われずに処理がS1310からS1314に進むケースは、無線LANも有線LANも選択されず、「USB」が選択されたケースとなる。この場合、MFP300は、BLE及びUSBを有効化して(S1314、S1315)、初期起動時のインタフェース設定処理を終了する。なお、ここでは図示していないが、MFP300は、インタフェース選択を含む着荷処理シーケンスを全て終えると、不揮発性メモリ605に保存されている初期起動フラグの値を、初期起動状態を示す値から非初期起動状態を示す値へと変更する。これにより、MFP300の電源が投入された次のタイミング等に初期起動処理シーケンスが起動されないようになる。
 S1303に戻り、ユーザ操作により選択されたインタフェースが「無線LAN」であるとMFP300が判定した場合(S1303でYES)、MFP300は、処理をS1304へ進める。S1304において、MFP300は、ケーブルレスセットアップモードを起動する。ケーブルレスセットアップモードは、無線設定のための専用モードである。MFP300は、ケーブルレスセットアップモードにおいて、ソフトAPモードを起動して、APとして動作する。これにより、パソコンやスマートフォン、タブレット等の外部通信装置が、クライアント(子機)としてMFP300と簡単に接続し、通信することが可能となる。このケーブルレスセットアップの際には、2.4GHz帯又は5GHz帯の周波数帯域が使用される。なお、どちらの周波数帯域を使用するかは、例えば、MFP300が、周囲の無線通信状況に基づいて決定してもよい。例えば、MFP300が、2.4GHz帯を使った無線通信が5GHz帯を使った無線通信よりも混雑していると判定した場合、5GHz帯を使った通信を行うようにソフトウェアAPを起動してもよい。なお、ケーブルレスセットアップモードでは、ソフトAPモードが使用されずに、WFDモードが使用されるなど、必ずしもソフトAPモードが使用されなければならないわけではない。ただし、WFDが使用される場合には、ネットワーク識別子であるSSIDにランダム生成された文字列を含ませる必要があり、ソフトAPにはそのような制約がないため、ここではソフトAPモードが使用されるものとする。なお、本実施形態では、端末装置200は、S1304によりAPとして動作しているMFP300とP2Pでの無線接続を確立する。
 ケーブルレスセットアップモードにおいて、MFP300は、主として無線インフラモードの接続に必要な、設定値の入力を受け付ける(S1305)。パソコンやスマートフォン、タブレット等の外部通信装置は、MFP300とP2Pでの無線接続を確立した後に、その無線インフラモードのための設定情報を、例えばLAN設定専用アプリケーションを用いて、MFP300へ送信する。パソコンや、スマートフォン、タブレット等の外部通信装置において動作するLAN設定専用アプリケーションは、MFP300を自身が接続している外部のAPに接続させることができるように構成される。一例において、端末装置200で動作するLAN設定専用アプリケーションは、端末装置200が接続中の外部のAPに関する無線設定情報を、ソフトAPとして動作するMFP300へ送信するように構成される。なお、LAN設定専用アプリケーションは、例えばMFP300の製品に同梱された記憶媒体等に格納された又はネットワークダウンロード可能な形式で配布されたプログラムを、外部通信装置が実行することによって起動されうる。
 MFP300が外部通信装置から受信する無線設定情報は、参加したいネットワークを構築している外部APのSSID、その外部APで使用されている周波数帯域、暗号方式、認証方式等を含む。なお、周波数帯域の情報は、5GHz帯又は2.4GHz帯を指定する情報、又は、周波数帯域に関連する無線チャネルを示す値等でありうる。MFP300は、無線設定情報を受け取ると、ケーブルレスセットアップモードを終了して(S1306)、ソフトAPモードを停止し、無線インフラモードの無線設定処理を実行する。そして、MFP300は、S1305で受信した無線設定情報に従って、無線コンボユニット616の設定を開始する(S1307)。無線コンボユニット616は、上述の通り、WLAN通信およびBT通信を共通のアンテナで行うただ1つのモジュールである。MFP300は、共通のアンテナを用いて複数の通信インタフェースでの通信を可能とするため、各インタフェースの優先度を設定し、その優先度に基づいて時分割制御で割り当てられる期間長を設定する。S1307の設定に用いられる無線制御設定テーブルを、図15A、図16A、…、図23Aに示す。MFP300は、S1305で受信した無線設定情報により、インフラモードにおいて2.4GHz帯と5GHz帯とのいずれを用いるか、5GHzを用いる場合、DFSチャネルと非DFSチャネルとのいずれを用いるかを特定する。なお、DFSはDynamic Frequency Selectionの頭字語であり、気象レーダ等の干渉波の有無に応じてチャネルを動的に変更する機能である。以下では、気象レーダ等の干渉波の有無に応じてチャネルを動的に変更する必要があるDFSチャネルを「DFS Ch」と記載する。また、気象レーダ等の干渉波の有無に応じてチャネルを動的に変更する必要がない非DFSチャネルを「非DFS Ch」と表記する。MFP300は、S1305で受信した無線設定情報の組み合わせにより、図15A~図23Cのいずれの無線制御設定テーブルを用いるかを決定する。図15A~図23Cの無線制御設定テーブルの詳細については後述する。なお、図15A~図23Cの数値は一例に過ぎず、使用方法に応じて別の値が設定されてもよい。MFP300は、S1305で受信した無線設定情報に基づいて抽出された無線制御設定テーブルの情報を設定し、不揮発性メモリ605にその設定を保存する。
 続いて、図14を用いて、S1307において実行される、MFP300が、図15A、図16A、…、図23Aのいずれを用いるかを決定する処理について説明する。MFP300は、S1305において受信した無線設定情報から、ケーブルレスセットアップモードにおけるP2P接続の接続CH設定値と、ユーザによって設定された無線インフラモードの接続CH(チャネル)設定値を取得する(S1401)。なお、無線インフラモードの接続CH設定値は、端末装置200で動作するLAN設定専用アプリケーションをユーザが操作することにより設定される。また、本実施形態では、P2P接続の接続CH設定値をS1305において受信した無線設定情報から取得するとして説明しているが、他の方法でもよい。すなわち、MFP300は、ケーブルレスセットアップモードにおけるP2P接続の接続CHを保存しておく。そして、S1401の段階で、MFP300は、保存されているケーブルレスセットアップモードにおけるP2P接続の接続CH設定値を読み出してもよい。そして、MFP300は、P2P接続の接続CH設定値が2.4GHz帯であるか5GHz帯であるかを判定する(S1402)。MFP300は、P2P接続の接続CH設定値が5GHz帯である場合(S1402でNO)、そのチャネルがDFS Chであるか否かを判定する(S1403)。DFS Chは、一般的にIEEE802.11規格シリーズで定められる5GHz帯のW53やW56である。ただし、国や地域によっては、DFS ChにW52やW58も含まれる場合がある。MFP300は、P2P接続の接続CH設定値がDFS Chではないと判定した場合(S1403でNO)、5GHz帯の非DFS Chであるという情報を、P2Pモードの接続CH設定値として決定する(S1404)。一方、MFP300は、P2P接続の接続CH設定値がDFS Chであると判定した場合(S1403でYES)、5GHz帯のDFS Chであるという情報を、P2Pモードの接続CH設定値として決定する(S1405)。また、MFP300は、P2P接続の接続CH設定値が2.4GHz帯であると判定した場合(S1402でYES)、2.4GHz帯であるという情報をP2Pモードの接続CH設定値として決定する(S1406)。
 そして、MFP300は、S1305で受信した無線設定情報により無線インフラモードにおける接続CH設定値が2.4GHz帯であるか5GHz帯であるかを判定する(S1407)。そして、MFP300は、接続CH設定値が5GHz帯である場合(S1407でNO)、その接続CH設定値がDFS Chであるか非DFS Chであるかを判定する(S1408)。MFP300は、接続CH設定値がDFS Chでないと判定した場合(S1408でNO)、無線インフラモードの接続CH設定値を非DFS Chと決定する(S1409)。一方、MFP300は、接続CH設定値がDFS Chであると判定した場合(S1408でYES)、無線インフラモードの接続CH設定値をDFS Chと決定する(S1410)。また、MFP300は、接続CH設定値が2.4GHz帯であると判定した場合(S1407でYES)、無線インフラモードの接続CH設定値を2.4GHzと決定する(S1411)。
 そして、MFP300は、無線制御設定テーブルを参照し(S1412)、上述の処理によって決定されたP2Pモードの接続CH設定値と無線インフラモードの接続CH設定値とに基づいて、使用する無線制御設定テーブルを決定する。ここで決定される無線制御設定テーブルの一例が、図15A~図23Cに示されている。MFP300は、S1412において決定された無線制御設定テーブルに記述される設定値を設定し(S1413)、WLANおよびBLEの優先度および時分割制御の設定値を決定する。
 図13に戻り、MFP300は、S1308において、S1305で受信した無線設定情報とS1307の処理に基づく設定値に従って、無線インフラモードによる通信を起動し、外部のアクセスポイント400への接続処理を行う。そして、MFP300は、無線インフラモードが有効に設定されたことに応じて、不揮発性メモリ605に設定を保存する。具体的には、無線インフラモードが有効状態であること、無線インフラモードにおいて使用される外部APのSSID等が保存される。また、MFP300は、S1305で受信した無線設定情報に含まれる外部通信装置から送信された周波数帯域の情報とS1307の処理に基づく設定値に基づいて、P2Pモードの設定を有効化する(S1309)。そして、MFP300は、P2Pモードが有効に設定されたことに応じて、不揮発性メモリ605に設定を保存する。具体的には、P2Pモードが有効状態であること、P2Pモードにおいて使用される周波数帯域やCh情報が保存される。なお、MFP300は、無線インフラモードとP2Pモードとの並行動作が可能な場合、初期起動時のセットアップフロー内において、ユーザが無線インフラモード単体を選択した場合であっても、MFP300の自主判断によりP2Pモードも有効化しうる。そして、MFP300は、自動的に無線インフラモードとP2Pモードとで並行動作する状態となるようにセットアップを実行しうる。すなわち、P2Pモードを有効化して設定を保存する処理が、S1305においてP2Pモードを有効化する無線設定情報を受信しているか否かによらずに行われてもよい。この場合、無線LANが使用される地域に適した周波数帯やCHが、事前に初期値としてMFP300に保持されうる。そして、MFP300は、BLE及びUSBを有効化して(S1314、S1315)、初期起動時のインタフェース設定処理を終了する。すなわち、有線LANが選択された場合と無線LANが選択された場合とのいずれの場合においても、BLEモードが有効化され、USBインタフェースが有効化される。なお、MFP300は、例えばユーザ操作に基づいた設定によって、BLEモードやUSBインタフェースを有効化しなくてもよい。
 以上のように、MFP300において、初期起動時に本体操作部の操作でWLANが選択された場合において、無線インフラモード、P2Pモード、BLEモードの並行通信が有効となる処理が行われる。このとき、無線インフラモード、P2Pモードの使用周波数帯が2.4GHz帯であるか又は5GHz帯であるか、また、5GHzの場合は設定チャネルがDFS Chであるか非DFS Chであるかによって、使用される無線制御設定テーブルが決定される。すなわち、
・インフラ:2.4GHz、     P2P:2.4GHz      →図15A~図15C
・インフラ:5GHz非DFS Ch、P2P:2.4GHz      →図16A~図16C
・インフラ:5GHz DFS Ch、P2P:2.4GHz      →図17A~図17C
・インフラ:2.4GHz、     P2P:5GHz非DFS Ch →図18A~図18C
・インフラ:2.4GHz、     P2P:5GHz DFS Ch →図19A~図19C
・インフラ:5GHz非DFS Ch、P2P:5GHz非DFS Ch →図20A~図20C
・インフラ:5GHz DFS Ch、P2P:5GHz非DFS Ch →図21A~図21C
・インフラ:5GHz非DFS Ch、P2P:5GHz DFS Ch →図22A~図22C
・インフラ:5GHz DFS Ch、P2P:5GHz DFS Ch →図23A~図23C
のように、使用される無線制御設定テーブルが決定される。なお、MFP300は、上記記述されたパターンの無線接続を並行して維持することができる。例えば、MFP300は、無線インフラモードによる5GHz DFS Chの無線接続と、P2Pモードによる2.4GHzの無線接続と、BLEモードによる無線接続を並行して維持することが可能である。また、例えば、MFP300は、無線インフラモードによる5GHz DFS Chの無線接続と、P2Pモードによる5GHz 非DFS Chの無線接続と、BLEモードによる無線接続を並行して維持することが可能である。
 MFP300は、この初期起動が完了すると、Standby状態に遷移する。初期起動時の上述の処理により、Standby時に無線コンボユニット616に起因する上述の制約を回避することが可能となる。このため、MFP300は、共通のハードウェア資源を利用して、P2Pモード、無線インフラモード、BLEモードを並行して動作させる際の利便性を向上させることができる。なお、BLEモードが無効化されている場合には、上述の無線制御設定テーブルにおける、無線インフラモードとP2Pモードとに割り当てられている時間比率に応じて、BLEに割り当てられている期間が分配されうる。また、BLEモードが無効化されている場合に対応する別の無線制御設定テーブルが用意されてもよい。同様に、BLEモードに加えて、無線インフラモードとP2Pモードの一方のみが有効化されている場合に、上述の無線制御設定テーブルにおける時間比率に基づいて、各モードの通信期間長が決定されてもよいし、別の無線制御設定テーブルが用意されてもよい。また、BLEモードにおけるデータ通信が行われない場合には、上述の無線制御設定テーブルにおいて、BLEモードのためのビーコン送信期間を維持したまま、残りの期間を他のモードに割り当てるようにしてもよい。さらに、無線コンボユニット616において別の無線通信モードが有効化されている場合には、その無線通信モードに関する期間を含んだ別の無線制御設定テーブルが用意されうる。
 <LAN設定によるインタフェースの有効/無効の切り替え設定>
 次に、インタフェースの有効/無効の切り替え時における、無線インフラモードとP2Pモードの設定方法について説明する。MFP300は、図4Cに示すような本体操作画面、又はケーブルレスセットアップ経由で、使用するインタフェースの有効/無効を設定可能なように構成されている。なお、MFP300は、MFP300の操作画面をユーザが操作することでケーブルレスセットアップを行うことが可能となる。すなわち、ユーザが、MFP300の操作画面を使ってケーブルレスセットアップを行うことを指示した場合、MFP300は、S1304と同様にソフトAPモードを起動して、APとして動作する。本実施形態では、有線LANと無線LANとのいずれか一方のみが使用される関係にあり、MFP300は、有線LANを有効にした状態で無線LANを有効にすることはできないものとする。同様に、MFP300は、無線LANを有効にした状態で有線LANを有効にすることもできないものとする。なお、有線LANと無線LANとを並行して無効に設定することは可能である。Bluetoothについても、その通信機能が無線LANと共に無線コンボユニット616によって実現されるため、有線LANが有効となっている場合には、有効化されないように構成される。USBインタフェースは、ユーザによる設定で無効化することはできず、起動時に常に有効化され、有線LAN又は無線LAN若しくはBLEと並行して使用可能に構成される。無線LANには、P2Pモードと無線インフラモードの設定があり、MFP300は、これらのモードについて個別に独立して有効/無効の設定を実行可能に構成される。これらのP2Pモードと無線インフラモードについては、並行して有効とすることが可能である。すなわち、MFP300は、P2Pモードでの無線接続と無線インフラモードでの無線接続を並行して維持することができる。なお、接続は並行して維持することはできるが、データ通信は並行して実行されずシーケンシャルに実行される。例えば、P2Pモードでの無線接続と無線インフラモードでの無線接続を並行して維持されている場合、まず無線インフラモードでのデータ通信を所定期間行い、その後、P2Pモードでのデータ通信が行われる。また、MFP300は、BLEモードについて、無線LANのP2Pモード及び無線インフラモードと独立して有効/無効を設定可能に構成される。このとき、BLEモードも、無線LANの各モード(P2Pモード及び/又は無線インフラモード)と並行して有効とすることができる。すなわち、MFP300は、無線LANの各モードでの無線接続とBLEモードでの無線接続を並行して維持することができる。このため、MFP300は、無線LANのP2Pによる無線接続及び無線インフラモードによる無線接続、及びBLEによる無線接続とを並行して維持することができる。設定した有効/無効の状態は不揮発性メモリ605に保存され、MFP300は、電源がオフとされた後の次回の起動時にその情報を参照し、保存された情報に基づいて各インタフェースを有効化する。MFP300は、LAN設定項目が初期化された場合、P2Pモード並びに無線インフラモード、及びBLEモードを無効とする。また、この場合、MFP300は、有線LANも無効とし、有線と無線との両方においてLANは使用しない状態となる。ユーザは、LAN設定を初期化した場合、所望のインタフェースを個別に有効に設定変更してMFP300を使用することとなる。
 そして、MFP300は、上述のような設定変更が行われたことに応じて、例えば図14と同様の処理を実行し、使用する無線制御設定テーブルを選択しうる。
 <無線制御設定テーブルの説明>
 続いて、無線制御設定テーブルについて説明する。上述のように、図15A~図23Cは、無線インフラモードとP2Pモードとで使用される周波数帯域及びチャネルにそれぞれ対応する無線制御設定テーブルの例を示している。これらの図のうち、図15A、図16A、…、図23Aは、MFP300がStandby状態(アイドル状態)で用いられるStandbyテーブルである。図15B、図16B、…、図23Bは、MFP300がPrint/Scanの動作状態であり、かつ、無線インフラモードで印刷データ(またはスキャンデータ)の送受信を行っている時に用いられる、無線インフラ接続優先テーブルである。図15C、図16C、…、図23Cは、MFP300がPrint/Scanの動作状態であり、かつ、P2Pモードで印刷データ(またはスキャンデータ)の送受信を行っている時に用いられる、P2P接続優先テーブルである。
 各テーブルにおける「優先度」の項目は、共通のハードウェア(例えば1つのCPU、1組のアンテナ)を使用する優先順位を示すための設定値である。本実施形態では、一定間隔でビーコンを送出する必要があるBLEを常に優先順位1(最優先)とし、無線インフラモードとP2Pモードは、接続しているチャネルに応じて優先順位を2又は3と設定している。なお、本実施形態では、無線インフラモードとP2Pモードでは、使用されるチャネルが5GHz帯のDFS Chである場合の優先度を、その他のチャネル(2.4GHz帯、又は5GHz帯の非DFS Ch)の優先度より高くする。また、2.4GHz帯と、5GHz帯の非DFS Chとでは、優先度を同じとする。なお、これらの優先度の設定は一例であり、示された設定と異なる設定が用いられてもよい。この優先度が高いほど優先的に通信が行われる。例えば、図19A~図19Cの例では、BLEモード(優先度1)の通信が最優先で実行される。次にP2Pモード(優先度2)の通信が優先的に実行される。そして、無線インフラモード(優先度3)の通信の優先度が一番低い。すなわち、図19A~図19Cの例では、無線インフラモードの通信中にP2Pモードの通信において受信したパケットにDFSコマンドが含まれている場合、無線インフラモードの通信が停止される。そして、P2Pモードの通信で受信したパケットに含まれるDFSコマンドの処理が無線インフラモードの通信よりも優先的に実行される。
 「時分割占有度」の項目は、BLEの一定間隔(例えば、100msec間隔)のビーコン送出期間の開始から次のビーコン送出期間の開始までの間隔において、BLEモード、無線インフラモード、P2Pモードの通信可能な時間の設定値である。各モードでの通信は、この時分割占有度で設定された期間において実行され、その期間内においては、他のモードでの通信は行われない。例えば、図15Aのテーブルによれば、BLEモードのビーコン送信間隔である100msecごとに、BLEモードでの通信が行われる。このとき、BLEモードでビーコン以外の通信すべきデータが存在する場合には、その通信が完了するまではBLEモードでの通信が行われる。ここで、このBLEモードでの通信期間が例えば10msecであったとする。その後、残り90msecを、無線インフラモードとP2Pモードとで、50%ずつ使用する。すなわち、無線インフラモードに45msec、P2Pモードに45msecの通信期間が割り当てられる。また、図15Bのテーブルによれば、無線インフラモードでPrint/Scanのデータが送受信されるため、無線インフラモードに多くの時間が割り当てられる。すなわち、BLEモードでの通信期間が例えば10msecであったとすると、残りの90msecのうち、90%(=81msec)が無線インフラモードに割り当てられ、10%(=9msec)がP2Pモードに割り当てられる。同様に、図15Cのテーブルの場合は、10%(=9msec)が無線インフラモードに割り当てられ、90%(=81msec)がP2Pモードに割り当てられる。このように、MFP300の動作状態に応じて、各モードの通信期間が決定される。なお、各モードの切替の間には、一定のガードタイムが挿入されてもよい。これらの時分割占有度の設定は一例であり、示された設定と異なる設定が用いられてもよい。なお、図15A~図15Cの例では、無線インフラモードとP2Pモードの優先度が両者とも「2」で同じである。そのため、両者の通信に優劣はない。そのため、例えば、無線インフラモードの通信中にP2Pモードの通信が必要となった場合でも、無線インフラモードの通信は継続される。
 このように、MFP300の動作状態に応じて別個のテーブルを用意し、それぞれのモードに対して優先度と時分割占有度が設定されることで、複数のモードでの通信に共通のハードウェアを使用する期間が決定される。これにより、動作状態によって通信間隔や通信速度が安定しなくなることを防ぎ又は軽減し、一定間隔で通信するモードと動作状態によって高速通信が必要なモードとでの通信を並行して実行することが可能となる。
 <動作状態の切り替えによる無線制御設定テーブルの変更>
 続いて、MFP300の動作状態の遷移によって、使用される無線制御設定テーブルが切り替えられる方法について、図24を用いて説明する。図24の処理は、ユーザ操作によりMFP300の動作状態が遷移した場合に、例えば、MFP300のCPU602がROM603に記憶されたプログラムを実行することによって実行される。
 本処理では、図24の処理が始まる前のMFP300の状態がStandby状態であるものとする。MFP300は、通信の相手装置(例えば端末装置200)をユーザが操作したことに応じて、いずれかのモードでの通信を介してそのユーザ操作を受け付ける(S2401)。この時点では、MFP300は、Standbyテーブルを参照しており、そのテーブルに定められた通信期間で各モードの通信を行うことができる。このため、MFP300は、相手装置(端末装置200)からのユーザ操作を示す信号を受信することができる。そして、MFP300は、ユーザ操作の内容がPrint/Scan操作であるか否かを判定する(S2402)。すなわち、MFP300は、端末装置200から受信した信号が印刷指示またはスキャン指示を示すか否かを判定する。MFP300は、ユーザ操作の内容がPrint/Scan操作以外の操作であると判定した場合(S2402でNO)、Standbyテーブルのままでユーザ操作を受け付け(S2403)、図24の処理を終了する。すなわち、この場合、MFP300は、ユーザ操作によって通信に係る装置状態は変更されないと判定し、Standby状態を維持する。一方、MFP300は、ユーザ操作の内容がPrint/Scan操作であると判定した場合(S2402でYES)、Print/Scan動作状態に状態遷移する(S2404)。MFP300は、この遷移後の状態と、Print/Scanが無線インフラモードとP2PモードとBLEモードとのいずれの通信によって指示されたかに応じて、使用する無線制御設定テーブルを変更する(S2405)。そして、MFP300は、変更された無線制御設定テーブルにおける優先度と時分割占有度に対応する設定情報を用いて、相手装置(端末装置200)との間で、Print/Scanデータの送受信を行う(S2406)。この送受信処理は、データの全てが送受信されるまで繰り返される(S2407でNO、S2406)。MFP300は、データ送受信が完了した場合(S2407でYES)、Print/Scan完了処理を実行し(S2408)、次の状態遷移の準備を行う。Print/Scan完了処理は、一般的なMFPにおいて行われる処理と同様であるため、ここでは詳細に説明しない。MFP300は、Print/Scan完了処理の後、動作状態をStandbyへ遷移させ(S2409)、使用する無線制御設定テーブルを、現在の無線設定に対応するStandbyテーブルへ変更する(S2410)。
 ここで、S2405の無線制御設定テーブルの変更処理について、図25を用いて説明する。本処理では、MFP300は、まず、Print/Scanの実行指示を、無線インフラモードと、P2Pモードと、BLEモードとのいずれによる通信で受信したかを判定する(S2501、S2502)。MFP300は、BLEモードでの通信により実行指示を受信したと判定した場合(S2501でNO、S2502でNO)、通信の相手装置(端末装置200)とP2Pモードで通信を行うためのハンドオーバを実行する(S2503)。端末装置200は、BLE通信を介してMFP300内部のソフトウェアAPの無線接続情報(SSID、パスワード等)を受信する。さらに、端末装置200は、BLE通信を介してMFP300にソフトウェアAPの起動を指示する。MFP300は、BLEを介したソフトウェアAPの起動指示を受けた場合、P2Pモードの接続チャネルを確認して設定する(S2504)。そして、MFP300は、その設定値に対応する無線制御設定テーブルのうち、P2P接続優先テーブルを、使用する無線制御設定テーブルとして設定する(S2505)。例えば、MFP300が、無線インフラモードの2.4GHzで通信を行うことが設定され、かつ、BLEを介した指示により起動されるソフトAPが5GHzの非DFS Chを使用する設定である場合について説明する。この場合、MFP300は、S2505において図18Cを設定する。また、例えば、MFP300が、無線インフラモードのために5GHzのDFS Chで通信を行うことが設定され、かつ、BLEを介した指示により起動されるソフトAPが2.4GHzを使用する設定である場合について説明する。この場合、MFP300は、図17Cを設定する。なお、BLEを介して指示により起動されたMFP300内部のソフトウェアAPと端末装置200間でP2P接続が確立される。このP2P接続を確立するために、端末装置200は、BLE通信で受信した無線接続情報(SSID、パスワード等)を使って無線接続を確立する。これにより、BLEモードでの通信によってはPrint/Scanデータの送受信は行われずに操作指示のみが行われ、Print/Scanデータの送受信はP2Pモードで送信されることとなる。また、このときに、インフラモードの設定とP2Pモードの設定に応じて適切な無線制御設定テーブルが設定されるため、効率的にPrint/Scanデータを送受信することが可能となる。MFP300は、P2Pモードでの通信によりユーザ操作情報を受信したと判定した場合(S2501でNO、S2502でYES)、既に保持している現在の接続設定情報に対応するP2P接続優先テーブルを、使用する無線制御設定テーブルとして設定する(S2506)。また、MFP300は、無線インフラモードでの通信によりユーザ操作情報を受信したと判定した場合(S2501でYES)、既に保持している現在の接続設定情報に対応する無線インフラ接続優先テーブルを、使用する無線制御設定テーブルとして設定する(S2507)。この設定されたテーブル情報は、不揮発性メモリ605に保存される。
 <無線制御設定テーブルごとのデータ送受信>
 上述のMFP300の動作状態に基づいて設定される無線制御設定テーブルに基づいて実行される通信の概要について、図26A~図26D及び図27A~図27Dを用いて説明する。図26A~図26DはMFP300がデータを受信する場合の動作の例を示しており、図27A~図27DはMFP300がデータを送信する場合の動作の例を示している。図26A~図26D及び図27A~図27Dは、BLE通信によってビーコンが定期的に送信される場合を示している。図26A~図26D及び図27A~図27Dにおいて、白抜きの矩形で示したパケットは、MFP300が送信したパケットを示し、網掛けの矩形で示したパケットは、MFP300が受信したパケットを示す。また、横軸は時間経過を示す。
 図26Aは、Standbyテーブルに基づく、BLEモードのビーコン送信と無線インフラモードおよびP2Pモードにおけるデータパケットの受信動作を示している。図26Aにおいて、パケット2601は、MFP300がBLEモードで送信するビーコンを示している。BLEのビーコンは、ビーコン間隔によって示される所定の時間周期で送信される。パケット2602は、MFP300が無線インフラモードで受信するデータパケットを示している。MFP300は、このデータパケットが正常なパケットであると判定すると、ACKパケット(パケット2603)を送信する。ここで、MFP300がBLEのビーコン(パケット2601)が送信されるタイミングで、無線インフラモードのデータパケット(パケット2602)がMFP300に到来したものとする。しかしながら、この場合、図15A~図23Cに示される優先度に従ってBLEモードに割り当てられた通信期間中であるため、MFP300は、BLEモードでのビーコン(パケット2601)送信を実行し、無線インフラモードのパケット2602を無視する。なお、図26A~図26D及び図27A~図27Dにおいて、BLEモードの通信期間を「BLE時分割占有期間」と表している。このため、パケット2602の受信処理は発生せず、それに応じてACKパケット(パケット2603)も送信されない。このため、相手装置(例えばアクセスポイント400)は、ACKパケットを受信できないため、パケット2602を再送することとなる。なお、WLANの通信規格の通信制御によると、ACKパケットが受信されないことによってデータパケットの再送を行う場合は、前回のパケット送信から一定の時間(図26A及び図26Cにおける「t1」)の経過後に再送する必要がある。このようにして再送が行われる(場合によっては繰り返される)ことにより、MFP300において無線インフラモードに割り当てられた通信期間においてこのパケット2602が送信されることで、MFP300がこのパケット2602を受信することができる。
 MFP300は、この時点においては、Print/Scanに関する情報を受信していなかったため、Standbyテーブルにおいて規定されている時分割占有度に基づいて、BLEモード、無線インフラモード、及びP2Pモードの通信期間を設定する。例えば、MFP300が、無線インフラモードの通信とP2Pモードの通信のために2.4GHzで通信を行うことが設定されている場合、図15Aが参照される。すなわち、図15Aの例によれば、BLEモードでの通信が完了した後の残りの期間が、無線インフラモード及びP2Pモードの通信期間に50%ずつ割り当てられる。ここで例えば図15Aが参照されている場合、MFP300は、無線インフラモードの通信期間においては、BLEモードのビーコンの送信やP2Pモードで受信したパケットに対する処理を行わない。このため、MFP300は、無線インフラモードの通信期間においてP2Pモードのパケット2604が到達しても、それを無視する。この場合、P2Pモードの通信相手装置(端末装置200)は、パケット2604の送信後に、ACKパケットを受信しないため、パケット2604を再送する。この再送も、WLANの通信規格の通信制御に従って、前回のパケット送信から一定時間(図26Aにおける「t2」)の経過後に行われる。このようにして再送が行われる(場合によっては繰り返される)ことで、MFP300においてP2Pモードに割り当てられた通信期間においてパケット2604が送信されることにより、MFP300がこのパケット2604を受信することができる。そして、MFP300は、パケット2604の受信に成功すると、ACKパケット(パケット2605)を相手装置(端末装置200)へ送信する。なお、図26A~図26D及び図27A~図27Dでは、無線インフラモードの通信期間を「無線インフラ接続時分割占有期間」、P2Pモードの通信期間を「P2P接続時分割占有期間」と表している。
 ここで、MFP300が、無線インフラモードの通信のために5GHzのDFS Chで通信を行うことが設定されており、かつ、P2Pモードの通信のために2.4GHzで通信を行うことが設定されている状況について説明する。この場合、図17Aが参照される。図17Aによれば無線インフラモードの優先度がP2Pモードの優先度よりも高い。そのため、MFP300は、P2Pモードに割り当てられた通信期間に無線インフラモードのパケットを受信し、そのパケットにDFSコマンドが含まれているかを判定する。そして、パケットにDFSコマンドが含まれていると判定された場合、MFP300は、P2Pモードのパケットに基づく処理よりも無線インフラモードのDFSコマンドに基づく処理を優先的に実行する。なお、MFP300は、DFSコマンドにより指定されているCh情報を読み出してメモリに保持しておく。その後、P2Pモードのパケットに基づく処理を再開する。そしてMFP300は、次に無線インフラモードで動作する際、メモリに保存されているDFSコマンドで指定されたCh情報を使った無線インフラモードの通信処理を実行する。なお、このケースにおいて、MFP300は、P2Pモードに割り当てられた通信期間に受信した無線インフラモードのパケットにDFSコマンドが含まれていないと判定した場合、そのパケットは無視される。そして、P2Pモードの通信で受信したパケットに基づく処理が優先的に実行される。
 MFP300の動作状態が一定であり、BLEモードの通信期間中にBLEのデータパケットが受信されない場合には、そのMFP300における無線インフラモードとP2Pモードの通信期間は、ビーコン周期によって定まる所定の期間内で一定である。一方、BLEモードの通信期間中にビーコン以外のデータパケットが受信される場合、それに応じて、MFP300における無線インフラモードとP2Pモードの通信期間の長さが変動する。図26Bは、StandbyテーブルにおいてBLEモードでビーコン以外のデータ通信が発生した場合の通信の動作の例を示している。MFP300は、ビーコンの送信開始後、特定の期間をBLEの通信期間とする。この通信期間において、ビーコン(パケット2601)に対して、例えば端末装置200からのリクエストパケット2606を受信した場合、MFP300は、その解析を行い、応答信号としてレスポンスパケット2607を送信する。このとき、MFP300は、端末装置200との通信が完了するまで、BLEモードの通信期間を延長する。この場合、BLEモードの通信期間が延長された分、ビーコン周期に対応する所定の期間のうち、BLEモードの通信期間を除いた期間の長さが減少し、これに応じて、無線インフラモード及びP2Pモードの通信期間も短くなる。MFP300は、ビーコン周期からBLEモードの通信期間長を減じた残期間を、無線制御設定テーブルで指定されている時分割占有度の割合に応じて、無線インフラモード及びP2Pモードに配分し、それぞれのモードの通信期間を設定する。なお、図26Bの処理は、例えば、MFP300が、図25において、Print/Scanを示すユーザ操作情報をBLEモードでの通信によって受信した場合(S2501でNO、S2502でNO)等に行われうる。
 図26Cは、無線インフラ接続優先テーブルに基づく、BLEモードのビーコン送信と無線インフラモードおよびP2Pモードにおけるデータパケットの受信動作を示している。基本的な動作は、図26A及び図26Bと同様である。MFP300は、無線インフラ接続優先テーブルを設定した場合、BLEモードの通信期間を確保した残りの期間において、無線インフラモードの通信期間の期間長を、P2Pモードの通信期間の期間長と比して相対的に長く設定する。これにより、MFP300は、定期的なビーコンの送信を維持しながら、無線インフラモードでのアクセスポイント400と通信における通信速度を十分に確保することができる。なお、図26Cの処理は、例えば、MFP300が、図25において、Print/Scanを示すユーザ操作情報を無線インフラモードでの通信によって受信した場合(S2501でYES)等に行われうる。
 図26Dは、P2P接続優先テーブルに基づく、BLEモードのビーコン送信と無線インフラモードおよびP2Pモードにおけるデータパケットの受信動作を示している。基本的な動作は、図26A及び図26Bと同様である。MFP300は、P2P接続優先テーブルを設定した場合、BLEモードの通信期間を確保した残りの期間において、P2Pモードの通信期間の期間長を、無線インフラモードの通信期間の期間長と比して相対的に長く設定する。これにより、MFP300は、定期的なビーコンの送信を維持しながら、P2Pモードでの端末装置200と通信における通信速度を十分に確保することができる。なお、図26Dの処理は、例えば、MFP300が、図25において、Print/Scanを示すユーザ操作情報をP2Pモードでの通信によって受信した場合(S2501でNO、S2501でYES)等に行われうる。
 図27Aは、Standbyテーブルに基づく、BLEモードのビーコン送信と無線インフラモードおよびP2Pモードにおけるデータパケットの送信動作を示している。本例では、MFP300は、Standbyテーブルで設定された時分割占有度によりBLEモード、無線インフラモード及びP2Pモードの通信期間を設定する。図26Aの場合と同様に、MFP300は、定期的にビーコン(パケット2601)を送信する。そして、MFP300は、無線インフラモードの通信期間中に、無線インフラモードで通信相手装置(アクセスポイント400)へパケット2702を送信する。通信相手装置においてこのパケット2702が正しく受信されると、その通信相手装置からACKパケット2703が送信され、MFP300は、このACKパケット2703を受信する。なお、MFP300は、BLEモードの通信期間中には、送信対象データがない場合であっても、その期間の満了を待ってから、無線インフラモードでの信号送信を実行する。また、MFP300は、無線インフラモードでの信号の送信と同様に、P2Pモードにおいてパケット2704を送信し、ACKパケット2705を受信する。MFP300は、無線インフラモードの通信期間中には、送信対象データがない場合であっても、その期間の満了を待ってから、P2Pモードでの信号送信を実行する。なお、P2Pモードにおいては、パケット2704の送信先は端末装置200であり、端末装置200からACKパケット2705を受信する。
 図27Bは、StandbyテーブルにおいてBLEモードでビーコン以外のデータ通信が発生した場合の通信の動作の例を示している。MFP300は、ビーコンの送信開始後、特定の期間をBLEの通信期間とする。この通信期間において、ビーコン(パケット2601)に対して、例えば端末装置200からのリクエストパケット2606を受信した場合、MFP300は、その解析を行い、応答信号としてレスポンスパケット2607を送信する。ここまでの処理は図26Bと同様である。このとき、MFP300は、端末装置200との通信が完了するまで、BLEモードの通信期間を延長する。この場合、BLEモードの通信期間が延長された分、ビーコン周期に対応する所定の期間のうち、BLEモードの通信期間を除いた期間の長さが減少し、これに応じて、無線インフラモード及びP2Pモードの通信期間も短くなる。MFP300は、ビーコン周期からBLEモードの通信期間長を減じた残期間を、無線制御設定テーブルで指定されている時分割占有度の割合に応じて、無線インフラモード及びP2Pモードに配分し、それぞれのモードの通信期間を設定する。
 図27Cは、無線インフラ接続優先テーブルに基づく、BLEモードのビーコン送信と無線インフラモードおよびP2Pモードにおけるデータパケットの送信動作を示している。基本的な動作は、図27A及び図27Bと同様である。MFP300は、無線インフラ接続優先テーブルを設定した場合、BLEモードの通信期間を確保した残りの期間において、無線インフラモードの通信期間の期間長を、P2Pモードの通信期間の期間長と比して相対的に長く設定する。これにより、MFP300は、定期的なビーコンの送信を維持しながら、無線インフラモードでのアクセスポイント400と通信における通信速度を十分に確保することができる。
 図27Dは、P2P接続優先テーブルに基づく、BLEモードのビーコン送信と無線インフラモードおよびP2Pモードにおけるデータパケットの受信動作を示す。基本的な動作は、図27A及び図27Bと同様である。MFP300は、P2P接続優先テーブルを設定した場合、BLEモードの通信期間を確保した残りの期間において、P2Pモードの通信期間の期間長を、無線インフラモードの通信期間の期間長と比して相対的に長く設定する。これにより、MFP300は、定期的なビーコンの送信を維持しながら、P2Pモードでの端末装置200と通信における通信速度を十分に確保することができる。
 <BLE時分割占有期間の延長とその他占有期間の演算処理>
 上述のように、BLEモードにおいてビーコンのみが送出されるのみであれば、BLEモードの通信期間長は一定であり、無線インフラモードやP2Pモードの通信期間長も、使用中の無線制御設定テーブルに応じて一定となる。しかしながら、上述の図26Bや図27Bを参照して概説したように、BLEモードでのデータ送受信動作が開始されるとBLEモードの通信期間を延長することが必要となりうる。この場合のBLEモードの通信期間の延長判定と、延長した場合のBLEモードから他のモードへ移行するまでの処理の流れを、図28を用いて説明する。
 MFP300は、定期的にBLEモードでビーコンを送信する(S2801)。そして、MFP300は、パケット2601の送信完了後に、パケット2601を一定の間隔で送信するためのビーコン間隔タイマをスタートする(S2802)。MFP300は、BLEモードの通信期間中であるか否かを判定する(S2803)。そして、MFP300は、BLEモードの通信期間中であると判定した場合(S2803でYES)、BLEモードでの通信の相手装置(例えば端末装置200)からリクエストパケットを受信したかを判定する(S2804)。MFP300は、端末装置200からリクエストパケットを受信しない状態で(S2804でNO)、BLEモードの通信期間が満了した場合(S2803でYES)、図28の処理を終了する。この場合は、BLEモードの通信期間は延長されないため、無線インフラモード及びP2Pモードの通信期間も、無線制御設定テーブルが最初に参照された時点で設定されている通信期間が維持される。MFP300は、端末装置200からリクエストパケットを受信した場合(S2804でYES)、BLEモードの通信期間の延長フラグをONとする(S2805)。MFP300は、BLEモードの通信期間の延長フラグがONとなっている間は、設定されたBLEモードの通信期間を越えても無線インフラモードやP2Pモードの通信期間へ移行しない。その後、MFP300は、レスポンスパケット2607の送信やリクエストパケット2606の受信を行うごとに、BLEモードでの通信を継続するかを判定する(S2807)。MFP300は、BLEモードでの通信が完了しておらず、この通信を継続する場合(S2807でYES)、ビーコン間隔タイマが規定時間に達していないことにより計測を継続するか否かを判定する(S2808)。すなわち、MFP300は、次のBLEのビーコンを送信するタイミングであるか否かを判定する。MFP300は、ビーコン間隔タイマが規定時間に達して次のビーコンを送信するタイミングであると判定した場合(S2808でNO)、BLEモードの通信期間の延長フラグをOFFとする(S2809)。そして、MFP300は、処理をS2801に戻し、ビーコンの送信からの一連の処理を繰り返す。MFP300は、ビーコン間隔タイマが規定時間に達しておらず次のビーコンを送信するタイミングではないと判定した場合(S2808でYES)、処理をS2806に戻して、BLEモードの通信を継続する。MFP300は、BLEモードでの通信が完了しており、BLEモードでの通信を継続しないと判定した場合(S2807でNO)、BLEモードの通信期間の延長フラグをOFFとする(S2810)。続いて、MFP300は、ビーコン間隔タイマの規定値と現在のビーコン間隔タイマの経過時間の差を算出して、次のビーコンの送出までの残時間を特定する(S2811)。そして、MFP300は、特定された残時間と、現在設定されている無線制御設定テーブルの無線インフラモードの時分割占有度とから、無線インフラモード及びP2Pの通信期間長を算出する(S2812、S2813)。そして、MFP300は、S2812及びS2813で算出された無線インフラモード及びP2Pモードの通信期間長に基づいて新たな通信期間を特定して、通信期間の設定値を更新する。
 図28の処理を行うことで、MFP300は、BLEモードにおけるビーコンを一定周期で送出しながら、必要に応じてBLEモードの通信期間を延長し、BLEモードでの通信を継続することができるようにする。そして、MFP300は、BLEモードでの通信の終了後に、ビーコン周期に対応する所定の期間を、自装置の動作状態に応じて無線インフラモード及びP2Pモードの通信期間として配分する。これにより、BLEの通信を確実に行いながら、MFP300の動作状態に応じた適切な時間配分で通信モードを切り替えながら通信を行うことができる。なお、図25にあるように、例えばBLEモードにおける通信の発生を抑制するようにハンドオーバ等を実行することにより、BLEモードが終了しない期間が不必要に長期化することを防ぐことができる。このようにすることで、無線インフラモードやP2Pモードでの通信期間が、BLEモードの通信期間の延長によって不必要に短縮されることを防ぐことができる。これにより、BLEのビーコンの定期的な送出が維持されながらも、スループットが必要なWLAN通信に割り当てられる通信期間を十分に確保することができる。
 以上のように、本実施形態に係るMFP300は、動作状態に基づいて、BLEモードと、BLEとは通信規格の異なる無線インフラモード及びP2Pモードとのそれぞれについて、適切な長さの通信期間を設定することができる。例えば、MFP300は、自装置の動作状態を判定し、その判定結果を用いて、(例えば事前に用意された無線制御設定テーブルを参照して)各通信モードの優先度及び時分割占有度を特定する。そして、MFP300は、特定した優先度および時分割占有度に基づいて、BLEのビーコンの送出周期に対応する期間を、複数の通信モードのそれぞれに分配して、各通信モードの通信期間を設定する。これにより、定期的な所定の信号を通信する通信モードと、スループットが必要な通信モードとに対して、適切な配分で通信期間を割り当てることが可能となる。
 上述の各実施形態では、使用される通信モードの例として、無線LANやBluetooth規格による通信が実行されるモードを例として説明した。しかしながら、他の無線通信規格での通信モードが使用可能なように、各通信装置が構成されてもよい。例えば、無線LANの規格の追加・変更や、新規の無線通信規格が使用可能となった場合、その追加・変更された規格や新規の無線通信規格を用いて上述の議論を適用することができる。なお、上述の例では、BLEのビーコン送信周期に応じて定まる期間内で、BLEモードと無線インフラモードとP2Pモードとのそれぞれの通信に割り当てられる期間が設定されたが、これに限られない。例えば、ビーコン送信周期によらずに、所定の期間を単位として、通信期間が割り当てられてもよい。また、BLE以外の規格に従って、定期的に所定の信号が送信される場合、その所定の信号が送信される周期に対応する期間を、割り当ての単位とする所定の期間としてもよい。また、使用される周波数帯について、一例として、2.4GHz帯と5GHz帯を挙げたが、これに限られない。例えば、無線通信規格の追加・変更によって新規の周波数帯域が使用可能となった場合にも上述の議論を適用することができる。
 なお、上述の例では、無線インフラモードやP2PモードにおいてPrint/Scanに関するデータが送信されるかによって、Standbyテーブルを利用するか、無線インフラ接続優先テーブルやP2P接続優先テーブルを利用するかが決定するとした。しかしながら、これに限られず、例えば、サイズが大きいことが想定される所定のデータが送信されるか否かで、使用されるテーブルが決定されてもよい。すなわち、サイズが大きいことが想定される所定のデータが送信される場合であって、その所定のデータが無線インフラモードで送信される場合には、無線インフラ接続優先テーブルを使用すると決定される。また、その所定のデータがP2Pモードで送信される場合には、P2P接続優先テーブルを使用すると決定される。
 また、上述の例では、BLEについては使用する周波数帯域や周波数チャネルが一意に定まるため、これをMFP300の動作状態としては利用していない。しかしながら、例えばBLEが用いられない通信装置においては、全ての通信モードの全てについての周波数帯域や周波数チャネルの情報を、その通信装置の動作状態として利用してもよい。すなわち、複数のモードで動作可能な通信装置は、その複数のモードの少なくとも一部について使用される周波数帯域や周波数チャネルが、動作状態として利用しうる。
 また、上述の例では、図15Aから図23Cのテーブルに優先度が含まれていたが、優先度は含まれなくてもよい。この場合、例えば、MFP300は、あるモードの通信期間中に別のモードの通信を介してパケットを受信した場合、そのパケットにDFSコマンドが含まれるか否かを判定する。そして、MFP300は、パケットにDFSコマンドが含まれると判定した場合、別のモードの通信を介して受信したDFSコマンドに基づく処理を優先的に実行しうる。また、上述の例では、図28においてBLE通信期間の延長フラグを用いた処理を行うと説明したが、フラグを用いずに図28の処理が行われてもよい。例えば、MFP300は、S2804でYESと判定された場合、BLE通信期間の延長を行う。そして、MFP300は、S2806で受信したパケットにBLE通信の終了を示すコマンドが含まれていない状態で次のビーコンを送出するタイミングになった場合、再度S2801から処理を実行する。また、MFP300は、S2804でYESと判定された場合、BLE通信期間の延長を行う。そして、MFP300は、S2806で受信したパケットにBLE通信の終了を示すコマンドが含まれている場合、延長していたBLE通信期間を終了してS2810以降の処理を実行してもよい。
 (その他の実施形態)
 本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
 本発明は上記実施の形態に制限されるものではなく、本発明の精神及び範囲から離脱することなく、様々な変更及び変形が可能である。従って、本発明の範囲を公にするために、以下の請求項を添付する。
 本願は、2018年12月28日提出の日本国特許出願特願2018-248375を基礎として優先権を主張するものであり、その記載内容の全てを、ここに援用する。

Claims (19)

  1.  通信装置であって、
     時分割で複数のモードを切り替えて通信する通信手段と、
     前記通信装置の動作状態に基づいて、所定の期間において、前記複数のモードのそれぞれでの通信のために割り当てる期間を設定する設定手段と、
     を有する通信装置。
  2.  前記通信装置の動作状態は、前記複数のモードの少なくとも一部について使用される周波数帯域と周波数チャネルによって示される状態である、請求項1に記載の通信装置。
  3.  前記通信装置の動作状態は、所定のデータが送受信されるべき状態であるか否かに対応する状態である、請求項1又は2に記載の通信装置。
  4.  前記設定手段は、前記所定のデータの送受信に用いられるモードに対して、当該所定のデータの送受信に用いられないモードよりも長い期間を割り当てる、請求項3に記載の通信装置。
  5.  前記設定手段は、前記所定のデータが送受信されるべき状態でない場合に、前記複数のモードのうちの第1のモードと第2のモードとに割り当てる期間の長さを同じにする、請求項3又は4に記載の通信装置。
  6.  前記所定のデータは印刷データまたはスキャンデータである、請求項3から5のいずれか1項に記載の通信装置。
  7.  前記複数のモードは、定期的に所定の信号を送信するモードを含む、請求項1から6のいずれか1項に記載の通信装置。
  8.  前記所定の期間は、前記所定の信号が送信される周期に対応する、請求項7に記載の通信装置。
  9.  前記定期的に所定の信号を送信するモードは、Bluetooth Low Energy(BLE)で通信が行われるモードである、請求項7又は8に記載の通信装置。
  10.  前記設定手段は、前記定期的に所定の信号を送信するモードでの通信のために、当該所定の信号が送信される周期に応じた期間を割り当てる、請求項7から9のいずれか1項に記載の通信装置。
  11.  前記複数のモードは、IEEE802.11規格シリーズに準拠した無線LANにおけるインフラストラクチャモードとピア・ツー・ピアモードを含む、請求項1から10のいずれか1項に記載の通信装置。
  12.  前記通信手段は、外部のアクセスポイントを介して通信相手装置と無線通信を可能とするためのインフラストラクチャモードでの無線接続と、外部のアクセスポイントを介さずに前記通信装置が親局として機能し、子局としての通信相手装置との無線通信を可能とするためのピア・ツー・ピアモードでの無線接続と、前記インフラストラクチャモードおよび前記ピア・ツー・ピアモードとは異なる規格の通信モードでの無線接続とを並行して維持することが可能である、請求項1から11のいずれか1項に記載の通信装置。
  13.  前記通信手段は、共通のハードウェアを用いて、前記複数のモードでの通信を実行可能に構成される、請求項1から12のいずれか1項に記載の通信装置。
  14.  前記複数のモードのうち第1の通信モードのために割り当てられた期間中に第2の通信モードの通信を介してDynamic Frequency Selection(DFS)のコマンドを受信した場合、前記DFSのコマンドに基づく処理を実行する、請求項1から13のいずれか1項に記載の通信装置。
  15.  前記複数のモードのうち第1の通信モードのために割り当てられた期間中に第2の通信モードの通信を介して受信したデータにDynamic Frequency Selection(DFS)のコマンドが含まれているか否かを判定する判定手段を更に有し、
     前記DFSのコマンドが含まれると判定した場合、前記DFSのコマンドに基づく処理を実行し、前記DFSのコマンドが含まれないと判定した場合、第1の通信モードのために割り当てられた期間中に第2の通信モードの通信を介して受信したデータに基づく処理を実行しない、請求項1から13のいずれか1項に記載の通信装置。
  16.  印刷データに基づいて印刷処理を実行する印刷制御手段をさらに有する、請求項1から15のいずれか1項に記載の通信装置。
  17.  前記印刷データに基づいてインクを吐出することにより印刷処理が実行される、請求項16に記載の通信装置。
  18.  時分割で複数のモードを切り替えて通信する通信装置によって実行される制御方法であって、
     前記通信装置の動作状態に基づいて、所定の期間において、前記複数のモードのそれぞれでの通信のために割り当てる期間を設定する工程を有する制御方法。
  19.  時分割で複数のモードを切り替えて通信する通信装置に備えられたコンピュータに、
     前記通信装置の動作状態に基づいて、所定の期間において、前記複数のモードのそれぞれでの通信のために割り当てる期間を設定させるためのプログラム。
PCT/JP2019/046605 2018-12-28 2019-11-28 通信装置、制御方法、及びプログラム WO2020137344A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US17/340,220 US20210298023A1 (en) 2018-12-28 2021-06-07 Communication apparatus, control method, and computer-readable storage medium

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018248375A JP7389550B2 (ja) 2018-12-28 2018-12-28 通信装置、制御方法、プログラム、及び記憶媒体
JP2018-248375 2018-12-28

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/340,220 Continuation US20210298023A1 (en) 2018-12-28 2021-06-07 Communication apparatus, control method, and computer-readable storage medium

Publications (1)

Publication Number Publication Date
WO2020137344A1 true WO2020137344A1 (ja) 2020-07-02

Family

ID=71126013

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2019/046605 WO2020137344A1 (ja) 2018-12-28 2019-11-28 通信装置、制御方法、及びプログラム

Country Status (3)

Country Link
US (1) US20210298023A1 (ja)
JP (1) JP7389550B2 (ja)
WO (1) WO2020137344A1 (ja)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2014175830A (ja) * 2013-03-08 2014-09-22 Clarion Co Ltd 端末装置、通信システム、情報処理装置、及び通信プログラム
JP2015518676A (ja) * 2012-03-28 2015-07-02 アップル インコーポレイテッド 帯域効率のよいスケジューラのための装置及び方法
JP2017208777A (ja) * 2016-05-20 2017-11-24 キヤノン株式会社 通信装置及びその制御方法、プログラム
JP2018006813A (ja) * 2016-06-27 2018-01-11 キヤノン株式会社 情報処理装置とその制御方法、及びプログラム
JP2018033183A (ja) * 2017-11-30 2018-03-01 PicoCELA株式会社 ネットワークシステム、チャネル決定方法及びプログラム

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050022113A1 (en) * 2003-07-24 2005-01-27 Hanlon Robert Eliot System and method to efficiently switch between paper, electronic and audio versions of documents
JP2006173946A (ja) 2004-12-15 2006-06-29 Fuji Xerox Co Ltd 無線通信システム
US8509211B2 (en) * 2009-06-25 2013-08-13 Bose Corporation Wireless audio communicating method and component
JP2013172240A (ja) * 2012-02-20 2013-09-02 Seiko Epson Corp 電子機器の機能制限解除システム、電子機器の機能制限解除方法及び電子機器
JP6813970B2 (ja) 2016-07-04 2021-01-13 キヤノン株式会社 情報処理装置、その制御方法、及びプログラム
US10749568B2 (en) * 2016-08-10 2020-08-18 Apple Inc. Multiband Bluetooth
US10129165B2 (en) * 2017-02-28 2018-11-13 Apple Inc. Electronics devices having antenna diversity capabilities
JP2019016888A (ja) 2017-07-05 2019-01-31 アルプス電気株式会社 通信装置及び通信方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015518676A (ja) * 2012-03-28 2015-07-02 アップル インコーポレイテッド 帯域効率のよいスケジューラのための装置及び方法
JP2014175830A (ja) * 2013-03-08 2014-09-22 Clarion Co Ltd 端末装置、通信システム、情報処理装置、及び通信プログラム
JP2017208777A (ja) * 2016-05-20 2017-11-24 キヤノン株式会社 通信装置及びその制御方法、プログラム
JP2018006813A (ja) * 2016-06-27 2018-01-11 キヤノン株式会社 情報処理装置とその制御方法、及びプログラム
JP2018033183A (ja) * 2017-11-30 2018-03-01 PicoCELA株式会社 ネットワークシステム、チャネル決定方法及びプログラム

Also Published As

Publication number Publication date
JP7389550B2 (ja) 2023-11-30
US20210298023A1 (en) 2021-09-23
JP2020108121A (ja) 2020-07-09

Similar Documents

Publication Publication Date Title
JP6552563B2 (ja) 印刷装置
US9692934B2 (en) Communicating apparatus, communication method, and storage medium storing program
CN113938569B (zh) 通信设备和由通信设备执行的控制方法
EP3247154B1 (en) Communication apparatus and control method for the same
JP6751590B2 (ja) 通信装置、制御方法、及びプログラム
US11816380B2 (en) Communication apparatus, method of controlling same, and non-transitory computer-readable storage medium
WO2020137223A1 (ja) 通信装置、通信装置の制御方法
JP2019161676A (ja) 通信装置及びその制御方法、プログラム
WO2020137344A1 (ja) 通信装置、制御方法、及びプログラム
CN113453308B (zh) 信息处理装置、控制方法及计算机可读存储介质
JP6730845B2 (ja) 通信装置、その制御方法、及びプログラム
JP2022034074A (ja) 通信装置及びその制御方法、プログラム
JP2024035307A (ja) 情報処理装置、制御方法およびプログラム
CN118175610A (zh) 通信设备及其控制方法和非暂时性计算机可读存储介质
JP2017200019A (ja) 端末装置、制御方法、プログラムおよび通信システム

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19906245

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19906245

Country of ref document: EP

Kind code of ref document: A1