JP5929590B2 - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP5929590B2
JP5929590B2 JP2012167250A JP2012167250A JP5929590B2 JP 5929590 B2 JP5929590 B2 JP 5929590B2 JP 2012167250 A JP2012167250 A JP 2012167250A JP 2012167250 A JP2012167250 A JP 2012167250A JP 5929590 B2 JP5929590 B2 JP 5929590B2
Authority
JP
Japan
Prior art keywords
communication
information
data
mfp
relay
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.)
Active
Application number
JP2012167250A
Other languages
Japanese (ja)
Other versions
JP2014027537A (en
Inventor
直希 西川
直希 西川
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 JP2012167250A priority Critical patent/JP5929590B2/en
Publication of JP2014027537A publication Critical patent/JP2014027537A/en
Application granted granted Critical
Publication of JP5929590B2 publication Critical patent/JP5929590B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

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

特許文献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の通信装置の間で対象データの無線通信を適切に実行し得る技術を開示する。   The technique of Patent Document 1 merely determines whether or not to hand over the communication method from NFC to Bluetooth according to the data size. The present specification discloses a technique capable of appropriately performing wireless communication of target data between the first and second communication devices.

本明細書では、第2の通信装置と対象データの無線通信を実行するための第1の通信装置を開示する。第1の通信装置は、第2の通信装置と無線通信を実行するための第1種のインターフェースと、第2の通信装置と無線通信を実行するための第2種のインターフェースと、制御部と、を備える。第2種のインターフェースを介した無線通信の通信速度は、第1種のインターフェースを介した無線通信の通信速度よりも速い。制御部は、選択部と、送信部と、通信実行部と、を備える。選択部は、対象データの処理に関係する処理関係情報を用いて、第1及び第2の通信装置とは別体に構成されている複数個の中継装置の中から、1個の中継装置を選択する。送信部は、第1種のインターフェースを介して、1個の中継装置を示す中継装置情報を、第2の通信装置に送信する。通信実行部は、中継装置情報が第2の通信装置に送信された後に、第2種のインターフェースを介して、1個の中継装置を利用した対象データの無線通信を第2の通信装置と実行する。   The present specification discloses a first communication device for executing wireless communication of target data with a second communication device. The first communication device includes a first type interface for performing wireless communication with the second communication device, a second type interface for performing wireless communication with the second communication device, and a control unit. . The communication speed of the wireless communication through the second type interface is faster than the communication speed of the wireless communication through the first type interface. The control unit includes a selection unit, a transmission unit, and a communication execution unit. The selection unit selects one relay device from among a plurality of relay devices configured separately from the first and second communication devices, using processing-related information related to processing of target data. select. The transmission unit transmits relay device information indicating one relay device to the second communication device via the first type interface. The communication execution unit executes wireless communication of target data using one relay device with the second communication device via the second type interface after the relay device information is transmitted to the second communication device. To do.

上記の構成によると、第1の通信装置は、処理関係情報を用いて、適切な中継装置を選択し得る。そして、第1の通信装置は、第1種のインターフェースを介して、適切な中継装置を示す中継装置情報を第2の通信装置に送信し得る。従って、第1の通信装置は、第2種のインターフェースを介して、適切な中継装置を利用した対象データの無線通信を第2の通信装置と実行し得る。この結果、第1及び第2の通信装置の間で対象データの無線通信を適切に実行し得る。   According to said structure, the 1st communication apparatus can select an appropriate relay apparatus using process related information. The first communication device can transmit relay device information indicating an appropriate relay device to the second communication device via the first type interface. Accordingly, the first communication device can execute wireless communication of the target data using the appropriate relay device with the second communication device via the second type interface. As a result, wireless communication of the target data can be appropriately executed between the first and second communication devices.

第1の通信装置は、さらに、第2種のインターフェースを介して、複数個の中継装置のそれぞれから、当該中継装置を利用した無線通信に関係する通信関係情報を取得する通信取得部を備えていてもよい。選択部は、処理関係情報と、複数個の中継装置から取得される複数個の通信関係情報と、を用いて、1個の中継装置を選択してもよい。この構成によると、第1の通信装置は、処理関係情報と、複数個の通信関係情報と、を用いて、適切な中継装置を選択し得る。   The first communication device further includes a communication acquisition unit that acquires communication-related information related to wireless communication using the relay device from each of the plurality of relay devices via the second type interface. May be. The selection unit may select one relay device using the processing related information and a plurality of pieces of communication related information acquired from the plurality of relay devices. According to this configuration, the first communication device can select an appropriate relay device using the processing relationship information and the plurality of communication relationship information.

複数個の通信関係情報のそれぞれは、(A)当該通信関係情報の取得元の中継装置が現在利用している認証方式を示す認証方式情報と、(B)当該通信関係情報の取得元の中継装置が現在利用している暗号化方式を示す暗号化方式情報と、(C)当該通信関係情報の取得元の中継装置を利用した無線通信の通信速度を示す通信速度情報と、のうちの少なくとも1個の情報を含んでいてもよい。この構成によると、第1の通信装置は、処理関係情報と、複数個の通信関係情報と、を用いて、適切な中継装置を選択し得る。   Each of the plurality of pieces of communication related information includes (A) authentication method information indicating an authentication method currently used by the relay device from which the communication related information is acquired, and (B) relay from which the communication related information is acquired. At least of: encryption method information indicating an encryption method currently used by the device; and (C) communication speed information indicating a communication speed of wireless communication using the relay device from which the communication related information is acquired. One piece of information may be included. According to this configuration, the first communication device can select an appropriate relay device using the processing relationship information and the plurality of communication relationship information.

選択部は、対象データに関係するデータ関係情報を含む処理関係情報と、複数個の通信関係情報と、を用いて、1個の中継装置を選択してもよい。この構成によると、第1の通信装置は、データ関係情報を用いて、適切な中継装置を選択し得る。   The selection unit may select one relay device using processing relation information including data relation information related to target data and a plurality of pieces of communication relation information. According to this configuration, the first communication device can select an appropriate relay device using the data relationship information.

対象データは、第2の通信装置から第1の通信装置に送信されるべきデータであってもよい。制御部は、さらに、第2の通信装置から、第1種のインターフェースを介して、データ関係情報を受信する受信部を備えていてもよい。選択部は、受信済みのデータ関係情報を含む処理関係情報と、複数個の通信関係情報と、を用いて、1個の中継装置を選択してもよい。この構成によると、第1の通信装置は、第2の通信装置から受信されるデータ関係情報を用いて、適切な中継装置を選択し得る。   The target data may be data to be transmitted from the second communication device to the first communication device. The control unit may further include a receiving unit that receives data-related information from the second communication device via the first type interface. The selection unit may select one relay device using the processing relationship information including the received data relationship information and the plurality of communication relationship information. According to this configuration, the first communication device can select an appropriate relay device using the data relationship information received from the second communication device.

対象データは、第1の通信装置から第2の通信装置に送信されるべきデータであってもよい。選択部は、第1の通信装置に格納されている対象データに関係するデータ関係情報を含む処理関係情報と、複数個の通信関係情報と、を用いて、1個の中継装置を選択してもよい。この構成によると、第1の通信装置は、第1の通信装置に格納されている対象データに関係するデータ関係情報を用いて、適切な中継装置を選択し得る。   The target data may be data to be transmitted from the first communication device to the second communication device. The selection unit selects one relay device using processing relation information including data relation information related to target data stored in the first communication apparatus and a plurality of pieces of communication relation information. Also good. According to this configuration, the first communication device can select an appropriate relay device using the data relationship information related to the target data stored in the first communication device.

複数個の通信関係情報のそれぞれは、当該通信関係情報の取得元の中継装置が現在利用している認証方式を示す認証方式情報を含んでいてもよい。選択部は、データ関係情報が、対象データのセキュリティが比較的に高いことを示す場合には、複数個の中継装置の中から、第1の認証方式を現在利用している1個の中継装置を選択し、データ関係情報が、対象データのセキュリティが比較的に低いことを示す場合には、複数個の中継装置の中から、第1の認証方式とは異なる第2の認証方式を現在利用している1個の中継装置を選択してもよい。この構成によると、第1の通信装置は、対象データのセキュリティに応じて、適切な中継装置を選択し得る。   Each of the plurality of pieces of communication related information may include authentication method information indicating an authentication method currently used by the relay apparatus from which the communication related information is acquired. When the data-related information indicates that the security of the target data is relatively high, the selection unit selects one relay device that currently uses the first authentication method from the plurality of relay devices. And when the data relation information indicates that the security of the target data is relatively low, a second authentication method different from the first authentication method is currently used from among a plurality of relay devices. A single relay device may be selected. According to this configuration, the first communication device can select an appropriate relay device according to the security of the target data.

複数個の通信関係情報のそれぞれは、当該通信関係情報の取得元の中継装置が現在利用している暗号化方式を示す暗号化方式情報を含んでいてもよい。選択部は、データ関係情報が、対象データのセキュリティが比較的に高いことを示す場合には、複数個の中継装置の中から、第1の暗号化方式を現在利用している1個の中継装置を選択し、データ関係情報が、対象データのセキュリティが比較的に低いことを示す場合には、複数個の中継装置の中から、第1の暗号化方式とは異なる第2の暗号化方式を現在利用している1個の中継装置を選択してもよい。この構成によると、第1の通信装置は、対象データのセキュリティに応じて、適切な中継装置を選択し得る。   Each of the plurality of pieces of communication related information may include encryption method information indicating the encryption method currently used by the relay apparatus from which the communication related information is acquired. When the data relation information indicates that the security of the target data is relatively high, the selection unit selects one relay currently using the first encryption method from the plurality of relay devices. When a device is selected and the data-related information indicates that the security of the target data is relatively low, a second encryption method different from the first encryption method is selected from the plurality of relay devices. One relay device that currently uses can be selected. According to this configuration, the first communication device can select an appropriate relay device according to the security of the target data.

選択部は、データ関係情報が、対象データの出力を許可するためのパスワードを含む場合には、対象データのセキュリティが比較的に高いと判断し、データ関係情報が、パスワードを含まない場合には、対象データのセキュリティが比較的に低いと判断してもよい。この構成によると、第1の通信装置は、対象データのセキュリティの高低を適切に判断し得る。   The selection unit determines that the security of the target data is relatively high when the data relation information includes a password for permitting the output of the target data, and when the data relation information does not include the password. The security of the target data may be determined to be relatively low. According to this configuration, the first communication device can appropriately determine the security level of the target data.

複数個の通信関係情報のそれぞれは、当該通信関係情報の取得元の中継装置を利用した無線通信の通信速度を示す通信速度情報を含んでいてもよい。選択部は、データ関係情報が、対象データのデータサイズが比較的に大きいことを示す場合には、複数個の中継装置の中から、比較的に大きい通信速度を実現する1個の中継装置を選択し、データ関係情報が、対象データのデータサイズが比較的に小さいことを示す場合には、複数個の中継装置の中から、比較的に小さい通信速度を実現する1個の中継装置を選択してもよい。この構成によると、第1の通信装置は、対象データのデータサイズに応じて、適切な中継装置を選択し得る。   Each of the plurality of pieces of communication related information may include communication speed information indicating a communication speed of wireless communication using the relay device from which the communication related information is acquired. When the data relation information indicates that the data size of the target data is relatively large, the selection unit selects one relay device that realizes a relatively high communication speed from among the plurality of relay devices. If the data relation information indicates that the data size of the target data is relatively small, select one relay device that realizes a relatively low communication speed from among a plurality of relay devices. May be. According to this configuration, the first communication device can select an appropriate relay device according to the data size of the target data.

複数個の通信関係情報のそれぞれは、当該通信関係情報の取得元の中継装置を利用した無線通信の通信速度を示す通信速度情報を含んでいてもよい。選択部は、データ関係情報が、対象データが第1のデータ形式を有することを示す場合には、複数個の中継装置の中から、比較的に大きい通信速度を実現する1個の中継装置を選択し、データ関係情報が、対象データが第1のデータ形式とは異なる第2のデータ形式を有することを示す場合には、複数個の中継装置の中から、比較的に小さい通信速度を実現する1個の中継装置を選択してもよい。この構成によると、第1の通信装置は、対象データのデータ形式に応じて、適切な中継装置を選択し得る。   Each of the plurality of pieces of communication related information may include communication speed information indicating a communication speed of wireless communication using the relay device from which the communication related information is acquired. When the data relation information indicates that the target data has the first data format, the selection unit selects one relay device that realizes a relatively high communication speed from the plurality of relay devices. If selected and the data relation information indicates that the target data has a second data format different from the first data format, a relatively low communication speed is realized from among a plurality of relay devices. One relay device may be selected. According to this configuration, the first communication device can select an appropriate relay device according to the data format of the target data.

選択部は、第1の通信装置が対象データを処理するための能力に関係する第1の能力関係情報及び第2の通信装置が対象データを処理するための能力に関係する第2の能力関係情報のうちの少なくとも一方の能力関係情報を含む処理関係情報と、複数個の通信関係情報と、を用いて、1個の中継装置を選択してもよい。この構成によると、第1の通信装置は、能力関係情報を用いて、適切な中継装置を選択し得る。   The selection unit includes first capability relationship information related to the capability for the first communication device to process the target data, and second capability relationship related to the capability for the second communication device to process the target data. One relay device may be selected using processing relation information including capability relation information of at least one of the information and a plurality of pieces of communication relation information. According to this configuration, the first communication device can select an appropriate relay device using the capability relationship information.

第1の通信装置は、さらに、第1の通信装置の現在の状態をチェックすることによって、第1の能力関係情報を取得する能力取得部を備えていてもよい。選択部は、取得済みの第1の能力関係情報を含む処理関係情報と、複数個の通信関係情報と、を用いて、1個の中継装置を選択してもよい。この構成によると、第1の通信装置は、第1の通信装置の能力に関係する第1の能力関係情報を用いて、適切な中継装置を選択し得る。   The first communication device may further include a capability acquisition unit that acquires the first capability relationship information by checking the current state of the first communication device. The selection unit may select one relay device using the processing relationship information including the acquired first capability relationship information and a plurality of pieces of communication relationship information. According to this configuration, the first communication device can select an appropriate relay device using the first capability relationship information related to the capability of the first communication device.

第1の通信装置は、さらに、第2の通信装置から、第1種のインターフェースを介して、第2の能力関係情報を受信する受信部を備えていてもよい。選択部は、受信済みの第2の能力関係情報を含む処理関係情報と、複数個の通信関係情報と、を用いて、1個の中継装置を選択してもよい。この構成によると、第1の通信装置は、第2の通信装置の能力に関係する第2の能力関係情報を用いて、適切な中継装置を選択し得る。   The first communication device may further include a receiving unit that receives the second capability relationship information from the second communication device via the first type interface. The selection unit may select one relay device using the processing relationship information including the received second capability relationship information and the plurality of communication relationship information. According to this configuration, the first communication device can select an appropriate relay device using the second capability relationship information related to the capability of the second communication device.

複数個の通信関係情報のそれぞれは、当該通信関係情報の取得元の中継装置を利用した無線通信の通信速度を示す通信速度情報を含んでいてもよい。選択部は、少なくとも一方の能力関係情報が、対象データを処理するための能力が比較的に高いことを示す場合には、複数個の中継装置の中から、比較的に大きい通信速度を実現する1個の中継装置を選択し、少なくとも一方の能力関係情報が、対象データを処理するための能力が比較的に低いことを示す場合には、複数個の中継装置の中から、比較的に小さい通信速度を実現する1個の中継装置を選択してもよい。この構成によると、第1の通信装置は、対象データを処理するための能力に応じて、適切な中継装置を選択し得る。   Each of the plurality of pieces of communication related information may include communication speed information indicating a communication speed of wireless communication using the relay device from which the communication related information is acquired. The selection unit realizes a relatively high communication speed from among a plurality of relay devices when at least one capability-related information indicates that the capability for processing the target data is relatively high. When one relay device is selected and at least one capability-related information indicates that the capability for processing the target data is relatively low, the relay device is relatively small among the plurality of relay devices. One relay device that realizes the communication speed may be selected. According to this configuration, the first communication device can select an appropriate relay device according to the ability to process the target data.

選択部は、少なくとも一方の能力関係情報が示す値が、所定の閾値以上である場合には、対象データを処理するための能力が比較的に高いと判断し、少なくとも一方の能力関係情報が示す値が、所定の閾値未満である場合には、対象データを処理するための能力が比較的に低いと判断してもよい。この構成によると、第1の通信装置は、対象データを処理するための能力の高低を適切に判断し得る。   The selection unit determines that the ability to process the target data is relatively high when the value indicated by at least one ability relation information is equal to or greater than a predetermined threshold, and the at least one ability relation information indicates When the value is less than the predetermined threshold, it may be determined that the ability to process the target data is relatively low. According to this configuration, the first communication device can appropriately determine the level of capability for processing the target data.

選択部は、対象データに関係するデータ関係情報と、第1の通信装置が対象データを処理するための能力に関係する第1の能力関係情報及び第2の通信装置が対象データを処理するための能力に関係する第2の能力関係情報のうちの少なくとも一方の能力関係情報と、を含む処理関係情報と、複数個の通信関係情報と、を用いて、1個の中継装置を選択してもよい。この構成によると、第1の通信装置は、データ関係情報と能力関係情報とを用いて、適切な中継装置を選択し得る。   The selection unit includes data relationship information related to the target data, first capability relationship information related to the capability of the first communication device to process the target data, and second communication device to process the target data. Selecting one relay device using processing relation information including at least one ability relation information of second ability relation information related to the ability of the plurality of pieces of communication relation information Also good. According to this configuration, the first communication device can select an appropriate relay device using the data relationship information and the capability relationship information.

上記の第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. A communication system including the first and second communication devices is also novel and useful.

通信システムの構成を示す。1 shows a configuration of a communication system. 携帯端末のアプリケーション処理のフローチャートを示す。The flowchart of the application process of a portable terminal is shown. MFPの通信処理のフローチャートを示す。3 shows a flowchart of MFP communication processing. MFP及び携帯端末が実行する通信及び処理を表わすシーケンス図を示す。FIG. 2 is a sequence diagram showing communication and processing executed by an MFP and a mobile terminal. 実施例1の概要を表わすテーブルを示す。3 shows a table representing an outline of the first embodiment. 実施例2の概要を表わすテーブルを示す。The table showing the outline | summary of Example 2 is shown. 実施例3の概要を表わすテーブルを示す。The table showing the outline | summary of Example 3 is shown. 携帯端末のアプリケーション処理のフローチャートを示す。The flowchart of the application process of a portable terminal is shown. MFPの通信処理のフローチャートを示す。3 shows a flowchart of MFP communication processing. MFP及び携帯端末が実行する通信及び処理を表わすシーケンス図を示す。FIG. 2 is a sequence diagram showing communication and processing executed by an MFP and a mobile terminal.

(実施例1)
(通信システム2の構成)
図1に示されるように、通信システム2は、複数個のアクセスポイント(以下では「AP(Access Pointの略)」と呼ぶ)4a,4bと、多機能機(以下では「MFP(Multi-Function Peripheralの略)と呼ぶ)10と、携帯端末50と、を備える。なお、通信システム2に含まれるAPの個数は、2個に限定されず、3個以上であってもよい。
Example 1
(Configuration of communication system 2)
As shown in FIG. 1, the communication system 2 includes a plurality of access points (hereinafter referred to as “AP (abbreviation of access point)”) 4a and 4b, and a multi-function device (hereinafter referred to as “MFP (Multi-Function”). 10) and a mobile terminal 50. The number of APs included in the communication system 2 is not limited to two, and may be three or more.

(MFP10が実行可能な無線通信の種類)
MFP10は、NFC(Near Field Communicationの略)方式に従った無線通信と、WFD(Wi-Fi Directの略)方式に従った無線通信と、通常Wi−Fi方式に従った無線通信と、を実行可能である。以下では、上記の各方式に従った無線通信のことを、それぞれ、「NFC通信」、「WFD通信」、「通常Wi−Fi通信」と呼ぶ。
(Types of wireless communication that the MFP 10 can execute)
The MFP 10 executes wireless communication according to the NFC (abbreviation of Near Field Communication) method, wireless communication according to the WFD (abbreviation of Wi-Fi Direct) method, and wireless communication according to the normal Wi-Fi method. Is possible. Hereinafter, the wireless communication in accordance with each of the above-described methods is referred to as “NFC communication”, “WFD communication”, and “normal Wi-Fi 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参照モデルのネットワーク層の情報を含むデータであり、例えば、印刷データ、スキャンデータ等を含む。   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.

以下では、MFP10のように、WFD通信を実行可能な機器のことを「WFD対応機器」と呼ぶ。上記のWFDの規格書では、WFD対応機器の状態として、Group Owner状態(以下では「G/O状態」と呼ぶ)、クライアント状態、及び、デバイス状態の3つの状態が定義されている。WFD対応機器は、上記の3つの状態のうちの1つの状態で選択的に動作可能である。   Hereinafter, a device that can execute WFD communication, such as the MFP 10, is referred to as a “WFD-compatible device”. 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機器」と呼ぶ)と、クライアント状態の機器(以下では「クライアント機器」と呼ぶ)と、によって、WFDネットワークが形成される。WFDネットワークでは、1個のG/O機器と、1個以上のクライアント機器と、が存在し得る。G/O機器は、1個以上のクライアント機器を管理する。具体的に言うと、G/O機器は、1個以上のクライアント機器のそれぞれについて、当該クライアント機器の認証を実行し、当該クライアント機器の認証が成功すると、当該クライアント機器の識別情報(即ちMACアドレス)をG/O機器のメモリ内の管理リストに記述する。なお、本実施例では、MFP10が属するWFDネットワークにおいて、G/O機器(即ち、MFP10、又は、MFP10とは異なるG/O機器)は、認証方式「WPA2」と、暗号化方式「AES」と、を利用して、クライアント機器の認証を実行する。G/O機器は、クライアント機器がWFDネットワークから離脱すると、当該クライアント機器の識別情報を管理リストから消去する。   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 WFD network is formed by 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 “client device”). In a WFD network, there may be one G / O device and one or more client devices. The G / O device manages one or more client devices. Specifically, the G / O device executes authentication of the client device for each of one or more client devices, and when the authentication of the client device is successful, the identification information (that is, the MAC address) of the client device. ) In the management list in the memory of the G / O device. In this embodiment, in the WFD network to which the MFP 10 belongs, the G / O device (that is, the MFP 10 or a G / O device different from the MFP 10) includes an authentication method “WPA2” and an encryption method “AES”. , To authenticate the client device. When the client device leaves the WFD network, the G / O device deletes the identification information of the client device from the management list.

G/O機器は、管理リストに登録されているクライアント機器と、対象データの無線通信を実行可能である。しかしながら、G/O機器は、管理リストに登録されていない未登録機器との間で、当該未登録機器がWFDネットワークに属するための特定データの無線通信を実行可能であるが、対象データの無線通信を実行不可能である。特定データは、OSI参照モデルのネットワーク層の情報を含まないデータであり、例えば、Probe Request信号(以下では「PReq信号」と呼ぶ)、Probe Response信号(以下では「PRes信号」と呼ぶ)等の物理層のデータを含む。なお、G/O機器は、複数個のクライアント機器の間の対象データの無線通信を中継可能である。   The G / O device can execute wireless communication of the target data with the client device registered in the management list. However, the G / O device can execute wireless communication of specific data for the unregistered device belonging to the WFD network with the unregistered device not registered in the management list. Communication is not possible. The specific 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 client devices.

WFDネットワークに属していないWFD対応機器(即ち、G/O機器の管理リストに登録されていない未登録機器)が、デバイス状態の機器である。デバイス状態の機器は、WFDネットワークに属するための上記の特定データの無線通信を、G/O機器と実行可能であるが、上記の対象データの無線通信を、G/O機器又はクライアント機器と実行不可能である。   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 specific 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 client 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非対応機器は、クライアント機器として、WFDネットワークに参加することできる。本実施例では、携帯端末50は、WFD非対応機器(即ちレガシー機器)である。従って、MFP10がG/O状態である場合には、MFP10は、携帯端末50と対象データの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 client device. In the present embodiment, the mobile terminal 50 is a WFD non-compliant device (that is, a legacy device). Therefore, when the MFP 10 is in the G / O state, the MFP 10 can execute WFD communication of the target data with the portable terminal 50.

