JP2014033367A - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP2014033367A
JP2014033367A JP2012173255A JP2012173255A JP2014033367A JP 2014033367 A JP2014033367 A JP 2014033367A JP 2012173255 A JP2012173255 A JP 2012173255A JP 2012173255 A JP2012173255 A JP 2012173255A JP 2014033367 A JP2014033367 A JP 2014033367A
Authority
JP
Japan
Prior art keywords
communication
wireless communication
wireless
mfp
types
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
JP2012173255A
Other languages
Japanese (ja)
Other versions
JP6035969B2 (en
JP2014033367A5 (en
Inventor
Tomoji Suzuki
智詞 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2012173255A priority Critical patent/JP6035969B2/en
Publication of JP2014033367A publication Critical patent/JP2014033367A/en
Publication of JP2014033367A5 publication Critical patent/JP2014033367A5/ja
Application granted granted Critical
Publication of JP6035969B2 publication Critical patent/JP6035969B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a technique capable of appropriately executing radio communication of target data.SOLUTION: An MFP receives NFC data from a mobile terminal. The MFP calculates a communication prediction time T1 from the start of print data communication to the completion thereof for each of NFC communication, normal Wi-Fi communication, WFD communication and BT communication (S20-S26a). The MFP determines an establishment prediction time T2 to establish radio connection for each of the above four types of radio communication (S28-S34a). The MFP calculates a completion prediction time T for each of the four types of radio communication, on the basis of the communication prediction time T1 and the establishment prediction time T2 (S36). The MFP selects one radio communication type that corresponds to a minimum completion prediction time (S38). Using the selected radio communication, the MFP receives print data from the mobile terminal.

Description

本明細書によって開示される技術は、第2の通信装置と無線通信を実行するための第1の通信装置に関する。   The technology disclosed by this specification is related with the 1st communication apparatus for performing wireless communication with the 2nd communication apparatus.

特許文献1には、データを送信する側の無線通信装置であるイニシエータと、当該データを受信する側の無線通信装置であるターゲットと、を備えるシステムが開示されている。イニシエータは、ターゲットに送信予定のデータのサイズが閾値以下である場合には、NFCを利用して、当該データをターゲットに送信する。一方において、イニシエータは、ターゲットに送信予定のデータのサイズが閾値よりも大きい場合には、通信方式をNFCからBluetooth(登録商標)にハンドオーバし、Bluetooth(登録商標)を利用して、データをターゲットに送信する。   Patent Document 1 discloses a system including an initiator that is a wireless communication device that transmits data and a target that is a wireless communication device that receives the data. When the size of data scheduled to be transmitted to the target is equal to or smaller than the threshold value, the initiator transmits the data to the target using NFC. On the other hand, when the size of the data scheduled to be transmitted to the target is larger than the threshold, the initiator hands over the communication method from NFC to Bluetooth (registered trademark) and uses Bluetooth (registered trademark) to target the data. Send to.

特開2010−178002号公報JP 2010-178002 A

特許文献1の技術では、データサイズに応じて、NFC及びBluetooth(登録商標)のどちらかが選択される。しかしながら、このような手法では、適切な選択が行われない可能性がある。本明細書では、第1及び第2の通信装置の間で無線通信を適切に実行し得る技術を開示する。   In the technique of Patent Document 1, either NFC or Bluetooth (registered trademark) is selected according to the data size. However, with such a technique, there is a possibility that an appropriate selection is not performed. The present specification discloses a technique capable of appropriately performing wireless communication between the first and second communication devices.

本明細書によって開示される第1の通信装置は、第2の通信装置と第1種の無線通信を実行するための第1種のインターフェースと、第2の通信装置とM種類(Mは1以上の整数)の無線通信を実行するための1個以上の第2種のインターフェースと、制御部と、を備える。M種類の無線通信のそれぞれの通信速度は、第1種の無線通信の通信速度よりも速い。制御部は、第1種の無線通信を利用して、第1のデータの通信を第2の通信装置と実行する第1の通信実行部と、第1のデータの通信が実行される場合に、第1種の無線通信とM種類の無線通信とを含む複数種類の無線通信の中から、1種類の無線通信を選択する選択部と、選択済みの1種類の無線通信を利用して、第2のデータの通信を第2の通信装置と実行する第2の通信実行部と、を備える。選択部は、複数種類の無線通信のそれぞれについて、当該無線通信を利用した第2のデータの通信を完了させるための完了予測時間を算出する算出部を備える。算出部は、複数種類の無線通信のそれぞれについて、当該無線通信を利用した第2のデータの通信を開始してから完了するまでの通信予測時間を考慮して、当該無線通信に対応する完了予測時間を算出する。算出部は、さらに、少なくともM種類の無線通信のそれぞれについて、当該無線通信を実行するための無線接続を確立するための確立予測時間を考慮して、当該無線通信に対応する完了予測時間を算出する。選択部は、複数種類の無線通信に対応する複数個の完了予測時間のうち、最小の完了予測時間に対応する1種類の無線通信を選択する。   The first communication device disclosed in the present specification includes a first type interface for executing the first type of wireless communication with the second communication device, a second communication device and M types (M is 1). One or more second type interfaces for executing wireless communication of the above integer) and a control unit. The communication speed of each of the M types of wireless communication is faster than the communication speed of the first type of wireless communication. The control unit uses the first type of wireless communication and the first communication execution unit that executes communication of the first data with the second communication device and the communication of the first data are executed. , Using a selection unit that selects one type of wireless communication from a plurality of types of wireless communication including the first type of wireless communication and M types of wireless communication, and one selected type of wireless communication, A second communication execution unit that executes communication of the second data with the second communication device. The selection unit includes a calculation unit that calculates, for each of a plurality of types of wireless communication, a predicted completion time for completing the communication of the second data using the wireless communication. For each of a plurality of types of wireless communication, the calculation unit considers a communication predicted time from the start of the communication of the second data using the wireless communication to the completion, and the completion prediction corresponding to the wireless communication Calculate time. The calculation unit further calculates a predicted completion time corresponding to the wireless communication in consideration of an estimated predicted time for establishing a wireless connection for executing the wireless communication for each of at least M types of wireless communication. To do. The selection unit selects one type of wireless communication corresponding to the minimum predicted completion time from among a plurality of predicted completion times corresponding to a plurality of types of wireless communication.

上記の構成によると、第1の通信装置は、第1のデータの通信が実行される場合に、複数種類の無線通信の中から1種類の無線通信を選択する。この際に、第1の通信装置は、複数種類の無線通信のそれぞれの通信予測時間と、少なくともM種類の無線通信のそれぞれの確立予測時間と、を考慮して、複数種類の無線通信に対応する複数個の完了予測時間を算出する。従って、第1の通信装置は、複数個の完了予測時間を適切に算出し得るために、最小の完了予測時間に対応する1種類の無線通信を適切に選択し得る。この結果、第1の通信装置は、第2のデータの通信を完了させるための時間が最も短いと予測される適切な無線通信を利用して、第2のデータの通信を第2の通信装置と実行し得る。   According to the above configuration, the first communication device selects one type of wireless communication from among a plurality of types of wireless communication when the first data communication is executed. At this time, the first communication device supports a plurality of types of wireless communication in consideration of a predicted communication time of each of the plurality of types of wireless communication and at least a predicted time of establishment of each of the M types of wireless communication. A plurality of predicted completion times are calculated. Accordingly, the first communication device can appropriately select one type of wireless communication corresponding to the minimum predicted completion time in order to appropriately calculate a plurality of predicted completion times. As a result, the first communication device uses the appropriate wireless communication that is predicted to have the shortest time for completing the communication of the second data, and transmits the second data communication to the second communication device. And can be executed.

上記の第1の通信装置を実現するための制御方法、コンピュータプログラム、及び、当該コンピュータプログラムを格納するコンピュータ読取可能記録媒体も、新規で有用である。また、上記の第1の通信装置と第2の通信装置とを備える通信システムも、新規で有用である。   A control method, a computer program, and a computer-readable recording medium storing the computer program for realizing the first communication apparatus are also novel and useful. In addition, a communication system including the first communication device and the second communication device is novel and useful.

通信システムの構成を示す。1 shows a configuration of a communication system. MFP通信テーブル及び端末通信テーブルの一例を示す。An example of an MFP communication table and a terminal communication table is shown. 実施例1のMFPの通信処理のフローチャートを示す。2 is a flowchart of communication processing of the MFP according to the first embodiment. 実施例1の携帯端末の通信処理のフローチャートを示す。3 is a flowchart of communication processing of the mobile terminal according to the first embodiment. 実施例1−1の選択処理のフローチャートを示す。The flowchart of the selection process of Example 1-1 is shown. 実施例1−2の選択処理のフローチャートを示す。The flowchart of the selection process of Example 1-2 is shown. 実施例1−3の選択処理のフローチャートを示す。The flowchart of the selection process of Example 1-3 is shown. 実施例2のMFPの通信処理のフローチャートを示す。9 is a flowchart of communication processing of the MFP according to the second embodiment. 実施例2の携帯端末の通信処理のフローチャートを示す。7 is a flowchart of communication processing of the mobile terminal according to the second embodiment. 実施例2−1〜2−3の選択処理の内容を説明するための説明図を示す。Explanatory drawing for demonstrating the content of the selection process of Examples 2-1 to 2-3 is shown.

(実施例1)
(通信システム2の構成)
図1に示されるように、通信システム2は、アクセスポイント(以下では「AP(Access Pointの略)」と呼ぶ)4と、多機能機(以下では「MFP(Multi-Function Peripheralの略)と呼ぶ)10と、携帯端末50と、を備える。
Example 1
(Configuration of communication system 2)
As shown in FIG. 1, the communication system 2 includes an access point (hereinafter referred to as “AP (abbreviation of access point)”) 4 and a multi-function device (hereinafter referred to as “MFP (abbreviation of multi-function peripheral)”. 10) and a portable terminal 50.

(MFP10が実行可能な無線通信の種類)
MFP10は、NFC(Near Field Communicationの略)方式に従った無線通信と、WFD(Wi-Fi Directの略)方式に従った無線通信と、通常Wi−Fi方式に従った無線通信と、Bluetooth(登録商標)方式に従った無線通信と、を実行可能である。以下では、上記の各方式に従った無線通信のことを、それぞれ、「NFC通信」、「WFD通信」、「通常Wi−Fi通信」、「BT通信」と呼ぶ。
(Types of wireless communication that the MFP 10 can execute)
The MFP 10 includes wireless communication according to an NFC (abbreviation of Near Field Communication) method, wireless communication according to a WFD (abbreviation of Wi-Fi Direct) method, wireless communication according to a normal Wi-Fi method, and Bluetooth ( Wireless communication in accordance with the registered trademark system. Hereinafter, wireless communication in accordance with each of the above-described methods is referred to as “NFC communication”, “WFD communication”, “normal Wi-Fi communication”, and “BT communication”, respectively.

(NFC通信)
NFC方式は、いわゆる近距離無線通信のための無線通信方式であり、例えば、ISO/IEC21481又は18092の国際標準規格に基づく無線通信方式である。MFP10は、携帯端末50とNFC通信を実行可能である。
(NFC communication)
The NFC method is a wireless communication method for so-called short-range wireless communication, for example, a wireless communication method based on the international standard of ISO / IEC21481 or 18092. The MFP 10 can execute NFC communication with the portable terminal 50.

(WFD通信)
WFD方式は、Wi−Fi Allianceによって作成された規格書「Wi−Fi Peer−to−Peer(P2P) Technical Specification Version1.1」に記述されている無線通信方式である。WFD方式は、例えば、IEEE(The Institute of Electrical and Electronics Engineers, Inc.の略)の802.11の規格、及び、それに準ずる規格(例えば、802.11a,11b,11g,11n等)に従って、無線通信を実行するための無線通信方式である。
(WFD communication)
The WFD method is a wireless communication method described in a standard document “Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1” created by Wi-Fi Alliance. The WFD system is, for example, wireless in accordance with the 802.11 standard of IEEE (abbreviation of The Institute of Electrical and Electronics Engineers, Inc.) and standards conforming thereto (for example, 802.11a, 11b, 11g, 11n, etc.). It is a wireless communication system for executing communication.

MFP10は、WFDネットワークに属することによって、当該WFDネットワークに属する他の機器と対象データのWFD通信を実行することができる。対象データは、OSI参照モデルのネットワーク層の情報を含むデータであり、例えば、印刷データ、スキャンデータ等を含む。また、携帯端末50も、WFDネットワークに属することによって、対象データのWFD通信を実行することができる。   By belonging to the WFD network, the MFP 10 can execute WFD communication of target data with other devices belonging to the WFD network. The target data is data including information on the network layer of the OSI reference model, and includes, for example, print data, scan data, and the like. The portable terminal 50 can also execute WFD communication of target data by belonging to the WFD network.

以下では、MFP10及び携帯端末50のように、WFD通信を実行可能な機器のことを「WFD対応機器」と呼ぶ。上記のWFDの規格書では、WFD対応機器の状態として、Group Owner状態(以下では「G/O状態」と呼ぶ)、クライアント状態、及び、デバイス状態の3つの状態が定義されている。WFD対応機器は、上記の3つの状態のうちの1つの状態で選択的に動作可能である。   Hereinafter, devices that can execute WFD communication, such as the MFP 10 and the portable terminal 50, are referred to as “WFD-compatible devices”. In the WFD standard document, three states of a group owner state (hereinafter referred to as “G / O state”), a client state, and a device state are defined as states of a WFD-compatible device. The WFD compatible device can selectively operate in one of the above three states.

デバイス状態の一対のWFD対応機器がWFDネットワークを形成すべき際に、通常、当該一対のWFD対応機器の間で、G/Oネゴシエーションと呼ばれる無線通信が実行される。G/Oネゴシエーションにおいて、当該一対のWFD対応機器のうちの一方がG/O状態になると共に、当該一対のWFD対応機器のうちの他方がクライント状態になることが決定される。G/O状態の機器(以下では「G/O機器」と呼ぶ)と、クライアント状態の機器(以下では「CL機器」と呼ぶ)と、によって、WFDネットワークが形成される。WFDネットワークでは、1個のG/O機器と、1個以上のCL機器と、が存在し得る。G/O機器は、1個以上のCL機器を管理する。具体的に言うと、G/O機器は、1個以上のCL機器のそれぞれについて、当該CL機器の認証を実行し、当該CL機器の認証が成功すると、当該CL機器の識別情報(即ちMACアドレス)をG/O機器のメモリ内の管理リストに記述する。G/O機器は、CL機器がWFDネットワークから離脱すると、当該CL機器の識別情報を管理リストから消去する。   When a pair of WFD-compatible devices in a device state should form a WFD network, wireless communication called G / O negotiation is normally performed between the pair of WFD-compatible devices. In the G / O negotiation, it is determined that one of the pair of WFD compatible devices is in the G / O state and the other of the pair of WFD compatible devices is in the client state. A device in the G / O state (hereinafter referred to as “G / O device”) and a device in the client state (hereinafter referred to as “CL device”) form a WFD network. In a WFD network, there may be one G / O device and one or more CL devices. The G / O device manages one or more CL devices. Specifically, the G / O device executes authentication of the CL device for each of one or more CL devices, and when the CL device is successfully authenticated, the CL device identification information (that is, the MAC address). ) In the management list in the memory of the G / O device. When the CL device leaves the WFD network, the G / O device deletes the identification information of the CL device from the management list.

G/O機器は、管理リストに登録されているCL機器と、中継装置を介さずに、対象データの無線通信を直接的に実行可能である。しかしながら、G/O機器は、管理リストに登録されていない未登録機器との間で、当該未登録機器がWFDネットワークに参加するための参加データの無線通信を実行可能であるが、対象データの無線通信を実行不可能である。参加データは、OSI参照モデルのネットワーク層の情報を含まないデータであり、例えば、Probe Request信号(以下では「PReq信号」と呼ぶ)、Probe Response信号(以下では「PRes信号」と呼ぶ)等の物理層のデータを含む。なお、G/O機器は、複数個のCL機器の間の対象データの無線通信を中継可能である。   The G / O device can directly execute wireless communication of the target data with the CL device registered in the management list without using a relay device. However, the G / O device can execute wireless communication of participation data for the unregistered device to participate in the WFD network with an unregistered device that is not registered in the management list. Wireless communication cannot be executed. The participation data is data that does not include information on the network layer of the OSI reference model, and includes, for example, a Probe Request signal (hereinafter referred to as “PReq signal”), a Probe Response signal (hereinafter referred to as “PRes signal”), and the like. Contains physical layer data. Note that the G / O device can relay wireless communication of target data among a plurality of CL devices.

WFDネットワークに属していないWFD対応機器(即ち、G/O機器の管理リストに登録されていない未登録機器)が、デバイス状態の機器である。デバイス状態の機器は、WFDネットワークに属するための上記の参加データの無線通信を、G/O機器と実行可能であるが、上記の対象データの無線通信を、G/O機器又はCL機器と実行不可能である。   A WFD-compatible device that does not belong to the WFD network (that is, an unregistered device that is not registered in the G / O device management list) is a device in a device state. The device in the device state can execute the wireless communication of the participation data for belonging to the WFD network with the G / O device, but performs the wireless communication of the target data with the G / O device or the CL device. Impossible.

上述したように、WFDネットワークでは、一対のWFD対応機器は、これらのWFD対応機器とは別体に構成されているAPを介さずに、対象データのWFD通信を実行することができる。即ち、WFD通信は、APを介さない無線通信であると言える。   As described above, in a WFD network, a pair of WFD-compatible devices can execute WFD communication of target data without going through an AP that is configured separately from these WFD-compatible devices. That is, it can be said that WFD communication is wireless communication not via an AP.

なお、以下では、上記のWFDの規格書で定義されている3個の状態(即ち、G/O状態、クライアント状態、デバイス状態)のうちの1つの状態で選択的に動作可能ではないが、APを介した無線通信(即ち後述の通常Wi−Fi通信)を実行可能な機器のことを、「WFD非対応機器」と呼ぶ。「WFD非対応機器」は、「レガシー機器」とも呼ばれる。G/O状態の機器は、WFD非対応機器の識別情報を、管理リストに記述することができる。この場合、WFD非対応機器は、CL機器としてWFDネットワークに参加することできる。   In the following, it is not possible to selectively operate in one of the three states defined in the WFD standard (that is, the G / O state, the client state, and the device state). A device capable of performing wireless communication via an AP (that is, normal Wi-Fi communication described later) is referred to as “a WFD non-compliant device”. “WFD non-compliant device” is also referred to as “legacy device”. A device in the G / O state can describe identification information of a device that does not support WFD in the management list. In this case, the WFD non-compliant device can participate in the WFD network as a CL device.

(通常Wi−Fi通信)
通常Wi−Fi方式は、Wi−Fi Allianceによって定められた無線通信方式であって、WFD方式とは異なる無線通信方式である。通常Wi−Fi方式は、WFD方式と同様に、IEEEの802.11の規格、及び、それに準ずる規格(例えば、802.11a,11b,11g,11n等)に従って、無線通信を実行するための無線通信方式である。ただし、上述したように、WFD方式は、APを介さない無線通信を実行するための無線通信方式である。これに対し、通常Wi−Fi方式は、APを介して無線通信を実行するための無線通信方式である。この点において、WFD方式と通常Wi−Fi方式とは異なる。
(Normal Wi-Fi communication)
The normal Wi-Fi system is a wireless communication system defined by the Wi-Fi Alliance, and is a wireless communication system different from the WFD system. The normal Wi-Fi system, like the WFD system, is a wireless for performing wireless communication in accordance with the IEEE 802.11 standard and standards conforming thereto (for example, 802.11a, 11b, 11g, 11n, etc.). It is a communication method. However, as described above, the WFD method is a wireless communication method for executing wireless communication not via an AP. On the other hand, the normal Wi-Fi method is a wireless communication method for executing wireless communication via an AP. In this respect, the WFD system and the normal Wi-Fi system are different.

MFP10は、AP4を含む通常Wi−Fiネットワークに属することによって、当該通常Wi−Fiネットワークに属する他の機器と、AP4を介して、対象データの通常Wi−Fi通信を実行することができる。携帯端末50も、通常Wi−Fiネットワークに属することによって、対象データの通常Wi−Fi通信を実行可能である。従って、MFP10は、AP4を介して、対象データの通常Wi−Fi通信を携帯端末50と実行可能である。なお、以下では、WFDネットワーク、通常Wi−Fiネットワークのことを、「WFDNW」、「通常Wi−FiNW」と呼ぶ。   By belonging to the normal Wi-Fi network including the AP 4, the MFP 10 can execute normal Wi-Fi communication of the target data with the other devices belonging to the normal Wi-Fi network via the AP 4. The portable terminal 50 can also execute normal Wi-Fi communication of target data by belonging to the normal Wi-Fi network. Therefore, the MFP 10 can execute normal Wi-Fi communication of the target data with the portable terminal 50 via the AP 4. Hereinafter, the WFD network and the normal Wi-Fi network are referred to as “WFDNW” and “normal Wi-FiNW”.

(BT通信)
BT方式は、いわゆる近距離無線通信のための無線通信方式であり、例えば、IEEE802.15.1の規格に従って、無線通信を実行するための無線通信方式である。MFP10は、携帯端末50とBT通信を実行可能である。
(BT communication)
The BT method is a wireless communication method for so-called short-range wireless communication, for example, a wireless communication method for executing wireless communication in accordance with the IEEE 802.15.1 standard. The MFP 10 can execute BT communication with the portable terminal 50.

(MFP10の構成)
MFP10は、印刷機能及びスキャン機能を含む多機能を実行可能である。図1に示されるように、MFP10は、操作部12と、表示部14と、印刷実行部16と、スキャン実行部18と、無線LANインターフェース(以下ではインターフェースのことを「I/F」と呼ぶ)20と、BTI/F21と、NFCI/F22と、制御部30と、を備える。各部12〜30は、バス線(符号省略)に接続されている。
(Configuration of MFP 10)
The MFP 10 can execute multiple functions including a print function and a scan function. As shown in FIG. 1, the MFP 10 includes an operation unit 12, a display unit 14, a print execution unit 16, a scan execution unit 18, and a wireless LAN interface (hereinafter, the interface is referred to as “I / F”). ) 20, BTI / F 21, NFC I / F 22, and control unit 30. Each part 12-30 is connected to a bus line (reference number omitted).

操作部12は、複数のキーを備える。ユーザは、操作部12を操作することによって、様々な指示をMFP10に入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。印刷実行部16は、インクジェット方式、レーザ方式等の印刷機構である。スキャン実行部18は、CCD、CIS等のスキャン機構である。   The operation unit 12 includes a plurality of keys. The user can input various instructions to the MFP 10 by operating the operation unit 12. The display unit 14 is a display for displaying various information. The print execution unit 16 is a printing mechanism such as an inkjet method or a laser method. The scan execution unit 18 is a scan mechanism such as a CCD or CIS.

