JP6662478B2 - Communication device and mobile terminal - Google Patents

Communication device and mobile terminal Download PDF

Info

Publication number
JP6662478B2
JP6662478B2 JP2019024258A JP2019024258A JP6662478B2 JP 6662478 B2 JP6662478 B2 JP 6662478B2 JP 2019024258 A JP2019024258 A JP 2019024258A JP 2019024258 A JP2019024258 A JP 2019024258A JP 6662478 B2 JP6662478 B2 JP 6662478B2
Authority
JP
Japan
Prior art keywords
communication
mfp
wireless
information
mobile terminal
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
JP2019024258A
Other languages
Japanese (ja)
Other versions
JP2019075833A (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 JP2019024258A priority Critical patent/JP6662478B2/en
Publication of JP2019075833A publication Critical patent/JP2019075833A/en
Application granted granted Critical
Publication of JP6662478B2 publication Critical patent/JP6662478B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本明細書によって開示される技術は、対象データの通信を実行するための通信装置及び携帯端末に関する。   The technology disclosed in the present specification relates to a communication device and a mobile terminal for performing communication of target data.

特許文献1には、第1無線通信装置と、第2無線通信装置と、端末装置と、を備えるシステムが開示されている。第1無線通信装置は、無線LANで端末装置と接続されている。第1無線通信装置は、第2無線通信装置とNFCでデータ通信を実行する。この場合、第1無線通信装置は、上記の無線LANに参加するための参加情報をNFCで第2無線通信装置に送信する。端末装置がアクセスポイントである場合には、参加情報は、アクセスポイントの通信規格情報、ESS−ID、MACアドレス、セキュリティ情報等を含む。第2無線通信装置は、参加情報を用いて、上記の無線LANに参加する。第1及び第2無線通信装置は、アクセスポイントである端末装置を介して、無線LANでデータ通信を実行する。   Patent Literature 1 discloses a system including a first wireless communication device, a second wireless communication device, and a terminal device. The first wireless communication device is connected to a terminal device via a wireless LAN. The first wireless communication device performs data communication with the second wireless communication device by NFC. In this case, the first wireless communication device transmits participation information for participating in the wireless LAN to the second wireless communication device by NFC. When the terminal device is an access point, the participation information includes communication standard information of the access point, ESS-ID, MAC address, security information, and the like. The second wireless communication device participates in the wireless LAN using the participation information. The first and second wireless communication devices execute data communication by wireless LAN via a terminal device serving as an access point.

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

特許文献1の技術では、第2無線通信装置が参加情報を用いて上記の無線LANに参加すれば、第1及び第2無線通信装置が端末装置を介したデータ通信を実行可能であることが前提となっている。しかしながら、そのようなデータ通信が適切に実行されない可能性がある。本明細書では、通信装置及び携帯端末が対象データの通信を適切に実行し得る技術を開示する。   According to the technique of Patent Document 1, if the second wireless communication device joins the wireless LAN using the participation information, the first and second wireless communication devices can execute data communication via the terminal device. It is a premise. However, such data communication may not be performed properly. The present specification discloses a technology that enables a communication device and a mobile terminal to appropriately execute target data communication.

本明細書によって開示される一つの技術は、携帯端末と対象データの通信を実行するための通信装置である。通信装置は、携帯端末と無線通信を実行するための第1種のインターフェースと、携帯端末と無線通信を実行するための第2種のインターフェースであって、第2種のインターフェースを介した無線通信の通信速度は、第1種のインターフェースを介した無線通信の通信速度よりも速い、第2種のインターフェースと、装置側制御部と、を備える。装置側制御部は、特定データ受信部と、第1の情報送信部と、形成部と、第2の情報送信部と、装置側通信実行部と、を備える。特定データ受信部は、携帯端末から、第1種のインターフェースを介して、特定データを受信する。第1の情報送信部は、特定データが受信される際に、通信装置が第1の無線ネットワークに属している第1の場合に、携帯端末が第1の無線ネットワークを利用して無線通信を実行するための第1の情報を、第1種のインターフェースを介して、携帯端末に送信する。第1の無線ネットワークは、第2種のインターフェースを介した無線通信を実行するための無線ネットワークである。形成部は、特定データが受信される際に、通信装置が、第1の無線ネットワークに属していないが、第2の無線ネットワークに属している第2の場合に、第3の無線ネットワークを新たに形成する。第2の無線ネットワーク及び第3の無線ネットワークのそれぞれは、第2種のインターフェースを介した無線通信を実行するための無線ネットワークである。第2の情報送信部は、第2の場合に、携帯端末が第2の無線ネットワークを利用して無線通信を実行するための第2の情報と、携帯端末が第3の無線ネットワークを利用して無線通信を実行するための第3の情報とを、第1種のインターフェースを介して、携帯端末に送信する。装置側通信実行部は、第1の場合に、第1の無線ネットワークを利用して、携帯端末と対象データの通信を実行し、第2の場合に、第2の無線ネットワーク又は第3の無線ネットワークを利用して、携帯端末と対象データの通信を実行する。   One technique disclosed in the present specification is a communication device for performing communication between a mobile terminal and target data. The communication device is a first type interface for performing wireless communication with the mobile terminal, and a second type interface for performing wireless communication with the mobile terminal, and is a wireless communication via the second type interface. Has a second type interface, which is faster than the communication speed of wireless communication via the first type interface, and a device-side control unit. The device-side control unit includes a specific data receiving unit, a first information transmitting unit, a forming unit, a second information transmitting unit, and a device-side communication executing unit. The specific data receiving unit receives the specific data from the mobile terminal via the first type interface. The first information transmitting unit, when the specific data is received, when the communication device belongs to the first wireless network in a first case, the mobile terminal performs wireless communication using the first wireless network. The first information to be executed is transmitted to the mobile terminal via the first type of interface. The first wireless network is a wireless network for executing wireless communication via a second type of interface. The forming unit, when the specific data is received, newly establishes the third wireless network when the communication device does not belong to the first wireless network but belongs to the second wireless network. Formed. Each of the second wireless network and the third wireless network is a wireless network for executing wireless communication via a second type interface. The second information transmitting unit, in the second case, uses the second information for the mobile terminal to execute the wireless communication using the second wireless network and the second information for the mobile terminal using the third wireless network. And transmitting the third information for executing the wireless communication to the portable terminal via the first type interface. The device-side communication execution unit executes communication of the target data with the mobile terminal using the first wireless network in the first case, and executes the second wireless network or the third wireless communication in the second case. The mobile terminal communicates with the target data using the network.

上記の構成によると、通信装置は、第1の無線ネットワークに属している第1の場合に、第1の情報を携帯端末に送信する。このために、通信装置及び携帯端末は、第1の無線ネットワークを利用して、対象データの通信を適切に実行し得る。また、通信装置は、第1の無線ネットワークに属していないが、第2の無線ネットワークに属している第2の場合に、第3の無線ネットワークを新たに形成して、第2の情報と第3の情報とを携帯端末に送信する。このために、通信装置及び携帯端末は、第2の無線ネットワーク又は第3の無線ネットワークを利用して、対象データの通信を適切に実行し得る。仮に、通信装置及び携帯端末が、第2の無線ネットワークを利用して、対象データの通信を実行不可能であっても、通信装置及び携帯端末は、通信装置によって形成された第3の無線ネットワークを利用して、対象データの通信を適切に実行し得る。   According to the above configuration, the communication device transmits the first information to the mobile terminal in the first case where the communication device belongs to the first wireless network. For this reason, the communication device and the portable terminal can appropriately execute the communication of the target data using the first wireless network. Also, the communication device newly forms a third wireless network in a second case where the communication device does not belong to the first wireless network but belongs to the second wireless network, and transmits the second information and the second information. 3 is transmitted to the mobile terminal. For this reason, the communication device and the mobile terminal can appropriately execute the communication of the target data using the second wireless network or the third wireless network. Even if the communication device and the mobile terminal cannot execute the communication of the target data using the second wireless network, the communication device and the mobile terminal can use the third wireless network formed by the communication device. , The communication of the target data can be appropriately executed.

本明細書によって開示される一つの技術では、通信装置の装置側制御部は、特定データ受信部と、判断部と、情報送信部と、装置側通信実行部と、を備えていてもよい。特定データ受信部は、携帯端末から、第1種のインターフェースを介して、特定データを受信する。特定データは、携帯端末が属している無線ネットワークを識別するための識別情報を含む。判断部は、特定データが受信される際に、通信装置が第5の無線ネットワークに属している場合に、識別情報を用いて、携帯端末が第5の無線ネットワークに属しているのか否かを判断する。第5の無線ネットワークは、通信装置が、子局として動作して、第2種のインターフェースを介した無線通信を実行するための無線ネットワークである。情報送信部は、携帯端末が第5の無線ネットワークに属していると判断される第3の場合に、携帯端末が第5の無線ネットワークを利用して無線通信を実行するための第5の情報と、携帯端末が第6の無線ネットワークを利用して無線通信を実行するための第6の情報とを、第1種のインターフェースを介して、携帯端末に送信し、携帯端末が第5の無線ネットワークに属していないと判断される第4の場合に、第5の情報を送信せずに、第6の情報を、第1種のインターフェースを介して、携帯端末に送信する。第6の無線ネットワークは、通信装置が、親局として動作して、第2種のインターフェースを介した無線通信を実行するための無線ネットワークである。装置側通信実行部は、第3の場合に、第5の無線ネットワーク又は第6の無線ネットワークを利用して、携帯端末と対象データの通信を実行し、第4の場合に、第6の無線ネットワークを利用して、携帯端末と対象データの通信を実行する。   In one technology disclosed in the present specification, the device-side control unit of the communication device may include a specific data receiving unit, a determining unit, an information transmitting unit, and a device-side communication execution unit. The specific data receiving unit receives the specific data from the mobile terminal via the first type interface. The specific data includes identification information for identifying a wireless network to which the mobile terminal belongs. When the communication device belongs to the fifth wireless network when the specific data is received, the determination unit uses the identification information to determine whether the mobile terminal belongs to the fifth wireless network. to decide. The fifth wireless network is a wireless network in which the communication device operates as a slave station to execute wireless communication via the second type interface. The information transmitting unit is configured to execute fifth information for causing the mobile terminal to perform wireless communication using the fifth wireless network when the mobile terminal is determined to belong to the fifth wireless network. And sixth information for the mobile terminal to execute wireless communication using the sixth wireless network to the mobile terminal via the first type interface, and the mobile terminal transmits the fifth wireless In the fourth case where it is determined that the mobile terminal does not belong to the network, the sixth information is transmitted to the portable terminal via the first type interface without transmitting the fifth information. The sixth wireless network is a wireless network in which the communication device operates as a master station and executes wireless communication via the second type interface. The device-side communication execution unit executes communication of the target data with the portable terminal using the fifth wireless network or the sixth wireless network in the third case, and performs the sixth wireless communication in the fourth case. The mobile terminal communicates with the target data using the network.

上記の構成によると、通信装置は、通信装置が子局として動作する第5の無線ネットワークに携帯端末が属していると判断される第3の場合に、第5の情報と第6の情報とを、携帯端末に送信する。このために、通信装置及び携帯端末は、第5の無線ネットワーク又は第6の無線ネットワークを利用して、対象データの通信を適切に実行し得る。仮に、通信装置及び携帯端末が、第5の無線ネットワークを利用して、対象データの通信を実行不可能であっても、通信装置及び携帯端末は、通信装置が親局として動作する第6の無線ネットワークを利用して、対象データの通信を適切に実行し得る。また、通信装置は、通信装置が子局として動作する第5の無線ネットワークに携帯端末が属していないと判断される第4の場合に、第5の情報を送信せずに、第6の情報を携帯端末に送信する。このために、通信装置及び携帯端末は、第6の無線ネットワークを利用して、対象データの通信を適切に実行し得る。しかも、第5の無線ネットワークのセキュリティが低下するのを抑制し得る。   According to the configuration described above, the communication device determines the fifth information and the sixth information when the mobile terminal is determined to belong to the fifth wireless network in which the communication device operates as a slave station. To the mobile terminal. For this reason, the communication device and the portable terminal can appropriately execute the communication of the target data using the fifth wireless network or the sixth wireless network. Even if the communication device and the mobile terminal cannot execute the communication of the target data using the fifth wireless network, the communication device and the mobile terminal may operate in the sixth mode in which the communication device operates as a master station. The communication of the target data can be appropriately performed using the wireless network. Further, in the fourth case where it is determined that the mobile terminal does not belong to the fifth wireless network in which the communication device operates as a slave station, the communication device transmits the sixth information without transmitting the fifth information. To your mobile device. For this reason, the communication device and the mobile terminal can appropriately execute the communication of the target data using the sixth wireless network. In addition, the security of the fifth wireless network can be prevented from lowering.

本明細書によって開示される一つの技術は、通信装置と対象データの通信を実行するための携帯端末である。携帯端末は、通信装置と無線通信を実行するための第1種のインターフェースと、通信装置と無線通信を実行するための第2種のインターフェースであって、第2種のインターフェースを介した無線通信の通信速度は、第1種のインターフェースを介した無線通信の通信速度よりも速い、第2種のインターフェースと、端末側制御部と、を備える。端末側制御部は、特定データ送信部と、情報受信部と、端末側通信実行部と、を備える。特定データ送信部は、特定データを、第1種のインターフェースを介して、通信装置に送信する。情報受信部は、特定データが送信された後に、通信装置から、第1種のインターフェースを介して、携帯端末が無線ネットワークを利用して無線通信を実行するための特定情報を受信する。端末側通信実行部は、特定情報が、携帯端末が1個の無線ネットワークを利用して無線通信を実行するための1個の情報を含み、1個の無線ネットワークとは異なる他の無線ネットワークを利用して無線通信を実行するための他の情報を含まない場合に、1個の無線ネットワークを利用して、通信装置と対象データの通信を実行し、特定情報が、1個の情報と他の情報とを含む複数個の情報を含む場合に、1個の無線ネットワークと他の無線ネットワークとを含む複数個の無線ネットワークのそれぞれを順次利用して、通信装置と対象データの通信を実行する。複数個の無線ネットワークのそれぞれは、第2種のインターフェースを介した無線通信を実行するための無線ネットワークである。   One technique disclosed in the present specification is a mobile terminal for performing communication between a communication device and target data. The mobile terminal is a first type interface for executing wireless communication with the communication device, and a second type interface for executing wireless communication with the communication device, and is a wireless communication via the second type interface. Is provided with a second type interface and a terminal side control unit, which are faster than the communication speed of wireless communication via the first type interface. The terminal-side control unit includes a specific data transmission unit, an information reception unit, and a terminal-side communication execution unit. The specific data transmission unit transmits the specific data to the communication device via the first type interface. The information receiving unit receives, after the specific data has been transmitted, specific information for the mobile terminal to execute wireless communication using the wireless network from the communication device via the first type interface. The terminal-side communication execution unit includes the specific information, which includes one piece of information for the mobile terminal to perform wireless communication using one wireless network, and includes another wireless network different from the one wireless network. If no other information for performing wireless communication is used, the communication between the communication device and the target data is performed using one wireless network, and the specific information is one information and another information. When a plurality of pieces of information including the above information are included, the communication of the target data is performed with the communication device by sequentially using each of the plurality of wireless networks including one wireless network and another wireless network. . Each of the plurality of wireless networks is a wireless network for executing wireless communication via the second type interface.

上記の構成によると、携帯端末は、特定情報が1個の情報を含む場合に、1個の無線ネットワークを利用して、通信装置と対象データの通信を実行する。このために、携帯端末及び通信装置は、上記の1個の無線ネットワークを利用して、対象データの通信を適切に実行し得る。また、携帯端末は、特定情報が複数個の情報を含む場合に、複数個の無線ネットワークのそれぞれを順次利用して、通信装置と対象データの通信を実行する。仮に、携帯端末及び通信装置が、複数個の無線ネットワークのうちのいずれかの無線ネットワークを利用して、対象データの通信を実行不可能であっても、携帯端末及び通信装置は、複数個の無線ネットワークのうちの別の無線ネットワークを利用して、対象データの通信を適切に実行し得る。   According to the above configuration, when the specific information includes one piece of information, the mobile terminal uses one wireless network to perform communication between the communication device and the target data. For this reason, the mobile terminal and the communication device can appropriately execute the communication of the target data using the one wireless network. Further, when the specific information includes a plurality of pieces of information, the mobile terminal sequentially uses each of the plurality of wireless networks to execute communication between the communication device and the target data. Even if the mobile terminal and the communication device cannot execute the communication of the target data using any one of the plurality of wireless networks, the mobile terminal and the communication device The communication of the target data may be appropriately performed using another of the wireless networks.

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

通信システムの構成を示す。1 shows a configuration of a communication system. MFPの通信処理のフローチャートを示す。4 shows a flowchart of a communication process of the MFP. MFPのレスポンス送信処理のフローチャートを示す。4 shows a flowchart of a response transmission process of the MFP. 携帯端末のアプリケーション処理のフローチャートを示す。4 shows a flowchart of an application process of the mobile terminal. ケースAのシーケンス図を示す。The sequence diagram of case A is shown. ケースBのシーケンス図を示す。The sequence diagram of case B is shown. ケースCのシーケンス図を示す。FIG. 4 shows a sequence diagram of case C. ケースDのシーケンス図を示す。The sequence diagram of case D is shown. 第2実施例のレスポンス送信処理のフローチャートを示す。9 shows a flowchart of a response transmission process according to the second embodiment.

(第1実施例)
(通信システム2の構成)
図1に示されるように、通信システム2は、複数個のアクセスポイント(以下では「AP(Access Pointの略)」と呼ぶ)4a,4bと、パーソナルコンピュータ(以下では「PC(Personal Computerの略)」と呼ぶ)6と、多機能機(以下では「MFP(Multi-Function Peripheralの略)と呼ぶ)10と、携帯端末50と、を備える。
(First embodiment)
(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 (Access Point)”) 4 a and 4 b and a personal computer (hereinafter, “PC (Personal Computer)”). ) "), A multi-function device (hereinafter referred to as" MFP (Multi-Function Peripheral) ") 10 and a portable terminal 50.

(MFP10が実行可能な無線通信の種類)
MFP10は、NFC(Near Field Communicationの略)方式に従った無線通信と、WFD(Wi-Fi Directの略)方式に従った無線通信と、通常Wi−Fi方式に従った無線通信と、を実行可能である。以下では、上記の各方式に従った無線通信のことを、それぞれ、「NFC通信」、「WFD通信」、「通常Wi−Fi通信」と呼ぶ。
(Types of Wireless Communication Executable by MFP 10)
The MFP 10 executes wireless communication according to NFC (Near Field Communication), wireless communication according to WFD (Wi-Fi Direct), and wireless communication according to normal Wi-Fi. It is possible. Hereinafter, the wireless communication according to 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 system is a wireless communication system for so-called short-range wireless communication, and is, for example, a wireless communication system 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 system is a wireless communication system described in a standard document “Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1” created by Wi-Fi Alliance. The WFD scheme is based on, for example, a wireless standard in accordance with the 802.11 standard of IEEE (abbreviation of the Institute of Electrical and Electronics Engineers, Inc.) and standards conforming thereto (eg, 802.11a, 11b, 11g, 11n, etc.). This is a wireless communication method for executing communication.

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

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

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

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

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

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

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

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

MFP10は、通常Wi−Fiネットワークに属することによって、当該通常Wi−Fiネットワークに属する他の機器と、APを介して、対象データの通常Wi−Fi通信を実行することができる。携帯端末50も、通常Wi−Fiネットワークに属することによって、対象データの通常Wi−Fi通信を実行可能である。従って、MFP10は、複数個のAP4a,4bのうちのいずれかのAPを介して、対象データの通常Wi−Fi通信を携帯端末50と実行可能である。   By belonging to the normal Wi-Fi network, the MFP 10 can execute normal Wi-Fi communication of the target data with another device belonging to the normal Wi-Fi network via the AP. The mobile terminal 50 can also execute normal Wi-Fi communication of the target data by belonging to the normal Wi-Fi network. Therefore, the MFP 10 can execute the normal Wi-Fi communication of the target data with the mobile terminal 50 via any one of the plurality of APs 4a and 4b.