(通常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は、通常Wi−Fiネットワークに属することによって、当該通常Wi−Fiネットワークに属する他の機器と、APを介して、対象データの通常Wi−Fi通信を実行することができる。本実施例では、携帯端末50は、WFD非対応機器(即ちレガシー機器)であるために、通常Wi−Fi通信を実行可能である。従って、MFP10は、複数個のAP4a,4bのうちのいずれかのAPを介して、対象データの通常Wi−Fi通信を携帯端末50と実行可能である。   By belonging to the normal Wi-Fi network, the MFP 10 can execute normal Wi-Fi communication of the target data with other devices belonging to the normal Wi-Fi network via the AP. In this embodiment, since the mobile terminal 50 is a WFD non-compliant device (that is, a legacy device), it can execute normal Wi-Fi communication. Therefore, the MFP 10 can execute normal Wi-Fi communication of the target data with the portable terminal 50 via any one of the plurality of APs 4a and 4b.

本実施例では、通常Wi−Fi通信のための認証方式として、Open、WPA(Wi-Fi Protected Accessの略)、又は、WPA2のいずれかが利用される。これらの3種類の認証方式では、「Open」が最も低セキュリティの認証方式であり、「WPA」が「Open」より高セキュリティの認証方式であり、「WPA2」が「WPA」より高セキュリティの認証方式である。「Open」では、パスワードを利用した認証が実行されない。これに対し、「WPA」及び「WPA2」では、パスワードを利用した認証が実行される。   In this embodiment, Open, WPA (abbreviation for Wi-Fi Protected Access), or WPA2 is used as an authentication method for normal Wi-Fi communication. Of these three types of authentication methods, “Open” is the least secure authentication method, “WPA” is a more secure authentication method than “Open”, and “WPA2” is a more secure authentication method than “WPA”. It is a method. In “Open”, authentication using a password is not executed. In contrast, “WPA” and “WPA2” execute authentication using a password.

また、本実施例では、通常Wi−Fi通信のための暗号化方式として、WEP(Wired Equivalent Privacy)、TKIP(Temporal Key Integrity Protocolの略)、又は、AES(Advanced Encryption Standardの略)が利用される。これらの3種類の暗号化方式では、「WEP」が最も低セキュリティの暗号化方式であり、「TKIP」が「WEP」より高セキュリティの暗号化方式であり、「AES」が「TKIP」より高セキュリティの暗号化方式である。   In this embodiment, WEP (Wired Equivalent Privacy), TKIP (abbreviation for Temporal Key Integrity Protocol), or AES (abbreviation for Advanced Encryption Standard) is used as an encryption method for normal Wi-Fi communication. The Among these three types of encryption methods, “WEP” is the lowest security encryption method, “TKIP” is a higher security encryption method than “WEP”, and “AES” is higher than “TKIP”. It is a security encryption method.

通常Wi−Fiネットワークは、社内LAN、家庭内LAN等のように、APを設置可能な環境で構築される無線ネットワークであり、一般的に言うと、定常的に形成されるべき無線ネットワークである。これに対し、WFDネットワークは、APを必要としないために、例えば、一対のWFD対応機器の間で一時的な無線通信を実行させるために構築される無線ネットワークであり、一般的に言うと、一時的に形成されるべき無線ネットワークである。このように、本実施例では、通常Wi−Fiネットワークが、定常的に形成されるべき無線ネットワークであり、WFDネットワークが、一時的に形成されるべき無線ネットワークである状況を想定している。   A normal Wi-Fi network is a wireless network constructed in an environment where an AP can be installed, such as an in-house LAN or a home LAN, and generally speaking, is a wireless network that should be formed on a regular basis. . On the other hand, since the WFD network does not require an AP, for example, it is a wireless network constructed to execute temporary wireless communication between a pair of WFD compatible devices. Generally speaking, A wireless network to be temporarily formed. As described above, in this embodiment, it is assumed that the normal Wi-Fi network is a wireless network that should be formed regularly, and the WFD network is a wireless network that should be formed temporarily.

(MFP10の構成)
MFP10は、印刷機能及びスキャン機能を含む多機能を実行可能である。図1に示されるように、MFP10は、操作部12と、表示部14と、印刷実行部16と、スキャン実行部18と、無線LANインターフェース(以下ではインターフェースのことを「I/F」と記載する)20と、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 illustrated 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 referred to as “I / F”). 20), 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は、WFDネットワークと通常Wi−Fiネットワークとの両方に同時的に属することができる。   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 WFD network and the normal Wi-Fi network simultaneously.

MFP10によって利用されるMACアドレスという観点では、WFD通信及び通常Wi−Fi通信は、例えば、以下のように表現することができる。即ち、WFD通信は、MFP10のWFD用MACアドレスが利用される無線通信であり、通常Wi−Fi通信は、MFP10の通常Wi−Fi用MACアドレスが利用される無線通信である。また、WFDネットワークは、MFP10のWFD用MACアドレスが利用される無線ネットワークであり、通常Wi−Fiネットワークは、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 WFD network is a wireless network in which the WFD MAC address of the MFP 10 is used, and the normal Wi-Fi network is a wireless network in which the normal Wi-Fi MAC address of the MFP 10 is used.

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

無線LANI/F20を介した無線通信の通信速度(例えば、最大の通信速度が11〜600Mbps)は、NFCI/F22を介した無線通信の通信速度(例えば、最大の通信速度が100〜424Kbps)よりも速い。また、無線LANI/F20を介した無線通信における搬送波の周波数(例えば、2.4GHz帯、5.0GHz帯)は、NFCI/F22を介した無線通信における搬送波の周波数(例えば、13.56MHz帯)とは異なる。また、例えば、MFP10と携帯端末50との距離が約10cm以下である場合に、制御部30は、NFCI/F22を介して、携帯端末50とNFC通信を実行可能である。一方において、MFP10と携帯端末50との距離が、10cm以下である場合でも、10cm以上である場合(例えば最大で約100m)でも、制御部30は、無線LANI/F20を介して、携帯端末50とWFD通信及び通常Wi−Fi通信を実行可能である。即ち、MFP10が無線LANI/F20を介して通信先の機器(例えば携帯端末50)と無線通信を実行可能な最大の距離は、MFP10がNFCI/F22を介して通信先の機器と無線通信を実行可能な最大の距離よりも大きい。   The communication speed of wireless communication via the wireless LAN I / F 20 (for example, the maximum communication speed is 11 to 600 Mbps) is higher than the communication speed of wireless communication via the NFC I / F 22 (for example, the maximum communication speed is 100 to 424 Kbps). Is also fast. In addition, the frequency of the carrier wave in the wireless communication via the wireless LAN I / F 20 (for example, 2.4 GHz band, 5.0 GHz band) is the frequency of the carrier wave in the wireless communication via the NFC I / F 22 (for example, 13.56 MHz band). Is different. For example, when the distance between the MFP 10 and the portable terminal 50 is about 10 cm or less, the control unit 30 can execute NFC communication with the portable terminal 50 via the NFC I / F 22. On the other hand, whether the distance between the MFP 10 and the portable terminal 50 is 10 cm or less or 10 cm or more (for example, about 100 m at the maximum), the control unit 30 can connect the portable terminal 50 via the wireless LAN I / F 20. And WFD communication and normal Wi-Fi communication can be executed. In other words, the maximum distance that the MFP 10 can execute wireless communication with a communication destination device (for example, the portable terminal 50) via the wireless LAN I / F 20 is the maximum distance that the MFP 10 performs wireless communication with the communication destination device via the NFC I / F 22. Greater than the maximum possible distance.

制御部30は、CPU32とメモリ34とを備える。CPU32は、メモリ34に格納されているプログラムに従って、様々な処理を実行する。CPU32がプログラムに従って処理を実行することによって、各部41〜49の機能が実現される。メモリ34は、ROM、RAM、ハードディスク等によって構成される。メモリ34は、CPU32によって実行される上記のプログラムを格納する。   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. The function of each part 41-49 is implement | achieved when CPU32 performs a process according to a program. The memory 34 includes a ROM, a RAM, a hard disk, and the like. The memory 34 stores the above program executed by the CPU 32.

メモリ34は、さらに、WFDに関するMFP10の現在の状態(即ち、G/O状態、クライアント状態、及び、デバイス状態のいずれかの状態)を示すWFD状態値を格納する。MFP10がWFDネットワークに属している場合(即ち、WFD状態値がG/O状態又はクライアント状態を示す場合)には、メモリ34は、さらに、WFD通信を実行するためのWFD無線設定を格納する。   The memory 34 further stores a WFD state value indicating the current state of the MFP 10 regarding the WFD (that is, any one of the G / O state, the client state, and the device state). When the MFP 10 belongs to the WFD network (that is, when the WFD state value indicates the G / O state or the client state), the memory 34 further stores a WFD wireless setting for executing WFD communication.

WFD無線設定は、認証方式情報、暗号化方式情報、パスワード、SSID(Service Set Identifier)、及び、BSSID(Basic Service Set Identifier)を含む。WFD無線設定に含まれるSSIDは、WFDネットワークを識別するためのネットワーク識別子である。WFD無線設定に含まれるBSSIDは、WFDネットワークのG/O機器に割り当てられている固有の識別子(例えばG/O機器のMACアドレス)である。   The WFD wireless setting includes authentication method information, encryption method information, a password, an SSID (Service Set Identifier), and a BSSID (Basic Service Set Identifier). The SSID included in the WFD wireless setting is a network identifier for identifying the WFD network. The BSSID included in the WFD wireless setting is a unique identifier (for example, the MAC address of the G / O device) assigned to the G / O device of the WFD network.

G/O機器は、通常、WFDネットワークを形成する際に、WFD無線設定を準備して、当該WFD無線設定をクライアント機器に供給する。例えば、MFP10の制御部30は、MFP10がG/O状態で動作してWFDネットワークを形成する際に、WFD無線設定を準備する。具体的に言うと、制御部30は、予め決められている認証方式情報(即ち「WPA2」)及び暗号化方式情報(即ち「AES」)を準備する。制御部30は、予め決められているパスワードを準備するか、あるいは、パスワードを新たに生成することによってパスワードを準備する。制御部30は、予め決められているSSIDを準備するか、あるいは、SSIDを新たに生成することによってSSIDを準備する。また、制御部30は、予め決められているWFD用MACアドレスをBSSIDとして準備する。   Normally, when forming a WFD network, a G / O device prepares a WFD wireless setting and supplies the WFD wireless setting to a client device. For example, the control unit 30 of the MFP 10 prepares for WFD wireless setting when the MFP 10 operates in the G / O state to form a WFD network. Specifically, the control unit 30 prepares predetermined authentication method information (that is, “WPA2”) and encryption method information (that is, “AES”). The control unit 30 prepares a password by preparing a predetermined password or by newly generating a password. The control unit 30 prepares a predetermined SSID or prepares an SSID by newly generating an SSID. In addition, the control unit 30 prepares a predetermined WFD MAC address as a BSSID.

従って、MFP10がG/O状態で動作してWFDネットワークに属している場合には、メモリ34は、MFP10が当該WFDネットワークを形成した際に、MFP10によって準備されたWFD無線設定を格納する。一方において、MFP10がクライアント状態で動作してWFDネットワークに属している場合には、メモリ34は、MFP10とは異なるG/O機器が当該WFDネットワークを形成した際に、当該G/O機器によって準備されたWFD無線設定(即ち、当該G/O機器から取得されたWFD無線設定)を格納する。   Therefore, when the MFP 10 operates in the G / O state and belongs to the WFD network, the memory 34 stores the WFD wireless setting prepared by the MFP 10 when the MFP 10 forms the WFD network. On the other hand, when the MFP 10 operates in the client state and belongs to the WFD network, the memory 34 is prepared by the G / O device when a G / O device different from the MFP 10 forms the WFD network. Stored WFD wireless settings (that is, WFD wireless settings acquired from the G / O device) are stored.

また、MFP10が通常Wi−Fiネットワークに属している場合には、メモリ34は、さらに、通常Wi−Fi通信を実行するための通常Wi−Fi無線設定を格納する。通常Wi−Fi無線設定は、通常、認証方式情報、暗号化方式情報、SSID、BSSID、及び、パスワードを含む。通常Wi−Fi無線設定に含まれるSSIDは、通常Wi−Fiネットワークを識別するためのネットワーク識別子である。通常Wi−Fi無線設定情報に含まれるBSSIDは、通常Wi−Fiネットワークを形成しているAPに割り当てられている固有の識別子(例えばAPのMACアドレス)である。   In addition, when the MFP 10 belongs to the normal Wi-Fi network, the memory 34 further stores normal Wi-Fi wireless settings for executing normal Wi-Fi communication. The normal Wi-Fi wireless setting normally includes authentication method information, encryption method information, SSID, BSSID, and password. The SSID included in the normal Wi-Fi wireless setting is a network identifier for identifying the normal Wi-Fi network. The BSSID included in the normal Wi-Fi wireless setting information is a unique identifier (for example, the MAC address of the AP) assigned to the AP forming the normal Wi-Fi network.

MFP10が通常Wi−Fiネットワークに参加するための手法としては、MFP10のユーザが所定の操作を操作部12に加える第1の手法と、後述の図3のS42〜S48を実行する第2の手法と、が存在する。   As a method for the MFP 10 to participate in the normal Wi-Fi network, a first method in which the user of the MFP 10 applies a predetermined operation to the operation unit 12 and a second method in which S42 to S48 in FIG. And exist.

第1の手法では、MFP10は、上記の所定の操作が操作部12に加えられると、SSIDサーチを実行する。この結果、MFP10は、MFP10の周囲に存在するAP4a,4bのそれぞれから、当該APで現在利用されている認証方式を示す認証方式情報と、当該APで現在利用されている暗号化方式を示す暗号化方式情報と、当該APで現在利用されているSSID及びBSSIDと、を取得する。次いで、MFP10は、複数個のAPから取得された複数個のSSIDを、表示部14に表示させる。ユーザは、操作部12を用いて、複数個のSSIDの中から1個のSSID(即ち1個のAP)を選択する。   In the first method, the MFP 10 executes an SSID search when the predetermined operation is applied to the operation unit 12. As a result, the MFP 10 receives authentication method information indicating an authentication method currently used by the AP and an encryption method indicating an encryption method currently used by the AP from each of the APs 4a and 4b existing around the MFP 10. Information and the SSID and BSSID currently used by the AP are acquired. Next, the MFP 10 causes the display unit 14 to display a plurality of SSIDs acquired from a plurality of APs. The user uses the operation unit 12 to select one SSID (that is, one AP) from among a plurality of SSIDs.

上述したように、認証方式「WPA」又は「WPA2」を採用している高セキュリティの通常Wi−Fiネットワークでは、パスワードを利用した認証が実行される。従って、選択済みのAPが、認証方式「WPA」又は「WPA2」を利用している場合には、ユーザは、操作部12を用いて、さらに、パスワードを入力する。MFP10は、選択済みのAPから取得された認証方式情報、暗号化方式情報、SSID、及び、BSSIDを利用すると共に、ユーザによって入力されたパスワードを利用して、選択済みのAPと無線接続を実行する。無線接続は、MFP10が通常Wi−Fiネットワークに参加するための通信処理(例えば、認証のための通信処理(Authentication信号、Association Request信号、Association Response信号の通信等))を含む。これにより、MFP10は、選択済みのAPが形成している通常Wi−Fiネットワークに参加する。   As described above, in a high-security normal Wi-Fi network adopting the authentication method “WPA” or “WPA2”, authentication using a password is executed. Therefore, when the selected AP uses the authentication method “WPA” or “WPA2”, the user further inputs a password using the operation unit 12. The MFP 10 uses the authentication method information, the encryption method information, the SSID, and the BSSID acquired from the selected AP, and executes a wireless connection with the selected AP using the password input by the user. To do. The wireless connection includes a communication process for the MFP 10 to participate in the normal Wi-Fi network (for example, a communication process for authentication (such as communication of an Authentication signal, an Association Request signal, an Association Response signal)). As a result, the MFP 10 participates in the normal Wi-Fi network formed by the selected AP.

一方において、認証方式「Open」を採用している低セキュリティの通常Wi−Fiネットワークでは、パスワードを利用した認証が実行されない。従って、選択済みのAPが、認証方式「Open」を利用している場合には、ユーザは、パスワードを入力しない。MFP10は、選択済みのAPから取得された認証方式情報、暗号化方式情報、SSID、及び、BSSIDを利用して、選択済みのAPと無線接続を実行し、選択済みのAPが形成している通常Wi−Fiネットワークに参加する。メモリ34は、選択済みのAPとの無線接続で利用された各情報(認証方式情報等)を、通常Wi−Fi無線設定として格納する。   On the other hand, in a low-security normal Wi-Fi network that employs the authentication method “Open”, authentication using a password is not executed. Therefore, when the selected AP uses the authentication method “Open”, the user does not input a password. The MFP 10 uses the authentication method information, encryption method information, SSID, and BSSID acquired from the selected AP to execute wireless connection with the selected AP, and the selected AP forms. Usually participates in Wi-Fi networks. The memory 34 stores each piece of information (authentication method information and the like) used in the wireless connection with the selected AP as a normal Wi-Fi wireless setting.

メモリ34は、さらに、MFP10が上記の第1の手法によって通常Wi−Fiネットワークに参加する毎に、当該通常Wi−Fiネットワークを識別するためのSSIDと、当該通常Wi−Fiネットワークで利用されているパスワードと、が対応づけられている参加情報を格納する。即ち、メモリ34は、MFP10が過去に参加した1個以上の通常Wi−Fiネットワークに対応する1個以上の参加情報を累積的に格納する。なお、上述したように、認証方式「Open」を採用している通常Wi−Fiネットワークでは、パスワードが利用されない。従って、このような通常Wi−Fiネットワークに対応する参加情報は、SSIDを含むが、パスワードを含まない。   The memory 34 is further used every time the MFP 10 participates in the normal Wi-Fi network by the first method described above, and the SSID for identifying the normal Wi-Fi network and the normal Wi-Fi network. The participation information associated with the existing password is stored. That is, the memory 34 cumulatively stores one or more pieces of participation information corresponding to one or more normal Wi-Fi networks that the MFP 10 has joined in the past. As described above, a password is not used in a normal Wi-Fi network that employs the authentication method “Open”. Therefore, the participation information corresponding to such a normal Wi-Fi network includes the SSID but does not include the password.

後で詳しく説明するが、上記の第2の手法でも、MFP10は、SSIDサーチを実行する(図3のS42)。次いで、MFP10は、ユーザの指示を受けずに、1個のSSID(即ち1個のAP)を自動的に選択する(S44)。次いで、MFP10は、選択済みのAPと無線接続を実行する(S48)。これにより、MFP10は、選択済みのAPが形成している通常Wi−Fiネットワークに自動的に参加する。   As will be described in detail later, the MFP 10 also performs the SSID search even in the second method described above (S42 in FIG. 3). Next, the MFP 10 automatically selects one SSID (that is, one AP) without receiving an instruction from the user (S44). Next, the MFP 10 performs a wireless connection with the selected AP (S48). As a result, the MFP 10 automatically participates in the normal Wi-Fi network formed by the selected AP.

(携帯端末50の構成)
携帯端末50は、例えば、携帯電話(例えばスマートフォン)、PDA、ノートPC、タブレットPC、携帯型音楽再生装置、携帯型動画再生装置等の可搬型の端末装置である。携帯端末50は、NFC通信と通常Wi−Fi通信とを実行可能である。
(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 and normal Wi-Fi communication.

携帯端末50は、操作部52と、表示部54と、無線LANI/F60と、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, 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は、通常Wi−Fi通信を実行するためのインターフェースである。NFCI/F62は、NFC通信を実行するためのインターフェースである。これらのインターフェース60,62の相違は、MFP10のインターフェース20,22の相違と同様である。即ち、例えば、無線LANI/F60を介した無線通信の通信速度は、NFCI/F62を介した無線通信の通信速度よりも速い。   The wireless LAN I / F 60 is an interface for executing normal Wi-Fi communication. The NFC I / F 62 is an interface for executing NFC communication. The difference between these interfaces 60 and 62 is the same as the difference between the interfaces 20 and 22 of the MFP 10. That is, for example, the communication speed of wireless communication via the wireless LAN I / F 60 is faster than the communication speed of wireless communication via the NFC I / F 62.

制御部70は、CPU72とメモリ74とを備える。CPU72は、メモリ74に格納されているプログラムに従って、様々な処理を実行する。メモリ74内のプログラムは、MFP10に様々な機能(例えば印刷機能、スキャン機能等)を実行させるためのアプリケーション76を含む。アプリケーション76は、例えば、MFP10のベンダによって提供されるサーバから携帯端末50にインストールされてもよいし、MFP10と共に出荷されるメディアから携帯端末50にインストールされてもよい。CPU72がアプリケーション76に従って処理を実行することによって、各部81〜86の機能が実現される。なお、各部81〜86は、後述の第4〜第6実施例で機能する。   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 units 81 to 86 are realized. Each of the parts 81 to 86 functions in fourth to sixth examples described later.

(AP4a,4bの構成)
AP4a,4bのそれぞれは、WFDのG/O機器ではなく、無線アクセスポイント又は無線LANルータと呼ばれる通常のAPであり、通常Wi−Fiネットワークを形成する。AP4a,4bは、通常Wi−Fiネットワークに属する複数個の機器のうちの第1の機器(例えば携帯端末50)から対象データを受信して、上記の複数個の機器のうちの第2の機器(例えばMFP10)に当該対象データを送信する。即ち、AP4a,4bは、通常Wi−Fiネットワークに属する一対の機器の間の対象データの無線通信を中継する中継装置として機能する。
(Configuration of AP4a, 4b)
Each of the APs 4a and 4b 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 network. AP4a, 4b receives object data from the 1st apparatus (for example, portable terminal 50) of the some apparatus which belongs to a normal Wi-Fi network, and is 2nd apparatus among said several apparatus. The target data is transmitted to (for example, the MFP 10). That is, the APs 4a and 4b function as a relay device that relays wireless communication of target data between a pair of devices belonging to the normal Wi-Fi network.

なお、WFDのG/O機器と通常のAP(即ちAP4a,4b)との間の相違点は、以下の通りである。即ち、WFDのG/O機器は、当該機器が属しているWFDネットワークから離脱して、他のWFDネットワークに新たに属する場合に、G/O状態とは異なる状態(即ちクライアント状態)で動作し得る。これに対し、通常のAPは、当該APがどの通常Wi−Fiネットワークを形成しても、一対の機器の間の無線通信を中継する機能を実行する。即ち、通常のAPは、WFDのG/O状態と同様の動作しか実行することができず、WFDのクライアント状態と同様の動作を実行することができない。   The difference between the WFD G / O device and a normal AP (ie, AP 4a, 4b) is as follows. That is, a WFD G / O device operates in a state different from the G / O state (ie, client state) when it leaves the WFD network to which the device belongs and newly belongs to another WFD network. obtain. In contrast, a normal AP executes a function of relaying wireless communication between a pair of devices regardless of which normal Wi-Fi network the AP forms. That is, a normal AP can execute only the same operation as that of the WFD G / O state, and cannot execute the same operation as that of the WFD client state.

(携帯端末50のアプリケーション処理;図2)
続いて、図2を参照して、携帯端末50の制御部70がアプリケーション76に従って実行する処理の内容を説明する。携帯端末50のユーザは、携帯端末50に格納されている印刷対象のデータ(以下では「印刷データ」と呼ぶ)によって表わされる画像を、MFP10に印刷させることを望む場合に、操作部52を操作して、アプリケーション76を起動させる。これにより、制御部70は、アプリケーション76に従って、図2のフローチャートを開始する。
(Application processing of portable terminal 50; FIG. 2)
Then, with reference to FIG. 2, the content of the process which the control part 70 of the portable terminal 50 performs according to the application 76 is demonstrated. When the user of the portable terminal 50 desires the MFP 10 to print an image represented by data to be printed (hereinafter referred to as “print data”) stored in the portable terminal 50, the user operates the operation unit 52. Then, the application 76 is activated. Thereby, the control unit 70 starts the flowchart of FIG.

ユーザは、携帯端末50のメモリ74に格納されている印刷データを選択するための操作と、印刷データに対してパスワードを設定するのか否かを選択するための操作と、を含む印刷操作を、操作部52に加える。この場合、制御部70は、S10でYESと判断して、S11に進む。   The user performs a print operation including an operation for selecting print data stored in the memory 74 of the portable terminal 50 and an operation for selecting whether or not to set a password for the print data. It adds to the operation part 52. In this case, the control unit 70 determines YES in S10 and proceeds to S11.

なお、印刷データに対してパスワードが設定される場合には、ユーザが、MFP10の操作部12を操作して、当該パスワードをMFP10に入力しないと、MFP10は、印刷データに従った印刷を開始しない。即ち、携帯端末50に印刷操作を加えたユーザのみが、MFP10が印刷することによって生成される印刷物を取得することができる。これに対し、印刷データに対してパスワードが設定されない場合には、MFP10は、印刷データを受信すると、ただちに印刷を開始する(即ち、MFP10にパスワードが入力されなくても印刷を開始する)。即ち、携帯端末50に印刷操作を加えたユーザ以外の第三者が、印刷物を取得し得る。従って、印刷データに対してパスワードが設定される場合は、印刷データに対してパスワードが設定されない場合と比較して、印刷データのセキュリティが高い。   When a password is set for the print data, the MFP 10 does not start printing according to the print data unless the user operates the operation unit 12 of the MFP 10 and inputs the password to the MFP 10. . That is, only a user who has performed a printing operation on the portable terminal 50 can acquire a printed matter generated by printing by the MFP 10. On the other hand, if a password is not set for the print data, the MFP 10 starts printing immediately after receiving the print data (that is, starts printing even if no password is input to the MFP 10). That is, a third party other than the user who performed the printing operation on the portable terminal 50 can acquire the printed matter. Therefore, when the password is set for the print data, the security of the print data is higher than when the password is not set for the print data.

S11では、制御部70は、まず、印刷機能の実行をMFP10に指示するための印刷コマンドと、印刷データのセキュリティを示すセキュリティ情報と、を含むNFC情報を生成する。NFC情報は、印刷データを含まない。なお、制御部70は、印刷データに対してパスワードを設定することがユーザによって選択された場合には、セキュアを示すセキュリティ情報を生成する。この場合、セキュリティ情報は、さらに、印刷データに対して設定されるパスワードを含む。一方において、制御部70は、印刷データに対してパスワードを設定しないことがユーザによって選択された場合には、非セキュアを示すセキュリティ情報を生成する。この場合、セキュリティ情報は、パスワードを含まない。   In S <b> 11, the control unit 70 first generates NFC information including a print command for instructing the MFP 10 to execute the print function and security information indicating the security of the print data. The NFC information does not include print data. Note that when the user selects to set a password for the print data, the control unit 70 generates security information indicating security. In this case, the security information further includes a password set for the print data. On the other hand, when the user selects not to set a password for the print data, the control unit 70 generates security information indicating non-secure. In this case, the security information does not include a password.

MFP10が電源ONにされている間に、MFP10のNFCI/F22は、NFC通信を実行可能な機器(即ち携帯端末50)を検出するための検出電波を発信している。携帯端末50のユーザは、上記の印刷操作を加えた後に、携帯端末50をMFP10に近づける。これにより、携帯端末50とMFP10との間の距離が、互いに電波が届く距離(例えば10cm)より小さくなる。この場合、携帯端末50は、MFP10から検出電波を受信して、応答電波をMFP10に送信する。この結果、MFP10と携帯端末50との間に、NFC通信セッションが確立される。S12では、制御部70は、NFC通信セッションを利用して、NFCI/F62を介して、生成済みのNFC情報をMFP10に送信する。   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). The user of the portable terminal 50 brings the portable terminal 50 closer to the MFP 10 after performing the above 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 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 communication session is established between the MFP 10 and the portable terminal 50. In S <b> 12, the control unit 70 transmits the generated NFC information to the MFP 10 via the NFC I / F 62 using the NFC communication session.