無線LANI/F20は、WFD通信及び通常Wi−Fi通信を実行するためのインターフェースである。無線LANI/F20は、物理的には1個のインターフェース(即ち1個のICチップ)である。但し、無線LANI/F20には、WFD通信で利用されるMACアドレス(以下では「WFD用MACアドレス」と呼ぶ)と、通常Wi−Fi通信で利用されるMACアドレス(以下では「通常Wi−Fi用MACアドレス」と呼ぶ)と、の両方が割り当てられる。具体的に言うと、無線LANI/F20には、通常Wi−Fi用MACアドレスが、予め割り当てられている。制御部30は、通常Wi−Fi用MACアドレスを用いて、通常Wi−Fi用MACアドレスとは異なるWFD用MACアドレスを生成して、WFD用MACアドレスを無線LANI/F20に割り当てる。従って、制御部30は、通常Wi−Fi用MACアドレスを利用した通常Wi−Fi通信と、WFD用MACアドレスを利用したWFD通信と、の両方を同時的に実行し得る。即ち、MFP10は、WFDNWと通常Wi−FiNWとの両方に同時的に属することができる。   The wireless LAN I / F 20 is an interface for executing WFD communication and normal Wi-Fi communication. The wireless LAN I / F 20 is physically one interface (that is, one IC chip). However, the wireless LAN I / F 20 includes a MAC address used in WFD communication (hereinafter referred to as “MAC address for WFD”) and a MAC address used in normal Wi-Fi communication (hereinafter referred to as “normal Wi-Fi”). Both of which are referred to as “MAC address for use”). More specifically, a normal Wi-Fi MAC address is pre-assigned to the wireless LAN I / F 20. The control unit 30 uses the normal Wi-Fi MAC address to generate a WFD MAC address different from the normal Wi-Fi MAC address, and assigns the WFD MAC address to the wireless LAN I / F 20. Therefore, the control unit 30 can simultaneously execute both normal Wi-Fi communication using the normal Wi-Fi MAC address and WFD communication using the WFD MAC address. That is, the MFP 10 can belong to both the WFDNW and the normal Wi-FiNW at the same time.

MFP10によって利用されるMACアドレスという観点では、WFD通信及び通常Wi−Fi通信は、例えば、以下のように表現することができる。即ち、WFD通信は、MFP10のWFD用MACアドレスが利用される無線通信であり、通常Wi−Fi通信は、MFP10の通常Wi−Fi用MACアドレスが利用される無線通信である。また、WFDNWは、MFP10のWFD用MACアドレスが利用される無線ネットワークであり、通常Wi−FiNWは、MFP10の通常Wi−Fi用MACアドレスが利用される無線ネットワークである。   From the viewpoint of the MAC address used by the MFP 10, WFD communication and normal Wi-Fi communication can be expressed as follows, for example. That is, WFD communication is wireless communication using the WFD MAC address of the MFP 10, and normal Wi-Fi communication is wireless communication using the normal Wi-Fi MAC address of the MFP 10. The WFDNW is a wireless network in which the WFD MAC address of the MFP 10 is used, and the normal Wi-FiNW is a wireless network in which the normal Wi-Fi MAC address of the MFP 10 is used.

BTI/21は、BT通信を実行するためのインターフェースである。BTI/F21を構成するチップは、無線LANI/F20を構成するチップとは物理的に異なる。   BTI / 21 is an interface for executing BT communication. The chip constituting the BTI / F 21 is physically different from the chip constituting the wireless LAN I / F 20.

NFCI/F22は、NFC通信を実行するためのインターフェースである。NFCI/F22を構成するチップは、無線LANI/F20及びBTI/F21を構成するチップとは物理的に異なる。   The NFC I / F 22 is an interface for executing NFC communication. The chips that make up the NFC I / F 22 are physically different from the chips that make up the wireless LAN I / F 20 and the BTI / F 21.

無線LANI/F20を介した無線通信(即ち通常Wi−Fi通信及びWFD通信)の通信速度(例えば最大の通信速度が11〜600Mbps)は、BTI/F21を介した無線通信(即ちBT通信)の通信速度(例えば最大の通信速度が24Mbps)よりも速い。BTI/F21を介した無線通信(即ちBT通信)の通信速度(例えば最大の通信速度が24Mbps)は、NFCI/F22を介した無線通信(即ちNFC通信)の通信速度(例えば最大の通信速度が100〜424Kbps)よりも速い。   The communication speed (for example, the maximum communication speed is 11 to 600 Mbps) of the wireless communication (that is, normal Wi-Fi communication and WFD communication) via the wireless LAN I / F 20 is the same as that of the wireless communication (that is, BT communication) via the BTI / F21. It is faster than the communication speed (for example, the maximum communication speed is 24 Mbps). The communication speed (for example, the maximum communication speed is 24 Mbps) of the wireless communication (that is, BT communication) via the BTI / F21 is the communication speed (for example, the maximum communication speed is the maximum communication speed of the NFC I / F 22). 100 to 424 Kbps).

無線LANI/F20を介した無線通信における搬送波の周波数は、例えば2.4GHz帯又は5.0GHz帯である。BTI/F21を介した無線通信における搬送波の周波数は、例えば2.4GHz帯である。NFCI/F22を介した無線通信における搬送波の周波数は、例えば13.56MHz帯である。   The frequency of a carrier wave in wireless communication via the wireless LAN I / F 20 is, for example, a 2.4 GHz band or a 5.0 GHz band. The frequency of the carrier wave in the wireless communication via the BTI / F21 is, for example, the 2.4 GHz band. The frequency of the carrier wave in the wireless communication via the NFC I / F 22 is, for example, the 13.56 MHz band.

MFP10が無線LANI/F20を介して通信先の機器(例えば携帯端末50)と無線通信を実行可能な最大の距離(例えば約100m)は、MFP10がBTI/F21を介して通信先の機器(例えば携帯端末50)と無線通信を実行可能な最大の距離(例えば約数十m)よりも大きい。また、MFP10がBTI/F21を介して通信先の機器(例えば携帯端末50)と無線通信を実行可能な最大の距離(例えば約数十m)は、MFP10がNFCI/F22を介して通信先の機器と無線通信を実行可能な最大の距離(例えば約10cm)よりも大きい。   The maximum distance (for example, about 100 m) at which the MFP 10 can perform wireless communication with a communication destination device (for example, the portable terminal 50) via the wireless LAN I / F 20 is the maximum distance (for example, about 100 m) that the MFP 10 can communicate with via the BTI / F 21. It is larger than the maximum distance (for example, about several tens of meters) at which wireless communication with the portable terminal 50) can be performed. In addition, the maximum distance (for example, about several tens of meters) at which the MFP 10 can perform wireless communication with a communication destination device (for example, the portable terminal 50) via the BTI / F 21 is determined by the MFP 10 via the NFC I / F 22 It is larger than the maximum distance (for example, about 10 cm) that can perform wireless communication with the device.

制御部30は、CPU32とメモリ34とを備える。CPU32は、メモリ34に格納されているプログラムに従って、様々な処理を実行する。CPU32がプログラムに従って処理を実行することによって、第1の通信実行部40、第2の通信実行部42、及び、選択部44の各機能が実現される。なお、選択部44は、算出部46を備える。メモリ34は、ROM、RAM、ハードディスク等によって構成される。メモリ34は、CPU32によって実行される上記のプログラムと、MFP通信テーブル35と、を格納する。MFP通信テーブル35については、後で詳しく説明する。   The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes according to the program stored in the memory 34. When the CPU 32 executes the process according to the program, the functions of the first communication execution unit 40, the second communication execution unit 42, and the selection unit 44 are realized. The selection unit 44 includes a calculation unit 46. The memory 34 includes a ROM, a RAM, a hard disk, and the like. The memory 34 stores the program executed by the CPU 32 and the MFP communication table 35. The MFP communication table 35 will be described in detail later.

(携帯端末50の構成)
携帯端末50は、例えば、携帯電話(例えばスマートフォン)、PDA、ノートPC、タブレットPC、携帯型音楽再生装置、携帯型動画再生装置等の可搬型の端末装置である。携帯端末50は、NFC通信とWFD通信と通常Wi−Fi通信とBT通信とを実行可能である。
(Configuration of mobile terminal 50)
The portable terminal 50 is a portable terminal device such as a cellular phone (for example, a smartphone), a PDA, a notebook PC, a tablet PC, a portable music playback device, a portable video playback device, and the like. The portable terminal 50 can execute NFC communication, WFD communication, normal Wi-Fi communication, and BT communication.

携帯端末50は、操作部52と、表示部54と、無線LANI/F60と、BTI/F61と、NFCI/F62と、制御部70と、を備える。各部52〜70は、バス線(符号省略)に接続されている。操作部52は、複数のキーを備える。ユーザは、操作部52を操作することによって、様々な指示を携帯端末50に入力することができる。表示部54は、様々な情報を表示するためのディスプレイである。   The portable terminal 50 includes an operation unit 52, a display unit 54, a wireless LAN I / F 60, a BTI / F 61, an NFC I / F 62, and a control unit 70. Each unit 52 to 70 is connected to a bus line (reference numeral omitted). The operation unit 52 includes a plurality of keys. The user can input various instructions to the portable terminal 50 by operating the operation unit 52. The display unit 54 is a display for displaying various information.

無線LANI/F60は、WFD通信と通常Wi−Fi通信とを実行するためのインターフェースである。BTI/F61は、BT通信を実行するためのインターフェースである。NFCI/F62は、NFC通信を実行するためのインターフェースである。これらのインターフェース60,61,62の相違は、MFP10のインターフェース20,21,22の相違と同様である。例えば、無線LANI/F60を介した無線通信(即ち通常Wi−Fi通信及びWFD通信)の通信速度は、BTI/F61を介した無線通信(即ちBT通信)の通信速度よりも速く、BTI/F61を介した無線通信(即ちBT通信)の通信速度は、NFCI/F62を介した無線通信(即ちNFC通信)の通信速度よりも速い。   The wireless LAN I / F 60 is an interface for executing WFD communication and normal Wi-Fi communication. The BTI / F 61 is an interface for executing BT communication. The NFC I / F 62 is an interface for executing NFC communication. The differences between these interfaces 60, 61, 62 are the same as the differences between the interfaces 20, 21, 22 of the MFP 10. For example, the communication speed of wireless communication (that is, normal Wi-Fi communication and WFD communication) via the wireless LAN I / F 60 is faster than the communication speed of wireless communication (that is, BT communication) via the BTI / F61, and BTI / F61. The communication speed of wireless communication (ie, BT communication) via the wireless communication is faster than the communication speed of wireless communication (ie, NFC communication) via the NFC I / F 62.

制御部70は、CPU72とメモリ74とを備える。CPU72は、メモリ74に格納されているプログラムに従って、様々な処理を実行する。メモリ74内のプログラムは、MFP10に様々な機能(例えば、印刷機能、スキャン機能等)を実行させるためのアプリケーション76を含む。アプリケーション76は、例えば、MFP10のベンダによって提供されるサーバから携帯端末50にインストールされてもよいし、MFP10と共に出荷されるメディアから携帯端末50にインストールされてもよい。CPU72がアプリケーション76に従って処理を実行することによって、第1の通信実行部80、第2の通信実行部82、及び、選択部84の各機能が実現される。なお、選択部84は、算出部86を備える。メモリ74は、ROM、RAM、ハードディスク等によって構成される。メモリ74は、CPU72によって実行される上記のプログラムと、端末通信テーブル75と、を格納する。端末通信テーブル75については、後で詳しく説明する。   The control unit 70 includes a CPU 72 and a memory 74. The CPU 72 executes various processes according to the program stored in the memory 74. The program in the memory 74 includes an application 76 for causing the MFP 10 to execute various functions (for example, a print function, a scan function, etc.). For example, the application 76 may be installed on the portable terminal 50 from a server provided by the vendor of the MFP 10, or may be installed on the portable terminal 50 from a medium shipped together with the MFP 10. When the CPU 72 executes processing according to the application 76, the functions of the first communication execution unit 80, the second communication execution unit 82, and the selection unit 84 are realized. The selection unit 84 includes a calculation unit 86. The memory 74 includes a ROM, a RAM, a hard disk, and the like. The memory 74 stores the program executed by the CPU 72 and the terminal communication table 75. The terminal communication table 75 will be described in detail later.

(AP4の構成)
AP4は、WFDのG/O機器ではなく、無線アクセスポイント又は無線LANルータと呼ばれる通常のAPであり、通常Wi−FiNWを形成する。AP4は、通常Wi−FiNWに属する複数個の機器のうちの第1の機器(例えば携帯端末50)から対象データを受信して、上記の複数個の機器のうちの第2の機器(例えばMFP10)に当該対象データを送信する。即ち、AP4は、通常Wi−FiNWに属する一対の機器の間の対象データの無線通信を中継する中継機能を実行可能である。
(Configuration of AP4)
The AP 4 is not a WFD G / O device but a normal AP called a wireless access point or a wireless LAN router, and forms a normal Wi-Fi NW. The AP 4 receives the target data from the first device (for example, the mobile terminal 50) among the plurality of devices belonging to the normal Wi-Fi NW, and the second device (for example, the MFP 10) among the plurality of devices. ) To send the target data. That is, the AP 4 can execute a relay function that relays wireless communication of target data between a pair of devices belonging to the normal Wi-Fi NW.

WFDのG/O機器と通常のAP(即ちAP4)との間の相違点は、以下の通りである。WFDのG/O機器は、当該機器が属しているWFDNWから離脱して、他のWFDNWに新たに属する場合に、G/O状態とは異なる状態(即ちクライアント状態)で動作し得る。これに対し、通常のAPは、当該APがどの通常Wi−FiNWを形成しても、中継機能を実行する。即ち、通常のAPは、WFDのG/O機器と同様の動作しか実行することができず、WFDのCL機器と同様の動作を実行することができない。   Differences between the WFD G / O device and a normal AP (ie, AP4) are as follows. A WFD G / O device can operate in a state different from the G / O state (that is, a client state) when it leaves the WFDNW to which the device belongs and newly belongs to another WFDNW. On the other hand, a normal AP executes a relay function regardless of which normal Wi-Fi NW the AP forms. That is, a normal AP can execute only the same operation as the WFD G / O device, and cannot execute the same operation as the WFD CL device.

(MFP通信テーブル35;図2(A))
図2(A)に示されるように、MFP通信テーブル35では、無線通信の種類と確立時間と通信速度と無線設定情報とが対応付けられている。無線通信の種類は、NFC通信と通常Wi−Fi通信とWFD通信とBT通信とを含む4種類の無線通信に分類される。確立時間は、MFP10が各種の無線通信を実行するための無線接続を確立するための時間である。通信速度は、MFP10が各種の無線通信を実行する際の通信速度である。無線設定情報は、MFP10が各種の無線通信を実行するために必要な情報である。
(MFP communication table 35; FIG. 2A)
As shown in FIG. 2A, in the MFP communication table 35, the type of wireless communication, the establishment time, the communication speed, and the wireless setting information are associated with each other. The types of wireless communication are classified into four types of wireless communication including NFC communication, normal Wi-Fi communication, WFD communication, and BT communication. The establishment time is a time for the MFP 10 to establish a wireless connection for executing various wireless communications. The communication speed is a communication speed when the MFP 10 performs various types of wireless communication. The wireless setting information is information necessary for the MFP 10 to execute various wireless communications.

NFC通信に対応する確立時間MTnfは、MFP10のベンダによって決定された固定値であり、ゼロに設定されている。詳しくは後述するが、MFP10及び携帯端末50は、NFC通信を利用して、NFCデータの通信を実行する(図3のS10、図4のS52参照)。その後、MFP10及び携帯端末50は、上記の4種類の無線通信のうちの1種類の無線通信を利用して、印刷データの通信を実行する(図3のS24、図4のS60参照)。例えば、NFC通信を利用して印刷データの通信が実行されるべき状況では、NFCデータの通信が実行される際に、NFC接続が既に確立されている。従って、印刷データの通信のためにNFC接続を新たに確立する必要がないために、MTnfは、ゼロに設定されている。   The establishment time MTnf corresponding to NFC communication is a fixed value determined by the vendor of the MFP 10 and is set to zero. As will be described in detail later, the MFP 10 and the portable terminal 50 perform NFC data communication using NFC communication (see S10 in FIG. 3 and S52 in FIG. 4). After that, the MFP 10 and the portable terminal 50 execute print data communication using one of the four types of wireless communication (see S24 in FIG. 3 and S60 in FIG. 4). For example, in a situation where print data communication should be executed using NFC communication, NFC connection is already established when NFC data communication is executed. Therefore, MTnf is set to zero because there is no need to newly establish an NFC connection for print data communication.

NFC通信に対応する通信速度MVnfは、MFP10のベンダによって決定された固定値である。ベンダは、MFP10がNFC通信を実行する際の一般的な通信速度を調査して、当該通信速度をMVnfとして採用する。なお、変形例では、MVnfは、固定値ではなく、MFP10がNFC通信を実行した際の実績値であってもよい。また、NFC通信では、無線設定情報が利用されないために、NFC通信に対応する無線設定情報の欄は、空欄である。   The communication speed MVnf corresponding to NFC communication is a fixed value determined by the vendor of the MFP 10. The vendor investigates a general communication speed when the MFP 10 executes NFC communication, and adopts the communication speed as MVnf. In the modification, MVnf is not a fixed value, but may be a performance value when the MFP 10 executes NFC communication. Further, since the wireless setting information is not used in NFC communication, the wireless setting information column corresponding to NFC communication is blank.

通常Wi−Fi通信に対応する確立時間MTwfは、MFP10が通常Wi−Fi接続を確立した際の実績値である。MFP10のユーザが、MFP10を通常Wi−FiNWに参加させるための参加操作を操作部12に加えると、MFP10は、PReq信号を送信して、SSIDサーチを実行する。MFP10の周囲に存在するAP4は、PReq信号を受信すると、SSIDを含むPRes信号を返信する。その後、ユーザが所定の操作(例えば、SSIDの選択操作、パスワードの入力操作等)を操作部12に加えると、MFP10は、ユーザによって選択されたSSIDに対応する通常Wi−FiNWに含まれるAP4と、認証のための通信を実行する。AP4が認証を実行して、当該認証が成功すると、MFP10とAP4との間に通常Wi−Fi接続が確立される。MTwfは、上記のPReq信号を送信してから、通常Wi−Fi接続が確立されるまでの時間である。即ち、MTwfは、上記のPReq信号を送信してから最後のPRes信号を受信するまでの時間と、上記の認証のための通信を開始してから完了するまでの時間と、の和である。制御部30は、MFP10が通常Wi−Fi接続を確立する毎に、MTwfの値を更新する。なお、変形例では、MTwfは、実績値ではなく、MFP10が通常Wi−Fi接続を確立するのに必要な一般的な時間を示す固定値であってもよい。   The establishment time MTwf corresponding to normal Wi-Fi communication is an actual value when the MFP 10 establishes a normal Wi-Fi connection. When the user of the MFP 10 adds a participation operation for causing the MFP 10 to participate in the normal Wi-Fi NW to the operation unit 12, the MFP 10 transmits a PReq signal and executes an SSID search. When the AP 4 existing around the MFP 10 receives the PReq signal, it returns a PRes signal including the SSID. Thereafter, when the user adds a predetermined operation (for example, an SSID selection operation, a password input operation, etc.) to the operation unit 12, the MFP 10 and the AP 4 included in the normal Wi-Fi NW corresponding to the SSID selected by the user. Execute communication for authentication. When the AP 4 performs authentication and the authentication is successful, a normal Wi-Fi connection is established between the MFP 10 and the AP 4. MTwf is the time from when the above-mentioned PReq signal is transmitted until the normal Wi-Fi connection is established. That is, MTwf is the sum of the time from the transmission of the PReq signal to the reception of the final PRes signal and the time from the start of the communication for authentication to completion. The control unit 30 updates the value of MTwf every time the MFP 10 establishes a normal Wi-Fi connection. In the modification, MTwf may be a fixed value indicating a general time required for the MFP 10 to establish a normal Wi-Fi connection instead of the actual value.

通常Wi−Fi通信に対応する通信速度MVwfは、MFP10が通常Wi−Fi通信を実行した際の実績値である。制御部30は、MFP10が通常Wi−Fi通信を実行する毎に、通信速度を確認して、MVwfの値を更新する。なお、変形例では、MVwfは、実績値ではなく、MFP10が通常Wi−Fi通信を実行する際の一般的な通信速度を示す固定値であってもよい。   The communication speed MVwf corresponding to normal Wi-Fi communication is an actual value when the MFP 10 executes normal Wi-Fi communication. The control unit 30 checks the communication speed and updates the value of MVwf every time the MFP 10 executes normal Wi-Fi communication. In the modified example, MVwf may be a fixed value indicating a general communication speed when the MFP 10 executes normal Wi-Fi communication instead of the actual value.

また、通常Wi−Fi通信では、無線設定情報として、SSID(Service Set Identifier)、認証方式、暗号化方式、パスワード、及び、MFP10のIPアドレスが利用される。従って、通常Wi−Fi通信に対応する無線設定情報の欄は、これらの各情報を含む。MFP10が通常Wi−FiNWに現在属していない場合には、通常Wi−Fi通信に対応する無線設定情報の欄は、空欄である。   In normal Wi-Fi communication, an SSID (Service Set Identifier), an authentication method, an encryption method, a password, and an IP address of the MFP 10 are used as wireless setting information. Therefore, the field of wireless setting information corresponding to normal Wi-Fi communication includes these pieces of information. When the MFP 10 does not currently belong to the normal Wi-Fi NW, the wireless setting information column corresponding to the normal Wi-Fi communication is blank.

