JP6547820B2 - Communication device - Google Patents

Communication device Download PDF

Info

Publication number
JP6547820B2
JP6547820B2 JP2017239366A JP2017239366A JP6547820B2 JP 6547820 B2 JP6547820 B2 JP 6547820B2 JP 2017239366 A JP2017239366 A JP 2017239366A JP 2017239366 A JP2017239366 A JP 2017239366A JP 6547820 B2 JP6547820 B2 JP 6547820B2
Authority
JP
Japan
Prior art keywords
communication device
communication
wireless
type
mfp
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
JP2017239366A
Other languages
Japanese (ja)
Other versions
JP2018042291A (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 JP2017239366A priority Critical patent/JP6547820B2/en
Publication of JP2018042291A publication Critical patent/JP2018042291A/en
Application granted granted Critical
Publication of JP6547820B2 publication Critical patent/JP6547820B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Description

本明細書によって開示される技術は、第2の通信装置と対象データの無線通信を実行するための第1の通信装置に関する。   The technology disclosed by the present specification relates to a first communication device for performing wireless communication of target data with a second communication device.

特許文献1には、データを送信する側の無線通信装置であるイニシエータと、当該データを受信する側の無線通信装置であるターゲットと、を備えるシステムが開示されている。イニシエータは、ターゲットに送信予定のデータのサイズが閾値以下である場合には、NFCを利用して、当該データをターゲットに送信する。一方において、イニシエータは、ターゲットに送信予定のデータのサイズが閾値よりも大きい場合には、通信方式をNFCからBluetooth(登録商標)にハンドオーバし、Bluetooth(登録商標)を利用して、データをターゲットに送信する。   Patent Document 1 discloses a system including an initiator, which is a wireless communication apparatus on the side of transmitting data, and a target, which is a wireless communication apparatus on the side of receiving the data. The initiator transmits the data to the target using NFC when the size of the data to be transmitted to the target is equal to or less than the threshold. On the other hand, when the size of data 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

本明細書では、第2の通信装置と対象データの無線通信を適切に実行し得る第1の通信装置を開示する。   The present specification discloses a first communication device capable of appropriately performing wireless communication of target data with a second communication device.

本明細書によって開示される技術は、親局状態又は子局状態で動作して、第1種の無線ネットワークに属することが可能な第1の通信装置である。第1の通信装置は、送信部と、通信実行部と、を備える。送信部は、第2の通信装置が、中継装置を介さない直接無線通信を第1の通信装置と実行するための特定の態様で、第1種の無線ネットワークに参加することが可能である第1の場合に、第2の通信装置が第1種の無線ネットワークに参加するための第1の無線設定を、第2の通信装置に送信する。送信部は、第2の通信装置が、特定の態様で第1種の無線ネットワークに参加することが可能でない第2の場合に、第2の通信装置が第2種の無線ネットワークに参加するための第2の無線設定を、第2の通信装置に送信する。第2種の無線ネットワークは、第1の通信装置及び第2の通信装置とは別体に構成されている特定の中継装置を含む無線ネットワークである。通信実行部は、第1の場合に、第1種の無線ネットワークを利用して、第2の通信装置と対象データの直接無線通信を実行し、第2の場合に、第2種の無線ネットワークを利用して、特定の中継装置を介して、第2の通信装置と対象データの無線通信を実行する。   The technology disclosed by the present specification is a first communication device that can operate in a master state or a slave state and belong to a first type of wireless network. The first communication device includes a transmission unit and a communication execution unit. The transmission unit is capable of participating in the first type of wireless network in a specific mode for executing, with the first communication device, the second communication device with the first communication device, not through the relay device. In the case of 1, the second communication device transmits a first wireless setting for joining the first type of wireless network to the second communication device. The transmitting unit is configured to cause the second communication device to join the second type of wireless network in a second case where the second communication device is not capable of joining the first type of wireless network in a specific mode. And transmits the second wireless setting to the second communication device. The second type of wireless network is a wireless network including a specific relay device configured separately from the first communication device and the second communication device. In the first case, the communication execution unit executes direct wireless communication between the second communication device and the target data using the first type of wireless network, and in the second case, the second type of wireless network Wireless communication of target data with the second communication device via a specific relay device.

上記の構成によると、第1の通信装置は、第2の通信装置が特定の態様で第1種の無線ネットワークに参加することが可能であるのか否かに応じて、第1又は第2の無線設定を第2の通信装置に適切に送信し得る。このために、第1の通信装置は、第1種又は第2種の無線ネットワークに第2の通信装置を適切に参加させ得る。この結果、第1の通信装置は、第1種又は第2種の無線ネットワークを利用して、第2の通信装置と対象データの無線通信を適切に実行し得る。   According to the above configuration, the first communication device can perform the first or second communication depending on whether or not the second communication device can join the first type of wireless network in a specific manner. The wireless settings may be suitably transmitted to the second communication device. To this end, the first communication device may appropriately cause the second communication device to participate in the first type or second type of wireless network. As a result, the first communication device can appropriately execute wireless communication of target data with the second communication device using the first type or second type of wireless network.

第1の通信装置は、さらに、第2の通信装置と無線通信を実行するための第1種のインターフェースと、第2の通信装置と無線通信を実行するための第2種のインターフェースと、を備えていてもよい。第2種のインターフェースを介した無線通信の通信速度は、第
1種のインターフェースを介した無線通信の通信速度よりも速くてもよい。送信部は、第1の場合に、第1種のインターフェースを介して、第1の無線設定を第2の通信装置に送信し、第2の場合に、第1種のインターフェースを介して、第2の無線設定を第2の通信装置に送信してもよい。第1種及び第2種の無線ネットワークのそれぞれは、第2種のインターフェースを介した無線通信を実行するための無線ネットワークであってもよい。この構成によると、第1の通信装置は、第1種のインターフェースを利用して、第1又は第2の無線設定を第2の通信装置に適切に送信し得る。また、第1の通信装置は、第2種のインターフェースを利用して、第2の通信装置と対象データの無線通信を適切に実行し得る。
The first communication device further includes a first type interface for performing wireless communication with the second communication device, and a second type interface for performing wireless communication with the second communication device. You may have. The communication speed of wireless communication via the second type of interface may be faster than the communication speed of wireless communication via the first type of interface. In the first case, the transmission unit transmits the first wireless setting to the second communication device via the first type of interface, and in the second case, transmits the first wireless setting via the first type of interface. The wireless setting of 2 may be sent to the second communication device. Each of the first type and the second type of wireless networks may be a wireless network for performing wireless communication via the second type of interface. According to this configuration, the first communication device may appropriately transmit the first or second wireless setting to the second communication device using the first type of interface. Also, the first communication device may appropriately execute wireless communication of target data with the second communication device using the second type of interface.

第1の通信装置が親局状態で動作して第1種の無線ネットワークに属する場合に、第1種の無線ネットワークに属することが可能な子局機器の最大数は、N(前記Nは1以上の整数)であってもよい。子局機器は、子局状態で動作して第1種の無線ネットワークに属する機器であってもよい。第1の通信装置は、さらに、第1の通信装置が親局状態で動作して第1種の無線ネットワークに現在属している場合に、第1種の無線ネットワークに現在属している子局機器の数が、N未満であるのか、Nであるのか、を判断する第1の判断部を備えていてもよい。送信部は、子局機器の数がN未満であると判断される第1の場合に、第1の無線設定を第2の通信装置に送信し、子局機器の数がNであると判断される第2の場合に、第2の無線設定を第2の通信装置に送信してもよい。この構成によると、第1の通信装置は、子局機器の数が、N未満であるのか、Nであるのか、に応じて、第1種又は第2種の無線ネットワークに第2の通信装置を適切に参加させ得る。   When the first communication device operates in the parent station state and belongs to the first type wireless network, the maximum number of slave station devices that can belong to the first type wireless network is N (where N is 1 The above integer may be sufficient. The slave station device may be a device that operates in the slave station state and belongs to the first type of wireless network. The first communication device further includes a slave station device currently belonging to the first type of wireless network when the first communication device operates in the parent station state and currently belongs to the first type of wireless network. A first determination unit may be provided to determine whether the number of N is less than or equal to N. The transmitting unit transmits the first wireless setting to the second communication device in the first case where it is determined that the number of slave station devices is less than N, and determines that the number of slave station devices is N. In the second case, the second radio setting may be sent to the second communication device. According to this configuration, the first communication device transmits the second communication device to the first type or second type of wireless network depending on whether the number of slave devices is less than or equal to N. To participate properly.

第1の通信装置は、さらに、第1の通信装置が第1種の無線ネットワークに現在属していない場合に、第1の通信装置が親局状態で動作するための第1種の無線ネットワークを新たに形成する形成部を備えていてもよい。送信部は、第1種の無線ネットワークが新たに形成される第1の場合に、第1の無線設定を第2の通信装置に送信してもよい。この構成によると、第1の通信装置は、第1の通信装置が親局状態で動作するための第1種の無線ネットワークを新たに形成して、第1種の無線ネットワークに第2の通信装置を適切に参加させ得る。   The first communication device further includes a first type of wireless network for operating the first communication device in a parent station state when the first communication device does not currently belong to the first type of wireless network. A newly formed formation may be provided. The transmitter may transmit the first wireless setting to the second communication device in the first case where the first type of wireless network is newly formed. According to this configuration, the first communication device newly forms a first type of wireless network for the first communication device to operate in a parent station state, and performs second communication on the first type of wireless network. Allow the device to participate properly.

送信部は、第1の通信装置が子局状態で動作して第1種の無線ネットワークに現在属している第2の場合に、第2の無線設定を第2の通信装置に送信してもよい。この構成によると、第1の通信装置は、第1の通信装置が子局状態で動作して第1種の無線ネットワークに現在属している第2の場合に、第2種の無線ネットワークに第2の通信装置を適切に参加させ得る。   The transmitting unit transmits the second wireless setting to the second communication device in the second case where the first communication device operates in the slave station state and currently belongs to the first type of wireless network. Good. According to this configuration, when the first communication device operates in the slave station state and the second communication device currently belongs to the first type wireless network, the first communication device transmits the second type wireless network to the second type wireless network. The two communication devices can be properly joined.

第1の通信装置は、さらに、第2の場合に、第1の通信装置が第2種の無線ネットワークに現在属しているのか否かを判断する第2の判断部と、第2の場合において、第1の通信装置が第2種の無線ネットワークに現在属していないと判断される場合に、第1の通信装置の周辺に存在する中継装置を検索する検索部と、を備えていてもよい。送信部は、第2の場合において、第1の通信装置が第2種の無線ネットワークに現在属していると判断される場合に、第2の通信装置が、第1の通信装置が現在属している第2種の無線ネットワークに参加するための第2の無線設定を、第2の通信装置に送信してもよい。送信部は、第2の場合において、第1の通信装置が第2種の無線ネットワークに現在属していないと判断される場合に、第2の通信装置が、検索によって見つかった1個以上の中継装置のうちの特定の中継装置を含む第2種の無線ネットワークに参加するための第2の無線設定を、第2の通信装置に送信してもよい。この構成によると、第1の通信装置は、第2の場合に、第2種の無線ネットワークに現在属しているのか否かに応じて、適切な処理を実行することができ、この結果、第2種の無線ネットワークに第2の通信装置を適切に参加させ得る。   In the second case, the first communication device further determines, in the second case, a second determination unit that determines whether the first communication device currently belongs to the second type of wireless network. And a search unit configured to search for a relay device existing around the first communication device when it is determined that the first communication device does not currently belong to the second type wireless network. . In the second case, when it is determined in the second case that the first communication device currently belongs to the second type of wireless network, the second communication device currently belongs to the first communication device. A second wireless configuration for joining a second type of wireless network may be transmitted to the second communication device. In the second case, when it is determined in the second case that the first communication device does not currently belong to the second type of wireless network, the second communication device detects one or more relays found by the search. A second wireless configuration for joining a second type of wireless network including a particular relay device of the devices may be sent to the second communication device. According to this configuration, in the second case, the first communication device can perform appropriate processing depending on whether or not it currently belongs to the second type of wireless network. The second communication device may be properly joined to the two wireless networks.

第1の通信装置は、さらに、検索によって複数個の中継装置が見つかった場合に、対象データの処理に関係する処理関係情報を用いて、複数個の中継装置の中から、特定の中継装置を選択する選択部を備えていてもよい。この構成によると、第1の通信装置は、処理関係情報を用いて、適切な中継装置を選択し得る。   The first communication device further uses the processing relationship information related to the processing of the target data when a plurality of relay devices are found by the search, and a specific relay device is selected from the plurality of relay devices. You may provide the selection part to select. According to this configuration, the first communication device can use the processing relationship information to select an appropriate relay device.

検索部は、複数個の中継装置のそれぞれから通信関係情報を取得してもよい。複数個の中継装置から取得される複数個の通信関係情報のそれぞれは、(A)当該通信関係情報の取得元の中継装置が現在利用している認証方式を示す認証方式情報と、(B)当該通信関係情報の取得元の中継装置が現在利用している暗号化方式を示す暗号化方式情報と、(C)当該通信関係情報の取得元の中継装置を利用した無線通信の通信速度を示す通信速度情報と、のうちの少なくとも1個の情報を含んでいてもよい。選択部は、処理関係情報と、複数個の通信関係情報と、を用いて、複数個の中継装置の中から、特定の中継装置を選択してもよい。この構成によると、第1の通信装置は、処理関係情報と、複数個の通信関係情報と、を用いて、適切な中継装置を選択し得る。   The search unit may acquire communication related information from each of the plurality of relay devices. Each of the plurality of pieces of communication related information acquired from the plurality of relay devices is (A) authentication method information indicating an authentication method currently used by the relay device from which the communication related information is acquired; The encryption method information indicating the encryption method currently used by the relay apparatus from which the communication related information is acquired, and (C) the communication speed of wireless communication using the relay apparatus from which the communication related information is acquired Communication speed information and at least one of the information may be included. The selection unit may select a specific relay device from among the plurality of relay devices using the processing 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 processing relationship information and the plurality of communication relationship information.

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

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

複数個の通信関係情報のそれぞれは、当該通信関係情報の取得元の中継装置が現在利用している認証方式を示す認証方式情報を含んでいてもよい。選択部は、データ関係情報が、対象データのセキュリティが比較的に高いことを示す場合には、複数個の中継装置の中から、第1の認証方式を現在利用している特定の中継装置を選択し、データ関係情報が、対象データのセキュリティが比較的に低いことを示す場合には、複数個の中継装置の中から、第1の認証方式とは異なる第2の認証方式を現在利用している特定の中継装置を選択してもよい。この構成によると、第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 device that is the acquisition source of the communication related information. When the data relation information indicates that the security of the target data is relatively high, the selection unit selects a specific relay device currently using the first authentication method from among the plurality of relay devices. If 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 among the plurality of relay devices. 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の暗号化方式とは異なる第2の暗号化方式を現在利用している特定の中継装置を選択してもよい。この構成によると、第1の通信装置は、対象データのセキュリティに応じて、適切な中継装置を選択し得る。   Each of the plurality of pieces of communication related information may include encryption method information indicating an encryption method currently used by the relay device that is the acquisition source of the communication related information. When the selection unit indicates that the data related information indicates that the security of the target data is relatively high, the specific relay device currently using the first encryption method among the plurality of relay devices. If the data relation information indicates that the security of the target data is relatively low, the second encryption method different from the first encryption method is selected from the plurality of relay devices. A specific relay device currently in use 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の通信装置は、対象データのセキュリティの高低を適切に判断し得る。   The selection unit determines that the security of the target data is relatively high when the data related information includes a password for permitting the output of the target data, and the data related information does not include the password. It may be determined that the security of the target data is relatively low. According to this configuration, the first communication device can appropriately determine the level of security of the target data.

複数個の通信関係情報のそれぞれは、当該通信関係情報の取得元の中継装置を利用した無線通信の通信速度を示す通信速度情報を含んでいてもよい。選択部は、データ関係情報が、対象データのデータサイズが比較的に大きいことを示す場合には、複数個の中継装置の中から、比較的に大きい通信速度を実現する特定の中継装置を選択し、データ関係情報が、対象データのデータサイズが比較的に小さいことを示す場合には、複数個の中継装置の中から、比較的に小さい通信速度を実現する特定の中継装置を選択してもよい。この構成によると、第1の通信装置は、対象データのデータサイズに応じて、適切な中継装置を選択し得る。   Each of the plurality of pieces of communication related information may include communication speed information indicating the communication speed of wireless communication using the relay device that is the acquisition source of the communication related information. The selection unit selects a specific relay device that achieves a relatively high communication speed from among the plurality of relay devices when the data relation information indicates that the data size of the target data is relatively large. If the data relation information indicates that the data size of the target data is relatively small, select a specific relay device that achieves a relatively low communication speed from among the plurality of relay devices. It is also good. 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のデータ形式とは異なる第2のデータ形式を有することを示す場合には、複数個の中継装置の中から、比較的に小さい通信速度を実現する特定の中継装置を選択してもよい。この構成によると、第1の通信装置は、対象データのデータ形式に応じて、適切な中継装置を選択し得る。   Each of the plurality of pieces of communication related information may include communication speed information indicating the communication speed of wireless communication using the relay device that is the acquisition source of the communication related information. The selection unit selects a specific relay device that achieves a relatively high communication speed from among the plurality of relay devices when the data relation information indicates that the target data has the first data format. If 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 among a plurality of relay apparatuses. A specific 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の通信装置は、能力関係情報を用いて、適切な中継装置を選択し得る。   The selection unit is a second capability relationship relating to a first capability relation information related to the capability for the first communication device to process target data and a second capability relationship related to the second communication device for processing the target data. A specific relay device may be selected using processing related information including at least one of the information related to the capability related information and a plurality of communication related information. According to this configuration, the first communication device can use the capability relation information to select an appropriate relay device.

第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 a specific relay device using the processing relation information including the acquired first capability relation information and the plurality of communication relation information. According to this configuration, the first communication device can select an appropriate relay device using the first capability relation information related to the capability of the first communication device.

第1の通信装置は、さらに、第2の通信装置から第2の能力関係情報を受信する受信部を備えていてもよい。選択部は、受信済みの第2の能力関係情報を含む処理関係情報と、複数個の通信関係情報と、を用いて、特定の中継装置を選択してもよい。この構成によると、第1の通信装置は、第2の通信装置の能力に関係する第2の能力関係情報を用いて、適切な中継装置を選択し得る。   The first communication device may further include a receiver configured to receive the second capability relation information from the second communication device. The selection unit may select a specific relay device using processing relationship information including the received second capability relationship information and a plurality of communication relationship information. According to this configuration, the first communication device can select an appropriate relay device using the second capability relation information related to the capability of the second communication device.

複数個の通信関係情報のそれぞれは、当該通信関係情報の取得元の中継装置を利用した無線通信の通信速度を示す通信速度情報を含んでいてもよい。選択部は、少なくとも一方の能力関係情報が、対象データを処理するための能力が比較的に高いことを示す場合には、複数個の中継装置の中から、比較的に大きい通信速度を実現する特定の中継装置を選択し、少なくとも一方の能力関係情報が、対象データを処理するための能力が比較的に低いことを示す場合には、複数個の中継装置の中から、比較的に小さい通信速度を実現する特定の中継装置を選択してもよい。この構成によると、第1の通信装置は、対象データを処理するための能力に応じて、適切な中継装置を選択し得る。   Each of the plurality of pieces of communication related information may include communication speed information indicating the communication speed of wireless communication using the relay device that is the acquisition source of the communication related information. The selection unit achieves a relatively high communication speed from among the plurality of relay devices when at least one of the capability relation information indicates that the capability for processing the target data is relatively high. If a specific relay device is selected and at least one of the capability relationship information indicates that the ability to process the target data is relatively low, relatively small communication among a plurality of relay devices The particular relay device that achieves the 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 of the pieces of capability relation information is equal to or greater than the predetermined threshold, and the at least one piece of capability relation information indicates If the value is less than a 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 the ability to process the target data.

選択部は、対象データに関係するデータ関係情報と、第1の通信装置が対象データを処理するための能力に関係する第1の能力関係情報及び第2の通信装置が対象データを処理するための能力に関係する第2の能力関係情報のうちの少なくとも一方の能力関係情報と、を含む処理関係情報と、複数個の通信関係情報と、を用いて、特定の中継装置を選択してもよい。この構成によると、第1の通信装置は、データ関係情報と能力関係情報とを用いて、適切な中継装置を選択し得る。   The selection unit is configured to process the target data by the data relation information related to the target data, the first capability relation information related to the ability of the first communication device to process the target data, and the second communication device. Even if processing relationship information including at least one of the second capability relationship information relating to the capabilities of and the plurality of pieces of communication relationship information are used to select a specific relay device 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 for realizing the first communication device described above, a computer program, and a computer readable recording medium storing the computer program are also novel and useful. A communication system comprising the first communication device described above and the second communication device described above is also novel and useful.

通信システムの構成を示す。1 shows the configuration of a communication system. 携帯端末のアプリケーション処理のフローチャートを示す。3 shows a flowchart of application processing of a mobile terminal. MFPの通信処理のフローチャートを示す。5 shows a flowchart of communication processing of the MFP. MFP及び携帯端末が実行する通信及び処理を表わすシーケンス図を示す。FIG. 6 shows a sequence diagram showing communication and processing executed by the MFP and the portable terminal. 実施例1の概要を表わすテーブルを示す。5 shows a table representing the outline of the first embodiment. 実施例2の概要を表わすテーブルを示す。7 shows a table representing the outline of the second embodiment. 実施例3の概要を表わすテーブルを示す。16 shows a table representing the outline of the third embodiment. 携帯端末のアプリケーション処理のフローチャートを示す。3 shows a flowchart of application processing of a mobile terminal. MFPの通信処理のフローチャートを示す。5 shows a flowchart of communication processing of the MFP. MFP及び携帯端末が実行する通信及び処理を表わすシーケンス図を示す。FIG. 6 shows a sequence diagram showing communication and processing executed by the MFP and the portable 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 (abbreviated to AP)”) 4 a and 4 b and a multi-function device (hereinafter referred to as “MFP (Multi-Function) And a portable 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通信」と呼ぶ。
(Type of wireless communication that can be executed by MFP 10)
The MFP 10 executes wireless communication according to NFC (abbreviation of Near Field Communication) method, wireless communication according to WFD (abbreviation of Wi-Fi Direct) method, and wireless communication according to a normal Wi-Fi method. It is possible. Hereinafter, wireless communication in accordance with each of the above methods will be 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 distance wireless communication, and is, for example, a wireless communication method based on the international standard of ISO / IEC 21481 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 standard document “Wi-Fi created by the Wi-Fi Alliance.
Peer-to-Peer (P2P) This is a wireless communication method described in Technical Specification Version 1.1. The WFD scheme is, for example, wireless according to the IEEE 802.11 (abbreviation of The Institute of Electrical and Electronics Engineers, Inc.) standard and a standard conforming thereto (eg, 802.11a, 11b, 11g, 11n, etc.). It is a wireless communication method for executing communication.

MFP10は、WFDネットワークに属することによって、当該WFDネットワークに属する他の機器と対象データのWFD通信を実行することができる。対象データは、OSI参照モデルのネットワーク層の情報を含むデータであり、例えば、印刷データ、スキャンデータ等を含む。   The MFP 10 can execute WFD communication of target data with another device belonging to the WFD network by belonging to the WFD network. The target data is data including information of 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 capable of executing WFD communication, such as the MFP 10, will be referred to as a “WFD-compatible device”. In the above WFD specifications, three states of Group Owner state (hereinafter referred to as "G / O state"), client state, and device state are defined as the states of a WFD compatible device. The WFD-enabled device is selectively operable in one of the three states described above.

デバイス状態の一対の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 the device state should form a WFD network, wireless communication called G / O negotiation is usually 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 devices in the G / O state (hereinafter referred to as “G / O devices”) and devices in the client state (hereinafter referred to as “client devices”). 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 performs authentication of the client device for each of one or more client devices, and when authentication of the client device succeeds, identification information of the client device (ie, MAC address) ) Is described in the management list in the memory of the G / O device. In the present embodiment, in the WFD network to which the MFP 10 belongs, G / O devices (that is, the MFP 10 or G / O devices different from the MFP 10) have the authentication method “WPA2” and the encryption method “AES”. , To execute authentication of 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 target data with client devices registered in the management list. However, the G / O device can execute wireless communication of specific data for the unregistered device to belong to the WFD network with the unregistered device not registered in the management list, but the wireless of the target data Communication is not possible. The specific data is data not including information of the network layer of the OSI reference model, and for example, a probe request signal (hereinafter referred to as "PReq signal"), a probe response signal (hereinafter referred to as "PRes signal"), etc. Contains physical layer data. The G / O device can relay wireless communication of target data between a plurality of client devices.

WFDネットワークに属していないWFD対応機器(即ち、G/O機器の管理リストに登録されていない未登録機器)が、デバイス状態の機器である。デバイス状態の機器は、WFDネットワークに属するための上記の特定データの無線通信を、G/O機器と実行可能であるが、上記の対象データの無線通信を、G/O機器又はクライアント機器と実行不可能である。   WFD compatible devices that do not belong to the WFD network (that is, unregistered devices not registered in the management list of G / O devices) are devices in the device state. A device in the device state can execute wireless communication of the above specific data to belong to the WFD network with the G / O device, but execute wireless communication of the above target data with the G / O device or the client device It is impossible.

上述したように、WFDネットワークでは、一対のWFD対応機器は、これらのWFD対応機器とは別体に構成されているAPを介さずに、対象データのWFD通信を実行することができる。即ち、WFD通信は、APを介さない無線通信であると言える。   As described above, in the WFD network, a pair of WFD compatible devices can execute WFD communication of target data without passing through an AP 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, although it is not selectively operable in one of the three states (ie, the G / O state, the client state, and the device state) defined in the above WFD standard, An apparatus capable of executing wireless communication (that is, normal Wi-Fi communication described later) via an AP is referred to as a "WFD non-compliant apparatus". The “non-WFD compatible device” is also referred to as a “legacy device”. The device in the G / O state can describe the identification information of the WFD non-compliant device 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 portable terminal 50 is a WFD non-compliant device (i.e., a legacy device). Therefore, when the MFP 10 is in the G / O state, the MFP 10 can execute WFD communication of 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 scheme is a wireless communication scheme defined by the Wi-Fi Alliance, and is a wireless communication scheme different from the WFD scheme. The normal Wi-Fi method is, like the WFD method, a wireless communication for executing wireless communication in accordance with the IEEE 802.11 standard and a standard conforming thereto (for example, 802.11a, 11b, 11g, 11n, etc.) It is a communication method. However, as described above, the WFD scheme is a wireless communication scheme for executing wireless communication not via an AP. On the other hand, the normal Wi-Fi scheme is a wireless communication scheme for executing wireless communication via an AP. In this point, the WFD method and the normal Wi-Fi method 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 target data with another device belonging to the normal Wi-Fi network via the AP. In the present embodiment, since the portable terminal 50 is a WFD non-compliant device (i.e., a legacy device), it can perform normal Wi-Fi communication. Therefore, the MFP 10 can execute normal Wi-Fi communication of target data with the portable terminal 50 via any one of the plurality of APs 4 a and 4 b.

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

また、本実施例では、通常Wi−Fi通信のための暗号化方式として、WEP(Wired Equivalent Privacy)、TKIP(Temporal Key Integrity Protocolの略)、又は、A
ES(Advanced Encryption Standardの略)が利用される。これらの3種類の暗号化方式では、「WEP」が最も低セキュリティの暗号化方式であり、「TKIP」が「WEP」より高セキュリティの暗号化方式であり、「AES」が「TKIP」より高セキュリティの暗号化方式である。
In this embodiment, as an encryption method for normal Wi-Fi communication, WEP (Wired Equivalent Privacy), TKIP (Temporal Key Integrity Protocol abbreviation), or A
ES (abbreviation of Advanced Encryption Standard) is used. Of these three 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 established in an environment where APs can be installed, such as an in-house LAN, an in-home LAN, etc. Generally speaking, it is a wireless network that should be formed regularly. . On the other hand, the WFD network is a wireless network established to execute temporary wireless communication between, for example, a pair of WFD compatible devices in order to not require an AP, generally speaking, It is a wireless network to be formed temporarily. Thus, in the present embodiment, it is assumed that the normal Wi-Fi network is a wireless network to be formed regularly and the WFD network is a wireless network to 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 shown in FIG. 1, the MFP 10 includes an operation unit 12, a display unit 14, a print execution unit 16, a scan execution unit 18, and a wireless LAN interface (hereinafter referred to as “I / F”. ), An NFC I / F 22, and a control unit 30. Each unit 12 to 30 is connected to a bus line (reference numeral 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 (ie, one IC chip). However, in the wireless LAN I / F 20, 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 MAC address “for MAC address” is assigned. Specifically, a Wi-Fi MAC address is usually assigned to the wireless LAN I / F 20 in advance. The control unit 30 generates a WFD MAC address different from the normal Wi-Fi MAC address using the normal Wi-Fi MAC address, and assigns the WFD MAC address to the wireless LAN I / F 20. Accordingly, the control unit 30 can simultaneously execute both the normal Wi-Fi communication using the normal Wi-Fi MAC address and the WFD communication using the WFD MAC address. That is, the MFP 10 can simultaneously belong to both the WFD network and the normal Wi-Fi network.

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アドレスが利用される無線ネットワークである。   In terms of the MAC address used by the MFP 10, the WFD communication and the normal Wi-Fi communication can be expressed, for example, as follows. That is, WFD communication is wireless communication in which the WFD MAC address of the MFP 10 is used, and normal Wi-Fi communication is wireless communication in which the normal Wi-Fi MAC address of the MFP 10 is used. 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 for wireless communication via the NFC I / F 22 (for example, the maximum communication speed is 100 to 424 Kbps) Too fast. Also, the frequency of the carrier wave in 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 wireless communication via the NFC I / F 22 (for example, 13.56 MHz band) It is different from Further, for example, when the distance between the MFP 10 and the portable terminal 50 is approximately 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, even when 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 transmits the portable terminal 50 via the wireless LAN I / F 20. And WFD communication and normal Wi-Fi communication can be performed. That is, for the maximum distance at which the MFP 10 can execute wireless communication with the communication destination device (for example, the portable terminal 50) via the wireless LAN I / F 20, the MFP 10 performs wireless communication with the communication destination device via the NFC I / F 22 Greater than the maximum distance possible.

制御部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 in accordance with the program stored in the memory 34. The functions of the units 41 to 49 are realized by the CPU 32 executing processing according to a program. The memory 34 is configured by 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 (ie, any of the G / O state, the client state, and the device state). When the MFP 10 belongs to the WFD network (ie, when the WFD state value indicates the G / O state or the client state), the memory 34 further stores the WFD wireless setting for executing the 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 a 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として準備する。   When forming a WFD network, the G / O device usually prepares the WFD wireless setting and supplies the WFD wireless setting to the client device. For example, the control unit 30 of the MFP 10 prepares 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 (i.e., "WPA2") and encryption method information (i.e., "AES"). The control unit 30 prepares a password by preparing a predetermined password or by newly generating a password. The control unit 30 prepares the SSID by preparing a predetermined SSID or newly generating the SSID. The control unit 30 also prepares a WFD MAC address determined in advance 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 the G / O device different from the MFP 10 forms the WFD network. The stored WFD radio setting (ie, the WFD radio setting acquired from the G / O device) is 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アドレス)である。   Further, when the MFP 10 belongs to the normal Wi-Fi network, the memory 34 further stores the normal Wi-Fi wireless setting for executing the normal Wi-Fi communication. The normal Wi-Fi wireless setting usually includes authentication method information, encryption method information, an SSID, a BSSID, and a password. The SSID included in the normal Wi-Fi wireless setting is a network identifier for identifying a 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 S42 to S48 in FIG. 3 described later.
There is a second method of performing

第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, when the predetermined operation described above is applied to the operation unit 12, the MFP 10 executes the SSID search. As a result, the MFP 10 receives, from each of the APs 4 a and 4 b existing around the MFP 10, 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. And the SSID and BSSID currently used by the AP. Next, the MFP 10 causes the display unit 14 to display the plurality of SSIDs acquired from the 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 the high security normal Wi-Fi network adopting the authentication method “WPA” or “WPA2”, authentication using a password is performed. 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 performs wireless connection with the selected AP using the password input by the user. Do. For wireless connection, communication processing for the MFP 10 to participate in a normal Wi-Fi network (for example, communication processing for authentication (Authentication signal, Association Request)
Communication, etc.)). Thus, 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 the low security normal Wi-Fi network adopting the authentication method “Open”, authentication using a password is not performed. Therefore, when the selected AP uses the authentication method “Open”, the user does not input the password. The MFP 10 performs wireless connection with the selected AP using the authentication method information, the encryption method information, the SSID, and the BSSID acquired from the selected AP, and the selected AP forms Join the Wi-Fi network normally. The memory 34 stores, as a normal Wi-Fi wireless setting, each piece of information (authentication method information and the like) used in wireless connection with the selected AP.