携帯端末50からMFP10にNFC情報が送信されると、MFP10は、後述の図3のS30でYESと判断して、S32以降の処理を実行する。この結果、MFP10は、NFC通信セッションを利用して、WFD無線設定(図3のS40)又はAP情報(図3のS46)を携帯端末50に送信する。WFD無線設定は、G/O状態のMFP10が形成しているWFDネットワークで現在利用されている各情報(即ち、認証方式情報、暗号化方式情報、SSID、BSSID、及び、パスワード)を含む。AP情報は、APが形成している通常Wi−Fiネットワークで現在利用されている各情報(即ち、認証方式情報、暗号化方式情報、SSID、及び、BSSID)を含む。なお、当該通常Wi−Fiネットワークでパスワードを利用した認証が実行される場合、即ち、当該通常Wi−Fiネットワークで現在利用されている認証方式が「WPA」又は「WPA2」である場合には、AP情報は、さらに、当該通常Wi−Fiネットワークで現在利用されているパスワードを含む。一方において、当該通常Wi−Fiネットワークでパスワードを利用した認証が実行されない場合、即ち、当該通常Wi−Fiネットワークで現在利用されている認証方式が「Open」である場合には、AP情報は、パスワードを含まない。   When the NFC information is transmitted from the portable terminal 50 to the MFP 10, the MFP 10 determines YES in S <b> 30 of FIG. 3 to be described later, and executes the processes after S <b> 32. As a result, the MFP 10 transmits the WFD wireless setting (S40 in FIG. 3) or the AP information (S46 in FIG. 3) to the portable terminal 50 using the NFC communication session. The WFD wireless setting includes information currently used in the WFD network formed by the MFP 10 in the G / O state (that is, authentication method information, encryption method information, SSID, BSSID, and password). The AP information includes information currently used in the normal Wi-Fi network formed by the AP (that is, authentication method information, encryption method information, SSID, and BSSID). When authentication using a password is executed in the normal Wi-Fi network, that is, when the authentication method currently used in the normal Wi-Fi network is “WPA” or “WPA2”, The AP information further includes a password currently used in the normal Wi-Fi network. On the other hand, when the authentication using the password is not executed in the normal Wi-Fi network, that is, when the authentication method currently used in the normal Wi-Fi network is “Open”, the AP information is: Does not include the password.

図2のS14では、携帯端末50の制御部70は、MFP10から、NFCI/F62を介して、WFD無線設定又はAP情報を受信する。なお、制御部70は、S14でWFD無線設定又はAP情報を受信した後に、例えば、携帯端末50から所定の音を出力させて、NFC通信が完了したことを携帯端末50のユーザに通知する。これにより、ユーザは、MFP10から携帯端末50を遠ざけてよいことを認識できる。S14を終えると、S16に進む。   In S <b> 14 of FIG. 2, the control unit 70 of the mobile terminal 50 receives WFD wireless setting or AP information from the MFP 10 via the NFC I / F 62. In addition, after receiving the WFD wireless setting or AP information in S14, the control unit 70 outputs a predetermined sound from the portable terminal 50, for example, and notifies the user of the portable terminal 50 that NFC communication is completed. Thereby, the user can recognize that the portable terminal 50 may be moved away from the MFP 10. When S14 ends, the process proceeds to S16.

S16では、制御部70は、S14で受信された情報に応じた無線接続を実行する。S14で受信された情報がWFD無線設定である場合には、制御部70は、受信済みのWFD無線設定を用いて、無線LANI/F60を介して、G/O状態のMFP10と無線接続を実行する。当該無線接続は、G/O状態のMFP10が形成している特定のWFDネットワークに参加するための通信処理(例えば、認証のための通信処理)を含む。これにより、携帯端末50は、クライアント機器として上記の特定のWFDネットワークに参加することができる。この結果、MFP10及び携帯端末50が同一のWFDネットワークに属することになる。   In S16, the control unit 70 executes wireless connection according to the information received in S14. When the information received in S14 is the WFD wireless setting, the control unit 70 performs wireless connection with the MFP 10 in the G / O state via the wireless LAN I / F 60 using the received WFD wireless setting. To do. The wireless connection includes a communication process (for example, a communication process for authentication) for participating in a specific WFD network formed by the MFP 10 in the G / O state. Thereby, the portable terminal 50 can participate in the specific WFD network as a client device. As a result, the MFP 10 and the portable terminal 50 belong to the same WFD network.

一方において、S14で受信された情報がAP情報である場合には、制御部70は、受信済みのAP情報を用いて、無線LANI/F60を介して、APと無線接続を実行する。当該無線接続は、受信済みのAP情報に含まれるSSIDによって識別される特定の通常Wi−Fiネットワークに参加するための通信処理(例えば、認証のための通信処理)を含む。これにより、携帯端末50は、上記の特定の通常Wi−Fiネットワークに参加することができる。この結果、MFP10及び携帯端末50が同一の通常Wi−Fiネットワークに属することになる。   On the other hand, when the information received in S14 is AP information, the control unit 70 performs wireless connection with the AP via the wireless LAN I / F 60 using the received AP information. The wireless connection includes a communication process for participating in a specific normal Wi-Fi network identified by the SSID included in the received AP information (for example, a communication process for authentication). Thereby, the portable terminal 50 can participate in said specific normal Wi-Fi network. As a result, the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi network.

なお、S16が実行される際に、携帯端末50が既にWFDネットワーク又は通常Wi−Fiネットワークに属している場合には、S16において、制御部70は、既存のネットワークから離脱して、上記の特定のWFDネットワーク又は特定の通常Wi−Fiネットワークに参加する。なお、制御部70は、上記の既存のネットワークから離脱する場合には、上記の既存のネットワークに再び参加するための無線設定(例えばSSID、パスワード等)をメモリ74に格納しておく。   When the mobile terminal 50 already belongs to the WFD network or the normal Wi-Fi network when S16 is executed, in S16, the control unit 70 leaves the existing network and performs the above identification. Participate in a WFD network or a specific regular Wi-Fi network. When the control unit 70 leaves the existing network, the control unit 70 stores in the memory 74 wireless settings (eg, SSID, password, etc.) for rejoining the existing network.

S16を終えると、S20において、制御部70は、無線LANI/F60を介して、印刷データをMFP10に送信する。例えば、携帯端末50が上記の特定のWFDネットワークに参加した場合には、S20では、制御部70は、上記の特定のWFDネットワークを利用して、G/O状態であるMFP10に印刷データを送信する。即ち、中継装置(例えばAP4a,4b)が印刷データを中継しなくても、携帯端末50からMFP10に印刷データが直接的に送信される。また、例えば、携帯端末50が上記の特定の通常Wi−Fiネットワークに参加した場合には、S20では、制御部70は、上記の特定の通常Wi−Fiネットワークを利用して、AP(例えば4a)を介して、MFP10に印刷データを送信する。   When S16 ends, in S20, the control unit 70 transmits print data to the MFP 10 via the wireless LAN I / F 60. For example, when the portable terminal 50 participates in the specific WFD network, in S20, the control unit 70 transmits print data to the MFP 10 in the G / O state using the specific WFD network. To do. That is, the print data is directly transmitted from the portable terminal 50 to the MFP 10 even if the relay device (for example, the APs 4a and 4b) does not relay the print data. Further, for example, when the mobile terminal 50 participates in the specific normal Wi-Fi network, in S20, the control unit 70 uses the specific normal Wi-Fi network to access an AP (for example, 4a ) To send print data to the MFP 10.

S20が終了すると、図2のアプリケーション処理が終了する。なお、S16において、携帯端末50が既存のネットワークから離脱した場合には、S20が終了すると、制御部70は、S16で参加した新たなネットワークから離脱して、S16でメモリ74に格納された無線設定を用いて、元のネットワークに再び参加する。一方において、S16において、携帯端末50が既存のネットワークから離脱しなかった場合には、S20が終了しても、制御部70は、上記の新たなネットワークに参加している状態を維持する。   When S20 ends, the application process of FIG. 2 ends. In S16, when the portable terminal 50 leaves the existing network, when S20 ends, the control unit 70 leaves the new network that participated in S16 and stores the wireless data stored in the memory 74 in S16. Use the settings to rejoin the original network. On the other hand, if the portable terminal 50 has not left the existing network in S16, the control unit 70 maintains the state of participating in the new network even when S20 ends.

(MFP10の通信処理;図3)
続いて、図3を参照して、MFP10の制御部30が実行する処理の内容を説明する。上述したように、図2のS12において、携帯端末50からMFP10にNFC情報が送信される。MFP10の受信部41は、携帯端末50から、NFCI/F22を介して、NFC情報を受信する。この場合、受信部41は、図3のS30でYESと判断して、S32に進む。
(Communication process of MFP 10; FIG. 3)
Next, the contents of processing executed by the control unit 30 of the MFP 10 will be described with reference to FIG. As described above, the NFC information is transmitted from the portable terminal 50 to the MFP 10 in S12 of FIG. The receiving unit 41 of the MFP 10 receives NFC information from the portable terminal 50 via the NFC I / F 22. In this case, the receiving unit 41 determines YES in S30 of FIG. 3, and proceeds to S32.

S32では、第1の判断部47は、MFP10の現在の状態がG/O状態であるのか否かを判断する(即ち、MFP10がG/O状態で動作してWFDネットワークに属しているのか否かを判断する)。メモリ34内のWFD状態値がG/O状態を示す場合には、第1の判断部47は、S32でYESと判断して、S34に進む。一方において、メモリ34内のWFD状態値がクライアント状態又はデバイス状態を示す場合には、第1の判断部47は、S32でNOと判断して、S36に進む。   In S32, the first determination unit 47 determines whether the current state of the MFP 10 is the G / O state (that is, whether the MFP 10 operates in the G / O state and belongs to the WFD network). Judgment) When the WFD state value in the memory 34 indicates the G / O state, the first determination unit 47 determines YES in S32 and proceeds to S34. On the other hand, when the WFD state value in the memory 34 indicates the client state or the device state, the first determination unit 47 determines NO in S32 and proceeds to S36.

S34では、第1の判断部47は、G/O状態のMFP10が形成しているWFDネットワークに属しているクライアント機器の数が、予め決められている最大値Nに一致するのか否かを判断する。なお、Nは、1でもよいし、2以上の整数であってもよい。クライアント機器の数が最大値Nに一致する場合には、第1の判断部47は、S34でYESと判断して、S41に進む。一方において、クライアント機器の数が最大値未満である場合には、第1の判断部47は、S34でNOと判断して、S40に進む。   In S34, the first determination unit 47 determines whether or not the number of client devices belonging to the WFD network formed by the MFP 10 in the G / O state matches the predetermined maximum value N. To do. N may be 1 or an integer of 2 or more. If the number of client devices matches the maximum value N, the first determination unit 47 determines YES in S34, and proceeds to S41. On the other hand, if the number of client devices is less than the maximum value, the first determination unit 47 determines NO in S34 and proceeds to S40.

S36では、第1の判断部47は、MFP10の現在の状態がクライアント状態であるのか否かを判断する(即ち、MFP10がクライアント状態で動作してWFDネットワークに属しているのか否かを判断する)。メモリ34内のWFD状態値がクライアント状態を示す場合には、第1の判断部47は、S36でYESと判断して、S41に進む。一方において、メモリ34内のWFD状態値がデバイス状態を示す場合、即ち、MFP10がWFDネットワークに属していない場合には、第1の判断部47は、S36でNOと判断して、S38に進む。   In S36, the first determination unit 47 determines whether the current state of the MFP 10 is the client state (that is, determines whether the MFP 10 operates in the client state and belongs to the WFD network). ). When the WFD state value in the memory 34 indicates the client state, the first determination unit 47 determines YES in S36 and proceeds to S41. On the other hand, when the WFD state value in the memory 34 indicates the device state, that is, when the MFP 10 does not belong to the WFD network, the first determination unit 47 determines NO in S36 and proceeds to S38. .

S38では、形成部49は、MFP10を自律G/Oモードに移行させる。上述したように、WFDネットワークが新たに形成されるべき際には、通常、G/Oネゴシエーションが実行されて、G/O機器とクライアント機器とが決定される。これに対し、自律G/Oモードでは、G/Oネゴシエーションが実行されずに、MFP10がG/O状態になることが決定される。S38の段階では、MFP10がG/O機器であるが、クライアント機器が存在しない。即ち、形成部49は、G/O機器(即ちMFP10)のみが属しているWFDネットワークを形成する。自律G/Oモードは、G/O状態で動作することをMFP10に維持させるモードである。例えば、MFP10がG/OネゴシエーションでG/O状態になってWFDネットワークを形成した場合には、当該WFDネットワークからクライアント機器がいなくなると、MFP10は、G/O状態からデバイス状態に移行する(即ち、WFDネットワークが消滅する)。これに対し、例えば、MFP10が自律G/OモードでG/O状態になってWFDネットワークを形成した場合には、クライアント機器がいなくても、MFP10は、G/O状態を維持する(即ち、WFDネットワークを維持する)。   In S38, the forming unit 49 shifts the MFP 10 to the autonomous G / O mode. As described above, when a WFD network is to be newly formed, G / O negotiation is normally performed to determine a G / O device and a client device. On the other hand, in the autonomous G / O mode, it is determined that the MFP 10 enters the G / O state without executing the G / O negotiation. In step S38, the MFP 10 is a G / O device, but there is no client device. That is, the forming unit 49 forms a WFD network to which only the G / O device (that is, the MFP 10) belongs. 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 to form the WFD network, and the client device disappears from the WFD network, the MFP 10 shifts from the G / O state to the device state (that is, , The WFD network disappears). On the other hand, for example, when the MFP 10 enters the G / O state in the autonomous G / O mode to form the WFD network, the MFP 10 maintains the G / O state even if there is no client device (that is, Maintain WFD network).

S38では、形成部49は、さらに、WFDネットワークで利用されるべきWFD無線設定(即ち、認証方式情報、暗号化方式情報、SSID、BSSID、及び、パスワード)を準備する。形成部49がWFD無線設定を準備する手法は、上述のとおりである。S38では、形成部49は、さらに、G/O状態を示すWFD状態値と、準備済みのWFD無線設定と、をメモリ34に格納させる。S38を終えると、S40に進む。   In S38, the forming unit 49 further prepares WFD wireless settings (that is, authentication method information, encryption method information, SSID, BSSID, and password) to be used in the WFD network. The method by which the forming unit 49 prepares the WFD wireless setting is as described above. In S <b> 38, the forming unit 49 further stores the WFD state value indicating the G / O state and the prepared WFD wireless setting in the memory 34. When S38 ends, the process proceeds to S40.

S40では、送信部42は、NFCI/F22を介して、メモリ34内のWFD無線設定を携帯端末50に送信する。上述したように、S40の処理は、S34でNOの場合、又は、S36でNOの場合(即ちS38を経た場合)に実行される。S34でNOの場合には、G/O状態のMFP10が形成しているWFDネットワークに属しているクライアント機器の数が、最大値未満である。従って、携帯端末50をクライアント機器としてWFDネットワークに参加させることができる。また、S36でNOの場合には、S38において、G/O状態のMFP10のみが属しているWFDネットワークが形成される。従って、携帯端末50をクライアント機器としてWFDネットワークに参加させることができる。S40では、携帯端末50をクライアント機器としてWFDネットワークに参加させるために、MFP10から携帯端末50にWFD無線設定が送信される。S40を終えると、S50に進む。   In S <b> 40, the transmission unit 42 transmits the WFD wireless setting in the memory 34 to the portable terminal 50 via the NFC I / F 22. As described above, the process of S40 is executed when S34 is NO or when S36 is NO (that is, when S38 is passed). If NO in S34, the number of client devices belonging to the WFD network formed by the MFP 10 in the G / O state is less than the maximum value. Therefore, the portable terminal 50 can be allowed to participate in the WFD network as a client device. If NO in S36, a WFD network to which only the MFP 10 in the G / O state belongs is formed in S38. Therefore, the portable terminal 50 can be allowed to participate in the WFD network as a client device. In S <b> 40, WFD wireless settings are transmitted from the MFP 10 to the portable terminal 50 in order to allow the portable terminal 50 to participate in the WFD network as a client device. When S40 ends, the process proceeds to S50.

一方において、S34でYESの場合、又は、S36でYESの場合には、S41が実行される。S41では、第2の判断部48は、MFP10が通常Wi−Fiネットワークに現在参加しているのか否かを判断する。第2の判断部48は、メモリ34内に通常Wi−Fi無線設定が格納されている場合には、S41でYESと判断してS49に進み、メモリ34内に通常Wi−Fi無線設定が格納されていない場合には、S41でNOと判断してS42に進む。   On the other hand, if YES in S34 or YES in S36, S41 is executed. In S <b> 41, the second determination unit 48 determines whether the MFP 10 is currently participating in the normal Wi-Fi network. If the normal Wi-Fi wireless setting is stored in the memory 34, the second determination unit 48 determines YES in S41, proceeds to S49, and stores the normal Wi-Fi wireless setting in the memory 34. If not, NO is determined in S41 and the process proceeds to S42.

S49では、送信部42は、MFP10が現在属している通常Wi−Fiネットワークに含まれるAP(即ち、MFP10との無線接続が確立されているAP)に関係するAP情報を準備する。具体的に言うと、送信部42は、メモリ34内の通常Wi−Fi無線設定を含むAP情報を準備する。そして、送信部42は、NFCI/F22を介して、準備済みのAP情報を携帯端末50に送信する。これにより、携帯端末50は、AP情報を用いて、通常Wi−Fiネットワークに参加する(図2のS16)。この結果、MFP10及び携帯端末50が同一の通常Wi−Fiネットワークに属することになる。S49が終了すると、S50に進む。   In S49, the transmission unit 42 prepares AP information related to an AP included in the normal Wi-Fi network to which the MFP 10 currently belongs (that is, an AP that has established a wireless connection with the MFP 10). Specifically, the transmission unit 42 prepares AP information including the normal Wi-Fi wireless setting in the memory 34. Then, the transmission unit 42 transmits the prepared AP information to the mobile terminal 50 via the NFC I / F 22. Thereby, the portable terminal 50 participates in the normal Wi-Fi network using the AP information (S16 in FIG. 2). As a result, the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi network. When S49 ends, the process proceeds to S50.

一方において、S41でNOの場合には、S42〜48の各処理が実行される。S34でYESの場合には、G/O状態のMFP10が形成しているWFDネットワークに属しているクライアント機器の数が、最大値Nに一致する。従って、携帯端末50をクライアント機器としてWFDネットワークに参加させることができない。また、S36でYESの場合には、クライアント状態のMFP10が、G/O状態である他の機器が形成しているWFDネットワークに属している。この場合、MFP10は、当該WFDネットワークに他の機器(即ち携帯端末50)を参加させるための権限を有していない。従って、携帯端末50をクライアント機器としてWFDネットワークに参加させることができない。さらに、S41でNOの場合には、MFP10が通常Wi−Fiネットワークに現在参加していない。このために、MFP10は、MFP10が現在参加している通常Wi−Fiネットワークに携帯端末50を参加させることもできない。このために、S42〜S48では、制御部30は、MFP10及び携帯端末50を同一の通常Wi−Fiネットワークに参加させるための処理を実行する。   On the other hand, if NO in S41, each process of S42 to 48 is executed. If YES in S34, the number of client devices belonging to the WFD network formed by the MFP 10 in the G / O state matches the maximum value N. Therefore, the portable terminal 50 cannot participate in the WFD network as a client device. If YES in S36, the MFP 10 in the client state belongs to the WFD network formed by another device in the G / O state. In this case, the MFP 10 does not have the authority to cause another device (that is, the portable terminal 50) to participate in the WFD network. Therefore, the portable terminal 50 cannot participate in the WFD network as a client device. Further, in the case of NO in S41, the MFP 10 is not currently participating in the normal Wi-Fi network. For this reason, the MFP 10 cannot allow the portable terminal 50 to participate in the normal Wi-Fi network in which the MFP 10 is currently participating. For this reason, in S42 to S48, the control unit 30 executes processing for causing the MFP 10 and the portable terminal 50 to participate in the same normal Wi-Fi network.