MFP10は、G/O機器としてWFDNWに属することもできるし、CL機器としてWFDNWに属することもできる。以下では、前者のWFDNW、後者のWFDNWのことを、それぞれ、「WFDNW(MFP=G/O)」、「WFDNW(MFP=CL)」と記載することがある。WFD通信に対応する確立時間MTwdは、WFDNW(MFP=G/O)が形成されている状態において、MFP10が、WFDNW(MFP=G/O)に参加することを望む相手機器(例えば携帯端末50)とWFD接続を確立した際の実績値である。WFDNW(MFP=G/O)が形成されている状態では、MFP10は、デバイス状態の相手機器からPReq信号を受信すると、WFDNW(MFP=G/O)で現在利用されているSSIDを含むPRes信号を返信する。次いで、MFP10は、認証のための通信を相手機器と実行する。MFP10が認証を実行して、当該認証が成功すると、MFP10と相手機器との間にWFD接続が確立される。MTwdは、上記のPReq信号を受信してから、WFD接続が確立されるまでの時間である。制御部30は、WFDNW(MFP=G/O)が形成されている状態において、G/O状態のMFP10が相手機器とWFD接続を確立する毎に、MTwdの値を更新する。なお、変形例では、MTwdは、実績値ではなく、G/O状態のMFP10がWFD接続を確立するのに必要な一般的な時間を示す固定値であってもよい。   The MFP 10 can belong to the WFDNW as a G / O device, or can belong to the WFDNW as a CL device. Hereinafter, the former WFDNW and the latter WFDNW may be referred to as “WFDNW (MFP = G / O)” and “WFDNW (MFP = CL)”, respectively. The establishment time MTwd corresponding to the WFD communication is determined in the state where the WFDNW (MFP = G / O) is formed, and the partner device (for example, the mobile terminal 50) that the MFP 10 desires to participate in the WFDNW (MFP = G / O). ) And the actual value when the WFD connection is established. In a state where WFDNW (MFP = G / O) is formed, when the MFP 10 receives a PReq signal from the counterpart device in the device state, the PRes signal including the SSID currently used by the WFDNW (MFP = G / O). Reply. Next, the MFP 10 executes communication for authentication with the counterpart device. When the MFP 10 executes authentication and the authentication is successful, a WFD connection is established between the MFP 10 and the counterpart device. MTwd is the time from when the above-mentioned PReq signal is received until the WFD connection is established. The control unit 30 updates the value of MTwd every time the MFP 10 in the G / O state establishes a WFD connection with the counterpart device in a state where WFDNW (MFP = G / O) is formed. In the modification, MTwd may be a fixed value indicating a general time required for the MFP 10 in the G / O state to establish a WFD connection instead of the actual value.

WFD通信に対応する通信速度MVwdは、WFDNW(MFP=G/O)が形成されている状態において、G/O状態のMFP10がWFD通信をCL機器と実行した際の実績値である。制御部30は、G/O状態のMFP10がWFD通信をCL機器と実行する毎に、通信速度を確認して、MVwdの値を更新する。なお、変形例では、MVwdは、実績値ではなく、G/O状態のMFP10がWFD通信を実行する際の一般的な通信速度を示す固定値であってもよい。WFD通信では、通常Wi−Fi通信と同様の無線設定情報が利用される。従って、WFD通信に対応する無線設定情報の欄は、これらの各情報を含む。   The communication speed MVwd corresponding to the WFD communication is an actual value when the MFP 10 in the G / O state executes the WFD communication with the CL device in a state where the WFDNW (MFP = G / O) is formed. The control unit 30 checks the communication speed and updates the value of MVwd every time the MFP 10 in the G / O state executes WFD communication with the CL device. In the modification, MVwd may be a fixed value indicating a general communication speed when the MFP 10 in the G / O state executes WFD communication instead of the actual value. In WFD communication, the same wireless setting information as in normal Wi-Fi communication is used. Therefore, the field of wireless setting information corresponding to WFD communication includes these pieces of information.

なお、WFDNW(MFP=G/O)が形成されていない場合、即ち、MFP10がクライアント状態又はデバイス状態である場合には、WFD通信に対応する無線設定情報の欄は、空欄である。なお、MFP10がCL機器としてWFDNWに属している場合には、MFP通信テーブル35とは異なるメモリ34内の記憶領域に、無線設定情報が格納される。   When WFDNW (MFP = G / O) is not formed, that is, when MFP 10 is in the client state or the device state, the wireless setting information column corresponding to WFD communication is blank. If the MFP 10 belongs to the WFDNW as a CL device, the wireless setting information is stored in a storage area in the memory 34 different from the MFP communication table 35.

BT通信に対応する確立時間MTbtは、MFP10のベンダによって決定された固定値である。MFP10は、相手機器(例えば携帯端末50)とBT接続を確立するために、BT接続のための接続信号を相手機器と通信(送信又は受信)する。その後、MFP10と相手機器との間で、さらに、BT接続を確立するための通信が実行され、当該通信が終了すると、BT接続が確立される。MFP10のベンダは、MFP10が上記の接続信号の通信を実行してから、BT接続が確立されるまでに必要な一般的な時間を調査して、当該時間をMTbtとして採用する。なお、変形例では、MTbtは、固定値ではなく、MFP10がBT接続を確立した際の実績値であってもよい。   The establishment time MTbt corresponding to the BT communication is a fixed value determined by the vendor of the MFP 10. The MFP 10 communicates (transmits or receives) a connection signal for BT connection with the counterpart device in order to establish a BT connection with the counterpart device (for example, the portable terminal 50). Thereafter, communication for establishing a BT connection is further executed between the MFP 10 and the counterpart device. When the communication is completed, the BT connection is established. The vendor of the MFP 10 investigates a general time required until the BT connection is established after the MFP 10 executes the communication of the connection signal, and adopts the time as MTbt. In the modified example, MTbt may be an actual value when the MFP 10 establishes a BT connection instead of a fixed value.

BT通信に対応する通信速度MVbtは、MFP10のベンダによって決定された固定値である。ベンダは、MFP10がBT通信を実行する際の一般的な通信速度を調査して、当該通信速度をMVbtとして採用する。なお、変形例では、MVbtは、固定値ではなく、MFP10がBT通信を実行した際の実績値であってもよい。また、BT通信では、無線設定情報として、PINコード(ペアリングコードとも呼ばれる)のみが利用される。従って、BT通信に対応する無線設定情報の欄は、PINコードのみを含む。なお、MFP10が、BT接続を確立していても、BT接続を確立していなくても、BT通信に対応する無線設定情報の欄にPINコードが記述された状態が維持される。   The communication speed MVbt corresponding to the BT communication is a fixed value determined by the vendor of the MFP 10. The vendor investigates a general communication speed when the MFP 10 executes BT communication, and adopts the communication speed as MVbt. In the modified example, MVbt may not be a fixed value but may be a performance value when the MFP 10 executes BT communication. In BT communication, only a PIN code (also called a pairing code) is used as wireless setting information. Therefore, the wireless setting information column corresponding to BT communication includes only the PIN code. Even if the MFP 10 has established a BT connection or has not established a BT connection, the state in which the PIN code is described in the field of the wireless setting information corresponding to the BT communication is maintained.

(端末通信テーブル75;図2(B))
図2(B)に示されるように、端末通信テーブル75は、MFP通信テーブル35と同様のテーブル構成を備える。端末通信テーブル75は、携帯端末50にアプリケーション76がインストールされる際に、メモリ74に格納される。この段階では、各実績値が記述されるべき各欄は、空欄である。携帯端末50の制御部70は、各実績値が得られると、各実績値を端末通信テーブル75に記述する。
(Terminal communication table 75; FIG. 2B)
As shown in FIG. 2B, the terminal communication table 75 has a table configuration similar to that of the MFP communication table 35. The terminal communication table 75 is stored in the memory 74 when the application 76 is installed in the portable terminal 50. At this stage, each column in which each actual value is to be described is blank. When each actual value is obtained, the control unit 70 of the portable terminal 50 describes each actual value in the terminal communication table 75.

NFC通信に対応する確立時間TTnfは、MFP10のベンダによって決定された固定値であり、MTnfと同様に、ゼロに設定されている。NFC通信に対応する通信速度TVnfは、MFP10のベンダによって決定された固定値であり、MVnfと同じ値である。MFP10がNFC通信を実行する際の通信速度と、携帯端末50がNFC通信を実行する際の通信速度とは、ほぼ同じである。従って、MVnf及びTVnfを同じ値に設定しても問題ない。なお、変形例では、TVnfは、携帯端末50がNFC通信を実行した際の実績値であってもよい。   The establishment time TTnf corresponding to the NFC communication is a fixed value determined by the vendor of the MFP 10 and is set to zero like MTnf. The communication speed TVnf corresponding to NFC communication is a fixed value determined by the vendor of the MFP 10, and is the same value as MVnf. The communication speed when the MFP 10 executes NFC communication and the communication speed when the portable terminal 50 executes NFC communication are substantially the same. Therefore, there is no problem even if MVnf and TVnf are set to the same value. In the modification, TVnf may be an actual value when the mobile terminal 50 executes NFC communication.

通常Wi−Fi通信に対応する確立時間TTwfは、携帯端末50が通常Wi−Fi接続をAP(例えばAP4)と確立した際の実績値である。また、WFD通信に対応する確立時間TTwdは、携帯端末50がWFD接続をG/O状態のMFP10と確立した際の実績値である。通常Wi−Fi通信に対応する通信速度TVwfは、携帯端末50がAPと通常Wi−Fi通信を実行した際の実績値である。また、WFD通信に対応する通信速度TVwdは、携帯端末50がG/O状態のMFP10とWFD通信を実行した際の実績値である。ただし、本実施例では、TTwf及びTTwdが常に同じ値になり、TVwf及びTVwdが常に同じ値になる。その理由を以下に記載する。   The establishment time TTwf corresponding to normal Wi-Fi communication is an actual value when the mobile terminal 50 establishes a normal Wi-Fi connection with an AP (for example, AP4). The establishment time TTwd corresponding to WFD communication is an actual value when the mobile terminal 50 establishes a WFD connection with the MFP 10 in the G / O state. The communication speed TVwf corresponding to normal Wi-Fi communication is an actual value when the mobile terminal 50 executes normal Wi-Fi communication with the AP. The communication speed TVwd corresponding to WFD communication is an actual value when the mobile terminal 50 executes WFD communication with the MFP 10 in the G / O state. However, in this embodiment, TTwf and TTwd always have the same value, and TVwf and TVwd always have the same value. The reason is described below.

携帯端末50は、WFDNWと通常Wi−FiNWとの両方に同時的に属することができない。また、携帯端末50は、CL機器としてWFDNW(MFP=G/O)に属することができるが、G/O機器としてWFDNW(MFP=CL)に属することができない。携帯端末50のユーザが、携帯端末50を無線ネットワーク(即ち、通常Wi−FiNW、又は、WFDNW(MFP=G/O))に参加させるための参加操作を操作部52に加える際、又は、後述の図4のS58が実行される際に、携帯端末50は、PReq信号を送信して、SSIDサーチを実行する。携帯端末50の周囲に存在するAP4は、PReq信号を受信すると、SSIDを含むPRes信号を返信する。また、WFDNW(MFP=G/O)が形成されている状態では、G/O状態のMFP10も、SSIDを含むPRes信号を返信する。PRes信号は、通常Wi−FiNWであるのか、WFDNWであるのか、を区別するための情報を含まない。従って、携帯端末50は、AP4及びMFP10のそれぞれからPRes信号を受信しても、当該PRes信号の送信元が、通常Wi−FiNWに含まれるAP4であるのか、WFDNW(MFP=G/O)に含まれるG/O状態のMFP10であるのか、を知ることができない。   The portable terminal 50 cannot belong to both the WFDNW and the normal Wi-FiNW at the same time. Further, the portable terminal 50 can belong to WFDNW (MFP = G / O) as a CL device, but cannot belong to WFDNW (MFP = CL) as a G / O device. When the user of the portable terminal 50 adds a participation operation for allowing the portable terminal 50 to participate in a wireless network (that is, normal Wi-Fi NW or WFDNW (MFP = G / O)) to the operation unit 52, or described later 4 is executed, the portable terminal 50 transmits a PReq signal and executes an SSID search. When the AP 4 existing around the mobile terminal 50 receives the PReq signal, it returns a PRes signal including the SSID. In a state where WFDNW (MFP = G / O) is formed, the MFP 10 in the G / O state also returns a PRes signal including the SSID. The PRes signal does not include information for distinguishing whether it is a normal Wi-Fi NW or a WFDNW. Therefore, even if the mobile terminal 50 receives the PRes signal from each of the AP 4 and the MFP 10, the mobile terminal 50 determines whether the transmission source of the PRes signal is the AP 4 included in the normal Wi-Fi NW or the WFDNW (MFP = G / O). It is not possible to know whether the MFP 10 is in the included G / O state.

例えば、SSIDサーチのトリガが上記の参加操作である場合には、ユーザが操作部52に所定の操作(即ち、SSIDの選択操作、パスワードの入力操作)を実行すると、携帯端末50は、ユーザによって選択されたSSIDに対応する無線ネットワークに含まれる対象機器(即ち、AP4又はG/O状態のMFP10)と、認証のための通信を実行する。対象機器が認証を実行して、当該認証が成功すると、対象機器と携帯端末50との間に無線接続(即ち、通常Wi−Fi接続又はWFD接続)が確立される。   For example, when the trigger for the SSID search is the above-described participation operation, when the user performs a predetermined operation (that is, an SSID selection operation or a password input operation) on the operation unit 52, the portable terminal 50 is changed by the user. Communication for authentication is executed with a target device (that is, the AP 4 or the MFP 10 in the G / O state) included in the wireless network corresponding to the selected SSID. When the target device performs authentication and the authentication is successful, a wireless connection (that is, a normal Wi-Fi connection or a WFD connection) is established between the target device and the portable terminal 50.

また、詳しくは後述するが、例えば、SSIDサーチのトリガが図4のS58である場合には、携帯端末50は、S54の段階において、無線ネットワークの無線設定情報(SSID、パスワード等)を既に取得している。携帯端末50は、SSIDの選択操作及びパスワードの入力操作が実行されなくても、受信済みの1個以上のPRes信号に含まれる1個以上のSSIDの中から、取得済みの無線設定情報に含まれるSSIDを特定し、当該SSIDに対応する無線ネットワークに含まれる対象機器(即ち、AP4又はG/O状態のMFP10)と、認証のための通信を実行する。対象機器が認証を実行して、当該認証が成功すると、対象機器と携帯端末50との間に無線接続(即ち、通常Wi−Fi接続又はWFD接続)が確立される。   As will be described in detail later, for example, when the trigger of the SSID search is S58 in FIG. 4, the portable terminal 50 has already acquired wireless network wireless setting information (SSID, password, etc.) in the step S54. doing. The portable terminal 50 is included in the acquired wireless setting information from one or more SSIDs included in one or more received PRes signals even if the SSID selection operation and password input operation are not executed. SSID is identified, and communication for authentication is executed with the target device (that is, the AP 4 or the MFP 10 in the G / O state) included in the wireless network corresponding to the SSID. When the target device performs authentication and the authentication is successful, a wireless connection (that is, a normal Wi-Fi connection or a WFD connection) is established between the target device and the portable terminal 50.

上述したように、携帯端末50は、対象機器が、AP4であるのか、G/O状態のMFP10であるのか、を知ることができない。即ち、携帯端末50は、通常Wi−Fi接続とWFD接続とを区別することができない。このために、本実施例では、TTwf及びTTwdが常に同じ値になり、TVwf及びTVwdが常に同じ値になるように、端末通信テーブル75が設定されている。なお、上記の説明から明らかなように、携帯端末50がAP4と通常Wi−Fi接続を確立するための手法と、携帯端末50がG/O状態のMFP10とWFD接続を確立するための手法と、は同じである。従って、実際には微差があるかもしれないが、TTwf及びTTwdを同じ値に設定しても問題ない。また、通常Wi−Fi通信及びWFD通信では、同じ規格(即ち、IEEEの802.11の規格、及び、それに準ずる規格)が利用される。従って、実際には微差があるかもしれないが、TVwf及びTVwdを同じ値に設定しても問題ない。   As described above, the portable terminal 50 cannot know whether the target device is the AP 4 or the MFP 10 in the G / O state. That is, the mobile terminal 50 cannot distinguish between normal Wi-Fi connection and WFD connection. For this reason, in this embodiment, the terminal communication table 75 is set so that TTwf and TTwd always have the same value, and TVwf and TVwd always have the same value. As is apparent from the above description, a method for the mobile terminal 50 to establish a normal Wi-Fi connection with the AP 4, and a method for the mobile terminal 50 to establish a WFD connection with the MFP 10 in the G / O state, Are the same. Therefore, although there may be a slight difference in practice, there is no problem even if TTwf and TTwd are set to the same value. Further, in the normal Wi-Fi communication and the WFD communication, the same standard (that is, the IEEE 802.11 standard and a standard conforming thereto) is used. Therefore, although there may be a slight difference in practice, there is no problem even if TVwf and TVwd are set to the same value.

TTwf及びTTwdは、上記のPReq信号を送信してから、対象機器と携帯端末50との間に無線接続が確立されるまでの時間である。即ち、TTwf及びTTwdは、上記のPReq信号を送信してから最後のPRes信号を受信するまでの時間と、上記の認証のための通信を開始してから完了するまでの時間と、の和である。制御部70は、携帯端末50が対象機器と無線接続を確立する毎に、TTwfの値とTTwdの値との両方を更新する。なお、変形例では、TTwf及びTTwdは、実績値ではなく、対象機器と無線接続を確立するために必要な一般的な時間を示す固定値であってもよい。   TTwf and TTwd are times from when the PReq signal is transmitted until the wireless connection is established between the target device and the portable terminal 50. That is, TTwf and TTwd are the sum of the time from the transmission of the PReq signal to the reception of the last PRes signal and the time from the start of the communication for authentication to completion. is there. The control unit 70 updates both the value of TTwf and the value of TTwd every time the portable terminal 50 establishes a wireless connection with the target device. In the modification, TTwf and TTwd are not actual values but may be fixed values indicating a general time required for establishing a wireless connection with the target device.

また、制御部70は、携帯端末50が上記の対象機器と無線通信を実行する毎に、通信速度を確認して、TVwfの値とTVwdの値との両方を更新する。変形例では、TVwf及びTVwdは、実績値ではなく、対象機器と無線通信を実行する際の一般的な通信速度を示す固定値であってもよい。また、通常Wi−Fi通信及びWFD通信に対応する無線設定情報の欄は、SSID、認証方式等を含む。なお、携帯端末50が通常Wi−FiNW又はWFDNW(MFP=G/O)に現在属していない場合には、通常Wi−Fi通信及びWFD通信に対応する無線設定情報の欄は、空欄である。   In addition, every time the portable terminal 50 performs wireless communication with the target device, the control unit 70 checks the communication speed and updates both the TVwf value and the TVwd value. In the modification, TVwf and TVwd may be fixed values indicating a general communication speed when performing wireless communication with the target device instead of the actual values. The column of wireless setting information corresponding to normal Wi-Fi communication and WFD communication includes SSID, authentication method, and the like. When the mobile terminal 50 does not currently belong to the normal Wi-Fi NW or WFDNW (MFP = G / O), the wireless setting information column corresponding to the normal Wi-Fi communication and the WFD communication is blank.

BT通信に対応する確立時間TTbtは、MFP10のベンダによって決定された固定値であり、MTbtと同じ値である。MFP10がBT接続を確立するための時間と、携帯端末50がBT接続を確立するための時間とは、ほぼ同じである。従って、TTbt及びMTbtを同じ値に設定しても問題ない。なお、変形例では、TTbtは、固定値ではなく、携帯端末50がBT接続を確立した際の実績値であってもよい。   The establishment time TTbt corresponding to BT communication is a fixed value determined by the vendor of the MFP 10 and is the same value as MTbt. The time for the MFP 10 to establish the BT connection and the time for the portable terminal 50 to establish the BT connection are substantially the same. Therefore, there is no problem even if TTbt and MTbt are set to the same value. In the modification, TTbt is not a fixed value, but may be an actual value when the mobile terminal 50 establishes a BT connection.

BT通信に対応する通信速度TVbtは、MFP10のベンダによって決定された固定値であり、MVbtと同じである。MFP10がBT通信を実行する際の通信速度と、携帯端末50がBT通信を実行する際の通信速度とは、ほぼ同じである。従って、MVbt及びTVbtを同じ値に設定しても問題ない。なお、変形例では、TVbtは、固定値ではなく、携帯端末50がBT通信を実行した際の実績値であってもよい。また、BT通信に対応する無線設定情報の欄は、PINコードのみを含む。なお、携帯端末50が、BT接続を確立していても、BT接続を確立していなくても、BT通信に対応する無線設定情報の欄にPINコードが記述された状態が維持される。   Communication speed TVbt corresponding to BT communication is a fixed value determined by the vendor of MFP 10 and is the same as MVbt. The communication speed when the MFP 10 executes BT communication and the communication speed when the portable terminal 50 executes BT communication are substantially the same. Therefore, there is no problem even if MVbt and TVbt are set to the same value. In the modification, TVbt is not a fixed value, but may be an actual value when the mobile terminal 50 executes BT communication. Further, the field of wireless setting information corresponding to BT communication includes only a PIN code. Even if the portable terminal 50 has established a BT connection or not established, a state in which a PIN code is described in the field of wireless setting information corresponding to BT communication is maintained.

(MFP10の通信処理)
続いて、図3を参照して、MFP10の通信処理の内容について説明する。MFP10が電源ONにされている間に、MFP10のNFCI/F22は、NFC通信を実行可能な機器(即ち携帯端末50)を検出するための検出電波を発信している。
(Communication processing of MFP 10)
Next, with reference to FIG. 3, the contents of communication processing of the MFP 10 will be described. While the MFP 10 is powered on, the NFC I / F 22 of the MFP 10 transmits a detection radio wave for detecting a device that can perform NFC communication (that is, the portable terminal 50).

携帯端末50のユーザは、アプリケーション76を起動させた後に、MFP10に印刷機能を実行させるための印刷操作を操作部52に加える。印刷操作は、メモリ74から印刷対象の対象ファイルを指定するための操作と、印刷の色数(即ちカラー印刷又はモノクロ印刷)を指定するための操作と、印刷解像度を指定するための操作と、を含む。ユーザは、印刷操作を実行した後に、携帯端末50をMFP10に近づける。これにより、携帯端末50とMFP10との間の距離が、互いに電波が届く距離(例えば10cm)より小さくなる。この場合、携帯端末50のNFCI/F62は、MFP10から検出電波を受信して、応答電波をMFP10に送信する。この結果、MFP10と携帯端末50との間に、NFC接続が確立される。携帯端末50は、NFC接続を利用して、少なくとも印刷指示を含むNFCデータをMFP10に送信する。NFCデータに含まれる他の情報については、後で詳しく説明する。   After starting the application 76, the user of the portable terminal 50 adds a printing operation for causing the MFP 10 to execute the printing function to the operation unit 52. The printing operation includes an operation for designating a target file to be printed from the memory 74, an operation for designating the number of printing colors (that is, color printing or monochrome printing), an operation for designating a print resolution, including. The user moves the portable terminal 50 closer to the MFP 10 after executing the printing operation. Thereby, the distance between the portable terminal 50 and the MFP 10 becomes smaller than the distance (for example, 10 cm) that radio waves reach each other. In this case, the NFC I / F 62 of the portable terminal 50 receives the detected radio wave from the MFP 10 and transmits a response radio wave to the MFP 10. As a result, an NFC connection is established between the MFP 10 and the portable terminal 50. The portable terminal 50 transmits NFC data including at least a print instruction to the MFP 10 using the NFC connection. Other information included in the NFC data will be described in detail later.