通常Wi−Fiネットワークは、社内LAN、家庭内LAN等のように、APを設置可能な環境で構築される無線ネットワークであり、一般的に言うと、定常的に形成されるべき無線ネットワークである。これに対し、WFDネットワークは、APを必要としないために、例えば、一対のWFD対応機器の間で一時的な無線通信を実行させるために構築される無線ネットワークであり、一般的に言うと、一時的に形成されるべき無線ネットワークである。このように、本実施例では、通常Wi−Fiネットワークが、定常的に形成されるべき無線ネットワークであり、WFDネットワークが、一時的に形成されるべき無線ネットワークである状況を想定している。なお、以下では、WFDネットワーク、通常Wi−Fiネットワークのことを、「WFDNW」、「通常Wi−FiNW」と呼ぶ。   Normally, a Wi-Fi network is a wireless network constructed in an environment where an AP can be installed, such as an in-house LAN or a home LAN. . On the other hand, a WFD network is a wireless network constructed to execute temporary wireless communication between a pair of WFD-compatible devices, for example, in order to eliminate the need for an AP. It is a wireless network to be formed temporarily. As described above, in the present embodiment, it is assumed that the normal Wi-Fi network is a wireless network to be constantly formed and the WFD network is a wireless network to be temporarily formed. In the following, the WFD network and the normal Wi-Fi network are referred to as “WFDNW” and “normal Wi-FiNW”.

(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, the interface is referred to as “I / F”). ) 20, an NFC I / F 22, and a control unit 30. Each of the units 12 to 30 is connected to a bus line (reference numerals are 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 printing unit 16 is a printing mechanism of an ink jet system, a laser system, or the like. The scan execution unit 18 is a scan mechanism such as a CCD and a CIS.

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

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

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 the wireless communication via the wireless LAN I / F 20 (for example, the maximum communication speed is 11 to 600 Mbps) is higher than the communication speed of the wireless communication via the NFC I / F 22 (for example, the maximum communication speed is 100 to 424 Kbps). Is also fast. Further, the frequency of the carrier wave (for example, 2.4 GHz band, 5.0 GHz band) in the wireless communication via the wireless LAN I / F 20 is the frequency of the carrier wave (for example, 13.56 MHz band) in the wireless communication via the NFC I / F 22. And different. Further, for example, when the distance between MFP 10 and portable terminal 50 is about 10 cm or less, control unit 30 can execute NFC communication with portable terminal 50 via NFC I / F 22. On the other hand, regardless of whether the distance between the MFP 10 and the portable terminal 50 is 10 cm or less or 10 cm or more (for example, about 100 m at the maximum), the control unit 30 controls the portable device via the wireless LAN I / F 20. The terminal 50 can execute WFD communication and normal Wi-Fi communication. That is, 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 is determined by the MFP 10 executing wireless communication with the communication destination device via the NFC I / F 22. Greater than the maximum possible distance.

制御部30は、CPU32とメモリ34とを備える。CPU32は、メモリ34に格納されているプログラムに従って、様々な処理を実行する。CPU32がプログラムに従って処理を実行することによって、各部40〜47の機能が実現される。メモリ34は、ROM、RAM、ハードディスク等によって構成される。メモリ34は、CPU32によって実行される上記のプログラムを格納する。   The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes according to a program stored in the memory 34. The functions of the units 40 to 47 are realized by the CPU 32 executing the processing according to the program. The memory 34 includes a ROM, a RAM, a hard disk, and the like. The memory 34 stores the above program executed by the CPU 32.

MFP10がWFDNWに属している場合には、メモリ34は、さらに、MFP10がWFDNWに属していることを示すWFD所属情報を格納する。WFD所属情報は、WFDNWでのMFP10の状態(G/O状態又はクライアント状態)を示す状態値と、WFDNWを利用したWFD通信を実行するためのWFD無線設定と、を含む。   When the MFP 10 belongs to the WFDNW, the memory 34 further stores WFD affiliation information indicating that the MFP 10 belongs to the WFDNW. The WFD affiliation information includes a state value indicating a state (G / O state or client state) of the MFP 10 in the WFDNW, and a WFD wireless setting for executing WFD communication using the WFDNW.

なお、MFP10は、G/O機器として第1のWFDNWに属していると共に、CL機器として第2のWFDNWに属している状態を形成することができる。即ち、MFP10は、異なる状態(即ち、G/O状態、クライアント状態)の機器として2個のWFDNWに同時的に属することができる。ただし、MFP10は、同じ状態の機器として2個のWFDNWに同時的に属することができない。即ち、MFP10は、G/O機器として1個のWFDNWに属している状態において、G/O機器として他のWFDNWに属することができない。また、MFP10は、CL機器として1個のWFDNWに属している状態において、CL機器として他のWFDNWに属することができない。MFP10が第1及び第2のWFDNWに同時的に属している場合には、メモリ34は、第1のWFDNWに対応する第1のWFD所属情報と、第2のWFDNWに対応する第2のWFD所属情報と、の両方を格納する。   Note that the MFP 10 can be in a state where it belongs to the first WFDNW as a G / O device and belongs to the second WFDNW as a CL device. That is, the MFP 10 can simultaneously belong to two WFDNWs as devices in different states (ie, G / O state and client state). However, the MFP 10 cannot belong to two WFDNWs simultaneously as devices in the same state. That is, while the MFP 10 belongs to one WFDNW as a G / O device, it cannot belong to another WFDNW as a G / O device. Also, while the MFP 10 belongs to one WFDNW as a CL device, it cannot belong to another WFDNW as a CL device. When the MFP 10 simultaneously belongs to the first and second WFDNWs, the memory 34 stores the first WFD belonging information corresponding to the first WFDNW and the second WFD corresponding to the second WFDNW. Store both affiliation information.

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

G/O機器は、通常、WFDNWを形成する際に、WFD無線設定を準備して、当該WFD無線設定をCL機器に供給する。例えば、MFP10の制御部30は、MFP10がG/O機器として動作するWFDNWを形成する際に、WFD無線設定を準備する。具体的に言うと、制御部30は、予め決められている認証方式情報及び暗号化方式情報を準備する。制御部30は、予め決められているパスワードを準備するか、あるいは、パスワードを新たに生成することによってパスワードを準備する。制御部30は、予め決められているSSIDを準備するか、あるいは、SSIDを新たに生成することによってSSIDを準備する。また、制御部30は、予め決められているWFD用MACアドレスをBSSIDとして準備する。   The G / O device usually prepares a WFD wireless setting when forming a WFDNW, and supplies the WFD wireless setting to the CL device. For example, the control unit 30 of the MFP 10 prepares WFD wireless settings when the MFP 10 forms a WFDNW that operates as a G / O device. Specifically, the control unit 30 prepares predetermined authentication method information and encryption method information. The control unit 30 prepares a predetermined password or prepares a password by newly generating a password. The control unit 30 prepares a predetermined SSID or prepares an SSID by newly generating an SSID. The control unit 30 prepares a predetermined MAC address for WFD as the BSSID.

従って、MFP10がG/O機器としてWFDNWに属している場合には、当該WFDNWに対応するWFD所属情報は、MFP10が当該WFDNWを形成した際に、MFP10によって準備されたWFD無線設定を含む。一方において、MFP10がCL機器としてWFDNWに属している場合には、当該WFDNWに対応するWFD所属情報は、MFP10とは異なるG/O機器が当該WFDNWを形成した際に、当該G/O機器によって準備されたWFD無線設定(即ち、当該G/O機器から取得されたWFD無線設定)を含む。   Therefore, when the MFP 10 belongs to the WFDNW as a G / O device, the WFD affiliation information corresponding to the WFDNW includes the WFD wireless settings prepared by the MFP 10 when the MFP 10 forms the WFDNW. On the other hand, when the MFP 10 belongs to the WFDNW as a CL device, the WFD affiliation information corresponding to the WFDNW is output by the G / O device when a G / O device different from the MFP 10 forms the WFDNW. The prepared WFD wireless settings (that is, the WFD wireless settings acquired from the G / O device) are included.

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

MFP10は、通常、以下の手法を利用して、通常Wi−FiNWに参加する。即ち、MFP10の制御部30は、所定の操作が操作部12に加えられると、SSIDサーチを実行して、PReq信号を送信する。この結果、制御部30は、MFP10の周囲に存在するAP4a,4bのそれぞれから、PRes信号を受信する。PRes信号は、PRes信号の送信元のAPで利用されている認証方式を示す認証方式情報と、当該APで利用されている暗号化方式を示す暗号化方式情報と、当該APで利用されているSSID及びBSSIDと、を含む。次いで、制御部30は、複数個のAPから取得された複数個のSSIDを、表示部14に表示させる。ユーザは、操作部12を用いて、複数個のSSIDの中から1個のSSID(即ち1個のAP)を選択する。ユーザは、さらに、操作部12を用いて、パスワードを入力する。   The MFP 10 normally participates in the normal Wi-Fi NW using the following method. That is, when a predetermined operation is applied to the operation unit 12, the control unit 30 of the MFP 10 executes an SSID search and transmits a PReq signal. As a result, the control unit 30 receives the PREs signal from each of the APs 4a and 4b existing around the MFP 10. The PREs signal includes authentication method information indicating the authentication method used by the AP that transmits the PREs signal, encryption method information indicating the encryption method used by the AP, and information used by the AP. SSID and BSSID. Next, the control unit 30 causes the display unit 14 to display the plurality of SSIDs obtained from the plurality of APs. The user selects one SSID (that is, one AP) from the plurality of SSIDs using the operation unit 12. The user further inputs a password using the operation unit 12.

制御部30は、選択済みのAPから取得された認証方式情報、暗号化方式情報、SSID、及び、BSSIDを利用すると共に、ユーザによって入力されたパスワードを利用して、選択済みのAPと無線接続を実行する。無線接続は、MFP10が通常Wi−FiNWに参加するための通信処理(例えば、認証のための通信処理(Authentication信号、Association信号の通信等))を含む。これにより、MFP10は、選択済みのAPが形成している通常Wi−FiNWに参加する。メモリ34は、選択済みのAPとの無線接続で利用された各情報(認証方式情報等)を、通常Wi−Fi無線設定として格納する。   The control unit 30 uses the authentication method information, the encryption method information, the SSID, and the BSSID acquired from the selected AP, and wirelessly connects to the selected AP by using the password input by the user. Execute The wireless connection includes communication processing for the MFP 10 to participate in the normal Wi-Fi NW (for example, communication processing for authentication (communication of an Authentication signal, an Association signal, and the like)). Thus, the MFP 10 participates in the normal Wi-Fi NW formed by the selected AP. The memory 34 stores information (authentication method information and the like) used in wireless connection with the selected AP as normal Wi-Fi wireless settings.

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

携帯端末50は、操作部52と、表示部54と、無線LANI/F60と、NFCI/F62と、制御部70と、を備える。各部52〜70は、バス線(符号省略)に接続されている。操作部52は、複数のキーを備える。ユーザは、操作部52を操作することによって、様々な指示を携帯端末50に入力することができる。表示部54は、様々な情報を表示するためのディスプレイである。   The mobile 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 of the units 52 to 70 is connected to a bus line (reference numerals are omitted). The operation unit 52 includes a plurality of keys. The user can input various instructions to the mobile terminal 50 by operating the operation unit 52. The display unit 54 is a display for displaying various information.

無線LANI/F60は、WFD通信と通常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 WFD communication and 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 the wireless communication via the wireless LAN I / F 60 is higher than the communication speed of the wireless communication via the NFC I / F 62.

制御部70は、CPU72とメモリ74とを備える。CPU72は、メモリ74に格納されているプログラムに従って、様々な処理を実行する。メモリ74内のプログラムは、MFP10に様々な機能(例えば、印刷機能、スキャン機能等)を実行させるためのアプリケーション76を含む。アプリケーション76は、例えば、MFP10のベンダによって提供されるサーバから携帯端末50にインストールされてもよいし、MFP10と共に出荷されるメディアから携帯端末50にインストールされてもよい。CPU72がアプリケーション76に従って処理を実行することによって、各部80〜82の機能が実現される。   The control unit 70 includes a CPU 72 and a memory 74. The CPU 72 executes various processes according to a 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, a printing function, a scanning function, and the like). The application 76 may be installed in the mobile terminal 50 from, for example, a server provided by a vendor of the MFP 10 or may be installed in the mobile terminal 50 from media shipped with the MFP 10. The functions of the units 80 to 82 are realized by the CPU 72 executing the processing according to the application 76.

なお、携帯端末50は、MFP10とは異なり、WFDNWと通常Wi−FiNWとに同時的に属することができない。また、携帯端末50は、2個のWFDNWに同時的に属することができない。携帯端末50がWFDNW又は通常Wi−FiNWに属している場合には、メモリ34は、MFP10と同様に、WFD所属情報又は通常Wi−Fi所属情報を格納する。   Note that, unlike the MFP 10, the mobile terminal 50 cannot belong to the WFDNW and the normal Wi-Fi NW simultaneously. Also, the mobile terminal 50 cannot belong to two WFDNWs simultaneously. When the mobile terminal 50 belongs to the WFDNW or the normal Wi-Fi NW, the memory 34 stores the WFD affiliation information or the normal Wi-Fi affiliation information similarly to the MFP 10.

