JP2019075833A - Communication device and mobile terminal - Google Patents

Communication device and mobile terminal Download PDF

Info

Publication number
JP2019075833A
JP2019075833A JP2019024258A JP2019024258A JP2019075833A JP 2019075833 A JP2019075833 A JP 2019075833A JP 2019024258 A JP2019024258 A JP 2019024258A JP 2019024258 A JP2019024258 A JP 2019024258A JP 2019075833 A JP2019075833 A JP 2019075833A
Authority
JP
Japan
Prior art keywords
communication
wireless network
wireless
information
portable 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.)
Granted
Application number
JP2019024258A
Other languages
Japanese (ja)
Other versions
JP6662478B2 (en
Inventor
智詞 鈴木
Tomoji Suzuki
智詞 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to 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

Abstract

To disclose a technique which can appropriately execute the radio communication of target data.SOLUTION: An MFP 10 receives request data from a mobile terminal 50 using the NFC. At this time, the MFP 10, when belonging to a WFD NW as G/O equipment, transmits a WFD radio setting to the mobile terminal 50 using the NFC. In this case, the MFP 10 executes communication of the target data with the mobile terminal 50 using the WFD NW. On the one hand, if the MFP 10, although not belonging to the WFD NW as G/O equipment, belongs to a normal Wi-Fi NW, the MFP 10 newly forms a WFD NW. The MFP 10 transmits to the mobile terminal 50 a normal Wi-Fi radio setting WS2 and a WFD radio setting WS3, using the NFC. In this case, the MFP 10 executes communication of the target data with the mobile terminal 50, using the normal Wi-Fi NW or the WFD NW.SELECTED DRAWING: Figure 5

Description

本明細書によって開示される技術は、対象データの通信を実行するための通信装置及び携帯端末に関する。   The technology disclosed by 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 Document 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 the 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 apparatus transmits participation information for joining the wireless LAN to the second wireless communication apparatus 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 apparatus participates in the above wireless LAN using the participation information. The first and second wireless communication devices execute data communication in a wireless LAN via a terminal device which is an access point.

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

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

本明細書によって開示される一つの技術は、携帯端末と対象データの通信を実行するための通信装置である。通信装置は、携帯端末と無線通信を実行するための第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 by the present specification is a communication device for performing communication of target data with a mobile terminal. The communication device is a first type interface for performing wireless communication with the portable terminal, and a second type interface for performing wireless communication with the portable terminal, and the wireless communication via the second type interface The second communication speed is higher than the communication speed of the wireless communication through the first type interface, and the second control unit is provided. The device-side control unit includes a specific data reception unit, a first information transmission unit, a formation unit, a second information transmission unit, and an apparatus-side communication execution unit. The specific data receiving unit receives specific data from the portable terminal via the first type of interface. The first information transmission unit performs wireless communication using the first wireless network when the specific information is received, and the first communication network belongs to the first wireless network. The first information to be executed is transmitted to the portable terminal via the first type of interface. The first wireless network is a wireless network for performing wireless communication via a second type of interface. The forming unit newly adds the third wireless network in the second case in which the communication apparatus does not belong to the first wireless network but belongs to the second wireless network when the specific data is received. To form. Each of the second wireless network and the third wireless network is a wireless network for performing wireless communication via the second type of interface. In the second case, the second information transmitting unit uses second information for the mobile terminal to execute wireless communication using the second wireless network, and the mobile terminal uses the third wireless network. And third information for performing wireless communication is transmitted to the portable terminal via the first type of interface. In the first case, the device-side communication execution unit executes communication of target data with the portable terminal using the first wireless network, and in the second case, the second wireless network or the third wireless Communication between the portable terminal and the target data is performed 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 portable terminal in the first case belonging to the first wireless network. To this end, the communication device and the mobile terminal can appropriately execute communication of target data using the first wireless network. Further, in the second case where the communication apparatus does not belong to the first wireless network but belongs to the second wireless network, the communication apparatus newly forms a third wireless network, and the second information and the second information network And 3 information is sent to the portable terminal. To this end, the communication device and the mobile terminal can appropriately execute communication of target data using the second wireless network or the third wireless network. Even if the communication device and the portable terminal can not execute the communication of the target data using the second wireless network, the communication device and the portable terminal may be a third wireless network formed by the communication device. Communication of target data can be properly performed.

本明細書によって開示される一つの技術では、通信装置の装置側制御部は、特定データ受信部と、判断部と、情報送信部と、装置側通信実行部と、を備えていてもよい。特定データ受信部は、携帯端末から、第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 technique disclosed by the present specification, the device-side control unit of the communication device may include a specific data reception unit, a determination unit, an information transmission unit, and an apparatus-side communication execution unit. The specific data receiving unit receives specific data from the portable terminal via the first type of interface. The specific data includes identification information for identifying a wireless network to which the portable terminal belongs. The determination unit uses identification information to determine whether the portable terminal belongs to the fifth wireless network when the communication device belongs to the fifth wireless network when the specific data is received. to decide. The fifth wireless network is a wireless network for the communication device to operate as a slave station to perform wireless communication via the second type of interface. The information transmission unit is configured to perform fifth communication for the mobile terminal to execute wireless communication using the fifth wireless network in the third case where it is determined that the mobile terminal belongs to the fifth wireless network. And the 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 performs the fifth wireless In a fourth case where it is determined not to belong to the network, the sixth information is transmitted to the portable terminal through the first type interface without transmitting the fifth information. The sixth wireless network is a wireless network for the communication device to operate as a master station to perform wireless communication via the second type of interface. In the third case, the device-side communication execution unit executes communication of target data with the portable terminal using the fifth wireless network or the sixth wireless network, and in the fourth case, the sixth wireless Communication between the portable terminal and the target data is performed using the network.

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

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

上記の構成によると、携帯端末は、特定情報が1個の情報を含む場合に、1個の無線ネットワークを利用して、通信装置と対象データの通信を実行する。このために、携帯端末及び通信装置は、上記の1個の無線ネットワークを利用して、対象データの通信を適切に実行し得る。また、携帯端末は、特定情報が複数個の情報を含む場合に、複数個の無線ネットワークのそれぞれを順次利用して、通信装置と対象データの通信を実行する。仮に、携帯端末及び通信装置が、複数個の無線ネットワークのうちのいずれかの無線ネットワークを利用して、対象データの通信を実行不可能であっても、携帯端末及び通信装置は、複数個の無線ネットワークのうちの別の無線ネットワークを利用して、対象データの通信を適切に実行し得る。   According to the above configuration, when the specific information includes one piece of information, the portable terminal performs communication of the target data with the communication apparatus using one piece of wireless network. For this purpose, the portable terminal and the communication device can appropriately execute the communication of the target data using the above-described one wireless network. In addition, when the specific information includes a plurality of pieces of information, the portable terminal executes communication of the target data with the communication device by sequentially using each of the plurality of wireless networks. Even if the portable terminal and the communication device can not execute the communication of the target data using any one of the plurality of wireless networks, the plurality of portable terminals and the communication device may be Communication of the subject data may be suitably performed utilizing 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. In addition, a control method for realizing the above-described portable terminal, a computer program, and a computer readable recording medium storing the computer program are novel and useful. In addition, a communication system including the above-described communication device and a portable terminal is novel and useful.

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

(第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 (abbreviated to AP)") 4a and 4b, and a personal computer (hereinafter referred to as "PC (Personal Computer) And 6), a multi-function device (hereinafter referred to as “MFP (abbreviated as“ 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通信」と呼ぶ。
(Type of wireless communication that can be executed by MFP 10)
The MFP 10 executes wireless communication according to NFC (abbreviation of Near Field Communication) method, wireless communication according to WFD (abbreviation of Wi-Fi Direct) method, and wireless communication according to a normal Wi-Fi method. It is possible. Hereinafter, wireless communication in accordance with each of the above methods will be referred to as “NFC communication”, “WFD communication”, and “normal Wi-Fi communication”, respectively.

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

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

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

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

デバイス状態の一対のWFD対応機器がWFDネットワークを形成すべき際に、通常、当該一対のWFD対応機器の間で、G/Oネゴシエーションと呼ばれる無線通信が実行される。G/Oネゴシエーションにおいて、当該一対のWFD対応機器のうちの一方がG/O状態になると共に、当該一対のWFD対応機器のうちの他方がクライント状態になることが決定される。G/O状態の機器(以下では「G/O機器」と呼ぶ)と、クライアント状態の機器(以下では「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 the device state should form a WFD network, wireless communication called G / O negotiation is usually performed between the pair of WFD-compatible devices. In the G / O negotiation, it is determined that one of the pair of WFD compatible devices is in the G / O state, and the other of the pair of WFD compatible devices is in the client state. A WFD network is formed by the devices in the G / O state (hereinafter referred to as “G / O devices”) and the devices in the client state (hereinafter referred to as “CL devices”). In the WFD network, there may be one G / O device and one or more CL devices. The G / O device manages one or more CL devices. Specifically, the G / O device executes authentication of the CL device for each of one or more CL devices, and when the authentication of the CL device succeeds, identification information of the CL device (that is, 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 target data without passing through the relay device and the CL device registered in the management list. However, the G / O device can execute wireless communication of participation data for the unregistered device to participate in the WFD network with the unregistered device not registered in the management list. It is impossible to perform wireless communication. The participation data is data not including information of the network layer of the OSI reference model, and, for example, a probe request signal (hereinafter referred to as “PReq signal”), a probe response signal (hereinafter referred to as “PRes signal”), etc. Contains physical layer data. The G / O device can relay wireless communication of target data between a plurality of CL devices.

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

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

なお、以下では、上記のWFDの規格書で定義されている3個の状態(即ち、G/O状態、クライアント状態、デバイス状態)のうちの1つの状態で選択的に動作可能ではないが、APを介した無線通信(即ち後述の通常Wi−Fi通信)を実行可能な機器のことを、「WFD非対応機器」と呼ぶ。「WFD非対応機器」は、「レガシー機器」とも呼ばれる。G/O状態の機器は、WFD非対応機器の識別情報を、管理リストに記述することができる。この場合、WFD非対応機器は、CL機器としてWFDネットワークに参加することできる。   In the following, although it is not selectively operable in one of the three states (ie, the G / O state, the client state, and the device state) defined in the above WFD standard, An apparatus capable of executing wireless communication (that is, normal Wi-Fi communication described later) via an AP is referred to as a "WFD non-compliant apparatus". The “non-WFD compatible device” is also referred to as a “legacy device”. The device in the G / O state can describe the identification information of the WFD non-compliant device in the management list. In this case, the WFD non-compliant device can participate in the WFD network as a 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 scheme is a wireless communication scheme defined by the Wi-Fi Alliance, and is a wireless communication scheme different from the WFD scheme. The normal Wi-Fi method is, like the WFD method, a wireless communication for executing wireless communication in accordance with the IEEE 802.11 standard and a standard conforming thereto (for example, 802.11a, 11b, 11g, 11n, etc.) It is a communication method. However, as described above, the WFD scheme is a wireless communication scheme for executing wireless communication not via an AP. On the other hand, the normal Wi-Fi scheme is a wireless communication scheme for executing wireless communication via an AP. In this point, the WFD method and the normal Wi-Fi method are different.

MFP10は、通常Wi−Fiネットワークに属することによって、当該通常Wi−Fiネットワークに属する他の機器と、APを介して、対象データの通常Wi−Fi通信を実行することができる。携帯端末50も、通常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 target data with another device belonging to the normal Wi-Fi network via the AP. The portable terminal 50 can also execute normal Wi-Fi communication of target data by belonging to the normal Wi-Fi network. Therefore, the MFP 10 can execute normal Wi-Fi communication of target data with the portable terminal 50 via any one of the plurality of APs 4 a and 4 b.

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

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

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

無線LANI/F20は、WFD通信及び通常Wi−Fi通信を実行するためのインターフェースである。無線LANI/F20は、物理的には1個のインターフェース(即ち1個のICチップ)である。但し、無線LANI/F20には、WFD通信で利用されるMACアドレス(以下では「WFD用MACアドレス」と呼ぶ)と、通常Wi−Fi通信で利用されるMACアドレス(以下では「通常Wi−Fi用MACアドレス」と呼ぶ)と、の両方が割り当てられる。具体的に言うと、無線LANI/F20には、通常Wi−Fi用MACアドレスが、予め割り当てられている。制御部30は、通常Wi−Fi用MACアドレスを用いて、通常Wi−Fi用MACアドレスとは異なるWFD用MACアドレスを生成して、WFD用MACアドレスを無線LANI/F20に割り当てる。従って、制御部30は、通常Wi−Fi用MACアドレスを利用した通常Wi−Fi通信と、WFD用MACアドレスを利用したWFD通信と、の両方を同時的に実行し得る。即ち、MFP10は、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 (ie, one IC chip). However, in the wireless LAN I / F 20, a MAC address used in WFD communication (hereinafter referred to as "MAC address for WFD") and a MAC address used in normal Wi-Fi communication (hereinafter referred to as "normal Wi-Fi MAC address “for MAC address” is assigned. Specifically, a Wi-Fi MAC address is usually assigned to the wireless LAN I / F 20 in advance. The control unit 30 generates a WFD MAC address different from the normal Wi-Fi MAC address using the normal Wi-Fi MAC address, and assigns the WFD MAC address to the wireless LAN I / F 20. Accordingly, the control unit 30 can simultaneously execute both the normal Wi-Fi communication using the normal Wi-Fi MAC address and the WFD communication using the WFD MAC address. That is, the MFP 10 can simultaneously belong to both the WFD NW 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アドレスが利用される無線ネットワークである。   In terms of the MAC address used by the MFP 10, the WFD communication and the normal Wi-Fi communication can be expressed, for example, as follows. That is, WFD communication is wireless communication in which the WFD MAC address of the MFP 10 is used, and normal Wi-Fi communication is wireless communication in which the normal Wi-Fi MAC address of the MFP 10 is used. The WFD NW is a wireless network in which the WFD MAC address of the MFP 10 is used, and the normal Wi-Fi NW is a wireless network in which the normal Wi-Fi MAC address of the MFP 10 is used.

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

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

制御部30は、CPU32とメモリ34とを備える。CPU32は、メモリ34に格納されているプログラムに従って、様々な処理を実行する。CPU32がプログラムに従って処理を実行することによって、各部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 in accordance with the program stored in the memory 34. The functions of the units 40 to 47 are realized by the CPU 32 executing processing according to a program. The memory 34 is configured by a ROM, a RAM, a hard disk and the like. The memory 34 stores the above program executed by the CPU 32.

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

なお、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所属情報と、の両方を格納する。   The MFP 10 can form a state in which 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 WFD NWs as devices in different states (ie, G / O state, client state). However, the MFP 10 can not simultaneously belong to two WFD NWs as devices in the same state. That is, the MFP 10 can not belong to another WFD NW as a G / O device in a state where the MFP 10 belongs to one WFD NW as a G / O device. Further, in a state where the MFP 10 belongs to one WFDNW as a CL device, the MFP 10 can not belong to another WFDNW as a CL device. When the MFP 10 simultaneously belongs to the first and second WFD NWs, the memory 34 stores the first WFD belonging information corresponding to the first WFD NW and the second WFD corresponding to the second WFD NW. Store both belonging 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, an SSID (Service Set Identifier), a BSSID (Basic Service Set Identifier), and a password. The SSID included in the WFD wireless setting is a network identifier for identifying the WFD NW. The BSSID included in the WFD wireless setting is a unique identifier (for example, the MAC address of the G / O device) assigned to the G / O device of the WFD NW.

G/O機器は、通常、WFDNWを形成する際に、WFD無線設定を準備して、当該WFD無線設定をCL機器に供給する。例えば、MFP10の制御部30は、MFP10がG/O機器として動作するWFDNWを形成する際に、WFD無線設定を準備する。具体的に言うと、制御部30は、予め決められている認証方式情報及び暗号化方式情報を準備する。制御部30は、予め決められているパスワードを準備するか、あるいは、パスワードを新たに生成することによってパスワードを準備する。制御部30は、予め決められているSSIDを準備するか、あるいは、SSIDを新たに生成することによってSSIDを準備する。また、制御部30は、予め決められているWFD用MACアドレスをBSSIDとして準備する。   When forming the WFD NW, the G / O device usually prepares the WFD wireless setting and supplies the WFD wireless setting to the CL device. For example, when forming a WFD NW in which the MFP 10 operates as a G / O device, the control unit 30 of the MFP 10 prepares a WFD wireless setting. Specifically, the control unit 30 prepares predetermined authentication method information and encryption method information. The control unit 30 prepares a password by preparing a predetermined password or by newly generating a password. The control unit 30 prepares the SSID by preparing a predetermined SSID or newly generating an SSID. The control unit 30 also prepares a WFD MAC address determined in advance as a 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 WFD NW as a G / O device, the WFD affiliation information corresponding to the WFD NW includes the WFD wireless setting prepared by the MFP 10 when the MFP 10 forms the WFD NW. On the other hand, when the MFP 10 belongs to the WFD NW as a CL device, the WFD belonging information corresponding to the WFD NW is determined by the G / O device when a G / O device different from the MFP 10 forms the WFD NW. The prepared WFD radio setting (ie, the WFD radio setting acquired from the G / O device) is 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 normal Wi-Fi communication using the normal Wi-Fi NW. The normal Wi-Fi wireless setting usually includes authentication method information, encryption method information, an SSID, a BSSID, and a password. The SSID included in the normal Wi-Fi wireless setting is a network identifier for identifying 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 the SSID search and transmits the PReq signal. As a result, control unit 30 receives the PRes signal from each of APs 4 a and 4 b existing around MFP 10. The PRes signal is used by the AP, authentication method information indicating an authentication method used by the AP that is a transmission source of the PRes signal, encryption method information indicating an encryption method used by the AP, and And an SSID and a BSSID. Next, the control unit 30 causes the display unit 14 to display the plurality of SSIDs acquired from the plurality of APs. The user uses the operation unit 12 to select one SSID (that is, one AP) from among a plurality of SSIDs. The user further uses the operation unit 12 to input a password.

制御部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 with the selected AP using the password input by the user. Run. The wireless connection includes communication processing (e.g., communication processing for authentication (authentication signal, communication of an Association signal, etc.) for the MFP 10 to participate in the normal Wi-Fi NW). Thus, the MFP 10 participates in the normal Wi-Fi NW formed by the selected AP. The memory 34 stores, as a normal Wi-Fi wireless setting, each piece of information (authentication method information and the like) used in wireless connection with the selected AP.

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

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

無線LANI/F60は、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 wireless communication via the wireless LAN I / F 60 is faster than the communication speed of wireless communication via the NFC I / F 62.

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

なお、携帯端末50は、MFP10とは異なり、WFDNWと通常Wi−FiNWとに同時的に属することができない。また、携帯端末50は、2個のWFDNWに同時的に属することができない。携帯端末50がWFDNW又は通常Wi−FiNWに属している場合には、メモリ34は、MFP10と同様に、WFD所属情報又は通常Wi−Fi所属情報を格納する。   Unlike the MFP 10, the portable terminal 50 can not simultaneously belong to the WFD NW and the normal Wi-Fi NW. In addition, the portable terminal 50 can not simultaneously belong to two WFD NWs. When the portable terminal 50 belongs to the WFD NW 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 AP4a, 4b)
Each of the APs 4a and 4b is not a WFD G / O device, but is 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 portable terminal 50) of the plurality of devices normally belonging to the Wi-Fi NW, and the second device of the plurality of devices described above The target data is transmitted to (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. In addition, each of the APs 4a and 4b can execute a router function of relaying data communication between devices 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 WFD's G / O devices and regular APs (ie each AP 4a, 4b) are as follows. The WFD G / O device may operate in a state different from the G / O state (i.e., the client state) when it leaves the WFD NW to which the device belongs and newly belongs to another WFD NW. On the other hand, the normal AP executes the relay function regardless of which normal Wi-Fi NW the AP concerned forms. That is, a normal AP can execute only the same operation as the WFD G / O device, and can not 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のセキュリティを高めることができる。   The administrator of the communication system 2 can select ON or OFF as privacy separator setting (hereinafter referred to as “PS (Privacy Separator) setting”) of each of the APs 4 a and 4 b. For example, in a state where 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, in a state where the PS setting of the AP 4a is ON, the AP 4a can execute the router function but can not execute the relay function. As described above, when the PS setting of the AP 4a is ON, the data communication is not executed between the pair of devices belonging to the normal Wi-Fi NW formed by the AP 4a, so the security of the normal Wi-Fi NW is enhanced. Can.

(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 process executed by MFP 10)
Next, with reference to FIG. 2, the contents of communication processing executed by the MFP 10 will be described. While the MFP 10 is powered on, the NFC I / F 22 of the MFP 10 transmits a detection radio wave for detecting a device capable of executing NFC communication (that is, the portable terminal 50). The user of the portable terminal 50 brings the portable terminal 50 close to the MFP 10 after performing the operation of selecting the print function or the scan function. As a result, the distance between the portable terminal 50 and the MFP 10 becomes smaller than the distance (for example, 10 cm) at which radio waves reach each other. In this case, the NFC I / F 62 of the portable terminal 50 receives the detected radio wave from the MFP 10 and transmits a response radio wave to the MFP 10. As a result, an NFC communication session is established between the MFP 10 and the portable terminal 50. The portable terminal 50 transmits request data to the MFP 10 using an 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 portable terminal 50 (S10). When receiving request data from the portable 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 portable terminal 50, the request data includes a print instruction. On the other hand, when the scan function is selected by the user of the portable terminal 50, the request data includes a scan instruction. When the portable terminal 50 belongs to the WFD NW or the normal Wi-Fi NW, the request data further includes the SSID of the wireless network to which the portable terminal 50 belongs. If the portable terminal 50 does not belong to either the WFD NW or 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 process; Fig. 3)
At S12, the control unit 30 executes a response transmission process. Hereinafter, the WFD NW in which the MFP 10 operates as a G / O device will be referred to as “WFD NW (MFP = G / O)”. Further, the WFD NW in which the MFP 10 operates as a CL device is described as “WFD NW (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 S <b> 30, the control unit 30 determines whether the MFP 10 belongs to the WFD NW (MFP = G / O). Specifically, when WFD belonging information is not stored in memory 34, control unit 30 determines NO in S30 (that is, MFP 10 does not belong to WFD NW (MFP = G / O)). Then, proceed to S40. Further, when two pieces of WFD belonging information are stored in the memory 34, the control unit 30 indicates that the MFP 10 belongs to the first WFD NW (MFP = G / O) and the MFP 10 is the second. If it belongs to WFDNW (MFP = CL), YES is determined in S30 (that is, the MFP 10 belongs to WFDNW (MFP = G / O)), and the process proceeds to S32. Further, when one piece of WFD belonging information is stored in the memory 34, the control unit 30 determines whether the state value included in the WFD belonging information is a value indicating a G / O state or not. Check. If the state value is a value indicating a G / O state, the control unit 30 determines YES in S30 and proceeds to S32, and if the state value is a value indicating a client state, NO in S30. Then, the process 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 portable terminal 50 in S10 of FIG. 2 includes the SSID of the wireless network to which the portable terminal 50 belongs. If the request data includes the SSID, the second determination unit 46 determines YES in S32, proceeds to S34, and if the request data does not include the SSID, determines NO in S32, and S60. Go 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, when 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). Then, the process 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 the second determination unit 46 determines S60. Go 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. If the second determination unit 46 determines that the two SSIDs match, it determines YES in S36 (that is, the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW), and proceeds to S50. . On the other hand, if the second determination unit 46 determines that the two SSIDs do not match, it is determined as NO in S36 (that is, the MFP 10 and the portable 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 transmission unit 41 first generates response data. Specifically, the first information transmission unit 41 corresponds to the normal Wi-Fi wireless setting included in the normal Wi-Fi affiliation information in the memory 34 and the priority information indicating the first priority. Generate attached first correspondence information. Next, the first information transmission unit 41 selects WFD belonging information (hereinafter referred to as “WFD belonging information for G / O”) including a state value indicating the G / O state among the one or more pieces of WFD belonging information in the memory 34. To identify Then, the first information transmission unit 41 sets second correspondence information in which the WFD wireless setting included in the WFD belonging information for G / O and the priority information indicating the second priority are associated with each other. Generate The first information transmission unit 41 generates response data including the first correspondence information and the second correspondence information. Further, in S50, the first information transmission unit 41 transmits the generated response data to the portable 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 portable terminal 50 belongs becomes the first priority. For this purpose, the portable terminal 50 preferentially uses the normal Wi-Fi NW in the application processing of FIG. 4 described later. At this time, since the portable terminal 50 already belongs to the normal Wi-Fi NW, the portable terminal 50 does not have to execute the connection process (S210 in FIG. 4) (YES in S208 in FIG. 4). Therefore, the processing load of 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, which is executed when S32, S34, or S36 is NO, the first information transmission unit 41 specifies WFD affiliation information for G / O among one or more WFD affiliation information in the memory 34. Do. Then, the first information transmission unit 41 generates response data including the WFD wireless setting included in the WFD belonging information for G / O. Unlike S50, in S60, the response data does not include the normal Wi-Fi wireless setting and the priority information. In S60, the first information transmission unit 41 further transmits the generated response data to the portable 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 portable terminal 50 in S10 of FIG. 2 includes the SSID of the wireless network to which the portable terminal 50 belongs. If the request data includes the SSID, the first determination unit 45 determines YES in S40 and proceeds to S42. If the request data does not include the SSID, the first determination unit 45 determines NO in S40 and S48. Go 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 WFD NW (MFP = CL). Specifically, the first determination unit 45 includes at least the normal Wi-Fi affiliation information and the WFD affiliation information (hereinafter referred to as “the WFD affiliation information for CL”) including a state value indicating a client state. If one is stored in the memory 34, YES is determined in S42 (ie, the MFP 10 is determined to belong to at least one of the normal Wi-Fi NW and the WFD NW (MFP = CL)), and the process proceeds to S44. move on. If neither the normal Wi-Fi affiliation information nor the WFD affiliation information for CL is stored in the memory 34, the first determination unit 45 determines NO in S42 (that is, the MFP 10 has normal Wi-Fi NW and WFD NW). It is determined that (MFP does not belong to any of CL) and the process 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 portable terminal 50 belong to the same normal Wi-Fi NW. Execute a first determination process to 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, the first determination unit 45 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, when the WFD for CL information is stored in the memory 34, the first determination unit 45 further determines whether the MFP 10 and the portable terminal 50 belong to the same WFD NW (MFP = CL). Execute a second determination process to determine whether the Specifically, the first determination unit 45 determines whether the SSID included in the CL WFD affiliation information in the memory 34 matches the SSID included in the request data. When the two SSIDs coincide with each other, the first determination unit 45 determines that the MFP 10 and the portable terminal 50 belong to the same WFDNW (MFP = CL). 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 process proceeds to S46 after determining YES in S44. .

一方において、第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 that the MFP 10 and the portable terminal 50 do not belong to the same normal Wi-Fi NW in the first determination processing, and in the second determination processing, the MFP 10 and the portable terminal If it is determined that 50 does not belong to the same WFD NW (MFP = CL), it is determined as NO 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, the forming unit 44 shifts the MFP 10 to the autonomous G / O mode. As described above, when a WFD network is to be newly formed, G / O negotiation is usually performed to determine G / O devices and CL devices. 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 there is no CL device. That is, by executing S46, the forming unit 44 forms a WFD NW (MFP = G / O) to which only the G / O device (ie, 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 that allows the MFP 10 to operate in the G / O state. For example, when the MFP 10 enters the G / O state by G / O negotiation to form a WFD network, the MFP 10 transitions from the G / O state to the device state when CL devices are not present from the WFD network (ie, , WFD network disappears). On the other hand, for example, when the MFP 10 is in the G / O state in the autonomous G / O mode to form a WFD network, the MFP 10 maintains the G / O state even if there is no CL device (ie, Maintain the 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 WFD NW (MFP = CL). In this case, in S46, the forming unit 44 newly forms a WFDNW (MFP = G / O) without leaving the MFP 10 from the WFDNW (MFP = CL). That is, a state in which the MFP 10 simultaneously belongs to two WFD NWs is formed. This point is the same as 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 WFD NW (MFP = G / O). The methodology for preparing the WFD radio configuration is as described above. In S46, the forming unit 44 further causes the memory 34 to store WFD belonging information for G / O including the state value indicating the G / O state and the prepared WFD wireless setting. 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, the second information transmission unit 42 first generates response data. Specifically, the second information transmission unit 42 is configured to use both of the MFP 10 and the portable terminal 50 from among one or more belonging information (that is, normal Wi-Fi belonging information, WFD belonging information) in the memory 34. Affiliation information (hereinafter, referred to as “specific affiliation information”) corresponding to the wireless network to which C. belongs (that is, the wireless network determined as YES in S44) is specified. The specific affiliation information is usually Wi-Fi affiliation information or WFD affiliation information for CL. Then, the second information transmitting unit 42 sets the wireless setting (that is, the normal Wi-Fi wireless setting or the WFD wireless setting of WFDNW (MFP = CL)) included in the specific affiliation information and the first priority. The first correspondence information is generated in which priority information indicating. Next, the second information transmitting unit 42 sets the WFD wireless setting included in the WFD belonging information for G / O in the memory 34 (that is, the WFD wireless setting prepared in S46) and a priority indicating the second priority. The second correspondence information in which the information is associated is generated. The second information transmission unit 42 generates response data including the first correspondence information and the second correspondence information. In S70, the second information transmission unit 42 further transmits the generated response data to the portable 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 portable terminal 50 belongs has the first priority. For this purpose, the portable terminal 50 preferentially uses the wireless network in the application processing of FIG. 4 described later. At this time, since the portable terminal 50 already belongs to the wireless network, the portable terminal 50 does not have to execute the connection process (S210 in FIG. 4) (YES in S208 in FIG. 4). Therefore, the processing load of 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, the forming unit 44 shifts the MFP 10 to the autonomous G / O mode. S48 is the same as S46. Next, in S60 executed through S48, the third information transmission unit 43 includes the WFD wireless setting (that is, the WFD wireless setting prepared in S48) included in the WFD belonging information for G / O in the memory 34. Generate response data. Unlike S70, in S60, the response data does not include normal Wi-Fi wireless settings or WFD wireless settings corresponding to WFD NW (MFP = CL), and does not include priority information. In S60 executed after S48, the third information transmission unit 43 further transmits the generated response data to the portable 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)のセキュリティが低下するのを抑制することができる。   Note that, as described above, even if the MFP 10 belongs to the normal Wi-Fi NW, if the portable terminal 50 does not belong to the normal Wi-Fi NW (NO in S36 or NO in S44), the MFP 10 normally 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 suppress the decrease in security of the normal Wi-Fi NW to which the MFP 10 belongs. Similarly, even if MFP 10 belongs to WFDNW (MFP = CL), if portable terminal 50 does not belong to WFDNW (MFP = CL) (NO in S44), MFP 10 selects WFDNW (MFP = CL). Is not transmitted to the portable terminal 50 (S60). Therefore, the security of the WFD NW (MFP = CL) to which the MFP 10 belongs can be suppressed from being degraded.

これに対し、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 WFD NW (MFP = G / O) to which the MFP 10 belongs, there is no problem even if the MFP 10 determines the security policy of the WFD NW. For this reason, in the present embodiment, even if the portable terminal 50 does not belong to the WFD NW (MFP = G / O), the MFP 10 performs the WFD wireless setting corresponding to the WFD NW (MFP = G / O). It transmits to the portable terminal 50 (S50, S60, S70). Thereby, although the details will be described later, the MFP 10 and the portable terminal 50 can appropriately execute communication of target data using the WFD NW (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に進む。
(Processing after S14 in FIG. 2)
When S50, S60 or S70 of FIG. 3 is executed, the response transmission process of FIG. 3 ends. In this case, the process proceeds to S14 of FIG. WFD wireless settings corresponding to the WFD NW (MFP = G / O) are transmitted to the portable terminal 50 regardless of which of S50, S60, and S70 of FIG. 3 is executed. Although described later in detail, when the portable terminal 50 does not belong to the WFD NW (MFP = G / O), a connection for joining the WFD NW (MFP = G / O) using the WFD wireless setting is made. A signal (for example, an Authentication Request signal, an Association Request signal) is transmitted to the MFP 10 (see S210 in FIG. 4). In S14, the control unit 30 monitors that the connection signal is received from the portable terminal 50 via the wireless LAN I / F 20. When the control unit 30 receives the connection signal from the portable terminal 50, the control unit 30 determines YES in S14 and proceeds to S16. If NO in S14, 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 portable terminal 50 can participate in the WFD NW (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に戻る。   Further, although the details will be described later, 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 the reception of the confirmation signal from the portable terminal 50 via the wireless LAN I / F 20. When the communication execution unit 47 receives a confirmation signal from the portable terminal 50, the communication execution unit 47 determines YES in S18, and proceeds to S20. In the case of NO at S18, the process returns to S14.

S20では、制御部30は、無線LANI/F20を介して、上記の確認信号に対する応答信号である確認応答信号(例えばPING Response信号)を携帯端末50に送信する。
S20を終えると、S22に進む。
In S20, the control unit 30 transmits a confirmation response signal (for example, a PING Response signal), which is a response signal to the above confirmation signal, to the portable 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が利用されると、対象データ(即ち印刷データ又はスキャンデータ)の通信も実行不可能である。   Even if a confirmation signal is transmitted from the portable terminal 50 to the MFP 10 using the wireless network to which both the MFP 10 and the portable terminal 50 belong (hereinafter referred to as “both affiliation NW”), the MFP 10 transmits the confirmation signal May not be able to receive. For example, in a situation in which both belonging NWs are normal Wi-Fi NW, when the PS setting of the AP forming the normal Wi-Fi NW is ON, the AP receives a confirmation signal from the portable terminal 50. Even in this case, the confirmation signal is not transmitted to the MFP 10. Also, for example, in a situation where both belonging NWs are WFD NWs (ie, WFD NW (MFP = CL, portable terminal = CL)) in which both the MFP 10 and the portable terminal 50 operate as CL devices, the WFD NW (MFP = CL, When the PS setting of the G / O device forming the portable terminal = CL) is ON, the G / O device transmits a confirmation signal to the MFP 10 even if the confirmation signal is received from the portable terminal 50 do not do. Thus, even if both affiliated NWs are used, it may not be possible to execute the communication of the confirmation signal and the confirmation response signal. Communication of target data (i.e., print data or scan data) is also infeasible when such a dual affiliation NW is used.

これに対し、両方所属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 belonging NWs are WFDNW (MFP = G / O), the MFP 10 and the portable terminal 50 do not execute communication via the relay device (that is, AP or G / O device). Perform communication directly. Therefore, the event that the data communication is not successful does not occur because the PS setting of the relay apparatus is ON. In addition, even in the situation where both affiliated NWs are normal Wi-Fi NW or WFD NW (MFP = CL, portable terminal = CL), when the PS setting of the relay device is OFF, communication of confirmation signal and confirmation response signal is executed. It is possible. Communication of target data (i.e., print data or scan data) can be performed when both such affiliation NWs are used.

このような実情に鑑みて、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 circumstances, in S22, the communication execution unit 47 uses the wireless network in which the communication of the confirmation signal and the confirmation response signal is successful (hereinafter referred to as "specific wireless network") to perform the wireless LAN I / I. Communication of target data is executed via F20. Thereby, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data. For example, in S22 executed through S50 of FIG. 3, the normal Wi-Fi NW or WFD NW (MFP = G / O) is the above-mentioned specific wireless network. Further, for example, in S22 executed through S60 of FIG. 3, the WFD NW (MFP = G / O) is the above-mentioned specific wireless network. Also, for example, in S22 executed through S70 of FIG. 3, the normal Wi-Fi NW, WFD NW (MFP = CL), or WFD NW (MFP = G / O) is the above-mentioned 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 above-mentioned specific wireless network to transmit from the portable terminal 50 via the wireless LAN I / F 20. Receive print data. Next, the control unit 30 supplies the print data (ie, target data) to the print execution unit 16. Thus, the print execution unit 16 prints the image represented by the print data on the print medium. When the request data received in S10 includes a scan instruction, the control unit 30 activates the scan execution unit 18 in S22. Thereby, the scan execution unit 18 scans the document to generate scan data. Next, the communication execution unit 47 transmits scan data (that is, target data) to the portable terminal 50 via the wireless LAN I / F 20 using the above-described 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 NFC communication is slower than the communication speed of WFD communication or normal Wi-Fi communication. Therefore, if a configuration in which wireless communication of target data is executed between the MFP 10 and the portable terminal 50 using NFC communication, it takes a long time for wireless communication of target data. In view of such circumstances, in the present embodiment, the MFP 10 transmits, to the portable terminal 50, response data for executing wireless communication of target data by WFD communication or normal Wi-Fi communication. As a result, the MFP 10 and the portable terminal 50 can execute WFD communication or normal Wi-Fi communication of target data, and as a result, wireless communication of target data can be rapidly performed.

(携帯端末50のアプリケーション処理;図4)
続いて、図4を参照して、携帯端末50の制御部70がアプリケーション76に従って実行する処理の内容を説明する。携帯端末50のユーザは、MFP10に印刷機能又はスキャン機能を実行させることを望む場合に、操作部52を操作して、アプリケーション76を起動させる。これにより、制御部70は、アプリケーション76に従って、図4のフローチャートを開始する。
(Application processing of the portable terminal 50; FIG. 4)
Subsequently, with reference to FIG. 4, the contents of processing executed by the control unit 70 of the portable terminal 50 in accordance with the application 76 will be described. 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. Thereby, the control unit 70 starts the flowchart of FIG. 4 according to the application 76.

ユーザは、操作部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 the user selects the 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 portable terminal 50. When the print function or the scan 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, the specific data transmission unit 80 first generates request data including an instruction (a print instruction or a 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 specifies 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. The specific data transmission unit 80 transmits the generated request data to the MFP 10 via the 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, the MFP 10 transmits response data to the portable terminal 50 in S50, S60, or S70 of FIG. 3. As a result, in S204, the information receiving unit 81 receives 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, when the response data includes WFD wireless settings corresponding to WFD NW (MFP = G / O) and does not include other wireless settings (see S60 in FIG. 3), the communication execution unit 82 determines the WFD wireless settings. Identify your settings. Also, 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 priority information indicating the first priority to Identify the associated wireless settings. The wireless setting corresponds to 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 portable terminal 50 belongs. This is because, in S50 or S70 of 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 portable terminal 50 belongs to a wireless network corresponding to the wireless setting identified in S206 (hereinafter referred to as "target wireless network"). . Specifically, when 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 performs S210. Skip to step S212. On the other hand, when the wireless setting specified in S206 and the wireless setting included in the affiliation information in the memory 74 do not match, 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 the connection process using the wireless setting specified in S206. Specifically, the communication execution unit 82 is a connection for connecting to a target relay device (for example, the AP 4 a or 4 b or the MFP 10 operating as a G / O device) forming a target wireless network. Generate a signal. Next, the communication execution unit 82 transmits a connection signal to the target relay device via the wireless LAN I / F 60, and as a result, receives a connection response signal from the target relay device via the wireless LAN I / F 60. Do. Communication of the connection signal and the connection response signal is performed 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.
Also, 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 the connection response signal is transmitted to the portable terminal in S16. Send to 50

接続信号及び接続応答信号の通信の過程において、通信実行部82は、S206で特定された無線設定に含まれる認証方式情報、暗号化方式情報、パスワード、SSID、及び、BSSIDを送信する。これにより、対象の中継装置は、携帯端末50の認証を実行する。認証が成功すれば、携帯端末50と対象の中継装置との間の接続が成功し、この結果、携帯端末50は、対象の無線ネットワークに新たに参加する。なお、S210が実行される段階において、携帯端末50が既存の無線ネットワークに属している可能性がある。
この場合、携帯端末50は、既存の無線ネットワークから離脱して、対象の無線ネットワークに新たに参加する。
In the communication process of 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. Thereby, the target relay device performs authentication of the portable terminal 50. If the authentication is successful, the connection between the portable terminal 50 and the target relay device is successful, and as a result, the portable terminal 50 newly participates in the target wireless network. Note that, at the stage where S210 is performed, the portable terminal 50 may belong to the existing wireless network.
In this case, the portable terminal 50 leaves the existing wireless network and newly participates in 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 portable terminal 50 belongs. For example, in the case of YES in S208, the wireless network used in S212 is an existing wireless network to which the portable terminal 50 belongs at the stage when the application processing of FIG. 4 is started. Also, for example, in the case of NO in S208, the wireless network used in S212 is a target wireless network to which the portable terminal 50 newly joins in the connection process of 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 a confirmation response 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 apparatus 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 the communication execution unit 82 receives 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 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 been specified in S206, the communication execution unit 82 determines NO in S216, and proceeds to S220. On the other hand, when there is a wireless setting that has not been specified in S206, the communication execution unit 82 determines YES in S216 and executes S206 for the second time.

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 time S206, the communication execution unit 82 specifies the wireless setting having the highest priority among the wireless settings not specified yet in the first S206. In the present embodiment, since “2” is the largest number of wireless settings included in the response data, in the second step S206, the communication execution unit 82 associates it with the priority information indicating the second priority. Identify the wireless settings that are being This wireless setting is a WFD wireless setting corresponding to WFD NW (MFP = G / O). This is because, in S50 or S70 of FIG. 3, the WFD wireless setting corresponding to the WFD NW (MFP = G / O) is associated with the priority information indicating the second priority. Therefore, when S208 to S214 are subsequently executed, the communication execution unit 82 normally receives a confirmation response signal from the MFP 10 in S214. In WFDNW (MFP = G / O), since communication is directly performed without passing through the relay device, there is an event that the data communication is not successful due to the PS setting of the relay device being ON. 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 is successful (hereinafter referred to as “specific wireless network”). Run. 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 above-described 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 above-described specific wireless network. In this case, the control unit 70 stores the scan data in the memory 74. 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 of target data with MFP 10 can not be performed. When S220 ends, the application processing of FIG. 4 ends. When the portable terminal 50 leaves the existing wireless network and joins a new wireless network in S210, the control unit 70 further performs the following processing when the application processing in FIG. 4 is completed. Run. That is, the control unit 70 causes the portable terminal 50 to leave the wireless network that has joined in S210, and causes the portable terminal 50 to participate again in the existing wireless network.

(具体的なケース)
次いで、図5〜図8を参照して、本実施例のMFP10及び携帯端末50によって実現される具体的なケースを説明する。図5〜図8において、MFP10及び携帯端末50の間の細線の矢印は、NFC通信を示し、MFP10及び携帯端末50の間の太線の矢印は、WFD通信又は通常Wi−Fi通信を示す。AP4aのPS設定はONである。
(Specific case)
Next, specific cases realized by the MFP 10 and the portable terminal 50 of the present embodiment will be described with reference to FIGS. 5 to 8. 5 to 8, thin arrows between the MFP 10 and the portable terminal 50 indicate NFC communication, and thick arrows between the MFP 10 and the portable terminal 50 indicate WFD communication or normal Wi-Fi communication. The PS setting of AP4a 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が利用されている。
(Figure 5; Case A)
In case A, WFDNW (MFP = G / O) is formed in which the MFP 10 is a G / O device and the PC 6 is a CL device. In the WFD NW (MFP = G / O), the WFD wireless setting WS1 including the SSID “01” is used. The MFP 10 and the portable 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 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), the portable terminal 50 transmits request data including a print instruction and the SSID "04" to the 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 the MFP 10 receives request data from the portable terminal 50 (YES in S10 of FIG. 2), it determines YES in S30 of FIG. 3, determines YES in S32, determines YES in S34, and determines YES in S36. Do. As a result, in the MFP 10, the normal Wi-Fi wireless setting WS4 associated with the first priority information indicating the first priority and the WFD wireless setting associated with the second priority information indicating the second priority. And response data including WS1 are 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と判断する。   When the portable terminal 50 receives the response data from the MFP 10 (S204 in FIG. 4), the portable 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 4 a is ON, the AP 4 a does not transmit a confirmation signal to the MFP 10 even if the confirmation signal is received from the portable 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 portable terminal 50 specifies the WFD wireless setting WS1 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 which is a G / O device using the WFD wireless setting WS1, and newly participates in the WFD NW (MFP = G / O) (S210) ). Next, the portable terminal 50 transmits a confirmation signal to the MFP 10 using the WFD NW (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 WFD NW (MFP = G / O), the confirmation signal is transmitted to the MFP 10 without passing through the relay device. Accordingly, the MFP 10 receives the confirmation signal from the 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 portable terminal 50 using the WFD NW (MFP = G / O) (S20).

携帯端末50は、MFP10から確認信号を受信すると(図4のS214でYES)、WFDNW(MFP=G/O)を利用して、印刷データをMFP10に送信する(S218)。この結果、MFP10は、WFDNW(MFP=G/O)を利用して、印刷データを受信する(図2のS22)。これにより、印刷データによって表される画像が、印刷媒体に印刷される。   Upon receiving the confirmation signal from MFP 10 (YES in S214 of FIG. 4), portable terminal 50 transmits print data to MFP 10 using WFDNW (MFP = G / O) (S218). As a result, the MFP 10 receives the print data using the WFD NW (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が利用されている。
(Figure 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 also 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. The portable terminal 50 belongs to the normal Wi-Fi NW formed by the AP 4 b. 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), the portable terminal 50 transmits request data including a print instruction and the SSID “05” to the 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)。   If the MFP 10 receives request data from the portable terminal 50 (YES in S10 of FIG. 2), it determines YES in S30 of FIG. 3, determines YES in S32, determines YES in S34, and determines NO in S36. Do. As a result, the MFP 10 transmits response data including the WFD wireless setting WS1 and not including the normal Wi-Fi wireless setting WS4 to the portable terminal 50 using NFC (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と同様である。   When the portable terminal 50 receives the response data from the MFP 10 (S204 in FIG. 4), the portable terminal 50 specifies the WFD wireless setting WS1 (S206). Next, the portable terminal 50 determines NO in S208, connects to the MFP 10 which is a G / O device using the WFD wireless setting WS1, and newly participates in WFDNW (MFP = G / O) (S210) . The subsequent operations of the MFP 10 and the portable terminal 50 are the same as in the case A.

(図7;ケースC)
ケースCでは、ケースAと同様に、MFP10及び携帯端末50は、AP4aが形成している通常Wi−FiNWに属している。当該通常Wi−FiNWでは、SSID「02」を含む通常Wi−Fi無線設定WS2が利用されている。MFP10及び携帯端末50は、WFDNWに属していない。
(Figure 7; Case C)
In case C, as in case A, the MFP 10 and the portable terminal 50 belong to the normal Wi-Fi NW formed by the AP 4 a. 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 WFD NW.

携帯端末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 the MFP 10 receives request data from the portable terminal 50 (YES in S10 of FIG. 2), it determines NO in S30 of FIG. 3, determines YES in S40, determines YES in S42, and determines YES in S44. Do. As a result, the MFP 10 shifts to the autonomous G / O mode to form a WFD NW (MFP = G / O) (S46). In the WFD NW (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. And response data 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と判断する。   When the portable terminal 50 receives the response data from the MFP 10 (S204 in FIG. 4), the portable terminal 50 identifies 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 4 a is ON, the AP 4 a does not transmit a confirmation signal to the MFP 10 even if the confirmation signal is received from the portable 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 which is a G / O device using the WFD wireless setting WS3, and newly participates in the WFD NW (MFP = G / O) (S210) ). The subsequent operations of the MFP 10 and the portable terminal 50 are the same as 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が利用されている。
(Figure 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. The portable terminal 50 belongs to the normal Wi-Fi NW formed by the AP 4 b. In the normal Wi-Fi NW, the 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), the portable terminal 50 transmits request data including a print instruction and the SSID “06” to the 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 the MFP 10 receives request data from the portable terminal 50 (YES in S10 of FIG. 2), it determines NO in S30 of FIG. 3, determines YES in S40, determines YES in S42, and determines NO in S44. Do. As a result, the MFP 10 shifts to the autonomous G / O mode to form a WFD NW (MFP = G / O) (S48). In the WFD NW (MFP = G / O), the WFD wireless setting WS3 is used. Next, the MFP 10 transmits response data including the WFD wireless setting WS3 and not including the normal Wi-Fi wireless setting WS2 to the portable terminal 50 using 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と同様である。   When the portable terminal 50 receives the response data from the MFP 10 (S204 in FIG. 4), the portable terminal 50 specifies the WFD wireless setting WS3 (S206). Next, the portable terminal 50 determines NO in S208, connects to the MFP 10 which is a G / O device using WFD wireless setting WS3, and newly participates in WFD NW (MFP = G / O) (S210) . The subsequent operations of the MFP 10 and the portable terminal 50 are the same as 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 of FIGS. 5 and 6, when the MFP 10 belongs to the WFD NW (MFP = G / O), the WFD wireless setting WS1 corresponding to the WFD NW (MFP = G / O) Are transmitted to the portable terminal 50. Therefore, the MFP 10 and the portable terminal 50 can appropriately execute communication of target data using the WFD NW (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)を利用して、対象データの通信を適切に実行することができる。   When the MFP 10 belongs not only to WFDNW (MFP = G / O) but also to 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 can set the normal Wi-Fi wireless setting WS4 corresponding to the normal Wi-Fi NW, WFDNW (MFP = WFD wireless setting WS1 corresponding to G / O) 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 WFD NW (MFP = G / O). In particular, in case A, since the PS setting of the AP 4a is ON, the MFP 10 and the portable terminal 50 can not execute communication of target data using the normal Wi-Fi NW. However, the MFP 10 and the portable terminal 50 can appropriately execute communication of target data using the WFD NW (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)を利用して、対象データの通信を適切に実行することができる。   Further, in the case B of FIG. 6, 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 WS4 corresponding to the normal Wi-Fi NW to the portable terminal 50. Without transmitting, WFD wireless setting WS1 corresponding to WFDNW (MFP = G / O) is transmitted to the portable terminal 50. As a result, it is possible to prevent the security of the normal Wi-Fi NW to which the MFP 10 belongs from being degraded. Moreover, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data by using the WFD NW (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)を利用して、対象データの通信を適切に実行することができる。   Further, as shown in case C of FIG. 7, the MFP 10 does not belong to the WFDNW (MFP = G / O) but in the case of belonging to the normal Wi-Fi NW, the WFDNW (MFP = G / O) Form anew. Since the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW, the MFP 10 is a normal Wi-Fi wireless setting WS2 corresponding to the normal Wi-Fi NW and a WFD wireless corresponding to the WFD NW (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 WFD NW (MFP = G / O). In particular, in case C, since the PS setting of the AP 4a is ON, the MFP 10 and the portable terminal 50 can not execute communication of target data using the normal Wi-Fi NW. However, the MFP 10 and the portable terminal 50 can appropriately execute communication of target data using the WFD NW (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 carries out the normal Wi-Fi wireless setting WS2 corresponding to the normal Wi-Fi NW. WFD wireless setting WS3 corresponding to WFD NW (MFP = G / O) is transmitted to the portable terminal 50 without transmitting to the terminal 50. For this reason, it is possible to suppress the decrease in security of the normal Wi-Fi NW to which the MFP 10 belongs. Moreover, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data by using the WFD NW (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 relationship)
The MFP 10 is an example of the “communication device”. The NFC I / F 22 and the wireless LAN I / F 20 of the MFP 10 are examples of the “first type interface of the communication device” and the “two types of interface of the communication device”, respectively. The NFC I / F 62 and the wireless LAN I / F 60 of the portable terminal 50 are examples of the “first type interface of the portable terminal” and the “second type interface of the portable 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 the “specific data” and the “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 the “specific information”. The priority information transmitted in S50 and S70 of FIG. 3 is an example of the “instruction information”. Also, the G / O state is an example of the “master station”, and the client state or a state of participating in the normal Wi-Fi NW is an example of the “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, WFDNW (MFP = G / O), WFD wireless setting WS1, normal Wi-Fi NW, and normal Wi-Fi wireless setting WS4 are respectively “first wireless network” and “first information”. These are examples of “4th wireless network” and “4th information”. In cases C and D in FIGS. 7 and 8, the normal Wi-Fi NW, the normal Wi-Fi wireless setting WS2, the WFD NW (MFP = G / O) formed by the MFP 10, and the WFD wireless setting WS3 respectively The “wireless network”, “second information”, “third wireless network”, and “third information” are examples. The wireless network utilized 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. In addition, S60 executed after S50 or S36 in FIG. 3 is an example of processing executed by the “first information transmission unit”. S70 is an example of a process performed by the “second information transmission unit”. S60 executed after S48 is an example of processing executed by the “third information transmission 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 WFD NW (MFP = G / O), and the WFD wireless setting WS1 are respectively “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 WFD NW (MFP = G / O) formed by the MFP 10, and the WFD wireless setting WS3 respectively indicate “5th 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”. An example of

(第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, when the MFP 10 and the portable terminal 50 do not belong to the same normal Wi-Fi NW (NO in S36 of FIG. 3 or NO in S44), the MFP 10 performs the normal Wi-Fi wireless setting. It does not transmit to the portable terminal 50 (S60). If MFP 10 and portable terminal 50 do not belong to the same WFD NW (MFP = CL) (NO in S44), MFP 10 does not transmit the WFD wireless setting corresponding to the WFD NW (MFP = CL) to portable terminal 50 ( S60). On the other hand, in the present embodiment, the MFP 10 is compatible with all wireless networks capable of executing communication of target data with the portable terminal 50 regardless of whether the MFP 10 and the portable terminal 50 belong to the same wireless network. All the wireless settings to be transmitted are transmitted to the portable 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 of FIG. 9 are the same as S30 and S34 of FIG. In the case of YES in S132, the MFP 10 belongs to the normal Wi-Fi NW and the WFD NW (MFP = G / O). In this case, in S150, the first information transmission unit 41 executes the same process as S50 in FIG. If NO in S132, the MFP 10 belongs to WFDNW (MFP = G / O). In this case, in S160, the first information transmission unit 41 executes the same processing as S60 in 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 or not MFP 10 belongs to WFDNW (MFP = CL). The determination method of S136 is the same as the determination method used in S42 of FIG. The forming unit 44 executes S138 in the case of YES at S136, and executes S140 in the case of NO at S136. S138 and S140 are the same as S46 (or S48) of 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 WFD NW (MFP = CL), and the WFD NW (MFP = G / O). In S170 executed after S138, the second information transmission unit 42 associates the normal Wi-Fi wireless setting corresponding to the normal Wi-Fi NW with the priority information indicating the first priority, Generating first correspondence information. The second information transmitting unit 42 further generates second correspondence information in which WFD wireless settings corresponding to WFDNW (MFP = CL) and priority information indicating a second priority are associated. Do. The second information transmitting unit 42 further includes third correspondence information in which WFD wireless settings corresponding to WFDNW (MFP = G / O) and priority information indicating a third priority are associated. Generate Then, the second information transmission unit 42 generates response data including the first correspondence information, the second correspondence information, and the third correspondence information. In S170, the second information transmission unit 42 further transmits the generated response data to the portable 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 portable terminal 50 can not belong to the WFD NW (MFP = G / O). This is because WFDNW (MFP = G / O) is a new WEDNW formed by the MFP 10 in S138. However, there is a possibility that the portable terminal 50 belongs to the normal Wi-Fi NW or WFD NW (MFP = CL) at the stage of S170. Therefore, in the present embodiment, in S170, response data is generated such that the priority of the normal Wi-Fi NW and WFDNW (MFP = CL) is higher than the priority of WFDNW (MFP = G / O). . Thereby, the possibility that the portable terminal 50 does not need to execute the connection process of S210 of FIG. 4 can be increased, and as a result, the processing load of the portable terminal 50 can be reduced. In the modification, in S170, the second information transmitting unit 42 sets the priority of the WFD NW (MFP = CL) to the first priority, and sets the priority of the normal Wi-Fi NW to the second priority. The response data may be generated as follows.

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 WFD NW (MFP = G / O). S180 executed after S140 is similar to S70 of 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 in the case of YES at S142, and executes S146 in the case of NO at S142. S144 and S146 are the same as S46 (or S48) of 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 via S144 is the same as S70 of 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 WFDNW (MFP = G / O). S160 executed through S146 is the same as S60 of 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 the second embodiment)
In the present embodiment, when the MFP 10 belongs to the WFD NW (MFP = G / O) (YES in S130), the MFP 10 transmits the WFD wireless setting corresponding to the WFD NW (MFP = G / O) to the portable terminal 50 ( S150, S160). Therefore, the MFP 10 and the portable terminal 50 can appropriately execute communication of target data using the WFD NW (MFP = G / O). Further, when the MFP 10 does not belong to WFDNW (MFP = G / O) but belongs to another wireless network (normally Wi-Fi NW or WFDNW (MFP = CL)) (YES in S134, or WFDNW (MFP = G / O) is newly formed in S142 (YES), and wireless setting corresponding to the above-mentioned other wireless networks (normal Wi-Fi wireless setting or WFDNW (MFP = CL) is supported) WFD wireless setting) and WFD wireless setting corresponding to WFD NW (MFP = G / O) are transmitted to the portable terminal 50 (S170, S180, S190). Therefore, the MFP 10 and the portable terminal 50 can appropriately execute the communication of the target data using the other wireless network or the WFD NW (MFP = G / O) described above. Even if the MFP 10 and the portable terminal 50 can not execute the communication of the target data using the other wireless network described above, the MFP 10 and the portable terminal 50 are formed by the MFP 10 as a WFD NW (MFP = G Communication of target data can be appropriately performed using / O).

(対応関係)
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 relationship)
The case of YES in S130 is an example of the “first case”. That is, 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 WFD NW (MFP = CL) is an example of the “second wireless network”. Further, the WFD NW (MFP = G / O) formed in S138, S140, or S146 is an example of the “third wireless network”. Moreover, S150 or S160 is an example of the process which a "1st information transmission part" performs. S170, S180, or S190 is an example of processing executed by the “second information transmission unit”.

以上、本発明の具体例を詳細に説明したが、これらは例示にすぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には以上に例示した具体例を様々に変形、変更したものが含まれる。上記の実施例の変形例を以下に列挙する。   As mentioned above, although the specific example of this invention was described in detail, these are only an illustration and do not limit a claim. The art set forth in the claims includes various variations and modifications of the specific examples described above. Modifications of the above embodiment are listed below.

(変形例1)図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 transmission unit 41 of the MFP 10 performs all the information in the WFD wireless setting WS1 (ie, authentication method information, encryption method information, SSID, BSSID, and , And the password) is transmitted to the portable terminal 50 (S50 in FIG. 3). Instead of this, the first information transmission unit 41 may transmit, to the portable terminal 50, response data including a part of information (for example, the SSID and the password) in the WFD wireless setting WS1. In this case, when causing the portable terminal 50 to newly participate in the WFD NW (MFP = G / O), the communication execution unit 82 of the portable terminal 50 executes the SSID search (that is, transmits the PReq signal), The PRes signal may be received from the MFP 10 operating as a G / O device. The said PRes signal contains each information (namely, authentication system information, encryption system information, SSID, and BSSID) utilized by WFDNW (MFP = G / O). Thereby, the communication execution unit 82 can acquire each information (i.e., the authentication method information, the encryption method information, and the BSSID) other than the partial information included in the response data, and newly participates in the WFD NW. can do. That is, the "first information" may be all the information in the WFD wireless setting WS1 as in the above-described embodiment, or one of the WFD wireless settings WS1 as in this modification. It may be part information. Similarly, the "sixth information" may be all the information in the WFD wireless setting WS1, or may be a part of the information in 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 the information in the normal Wi-Fi wireless setting WS2 (see case C in FIG. 7). -It may be a part of information of Fi wireless setting WS2. Further, in case C of FIG. 7, since the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW, the memory 74 of the portable terminal 50 already stores the normal Wi-Fi wireless setting. Therefore, instead of transmitting the normal Wi-Fi wireless setting WS2, the second information transmitting unit 42 uses the portable terminal 50 for continuing use information indicating that the wireless network to which the portable terminal 50 belongs is continuously used. It may be sent to In the present modification, the continuous use information is an example of the “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. And may be continuous use information.

(変形例3)変形例1と同様に、「第3の情報」は、WFD無線設定WS3のうちの全ての情報であってもよいし(図7及び図8のケースC及びD参照)、WFD無線設定WS3のうちの一部の情報であってもよい。同様に、「第6の情報」も、WFD無線設定WS3のうちの全ての情報であってもよいし、WFD無線設定WS3のうちの一部の情報であってもよい。 (Modification 3) As in Modification 1, the "third information" may be all the information in the WFD wireless setting WS3 (see cases C and D in FIGS. 7 and 8). The information may be part of the WFD wireless setting WS3. Similarly, the “sixth information” may be all the information in the WFD wireless setting WS3, or may be a part of the information in 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 the modification 1, the "fourth information" may be all the information in the normal Wi-Fi wireless setting WS4 (see case A in FIG. 5), or the normal Wi -It may be a part of information in Fi wireless setting WS4. Further, as in the second modification, the first information transmission unit 41 may transmit the continuous use information to the portable terminal 50 instead of transmitting the normal Wi-Fi wireless setting WS4. In the present modification, the continued use information is an example of the “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. And may be continuous use 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, response data including priority information indicating priority different from the priority adopted in the process is selected. It may be sent. For example, in S50 of FIG. 3, in the response data, the WFD wireless setting may be the first priority, and the normal Wi-Fi wireless setting may be 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 may be transmitted without including priority information. In this case, the communication execution unit 82 of the portable terminal 50 may sequentially use each of the plurality of wireless settings included in the response data, for example, randomly. Generally speaking, the second information transmission unit 42 may transmit the second information and the third information to the portable terminal, and the first information transmission unit 41 may transmit the first information and the fourth information. The information of the above may be transmitted to the portable 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 transmission 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 transmission unit 42 may transmit the second information and the third information in the second case. Generally speaking, in one technology disclosed by the present specification, the device-side control unit includes a specific data reception unit, a first information transmission unit, a formation unit, a second information transmission unit, and an apparatus side. It is sufficient if at least a communication execution unit is provided.

(変形例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 when YES in S30 of FIG. 3, but does not execute communication of target data with the portable terminal 50 when NO in S30. It is also good. Further, the MFP 10 may execute S40 to S48, S60, and S70 without executing S30 to S36 and S50 of FIG. 3. That is, generally speaking, in one technology disclosed by the present specification, the device-side control unit includes at least a specific data reception unit, a determination unit, an information transmission unit, and an apparatus-side communication execution unit. Just do it.

(変形例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 executing S212 and S214 in FIG. 4), a plurality of pieces of response data are included in the response data. Communication of target data may be attempted using a wireless network corresponding to any of the wireless settings. In this case, when 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に属している状態に限られず、無線ネットワークの親局から管理される状態であれば、どのような状態であってもよい。 (Modification 10) The “master station” is not limited to the GFD units in the WFD NW, but is in a state of managing each device belonging to the wireless network (for example, a state capable of relaying wireless communication between each device belonging to the wireless network) As long as it is), it may be in any state. Also, the “child station” is not limited to the client state of the WFD NW or the state belonging to the normal Wi-Fi NW, but it may be in any state as long as it is managed from the parent station of the wireless network. Good.

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

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

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

(変形例14)上記の実施例では、MFP10のCPU32がメモリ34内のプログラム(即ちソフトウェア)を実行することによって、各部40〜47の機能が実現される。これに代えて、各部40〜47のうちの少なくとも1つは、論理回路等のハードウェアによって実現されてもよい。また、同様に、各部80〜82のうちの少なくとも1つは、論理回路等のハードウェアによって実現されてもよい。 (Modification 14) In the above embodiment, the CPU 32 of the MFP 10 executes a program (i.e., software) in the memory 34 to realize the functions of the units 40 to 47. Alternatively, 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.

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

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

Claims (15)

携帯端末と対象データの通信を実行するための通信装置であって、
前記携帯端末と無線通信を実行するための第1種のインターフェースと、
前記携帯端末と無線通信を実行するための第2種のインターフェースであって、前記第2種のインターフェースを介した無線通信の通信速度は、前記第1種のインターフェースを介した無線通信の通信速度よりも速い、前記第2種のインターフェースと、
装置側制御部と、を備え、
前記装置側制御部は、
前記携帯端末から、前記第1種のインターフェースを介して、特定データを受信する特定データ受信部と、
前記特定データが受信される際に、前記通信装置が第1の無線ネットワークに属している第1の場合に、前記携帯端末が前記第1の無線ネットワークを利用して無線通信を実行するための第1の情報を、前記第1種のインターフェースを介して、前記携帯端末に送信する第1の情報送信部であって、前記第1の無線ネットワークは、前記第2種のインターフェースを介した無線通信を実行するための無線ネットワークである、前記第1の情報送信部と、
前記特定データが受信される際に、前記通信装置が、前記第1の無線ネットワークに属していないが、第2の無線ネットワークに属している第2の場合に、第3の無線ネットワークを新たに形成する形成部であって、前記第2の無線ネットワーク及び第3の無線ネットワークのそれぞれは、前記第2種のインターフェースを介した無線通信を実行するための無線ネットワークである、前記形成部と、
前記第2の場合に、前記携帯端末が前記第2の無線ネットワークを利用して無線通信を実行するための第2の情報と、前記携帯端末が前記第3の無線ネットワークを利用して無線通信を実行するための第3の情報とを、前記第1種のインターフェースを介して、前記携帯端末に送信する第2の情報送信部と、
前記第1の場合に、前記第1の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行し、前記第2の場合に、前記第2の無線ネットワーク又は前記第3の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行する装置側通信実行部と、
を備える通信装置。
A communication apparatus for executing communication of target data with a portable terminal, the communication apparatus comprising:
A first type of interface for performing wireless communication with the mobile terminal;
A second type interface for performing wireless communication with the portable terminal, wherein a communication speed of wireless communication via the second type interface is a communication speed of wireless communication via the first type interface Said second type of interface, which is faster than
An apparatus-side control unit,
The device side control unit
A specific data receiving unit for receiving specific data from the portable terminal via the first type interface;
When the specific data is received, the portable terminal performs wireless communication using the first wireless network, in the first case where the communication device belongs to the first wireless network. A first information transmitter configured to transmit first information to the portable terminal via the first type interface, wherein the first wireless network is a wireless type via the second type interface The first information transmission unit, which is a wireless network for performing communication;
When the specific data is received, a third wireless network is newly added in the second case where the communication device does not belong to the first wireless network but belongs to the second wireless network. The forming unit, wherein each of the second wireless network and the third wireless network is a wireless network for performing wireless communication via the second type interface;
In the second case, second information for the mobile terminal to execute wireless communication using the second wireless network, and the mobile terminal wireless communication using the third wireless network A second information transmission unit that transmits, to the portable terminal via the first type of interface, third information for executing the control;
In the first case, communication of the target data with the portable terminal is performed using the first wireless network, and in the second case, the second wireless network or the third wireless An apparatus-side communication execution unit that executes communication between the mobile terminal and the target data using a network;
A communication device comprising
前記第1の無線ネットワーク及び第3の無線ネットワークのそれぞれは、前記通信装置が親局として動作する無線ネットワークであり、
前記第2の無線ネットワークは、前記通信装置が子局として動作する無線ネットワークである、請求項1に記載の通信装置。
Each of the first wireless network and the third wireless network is a wireless network in which the communication device operates as a master station,
The communication device according to claim 1, wherein the second wireless network is a wireless network in which the communication device operates as a slave station.
前記特定データは、前記携帯端末が属している無線ネットワークを識別するための識別情報を含み、
前記装置側制御部は、さらに、
前記第2の場合に、前記識別情報を用いて、前記携帯端末が前記第2の無線ネットワークに属しているのか否かを判断する第1の判断部を備え、
前記形成部は、前記第2の場合に、前記携帯端末が前記第2の無線ネットワークに属していると判断されるのか否かに関わらず、前記第3の無線ネットワークを新たに形成し、 前記第2の情報送信部は、前記第2の場合において、前記携帯端末が前記第2の無線ネットワークに属していると判断される場合に、前記第2の情報と前記第3の情報とを、前記第1種のインターフェースを介して、前記携帯端末に送信し、
前記装置側制御部は、さらに、
前記第2の場合において、前記携帯端末が前記第2の無線ネットワークに属していないと判断される場合に、前記第2の情報を送信せずに、前記第3の情報を、前記第1種のインターフェースを介して、前記携帯端末に送信する第3の情報送信部を備え、
前記装置側通信実行部は、
前記第2の場合において、前記携帯端末が前記第2の無線ネットワークに属していると判断される場合に、前記第2の無線ネットワーク又は前記第3の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行し、
前記第2の場合において、前記携帯端末が前記第2の無線ネットワークに属していないと判断される場合に、前記第3の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行する、請求項1又は2に記載の通信装置。
The specific data includes identification information for identifying a wireless network to which the mobile terminal belongs,
The device control unit further includes
In the second case, a first determination unit is used to determine whether the mobile terminal belongs to the second wireless network using the identification information;
The forming unit newly forms the third wireless network regardless of whether or not the mobile terminal is determined to belong to the second wireless network in the second case. The second information transmission unit, in the second case, when it is determined that the portable terminal belongs to the second wireless network, the second information and the third information, Send to the mobile terminal via the first type of interface,
The device control unit further includes
In the second case, when it is determined that the portable terminal does not belong to the second wireless network, the third information may be transmitted as the first type without transmitting the second information. A third information transmission unit for transmitting to the portable terminal via the interface of
The device side communication execution unit
In the second case, when it is determined that the mobile terminal belongs to the second wireless network, the second mobile network or the third wireless network is used to Execute communication of the target data,
In the second case, when it is determined that the portable terminal does not belong to the second wireless network, communication of the target data with the portable terminal is performed using the third wireless network The communication apparatus according to claim 1, wherein
前記第2の情報送信部は、さらに、前記第2の情報と前記第3の情報とを送信すべき場合に、前記第3の無線ネットワークと比べて前記第2の無線ネットワークを優先的に利用することを前記携帯端末に指示するための指示情報を、前記第1種のインターフェースを介して、前記携帯端末に送信する、請求項3に記載の通信装置。   The second information transmission unit further preferentially uses the second wireless network compared to the third wireless network when the second information and the third information are to be transmitted. The communication device according to claim 3, wherein instruction information for instructing the portable terminal to do is transmitted to the portable terminal via the first type interface. 前記特定データは、前記携帯端末が属している無線ネットワークを識別するための識別情報を含み、
前記装置側制御部は、さらに、
前記第1の場合において、前記通信装置が、前記第1の無線ネットワークのみならず、第4の無線ネットワークにも属している場合に、前記識別情報を用いて、前記携帯端末が前記第4の無線ネットワークに属しているのか否かを判断する第2の判断部であって、前記第4の無線ネットワークは、前記第2種のインターフェースを介した無線通信を実行するための無線ネットワークである、前記第2の判断部と、
前記第1の情報送信部は、
前記第1の場合において、前記携帯端末が前記第4の無線ネットワークに属していると判断される場合に、前記第1の情報と、前記携帯端末が前記第4の無線ネットワークを利用して無線通信を実行するための第4の情報とを、前記第1種のインターフェースを介して、前記携帯端末に送信し、
前記第1の場合において、前記携帯端末が前記第4の無線ネットワークに属していないと判断される場合に、前記第4の情報を送信せずに、前記第1の情報を、前記第1種のインターフェースを介して、前記携帯端末に送信し、
前記装置側通信実行部は、
前記第1の場合において、前記携帯端末が前記第4の無線ネットワークに属していると判断される場合に、前記第1の無線ネットワーク又は前記第4の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行し、
前記第1の場合において、前記携帯端末が前記第4の無線ネットワークに属していないと判断される場合に、前記第1の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行する、請求項1から4のいずれか一項に記載の通信装置。
The specific data includes identification information for identifying a wireless network to which the mobile terminal belongs,
The device control unit further includes
In the first case, when the communication device belongs not only to the first wireless network but also to a fourth wireless network, the portable terminal can use the fourth identification information by using the identification information. A second determination unit that determines whether or not the mobile station belongs to a wireless network, wherein the fourth wireless network is a wireless network for performing wireless communication via the second type interface. The second determination unit;
The first information transmission unit
In the first case, when it is determined that the portable terminal belongs to the fourth wireless network, the first information and the portable terminal wirelessly using the fourth wireless network Transmitting fourth information for executing communication to the portable terminal via the first type interface;
In the first case, when it is determined that the portable terminal does not belong to the fourth wireless network, the first information may be transmitted without transmitting the fourth information. Send to the mobile terminal via the interface of
The device side communication execution unit
In the first case, when it is determined that the portable terminal belongs to the fourth wireless network, the first wireless network or the fourth wireless network is used to Execute communication of the target data,
In the first case, when it is determined that the portable terminal does not belong to the fourth wireless network, communication of the target data with the portable terminal is performed using the first wireless network The communication apparatus according to any one of claims 1 to 4, wherein
前記第4の無線ネットワークは、前記通信装置が子局として動作する無線ネットワークである、請求項5に記載の通信装置。   The communication device according to claim 5, wherein the fourth wireless network is a wireless network in which the communication device operates as a slave station. 前記第1の情報送信部は、さらに、前記第1の情報と前記第4の情報とを送信すべき場合に、前記第1の無線ネットワークと比べて前記第4の無線ネットワークを優先的に利用することを前記携帯端末に指示するための指示情報を、前記第1種のインターフェースを介して、前記携帯端末に送信する、請求項5又は6に記載の通信装置。   The first information transmission unit further preferentially uses the fourth wireless network as compared to the first wireless network when the first information and the fourth information are to be transmitted. The communication device according to claim 5 or 6, wherein instruction information for instructing the portable terminal to do is transmitted to the portable terminal via the first type interface. 前記装置側通信実行部は、さらに、前記第1、第2、及び、第3の無線ネットワークを含む複数個の無線ネットワークのうちの特定の無線ネットワークであって、前記通信装置及び前記携帯端末の両方が属している前記特定の無線ネットワークを利用して、前記携帯端末から確認信号を受信する場合に、前記特定の無線ネットワークを利用して、前記確認信号に対する確認応答信号を送信し、
前記装置側通信実行部は、前記確認信号及び前記確認応答信号の通信に利用された前記特定の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行する、請求項1から7のいずれか一項に記載の通信装置。
The device-side communication execution unit is a specific wireless network among a plurality of wireless networks including the first, second, and third wireless networks, further comprising: the communication device and the portable terminal When the confirmation signal is received from the portable terminal using the specific wireless network to which both belong, an acknowledgment response signal to the confirmation signal is transmitted using the specific wireless network;
The device side communication execution unit executes communication of the target data with the portable terminal using the specific wireless network used for communication of the confirmation signal and the confirmation response signal. The communication device according to any one of the above.
前記第1の情報は、前記第1の無線ネットワークを利用して無線通信を実行するための無線設定情報を含み、
前記第2の情報は、前記第2の無線ネットワークを利用して無線通信を実行するための無線設定情報を含み、
前記第3の情報は、前記第3の無線ネットワークを利用して無線通信を実行するための無線設定情報を含む、請求項1から8のいずれか一項に記載の通信装置。
The first information includes wireless setting information for performing wireless communication using the first wireless network,
The second information includes wireless setting information for performing wireless communication using the second wireless network,
The communication apparatus according to any one of claims 1 to 8, wherein the third information includes wireless setting information for performing wireless communication using the third wireless network.
携帯端末と対象データの通信を実行するための通信装置であって、
前記携帯端末と無線通信を実行するための第1種のインターフェースと、
前記携帯端末と無線通信を実行するための第2種のインターフェースであって、前記第2種のインターフェースを介した無線通信の通信速度は、前記第1種のインターフェースを介した無線通信の通信速度よりも速い、前記第2種のインターフェースと、
装置側制御部と、を備え、
前記装置側制御部は、
前記携帯端末から、前記第1種のインターフェースを介して、特定データを受信する特定データ受信部であって、前記特定データは、前記携帯端末が属している無線ネットワークを識別するための識別情報を含む、前記特定データ受信部と、
前記特定データが受信される際に、前記通信装置が第5の無線ネットワークに属している場合に、前記識別情報を用いて、前記携帯端末が前記第5の無線ネットワークに属しているのか否かを判断する判断部であって、前記第5の無線ネットワークは、前記通信装置が、子局として動作して、前記第2種のインターフェースを介した無線通信を実行するための無線ネットワークである、前記判断部と、
前記携帯端末が前記第5の無線ネットワークに属していると判断される第3の場合に、前記携帯端末が前記第5の無線ネットワークを利用して無線通信を実行するための第5の情報と、前記携帯端末が第6の無線ネットワークを利用して無線通信を実行するための第6の情報とを、前記第1種のインターフェースを介して、前記携帯端末に送信し、
前記携帯端末が前記第5の無線ネットワークに属していないと判断される第4の場合に、前記第5の情報を送信せずに、前記第6の情報を、前記第1種のインターフェースを介して、前記携帯端末に送信する情報送信部であって、
前記第6の無線ネットワークは、前記通信装置が、親局として動作して、前記第2種のインターフェースを介した無線通信を実行するための無線ネットワークである、前記情報送信部と、
前記第3の場合に、前記第5の無線ネットワーク又は前記第6の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行し、前記第4の場合に、前記第6の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行する装置側通信実行部と、
を備える通信装置。
A communication apparatus for executing communication of target data with a portable terminal, the communication apparatus comprising:
A first type of interface for performing wireless communication with the mobile terminal;
A second type interface for performing wireless communication with the portable terminal, wherein a communication speed of wireless communication via the second type interface is a communication speed of wireless communication via the first type interface Said second type of interface, which is faster than
An apparatus-side control unit,
The device side control unit
A specific data receiving unit for receiving specific data from the portable terminal via the first type interface, wherein the specific data is identification information for identifying a wireless network to which the portable terminal belongs. The specific data receiving unit including
When the communication device belongs to a fifth wireless network when the specific data is received, whether the portable terminal belongs to the fifth wireless network using the identification information The fifth wireless network is a wireless network for the communication device to operate as a slave station to execute wireless communication via the second type interface. The determination unit;
In the third case where it is determined that the portable terminal belongs to the fifth wireless network, fifth information for the wireless terminal to execute wireless communication using the fifth wireless network Transmitting the sixth information for the mobile terminal to execute wireless communication using a sixth wireless network to the mobile terminal via the first type interface;
In a fourth case where it is determined that the portable terminal does not belong to the fifth wireless network, the sixth information is transmitted via the first type interface without transmitting the fifth information. Information transmission unit for transmitting information to the mobile terminal;
The sixth wireless network, the information transmitting unit being a wireless network for the communication device to operate as a master station to execute wireless communication via the second type interface;
In the third case, communication of the target data with the portable terminal is executed using the fifth wireless network or the sixth wireless network, and in the fourth case, the sixth wireless An apparatus-side communication execution unit that executes communication between the mobile terminal and the target data using a network;
A communication device comprising
通信装置と対象データの通信を実行するための携帯端末であって、
前記通信装置と無線通信を実行するための第1種のインターフェースと、
前記通信装置と無線通信を実行するための第2種のインターフェースであって、前記第2種のインターフェースを介した無線通信の通信速度は、前記第1種のインターフェースを介した無線通信の通信速度よりも速い、前記第2種のインターフェースと、
端末側制御部と、を備え、
前記端末側制御部は、
特定データを、前記第1種のインターフェースを介して、前記通信装置に送信する特定データ送信部と、
前記特定データが送信された後に、前記通信装置から、前記第1種のインターフェースを介して、前記携帯端末が無線ネットワークを利用して無線通信を実行するための特定情報を受信する情報受信部と、
前記特定情報が、前記携帯端末が1個の無線ネットワークを利用して無線通信を実行するための1個の情報を含み、前記1個の無線ネットワークとは異なる他の無線ネットワークを利用して無線通信を実行するための他の情報を含まない場合に、前記1個の無線ネットワークを利用して、前記通信装置と前記対象データの通信を実行し、
前記特定情報が、前記1個の情報と前記他の情報とを含む複数個の情報を含む場合に、前記1個の無線ネットワークと前記他の無線ネットワークとを含む複数個の無線ネットワークのそれぞれを順次利用して、前記通信装置と前記対象データの通信を実行する端末側通信実行部であって、
前記複数個の無線ネットワークのそれぞれは、前記第2種のインターフェースを介した無線通信を実行するための無線ネットワークである、前記端末側通信実行部と、
を備える携帯端末。
A portable terminal for executing communication between a communication device and target data,
A first type of interface for performing wireless communication with the communication device;
A second type interface for performing wireless communication with the communication device, wherein a communication speed of wireless communication via the second type interface is a communication speed of wireless communication via the first type interface Said second type of interface, which is faster than
A terminal-side control unit,
The terminal side control unit
A specific data transmission unit that transmits specific data to the communication device via the first type of interface;
An information receiving unit for receiving, from the communication device via the first type interface, specific information for the portable terminal to execute wireless communication using a wireless network after the specific data is transmitted; ,
The specific information includes one piece of information for the mobile terminal to perform wireless communication using one wireless network, and wireless using another wireless network different from the one wireless network In the case where no other information for performing communication is included, communication of the target data with the communication device is performed using the one wireless network.
When the specific information includes a plurality of information including the one information and the other information, each of the plurality of wireless networks including the one wireless network and the other wireless network is selected. A terminal side communication execution unit that executes communication between the communication device and the target data sequentially using
Each of the plurality of wireless networks is a wireless network for performing wireless communication via the second type interface, and the terminal side communication execution unit;
Mobile terminal equipped with
前記端末側通信実行部は、前記特定情報が前記複数個の情報を含む場合に、前記複数個の無線ネットワークのそれぞれを順次利用して、確認信号を前記通信装置に送信し、
前記端末側通信実行部は、前記複数個の無線ネットワークのうちの特定の無線ネットワークを利用して、前記通信装置から、前記確認信号に対する確認応答信号を受信する場合に、前記特定の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行する、請求項11に記載の携帯端末。
When the specific information includes the plurality of pieces of information, the terminal-side communication execution unit sequentially transmits a confirmation signal to the communication device using each of the plurality of wireless networks.
When the terminal-side communication execution unit receives a confirmation response signal to the confirmation signal from the communication device using a specific wireless network among the plurality of wireless networks, the terminal-side communication execution unit performs The mobile terminal according to claim 11, wherein communication is performed between the mobile terminal and the target data using the mobile terminal.
携帯端末と対象データの通信を実行するための通信装置のためのコンピュータプログラムであって、
前記通信装置は、
前記携帯端末と無線通信を実行するための第1種のインターフェースと、
前記携帯端末と無線通信を実行するための第2種のインターフェースであって、前記第2種のインターフェースを介した無線通信の通信速度は、前記第1種のインターフェースを介した無線通信の通信速度よりも速い、前記第2種のインターフェースと、を備え、
前記コンピュータプログラムは、前記通信装置に搭載されるコンピュータに、以下の各処理、即ち、
前記携帯端末から、前記第1種のインターフェースを介して、特定データを受信する特定データ受信処理と、
前記特定データが受信される際に、前記通信装置が第1の無線ネットワークに属している第1の場合に、前記携帯端末が前記第1の無線ネットワークを利用して無線通信を実行するための第1の情報を、前記第1種のインターフェースを介して、前記携帯端末に送信する第1の情報送信処理であって、前記第1の無線ネットワークは、前記第2種のインターフェースを介した無線通信を実行するための無線ネットワークである、前記第1の情報送信処理と、
前記特定データが受信される際に、前記通信装置が、前記第1の無線ネットワークに属していないが、第2の無線ネットワークに属している第2の場合に、第3の無線ネットワークを新たに形成する形成処理であって、前記第2の無線ネットワーク及び第3の無線ネットワークのそれぞれは、前記第2種のインターフェースを介した無線通信を実行するための無線ネットワークである、前記形成処理と、
前記第2の場合に、前記携帯端末が前記第2の無線ネットワークを利用して無線通信を実行するための第2の情報と、前記携帯端末が前記第3の無線ネットワークを利用して無線通信を実行するための第3の情報とを、前記第1種のインターフェースを介して、前記携帯端末に送信する第2の情報送信処理と、
前記第1の場合に、前記第1の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行し、前記第2の場合に、前記第2の無線ネットワーク又は前記第3の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行する装置側通信実行処理と、
を実行させる、コンピュータプログラム。
A computer program for a communication device for performing communication of a portable terminal and target data, comprising:
The communication device is
A first type of interface for performing wireless communication with the mobile terminal;
A second type interface for performing wireless communication with the portable terminal, wherein a communication speed of wireless communication via the second type interface is a communication speed of wireless communication via the first type interface An interface of the second type, which is faster than
The computer program causes the computer installed in the communication device to perform the following processing:
Specific data reception processing for receiving specific data from the portable terminal via the first type interface;
When the specific data is received, the portable terminal performs wireless communication using the first wireless network, in the first case where the communication device belongs to the first wireless network. A first information transmission process for transmitting first information to the portable terminal via the first type interface, wherein the first wireless network is a wireless type via the second type interface The first information transmission process, which is a wireless network for performing communication;
When the specific data is received, a third wireless network is newly added in the second case where the communication device does not belong to the first wireless network but belongs to the second wireless network. The forming process, wherein each of the second wireless network and the third wireless network is a wireless network for executing wireless communication via the second type interface;
In the second case, second information for the mobile terminal to execute wireless communication using the second wireless network, and the mobile terminal wireless communication using the third wireless network A second information transmission process of transmitting to the portable terminal via the first type of interface, and third information for executing the step of
In the first case, communication of the target data with the portable terminal is performed using the first wireless network, and in the second case, the second wireless network or the third wireless Device-side communication execution processing for executing communication between the mobile terminal and the target data using a network;
A computer program that runs
携帯端末と対象データの通信を実行するための通信装置のためのコンピュータプログラムであって、
前記通信装置は、
前記携帯端末と無線通信を実行するための第1種のインターフェースと、
前記携帯端末と無線通信を実行するための第2種のインターフェースであって、前記第2種のインターフェースを介した無線通信の通信速度は、前記第1種のインターフェースを介した無線通信の通信速度よりも速い、前記第2種のインターフェースと、を備え、
前記コンピュータプログラムは、前記通信装置に搭載されるコンピュータに、以下の各処理、即ち、
前記携帯端末から、前記第1種のインターフェースを介して、特定データを受信する特定データ受信処理であって、前記特定データは、前記携帯端末が属している無線ネットワークを識別するための識別情報を含む、前記特定データ受信処理と、
前記特定データが受信される際に、前記通信装置が第5の無線ネットワークに属している場合に、前記識別情報を用いて、前記携帯端末が前記第5の無線ネットワークに属しているのか否かを判断する判断処理であって、前記第5の無線ネットワークは、前記通信装置が、子局として動作して、前記第2種のインターフェースを介した無線通信を実行するための無線ネットワークである、前記判断処理と、
前記携帯端末が前記第5の無線ネットワークに属していると判断される第3の場合に、前記携帯端末が前記第5の無線ネットワークを利用して無線通信を実行するための第5の情報と、前記携帯端末が第6の無線ネットワークを利用して無線通信を実行するための第6の情報とを、前記第1種のインターフェースを介して、前記携帯端末に送信し、
前記携帯端末が前記第5の無線ネットワークに属していないと判断される第4の場合に、前記第5の情報を送信せずに、前記第6の情報を、前記第1種のインターフェースを介して、前記携帯端末に送信する情報送信処理であって、
前記第6の無線ネットワークは、前記通信装置が、親局として動作して、前記第2種のインターフェースを介した無線通信を実行するための無線ネットワークである、前記情報送信処理と、
前記第3の場合に、前記第5の無線ネットワーク又は前記第6の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行し、前記第4の場合に、前記第6の無線ネットワークを利用して、前記携帯端末と前記対象データの通信を実行する装置側通信実行処理と、
を実行させる、コンピュータプログラム。
A computer program for a communication device for performing communication of a portable terminal and target data, comprising:
The communication device is
A first type of interface for performing wireless communication with the mobile terminal;
A second type interface for performing wireless communication with the portable terminal, wherein a communication speed of wireless communication via the second type interface is a communication speed of wireless communication via the first type interface An interface of the second type, which is faster than
The computer program causes the computer installed in the communication device to perform the following processing:
Specific data reception processing for receiving specific data from the portable terminal via the first type interface, wherein the specific data is identification information for identifying a wireless network to which the portable terminal belongs. The specific data reception process including
When the communication device belongs to a fifth wireless network when the specific data is received, whether the portable terminal belongs to the fifth wireless network using the identification information The fifth wireless network is a wireless network for the communication device to operate as a slave station to execute wireless communication via the second type interface. The determination process;
In the third case where it is determined that the portable terminal belongs to the fifth wireless network, fifth information for the wireless terminal to execute wireless communication using the fifth wireless network Transmitting the sixth information for the mobile terminal to execute wireless communication using a sixth wireless network to the mobile terminal via the first type interface;
In a fourth case where it is determined that the portable terminal does not belong to the fifth wireless network, the sixth information is transmitted via the first type interface without transmitting the fifth information. Information transmission processing to be transmitted to the mobile terminal;
The information transmission process, wherein the sixth wireless network is a wireless network for the communication device to operate as a master station to execute wireless communication via the second type interface;
In the third case, communication of the target data with the portable terminal is executed using the fifth wireless network or the sixth wireless network, and in the fourth case, the sixth wireless Device-side communication execution processing for executing communication between the mobile terminal and the target data using a network;
A computer program that runs
通信装置と対象データの通信を実行するための携帯端末のためのコンピュータプログラムであって、
前記携帯端末は、
前記通信装置と無線通信を実行するための第1種のインターフェースと、
前記通信装置と無線通信を実行するための第2種のインターフェースであって、前記第2種のインターフェースを介した無線通信の通信速度は、前記第1種のインターフェースを介した無線通信の通信速度よりも速い、前記第2種のインターフェースと、を備え、
前記コンピュータプログラムは、前記携帯端末に搭載されるコンピュータに、以下の各処理、即ち、
特定データを、前記第1種のインターフェースを介して、前記通信装置に送信する特定データ送信処理と、
前記特定データが送信された後に、前記通信装置から、前記第1種のインターフェースを介して、前記携帯端末が無線ネットワークを利用して無線通信を実行するための特定情報を受信する情報受信処理と、
前記特定情報が、前記携帯端末が1個の無線ネットワークを利用して無線通信を実行するための1個の情報を含み、前記1個の無線ネットワークとは異なる他の無線ネットワークを利用して無線通信を実行するための他の情報を含まない場合に、前記1個の無線ネットワークを利用して、前記通信装置と前記対象データの通信を実行し、
前記特定情報が、前記1個の情報と前記他の情報とを含む複数個の情報を含む場合に、前記1個の無線ネットワークと前記他の無線ネットワークとを含む複数個の無線ネットワークのそれぞれを順次利用して、前記通信装置と前記対象データの通信を実行する端末側通信実行処理であって、
前記複数個の無線ネットワークのそれぞれは、前記第2種のインターフェースを介した無線通信を実行するための無線ネットワークである、前記端末側通信実行処理と、
を実行させる、コンピュータプログラム。
A computer program for a portable terminal for performing communication of target data with a communication device, comprising:
The portable terminal is
A first type of interface for performing wireless communication with the communication device;
A second type interface for performing wireless communication with the communication device, wherein a communication speed of wireless communication via the second type interface is a communication speed of wireless communication via the first type interface An interface of the second type, which is faster than
The computer program causes the computer mounted on the mobile terminal to perform the following processing:
A specific data transmission process of transmitting specific data to the communication device via the first type interface;
An information receiving process for receiving, from the communication device via the first type of interface, specific information for the portable terminal to execute wireless communication using a wireless network after the specific data is transmitted; ,
The specific information includes one piece of information for the mobile terminal to perform wireless communication using one wireless network, and wireless using another wireless network different from the one wireless network In the case where no other information for performing communication is included, communication of the target data with the communication device is performed using the one wireless network.
When the specific information includes a plurality of information including the one information and the other information, each of the plurality of wireless networks including the one wireless network and the other wireless network is selected. A terminal-side communication execution process that executes communication between the communication device and the target data sequentially using
Each of the plurality of wireless networks is a wireless network for executing wireless communication via the second type interface, the terminal side communication execution processing;
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 true JP2019075833A (en) 2019-05-16
JP6662478B2 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)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060104200A1 (en) * 2004-11-18 2006-05-18 Samsung Electronics Co., Ltd. Terminal for automatically changing operating mode and wireless network system having the same, and method thereof
JP2009212732A (en) * 2008-03-03 2009-09-17 Sony Corp Communication device and communication method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060104200A1 (en) * 2004-11-18 2006-05-18 Samsung Electronics Co., Ltd. Terminal for automatically changing operating mode and wireless network system having the same, and method thereof
JP2009212732A (en) * 2008-03-03 2009-09-17 Sony Corp Communication device and communication method

Also Published As

Publication number Publication date
JP6662478B2 (en) 2020-03-11

Similar Documents

Publication Publication Date Title
US11902869B2 (en) Communication device
JP5857850B2 (en) Communication device
JP6019881B2 (en) Communication device and portable terminal
JP5915338B2 (en) Communication device
JP5945961B2 (en) Communication equipment
JP5754254B2 (en) Wireless communication device
JP6015315B2 (en) Communication device
JP6183445B2 (en) Communication device
JP6183506B2 (en) Communication device
JP6249075B2 (en) Communication device and portable terminal
JP6662478B2 (en) Communication device and mobile terminal
JP6860099B2 (en) Communication devices and mobile terminals
JP6481743B2 (en) Communication device and portable terminal
JP6149970B2 (en) Communication device
JP2014045379A (en) Communication device and computer program for mobile terminal
JP6795067B2 (en) Communication device
JP6601463B2 (en) Communication device
JP6583506B2 (en) Communication device
JP6645477B2 (en) Communication device
JP6525093B2 (en) Communication equipment
JP6544468B2 (en) Wireless communication device
JP6414617B2 (en) Communication device
JP2021013203A (en) Communication device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

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 Request for written amendment filed

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