S10に示されるように、第1の通信実行部40は、携帯端末50からNFCデータを受信することを監視している(S10)。第1の通信実行部40は、携帯端末50から、NFCI/F22を介して、NFCデータを受信する場合に、S10でYESと判断して、S12に進む。   As shown in S10, the first communication execution unit 40 monitors the reception of NFC data from the portable terminal 50 (S10). When receiving the NFC data from the portable terminal 50 via the NFC I / F 22, the first communication execution unit 40 determines YES in S10 and proceeds to S12.

S12では、制御部30は、MFP10がG/O状態で現在動作しているのか否かを判断する。即ち、制御部30は、WFDNW(MFP=G/O)が現在形成されているのか否かを判断する。具体的に言うと、制御部30は、MFP通信テーブル35において、WFD通信に対応する無線設定情報が記述されている場合には、WFDNW(MFP=G/O)が現在形成されている(S12でYES)と判断し、WFD通信に対応する無線設定情報が記述されていない場合には、WFDNW(MFP=G/O)が現在形成されていない(S12でNO)と判断する。S12でYESの場合、S14をスキップして、S16に進み、S12でNOの場合、S14に進む。   In S12, the control unit 30 determines whether the MFP 10 is currently operating in the G / O state. That is, the control unit 30 determines whether or not a WFDNW (MFP = G / O) is currently formed. More specifically, when wireless setting information corresponding to WFD communication is described in the MFP communication table 35, the control unit 30 currently forms WFDNW (MFP = G / O) (S12). If the wireless setting information corresponding to WFD communication is not described, it is determined that WFDNW (MFP = G / O) is not currently formed (NO in S12). If YES in S12, S14 is skipped and the process proceeds to S16. If NO in S12, the process proceeds to S14.

S14では、制御部30は、MFP10を自律G/Oモードに移行させる。上述したように、WFDNWが新たに形成されるべき際には、通常、G/Oネゴシエーションが実行されて、G/O機器とCL機器とが決定される。これに対し、自律G/Oモードでは、G/Oネゴシエーションが実行されずに、MFP10がG/O機器であることが決定される。S14の段階では、MFP10がG/O機器であるが、CL機器が存在しない。即ち、制御部30は、S14を実行することによって、G/O機器(即ちMFP10)のみが属しているWFDNW(MFP=G/O)を形成する。   In S14, the control unit 30 shifts the MFP 10 to the autonomous G / O mode. As described above, when a WFDNW is to be newly formed, G / O negotiation is usually executed to determine a G / O device and a CL device. On the other hand, in the autonomous G / O mode, it is determined that the MFP 10 is a G / O device without executing the G / O negotiation. In S14, the MFP 10 is a G / O device, but there is no CL device. That is, the control unit 30 executes S14 to form a WFDNW (MFP = G / O) to which only the G / O device (that is, the MFP 10) belongs.

自律G/Oモードは、G/O状態で動作することをMFP10に維持させるモードである。例えば、MFP10がG/OネゴシエーションでG/O状態になってWFDNWを形成した場合には、当該WFDNWからCL機器がいなくなると、MFP10は、G/O状態からデバイス状態に移行する(即ち、WFDNWが消滅する)。これに対し、例えば、MFP10が自律G/OモードでG/O状態になってWFDNWを形成した場合には、CL機器がいなくても、MFP10は、G/O状態を維持する(即ち、WFDNWを維持する)。   The autonomous G / O mode is a mode in which the MFP 10 maintains operation in the G / O state. For example, when the MFP 10 enters the G / O state by the G / O negotiation and forms the WFDNW, when the CL device disappears from the WFDNW, the MFP 10 shifts from the G / O state to the device state (ie, WFDNW Disappears). On the other hand, for example, when the MFP 10 enters the G / O state in the autonomous G / O mode and forms the WFDNW, the MFP 10 maintains the G / O state even if there is no CL device (that is, the WFDNW). Maintain).

S14では、制御部30は、さらに、WFDNW(MFP=G/O)で利用されるべき無線設定情報(即ち、SSID、認証方式、暗号化方式、パスワード、及び、MFP10のIPアドレス)を準備する。S14では、制御部30は、さらに、MFP通信テーブル35内のWFD通信に対応する無線設定情報の欄に、準備済みの無線設定情報を記述する。S14を終えると、S16に進む。   In S14, the control unit 30 further prepares wireless setting information (that is, SSID, authentication method, encryption method, password, and IP address of the MFP 10) to be used in WFDNW (MFP = G / O). . In S14, the control unit 30 further describes the prepared wireless setting information in the wireless setting information column corresponding to WFD communication in the MFP communication table 35. When S14 ends, the process proceeds to S16.

S16では、選択部44は、NFC通信、通常Wi−Fi通信、WFD通信、及び、BT通信の4種類の無線通信の中から、1種類の無線通信を選択するための選択処理を実行する。選択処理の内容については、後で詳しく説明する。S16を終えると、S18に進む。   In S <b> 16, the selection unit 44 executes a selection process for selecting one type of wireless communication from among four types of wireless communication such as NFC communication, normal Wi-Fi communication, WFD communication, and BT communication. The contents of the selection process will be described in detail later. When S16 ends, the process proceeds to S18.

S18では、制御部30は、NFCI/F22を介して、選択結果情報を携帯端末50に送信する。例えば、S16の選択処理で得られる選択結果がNFC通信である場合には、選択結果情報は、NFC通信を示す情報を含む。例えば、選択結果が、通常Wi−Fi通信、WFD通信、又は、BT通信である場合には、選択結果情報は、MFP通信テーブル35内の選択結果に対応する欄に記述されている無線設定情報を含む。なお、選択結果が、通常Wi−Fi通信、WFD通信、又は、BT通信である場合には、選択結果情報は、いずれの種類の無線通信が選択されたのかを示す情報を含んでいてもよいし、含んでいなくてもよい。S18を終えると、S20に進む。   In S <b> 18, the control unit 30 transmits selection result information to the portable terminal 50 via the NFC I / F 22. For example, when the selection result obtained in the selection process of S16 is NFC communication, the selection result information includes information indicating NFC communication. For example, when the selection result is normal Wi-Fi communication, WFD communication, or BT communication, the selection result information is wireless setting information described in a column corresponding to the selection result in the MFP communication table 35. including. When the selection result is normal Wi-Fi communication, WFD communication, or BT communication, the selection result information may include information indicating which type of wireless communication has been selected. However, it does not have to be included. When S18 ends, the process proceeds to S20.

詳しくは後述するが、携帯端末50は、選択結果情報に応じた処理を実行する。例えば、選択結果情報が、NFC通信を示す情報を含む場合には、携帯端末50は、図3のS10で確立済みのNFC接続を利用して(即ち通常Wi−Fi通信を利用して)、印刷データをMFP10に送信する(図4のS60)。   Although described in detail later, the mobile terminal 50 executes processing according to the selection result information. For example, when the selection result information includes information indicating NFC communication, the mobile terminal 50 uses the NFC connection established in S10 of FIG. 3 (that is, using normal Wi-Fi communication), The print data is transmitted to the MFP 10 (S60 in FIG. 4).

例えば、選択結果情報が、通常Wi−Fi通信に対応する無線設定情報を含み、かつ、MFP10と携帯端末50との双方が同じ通常Wi−FiNWに属していない場合には、携帯端末50は、当該無線設定情報を用いて、AP4と通常Wi−Fi無線接続を確立するための接続信号(例えば、Authentication Request信号、Association Request信号)をAP4に送信して(図4のS58)、AP4と通常Wi−Fi接続を確立する。そして、携帯端末50は、通常Wi−Fi通信を利用して、AP4を介して、印刷データをMFP10に送信する(図4のS60)。   For example, if the selection result information includes wireless setting information corresponding to normal Wi-Fi communication, and both the MFP 10 and the mobile terminal 50 do not belong to the same normal Wi-Fi NW, the mobile terminal 50 Using the wireless setting information, a connection signal (for example, an Authentication Request signal or an Association Request signal) for establishing a normal Wi-Fi wireless connection with the AP 4 is transmitted to the AP 4 (S58 in FIG. 4). Establish a Wi-Fi connection. Then, the mobile terminal 50 transmits print data to the MFP 10 via the AP 4 using normal Wi-Fi communication (S60 in FIG. 4).

例えば、選択結果情報が、WFD通信に対応する無線設定情報を含み、かつ、MFP10と携帯端末50との双方が同じWFDNW(MFP=G/O)に属していない場合には、携帯端末50は、当該無線設定情報を用いて、G/O状態のMFP10とWFD接続を確立するための接続信号(例えば、Authentication Request信号、Association Request信号)をMFP10に送信する(図4のS58)。この場合、MFP10の制御部30は、携帯端末50から、無線LANI/F20を介して、接続信号を受信して、S20でYESと判断する。そして、S22において、制御部30は、接続応答信号を送信する。なお、S22の過程において、制御部30は、無線LANI/F20を介して、認証のための様々な通信を携帯端末50と実行する。制御部30によって実行される認証が成功すれば、G/O状態のMFP10と携帯端末50との間に、WFD接続が確立される。そして、携帯端末50は、WFD通信を利用して、中継装置を介さずに、印刷データをMFP10に送信する(図4のS60)。   For example, if the selection result information includes wireless setting information corresponding to WFD communication and both the MFP 10 and the portable terminal 50 do not belong to the same WFDNW (MFP = G / O), the portable terminal 50 Then, using the wireless setting information, a connection signal (for example, an Authentication Request signal or an Association Request signal) for establishing a WFD connection with the MFP 10 in the G / O state is transmitted to the MFP 10 (S58 in FIG. 4). In this case, the control unit 30 of the MFP 10 receives a connection signal from the portable terminal 50 via the wireless LAN I / F 20, and determines YES in S20. In S22, the control unit 30 transmits a connection response signal. In the process of S22, the control unit 30 performs various communications for authentication with the mobile terminal 50 via the wireless LAN I / F 20. If the authentication executed by the control unit 30 is successful, a WFD connection is established between the MFP 10 in the G / O state and the portable terminal 50. Then, the portable terminal 50 transmits the print data to the MFP 10 without using the relay device using WFD communication (S60 in FIG. 4).

例えば、選択結果情報が、BT通信に対応する無線設定情報(即ちPINコード)である場合には、携帯端末50は、当該無線設定情報を用いて、BT接続を確立するための接続信号をMFP10に送信する(図4のS58)。この場合、MFP10の制御部30は、携帯端末50から、BTI/F21を介して、接続信号を受信して、S20でYESと判断する。そして、S22において、制御部30は、接続応答信号を送信する。なお、S22の過程において、制御部30は、BTI/F21を介して、BT接続を確立するための様々な通信を携帯端末50と実行する。当該通信が終了すると、MFP10と携帯端末50との間に、BT接続が確立される。そして、携帯端末50は、BT通信を利用して、中継装置を介さずに、印刷データをMFP10に送信する(図4のS60)。   For example, if the selection result information is wireless setting information (that is, a PIN code) corresponding to BT communication, the portable terminal 50 uses the wireless setting information to send a connection signal for establishing a BT connection to the MFP 10. (S58 in FIG. 4). In this case, the control unit 30 of the MFP 10 receives a connection signal from the portable terminal 50 via the BTI / F 21 and determines YES in S20. In S22, the control unit 30 transmits a connection response signal. In the process of S22, the control unit 30 performs various communications with the portable terminal 50 for establishing a BT connection via the BTI / F21. When the communication ends, a BT connection is established between the MFP 10 and the portable terminal 50. Then, the portable terminal 50 transmits print data to the MFP 10 using BT communication without using a relay device (S60 in FIG. 4).

S24では、第2の通信実行部42は、携帯端末50から印刷データを受信することを監視している。例えば、選択結果がNFC通信である場合には、S24では、第2の通信実行部42は、携帯端末50から、NFCI/F22を介して(即ちNFC通信を利用して)、印刷データを受信する。即ち、この場合、第2の通信実行部42は、NFCデータの通信に利用されたNFC接続を維持しながら、NFC通信を利用して、印刷データを受信する。   In S <b> 24, the second communication execution unit 42 monitors reception of print data from the portable terminal 50. For example, if the selection result is NFC communication, in S24, the second communication execution unit 42 receives print data from the portable terminal 50 via the NFC I / F 22 (that is, using NFC communication). To do. That is, in this case, the second communication execution unit 42 receives print data using NFC communication while maintaining the NFC connection used for NFC data communication.

例えば、選択結果が通常Wi−Fi通信又はWFD通信である場合には、S24では、第2の通信実行部42は、携帯端末50から、無線LANI/F20を介して(即ち通常Wi−Fi通信又はWFD通信を利用して)、印刷データを受信する。即ち、この場合、第2の通信実行部42は、NFCデータの通信に利用されたNFC接続に代えて(即ちNFC通信に代えて)、通常Wi−Fi通信又はWFD通信を利用して、印刷データを受信する。特に、選択結果が通常Wi−Fi通信である場合には、第2の通信実行部42は、AP4を介して、印刷データを受信する。また、選択結果がWFD通信である場合には、第2の通信実行部42は、中継装置を介さずに、印刷データを受信する。   For example, when the selection result is normal Wi-Fi communication or WFD communication, in S24, the second communication execution unit 42 receives the wireless terminal I / F 20 from the portable terminal 50 (that is, normal Wi-Fi communication). Alternatively, print data is received (using WFD communication). That is, in this case, the second communication execution unit 42 prints using normal Wi-Fi communication or WFD communication instead of the NFC connection used for NFC data communication (that is, instead of NFC communication). Receive data. In particular, when the selection result is normal Wi-Fi communication, the second communication execution unit 42 receives print data via the AP 4. If the selection result is WFD communication, the second communication execution unit 42 receives print data without going through the relay device.

例えば、選択結果がBT通信である場合には、S24では、第2の通信実行部42は、携帯端末50から、BTI/F21を介して(即ちBT通信を利用して)、印刷データを受信する。即ち、この場合、第2の通信実行部42は、NFCデータの通信に利用されたNFC接続に代えて(即ちNFC通信に代えて)、BT通信を利用して、印刷データを受信する。第2の通信実行部42は、携帯端末50から印刷データを受信する場合に、S24でYESと判断して、S26に進む。   For example, if the selection result is BT communication, in S24, the second communication execution unit 42 receives print data from the portable terminal 50 via the BTI / F 21 (that is, using BT communication). To do. That is, in this case, the second communication execution unit 42 receives the print data using BT communication instead of the NFC connection used for NFC data communication (that is, instead of NFC communication). When receiving the print data from the portable terminal 50, the second communication execution unit 42 determines YES in S24 and proceeds to S26.

S26では、制御部30は、受信済みの印刷データに従って、印刷処理を実行する。本実施例では、MFP10は、JPEG(Joint Photographic Experts Groupの略)形式を有するデータのフォーマット変換を実行可能であるが、JPEG形式とは異なる形式を有するデータのフォーマット変換を実行不可能である。従って、印刷データがJPEG形式を有する場合には、制御部30は、NFCデータに含まれる印刷の色数及び印刷の解像度を用いて、印刷データのフォーマット変換を実行して、印刷実行部16が解釈可能な特定の形式を有する変換済みデータを生成する。そして、制御部30は、変換済みデータを印刷実行部16に供給する。一方において、印刷データが上記の特定の形式を有する場合には、制御部30は、印刷データを変換することなく、印刷データを印刷実行部16に供給する。印刷実行部16は、制御部30から上記の特定の形式を有するデータ(即ち変換済みデータ又は印刷データ)を取得すると、当該データに従って、印刷媒体に印刷する。S26を終えると、S10に戻る。   In S26, the control unit 30 executes a printing process according to the received print data. In this embodiment, the MFP 10 can execute format conversion of data having a JPEG (Joint Photographic Experts Group) format, but cannot execute format conversion of data having a format different from the JPEG format. Therefore, when the print data has the JPEG format, the control unit 30 performs format conversion of the print data using the number of print colors and the print resolution included in the NFC data, and the print execution unit 16 Generate transformed data with a specific format that can be interpreted. Then, the control unit 30 supplies the converted data to the print execution unit 16. On the other hand, when the print data has the specific format, the control unit 30 supplies the print data to the print execution unit 16 without converting the print data. When the print execution unit 16 acquires the data having the specific format (that is, converted data or print data) from the control unit 30, the print execution unit 16 prints the data on a print medium according to the data. When S26 ends, the process returns to S10.

(携帯端末50の通信処理;図4)
続いて、図4を参照して、携帯端末50の制御部70がアプリケーション76に従って実行する処理の内容を説明する。携帯端末50のユーザは、MFP10に印刷機能を実行させることを望む場合に、操作部52を用いて、アプリケーション76を起動させる。これにより、制御部70は、アプリケーション76に従って、図4のフローチャートを開始する。
(Communication processing of portable terminal 50; FIG. 4)
Next, with reference to FIG. 4, the contents of processing executed by the control unit 70 of the portable terminal 50 according to the application 76 will be described. When the user of the portable terminal 50 desires the MFP 10 to execute the printing function, the user activates the application 76 using the operation unit 52. Thereby, the control part 70 starts the flowchart of FIG.

上述したように、携帯端末50のユーザは、MFP10に印刷機能を実行させるための印刷操作を操作部52に加える。これにより、制御部70は、S50でYESと判断し、S52に進む。   As described above, the user of the portable terminal 50 adds a printing operation for causing the MFP 10 to execute the printing function to the operation unit 52. Accordingly, the control unit 70 determines YES in S50, and proceeds to S52.

S52では、第1の通信実行部80は、MFP10と携帯端末50との間にNFC接続が確立されることを監視する。第1の通信実行部80は、NFC接続が確立される場合に、NFCI/F62を介して、NFCデータをMFP10に送信する。   In S <b> 52, the first communication execution unit 80 monitors that an NFC connection is established between the MFP 10 and the portable terminal 50. The first communication execution unit 80 transmits NFC data to the MFP 10 via the NFC I / F 62 when an NFC connection is established.

上述したように、図3のS18において、MFP10は、選択結果情報を携帯端末50に送信する。この結果、S54において、第1の通信実行部80は、MFP10から、NFCI/F62を介して、選択結果情報を受信する。   As described above, the MFP 10 transmits the selection result information to the portable terminal 50 in S18 of FIG. As a result, in S <b> 54, the first communication execution unit 80 receives selection result information from the MFP 10 via the NFC I / F 62.

次いで、S56において、第2の通信実行部82は、選択結果情報を用いて、選択結果に対応する無線通信のための無線接続が確立されているのか否かを判断する。例えば、選択結果情報がNFC通信を示す情報を含む場合には、S52の段階でNFC接続が既に確立されているために、第2の通信実行部82は、無線接続が確立されている(S56でYES)と判断する。   Next, in S56, the second communication execution unit 82 uses the selection result information to determine whether or not a wireless connection for wireless communication corresponding to the selection result is established. For example, when the selection result information includes information indicating NFC communication, since the NFC connection has already been established in the step S52, the second communication execution unit 82 has established the wireless connection (S56). YES).

例えば、選択結果情報が、SSID、認証方式、暗号化方式、パスワード、及び、IPアドレスを含む場合には、S56において、第2の通信実行部82は、選択結果情報に含まれるSSIDと、端末通信テーブル75内の通常Wi−Fi通信(又はWFD通信)に対応する無線設定情報の欄に記述されているSSIDと、が一致するのか否かを判断する。第2の通信実行部82は、2つのSSIDが一致する場合には、無線接続(即ち、通常Wi−Fi接続又はWFD接続)が確立されている(S56でYES)と判断し、2つのSSIDが一致しない場合には、無線接続が確立されていない(S56でNO)と判断する。なお、端末通信テーブル75内の通常Wi−Fi通信(又はWFD通信)に対応する無線設定情報の欄が、空欄である場合には、第2の通信実行部82は、無線接続が確立されていない(S56でNO)と判断する。   For example, when the selection result information includes an SSID, an authentication method, an encryption method, a password, and an IP address, in S56, the second communication execution unit 82 determines that the SSID included in the selection result information and the terminal It is determined whether or not the SSID described in the wireless setting information column corresponding to normal Wi-Fi communication (or WFD communication) in the communication table 75 matches. If the two SSIDs match, the second communication execution unit 82 determines that a wireless connection (that is, a normal Wi-Fi connection or a WFD connection) has been established (YES in S56), and the two SSIDs If they do not match, it is determined that a wireless connection has not been established (NO in S56). If the wireless setting information field corresponding to normal Wi-Fi communication (or WFD communication) in the terminal communication table 75 is blank, the second communication execution unit 82 has established a wireless connection. No (NO in S56).

MFP10及び携帯端末50は、NFC接続とBT接続との両方が同時的に確立されている状態を形成し得ない。従って、S56の段階では、NFC接続が確立されているために、BT接続が確立されていることはあり得ない。このために、選択結果情報がPINコードのみを含む場合には、S56において、第2の通信実行部82は、無線接続が確立されていない(S56でNO)と判断する。   The MFP 10 and the portable terminal 50 cannot form a state where both NFC connection and BT connection are established simultaneously. Therefore, at the stage of S56, since the NFC connection is established, the BT connection cannot be established. For this reason, when the selection result information includes only the PIN code, in S56, the second communication execution unit 82 determines that the wireless connection is not established (NO in S56).

S56でYESの場合には、S58をスキップして、S60に進み、S56でNOの場合には、S58に進む。S58では、第2の通信実行部82は、選択結果情報に含まれる無線設定情報を用いて、接続処理を実行する。   If YES in S56, S58 is skipped and the process proceeds to S60. If NO in S56, the process proceeds to S58. In S58, the second communication execution unit 82 executes a connection process using the wireless setting information included in the selection result information.

例えば、選択結果情報が、SSID、認証方式等の無線設定情報を含む場合には、S58において、第2の通信実行部82は、無線LANI/F60を介して、PReq信号を送信する。この結果、第2の通信実行部82は、無線LANI/F60を介して、1個以上のPRes信号を受信する。第2の通信実行部82は、受信済みの1個以上のPRes信号に含まれる1個以上のSSIDの中から、選択結果情報に含まれるSSIDを特定し、無線LANI/F60を介して、当該SSIDに対応する無線ネットワークに含まれる対象機器(即ち、AP4又はG/O状態のMFP10)と無線接続を確立するための接続信号(例えば、Authentication Request信号、Association Request信号)を送信する。これにより、第2の通信実行部82は、無線LANI/F60を介して、接続応答信号を受信したり、認証のための通信を対象機器と実行したりして、対象機器と無線接続を確立する。   For example, when the selection result information includes wireless setting information such as an SSID and an authentication method, the second communication execution unit 82 transmits a PReq signal via the wireless LAN I / F 60 in S58. As a result, the second communication execution unit 82 receives one or more PRes signals via the wireless LAN I / F 60. The second communication execution unit 82 identifies the SSID included in the selection result information from one or more SSIDs included in the received one or more PRes signals, and the wireless communication I / F 60 A connection signal (for example, an Authentication Request signal or an Association Request signal) for establishing a wireless connection with a target device (that is, the AP 4 or the MFP 10 in the G / O state) included in the wireless network corresponding to the SSID is transmitted. Thus, the second communication execution unit 82 establishes a wireless connection with the target device by receiving a connection response signal or executing communication for authentication with the target device via the wireless LAN I / F 60. To do.