(AP4a,4bの構成)
各AP4a,4bは、WFDのG/O機器ではなく、無線アクセスポイント又は無線LANルータと呼ばれる通常のAPであり、通常Wi−FiNWを形成する。各AP4a,4bは、通常Wi−FiNWに属する複数個の機器のうちの第1の機器(例えば携帯端末50)から対象データを受信して、上記の複数個の機器のうちの第2の機器(例えばMFP10)に当該対象データを送信する。即ち、各AP4a,4bは、通常Wi−FiNWに属する一対の機器の間の対象データの無線通信を中継する中継機能を実行可能である。また、各AP4a,4bは、通常Wi−FiNWに属する機器と、インターネットと、の間のデータ通信を中継するルータ機能を実行可能である。
(Configuration of APs 4a and 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 NW. Each of the APs 4a and 4b receives target data from a first device (for example, the mobile terminal 50) among a plurality of devices belonging to the normal Wi-Fi NW, and a second device among the plurality of devices. (For example, the MFP 10). That is, each of the APs 4a and 4b can execute a relay function of relaying wireless communication of target data between a pair of devices belonging to the normal Wi-Fi NW. Each of the APs 4a and 4b can execute a router function for relaying data communication between a device belonging to the normal Wi-Fi NW and the Internet.

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

なお、通信システム2の管理者は、各AP4a,4bのプライバシーセパレータ設定(以下では「PS(Privacy Separator)設定」と呼ぶ)として、ON又はOFFを選択することができる。例えば、AP4aのPS設定がOFFである状態では、AP4aは、ルータ機能及び中継機能の両方を実行可能である。一方において、AP4aのPS設定がONである状態では、AP4aは、ルータ機能を実行可能であるが、中継機能を実行不可能である。このように、AP4aのPS設定がONである状態では、AP4aが形成している通常Wi−FiNWに属する一対の機器の間でデータ通信が実行されないために、通常Wi−FiNWのセキュリティを高めることができる。   Note that the administrator of the communication system 2 can select ON or OFF as the privacy separator setting (hereinafter, referred to as “PS (Privacy Separator) setting”) for each of the APs 4a and 4b. For example, when the PS setting of the AP 4a is OFF, the AP 4a can execute both the router function and the relay function. On the other hand, when the PS setting of the AP 4a is ON, the AP 4a can execute the router function but cannot execute the relay function. As described above, when the PS setting of the AP 4a is ON, data communication is not executed between a pair of devices belonging to the normal Wi-Fi NW formed by the AP 4a, so that the security of the normal Wi-Fi NW is improved. Can be.

(MFP10が実行する通信処理)
続いて、図2を参照して、MFP10が実行する通信処理の内容について説明する。MFP10が電源ONにされている間に、MFP10のNFCI/F22は、NFC通信を実行可能な機器(即ち携帯端末50)を検出するための検出電波を発信している。携帯端末50のユーザは、印刷機能又はスキャン機能を選択する操作を実行した後に、携帯端末50をMFP10に近づける。これにより、携帯端末50とMFP10との間の距離が、互いに電波が届く距離(例えば10cm)より小さくなる。この場合、携帯端末50のNFCI/F62は、MFP10から検出電波を受信して、応答電波をMFP10に送信する。この結果、MFP10と携帯端末50との間に、NFC通信セッションが確立される。携帯端末50は、NFC通信セッションを利用して、リクエストデータをMFP10に送信する。
(Communication processing executed by MFP 10)
Subsequently, the contents of the communication processing executed by the MFP 10 will be described with reference to FIG. While the power of the MFP 10 is turned on, the NFC I / F 22 of the MFP 10 emits a detection radio wave for detecting a device capable of executing the NFC communication (that is, the portable terminal 50). The user of the portable terminal 50 brings the portable terminal 50 closer to the MFP 10 after performing the operation of selecting the print function or the scan function. Thereby, the distance between portable terminal 50 and MFP 10 becomes smaller than the distance (for example, 10 cm) that radio waves reach each other. In this case, the NFC I / F 62 of the mobile terminal 50 receives the detection 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. The mobile terminal 50 transmits the request data to the MFP 10 using the NFC communication session.

S10に示されるように、MFP10の特定データ受信部40は、携帯端末50からリクエストデータを受信することを監視している(S10)。特定データ受信部40は、携帯端末50から、NFCI/F22を介して、リクエストデータを受信する場合に、S10でYESと判断して、S12に進む。なお、携帯端末50のユーザによって印刷機能が選択される場合には、リクエストデータは、印刷指示を含む。一方において、携帯端末50のユーザによってスキャン機能が選択される場合には、リクエストデータは、スキャン指示を含む。また、携帯端末50がWFDNW又は通常Wi−FiNWに属している場合には、リクエストデータは、さらに、携帯端末50が属している無線ネットワークのSSIDを含む。携帯端末50がWFDNW及び通常Wi−FiNWのどちらにも属していない場合には、リクエストデータは、SSIDを含まない。   As shown in S10, the specific data receiving unit 40 of the MFP 10 monitors reception of request data from the mobile terminal 50 (S10). When receiving the request data from the mobile terminal 50 via the NFC I / F 22, the specific data receiving unit 40 determines YES in S10, and proceeds to S12. When the print function is selected by the user of the mobile terminal 50, the request data includes a print instruction. On the other hand, when the scan function is selected by the user of the mobile terminal 50, the request data includes a scan instruction. When the mobile terminal 50 belongs to the WFDNW or the normal Wi-Fi NW, the request data further includes the SSID of the wireless network to which the mobile terminal 50 belongs. When the mobile terminal 50 does not belong to any of the WFDNW and the normal Wi-Fi NW, the request data does not include the SSID.

(レスポンス送信処理;図3)
S12では、制御部30は、レスポンス送信処理を実行する。なお、以下では、MFP10がG/O機器として動作するWFDNWのことを、「WFDNW(MFP=G/O)」と記載する。また、MFP10がCL機器として動作するWFDNWのことを、「WFDNW(MFP=CL)」と記載する。
(Response transmission processing; FIG. 3)
In S12, the control unit 30 executes a response transmission process. Hereinafter, the WFDNW in which the MFP 10 operates as a G / O device is described as “WFDNW (MFP = G / O)”. Further, the WFDNW in which the MFP 10 operates as a CL device is described as “WFDNW (MFP = CL)”.

図3に示されるように、S30において、制御部30は、MFP10がWFDNW(MFP=G/O)に属しているのか否かを判断する。具体的に言うと、制御部30は、メモリ34内にWFD所属情報が格納されていない場合には、S30でNO(即ち、MFP10がWFDNW(MFP=G/O)に属していない)と判断して、S40に進む。また、制御部30は、メモリ34内に2個のWFD所属情報が格納されている場合、即ち、MFP10が第1のWFDNW(MFP=G/O)に属していると共に、MFP10が第2のWFDNW(MFP=CL)に属している場合には、S30でYES(即ち、MFP10がWFDNW(MFP=G/O)に属している)と判断して、S32に進む。また、制御部30は、メモリ34内に1個のWFD所属情報が格納されている場合には、当該WFD所属情報に含まれる状態値が、G/O状態を示す値であるのか否かを確認する。制御部30は、状態値がG/O状態を示す値である場合には、S30でYESと判断して、S32に進み、状態値がクライアント状態を示す値である場合には、S30でNOと判断して、S40に進む。   As shown in FIG. 3, in S30, control unit 30 determines whether or not MFP 10 belongs to the WFDNW (MFP = G / O). Specifically, when WFD affiliation information is not stored in memory 34, control unit 30 determines NO in S30 (that is, MFP 10 does not belong to WFDNW (MFP = G / O)). Then, the process proceeds to S40. Further, when two WFD affiliation information are stored in the memory 34, that is, the MFP 10 belongs to the first WFDNW (MFP = G / O) and the MFP 10 If the MFP 10 belongs to the WFDNW (MFP = CL), it is determined as YES in S30 (that is, the MFP 10 belongs to the WFDNW (MFP = G / O)), and the process proceeds to S32. When one WFD affiliation information is stored in the memory 34, the control unit 30 determines whether the state value included in the WFD affiliation information is a value indicating the G / O state. Confirm. When the state value is the value indicating the G / O state, the control unit 30 determines YES in S30 and proceeds to S32, and when the state value is the value indicating the client state, NO in S30. It proceeds to S40.

S32では、第2の判断部46は、図2のS10で携帯端末50から受信されたリクエストデータが、携帯端末50が属している無線ネットワークのSSIDを含むのか否かを判断する。第2の判断部46は、リクエストデータがSSIDを含む場合には、S32でYESと判断して、S34に進み、リクエストデータがSSIDを含まない場合には、S32でNOと判断して、S60に進む。   In S32, the second determination unit 46 determines whether the request data received from the mobile terminal 50 in S10 of FIG. 2 includes the SSID of the wireless network to which the mobile terminal 50 belongs. If the request data includes the SSID, the second determination unit 46 determines YES in S32, and proceeds to S34. If the request data does not include the SSID, the second determination unit 46 determines NO in S32, and S60. Proceed to.

S34では、第2の判断部46は、MFP10が通常Wi−FiNWに属しているのか否かを判断する。具体的に言うと、第2の判断部46は、メモリ34内に通常Wi−Fi所属情報が格納されている場合には、S34でYES(即ち、MFP10が通常Wi−FiNWに属している)と判断して、S36に進む。第2の判断部46は、メモリ34内に通常Wi−Fi所属情報が格納されていない場合には、S34でNO(即ち、MFP10が通常Wi−FiNWに属していない)と判断して、S60に進む。   In S34, the second determination unit 46 determines whether the MFP 10 belongs to the normal Wi-Fi NW. Specifically, if the normal Wi-Fi affiliation information is stored in the memory 34, the second determination unit 46 determines YES in S34 (that is, the MFP 10 belongs to the normal Wi-Fi NW). It proceeds to S36. When the normal Wi-Fi affiliation information is not stored in the memory 34, the second determination unit 46 determines NO in S34 (that is, the MFP 10 does not belong to the normal Wi-Fi NW), and proceeds to S60. Proceed to.

S36では、第2の判断部46は、MFP10及び携帯端末50が同じ通常Wi−FiNWに属しているのか否かを判断する。具体的に言うと、第2の判断部46は、メモリ34内の通常Wi−Fi所属情報に含まれるSSIDと、リクエストデータに含まれるSSIDと、が一致するのか否かを判断する。第2の判断部46は、2つのSSIDが一致すると判断する場合には、S36でYES(即ち、MFP10及び携帯端末50が同じ通常Wi−FiNWに属している)と判断して、S50に進む。一方において、第2の判断部46は、2つのSSIDが一致しないと判断する場合には、S36でNO(即ち、MFP10及び携帯端末50が同じ通常Wi−FiNWに属していない)と判断して、S60に進む。   In S36, the second determination unit 46 determines whether the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW. Specifically, the second determination unit 46 determines whether the SSID included in the normal Wi-Fi affiliation information in the memory 34 matches the SSID included in the request data. When determining that the two SSIDs match, the second determination unit 46 determines YES in S36 (that is, the MFP 10 and the mobile terminal 50 belong to the same normal Wi-Fi NW), and proceeds to S50. . On the other hand, when determining that the two SSIDs do not match, the second determination unit 46 determines NO in S36 (that is, the MFP 10 and the mobile terminal 50 do not belong to the same normal Wi-Fi NW). , S60.

S50では、第1の情報送信部41は、まず、レスポンスデータを生成する。具体的に言うと、第1の情報送信部41は、メモリ34内の通常Wi−Fi所属情報に含まれる通常Wi−Fi無線設定と、1番目の優先順位を示す優先順位情報と、が対応付けられている第1の対応情報を生成する。次いで、第1の情報送信部41は、メモリ34内の1個以上のWFD所属情報のうち、G/O状態を示す状態値を含むWFD所属情報(以下では「G/O用WFD所属情報」と呼ぶ)を特定する。そして、第1の情報送信部41は、G/O用WFD所属情報に含まれるWFD無線設定と、2番目の優先順位を示す優先順位情報と、が対応付けられている第2の対応情報を生成する。第1の情報送信部41は、第1の対応情報と第2の対応情報とを含むレスポンスデータを生成する。S50では、さらに、第1の情報送信部41は、NFCI/F22を介して、生成済みのレスポンスデータを携帯端末50に送信する。なお、図3では、無線設定、1番目の優先順位、2番目の優先順位のことを、それぞれ、「WS(Wireless Settingの略)」、「(1)」、「(2)」と記載している。   In S50, the first information transmitting unit 41 first generates response data. More specifically, the first information transmission unit 41 associates the normal Wi-Fi wireless setting included in the normal Wi-Fi belonging information in the memory 34 with the priority information indicating the first priority. First attached information is generated. Next, the first information transmitting unit 41 transmits the WFD affiliation information including the state value indicating the G / O state among the one or more WFD affiliation information in the memory 34 (hereinafter, “G / O WFD affiliation information”). ). Then, the first information transmitting unit 41 transmits the second correspondence information in which the WFD wireless setting included in the G / O WFD belonging information and the priority information indicating the second priority are associated with each other. Generate. The first information transmitting unit 41 generates response data including the first correspondence information and the second correspondence information. In S50, the first information transmitting unit 41 further transmits the generated response data to the mobile terminal 50 via the NFC I / F 22. In FIG. 3, the wireless setting, the first priority, and the second priority are described as “WS (abbreviation of Wireless Setting)”, “(1)”, and “(2)”, respectively. ing.

なお、上述したように、S50では、携帯端末50が属している通常Wi−FiNWに対応する通常Wi−Fi無線設定が、1番目の優先順位になる。このために、携帯端末50は、後述の図4のアプリケーション処理において、通常Wi−FiNWを優先的に利用する。この際、携帯端末50が通常Wi−FiNWに既に属しているために、携帯端末50は、接続処理(図4のS210)を実行せずに済む(図4のS208でYES)。従って、携帯端末50の処理負荷を低減させることができる。   As described above, in S50, the normal Wi-Fi wireless setting corresponding to the normal Wi-Fi NW to which the mobile terminal 50 belongs has the first priority. For this reason, the mobile terminal 50 preferentially uses the normal Wi-Fi NW in the application processing of FIG. 4 described later. At this time, since the mobile terminal 50 already belongs to the normal Wi-Fi NW, the mobile terminal 50 does not need to execute the connection process (S210 in FIG. 4) (YES in S208 in FIG. 4). Therefore, the processing load on the portable terminal 50 can be reduced.

S32、S34、又は、S36でNOの場合に実行されるS60では、第1の情報送信部41は、メモリ34内の1個以上のWFD所属情報のうち、G/O用WFD所属情報を特定する。そして、第1の情報送信部41は、G/O用WFD所属情報に含まれるWFD無線設定を含むレスポンスデータを生成する。S50とは異なり、S60では、レスポンスデータは、通常Wi−Fi無線設定及び優先順位情報を含まない。S60では、さらに、第1の情報送信部41は、NFCI/F22を介して、生成済みのレスポンスデータを携帯端末50に送信する。   In S60 executed when S32, S34, or S36 is NO, the first information transmitting unit 41 specifies the G / O WFD affiliation information among the one or more WFD affiliation information in the memory 34. I do. Then, the first information transmitting unit 41 generates response data including the WFD wireless setting included in the G / O WFD belonging information. Unlike S50, in S60, the response data does not include the normal Wi-Fi wireless setting and priority information. In S60, the first information transmitting unit 41 further transmits the generated response data to the mobile terminal 50 via the NFC I / F 22.

一方において、S40では、第1の判断部45は、図2のS10で携帯端末50から受信されたリクエストデータが、携帯端末50が属している無線ネットワークのSSIDを含むのか否かを判断する。第1の判断部45は、リクエストデータがSSIDを含む場合には、S40でYESと判断して、S42に進み、リクエストデータがSSIDを含まない場合には、S40でNOと判断して、S48に進む。   On the other hand, in S40, the first determination unit 45 determines whether the request data received from the mobile terminal 50 in S10 of FIG. 2 includes the SSID of the wireless network to which the mobile terminal 50 belongs. If the request data includes the SSID, the first determination unit 45 determines YES in S40 and proceeds to S42, and if the request data does not include the SSID, determines NO in S40 and S48. Proceed to.

S42では、第1の判断部45は、MFP10が通常Wi−FiNWとWFDNW(MFP=CL)との少なくとも一方に属しているのか否かを判断する。具体的に言うと、第1の判断部45は、通常Wi−Fi所属情報と、クライアント状態を示す状態値を含むWFD所属情報(以下では「CL用WFD所属情報」と呼ぶ)と、の少なくとも一方が、メモリ34内に格納されている場合には、S42でYES(即ち、MFP10が通常Wi−FiNWとWFDNW(MFP=CL)との少なくとも一方に属している)と判断して、S44に進む。第1の判断部45は、通常Wi−Fi所属情報とCL用WFD所属情報とのいずれもメモリ34内に格納されていない場合には、S42でNO(即ち、MFP10が通常Wi−FiNWとWFDNW(MFP=CL)とのいずれにも属していない)と判断して、S48に進む。   In S42, the first determination unit 45 determines whether the MFP 10 belongs to at least one of the normal Wi-Fi NW and the WFDNW (MFP = CL). More specifically, the first determination unit 45 includes at least the normal Wi-Fi affiliation information and the WFD affiliation information including a state value indicating the client state (hereinafter, referred to as “CL WFD affiliation information”). If one is stored in the memory 34, YES is determined in S42 (that is, the MFP 10 belongs to at least one of the normal Wi-Fi NW and the WFDNW (MFP = CL)), and the process proceeds to S44. move on. When neither the normal Wi-Fi affiliation information nor the CL WFD affiliation information is stored in the memory 34, the first determination unit 45 determines NO in S42 (that is, the MFP 10 determines that the normal Wi-Fi NW and the WFDNW (MFP = CL) and proceeds to S48.

S44では、第1の判断部45は、メモリ34内に通常Wi−Fi所属情報が格納されている場合には、MFP10及び携帯端末50が同じ通常Wi−FiNWに属しているのか否かを判断するための第1の判断処理を実行する。第1の判断処理は、S36と同様である。第1の判断部45は、第1の判断処理において、MFP10及び携帯端末50が同じ通常Wi−FiNWに属していると判断する場合には、S44でYESと判断して、S46に進む。   In S44, when the normal Wi-Fi affiliation information is stored in the memory 34, the first determination unit 45 determines whether the MFP 10 and the mobile terminal 50 belong to the same normal Wi-Fi NW. A first determination process is performed. The first determination process is the same as S36. If the first determination unit 45 determines that the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW in the first determination process, it determines YES in S44 and proceeds to S46.

S44では、さらに、第1の判断部45は、メモリ34内にCL用WFD所属情報が格納されている場合には、MFP10及び携帯端末50が同じWFDNW(MFP=CL)に属しているのか否かを判断するための第2の判断処理を実行する。具体的に言うと、第1の判断部45は、メモリ34内のCL用WFD所属情報に含まれるSSIDと、リクエストデータに含まれるSSIDと、が一致するのか否かを判断する。第1の判断部45は、2つのSSIDが一致する場合に、MFP10及び携帯端末50が同じWFDNW(MFP=CL)に属していると判断する。第1の判断部45は、第2の判断処理において、MFP10及び携帯端末50が同じWFDNW(MFP=CL)に属していると判断する場合には、S44でYESと判断して、S46に進む。   In S44, the first determination unit 45 further determines whether the MFP 10 and the portable terminal 50 belong to the same WFDNW (MFP = CL) when the CL WFD affiliation information is stored in the memory 34. A second determination process is performed to determine whether or not this is the case. Specifically, the first determination unit 45 determines whether or not the SSID included in the CL WFD affiliation information in the memory 34 matches the SSID included in the request data. The first determination unit 45 determines that the MFP 10 and the mobile terminal 50 belong to the same WFDNW (MFP = CL) when the two SSIDs match. If the first determination unit 45 determines that the MFP 10 and the portable terminal 50 belong to the same WFDNW (MFP = CL) in the second determination process, the first determination unit 45 determines YES in S44 and proceeds to S46. .

一方において、第1の判断部45は、第1の判断処理において、MFP10及び携帯端末50が同じ通常Wi−FiNWに属していないと判断し、かつ、第2の判断処理において、MFP10及び携帯端末50が同じWFDNW(MFP=CL)に属していないと判断する場合には、S44でNOと判断して、S48に進む。   On the other hand, the first determination unit 45 determines in the first determination process that the MFP 10 and the mobile terminal 50 do not belong to the same normal Wi-Fi NW, and in the second determination process, the MFP 10 and the mobile terminal 50 When it is determined that 50 does not belong to the same WFDNW (MFP = CL), NO is determined in S44, and the process proceeds to S48.

S46では、形成部44は、MFP10を自律G/Oモードに移行させる。上述したように、WFDネットワークが新たに形成されるべき際には、通常、G/Oネゴシエーションが実行されて、G/O機器とCL機器とが決定される。これに対し、自律G/Oモードでは、G/Oネゴシエーションが実行されずに、MFP10がG/O機器であることが決定される。S46の段階では、MFP10がG/O機器であるが、CL機器が存在しない。即ち、形成部44は、S46を実行することによって、G/O機器(即ちMFP10)のみが属しているWFDNW(MFP=G/O)を形成する。   In S46, forming unit 44 causes MFP 10 to transition to the autonomous G / O mode. As described above, when a new WFD network is to be formed, a G / O negotiation is usually performed to determine a G / O device and a CL device. On the other hand, in the autonomous G / O mode, it is determined that the MFP 10 is a G / O device without performing G / O negotiation. At the stage of S46, the MFP 10 is a G / O device, but no CL device exists. That is, by executing S46, the forming unit 44 forms a WFDNW (MFP = G / O) to which only the G / O device (that is, the MFP 10) belongs.

自律G/Oモードは、G/O状態で動作することをMFP10に維持させるモードである。例えば、MFP10がG/OネゴシエーションでG/O状態になってWFDネットワークを形成した場合には、当該WFDネットワークからCL機器がいなくなると、MFP10は、G/O状態からデバイス状態に移行する(即ち、WFDネットワークが消滅する)。これに対し、例えば、MFP10が自律G/OモードでG/O状態になってWFDネットワークを形成した場合には、CL機器がいなくても、MFP10は、G/O状態を維持する(即ち、WFDネットワークを維持する)。   The autonomous G / O mode is a mode in which the MFP 10 keeps operating in the G / O state. For example, when the MFP 10 is in the G / O state by G / O negotiation and forms a WFD network, when there is no CL device from the WFD network, the MFP 10 shifts from the G / O state to the device state (that is, the device state). , 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 the WFD network, the MFP 10 maintains the G / O state even without the CL device (ie, Maintain WFD network).

なお、S46が開始される際に、MFP10がWFDNW(MFP=CL)に属している可能性がある。この場合、S46では、形成部44は、WFDNW(MFP=CL)からMFP10を離脱させることなく、WFDNW(MFP=G/O)を新たに形成する。即ち、MFP10が2個のWFDNWに同時的に属している状態が形成される。この点は、後述のS48でも同様である。   When S46 is started, the MFP 10 may belong to the WFDNW (MFP = CL). In this case, in S46, the forming unit 44 newly forms a WFDNW (MFP = G / O) without removing the MFP 10 from the WFDNW (MFP = CL). That is, a state is formed in which the MFP 10 simultaneously belongs to two WFDNWs. This is the same in S48 described later.

S46では、形成部44は、さらに、WFDNW(MFP=G/O)で利用されるべきWFD無線設定(即ち、認証方式情報、暗号化方式情報、SSID、BSSID、及び、パスワード)を準備する。WFD無線設定を準備するための手法は、上述のとおりである。S46では、形成部44は、さらに、G/O状態を示す状態値と、準備済みのWFD無線設定と、を含むG/O用WFD所属情報を、メモリ34に格納させる。S46を終えると、S70に進む。   In S46, the forming unit 44 further prepares WFD wireless settings (that is, authentication method information, encryption method information, SSID, BSSID, and password) to be used in the WFDNW (MFP = G / O). The method for preparing the WFD wireless settings is as described above. In S46, the forming unit 44 further causes the memory 34 to store the G / O WFD affiliation information including the status value indicating the G / O status and the prepared WFD wireless settings. When S46 ends, the process proceeds to S70.

S70では、第2の情報送信部42は、まず、レスポンスデータを生成する。具体的に言うと、第2の情報送信部42は、メモリ34内の1個以上の所属情報(即ち、通常Wi−Fi所属情報、WFD所属情報)の中から、MFP10及び携帯端末50の両方が属している無線ネットワーク(即ちS44でYESと判断された無線ネットワーク)に対応する所属情報(以下では「特定の所属情報」と呼ぶ)を特定する。特定の所属情報は、通常Wi−Fi所属情報又はCL用WFD所属情報である。そして、第2の情報送信部42は、特定の所属情報に含まれる無線設定(即ち、通常Wi−Fi無線設定、又は、WFDNW(MFP=CL)のWFD無線設定)と、1番目の優先順位を示す優先順位情報と、が対応付けられている第1の対応情報を生成する。次いで、第2の情報送信部42は、メモリ34内のG/O用WFD所属情報に含まれるWFD無線設定(即ちS46で準備されたWFD無線設定)と、2番目の優先順位を示す優先順位情報と、が対応付けられている第2の対応情報を生成する。第2の情報送信部42は、第1の対応情報と第2の対応情報とを含むレスポンスデータを生成する。S70では、さらに、第2の情報送信部42は、NFCI/F22を介して、生成済みのレスポンスデータを携帯端末50に送信する。   In S70, first, the second information transmitting unit 42 generates response data. More specifically, the second information transmission unit 42 determines, from one or more affiliation information in the memory 34 (that is, normal Wi-Fi affiliation information, WFD affiliation information), both the MFP 10 and the portable terminal 50. Is assigned (hereinafter, referred to as “specific assignment information”) corresponding to the wireless network to which the user belongs (that is, the wireless network determined to be YES in S44). The specific affiliation information is normal Wi-Fi affiliation information or WFD affiliation information for CL. Then, the second information transmitting unit 42 determines the wireless setting (that is, the normal Wi-Fi wireless setting or the WFD wireless setting of WFDNW (MFP = CL)) included in the specific belonging information and the first priority And first priority information that is associated with the priority information indicating. Next, the second information transmitting unit 42 sets the WFD wireless setting included in the G / O WFD belonging information in the memory 34 (that is, the WFD wireless setting prepared in S46) and the priority indicating the second priority. And generating second association information in which the information and the information are associated with each other. The second information transmitting unit 42 generates response data including the first correspondence information and the second correspondence information. In S70, the second information transmitting unit 42 further transmits the generated response data to the mobile terminal 50 via the NFC I / F 22.

なお、上述したように、S70では、携帯端末50が属している無線ネットワークに対応する無線設定が、1番目の優先順位になる。このために、携帯端末50は、後述の図4のアプリケーション処理において、当該無線ネットワークを優先的に利用する。この際、携帯端末50が当該無線ネットワークに既に属しているために、携帯端末50は、接続処理(図4のS210)を実行せずに済む(図4のS208でYES)。従って、携帯端末50の処理負荷を低減させることができる。   As described above, in S70, the wireless setting corresponding to the wireless network to which the mobile terminal 50 belongs has the first priority. For this reason, the portable terminal 50 preferentially uses the wireless network in the application processing of FIG. 4 described below. At this time, since the mobile terminal 50 already belongs to the wireless network, the mobile terminal 50 does not need to execute the connection process (S210 in FIG. 4) (YES in S208 in FIG. 4). Therefore, the processing load on the portable terminal 50 can be reduced.

一方において、S48では、形成部44は、MFP10を自律G/Oモードに移行させる。S48は、S46と同様である。次いで、S48を経て実行されるS60では、第3の情報送信部43は、メモリ34内のG/O用WFD所属情報に含まれるWFD無線設定(即ちS48で準備されたWFD無線設定)を含むレスポンスデータを生成する。S70とは異なり、S60では、レスポンスデータは、通常Wi−Fi無線設定、又は、WFDNW(MFP=CL)に対応するWFD無線設定を含まないし、優先順位情報を含まない。S48を経て実行されるS60では、さらに、第3の情報送信部43は、NFCI/F22を介して、生成済みのレスポンスデータを携帯端末50に送信する。   On the other hand, in S48, forming section 44 shifts MFP 10 to the autonomous G / O mode. S48 is the same as S46. Next, in S60 executed after S48, the third information transmitting unit 43 includes the WFD wireless setting included in the G / O WFD belonging information in the memory 34 (that is, the WFD wireless setting prepared in S48). Generate response data. Unlike S70, in S60, the response data does not include the normal Wi-Fi wireless setting or the WFD wireless setting corresponding to the WFDNW (MFP = CL), and does not include the priority information. In S60 executed after S48, the third information transmitting unit 43 further transmits the generated response data to the mobile terminal 50 via the NFC I / F 22.

なお、上述したように、仮に、MFP10が通常Wi−FiNWに属していても、携帯端末50が当該通常Wi−FiNWに属していなければ(S36でNO又はS44でNO)、MFP10は、当該通常Wi−FiNWに対応する通常Wi−Fi無線設定を、携帯端末50に送信しない(S60)。このために、MFP10が属している通常Wi−FiNWのセキュリティが低下するのを抑制することができる。同様に、仮に、MFP10がWFDNW(MFP=CL)に属していても、携帯端末50が当該WFDNW(MFP=CL)に属していなければ(S44でNO)、MFP10は、当該WFDNW(MFP=CL)に対応するWFD無線設定を、携帯端末50に送信しない(S60)。このために、MFP10が属しているWFDNW(MFP=CL)のセキュリティが低下するのを抑制することができる。   As described above, even if the MFP 10 belongs to the normal Wi-Fi NW, if the mobile terminal 50 does not belong to the normal Wi-Fi NW (NO in S36 or NO in S44), the MFP 10 The normal Wi-Fi wireless setting corresponding to the Wi-Fi NW is not transmitted to the portable terminal 50 (S60). For this reason, it is possible to prevent the security of the normal Wi-Fi NW to which the MFP 10 belongs from being reduced. Similarly, even if the MFP 10 belongs to the WFDNW (MFP = CL), if the mobile terminal 50 does not belong to the WFDNW (MFP = CL) (NO in S44), the MFP 10 returns to the WFDNW (MFP = CL). ) Is not transmitted to the portable terminal 50 (S60). For this reason, it is possible to suppress a decrease in security of the WFDNW (MFP = CL) to which the MFP 10 belongs.