メモリ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 in the normal Wi-Fi network and an SSID for identifying the normal Wi-Fi network each time the MFP 10 joins the normal Wi-Fi network according to the first method. Store the participation information associated with the existing password. That is, the memory 34 cumulatively stores the one or more participation information corresponding to the one or more normal Wi-Fi networks in which the MFP 10 has participated in the past. As described above, the password is not used in the normal Wi-Fi network adopting 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ネットワークに自動的に参加する。   Although described in detail later, the MFP 10 executes the SSID search also in the second method described above (S42 in FIG. 3). Then, the MFP 10 automatically selects one SSID (that is, one AP) without receiving an instruction from the user (S44). Next, the MFP 10 performs wireless connection with the selected AP (S48). Thereby, 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 portable terminal 50)
The portable terminal 50 is, for example, a portable terminal device such as a portable telephone (for example, a smartphone), a PDA, a notebook PC, a tablet PC, a portable music reproduction device, a portable video reproduction 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 similar to 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 in accordance with the program stored in the memory 74. The programs in the memory 74 include an application 76 for causing the MFP 10 to execute various functions (for example, print function, scan function, etc.). For example, the application 76 may be installed on the portable terminal 50 from a server provided by a vendor of the MFP 10, or may be installed on the portable terminal 50 from media shipped together with the MFP 10. The CPU 72 executes processing in accordance with the application 76 to implement the functions of the units 81 to 86. Each of the units 81 to 86 functions in the fourth to sixth embodiments 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. The APs 4a and 4b receive target data from a first device (e.g., the portable terminal 50) of the plurality of devices belonging to the normal Wi-Fi network, and the second device of the plurality of devices described above The target data is transmitted to (for example, the MFP 10). That is, the APs 4a and 4b function as relay devices that relay wireless communication of target data between a pair of devices belonging to a 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 the normal AP (ie, AP 4a, 4b) is as follows. That is, the 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. On the other hand, 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 only perform the same operation as the WFD's G / O state, and can not perform the same operation as the WFD's client state.