また、例えば、選択結果情報がPINコードのみの無線設定情報を含む場合には、S58において、第2の通信実行部82は、当該無線設定情報(即ちPINコード)を用いて、BTI/F61を介して、BT接続を確立するための接続信号をMFP10に送信する。これにより、第2の通信実行部82は、BTI/61を介して、接続応答信号を受信したり、BT接続を確立するための様々な通信をMFP10と実行したりして、MFP10とBT接続を確立する。S58を終えると、S60に進む。   For example, if the selection result information includes wireless setting information only for the PIN code, in S58, the second communication execution unit 82 uses the wireless setting information (that is, the PIN code) to set the BTI / F 61. Then, a connection signal for establishing the BT connection is transmitted to the MFP 10. As a result, the second communication execution unit 82 receives the connection response signal via the BTI / 61 and executes various communications with the MFP 10 to establish the BT connection. Establish. When S58 ends, the process proceeds to S60.

S60では、まず、制御部70は、印刷データを準備する。例えば、S50の印刷操作で指定された印刷対象の対象ファイルが、JPEG形式とは異なる形式を有する場合には、制御部70は、印刷操作で指定された印刷の色数及び印刷解像度を用いて、対象ファイルのフォーマット変換を実行して、上記の特定の形式(即ち、MFP10の印刷実行部16が解釈可能な形式)を有する印刷データを生成する。また、例えば、対象ファイルがJPEG形式を有する場合には、制御部70は、対象ファイルを変換することなく、対象ファイルそのものを印刷データとして準備する。   In S60, first, the control unit 70 prepares print data. For example, when the target file to be printed designated by the printing operation in S50 has a format different from the JPEG format, the control unit 70 uses the number of printing colors and the printing resolution designated by the printing operation. Then, format conversion of the target file is executed to generate print data having the specific format (that is, a format that can be interpreted by the print execution unit 16 of the MFP 10). For example, when the target file has the JPEG format, the control unit 70 prepares the target file itself as print data without converting the target file.

S60では、さらに、第2の通信実行部82は、選択結果情報に応じた無線通信を利用して、準備済みの印刷データをMFP10に送信する。選択結果情報がNFC通信を示す情報を含む場合には、第2の通信実行部82は、S52の段階で確立済みのNFC接続を利用して、NFCI/F62を介して(即ちNFC通信を利用して)、印刷データをMFP10に送信する。   In S <b> 60, the second communication execution unit 82 further transmits the prepared print data to the MFP 10 using wireless communication according to the selection result information. When the selection result information includes information indicating NFC communication, the second communication execution unit 82 uses the NFC connection established in the step S52 and uses the NFC I / F 62 (that is, uses NFC communication). And print data is transmitted to the MFP 10.

選択結果情報が、SSID、認証方式等を含む場合には、第2の通信実行部82は、無線LANI/F60を介して(即ち通常Wi−Fi通信又はWFD通信を利用して)、印刷データをMFP10に送信する。なお、S56でNO及びS58を経てS60が実行される場合には、第2の通信実行部82は、S58で確立された通常Wi−Fi接続又はWFD接続を利用して、印刷データをMFP10に送信する。一方において、S56でYESを経てS60が実行される場合には、第2の通信実行部82は、S52が実行される前に確立済みの通常Wi−Fi接続又はWFD接続を利用して、印刷データをMFP10に送信する。   When the selection result information includes the SSID, the authentication method, etc., the second communication execution unit 82 prints the print data via the wireless LAN I / F 60 (that is, using normal Wi-Fi communication or WFD communication). Is transmitted to the MFP 10. If S60 is executed via NO and S58 in S56, the second communication execution unit 82 sends the print data to the MFP 10 using the normal Wi-Fi connection or WFD connection established in S58. Send. On the other hand, when S60 is executed after YES in S56, the second communication execution unit 82 uses the established normal Wi-Fi connection or WFD connection before S52 to execute printing. Data is transmitted to the MFP 10.

選択結果情報がPINコードのみを含む場合には、第2の通信実行部82は、BTI/F61を介して(即ちBT通信を利用して)、印刷データをMFP10に送信する。なお、選択結果情報がPINコードのみを含む場合には、S56でNO及びS58を経てS60が実行される。従って、第2の通信実行部82は、S58で確立されたBT接続を利用して、印刷データをMFP10に送信する。S60を終えると、S50に戻る。   When the selection result information includes only the PIN code, the second communication execution unit 82 transmits the print data to the MFP 10 via the BTI / F 61 (that is, using BT communication). When the selection result information includes only the PIN code, S60 is executed through NO and S58 in S56. Accordingly, the second communication execution unit 82 transmits the print data to the MFP 10 using the BT connection established in S58. When S60 ends, the process returns to S50.

(実施例1−1;図5)
続いて、図5を参照して、実施例1−1の選択処理(図3のS16参照)の内容について説明する。本実施例では、選択部44は、携帯端末50の端末通信テーブル75(図2(B)参照)に記述されている確立時間TT及び通信速度TVを用いて、1種類の無線通信を選択する。
(Example 1-1; FIG. 5)
Next, the contents of the selection process (see S16 in FIG. 3) according to the example 1-1 will be described with reference to FIG. In the present embodiment, the selection unit 44 selects one type of wireless communication using the establishment time TT and the communication speed TV described in the terminal communication table 75 (see FIG. 2B) of the mobile terminal 50. .

本実施例では、携帯端末50からMFP10に送信されるNFCデータは、印刷指示のみならず、上記の印刷操作で指定された処理関係情報と、端末通信テーブル75内のテーブル情報と、を含む。具体的に言うと、処理関係情報は、対象ファイルのファイルサイズと、対象ファイルのファイル形式と、印刷の色数と、印刷解像度と、を含む。これらの各情報は、印刷データの処理(即ち、印刷データの通信処理、フォーマット変換処理等)に関係する情報であるために、処理関係情報と呼ぶことができる。また、テーブル情報は、「種類」の列と「確立時間」の列と「通信速度」の列とが対応付けられている情報を含む。なお、携帯端末50が通常Wi−FiNW又はWFDNWに現在属している場合には、NFCデータは、さらに、携帯端末50が属している無線ネットワークのSSIDを含む。即ち、端末通信テーブル75内の通常Wi−Fi通信(又はWFD通信)に対応する無線設定情報の欄に、無線設定情報が記述されている場合には、NFCデータは、さらに、当該無線設定情報のSSIDを含む。なお、この際、NFCデータは、認証方式、暗号化方式、パスワード、及び、IPアドレスを含まない。これにより、携帯端末50が現在属している無線ネットワークのセキュリティが低下するのを抑制することができる。   In the present embodiment, the NFC data transmitted from the portable terminal 50 to the MFP 10 includes not only a print instruction but also processing-related information designated by the above-described printing operation and table information in the terminal communication table 75. Specifically, the processing related information includes the file size of the target file, the file format of the target file, the number of printing colors, and the printing resolution. Each of these pieces of information is information related to print data processing (that is, print data communication processing, format conversion processing, etc.), and therefore can be called processing-related information. The table information includes information in which a column of “type”, a column of “establishment time”, and a column of “communication speed” are associated with each other. When the mobile terminal 50 currently belongs to the normal Wi-Fi NW or WFDNW, the NFC data further includes the SSID of the wireless network to which the mobile terminal 50 belongs. That is, when wireless setting information is described in the wireless setting information column corresponding to normal Wi-Fi communication (or WFD communication) in the terminal communication table 75, the NFC data further includes the wireless setting information. Of the SSID. At this time, the NFC data does not include an authentication method, an encryption method, a password, and an IP address. Thereby, it can suppress that the security of the wireless network to which the portable terminal 50 currently belongs falls.

S20において、算出部46は、NFCデータに含まれるファイル形式がJPEG形式であるのか否かを判断する。算出部46は、ファイル形式がJPEG形式である場合には、S20でYESと判断して、S22に進み、ファイル形式がJPEG形式とは異なる形式である場合には、S20でNOと判断して、S24に進む。   In S20, the calculation unit 46 determines whether the file format included in the NFC data is a JPEG format. If the file format is the JPEG format, the calculation unit 46 determines YES in S20, and proceeds to S22. If the file format is different from the JPEG format, the calculation unit 46 determines NO in S20. , Go to S24.

S22では、算出部46は、NFCデータに含まれるファイルサイズを、通信データサイズDSとして決定する。通信データサイズDSは、携帯端末50からMFP10に送信されるべき印刷データのデータサイズの予測値である。上述したように、MFP10は、JPEG形式を有するデータのフォーマット変換を実行可能である。従って、携帯端末50は、対象ファイルのファイル形式がJPEG形式である場合には、対象ファイルを変換することなく、対象ファイルそのものを印刷データとして送信する(図4のS60)。このために、対象ファイルのファイル形式がJPEG形式である場合(S20でYES)には、S22において、算出部46は、対象ファイルのファイルサイズ(即ちNFCデータに含まれるファイルサイズ)を、DSとして決定する。S22を終えると、S26aに進む。   In S22, the calculation unit 46 determines the file size included in the NFC data as the communication data size DS. The communication data size DS is a predicted value of the data size of print data to be transmitted from the portable terminal 50 to the MFP 10. As described above, the MFP 10 can execute format conversion of data having the JPEG format. Therefore, when the file format of the target file is the JPEG format, the portable terminal 50 transmits the target file itself as print data without converting the target file (S60 in FIG. 4). For this reason, when the file format of the target file is JPEG format (YES in S20), in S22, the calculation unit 46 sets the file size of the target file (that is, the file size included in the NFC data) as DS. decide. When S22 ends, the process proceeds to S26a.

S24では、算出部46は、NFCデータに含まれるファイルサイズ、印刷の色数、及び、印刷解像度を用いて、通信データサイズDSを算出する。上述したように、MFP10は、JPEG形式とは異なる形式を有するデータのフォーマット変換を実行不可能である。従って、携帯端末50は、対象ファイルのファイル形式がJPEG形式とは異なる形式である場合には、対象ファイルのフォーマット変換を実行して、上記の特定の形式を有する印刷データを生成する(図4のS60)。従って、このような場合には、対象ファイルのファイルサイズと印刷データのデータサイズとが異なり得る。このために、対象ファイルのファイル形式がJPEG形式とは異なる形式である場合(S20でNO)には、S24において、算出部46は、所定の計算式を用いて、DSを算出する。なお、上記の所定の計算式は、以下のようにして決定される。即ち、MFP10のベンダは、様々なデータサイズを有する複数個のファイルのそれぞれについて、印刷の色数及び印刷解像度を変更しながら、ファーマット変換を実行して、変換済みデータサイズを予め調査している。MFP10のベンダは、調査結果に基づいて、ファイルサイズ、印刷の色数、及び、印刷解像度から、変換済みデータのデータサイズを算出するための上記の所定の計算式を決定する。S24を終えると、S26aに進む。   In S24, the calculation unit 46 calculates the communication data size DS using the file size, the number of print colors, and the print resolution included in the NFC data. As described above, the MFP 10 cannot execute format conversion of data having a format different from the JPEG format. Accordingly, when the file format of the target file is different from the JPEG format, the portable terminal 50 executes format conversion of the target file and generates print data having the specific format (FIG. 4). S60). Therefore, in such a case, the file size of the target file and the data size of the print data may be different. For this reason, when the file format of the target file is different from the JPEG format (NO in S20), the calculation unit 46 calculates DS using a predetermined calculation formula in S24. The predetermined calculation formula is determined as follows. That is, the vendor of the MFP 10 performs format conversion for each of a plurality of files having various data sizes while changing the number of printing colors and the print resolution, and checks the converted data size in advance. Yes. The vendor of the MFP 10 determines the predetermined calculation formula for calculating the data size of the converted data from the file size, the number of print colors, and the print resolution based on the investigation result. When S24 ends, the process proceeds to S26a.

S26aでは、算出部46は、NFC通信、通常Wi−Fi通信、WFD通信、及び、BT通信のそれぞれについて、当該無線通信を利用して印刷データの通信を開始してから完了するまでの通信予測時間T1を算出する。具体的に言うと、算出部46は、S22又はS24で得られるDSを、NFCデータに含まれるTVnfで除算することによって、NFC通信に対応する通信予測時間T1nfを算出する。同様に、算出部46は、DSを、TVwf、TVwd、TVbtのそれぞれで除算することによって、通常Wi−Fi通信、WFD通信、BT通信のそれぞれに対応する通信予測時間T1wf、T1wd、T1btを算出する。   In S <b> 26 a, the calculation unit 46 predicts communication for each of NFC communication, normal Wi-Fi communication, WFD communication, and BT communication from the start to completion of print data communication using the wireless communication. Time T1 is calculated. Specifically, the calculation unit 46 calculates the communication predicted time T1nf corresponding to NFC communication by dividing the DS obtained in S22 or S24 by TVnf included in the NFC data. Similarly, the calculation unit 46 divides DS by each of TVwf, TVwd, and TVbt, thereby calculating predicted communication times T1wf, T1wd, and T1bt corresponding to normal Wi-Fi communication, WFD communication, and BT communication, respectively. To do.

上述したように、算出部46は、携帯端末50から受信されるNFCデータに含まれる各情報(即ち、通信速度TV、ファイル形式、ファイルサイズ、印刷の色数、及び、印刷解像度)を用いて、通信予測時間T1を算出する。本実施例によると、MFP10は、携帯端末50に関係する通信速度TVと、処理関係情報と、を用いて、通信予測時間T1を適切に算出することができる。   As described above, the calculation unit 46 uses each information (that is, communication speed TV, file format, file size, number of print colors, and print resolution) included in the NFC data received from the mobile terminal 50. The communication predicted time T1 is calculated. According to the present embodiment, the MFP 10 can appropriately calculate the predicted communication time T1 using the communication speed TV related to the mobile terminal 50 and the processing related information.

S28〜S34aでは、算出部46は、NFC通信、通常Wi−Fi通信、WFD通信、及び、BT通信のそれぞれについて、当該無線通信を実行するための無線接続を確立するための確立予測時間T2を決定する。具体的に言うと、算出部46は、携帯端末50から受信されるNFCデータに含まれる確立時間TTを用いて、確立予測時間T2を決定する。本実施例によると、MFP10は、携帯端末50に関係する確立時間TTを用いて、確立予測時間T2を適切に決定することができる。   In S28 to S34a, the calculation unit 46 calculates an estimated estimated time T2 for establishing a wireless connection for executing the wireless communication for each of NFC communication, normal Wi-Fi communication, WFD communication, and BT communication. decide. Specifically, the calculation unit 46 determines the estimated predicted time T2 using the established time TT included in the NFC data received from the mobile terminal 50. According to this embodiment, the MFP 10 can appropriately determine the estimated predicted time T2 using the established time TT related to the mobile terminal 50.

S28では、算出部46は、MFP10と携帯端末50との双方が、同一の無線ネットワーク(即ち通常Wi−FiNW又はWFDNW(MFP=G/O))に属しているのか否かを判断する。具体的に言うと、算出部46は、NFCデータに含まれるSSIDと、MFP通信テーブル35内の通常Wi−Fi通信に対応する無線設定情報の欄に記述されているSSIDと、が一致するのか否かを判断する第1の判断処理を実行する。算出部46は、さらに、NFCデータに含まれるSSIDと、MFP通信テーブル35内のWFD通信に対応する無線設定情報の欄に記述されているSSIDと、が一致するのか否かを判断する第2の判断処理を実行する。算出部46は、第1及び第2の判断処理のどちらかで2つのSSIDが一致すると判断する場合に、S28でYESと判断し、S30aに進む。一方において、算出部46は、NFCデータにSSIDが含まれていない場合、又は、第1及び第2の判断処理のどちらでも2つのSSIDが一致しないと判断する場合に、S28でNOと判断し、S32aに進む。   In S28, the calculation unit 46 determines whether both the MFP 10 and the portable terminal 50 belong to the same wireless network (that is, normal Wi-Fi NW or WFDNW (MFP = G / O)). Specifically, the calculation unit 46 determines whether the SSID included in the NFC data matches the SSID described in the wireless setting information column corresponding to normal Wi-Fi communication in the MFP communication table 35. First determination processing is performed to determine whether or not. The calculation unit 46 further determines whether or not the SSID included in the NFC data matches the SSID described in the wireless setting information column corresponding to WFD communication in the MFP communication table 35. The determination process is executed. If the calculation unit 46 determines that the two SSIDs match in either the first or second determination process, the calculation unit 46 determines YES in S28 and proceeds to S30a. On the other hand, the calculation unit 46 determines NO in S28 when the NFC data does not include the SSID or when it is determined that the two SSIDs do not match in either of the first and second determination processes. The process proceeds to S32a.

S30aでは、算出部46は、通常Wi−Fi通信及びWFD通信のそれぞれに対応する確立予測時間T2wf、T2wdを決定する。S28の第1の判断処理で2つのSSIDが一致すると判断された場合、即ち、MFP10と携帯端末50との双方が同一の通常Wi−FiNWに属している場合には、算出部46は、T2wfをゼロに決定し、T2wdをNFCデータに含まれるTTwdに決定する。S28の第2の判断処理で2つのSSIDが一致すると判断された場合、即ち、MFP10と携帯端末50との双方が同一のWFDNWに属している場合には、算出部46は、T2wfをNFCデータに含まれるTTwfに決定し、T2wdをゼロに決定する。   In S30a, the calculation unit 46 determines the estimated predicted times T2wf and T2wd corresponding to the normal Wi-Fi communication and the WFD communication, respectively. When it is determined that the two SSIDs match in the first determination process of S28, that is, when both the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW, the calculation unit 46 calculates T2wf. Is determined to be zero, and T2wd is determined to be TTwd included in the NFC data. When it is determined that the two SSIDs match in the second determination process of S28, that is, when both the MFP 10 and the portable terminal 50 belong to the same WFDNW, the calculation unit 46 calculates T2wf as NFC data. And TTwf included in the T2wd is determined to be zero.

上述したように、携帯端末50は、MFP10と携帯端末50との双方が同一の無線ネットワークに属している場合に、図4のS56でYESと判断して、S58の接続処理を実行しない。S58の接続処理が実行されない場合には、MFP10と携帯端末50との間に無線接続を確立するための時間をゼロと仮定することができる。従って、S30aでは、T2wf又はT2wdをゼロに決定する。本実施例によると、MFP10は、MFP10と携帯端末50との双方が同一の無線ネットワークに属しているのか否かに応じて、適切な確立予測時間T2wf、T2wdを利用することができる。S30aを終えると、S34aに進む。   As described above, when both the MFP 10 and the portable terminal 50 belong to the same wireless network, the portable terminal 50 determines YES in S56 of FIG. 4 and does not execute the connection process of S58. When the connection process of S58 is not executed, it can be assumed that the time for establishing a wireless connection between the MFP 10 and the portable terminal 50 is zero. Therefore, in S30a, T2wf or T2wd is determined to be zero. According to the present embodiment, the MFP 10 can use the appropriate estimated predicted times T2wf and T2wd depending on whether both the MFP 10 and the portable terminal 50 belong to the same wireless network. When S30a ends, the process proceeds to S34a.

S32aでも、算出部46は、通常Wi−Fi通信及びWFD通信のそれぞれに対応する確立予測時間T2wf、T2wdを決定する。算出部46は、T2wfをNFCデータに含まれるTTwfに決定し、T2wdをNFCデータに含まれるTTwdに決定する。S32aを終えると、S34aに進む。   Even in S32a, the calculation unit 46 determines the estimated predicted times T2wf and T2wd corresponding to the normal Wi-Fi communication and the WFD communication, respectively. The calculation unit 46 determines T2wf as TTwf included in the NFC data, and determines T2wd as TTwd included in the NFC data. When S32a ends, the process proceeds to S34a.

S34aでは、算出部46は、NFC通信及びBT通信のそれぞれに対応する確立予測時間T2nf、T2btを決定する。算出部46は、T2nfをNFCデータに含まれるTTnf(即ちゼロ)に決定し、T2btをNFCデータに含まれるTTbtに決定する。S34aを終えると、S36に進む。   In S34a, the calculation unit 46 determines estimated establishment times T2nf and T2bt corresponding to NFC communication and BT communication, respectively. The calculation unit 46 determines T2nf as TTnf (that is, zero) included in the NFC data, and determines T2bt as TTbt included in the NFC data. When S34a ends, the process proceeds to S36.

S36では、算出部46は、NFC通信、通常Wi−Fi通信、WFD通信、及び、BT通信のそれぞれについて、当該無線通信を利用した印刷データの通信を完了させるための完了予測時間Tを算出する。具体的に言うと、算出部46は、T1nfとT2nfとの和を算出することによって、NFC通信に対応する完了予測時間Tnfを算出する。同様に、算出部46は、T1wf、T1wd、T1btのそれぞれと、T2wf、T2wd、T2btのそれぞれと、の和を算出することによって、通常Wi−Fi通信、WFD通信、BT通信のそれぞれに対応する完了予測時間Twf、Twd、Tbtを算出する。S36を終えると、S38に進む。   In S <b> 36, the calculation unit 46 calculates a predicted completion time T for completing the print data communication using the wireless communication for each of NFC communication, normal Wi-Fi communication, WFD communication, and BT communication. . Specifically, the calculation unit 46 calculates a completion predicted time Tnf corresponding to NFC communication by calculating the sum of T1nf and T2nf. Similarly, the calculation unit 46 corresponds to each of normal Wi-Fi communication, WFD communication, and BT communication by calculating the sum of each of T1wf, T1wd, and T1bt and each of T2wf, T2wd, and T2bt. Completion prediction times Twf, Twd, and Tbt are calculated. When S36 ends, the process proceeds to S38.

S38では、選択部44は、NFC通信、通常Wi−Fi通信、WFD通信、及び、BT通信の中から、1種類の無線通信を選択する。具体的に言うと、選択部44は、S36で算出された4個の完了予測時間Tnf、Twf、Twd、及び、Tbtのうち、最小の完了予測時間に対応する1種類の無線通信を選択する。   In S38, the selection unit 44 selects one type of wireless communication from NFC communication, normal Wi-Fi communication, WFD communication, and BT communication. Specifically, the selection unit 44 selects one type of wireless communication corresponding to the minimum predicted completion time from the four predicted completion times Tnf, Twf, Twd, and Tbt calculated in S36. .