これに対し、MFP10が属しているWFDNW(MFP=G/O)では、MFP10が当該WFDNWのセキュリティポリシーを決定しても問題ない。このために、本実施例では、仮に、携帯端末50が当該WFDNW(MFP=G/O)に属していなくても、MFP10は、当該WFDNW(MFP=G/O)に対応するWFD無線設定を携帯端末50に送信する(S50、S60、S70)。これにより、詳しくは後述するが、MFP10及び携帯端末50は、WFDNW(MFP=G/O)を利用して、対象データの通信を適切に実行することができる。   On the other hand, in the WFDNW (MFP = G / O) to which the MFP 10 belongs, there is no problem even if the MFP 10 determines the security policy of the WFDNW. For this reason, in the present embodiment, even if the portable terminal 50 does not belong to the WFDNW (MFP = G / O), the MFP 10 sets the WFD wireless setting corresponding to the WFDNW (MFP = G / O). The data is transmitted to the portable terminal 50 (S50, S60, S70). Thus, as will be described in detail later, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data using the WFDNW (MFP = G / O).

(図2のS14以降の処理)
図3のS50、S60、又は、S70が実行されると、図3のレスポンス送信処理が終了する。この場合、図2のS14に進む。図3のS50、S60、及び、S70のいずれが実行されても、WFDNW(MFP=G/O)に対応するWFD無線設定が、携帯端末50に送信される。詳しくは後述するが、携帯端末50は、当該WFDNW(MFP=G/O)に属していない場合には、WFD無線設定を用いて、当該WFDNW(MFP=G/O)に参加するための接続信号(例えば、Authentication Request信号、Association Request信号)をMFP10に送信する(図4のS210参照)。S14では、制御部30は、携帯端末50から、無線LANI/F20を介して、接続信号を受信することを監視する。制御部30は、携帯端末50から接続信号を受信する場合には、S14でYESと判断して、S16に進む。なお、S14でNOの場合には、S18に進む。
(Process after S14 in FIG. 2)
When S50, S60, or S70 in FIG. 3 is executed, the response transmission processing in FIG. 3 ends. In this case, the process proceeds to S14 of FIG. Regardless of which of S50, S60, and S70 in FIG. 3 is executed, the WFD wireless setting corresponding to the WFDNW (MFP = G / O) is transmitted to the portable terminal 50. As will be described in detail later, when the mobile terminal 50 does not belong to the WFDNW (MFP = G / O), the mobile terminal 50 uses the WFD wireless setting to connect to participate in the WFDNW (MFP = G / O). A signal (for example, an Authentication Request signal and an Association Request signal) is transmitted to the MFP 10 (see S210 in FIG. 4). In S14, the control unit 30 monitors reception of a connection signal from the portable terminal 50 via the wireless LAN I / F 20. When receiving the connection signal from the portable terminal 50, the control unit 30 determines YES in S14 and proceeds to S16. In the case where S14 is NO, the process proceeds to S18.

S16では、制御部30は、無線LANI/F20を介して、上記の接続信号に対する応答信号である接続応答信号(例えば、Authentication Response信号、Association Response信号)を携帯端末50に送信する。この結果、携帯端末50は、WFDNW(MFP=G/O)に参加することができる。即ち、MFP10及び携帯端末50が同じWFDNW(MFP=G/O)に属することになる。S16を終えると、S18に進む。   In S16, the control unit 30 transmits a connection response signal (for example, an Authentication Response signal, an Association Response signal), which is a response signal to the connection signal, to the portable terminal 50 via the wireless LAN I / F 20. As a result, the mobile terminal 50 can participate in the WFDNW (MFP = G / O). That is, the MFP 10 and the portable terminal 50 belong to the same WFDNW (MFP = G / O). When S16 ends, the process proceeds to S18.

また、詳しくは後述するが、携帯端末50は、MFP10及び携帯端末50の両方が属している無線ネットワークを利用して、MFP10に確認信号(例えばPING信号)を送信する(図4のS212参照)。S18では、通信実行部47は、携帯端末50から、無線LANI/F20を介して、確認信号を受信することを監視する。通信実行部47は、携帯端末50から確認信号を受信する場合には、S18でYESと判断して、S20に進む。なお、S18でNOの場合には、S14に戻る。   As will be described later in detail, the portable terminal 50 transmits a confirmation signal (for example, a ping signal) to the MFP 10 using the wireless network to which both the MFP 10 and the portable terminal 50 belong (see S212 in FIG. 4). . In S18, the communication execution unit 47 monitors reception of a confirmation signal from the portable terminal 50 via the wireless LAN I / F 20. When receiving the confirmation signal from the portable terminal 50, the communication execution unit 47 determines YES in S18, and proceeds to S20. In the case where S18 is NO, the process returns to S14.

S20では、制御部30は、無線LANI/F20を介して、上記の確認信号に対する応答信号である確認応答信号(例えばPING Response信号)を携帯端末50に送信する。
S20を終えると、S22に進む。
In S20, the control unit 30 transmits an acknowledgment signal (for example, a PING Response signal), which is a response signal to the above acknowledgment signal, to the mobile terminal 50 via the wireless LAN I / F 20.
When S20 ends, the process proceeds to S22.