上述したように、本実施例では、携帯端末50をWFDネットワークに参加させることができるのであれば(S34でNO、S36でNO)、携帯端末50をWFDネットワークに参加させるための処理を実行する(S40)。これにより、一時的に形成されるべきWFDネットワークに携帯端末50を参加させることができる。この場合、通常Wi−Fi無線設定が携帯端末50に送信されないために、定常的に形成されるべき通常Wi−Fiネットワークのセキュリティが低下するのを抑制することができる。このような実情に鑑みて、本実施例では、携帯端末50をWFDネットワークに参加させることを優先し(S32〜S40)、それが不可能であれば、携帯端末50を通常Wi−Fiネットワークに参加させる(S41〜S49)。   As described above, in the present embodiment, if the portable terminal 50 can participate in the WFD network (NO in S34, NO in S36), a process for causing the portable terminal 50 to participate in the WFD network is executed. (S40). Thereby, the portable terminal 50 can be made to participate in the WFD network to be temporarily formed. In this case, since the normal Wi-Fi wireless setting is not transmitted to the portable terminal 50, it is possible to suppress a decrease in the security of the normal Wi-Fi network that is to be constantly formed. In view of such circumstances, in the present embodiment, priority is given to allowing the mobile terminal 50 to participate in the WFD network (S32 to S40). If this is not possible, the mobile terminal 50 is set to the normal Wi-Fi network. Let them participate (S41 to S49).

S42では、通信取得部44は、SSIDサーチを実行して、MFP10の周囲に存在するAPを検索する。このようにAPを検索するために、「通信取得部」を「検索部」と呼んでもよい。通信取得部44は、無線LANI/F20を介して、PReq信号を送信する。MFP10の周囲に存在するAP4a,4bのそれぞれは、MFP10からPReq信号を受信すると、PRes信号をMFP10に送信する。通信取得部44は、AP4a,4bのそれぞれから、無線LANI/F20を介して、PRes信号を受信する。即ち、本実施例では、通信取得部44は、SSIDサーチによって、2個のAP4a,4bを見つけることができる。   In S <b> 42, the communication acquisition unit 44 executes an SSID search to search for APs that exist around the MFP 10. In this way, in order to search for an AP, the “communication acquisition unit” may be referred to as a “search unit”. The communication acquisition unit 44 transmits a PReq signal via the wireless LAN I / F 20. Each of the APs 4 a and 4 b existing around the MFP 10 receives a PReq signal from the MFP 10 and transmits a PRes signal to the MFP 10. The communication acquisition unit 44 receives the PRes signal from each of the APs 4a and 4b via the wireless LAN I / F 20. That is, in this embodiment, the communication acquisition unit 44 can find two APs 4a and 4b by SSID search.

なお、仮に、MFP10の周囲にG/O機器が存在している場合には、当該G/O機器も、MFP10からPReq信号を受信すると、PRes信号をMFP10に送信する。従って、通信取得部44は、AP4a,4bのみならず、G/O機器からも、PRes信号を受信し得る。ただし、本実施例では、MFP10の周囲にG/O機器が存在しない場合を例として、以下の説明を続ける。   If there is a G / O device around the MFP 10, the G / O device also transmits a PRes signal to the MFP 10 when receiving the PReq signal from the MFP 10. Therefore, the communication acquisition unit 44 can receive the PRes signal not only from the APs 4a and 4b but also from the G / O device. However, in this embodiment, the following description will be continued by taking as an example a case where there is no G / O device around the MFP 10.

PRes信号は、APが現在利用しているSSIDと、APが現在利用している認証方式を示す認証方式情報と、APが現在利用している暗号化方式を示す暗号化方式情報と、APが実現する無線通信の通信速度を示す通信速度情報と、を含む。従って、通信取得部44は、PRes信号を受信することによって、当該PRes信号の送信元のAPを利用した無線通信に関係する情報を取得する。   The PRes signal includes an SSID currently used by the AP, authentication method information indicating an authentication method currently used by the AP, encryption method information indicating an encryption method currently used by the AP, and Communication speed information indicating the communication speed of the wireless communication to be realized. Therefore, the communication acquisition unit 44 acquires information related to wireless communication using the AP that is the transmission source of the PRes signal by receiving the PRes signal.

S44では、選択部43は、複数個のAP4a,4bの中から、1個のAPを選択する。上述したように、メモリ34は、MFP10が過去に参加した1個以上の通常Wi−Fiネットワークに対応する1個以上の参加情報を格納している。選択部43は、S42で取得された複数個のPRes信号に含まれる複数個のSSIDの中から、メモリ34内の1個以上の参加情報に含まれる1個以上のSSIDに一致する1個以上のSSIDを抽出する。次いで、選択部43は、抽出済みの1個以上のSSIDの中から1個のSSIDを選択することによって、1個のAPを選択する。なお、1個のAPを選択するための具体的な手法については、後で詳しく説明する。   In S44, the selection unit 43 selects one AP from the plurality of APs 4a and 4b. As described above, the memory 34 stores one or more pieces of participation information corresponding to one or more normal Wi-Fi networks in which the MFP 10 has participated in the past. The selection unit 43 selects one or more matching with one or more SSIDs included in one or more participation information in the memory 34 from among the plurality of SSIDs included in the plurality of PRes signals acquired in S42. To extract the SSID. Next, the selection unit 43 selects one AP by selecting one SSID from one or more extracted SSIDs. A specific method for selecting one AP will be described in detail later.

S46では、送信部42は、まず、選択済みのAPに関係するAP情報を準備する。具体的に言うと、送信部42は、S42のSSIDサーチにおいて、選択済みのAPから取得された認証方式情報、暗号化方式情報、SSID、及び、BSSIDを準備する。また、送信部42は、選択済みのAPから取得されたSSIDを含む参加情報をメモリ34から読み出して、当該参加情報にパスワードが含まれている場合には、当該パスワードを準備する。そして、送信部42は、NFCI/F22を介して、準備済みの各情報を含むAP情報を携帯端末50に送信する。   In S46, the transmission unit 42 first prepares AP information related to the selected AP. Specifically, the transmission unit 42 prepares authentication scheme information, encryption scheme information, SSID, and BSSID acquired from the selected AP in the SSID search of S42. In addition, the transmission unit 42 reads out participation information including the SSID acquired from the selected AP from the memory 34, and prepares the password when the participation information includes a password. Then, the transmission unit 42 transmits AP information including each prepared information to the portable terminal 50 via the NFC I / F 22.

S48では、通信実行部46は、S46で準備された各情報を用いて、無線LANI/F20を介して、選択済みのAPと無線接続を実行する。当該無線接続は、S46で準備されたSSIDによって識別される特定の通常Wi−Fiネットワークに参加するための通信処理を含む。これにより、MFP10は、上記の特定の通常Wi−Fiネットワークに参加することができる。上述したように、携帯端末50も、上記の特定の通常Wi−Fiネットワークに参加する(図2のS16)。この結果、MFP10及び携帯端末50が同一の通常Wi−Fiネットワークに属することになる。S48を終えると、S50に進む。   In S48, the communication execution unit 46 executes wireless connection with the selected AP via the wireless LAN I / F 20 using each information prepared in S46. The wireless connection includes a communication process for joining a specific normal Wi-Fi network identified by the SSID prepared in S46. Thereby, the MFP 10 can participate in the specific normal Wi-Fi network. As described above, the mobile terminal 50 also participates in the specific normal Wi-Fi network (S16 in FIG. 2). As a result, the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi network. When S48 ends, the process proceeds to S50.

S50では、通信実行部46は、携帯端末50から、無線LANI/F20を介して、印刷データを受信する。例えば、S40を経て実行されるS50では、通信実行部46は、クライアント状態の携帯端末50から、中継装置を介さずに、印刷データを直接的に受信する。また、例えば、S48又はS49を経て実行されるS50では、通信実行部46は、携帯端末50から、APを介して、印刷データを受信する。   In S <b> 50, the communication execution unit 46 receives print data from the portable terminal 50 via the wireless LAN I / F 20. For example, in S50 executed via S40, the communication execution unit 46 directly receives print data from the mobile terminal 50 in the client state without using a relay device. For example, in S50 executed via S48 or S49, the communication execution unit 46 receives print data from the portable terminal 50 via the AP.

次いで、S52では、制御部30は、印刷データを処理して(例えば、印刷実行部16が処理可能なデータに加工して)、処理済みデータを印刷実行部16に供給する。これにより、印刷実行部16は、処理済みデータに従って、印刷媒体に印刷を実行する。なお、S30で受信されたNFC情報に含まれるセキュリティ情報がセキュアを示す場合には、ユーザが当該セキュリティ情報に含まれるパスワードをMFP10に入力するまで、印刷実行部16は、印刷を開始しない(即ち印刷の実行を保留する)。一方において、S30で受信されたNFC情報に含まれるセキュリティ情報が非セキュアを示す場合には、印刷実行部16は、制御部30から処理済みデータを取得すると、ただちに印刷を開始する。S52が終了すると、図3の通信処理が終了する。なお、S48において、MFP10が新たな通常Wi−Fiネットワークに参加した場合には、S52が終了しても、制御部30は、上記の新たな通常Wi−Fiネットワークに参加している状態を維持する。   Next, in S <b> 52, the control unit 30 processes the print data (for example, processes the data into data that can be processed by the print execution unit 16), and supplies the processed data to the print execution unit 16. Thereby, the print execution unit 16 executes printing on the print medium according to the processed data. When the security information included in the NFC information received in S30 indicates secure, the print execution unit 16 does not start printing until the user inputs the password included in the security information to the MFP 10 (that is, Suspend printing.) On the other hand, when the security information included in the NFC information received in S30 indicates non-secure, the print execution unit 16 starts printing immediately after obtaining processed data from the control unit 30. When S52 ends, the communication process of FIG. 3 ends. In S48, when the MFP 10 joins the new normal Wi-Fi network, the control unit 30 maintains the state of joining the new normal Wi-Fi network even when S52 ends. To do.

印刷データは、NFC通信によって通信される情報(上記のNFC情報、WFD無線設定、AP情報等)と比べて、大きいデータサイズを有する。上述したように、NFC通信の通信速度は、WFD通信又は通常Wi−Fi通信の通信速度よりも遅い。従って、仮に、MFP10及び携帯端末50の間で、NFC通信を利用して、印刷データの無線通信が実行される構成を採用すると、印刷データの無線通信のために長時間を要する。このような実情に鑑みて、本実施例では、MFP10は、図3のS40、S46、又は、S49を実行して、WFD無線設定又はAP情報を携帯端末50に送信する。これにより、MFP10及び携帯端末50は、無線LANI/F20を介して、印刷データのWFD通信又は通常Wi−Fi通信を実行することができ、この結果、印刷データの無線通信を迅速に実行することができる。   The print data has a larger data size than information communicated by NFC communication (NFC information, WFD wireless setting, AP information, etc.). As described above, the communication speed of NFC communication is slower than the communication speed of WFD communication or normal Wi-Fi communication. Accordingly, if a configuration in which print data wireless communication is executed using NFC communication between the MFP 10 and the portable terminal 50 is employed, a long time is required for the print data wireless communication. In view of such circumstances, in this embodiment, the MFP 10 executes S40, S46, or S49 in FIG. 3 and transmits the WFD wireless setting or the AP information to the portable terminal 50. As a result, the MFP 10 and the portable terminal 50 can execute print data WFD communication or normal Wi-Fi communication via the wireless LAN I / F 20, and as a result, perform print data wireless communication quickly. Can do.