ただし、選択部44は、MFP10が通常Wi−FiNWに現在属していない場合には、通常Wi−Fi通信を選択しない。通常Wi−FiNWで現在利用されている無線設定情報が、MFP通信テーブル35内に記述されていないために、MFP10及び携帯端末50が通常Wi−FiNWに参加することができないからである。従って、選択部44は、MFP通信テーブル35内の通常Wi−Fi通信に対応する無線設定情報の欄が、空欄である場合には、3個の完了予測時間Tnf、Twd、及び、Tbtのうち、最小の完了予測時間に対応する1種類の無線通信を選択する。なお、S38の段階では、MFP10は、WFDNW(MFP=G/O)に必ず属している。図3のS12でNOの場合には、S14において、WFDNW(MFP=G/O)が形成されるからである。   However, the selection unit 44 does not select normal Wi-Fi communication when the MFP 10 does not currently belong to the normal Wi-Fi NW. This is because the wireless setting information currently used in the normal Wi-Fi NW is not described in the MFP communication table 35, so that the MFP 10 and the portable terminal 50 cannot participate in the normal Wi-Fi NW. Therefore, when the field of the wireless setting information corresponding to normal Wi-Fi communication in the MFP communication table 35 is blank, the selection unit 44 includes the three predicted completion times Tnf, Twd, and Tbt. Then, one type of wireless communication corresponding to the minimum predicted completion time is selected. In step S38, the MFP 10 always belongs to the WFDNW (MFP = G / O). If NO in S12 of FIG. 3, WFDNW (MFP = G / O) is formed in S14.

(実施例1−1の効果)
上記の構成によると、MFP10は、携帯端末50からNFCデータを受信する場合(図3のS10でYES)に、4種類の無線通信の中から1種類の無線通信を選択する(S16)。この際に、MFP10は、4種類の無線通信のそれぞれの通信予測時間T1と、4種類の無線通信のそれぞれの確立予測時間T2と、を考慮して、4種類の無線通信に対応する4個の完了予測時間Tを算出する(図5のS36)。MFP10は、特に、確立予測時間T2を考慮しているために、複数個の完了予測時間Tを適切に算出することができる。この結果、MFP10は、最小の完了予測時間に対応する1種類の無線通信を適切に選択することができる(S38)。従って、MFP10は、印刷データの通信を完了させるための時間が最も短いと予測される適切な無線通信を利用して、携帯端末50から印刷データを受信することができる(図3のS24でYES)。また、本実施例では、携帯端末50ではなく、MFP10が選択処理(図3のS16)を実行する。従って、携帯端末50の処理負荷が大きくなるのを抑制することができる。
(Effect of Example 1-1)
According to the above configuration, when receiving the NFC data from the portable terminal 50 (YES in S10 of FIG. 3), the MFP 10 selects one type of wireless communication from the four types of wireless communication (S16). At this time, the MFP 10 considers the predicted communication times T1 of the four types of wireless communication and the estimated predicted times T2 of the four types of wireless communication, and corresponds to the four types of wireless communication. Is calculated (S36 in FIG. 5). In particular, since the MFP 10 considers the estimated establishment time T2, the MFP 10 can appropriately calculate a plurality of estimated completion times T. As a result, the MFP 10 can appropriately select one type of wireless communication corresponding to the minimum predicted completion time (S38). Therefore, the MFP 10 can receive print data from the portable terminal 50 using appropriate wireless communication that is predicted to have the shortest time for completing the print data communication (YES in S24 of FIG. 3). ). In this embodiment, not the portable terminal 50 but the MFP 10 executes the selection process (S16 in FIG. 3). Therefore, it is possible to suppress an increase in processing load on the portable terminal 50.

なお、実施例1−1では、携帯端末50に関係する確立時間TT及び通信速度TVが利用されるが、MFP10に関係する確立時間MT及び通信速度MVが利用されない。従って、変形例では、MFP通信テーブル35は、確立時間MT及び通信速度MVを含んでいなくてもよい。   In the example 1-1, the establishment time TT and the communication speed TV related to the portable terminal 50 are used, but the establishment time MT and the communication speed MV related to the MFP 10 are not used. Therefore, in the modification, the MFP communication table 35 may not include the establishment time MT and the communication speed MV.

(対応関係)
MFP10、携帯端末50が、「第1の通信装置」、「第2の通信装置」の一例である。NFCI/F22が、「第1種のインターフェース」の一例である。無線LANI/F20及びBTI/F21が、「1個以上の第2種のインターフェース」の一例である。NFC通信が、「第1種の無線通信」の一例である。例えば、通常Wi−Fi通信が、「第2種の無線通信」の一例である。この場合、図5のS30a又はS32aで利用されるTTwf、ゼロが、それぞれ、「第1の値」、「第2の値」の一例である。また、例えば、WFD通信が、「第2種の無線通信」の一例である。この場合、図5のS30a又はS32aで利用されるTTwd、ゼロが、それぞれ、「第1の値」、「第2の値」の一例である。通常Wi−Fi通信、WFD通信、及び、BT通信の3種類の無線通信が、「M種類の無線通信」の一例である。NFC通信、通常Wi−Fi通信、WFD通信、及び、BT通信の4種類の無線通信が、「複数種類の無線通信」の一例である。
(Correspondence)
The MFP 10 and the portable terminal 50 are examples of “first communication device” and “second communication device”. The NFC I / F 22 is an example of a “first type interface”. The wireless LAN I / F 20 and the BTI / F 21 are examples of “one or more second type interfaces”. NFC communication is an example of “first type wireless communication”. For example, normal Wi-Fi communication is an example of “second type wireless communication”. In this case, TTwf and zero used in S30a or S32a in FIG. 5 are examples of “first value” and “second value”, respectively. For example, WFD communication is an example of “second type wireless communication”. In this case, TTwd and zero used in S30a or S32a in FIG. 5 are examples of “first value” and “second value”, respectively. Three types of wireless communication such as normal Wi-Fi communication, WFD communication, and BT communication are examples of “M types of wireless communication”. NFC communication, normal Wi-Fi communication, WFD communication, and BT communication are four types of “multiple types of wireless communication”.

NFCデータ、印刷データが、それぞれ、「第1のデータ」、「第2のデータ」の一例である。ファイルサイズ、ファイル形式、印刷の色数、及び、印刷解像度が、「処理関係情報」の一例である。端末通信テーブル75内の通信速度TVが、「通信速度情報」及び「第1の速度情報」の一例である。即ち、本実施例では、「通信速度情報」と「第1の速度情報」とは、同じ情報である。端末通信テーブル75内の確立時間TTが、「第1の時間情報」の一例である。   NFC data and print data are examples of “first data” and “second data”, respectively. The file size, file format, number of print colors, and print resolution are examples of “processing related information”. The communication speed TV in the terminal communication table 75 is an example of “communication speed information” and “first speed information”. That is, in this embodiment, “communication speed information” and “first speed information” are the same information. The establishment time TT in the terminal communication table 75 is an example of “first time information”.

(実施例1−2;図6)
続いて、図6を参照して、実施例1−2の選択処理(図3のS16参照)の内容について説明する。本実施例では、選択部44は、MFP10のMFP通信テーブル35に記述されている確立時間MT及び通信速度MVを用いて、1種類の無線通信を選択する。
(Example 1-2; FIG. 6)
Next, the contents of the selection process (see S16 in FIG. 3) according to the embodiment 1-2 will be described with reference to FIG. In the present embodiment, the selection unit 44 selects one type of wireless communication using the establishment time MT and the communication speed MV described in the MFP communication table 35 of the MFP 10.

携帯端末50からMFP10に送信されるNFCデータが、印刷指示と処理関係情報とを含む点は、実施例1−1と同様である。また、NFCデータが、さらにSSIDを含み得る点も、実施例1−1と同様である。ただし、NFCデータは、テーブル情報(即ち、端末通信テーブル75内の「種類」、「確立時間」、及び、「通信速度」)を含まない。   The NFC data transmitted from the portable terminal 50 to the MFP 10 includes the print instruction and the processing related information, similar to the example 1-1. Further, the point that the NFC data can further include the SSID is the same as in the example 1-1. However, the NFC data does not include table information (that is, “type”, “establishment time”, and “communication speed” in the terminal communication table 75).

図6の複数の処理のうち、図5と同じ処理(S20〜S24、S28、S36、S38)については、図5と同じステップ番号を付している。なお、この点は、後述の図7でも同様である。   Among the plurality of processes in FIG. 6, the same processes (S20 to S24, S28, S36, S38) as in FIG. This also applies to FIG. 7 described later.

S26bでは、算出部46は、DSを、MFP通信テーブル35内のMVnfで除算することによって、T1nfを算出する。同様に、算出部46は、DSを、MVwf、MVwd、MVbtのそれぞれで除算することによって、T1wf、T1wd、T1btを算出する。   In S26b, the calculation unit 46 calculates T1nf by dividing DS by MVnf in the MFP communication table 35. Similarly, the calculation unit 46 calculates T1wf, T1wd, and T1bt by dividing DS by MVwf, MVwd, and MVbt, respectively.

S30bでは、算出部46は、MFP10と携帯端末50との双方が同一の通常Wi−FiNWに属している場合には、T2wfをゼロに決定し、T2wdをMFP通信テーブル35内のMTwdに決定する。また、算出部46は、MFP10と携帯端末50との双方が同一のWFDNW(MFP=G/O)に属している場合には、T2wfをMFP通信テーブル35内のMTwfに決定し、T2wdをゼロに決定する。   In S30b, when both the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW, the calculation unit 46 determines T2wf to be zero and T2wd to be MTwd in the MFP communication table 35. . If both the MFP 10 and the portable terminal 50 belong to the same WFDNW (MFP = G / O), the calculation unit 46 determines T2wf as MTwf in the MFP communication table 35 and sets T2wd to zero. To decide.

S32bでは、算出部46は、T2wfをMFP通信テーブル35内のMTwfに決定し、T2wdをMFP通信テーブル35内のMTwdに決定する。また、S34bでは、算出部46は、T2nfをMFP通信テーブル35内のMTnf(即ちゼロ)に決定し、T2btをMFP通信テーブル35内のMTbtに決定する。   In S32b, the calculation unit 46 determines T2wf as MTwf in the MFP communication table 35, and determines T2wd as MTwd in the MFP communication table 35. In S34b, the calculation unit 46 determines T2nf as MTnf (that is, zero) in the MFP communication table 35, and determines T2bt as MTbt in the MFP communication table 35.

その他の点は、実施例1−1と同様である。本実施例でも、実施例1−1と同様の効果が得られる。さらに、MFP10は、MFP10に関係する通信速度MVと、処理関係情報と、を用いて、通信予測時間T1を適切に算出することができる。また、MFP10は、MFP10に関係する確立時間MTを用いて、確立予測時間T2を適切に決定することができる。なお、実施例1−2では、MFP10に関係する確立時間MT及び通信速度MVが利用されるが、携帯端末50に関係する確立時間TT及び通信速度TVが利用されない。従って、変形例では、端末通信テーブル75は、確立時間TT及び通信速度TVを含んでいなくてもよい。   The other points are the same as in Example 1-1. Also in this embodiment, the same effect as that of Embodiment 1-1 can be obtained. Further, the MFP 10 can appropriately calculate the predicted communication time T1 using the communication speed MV related to the MFP 10 and the processing related information. Further, the MFP 10 can appropriately determine the estimated estimated time T2 using the established time MT related to the MFP 10. In Example 1-2, the establishment time MT and the communication speed MV related to the MFP 10 are used, but the establishment time TT and the communication speed TV related to the portable terminal 50 are not used. Therefore, in the modified example, the terminal communication table 75 may not include the establishment time TT and the communication speed TV.

本実施例では、例えば、図6のS30b又はS32bで利用されるMTwf(又はMTwd)、ゼロが、それぞれ、「第1の値」、「第2の値」の一例である。MFP通信テーブル35内の通信速度MVが、「通信速度情報」及び「第2の速度情報」の一例である。即ち、本実施例では、「通信速度情報」と「第2の速度情報」とは、同じ情報である。MFP通信テーブル35内の確立時間MTが、「第2の時間情報」の一例である。   In this embodiment, for example, MTwf (or MTwd) and zero used in S30b or S32b in FIG. 6 are examples of “first value” and “second value”, respectively. The communication speed MV in the MFP communication table 35 is an example of “communication speed information” and “second speed information”. That is, in this embodiment, “communication speed information” and “second speed information” are the same information. The establishment time MT in the MFP communication table 35 is an example of “second time information”.

(実施例1−3;図7)
続いて、図7を参照して、実施例1−3の選択処理(図3のS16参照)の内容について説明する。本実施例では、選択部44は、携帯端末50の端末通信テーブル75に記述されている確立時間TT及び通信速度TVと、MFP10のMFP通信テーブル35に記述されている確立時間MT及び通信速度MVと、の両方を用いて、1種類の無線通信を選択する。
(Example 1-3; FIG. 7)
Next, with reference to FIG. 7, the contents of the selection process (see S16 in FIG. 3) of the embodiment 1-3 will be described. In the present embodiment, the selection unit 44 sets the establishment time TT and communication speed TV described in the terminal communication table 75 of the portable terminal 50 and the establishment time MT and communication speed MV described in the MFP communication table 35 of the MFP 10. Both types are used to select one type of wireless communication.

携帯端末50からMFP10に送信されるNFCデータが、印刷指示と処理関係情報とテーブル情報とを含む点は、実施例1−1と同様である。また、NFCデータが、さらにSSIDを含み得る点も、実施例1−1と同様である。   The point that the NFC data transmitted from the portable terminal 50 to the MFP 10 includes a print instruction, processing related information, and table information is the same as in the example 1-1. Further, the point that the NFC data can further include the SSID is the same as in the example 1-1.

S25では、算出部46は、NFCデータに含まれるTVnfと、MFP通信テーブル35内のMVnfと、の和を2で除算することによって、平均値AVnfを算出する。同様に、算出部46は、TVwfとMVwfとの平均値AVwf、TVwdとMVwdとの平均値AVwd、TVbtとMVbtとの平均値AVbtを、それぞれ算出する。また、算出部46は、NFCデータに含まれるTTnfと、MFP通信テーブル35内のMTnfと、の和を2で除算することによって、平均値ATnfを算出する。同様に、算出部46は、TTwfとMTwfとの平均値ATwf、TTwdとMTwdとの平均値ATwd、TTbtとMTbtとの平均値ATbtを、それぞれ算出する。   In S25, the calculation unit 46 calculates the average value AVnf by dividing the sum of TVnf included in the NFC data and MVnf in the MFP communication table 35 by 2. Similarly, the calculation unit 46 calculates an average value AVwf of TVwf and MVwf, an average value AVwd of TVwd and MVwd, and an average value AVbt of TVbt and MVbt, respectively. Further, the calculation unit 46 calculates the average value ATnf by dividing the sum of TTnf included in the NFC data and MTnf in the MFP communication table 35 by 2. Similarly, the calculation unit 46 calculates an average value ATwf of TTwf and MTwf, an average value ATwd of TTwd and MTwd, and an average value ATbt of TTbt and MTbt, respectively.

S26cでは、算出部46は、DSをAVnfで除算することによって、T1nfを算出する。同様に、算出部46は、DSを、AVwf、AVwd、AVbtのそれぞれで除算することによって、T1wf、T1wd、T1btを算出する。   In S26c, the calculation unit 46 calculates T1nf by dividing DS by AVnf. Similarly, the calculation unit 46 calculates T1wf, T1wd, and T1bt by dividing DS by AVwf, AVwd, and AVbt, respectively.

S30cでは、算出部46は、MFP10と携帯端末50との双方が同一の通常Wi−FiNWに属している場合には、T2wfをゼロに決定し、T2wdをATwdに決定する。また、算出部46は、MFP10と携帯端末50との双方が同一のWFDNW(MFP=G/O)に属している場合には、T2wfをATwfに決定し、T2wdをゼロに決定する。   In S30c, when both the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW, the calculation unit 46 determines T2wf to be zero and T2wd to be ATwd. Further, when both the MFP 10 and the portable terminal 50 belong to the same WFDNW (MFP = G / O), the calculation unit 46 determines T2wf as ATwf and T2wd as zero.

S32cでは、算出部46は、T2wfをATwfに決定し、T2wdをATwdに決定する。また、S34cでは、算出部46は、T2nfをATnf(即ちゼロ)に決定し、T2btをATbtに決定する。   In S32c, the calculation unit 46 determines T2wf as ATwf and T2wd as ATwd. In S34c, the calculation unit 46 determines T2nf as ATnf (that is, zero) and T2bt as ATbt.

その他の点は、実施例1−1及び実施例1−2と同様である。本実施例でも、実施例1−1及び実施例1−2と同様の効果が得られる。なお、本実施例では、端末通信テーブル75内の通信速度TV、MFP通信テーブル35内の通信速度MVが、それぞれ、「第1の速度情報」、「第2の速度情報」の一例である。端末通信テーブル75内の確立時間TT、MFP通信テーブル35内の確立時間MTが、それぞれ、「第1の時間情報」、「第2の時間情報」の一例である。また、図7のS25で算出される平均値ATが、「通信速度情報」の一例である。従って、本実施例では、「通信速度情報」と「第1の速度情報(又は第2の速度情報)」とは、異なる情報である。   Other points are the same as those of Example 1-1 and Example 1-2. In the present embodiment, the same effects as those of the embodiment 1-1 and the embodiment 1-2 can be obtained. In the present embodiment, the communication speed TV in the terminal communication table 75 and the communication speed MV in the MFP communication table 35 are examples of “first speed information” and “second speed information”, respectively. The establishment time TT in the terminal communication table 75 and the establishment time MT in the MFP communication table 35 are examples of “first time information” and “second time information”, respectively. Further, the average value AT calculated in S25 of FIG. 7 is an example of “communication speed information”. Therefore, in the present embodiment, “communication speed information” and “first speed information (or second speed information)” are different information.

(実施例2)
実施例1(即ち実施例1−1〜1−3)では、MFP10の選択部44が、1種類の無線通信を選択する(図3のS16)。実施例2では、携帯端末50の選択部84が、1種類の無線通信を選択する。
(Example 2)
In the first embodiment (that is, the first embodiments 1-1 to 1-3), the selection unit 44 of the MFP 10 selects one type of wireless communication (S16 in FIG. 3). In the second embodiment, the selection unit 84 of the mobile terminal 50 selects one type of wireless communication.

(MFP10の通信処理;図8)
S110〜S114は、図3のS10〜S14と同様である。なお、本実施例では、NFCデータは、印刷指示のみを含み、処理関係情報、テーブル情報、及び、SSIDを含まない。S116では、第1の通信実行部40は、NFCI/F22を介して、通信データを携帯端末50に送信する。通信データに含まれる情報については、後で説明する。S118では、第1の通信実行部40は、携帯端末50から、NFCI/F22を介して、選択結果情報を受信する。なお、選択結果情報は、いずれの無線通信が選択されたのかを示す情報を含む。ただし、変形例では、選択結果情報の通信が実行されなくてもよい(即ちS118を省略してもよい)。S120〜S126は、図3のS20〜S26と同様である。
(Communication processing of MFP 10; FIG. 8)
S110 to S114 are the same as S10 to S14 of FIG. In this embodiment, the NFC data includes only a print instruction and does not include processing related information, table information, and SSID. In S <b> 116, the first communication execution unit 40 transmits communication data to the portable terminal 50 via the NFC I / F 22. Information included in the communication data will be described later. In S <b> 118, the first communication execution unit 40 receives selection result information from the mobile terminal 50 via the NFC I / F 22. The selection result information includes information indicating which wireless communication has been selected. However, in the modification, the communication of the selection result information may not be executed (that is, S118 may be omitted). S120 to S126 are the same as S20 to S26 of FIG.

(携帯端末50の通信処理;図9)
S150及びS152は、図4のS50及びS52と同様である。なお、本実施例では、第1の通信実行部80は、NFCI/F20を介して、印刷指示のみを含むNFCデータ(即ち、処理関係情報、テーブル情報、及び、SSIDを含まないNFCデータ)を、MFP10に送信する。S153では、第1の通信実行部80は、MFP10から、NFCI/F20を介して、通信データを受信する。
(Communication processing of portable terminal 50; FIG. 9)
S150 and S152 are the same as S50 and S52 of FIG. In the present embodiment, the first communication execution unit 80 receives NFC data including only a print instruction (that is, processing related information, table information, and NFC data not including an SSID) via the NFC I / F 20. , To the MFP 10. In S <b> 153, the first communication execution unit 80 receives communication data from the MFP 10 via the NFC I / F 20.

S154では、選択部84は、NFC通信、通常Wi−Fi通信、WFD通信、及び、BT通信の4種類の無線通信の中から、1種類の無線通信を選択するための選択処理を実行する。選択処理の内容については、後で詳しく説明する。S155では、第1の通信実行部80は、NFCI/F20を介して、S154の選択処理の結果(即ち、いずれの無線通信が選択されたのか)を示す選択結果情報をMFP10に送信する。   In S154, the selection unit 84 executes a selection process for selecting one type of wireless communication from among the four types of wireless communication of NFC communication, normal Wi-Fi communication, WFD communication, and BT communication. The contents of the selection process will be described in detail later. In S155, the first communication execution unit 80 transmits selection result information indicating the result of the selection process in S154 (that is, which wireless communication is selected) to the MFP 10 via the NFC I / F 20.

S156では、第2の通信実行部82は、S154の選択処理の結果が示す無線通信のための無線接続が確立されているのか否かを判断する。選択結果がNFC通信である場合には、第2の通信実行部82は、無線接続が確立されている(S156でYES)と判断する。なお、詳しくは後述するが、S153で受信される通信データは、MFP通信テーブル35内の「無線設定情報」の列を含む。選択結果が通常Wi−Fi通信である場合には、第2の通信実行部82は、通信データに含まれる通常Wi−Fi通信に対応するSSIDと、端末通信テーブル75内の通常Wi−Fi通信(又はWFD通信)に対応する無線設定情報の欄に記述されているSSIDと、が一致するのか否かを判断する。また、選択結果がWFD通信である場合には、第2の通信実行部82は、通信データに含まれるWFD通信に対応するSSIDと、端末通信テーブル75内のWFD通信(又は通常Wi−Fi通信)に対応する無線設定情報の欄に記述されているSSIDと、が一致するのか否かを判断する。選択結果がBT通信である場合には、第2の通信実行部82は、無線接続が確立されていない(S156でNO)と判断する。S158及びS160は、図4のS58及びS60と同様である。   In S156, the second communication execution unit 82 determines whether a wireless connection for wireless communication indicated by the result of the selection process in S154 has been established. If the selection result is NFC communication, the second communication execution unit 82 determines that a wireless connection has been established (YES in S156). As will be described in detail later, the communication data received in S153 includes a column of “wireless setting information” in the MFP communication table 35. When the selection result is the normal Wi-Fi communication, the second communication execution unit 82 includes the SSID corresponding to the normal Wi-Fi communication included in the communication data and the normal Wi-Fi communication in the terminal communication table 75. It is determined whether or not the SSID described in the wireless setting information column corresponding to (or WFD communication) matches. When the selection result is WFD communication, the second communication execution unit 82 uses the SSID corresponding to the WFD communication included in the communication data and the WFD communication (or normal Wi-Fi communication) in the terminal communication table 75. It is determined whether or not the SSID described in the wireless setting information column corresponding to () matches. If the selection result is BT communication, the second communication execution unit 82 determines that the wireless connection has not been established (NO in S156). S158 and S160 are the same as S58 and S60 of FIG.