(携帯端末50のアプリケーション処理;図2)
続いて、図2を参照して、携帯端末50の制御部70がアプリケーション76に従って実行する処理の内容を説明する。携帯端末50のユーザは、携帯端末50に格納されている印刷対象のデータ(以下では「印刷データ」と呼ぶ)によって表わされる画像を、MFP10に印刷させることを望む場合に、操作部52を操作して、アプリケーション76を起動させる。これにより、制御部70は、アプリケーション76に従って、図2のフローチャートを開始する。
(Application processing of the portable terminal 50; FIG. 2)
Subsequently, with reference to FIG. 2, the contents of processing executed by the control unit 70 of the portable terminal 50 in accordance with the application 76 will be described. The user of the portable terminal 50 operates the operation unit 52 when wanting 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. And launch the application 76. Thereby, the control unit 70 starts the flowchart of FIG. 2 according to the application 76.

ユーザは、携帯端末50のメモリ74に格納されている印刷データを選択するための操作と、印刷データに対してパスワードを設定するのか否かを選択するための操作と、を含む印刷操作を、操作部52に加える。この場合、制御部70は、S10でYESと判断して、S11に進む。   The user performs a printing 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 print data, MFP 10 does not start printing according to print data unless the user operates operation unit 12 of MFP 10 and inputs the password to MFP 10. . That is, only the user who has given the print operation to the portable terminal 50 can acquire the printed matter generated by the MFP 10 printing. On the other hand, when the password is not set for the print data, the MFP 10 immediately starts printing when the print data is received (that is, printing is started even if the password is not input to the MFP 10). That is, a third party other than the user who added the print operation to the portable terminal 50 can obtain 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 S11, 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. When the user selects to set a password for 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 it is selected by the user that the password is not set for the print data, the control unit 70 generates security information indicating non-secure. In this case, the security information does not include the 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 capable of executing NFC communication (that is, the portable terminal 50). The user of the portable terminal 50 brings the portable terminal 50 close to the MFP 10 after applying the printing operation described above. As a result, the distance between the portable terminal 50 and the MFP 10 becomes smaller than the distance (for example, 10 cm) at which 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 S12, 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 NFC information is transmitted from the portable terminal 50 to the MFP 10, the MFP 10 determines YES in S30 of FIG. 3 described later, and executes the processing of S32 and subsequent steps. 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 (i.e., authentication method information, encryption method information, SSID, and BSSID) currently used in a normal Wi-Fi network formed by the AP. When authentication using a password is performed 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 authentication using a password is not performed 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 password.