なお、MFP10及び携帯端末50の両方が属している無線ネットワーク(以下では「両方所属NW」と呼ぶ)を利用して、携帯端末50からMFP10に確認信号が送信されても、MFP10が当該確認信号を受信することができない可能性がある。例えば、両方所属NWが通常Wi−FiNWである状況では、当該通常Wi−FiNWを形成しているAPのPS設定がONである場合には、当該APは、携帯端末50から確認信号を受信しても、確認信号をMFP10に送信しない。また、例えば、両方所属NWが、MFP10及び携帯端末50の両方がCL機器として動作するWFDNW(即ち、WFDNW(MFP=CL、携帯端末=CL))である状況では、当該WFDNW(MFP=CL、携帯端末=CL)を形成しているG/O機器のPS設定がONである場合には、当該G/O機器は、携帯端末50から確認信号を受信しても、確認信号をMFP10に送信しない。このように、両方所属NWが利用されても、確認信号及び確認応答信号の通信を実行不可能である可能性がある。このような両方所属NWが利用されると、対象データ(即ち印刷データ又はスキャンデータ)の通信も実行不可能である。   Note that even if a confirmation signal is transmitted from the portable terminal 50 to the MFP 10 using a wireless network to which both the MFP 10 and the portable terminal 50 belong (hereinafter, referred to as “both belonging NW”), the MFP 10 transmits the confirmation signal. May not be able to receive. For example, in a situation where both the affiliated NWs are normal Wi-Fi NWs, if the PS setting of the AP forming the normal Wi-Fi NW is ON, the AP receives a confirmation signal from the mobile terminal 50. However, the confirmation signal is not transmitted to the MFP 10. Further, for example, in a situation where the both NWs are WFDNWs in which both the MFP 10 and the portable terminal 50 operate as CL devices (that is, WFDNW (MFP = CL, portable terminal = CL)), the WFDNW (MFP = CL, When the PS setting of the G / O device forming the portable terminal (CL) is ON, the G / O device transmits the confirmation signal to the MFP 10 even if the confirmation signal is received from the portable terminal 50. do not do. As described above, even if both NWs are used, there is a possibility that communication of the confirmation signal and the confirmation response signal cannot be executed. When such both-affiliated NWs are used, communication of target data (that is, print data or scan data) cannot be executed.

これに対し、両方所属NWがWFDNW(MFP=G/O)である場合には、MFP10及び携帯端末50は、中継装置(即ちAPやG/O機器)を介して通信を実行するのではなく、直接的に通信を実行する。従って、中継装置のPS設定がONであることに起因して、データ通信が成功しないという事象が発生しない。また、両方所属NWが通常Wi−FiNW又はWFDNW(MFP=CL、携帯端末=CL)である状況でも、中継装置のPS設定がOFFである場合には、確認信号及び確認応答信号の通信を実行可能である。このような両方所属NWが利用されると、対象データ(即ち印刷データ又はスキャンデータ)の通信を実行可能である。   On the other hand, when both the affiliated NWs are WFDNWs (MFP = G / O), the MFP 10 and the portable terminal 50 do not execute communication via the relay device (that is, the AP or the G / O device). And perform the communication directly. Therefore, an event that the data communication does not succeed due to the PS setting of the relay device being ON does not occur. In addition, even when both NWs are a normal Wi-Fi NW or a WFDNW (MFP = CL, mobile terminal = CL), if the PS setting of the relay device is OFF, communication of the confirmation signal and the confirmation response signal is performed. It is possible. When such a dual NW is used, communication of target data (that is, print data or scan data) can be executed.

このような実情に鑑みて、S22では、通信実行部47は、確認信号及び確認応答信号の通信が成功した無線ネットワーク(以下では「特定の無線ネットワーク」と呼ぶ)を利用して、無線LANI/F20を介して、対象データの通信を実行する。これにより、MFP10及び携帯端末50は、対象データの通信を適切に実行することができる。例えば、図3のS50を経て実行されるS22では、通常Wi−FiNW又はWFDNW(MFP=G/O)が、上記の特定の無線ネットワークである。また、例えば、図3のS60を経て実行されるS22では、WFDNW(MFP=G/O)が、上記の特定の無線ネットワークである。また、例えば、図3のS70を経て実行されるS22では、通常Wi−FiNW、WFDNW(MFP=CL)、又は、WFDNW(MFP=G/O)が、上記の特定の無線ネットワークである。   In view of such a situation, in S22, the communication execution unit 47 uses the wireless network (hereinafter, referred to as “specific wireless network”) in which the communication of the confirmation signal and the confirmation response signal has succeeded, and The communication of the target data is executed via F20. Thereby, the MFP 10 and the mobile terminal 50 can appropriately execute the communication of the target data. For example, in S22 executed via S50 in FIG. 3, the normal Wi-Fi NW or WFDNW (MFP = G / O) is the above specific wireless network. Further, for example, in S22 executed after S60 in FIG. 3, the WFDNW (MFP = G / O) is the above specific wireless network. Further, for example, in S22 executed after S70 in FIG. 3, the normal Wi-Fi NW, WFDNW (MFP = CL), or WFDNW (MFP = G / O) is the specific wireless network.

例えば、S10で受信されたリクエストデータが印刷指示を含む場合には、S22では、通信実行部47は、上記の特定の無線ネットワークを利用して、無線LANI/F20を介して、携帯端末50から印刷データを受信する。次いで、制御部30は、印刷データ(即ち対象データ)を印刷実行部16に供給する。これにより、印刷実行部16は、印刷データによって表わされる画像を、印刷媒体に印刷する。また、S10で受信されたリクエストデータがスキャン指示を含む場合には、S22では、制御部30は、スキャン実行部18を起動させる。これにより、スキャン実行部18は、原稿をスキャンして、スキャンデータを生成する。次いで、通信実行部47は、上記の特定の無線ネットワークを利用して、無線LANI/F20を介して、スキャンデータ(即ち対象データ)を携帯端末50に送信する。S22が終了すると、S10に戻る。   For example, when the request data received in S10 includes a print instruction, in S22, the communication execution unit 47 uses the specific wireless network described above to transmit the request from the portable terminal 50 via the wireless LAN I / F 20. Receive print data. Next, the control unit 30 supplies the print data (that is, the target data) to the print execution unit 16. Thereby, the print execution unit 16 prints the image represented by the print data on the print medium. If the request data received in S10 includes a scan instruction, the control unit 30 activates the scan execution unit 18 in S22. As a result, the scan executing unit 18 scans the document and generates scan data. Next, the communication execution unit 47 transmits the scan data (that is, the target data) to the mobile terminal 50 via the wireless LAN I / F 20 using the specific wireless network. When S22 ends, the process returns to S10.

印刷データ又はスキャンデータは、通常、NFC通信によって通信される各データ(例えば、リクエストデータ、レスポンスデータ)と比べて、大きいデータサイズを有する。上述したように、NFC通信の通信速度は、WFD通信又は通常Wi−Fi通信の通信速度よりも遅い。従って、仮に、MFP10及び携帯端末50の間で、NFC通信を利用して、対象データの無線通信が実行される構成を採用すると、対象データの無線通信のために長時間を要する。このような実情に鑑みて、本実施例では、MFP10は、WFD通信又は通常Wi−Fi通信によって対象データの無線通信を実行するためのレスポンスデータを携帯端末50に送信する。これにより、MFP10及び携帯端末50は、対象データのWFD通信又は通常Wi−Fi通信を実行することができ、この結果、対象データの無線通信を迅速に実行することができる。   The print data or scan data usually has a larger data size than each data (for example, request data, response data) communicated by NFC communication. As described above, the communication speed of the NFC communication is lower than the communication speed of the WFD communication or the normal Wi-Fi communication. Therefore, if a configuration is adopted in which wireless communication of target data is performed using NFC communication between the MFP 10 and the mobile terminal 50, a long time is required for wireless communication of target data. In view of such circumstances, in the present embodiment, the MFP 10 transmits response data for executing wireless communication of target data to the mobile terminal 50 by WFD communication or normal Wi-Fi communication. Thereby, the MFP 10 and the mobile terminal 50 can execute the WFD communication or the normal Wi-Fi communication of the target data, and as a result, can quickly execute the wireless communication of the target data.

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

ユーザは、操作部52を操作して、MFP10に実行させる機能(印刷機能又はスキャン機能)を選択する。なお、ユーザは、印刷機能を選択する場合に、さらに、操作部52を操作して、携帯端末50のメモリ74に格納されている印刷対象のデータ(即ち印刷データ)を選択する。制御部70は、ユーザによって印刷機能又はスキャン機能が選択される場合に、S200でYESと判断して、S202に進む。   The user operates the operation unit 52 to select a function (print function or scan function) to be executed by the MFP 10. When selecting a print function, the user further operates the operation unit 52 to select data to be printed (that is, print data) stored in the memory 74 of the mobile terminal 50. When the printing function or the scanning function is selected by the user, the control unit 70 determines YES in S200 and proceeds to S202.

S202では、特定データ送信部80は、まず、選択済みの機能に対応する指示(印刷指示又はスキャン指示)を含むリクエストデータを生成する。また、特定データ送信部80は、メモリ74内に通常Wi−Fi所属情報又はWFD所属情報が格納されている場合には、当該所属情報に含まれるSSIDを特定する。そして、特定データ送信部80は、特定済みのSSIDを含むリクエストデータを生成する。S202では、さらに、特定データ送信部80は、MFP10と携帯端末50との間にNFC通信セッションが確立されることを監視する。特定データ送信部80は、NFC通信セッションが確立される場合に、NFCI/F62を介して、生成済みのリクエストデータをMFP10に送信する。これにより、MFP10は、リクエストデータを受信する(図2のS10参照)。   In S202, first, the specific data transmission unit 80 generates request data including an instruction (print instruction or scan instruction) corresponding to the selected function. When the normal Wi-Fi affiliation information or the WFD affiliation information is stored in the memory 74, the specific data transmission unit 80 identifies the SSID included in the affiliation information. Then, the specific data transmission unit 80 generates request data including the specified SSID. In S202, the specific data transmission unit 80 further monitors that an NFC communication session is established between the MFP 10 and the portable terminal 50. Specific data transmitting section 80 transmits the generated request data to MFP 10 via NFC I / F 62 when the NFC communication session is established. Thereby, the MFP 10 receives the request data (see S10 in FIG. 2).

上述したように、図3のS50、S60、又は、S70において、MFP10は、レスポンスデータを携帯端末50に送信する。この結果、S204において、情報受信部81は、MFP10から、NFCI/F62を介して、レスポンスデータを受信する。   As described above, in S50, S60, or S70 of FIG. 3, the MFP 10 transmits the response data to the portable terminal 50. As a result, in S204, the information receiving unit 81 receives the response data from the MFP 10 via the NFC I / F 62.

次いで、S206において、通信実行部82は、S204で受信されたレスポンスデータに含まれる1個以上の無線設定のうち、最高の優先順位を有する無線設定を特定する。例えば、レスポンスデータが、WFDNW(MFP=G/O)に対応するWFD無線設定を含み、他の無線設定を含まない場合(図3のS60参照)には、通信実行部82は、当該WFD無線設定を特定する。また、例えば、レスポンスデータが2個の無線設定を含む場合(図3のS50、S70参照)には、1回目のS206では、通信実行部82は、1番目の優先順位を示す優先順位情報に対応付けられている無線設定を特定する。なお、この無線設定は、メモリ74内の所属情報に含まれる無線設定、即ち、携帯端末50が属している無線ネットワークに対応する無線設定に一致する。図3のS50又はS70では、MFP10及び携帯端末50の両方が属している無線ネットワークに対応する無線設定が、1番目の優先順位を示す優先順位情報に対応付けられるからである。   Next, in S206, the communication execution unit 82 specifies the wireless setting having the highest priority among the one or more wireless settings included in the response data received in S204. For example, if the response data includes a WFD wireless setting corresponding to the WFDNW (MFP = G / O) and does not include other wireless settings (see S60 in FIG. 3), the communication execution unit 82 sets the WFD wireless Identify settings. For example, when the response data includes two wireless settings (see S50 and S70 in FIG. 3), in the first S206, the communication execution unit 82 sets the priority information indicating the first priority. Identify the associated wireless settings. This wireless setting matches the wireless setting included in the affiliation information in the memory 74, that is, the wireless setting corresponding to the wireless network to which the mobile terminal 50 belongs. This is because in S50 or S70 in FIG. 3, the wireless setting corresponding to the wireless network to which both the MFP 10 and the portable terminal 50 belong is associated with the priority information indicating the first priority.

次いで、S208において、通信実行部82は、携帯端末50が、S206で特定された無線設定に対応する無線ネットワーク(以下では「対象の無線ネットワーク」と呼ぶ)に属しているのか否かを判断する。具体的に言うと、通信実行部82は、S206で特定された無線設定と、メモリ74内の所属情報に含まれる無線設定と、が一致する場合には、S208でYESと判断し、S210をスキップしてS212に進む。一方において、通信実行部82は、S206で特定された無線設定と、メモリ74内の所属情報に含まれる無線設定と、が一致しない場合には、S208でNOと判断して、S210に進む。   Next, in S208, the communication execution unit 82 determines whether the mobile terminal 50 belongs to a wireless network corresponding to the wireless setting specified in S206 (hereinafter, referred to as a “target wireless network”). . More specifically, if the wireless setting specified in S206 matches the wireless setting included in the affiliation information in the memory 74, the communication execution unit 82 determines YES in S208 and proceeds to S210. Skip to step S212. On the other hand, if the wireless setting specified in S206 does not match the wireless setting included in the affiliation information in the memory 74, the communication execution unit 82 determines NO in S208 and proceeds to S210.

S210では、通信実行部82は、S206で特定された無線設定を利用して、接続処理を実行する。具体的に言うと、通信実行部82は、対象の無線ネットワークを形成している対象の中継装置(例えば、AP4a,4b、又は、G/O機器として動作するMFP10等)に接続するための接続信号を生成する。次いで、通信実行部82は、接続信号を、無線LANI/F60を介して、対象の中継装置に送信し、この結果、対象の中継装置から、無線LANI/F60を介して、接続応答信号を受信する。接続信号及び接続応答信号の通信は、複数回に亘って実行される。例えば、接続信号としてAuthentication Request信号が送信され、接続応答信号としてAuthentication Response信号が受信される。
また、例えば、接続信号としてAssociation Request信号が送信され、接続応答信号としてAssociation Response信号が受信される。なお、対象の中継装置が、G/O機器として動作するMFP10である場合には、MFP10は、図2のS14において、携帯端末50から接続信号を受信し、S16において、接続応答信号を携帯端末50に送信する。
In S210, the communication execution unit 82 executes a connection process using the wireless setting specified in S206. More specifically, the communication execution unit 82 is a connection for connecting to a target relay device (for example, the MFP 4 operating as a G / O device or the like) that forms a target wireless network. Generate a signal. Next, the communication execution unit 82 transmits the connection signal to the target relay device via the wireless LAN I / F 60, and as a result, receives the connection response signal from the target relay device via the wireless LAN I / F 60 I do. The communication of the connection signal and the connection response signal is executed a plurality of times. For example, an Authentication Request signal is transmitted as a connection signal, and an Authentication Response signal is received as a connection response signal.
Further, for example, an Association Request signal is transmitted as a connection signal, and an Association Response signal is received as a connection response signal. When the target relay device is the MFP 10 operating as a G / O device, the MFP 10 receives the connection signal from the portable terminal 50 in S14 of FIG. 2, and transmits the connection response signal to the portable terminal 50 in S16. Send to 50.

接続信号及び接続応答信号の通信の過程において、通信実行部82は、S206で特定された無線設定に含まれる認証方式情報、暗号化方式情報、パスワード、SSID、及び、BSSIDを送信する。これにより、対象の中継装置は、携帯端末50の認証を実行する。認証が成功すれば、携帯端末50と対象の中継装置との間の接続が成功し、この結果、携帯端末50は、対象の無線ネットワークに新たに参加する。なお、S210が実行される段階において、携帯端末50が既存の無線ネットワークに属している可能性がある。
この場合、携帯端末50は、既存の無線ネットワークから離脱して、対象の無線ネットワークに新たに参加する。
In the process of communicating the connection signal and the connection response signal, the communication execution unit 82 transmits the authentication method information, the encryption method information, the password, the SSID, and the BSSID included in the wireless setting specified in S206. Accordingly, the target relay device executes authentication of the mobile terminal 50. If the authentication is successful, the connection between the mobile terminal 50 and the target relay device is successful, and as a result, the mobile terminal 50 newly joins the target wireless network. At the stage where S210 is executed, the mobile terminal 50 may belong to an existing wireless network.
In this case, the mobile terminal 50 leaves the existing wireless network and newly joins the target wireless network.

次いで、S212において、通信実行部82は、携帯端末50が属している無線ネットワークを利用して、無線LANI/F60を介して、確認信号(例えばPING信号)をMFP10に送信する。例えば、S208でYESの場合には、S212で利用される無線ネットワークは、図4のアプリケーション処理が開始される段階において、携帯端末50が属している既存の無線ネットワークである。また、例えば、S208でNOの場合には、S212で利用される無線ネットワークは、S210の接続処理において、携帯端末50が新たに参加した対象の無線ネットワークである。   Next, in S212, the communication execution unit 82 transmits a confirmation signal (for example, a ping signal) to the MFP 10 via the wireless LAN I / F 60 using the wireless network to which the mobile terminal 50 belongs. For example, in the case of YES in S208, the wireless network used in S212 is the existing wireless network to which the mobile terminal 50 belongs at the stage when the application processing in FIG. 4 is started. Further, for example, in the case of NO in S208, the wireless network used in S212 is the wireless network to which the portable terminal 50 has newly joined in the connection processing in S210.

S214では、通信実行部82は、MFP10から、無線LANI/F60を介して、確認応答信号(例えばPING Response信号)を受信することを監視する。上述したように、確認信号の通信に利用される無線ネットワークを形成している中継装置のPS設定がONである場合には、通信実行部82は、確認応答信号を受信しない。この場合、通信実行部82は、S214でNOと判断して、S216に進む。一方において、通信実行部82は、確認応答信号を受信する場合には、S214でYESと判断して、S218に進む。   In S214, the communication execution unit 82 monitors reception of an acknowledgment signal (for example, a PING Response signal) from the MFP 10 via the wireless LAN I / F 60. As described above, when the PS setting of the relay device forming the wireless network used for the communication of the confirmation signal is ON, the communication execution unit 82 does not receive the confirmation response signal. In this case, the communication execution unit 82 determines NO in S214, and proceeds to S216. On the other hand, when receiving the confirmation response signal, the communication execution unit 82 determines YES in S214 and proceeds to S218.

S216では、通信実行部82は、S204で受信されたレスポンスデータに含まれる1個以上の無線設定のうち、S206で未だに特定されていない無線設定が存在するのか否かを判断する。S206で未だに特定されていない無線設定が存在しない場合には、通信実行部82は、S216でNOと判断して、S220に進む。一方において、S206で未だに特定されていない無線設定が存在する場合には、通信実行部82は、S216でYESと判断して、2回目のS206を実行する。   In S216, the communication execution unit 82 determines whether there is a wireless setting that has not yet been specified in S206 among the one or more wireless settings included in the response data received in S204. If there is no wireless setting that has not yet been specified in S206, the communication execution unit 82 determines NO in S216, and proceeds to S220. On the other hand, if there is a wireless setting that has not yet been specified in S206, the communication execution unit 82 determines YES in S216 and executes the second S206.

2回目のS206では、通信実行部82は、1回目のS206で未だに特定されていない無線設定のうち、最高の優先順位を有する無線設定を特定する。本実施例では、レスポンスデータに含まれる無線設定の数として「2」が最大であるために、2回目のS206では、通信実行部82は、2番目の優先順位を示す優先順位情報に対応付けられている無線設定を特定する。なお、この無線設定は、WFDNW(MFP=G/O)に対応するWFD無線設定である。図3のS50又はS70では、WFDNW(MFP=G/O)に対応するWFD無線設定が、2番目の優先順位を示す優先順位情報に対応付けられるからである。従って、その後にS208〜S214が実行されると、S214において、通信実行部82は、通常、MFP10から確認応答信号を受信する。WFDNW(MFP=G/O)では、中継装置を介さずに直接的に通信が実行されるために、中継装置のPS設定がONであることに起因して、データ通信が成功しないという事象が発生しないからである。   In the second S206, the communication execution unit 82 specifies the wireless setting having the highest priority among the wireless settings that have not yet been specified in the first S206. In this embodiment, since “2” is the maximum as the number of wireless settings included in the response data, in the second S206, the communication execution unit 82 associates the wireless execution with the priority information indicating the second priority. The configured wireless settings. This wireless setting is a WFD wireless setting corresponding to the WFDNW (MFP = G / O). This is because, in S50 or S70 in FIG. 3, the WFD wireless setting corresponding to the WFDNW (MFP = G / O) is associated with the priority information indicating the second priority. Therefore, when S208 to S214 are executed thereafter, the communication execution unit 82 normally receives an acknowledgment signal from the MFP 10 in S214. In the WFDNW (MFP = G / O), since the communication is directly performed without the intervention of the relay device, the event that the data communication does not succeed due to the PS setting of the relay device being ON is caused. This is because it does not occur.

S218では、通信実行部82は、確認信号及び応答信号の通信が成功した無線ネットワーク(以下では「特定の無線ネットワーク」と呼ぶ)を利用して、無線LANI/F60を介して、対象データの通信を実行する。例えば、S200で印刷機能が選択された場合には、S218では、通信実行部82は、上記の特定の無線ネットワークを利用して、無線LANI/F60を介して、MFP10に印刷データを送信する。また、S200でスキャン機能が選択された場合には、S218では、通信実行部82は、上記の特定の無線ネットワークを利用して、無線LANI/F60を介して、MFP10からスキャンデータを受信する。この場合、制御部70は、スキャンデータをメモリ74に格納させる。S218が終了すると、図4のアプリケーション処理が終了する。   In S218, the communication execution unit 82 communicates the target data via the wireless LAN I / F 60 using the wireless network in which the communication of the confirmation signal and the response signal has succeeded (hereinafter, referred to as a “specific wireless network”). Execute For example, when the print function is selected in S200, in S218, the communication execution unit 82 transmits print data to the MFP 10 via the wireless LAN I / F 60 using the specific wireless network. When the scan function is selected in S200, in S218, the communication execution unit 82 receives scan data from the MFP 10 via the wireless LAN I / F 60 using the specific wireless network. In this case, the control unit 70 causes the memory 74 to store the scan data. When S218 ends, the application processing of FIG. 4 ends.

なお、S220では、制御部70は、MFP10と対象データの通信を実行不可能であることを示す情報を、表示部54に表示させる。S220が終了すると、図4のアプリケーション処理が終了する。なお、S210において、携帯端末50が、既存の無線ネットワークから離脱して、新たな無線ネットワークに参加した場合には、制御部70は、図4のアプリケーション処理が終了すると、さらに、以下の処理を実行する。即ち、制御部70は、S210で参加した無線ネットワークから携帯端末50を離脱させ、上記の既存の無線ネットワークに携帯端末50を再び参加させる。   In S220, control unit 70 causes display unit 54 to display information indicating that communication between MFP 10 and target data is not executable. When S220 ends, the application processing of FIG. 4 ends. When the mobile terminal 50 has left the existing wireless network and joined a new wireless network in S210, the control unit 70 further executes the following processing when the application processing of FIG. 4 ends. Execute. That is, the control unit 70 disconnects the mobile terminal 50 from the wireless network that participated in S210, and causes the mobile terminal 50 to rejoin the existing wireless network.

(具体的なケース)
次いで、図5〜図8を参照して、本実施例のMFP10及び携帯端末50によって実現される具体的なケースを説明する。図5〜図8において、MFP10及び携帯端末50の間の細線の矢印は、NFC通信を示し、MFP10及び携帯端末50の間の太線の矢印は、WFD通信又は通常Wi−Fi通信を示す。AP4aのPS設定はONである。
(Specific case)
Next, a specific case realized by the MFP 10 and the mobile terminal 50 according to the present embodiment will be described with reference to FIGS. 5 to 8, a thin arrow between the MFP 10 and the portable terminal 50 indicates NFC communication, and a thick arrow between the MFP 10 and the portable terminal 50 indicates WFD communication or normal Wi-Fi communication. The PS setting of the AP 4a is ON.

(図5;ケースA)
ケースAでは、MFP10がG/O機器であると共にPC6がCL機器であるWFDNW(MFP=G/O)が形成されている。WFDNW(MFP=G/O)では、SSID「01」を含むWFD無線設定WS1が利用されている。また、MFP10及び携帯端末50は、AP4aが形成している通常Wi−FiNWに属している。通常Wi−FiNWでは、SSID「04」を含む通常Wi−Fi無線設定WS4が利用されている。
(Fig. 5; Case A)
In Case A, a WFDNW (MFP = G / O) in which MFP 10 is a G / O device and PC 6 is a CL device is formed. In the WFDNW (MFP = G / O), the WFD wireless setting WS1 including the SSID “01” is used. Further, the MFP 10 and the portable terminal 50 belong to a normal Wi-Fi NW formed by the AP 4a. In the normal Wi-Fi NW, the normal Wi-Fi wireless setting WS4 including the SSID “04” is used.

携帯端末50は、ユーザによって印刷機能が選択されると(図4のS200でYES)、NFC通信を利用して、印刷指示とSSID「04」とを含むリクエストデータをMFP10に送信する(S202)。   When the print function is selected by the user (YES in S200 of FIG. 4), portable terminal 50 transmits request data including a print instruction and SSID “04” to MFP 10 using NFC communication (S202). .

MFP10は、携帯端末50からリクエストデータを受信すると(図2のS10でYES)、図3のS30でYESと判断し、S32でYESと判断し、S34でYESと判断し、S36でYESと判断する。この結果、MFP10は、1番目の優先順位を示す優先順位情報に対応付けられている通常Wi−Fi無線設定WS4と、2番目の優先順位を示す優先順位情報に対応付けられているWFD無線設定WS1と、を含むレスポンスデータを、NFC通信を利用して、携帯端末50に送信する(S50)。   When receiving the request data from the portable terminal 50 (YES in S10 in FIG. 2), the MFP 10 determines YES in S30 in FIG. 3, determines YES in S32, determines YES in S34, and determines YES in S36. I do. As a result, the MFP 10 sets the normal Wi-Fi wireless setting WS4 associated with the priority information indicating the first priority and the WFD wireless setting associated with the priority information indicating the second priority. WS1 is transmitted to the portable terminal 50 using NFC communication (S50).

携帯端末50は、MFP10からレスポンスデータを受信すると(図4のS204)、1番目の優先順位を示す優先順位情報に対応付けられている通常Wi−Fi無線設定WS4を特定する(S206)。次いで、携帯端末50は、S208でYESと判断し、通常Wi−FiNWを利用して、確認信号をMFP10に送信する(S212)。ただし、AP4aのPS設定がONであるために、AP4aは、携帯端末50から確認信号を受信しても、確認信号をMFP10に送信しない。この結果、携帯端末50は、確認応答信号を受信せず、S214でNOと判断する。   Upon receiving the response data from the MFP 10 (S204 in FIG. 4), the mobile terminal 50 specifies the normal Wi-Fi wireless setting WS4 associated with the priority information indicating the first priority (S206). Next, the portable terminal 50 determines YES in S208, and transmits a confirmation signal to the MFP 10 using the normal Wi-Fi NW (S212). However, since the PS setting of the AP 4a is ON, the AP 4a does not transmit the confirmation signal to the MFP 10 even when receiving the confirmation signal from the mobile terminal 50. As a result, the portable terminal 50 does not receive the confirmation response signal, and determines NO in S214.

次いで、携帯端末50は、2番目の優先順位を示す優先順位情報に対応付けられているWFD無線設定WS1を特定する(S206)。この場合、携帯端末50は、S208でNOと判断し、WFD無線設定WS1を利用して、G/O機器であるMFP10に接続し、WFDNW(MFP=G/O)に新たに参加する(S210)。次いで、携帯端末50は、WFDNW(MFP=G/O)を利用して、確認信号をMFP10に送信する(S212)。   Next, the mobile terminal 50 specifies the WFD wireless setting WS1 associated with the priority information indicating the second priority (S206). In this case, the mobile terminal 50 determines NO in S208, uses the WFD wireless setting WS1, connects to the MFP 10, which is a G / O device, and newly participates in the WFDNW (MFP = G / O) (S210). ). Next, the portable terminal 50 transmits a confirmation signal to the MFP 10 using the WFDNW (MFP = G / O) (S212).

WFDNW(MFP=G/O)では、確認信号は、中継装置を介さずに、MFP10に送信される。従って、MFP10は、WFDNW(MFP=G/O)を利用して、携帯端末50から確認信号を受信する(図2のS18でYES)。この場合、MFP10は、WFDNW(MFP=G/O)を利用して、確認応答信号を携帯端末50に送信する(S20)。   In the WFDNW (MFP = G / O), the confirmation signal is transmitted to the MFP 10 without passing through the relay device. Therefore, MFP 10 receives the confirmation signal from portable terminal 50 using WFDNW (MFP = G / O) (YES in S18 of FIG. 2). In this case, the MFP 10 transmits a confirmation response signal to the mobile terminal 50 using the WFDNW (MFP = G / O) (S20).

携帯端末50は、MFP10から確認信号を受信すると(図4のS214でYES)、WFDNW(MFP=G/O)を利用して、印刷データをMFP10に送信する(S218)。この結果、MFP10は、WFDNW(MFP=G/O)を利用して、印刷データを受信する(図2のS22)。これにより、印刷データによって表される画像が、印刷媒体に印刷される。   When receiving the confirmation signal from MFP 10 (YES in S214 in FIG. 4), portable terminal 50 transmits the print data to MFP 10 using WFDNW (MFP = G / O) (S218). As a result, the MFP 10 receives the print data using the WFDNW (MFP = G / O) (S22 in FIG. 2). Thereby, the image represented by the print data is printed on the print medium.