(実施例2−1)
実施例2−1では、携帯端末50の選択部84は、携帯端末50の端末通信テーブル75に記述されている確立時間TT及び通信速度TVを用いて、1種類の無線通信を選択する。図10に示されるように、携帯端末50からMFP10に送信されるNFCデータ(図8のS110、図9のS152)は、印刷指示のみを含み、処理関係情報、テーブル情報、及び、SSIDを含まない。また、MFP10から携帯端末50に送信される通信データ(図8のS116、図9のS153)は、MFP通信テーブル35内の「種類」の列と「無線設定情報」の列とが対応付けられたデータを含む。通信データは、MFP通信テーブル35内の「確立時間」の列と「通信速度」の列とを含まない。
(Example 2-1)
In Example 2-1, the selection unit 84 of the mobile terminal 50 selects one type of wireless communication using the establishment time TT and the communication speed TV described in the terminal communication table 75 of the mobile terminal 50. As shown in FIG. 10, the NFC data (S110 in FIG. 8, S152 in FIG. 9) transmitted from the portable terminal 50 to the MFP 10 includes only a print instruction, and includes processing related information, table information, and SSID. Absent. Further, the communication data transmitted from the MFP 10 to the portable terminal 50 (S116 in FIG. 8 and S153 in FIG. 9) is associated with the “type” column and the “wireless setting information” column in the MFP communication table 35. Data included. The communication data does not include the “establishment time” column and the “communication speed” column in the MFP communication table 35.

図9のS154において、算出部86は、端末通信テーブル75内の確立時間TT及び通信速度TVを用いて、実施例1−1の図5のS20〜S36と同様の手法に従って、4個の完了予測時間Tnf、Twf、Twd、及び、Tbtを算出する。S154において、選択部84は、最小の完了予測時間に対応する1種類の無線通信を選択する。   In S154 of FIG. 9, the calculation unit 86 uses the establishment time TT and the communication speed TV in the terminal communication table 75 according to the same method as S20 to S36 of FIG. Predicted times Tnf, Twf, Twd, and Tbt are calculated. In S154, the selection unit 84 selects one type of wireless communication corresponding to the minimum predicted completion time.

(実施例2−1の効果)
本実施例によると、携帯端末50は、携帯端末50に関係する通信速度MVと、ユーザによって携帯端末50に加えられる印刷操作に応じて得られる処理関係情報と、を用いて、通信予測時間T1を適切に算出することができる。また、携帯端末50は、携帯端末50に関係する確立時間TTを用いて、確立予測時間T2を適切に決定することができる。そして、携帯端末50は、通信予測時間T1と確立予測時間T2とを考慮して、4個の完了予測時間Tを適切に算出することができる。携帯端末50は、印刷データの通信を完了させるための時間が最も短いと予測される適切な無線通信を利用して、MFP10に印刷データを送信することができる。
(Effect of Example 2-1)
According to the present embodiment, the mobile terminal 50 uses the communication speed MV related to the mobile terminal 50 and the processing related information obtained according to the printing operation applied to the mobile terminal 50 by the user, to predict the communication time T1. Can be calculated appropriately. Further, the portable terminal 50 can appropriately determine the estimated predicted time T2 using the establishment time TT related to the portable terminal 50. Then, the mobile terminal 50 can appropriately calculate the four predicted completion times T in consideration of the predicted communication time T1 and the estimated predicted time T2. The portable terminal 50 can transmit the print data to the MFP 10 using appropriate wireless communication that is predicted to have the shortest time for completing the print data communication.

また、本実施例では、MFP10ではなく、携帯端末50が選択処理(図9のS154)を実行する。従って、MFP10の処理負荷が大きくなるのを抑制することができる。なお、実施例2−1では、携帯端末50に関係する確立時間TT及び通信速度TVが利用されるが、MFP10に関係する確立時間MT及び通信速度MVが利用されない。従って、変形例では、MFP通信テーブル35は、確立時間MT及び通信速度MVを含んでいなくてもよい。   In this embodiment, not the MFP 10 but the portable terminal 50 executes the selection process (S154 in FIG. 9). Therefore, an increase in processing load on the MFP 10 can be suppressed. In Example 2-1, the establishment time TT and the communication speed TV related to the portable terminal 50 are used, but the establishment time MT and the communication speed MV related to the MFP 10 are not used. Therefore, in the modification, the MFP communication table 35 may not include the establishment time MT and the communication speed MV.

(対応関係)
携帯端末50、MFP10が、「第1の通信装置」、「第2の通信装置」の一例である。NFCI/F62が、「第1種のインターフェース」の一例である。無線LANI/F60及びBTI/F61が、「1個以上の第2種のインターフェース」の一例である。端末通信テーブル75内の通信速度TVが、「通信速度情報」及び「第1の速度情報」の一例である。また、端末通信テーブル75内の確立時間TTが、「第1の時間情報」の一例である。
(Correspondence)
The portable terminal 50 and the MFP 10 are examples of “first communication device” and “second communication device”. The NFC I / F 62 is an example of a “first type interface”. The wireless LAN I / F 60 and the BTI / F 61 are examples of “one or more second type interfaces”. The communication speed TV in the terminal communication table 75 is an example of “communication speed information” and “first speed information”. In addition, the establishment time TT in the terminal communication table 75 is an example of “first time information”.

(実施例2−2)
本実施例では、選択部84は、MFP10のMFP通信テーブル35に記述されている確立時間MT及び通信速度MVを用いて、1種類の無線通信を選択する。図10に示されるように、携帯端末50からMFP10に送信されるNFCデータは、印刷指示のみを含む。また、MFP10から携帯端末50に送信される通信データは、MFP通信テーブル35内の全ての情報(即ち、「種類」、「確立時間」、「通信速度」、「無線設定情報」)を含む。
(Example 2-2)
In the present embodiment, the selection unit 84 selects one type of wireless communication using the establishment time MT and the communication speed MV described in the MFP communication table 35 of the MFP 10. As shown in FIG. 10, the NFC data transmitted from the portable terminal 50 to the MFP 10 includes only a print instruction. The communication data transmitted from the MFP 10 to the portable terminal 50 includes all information in the MFP communication table 35 (that is, “type”, “establishment time”, “communication speed”, “wireless setting information”).

図9のS154において、算出部86は、通信データに含まれる確立時間MT及び通信速度MVを用いて、実施例1−2の図6のS20〜S36と同様の手法に従って、4個の完了予測時間Tnf、Twf、Twd、及び、Tbtを算出する。S154において、選択部84は、最小の完了予測時間に対応する1種類の無線通信を選択する。   In S154 of FIG. 9, the calculation unit 86 uses the establishment time MT and the communication speed MV included in the communication data according to the same method as S20 to S36 of FIG. Times Tnf, Twf, Twd, and Tbt are calculated. In S154, the selection unit 84 selects one type of wireless communication corresponding to the minimum predicted completion time.

本実施例によると、携帯端末50は、MFP10に関係する通信速度MVと、処理関係情報と、を用いて、通信予測時間T1を適切に算出することができる。また、携帯端末50は、MFP10に関係する確立時間MTを用いて、確立予測時間T2を適切に決定することができる。なお、実施例2−2では、MFP10に関係する確立時間MT及び通信速度MVが利用されるが、携帯端末50に関係する確立時間TT及び通信速度TVが利用されない。従って、変形例では、端末通信テーブル75は、確立時間TT及び通信速度TVを含んでいなくてもよい。なお、本実施例では、MFP通信テーブル35内の通信速度MVが、「通信速度情報」及び「第2の速度情報」の一例である。MFP通信テーブル35内の確立時間MTが、「第2の時間情報」の一例である。   According to the present embodiment, the mobile terminal 50 can appropriately calculate the predicted communication time T1 using the communication speed MV related to the MFP 10 and the processing related information. Further, the portable terminal 50 can appropriately determine the estimated establishment time T2 using the establishment time MT related to the MFP 10. In the embodiment 2-2, the establishment time MT and the communication speed MV related to the MFP 10 are used, but the establishment time TT and the communication speed TV related to the portable terminal 50 are not used. Therefore, in the modified example, the terminal communication table 75 may not include the establishment time TT and the communication speed TV. In this embodiment, the communication speed MV in the MFP communication table 35 is an example of “communication speed information” and “second speed information”. The establishment time MT in the MFP communication table 35 is an example of “second time information”.

(実施例2−3)
本実施例では、選択部84は、携帯端末50の端末通信テーブル75に記述されている確立時間TT及び通信速度TVと、MFP10のMFP通信テーブル35に記述されている確立時間MT及び通信速度MVと、の両方を用いて、1種類の無線通信を選択する。図10に示されるように、携帯端末50からMFP10に送信されるNFCデータは、印刷指示のみを含む。また、MFP10から携帯端末50に送信される通信データは、MFP通信テーブル35内の全ての情報を含む。
(Example 2-3)
In the present embodiment, the selection unit 84 establishes the establishment time TT and communication speed TV described in the terminal communication table 75 of the portable terminal 50 and the establishment time MT and communication speed MV described in the MFP communication table 35 of the MFP 10. Both types are used to select one type of wireless communication. As shown in FIG. 10, the NFC data transmitted from the portable terminal 50 to the MFP 10 includes only a print instruction. Communication data transmitted from the MFP 10 to the portable terminal 50 includes all information in the MFP communication table 35.

図9のS154において、算出部86は、端末通信テーブル75内の確立時間TT及び通信速度TVと、通信データに含まれる確立時間MT及び通信速度MVと、の両方を用いて、実施例1−3の図7のS20〜S36と同様の手法に従って、4個の完了予測時間Tnf、Twf、Twd、及び、Tbtを算出する。S154において、選択部84は、最小の完了予測時間に対応する1種類の無線通信を選択する。   In S154 of FIG. 9, the calculation unit 86 uses both the establishment time TT and the communication speed TV in the terminal communication table 75, and the establishment time MT and the communication speed MV included in the communication data. 4, four completion prediction times Tnf, Twf, Twd, and Tbt are calculated according to the same method as S20 to S36 in FIG. In S154, the selection unit 84 selects one type of wireless communication corresponding to the minimum predicted completion time.

本実施例でも、実施例2−1及び実施例2−2と同様の効果が得られる。なお、本実施例では、端末通信テーブル75内の通信速度TV、MFP通信テーブル35内の通信速度MVが、それぞれ、「第1の速度情報」、「第2の速度情報」の一例である。端末通信テーブル75内の確立時間TT、MFP通信テーブル35内の確立時間MTが、それぞれ、「第1の時間情報」、「第2の時間情報」の一例である。   Also in this embodiment, the same effects as those of Embodiment 2-1 and Embodiment 2-2 can be obtained. In the present embodiment, the communication speed TV in the terminal communication table 75 and the communication speed MV in the MFP communication table 35 are examples of “first speed information” and “second speed information”, respectively. The establishment time TT in the terminal communication table 75 and the establishment time MT in the MFP communication table 35 are examples of “first time information” and “second time information”, respectively.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。   Specific examples of the present invention have been described in detail above, but these are merely examples and do not limit the scope of the claims. The technology described in the claims includes various modifications and changes of the specific examples illustrated above. The modifications of the above embodiment are listed below.

(変形例1)図5〜図7のS36において、算出部46,86は、T1nfとT2nfの和を算出することによって、NFC通信に対応する完了予測時間Tnfを算出する。ただし、NFC通信に対応する確立時間MTnf及びTTnfがゼロであるために、T2nfは、ゼロに決定される(S34a,S34b,S34c)。このために、算出部46,86は、図5〜図7の選択処理において、T2nfを決定せずに、S36において、T1nfをそのままTnfとして利用してもよい。即ち、算出部46,86は、NFC通信に対応する確立予測時間T2nfを考慮しなくてもよい。一般的に言うと、算出部は、少なくともM種類の無線通信のそれぞれの確立予測時間を考慮すればよい。同様に、MFP通信テーブル35は、MTnfを含んでいなくてもよく、端末通信テーブル75は、TTnfを含んでいなくてもよい。一般的に言うと、第1の時間情報及び第2の時間情報は、少なくともM種類の無線通信のそれぞれの無線接続を確立する際の確立時間を示す情報であればよい。 (Modification 1) In S36 of FIGS. 5 to 7, the calculation units 46 and 86 calculate a predicted completion time Tnf corresponding to NFC communication by calculating the sum of T1nf and T2nf. However, since the establishment times MTnf and TTnf corresponding to NFC communication are zero, T2nf is determined to be zero (S34a, S34b, S34c). For this reason, the calculation units 46 and 86 may use T1nf as it is as Tnf in S36 without determining T2nf in the selection process of FIGS. That is, the calculation units 46 and 86 do not need to consider the estimated establishment time T2nf corresponding to NFC communication. Generally speaking, the calculation unit only needs to consider at least the estimated establishment times of each of the M types of wireless communications. Similarly, the MFP communication table 35 may not include MTnf, and the terminal communication table 75 may not include TTnf. Generally speaking, the first time information and the second time information may be information indicating an establishment time when establishing each wireless connection of at least M types of wireless communications.

(変形例2)図5〜図7のS20〜24において、算出部46,86は、対象ファイルのファイル形式、対象ファイルのファイルサイズ、印刷の色数、及び、印刷解像度を用いて、通信データサイズDSを決定している。これに代えて、例えば、算出部46,86は、対象ファイルがどのようなファイル形式であっても、S22のように、対象ファイルのファイルサイズをDSとして決定してもよい。また、例えば、S24において、算出部46,86は、ファイルサイズと印刷の色数のみを用いて、DSを算出してもよいし、ファイルサイズと印刷の解像度のみを用いて、DSを算出してもよい。即ち、処理関係情報は、ファイル形式、ファイルサイズ、印刷の色数、及び、印刷解像度の全てを含んでいなくてもよく、第2のデータの処理に関係する情報を含んでいればよい。また、例えば、算出部46,86は、ファイル形式、ファイルサイズ、印刷の色数、及び、印刷解像度に関わらず(即ち処理関係情報を利用せずに)、予め決められている値をDSとして決定してもよい。このような変形例でも、算出部46,86は、確立予測時間T2を考慮するために、完了予測時間Tを適切に算出し得る。一般的に言うと、算出部は、通信予測時間と確立予測時間とを考慮して、完了予測時間を算出すればよい。 (Modification 2) In S20 to 24 of FIGS. 5 to 7, the calculation units 46 and 86 use the file format of the target file, the file size of the target file, the number of print colors, and the print resolution, and the communication data. The size DS is determined. Instead, for example, the calculation units 46 and 86 may determine the file size of the target file as DS, as in S22, regardless of the file format of the target file. Further, for example, in S24, the calculation units 46 and 86 may calculate the DS using only the file size and the number of printing colors, or calculate the DS using only the file size and the printing resolution. May be. That is, the processing related information may not include all of the file format, the file size, the number of printing colors, and the printing resolution, and may include information related to the processing of the second data. In addition, for example, the calculation units 46 and 86 may use a predetermined value as DS regardless of the file format, file size, number of print colors, and print resolution (that is, without using processing-related information). You may decide. Even in such a modification, the calculation units 46 and 86 can appropriately calculate the completion prediction time T in order to take into account the establishment prediction time T2. Generally speaking, the calculation unit may calculate the completion prediction time in consideration of the communication prediction time and the establishment prediction time.

(変形例3)図5〜図7の選択処理の段階において、MFP10と携帯端末50との双方が同一の無線ネットワークに属していないことを前提とするのであれば、算出部46,86は、S28を実行しなくてもよい。この場合、算出部46,86は、MFP10と携帯端末50との双方が同一の無線ネットワークに属しているのか否かに関わらず、T2wfをTTwf(又はMTwf、ATwf)に決定し、T2wdをTTwd(又はMTwd、ATwd)に決定してもよい。一般的に言うと、算出部は、確立予測時間を考慮すればよい。 (Modification 3) If it is assumed that both the MFP 10 and the portable terminal 50 do not belong to the same wireless network at the stage of the selection process of FIGS. S28 may not be executed. In this case, the calculation units 46 and 86 determine T2wf as TTwf (or MTwf or ATwf) regardless of whether both the MFP 10 and the portable terminal 50 belong to the same wireless network, and T2wd is determined as TTwd. (Or MTwd, ATwd). Generally speaking, the calculation unit may take into account the estimated estimated time.

(変形例4)上記の各実施例において、MFP10及び携帯端末50は、NFC通信を実行可能であるが、その他の3種類の無線通信の全てを実行可能でなくてもよく、3種類の無線通信のうちの1種類又は2種類のみの無線通信を実行不可能であってもよい。この場合、テーブル35,75は、MFP10及び携帯端末50が実行可能な上記の1種類又は2種類の無線通信に関する情報のみを含んでいればよい。本実施例では、上記の1種類又は2種類の無線通信が、「M種類の無線通信」の一例である。一般的に言うと、「M」は、1以上の整数であればよい。 (Modification 4) In each of the above embodiments, the MFP 10 and the portable terminal 50 can execute NFC communication, but may not be able to execute all of the other three types of wireless communication. It may be impossible to execute wireless communication of only one type or two types of communication. In this case, the tables 35 and 75 need only include information related to the one or two types of wireless communication that can be executed by the MFP 10 and the portable terminal 50. In the present embodiment, the above-described one type or two types of wireless communication is an example of “M types of wireless communication”. Generally speaking, “M” may be an integer of 1 or more.

(変形例5)MFP10及び携帯端末50は、NFC通信を実行不可能であってもよい。この場合、MFP10及び携帯端末50は、まず、BT通信を利用して、NFCデータに相当するデータの通信を実行し、その後、通常Wi−Fi通信、WFD通信、及び、BT通信のうちの1種類の無線通信(即ち選択された無線通信)を利用して、印刷データの通信を実行してもよい。本実施例では、BT通信が、「第1種の無線通信」の一例であり、通常Wi−Fi通信及びWFD通信が、「第2種の無線通信」の一例である。また、赤外線通信、又は、Transfer Jetの無線通信が、「第1種の無線通信」の一例であってもよい。一般的に言うと、M種類の無線通信のそれぞれの通信速度は、第1種の無線通信の通信速度よりも速ければよい。 (Modification 5) The MFP 10 and the portable terminal 50 may not be able to execute NFC communication. In this case, the MFP 10 and the mobile terminal 50 first perform communication of data corresponding to NFC data using BT communication, and then perform one of normal Wi-Fi communication, WFD communication, and BT communication. Communication of print data may be performed using a type of wireless communication (ie, selected wireless communication). In the present embodiment, BT communication is an example of “first type wireless communication”, and normal Wi-Fi communication and WFD communication are examples of “second type wireless communication”. Further, infrared communication or Transfer Jet wireless communication may be an example of “first type wireless communication”. Generally speaking, the communication speed of each of the M types of wireless communication may be higher than the communication speed of the first type of wireless communication.

(変形例6)「第1種のインターフェース」及び「第2種のインターフェース」は、上記の実施例のように、別体に構成されている複数個のインターフェース(例えば複数個のICチップ)であってもよいし、一体に構成されている1個のインターフェース(例えば1個のICチップ)であってもよい。 (Modification 6) The “first type interface” and the “second type interface” are a plurality of interfaces (for example, a plurality of IC chips) configured separately as in the above embodiment. There may be one interface (for example, one IC chip) integrally formed.

(変形例7)上記の各実施例では、印刷データが、「第2のデータ」の一例である。これに代えて、「第2のデータ」は、例えば、スキャンデータであってもよい。この場合、算出部46,86は、図5〜図7のS20〜S24を実行する代わりに、MFP10のスキャン実行部18に載置されるスキャン対象の原稿のサイズ、スキャンの色数(即ちカラースキャン又はモノクロスキャン)、スキャン解像度等を用いて、通信データサイズDSを決定してもよい。MFP10の制御部30は、図3(又は図8)のS26(又はS126)の印刷処理の代わりに、原稿のスキャンをスキャン実行部18に実行させてもよい。その後、MFP10の第2の通信実行部42は、スキャンデータを携帯端末50に送信してもよい。即ち、携帯端末50の第2の通信実行部82は、MFP10からスキャンデータを受信してもよい。なお、「第2のデータ」は、音声データ、FAXデータ等であってもよい。 (Modification 7) In each of the above embodiments, the print data is an example of “second data”. Instead, the “second data” may be scan data, for example. In this case, the calculation units 46 and 86, instead of executing S20 to S24 in FIGS. 5 to 7, the size of the document to be scanned placed on the scan execution unit 18 of the MFP 10 and the number of scan colors (that is, color) The communication data size DS may be determined using a scan or monochrome scan), scan resolution, or the like. The control unit 30 of the MFP 10 may cause the scan execution unit 18 to scan a document instead of the printing process of S26 (or S126) of FIG. 3 (or FIG. 8). Thereafter, the second communication execution unit 42 of the MFP 10 may transmit the scan data to the portable terminal 50. That is, the second communication execution unit 82 of the mobile terminal 50 may receive scan data from the MFP 10. The “second data” may be voice data, FAX data, or the like.

(変形例8)「第1の通信装置」及び「第2の通信装置」は、MFP10及び携帯端末50に限られず、他の通信装置(例えば、プリンタ、スキャナ、FAX装置、コピー機、電話機、デスクトップPC、ノートPC、タブレットPC、サーバ、携帯電話、PDA端末等)であってもよい。 (Modification 8) The “first communication device” and the “second communication device” are not limited to the MFP 10 and the portable terminal 50, and other communication devices (for example, a printer, a scanner, a FAX device, a copier, a telephone, Desktop PC, notebook PC, tablet PC, server, mobile phone, PDA terminal, etc.).

(変形例9)上記の実施例では、MFP10のCPU32がメモリ34内のプログラム(即ちソフトウェア)を実行することによって、各部40〜46の機能が実現される。これに代えて、各部40〜46のうちの少なくとも1つは、論理回路等のハードウェアによって実現されてもよい。また、同様に、各部80〜86のうちの少なくとも1つは、論理回路等のハードウェアによって実現されてもよい。 (Modification 9) In the above-described embodiment, the functions of the units 40 to 46 are realized by the CPU 32 of the MFP 10 executing the program (that is, software) in the memory 34. Instead, at least one of the units 40 to 46 may be realized by hardware such as a logic circuit. Similarly, at least one of the units 80 to 86 may be realized by hardware such as a logic circuit.