図2のS14では、携帯端末50の制御部70は、MFP10から、NFCI/F62を介して、WFD無線設定又はAP情報を受信する。なお、制御部70は、S14でWFD無線設定又はAP情報を受信した後に、例えば、携帯端末50から所定の音を出力させて、NFC通信が完了したことを携帯端末50のユーザに通知する。これにより、ユーザ
は、MFP10から携帯端末50を遠ざけてよいことを認識できる。S14を終えると、S16に進む。
In S14 of FIG. 2, the control unit 70 of the portable terminal 50 receives the WFD wireless setting or the AP information from the MFP 10 via the NFC I / F 62. Note that, after receiving the WFD wireless setting or the AP information in S14, for example, the control unit 70 causes the portable terminal 50 to output a predetermined sound, and notifies the user of the portable terminal 50 that the NFC communication is completed. Thus, 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ネットワークに属することになる。   At S16, the control unit 70 performs a wireless connection according to the information received at S14. When the information received in S14 is 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. Do. The wireless connection includes communication processing (for example, communication processing 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 above-mentioned 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 example, communication process for authentication) for joining a specific normal Wi-Fi network identified by the SSID included in the received AP information. Thereby, the portable terminal 50 can participate in the above-mentioned 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 S16 is executed, if the portable terminal 50 already belongs to the WFD network or the normal Wi-Fi network, the control unit 70 leaves the existing network in S16, and the above-mentioned specification Join a WFD network or a specific regular Wi-Fi network. When leaving the above-mentioned existing network, the control unit 70 stores in the memory 74 a wireless setting (for example, an SSID, a password, etc.) for rejoining the above-mentioned 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 the 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 the print data to the MFP 10 in the G / O state using the specific WFD network. Do. That is, even if the relay device (for example, the APs 4a and 4b) does not relay the print data, the print data is directly transmitted from the portable terminal 50 to the MFP 10. Also, for example, when the portable terminal 50 participates in the above-mentioned specific normal Wi-Fi network, in S20, the control unit 70 uses the above-mentioned specific normal Wi-Fi network to perform AP (for example, 4a The print data is transmitted to the MFP 10 via

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

(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)
Subsequently, the contents of the process 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, the MFP 10 operates in the G / O state and belongs to the WFD network). To determine what). If 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. 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, when 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). ). If 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, if the WFD state value in the memory 34 indicates the device state, that is, if 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 usually performed to determine G / O devices and client devices. On the other hand, in the autonomous G / O mode, it is determined that the MFP 10 enters the G / O state without performing the G / O negotiation. In the stage of 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 (ie, the MFP 10) belongs. The autonomous G / O mode is a mode that allows the MFP 10 to operate in the G / O state. For example, when the MFP 10 enters the G / O state by G / O negotiation to form a WFD network, the MFP 10 shifts from the G / O state to the device state when there are no client devices from the WFD network (ie, , WFD network disappears). On the other hand, for example, when the MFP 10 is in the G / O state in the autonomous G / O mode to form a WFD network, the MFP 10 maintains the G / O state even if there is no client device (ie, Maintain the 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 S38, the forming unit 49 further causes the memory 34 to store the WFD state value indicating the G / O state and the prepared WFD wireless setting. 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 S40, 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 NO in S34 or NO in S36 (ie, 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 made 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 made to participate in the WFD network as a client device. In S40, the WFD wireless setting is transmitted from the MFP 10 to the portable terminal 50 in order to cause 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, in the case of YES in S34 or in the case of YES in S36, S41 is executed. In S41, the second determination unit 48 determines whether the MFP 10 currently participates in the normal Wi-Fi network. When the normal Wi-Fi wireless setting is stored in the memory 34, the second determination unit 48 determines YES in S41 and proceeds to S49, and the normal Wi-Fi wireless setting is stored in the memory 34. If not, it is determined as NO 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 (that is, an AP for which a wireless connection with the MFP 10 has been established) included in the normal Wi-Fi network to which the MFP 10 currently belongs. 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 portable 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, in the case of NO at S41, each process of S42 to 48 is executed. In the case of 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 can not participate in the WFD network as a client device. Further, in the case of 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 (ie, the portable terminal 50) to participate in the WFD network. Therefore, the portable terminal 50 can not participate in the WFD network as a client device. Furthermore, 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 can not cause the portable terminal 50 to participate in the normal Wi-Fi network in which the MFP 10 currently participates. To this end, in S42 to S48, the control unit 30 executes a process 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 it is possible to cause the portable terminal 50 to participate in the WFD network (NO in S34, NO in S36), processing 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 formed temporarily. In this case, since the normal Wi-Fi wireless setting is not transmitted to the portable terminal 50, it is possible to suppress the decrease in security of the normal Wi-Fi network that should be formed regularly. In view of such circumstances, in the present embodiment, priority is given to causing the portable terminal 50 to participate in the WFD network (S32 to S40), and if this is not possible, the portable terminal 50 is set to a normal Wi-Fi network. Make them participate (S41 to S49).

S42では、通信取得部44は、SSIDサーチを実行して、MFP10の周囲に存在するAPを検索する。このようにAPを検索するために、「通信取得部」を「検索部」と呼んでもよい。通信取得部44は、無線LANI/F20を介して、PReq信号を送信する。MFP10の周囲に存在するAP4a,4bのそれぞれは、MFP10からPRe
q信号を受信すると、PRes信号をMFP10に送信する。通信取得部44は、AP4a,4bのそれぞれから、無線LANI/F20を介して、PRes信号を受信する。即ち、本実施例では、通信取得部44は、SSIDサーチによって、2個のAP4a,4bを見つけることができる。
In S42, the communication acquisition unit 44 executes the SSID search to search for APs present around the MFP 10. Thus, in order to search for an AP, the "communication acquisition unit" may be called a "search unit". The communication acquisition unit 44 transmits the PReq signal via the wireless LAN I / F 20. Each of the APs 4 a and 4 b existing around the MFP 10 receives the PRe from the MFP 10.
When the q signal is received, the PRes signal is transmitted to the MFP 10. The communication acquisition unit 44 receives the PRes signal from each of the APs 4 a and 4 b via the wireless LAN I / F 20. That is, in the present embodiment, the communication acquisition unit 44 can find two APs 4a and 4b by the 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 the PReq signal is received 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 the present embodiment, the following description will be continued on the assumption that there is no G / O device around the MFP 10 as an example.

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 the AP And B. communication speed information indicating a communication speed of wireless communication to be realized. Therefore, the communication acquisition unit 44 acquires the information related to the wireless communication using the AP of 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 the one or more normal Wi-Fi networks in which the MFP 10 has participated in the past. The selection unit 43 is one or more matching the one or more SSIDs included in one or more pieces of participation information in the memory 34 among the plurality of SSIDs included in the plurality of PRes signals acquired in S42. Extract the SSID of. Next, the selection unit 43 selects one AP by selecting one SSID from among the extracted one or more 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 transmitting unit 42 prepares the authentication method information, the encryption method information, the SSID, and the BSSID acquired from the selected AP in the SSID search of S42. In addition, the transmission unit 42 reads participation information including the SSID acquired from the selected AP from the memory 34, and when the participation information includes a password, prepares the 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 performs wireless connection with the selected AP via the wireless LAN I / F 20 using each piece of information prepared in S46. The wireless connection includes communication processing for joining a specific normal Wi-Fi network identified by the SSID prepared in S46. Thereby, the MFP 10 can participate in the above-mentioned specific normal Wi-Fi network. As described above, the portable terminal 50 also participates in the above-described 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 S50, 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 through S40, the communication execution unit 46 directly receives the print data from the portable terminal 50 in the client state without passing through the relay device. Also, for example, in S50 executed through 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 S52, the control unit 30 processes the print data (for example, the print execution unit 16).
Process the processed data into processable data, and supply 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. If 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 a password included in the security information to the MFP 10 (ie, Hold the printing run). 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 upon acquiring processed data from the control unit 30. When S52 ends, the communication process of FIG. 3 ends. When MFP 10 joins a new normal Wi-Fi network in S48, control unit 30 maintains the state of participating in the above-described new normal Wi-Fi network even after S52 ends. 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 (the NFC information, the WFD wireless setting, the AP information, etc. described above) communicated by NFC communication. As described above, the communication speed of NFC communication is slower than the communication speed of WFD communication or normal Wi-Fi communication. Therefore, if a configuration is employed in which wireless communication of print data is executed between the MFP 10 and the portable terminal 50 using NFC communication, it takes a long time for wireless communication of print data. In view of such circumstances, in the present embodiment, the MFP 10 executes S40, S46 or S49 of FIG. 3 to transmit WFD wireless setting or AP information to the portable terminal 50. As a result, the MFP 10 and the portable terminal 50 can execute WFD communication or normal Wi-Fi communication of print data via the wireless LAN I / F 20. As a result, wireless communication of print data can be rapidly performed. Can.

上述したように、携帯端末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 specific mode for the portable terminal 50 to execute direct wireless communication not via the relay apparatus with the MFP 10 (that is, the MFP 10 is in the G / O state and the portable terminal 50 is in the client state) In the aspect, in the case where it is possible to participate in the WFD network (that is, in the case of NO in S34 of FIG. 3 or when S38 is executed), MFP 10 causes portable terminal 50 to participate in the WFD network. The wireless setting for transmitting is transmitted to the portable terminal 50 (S40). On the other hand, when it is not possible for the portable terminal 50 to participate in the WFD network in the above-described specific mode (that is, YES in S34 of FIG. 3 or YES in S36), the portable terminal 50 The wireless setting for joining 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 the portable terminal 50 can participate in the WFD network in the above-described specific mode. For this purpose, the MFP 10 can appropriately cause the portable terminal 50 to participate in the WFD network or the normal Wi-Fi network. As a result, the MFP 10 can appropriately execute wireless communication of target data with the portable terminal 50 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個のA
Pを選択する。
Example 1-1
Subsequently, the contents of the AP selection process of S44 of FIG. 3 will be described. In S44, the selection unit 43 first includes, for each of one or more extracted SSIDs, the encryption method currently used by the AP that is the acquisition source of the SSID (that is, is included in the PRes signal including the SSID Confirm the encryption method information). Then, if the security information included in the NFC information indicates “secure”, that is, if the security information includes a password, the selecting 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 for which “AES” has been confirmed. On the other hand, if the security information included in the NFC information indicates non-secure, that is, if the security information does not include a password, the selecting unit 43 determines that the security of the print data is low. In this case, the selecting unit 43 selects one SSID by selecting one SSID for which an encryption method other than “AES” (for example, “TKIP”, “WEP”) has been confirmed.
Choose P

なお、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”, when there is no SSID for which “AES” has been confirmed, the selection unit 43 selects the SSID for which an encryption method other than “AES” has been confirmed. You may choose. Also, when the security information included in the NFC information indicates non-secure, if there is no SSID for which the encryption method other than "AES" has been confirmed, the selection unit 43 determines the SSID for which "AES" has been confirmed. May be selected. That is, when there is no SSID satisfying the condition among the extracted one or more SSIDs, the selection unit 43 selects the SSID using a predetermined method (for example, a method of selecting at random). It is also good. This point is the same in each of 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)
Then, with reference to FIG. 4, the specific example of Example 1-1 is demonstrated. In FIG. 4, a single line arrow between the MFP 10 and the portable terminal 50 indicates wireless communication via the NFC I / F 22 or 62, and a double line arrow between the MFP 10 and the portable terminal 50 indicates the wireless LAN I / F 20, 60 illustrates wireless communication via 60. The AP 4a currently uses the SSID "aaa", the encryption method "AES", and the authentication method "WPA2", and realizes a communication speed "100 Mbps". The AP 4 b currently uses the SSID “bbb”, the encryption method “TKIP”, and the authentication method “WPA”, and realizes a communication speed “10 Mbps”. The BSSIDs currently used by the AP 4a and Ap 4b are not shown.

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

MFP10は、携帯端末50から、NFCI/F22を介して、NFC情報を受信すると(図3のS30でYES)、S32でYES、S34でYES、S41でNOと判断して、SSIDサーチを実行する(S42)。これにより、MFP10は、AP4a,4bのそれぞれから、PRes信号を受信する。   If the MFP 10 receives NFC information from the portable terminal 50 via the NFC I / F 22 (YES in S30 of FIG. 3), YES in S32, YES in S34, and NO in S41, and executes the SSID search (S42). Thus, 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, security information included in NFC information indicates “secure”. Accordingly, the MFP 10 selects an AP 4a currently using the encryption method "AES" from among 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 performs wireless connection with the AP 4a, and participates in 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 4 a transmits the 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は、N
FCI/F22を介して、AP4bを示すSSID「bbb」を含むAP情報を携帯端末50に送信する(S46)。次いで、MFP10は、AP4bと無線接続を実行して、AP4bが形成している通常Wi−Fiネットワークに参加する(S48)。これにより、MFP10は、無線LANI/F20を介して、印刷データを受信して(S50)、印刷処理を実行する(S52)。
On the other hand, in the case B of FIG. 4, the security information included in the NFC information indicates non-secure. Therefore, the MFP 10 selects an AP 4 b currently using the encryption method “TKIP” from among the plurality of APs 4 a and 4 b (S 44). Then, the MFP 10 receives N
AP information including the SSID "bbb" indicating the AP 4b is transmitted to the portable terminal 50 via the FCI / F 22 (S46). Next, the MFP 10 performs wireless connection with the AP 4 b and participates in the normal Wi-Fi network formed by the AP 4 b (S 48). Thus, 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 the present embodiment, when the user of the portable terminal 50 sets a password for print data, that is, when the security of the print data is high, the selection unit 43 performs high-security encryption. Select one AP using the method "AES". Thereby, communication of high security print data 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 (ie high security) of the portable 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 selects the low security encryption method (for example, “TKIP”, “ Select one AP that uses WEP "). Thus, communication of low security print data is performed 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 if a low security encryption method is used. If a configuration is adopted in which an AP using a high security encryption method "AES" must be selected regardless of the level of security of print data, the normal Wi-Fi network formed by the AP is adopted. The number of devices participating in the network increases, and the load on the AP increases. That is, in a situation where communication of low-security print data is to be performed, high-security data communication will be performed if a configuration is adopted in which an AP using the high-security encryption method "AES" is selected. Communication with client devices that should be performed. In this embodiment, when the intention of the user of the portable terminal 50 is low security, by adopting a configuration for selecting an AP using a low security encryption method, among the plurality of APs 4a and 4b. It is possible to appropriately suppress the occurrence of an event that only a part of APs have a large load.

(対応関係)
MFP10、携帯端末50が、それぞれ、「第1の通信装置」、「第2の通信装置」の一例である。NFCI/F22、無線LANI/F20が、それぞれ、「第1種のインターフェース」、「第2種のインターフェース」の一例である。G/O状態、クライアント状態が、それぞれ、「親局状態」、「子局状態」の一例である。WFDネットワーク、通常Wi−Fiネットワークが、それぞれ、「第1種の無線ネットワーク」、「第2種の無線ネットワーク」の一例である。図3のS34でNOの場合、又は、S38が実行される場合が、「第1の場合」の一例である。図3のS34でYESの場合、又は、S36でYESの場合が、「第2の場合」の一例である。図3のS40で送信される無線設定、S46又はS49で送信されるAP情報に含まれる無線設定が、それぞれ、「第1の無線設定」、「第2の無線設定」の一例である。複数個のAP4a,4bが、「複数個の中継装置」の一例である。印刷データが、「対象データ」の一例である。PRes信号が、「通信関係情報」の一例である。印刷データに対するパスワードを設定するのか否かに応じたセキュリティ情報が、「データ関係情報」及び「処理関係情報」の一例である。また、図4の例では、「AES」、「TKIP」が、それぞれ、「第1の暗号化方式」、「第2の暗号化方式」の一例である。
(Correspondence relationship)
The MFP 10 and the portable terminal 50 are examples of the “first communication device” and the “second communication device”, respectively. The NFC I / F 22 and the wireless LAN I / F 20 are examples of the “first type of interface” and the “second type of interface”, respectively. The G / O state and the client state are examples of the “master station state” and the “child station state”, respectively. The WFD network and the normal Wi-Fi network are examples of the “first type of wireless network” and the “second type of wireless network”, respectively. The case of NO in S34 of FIG. 3 or the case where S38 is executed is an example of the “first case”. The case of YES in S34 of FIG. 3 or the case of YES in S36 is an example of the “second case”. The wireless setting transmitted in S40 of FIG. 3 and the wireless setting included in the AP information transmitted in S46 or S49 are examples of the “first wireless setting” and the “second wireless setting”, respectively. The plurality of APs 4 a and 4 b are examples of the “plurality of relay devices”. Print data is an example of "target data". The PRes signal is an example of “communication related information”. Security information according to whether or not to set a password for print data is an example of “data related information” and “processing related information”. Further, in the example of FIG. 4, “AES” and “TKIP” are examples of the “first encryption method” and the “second encryption method”, respectively.

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

実施例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 selecting unit 43 first performs, for each of one or more extracted SSIDs, an authentication method currently used by an AP that is an acquisition source of the SSID (ie, 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 selecting unit 43 selects one of the SSIDs for which “WPA2” has been confirmed, thereby obtaining 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 “WPA 2” (for example, “WPA”, “Open”) has been confirmed. By selecting one AP (in the example of FIG. 4, AP 4b currently using "WPA") is selected.

本実施例では、高セキュリティの印刷データの通信が、高セキュリティの認証方式「WPA2」に従って実行される。即ち、MFP10は、携帯端末50のユーザの意図(即ち高セキュリティ)に応じて、適切なAPを選択することができる。また、MFP10は、携帯端末50のユーザの意図が低セキュリティである場合に、低セキュリティの認証方式を利用しているAPを選択する。これにより、一部のAPのみが大きな負荷を有する事象が発生するのを適切に抑制することができる。なお、本実施例では、「WPA2」、「WPA」が、それぞれ、「第1の認証方式」、「第2の認証方式」の一例である。   In the present embodiment, communication of high security print data is executed according to the high security authentication method “WPA 2”. That is, the MFP 10 can select an appropriate AP according to the user's intention (ie high security) of the portable terminal 50. Further, when the intention of the user of the portable terminal 50 is low security, the MFP 10 selects an AP using a low security authentication method. This makes it possible to appropriately suppress the occurrence of an event in which only some APs have a large load. In the present 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, to the operation unit 52, an operation for selecting whether or not to set a password for print data. Then, the portable terminal 50 generates security information according to the selection. Instead of this, in the embodiment 1-3, the user of the portable terminal 50 adds an operation for selecting whether to encrypt 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 encryption of print data is selected by the user, 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. And decrypt the print data. On the other hand, when it is selected by the user that the print data is not to be encrypted, 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, it is assumed that the data format of print data is PDF (abbreviation of Portable Document Format). When encryption of print data is selected by the user, control unit 70 of portable terminal 50 encrypts the print data using a predetermined electronic signature, and has a data format of signature PDF. Prepare print data. Then, 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 data format of the signature PDF by using a predetermined electronic signature. On the other hand, when it is selected by the user that the print data is not to be encrypted, the control unit 70 of the portable terminal 50 does not encrypt the print data (that is, prepares the print data having the normal PDF data format). To do).

上記の第1の例及び第2の例のどちらでも、印刷データを暗号化することが選択される場合は、印刷データを暗号化しないことが選択される場合と比較して、印刷データのセキュリティが高い。図2のS11では、携帯端末50の制御部70は、印刷データを暗号化することが選択された場合には、セキュアを示すセキュリティ情報を生成し、印刷データを暗号化しないことが選択された場合には、非セキュアを示すセキュリティ情報を生成する。この点が、実施例1−1とは異なる。その他の点は、実施例1−1と同様である。   In either of the above first and second examples, when it is selected to encrypt print data, security of print data is compared with the case where it is selected not to encrypt print data. Is high. In S11 of FIG. 2, when encryption of print data is selected, the control unit 70 of the portable terminal 50 generates security information indicating security and selects not to encrypt the print data. If so, generate security information that indicates non-secure. 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 the embodiment 1-1 can be obtained. In the present embodiment, security information corresponding to whether or not print data is to be encrypted is an example of the “data related information” and the “processing related information”.

(実施例1−4)
実施例1−4は、実施例1−3と同様に、セキュリティ情報は、印刷データを暗号化するのか否かに応じて決定される。また、実施例1−2と同様に、選択部43は、セキュリティ情報がセキュアを示す場合には、「WPA2」を利用している1個のAPを選択し、「WPA2」以外の認証方式を利用している1個のAPを選択する。本実施例でも、実施例1−2と同様の効果を得ることができる。
(Example 1-4)
In the example 1-4, as in the example 1-3, the security information is determined depending on whether the print data is to be encrypted. Further, as in Example 1-2, when the security information indicates secure, the selection unit 43 selects one AP using “WPA2”, and uses an authentication method other than “WPA2”. Select one AP you are using. Also in this embodiment, the same effect as that of the 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 S11 of FIG. 2, the control unit 70 of the portable terminal 50 generates NFC information including size information indicating the data size of print data, instead of the security information. Furthermore, in S44 of FIG. 3, the selection unit 43 first performs, 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 Check the communication speed information). Then, if the size information included in the NFC information is equal to or larger than the predetermined threshold value, the selection unit 43 selects one SSID (that is, one AP) for which a communication speed of 100 Mbps or more has been confirmed. 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) for which a communication speed less than 100 Mbps has been confirmed.

本実施例では、印刷データのデータサイズが大きい状況では、高速の通信速度を実現する1個のAPが選択される。これにより、データサイズが大きい印刷データの通信に必要な時間を短縮することができる。一方において、印刷データのデータサイズが小さい状況では、低速の通信速度を実現する1個のAPが選択される。印刷データのデータサイズが小さいために、低速の通信速度が利用されても、印刷データの通信に必要な時間が長くならずに済む。仮に、印刷データのデータサイズの大小に関わらず、高速の通信速度を実現するAPを必ず選択する構成が採用されると、当該APの負荷が大きくなる。即ち、データサイズが小さい印刷データの通信が実行されるべき状況において、高速の通信速度を実現するAPを選択する構成が採用されると、当該APとデータサイズが大きいデータの通信を実行すべきクライアント機器の通信に支障を来すおそれがある。本実施例によると、一部のAPのみが大きな負荷を有する事象が発生するのを適切に抑制することができる。   In the present embodiment, in the situation where the data size of print data is large, one AP that achieves high communication speed is selected. This makes it possible to shorten the time required for communication of print data having a large data size. On the other hand, in a situation where the data size of print data is small, one AP that achieves a low communication speed is selected. Because the data size of the print data is small, even if a low communication speed is used, the time required to communicate the print data does not have to be long. If a configuration is adopted where an AP that achieves a high communication speed must be selected regardless of the size of the print data size, the load on the AP will increase. That is, in a situation where communication of print data having a small data size is to be performed, if a configuration is adopted to select an AP that achieves high communication speed, communication of data having a large data size with the AP should be performed. Communication with client devices may be interrupted. According to this 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 the embodiment 1-6, the control unit 70 of the portable terminal 50 generates NFC information including format information indicating the data format of print data, instead of the security information, in S11 of FIG. If the format information included in the NFC information indicates “uncompressed Bitmap” in S44 of FIG. 3, the selecting 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 “non-compressed Bitmap” (for example, “PDF”, “JPEG”, etc.), the selection unit 43 confirms the communication speed less than 100 Mbps. Select one SSID (ie, one AP).

MFP10が印刷データを処理するための処理速度は、印刷データのデータ形式に依存する。例えば、「非圧縮Bitmap」のデータ形式を有する印刷データのための処理速度は、「PDF」のデータ形式を有する印刷データのための処理速度よりも速い。本実施例では、印刷データのデータ形式が「非圧縮Bitmap」である状況では、高速の通信
速度を実現する1個のAPが選択される。これにより、MFP10は、印刷データを高速で受信しながら、印刷データを高速で処理することができ、この結果、印刷物をユーザに迅速に提供することができる。
The processing speed for the MFP 10 to process 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 achieves high communication speed is selected. Thus, the MFP 10 can process the print data at high speed while receiving the print data at high speed, and as a result, the printed matter can be provided quickly to the user.

また、本実施例では、印刷データのデータ形式が「非圧縮Bitmap」以外である状況では、低速の通信速度を実現する1個のAPが選択される。仮に、印刷データのデータ形式が「非圧縮Bitmap」以外である状況において、高速の通信速度を実現するAPが選択される構成を採用すると、MFP10において、印刷データの受信速度が、印刷データの処理速度よりも速くなり、この結果、印刷データを受信しても、印刷データを迅速に処理することができない可能性がある。このような実情に鑑みて、本実施例では、MFP10は、印刷データのデータ形式が「非圧縮Bitmap」以外である状況では、低速の通信速度を実現する1個のAPを選択する。これにより、一部のAPのみが大きな負荷を有する事象が発生するのを適切に抑制することができる。なお、本実施例では、例えば、「非圧縮Bitmap」、「PDF」が、それぞれ、「第1のデータ形式」、「第2のデータ形式」の一例である。   Further, in the present embodiment, in a situation where the data format of the print data is other than “uncompressed Bitmap”, one AP that achieves a low communication speed is selected. Assuming that an AP that achieves a high communication speed is selected in a situation where the data format of print data is other than "uncompressed Bitmap", the print data reception speed in MFP 10 is that of print data processing. It is faster than speed, and as a result, receiving print data may not be able to process the print data quickly. In view of such circumstances, in the present embodiment, in a situation where the data format of the print data is other than “uncompressed Bitmap”, the MFP 10 selects one AP that realizes a low communication speed. This makes it possible to appropriately suppress the occurrence of an event in which only some APs have a large load. In the present embodiment, for example, “non-compressed Bitmap” and “PDF” are examples of the “first data format” and the “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, the control unit 70 of the portable terminal 50 generates NFC information including occupancy rate information indicating the CPU occupancy rate of the portable terminal 50, instead of the security information, in S11 of FIG. The CPU occupancy rate of the portable terminal 50 means the ratio of the time during which the CPU 72 is executing the application process of FIG. 2 in a certain unit time. When the CPU 72 executes only the application process of FIG. 2, the CPU occupancy rate of the portable terminal 50 has a relatively large value (ie, 100%). Further, when the CPU 72 executes the application processing of FIG. 2 and the other processing in parallel, the CPU occupancy of the portable terminal 50 has a relatively small value. That is, as the CPU occupancy rate of the portable terminal 50 is larger, the portable terminal 50 can execute the application processing of FIG. 2 at high 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)を選択する。   Further, in S44 of FIG. 3, when the CPU occupancy rate indicated by the occupancy rate information included in the NFC information is equal to or greater than the threshold, the selection unit 43 selects one SSID for which the communication speed of 100 Mbps or more is confirmed (ie, Select one AP). On the other hand, when the CPU occupancy rate indicated by the occupancy rate information included in the NFC information is less than the above threshold, the selection unit 43 selects one SSID for which the communication speed less than 100 Mbps is confirmed (ie, one SSID). Select 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 portable terminal 50 is large, in the situation where the portable terminal 50 can transmit print data to the network at high speed, one AP that achieves high communication speed is selected. . As a result, the MFP 10 can receive print data at high speed, and as a result, the printed matter can be provided quickly to the user. Further, in the present embodiment, in a situation where the portable terminal 50 can not transmit print data to the network at high speed because the CPU occupancy rate of the portable terminal 50 is small, one AP achieving a low communication speed It is selected. Temporarily, in a situation where the CPU occupancy rate of the portable terminal 50 is small, if adopting a configuration in which an AP realizing a high communication speed is selected, the speed at which print data is transmitted to the network in the portable terminal 50 is realized May be slower than the communication speed. Then, in a situation where the CPU occupancy rate of the portable terminal 50 is small, if a configuration for selecting an AP that achieves a high communication speed is adopted, communication between the AP and the client device that should communicate with the AP There is a risk of In view of such circumstances, in the present embodiment, in a situation where the CPU occupancy rate of the portable terminal 50 is small, the MFP 10 selects one AP that realizes a low communication speed. This makes it possible to appropriately suppress the occurrence of an event in which only some APs have a large load. In the present embodiment, the occupancy rate information is an example of the “second capability relation 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 S11 of FIG. 2, the control unit 70 of the portable terminal 50 generates NFC information including remaining amount information indicating the remaining amount of memory of the portable terminal 50, instead of the security information. The remaining memory capacity of the portable terminal 50 means the size of the area of the memory 74 that can be used for the application processing of FIG. 2. The larger the remaining memory capacity of the portable terminal 50 is, the faster the portable terminal 50 can execute the application processing of FIG. It is.