(図6;ケースB)
ケースBでは、MFP10及びPC6が属しているWFDNW(MFP=G/O)は、ケースAのWFDNW(MFP=G/O)と同様である。また、MFP10は、AP4aが形成している通常Wi−FiNWに属している。当該通常Wi−FiNWでは、SSID「04」を含む通常Wi−Fi無線設定WS4が利用されている。また、携帯端末50は、AP4bが形成している通常Wi−FiNWに属している。当該通常Wi−FiNWでは、SSID「05」を含む通常Wi−Fi無線設定WS5が利用されている。
(Fig. 6; Case B)
In Case B, the WFDNW (MFP = G / O) to which the MFP 10 and the PC 6 belong is the same as the WFDNW (MFP = G / O) in Case A. The MFP 10 belongs to the normal Wi-Fi NW formed by the AP 4a. In the normal Wi-Fi NW, the normal Wi-Fi wireless setting WS4 including the SSID “04” is used. Further, the mobile terminal 50 belongs to the normal Wi-Fi NW formed by the AP 4b. In the normal Wi-Fi NW, the normal Wi-Fi wireless setting WS5 including the SSID “05” is used.

携帯端末50は、ユーザによって印刷機能が選択されると(図4のS200でYES)、NFC通信を利用して、印刷指示とSSID「05」とを含むリクエストデータをMFP10に送信する(図4のS202)。   When the print function is selected by the user (YES in S200 of FIG. 4), portable terminal 50 transmits request data including a print instruction and SSID “05” to MFP 10 using NFC communication (FIG. 4). S202).

MFP10は、携帯端末50からリクエストデータを受信すると(図2のS10でYES)、図3のS30でYESと判断し、S32でYESと判断し、S34でYESと判断し、S36でNOと判断する。この結果、MFP10は、WFD無線設定WS1を含み、通常Wi−Fi無線設定WS4を含まないレスポンスデータを、NFC通信を利用して、携帯端末50に送信する(図3のS60)。   When receiving the request data from portable terminal 50 (YES in S10 in FIG. 2), MFP 10 determines YES in S30 in FIG. 3, determines YES in S32, determines YES in S34, and determines NO in S36. I do. As a result, the MFP 10 transmits the response data including the WFD wireless setting WS1 and not including the normal Wi-Fi wireless setting WS4 to the mobile terminal 50 using the NFC communication (S60 in FIG. 3).

携帯端末50は、MFP10からレスポンスデータを受信すると(図4のS204)、WFD無線設定WS1を特定する(S206)。次いで、携帯端末50は、S208でNOと判断し、WFD無線設定WS1を利用して、G/O機器であるMFP10に接続し、WFDNW(MFP=G/O)に新たに参加する(S210)。この後のMFP10及び携帯端末50の動作は、ケースAと同様である。   Upon receiving the response data from the MFP 10 (S204 in FIG. 4), the mobile terminal 50 specifies the WFD wireless setting WS1 (S206). Next, the portable terminal 50 determines NO in S208, uses the WFD wireless setting WS1, connects to the MFP 10, which is a G / O device, and newly joins the WFDNW (MFP = G / O) (S210). . The subsequent operations of the MFP 10 and the portable terminal 50 are the same as those in the case A.

(図7;ケースC)
ケースCでは、ケースAと同様に、MFP10及び携帯端末50は、AP4aが形成している通常Wi−FiNWに属している。当該通常Wi−FiNWでは、SSID「02」を含む通常Wi−Fi無線設定WS2が利用されている。MFP10及び携帯端末50は、WFDNWに属していない。
(Fig. 7; Case C)
In Case C, similarly to Case A, the MFP 10 and the mobile terminal 50 belong to the normal Wi-Fi NW formed by the AP 4a. In the normal Wi-Fi NW, the normal Wi-Fi wireless setting WS2 including the SSID “02” is used. The MFP 10 and the portable terminal 50 do not belong to the WFDNW.

携帯端末50は、ユーザによって印刷機能が選択されると(図4のS200でYES)、NFC通信を利用して、印刷指示とSSID「02」とを含むリクエストデータをMFP10に送信する(図4のS202)。   When the print function is selected by the user (YES in S200 of FIG. 4), portable terminal 50 transmits request data including a print instruction and SSID “02” to MFP 10 using NFC communication (FIG. 4). S202).

MFP10は、携帯端末50からリクエストデータを受信すると(図2のS10でYES)、図3のS30でNOと判断し、S40でYESと判断し、S42でYESと判断し、S44でYESと判断する。この結果、MFP10は、自律G/Oモードに移行して、WFDNW(MFP=G/O)を形成する(S46)。WFDNW(MFP=G/O)では、WFD無線設定WS3が利用される。次いで、MFP10は、1番目の優先順位を示す優先順位情報に対応付けられている通常Wi−Fi無線設定WS2と、2番目の優先順位を示す優先順位情報に対応付けられているWFD無線設定WS3と、を含むレスポンスデータを、NFC通信を利用して、携帯端末50に送信する(S70)。   When receiving the request data from the portable terminal 50 (YES in S10 of FIG. 2), the MFP 10 determines NO in S30 of FIG. 3, determines YES in S40, determines YES in S42, and determines YES in S44. I do. As a result, the MFP 10 shifts to the autonomous G / O mode and forms a WFDNW (MFP = G / O) (S46). In the WFDNW (MFP = G / O), the WFD wireless setting WS3 is used. Next, the MFP 10 sets the normal Wi-Fi wireless setting WS2 associated with the priority information indicating the first priority and the WFD wireless setting WS3 associated with the priority information indicating the second priority. Is transmitted to the portable terminal 50 using NFC communication (S70).

携帯端末50は、MFP10からレスポンスデータを受信すると(図4のS204)、1番目の優先順位を示す優先順位情報に対応付けられている通常Wi−Fi無線設定WS2を特定する(S206)。次いで、携帯端末50は、S208でYESと判断し、通常Wi−FiNWを利用して、確認信号をMFP10に送信する(S212)。ただし、AP4aのPS設定がONであるために、AP4aは、携帯端末50から確認信号を受信しても、確認信号をMFP10に送信しない。この結果、携帯端末50は、確認応答信号を受信せず、S214でNOと判断する。   Upon receiving the response data from the MFP 10 (S204 in FIG. 4), the mobile terminal 50 specifies the normal Wi-Fi wireless setting WS2 associated with the priority information indicating the first priority (S206). Next, the portable terminal 50 determines YES in S208, and transmits a confirmation signal to the MFP 10 using the normal Wi-Fi NW (S212). However, since the PS setting of the AP 4a is ON, the AP 4a does not transmit the confirmation signal to the MFP 10 even when receiving the confirmation signal from the mobile terminal 50. As a result, the portable terminal 50 does not receive the confirmation response signal, and determines NO in S214.

次いで、携帯端末50は、2番目の優先順位を示す優先順位情報に対応付けられているWFD無線設定WS3を特定する(S206)。この場合、携帯端末50は、S208でNOと判断し、WFD無線設定WS3を利用して、G/O機器であるMFP10に接続し、WFDNW(MFP=G/O)に新たに参加する(S210)。この後のMFP10及び携帯端末50の動作は、ケースAと同様である。   Next, the portable terminal 50 specifies the WFD wireless setting WS3 associated with the priority information indicating the second priority (S206). In this case, the portable terminal 50 determines NO in S208, connects to the MFP 10 as a G / O device using the WFD wireless setting WS3, and newly participates in the WFDNW (MFP = G / O) (S210). ). The subsequent operations of the MFP 10 and the portable terminal 50 are the same as those in the case A.

(図8;ケースD)
ケースDでは、MFP10は、AP4aが形成している通常Wi−FiNWに属している。当該通常Wi−FiNWでは、SSID「02」を含む通常Wi−Fi無線設定WS2が利用されている。また、携帯端末50は、AP4bが形成している通常Wi−FiNWに属している。当該通常Wi−FiNWでは、SSID「06」を含む通常Wi−Fi無線設定WS6が利用されている。
(FIG. 8; Case D)
In Case D, the MFP 10 belongs to the normal Wi-Fi NW formed by the AP 4a. In the normal Wi-Fi NW, the normal Wi-Fi wireless setting WS2 including the SSID “02” is used. Further, the mobile terminal 50 belongs to the normal Wi-Fi NW formed by the AP 4b. In the normal Wi-Fi NW, a normal Wi-Fi wireless setting WS6 including the SSID “06” is used.

携帯端末50は、ユーザによって印刷機能が選択されると(図4のS200でYES)、NFC通信を利用して、印刷指示とSSID「06」とを含むリクエストデータをMFP10に送信する(図4のS202)。   When the print function is selected by the user (YES in S200 of FIG. 4), portable terminal 50 transmits request data including a print instruction and SSID “06” to MFP 10 using NFC communication (FIG. 4). S202).

MFP10は、携帯端末50からリクエストデータを受信すると(図2のS10でYES)、図3のS30でNOと判断し、S40でYESと判断し、S42でYESと判断し、S44でNOと判断する。この結果、MFP10は、自律G/Oモードに移行して、WFDNW(MFP=G/O)を形成する(S48)。WFDNW(MFP=G/O)では、WFD無線設定WS3が利用される。次いで、MFP10は、WFD無線設定WS3を含み、通常Wi−Fi無線設定WS2を含まないレスポンスデータを、NFC通信を利用して、携帯端末50に送信する(S60)。   When receiving the request data from portable terminal 50 (YES in S10 in FIG. 2), MFP 10 determines NO in S30 in FIG. 3, determines YES in S40, determines YES in S42, and determines NO in S44. I do. As a result, the MFP 10 shifts to the autonomous G / O mode and forms a WFDNW (MFP = G / O) (S48). In the WFDNW (MFP = G / O), the WFD wireless setting WS3 is used. Next, the MFP 10 transmits the response data including the WFD wireless setting WS3 and not including the normal Wi-Fi wireless setting WS2 to the mobile terminal 50 using the NFC communication (S60).

携帯端末50は、MFP10からレスポンスデータを受信すると(図4のS204)、WFD無線設定WS3を特定する(S206)。次いで、携帯端末50は、S208でNOと判断し、WFD無線設定WS3を利用して、G/O機器であるMFP10に接続し、WFDNW(MFP=G/O)に新たに参加する(S210)。この後のMFP10及び携帯端末50の動作は、ケースAと同様である。   Upon receiving the response data from the MFP 10 (S204 in FIG. 4), the mobile terminal 50 specifies the WFD wireless setting WS3 (S206). Next, the portable terminal 50 determines NO in S208, uses the WFD wireless setting WS3 to connect to the MFP 10, which is a G / O device, and newly participates in the WFDNW (MFP = G / O) (S210). . The subsequent operations of the MFP 10 and the portable terminal 50 are the same as those in the case A.

(第1実施例の効果)
図5及び図6のケースA及びBに示されるように、MFP10は、WFDNW(MFP=G/O)に属している場合には、WFDNW(MFP=G/O)に対応するWFD無線設定WS1を携帯端末50に送信する。このために、MFP10及び携帯端末50は、WFDNW(MFP=G/O)を利用して、対象データの通信を適切に実行することができる。
(Effect of the first embodiment)
As shown in cases A and B in FIGS. 5 and 6, when the MFP 10 belongs to the WFDNW (MFP = G / O), the MFP 10 sets the WFD wireless setting WS1 corresponding to the WFDNW (MFP = G / O). Is transmitted to the portable terminal 50. For this reason, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data using the WFDNW (MFP = G / O).

なお、MFP10が、WFDNW(MFP=G/O)のみならず、通常Wi−FiNWにも属している場合には、ケースAとケースBとに分類される。即ち、図5のケースAでは、MFP10及び携帯端末50が同じ通常Wi−FiNWに属しているために、MFP10は、通常Wi−FiNWに対応する通常Wi−Fi無線設定WS4と、WFDNW(MFP=G/O)に対応するWFD無線設定WS1と、を携帯端末50に送信する。この結果、MFP10及び携帯端末50は、通常Wi−FiNW又はWFDNW(MFP=G/O)を利用して、対象データの通信を適切に実行することができる。特に、ケースAでは、AP4aのPS設定がONであるために、MFP10及び携帯端末50が、通常Wi−FiNWを利用して、対象データの通信を実行することができない。ただし、MFP10及び携帯端末50は、WFDNW(MFP=G/O)を利用して、対象データの通信を適切に実行することができる。   If the MFP 10 belongs to not only the WFDNW (MFP = G / O) but also the normal Wi-Fi NW, the MFP 10 is classified into Case A and Case B. That is, in the case A of FIG. 5, since the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW, the MFP 10 sets the normal Wi-Fi wireless setting WS4 corresponding to the normal Wi-Fi NW and the WFDNW (MFP = G / O) corresponding to the WFD wireless setting WS1. As a result, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data using the normal Wi-Fi NW or the WFDNW (MFP = G / O). Particularly, in case A, since the PS setting of the AP 4a is ON, the MFP 10 and the portable terminal 50 cannot execute the communication of the target data using the normal Wi-Fi NW. However, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data using the WFDNW (MFP = G / O).

また、図6のケースBでは、MFP10及び携帯端末50が同じ通常Wi−FiNWに属していないために、MFP10は、通常Wi−FiNWに対応する通常Wi−Fi無線設定WS4を携帯端末50に送信せず、WFDNW(MFP=G/O)に対応するWFD無線設定WS1を携帯端末50に送信する。この結果、MFP10が属している通常Wi−FiNWのセキュリティが低下するのを抑制することができる。しかも、MFP10及び携帯端末50は、WFDNW(MFP=G/O)を利用して、対象データの通信を適切に実行することができる。   In case B of FIG. 6, since the MFP 10 and the mobile terminal 50 do not belong to the same normal Wi-Fi NW, the MFP 10 transmits the normal Wi-Fi wireless setting WS4 corresponding to the normal Wi-Fi NW to the mobile terminal 50. Instead, the WFD wireless setting WS1 corresponding to the WFDNW (MFP = G / O) is transmitted to the portable terminal 50. As a result, it is possible to suppress the security of the normal Wi-Fi NW to which the MFP 10 belongs from being reduced. Moreover, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data using the WFDNW (MFP = G / O).

また、図7のケースCに示されるように、MFP10は、WFDNW(MFP=G/O)に属していないが、通常Wi−FiNWに属している場合には、WFDNW(MFP=G/O)を新たに形成する。MFP10及び携帯端末50が同じ通常Wi−FiNWに属しているために、MFP10は、通常Wi−FiNWに対応する通常Wi−Fi無線設定WS2と、WFDNW(MFP=G/O)に対応するWFD無線設定WS3と、を携帯端末50に送信する。この結果、MFP10及び携帯端末50は、通常Wi−FiNW又はWFDNW(MFP=G/O)を利用して、対象データの通信を適切に実行することができる。特に、ケースCでは、AP4aのPS設定がONであるために、MFP10及び携帯端末50が、通常Wi−FiNWを利用して、対象データの通信を実行することができない。ただし、MFP10及び携帯端末50は、WFDNW(MFP=G/O)を利用して、対象データの通信を適切に実行することができる。   As shown in case C of FIG. 7, MFP 10 does not belong to WFDNW (MFP = G / O), but if it belongs to normal Wi-FiNW, WFDNW (MFP = G / O) Is newly formed. Since the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW, the MFP 10 has the normal Wi-Fi wireless setting WS2 corresponding to the normal Wi-Fi NW and the WFD wireless corresponding to the WFDNW (MFP = G / O). The setting WS3 is transmitted to the portable terminal 50. As a result, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data using the normal Wi-Fi NW or the WFDNW (MFP = G / O). Particularly, in case C, since the PS setting of the AP 4a is ON, the MFP 10 and the portable terminal 50 cannot execute the communication of the target data using the normal Wi-Fi NW. However, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data using the WFDNW (MFP = G / O).

また、図8のケースDに示されるように、MFP10及び携帯端末50が同じ通常Wi−FiNWに属していないために、MFP10は、通常Wi−FiNWに対応する通常Wi−Fi無線設定WS2を携帯端末50に送信せず、WFDNW(MFP=G/O)に対応するWFD無線設定WS3を携帯端末50に送信する。このために、MFP10が属している通常Wi−FiNWのセキュリティが低下するのを抑制することができる。しかも、MFP10及び携帯端末50は、WFDNW(MFP=G/O)を利用して、対象データの通信を適切に実行することができる。   Further, as shown in case D of FIG. 8, since the MFP 10 and the portable terminal 50 do not belong to the same normal Wi-Fi NW, the MFP 10 transmits the normal Wi-Fi wireless setting WS2 corresponding to the normal Wi-Fi NW. The WFD wireless setting WS3 corresponding to the WFDNW (MFP = G / O) is transmitted to the portable terminal 50 without transmitting to the terminal 50. For this reason, it is possible to prevent the security of the normal Wi-Fi NW to which the MFP 10 belongs from being reduced. Moreover, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data using the WFDNW (MFP = G / O).

(対応関係)
MFP10が、「通信装置」の一例である。MFP10のNFCI/F22、無線LANI/F20が、それぞれ、「通信装置の第1種のインターフェース」、「通信装置の2種のインターフェース」の一例である。また、携帯端末50のNFCI/F62、無線LANI/F60が、それぞれ、「携帯端末の第1種のインターフェース」、「携帯端末の第2種のインターフェース」の一例である。図2のS10及び図4のS202で通信されるリクエストデータ、当該リクエストデータに含まれるSSIDが、それぞれ、「特定データ」、「識別情報」の一例である。図2のS12及び図4のS204で通信されるレスポンスデータに含まれる無線設定が、「特定情報」の一例である。図3のS50及びS70で送信される優先順位情報が、「指示情報」の一例である。また、G/O状態が、「親局」の一例であり、クライアント状態、又は、通常Wi−FiNWに参加している状態が、「子局」の一例である。
(Correspondence)
The MFP 10 is an example of a “communication device”. The NFC I / F 22 and the wireless LAN I / F 20 of the MFP 10 are examples of “a first type of communication device interface” and “two types of communication device interface”, respectively. The NFC I / F 62 and the wireless LAN I / F 60 of the mobile terminal 50 are examples of a “first type interface of a mobile terminal” and a “second type interface of a mobile terminal”, respectively. The request data communicated in S10 of FIG. 2 and S202 of FIG. 4 and the SSID included in the request data are examples of “specific data” and “identification information”, respectively. The wireless setting included in the response data communicated in S12 of FIG. 2 and S204 of FIG. 4 is an example of “specific information”. The priority information transmitted in S50 and S70 in FIG. 3 is an example of “instruction information”. The G / O state is an example of a “parent station”, and the client state or a state of participating in a normal Wi-Fi NW is an example of a “child station”.

図5のケースAにおいて、WFDNW(MFP=G/O)、WFD無線設定WS1、通常Wi−FiNW、通常Wi−Fi無線設定WS4が、それぞれ、「第1の無線ネットワーク」、「第1の情報」、「第4の無線ネットワーク」、「第4の情報」の一例である。図7及び図8のケースC及びDにおいて、通常Wi−FiNW、通常Wi−Fi無線設定WS2、MFP10によって形成されるWFDNW(MFP=G/O)、WFD無線設定WS3が、それぞれ、「第2の無線ネットワーク」、「第2の情報」、「第3の無線ネットワーク」、「第3の情報」の一例である。図2のS22及び図4のS218で利用される無線ネットワークが、「特定の無線ネットワーク」の一例である。図3のS30でYESの場合、S42でYESの場合が、それぞれ、「第1の場合」、「第2の場合」の一例である。また、図3のS50、又は、S36を経て実行されるS60が、「第1の情報送信部」が実行する処理の一例である。S70が、「第2の情報送信部」が実行する処理の一例である。S48を経て実行されるS60が、「第3の情報送信部」が実行する処理の一例である。   In case A of FIG. 5, the WFDNW (MFP = G / O), the WFD wireless setting WS1, the normal Wi-Fi NW, and the normal Wi-Fi wireless setting WS4 are “first wireless network” and “first information,” respectively. , "Fourth wireless network", and "fourth information". 7 and 8, the normal Wi-Fi NW, the normal Wi-Fi wireless setting WS2, the WFDNW (MFP = G / O) formed by the MFP 10, and the WFD wireless setting WS3 are respectively “second Wireless network "," second information "," third wireless network ", and" third information ". The wireless network used in S22 of FIG. 2 and S218 of FIG. 4 is an example of the “specific wireless network”. The case of YES in S30 of FIG. 3 and the case of YES in S42 are examples of the “first case” and the “second case”, respectively. S50 of FIG. 3 or S60 executed through S36 is an example of a process executed by the “first information transmitting unit”. S70 is an example of processing executed by the “second information transmitting unit”. S60 executed after S48 is an example of the processing executed by the “third information transmitting unit”.