上述したように、携帯端末50が、中継装置を介さない直接無線通信をMFP10と実行するための特定の態様(即ち、MFP10がG/O状態であり、かつ、携帯端末50がクライアント状態である態様)で、WFDネットワークに参加することが可能である場合(即ち、図3のS34でNOの場合、又は、S38が実行される場合)に、MFP10は、携帯端末50がWFDネットワークに参加するための無線設定を、携帯端末50に送信する(S40)。一方において、携帯端末50が、上記の特定の態様でWFDネットワークに参加することが可能でない場合(即ち、図3のS34でYESの場合、又は、S36でYESの場合)に、携帯端末50が通常Wi−Fiネットワークに参加するための無線設定を、携帯端末50に送信する(S46、S49)。従って、MFP10は、携帯端末50が上記の特定の態様でWFDネットワークに参加することが可能であるのか否かに応じて、適切な無線設定を携帯端末50に送信することができる。このために、MFP10は、WFDネットワーク又は通常Wi−Fiネットワークに携帯端末50を適切に参加させることができる。この結果、MFP10は、WFDネットワーク又は通常Wi−Fiネットワークを利用して、携帯端末50と対象データの無線通信を適切に実行することができる(S50)。   As described above, the mobile terminal 50 is in a specific mode for executing direct wireless communication with the MFP 10 without using a relay device (that is, the MFP 10 is in the G / O state, and the mobile terminal 50 is in the client state. In the aspect, when it is possible to participate in the WFD network (that is, when NO in S34 of FIG. 3 or when S38 is executed), the MFP 10 causes the portable terminal 50 to participate in the WFD network. The wireless setting for this is transmitted to the portable terminal 50 (S40). On the other hand, when the portable terminal 50 is not able to participate in the WFD network in the above-described specific mode (that is, when YES in S34 of FIG. 3 or YES in S36), the portable terminal 50 The wireless setting for participating in the normal Wi-Fi network is transmitted to the portable terminal 50 (S46, S49). Therefore, the MFP 10 can transmit an appropriate wireless setting to the portable terminal 50 depending on whether or not the portable terminal 50 can participate in the WFD network in the above-described specific mode. For this reason, the MFP 10 can appropriately cause the mobile terminal 50 to participate in the WFD network or the normal Wi-Fi network. As a result, the MFP 10 can appropriately perform wireless communication between the portable terminal 50 and the target data using the WFD network or the normal Wi-Fi network (S50).

(実施例1−1)
続いて、図3のS44のAP選択処理の内容について説明する。S44では、選択部43は、まず、抽出済みの1個以上のSSIDのそれぞれについて、当該SSIDの取得元のAPが現在利用している暗号化方式(即ち、当該SSIDを含むPRes信号に含まれる暗号化方式情報)を確認する。そして、NFC情報に含まれるセキュリティ情報がセキュアを示す場合、即ち、セキュリティ情報にパスワードが含まれる場合には、選択部43は、印刷データのセキュリティが高いと判断する。この場合、選択部43は、「AES」が確認された1個のSSIDを選択することによって、1個のAPを選択する。一方において、NFC情報に含まれるセキュリティ情報が非セキュアを示す場合、即ち、セキュリティ情報にパスワードが含まれない場合には、選択部43は、印刷データのセキュリティが低いと判断する。この場合、選択部43は、「AES」以外の暗号化方式(例えば「TKIP」、「WEP」)が確認された1個のSSIDを選択することによって、1個のAPを選択する。
(Example 1-1)
Next, the contents of the AP selection process in S44 of FIG. 3 will be described. In S44, the selection unit 43 first includes, for each of the one or more extracted SSIDs, the encryption method currently used by the AP from which the SSID is acquired (that is, included in the PRes signal including the SSID). Confirm the encryption method information. If the security information included in the NFC information indicates secure, that is, if the security information includes a password, the selection unit 43 determines that the security of the print data is high. In this case, the selection unit 43 selects one AP by selecting one SSID in which “AES” is confirmed. On the other hand, when the security information included in the NFC information indicates non-secure, that is, when the password is not included in the security information, the selection unit 43 determines that the security of the print data is low. In this case, the selection unit 43 selects one AP by selecting one SSID for which an encryption method other than “AES” (for example, “TKIP”, “WEP”) is confirmed.

なお、NFC情報に含まれるセキュリティ情報がセキュアを示す場合において、「AES」が確認されたSSIDが存在しない場合には、選択部43は、「AES」以外の暗号化方式が確認されたSSIDを選択してもよい。また、NFC情報に含まれるセキュリティ情報が非セキュアを示す場合において、「AES」以外の暗号化方式が確認されたSSIDが存在しない場合には、選択部43は、「AES」が確認されたSSIDを選択してもよい。即ち、選択部43は、抽出済みの1個以上のSSIDの中に、条件を満たすSSIDが存在しない場合には、所定の手法(例えばランダムに選択する手法)を用いて、SSIDを選択してもよい。この点は、以下の各実施例でも同様である。   When the security information included in the NFC information indicates secure and there is no SSID in which “AES” is confirmed, the selection unit 43 selects an SSID in which an encryption method other than “AES” is confirmed. You may choose. When the security information included in the NFC information indicates non-secure, and there is no SSID for which an encryption method other than “AES” has been confirmed, the selection unit 43 determines that the SSID for which “AES” has been confirmed. May be selected. That is, the selection unit 43 selects a SSID using a predetermined method (for example, a method of selecting at random) when there is no SSID that satisfies the condition in one or more extracted SSIDs. Also good. This is the same in the following embodiments.

(実施例1−1の具体例;図4)
続いて、図4を参照して、実施例1−1の具体例を説明する。図4において、MFP10及び携帯端末50の間の一本線の矢印は、NFCI/F22,62を介した無線通信を示し、MFP10及び携帯端末50の間の二本線の矢印は、無線LANI/F20,60を介した無線通信を示す。AP4aは、SSID「aaa」、暗号化方式「AES」、及び、認証方式「WPA2」を現在利用しており、通信速度「100Mbps」を実現する。AP4bは、SSID「bbb」、暗号化方式「TKIP」、及び、認証方式「WPA」を現在利用しており、通信速度「10Mbps」を実現する。なお、AP4a及びAp4bが現在利用しているBSSIDは、図示省略している。
(Specific example of Example 1-1; FIG. 4)
Next, a specific example of Example 1-1 will be described with reference to FIG. In FIG. 4, a single line arrow between the MFP 10 and the portable terminal 50 indicates wireless communication via the NFC I / Fs 22 and 62, and a double line arrow between the MFP 10 and the portable terminal 50 indicates the wireless LAN I / F 20, 60 shows wireless communication via 60. The AP 4a currently uses the SSID “aaa”, the encryption method “AES”, and the authentication method “WPA2”, and realizes the communication speed “100 Mbps”. The AP 4b currently uses the SSID “bbb”, the encryption method “TKIP”, and the authentication method “WPA”, and realizes the communication speed “10 Mbps”. The BSSID currently used by the AP 4a and the Ap 4b is not shown.

また、図4では、MFP10がG/O状態としてWFDネットワークを形成しているが、クライアント数が最大値Nであり、携帯端末50をWFDネットワークに参加させることができない。また、MFP10は、通常Wi−Fiネットワークに現在参加していない。MFP10は、AP4aが形成している通常Wi−Fiネットワーク、及び、AP4bが形成している通常Wi−Fiネットワークの両方に過去に参加したことがある。従って、MFP10のメモリ34は、AP4aに対応する参加情報と、AP4bに対応する参加情報と、を格納している。   In FIG. 4, the MFP 10 forms the WFD network in the G / O state, but the number of clients is the maximum value N, and the portable terminal 50 cannot participate in the WFD network. Further, the MFP 10 is not currently participating in the normal Wi-Fi network. The MFP 10 has participated in both the normal Wi-Fi network formed by the AP 4a and the normal Wi-Fi network formed by the AP 4b in the past. Therefore, the memory 34 of the MFP 10 stores participation information corresponding to the AP 4a and participation information corresponding to the AP 4b.

MFP10は、携帯端末50から、NFCI/F22を介して、NFC情報を受信すると(図3のS30でYES)、S32でYES、S34でYES、S41でNOと判断して、SSIDサーチを実行する(S42)。これにより、MFP10は、AP4a,4bのそれぞれから、PRes信号を受信する。   When the MFP 10 receives NFC information from the portable terminal 50 via the NFC I / F 22 (YES in S30 of FIG. 3), the MFP 10 determines YES in S32, YES in S34, and NO in S41, and executes the SSID search. (S42). Thereby, the MFP 10 receives the PRes signal from each of the APs 4a and 4b.

図4のケースAでは、NFC情報に含まれるセキュリティ情報がセキュアを示す。従って、MFP10は、複数個のAP4a,4bの中から、暗号化方式「AES」を現在利用しているAP4aを選択する(S44)。次いで、MFP10は、NFCI/F22を介して、AP4aを示すSSID「aaa」を含むAP情報を携帯端末50に送信する(S46)。次いで、MFP10は、AP4aと無線接続を実行して、AP4aが形成している通常Wi−Fiネットワークに参加する(S48)。   In case A of FIG. 4, the security information included in the NFC information indicates secure. Accordingly, the MFP 10 selects the AP 4a that currently uses the encryption method “AES” from the plurality of APs 4a and 4b (S44). Next, the MFP 10 transmits AP information including the SSID “aaa” indicating the AP 4a to the portable terminal 50 via the NFC I / F 22 (S46). Next, the MFP 10 establishes a wireless connection with the AP 4a and joins the normal Wi-Fi network formed by the AP 4a (S48).

同様に、携帯端末50も、AP4aと無線接続を実行して、AP4aが形成している通常Wi−Fiネットワークに参加する(図2のS16)。次いで、携帯端末50は、無線LANI/F60を介して、印刷データをAP4aに送信する(S20)。AP4aは、印刷データをMFP10に送信する。この結果、MFP10は、無線LANI/F20を介して、印刷データを受信して(図3のS50)、印刷処理を実行する(S52)。   Similarly, the portable terminal 50 also performs wireless connection with the AP 4a and participates in the normal Wi-Fi network formed by the AP 4a (S16 in FIG. 2). Next, the portable terminal 50 transmits the print data to the AP 4a via the wireless LAN I / F 60 (S20). The AP 4a transmits print data to the MFP 10. As a result, the MFP 10 receives the print data via the wireless LAN I / F 20 (S50 in FIG. 3), and executes the printing process (S52).

一方において、図4のケースBでは、NFC情報に含まれるセキュリティ情報が非セキュアを示す。従って、MFP10は、複数個のAP4a,4bの中から、暗号化方式「TKIP」を現在利用しているAP4bを選択する(S44)。次いで、MFP10は、NFCI/F22を介して、AP4bを示すSSID「bbb」を含むAP情報を携帯端末50に送信する(S46)。次いで、MFP10は、AP4bと無線接続を実行して、AP4bが形成している通常Wi−Fiネットワークに参加する(S48)。これにより、MFP10は、無線LANI/F20を介して、印刷データを受信して(S50)、印刷処理を実行する(S52)。   On the other hand, in case B of FIG. 4, the security information included in the NFC information indicates non-secure. Therefore, the MFP 10 selects the AP 4b that currently uses the encryption method “TKIP” from the plurality of APs 4a and 4b (S44). Next, the MFP 10 transmits AP information including the SSID “bbb” indicating the AP 4b to the portable terminal 50 via the NFC I / F 22 (S46). Next, the MFP 10 performs a wireless connection with the AP 4b and participates in the normal Wi-Fi network formed by the AP 4b (S48). Thereby, the MFP 10 receives the print data via the wireless LAN I / F 20 (S50), and executes the printing process (S52).

上述したように、本実施例では、携帯端末50のユーザによって印刷データに対してパスワードが設定される場合、即ち、印刷データのセキュリティが高い場合には、選択部43は、高セキュリティの暗号化方式「AES」を利用している1個のAPを選択する。これにより、高セキュリティの印刷データの通信が、高セキュリティの暗号化方式「AES」に従って実行される。即ち、MFP10は、携帯端末50のユーザの意図(即ち高セキュリティ)に応じて、適切なAPを選択することができる。   As described above, in this embodiment, when the password of the print data is set by the user of the portable terminal 50, that is, when the security of the print data is high, the selection unit 43 performs high-security encryption. One AP using the method “AES” is selected. Accordingly, high-security print data communication is executed according to the high-security encryption method “AES”. That is, the MFP 10 can select an appropriate AP according to the user's intention (that is, high security) of the mobile terminal 50.

一方において、携帯端末50のユーザによって印刷データに対してパスワードが設定されない場合、即ち、印刷データのセキュリティが低い場合には、選択部43は、低セキュリティの暗号化方式(例えば「TKIP」、「WEP」)を利用している1個のAPを選択する。これにより、低セキュリティの印刷データの通信が、低セキュリティの暗号化方式に従って実行される。携帯端末50のユーザの意図が低セキュリティであるために、低セキュリティの暗号化方式が利用されても問題ない。仮に、印刷データのセキュリティの高低に関わらず、高セキュリティの暗号化方式「AES」を利用しているAPを必ず選択する構成が採用されると、当該APが形成している通常Wi−Fiネットワークに参加する機器の数が多くなってしまい、当該APの負荷が大きくなる。即ち、低セキュリティの印刷データの通信が実行されるべき状況において、高セキュリティの暗号化方式「AES」を利用しているAPを選択する構成が採用されると、当該APと高セキュリティのデータ通信を実行すべきクライアント機器の通信に支障を来すおそれがある。本実施例では、携帯端末50のユーザの意図が低セキュリティである場合に、低セキュリティの暗号化方式を利用しているAPを選択する構成を採用することによって、複数個のAP4a,4bのうちの一部のAPのみが大きな負荷を有する事象が発生するのを適切に抑制することができる。   On the other hand, when the password of the print data is not set by the user of the portable terminal 50, that is, when the security of the print data is low, the selection unit 43 uses a low security encryption method (for example, “TKIP”, “ One AP using WEP ") is selected. As a result, low-security print data communication is executed according to the low-security encryption method. Since the intention of the user of the portable terminal 50 is low security, there is no problem even if a low security encryption method is used. If a configuration that always selects an AP that uses the high security encryption method “AES” regardless of whether the print data security is high or low is adopted, a normal Wi-Fi network formed by the AP is formed. As a result, the number of devices participating in the network increases and the load on the AP increases. In other words, in a situation where low-security print data communication is to be performed, if a configuration is adopted in which an AP that uses the high-security encryption method “AES” is selected, the AP and the high-security data communication are performed. May interfere with the communication of the client device that should execute In this embodiment, when the intention of the user of the portable terminal 50 is low security, by adopting a configuration that selects an AP using a low security encryption method, a plurality of APs 4a and 4b are selected. It is possible to appropriately suppress the occurrence of an event in which only some of the APs have a large load.

(対応関係)
MFP10、携帯端末50が、それぞれ、「第1の通信装置」、「第2の通信装置」の一例である。NFCI/F22、無線LANI/F20が、それぞれ、「第1種のインターフェース」、「第2種のインターフェース」の一例である。複数個のAP4a,4b、選択済みのAPが、それぞれ、「複数個の中継装置」、「1個の中継装置」の一例である。印刷データが、「対象データ」の一例である。AP情報、PRes信号が、それぞれ、「中継装置情報」、「通信関係情報」の一例である。印刷データに対するパスワードを設定するのか否かに応じたセキュリティ情報が、「データ関係情報」及び「処理関係情報」の一例である。また、図4の例では、「AES」、「TKIP」が、それぞれ、「第1の暗号化方式」、「第2の暗号化方式」の一例である。
(Correspondence)
The MFP 10 and the portable terminal 50 are examples of “first communication device” and “second communication device”, respectively. The NFC I / F 22 and the wireless LAN I / F 20 are examples of the “first type interface” and the “second type interface”, respectively. The plurality of APs 4a and 4b and the selected AP are examples of “a plurality of relay apparatuses” and “one relay apparatus”, respectively. The print data is an example of “target data”. The AP information and the PRes signal are examples of “relay device information” and “communication related information”, respectively. Security information according to whether or not a password for print data is set is an example of “data relation information” and “processing relation information”. In the example of FIG. 4, “AES” and “TKIP” are examples of “first encryption method” and “second encryption method”, respectively.

(実施例1−2)
図5を参照して、他の各実施例1−2〜1−9について説明する。各実施例1−2〜1−9は、図3のS44の内容が、実施例1−1とは異なる。
(Example 1-2)
Other Examples 1-2 to 1-9 will be described with reference to FIG. Each Example 1-2 to 1-9 differs from Example 1-1 in the content of S44 of FIG.

実施例1−2では、図3のS44において、選択部43は、まず、抽出済みの1個以上のSSIDのそれぞれについて、当該SSIDの取得元のAPが現在利用している認証方式(即ち、当該SSIDを含むPRes信号に含まれる認証方式情報)を確認する。そして、NFC情報に含まれるセキュリティ情報がセキュアを示す場合には、選択部43は、「WPA2」が確認された1個のSSIDを選択することによって、1個のAP(図4の例では、「WPA2」を現在利用しているAP4a)を選択する。一方において、NFC情報に含まれるセキュリティ情報が非セキュアを示す場合には、選択部43は、「WPA2」以外の認証方式(例えば「WPA」、「Open」)が確認された1個のSSIDを選択することによって、1個のAP(図4の例では、「WPA」を現在利用しているAP4b)を選択する。   In Example 1-2, in S44 of FIG. 3, the selection unit 43 first, for each of one or more extracted SSIDs, the authentication method currently used by the AP from which the SSID is acquired (that is, The authentication method information included in the PRes signal including the SSID is confirmed. When the security information included in the NFC information indicates secure, the selection unit 43 selects one SSID in which “WPA2” is confirmed, thereby selecting one AP (in the example of FIG. 4, Select AP4a) currently using “WPA2”. On the other hand, when the security information included in the NFC information indicates non-secure, the selection unit 43 selects one SSID for which an authentication method other than “WPA2” (for example, “WPA”, “Open”) has been confirmed. By selecting, one AP (AP4b currently using “WPA” in the example of FIG. 4) is selected.

本実施例では、高セキュリティの印刷データの通信が、高セキュリティの認証方式「WPA2」に従って実行される。即ち、MFP10は、携帯端末50のユーザの意図(即ち高セキュリティ)に応じて、適切なAPを選択することができる。また、MFP10は、携帯端末50のユーザの意図が低セキュリティである場合に、低セキュリティの認証方式を利用しているAPを選択する。これにより、一部のAPのみが大きな負荷を有する事象が発生するのを適切に抑制することができる。なお、本実施例では、「WPA2」、「WPA」が、それぞれ、「第1の認証方式」、「第2の認証方式」の一例である。   In this embodiment, high-security print data communication is executed according to the high-security authentication method “WPA2”. That is, the MFP 10 can select an appropriate AP according to the user's intention (that is, high security) of the mobile terminal 50. Further, when the intention of the user of the mobile terminal 50 is low security, the MFP 10 selects an AP that uses a low security authentication method. Thereby, it can suppress appropriately that the event which only some AP has a big load generate | occur | produces. In this embodiment, “WPA2” and “WPA” are examples of the “first authentication method” and the “second authentication method”, respectively.

(実施例1−3)
実施例1−1では、携帯端末50のユーザは、印刷データに対してパスワードを設定するのか否かを選択するための操作を、操作部52に加える。そして、携帯端末50は、当該選択に応じて、セキュリティ情報を生成する。これに代えて、実施例1−3では、携帯端末50のユーザは、印刷データを暗号化するのか否かを選択するための操作を、操作部52に加える。
(Example 1-3)
In Example 1-1, the user of the portable terminal 50 adds an operation to the operation unit 52 to select whether or not to set a password for the print data. And the portable terminal 50 produces | generates security information according to the said selection. Instead, in Example 1-3, the user of the mobile terminal 50 adds an operation for selecting whether or not to encrypt the print data to the operation unit 52.

第1の例では、MFP10及び携帯端末50が、共通鍵を有している状況を想定する。印刷データを暗号化することがユーザによって選択される場合には、携帯端末50の制御部70は、共通鍵を利用して印刷データを暗号化し、MFP10の制御部30は、共通鍵を利用して印刷データを復号化する。一方において、印刷データを暗号化しないことがユーザによって選択される場合には、携帯端末50の制御部70は、印刷データを暗号化しない。   In the first example, it is assumed that the MFP 10 and the portable terminal 50 have a common key. When the user selects to encrypt the print data, the control unit 70 of the portable terminal 50 encrypts the print data using the common key, and the control unit 30 of the MFP 10 uses the common key. To decrypt the print data. On the other hand, when the user selects not to encrypt the print data, the control unit 70 of the portable terminal 50 does not encrypt the print data.

また、第2の例では、印刷データのデータ形式がPDF(Portable Document Formatの略)である状況を想定する。印刷データを暗号化することがユーザによって選択される場合には、携帯端末50の制御部70は、予め決められている電子署名を利用して印刷データを暗号化し、署名PDFのデータ形式を有する印刷データを準備する。そして、MFP10の制御部30は、携帯端末50から印刷データが受信されると、予め決められている電子署名を利用して、署名PDFのデータ形式を有する印刷データを復号化する。一方において、印刷データを暗号化しないことがユーザによって選択される場合には、携帯端末50の制御部70は、印刷データを暗号化しない(即ち、通常のPDFのデータ形式を有する印刷データを準備する)。   In the second example, a situation is assumed in which the data format of the print data is PDF (abbreviation of Portable Document Format). When the user selects to encrypt the print data, the control unit 70 of the portable terminal 50 encrypts the print data using a predetermined electronic signature, and has a signature PDF data format. Prepare print data. When the print data is received from the portable terminal 50, the control unit 30 of the MFP 10 decrypts the print data having the signature PDF data format by using a predetermined digital signature. On the other hand, when the user selects not to encrypt the print data, the control unit 70 of the portable terminal 50 does not encrypt the print data (that is, prepares print data having a normal PDF data format). To do).

上記の第1の例及び第2の例のどちらでも、印刷データを暗号化することが選択される場合は、印刷データを暗号化しないことが選択される場合と比較して、印刷データのセキュリティが高い。図2のS11では、携帯端末50の制御部70は、印刷データを暗号化することが選択された場合には、セキュアを示すセキュリティ情報を生成し、印刷データを暗号化しないことが選択された場合には、非セキュアを示すセキュリティ情報を生成する。この点が、実施例1−1とは異なる。その他の点は、実施例1−1と同様である。   In both the first example and the second example, when the print data is selected to be encrypted, the print data security is compared with the case where the print data is not encrypted. Is expensive. In S <b> 11 of FIG. 2, when it is selected that the print data is to be encrypted, the control unit 70 of the mobile terminal 50 has selected to generate security information indicating security and not to encrypt the print data. In this case, security information indicating non-secure is generated. This point is different from Example 1-1. The other points are the same as in Example 1-1.

本実施例でも、実施例1−1と同様の効果を得ることができる。なお、本実施例では、印刷データを暗号化するのか否かに応じたセキュリティ情報が、「データ関係情報」及び「処理関係情報」の一例である。   Also in this embodiment, the same effect as that of Embodiment 1-1 can be obtained. In this embodiment, the security information corresponding to whether or not the print data is encrypted is an example of “data relation information” and “processing relation information”.

(実施例1−4)
実施例1−4は、実施例1−3と同様に、セキュリティ情報は、印刷データを暗号化するのか否かに応じて決定される。また、実施例1−2と同様に、選択部43は、セキュリティ情報がセキュアを示す場合には、「WPA2」を利用している1個のAPを選択し、「WPA2」以外の認証方式を利用している1個のAPを選択する。本実施例でも、実施例1−2と同様の効果を得ることができる。
(Example 1-4)
In the embodiment 1-4, as in the embodiment 1-3, the security information is determined depending on whether or not the print data is encrypted. Similarly to the embodiment 1-2, when the security information indicates secure, the selection unit 43 selects one AP using “WPA2” and selects an authentication method other than “WPA2”. Select one AP being used. Also in this embodiment, the same effect as that of Embodiment 1-2 can be obtained.

(実施例1−5)
実施例1−5では、図2のS11において、携帯端末50の制御部70は、セキュリティ情報の代わりに、印刷データのデータサイズを示すサイズ情報を含むNFC情報を生成する。また、図3のS44において、選択部43は、まず、抽出済みの1個以上のSSIDのそれぞれについて、当該SSIDの取得元のAPが実現する通信速度(即ち、当該SSIDを含むPRes信号に含まれる通信速度情報)を確認する。そして、NFC情報に含まれるサイズ情報が予め決められている閾値以上である場合には、選択部43は、100Mbps以上の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。一方において、NFC情報に含まれるサイズ情報が上記の閾値未満である場合には、選択部43は、100Mbps未満の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。
(Example 1-5)
In Example 1-5, in S <b> 11 of FIG. 2, the control unit 70 of the mobile terminal 50 generates NFC information including size information indicating the data size of print data, instead of security information. Further, in S44 of FIG. 3, the selection unit 43 first includes, for each of one or more extracted SSIDs, the communication speed realized by the AP from which the SSID is acquired (that is, included in the PRes signal including the SSID). Communication speed information). If the size information included in the NFC information is greater than or equal to a predetermined threshold, the selection unit 43 selects one SSID (ie, one AP) that has been confirmed to have a communication speed of 100 Mbps or higher. To do. On the other hand, when the size information included in the NFC information is less than the above threshold, the selection unit 43 selects one SSID (that is, one AP) that has been confirmed to have a communication speed of less than 100 Mbps.

本実施例では、印刷データのデータサイズが大きい状況では、高速の通信速度を実現する1個のAPが選択される。これにより、データサイズが大きい印刷データの通信に必要な時間を短縮することができる。一方において、印刷データのデータサイズが小さい状況では、低速の通信速度を実現する1個のAPが選択される。印刷データのデータサイズが小さいために、低速の通信速度が利用されても、印刷データの通信に必要な時間が長くならずに済む。仮に、印刷データのデータサイズの大小に関わらず、高速の通信速度を実現するAPを必ず選択する構成が採用されると、当該APの負荷が大きくなる。即ち、データサイズが小さい印刷データの通信が実行されるべき状況において、高速の通信速度を実現するAPを選択する構成が採用されると、当該APとデータサイズが大きいデータの通信を実行すべきクライアント機器の通信に支障を来すおそれがある。本実施例によると、一部のAPのみが大きな負荷を有する事象が発生するのを適切に抑制することができる。   In this embodiment, in a situation where the data size of the print data is large, one AP that realizes a high communication speed is selected. Thereby, the time required for communication of print data having a large data size can be shortened. On the other hand, in a situation where the data size of the print data is small, one AP that realizes a low communication speed is selected. Since the data size of the print data is small, even if a low communication speed is used, the time required for print data communication does not have to be long. If a configuration that always selects an AP that realizes a high communication speed regardless of the size of the print data is employed, the load on the AP increases. That is, in a situation where communication of print data with a small data size is to be executed, if a configuration for selecting an AP that realizes a high communication speed is adopted, communication of data with a large data size should be executed with the AP. There is a risk of hindering communication with client devices. According to the present embodiment, it is possible to appropriately suppress the occurrence of an event in which only some APs have a large load.

(実施例1−6)
実施例1−6では、図2のS11において、携帯端末50の制御部70は、セキュリティ情報の代わりに、印刷データのデータ形式を示す形式情報を含むNFC情報を生成する。また、図3のS44において、NFC情報に含まれる形式情報が「非圧縮Bitmap」を示す場合には、選択部43は、100Mbps以上が確認された1個のSSID(即ち1個のAP)を選択する。一方において、NFC情報に含まれる形式情報が「非圧縮Bitmap」以外のデータ形式(例えば「PDF」、「JPEG」等)を示す場合には、選択部43は、100Mbps未満の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。
(Example 1-6)
In Example 1-6, in S11 of FIG. 2, the control unit 70 of the portable terminal 50 generates NFC information including format information indicating the data format of the print data, instead of the security information. 3, if the format information included in the NFC information indicates “uncompressed Bitmap”, the selection unit 43 selects one SSID (ie, one AP) for which 100 Mbps or more has been confirmed. select. On the other hand, when the format information included in the NFC information indicates a data format other than “uncompressed Bitmap” (for example, “PDF”, “JPEG”, etc.), the selection unit 43 is confirmed to have a communication speed of less than 100 Mbps. One SSID (ie, one AP) is selected.

MFP10が印刷データを処理するための処理速度は、印刷データのデータ形式に依存する。例えば、「非圧縮Bitmap」のデータ形式を有する印刷データのための処理速度は、「PDF」のデータ形式を有する印刷データのための処理速度よりも速い。本実施例では、印刷データのデータ形式が「非圧縮Bitmap」である状況では、高速の通信速度を実現する1個のAPが選択される。これにより、MFP10は、印刷データを高速で受信しながら、印刷データを高速で処理することができ、この結果、印刷物をユーザに迅速に提供することができる。   The processing speed for the MFP 10 to process the print data depends on the data format of the print data. For example, the processing speed for print data having a data format of “uncompressed bitmap” is faster than the processing speed for print data having a data format of “PDF”. In the present embodiment, in a situation where the data format of the print data is “uncompressed bitmap”, one AP that realizes a high communication speed is selected. Thereby, the MFP 10 can process the print data at a high speed while receiving the print data at a high speed, and as a result, the printed matter can be quickly provided to the user.

また、本実施例では、印刷データのデータ形式が「非圧縮Bitmap」以外である状況では、低速の通信速度を実現する1個のAPが選択される。仮に、印刷データのデータ形式が「非圧縮Bitmap」以外である状況において、高速の通信速度を実現するAPが選択される構成を採用すると、MFP10において、印刷データの受信速度が、印刷データの処理速度よりも速くなり、この結果、印刷データを受信しても、印刷データを迅速に処理することができない可能性がある。このような実情に鑑みて、本実施例では、MFP10は、印刷データのデータ形式が「非圧縮Bitmap」以外である状況では、低速の通信速度を実現する1個のAPを選択する。これにより、一部のAPのみが大きな負荷を有する事象が発生するのを適切に抑制することができる。なお、本実施例では、例えば、「非圧縮Bitmap」、「PDF」が、それぞれ、「第1のデータ形式」、「第2のデータ形式」の一例である。   In this embodiment, in a situation where the data format of the print data is other than “uncompressed bitmap”, one AP that realizes a low communication speed is selected. If the configuration in which an AP that realizes a high communication speed is selected in a situation where the data format of the print data is other than “uncompressed bitmap”, the MFP 10 receives the print data at a print data processing speed. As a result, even if the print data is received, the print data may not be processed quickly. In view of such a situation, in this embodiment, the MFP 10 selects one AP that realizes a low communication speed in a situation where the data format of the print data is other than “uncompressed Bitmap”. Thereby, it can suppress appropriately that the event which only some AP has a big load generate | occur | produces. In this embodiment, for example, “uncompressed Bitmap” and “PDF” are examples of “first data format” and “second data format”, respectively.

(実施例1−7)
実施例1−7では、図2のS11において、携帯端末50の制御部70は、セキュリティ情報の代わりに、携帯端末50のCPU占有率を示す占有率情報を含むNFC情報を生成する。携帯端末50のCPU占有率は、ある単位時間において、CPU72が図2のアプリケーション処理を実行している時間の割合を意味する。CPU72が図2のアプリケーション処理のみを実行している場合には、携帯端末50のCPU占有率は、比較的に大きい値(即ち100%)を有する。また、CPU72が図2のアプリケーション処理と、それ以外の処理と、を並列的に実行している場合には、携帯端末50のCPU占有率は、比較的に小さい値を有する。即ち、携帯端末50のCPU占有率が大きい程、携帯端末50が図2のアプリケーション処理を高速で実行可能であり、その結果、図2のS20において、携帯端末50が印刷データをネットワークに高速で送信可能である。
(Example 1-7)
In Example 1-7, in S <b> 11 of FIG. 2, the control unit 70 of the mobile terminal 50 generates NFC information including occupancy information indicating the CPU occupancy of the mobile terminal 50 instead of the security information. The CPU occupancy rate of the portable terminal 50 means a ratio of time during which the CPU 72 executes the application process of FIG. 2 in a certain unit time. When the CPU 72 is executing only the application process of FIG. 2, the CPU occupation rate of the portable terminal 50 has a relatively large value (ie, 100%). In addition, when the CPU 72 executes the application process of FIG. 2 and other processes in parallel, the CPU occupancy rate of the portable terminal 50 has a relatively small value. That is, as the CPU occupancy rate of the mobile terminal 50 is larger, the mobile terminal 50 can execute the application process of FIG. 2 at a higher speed. As a result, in S20 of FIG. It can be sent.

また、図3のS44において、NFC情報に含まれる占有率情報が示すCPU占有率が閾値以上である場合には、選択部43は、100Mbps以上の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。一方において、NFC情報に含まれる占有率情報が示すCPU占有率が上記の閾値未満である場合には、選択部43は、100Mbps未満の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。   In S44 of FIG. 3, when the CPU occupancy indicated by the occupancy information included in the NFC information is equal to or higher than the threshold, the selection unit 43 selects one SSID (ie, a communication speed of 100 Mbps or higher). Select one AP). On the other hand, when the CPU occupancy indicated by the occupancy information included in the NFC information is less than the above-described threshold, the selection unit 43 selects one SSID (that is, one piece) whose communication speed is less than 100 Mbps. AP).

本実施例では、携帯端末50のCPU占有率が大きいために、携帯端末50が印刷データをネットワークに高速で送信可能である状況では、高速の通信速度を実現する1個のAPが選択される。これにより、MFP10は、印刷データを高速で受信することができ、この結果、印刷物をユーザに迅速に提供することができる。また、本実施例では、携帯端末50のCPU占有率が小さいために、携帯端末50が印刷データをネットワークに高速で送信不可能である状況では、低速の通信速度を実現する1個のAPが選択される。仮に、携帯端末50のCPU占有率が小さい状況において、高速の通信速度を実現するAPが選択される構成を採用すると、携帯端末50において、印刷データをネットワークに送信する速度が、当該APが実現する通信速度よりも遅くなる可能性がある。そして、携帯端末50のCPU占有率が小さい状況において、高速の通信速度を実現するAPを選択する構成が採用されると、当該APと、当該APと通信すべきクライアント機器と、の間の通信に支障を来すおそれがある。このような実情に鑑みて、本実施例では、MFP10は、携帯端末50のCPU占有率が小さい状況では、低速の通信速度を実現する1個のAPを選択する。これにより、一部のAPのみが大きな負荷を有する事象が発生するのを適切に抑制することができる。なお、本実施例では、占有率情報が、「第2の能力関係情報」の一例である。   In the present embodiment, since the CPU occupancy rate of the mobile terminal 50 is large, in the situation where the mobile terminal 50 can transmit print data to the network at a high speed, one AP that realizes a high communication speed is selected. . Thereby, the MFP 10 can receive the print data at a high speed, and as a result, the printed matter can be quickly provided to the user. In the present embodiment, since the CPU occupation rate of the portable terminal 50 is small, in a situation where the portable terminal 50 cannot transmit print data to the network at a high speed, one AP that realizes a low communication speed is provided. Selected. If a configuration in which an AP that realizes a high communication speed is selected in a situation where the CPU occupancy rate of the mobile terminal 50 is small, the AP realizes the speed at which the mobile terminal 50 transmits print data to the network. There is a possibility that it will be slower than the communication speed. When a configuration for selecting an AP that realizes a high communication speed in a situation where the CPU occupancy rate of the portable terminal 50 is small, communication between the AP and a client device that is to communicate with the AP is performed. May cause trouble. In view of such a situation, in this embodiment, the MFP 10 selects one AP that realizes a low communication speed in a situation where the CPU occupancy rate of the portable terminal 50 is small. Thereby, it can suppress appropriately that the event which only some AP has a big load generate | occur | produces. In the present embodiment, the occupation rate information is an example of “second ability-related information”.