また、図3のS44において、NFC情報に含まれる残量情報が示すメモリ残量が閾値以上である場合には、選択部43は、100Mbps以上の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。一方において、NFC情報に含まれる残量情報が示すメモリ残量が上記の閾値未満である場合には、選択部43は、100Mbps未満の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。   Further, 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, the selecting unit 43 selects one SSID for which the communication speed of 100 Mbps or more is confirmed (ie, 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 selects one SSID for which a communication speed less than 100 Mbps has been confirmed (ie, one SSID). Select AP).

本実施例でも、実施例1−7と同様の効果が得られる。なお、本実施例では、残量情報が、「第2の能力関係情報」の一例である。   Also in the present embodiment, the same effect as in the embodiment 1-7 can be obtained. In the present embodiment, the remaining amount information is an example of the “second capability relation 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, the control unit 70 of the portable terminal 50 generates NFC information including processing speed information indicating the print data processing speed of the portable terminal 50 instead of the security information in S11 of FIG. 2. The print data processing speed of the portable terminal 50 means the speed at which the portable terminal 50 transmits print data to the network, and depends on the CPU occupancy rate of the portable terminal 50 and the remaining amount of memory. The memory 74 of the portable terminal 50 stores a table for specifying the print data processing speed of the portable terminal 50 from the CPU occupancy rate and the remaining amount of memory of the portable terminal 50. Therefore, in S11 of FIG. 2, the control unit 70 of the portable terminal 50 checks the current CPU occupancy rate and the remaining amount of memory of the portable terminal 50, and uses the check result and the above table to Identify the current print data processing speed. As the print data processing speed of the portable terminal 50 is higher, the portable terminal 50 can transmit print data to the network at high speed in S20 of FIG.