図5及び図6のケースA及びBにおいて、通常Wi−FiNW、通常Wi−Fi無線設定WS4、WFDNW(MFP=G/O)、WFD無線設定WS1が、それぞれ、「第5の無線ネットワーク」、「第5の情報」、「第6の無線ネットワーク」、「第6の情報」の一例である。図7及び図8のケースC及びDにおいて、通常Wi−FiNW、通常Wi−Fi無線設定WS2、MFP10によって形成されるWFDNW(MFP=G/O)、WFD無線設定WS3が、それぞれ、「第5の無線ネットワーク」、「第5の情報」、「第6の無線ネットワーク」、「第6の情報」の一例である。図3のS36でYESの場合、又は、S44でYESの場合が、「第3の場合」の一例であり、S36でNOの場合、又は、S44でNOの場合が、「第4の場合」の一例である。   In cases A and B of FIGS. 5 and 6, the normal Wi-Fi NW, the normal Wi-Fi wireless setting WS4, the WFDNW (MFP = G / O), and the WFD wireless setting WS1 are respectively a “fifth wireless network”, It is an example of "fifth information", "sixth wireless network", and "sixth information". In Cases C and D of FIGS. 7 and 8, the normal Wi-Fi NW, the normal Wi-Fi wireless setting WS2, the WFDNW (MFP = G / O) formed by the MFP 10, and the WFD wireless setting WS3 are respectively referred to as “fifth. Wireless network "," fifth information "," sixth wireless network ", and" sixth information ". The case of YES in S36 of FIG. 3 or the case of YES in S44 is an example of the “third case”, and the case of NO in S36 or the case of NO in S44 is the “fourth case”. This is an example.

(第2実施例)
本実施例では、図2のS12のレスポンス送信処理(図3)の内容が、第1実施例とは異なる。上述したように、第1実施例では、MFP10及び携帯端末50が同じ通常Wi−FiNWに属していなければ(図3のS36でNO又はS44でNO)、MFP10は、通常Wi−Fi無線設定を携帯端末50に送信しない(S60)。また、MFP10及び携帯端末50が同じWFDNW(MFP=CL)に属していなければ(S44でNO)、MFP10は、当該WFDNW(MFP=CL)に対応するWFD無線設定を携帯端末50に送信しない(S60)。これに対し、本実施例では、MFP10は、MFP10及び携帯端末50が同じ無線ネットワークに属しているのか否かに関わらず、携帯端末50と対象データの通信を実行し得る全ての無線ネットワークに対応する全ての無線設定を、携帯端末50に送信する。
(Second embodiment)
In the present embodiment, the contents of the response transmission process (FIG. 3) in S12 of FIG. 2 are different from those of the first embodiment. As described above, in the first embodiment, if the MFP 10 and the portable terminal 50 do not belong to the same normal Wi-Fi NW (NO in S36 or NO in S44 in FIG. 3), the MFP 10 sets the normal Wi-Fi wireless setting. It is not transmitted to the portable terminal 50 (S60). If the MFP 10 and the portable terminal 50 do not belong to the same WFDNW (MFP = CL) (NO in S44), the MFP 10 does not transmit the WFD wireless setting corresponding to the WFDNW (MFP = CL) to the portable terminal 50 ( S60). In contrast, in the present embodiment, the MFP 10 is compatible with all wireless networks that can execute communication of target data with the mobile terminal 50 regardless of whether the MFP 10 and the mobile terminal 50 belong to the same wireless network. All the wireless settings to be performed are transmitted to the mobile terminal 50.

図9のS130、S132は、図3のS30、S34と同様である。S132でYESの場合には、MFP10は、通常Wi−FiNWと、WFDNW(MFP=G/O)と、に属している。この場合、S150において、第1の情報送信部41は、図3のS50と同様の処理を実行する。S132でNOの場合には、MFP10は、WFDNW(MFP=G/O)に属している。この場合、S160において、第1の情報送信部41は、図3のS60と同様の処理を実行する。   S130 and S132 in FIG. 9 are the same as S30 and S34 in FIG. If YES in S132, the MFP 10 belongs to the normal Wi-Fi NW and the WFDNW (MFP = G / O). In this case, in S150, the first information transmitting unit 41 executes the same processing as S50 in FIG. If NO in S132, the MFP 10 belongs to the WFDNW (MFP = G / O). In this case, in S160, the first information transmitting unit 41 executes the same processing as in S60 of FIG.

S134は、S132と同様である。制御部30は、S134でYESの場合に、S136において、MFP10がWFDNW(MFP=CL)に属しているのか否かを判断する。S136の判断手法は、図3のS42で利用される判断手法と同様である。形成部44は、S136でYESの場合に、S138を実行し、S136でNOの場合に、S140を実行する。S138及びS140は、図3のS46(又はS48)と同様である。   S134 is the same as S132. If YES in S134, control unit 30 determines in S136 whether MFP 10 belongs to the WFDNW (MFP = CL). The determination method in S136 is the same as the determination method used in S42 in FIG. The forming unit 44 executes S138 if YES in S136, and executes S140 if NO in S136. S138 and S140 are the same as S46 (or S48) in FIG.

S138が実行される場合には、MFP10は、通常Wi−FiNWと、WFDNW(MFP=CL)と、WFDNW(MFP=G/O)と、に属している。S138を経て実行されるS170では、第2の情報送信部42は、通常Wi−FiNWに対応する通常Wi−Fi無線設定と、1番目の優先順位を示す優先順位情報と、が対応付けられている第1の対応情報を生成する。第2の情報送信部42は、さらに、WFDNW(MFP=CL)に対応するWFD無線設定と、2番目の優先順位を示す優先順位情報と、が対応付けられている第2の対応情報を生成する。第2の情報送信部42は、さらに、WFDNW(MFP=G/O)に対応するWFD無線設定と、3番目の優先順位を示す優先順位情報と、が対応付けられている第3の対応情報を生成する。そして、第2の情報送信部42は、第1の対応情報と第2の対応情報と第3の対応情報とを含むレスポンスデータを生成する。S170では、さらに、第2の情報送信部42は、NFCI/F22を介して、生成済みのレスポンスデータを携帯端末50に送信する。   When S138 is executed, the MFP 10 belongs to the normal Wi-Fi NW, the WFDNW (MFP = CL), and the WFDNW (MFP = G / O). In S170 executed after S138, the second information transmitting unit 42 associates the normal Wi-Fi wireless setting corresponding to the normal Wi-Fi NW with the priority information indicating the first priority. First correspondence information is generated. The second information transmitting unit 42 further generates second correspondence information in which the WFD wireless setting corresponding to the WFDNW (MFP = CL) is associated with the priority information indicating the second priority. I do. The second information transmitting unit 42 further includes a third correspondence information in which the WFD wireless setting corresponding to the WFDNW (MFP = G / O) is associated with the priority information indicating the third priority. Generate Then, the second information transmitting unit 42 generates response data including the first correspondence information, the second correspondence information, and the third correspondence information. In S170, the second information transmitting unit 42 further transmits the generated response data to the mobile terminal 50 via the NFC I / F 22.

S170の段階では、携帯端末50がWFDNW(MFP=G/O)に属していることはあり得ない。WFDNW(MFP=G/O)は、S138でMFP10によって形成された新たなWEDNWであるからである。ただし、S170の段階において、携帯端末50が通常Wi−FiNW又はWFDNW(MFP=CL)に属している可能性がある。従って、本実施例では、S170において、通常Wi−FiNW及びWFDNW(MFP=CL)の優先順位が、WFDNW(MFP=G/O)の優先順位よりも高くなるように、レスポンスデータが生成される。これにより、携帯端末50が図4のS210の接続処理を実行せずに済む可能性を高めることができ、この結果、携帯端末50の処理負荷を低減させ得る。なお、変形例では、S170において、第2の情報送信部42は、WFDNW(MFP=CL)の優先順位が1番目の優先順位であり、通常Wi−FiNWの優先順位が2番目の優先順位になるように、レスポンスデータを生成してもよい。   At the stage of S170, the mobile terminal 50 cannot belong to the WFDNW (MFP = G / O). This is because the WFDNW (MFP = G / O) is a new WEDNW formed by the MFP 10 in S138. However, at the stage of S170, the portable terminal 50 may belong to the normal Wi-Fi NW or WFDNW (MFP = CL). Therefore, in this embodiment, in S170, the response data is generated such that the priority of the normal Wi-Fi NW and the WFDNW (MFP = CL) is higher than the priority of the WFDNW (MFP = G / O). . Thereby, the possibility that the portable terminal 50 does not need to execute the connection processing of S210 in FIG. 4 can be increased, and as a result, the processing load on the portable terminal 50 can be reduced. In the modified example, in S170, the second information transmitting unit 42 sets the priority of the WFDNW (MFP = CL) to the first priority, and sets the priority of the normal Wi-FiNW to the second priority. As such, response data may be generated.

S140が実行される場合には、MFP10は、通常Wi−FiNWと、WFDNW(MFP=G/O)と、に属している。S140を経て実行されるS180は、通常Wi−FiNWが1番目の優先順位として採用される図3のS70と同様である。   When S140 is executed, the MFP 10 belongs to the normal Wi-Fi NW and the WFDNW (MFP = G / O). S180 executed after S140 is the same as S70 in FIG. 3 in which the normal Wi-Fi NW is adopted as the first priority.

S142は、S136と同様である。形成部44は、S142でYESの場合に、S144を実行し、S142でNOの場合に、S146を実行する。S144及びS146は、図3のS46(又はS48)と同様である。   S142 is the same as S136. The forming unit 44 executes S144 when S142 is YES, and executes S146 when S142 is NO. S144 and S146 are the same as S46 (or S48) in FIG.

S144が実行される場合には、MFP10は、WFDNW(MFP=CL)と、WFDNW(MFP=G/O)と、に属している。S144を経て実行されるS190は、WFDNW(MFP=CL)が1番目の優先順位として採用される図3のS70と同様である。   When S144 is executed, the MFP 10 belongs to WFDNW (MFP = CL) and WFDNW (MFP = G / O). S190 executed after S144 is the same as S70 in FIG. 3 in which WFDNW (MFP = CL) is adopted as the first priority.

S146が実行される場合には、MFP10は、WFDNW(MFP=G/O)に属している。S146を経て実行されるS160は、図3のS60と同様である。   When S146 is executed, the MFP 10 belongs to the WFDNW (MFP = G / O). S160 executed after S146 is the same as S60 in FIG.

(第2実施例の効果)
本実施例では、MFP10は、WFDNW(MFP=G/O)に属している場合(S130でYES)に、WFDNW(MFP=G/O)に対応するWFD無線設定を携帯端末50に送信する(S150、S160)。このために、MFP10及び携帯端末50は、WFDNW(MFP=G/O)を利用して、対象データの通信を適切に実行することができる。また、MFP10は、WFDNW(MFP=G/O)に属していないが、他の無線ネットワーク(通常Wi−FiNW、又は、WFDNW(MFP=CL))に属している場合(S134でYES、又は、S142でYES)に、WFDNW(MFP=G/O)を新たに形成し、上記の他の無線ネットワークに対応する無線設定(通常Wi−Fi無線設定、又は、WFDNW(MFP=CL)に対応するWFD無線設定)と、WFDNW(MFP=G/O)に対応するWFD無線設定と、を携帯端末50に送信する(S170、S180、S190)。このために、MFP10及び携帯端末50は、上記の他の無線ネットワーク、又は、WFDNW(MFP=G/O)を利用して、対象データの通信を適切に実行することができる。仮に、MFP10及び携帯端末50が、上記の他の無線ネットワークを利用して、対象データの通信を実行不可能であっても、MFP10及び携帯端末50は、MFP10によって形成されたWFDNW(MFP=G/O)を利用して、対象データの通信を適切に実行することができる。
(Effect of Second Embodiment)
In the present embodiment, when the MFP 10 belongs to the WFDNW (MFP = G / O) (YES in S130), the MFP 10 transmits the WFD wireless setting corresponding to the WFDNW (MFP = G / O) to the portable terminal 50 ( S150, S160). For this reason, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data using the WFDNW (MFP = G / O). MFP 10 does not belong to WFDNW (MFP = G / O), but belongs to another wireless network (normal Wi-FiNW or WFDNW (MFP = CL)) (YES in S134, or In S142 (YES in S142), a WFDNW (MFP = G / O) is newly formed, and the wireless setting corresponding to the other wireless network (normal Wi-Fi wireless setting or WFDNW (MFP = CL)) is supported. The WFD wireless setting) and the WFD wireless setting corresponding to the WFDNW (MFP = G / O) are transmitted to the portable terminal 50 (S170, S180, S190). For this reason, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data by using the other wireless network or the WFDNW (MFP = G / O). Even if the MFP 10 and the portable terminal 50 cannot execute the communication of the target data by using the other wireless network, the MFP 10 and the portable terminal 50 can use the WFDNW (MFP = G / O), the communication of the target data can be appropriately executed.

(対応関係)
S130でYESの場合が、「第1の場合」の一例である。即ち、WFDNW(MFP=G/O)が、「第1の無線ネットワーク」の一例である。S134でYESの場合、又は、S142でYESの場合が、「第2の場合」の一例である。即ち、通常Wi−FiNW、又は、WFDNW(MFP=CL)が、「第2の無線ネットワーク」の一例である。また、S138、S140、又は、S146で形成されるWFDNW(MFP=G/O)が、「第3の無線ネットワーク」の一例である。また、S150又はS160が、「第1の情報送信部」が実行する処理の一例である。S170、S180、又は、S190が、「第2の情報送信部」が実行する処理の一例である。
(Correspondence)
The case of YES in S130 is an example of the “first case”. That is, the WFDNW (MFP = G / O) is an example of the “first wireless network”. The case of YES in S134 or the case of YES in S142 is an example of the “second case”. That is, the normal Wi-Fi NW or the WFDNW (MFP = CL) is an example of the “second wireless network”. The WFDNW (MFP = G / O) formed in S138, S140, or S146 is an example of the “third wireless network”. Further, S150 or S160 is an example of a process executed by the “first information transmitting unit”. S170, S180, or S190 is an example of processing executed by the “second information transmission unit”.

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

(変形例1)図5のケースAでは、MFP10の第1の情報送信部41は、WFD無線設定WS1のうちの全ての情報(即ち、認証方式情報、暗号化方式情報、SSID、BSSID、及び、パスワード)を含むレスポンスデータを、携帯端末50に送信する(図3のS50)。これに代えて、第1の情報送信部41は、WFD無線設定WS1のうちの一部の情報(例えば、SSID、及び、パスワード)を含むレスポンスデータを、携帯端末50に送信してもよい。この場合、携帯端末50の通信実行部82は、携帯端末50をWFDNW(MFP=G/O)に新たに参加させるべき際に、SSIDサーチを実行して(即ちPReq信号を送信して)、G/O機器として動作するMFP10からPRes信号を受信してもよい。当該PRes信号は、WFDNW(MFP=G/O)で利用されている各情報(即ち、認証方式情報、暗号化方式情報、SSID、及び、BSSID)を含む。これにより、通信実行部82は、レスポンスデータに含まれる一部の情報以外の各情報(即ち、認証方式情報、暗号化方式情報、及び、BSSID)を取得することができ、WFDNWに新たに参加することができる。即ち、「第1の情報」は、上記の実施例のように、WFD無線設定WS1のうちの全ての情報であってもよいし、本変形例のように、WFD無線設定WS1のうちの一部の情報であってもよい。同様に、「第6の情報」も、WFD無線設定WS1のうちの全ての情報であってもよいし、WFD無線設定WS1のうちの一部の情報であってもよい。 (Modification 1) In case A of FIG. 5, the first information transmitting unit 41 of the MFP 10 transmits all information (ie, authentication method information, encryption method information, SSID, BSSID, , Password) is transmitted to the portable terminal 50 (S50 in FIG. 3). Instead, the first information transmitting unit 41 may transmit, to the portable terminal 50, response data including a part of the information (for example, the SSID and the password) of the WFD wireless setting WS1. In this case, when the mobile terminal 50 should newly participate in the WFDNW (MFP = G / O), the communication execution unit 82 of the mobile terminal 50 executes an SSID search (that is, transmits a PReq signal). A Pres signal may be received from the MFP 10 operating as a G / O device. The PREs signal includes various information used in the WFDNW (MFP = G / O) (that is, authentication method information, encryption method information, SSID, and BSSID). Accordingly, the communication execution unit 82 can acquire each piece of information (that is, the authentication method information, the encryption method information, and the BSSID) other than a part of the information included in the response data, and newly join the WFDNW. can do. That is, the “first information” may be all information of the WFD wireless setting WS1 as in the above-described embodiment, or may be one of the WFD wireless settings WS1 as in the present modification. Department information may be used. Similarly, the “sixth information” may be all information of the WFD wireless setting WS1, or may be a part of the information of the WFD wireless setting WS1.

(変形例2)変形例1と同様に、「第2の情報」は、通常Wi−Fi無線設定WS2のうちの全ての情報であってもよいし(図7のケースC参照)、通常Wi−Fi無線設定WS2のうちの一部の情報であってもよい。また、図7のケースCでは、MFP10及び携帯端末50が同じ通常Wi−FiNWに属しているために、携帯端末50のメモリ74には、通常Wi−Fi無線設定が既に格納されている。従って、第2の情報送信部42は、通常Wi−Fi無線設定WS2を送信する代わりに、携帯端末50が属している無線ネットワークを継続して利用することを示す継続利用情報を、携帯端末50に送信してもよい。本変形例では、継続利用情報が、「第2の情報」の一例である。同様に、「第5の情報」も、通常Wi−Fi無線設定WS2のうちの全ての情報であってもよいし、通常Wi−Fi無線設定WS2のうちの一部の情報であってもよいし、継続利用情報であってもよい。 (Modification 2) As in Modification 1, the “second information” may be all information in the normal Wi-Fi wireless setting WS2 (see case C in FIG. 7) or the normal Wi. It may be a part of the information of the Fi wireless setting WS2. In case C of FIG. 7, since the MFP 10 and the mobile terminal 50 belong to the same normal Wi-Fi NW, the memory 74 of the mobile terminal 50 has already stored the normal Wi-Fi wireless setting. Therefore, instead of transmitting the normal Wi-Fi wireless setting WS2, the second information transmitting unit 42 transmits the continuous usage information indicating that the wireless network to which the mobile terminal 50 belongs to is continuously used, to the mobile terminal 50. May be sent. In the present modification, the continuous use information is an example of “second information”. Similarly, the “fifth information” may be all the information of the normal Wi-Fi wireless setting WS2 or may be a part of the information of the normal Wi-Fi wireless setting WS2. Alternatively, it may be continuous usage information.

(変形例3)変形例1と同様に、「第3の情報」は、WFD無線設定WS3のうちの全ての情報であってもよいし(図7及び図8のケースC及びD参照)、WFD無線設定WS3のうちの一部の情報であってもよい。同様に、「第6の情報」も、WFD無線設定WS3のうちの全ての情報であってもよいし、WFD無線設定WS3のうちの一部の情報であってもよい。 (Modification 3) Similarly to Modification 1, the “third information” may be all information of the WFD wireless setting WS3 (see cases C and D in FIGS. 7 and 8), It may be a part of information of the WFD wireless setting WS3. Similarly, the “sixth information” may be all the information of the WFD wireless setting WS3, or may be a part of the information of the WFD wireless setting WS3.