(実施例1−8)
実施例1−8では、図2のS11において、携帯端末50の制御部70は、セキュリティ情報の代わりに、携帯端末50のメモリ残量を示す残量情報を含むNFC情報を生成する。携帯端末50のメモリ残量は、メモリ74のうち、図2のアプリケーション処理で利用可能な領域のサイズを意味する。携帯端末50のメモリ残量が大きい程、携帯端末50が図2のアプリケーション処理を高速で実行可能であり、その結果、図2のS20において、携帯端末50が印刷データをネットワークに高速で送信可能である。
(Example 1-8)
In Example 1-8, in S <b> 11 of FIG. 2, the control unit 70 of the mobile terminal 50 generates NFC information including remaining amount information indicating the remaining memory capacity of the mobile terminal 50 instead of the security information. The remaining memory capacity of the portable terminal 50 means the size of an area of the memory 74 that can be used in the application process of FIG. The larger the remaining memory of the mobile terminal 50, the faster the mobile terminal 50 can execute the application process of FIG. 2, and as a result, the mobile terminal 50 can transmit print data to the network at a high speed in S20 of FIG. It is.

また、図3のS44において、NFC情報に含まれる残量情報が示すメモリ残量が閾値以上である場合には、選択部43は、100Mbps以上の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。一方において、NFC情報に含まれる残量情報が示すメモリ残量が上記の閾値未満である場合には、選択部43は、100Mbps未満の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。   In S44 of FIG. 3, when the remaining memory amount indicated by the remaining amount information included in the NFC information is equal to or greater than the threshold value, the selection unit 43 selects one SSID for which a communication speed of 100 Mbps or higher has been confirmed (that is, Select one AP). On the other hand, when the remaining amount of memory indicated by the remaining amount information included in the NFC information is less than the above threshold, the selection unit 43 receives one SSID (that is, one piece) in which a communication speed of less than 100 Mbps has been confirmed. AP).

本実施例でも、実施例1−7と同様の効果が得られる。なお、本実施例では、残量情報が、「第2の能力関係情報」の一例である。   Also in this embodiment, the same effect as that of Embodiment 1-7 can be obtained. In the present embodiment, the remaining amount information is an example of “second ability-related information”.

(実施例1−9)
実施例1−9では、図2のS11において、携帯端末50の制御部70は、セキュリティ情報の代わりに、携帯端末50の印刷データ処理速度を示す処理速度情報を含むNFC情報を生成する。携帯端末50の印刷データ処理速度は、携帯端末50が印刷データをネットワークに送信する速度を意味し、携帯端末50のCPU占有率及びメモリ残量に依存する。携帯端末50のメモリ74は、携帯端末50のCPU占有率及びメモリ残量から、携帯端末50の印刷データ処理速度を特定するためのテーブルを格納している。従って、図2のS11において、携帯端末50の制御部70は、携帯端末50の現在のCPU占有率及びメモリ残量をチェックして、チェック結果と上記のテーブルとを用いて、携帯端末50の現在の印刷データ処理速度を特定する。携帯端末50の印刷データ処理速度が大きい程、図2のS20において、携帯端末50が印刷データをネットワークに高速で送信可能である。
(Example 1-9)
In Example 1-9, in S <b> 11 of FIG. 2, the control unit 70 of the mobile terminal 50 generates NFC information including processing speed information indicating the print data processing speed of the mobile terminal 50 instead of the security information. The print data processing speed of the mobile terminal 50 means the speed at which the mobile terminal 50 transmits print data to the network, and depends on the CPU occupation rate and the remaining memory capacity of the mobile terminal 50. The memory 74 of the mobile terminal 50 stores a table for specifying the print data processing speed of the mobile terminal 50 from the CPU occupancy rate and the remaining memory capacity of the mobile terminal 50. Therefore, in S11 of FIG. 2, the control unit 70 of the mobile terminal 50 checks the current CPU occupancy and the remaining memory capacity of the mobile terminal 50, and uses the check result and the above table to Specify the current print data processing speed. As the print data processing speed of the portable terminal 50 increases, the portable terminal 50 can transmit print data to the network at a higher speed in S20 of FIG.

また、図3のS44において、NFC情報に含まれる処理速度情報が示す印刷データ処理速度が閾値以上である場合には、選択部43は、100Mbps以上の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。一方において、NFC情報に含まれる処理速度情報が示す印刷データ処理速度が上記の閾値未満である場合には、選択部43は、100Mbps未満の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。   In S44 of FIG. 3, when the print data processing speed indicated by the processing speed information included in the NFC information is equal to or higher than the threshold value, the selection unit 43 confirms one SSID (100 Mbps or higher). That is, one AP) is selected. On the other hand, when the print data processing speed indicated by the processing speed information included in the NFC information is less than the above-described threshold, the selection unit 43 confirms one SSID (that is, one piece) whose communication speed is less than 100 Mbps. AP).

本実施例でも、実施例1−7と同様の効果が得られる。なお、本実施例では、処理速度情報が、「第2の能力関係情報」の一例である。   Also in this embodiment, the same effect as that of Embodiment 1-7 can be obtained. In this embodiment, the processing speed information is an example of “second capability-related information”.

(実施例2)
続いて、図6を参照して、実施例2の内容を説明する。上記の実施例1では、図3のS44において、MFP10の選択部43は、携帯端末50から得られる情報(即ち、携帯端末50側の情報)に基づいて、1個のAPを選択する。これに代えて、本実施例では、選択部43は、MFP10自身に関する情報(即ち、MFP10側の情報)に基づいて、1個のAPを選択する。
(Example 2)
Next, the contents of the second embodiment will be described with reference to FIG. In the first embodiment, the selection unit 43 of the MFP 10 selects one AP based on information obtained from the portable terminal 50 (that is, information on the portable terminal 50 side) in S44 of FIG. Instead, in this embodiment, the selection unit 43 selects one AP based on information about the MFP 10 itself (that is, information on the MFP 10 side).

(実施例2−1)
図3のS44において、能力取得部45は、まず、MFP10の現在のCPU占有率をチェックすることによって、占有率情報を取得する。上記の実施例1−7と同様に、MFP10のCPU占有率は、ある単位時間において、CPU32が図3の通信処理を実行している時間の割合を意味する。MFP10のCPU占有率が大きい程、MFP10が図3の通信処理を高速で実行可能であり、その結果、図3のS52において、MFP10が印刷データを高速で処理可能である。
(Example 2-1)
In S <b> 44 of FIG. 3, the capability acquisition unit 45 first acquires the occupancy rate information by checking the current CPU occupancy rate of the MFP 10. As in the first to seventh embodiments, the CPU occupancy rate of the MFP 10 means a ratio of time during which the CPU 32 executes the communication process of FIG. 3 in a certain unit time. As the CPU occupation ratio of the MFP 10 is larger, the MFP 10 can execute the communication process of FIG. 3 at a higher speed. As a result, in S52 of FIG. 3, the MFP 10 can process the print data at a higher speed.

取得済みの占有率情報が示すCPU占有率が閾値以上である場合には、選択部43は、100Mbps以上の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。一方において、取得済みの占有率情報が示すCPU占有率が上記の閾値未満である場合には、選択部43は、100Mbps未満の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。   If the CPU occupancy indicated by the acquired occupancy information is equal to or greater than the threshold, the selection unit 43 selects one SSID (ie, one AP) for which a communication speed of 100 Mbps or higher has been confirmed. On the other hand, when the CPU occupancy indicated by the acquired occupancy information is less than the above-described threshold, the selection unit 43 has one SSID (ie, one AP) whose communication speed is less than 100 Mbps. Select.

本実施例では、MFP10のCPU占有率が大きいために、MFP10が印刷データを高速で処理可能である状況では、高速の通信速度を実現する1個のAPが選択される。これにより、MFP10は、印刷データを高速で受信しながら、印刷データを高速で処理することができ、この結果、印刷物をユーザに迅速に提供することができる。また、本実施例では、MFP10のCPU占有率が小さいために、MFP10が印刷データを高速で処理不可能である状況では、低速の通信速度を実現する1個のAPが選択される。仮に、MFP10のCPU占有率が小さい状況において、高速の通信速度を実現するAPが選択される構成を採用すると、MFP10において、印刷データの受信速度が、印刷データの処理速度よりも速くなり、この結果、印刷データを受信しても、印刷データを迅速に処理することができない可能性がある。このような実情に鑑みて、本実施例では、MFP10は、MFP10のCPU占有率が小さい状況では、低速の通信速度を実現する1個のAPを選択する。これにより、一部のAPのみが大きな負荷を有する事象が発生するのを適切に抑制することができる。なお、本実施例では、占有率情報が、「第1の能力関係情報」の一例である。   In this embodiment, since the CPU occupation rate of the MFP 10 is large, in the situation where the MFP 10 can process print data at a high speed, one AP that realizes a high communication speed is selected. Thereby, the MFP 10 can process the print data at a high speed while receiving the print data at a high speed, and as a result, the printed matter can be quickly provided to the user. In this embodiment, since the CPU occupation rate of the MFP 10 is small, one AP that realizes a low communication speed is selected in a situation where the MFP 10 cannot process print data at a high speed. If a configuration in which an AP that achieves a high communication speed is selected in a situation where the CPU occupancy rate of the MFP 10 is small, the print data reception speed in the MFP 10 becomes faster than the print data processing speed. As a result, even if print data is received, the print data may not be processed quickly. In view of such circumstances, in this embodiment, the MFP 10 selects one AP that realizes a low communication speed in a situation where the CPU occupation rate of the MFP 10 is small. Thereby, it can suppress appropriately that the event which only some AP has a big load generate | occur | produces. In the present embodiment, the occupation rate information is an example of “first capability relationship information”.

(実施例2−2)
図3のS44において、能力取得部45は、まず、MFP10の現在のメモリ残量をチェックすることによって、残量情報を取得する。上記の実施例1−8と同様に、MFP10のメモリ残量は、メモリ34のうち、図3の通信処理で利用可能な領域のサイズを意味する。MFP10のメモリ残量が大きい程、MFP10が図3の通信処理を高速で実行可能であり、その結果、図3のS52において、MFP10が印刷データを高速で処理可能である。
(Example 2-2)
In S <b> 44 of FIG. 3, the capability acquisition unit 45 first acquires the remaining amount information by checking the current memory remaining amount of the MFP 10. As in the first to eighth embodiments, the remaining memory capacity of the MFP 10 means the size of an area of the memory 34 that can be used in the communication process of FIG. As the remaining memory capacity of the MFP 10 is larger, the MFP 10 can execute the communication process of FIG. 3 at a higher speed. As a result, in S52 of FIG. 3, the MFP 10 can process the print data at a higher speed.

取得済みの残量情報が示すメモリ残量が閾値以上である場合には、選択部43は、100Mbps以上の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。一方において、取得済みの残量情報が示すメモリ残量が上記の閾値未満である場合には、選択部43は、100Mbps未満の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。   When the remaining memory amount indicated by the acquired remaining amount information is equal to or greater than the threshold value, the selection unit 43 selects one SSID (ie, one AP) for which a communication speed of 100 Mbps or higher has been confirmed. On the other hand, when the remaining memory amount indicated by the acquired remaining amount information is less than the above threshold, the selection unit 43 has one SSID (that is, one AP) whose communication speed is confirmed to be less than 100 Mbps. Select.

本実施例でも、実施例2−1と同様の効果が得られる。なお、本実施例では、残量情報が、「第1の能力関係情報」の一例である。   In the present embodiment, the same effect as that of the embodiment 2-1 can be obtained. In the present embodiment, the remaining amount information is an example of “first ability-related information”.

(実施例2−3)
図3のS44において、能力取得部45は、まず、MFP10の現在のCPU占有率及びメモリ残量をチェックすることによって、MFP10の印刷データ処理速度情報を取得する。MFP10の印刷データ処理速度は、MFP10の印刷データを処理する速度を意味し、MFP10のCPU占有率及びメモリ残量に依存する。MFP10の印刷データ処理速度が大きい程、図3のS52において、MFP10が印刷データを高速で処理可能である。MFP10のメモリ34は、MFP10のCPU占有率及びメモリ残量から、MFP10の印刷データ処理速度を特定するためのテーブルを格納している。従って、能力取得部45は、MFP10の現在のCPU占有率及びメモリ残量をチェックして、チェック結果と上記のテーブルとを用いて、MFP10の現在の印刷データ処理速度を特定する。
(Example 2-3)
In S <b> 44 of FIG. 3, the capability acquisition unit 45 first acquires the print data processing speed information of the MFP 10 by checking the current CPU occupation rate and the remaining memory capacity of the MFP 10. The print data processing speed of the MFP 10 means a speed at which the print data of the MFP 10 is processed, and depends on the CPU occupancy rate and the remaining memory capacity of the MFP 10. As the print data processing speed of the MFP 10 increases, the MFP 10 can process the print data at a higher speed in S52 of FIG. The memory 34 of the MFP 10 stores a table for specifying the print data processing speed of the MFP 10 from the CPU occupancy rate of the MFP 10 and the remaining memory capacity. Therefore, the capability acquisition unit 45 checks the current CPU occupancy rate and the remaining memory capacity of the MFP 10 and specifies the current print data processing speed of the MFP 10 using the check result and the above table.

また、取得済みの処理速度情報が示す印刷データ処理速度が閾値以上である場合には、選択部43は、100Mbps以上の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。一方において、取得済みの処理速度情報が示す印刷データ処理速度が上記の閾値未満である場合には、選択部43は、100Mbps未満の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。   When the print data processing speed indicated by the acquired processing speed information is equal to or higher than the threshold, the selection unit 43 selects one SSID (that is, one AP) whose communication speed is 100 Mbps or higher. To do. On the other hand, when the print data processing speed indicated by the acquired processing speed information is less than the above threshold, the selection unit 43 selects one SSID (that is, one AP) whose communication speed is less than 100 Mbps. ) Is selected.

本実施例でも、実施例2−1と同様の効果が得られる。なお、本実施例では、処理速度情報が、「第1の能力関係情報」の一例である。   In the present embodiment, the same effect as that of the embodiment 2-1 can be obtained. In this embodiment, the processing speed information is an example of “first capability related information”.

(実施例3)
続いて、図7を参照して、実施例3の内容を説明する。本実施例では、図3のS44において、MFP10の選択部43は、携帯端末50側の情報と、MFP10側の情報と、の両方に基づいて、1個のAPを選択する。
(Example 3)
Next, the contents of Example 3 will be described with reference to FIG. In the present embodiment, in S44 of FIG. 3, the selection unit 43 of the MFP 10 selects one AP based on both the information on the portable terminal 50 side and the information on the MFP 10 side.

(実施例3−1)
実施例1−1と同様に、NFC情報は、印刷データに対してパスワードを設定するのか否かに応じたセキュリティ情報を含む。また、実施例2−1と同様に、図3のS44において、能力取得部45は、MFP10の現在のCPU占有率をチェックして、占有率情報を取得する。また、図7のテーブルに示されるにように、選択部43は、NFC情報に含まれるセキュア情報の内容(即ちセキュア又は非セキュア)と、取得済みの占有率情報が示すCPU占有率と、の両方を用いて、1個のAPを選択する。本実施例では、実施例1−1及び実施例2−1と同様の効果が得られる。
(Example 3-1)
Similar to the embodiment 1-1, the NFC information includes security information corresponding to whether or not a password is set for the print data. Similarly to the example 2-1, in S44 of FIG. 3, the capability acquisition unit 45 checks the current CPU occupancy rate of the MFP 10 and acquires occupancy rate information. Further, as shown in the table of FIG. 7, the selection unit 43 calculates the content of the secure information included in the NFC information (that is, secure or non-secure) and the CPU occupation rate indicated by the acquired occupation rate information. Using both, one AP is selected. In this embodiment, the same effects as those of Embodiment 1-1 and Embodiment 2-1 are obtained.

(実施例3−2)
携帯端末50側の情報とMFP10側の情報との組み合わせは、実施例3−1に示す組み合わせに限られず、図5の実施例1−1〜1−9と図6の実施例2−1〜2−3とのいずれの組み合わせであってもよい。例えば、携帯端末50側の情報が、印刷データのデータサイズを示すサイズ情報であり、MFP10側の情報が、MFP10のメモリ残量を示す残量情報であってもよい。この場合、例えば、選択部43は、(1)サイズ情報が第1の閾値以上のデータサイズを示し、かつ、残量情報が第2の閾値以上のメモリ残量を示す場合には、高速の通信速度を実現する1個のAPを選択し、(2)サイズ情報が第1の閾値以上のデータサイズを示し、かつ、残量情報が第2の閾値未満のメモリ残量を示す場合には、低速の通信速度を実現する1個のAPを選択し、(3)サイズ情報が第1の閾値未満のデータサイズを示す場合には、残量情報が示すメモリ残量に関わらず、低速の通信速度を実現する1個のAPを選択してもよい。
(Example 3-2)
The combination of the information on the portable terminal 50 side and the information on the MFP 10 side is not limited to the combination shown in the embodiment 3-1, but the embodiments 1-1 to 1-9 in FIG. 5 and the embodiment 2-1 in FIG. Any combination with 2-3 may be used. For example, the information on the portable terminal 50 side may be size information indicating the data size of the print data, and the information on the MFP 10 side may be remaining amount information indicating the remaining memory capacity of the MFP 10. In this case, for example, when the size information indicates a data size equal to or larger than the first threshold and the remaining amount information indicates the remaining memory remaining equal to or larger than the second threshold, When one AP realizing the communication speed is selected, and (2) the size information indicates a data size equal to or larger than the first threshold value, and the remaining amount information indicates a remaining memory amount less than the second threshold value When one AP realizing a low communication speed is selected and (3) the size information indicates a data size less than the first threshold, the low speed is set regardless of the remaining memory capacity indicated by the remaining amount information. One AP that realizes the communication speed may be selected.

また、例えば、携帯端末50側の情報が、携帯端末50のメモリ残量を示す残量情報であり、MFP10側の情報が、MFP10のメモリ残量を示す残量情報であってもよい。この場合、例えば、選択部43は、(1)携帯端末50の残量情報とMFP10の残量情報との両方が、閾値以上のメモリ残量を示す場合には、高速の通信速度を実現する1個のAPを選択し、(2)携帯端末50の残量情報とMFP10の残量情報とのうちの少なくとも一方が、閾値未満のメモリ残量を示す場合には、低速の通信速度を実現する1個のAPを選択してもよい。また、例えば、選択部43は、(1)携帯端末50の残量情報とMFP10の残量情報との両方が、閾値以上のメモリ残量を示す場合には、高速の通信速度(例えば100Mbps以上)を実現する1個のAPを選択し、(2)携帯端末50の残量情報とMFP10の残量情報とのうちの一方のみが、閾値未満のメモリ残量を示す場合には、中速の通信速度(例えば10Mbps以上100Mbps未満)を実現する1個のAPを選択し、(3)携帯端末50の残量情報とMFP10の残量情報とのうちの両方が、閾値未満のメモリ残量を示す場合には、低速の通信速度(例えば10Mbps未満)を実現する1個のAPを選択してもよい。   Further, for example, the information on the portable terminal 50 side may be remaining amount information indicating the remaining memory capacity of the portable terminal 50, and the information on the MFP 10 side may be remaining amount information indicating the remaining memory capacity of the MFP 10. In this case, for example, the selection unit 43 (1) realizes a high communication speed when both the remaining amount information of the portable terminal 50 and the remaining amount information of the MFP 10 indicate a remaining memory amount equal to or greater than a threshold value. When one AP is selected and (2) at least one of the remaining amount information of the portable terminal 50 and the remaining amount information of the MFP 10 indicates a remaining memory amount less than the threshold, a low communication speed is realized. One AP to be selected may be selected. Further, for example, the selection unit 43 (1) when both the remaining amount information of the portable terminal 50 and the remaining amount information of the MFP 10 indicate a memory remaining amount equal to or higher than a threshold, a high communication speed (for example, 100 Mbps or higher) ) Is selected, and (2) when only one of the remaining amount information of the portable terminal 50 and the remaining amount information of the MFP 10 indicates a remaining memory amount less than the threshold value, the medium speed One AP that realizes a communication speed (for example, 10 Mbps or more and less than 100 Mbps) is selected, and (3) the remaining amount of memory in which both the remaining amount information of the portable terminal 50 and the remaining amount information of the MFP 10 are less than the threshold , One AP that realizes a low communication speed (for example, less than 10 Mbps) may be selected.

(実施例4)
続いて、図8及び図9を参照して、実施例4の内容を説明する。上記の実施例1〜3では、MFP10が、携帯端末50側の情報及び/又はMFP10側の情報に基づいて、1個のAPを選択する。これに代えて、本実施例では、携帯端末50が、携帯端末50側の情報に基づいて、1個のAPを選択する。携帯端末50のメモリ74は、携帯端末50が過去に参加した1個以上の通常Wi−Fiネットワークに対応する1個以上の参加情報を累積的に格納する。
Example 4
Next, the contents of Example 4 will be described with reference to FIGS. In the first to third embodiments, the MFP 10 selects one AP based on the information on the portable terminal 50 side and / or the information on the MFP 10 side. Instead, in this embodiment, the mobile terminal 50 selects one AP based on information on the mobile terminal 50 side. The memory 74 of the mobile terminal 50 cumulatively stores one or more pieces of participation information corresponding to one or more normal Wi-Fi networks in which the mobile terminal 50 has participated in the past.

(携帯端末50のアプリケーション処理;図8)
図8のS110は、図2のS10と同様である。S111,S112は、NFC情報にセキュリティ情報が含まれない点において、図2のS11,S12と相違する。S114では、制御部70は、MFP10から、NFCI/F62を介して、WFD無線設定を受信したのか否かを判断する。制御部70は、MFP10からWFD無線設定を受信した場合には、S116に進み、MFP10からWFD無線設定を受信しなかった場合には、S117に進む。S116は、図2のS14でWFD無線設定が受信される場合に実行されるS16と同様である。
(Application processing of portable terminal 50; FIG. 8)
S110 in FIG. 8 is the same as S10 in FIG. S111 and S112 differ from S11 and S12 in FIG. 2 in that security information is not included in the NFC information. In S <b> 114, the control unit 70 determines whether or not the WFD wireless setting is received from the MFP 10 via the NFC I / F 62. The control unit 70 proceeds to S116 when the WFD wireless setting is received from the MFP 10, and proceeds to S117 when the WFD wireless setting is not received from the MFP 10. S116 is the same as S16 executed when the WFD wireless setting is received in S14 of FIG.