また、図3のS44において、NFC情報に含まれる処理速度情報が示す印刷データ処理速度が閾値以上である場合には、選択部43は、100Mbps以上の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。一方において、NFC情報に含まれる処理速度情報が示す印刷データ処理速度が上記の閾値未満である場合には、選択部43は、100Mbps未満の通信速度が確認された1個のSSID(即ち1個のAP)を選択する。   In addition, 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, the selecting unit 43 selects one SSID for which the communication speed of 100 Mbps or higher is confirmed. 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 threshold, the selecting unit 43 selects one SSID for which the communication speed less than 100 Mbps has been confirmed (ie, one). Select the AP).

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

(実施例2)
続いて、図6を参照して、実施例2の内容を説明する。上記の実施例1では、図3のS44において、MFP10の選択部43は、携帯端末50から得られる情報(即ち、携帯端末50側の情報)に基づいて、1個のAPを選択する。これに代えて、本実施例では、選択部43は、MFP10自身に関する情報(即ち、MFP10側の情報)に基づいて、1個のAPを選択する。
(Example 2)
Subsequently, the contents of the second embodiment will be described with reference to FIG. In the above-described first embodiment, the selection unit 43 of the MFP 10 selects one AP based on the information obtained from the portable terminal 50 (that is, the information on the portable terminal 50 side) in S44 of FIG. 3. Instead of this, in the present embodiment, the selection unit 43 selects one AP based on the information related to the MFP 10 itself (that is, the 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 S44 of FIG. 3, the capability acquiring unit 45 first acquires occupancy rate information by checking the current CPU occupancy rate of the MFP 10. Similar to the above-described embodiment 1-7, the CPU occupancy rate of the MFP 10 means the ratio of the time during which the CPU 32 executes the communication process of FIG. 3 in a certain unit time. The larger the CPU occupancy rate of the MFP 10, the faster the MFP 10 can execute the communication process of FIG. 3. As a result, the MFP 10 can process print data at high speed in S52 of FIG.

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

本実施例では、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 occupancy rate of the MFP 10 is large, in a situation where the MFP 10 can process print data at a high speed, one AP that achieves a high communication speed is selected. Thus, the MFP 10 can process the print data at high speed while receiving the print data at high speed, and as a result, the printed matter can be provided quickly to the user. Further, in the present embodiment, since the CPU occupancy rate of the MFP 10 is small, in a situation where the MFP 10 can not process print data at high speed, one AP that achieves a low communication speed is selected. If a configuration is adopted in which an AP that achieves a high communication speed is selected in a situation where the CPU occupancy rate of MFP 10 is small, reception speed of print data in MFP 10 becomes faster than the processing speed of print data. As a result, even if print data is received, it may not be possible to process the print data quickly. In view of such circumstances, in the present embodiment, in a situation where the CPU occupancy rate of the MFP 10 is small, the MFP 10 selects one AP that realizes a low communication speed. This makes it possible to appropriately suppress the occurrence of an event in which only some APs have a large load. In the present embodiment, the occupancy rate information is an example of the “first capability relation information”.

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

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

本実施例でも、実施例2−1と同様の効果が得られる。なお、本実施例では、残量情報が、「第1の能力関係情報」の一例である。   Also 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 the “first capability 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 S44 of FIG. 3, the capability acquiring unit 45 first acquires the print data processing speed information of the MFP 10 by checking the current CPU occupancy rate and memory remaining amount of the MFP 10. The print data processing speed of the MFP 10 means the 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 is higher, the MFP 10 can process the print data at high 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 and the memory remaining amount of the MFP 10. Therefore, the capability acquiring 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)を選択する。   In addition, 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) for which a communication speed of 100 Mbps or more has been confirmed. 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 selecting unit 43 selects one SSID for which the communication speed less than 100 Mbps has been confirmed (ie, one AP). Choose).

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

(実施例3)
続いて、図7を参照して、実施例3の内容を説明する。本実施例では、図3のS44において、MFP10の選択部43は、携帯端末50側の情報と、MFP10側の情報と、の両方に基づいて、1個のAPを選択する。
(Example 3)
Subsequently, the contents of the third embodiment 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 according to whether or not a password is set for print data. Further, similarly to the embodiment 2-1, in S44 of FIG. 3, the capability acquiring 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 selects the content of the secure information (that is, secure or non-secure) included in the NFC information and the CPU occupancy indicated by the acquired occupancy information. Both are used to select one AP. In the present embodiment, the same effects as in the embodiment 1-1 and the embodiment 2-1 can be 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 Example 3-1, and Examples 1-1 to 1-9 of FIG. 5 and Example 2-1 to FIG. It may be any combination with 2-3. For example, the information on the portable terminal 50 side may be size information indicating the data size of print data, and the information on the MFP 10 side may be remaining amount information indicating the remaining amount of memory of the MFP 10. In this case, for example, in the case where (1) the size information indicates a data size greater than or equal to the first threshold and the remaining amount information indicates a remaining amount of memory greater than or equal to the second threshold, In the case where one AP that achieves the communication speed is selected, (2) the size information indicates a data size equal to or greater than the first threshold, and the remaining amount information indicates a remaining amount of memory less than the second threshold. If one AP that achieves a low communication speed is selected, and (3) the size information indicates a data size smaller than the first threshold, the low speed communication is performed regardless of the remaining amount of memory indicated by the remaining amount information. One AP may be selected to realize the communication speed.