また、本明細書または図面に説明した技術要素は、単独であるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成するものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。   The technical elements described in this specification or the drawings exhibit technical usefulness alone or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the technology illustrated in the present specification or the drawings achieves a plurality of objects at the same time, and has technical utility by achieving one of the objects.

2:通信システム、4:AP、10:MFP、35:MFP通信テーブル、50:携帯端末、75:携帯通信テーブル、MT:MFPに関係する確立時間、MV:MFPに関係する通信速度、TT:携帯端末に関係する確立時間、TV:携帯端末に関係する通信速度、T1:通信予測時間、T2:確立予測時間、T:完了予測時間   2: communication system, 4: AP, 10: MFP, 35: MFP communication table, 50: mobile terminal, 75: mobile communication table, MT: establishment time related to MFP, MV: communication speed related to MFP, TT: Established time related to portable terminal, TV: Communication speed related to portable terminal, T1: Estimated communication time, T2: Estimated estimated time, T: Estimated completion

Claims (10)

第1の通信装置であって、
第2の通信装置と第1種の無線通信を実行するための第1種のインターフェースと、
前記第2の通信装置とM種類(前記Mは1以上の整数)の無線通信を実行するための1個以上の第2種のインターフェースであって、前記M種類の無線通信のそれぞれの通信速度は、前記第1種の無線通信の通信速度よりも速い、前記第2種のインターフェースと、
制御部と、を備え、
前記制御部は、
前記第1種の無線通信を利用して、第1のデータの通信を前記第2の通信装置と実行する第1の通信実行部と、
前記第1のデータの通信が実行される場合に、前記第1種の無線通信と前記M種類の無線通信とを含む複数種類の無線通信の中から、1種類の無線通信を選択する選択部と、
選択済みの前記1種類の無線通信を利用して、第2のデータの通信を前記第2の通信装置と実行する第2の通信実行部と、を備え、
前記選択部は、
前記複数種類の無線通信のそれぞれについて、当該無線通信を利用した前記第2のデータの通信を完了させるための完了予測時間を算出する算出部を備え、
前記算出部は、前記複数種類の無線通信のそれぞれについて、当該無線通信を利用した前記第2のデータの通信を開始してから完了するまでの通信予測時間を考慮して、当該無線通信に対応する前記完了予測時間を算出し、
前記算出部は、さらに、少なくとも前記M種類の無線通信のそれぞれについて、当該無線通信を実行するための無線接続を確立するための確立予測時間を考慮して、当該無線通信に対応する前記完了予測時間を算出し、
前記選択部は、前記複数種類の無線通信に対応する複数個の前記完了予測時間のうち、最小の完了予測時間に対応する前記1種類の無線通信を選択する、第1の通信装置。
A first communication device comprising:
A first type interface for executing the first type of wireless communication with the second communication device;
One or more second type interfaces for executing M types (M is an integer of 1 or more) of wireless communication with the second communication device, each of the communication speeds of the M types of wireless communication Is the second type interface faster than the communication speed of the first type wireless communication;
A control unit,
The controller is
A first communication execution unit that executes communication of first data with the second communication device using the first type of wireless communication;
A selection unit that selects one type of wireless communication from a plurality of types of wireless communication including the first type of wireless communication and the M types of wireless communication when communication of the first data is executed. When,
A second communication execution unit that executes communication of second data with the second communication device using the selected one type of wireless communication;
The selection unit includes:
For each of the plurality of types of wireless communication, a calculation unit that calculates a predicted completion time for completing the communication of the second data using the wireless communication,
For each of the plurality of types of wireless communication, the calculation unit supports the wireless communication in consideration of a predicted communication time from the start to completion of the communication of the second data using the wireless communication. Calculating the estimated completion time,
The calculation unit further considers an estimated completion time for establishing a wireless connection for executing the wireless communication for at least each of the M types of wireless communication, and the completion prediction corresponding to the wireless communication. Calculate the time,
The first communication device, wherein the selection unit selects the one type of wireless communication corresponding to the minimum predicted completion time from among the plurality of predicted completion times corresponding to the plurality of types of wireless communication.
前記算出部は、
前記第1の通信装置と前記第2の通信装置との双方が、前記M種類の無線通信のうちの第2種の無線通信を実行するための特定の無線ネットワークに属していない場合には、前記第2種の無線通信に対応する前記確立予測時間として第1の値を利用し、
前記第1の通信装置と前記第2の通信装置との双方が、前記特定の無線ネットワークに属している場合に、前記第2種の無線通信に対応する前記確立予測時間として、前記第1の値よりも小さい第2の値を利用する、請求項1に記載の第1の通信装置。
The calculation unit includes:
When both the first communication device and the second communication device do not belong to a specific wireless network for executing the second type of wireless communication among the M types of wireless communication, Utilizing the first value as the estimated establishment time corresponding to the second type of wireless communication,
When both the first communication device and the second communication device belong to the specific wireless network, the first predicted time corresponding to the second type of wireless communication is set as the first estimated time. The first communication device according to claim 1, wherein a second value smaller than the value is used.
前記算出部は、前記複数種類の無線通信のそれぞれの通信速度を示す通信速度情報と、前記第2のデータに対する処理に関係する処理関係情報と、を用いて、前記複数種類の無線通信に対応する複数個の前記通信予測時間を算出し、
前記算出部は、算出済みの前記複数個の通信予測時間を用いて、前記複数個の完了予測時間を算出する、請求項1又は2に記載の第1の通信装置。
The calculation unit supports the plurality of types of wireless communication by using communication speed information indicating communication speeds of the plurality of types of wireless communication and processing relation information related to processing for the second data. Calculating a plurality of the estimated communication times.
The first communication device according to claim 1, wherein the calculation unit calculates the plurality of predicted completion times using the calculated plurality of predicted communication times.
前記第1の通信実行部は、前記第1種の無線通信を利用して、前記第2の通信装置から、前記処理関係情報を含む前記第1のデータを受信し、
前記算出部は、前記通信速度情報と、受信済みの前記第1のデータに含まれる前記処理関係情報と、を用いて、前記複数個の通信予測時間を算出する、請求項3に記載の第1の通信装置。
The first communication execution unit receives the first data including the processing related information from the second communication device using the first type of wireless communication,
The calculation unit according to claim 3, wherein the calculation unit calculates the plurality of predicted communication times using the communication speed information and the processing relation information included in the received first data. 1. Communication device.
前記第1のデータは、さらに、前記第2の通信装置が前記複数種類の無線通信のそれぞれを実行する際の通信速度を示す第1の速度情報と、前記第2の通信装置が少なくとも前記M種類の無線通信のそれぞれの無線接続を確立する際の確立時間を示す第1の時間情報と、を含み、
前記算出部は、
受信済みの前記第1のデータに含まれる前記第1の速度情報を用いて得られる前記通信速度情報と、受信済みの前記第1のデータに含まれる前記処理関係情報と、を用いて、前記複数個の通信予測時間を算出し、
受信済みの前記第1のデータに含まれる前記第1の時間情報を用いて、少なくとも前記M種類の無線通信に対応する少なくともM個の前記確立予測時間を決定し、
算出済みの前記複数個の通信予測時間と、決定済みの少なくとも前記M個の確立予測時間と、を用いて、前記複数個の完了予測時間を算出する、請求項4に記載の第1の通信装置。
The first data further includes first speed information indicating a communication speed when the second communication apparatus executes each of the plurality of types of wireless communication, and the second communication apparatus includes at least the M First time information indicating an establishment time when establishing each wireless connection of the type of wireless communication,
The calculation unit includes:
Using the communication speed information obtained using the first speed information included in the received first data and the processing related information included in the received first data, Calculate multiple estimated communication times,
Using the first time information included in the received first data to determine at least M estimated establishment times corresponding to at least the M types of wireless communications;
5. The first communication according to claim 4, wherein the plurality of predicted completion times are calculated using the calculated plurality of predicted communication times and at least the determined M estimated prediction times. apparatus.
前記第1の通信装置は、さらに、
前記第1の通信装置が前記複数種類の無線通信のそれぞれを実行する際の通信速度を示す第2の速度情報と、前記第1の通信装置が少なくとも前記M種類の無線通信のそれぞれの無線接続を確立する際の確立時間を示す第2の時間情報と、を格納するメモリを備え、
前記算出部は、
前記メモリ内の前記第2の速度情報を用いて得られる前記通信速度情報と、受信済みの前記第1のデータに含まれる前記処理関係情報と、を用いて、前記複数個の通信予測時間を算出し、
前記メモリ内の前記第2の時間情報を用いて、少なくとも前記M種類の無線通信に対応する少なくともM個の前記確立予測時間を決定し、
算出済みの前記複数個の通信予測時間と、決定済みの少なくとも前記M個の確立予測時間と、を用いて、前記複数個の完了予測時間を算出する、請求項4又は5に記載の第1の通信装置。
The first communication device further includes:
Second speed information indicating a communication speed when the first communication device executes each of the plurality of types of wireless communication; and the wireless connection of the first communication device for at least the M types of wireless communication. And a second time information indicating an establishment time when establishing
The calculation unit includes:
Using the communication speed information obtained by using the second speed information in the memory and the processing relation information included in the received first data, the plurality of predicted communication times are obtained. Calculate
Using the second time information in the memory to determine at least M estimated establishment times corresponding to at least the M types of wireless communications;
6. The first prediction according to claim 4, wherein the plurality of predicted completion times are calculated using the calculated plurality of predicted communication times and at least the determined M estimated prediction times. Communication equipment.
前記算出部は、前記通信速度情報と、ユーザによって前記第1の通信装置に加えられる特定の操作に応じて得られる前記処理関係情報と、を用いて、前記複数個の通信予測時間を算出する、請求項3に記載の第1の通信装置。   The calculation unit calculates the plurality of predicted communication times using the communication speed information and the processing relation information obtained according to a specific operation applied to the first communication device by a user. The first communication device according to claim 3. 前記第1の通信装置は、さらに、
前記第1の通信装置が前記複数種類の無線通信のそれぞれを実行する際の通信速度を示す第1の速度情報と、前記第1の通信装置が少なくとも前記M種類の無線通信のそれぞれの無線接続を確立する際の確立時間を示す第1の時間情報と、を格納するメモリを備え、
前記算出部は、
前記メモリ内の前記第1の速度情報を用いて得られる前記通信速度情報と、前記特定の操作に応じて得られる前記処理関係情報と、を用いて、前記複数個の通信予測時間を算出し、
前記メモリ内の前記第1の時間情報を用いて、少なくとも前記M種類の無線通信に対応する少なくともM個の前記確立予測時間を決定し、
算出済みの前記複数個の通信予測時間と、決定済みの少なくとも前記M個の確立予測時間と、を用いて、前記複数個の完了予測時間を算出する、請求項7に記載の第1の通信装置。
The first communication device further includes:
First speed information indicating a communication speed when the first communication device executes each of the plurality of types of wireless communication; and the wireless connection of the first communication device at least for the M types of wireless communication. A first time information indicating an establishment time when establishing
The calculation unit includes:
The plurality of predicted communication times are calculated using the communication speed information obtained using the first speed information in the memory and the processing relation information obtained according to the specific operation. ,
Determining at least M estimated establishment times corresponding to at least the M types of wireless communications using the first time information in the memory;
8. The first communication according to claim 7, wherein the plurality of predicted completion times are calculated using the calculated plurality of predicted communication times and at least the determined M estimated prediction times. apparatus.
前記第1の通信実行部は、さらに、前記第1のデータを前記第2の通信装置に送信した後に、前記第1種の無線通信を利用して、前記第2の通信装置が前記複数種類の無線通信のそれぞれを実行する際の通信速度を示す第2の速度情報と、前記第2の通信装置が少なくとも前記M種類の無線通信のそれぞれの無線接続を確立する際の確立時間を示す第2の時間情報と、を前記第2の通信装置から受信し、
前記算出部は、
受信済みの前記第2の速度情報を用いて得られる前記通信速度情報と、前記特定の操作に応じて得られる前記処理関係情報と、を用いて、前記複数個の通信予測時間を算出し、
受信済みの前記第2の時間情報を用いて、少なくとも前記M種類の無線通信に対応する少なくともM個の前記確立予測時間を決定し、
算出済みの前記複数個の通信予測時間と、決定済みの少なくとも前記M個の確立予測時間と、を用いて、前記複数個の完了予測時間を算出する、請求項7又は8に記載の第1の通信装置。
The first communication execution unit further transmits the first data to the second communication device, and then uses the first type of wireless communication so that the second communication device has the plurality of types. Second speed information indicating a communication speed when executing each of the wireless communication, and a second time information indicating an establishment time when the second communication device establishes each wireless connection of at least the M types of wireless communication. 2 time information from the second communication device,
The calculation unit includes:
Using the communication speed information obtained using the received second speed information and the processing relation information obtained according to the specific operation, the plurality of communication predicted times are calculated,
Using the received second time information to determine at least M estimated establishment times corresponding to at least the M types of wireless communications;
9. The first prediction according to claim 7, wherein the plurality of completion predicted times are calculated using the calculated communication predicted times that have been calculated and at least the determined M estimated predicted times that have been determined. Communication equipment.
第1の通信装置のためのコンピュータプログラムであって、
前記第1の通信装置は、
第2の通信装置と第1種の無線通信を実行するための第1種のインターフェースと、
前記第2の通信装置とM種類(前記Mは1以上の整数)の無線通信を実行するための1個以上の第2種のインターフェースであって、前記M種類の無線通信のそれぞれの通信速度は、前記第1種の無線通信の通信速度よりも速い、前記第2種のインターフェースと、
を備え、
前記コンピュータプログラムは、前記第1の通信装置に搭載されるコンピュータに、以下の各処理、即ち、
前記第1種の無線通信を利用して、第1のデータの通信を前記第2の通信装置と実行する第1の通信実行処理と、
前記第1のデータの通信が実行される場合に、前記第1種の無線通信と前記M種類の無線通信とを含む複数種類の無線通信の中から、1種類の無線通信を選択する選択処理と、
選択済みの前記1種類の無線通信を利用して、第2のデータの通信を前記第2の通信装置と実行する第2の通信実行処理と、を実行させ、
前記選択処理は、
前記複数種類の無線通信のそれぞれについて、当該無線通信を利用した前記第2のデータの通信を完了させるための完了予測時間を算出する算出処理を含み、
前記算出処理では、前記複数種類の無線通信のそれぞれについて、当該無線通信を利用した前記第2のデータの通信を開始してから完了するまでの通信予測時間を考慮して、当該無線通信に対応する前記完了予測時間を算出し、
前記算出処理では、さらに、少なくとも前記M種類の無線通信のそれぞれについて、当該無線通信を実行するための無線接続を確立するための確立予測時間を考慮して、当該無線通信に対応する前記完了予測時間を算出し、
前記選択処理では、前記複数種類の無線通信に対応する複数個の前記完了予測時間のうち、最小の完了予測時間に対応する前記1種類の無線通信を選択する、コンピュータプログラム。
A computer program for a first communication device, comprising:
The first communication device is:
A first type interface for executing the first type of wireless communication with the second communication device;
One or more second type interfaces for executing M types (M is an integer of 1 or more) of wireless communication with the second communication device, each of the communication speeds of the M types of wireless communication Is the second type interface faster than the communication speed of the first type wireless communication;
With
The computer program stores the following processes in a computer mounted on the first communication device, that is,
A first communication execution process for executing communication of first data with the second communication device using the first type of wireless communication;
Selection processing for selecting one type of wireless communication from a plurality of types of wireless communication including the first type of wireless communication and the M types of wireless communication when communication of the first data is executed When,
A second communication execution process for executing communication of second data with the second communication device using the selected one type of wireless communication;
The selection process includes
For each of the plurality of types of wireless communication, including a calculation process for calculating a predicted completion time for completing the communication of the second data using the wireless communication,
In the calculation process, for each of the plurality of types of wireless communication, the wireless communication is supported in consideration of a predicted communication time from the start to the completion of the communication of the second data using the wireless communication. Calculating the estimated completion time,
In the calculation process, the completion prediction corresponding to the wireless communication is further considered for at least each of the M types of wireless communication in consideration of an estimated prediction time for establishing a wireless connection for executing the wireless communication. Calculate the time,
A computer program that, in the selection process, selects the one type of wireless communication corresponding to the minimum predicted completion time from among the plurality of predicted completion times corresponding to the plurality of types of wireless communication.
JP2012173255A 2012-08-03 2012-08-03 Communication device Active JP6035969B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012173255A JP6035969B2 (en) 2012-08-03 2012-08-03 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012173255A JP6035969B2 (en) 2012-08-03 2012-08-03 Communication device

Publications (3)

Publication Number Publication Date
JP2014033367A true JP2014033367A (en) 2014-02-20
JP2014033367A5 JP2014033367A5 (en) 2015-07-09
JP6035969B2 JP6035969B2 (en) 2016-11-30

Family

ID=50282868

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012173255A Active JP6035969B2 (en) 2012-08-03 2012-08-03 Communication device

Country Status (1)

Country Link
JP (1) JP6035969B2 (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016157428A (en) * 2015-02-25 2016-09-01 株式会社リコー Information processing device, communication system, and communication method
JP2017212506A (en) * 2016-05-23 2017-11-30 キヤノン株式会社 Communication device, communication method, and program
JP2018086830A (en) * 2016-11-28 2018-06-07 富士ゼロックス株式会社 Information processing device, printer, information processing system, print processing system, information processing program and print processing program
JP2018166299A (en) * 2017-03-28 2018-10-25 富士ゼロックス株式会社 Information processing device and information processing program
JP2019054391A (en) * 2017-09-14 2019-04-04 キヤノン株式会社 Information processing unit and control method and program thereof
JP2020135071A (en) * 2019-02-13 2020-08-31 ブラザー工業株式会社 Function execution device and computer program for terminal device
JP2020135070A (en) * 2019-02-13 2020-08-31 ブラザー工業株式会社 Function execution device and computer program for terminal device
JP2022059004A (en) * 2014-06-06 2022-04-12 キヤノン株式会社 Communication device, control method, and program
US11579824B2 (en) 2019-02-13 2023-02-14 Brother Kogyo Kabushiki Kaisha Function executing device for executing communication of function execution information with terminal device
US11966654B2 (en) 2014-06-06 2024-04-23 Canon Kabushiki Kaisha Communication apparatus capable of carrying out near field communication with a target apparatus, control method, and program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005315625A (en) * 2004-04-27 2005-11-10 Nissan Motor Co Ltd Navigation system, information center and method of switching radio communication media
JP2006279926A (en) * 2005-03-01 2006-10-12 Omron Corp Wireless communication apparatus, wireless communication system, wireless communication method, program, and recording medium with the program recorded thereon
JP2014003379A (en) * 2012-06-15 2014-01-09 Nec Casio Mobile Communications Ltd Communication terminal, communication method, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005315625A (en) * 2004-04-27 2005-11-10 Nissan Motor Co Ltd Navigation system, information center and method of switching radio communication media
JP2006279926A (en) * 2005-03-01 2006-10-12 Omron Corp Wireless communication apparatus, wireless communication system, wireless communication method, program, and recording medium with the program recorded thereon
JP2014003379A (en) * 2012-06-15 2014-01-09 Nec Casio Mobile Communications Ltd Communication terminal, communication method, and program

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11966654B2 (en) 2014-06-06 2024-04-23 Canon Kabushiki Kaisha Communication apparatus capable of carrying out near field communication with a target apparatus, control method, and program
JP7302050B2 (en) 2014-06-06 2023-07-03 キヤノン株式会社 Communication device, control method and program
JP2022059004A (en) * 2014-06-06 2022-04-12 キヤノン株式会社 Communication device, control method, and program
JP2016157428A (en) * 2015-02-25 2016-09-01 株式会社リコー Information processing device, communication system, and communication method
JP2017212506A (en) * 2016-05-23 2017-11-30 キヤノン株式会社 Communication device, communication method, and program
JP2018086830A (en) * 2016-11-28 2018-06-07 富士ゼロックス株式会社 Information processing device, printer, information processing system, print processing system, information processing program and print processing program
JP2018166299A (en) * 2017-03-28 2018-10-25 富士ゼロックス株式会社 Information processing device and information processing program
US11115559B2 (en) 2017-03-28 2021-09-07 Fujifilm Business Innovation Corp. Information processing apparatus, information processing method, and non-transitory computer readable storage medium
US11137957B2 (en) 2017-09-14 2021-10-05 Canon Kabushiki Kaisha Information processing apparatus having a plurality of lines, control method therefor, and storage medium
JP7027084B2 (en) 2017-09-14 2022-03-01 キヤノン株式会社 Information processing equipment, its control method, and programs
US11630617B2 (en) 2017-09-14 2023-04-18 Canon Kabushiki Kaisha Information processing apparatus having a plurality of lines, control method therefor, and storage medium
JP2019054391A (en) * 2017-09-14 2019-04-04 キヤノン株式会社 Information processing unit and control method and program thereof
JP2020135070A (en) * 2019-02-13 2020-08-31 ブラザー工業株式会社 Function execution device and computer program for terminal device
US11579824B2 (en) 2019-02-13 2023-02-14 Brother Kogyo Kabushiki Kaisha Function executing device for executing communication of function execution information with terminal device
JP7293704B2 (en) 2019-02-13 2023-06-20 ブラザー工業株式会社 Computer program for function execution device and terminal device
JP7293705B2 (en) 2019-02-13 2023-06-20 ブラザー工業株式会社 Computer program for function execution device and terminal device
JP2020135071A (en) * 2019-02-13 2020-08-31 ブラザー工業株式会社 Function execution device and computer program for terminal device

Also Published As

Publication number Publication date
JP6035969B2 (en) 2016-11-30

Similar Documents

Publication Publication Date Title
JP5857850B2 (en) Communication device
US11902869B2 (en) Communication device
JP6035969B2 (en) Communication device
JP5915338B2 (en) Communication device
JP6019675B2 (en) Function execution device
JP6019881B2 (en) Communication device and portable terminal
JP5884633B2 (en) Communication device
JP2013214804A (en) Communication device
EP2713672B1 (en) Wireless slave devices configuration and communication therewith
JP6183445B2 (en) Communication device
JP6183506B2 (en) Communication device
JP6249075B2 (en) Communication device and portable terminal
JP6149970B2 (en) Communication device
JP6601463B2 (en) Communication device
JP6795067B2 (en) Communication device
JP7088354B2 (en) Communication devices and mobile terminals
JP6583506B2 (en) Communication device
JP6481743B2 (en) Communication device and portable terminal
JP6662478B2 (en) Communication device and mobile terminal
JP2014045379A (en) Communication device and computer program for mobile terminal
JP6414617B2 (en) Communication device
JP6645477B2 (en) Communication device
JP2021013203A (en) Communication device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20150525

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150525

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160329

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20160506

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20160701

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20161004

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20161017

R150 Certificate of patent or registration of utility model

Ref document number: 6035969

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150