(変形例4)変形例1と同様に、「第4の情報」は、通常Wi−Fi無線設定WS4のうちの全ての情報であってもよいし(図5のケースA参照)、通常Wi−Fi無線設定WS4のうちの一部の情報であってもよい。また、変形例2と同様に、第1の情報送信部41は、通常Wi−Fi無線設定WS4を送信する代わりに、継続利用情報を携帯端末50に送信してもよい。本変形例では、継続利用情報が、「第4の情報」の一例である。同様に、「第5の情報」も、通常Wi−Fi無線設定WS4のうちの全ての情報であってもよいし、通常Wi−Fi無線設定WS4のうちの一部の情報であってもよいし、継続利用情報であってもよい。 (Modification 4) As in Modification 1, the “fourth information” may be all information of the normal Wi-Fi wireless setting WS4 (see case A in FIG. 5) or the normal Wi. It may be a part of the information of the Fi wireless setting WS4. Further, similarly to the second modification, the first information transmitting unit 41 may transmit the continuous usage information to the mobile terminal 50 instead of transmitting the normal Wi-Fi wireless setting WS4. In the present modification, the continuous use information is an example of “fourth information”. Similarly, the “fifth information” may be all the information of the normal Wi-Fi wireless setting WS4, or may be a part of the information of the normal Wi-Fi wireless setting WS4. Alternatively, it may be continuous usage information.

(変形例5)図3のS50、S70、図9のS150、S170、S180、又は、S190において、当該処理で採用されている優先順位とは異なる優先順位を示す優先順位情報を含むレスポンスデータが送信されてもよい。例えば、図3のS50において、レスポンスデータでは、WFD無線設定が1番目の優先順位であり、通常Wi−Fi無線設定が2番目の優先順位であってもよい。即ち、上記の各処理において、第1及び第2の情報送信部41,42によって送信される指示情報が示す優先順序は、特に限定されない。 (Modification 5) In S50, S70 of FIG. 3, S150, S170, S180, or S190 of FIG. 9, the response data including the priority information indicating the priority different from the priority adopted in the process is used. It may be sent. For example, in S50 of FIG. 3, in the response data, the WFD wireless setting may have the first priority, and the normal Wi-Fi wireless setting may have the second priority. That is, in each of the above processes, the priority order indicated by the instruction information transmitted by the first and second information transmitting units 41 and 42 is not particularly limited.

(変形例6)図3のS50、S70、図9のS150、S170、S180、又は、S190において、優先順位情報を含まずに、複数個の無線設定を含むレスポンスデータが送信されてもよい。この場合、携帯端末50の通信実行部82は、レスポンスデータに含まれる複数個の無線設定のそれぞれを、例えばランダムに順次利用してもよい。一般的に言うと、第2の情報送信部42は、第2の情報と第3の情報とを携帯端末に送信すればよく、第1の情報送信部41は、第1の情報と第4の情報とを携帯端末に送信すればよい。 (Modification 6) In S50, S70 of FIG. 3, S150, S170, S180, or S190 of FIG. 9, response data including a plurality of wireless settings without transmitting the priority information may be transmitted. In this case, the communication execution unit 82 of the mobile terminal 50 may sequentially use, for example, each of the plurality of wireless settings included in the response data at random. Generally speaking, the second information transmitting section 42 only needs to transmit the second information and the third information to the portable terminal, and the first information transmitting section 41 has the first information and the fourth information. May be transmitted to the mobile terminal.

(変形例7)MFP10は、図3のS30でYESの場合に、S32〜S36,S50を実行せずに、S60を実行してもよい。即ち、第1の情報送信部41は、第1の場合に、第1の情報を送信すればよい。また、MFP10は、図3のS30でNOの場合に、S40をスキップして、S42を実行し、S42でYESの場合に、S44をスキップして、S46及びS70を実行してもよい。即ち、第2の情報送信部42は、第2の場合に、第2の情報と第3の情報とを送信すればよい。一般的に言うと、本明細書によって開示される一つの技術では、装置側制御部は、特定データ受信部、第1の情報送信部、形成部、第2の情報送信部、及び、装置側通信実行部を少なくとも備えていればよい。 (Modification 7) If YES in S30 of FIG. 3, the MFP 10 may execute S60 without executing S32 to S36 and S50. That is, the first information transmitting unit 41 may transmit the first information in the first case. Further, the MFP 10 may skip S40 and execute S42 if NO in S30 of FIG. 3, and may skip S44 and execute S46 and S70 if YES in S42. That is, the second information transmitting section 42 may transmit the second information and the third information in the second case. Generally speaking, in one technology disclosed in the present specification, the device-side control unit includes a specific data receiving unit, a first information transmitting unit, a forming unit, a second information transmitting unit, and a device-side control unit. What is necessary is just to have at least the communication execution part.

(変形例8)MFP10は、図3のS30でYESの場合に、S32〜S36,S50,S60を実行するが、S30でNOの場合に、携帯端末50と対象データの通信を実行しなくてもよい。また、MFP10は、図3のS30〜S36,S50を実行せずに、S40〜S48,S60,S70を実行してもよい。即ち、一般的に言うと、本明細書によって開示される一つの技術では、装置側制御部は、特定データ受信部、判断部、情報送信部、及び、装置側通信実行部を少なくとも備えていればよい。 (Modification 8) The MFP 10 executes S32 to S36, S50, and S60 in the case of YES in S30 of FIG. 3, but does not execute communication of the target data with the portable terminal 50 in the case of NO in S30. Is also good. Further, the MFP 10 may execute S40 to S48, S60, and S70 without executing S30 to S36 and S50 in FIG. That is, generally speaking, according to one technology disclosed in the present specification, the device-side control unit may include at least the specific data receiving unit, the determination unit, the information transmitting unit, and the device-side communication execution unit. I just need.

(変形例9)携帯端末50の通信実行部82は、確認信号及び確認応答信号の通信を実行せずに(図4のS212及びS214を実行せずに)、レスポンスデータに含まれる複数個の無線設定のうちのいずれかの無線設定に対応する無線ネットワークを利用して、対象データの通信を試行してもよい。この場合、通信実行部82は、対象データの通信が失敗する場合に、複数個の無線設定のうちの別の無線設定に対応する無線ネットワークを利用して、対象データの通信を試行してもよい。本変形例も、「複数個の無線ネットワークのそれぞれを順次利用して」の一例である。 (Modification 9) The communication execution unit 82 of the portable terminal 50 does not execute the communication of the confirmation signal and the confirmation response signal (without performing S212 and S214 in FIG. 4), and outputs the plurality of data included in the response data. The communication of the target data may be attempted using a wireless network corresponding to any one of the wireless settings. In this case, when the communication of the target data fails, the communication execution unit 82 attempts to communicate the target data using a wireless network corresponding to another wireless setting among the plurality of wireless settings. Good. This modification is also an example of “using each of a plurality of wireless networks sequentially”.

(変形例10)「親局」は、WFDNWのG/O機器に限られず、無線ネットワークに属する各機器を管理する状態(例えば、無線ネットワークに属する各機器の間の無線通信を中継可能な状態)であれば、どのような状態であってもよい。また、「子局」は、WFDNWのクライアント状態、又は、通常Wi−FiNWに属している状態に限られず、無線ネットワークの親局から管理される状態であれば、どのような状態であってもよい。 (Variation 10) A “master station” is not limited to a WFDNW G / O device, but is in a state of managing each device belonging to a wireless network (for example, a state in which wireless communication between devices belonging to a wireless network can be relayed) ), Any state is acceptable. Further, the “slave station” is not limited to the WFDNW client state or the state belonging to the normal Wi-Fi NW, but may be any state as long as it is managed by the master station of the wireless network. Good.

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

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

(変形例13)「通信装置」は、MFP10に限られず、他の通信装置(例えば、プリンタ、スキャナ、FAX装置、コピー機、電話機、デスクトップPC、ノートPC、タブレットPC、サーバ、携帯電話、PDA端末等)であってもよい。また、「対象データ」は、印刷データ、スキャンデータに限られず、他のデータ(例えば、音声データ、FAXデータ等)であってもよい。 (Modification 13) The “communication device” is not limited to the MFP 10 and may be another communication device (for example, a printer, a scanner, a facsimile device, a copier, a telephone, a desktop PC, a notebook PC, a tablet PC, a server, a mobile phone, a PDA). Terminal or the like). The “target data” is not limited to print data and scan data, but may be other data (for example, voice data, FAX data, and the like).

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

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

2:通信システム、4a,4b:AP、10:MFP、50:携帯端末、WS1〜WS6:無線設定   2: Communication system, 4a, 4b: AP, 10: MFP, 50: portable terminal, WS1 to WS6: wireless setting

Claims (6)

携帯端末であって、
信装置と無線通信を実行するための第1種のインターフェースと、
前記通信装置と無線通信を実行するための第2種のインターフェースであって、前記第2種のインターフェースを介した無線通信の通信速度は、前記第1種のインターフェースを介した無線通信の通信速度よりも速い、前記第2種のインターフェースと、
端末側制御部と、を備え、
前記通信装置は、複数の無線ネットワークの両方に同時的に属することが可能であり、当該携帯端末は、複数の無線ネットワークの両方に同時的に属することができず、
前記端末側制御部は、
前記通信装置から、前記第1種のインターフェースを介して、第1のSSID、及び、第2のSSIDを受信する情報受信部であって、前記第1のSSIDは、第1の無線ネットワークを識別するための情報であり、前記第2のSSIDは、前記第1の無線ネットワークと異なる第2の無線ネットワークを識別するための情報であり、前記第1のSSIDによって識別される前記第1の無線ネットワークは、前記通信装置と異なる中継装置が形成するネットワークであり、前記第2のSSIDによって識別される前記第2の無線ネットワークは、前記通信装置が形成するネットワークである、前記情報受信部と、
受信済みの前記第1のSSIDによって識別される前記第1の無線ネットワークを介して、前記通信装置と通信可能であるか否かを判断する判断部と、
前記第1の無線ネットワークを介して前記通信装置と通信可能であると判断される第1の場合に、前記第1の無線ネットワークを利用して、前記第2種のインターフェースを介して、前記通信装置と前記対象データの通信を実行し、前記第1の無線ネットワークを介して前記通信装置と通信不可能であると判断される第2の場合に、前記第2のSSIDを利用して、前記携帯端末が前記第2の無線ネットワークに属するための接続処理を実行する端末側接続実行部と、
前記第2の無線ネットワークを利用して、前記第2種のインターフェースを介して、前記通信装置と前記対象データの通信を実行する端末側通信実行部と、
を備える携帯端末。
A mobile terminal,
A first type of interface for performing communication apparatus and the wireless communication,
A second type interface for executing wireless communication with the communication device, wherein the communication speed of the wireless communication via the second type interface is the communication speed of the wireless communication via the first type interface. Faster than the second type of interface,
A terminal-side control unit,
The communication device can belong to both of a plurality of wireless networks at the same time, and the mobile terminal cannot belong to both of the plurality of wireless networks at the same time,
The terminal-side control unit includes:
An information receiving unit that receives a first SSID and a second SSID from the communication device via the first type interface, wherein the first SSID identifies a first wireless network. is information for the second SSID, the first Ri information der for identifying different second wireless network and a wireless network, the first identified by the first SSID The wireless network is a network formed by a relay device different from the communication device, and the second wireless network identified by the second SSID is a network formed by the communication device. ,
A determining unit that determines whether or not communication with the communication device is possible via the first wireless network identified by the received first SSID;
In a first case where it is determined that communication with the communication device is possible via the first wireless network, the communication is performed via the second type interface using the first wireless network. A second case of performing communication between the device and the target data and determining that communication with the communication device is not possible via the first wireless network , using the second SSID; A terminal-side connection execution unit that executes connection processing for the mobile terminal to belong to the second wireless network;
A terminal-side communication execution unit that executes communication between the communication device and the target data via the second type of interface using the second wireless network;
A mobile terminal comprising:
前記情報受信部は、前記前記第2のSSIDより前記第1のSSIDの優先順位が上であることを示す情報を含む優先順位情報をさらに受信し、  The information receiving unit further receives priority information including information indicating that the priority of the first SSID is higher than the second SSID,
前記判断部は、受信済みの前記優先順位情報で示される優先順位にしたがい、受信済みの前記第1のSSIDによって識別される前記第1の無線ネットワークを介して、前記通信装置と通信可能であるか否かを判断する、請求項1に記載の携帯端末。  The determination unit is capable of communicating with the communication device via the first wireless network identified by the received first SSID according to the priority indicated by the received priority information. The mobile terminal according to claim 1, wherein the mobile terminal determines whether or not the mobile terminal is connected.
前記第1の端末側通信実行部は、前記通信装置への印刷データの送信及び前記通信装置からのスキャンデータの受信のうちの少なくとも一方を実行する、請求項1または2に記載の携帯端末。 Said first terminal side communication execution unit executes at least one of receiving the scanned data from the transmission and the communication device of the print data to the communication device, a portable terminal according to claim 1 or 2. 前記第2種のインターフェースは、Institute of Electrical and Electronic Engineers, Inc.の802.11の規格、及び、Institute of Electrical and Electronic Engineers, Inc.の802.11の規格に準ずる規格に従った無線通信を実行するためのインターフェースである、請求項1からのいずれか記載の携帯端末。 The second type of interface performs wireless communication in accordance with the 802.11 standard of the Institute of Electrical and Electronic Engineers, Inc. and the standard conforming to the 802.11 standard of the Institute of Electrical and Electronic Engineers, Inc. The mobile terminal according to any one of claims 1 to 3 , which is an interface for executing. 前記第1種のインターフェースは、Near Field Communicationの規格に従った無線通信を実行するためのインターフェースである、請求項1からのいずれかに記載の携帯端末。 The mobile terminal according to any one of claims 1 to 4 , wherein the first type interface is an interface for executing wireless communication in accordance with Near Field Communication standards. 携帯端末のためのコンピュータプログラムであって、
前記携帯端末は、
信装置と無線通信を実行するための第1種のインターフェースと、
前記通信装置と無線通信を実行するための第2種のインターフェースであって、前記第2種のインターフェースを介した無線通信の通信速度は、前記第1種のインターフェースを介した無線通信の通信速度よりも速い、前記第2種のインターフェースと、を備え、
前記通信装置は、複数の無線ネットワークの両方に同時的に属することが可能であり、当該携帯端末は、複数の無線ネットワークの両方に同時的に属することができず、
前記コンピュータプログラムは、前記携帯端末に搭載されるコンピュータに、以下の各処理、即ち、
前記通信装置から、前記第1種のインターフェースを介して、第1のSSID、及び、第2のSSIDを受信する情報受信処理であって、前記第1のSSIDは、第1の無線ネットワークを識別するための情報であり、前記第2のSSIDは、前記第1の無線ネットワークと異なる第2の無線ネットワークを識別するための情報であり、前記第1のSSIDによって識別される前記第1の無線ネットワークは、前記通信装置と異なる中継装置が形成するネットワークであり、前記第2のSSIDによって識別される前記第2の無線ネットワークは、前記通信装置が形成するネットワークである、前記情報受信処理と、
受信済みの前記第1のSSIDによって識別される前記第1の無線ネットワークを介して、前記通信装置と通信可能であるか否かを判断する判断処理と、
前記第1の無線ネットワークを介して前記通信装置と通信可能であると判断される第1の場合に、前記第1の無線ネットワークを利用して、前記第2種のインターフェースを介して、前記通信装置と前記対象データの通信を実行し、前記第1の無線ネットワークを介して前記通信装置と通信不可能であると判断される第2の場合に、前記第2のSSIDを利用して、前記携帯端末が前記第2の無線ネットワークに属するための接続処理を実行する端末側接続実行処理と、
前記第2の無線ネットワークを利用して、前記第2種のインターフェースを介して、前記通信装置と前記対象データの通信を実行する端末側通信実行処理と、
を実行させる、コンピュータプログラム。
A computer program for a mobile terminal,
The mobile terminal,
A first type of interface for performing communication apparatus and the wireless communication,
A second type interface for executing wireless communication with the communication device, wherein the communication speed of the wireless communication via the second type interface is the communication speed of the wireless communication via the first type interface. Faster than said second type of interface,
The communication device can belong to both of a plurality of wireless networks at the same time, and the mobile terminal cannot belong to both of the plurality of wireless networks at the same time,
The computer program stores the following processes in a computer mounted on the mobile terminal, namely:
An information receiving process of receiving a first SSID and a second SSID from the communication device via the first type interface, wherein the first SSID identifies a first wireless network. is information for the second SSID, the first Ri information der for identifying different second wireless network and a wireless network, the first identified by the first SSID wireless network is a network to which the communication device is different from the relay apparatus to form said second wireless network identified by the second SSID is Ru network der which the communication device is formed, the information reception process When,
A determination process of determining whether communication with the communication device is possible via the first wireless network identified by the received first SSID;
In a first case where it is determined that communication with the communication device is possible via the first wireless network, the communication is performed via the second type interface using the first wireless network. A second case of performing communication between the device and the target data and determining that communication with the communication device is not possible via the first wireless network , using the second SSID; Terminal-side connection execution processing for executing connection processing for the mobile terminal to belong to the second wireless network;
Using the second wireless network, via the second type of interface, a terminal-side communication execution process for executing communication between the communication device and the target data;
A computer program that runs
JP2019024258A 2019-02-14 2019-02-14 Communication device and mobile terminal Active JP6662478B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2019024258A JP6662478B2 (en) 2019-02-14 2019-02-14 Communication device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2019024258A JP6662478B2 (en) 2019-02-14 2019-02-14 Communication device and mobile terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017224374A Division JP6481743B2 (en) 2017-11-22 2017-11-22 Communication device and portable terminal

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2020021292A Division JP6860099B2 (en) 2020-02-12 2020-02-12 Communication devices and mobile terminals

Publications (2)

Publication Number Publication Date
JP2019075833A JP2019075833A (en) 2019-05-16
JP6662478B2 true JP6662478B2 (en) 2020-03-11

Family

ID=66544754

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019024258A Active JP6662478B2 (en) 2019-02-14 2019-02-14 Communication device and mobile terminal

Country Status (1)

Country Link
JP (1) JP6662478B2 (en)

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100612151B1 (en) * 2004-11-18 2006-08-14 삼성전자주식회사 Terminal device for changing operating mode automatically, wireless network system comprising the terminal device, and, method thereof
JP4613969B2 (en) * 2008-03-03 2011-01-19 ソニー株式会社 Communication apparatus and communication method

Also Published As

Publication number Publication date
JP2019075833A (en) 2019-05-16

Similar Documents

Publication Publication Date Title
US11902869B2 (en) Communication device
JP6019881B2 (en) Communication device and portable terminal
JP5857850B2 (en) Communication device
JP5954024B2 (en) Communication device
JP5884633B2 (en) Communication device
JP5754254B2 (en) Wireless communication device
US9307574B2 (en) Wireless communication system and wireless communication apparatus
JP6015315B2 (en) Communication device
JP6171297B2 (en) Wireless communication device
JP7347588B2 (en) Communication equipment and mobile terminals
JP5929590B2 (en) Communication device
JP6183445B2 (en) Communication device
JP6249075B2 (en) Communication device and portable terminal
JP6183506B2 (en) Communication device
JP6662478B2 (en) Communication device and mobile terminal
JP6481743B2 (en) Communication device and portable terminal
JP6547820B2 (en) Communication device
JP6260648B2 (en) Communication device
JP6149970B2 (en) Communication device
JP6601463B2 (en) Communication device
JP6795067B2 (en) Communication device
JP2014045379A (en) Communication device and computer program for mobile terminal
JP6525093B2 (en) Communication equipment
JP6645477B2 (en) Communication device
JP6471775B2 (en) Wireless communication device

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20190219

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20190219

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20191025

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191219

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200127

R150 Certificate of patent or registration of utility model

Ref document number: 6662478

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150