S117では、制御部70は、MFP10から、NFCI/F62を介して、AP情報を受信したのか否かを判断する。制御部70は、MFP10からAP情報を受信した場合には、S118〜S122をスキップして、S124に進む。なお、詳しくは後述するが、MFP10は、MFP10がG/O状態で動作するWFDネットワーク、又は、MFP10が現在参加している通常Wi−Fiネットワークに、携帯端末50を参加させることができない場合(図9のS141でNOの場合)に、所定のレスポンスを携帯端末50に送信する。所定のレスポンスは、WFD無線設定又は通常Wi−Fi無線設定を含まず、キャンセル情報を含むレスポンスである。なお、所定のレスポンスは、キャンセル情報も含まない空のレスポンスであってもよい。携帯端末50の受信部81は、MFP10から、NFCI/F62を介して、所定のレスポンスを受信する。この場合、制御部70は、S117でNOと判断して、S118に進む。   In S <b> 117, the control unit 70 determines whether AP information has been received from the MFP 10 via the NFC I / F 62. When the control unit 70 receives AP information from the MFP 10, the control unit 70 skips S118 to S122 and proceeds to S124. As will be described in detail later, the MFP 10 cannot join the portable terminal 50 to the WFD network in which the MFP 10 operates in the G / O state or the normal Wi-Fi network to which the MFP 10 is currently participating ( In the case of NO in S141 in FIG. 9, a predetermined response is transmitted to the portable terminal 50. The predetermined response is a response including cancellation information without including the WFD wireless setting or the normal Wi-Fi wireless setting. The predetermined response may be an empty response that does not include cancellation information. The receiving unit 81 of the portable terminal 50 receives a predetermined response from the MFP 10 via the NFC I / F 62. In this case, the control unit 70 determines NO in S117 and proceeds to S118.

S118では、通信取得部84は、図3のS42と同様の手法を用いて、SSIDサーチを実行する。この結果、通信取得部84は、複数個のAP4a,4bから複数個のPRes信号を取得する。S120では、選択部83は、複数個のAP4a,4bの中から1個のAPを選択する。選択部83は、まず、複数個のPRes信号に含まれる複数個のSSIDの中から、メモリ74内の1個以上の参加情報に含まれる1個以上のSSIDに一致する1個以上のSSIDを抽出する。次いで、選択部43は、抽出済みの1個以上のSSIDの中から1個のSSIDを選択することによって、1個のAPを選択する。なお、1個のAPを選択するための具体的な手法については、後で詳しく説明する。   In S118, the communication acquisition unit 84 performs an SSID search using the same method as in S42 of FIG. As a result, the communication acquisition unit 84 acquires a plurality of PRes signals from the plurality of APs 4a and 4b. In S120, the selection unit 83 selects one AP from the plurality of APs 4a and 4b. First, the selection unit 83 selects one or more SSIDs that match one or more SSIDs included in one or more pieces of participation information in the memory 74 from the plurality of SSIDs included in the plurality of PRes signals. Extract. Next, the selection unit 43 selects one AP by selecting one SSID from one or more extracted SSIDs. A specific method for selecting one AP will be described in detail later.

S122では、送信部82は、図3のS46と同様の手法を用いて、AP情報を準備する。次いで、送信部82は、NFCI/F62を介して、AP情報をMFP10に送信する。なお、制御部70は、S122でAP情報を送信した後に、例えば、携帯端末50から所定の音を出力させて、NFC通信が完了したことを携帯端末50のユーザに通知する。これにより、ユーザは、MFP10から携帯端末50を遠ざけてよいことを認識できる。S122を経て実行されるS124では、通信実行部86は、選択済みのAPと無線接続を実行する。S117でYESの場合に実行されるS124では、通信実行部86は、MFP10から受信されたAP情報を用いて、APと無線接続を実行する。S126では、通信実行部86は、図2のS20と同様の手法を用いて、無線LANI/F60を介して、印刷データをMFP10に送信する。   In S122, the transmission unit 82 prepares AP information using the same method as in S46 of FIG. Next, the transmission unit 82 transmits AP information to the MFP 10 via the NFC I / F 62. In addition, after transmitting AP information by S122, the control part 70 outputs a predetermined sound from the portable terminal 50, for example, and notifies the user of the portable terminal 50 that NFC communication was completed. Thereby, the user can recognize that the portable terminal 50 may be moved away from the MFP 10. In S124, which is executed via S122, the communication execution unit 86 performs wireless connection with the selected AP. In S124, which is executed when YES in S117, the communication execution unit 86 executes wireless connection with the AP using the AP information received from the MFP 10. In S126, the communication execution unit 86 transmits print data to the MFP 10 via the wireless LAN I / F 60 using the same method as in S20 of FIG.

(MFP10の通信処理;図9)
図9のS130〜S141,S149は、図3のS30〜S41,S49と同様である。S142では、MFP10の制御部30は、NFCI/F22を介して、所定のレスポンスを携帯端末50に送信する。S144では、制御部30は、携帯端末50から、NFCI/F22を介して、AP情報を受信する。S146,S150,S152は、図3のS48,S50,S52と同様である。
(Communication processing of MFP 10; FIG. 9)
S130 to S141 and S149 in FIG. 9 are the same as S30 to S41 and S49 in FIG. In S <b> 142, the control unit 30 of the MFP 10 transmits a predetermined response to the portable terminal 50 via the NFC I / F 22. In S <b> 144, the control unit 30 receives AP information from the portable terminal 50 via the NFC I / F 22. S146, S150, and S152 are the same as S48, S50, and S52 of FIG.

(実施例4−1)
続いて、図8のS120のAP選択処理の内容について説明する。本実施例のAP選択のための手法は、実施例1−1と同様である。即ち、印刷データに対してパスワードを設定することがユーザによって選択された場合(即ち、セキュリティ情報がセキュアを示す場合)には、選択部83は、「AES」が確認された1個のSSID(即ち1個のAP)を選択する。一方において、印刷データに対してパスワードを設定しないことがユーザによって選択された場合(即ち、セキュリティ情報が非セキュアを示す場合)には、選択部83は、「AES」以外の暗号化方式(例えば「TKIP」、「WEP」)が確認された1個のSSID(即ち1個のAP)を選択する。
(Example 4-1)
Next, the content of the AP selection process in S120 of FIG. 8 will be described. The method for AP selection of the present embodiment is the same as that of the embodiment 1-1. In other words, when the user selects to set a password for the print data (that is, when the security information indicates secure), the selection unit 83 selects one SSID (“AES”) confirmed. That is, one AP) is selected. On the other hand, when the user selects not to set a password for the print data (that is, when the security information indicates non-secure), the selection unit 83 uses an encryption method other than “AES” (for example, One SSID (ie, one AP) for which “TKIP” and “WEP” are confirmed is selected.

(実施例4−1の具体例;図10)
図10のシーケンス図において、前提とされる状況は、図4と同様である。なお、携帯端末50のメモリ74は、AP4aに対応する参加情報と、AP4bに対応する参加情報と、を格納している。
(Specific example of Example 4-1; FIG. 10)
In the sequence diagram of FIG. 10, the presupposed situation is the same as in FIG. Note that the memory 74 of the portable terminal 50 stores participation information corresponding to the AP 4a and participation information corresponding to the AP 4b.

携帯端末50は、MFP10から、NFCI/F62を介して、所定のレスポンスを受信すると(図8のS117でNO)、SSIDサーチを実行する(S118)。これにより、携帯端末50は、AP4a,4bのそれぞれから、PRes信号を受信する。   When the portable terminal 50 receives a predetermined response from the MFP 10 via the NFC I / F 62 (NO in S117 of FIG. 8), the portable terminal 50 executes an SSID search (S118). Thereby, the portable terminal 50 receives the PRes signal from each of the APs 4a and 4b.

図10のケースAでは、印刷データに対してパスワードが設定されている(即ちセキュリティ情報がセキュアを示す)。従って、携帯端末50は、複数個のAP4a,4bの中から、暗号化方式「AES」を利用しているAP4aを選択する(S120)。次いで、携帯端末50は、NFCI/F62を介して、AP4aを示すSSID「aaa」を含むAP情報をMFP10に送信する(S122)。次いで、携帯端末50は、AP4aと無線接続を実行して、AP4aが形成している通常Wi−Fiネットワークに参加する(S124)。次いで、携帯端末50は、無線LANI/F60を介して、印刷データをAP4aに送信する。AP4aは、印刷データをMFP10に送信する。   In case A of FIG. 10, a password is set for the print data (that is, the security information indicates secure). Therefore, the portable terminal 50 selects the AP 4a using the encryption method “AES” from the plurality of APs 4a and 4b (S120). Next, the portable terminal 50 transmits AP information including the SSID “aaa” indicating the AP 4a to the MFP 10 via the NFC I / F 62 (S122). Next, the portable terminal 50 performs wireless connection with the AP 4a and joins the normal Wi-Fi network formed by the AP 4a (S124). Next, the portable terminal 50 transmits the print data to the AP 4a via the wireless LAN I / F 60. The AP 4a transmits print data to the MFP 10.

一方において、図10のケースBでは、印刷データに対してパスワードが設定されていない(即ちセキュリティ情報が非セキュアを示す)。従って、携帯端末50は、複数個のAP4a,4bの中から、「TKIP」を利用しているAP4bを選択する(S120)。次いで、携帯端末50は、NFCI/F22を介して、AP4bを示すSSID「bbb」を含むAP情報をMFP10に送信する(S122)。次いで、携帯端末50は、AP4bと無線接続を実行して、AP4bが形成している通常Wi−Fiネットワークに参加する(S124)。次いで、携帯端末50は、無線LANI/F60を介して、印刷データをAP4bに送信する。AP4bは、印刷データをMFP10に送信する。   On the other hand, in case B of FIG. 10, no password is set for the print data (that is, the security information indicates non-secure). Accordingly, the portable terminal 50 selects the AP 4b using “TKIP” from the plurality of APs 4a and 4b (S120). Next, the portable terminal 50 transmits AP information including the SSID “bbb” indicating the AP 4b to the MFP 10 via the NFC I / F 22 (S122). Next, the portable terminal 50 performs wireless connection with the AP 4b and participates in the normal Wi-Fi network formed by the AP 4b (S124). Next, the mobile terminal 50 transmits the print data to the AP 4b via the wireless LAN I / F 60. The AP 4b transmits print data to the MFP 10.

本実施例でも、実施例1−1と同様の効果が得られる。本実施例では、MFP10、携帯端末50が、それぞれ、「第2の通信装置」、「第1の通信装置」の一例である。NFCI/F62、無線LANI/F60が、それぞれ、「第1種のインターフェース」、「第2種のインターフェース」の一例である。   Also in this embodiment, the same effect as that of Embodiment 1-1 can be obtained. In the present embodiment, the MFP 10 and the portable terminal 50 are examples of “second communication device” and “first communication device”, respectively. The NFC I / F 62 and the wireless LAN I / F 60 are examples of the “first type interface” and the “second type interface”, respectively.

(実施例4−2)
図8のS120において、携帯端末50の選択部83は、図5の実施例1−2〜1−9のいずれかの携帯端末50側の情報を用いて、実施例1−2〜1−9と同様に、AP選択処理を実行してもよい。なお、実施例1−7〜1−9と同様のAP選択処理が実行される場合には、携帯端末50の能力取得部85は、携帯端末50の現在の状態をチェックして、携帯端末50の占有率情報、残量情報、又は、処理速度情報を取得する。本実施例でも、実施例1−2〜1−9と同様の効果が得られる。
(Example 4-2)
In S120 of FIG. 8, the selection unit 83 of the portable terminal 50 uses the information on the portable terminal 50 side of any of the embodiments 1-2 to 1-9 of FIG. Similarly to the above, AP selection processing may be executed. In addition, when the AP selection process similar to Example 1-7 to 1-9 is performed, the capability acquisition unit 85 of the mobile terminal 50 checks the current state of the mobile terminal 50 to check the mobile terminal 50. Occupancy rate information, remaining amount information, or processing speed information is acquired. Also in this embodiment, the same effects as those of Examples 1-2 to 1-9 can be obtained.

(実施例5)
本実施例では、図9のS142において、MFP10の制御部30は、NFCI/F22を介して、MFP10の占有率情報、残量情報、又は、処理速度情報を含む所定のレスポンスを携帯端末50に送信する。これにより、携帯端末50の受信部81は、MFP10から、NFCI/F62を介して、MFP10の占有率情報、残量情報、又は、処理速度情報を含む所定のレスポンスを受信する。携帯端末50は、所定のレスポンスに含まれるMFP10側の情報に基づいて、1個のAPを選択する。即ち、図8のS120において、携帯端末50の選択部83は、図6の実施例2−1〜2−3のいずれかのMFP10側の情報を用いて、実施例2−1〜2−3と同様に、AP選択処理を実行する。本実施例でも、実施例2−1〜2−3と同様の効果が得られる。
(Example 5)
In this embodiment, in S142 of FIG. 9, the control unit 30 of the MFP 10 sends a predetermined response including the occupation rate information, remaining amount information, or processing speed information of the MFP 10 to the portable terminal 50 via the NFC I / F 22. Send. Thereby, the receiving unit 81 of the portable terminal 50 receives a predetermined response including the occupation rate information, remaining amount information, or processing speed information of the MFP 10 from the MFP 10 via the NFC I / F 62. The portable terminal 50 selects one AP based on information on the MFP 10 side included in the predetermined response. That is, in S120 of FIG. 8, the selection unit 83 of the portable terminal 50 uses the information on the MFP 10 side of any of the examples 2-1 to 2-3 of FIG. In the same manner as described above, AP selection processing is executed. Also in this embodiment, the same effects as those of Embodiments 2-1 to 2-3 can be obtained.

(実施例6)
本実施例では、携帯端末50が、携帯端末50側の情報と、MFP10側の情報と、の両方に基づいて、1個のAPを選択する。即ち、図8のS120において、携帯端末50の選択部83は、携帯端末50側の情報と、所定のレスポンスに含まれるMFP10側の情報と、の両方に基づいて、1個のAPを選択する。帯端末50の選択部83は、図7の実施例3−1又は3−2と同様に、AP選択処理を実行する。本実施例でも、実施例3−1又は3−2と同様の効果が得られる。
(Example 6)
In this embodiment, the mobile terminal 50 selects one AP based on both the information on the mobile terminal 50 side and the information on the MFP 10 side. That is, in S120 of FIG. 8, the selection unit 83 of the portable terminal 50 selects one AP based on both the information on the portable terminal 50 side and the information on the MFP 10 side included in the predetermined response. . The selection unit 83 of the band terminal 50 executes the AP selection process in the same manner as in Example 3-1 or 3-2 in FIG. Also in this embodiment, the same effect as that of Embodiment 3-1 or 3-2 can be obtained.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。   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)上記の各実施例では、MFP10の周囲にG/O機器が存在しないために、図3のS42のSSIDサーチにおいて、通信取得部44は、G/O機器からPRes信号を受信しない。これに代えて、MFP10の周囲にG/O機器が存在していてもよい。この場合、通信取得部44は、G/O機器からPRes信号を受信してもよい。さらに、通信取得部44は、G/O機器と複数個のAP4a,4bとの中から、1個の中継装置を選択してもよい。本実施例では、G/O機器と複数個のAP4a,4bとが、「複数個の中継装置」の一例である。 (Modification 1) In each of the embodiments described above, since there is no G / O device around the MFP 10, the communication acquisition unit 44 receives the PRes signal from the G / O device in the SSID search of S 42 in FIG. 3. do not do. Instead, a G / O device may exist around the MFP 10. In this case, the communication acquisition unit 44 may receive a PRes signal from the G / O device. Further, the communication acquisition unit 44 may select one relay device from the G / O device and the plurality of APs 4a and 4b. In this embodiment, the G / O device and the plurality of APs 4a and 4b are an example of “a plurality of relay apparatuses”.

(変形例2)上記の実施例1−5,1〜7〜1−9、実施例2−1〜2−3等において、選択部43,83は、1個の閾値のみを用いて、1個のAPを選択する。これに代えて、選択部43,83は、複数個の閾値を用いて、1個のAPを選択してもよい。例えば、実施例1−5において、選択部43は、(1)データサイズが第1の閾値以上である場合には、100Mbps以上の通信速度を実現する1個のAPを選択し、(2)データサイズが第1の閾値未満かつ第2の閾値以上である場合には、10Mbps以上100Mbps未満の通信速度を実現する1個のAPを選択し、(3)データサイズが第2の閾値未満である場合には、10Mbps未満の通信速度を実現する1個のAPを選択してもよい。 (Modification 2) In the above-described Examples 1-5, 1-7 to 1-9, Examples 2-1 to 2-3, etc., the selectors 43 and 83 use only one threshold value, and 1 APs are selected. Instead, the selection units 43 and 83 may select one AP using a plurality of threshold values. For example, in Example 1-5, the selection unit 43 selects (1) one AP that realizes a communication speed of 100 Mbps or more when the data size is equal to or larger than the first threshold, and (2) If the data size is less than the first threshold and greater than or equal to the second threshold, select one AP that realizes a communication speed of 10 Mbps or more and less than 100 Mbps, and (3) the data size is less than the second threshold In some cases, one AP that realizes a communication speed of less than 10 Mbps may be selected.

(変形例3)例えば、実施例1−6等において、選択部43,83は、(1)データ形式が「非圧縮Bitmap」である場合には、100Mbps以上の通信速度を実現する1個のAPを選択し、(2)データ形式が「JPEG」である場合には、10Mbps以上100Mbps未満の通信速度を実現する1個のAPを選択し、(3)データ形式が「PDF」である場合には、10Mbps未満の通信速度を実現する1個のAPを選択してもよい。 (Modification 3) For example, in Embodiments 1-6 and the like, the selection units 43 and 83 (1) when the data format is “uncompressed Bitmap”, a single unit that realizes a communication speed of 100 Mbps or more. When AP is selected, (2) When the data format is “JPEG”, one AP that realizes a communication speed of 10 Mbps or more and less than 100 Mbps is selected, and (3) When the data format is “PDF” Alternatively, one AP that realizes a communication speed of less than 10 Mbps may be selected.

(変形例4)選択部43,83がAP選択処理で利用する情報は、図4〜図6の携帯端末50側の情報及びMFP10側の情報に限られない。例えば、以下の各変形例を挙げることができる。 (Modification 4) Information used by the selection units 43 and 83 in the AP selection process is not limited to the information on the portable terminal 50 side and the information on the MFP 10 side in FIGS. For example, the following modifications can be given.

(変形例4−1)例えば、携帯端末50の選択部83は、MFP10が印刷データを復号化する能力を有しているのか否かを示すセキュリティ対応情報に基づいて、1個のAPを選択してもよい。即ち、選択部83は、MFP10が印刷データを復号化する能力を有している場合には、図5の実施例1−3,1―4の「セキュア」と同様に、1個のAPを選択し、MFP10が印刷データを復号化する能力を有していない場合には、図5の実施例1−3,1―4の「非セキュア」と同様に、1個のAPを選択してもよい。本変形例では、セキュリティ対応情報が、「第2の能力関係情報」の一例である。 (Modification 4-1) For example, the selection unit 83 of the portable terminal 50 selects one AP based on the security correspondence information indicating whether or not the MFP 10 has the ability to decrypt the print data. May be. That is, when the MFP 10 has the ability to decrypt the print data, the selection unit 83 selects one AP as in “secure” in the embodiments 1-3 and 1-4 in FIG. If the MFP 10 does not have the ability to decrypt the print data, a single AP is selected as in the case of “non-secure” in the embodiments 1-3 and 1-4 in FIG. Also good. In the present modification, the security correspondence information is an example of “second capability related information”.

(変形例4−2)例えば、選択部43,83は、ユーザが携帯端末50の操作部52を操作することによって指定される印刷解像度を示す印刷解像度情報に基づいて、1個のAPを選択してもよい。より具体的には、選択部43,83は、ユーザによって指定される印刷解像度が閾値以上である場合には、図5の実施例1−5の「サイズ≧閾値」と同様に、100Mbpsの通信速度を実現するAPを選択してもよい。一方において、ユーザによって指定される印刷解像度が閾値未満である場合には、図5の実施例1−5の「サイズ<閾値」と同様に、100Mbps未満の通信速度を実現するAPを選択してもよい。本変形例では、印刷解像度情報が、「データ関係情報」の一例である。なお、ユーザは、MFP10の操作部12を操作することによって、印刷解像度を指定してもよい。この場合、印刷解像度情報は、MFP10側の情報である。 (Modification 4-2) For example, the selection units 43 and 83 select one AP based on the print resolution information indicating the print resolution specified by the user operating the operation unit 52 of the portable terminal 50. May be. More specifically, when the print resolution specified by the user is equal to or higher than the threshold, the selection units 43 and 83 perform communication of 100 Mbps as in “size ≧ threshold” in Example 1-5 in FIG. You may select AP which implement | achieves speed. On the other hand, if the print resolution specified by the user is less than the threshold, an AP that realizes a communication speed of less than 100 Mbps is selected as in “Size <Threshold” in Example 1-5 of FIG. Also good. In the present modification, the print resolution information is an example of “data relation information”. Note that the user may specify the print resolution by operating the operation unit 12 of the MFP 10. In this case, the print resolution information is information on the MFP 10 side.

(変形例4−3)変形例4−2において、印刷解像度の代わりに、スキャン解像度が利用されてもよい。例えば、携帯端末50からMFP10に印刷データが送信されるのではなく、MFP10から携帯端末50にスキャンデータ(即ち、スキャン実行部18が原稿のスキャンを実行することによって生成されるデータ)が送信される状況を想定する。この場合、選択部43,83は、ユーザが携帯端末50の操作部52を操作することによって指定されるスキャン解像度を示すスキャン解像度情報に基づいて、1個のAPを選択してもよい。本変形例では、スキャン解像度情報が、「データ関係情報」の一例である。また、スキャンデータが、「対象データ」の一例である。なお、ユーザは、MFP10の操作部12を操作することによって、スキャン解像度を指定してもよい。この場合、スキャン解像度情報は、MFP10側の情報である。 (Modification 4-3) In Modification 4-2, scan resolution may be used instead of print resolution. For example, print data is not transmitted from the portable terminal 50 to the MFP 10, but scan data (that is, data generated when the scan execution unit 18 scans a document) is transmitted from the MFP 10 to the portable terminal 50. Assuming that In this case, the selection units 43 and 83 may select one AP based on the scan resolution information indicating the scan resolution specified by the user operating the operation unit 52 of the portable terminal 50. In this modification, the scan resolution information is an example of “data relation information”. Scan data is an example of “target data”. Note that the user may designate the scan resolution by operating the operation unit 12 of the MFP 10. In this case, the scan resolution information is information on the MFP 10 side.

(変形例5)上記の各実施例では、選択部43,83は、携帯端末50側の情報及び/又はMFP10側の情報と、複数個のPRes信号と、を用いて、1個のAPを選択する。これに代えて、選択部43,83は、複数個のPRes信号を用いずに、携帯端末50側の情報及び/又はMFP10側の情報を用いて、1個のAPを選択してもよい。例えば、MFP10のメモリ34は、セキュアを示す情報と、ユーザによって予め登録された第1のSSIDと、が対応付けられていると共に、非セキュアを示す情報と、ユーザによって予め登録された第2のSSIDと、が対応付けられているテーブルを格納していてもよい。この場合、選択部43は、セキュリティ情報がセキュアを示す場合には、テーブルを参照して、第1のSSIDを選択し、セキュリティ情報が非セキュアを示す場合には、テーブルを参照して、第2のSSIDを選択してもよい。この構成によると、複数個のPRes信号を用いずに、1個のAPを選択することができる。即ち、選択部43,83は、処理関係情報を用いて、1個の中継装置を選択すればよい。一般的に言うと、第1の通信装置の制御部は、選択部と送信部と通信実行部とを少なくとも備えていればよい。 (Modification 5) In each of the above-described embodiments, the selection units 43 and 83 use the information on the portable terminal 50 side and / or the information on the MFP 10 side and a plurality of PRes signals to set one AP. select. Instead, the selection units 43 and 83 may select one AP using information on the mobile terminal 50 side and / or information on the MFP 10 side without using a plurality of PRes signals. For example, the memory 34 of the MFP 10 is associated with information indicating secure and a first SSID registered in advance by the user, and information indicating non-secure and second information registered in advance by the user. A table in which the SSID is associated may be stored. In this case, when the security information indicates secure, the selection unit 43 refers to the table to select the first SSID, and when the security information indicates non-secure, refers to the table and selects the first SSID. Two SSIDs may be selected. According to this configuration, one AP can be selected without using a plurality of PRes signals. That is, the selection units 43 and 83 may select one relay device using the processing related information. Generally speaking, the control unit of the first communication device only needs to include at least a selection unit, a transmission unit, and a communication execution unit.