また、例えば、携帯端末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 memory remaining amount of the portable terminal 50, and the information on the MFP 10 side may be remaining amount information indicating the memory remaining amount of the MFP 10. In this case, for example, if both of the remaining amount information of the portable terminal 50 and the remaining amount information of the MFP 10 indicate the remaining amount of memory above the threshold value, the selecting unit 43 realizes high communication speed. 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 the remaining amount of memory less than the threshold value, a low communication speed is realized. One AP may be selected. Further, for example, when both of the remaining amount information of the portable terminal 50 and the remaining amount information of the MFP 10 indicate the remaining amount of memory above the threshold, the selecting unit 43 indicates a high communication speed (for example, 100 Mbps or more) Medium speed, if only one of the remaining information of the portable terminal 50 and the remaining amount information of the MFP 10 indicates the remaining amount of memory below the threshold value. Select one AP that achieves the communication speed (for example, 10 Mbps or more and less than 100 Mbps), and (3) of the remaining amount information of the portable terminal 50 and the remaining amount information of the MFP 10, the remaining amount of memory less than the threshold. In this case, 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)
Subsequently, the contents of the fourth embodiment will be described with reference to FIGS. 8 and 9. In Embodiments 1 to 3 described above, 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 of this, in the present embodiment, the portable terminal 50 selects one AP based on the information on the portable terminal 50 side. The memory 74 of the portable terminal 50 cumulatively stores one or more pieces of participation information corresponding to one or more normal Wi-Fi networks in which the portable 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 the portable terminal 50; FIG. 8)
S110 of FIG. 8 is the same as S10 of FIG. S111 and S112 are different from S11 and S12 in FIG. 2 in that security information is not included in the NFC information. In S114, the control unit 70 determines whether the WFD wireless setting has been received from the MFP 10 via the NFC I / F 62. When the control unit 70 receives the WFD wireless setting from the MFP 10, the processing proceeds to step S116, and when the WFD wireless setting is not received from the MFP 10, the control unit 70 proceeds to step S117. S116 is the same as S16 performed 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 S117, 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 the AP information from the MFP 10, the control unit 70 skips S118 to S122 and proceeds to S124. Although details will be described later, when the MFP 10 can not cause the portable terminal 50 to participate in the WFD network in which the MFP 10 operates in the G / O state or the normal Wi-Fi network in which the MFP 10 currently participates ( In the case of NO in S141 of FIG. 9, the predetermined response is transmitted to the portable terminal 50. The predetermined response is a response that does not include the WFD wireless setting or the normal Wi-Fi wireless setting, but includes cancellation information. 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 executes the 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 among a plurality of SSIDs included in a plurality of PRes signals. Extract. Next, the selection unit 43 selects one AP by selecting one SSID from among the extracted one or more 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 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 the AP information in S122, the control unit 70 causes, for example, a predetermined sound to be output from the portable terminal 50, and notifies the user of the portable terminal 50 that the NFC communication is completed. Thus, the user can recognize that the portable terminal 50 may be moved away from the MFP 10. In S124 executed after S122, the communication execution unit 86 performs wireless connection with the selected AP. In S124 executed in the case of YES in S117, the communication execution unit 86 uses the AP information received from the MFP 10 to perform wireless connection with the AP. In S126, the communication execution unit 86 transmits the 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 process 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 S142, the control unit 30 of the MFP 10 transmits a predetermined response to the portable terminal 50 via the NFC I / F 22. In S144, 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
Subsequently, the contents of the AP selection process of S120 of FIG. 8 will be described. The method for selecting an AP in this embodiment is the same as that in Embodiment 1-1. That is, when setting of a password for print data is selected by the user (that is, when the security information indicates “secure”), the selecting unit 83 selects one SSID for which “AES” has been confirmed (see FIG. That is, one AP) is selected. On the other hand, when it is selected by the user that the password is not set for the print data (that is, the security information indicates non-secure), the selecting unit 83 selects an encryption method other than "AES" (for example, Select one SSID (ie, one AP) for which “TKIP”, “WEP”) is confirmed.

(実施例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 assumed condition is the same as that of FIG. The memory 74 of the portable terminal 50 stores participation information corresponding to the AP 4 a and participation information corresponding to the AP 4 b.

携帯端末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 the 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 print data (that is, security information indicates secure). Therefore, the portable terminal 50 selects an AP 4a using the encryption method "AES" from among 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 participates in the normal Wi-Fi network formed by the AP 4a (S124). Next, the portable terminal 50 transmits print data to the AP 4 a via the wireless LAN I / F 60. The AP 4 a transmits the 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 print data (ie, security information indicates non-secure). Therefore, the portable terminal 50 selects an AP 4 b using “TKIP” from among the plurality of APs 4 a and 4 b (S 120). Next, the portable terminal 50 transmits AP information including the SSID “bbb” indicating the AP 4 b to the MFP 10 via the NFC I / F 22 (S 122). Next, the portable terminal 50 performs wireless connection with the AP 4 b and participates in the normal Wi-Fi network formed by the AP 4 b (S 124). Next, the portable terminal 50 transmits print data to the AP 4 b via the wireless LAN I / F 60. The AP 4 b transmits the print data to the MFP 10.

本実施例でも、実施例1−1と同様の効果が得られる。図9のS134でNOの場合、
又は、S138が実行される場合が、「第1の場合」の一例である。図9のS134でYESの場合、又は、S136でYESの場合が、「第2の場合」の一例である。図3のS140で送信される無線設定、S149で送信されるAP情報に含まれる無線設定が、それぞれ、「第1の無線設定」、「第2の無線設定」の一例である。
Also in this embodiment, the same effect as that of the embodiment 1-1 can be obtained. In the case of NO in S134 of FIG.
Alternatively, the case where S138 is executed is an example of the “first case”. The case of YES in S134 of FIG. 9 or the case of YES in S136 is an example of the “second case”. The wireless setting transmitted in S140 of FIG. 3 and the wireless setting included in the AP information transmitted in S149 are examples of the “first wireless setting” and the “second wireless setting”, 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 one of the embodiments 1-2 to 1-9 of FIG. Similarly to the above, the AP selection process may be executed. In addition, when the same AP selection process as in the embodiments 1-7 to 1-9 is executed, the capability acquiring unit 85 of the portable terminal 50 checks the current state of the portable terminal 50 and the portable terminal 50. The occupancy rate information, the remaining amount information, or the processing speed information of Also in the present embodiment, the same effects as in the embodiments 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 the present embodiment, the control unit 30 of the MFP 10 sends a predetermined response including the occupancy rate information, the remaining amount information, or the processing speed information of the MFP 10 to the portable terminal 50 via the NFC I / F 22 in S142 of FIG. Send. Thereby, the receiving unit 81 of the portable terminal 50 receives a predetermined response including the occupancy rate information, the remaining amount information, or the processing speed information of the MFP 10 from the MFP 10 through the NFC I / F 62. The portable terminal 50 selects one AP based on the 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 embodiments 2-1 to 2-3 of FIG. In the same manner, execute the AP selection process. Also in the present embodiment, the same effects as in the 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 the present embodiment, 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. 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 an AP selection process as in the embodiment 3-1 or 3-2 of FIG. 7. Also in this embodiment, the same effect as that of the embodiment 3-1 or 3-2 can be obtained.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。   As mentioned above, although the specific example of this invention was described in detail, these are only an illustration and do not limit a claim. The art set forth in the claims includes various variations and modifications of the specific examples described above. 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 above embodiments, 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 in S42 of FIG. do not do. Instead of this, G / O devices may exist around the MFP 10. In this case, the communication acquisition unit 44 may receive the PRes signal from the G / O device. Furthermore, the communication acquisition unit 44 may select one relay apparatus 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 4 a and 4 b are examples of the “plurality of relay devices”.

(変形例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 Examples 1-5, 1-7 to 1-9, Examples 2-1 to 2-3, etc., the selection units 43 and 83 use only one threshold value, and 1 Select APs. Instead of this, the selection units 43 and 83 may select one AP using a plurality of threshold values. For example, in the embodiment 1-5, the selection unit 43 selects (1) one AP achieving a communication speed of 100 Mbps or more when the data size is equal to or larger than the first threshold, (2) 10 Mbps or more and 100 Mbps if the data size is less than the first threshold and greater than or equal to the second threshold
Select one AP that achieves a communication speed less than (3), and may select one AP that achieves a communication speed less than 10 Mbps if the data size is less than the second threshold .

(変形例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 the embodiments 1-6 and the like, the selection units 43 and 83 (1) when the data format is “uncompressed Bitmap”, one selection rate realization of 100 Mbps or more is realized. Select an AP and (2) if the data format is "JPEG", select one AP that achieves a communication speed of 10 Mbps or more and less than 100 Mbps, and (3) if the data format is "PDF" , One AP may be selected to achieve a communication speed of less than 10 Mbps.

(変形例4)選択部43,83がAP選択処理で利用する情報は、図4〜図6の携帯端末50側の情報及びMFP10側の情報に限られない。例えば、以下の各変形例を挙げることができる。 (Modification 4) The 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 of FIGS. For example, the following modifications can be mentioned.

(変形例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 security correspondence information indicating whether the MFP 10 has the ability to decrypt print data. You may That is, when the MFP 10 has the capability of decrypting print data, the selection unit 83 selects one AP as in the case of “secure” in the embodiments 1-3 and 1-4 in FIG. 5. If the MFP 10 is selected and the MFP 10 does not have the ability to decrypt print data, one AP is selected as in “non-secure” in the embodiments 1-3 and 1-4 of FIG. 5. It is also good. In the present modification, the security correspondence information is an example of the “second capability relation 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 print resolution information indicating the print resolution specified by the user operating the operation unit 52 of the portable terminal 50. You may More specifically, when the print resolution specified by the user is equal to or higher than the threshold, the selection units 43 and 83 communicate at 100 Mbps as in the case of “size」 threshold ”in the embodiment 1-5 of FIG. 5. The AP may be selected to realize the speed. On the other hand, when the print resolution designated by the user is less than the threshold, as in the case of “size <threshold” in Example 1-5 of FIG. 5, an AP that achieves a communication speed of less than 100 Mbps is selected. It is also good. In the present modification, the print resolution information is an example of the “data related information”. The user may designate 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 the modification 4-2, a scan resolution may be used instead of the print resolution. For example, instead of print data being transmitted from portable terminal 50 to MFP 10, scan data (that is, data generated by scan execution unit 18 executing scanning of a document) is transmitted from MFP 10 to portable terminal 50. The situation is In this case, the selection units 43 and 83 may select one AP based on scan resolution information indicating a scan resolution designated by the user operating the operation unit 52 of the portable terminal 50. In the present modification, the scan resolution information is an example of the “data related information”. Also, scan data is an example of “target data”. 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は、処理関係情報を用いて、特定の中継装置を選択すればよい。
(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 select one AP. select. Instead of this, the selection units 43 and 83 may select one AP using the information on the portable terminal 50 side and / or the information on the MFP 10 side without using a plurality of PRes signals. For example, in the memory 34 of the MFP 10, information indicating secure and the first SSID registered in advance by the user are associated, and information indicating non-secure and a second registered in advance by the user A table in which the SSIDs are associated may be stored. In this case, the selection unit 43 refers to the table when the security information indicates secure, selects the first SSID, and refers to the table when the security information indicates non-secure. The SSID of 2 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 a specific relay device using the processing relationship information.

(変形例6)AP情報は、選択済みのAPのSSIDを含んでいなくてもよく、選択済みのAPを特定可能な他の情報(例えば、選択済みのAPのBSSID、選択済みのAPの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, of the selected AP) IP address etc. may be included.

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

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

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

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

(変形例11)「親局状態」は、WFDのG/O状態に限られず、無線ネットワークに属する各機器を管理する状態(例えば、無線ネットワークに属する各機器の間の無線通信を中継可能な状態)であれば、どのような状態であってもよい。また、「子局状態」は、WFDのクライアント状態に限られず、無線ネットワークの親局状態の機器から管理される状態であれば、どのような状態であってもよい。 (Modification 11) The “master station state” is not limited to the WFD G / O state, but can manage each device belonging to the wireless network (for example, can relay wireless communication between each device belonging to the wireless network) As long as it is a state), it may be in any state. Also, the “child station state” is not limited to the WFD client state, and may be any state as long as it is managed from a device in the parent station state of the wireless network.

(変形例12)図3のS40、S46、及び、S49において、送信部42は、NFCI/F22とは異なるインターフェースを介して、無線設定を携帯端末50に送信してもよい。 (Modification 12) In S40, S46, and S49 of FIG. 3, the transmission unit 42 may transmit the wireless setting to the portable terminal 50 via an interface different from the NFC I / F 22.

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

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

(変形例15)上記の実施例では、MFP10のCPU32がメモリ34内のプログラム(即ちソフトウェア)を実行することによって、各部41〜46の機能が実現される。これに代えて、各部41〜49のうちの少なくとも1つは、論理回路等のハードウェアによって実現されてもよい。また、同様に、各部81〜86のうちの少なくとも1つは、論理回路等のハードウェアによって実現されてもよい。 (Modification 15) In the above embodiment, the CPU 32 of the MFP 10 executes a program (i.e., software) in the memory 34 to realize the functions of the units 41 to 46. Alternatively, 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 the present specification or the drawings exhibit technical usefulness singly or in various combinations, and are not limited to the combinations described in the claims at the time of filing. In addition, the techniques illustrated in the present specification or the drawings simultaneously achieve a plurality of purposes, and achieving one of the purposes itself has technical utility.

2:通信システム、4a,4b:AP、10:MFP、50:携帯端末   2: Communication system, 4a, 4b: AP, 10: MFP, 50: portable terminal

Claims (11)

Wi−Fi Direct方式の3つの状態、即ち、Group Owner状態、クライアント状態、及び、デバイス状態のうちのいずれか1つの状態で選択的に動作可能であるとともに、前記Group Owner状態又は前記クライアント状態で動作して、前記Wi−Fi Direct方式に従った無線ネットワークである第1種の無線ネットワークに属することが可能な第1の通信装置であって、
前記第1の通信装置が前記デバイス状態で動作している場合に、前記第1の通信装置が前記Group Owner状態で動作するための前記第1種の無線ネットワークを新たに形成する形成部と、
前記第1種の無線ネットワークが新たに形成される第1の場合に、第2の通信装置が前記第1種の無線ネットワークに参加するための第1の無線設定を、前記第2の通信装置に送信し、
前記第1の通信装置が前記クライアント状態で動作して前記第1種の無線ネットワークに属する第2の場合に、前記第2の通信装置が前記第1種の無線ネットワークとは異なる第2種の無線ネットワークに参加するための第2の無線設定を、前記第2の通信装置に送信する送信部であって、
前記第2種の無線ネットワークは、前記第1の通信装置及び前記第2の通信装置とは別体に構成されている特定の中継装置を含む無線ネットワークであり、
前記第2の無線設定は、前記第1の無線設定と異なる、前記送信部と、
前記第1の場合に、前記第2の通信装置が前記第1種の無線ネットワークに参加することによって、前記第1種の無線ネットワークを利用して、前記第2の通信装置と対象データの直接無線通信を実行し、
前記第2の場合に、前記第2の通信装置が前記第1種の無線ネットワークに参加することなく、前記第2種の無線ネットワークを利用して、前記特定の中継装置を介して、前記第2の通信装置と前記対象データの無線通信を実行する通信実行部と、
を備える、第1の通信装置。
The system is selectively operable in any one of three states of Wi-Fi Direct mode, that is, Group Owner state, client state, and device state, and in the Group Owner state or the client state. A first communication device that can operate and belong to a first type of wireless network that is a wireless network according to the Wi-Fi Direct system ,
To the first communication device if you are operating in the device state, and forming part of said first communication device is newly forming the first type of wireless network to operate in the Group Owner state ,
In the first case where the first type of wireless network is newly formed, the second communication device performs a first wireless setting for the second communication device to join the first type of wireless network. Send to
In the second case where the first communication device operates in the client state and belongs to the first type wireless network, the second communication device is different from the first type wireless network . A transmitter configured to transmit a second wireless setting for joining a wireless network to the second communication device,
The second type of wireless network is a wireless network including a specific relay device configured separately from the first communication device and the second communication device.
The second wireless setting is different from the first wireless setting, the transmitting unit;
In the first case, when the second communication device joins the first type of wireless network, the second communication device and the target data are directly transmitted using the first type of wireless network. Perform wireless communication,
In the second case, the second communication device does not participate in the first type of wireless network, and uses the second type of wireless network to transmit the second communication device via the specific relay device. A communication execution unit that executes wireless communication of the target data with the second communication device;
A first communication device comprising:
前記送信部は、
前記第1の通信装置が前記Group Owner状態で動作しているの場合において、前記第2の通信装置が前記第1種の無線ネットワークに参加することが可能である場合に、前記第1の無線設定を、前記第2の通信装置に送信し、
前記第2の場合において、前記第2の通信装置が前記第1種の無線ネットワークに参加することが可能でない場合に、前記第2の無線設定を、前記第2の通信装置に送信する、請求項1に記載の第1の通信装置。
The transmission unit is
In the third case in which the first communication device is operating in the Group Owner state, the first communication device may participate in the first type of wireless network. Transmitting the wireless setting of the second communication device to the second communication device,
In the second case, when the second communication device can not join the first type of wireless network, the second wireless setting is transmitted to the second communication device. The first communication device according to Item 1.
前記送信部は、前記第の場合において、前記第2の通信装置が前記第1種の無線ネットワークに参加することが可能でない場合に、前記第2の無線設定を、前記第2の通信装置に送信する、請求項2に記載の第1の通信装置。 In the third case, the transmission unit transmits the second wireless setting when the second communication device can not participate in the first type of wireless network. The first communication device according to claim 2, wherein 前記送信部は、前記第の場合において、前記第1の通信装置が前記Group Owner状態で動作して前記第1種の無線ネットワークに属し、かつ、前記第1種の無線ネットワークに属しているクライアント機器の個数が最大数であることに起因して、前記第2の通信装置が前記第1種の無線ネットワークに参加することが可能でない場合に、前記第2の無線設定を、前記第2の通信装置に送信する、請求項3に記載の第1の通信装置。 In the third case, the transmission unit belongs to the first type of wireless network and operates in the Group Owner state in the third case, and belongs to the first type of wireless network. If the second communication apparatus can not participate in the first type of wireless network due to the maximum number of client devices, the second wireless setting The first communication device according to claim 3, wherein the first communication device transmits to the first communication device. 前記第1の通信装置は、さらに、
前記第2の通信装置と無線通信を実行するための第1種のインターフェースと、
前記第2の通信装置と無線通信を実行するための第2種のインターフェースであって、前記第2種のインターフェースを介した無線通信の通信速度は、前記第1種のインターフェースを介した無線通信の通信速度よりも速い、前記第2種のインターフェースと、
を備え、
前記送信部は、
前記第1の場合に、前記第1種のインターフェースを介して、前記第1の無線設定を前記第2の通信装置に送信し、
前記第2の場合に、前記第1種のインターフェースを介して、前記第2の無線設定を前記第2の通信装置に送信し、
前記第1種及び第2種の無線ネットワークのそれぞれは、前記第2種のインターフェースを介した無線通信を実行するための無線ネットワークである、請求項1から4のいずれか一項に記載の第1の通信装置。
The first communication device is further configured to:
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 a communication speed of 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
Equipped with
The transmission unit is
In the first case, the first wireless setting is transmitted to the second communication device via the first type interface;
In the second case, the second wireless setting is transmitted to the second communication device via the first type interface;
The wireless network according to any one of claims 1 to 4, wherein each of the first type and second type of wireless network is a wireless network for performing wireless communication via the second type of interface. 1 communication device.
前記第1種のインターフェースはNFC(Near Field Communicationの略)方式に従った無線通信を実行するためのインターフェースである、請求項5に記載の第1の通信装置。   The first communication device according to claim 5, wherein the first type of interface is an interface for performing wireless communication in accordance with an NFC (abbreviation of Near Field Communication) method. 前記第2種のインターフェースはIEEE(The Institute of Electrical and Electronics Engineers, Inc.の略)の802.11の規格、及び、それに準ずる規格に従った無線通信を実行するためのインターフェースである、請求項5又は6に記載の第1の通信装置。   The second type of interface is an interface for performing wireless communication in accordance with the IEEE 802.11 (abbreviation of The Institute of Electrical and Electronics Engineers, Inc.) standard and a standard conforming thereto. The first communication device according to 5 or 6. 前記送信部は、前記第1の通信装置が前記Group Owner状態で動作している第3の場合に、前記第1の無線設定を前記第2の通信装置に送信する、請求項1から7のいずれか一項に記載の第1の通信装置。 The transmitter according to any one of claims 1 to 7 , wherein, in a third case where the first communication device is operating in the Group Owner state, the transmission unit transmits the first wireless setting to the second communication device . The first communication device according to any one of the preceding claims. 印刷実行部をさらに備え、
前記対象データは前印刷実行部にて印刷を実行するためのデータである、請求項1からのいずれか一項に記載の第1の通信装置。
It further comprises a print execution unit,
The first communication device according to any one of claims 1 to 8 , wherein the target data is data for performing printing in the pre-printing execution unit.
スキャン実行部をさらに備え、
前記対象データは前記スキャン実行部が原稿のスキャンを実行することによって生成されるデータである、請求項1からのいずれか一項に記載の第1の通信装置。
It further comprises a scan execution unit,
The first communication apparatus according to any one of claims 1 to 9 , wherein the target data is data generated by the scan execution unit executing a scan of a document.
Wi−Fi Direct方式の3つの状態、即ち、Group Owner状態、クライアント状態、及び、デバイス状態のいずれか1つの状態で選択的に動作可能であるとともに、前記Group Owner又は前記クライアント状態で動作して、前記Wi−Fi Direct方式に従った無線ネットワークである第1種の無線ネットワークに属することが可能な第1の通信装置と通信を実行する第2の通信装置のためのコンピュータプログラムであって、
前記第2の通信装置に搭載されるコンピュータに、以下の各処理、即ち、
前記第1の通信装置が前記デバイス状態で動作している場合において前記第1の通信装置が前記Group Owner状態で動作するための前記第1種の無線ネットワークが新たに形成される第1の場合に、前記第2の通信装置が前記第1種の無線ネットワークに参加するための第1の無線設定を、前記第1の通信装置から受信し、
前記第1の通信装置が前記クライアント状態で動作している第2の場合に、前記第2の通信装置が前記第1種の無線ネットワークとは異なる第2種の無線ネットワークに参加するための第2の無線設定を、前記第1の通信装置から受信する受信処理であって、
前記第2種の無線ネットワークは、前記第1の通信装置及び前記第2の通信装置とは別体に構成されている特定の中継装置を含む無線ネットワークであり、
前記第2の無線設定は、前記第1の無線設定と異なる、前記受信処理と、
前記第1の場合に、前記第2の通信装置が前記第1種の無線ネットワークに参加することによって、前記第1種の無線ネットワークを利用して、前記第1の通信装置と対象データの直接無線通信を実行し、
前記第2の場合に、前記第2の通信装置が前記第1種の無線ネットワークに参加することなく、前記第2種の無線ネットワークを利用して、前記特定の中継装置を介して、前記第1の通信装置と前記対象データの無線通信を実行する通信実行処理と、
を実行させる、コンピュータプログラム。
It is selectively operable in any one of three states of Wi-Fi Direct system, that is, Group Owner state, client state, and device state, and operates in the Group Owner or the client state. A computer program for a second communication device that executes communication with a first communication device that can belong to a first type of wireless network that is a wireless network according to the Wi-Fi Direct method ,
The following processes are performed in the computer mounted on the second communication device:
Oite in case it is operating, the first type of wireless network to the first communication device operates in the Group Owner state is newly formed by the first communication device the device state In the first case, the second communication device receives a first wireless setting for joining the first type of wireless network from the first communication device,
In the second case where the first communication device is operating in the client state, a second communication device for joining a second type of wireless network different from the first type of wireless network Reception processing for receiving the wireless setting of 2 from the first communication device,
The second type of wireless network is a wireless network including a specific relay device configured separately from the first communication device and the second communication device.
The second wireless setting is different from the first wireless setting, the reception process;
In the first case, the second communication device participates in the first type of wireless network, thereby directly using the first type of wireless network to directly transmit the first communication device and the target data. Perform wireless communication,
In the second case, the second communication device does not participate in the first type of wireless network, and uses the second type of wireless network to transmit the second communication device via the specific relay device. Communication execution processing for executing wireless communication of the target data with the first communication device;
A computer program that runs
JP2017239366A 2017-12-14 2017-12-14 Communication device Active JP6547820B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017239366A JP6547820B2 (en) 2017-12-14 2017-12-14 Communication device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017239366A JP6547820B2 (en) 2017-12-14 2017-12-14 Communication device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2016118615A Division JP6260648B2 (en) 2016-06-15 2016-06-15 Communication device

Publications (2)

Publication Number Publication Date
JP2018042291A JP2018042291A (en) 2018-03-15
JP6547820B2 true JP6547820B2 (en) 2019-07-24

Family

ID=61626604

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017239366A Active JP6547820B2 (en) 2017-12-14 2017-12-14 Communication device

Country Status (1)

Country Link
JP (1) JP6547820B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7472676B2 (en) 2020-06-23 2024-04-23 ブラザー工業株式会社 Computer program for communication device and terminal device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4613969B2 (en) * 2008-03-03 2011-01-19 ソニー株式会社 Communication apparatus and communication method
JP5235777B2 (en) * 2009-05-15 2013-07-10 キヤノン株式会社 COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, PROGRAM
JP5197502B2 (en) * 2009-06-15 2013-05-15 株式会社東芝 Electronic device and wireless communication method
JP5293649B2 (en) * 2010-03-09 2013-09-18 セイコーエプソン株式会社 Wireless communication system, wireless communication terminal, and wireless communication method

Also Published As

Publication number Publication date
JP2018042291A (en) 2018-03-15

Similar Documents

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

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20180109

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20180109

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20180911

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20181015

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20181015

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20181108

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20181211

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190306

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20190306

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20190326

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20190610

R150 Certificate of patent or registration of utility model

Ref document number: 6547820

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150