(変形例6)AP情報は、選択済みのAPのSSIDを含んでいなくてもよく、選択済みのAPを特定可能な他の情報(例えば、選択済みのAPのBSSID、選択済みのAPのIPアドレス等)を含んでいてもよい。一般的に言うと、「中継装置情報」は、選択済みの1個の中継装置を示す情報(SSID、BSSID,IPアドレス等)であればよい。 (Modification 6) The AP information may not include the SSID of the selected AP, and other information that can identify the selected AP (for example, the BSSID of the selected AP, the selected AP's IP address, etc.). Generally speaking, the “relay apparatus information” may be information (SSID, BSSID, IP address, etc.) indicating one selected relay apparatus.

(変形例7)図5の実施例1−1では、暗号化方式情報に応じてAP選択処理が実行されるために、PRes信号は、認証方式情報及び通信速度情報を含んでいなくてもよい。また、実施例1−2では、認証方式情報に応じてAP選択処理が実行されるために、PRes信号は、暗号化方式情報及び通信速度情報を含んでいなくてもよい。また、実施例1−5では、通信速度情報に応じてAP選択処理が実行されるために、PRes信号は、認証方式情報及び暗号化方式情報を含んでいなくてもよい。一般的に言うと、「通信関係情報」は、認証方式情報と暗号化方式情報と通信速度情報とのうちの少なくとも1個の情報を含んでいればよい。 (Modification 7) In the embodiment 1-1 of FIG. 5, since the AP selection process is executed according to the encryption method information, the PRes signal does not include the authentication method information and the communication speed information. Good. In Example 1-2, since the AP selection process is executed in accordance with the authentication method information, the PRes signal may not include the encryption method information and the communication speed information. In Example 1-5, since the AP selection process is executed according to the communication speed information, the PRes signal may not include the authentication method information and the encryption method information. Generally speaking, the “communication related information” only needs to include at least one of authentication method information, encryption method information, and communication speed information.

(変形例8)上記の実施例1−1等では、選択部43,83は、セキュリティ情報が印刷データの印刷を許可するためのパスワードを含むのか否かに応じて、印刷データのセキュリティの高低を判断する。即ち、上記の実施例1−1等では、印刷データの印刷が、「対象データの出力」の一例である。ただし、例えば、「対象データ」が表示用データである場合には、選択部43,83は、セキュリティ情報が表示用データの表示を許可するためのパスワードを含むのか否かに応じて、表示用データのセキュリティの高低を判断してもよい。本変形例では、表示用データの表示が、「対象データの出力」の一例である。 (Modification 8) In the above-described Example 1-1, the selection units 43 and 83 determine whether the security of print data is high or low depending on whether the security information includes a password for permitting printing of the print data. Judging. That is, in the above-described Example 1-1 and the like, printing of print data is an example of “output of target data”. However, for example, when the “target data” is display data, the selection units 43 and 83 display the data depending on whether or not the security information includes a password for permitting display of the display data. The level of data security may be determined. In this modification, display of display data is an example of “output of target data”.

(変形例9)「第1種のインターフェース」は、NFC通信を実行するためのインターフェースに限られず、赤外線通信を実行するためのインターフェースであってもよいし、Bluetooth(登録商標)を実行するためのインターフェースであってもよいし、Transfer Jetを実行するためのインターフェースであってもよい。一般的に言うと、第2種のインターフェースを介した無線通信の通信速度が、第1種のインターフェースを介した無線通信の通信速度よりも速ければよい。 (Modification 9) The “first type interface” is not limited to an interface for executing NFC communication, but may be an interface for executing infrared communication, or for executing Bluetooth (registered trademark). Or an interface for executing Transfer Jet. Generally speaking, it is only necessary that the communication speed of the wireless communication through the second type interface is higher than the communication speed of the wireless communication through the first type interface.

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

(変形例11)図3において、S36、S38、S41、S49が実行されなくてもよい。即ち、S32でNOの場合に、S42に進んでもよい。また、S34でYESの場合に、S42に進んでもよい。また、図3において、S34、S41、S49が実行されなくてもよい。即ち、S32でYESの場合に、S40に進んでもよい。また、S36でYESの場合に、S42に進んでもよい。一般的に言うと、第1の通信装置の制御部は、選択部と送信部と通信実行部とを少なくとも備えていればよい。 (Modification 11) In FIG. 3, S36, S38, S41, and S49 may not be executed. That is, if NO in S32, the process may proceed to S42. Further, if YES in S34, the process may proceed to S42. In FIG. 3, S34, S41, and S49 may not be executed. That is, if YES is obtained in S32, the process may proceed to S40. Further, if YES is obtained in S36, the process may proceed to S42. Generally speaking, the control unit of the first communication device only needs to include at least a selection unit, a transmission unit, and a communication execution unit.

(変形例12)「第1の通信装置」及び「第2の通信装置」は、MFP10及び携帯端末50に限られず、他の通信装置(例えば、プリンタ、スキャナ、FAX装置、コピー機、電話機、デスクトップPC、ノートPC、タブレットPC、サーバ、携帯電話、PDA端末等)であってもよい。また、「対象データ」は、印刷データ、スキャンデータに限られず、他のデータ(例えば、音声データ、FAXデータ等)であってもよい。 (Modification 12) 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.). The “target data” is not limited to print data and scan data, and may be other data (for example, voice data, FAX data, etc.).

(変形例13)上記の実施例では、MFP10のCPU32がメモリ34内のプログラム(即ちソフトウェア)を実行することによって、各部41〜46の機能が実現される。これに代えて、各部41〜49のうちの少なくとも1つは、論理回路等のハードウェアによって実現されてもよい。また、同様に、各部81〜86のうちの少なくとも1つは、論理回路等のハードウェアによって実現されてもよい。 (Modification 13) In the above embodiment, the functions of the respective units 41 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 41 to 49 may be realized by hardware such as a logic circuit. Similarly, at least one of the units 81 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:通信システム、4a,4b:AP、10:MFP、50:携帯端末   2: communication system, 4a, 4b: AP, 10: MFP, 50: portable terminal

Claims (18)

第2の通信装置と対象データの無線通信を実行するための第1の通信装置であって、
前記第2の通信装置と無線通信を実行するための第1種のインターフェースと、
前記第2の通信装置と無線通信を実行するための第2種のインターフェースであって、前記第2種のインターフェースを介した無線通信の通信速度は、前記第1種のインターフェースを介した無線通信の通信速度よりも速い、前記第2種のインターフェースと、
制御部と、を備え、
前記制御部は、
前記対象データの処理に関係する処理関係情報を用いて、前記第1及び第2の通信装置とは別体に構成されている複数個の中継装置の中から、1個の中継装置を選択する選択部と、
前記第1種のインターフェースを介して、前記1個の中継装置を示す中継装置情報を前記第2の通信装置に送信する送信部と、
前記中継装置情報が前記第2の通信装置に送信された後に、前記第2種のインターフェースを介して、前記1個の中継装置を利用した前記対象データの無線通信を前記第2の通信装置と実行する通信実行部と、
を備える第1の通信装置。
A first communication device for performing wireless communication of target data with a second communication device,
A first type interface for performing wireless communication with the second communication device;
A second type interface for performing wireless communication with the second communication device, wherein the communication speed of the wireless communication via the second type interface is wireless communication via the first type interface. The second type interface, which is faster than the communication speed of
A control unit,
The controller is
One relay device is selected from a plurality of relay devices configured separately from the first and second communication devices, using processing relation information related to the processing of the target data. A selection section;
A transmission unit that transmits relay device information indicating the one relay device to the second communication device via the first type interface;
After the relay device information is transmitted to the second communication device, wireless communication of the target data using the one relay device is performed with the second communication device via the second type interface. A communication execution unit to be executed;
A first communication device comprising:
前記第1の通信装置は、さらに、
前記第2種のインターフェースを介して、前記複数個の中継装置のそれぞれから、当該中継装置を利用した無線通信に関係する通信関係情報を取得する通信取得部を備え、
前記選択部は、前記処理関係情報と、前記複数個の中継装置から取得される複数個の通信関係情報と、を用いて、前記1個の中継装置を選択する、請求項1に記載の第1の通信装置。
The first communication device further includes:
A communication acquisition unit that acquires communication-related information related to wireless communication using the relay device from each of the plurality of relay devices via the second type interface;
2. The apparatus according to claim 1, wherein the selection unit selects the one relay device using the processing relationship information and a plurality of communication relationship information acquired from the plurality of relay devices. 1. Communication device.
前記複数個の通信関係情報のそれぞれは、
当該通信関係情報の取得元の中継装置が現在利用している認証方式を示す認証方式情報と、
当該通信関係情報の取得元の中継装置が現在利用している暗号化方式を示す暗号化方式情報と、
当該通信関係情報の取得元の中継装置を利用した無線通信の通信速度を示す通信速度情報と、
のうちの少なくとも1個の情報を含む、請求項2に記載の第1の通信装置。
Each of the plurality of communication-related information is
Authentication method information indicating the authentication method currently used by the relay device from which the communication related information is acquired; and
Encryption method information indicating the encryption method currently used by the relay device from which the communication related information is acquired;
Communication speed information indicating a communication speed of wireless communication using the relay device from which the communication related information is acquired;
The first communication device according to claim 2, comprising at least one piece of information.
前記選択部は、前記対象データに関係するデータ関係情報を含む前記処理関係情報と、前記複数個の通信関係情報と、を用いて、前記1個の中継装置を選択する、請求項2又は3に記載の第1の通信装置。   The said selection part selects the said one relay apparatus using the said process related information containing the data related information relevant to the said object data, and these communication related information. 1st communication apparatus. 前記対象データは、前記第2の通信装置から前記第1の通信装置に送信されるべきデータであり、
前記制御部は、さらに、
前記第2の通信装置から、前記第1種のインターフェースを介して、前記データ関係情報を受信する受信部を備え、
前記選択部は、受信済みの前記データ関係情報を含む前記処理関係情報と、前記複数個の通信関係情報と、を用いて、前記1個の中継装置を選択する、請求項4に記載の第1の通信装置。
The target data is data to be transmitted from the second communication device to the first communication device,
The control unit further includes:
A receiving unit configured to receive the data-related information from the second communication device via the first type interface;
The said selection part selects the said one relay apparatus using the said process related information containing the said received data related information, and these communication related information, The 1st of Claim 4 1. Communication device.
前記対象データは、前記第1の通信装置から前記第2の通信装置に送信されるべきデータであり、
前記選択部は、前記第1の通信装置に格納されている前記対象データに関係する前記データ関係情報を含む前記処理関係情報と、前記複数個の通信関係情報と、を用いて、前記1個の中継装置を選択する、請求項4に記載の第1の通信装置。
The target data is data to be transmitted from the first communication device to the second communication device,
The selection unit uses the processing relation information including the data relation information related to the target data stored in the first communication device, and the plurality of pieces of communication relation information. The first communication apparatus according to claim 4, wherein the relay apparatus is selected.
前記複数個の通信関係情報のそれぞれは、当該通信関係情報の取得元の中継装置が現在利用している認証方式を示す認証方式情報を含み、
前記選択部は、
前記データ関係情報が、前記対象データのセキュリティが比較的に高いことを示す場合には、前記複数個の中継装置の中から、第1の認証方式を現在利用している前記1個の中継装置を選択し、
前記データ関係情報が、前記対象データのセキュリティが比較的に低いことを示す場合には、前記複数個の中継装置の中から、前記第1の認証方式とは異なる第2の認証方式を現在利用している前記1個の中継装置を選択する、請求項4から6のいずれか一項に記載の第1の通信装置。
Each of the plurality of communication related information includes authentication method information indicating an authentication method currently used by the relay apparatus from which the communication related information is acquired,
The selection unit includes:
If the data-related information indicates that the security of the target data is relatively high, the one relay device that currently uses the first authentication method among the plurality of relay devices Select
If the data-related information indicates that the security of the target data is relatively low, a second authentication method different from the first authentication method is currently used from among the plurality of relay devices The first communication device according to any one of claims 4 to 6, wherein the one relay device is selected.
前記複数個の通信関係情報のそれぞれは、当該通信関係情報の取得元の中継装置が現在利用している暗号化方式を示す暗号化方式情報を含み、
前記選択部は、
前記データ関係情報が、前記対象データのセキュリティが比較的に高いことを示す場合には、前記複数個の中継装置の中から、第1の暗号化方式を現在利用している前記1個の中継装置を選択し、
前記データ関係情報が、前記対象データのセキュリティが比較的に低いことを示す場合には、前記複数個の中継装置の中から、前記第1の暗号化方式とは異なる第2の暗号化方式を現在利用している前記1個の中継装置を選択する、請求項4から6のいずれか一項に記載の第1の通信装置。
Each of the plurality of pieces of communication related information includes encryption method information indicating an encryption method currently used by the relay apparatus from which the communication related information is acquired,
The selection unit includes:
If the data-related information indicates that the security of the target data is relatively high, the one relay that currently uses the first encryption method among the plurality of relay devices. Select the device
If the data-related information indicates that the security of the target data is relatively low, a second encryption method different from the first encryption method is selected from the plurality of relay devices. The first communication device according to any one of claims 4 to 6, wherein the one relay device currently used is selected.
前記選択部は、
前記データ関係情報が、前記対象データの出力を許可するためのパスワードを含む場合には、前記対象データのセキュリティが比較的に高いと判断し、
前記データ関係情報が、前記パスワードを含まない場合には、前記対象データのセキュリティが比較的に低いと判断する、請求項7又は8に記載の第1の通信装置。
The selection unit includes:
When the data relation information includes a password for permitting output of the target data, it is determined that the security of the target data is relatively high,
The first communication device according to claim 7 or 8, wherein when the data-related information does not include the password, it is determined that the security of the target data is relatively low.
前記複数個の通信関係情報のそれぞれは、当該通信関係情報の取得元の中継装置を利用した無線通信の通信速度を示す通信速度情報を含み、
前記選択部は、
前記データ関係情報が、前記対象データのデータサイズが比較的に大きいことを示す場合には、前記複数個の中継装置の中から、比較的に大きい通信速度を実現する前記1個の中継装置を選択し、
前記データ関係情報が、前記対象データのデータサイズが比較的に小さいことを示す場合には、前記複数個の中継装置の中から、比較的に小さい通信速度を実現する前記1個の中継装置を選択する、請求項4から6のいずれか一項に記載の第1の通信装置。
Each of the plurality of communication related information includes communication speed information indicating a communication speed of wireless communication using the relay device from which the communication related information is acquired,
The selection unit includes:
When the data relation information indicates that the data size of the target data is relatively large, the one relay device that realizes a relatively high communication speed is selected from the plurality of relay devices. Selected,
When the data relation information indicates that the data size of the target data is relatively small, the one relay device that realizes a relatively low communication speed is selected from the plurality of relay devices. The first communication device according to any one of claims 4 to 6, wherein the first communication device is selected.
前記複数個の通信関係情報のそれぞれは、当該通信関係情報の取得元の中継装置を利用した無線通信の通信速度を示す通信速度情報を含み、
前記選択部は、
前記データ関係情報が、前記対象データが第1のデータ形式を有することを示す場合には、前記複数個の中継装置の中から、比較的に大きい通信速度を実現する前記1個の中継装置を選択し、
前記データ関係情報が、前記対象データが前記第1のデータ形式とは異なる第2のデータ形式を有することを示す場合には、前記複数個の中継装置の中から、比較的に小さい通信速度を実現する前記1個の中継装置を選択する、請求項4から6のいずれか一項に記載の第1の通信装置。
Each of the plurality of communication related information includes communication speed information indicating a communication speed of wireless communication using the relay device from which the communication related information is acquired,
The selection unit includes:
When the data relation information indicates that the target data has the first data format, the one relay device that realizes a relatively high communication speed is selected from the plurality of relay devices. Selected,
When the data relation information indicates that the target data has a second data format different from the first data format, a relatively low communication speed is selected from the plurality of relay devices. The first communication device according to any one of claims 4 to 6, wherein the one relay device to be realized is selected.
前記選択部は、前記第1の通信装置が前記対象データを処理するための能力に関係する第1の能力関係情報及び前記第2の通信装置が前記対象データを処理するための能力に関係する第2の能力関係情報のうちの少なくとも一方の能力関係情報を含む前記処理関係情報と、前記複数個の通信関係情報と、を用いて、前記1個の中継装置を選択する、請求項2又は3に記載の第1の通信装置。   The selection unit is related to first capability relationship information related to a capability of the first communication device to process the target data and a capability of the second communication device to process the target data. The one relay device is selected using the processing relationship information including at least one capability relationship information of the second capability relationship information and the plurality of communication relationship information. 3. The first communication device according to 3. 前記第1の通信装置は、さらに、
前記第1の通信装置の現在の状態をチェックすることによって、前記第1の能力関係情報を取得する能力取得部を備え、
前記選択部は、取得済みの前記第1の能力関係情報を含む前記処理関係情報と、前記複数個の通信関係情報と、を用いて、前記1個の中継装置を選択する、請求項12に記載の第1の通信装置。
The first communication device further includes:
A capability acquisition unit that acquires the first capability relationship information by checking a current state of the first communication device;
The selection unit selects the one relay device using the processing relationship information including the acquired first capability relationship information and the plurality of communication relationship information. 1st communication apparatus of description.
前記第1の通信装置は、さらに、
前記第2の通信装置から、前記第1種のインターフェースを介して、前記第2の能力関係情報を受信する受信部を備え、
前記選択部は、受信済みの前記第2の能力関係情報を含む前記処理関係情報と、前記複数個の通信関係情報と、を用いて、前記1個の中継装置を選択する、請求項12に記載の第1の通信装置。
The first communication device further includes:
A receiving unit that receives the second capability-related information from the second communication device via the first type interface;
The selection unit selects the one relay device using the processing relationship information including the received second capability relationship information and the plurality of communication relationship information. 1st communication apparatus of description.
前記複数個の通信関係情報のそれぞれは、当該通信関係情報の取得元の中継装置を利用した無線通信の通信速度を示す通信速度情報を含み、
前記選択部は、
前記少なくとも一方の能力関係情報が、前記対象データを処理するための能力が比較的に高いことを示す場合には、前記複数個の中継装置の中から、比較的に大きい通信速度を実現する前記1個の中継装置を選択し、
前記少なくとも一方の能力関係情報が、前記対象データを処理するための能力が比較的に低いことを示す場合には、前記複数個の中継装置の中から、比較的に小さい通信速度を実現する前記1個の中継装置を選択する、請求項12から14のいずれか一項に記載の第1の通信装置。
Each of the plurality of communication related information includes communication speed information indicating a communication speed of wireless communication using the relay device from which the communication related information is acquired,
The selection unit includes:
When the at least one capability-related information indicates that the capability for processing the target data is relatively high, the relatively high communication speed is realized among the plurality of relay devices. Select one relay device,
When the at least one capability-related information indicates that the capability to process the target data is relatively low, the communication speed that achieves a relatively low communication speed among the plurality of relay devices is achieved. The first communication device according to any one of claims 12 to 14, wherein one relay device is selected.
前記選択部は、
前記少なくとも一方の能力関係情報が示す値が、所定の閾値以上である場合には、前記対象データを処理するための能力が比較的に高いと判断し、
前記少なくとも一方の能力関係情報が示す値が、前記所定の閾値未満である場合には、前記対象データを処理するための能力が比較的に低いと判断する、請求項15に記載の第1の通信装置。
The selection unit includes:
If the value indicated by the at least one capability relationship information is equal to or greater than a predetermined threshold, it is determined that the capability to process the target data is relatively high;
The first according to claim 15, wherein when the value indicated by the at least one capability relation information is less than the predetermined threshold, it is determined that the capability to process the target data is relatively low. Communication device.
前記選択部は、前記対象データに関係するデータ関係情報と、前記第1の通信装置が前記対象データを処理するための能力に関係する第1の能力関係情報及び前記第2の通信装置が前記対象データを処理するための能力に関係する第2の能力関係情報のうちの少なくとも一方の能力関係情報と、を含む前記処理関係情報と、前記複数個の通信関係情報と、を用いて、前記1個の中継装置を選択する、請求項2又は3に記載の第1の通信装置。   The selection unit includes data relationship information related to the target data, first capability relationship information related to the capability of the first communication device to process the target data, and the second communication device Using the processing relationship information including at least one capability relationship information of the second capability relationship information related to the capability to process the target data, and the plurality of communication relationship information, The first communication device according to claim 2 or 3, wherein one relay device is selected. 第2の通信装置と対象データの無線通信を実行するための第1の通信装置のためのコンピュータプログラムであって、
前記第1の通信装置は、
前記第2の通信装置と無線通信を実行するための第1種のインターフェースと、
前記第2の通信装置と無線通信を実行するための第2種のインターフェースであって、前記第2種のインターフェースを介した無線通信の通信速度は、前記第1種のインターフェースを介した無線通信の通信速度よりも速い、前記第2種のインターフェースと、を備え、
前記コンピュータプログラムは、前記第1の通信装置に搭載されるコンピュータに、以下の各処理、即ち、
前記対象データの処理に関係する処理関係情報を用いて、前記第1及び第2の通信装置とは別体に構成されている複数個の中継装置の中から、1個の中継装置を選択する選択処理と、
前記第1種のインターフェースを介して、前記1個の中継装置を示す中継装置情報を前記第2の通信装置に送信する送信処理と、
前記中継装置情報が前記第2の通信装置に送信された後に、前記第2種のインターフェースを介して、前記1個の中継装置を利用した前記対象データの無線通信を前記第2の通信装置と実行する通信実行処理と、
を実行させるコンピュータプログラム。
A computer program for a first communication device for performing wireless communication of target data with a second communication device,
The first communication device is:
A first type interface for performing wireless communication with the second communication device;
A second type interface for performing wireless communication with the second communication device, wherein the communication speed of the wireless communication via the second type interface is wireless communication via the first type interface. The second type interface faster than the communication speed of
The computer program stores the following processes in a computer mounted on the first communication device, that is,
One relay device is selected from a plurality of relay devices configured separately from the first and second communication devices, using processing relation information related to the processing of the target data. Selection process,
A transmission process for transmitting relay device information indicating the one relay device to the second communication device via the first type interface;
After the relay device information is transmitted to the second communication device, wireless communication of the target data using the one relay device is performed with the second communication device via the second type interface. A communication execution process to be executed;
A computer program that executes
JP2012167250A 2012-07-27 2012-07-27 Communication device Active JP5929590B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2012167250A JP5929590B2 (en) 2012-07-27 2012-07-27 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2012167250A JP5929590B2 (en) 2012-07-27 2012-07-27 Communication device

Publications (2)

Publication Number Publication Date
JP2014027537A JP2014027537A (en) 2014-02-06
JP5929590B2 true JP5929590B2 (en) 2016-06-08

Family

ID=50200786

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2012167250A Active JP5929590B2 (en) 2012-07-27 2012-07-27 Communication device

Country Status (1)

Country Link
JP (1) JP5929590B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016125356A1 (en) * 2015-02-06 2016-08-11 ソニー株式会社 Wireless communication device, wireless communication method and program
JP7438676B2 (en) 2019-06-27 2024-02-27 キヤノン株式会社 Wireless communication device and its control method
JP6869314B2 (en) * 2019-11-21 2021-05-12 キヤノン株式会社 Communication equipment and its control method and program

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3748106B2 (en) * 2002-04-25 2006-02-22 ソニー株式会社 COMMUNICATION SYSTEM, INFORMATION PROCESSING DEVICE AND METHOD, RECORDING MEDIUM, AND PROGRAM
JP4095455B2 (en) * 2003-01-27 2008-06-04 キヤノン株式会社 Wireless LAN connection software, wireless terminal and control method thereof
JP4524703B2 (en) * 2008-02-29 2010-08-18 ソニー株式会社 Information processing apparatus and method, and program
JP5257306B2 (en) * 2009-09-11 2013-08-07 ブラザー工業株式会社 Wireless communication apparatus and computer program

Also Published As

Publication number Publication date
JP2014027537A (en) 2014-02-06

Similar Documents

Publication Publication Date Title
JP5954024B2 (en) Communication device
JP5884633B2 (en) Communication device
JP5857850B2 (en) Communication device
JP6019881B2 (en) Communication device and portable terminal
JP2013214803A (en) Communication device
JP6015315B2 (en) Communication device
JP5929590B2 (en) Communication device
JP7347588B2 (en) Communication equipment and mobile terminals
JP6547820B2 (en) Communication device
JP6260648B2 (en) Communication device
JP6183445B2 (en) Communication device
JP6249075B2 (en) Communication device and portable terminal
JP6149970B2 (en) Communication device
JP6662478B2 (en) Communication device and mobile terminal
JP6481743B2 (en) Communication device and portable terminal
JP6601463B2 (en) Communication device
JP6795067B2 (en) Communication device
JP2014045379A (en) Communication device and computer program for mobile terminal
JP6645477B2 (en) Communication device
JP2022172304A (en) Communication device

Legal Events

Date Code Title Description
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

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: 20160405

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160418

R150 Certificate of patent or registration of utility model

Ref document number: 5929590

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150