JP6191719B2 - Terminal device and function execution device - Google Patents

Terminal device and function execution device Download PDF

Info

Publication number
JP6191719B2
JP6191719B2 JP2016059712A JP2016059712A JP6191719B2 JP 6191719 B2 JP6191719 B2 JP 6191719B2 JP 2016059712 A JP2016059712 A JP 2016059712A JP 2016059712 A JP2016059712 A JP 2016059712A JP 6191719 B2 JP6191719 B2 JP 6191719B2
Authority
JP
Japan
Prior art keywords
communication
mfp
function execution
specific
communication method
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2016059712A
Other languages
Japanese (ja)
Other versions
JP2016154355A (en
Inventor
隆延 鈴木
隆延 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2016059712A priority Critical patent/JP6191719B2/en
Publication of JP2016154355A publication Critical patent/JP2016154355A/en
Application granted granted Critical
Publication of JP6191719B2 publication Critical patent/JP6191719B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Description

本明細書では、印刷機能を実行可能な機能実行装置と、当該機能実行装置と通信可能な端末装置と、を開示する。   In the present specification, a function execution device capable of executing a printing function and a terminal device capable of communicating with the function execution device are disclosed.

特許文献1には、複数の無線電話機と、電話制御装置と、を備える電話システムが開示されている。電話制御装置は、無線LAN基地局が使用を開始したチャネル番号を検出すると、当該チャネル番号を各無線電話機に通知する。各無線電話機は、通知されたチャネル番号を利用する。   Patent Document 1 discloses a telephone system including a plurality of wireless telephones and a telephone control device. When the telephone control device detects the channel number that the wireless LAN base station has started to use, the telephone control device notifies each wireless telephone of the channel number. Each wireless telephone uses the notified channel number.

特開2007−096445号公報JP 2007-096445 A

本明細書では、端末装置から機能実行装置への印刷データの送信を適切に実行し得る技術を提供する。   The present specification provides a technique capable of appropriately executing transmission of print data from a terminal device to a function execution device.

本明細書によって開示される端末装置は、第1の受信部と、選択部と、第1の送信部と、を備える。第1の受信部は、印刷機能を実行可能な第1の機能実行装置から、第1の機能実行装置に関係する第1の情報を受信する。選択部は、第1の情報が受信される場合に、第1の情報を利用して、互いに異なるM1個(M1は2以上の整数)の通信方式の中から、特定の通信方式を選択する。M1個の通信方式のそれぞれは、第1の機能実行装置が印刷データを受信するために利用可能な通信方式である。第1の送信部は、M1個の通信方式の中から特定の通信方式が選択される場合に、特定の通信方式に従って、第1の印刷データを第1の機能実行装置に送信する。   The terminal device disclosed by this specification is provided with a 1st receiving part, a selection part, and a 1st transmission part. The first receiving unit receives first information related to the first function execution device from the first function execution device capable of executing the print function. When the first information is received, the selection unit uses the first information to select a specific communication method from among M1 (M1 is an integer of 2 or more) different communication methods. . Each of the M1 communication methods is a communication method that can be used by the first function execution apparatus to receive print data. The first transmission unit transmits the first print data to the first function execution device according to the specific communication method when a specific communication method is selected from the M1 communication methods.

この構成によると、端末装置は、第1の機能実行装置から第1の情報が受信される場合に、第1の機能実行装置が印刷データを受信するために利用可能な2個以上の通信方式の中から、特定の通信方式を選択することができる。このために、端末装置は、選択済みの特定の通信方式に従って、第1の印刷データを第1の機能実行装置に適切に送信することができる。   According to this configuration, when the first information is received from the first function execution device, the terminal device can use two or more communication methods that can be used by the first function execution device to receive print data. A specific communication method can be selected from the list. For this reason, the terminal device can appropriately transmit the first print data to the first function execution device according to the selected specific communication method.

M1個の通信方式のそれぞれは、互いに異なる通信プロトコルを利用する通信方式であってもよい。   Each of the M1 communication systems may be a communication system using different communication protocols.

第1の情報は、インターネットを介した通信のための第1の通信設定情報が第1の機能実行装置のメモリに記憶されている場合に、第1の機能実行装置が第1の通信方式を含むM1個の通信方式を利用可能であることを示す第1のデータを含み、第1の通信設定情報が第1の機能実行装置のメモリに記憶されていない場合に、第1の機能実行装置が第1の通信方式を含まないM1個の通信方式を利用可能であることを示す第2のデータを含んでいてもよい。第1の通信方式は、第1の機能実行装置が、インターネットを介して、印刷データを受信するための通信方式であってもよい。選択部は、第1の情報が第1のデータを含む場合に、第1の通信方式を含むM1個の通信方式の中から、特定の通信方式を選択し、第1の情報が第2のデータを含む場合に、第1の通信方式を含まないM1個の通信方式の中から、特定の通信方式を選択してもよい。この構成によると、端末装置は、第1の情報に含まれるデータに応じて、特定の通信方式を適切に選択することができる。   The first information is that the first function execution device uses the first communication method when the first communication setting information for communication via the Internet is stored in the memory of the first function execution device. The first function execution device when the first communication setting information is not stored in the memory of the first function execution device, including the first data indicating that the M1 communication methods can be used. May include second data indicating that M1 communication methods that do not include the first communication method can be used. The first communication method may be a communication method for the first function execution apparatus to receive print data via the Internet. When the first information includes the first data, the selection unit selects a specific communication method from the M1 communication methods including the first communication method, and the first information is the second information When data is included, a specific communication method may be selected from the M1 communication methods not including the first communication method. According to this configuration, the terminal device can appropriately select a specific communication method according to the data included in the first information.

第1の情報は、第1の機能実行装置がインターネット上のサーバに信号を送信して応答を受信する場合に、第1の機能実行装置が第1の通信方式を含むM1個の通信方式を利用可能であることを示す第1のデータを含み、第1の機能実行装置がサーバに信号を送信しても応答を受信しない場合に、第1の機能実行装置が第1の通信方式を含まないM1個の通信方式を利用可能であることを示す第2のデータを含んでいてもよい。第1の通信方式は、第1の機能実行装置が、インターネットを介して、印刷データを受信するための通信方式であってもよい。選択部は、第1の情報が第1のデータを含む場合に、第1の通信方式を含むM1個の通信方式の中から、特定の通信方式を選択し、第1の情報が第2のデータを含む場合に、第1の通信方式を含まないM1個の通信方式の中から、特定の通信方式を選択してもよい。この構成によると、端末装置は、第1の情報に含まれるデータに応じて、特定の通信方式を適切に選択することができる。   The first information is that when the first function execution device transmits a signal to a server on the Internet and receives a response, the first function execution device indicates M1 communication methods including the first communication method. The first function execution device includes the first communication method when the first function execution device does not receive a response even if the first function execution device transmits a signal to the server. Second data indicating that no M1 communication methods can be used may be included. The first communication method may be a communication method for the first function execution apparatus to receive print data via the Internet. When the first information includes the first data, the selection unit selects a specific communication method from the M1 communication methods including the first communication method, and the first information is the second information When data is included, a specific communication method may be selected from the M1 communication methods not including the first communication method. According to this configuration, the terminal device can appropriately select a specific communication method according to the data included in the first information.

第1の情報は、第1の機能実行装置が第2の通信方式を含むM1個の通信方式を利用可能であることを示す第3のデータを含む場合に、さらに、第1の機能実行装置が所属している特定のローカルエリアネットワークを識別するための識別情報を含んでいてもよい。第2の通信方式は、第1の機能実行装置が、ローカルエリアネットワークを利用して、インターネットを介さずに、印刷データを受信するための通信方式であってもよい。端末装置は、さらに、端末装置が特定のローカルエリアネットワークに所属しているのか否かを、識別情報を利用して判断する第1の判断部を備えていてもよい。選択部は、端末装置が特定のローカルエリアネットワークに所属していると判断される場合に、第2の通信方式を含むM1個の通信方式の中から、特定の通信方式を選択し、端末装置が特定のローカルエリアネットワークに所属していないと判断される場合に、第2の通信方式を含むM1個の通信方式の中から、第2の通信方式とは異なる特定の通信方式を選択してもよい。この構成によると、端末装置は、第1の情報に含まれる識別情報を利用した判断結果に応じて、特定の通信方式を適切に選択することができる。   When the first information includes third data indicating that the first function execution device can use M1 communication methods including the second communication method, the first function execution device further includes May include identification information for identifying a specific local area network to which the user belongs. The second communication method may be a communication method for the first function execution device to receive print data using the local area network without going through the Internet. The terminal device may further include a first determination unit that determines whether the terminal device belongs to a specific local area network using the identification information. When it is determined that the terminal device belongs to a specific local area network, the selection unit selects a specific communication method from M1 communication methods including the second communication method, and the terminal device Is determined not to belong to a specific local area network, a specific communication method different from the second communication method is selected from the M1 communication methods including the second communication method. Also good. According to this configuration, the terminal device can appropriately select a specific communication method according to the determination result using the identification information included in the first information.

第1の情報は、第1の機能実行装置が第3の通信方式を含むM1個の通信方式を利用可能であることを示す第4のデータを含んでいてもよい。第3の通信方式は、第1の機能実行装置が、インターネットを介して、印刷データを受信するための通信方式であってもよい。端末装置は、さらに、インターネットを介した通信のための第2の通信設定情報が端末装置のメモリに記憶されているのか否かを判断する第2の判断部を備えていてもよい。選択部は、第2の通信設定情報が端末装置のメモリに記憶されていると判断される場合に、第3の通信方式を含むM1個の通信方式の中から、特定の通信方式を選択し、第2の通信設定情報が端末装置のメモリに記憶されていないと判断される場合に、第3の通信方式を含むM1個の通信方式の中から、第3の通信方式とは異なる特定の通信方式を選択してもよい。この構成によると、端末装置は、第2の通信設定情報が端末装置のメモリに記憶されているのか否かに関する判断結果に応じて、特定の通信方式を適切に選択することができる。   The first information may include fourth data indicating that the first function execution device can use M1 communication methods including the third communication method. The third communication method may be a communication method for the first function execution device to receive print data via the Internet. The terminal device may further include a second determination unit that determines whether or not second communication setting information for communication via the Internet is stored in the memory of the terminal device. When it is determined that the second communication setting information is stored in the memory of the terminal device, the selection unit selects a specific communication method from the M1 communication methods including the third communication method. When it is determined that the second communication setting information is not stored in the memory of the terminal device, the M1 communication methods including the third communication method are different from the third communication method. A communication method may be selected. According to this configuration, the terminal device can appropriately select a specific communication method according to the determination result regarding whether or not the second communication setting information is stored in the memory of the terminal device.

第1の受信部は、さらに、第1の機能実行装置とは異なる第2の機能実行装置であって、印刷機能を実行可能な第2の機能実行装置から、第2の機能実行装置に関係する第2の情報を受信してもよい。選択部は、さらに、第2の情報が受信される場合に、第2の情報を利用して、互いに異なるM2個(M2は2以上の整数)の通信方式の中から、特定の通信方式とは異なる通信方式を選択してもよい。M2個の通信方式のそれぞれは、第2の機能実行装置が印刷データを受信するために利用可能な通信方式であってもよい。第1の送信部は、さらに、M2個の通信方式の中から異なる通信方式が選択される場合に、異なる通信方式に従って、第2の印刷データを第2の機能実行装置に送信してもよい。この構成によると、端末装置は、各機能実行装置に応じて通信方式を適切に選択することができ、各機能実行装置に適切に印刷データを送信することができる。   The first reception unit is further a second function execution device different from the first function execution device, and is related to the second function execution device from the second function execution device capable of executing the print function. The second information may be received. In addition, when the second information is received, the selecting unit uses the second information to select a specific communication method from among M2 different communication methods (M2 is an integer of 2 or more). May select different communication methods. Each of the M2 communication methods may be a communication method that can be used by the second function execution device to receive print data. The first transmission unit may further transmit the second print data to the second function execution device according to a different communication method when a different communication method is selected from the M2 communication methods. . According to this configuration, the terminal device can appropriately select a communication method according to each function execution device, and can appropriately transmit print data to each function execution device.

選択部は、端末装置がローカルエリアネットワークに所属している状態で、第1の情報が受信される場合に、第1の通信方式と第2の通信方式とを含むM1個の通信方式の中から、特定の通信方式として第1の通信方式を選択してもよい。第1の通信方式は、第1の機能実行装置が、インターネットを介して、印刷データを受信するための通信方式であってもよい。第2の通信方式は、第1の機能実行装置が、ローカルエリアネットワークを利用して、インターネットを介さずに、印刷データを受信するための通信方式であってもよい。この構成によると、端末装置は、端末装置がローカルエリアネットワークに所属している状態では、特定の通信方式として第1の通信方式を選択する。このために、端末装置は、第1の通信方式に従って、インターネットを介して、第1の印刷データを第1の機能実行装置に適切に送信することができる。   When the first information is received in a state where the terminal device belongs to the local area network, the selection unit includes the M1 communication methods including the first communication method and the second communication method. Therefore, the first communication method may be selected as the specific communication method. The first communication method may be a communication method for the first function execution apparatus to receive print data via the Internet. The second communication method may be a communication method for the first function execution device to receive print data using the local area network without going through the Internet. According to this configuration, the terminal device selects the first communication method as the specific communication method in a state where the terminal device belongs to the local area network. Therefore, the terminal device can appropriately transmit the first print data to the first function execution device via the Internet according to the first communication method.

選択部は、端末装置がローカルエリアネットワークに所属していない状態で、第1の情報が受信される場合に、第1の通信方式と第2の通信方式とを含むM1個の通信方式の中から、特定の通信方式として第2の通信方式を選択してもよい。第1の通信方式は、第1の機能実行装置が、インターネットを介して、印刷データを受信するための通信方式であってもよい。第2の通信方式は、第1の機能実行装置が、ローカルエリアネットワークを利用して、インターネットを介さずに、印刷データを受信するための通信方式であってもよい。この構成によると、端末装置は、端末装置がローカルエリアネットワークに所属していない状態では、特定の通信方式として第2の通信方式を選択する。このために、端末装置は、第2の通信方式に従って、インターネットを介さずに、第1の印刷データを第1の機能実行装置に適切に送信することができる。   When the first information is received in a state in which the terminal device does not belong to the local area network, the selection unit includes the M1 communication methods including the first communication method and the second communication method. Therefore, the second communication method may be selected as the specific communication method. The first communication method may be a communication method for the first function execution apparatus to receive print data via the Internet. The second communication method may be a communication method for the first function execution device to receive print data using the local area network without going through the Internet. According to this configuration, the terminal device selects the second communication method as the specific communication method in a state where the terminal device does not belong to the local area network. For this reason, the terminal device can appropriately transmit the first print data to the first function execution device without using the Internet according to the second communication method.

選択部は、端末装置及び第1の機能実行装置の両方が所属している特定のローカルエリアネットワークが形成されている状態で、第1の情報が受信される場合に、第1の通信方式と第2の通信方式とを含むM1個の通信方式の中から、特定の通信方式として第2の通信方式を選択してもよい。第1の通信方式は、第1の機能実行装置が、インターネットを介して、印刷データを受信するための通信方式であってもよい。第2の通信方式は、第1の機能実行装置が、ローカルエリアネットワークを利用して、インターネットを介さずに、印刷データを受信するための通信方式であってもよい。この構成によると、端末装置は、端末装置及び第1の機能実行装置の両方が所属している特定のローカルエリアネットワークが形成されている状態では、特定の通信方式として第2の通信方式を選択する。このために、端末装置は、第2の通信方式に従って、インターネットを介さずに、第1の印刷データを第1の機能実行装置に適切に送信することができる。   When the first information is received in a state where a specific local area network to which both the terminal device and the first function execution device belong is formed, the selection unit The second communication method may be selected as a specific communication method from among the M1 communication methods including the second communication method. The first communication method may be a communication method for the first function execution apparatus to receive print data via the Internet. The second communication method may be a communication method for the first function execution device to receive print data using the local area network without going through the Internet. According to this configuration, the terminal device selects the second communication method as the specific communication method when a specific local area network to which both the terminal device and the first function execution device belong is formed. To do. For this reason, the terminal device can appropriately transmit the first print data to the first function execution device without using the Internet according to the second communication method.

端末装置は、さらに、第2の送信部と、第2の受信部と、を備えていてもよい。第2の送信部は、M1個の通信方式の中から特定の通信方式が選択される場合に、特定の通信方式を示す選択結果を第1の機能実行装置に送信してもよい。第2の受信部は、選択結果が第1の機能実行装置に送信された後に、第1の機能実行装置から、特定の通信方式に対応する特定の送信先情報を受信してもよい。特定の送信先情報は、特定の通信方式に従って端末装置から第1の機能実行装置に第1の印刷データを送信するための送信先を示していてもよい。第1の送信部は、特定の送信先情報を利用して、特定の通信方式に従って特定の印刷データを第1の機能実行装置に送信してもよい。この構成によると、端末装置は、特定の通信方式を示す選択結果を第1の機能実行装置に送信することによって、第1の機能実行装置から特定の送信先情報を受信することができる。そして、端末装置は、特定の送信先情報を利用して、第1の印刷データを第1の機能実行装置に適切に送信することができる。   The terminal device may further include a second transmission unit and a second reception unit. The second transmission unit may transmit a selection result indicating the specific communication method to the first function execution device when a specific communication method is selected from the M1 communication methods. The second receiving unit may receive specific transmission destination information corresponding to a specific communication method from the first function execution device after the selection result is transmitted to the first function execution device. The specific transmission destination information may indicate a transmission destination for transmitting the first print data from the terminal device to the first function execution device according to a specific communication method. The first transmission unit may transmit specific print data to the first function execution device according to a specific communication method using specific transmission destination information. According to this configuration, the terminal device can receive specific transmission destination information from the first function execution device by transmitting a selection result indicating a specific communication method to the first function execution device. The terminal device can appropriately transmit the first print data to the first function execution device by using the specific transmission destination information.

第1の情報は、M1個の通信方式に対応するM1個の送信先情報を含んでいてもよい。M1個の送信先情報のそれぞれは、当該送信先情報に対応する通信方式に従って端末装置から第1の機能実行装置に第1の印刷データを送信するための送信先を示していてもよい。第1の送信部は、M1個の送信先情報のうち、特定の通信方式に対応する特定の送信先情報を利用して、特定の通信方式に従って第1の印刷データを第1の機能実行装置に送信してもよい。この構成によると、端末装置は、第1の情報に含まれるM1個の送信先情報のうち、特定の通信方式に対応する特定の送信先情報を利用して、第1の印刷データを第1の機能実行装置に適切に送信することができる。   The first information may include M1 pieces of transmission destination information corresponding to M1 pieces of communication methods. Each of the M1 pieces of transmission destination information may indicate a transmission destination for transmitting the first print data from the terminal device to the first function execution device according to the communication method corresponding to the transmission destination information. The first transmission unit uses the specific transmission destination information corresponding to the specific communication method among the M1 pieces of transmission destination information, and outputs the first print data according to the specific communication method to the first function execution device. May be sent to. According to this configuration, the terminal device uses the specific transmission destination information corresponding to the specific communication method among the M1 transmission destination information included in the first information, and outputs the first print data to the first print data. Can be appropriately transmitted to the function execution device.

第1の送信部は、特定の通信方式が第2の通信方式であり、かつ、端末装置及び第1の機能実行装置の両方が所属している特定のローカルエリアネットワークが形成されている状態で、第1の情報が受信される場合に、特定のローカルエリアネットワークを利用して、第1の印刷データを第1の機能実行装置に送信し、特定の通信方式が第2の通信方式であり、かつ、特定のローカルエリアネットワークが形成されていない状態で、第1の情報が受信される場合に、端末装置及び第1の機能実行装置の間に無線接続を新たに確立し、無線接続が新たに確立されたことで形成された他のローカルエリアネットワークであって、端末装置及び第1の機能実行装置の両方が所属している他のローカルエリアネットワークを利用して、第1の印刷データを第1の機能実行装置に送信してもよい。第2の通信方式は、第1の機能実行装置が、ローカルエリアネットワークを利用して、インターネットを介さずに、印刷データを受信するための通信方式であってもよい。この構成によると、端末装置は、端末装置及び第1の機能実行装置の両方が所属している特定のローカルエリアネットワークが形成されているのか否かに応じて、適切な手法を利用して、第1の印刷データを第1の機能実行装置に送信することができる。   The first transmission unit is in a state where the specific communication method is the second communication method and a specific local area network to which both the terminal device and the first function execution device belong is formed. When the first information is received, the first print data is transmitted to the first function execution device using the specific local area network, and the specific communication method is the second communication method. When the first information is received in a state where a specific local area network is not formed, a wireless connection is newly established between the terminal device and the first function execution device, and the wireless connection is established. The first print data is created using another local area network formed by newly established, to which both the terminal device and the first function execution device belong. The may be transmitted to the first function executing device. The second communication method may be a communication method for the first function execution device to receive print data using the local area network without going through the Internet. According to this configuration, the terminal device uses an appropriate method depending on whether or not a specific local area network to which both the terminal device and the first function execution device belong is formed, The first print data can be transmitted to the first function execution device.

端末装置は、さらに、無線通信を実行するための第1のインターフェースと、無線通信を実行するための第2のインターフェースと、を備えていてもよい。第2のインターフェースを介した無線通信の通信可能な範囲は、第1のインターフェースを介した無線通信の通信可能な範囲よりも大きくてもよい。第1の受信部は、第1のインターフェースを介して、第1の機能実行装置から第1の情報を受信してもよい。第1の送信部は、第2のインターフェースを介して、第1の印刷データを第1の機能実行装置に送信してもよい。   The terminal device may further include a first interface for executing wireless communication and a second interface for executing wireless communication. The communicable range of the wireless communication via the second interface may be larger than the communicable range of the wireless communication via the first interface. The first receiving unit may receive the first information from the first function execution device via the first interface. The first transmission unit may transmit the first print data to the first function execution device via the second interface.

本明細書では、印刷機能を実行可能な機能実行装置を開示する。機能実行装置は、選択部と、送信部と、第1の受信部と、を備える。選択部は、互いに異なるM1個(M1は2以上の整数)の通信方式の中から、特定の通信方式を選択する。M1個の通信方式のそれぞれは、機能実行装置が印刷データを受信するために利用可能な通信方式である。送信部は、特定の通信方式を示す選択結果を端末装置に送信する。第1の受信部は、端末装置から、特定の通信方式に従って、特定の印刷データを受信する。   The present specification discloses a function execution device capable of executing a print function. The function execution device includes a selection unit, a transmission unit, and a first reception unit. The selection unit selects a specific communication method from among M1 communication methods (M1 is an integer of 2 or more) different from each other. Each of the M1 communication methods is a communication method that can be used by the function execution apparatus to receive print data. A transmission part transmits the selection result which shows a specific communication system to a terminal device. The first receiving unit receives specific print data from the terminal device according to a specific communication method.

この構成によると、機能実行装置は、機能実行装置自身が印刷データを受信するために利用可能なM1個の通信方式の中から特定の通信方式を選択して、選択結果を端末装置に送信する。このために、機能実行装置は、特定の通信方式に従って、端末装置から特定の印刷データを適切に受信することができる。   According to this configuration, the function execution device selects a specific communication method from the M1 communication methods that can be used by the function execution device itself to receive print data, and transmits the selection result to the terminal device. . For this reason, the function execution device can appropriately receive specific print data from the terminal device in accordance with a specific communication method.

選択部は、インターネットを介した通信のための第1の通信設定情報が機能実行装置のメモリに記憶されている場合に、第1の通信方式を含むM1個の通信方式の中から、特定の通信方式を選択し、第1の通信設定情報が機能実行装置のメモリに記憶されていない場合に、第1の通信方式を含まないM1個の通信方式の中から、特定の通信方式を選択してもよい。第1の通信方式は、機能実行装置が、インターネットを介して、印刷データを受信するための通信方式であってもよい。この構成によると、機能実行装置は、第1の通信設定情報が機能実行装置のメモリに記憶されているのか否かに応じて、特定の通信方式を適切に選択することができる。   When the first communication setting information for communication via the Internet is stored in the memory of the function execution device, the selection unit selects a specific one of the M1 communication methods including the first communication method. When a communication method is selected and the first communication setting information is not stored in the memory of the function execution device, a specific communication method is selected from the M1 communication methods not including the first communication method. May be. The first communication method may be a communication method for the function execution apparatus to receive print data via the Internet. According to this configuration, the function execution device can appropriately select a specific communication method depending on whether or not the first communication setting information is stored in the memory of the function execution device.

選択部は、インターネット上のサーバに信号を送信して応答を受信する場合に、第1の通信方式を含むM1個の通信方式の中から、特定の通信方式を選択し、サーバに信号を送信しても応答を受信しない場合に、第1の通信方式を含まないM1個の通信方式の中から、特定の通信方式を選択してもよい。第1の通信方式は、機能実行装置が、インターネットを介して、印刷データを受信するための通信方式であってもよい。この構成によると、機能実行装置は、インターネット上のサーバに信号を送信して応答を受信するのか否かに応じて、特定の通信方式を適切に選択することができる。   When the selection unit transmits a signal to a server on the Internet and receives a response, the selection unit selects a specific communication method from the M1 communication methods including the first communication method, and transmits the signal to the server. However, if no response is received, a specific communication method may be selected from the M1 communication methods not including the first communication method. The first communication method may be a communication method for the function execution apparatus to receive print data via the Internet. According to this configuration, the function execution device can appropriately select a specific communication method depending on whether a response is received by transmitting a signal to a server on the Internet.

機能実行装置は、さらに、第2の受信部と、判断部と、を備えていてもよい。第2の受信部は、端末装置から、端末装置が所属している特定のローカルエリアネットワークを識別するための識別情報を受信してもよい。判断部は、機能実行装置が特定のローカルエリアネットワークに所属しているのか否かを、識別情報を利用して判断してもよい。選択部は、機能実行装置が特定のローカルエリアネットワークに所属していると判断される場合に、第2の通信方式を含むM1個の通信方式の中から、特定の通信方式を選択し、機能実行装置が特定のローカルエリアネットワークに所属していないと判断される場合に、第2の通信方式を含まないM1個の通信方式の中から、特定の通信方式を選択してもよい。第2の通信方式は、機能実行装置が、ローカルエリアネットワークを利用して、インターネットを介さずに、印刷データを受信するための通信方式であってもよい。この構成によると、機能実行装置は、端末装置から受信される識別情報を利用した判断結果に応じて、特定の通信方式を適切に選択することができる。   The function execution device may further include a second reception unit and a determination unit. The second receiving unit may receive identification information for identifying a specific local area network to which the terminal device belongs from the terminal device. The determination unit may determine whether the function execution device belongs to a specific local area network using the identification information. When it is determined that the function execution device belongs to a specific local area network, the selection unit selects a specific communication method from M1 communication methods including the second communication method, and selects a function. When it is determined that the execution device does not belong to a specific local area network, a specific communication method may be selected from M1 communication methods not including the second communication method. The second communication method may be a communication method for the function execution device to receive print data using a local area network without going through the Internet. According to this configuration, the function execution device can appropriately select a specific communication method according to the determination result using the identification information received from the terminal device.

送信部は、特定の通信方式を示す選択結果と共に、特定の通信方式に対応する特定の送信先情報を端末装置に送信してもよい。特定の送信先情報は、特定の通信方式に従って端末装置から機能実行装置に特定の印刷データを送信するための送信先を示していてもよい。この構成によると、機能実行装置は、特定の通信方式に対応する特定の送信先情報を端末装置に送信する。このために、端末装置が特定の送信先情報を利用することができるので、機能実行装置は、端末装置から特定の印刷データを適切に受信することができる。   The transmission unit may transmit the specific destination information corresponding to the specific communication method to the terminal device together with the selection result indicating the specific communication method. The specific transmission destination information may indicate a transmission destination for transmitting specific print data from the terminal device to the function execution device according to a specific communication method. According to this configuration, the function execution device transmits specific transmission destination information corresponding to a specific communication method to the terminal device. For this reason, since the terminal device can use the specific transmission destination information, the function execution device can appropriately receive the specific print data from the terminal device.

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

通信システムの構成を示す。1 shows a configuration of a communication system. MFPが実行し得る印刷機能を説明するための図を示す。FIG. 2 is a diagram for explaining print functions that can be executed by the MFP. 第1実施例の携帯端末のアプリケーション処理のフローチャートを示す。The flowchart of the application process of the portable terminal of 1st Example is shown. 第1実施例の機能選択処理のフローチャートを示す。The flowchart of the function selection process of 1st Example is shown. 第1の選択処理のフローチャートを示す。The flowchart of a 1st selection process is shown. 第2の選択処理のフローチャートを示す。The flowchart of a 2nd selection process is shown. 第1実施例のMFPの処理のフローチャートを示す。3 shows a flowchart of processing of the MFP of the first embodiment. DP機能確認処理のフローチャートを示す。The flowchart of DP function confirmation processing is shown. EP機能確認処理のフローチャートを示す。The flowchart of EP function confirmation processing is shown. CP機能確認処理のフローチャートを示す。The flowchart of CP function confirmation processing is shown. 第1実施例の送信先情報準備処理のフローチャートを示す。The flowchart of the transmission destination information preparation process of 1st Example is shown. 第1実施例のケースAのシーケンス図を示す。The sequence diagram of case A of the 1st example is shown. 第1実施例のケースBのシーケンス図を示す。The sequence diagram of case B of the first embodiment is shown. 第1実施例のケースCのシーケンス図を示す。The sequence diagram of case C of the first embodiment is shown. 第2実施例の携帯端末のアプリケーション処理のフローチャートを示す。The flowchart of the application process of the portable terminal of 2nd Example is shown. 第2実施例のMFPの処理のフローチャートを示す。7 shows a flowchart of processing of an MFP according to a second embodiment. 第2実施例の送信先情報準備処理のフローチャートを示す。The flowchart of the transmission destination information preparation process of 2nd Example is shown. 第2実施例の各デバイスが実行する処理のシーケンス図を示す。The sequence diagram of the process which each device of 2nd Example performs is shown. 第3実施例の機能確認処理のフローチャートを示す。The flowchart of the function confirmation process of 3rd Example is shown. 第3実施例の各デバイスが実行する処理のシーケンス図を示す。FIG. 10 shows a sequence diagram of processing executed by each device of the third embodiment. 第4実施例の携帯端末のアプリケーション処理のフローチャートを示す。The flowchart of the application process of the portable terminal of 4th Example is shown. 第4実施例のMFPの処理のフローチャートを示す。10 shows a flowchart of processing of an MFP according to a fourth embodiment. 第4実施例の各デバイスが実行する処理のシーケンス図を示す。FIG. 10 shows a sequence diagram of processing executed by each device of the fourth embodiment. 第5実施例のDP機能確認処理のフローチャートを示すThe flowchart of DP function confirmation processing of 5th Example is shown. 第5実施例の各デバイスが実行する処理のシーケンス図を示す。FIG. 10 shows a sequence diagram of processing executed by each device of the fifth embodiment.

(第1実施例)
(通信システム2の構成)
図1に示されるように、通信システム2は、多機能機(以下では「MFP(Multi-Function Peripheralの略)と呼ぶ)10と、携帯端末50と、アクセスポイント(以下では「AP(Access Pointの略)」と呼ぶ)100と、PC(Personal Computerの略)110と、メールサーバ120と、確認サーバ130と、印刷CLサーバ140と、スキャンCLサーバ150と、データ保存CLサーバ160と、を備える。
(First embodiment)
(Configuration of communication system 2)
As shown in FIG. 1, the communication system 2 includes a multi-function device (hereinafter referred to as “MFP (abbreviation of Multi-Function Peripheral)) 10, a portable terminal 50, and an access point (hereinafter referred to as“ AP (Access Point) ”. 100), a PC (abbreviation of Personal Computer) 110, a mail server 120, a confirmation server 130, a print CL server 140, a scan CL server 150, and a data storage CL server 160. Prepare.

(MFP10の構成)
MFP10は、印刷機能及びスキャン機能を含む多機能を実行可能な周辺機器(例えばPC110の周辺機器)である。MFP10は、操作パネル12と、表示機構14と、印刷機構16と、スキャン機構18と、無線LAN(LocalArea Networkの略)インターフェース20と、NFC(Near Field Communicationの略)インターフェース22と、BT(Blue Tooth(登録商標)の略)インターフェース24と、制御部30と、を備える。各部12〜30は、バス線(符号省略)に接続されている。以下では、インターフェースのことを「I/F」と記載する。
(Configuration of MFP 10)
The MFP 10 is a peripheral device (for example, a peripheral device of the PC 110) that can execute multiple functions including a print function and a scan function. The MFP 10 includes an operation panel 12, a display mechanism 14, a printing mechanism 16, a scanning mechanism 18, a wireless LAN (abbreviation for Local Area Network) interface 20, an NFC (abbreviation for Near Field Communication) interface 22, and a BT (Blue). The interface 24 and the control unit 30 are provided. Each part 12-30 is connected to a bus line (reference number omitted). Hereinafter, the interface is described as “I / F”.

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

無線LANI/F20は、無線通信を実行するためのインターフェースであり、物理的には1個のインターフェース(即ち1個のICチップ)である。ただし、無線LANI/F20には、WFD(Wi-Fi Directの略)方式に従った無線通信(以下では「WFD通信」と呼ぶ)で利用されるMACアドレス(以下では「WFDMAC」と呼ぶ)と、通常Wi−Fi方式に従った無線通信(以下では「通常Wi−Fi通信」と呼ぶ)で利用されるMACアドレス(以下では「通常Wi−FiMAC」と呼ぶ)と、の両方が割り当てられる。   The wireless LAN I / F 20 is an interface for executing wireless communication, and is physically one interface (that is, one IC chip). However, the wireless LAN I / F 20 includes a MAC address (hereinafter referred to as “WFDMAC”) used in wireless communication (hereinafter referred to as “WFD communication”) according to the WFD (abbreviation of Wi-Fi Direct) method. Both of the MAC addresses (hereinafter referred to as “normal Wi-Fi MAC”) used in wireless communication (hereinafter referred to as “normal Wi-Fi communication”) according to the normal Wi-Fi scheme are allocated.

具体的に言うと、無線LANI/F20には、通常Wi−FiMACが予め割り当てられている。制御部30は、通常Wi−FiMACを利用して、通常Wi−FiMACとは異なるWFDMACを生成して、WFDMACを無線LANI/F20に割り当てる。従って、制御部30は、通常Wi−FiMACを利用した通常Wi−Fi通信と、WFDMACを利用したWFD通信と、の両方を同時的に実行し得る。WFD通信と通常Wi−Fi通信については、後で詳しく説明する。   Specifically, the normal Wi-Fi MAC is pre-assigned to the wireless LAN I / F 20. The control unit 30 generates a WFDMAC different from the normal Wi-FiMAC using the normal Wi-FiMAC, and allocates the WFDMAC to the wireless LAN I / F 20. Therefore, the control unit 30 can simultaneously execute both normal Wi-Fi communication using normal Wi-FiMAC and WFD communication using WFDMAC. The WFD communication and normal Wi-Fi communication will be described in detail later.

NFCI/F22は、NFC通信を実行するためのインターフェースである。NFC通信は、いわゆる近距離無線通信のためのNFC方式に従った無線通信である。NFC方式は、例えば、ISO/IEC21481又は18092の国際標準規格に基づく無線通信方式である。   The NFC I / F 22 is an interface for executing NFC communication. NFC communication is wireless communication according to the NFC scheme for so-called short-range wireless communication. The NFC scheme is a wireless communication scheme based on, for example, ISO / IEC 21481 or 18092 international standards.

BTI/24は、BT通信を実行するためのインターフェースである。BT通信は、BT方式は、いわゆる近距離無線通信のためのBT方式に従った無線通信である。BT方式は、例えば、IEEE802.15.1の規格に基づく無線通信方式である。無線LANI/F20を構成するチップと、NFCI/F22を構成するチップと、BTI/F24を構成するチップと、は物理的に異なる。なお、本実施例では、上記3つのI/Fがそれぞれ異なるチップとして構成されているが、変形例では、無線LANI/F20とNFCI/F22とBTI/F24とが1つのチップとして構成されていてもよいし、上記3つのI/Fのうちの2つのI/Fが1つのチップとして構成されていてもよい。   BTI / 24 is an interface for executing BT communication. The BT communication is wireless communication according to the BT method for so-called short-range wireless communication. The BT method is a wireless communication method based on, for example, IEEE 802.15.1 standard. The chip configuring the wireless LAN I / F 20, the chip configuring the NFC I / F 22, and the chip configuring the BTI / F 24 are physically different. In the present embodiment, the above three I / Fs are configured as different chips, but in the modification, the wireless LAN I / F 20, NFC I / F 22, and BTI / F 24 are configured as one chip. Alternatively, two I / Fs out of the three I / Fs may be configured as one chip.

無線LANI/F20を利用した無線通信(即ち通常Wi−Fi通信及びWFD通信)の通信速度(例えば、最大の通信速度が11〜600Mbps)は、BTI/F24を介した無線通信(即ちBT通信)の通信速度(例えば最大の通信速度が24Mbps)よりも速い。BTI/F24を介した無線通信(即ちBT通信)の通信速度は、NFCI/F22を利用した無線通信の通信速度(例えば、最大の通信速度が100〜424Kbps)よりも速い。即ち、無線通信の通信速度については、無線LANI/F20が最も速く、BTI/F24が2番目に速く、NFCI/F22が最も遅い。   Wireless communication using the wireless LAN I / F 20 (ie, normal Wi-Fi communication and WFD communication) (for example, the maximum communication speed is 11 to 600 Mbps) is wireless communication via the BTI / F 24 (ie, BT communication). Communication speed (for example, the maximum communication speed is 24 Mbps). The communication speed of wireless communication (that is, BT communication) via the BTI / F 24 is faster than the communication speed of wireless communication using the NFC I / F 22 (for example, the maximum communication speed is 100 to 424 Kbps). That is, as for the communication speed of wireless communication, the wireless LAN I / F 20 is the fastest, the BTI / F 24 is the second fastest, and the NFC I / F 22 is the slowest.

無線LANI/F20を介した無線通信における搬送波の周波数は、例えば2.4GHz帯又は5.0GHz帯である。NFCI/F22を介した無線通信における搬送波の周波数は、例えば13.56MHz帯である。BTI/F24を介した無線通信における搬送波の周波数は、例えば2.4GHz帯である。即ち、搬送波の周波数は、無線LANI/F20とNFCI/F22とで異なり、NFCI/F22とBTI/F24とで異なる。また、無線LANI/F20の搬送波の周波数が5.0GHz帯である場合には、搬送波の周波数は、無線LANI/F20とBTI/F24とで異なる。   The frequency of a carrier wave in wireless communication via the wireless LAN I / F 20 is, for example, a 2.4 GHz band or a 5.0 GHz band. The frequency of the carrier wave in the wireless communication via the NFC I / F 22 is, for example, the 13.56 MHz band. The frequency of the carrier wave in the wireless communication via the BTI / F 24 is, for example, the 2.4 GHz band. That is, the frequency of the carrier wave is different between the wireless LAN I / F 20 and the NFC I / F 22, and is different between the NFC I / F 22 and the BTI / F 24. When the carrier frequency of the wireless LAN I / F 20 is in the 5.0 GHz band, the carrier frequency is different between the wireless LAN I / F 20 and the BTI / F 24.

MFP10が無線LANI/F20を介して通信先の機器(例えば携帯端末50)と無線通信を実行可能な最大の距離(例えば約100m)は、MFP10がBTI/F24を介して通信先の機器(例えば携帯端末50)と無線通信を実行可能な最大の距離(例えば約数十m)よりも大きい。また、MFP10がBTI/F24を介して通信先の機器(例えば携帯端末50)と無線通信を実行可能な最大の距離(例えば約数十m)は、MFP10がNFCI/F22を介して通信先の機器と無線通信を実行可能な最大の距離(例えば約10cm)よりも大きい。即ち、無線通信の通信可能範囲については、無線LANI/F20が最も大きく、BTI/F24が2番目に大きく、NFCI/F22が最も小さい。   The maximum distance (for example, about 100 m) at which the MFP 10 can execute wireless communication with a communication destination device (for example, the portable terminal 50) via the wireless LAN I / F 20 is the maximum distance (for example, about 100 m) that the MFP 10 can communicate with via the BTI / F 24. It is larger than the maximum distance (for example, about several tens of meters) that can execute wireless communication with the portable terminal 50). In addition, the maximum distance (for example, about several tens of meters) at which the MFP 10 can execute wireless communication with a communication destination device (for example, the portable terminal 50) via the BTI / F 24 is determined by the MFP 10 via the NFC I / F 22 It is larger than the maximum distance (for example, about 10 cm) that can perform wireless communication with the device. That is, in the communicable range of the wireless communication, the wireless LAN I / F 20 is the largest, the BTI / F 24 is the second largest, and the NFC I / F 22 is the smallest.

制御部30は、CPU32とメモリ34とを備える。CPU32は、メモリ34に記憶されているプログラムに従って、様々な処理を実行する。また、メモリ34は、MFP10が各種の通信(即ち、WFD通信、通常Wi−Fi通信、BT通信)を実行するための無線設定情報(以下では「WSI(Wireless Setting Informationの略)」と呼ぶ)と、MFP10がEメール(Electronic Mailの略)通信を実行するためのEメール設定情報(以下では「ESI(E-mail Setting Informationの略)」と呼ぶ)と、MFP10がクラウドサーバとの通信(以下では「クラウド通信」と呼ぶ)を実行するためのクラウド設定情報(以下では「CSI(Cloud Setting Informationの略)」と呼ぶ)と、を記憶することができる。なお、Eメール通信又はクラウド通信は、無線LANI/F20を介して実行されてもよいし、図示省略の他のI/F(例えば有線LANI/F等)を介して実行されてもよい。   The control unit 30 includes a CPU 32 and a memory 34. The CPU 32 executes various processes according to the program stored in the memory 34. Further, the memory 34 is wireless setting information (hereinafter referred to as “WSI (Wireless Setting Information)”) for the MFP 10 to execute various communications (that is, WFD communication, normal Wi-Fi communication, and BT communication). E-mail setting information (hereinafter referred to as “ESI (E-mail Setting Information)”) for the MFP 10 to execute e-mail (abbreviation of electronic mail) communication, and the MFP 10 communicates with the cloud server ( Hereinafter, cloud setting information (hereinafter referred to as “CSI (abbreviation of Cloud Setting Information)”) for executing “cloud communication”) can be stored. Note that e-mail communication or cloud communication may be executed via the wireless LAN I / F 20, or may be executed via another I / F (not shown) (for example, a wired LAN I / F).

(携帯端末50の構成)
携帯端末50は、携帯電話(例えばスマートフォン)、PDA、ノートPC、タブレットPC、携帯型音楽再生装置、携帯型動画再生装置等の可搬型の端末装置である。携帯端末50は、操作キー52と、表示機構54と、無線LANI/F60と、NFCI/F62と、BTI/F64と、セルラーNW(Networkの略)I/F66と、制御部70と、を備える。各部52〜70は、バス線(符号省略)に接続されている。
(Configuration of mobile terminal 50)
The portable terminal 50 is a portable terminal device such as a cellular phone (for example, a smartphone), a PDA, a notebook PC, a tablet PC, a portable music player, a portable video player, and the like. The portable terminal 50 includes an operation key 52, a display mechanism 54, a wireless LAN I / F 60, an NFC I / F 62, a BTI / F 64, a cellular NW (abbreviation of network) I / F 66, and a control unit 70. . Each unit 52 to 70 is connected to a bus line (reference numeral omitted).

ユーザは、操作キー52を操作することによって、様々な指示を携帯端末50に与えることができる。表示機構54は、様々な情報を表示するためのディスプレイである。各I/F60,62,64は、MFP10の各I/F20,22,24と同様である。従って、各I/F60,62,64の相違点は、各I/F20,22,24の相違点と同様である。   The user can give various instructions to the portable terminal 50 by operating the operation keys 52. The display mechanism 54 is a display for displaying various information. Each I / F 60, 62, 64 is the same as each I / F 20, 22, 24 of the MFP 10. Accordingly, the differences between the I / Fs 60, 62, and 64 are the same as the differences between the I / Fs 20, 22, and 24.

セルラーNWI/F66は、セルラー通信を実行するためのインターフェースである。セルラー通信は、セルラー方式に従った無線通信である。セルラー方式は、例えば、IMT(International Mobile Telecommunicationの略)2000の国際標準規格に基づく無線通信方式であり、いわゆる3G、4G等の無線通信方式である。   The cellular NWI / F 66 is an interface for executing cellular communication. Cellular communication is wireless communication according to a cellular system. The cellular system is a wireless communication system based on an international standard of IMT (abbreviation of International Mobile Telecommunication) 2000, for example, a so-called 3G, 4G or the like wireless communication system.

制御部70は、CPU72とメモリ74とを備える。CPU72は、メモリ74に記憶されているプログラムに従って、様々な処理を実行する。メモリ74は、MFP10に機能(例えば、印刷機能、スキャン機能等)を実行させるためのアプリケーション(以下では「MFP用アプリケーション」と呼ぶ)を記憶する。MFP用アプリケーションは、例えば、MFP10のベンダによって提供されるサーバから携帯端末50にインストールされてもよいし、MFP10と共に出荷されるメディアから携帯端末50にインストールされてもよい。   The control unit 70 includes a CPU 72 and a memory 74. The CPU 72 executes various processes according to the program stored in the memory 74. The memory 74 stores an application (hereinafter referred to as “MFP application”) for causing the MFP 10 to execute a function (for example, a print function, a scan function, etc.). For example, the MFP application may be installed on the portable terminal 50 from a server provided by the vendor of the MFP 10 or may be installed on the portable terminal 50 from a medium shipped together with the MFP 10.

また、メモリ74は、携帯端末50が各種の通信(WFD通信、通常Wi−Fi通信、BT通信)を実行するためのWSIと、携帯端末50がEメール通信を実行するためのESIと、携帯端末50がクラウド通信を実行するためのCSIと、を記憶することができる。なお、Eメール通信又はクラウド通信は、無線LANI/F60を介して実行されてもよいし、セルラーNWI/F66を介して実行されてもよい。   The memory 74 includes a WSI for the mobile terminal 50 to execute various communications (WFD communication, normal Wi-Fi communication, BT communication), an ESI for the mobile terminal 50 to execute e-mail communication, The CSI for the terminal 50 to execute cloud communication can be stored. Note that e-mail communication or cloud communication may be executed via the wireless LAN I / F 60 or may be executed via the cellular NWI / F 66.

(他の機器100〜160の構成)
AP100は、無線アクセスポイント、無線LANルータ等と呼ばれる通常のAPであり、後述のWFD方式のG/O機器とは異なる。AP100は、後述の通常Wi−Fiネットワークを形成することができる。AP100は、インターネットに接続されており、AP100自身によって形成される通常Wi−Fiネットワークと、インターネットと、の間の通信を中継するルータ機能を備える。なお、以下では、ネットワークのことを「NW」を記載することがある。
(Configuration of other devices 100 to 160)
The AP 100 is a normal AP called a wireless access point, a wireless LAN router, or the like, and is different from a WFD G / O device described later. The AP 100 can form a normal Wi-Fi network described later. The AP 100 is connected to the Internet, and includes a router function that relays communication between the normal Wi-Fi network formed by the AP 100 itself and the Internet. In the following, “NW” may be described for the network.

PC110は、OSプログラムに従って動作する公知のコンピュータである。PC110は、WFD方式に従ったWFD通信を実行することができる。   The PC 110 is a known computer that operates according to the OS program. The PC 110 can execute WFD communication according to the WFD method.

各サーバ120〜160は、インターネットに接続されている。メールサーバ120は、SMTP(Simple Mail Transfer Protocolの略)サーバと、POP(Post Office Protocolの略)サーバと、を含む。メールサーバ120は、一方の通信機器(例えば携帯端末50)から他方の通信機器(例えばMFP10)への電子メールの送信が実行されるべき場合に、当該電子メールの通信を中継する。   Each server 120-160 is connected to the Internet. The mail server 120 includes an SMTP (abbreviation of Simple Mail Transfer Protocol) server and a POP (abbreviation of Post Office Protocol) server. The mail server 120 relays the communication of the e-mail when the transmission of the e-mail from one communication device (for example, the portable terminal 50) to the other communication device (for example, the MFP 10) is to be executed.

確認サーバ130、印刷CL(Cloudの略)サーバ140、スキャンCLサーバ150は、それぞれ、例えば、MFP10のベンダによって提供されるサーバである。確認サーバ130は、MFP10から信号を受信する場合に、応答信号をMFP10に送信する。また、確認サーバ130は、携帯端末50から信号を受信する場合に、応答信号を携帯端末50に送信する。印刷CLサーバ140は、通信機器(例えば携帯端末50)からMFP10への印刷データの送信が実行されるべき場合に、当該印刷データの通信を中継する。スキャンCLサーバ150は、MFP10から通信機器(例えば携帯端末50)へのスキャンデータの送信が実行されるべき場合に、当該スキャンデータの通信を中継する。   The confirmation server 130, the print CL (abbreviation of Cloud) server 140, and the scan CL server 150 are servers provided by the vendor of the MFP 10, for example. The confirmation server 130 transmits a response signal to the MFP 10 when receiving a signal from the MFP 10. The confirmation server 130 transmits a response signal to the mobile terminal 50 when receiving a signal from the mobile terminal 50. The print CL server 140 relays communication of the print data when transmission of print data from the communication device (for example, the portable terminal 50) to the MFP 10 is to be executed. The scan CL server 150 relays the scan data communication when the scan data is to be transmitted from the MFP 10 to the communication device (for example, the portable terminal 50).

データ保存CLサーバ160は、例えば、FACEBOOK(登録商標)、GOOGLE DOCS(登録商標)、PICASA(登録商標)等の公知のサーバである。データ保存CLサーバ160は、MFP10からスキャンデータを受信して、当該スキャンデータを保存する。   The data storage CL server 160 is a known server such as FACEBOOK (registered trademark), GOOGLE DOCS (registered trademark), or PICASA (registered trademark). The data storage CL server 160 receives the scan data from the MFP 10 and stores the scan data.

(MFP10が実行し得る印刷機能;図2)
次いで、図2を参照して、MFP10が実行し得る印刷機能について説明する。印刷機能は、ダイレクト印刷(以下では「DP」と呼ぶ)と、Eメール印刷(以下では「EP」と呼ぶ)と、クラウド印刷(以下では「CP」と呼ぶ)と、に分類される。
(Print functions that can be executed by the MFP 10; FIG. 2)
Next, a print function that can be executed by the MFP 10 will be described with reference to FIG. The printing function is classified into direct printing (hereinafter referred to as “DP”), e-mail printing (hereinafter referred to as “EP”), and cloud printing (hereinafter referred to as “CP”).

(DP)
DPでは、インターネットを介さずに、携帯端末50からMFP10への印刷データの送信が実行される。DPは、通常Wi−Fi印刷と、WFD印刷と、BT印刷と、に分類される。
(DP)
In DP, transmission of print data from the portable terminal 50 to the MFP 10 is executed without going through the Internet. The DP is classified into normal Wi-Fi printing, WFD printing, and BT printing.

(通常Wi−Fi印刷)
通常Wi−Fi印刷では、通常Wi−Fi方式に従って形成される通常Wi−FiNWを利用して、印刷データの通信が実行される。通常Wi−Fi方式は、Wi−Fi Allianceによって定められた無線通信方式であり、AP100を介して無線通信を実行するための無線通信方式である。
(Normal Wi-Fi printing)
In normal Wi-Fi printing, communication of print data is executed using a normal Wi-Fi NW formed according to the normal Wi-Fi method. The normal Wi-Fi system is a wireless communication system defined by the Wi-Fi Alliance, and is a wireless communication system for executing wireless communication via the AP 100.

図2は、MFP10、携帯端末50、及び、AP100を含む通常Wi−FiNWを示す。このような通常Wi−FiNWが形成されている状態では、MFP10の無線LANI/F20は、通常Wi−FiNWを利用して、携帯端末50の無線LANI/F60から、AP100を介して、印刷データを受信することができる。   FIG. 2 shows a normal Wi-Fi NW including the MFP 10, the portable terminal 50, and the AP 100. In a state where such a normal Wi-Fi NW is formed, the wireless LAN I / F 20 of the MFP 10 uses the normal Wi-Fi NW to send print data from the wireless LAN I / F 60 of the portable terminal 50 via the AP 100. Can be received.

MFP10及び携帯端末50のそれぞれは、通常Wi−FiNWに所属するためのWSI(即ち、通常Wi−Fi通信を実行するためのWSI(以下では「通常Wi−FiWSI」と呼ぶ))を記憶する。通常Wi−FiWSIは、SSID、BSSID、認証方式、暗号化方式、パスワード等を含む。SSIDは、通常Wi−FiNWを識別するための識別情報であり、AP100によって生成される。BSSIDは、AP100を識別するための識別情報(即ちAP100のMACアドレス)である。MFP10の通常Wi−FiWSIは、さらに、MFP10のIPアドレスを含み、携帯端末50の通常Wi−FiWSIは、さらに、携帯端末50のIPアドレスを含む。なお、通常Wi−Fi印刷では、MFP10及び携帯端末50は、例えば、LPR(Line PRinter daemon protocolの略)の通信プロトコルを利用して、印刷データの通信を実行する。   Each of MFP 10 and portable terminal 50 stores WSI for belonging to normal Wi-Fi NW (that is, WSI for executing normal Wi-Fi communication (hereinafter referred to as “normal Wi-Fi WSI”)). The normal Wi-Fi WSI includes an SSID, BSSID, authentication method, encryption method, password, and the like. The SSID is identification information for identifying a normal Wi-Fi NW, and is generated by the AP 100. The BSSID is identification information for identifying the AP 100 (that is, the MAC address of the AP 100). The normal Wi-Fi WSI of the MFP 10 further includes the IP address of the MFP 10, and the normal Wi-Fi WSI of the mobile terminal 50 further includes the IP address of the mobile terminal 50. In normal Wi-Fi printing, the MFP 10 and the portable terminal 50 execute print data communication using, for example, a communication protocol of LPR (Line PRinter daemon protocol).

(WFD印刷)
WFD印刷では、WFD方式に従って形成されるWFDNWを利用して、印刷データの通信が実行される。WFD方式は、Wi−Fi Allianceによって作成された規格書「Wi−Fi Peer−to−Peer(P2P) Technical Specification Version1.1」に記述されている無線通信方式である。
(WFD printing)
In WFD printing, print data communication is executed using a WFDNW formed according to the WFD method. The WFD method is a wireless communication method described in a standard document “Wi-Fi Peer-to-Peer (P2P) Technical Specification Version 1.1” created by Wi-Fi Alliance.

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

デバイス状態の一対のWFD対応機器が無線ネットワークを新たに形成すべき際に、当該一対のWFD対応機器は、通常、G/Oネゴシエーションと呼ばれる無線通信を実行する。G/Oネゴシエーションでは、当該一対のWFD対応機器のうちの一方は、G/O状態(即ちG/O機器)になることを決定し、他方は、CL状態(即ちCL機器)になることを決定する。その後、当該一対のWFD対応機器は、接続を確立して、無線ネットワークを形成する。   When a pair of WFD-compatible devices in a device state should newly form a wireless network, the pair of WFD-compatible devices usually perform wireless communication called G / O negotiation. In the G / O negotiation, one of the pair of WFD compatible devices is determined to be in the G / O state (that is, the G / O device), and the other is determined to be in the CL state (that is, the CL device). decide. Thereafter, the pair of WFD-compatible devices establish a connection and form a wireless network.

以下では、WFD方式の手順(例えばG/Oネゴシエーション)に従って形成される無線ネットワークのことを、「WFDNW」と呼ぶ。G/OネゴシエーションによってWFDNWが新たに形成された段階では、1個のG/O機器及び1個のCL機器のみがWFDNWに所属している。ただし、G/O機器は、他の機器と接続を確立して、当該他の機器をCL機器としてWFDNWに新たに参加させることができる。この場合、2個以上のCL機器がWFDNWに所属している状態になる。即ち、WFDNWでは、1個のG/O機器と1個以上のCL機器とが存在し得る。G/O機器は、1個以上のCL機器を管理する。具体的に言うと、G/O機器は、1個以上のCL機器のMACアドレスを、G/O機器のメモリ内の管理リストに登録する。G/O機器は、他機器を介さずに、管理リストに登録されているCL機器と対象データの無線通信を実行可能である。また、G/O機器は、複数個のCL機器の間の対象データ(例えば、印刷データ、スキャンデータ等)の無線通信を中継可能である。換言すると、一対のCL機器は、G/O機器を介して、対象データの無線通信を実行可能である。   Hereinafter, a wireless network formed in accordance with a WFD procedure (for example, G / O negotiation) is referred to as “WFDNW”. At the stage where a WFDNW is newly formed by G / O negotiation, only one G / O device and one CL device belong to the WFDNW. However, the G / O device can establish a connection with another device, and can newly participate in the WFDNW as the CL device. In this case, two or more CL devices belong to the WFDNW. That is, in the WFDNW, there can 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 registers the MAC addresses of one or more CL devices in the management list in the memory of the G / O device. The G / O device can execute wireless communication of the target data with the CL device registered in the management list without using other devices. The G / O device can relay wireless communication of target data (for example, print data, scan data, etc.) between a plurality of CL devices. In other words, the pair of CL devices can perform wireless communication of the target data via the G / O device.

図2は、PC110がG/O機器であると共に、携帯端末50及びMFP100がCL機器であるWFDNWの一例を示す。このようなWFDNWが形成されている状態では、CL機器であるMFP10の無線LANI/F20は、WFDNWを利用して、CL機器である携帯端末50の無線LANI/F60から、G/O機器であるPC110を介して、印刷データを受信することができる。   FIG. 2 shows an example of a WFDNW in which the PC 110 is a G / O device and the portable terminal 50 and the MFP 100 are CL devices. In a state where such a WFDNW is formed, the wireless LAN I / F 20 of the MFP 10 that is the CL device is a G / O device from the wireless LAN I / F 60 of the portable terminal 50 that is the CL device using the WFDNW. Print data can be received via the PC 110.

図2は、さらに、MFP10がG/O機器であると共に、携帯端末50がCL機器であるWFDNWの一例を示す。このようなWFDNWが形成されている状態では、G/O機器であるMFP10の無線LANI/F20は、WFDNWを利用して、CL機器である携帯端末50の無線LANI/F60から、他機器を介さずに、印刷データを受信することができる。   FIG. 2 further shows an example of a WFDNW in which the MFP 10 is a G / O device and the portable terminal 50 is a CL device. In a state in which such a WFDNW is formed, the wireless LAN I / F 20 of the MFP 10 that is the G / O device uses the WFDNW to communicate from the wireless LAN I / F 60 of the portable terminal 50 that is the CL device via another device. Without receiving print data.

MFP10及び携帯端末50のそれぞれは、WFDNWに所属するためのWSI(即ち、WFD通信を実行するためのWSI(以下では「WFDWSI」と呼ぶ))を記憶する。WFDWSIは、SSID、BSSID、認証方式、暗号化方式、パスワード等を含む。SSIDは、WFDNWを識別するための識別情報であり、G/O機器によって生成される。BSSIDは、G/O機器を識別するための識別情報(即ちG/O機器のMACアドレス)である。MFP10のWFDWSIは、さらに、MFP10のIPアドレスを含み、携帯端末50のWFDWSIは、さらに、携帯端末50のIPアドレスを含む。なお、WFD印刷では、MFP10及び携帯端末50は、例えば、LPRの通信プロトコルを利用して、印刷データの通信を実行する。   Each of MFP 10 and portable terminal 50 stores WSI for belonging to WFDNW (that is, WSI for executing WFD communication (hereinafter referred to as “WFDWSI”)). WFD WSI includes an SSID, BSSID, authentication method, encryption method, password, and the like. The SSID is identification information for identifying the WFDNW, and is generated by the G / O device. The BSSID is identification information for identifying the G / O device (that is, the MAC address of the G / O device). The WFD WSI of the MFP 10 further includes the IP address of the MFP 10, and the WFD WSI of the portable terminal 50 further includes the IP address of the portable terminal 50. In WFD printing, the MFP 10 and the portable terminal 50 execute print data communication using, for example, an LPR communication protocol.

(BT印刷)
BT印刷では、BT方式に従って形成されるBTNWを利用して、印刷データの通信が実行される。図2は、MFP10及び携帯端末50を含むBTNWを示す。このようなBTNWが形成されている状態では、MFP10のBTI/F24は、BTNWを利用して、携帯端末50のBTI/F64から、他機器を介さずに、印刷データを受信することができる。
(BT printing)
In BT printing, print data communication is executed using a BTNW formed according to the BT method. FIG. 2 shows a BTNW including the MFP 10 and the portable terminal 50. In a state in which such a BTNW is formed, the BTI / F 24 of the MFP 10 can receive print data from the BTI / F 64 of the portable terminal 50 without using other devices using the BTNW.

MFP10及び携帯端末50のそれぞれは、BTNWに所属するためのWSI(即ち、BT通信を実行するためのWSI(以下では「BTWSI」と呼ぶ))を記憶する。BTWSIは、PINコード(即ちペアリングコード)を含む。なお、BT印刷では、MFP10及び携帯端末50は、例えば、BPP(Basic Printing Profileの略)、BIP(Basic Imaging Profileの略)、OPP(Object Push Profileの略)等の通信プロトコルを利用して、印刷データの通信を実行する。   Each of MFP 10 and portable terminal 50 stores WSI for belonging to BTNW (that is, WSI for executing BT communication (hereinafter referred to as “BTWSI”)). The BTWSI includes a PIN code (ie, a pairing code). In the BT printing, the MFP 10 and the portable terminal 50 use a communication protocol such as BPP (abbreviation of Basic Printing Profile), BIP (abbreviation of Basic Imaging Profile), OPP (abbreviation of Object Push Profile), for example. Execute print data communication.

(EP)
EPでは、インターネットを介して、携帯端末50からMFP10への印刷データの送信(即ちEメール通信)が実行される。図2に示されるように、MFP10の無線LANI/F20は、携帯端末50の無線LANI/F60から、メールサーバ120を介して、印刷データを受信することができる。
(EP)
In EP, transmission of print data from the portable terminal 50 to the MFP 10 (that is, e-mail communication) is executed via the Internet. As shown in FIG. 2, the wireless LAN I / F 20 of the MFP 10 can receive print data from the wireless LAN I / F 60 of the portable terminal 50 via the mail server 120.

印刷データのEメール通信を実行するためには、MFP10及び携帯端末50のそれぞれは、ESIを記憶する。即ち、携帯端末50は、少なくともEメールを送信するための送信用ESI(即ちSMTP設定情報)を記憶する。また、MFP10は、少なくともEメールを受信するための受信用ESI(即ちPOP設定情報)を記憶する。   In order to execute e-mail communication of print data, each of the MFP 10 and the portable terminal 50 stores ESI. That is, the portable terminal 50 stores at least ESI for transmission (that is, SMTP setting information) for transmitting e-mail. The MFP 10 stores at least reception ESI (that is, POP setting information) for receiving e-mail.

SMTP設定情報は、SMTPサーバのURL(Uniform Resource Locatorの略)、ユーザ名、パスワード等を含む。POP設定情報は、POPサーバのURL、ユーザ名、パスワード等を含む。本実施例では、SMTPサーバ及びPOPサーバは、1個のメールサーバ120として示されているが、変形例では、別体に構成されていてもよい。EPでは、MFP10及び携帯端末50は、SMTP及びPOPの通信プロトコルを利用して、印刷データの通信を実行する。   The SMTP setting information includes an SMTP server URL (abbreviation of Uniform Resource Locator), a user name, a password, and the like. The POP setting information includes a POP server URL, a user name, a password, and the like. In this embodiment, the SMTP server and the POP server are shown as one mail server 120. However, in the modification, they may be configured separately. In EP, the MFP 10 and the portable terminal 50 execute print data communication using SMTP and POP communication protocols.

(CP)
CPでは、インターネットを介して、携帯端末50からMFP10への印刷データの送信(即ちクラウド通信)が実行される。図2に示されるように、MFP10の無線LANI/F20は、携帯端末50の無線LANI/F60から、印刷CLサーバ140を介して、印刷データを受信することができる。
(CP)
In the CP, transmission of print data from the portable terminal 50 to the MFP 10 (that is, cloud communication) is executed via the Internet. As shown in FIG. 2, the wireless LAN I / F 20 of the MFP 10 can receive print data from the wireless LAN I / F 60 of the portable terminal 50 via the print CL server 140.

印刷データのクラウド通信を実行するためには、MFP10及び携帯端末50のそれぞれは、印刷用CSIを記憶する。印刷用CSIは、印刷CLサーバ140のURL(Uniform Resource Locatorの略)、アカウント情報、認証情報(例えばアクセストークン)等を含む。CPでは、MFP10及び携帯端末50は、例えば、HTTP(Hyper Text Transfer Protocolの略)の通信プロトコルを利用して、印刷データの通信を実行する。   In order to execute cloud communication of print data, each of the MFP 10 and the portable terminal 50 stores a print CSI. The print CSI includes the URL (abbreviation of Uniform Resource Locator) of the print CL server 140, account information, authentication information (for example, access token), and the like. In CP, the MFP 10 and the portable terminal 50 execute print data communication using, for example, an HTTP (abbreviation of Hyper Text Transfer Protocol) communication protocol.

上記のDP、EP、CPは、それぞれ、MFP10が実行し得る印刷機能であるが、換言すると、MFP10が印刷データを受信するための通信方式を意味する。即ち、DPは、ダイレクト方式(即ち、通常Wi−Fi方式、WFD方式、及び、BT方式)という通信方式を意味する。EP、CPは、それぞれ、Eメール方式、クラウド方式という通信方式を意味する。即ち、MFP10は、ダイレクト方式、Eメール方式、及び、クラウド方式という3個の通信方式のうちのいずれかを利用して、印刷データを受信し得る。   The DP, EP, and CP are printing functions that can be executed by the MFP 10, respectively. In other words, the DP, EP, and CP mean communication methods for the MFP 10 to receive print data. That is, DP means a communication method called a direct method (that is, a normal Wi-Fi method, a WFD method, and a BT method). EP and CP mean communication methods such as an e-mail method and a cloud method, respectively. In other words, the MFP 10 can receive print data using any one of the three communication methods of the direct method, the e-mail method, and the cloud method.

(携帯端末50のアプリケーション処理;図3)
続いて、図3を参照して、携帯端末50にインストールされているMFP用アプリケーションによって実現される処理の内容を説明する。携帯端末50のユーザは、MFP10に印刷を実行させることを望む場合に、操作キー52を操作して、MFP用アプリケーションを起動させる。次いで、ユーザは、MFP10と携帯端末50との間でNFC接続を確立させるために、携帯端末50をMFP10に近づける。
(Application processing of portable terminal 50; FIG. 3)
Next, with reference to FIG. 3, the content of processing realized by the MFP application installed in the portable terminal 50 will be described. When the user of the portable terminal 50 desires the MFP 10 to execute printing, the user operates the operation key 52 to activate the MFP application. Next, the user brings the portable terminal 50 closer to the MFP 10 in order to establish an NFC connection between the MFP 10 and the portable terminal 50.

携帯端末50とMFP10との間の距離が、NFC通信を実行可能な距離(例えば10cm)よりも小さくなると、MFP10と携帯端末50との間でNFC接続が確立される。この場合、S10では、CPU72は、上記のNFC接続を利用して、NFCI/F62を介して、機能要求をMFP10に送信する。機能要求は、後述の応答データ(図7のS100,S102参照)をMFP10に送信させるための要求である。   When the distance between the portable terminal 50 and the MFP 10 becomes smaller than a distance (for example, 10 cm) at which NFC communication can be performed, an NFC connection is established between the MFP 10 and the portable terminal 50. In this case, in S10, the CPU 72 transmits a function request to the MFP 10 via the NFC I / F 62 using the NFC connection. The function request is a request for causing the MFP 10 to transmit response data (see S100 and S102 in FIG. 7) described later.

S12では、CPU72は、上記のNFC接続を利用して、MFP10から、NFCI/F62を介して、応答データを受信する。応答データは、MFP10がDPを実行可能である場合に、DPOKを示す情報を含み、MFP10がDPを実行不可能である場合に、DPNGを示す情報を含む。応答データは、MFP10がEPを実行可能である場合に、EPOKを示す情報を含み、MFP10がEPを実行不可能である場合に、EPNGを示す情報を含む。応答データは、MFP10がCPを実行可能である場合に、CPOKを示す情報を含み、MFP10がCPを実行不可能である場合に、CPNGを示す情報を含む。MFP10が無線LAN(通常WI−FiNW又はWFDNW)に所属している場合には、応答データは、さらに、当該無線LANのSSID及びBSSIDを含む。   In S <b> 12, the CPU 72 receives response data from the MFP 10 via the NFC I / F 62 using the NFC connection. The response data includes information indicating DPOK when the MFP 10 can execute DP, and includes information indicating DPNG when the MFP 10 cannot execute DP. The response data includes information indicating EPOK when the MFP 10 can execute EP, and includes information indicating EPNG when the MFP 10 cannot execute EP. The response data includes information indicating CPOK when the MFP 10 can execute CP, and includes information indicating CPNG when the MFP 10 cannot execute CP. If the MFP 10 belongs to a wireless LAN (normal WI-FiNW or WFDNW), the response data further includes the SSID and BSSID of the wireless LAN.

S30では、CPU72は、機能選択処理を実行する。詳しくは後述するが、機能選択処理(図4〜図6)では、CPU72は、MFP10が実行可能な1個以上の通信方式(DP、EP、CP)の中から、1個の通信方式を選択する。   In S30, the CPU 72 executes a function selection process. As will be described in detail later, in the function selection process (FIGS. 4 to 6), the CPU 72 selects one communication method from one or more communication methods (DP, EP, CP) that the MFP 10 can execute. To do.

次いで、S50では、CPU72は、上記のNFC接続を利用して、NFCI/F62を介して、S30の機能選択処理の選択結果(即ち、DP、EP、又は、CP)をMFP10に送信する。   Next, in S <b> 50, the CPU 72 transmits the selection result of the function selection process in S <b> 30 (that is, DP, EP, or CP) to the MFP 10 through the NFC I / F 62 using the NFC connection.

続いて、S52では、CPU72は、上記のNFC接続を利用して、MFP10から、NFCI/F62を介して、送信先情報を受信する。送信先情報は、S30の機能選択処理の選択結果に対応する通信方式に従って、携帯端末50からMFP10への印刷データの送信を実行するための送信先を示す。詳しくは後述するが、選択結果がEPである場合には、送信先情報は、MFP10のEメールアドレスを含む(図11のS119参照)。また、選択結果がCPである場合には、送信先情報は、MFP10のメモリ34に記憶されている印刷用CSI(即ち、印刷CLサーバ140のURL等)を含む(図11のS120参照)。   Subsequently, in S52, the CPU 72 receives transmission destination information from the MFP 10 via the NFC I / F 62 using the NFC connection. The transmission destination information indicates a transmission destination for executing transmission of print data from the portable terminal 50 to the MFP 10 in accordance with the communication method corresponding to the selection result of the function selection process in S30. As will be described in detail later, when the selection result is EP, the destination information includes the email address of the MFP 10 (see S119 in FIG. 11). If the selection result is CP, the destination information includes the CSI for printing (that is, the URL of the print CL server 140, etc.) stored in the memory 34 of the MFP 10 (see S120 in FIG. 11).

また、選択結果がDPである場合には、送信先情報は、MFP10のメモリ34に記憶されている各WSI(即ち、通常Wi−FiWSI、WFDWSI、及び、BTWSI)のうちの少なくとも1個のWSIに関連する情報を含む(図11のS113、S115、S117参照)。より具体的に言うと、MFP10が通常Wi−Fi印刷を実行可能である場合には、送信先情報は、MFP10の通常Wi−FiWSIに含まれる各情報(通常Wi−Fi用SSID、通常Wi−Fi用BSSID、及び、MFP10の通常Wi−Fi用IPアドレス)を含む(図11のS113参照)。また、MFP10がWFD印刷を実行可能である場合には、送信先情報は、MFP10のWFDWSIに含まれる各情報(WFD用SSID、WFD用BSSID、及び、MFP10のWFD用IPアドレス)を含む(図11のS115参照)。なお、MFP10がG/O機器である場合には、送信先情報は、さらに、MFP10のWFDWSIに含まれるパスワードを含む。ただし、MFP10がCL機器である場合には、送信先情報は、MFP10のWFDWSIに含まれるパスワードを含まない。MFP10がBT印刷を実行可能である場合には、送信先情報は、MFP10のBTWSI(即ちPINコード)を含む(図11のS117参照)。   When the selection result is DP, the destination information is at least one WSI of each WSI (that is, normal Wi-Fi WSI, WFD WSI, and BTWSI) stored in the memory 34 of the MFP 10. (See S113, S115, and S117 in FIG. 11). More specifically, when the MFP 10 can execute normal Wi-Fi printing, the transmission destination information includes information included in the normal Wi-Fi WSI of the MFP 10 (normal Wi-Fi SSID, normal Wi-Fi). FI BSSID and normal Wi-Fi IP address of MFP 10) (see S113 in FIG. 11). When the MFP 10 can execute WFD printing, the transmission destination information includes information (SFD for WFD, BSSID for WFD, and IP address for WFD of the MFP 10) included in the WFD WSI of the MFP 10 (FIG. 11 (see S115). When the MFP 10 is a G / O device, the transmission destination information further includes a password included in the WFD WSI of the MFP 10. However, when the MFP 10 is a CL device, the transmission destination information does not include the password included in the WFD WSI of the MFP 10. When the MFP 10 can execute BT printing, the transmission destination information includes the BTWSI (that is, the PIN code) of the MFP 10 (see S117 in FIG. 11).

このように、本実施例においては、CPU72は、機能要求の送信(S10)及びDPOK等の応答データの受信(S12)という一往復の通信と、選択結果の送信(S50)及び送信先情報の受信(S52)という一往復の通信と、を含む二往復の通信を実行する。即ち、CPU72は、1回のNFC接続において、二往復の通信を実行する。S52を終えると、NFC接続が切断される。   As described above, in this embodiment, the CPU 72 performs one round-trip communication of function request transmission (S10) and reception of response data such as DPOK (S12), selection result transmission (S50), and transmission destination information. Two-way communication including the one-way communication called reception (S52) is executed. That is, the CPU 72 performs two round-trip communications in one NFC connection. When S52 ends, the NFC connection is disconnected.

次いで、S54では、CPU72は、S52で受信される送信先情報を利用して、S30の機能選択処理の選択結果に対応する通信方式に従って、印刷データをMFP10に送信する。   Next, in S54, the CPU 72 uses the transmission destination information received in S52 to transmit the print data to the MFP 10 according to the communication method corresponding to the selection result of the function selection process in S30.

具体的に言うと、例えば、選択結果がEPである場合には、CPU72は、送信先情報に含まれるMFP10のメールアドレスが送信先アドレスとして指定されているEメールを生成し、当該Eメールに印刷データ(即ちユーザによって指定される印刷対象のデータ)を添付する。そして、CPU72は、無線LANI/F60又はセルラーNWI/F66を介して、Eメールを送信する。   Specifically, for example, when the selection result is EP, the CPU 72 generates an email in which the email address of the MFP 10 included in the destination information is specified as the destination address, and the email is included in the email. Print data (that is, data to be printed designated by the user) is attached. Then, the CPU 72 transmits an e-mail via the wireless LAN I / F 60 or the cellular NWI / F 66.

CPU72は、携帯端末50が無線LAN(即ち通常Wi−FiNW又はWFDNW)に所属している場合には、無線LANI/F60を介して、Eメールを送信する。これにより、携帯端末50は、無線LANと、インターネット(即ちメールサーバ120)と、を介して、印刷データをMFP10に送信することができる(図2のEP参照)。また、CPU72は、携帯端末50がセルラーNWに所属している場合には、セルラーNWI/F66を介して、Eメールを送信する。これにより、携帯端末50は、セルラーNWと、インターネット(即ちメールサーバ120)と、を介して、印刷データをMFP10に送信することができる(図2のEP参照)。   When the mobile terminal 50 belongs to a wireless LAN (that is, normal Wi-Fi NW or WFDNW), the CPU 72 transmits an e-mail via the wireless LAN I / F 60. Thereby, the portable terminal 50 can transmit print data to the MFP 10 via the wireless LAN and the Internet (that is, the mail server 120) (see EP in FIG. 2). Further, when the mobile terminal 50 belongs to the cellular NW, the CPU 72 transmits an e-mail via the cellular NWI / F 66. Thereby, the portable terminal 50 can transmit print data to the MFP 10 via the cellular network and the Internet (that is, the mail server 120) (see EP in FIG. 2).

また、CPU72は、携帯端末50が無線LAN及びセルラーNWの両方に所属している場合には、無線LANI/F60を介して、Eメールを送信する。即ち、CPU72は、無線LANを優先的に利用して、Eメールを送信する。この理由は、以下の通りである。即ち、セルラーNWを利用するセルラー通信は、通信データのデータサイズに応じた従量制の課金対象になる可能性があるが、無線LANを利用する通常Wi−Fi通信(もしくはWFD通信)は、通常、従量制の課金対象にならない。このために、CPU72は、無線LANを優先的に利用して、Eメールを送信する。   In addition, when the mobile terminal 50 belongs to both the wireless LAN and the cellular network, the CPU 72 transmits an e-mail via the wireless LAN I / F 60. That is, the CPU 72 transmits an e-mail using the wireless LAN preferentially. The reason for this is as follows. That is, the cellular communication using the cellular network may be subject to a charge based on the data size of the communication data, but the normal Wi-Fi communication (or WFD communication) using the wireless LAN is normally , It is not subject to metered billing. For this purpose, the CPU 72 transmits an email using the wireless LAN preferentially.

また、例えば、選択結果がCPである場合には、CPU72は、送信先情報に含まれる印刷用CSIを利用して、無線LANI/F60又はセルラーNWI/F66を介して、印刷CLサーバ140に接続する。次いで、CPU72は、印刷用CSIに含まれる印刷CLサーバ140のURLが送信先として指定されているコマンドを生成し、当該コマンドに印刷データを添付する。そして、CPU72は、無線LANI/F60又はセルラーNWI/F66を介して、印刷データを含むコマンドを送信する。なお、無線LANI/F60及びセルラーNWI/F66のどちらのI/Fを利用するのかについては、EPの場合と同様である。携帯端末50は、無線LAN又はセルラーNWと、インターネット(即ち印刷CLサーバ140)と、を介して、印刷データをMFP10に送信することができる(図2のCP参照)。   For example, when the selection result is CP, the CPU 72 connects to the print CL server 140 via the wireless LAN I / F 60 or the cellular NWI / F 66 using the print CSI included in the destination information. To do. Next, the CPU 72 generates a command in which the URL of the print CL server 140 included in the print CSI is specified as a transmission destination, and attaches the print data to the command. Then, the CPU 72 transmits a command including print data via the wireless LAN I / F 60 or the cellular NWI / F 66. Note that which of the wireless LAN I / F 60 and the cellular NWI / F 66 is used is the same as in the case of EP. The portable terminal 50 can transmit print data to the MFP 10 via the wireless LAN or cellular NW and the Internet (that is, the print CL server 140) (see CP in FIG. 2).

また、例えば、選択結果がDPである場合には、CPU72は、まず、送信先情報を利用して、MFP10及び携帯端末50が同一のNWに所属しているのか否かを判断する。例えば、MFP10の通常Wi−Fi用SSID及び通常Wi−Fi用BSSIDのセットと、携帯端末50の通常Wi−Fi用SSID及び通常Wi−Fi用BSSIDのセットと、が一致する場合には、CPU72は、MFP10及び携帯端末50が同一の通常Wi−FiNWに所属していると判断する。また、例えば、MFP10のWFD用SSID及びWFD用BSSIDのセットと、携帯端末50のWFD用SSID及びWFD用BSSIDのセットと、が一致する場合には、CPU72は、MFP10及び携帯端末50が同一のWFDNWに所属していると判断する。また、例えば、MFP10のBTWSIに含まれるPINコードと、携帯端末50のBTWSIに含まれるPINコードと、が一致する場合には、CPU72は、MFP10及び携帯端末50が同一のBTNWに所属していると判断する。   For example, when the selection result is DP, the CPU 72 first determines whether the MFP 10 and the portable terminal 50 belong to the same NW using the transmission destination information. For example, when the set of the normal Wi-Fi SSID and the normal Wi-Fi BSSID of the MFP 10 matches the set of the normal Wi-Fi SSID and the normal Wi-Fi BSSID of the mobile terminal 50, the CPU 72 Determines that the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW. For example, when the set of the WFD SSID and WFD BSSID of the MFP 10 and the set of the WFD SSID and WFD BSSID of the portable terminal 50 match, the CPU 72 determines that the MFP 10 and the portable terminal 50 are the same. It is determined that the user belongs to the WFDNW. Further, for example, when the PIN code included in the BTWSI of the MFP 10 matches the PIN code included in the BTWSI of the portable terminal 50, the CPU 72 indicates that the MFP 10 and the portable terminal 50 belong to the same BTNW. Judge.

なお、本実施例では、CPU72は、SSID及びBSSIDのセットの一致判断を実行することによって、MFP10及び携帯端末50が同一のNW(通常Wi−FiNW又はWFDNW)に所属しているのか否かを判断する。これに対し、変形例では、CPU72は、SSIDの一致判断のみを実行することによって、MFP10及び携帯端末50が同一のNWに所属しているのか否かを判断してもよいし、BSSIDの一致判断のみを実行することによって、MFP10及び携帯端末50が同一のNWに所属しているのか否かを判断してもよい。   In this embodiment, the CPU 72 determines whether the MFP 10 and the portable terminal 50 belong to the same NW (normal Wi-Fi NW or WFDNW) by executing a match determination of the SSID and BSSID set. to decide. On the other hand, in the modification, the CPU 72 may determine whether the MFP 10 and the portable terminal 50 belong to the same NW by executing only the SSID match determination, or the BSSID match. It may be determined whether the MFP 10 and the portable terminal 50 belong to the same NW by executing only the determination.

CPU72は、MFP10及び携帯端末50が同一のNWに所属していると判断する場合には、当該同一のNWを利用して、印刷データをMFP10に送信する。例えば、上記の同一のNWが通常Wi−FiNWである場合には、CPU72は、送信先情報に含まれるMFP10の通常Wi−Fi用IPアドレスを送信先として、無線LANI/F60を介して、印刷データを送信する。これにより、携帯端末50は、AP100を介して、印刷データをMFP10に送信することができる(図2の通常Wi−Fi印刷参照)。   If the CPU 72 determines that the MFP 10 and the portable terminal 50 belong to the same NW, the CPU 72 transmits print data to the MFP 10 using the same NW. For example, if the same NW is the normal Wi-Fi NW, the CPU 72 prints via the wireless LAN I / F 60 with the normal Wi-Fi IP address of the MFP 10 included in the destination information as the destination. Send data. Accordingly, the portable terminal 50 can transmit print data to the MFP 10 via the AP 100 (see normal Wi-Fi printing in FIG. 2).

また、例えば、上記の同一のNWがWFDNWである場合には、CPU72は、送信先情報に含まれるMFP10のWFD用IPアドレスを送信先として、無線LANI/F60を介して、印刷データを送信する。これにより、携帯端末50は、G/O機器であるPC110を介して、又は、他機器を介さずに、印刷データをMFP10に送信することができる(図2のWFD印刷参照)。   Further, for example, when the same NW is the WFDNW, the CPU 72 transmits print data via the wireless LAN I / F 60 with the WFD IP address of the MFP 10 included in the transmission destination information as the transmission destination. . Accordingly, the portable terminal 50 can transmit print data to the MFP 10 via the PC 110 that is a G / O device or without using other devices (see WFD printing in FIG. 2).

また、例えば、上記の同一のNWがBTNWである場合には、CPU72は、MFP10のBTWSI(即ち携帯端末50のBTWSI)に含まれるPINコードを利用して、BTI/F64を介して、印刷データを送信する。これにより、携帯端末50は、他機器を介さずに、印刷データをMFP10に送信することができる(図2のBT印刷参照)。   Further, for example, when the same NW is the BTNW, the CPU 72 uses the PIN code included in the BTWSI of the MFP 10 (that is, the BTWSI of the portable terminal 50) to print data via the BTI / F64. Send. Thereby, the portable terminal 50 can transmit print data to the MFP 10 without using other devices (see BT printing in FIG. 2).

上述したように、S54では、選択結果がDPであり、かつ、MFP10及び携帯端末50が同一のNWに所属している場合には、携帯端末50は、当該同一のNWを優先的に利用して、印刷データをMFP10に送信する。これにより、携帯端末50は、MFP10と無線接続を確立せずに済むので、印刷データをMFP10に迅速に送信することができる。   As described above, in S54, when the selection result is DP and the MFP 10 and the portable terminal 50 belong to the same NW, the portable terminal 50 preferentially uses the same NW. The print data is transmitted to the MFP 10. Thereby, since the portable terminal 50 does not need to establish a wireless connection with the MFP 10, print data can be quickly transmitted to the MFP 10.

なお、MFP10及び携帯端末50が2個以上の同一のNWに所属している場合には、CPU72は、通信速度が速いNWを優先的に利用する。例えば、MFP10及び携帯端末50が同一のWFDNWと同一のBTNWとに所属している場合には、CPU72は、WFDNWを利用して、印刷データをMFP10に送信する。   When the MFP 10 and the portable terminal 50 belong to two or more identical NWs, the CPU 72 preferentially uses an NW having a high communication speed. For example, when the MFP 10 and the portable terminal 50 belong to the same WFDNW and the same BTNW, the CPU 72 transmits print data to the MFP 10 using the WFDNW.

また、CPU72は、MFP10及び携帯端末50が同一のNWに所属していないと判断する場合には、以下の処理を実行する。上述したように、送信先情報は、MFP10が所属している通常Wi−FiNWで利用されているパスワードを含まない(図11のS113参照)。従って、CPU72は、当該通常Wi−FiNWに携帯端末50を参加させることができない。   If the CPU 72 determines that the MFP 10 and the portable terminal 50 do not belong to the same NW, the CPU 72 executes the following processing. As described above, the transmission destination information does not include the password used in the normal Wi-Fi NW to which the MFP 10 belongs (see S113 in FIG. 11). Therefore, the CPU 72 cannot allow the mobile terminal 50 to participate in the normal Wi-Fi NW.

送信先情報は、MFP10がG/O機器であるWFDNWで利用されている各情報(WFD用SSID、WFD用BSSID、パスワード、及び、MFP10のWFD用IPアドレス)を含み得る(図11のS115参照)。この場合、CPU72は、それらの情報を利用して、G/O機器であるMFP10と無線接続を確立する。これにより、CPU72は、MFP10がG/O機器であるWFDNWに、CL機器として携帯端末50を参加させることができる。そして、CPU72は、送信先情報に含まれるMFP10のWFD用IPアドレスを送信先として、無線LANI/F60を介して、印刷データを送信する。これにより、CL機器である携帯端末50は、WFDNWを利用して、他機器を介さずに、G/O機器であるMFP10に印刷データを送信することができる。   The destination information may include information (WFD SSID, WFD BSSID, password, and WFD IP address of the MFP 10) used in the WFDNW in which the MFP 10 is a G / O device (see S115 in FIG. 11). ). In this case, the CPU 72 establishes a wireless connection with the MFP 10 that is a G / O device using the information. Accordingly, the CPU 72 can cause the mobile terminal 50 to participate as a CL device in the WFDNW in which the MFP 10 is a G / O device. Then, the CPU 72 transmits print data via the wireless LAN I / F 60 using the WFD IP address of the MFP 10 included in the transmission destination information as a transmission destination. Accordingly, the portable terminal 50 that is a CL device can transmit print data to the MFP 10 that is a G / O device by using WFDNW without using other devices.

また、送信先情報は、MFP10のBTWSI(即ちPINコード)を含み得る(図11のS117参照)。この場合、CPU72は、BTWSIを利用して、MFP10と無線接続を確立する。そして、CPU72は、PINコードを利用して、BTI/F64を介して、印刷データを送信する。これにより、携帯端末50は、BTNWを利用して、他機器を介さずに、印刷データをMFP10に送信することができる。   Further, the destination information may include BTWSI (that is, a PIN code) of the MFP 10 (see S117 in FIG. 11). In this case, the CPU 72 establishes a wireless connection with the MFP 10 using BTWSI. Then, the CPU 72 transmits print data via the BTI / F 64 using the PIN code. Accordingly, the portable terminal 50 can transmit print data to the MFP 10 using BTNW without using other devices.

なお、送信先情報が、MFP10がG/O機器であるWFDNWで利用されている各情報と、MFP10のBTWSIと、の両方を含む場合には、CPU72は、通信速度が速いWFDNWを優先的に利用することを決定して、MFP10がG/O機器であるWFDNWに、CL機器として携帯端末50を参加させる。   When the destination information includes both information used in the WFDNW in which the MFP 10 is a G / O device and the BTWSI of the MFP 10, the CPU 72 preferentially selects a WFDNW having a high communication speed. The MFP 10 decides to use the mobile terminal 50 as a CL device in the WFDNW, which is a G / O device.

(機能選択処理;図4)
続いて、図4を参照して、図3のS30の機能選択処理を説明する。S31では、CPU72は、MFP10及び携帯端末50が同一の通常Wi−FiNW又は同一のWFDNWに所属しているのか否かを判断する。CPU72は、携帯端末50の通常Wi−FiWSI及びWFDWSIのいずれもメモリ74に記憶されていない場合には、S31でNOと判断し、S33に進む。
(Function selection processing; FIG. 4)
Next, the function selection process in S30 of FIG. 3 will be described with reference to FIG. In S31, the CPU 72 determines whether the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW or the same WFDNW. If neither the normal Wi-Fi WSI nor the WFD WSI of the mobile terminal 50 is stored in the memory 74, the CPU 72 determines NO in S31 and proceeds to S33.

CPU72は、携帯端末50の通常Wi−FiWSIがメモリ74に記憶されている場合には、当該通常Wi−FiWSIに含まれる通常Wi−Fi用SSID及び通常Wi−Fi用BSSIDのセットに一致するSSID及びBSSIDのセット(以下では「第1のセット」と呼ぶ)が応答データに含まれているのか否を判断する。CPU72は、第1のセットが応答データに含まれている場合には、S31でYESと判断し、S32に進み、第1のセットが応答データに含まれていない場合には、S31でNOと判断し、S33に進む。   When the normal Wi-Fi WSI of the mobile terminal 50 is stored in the memory 74, the CPU 72 matches the set of the normal Wi-Fi SSID and the normal Wi-Fi BSSID included in the normal Wi-Fi WSI. And whether or not a set of BSSIDs (hereinafter referred to as “first set”) is included in the response data. If the first set is included in the response data, the CPU 72 determines YES in S31, and proceeds to S32. If the first set is not included in the response data, the CPU 72 determines NO in S31. Judge and proceed to S33.

また、CPU72は、携帯端末50のWFDWSIがメモリ74に記憶されている場合には、当該WFDWSIのWFD用SSID及びWFD用BSSIDのセットに一致するSSID及びBSSIDのセット(以下では「第2のセット」と呼ぶ)が応答データに含まれているのか否かを判断する。CPU72は、第2のセットが応答データに含まれている場合には、S31でYESと判断し、S32に進み、第2のセットが応答データに含まれていない場合には、S31でNOと判断し、S33に進む。   In addition, when the WFD WSI of the portable terminal 50 is stored in the memory 74, the CPU 72 sets the SSID and BSSID that match the set of the WFD SSID and WSID BSSID of the WFD WSI (hereinafter referred to as “second set”). ") Is included in the response data. If the second set is included in the response data, the CPU 72 determines YES in S31, and proceeds to S32. If the second set is not included in the response data, the CPU 72 determines NO in S31. Judge and proceed to S33.

上述したように、S31でYESと判断される場合には、応答データは、第1のセット及び第2のセットのうちの少なくとも一方を含む。このような状況では、MFP10は、通常Wi−Fi印刷及びWFD印刷のうちの少なくとも一方を実行可能であるので(後述の図8のS72、S75参照)、DPOKを含む応答データを携帯端末50に送信する。なお、この場合、応答データは、EP及びCPのそれぞれについては、OK又はNGを含む。S32では、CPU72は、応答データに含まれるOKを示す1個以上の通信方式(少なくともDP)の中からDPを選択して、機能選択処理を終了する。この場合、MFP10及び携帯端末50が同一の通常Wi−FiNW又は同一のWFDNWに所属しているので、図3のS54において、CPU72は、当該同一のNWを利用して(即ちDPに従って)、印刷データをMFP10に送信することができる。   As described above, when YES is determined in S31, the response data includes at least one of the first set and the second set. In such a situation, since the MFP 10 can execute at least one of normal Wi-Fi printing and WFD printing (see S72 and S75 in FIG. 8 described later), response data including DPOK is sent to the portable terminal 50. Send. In this case, the response data includes OK or NG for each of EP and CP. In S32, the CPU 72 selects a DP from one or more communication methods (at least a DP) indicating OK included in the response data, and ends the function selection process. In this case, since the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW or the same WFDNW, in S54 of FIG. 3, the CPU 72 uses the same NW (that is, according to DP) to perform printing. Data can be transmitted to the MFP 10.

S33では、CPU72は、携帯端末50が無線LAN(即ち、通常Wi−FiNW、WFDNW)に所属しているか否かを判断する。CPU72は、通常Wi−FiWSI及びWFDWSIのうちの少なくとも1個がメモリ74に記憶されている場合には、S33でYESと判断し、S34に進み、通常Wi−FiWSI及びWFDWSIのいずれもメモリ74に記憶されていない場合には、S33でNOと判断し、S38に進む。   In S33, the CPU 72 determines whether or not the portable terminal 50 belongs to a wireless LAN (that is, normal Wi-Fi NW, WFDNW). When at least one of the normal Wi-Fi WSI and WFD WSI is stored in the memory 74, the CPU 72 determines YES in S33, proceeds to S34, and both the normal Wi-Fi WSI and WFD WSI are stored in the memory 74. If not stored, NO is determined in S33, and the process proceeds to S38.

S34では、CPU72は、携帯端末50が無線LANを介してインターネット通信を実行可能であるのか否かを判断する。具体的に言うと、CPU72は、携帯端末50がインターネット上の確認サーバ130と通信可能であるのか否かを判断する。即ち、CPU72は、メモリ34に予め記憶されている確認サーバ130のURLを送信先として、無線LANI/F60を介して信号を送信し、確認サーバ130から応答信号を受信することを監視する。確認サーバ130から応答信号が受信される場合には、CPU72は、S34でYESと判断し、S150に進む。この場合、携帯端末50は、無線LANを介して、インターネット通信を実行可能である。一方において、確認サーバ130から応答信号が受信されない場合には、CPU72は、S34でNOと判断し、S35に進む。   In S <b> 34, the CPU 72 determines whether the mobile terminal 50 can execute Internet communication via the wireless LAN. Specifically, the CPU 72 determines whether or not the portable terminal 50 can communicate with the confirmation server 130 on the Internet. That is, the CPU 72 monitors the reception of a response signal from the confirmation server 130 by transmitting a signal via the wireless LAN I / F 60 with the URL of the confirmation server 130 stored in advance in the memory 34 as a transmission destination. When a response signal is received from the confirmation server 130, the CPU 72 determines YES in S34 and proceeds to S150. In this case, the portable terminal 50 can execute Internet communication via the wireless LAN. On the other hand, when the response signal is not received from the confirmation server 130, the CPU 72 determines NO in S34 and proceeds to S35.

(第1の選択処理;図5)
S150では、CPU72は、第1の選択処理(図5参照)が実行される。S151では、CPU72は、CPOKを示す情報が応答データに含まれるのか否かを判断する。CPU72は、CPOKを示す情報が応答データに含まれる場合には、S151でYESと判断し、S152において、CPを選択して、第1の選択処理を終了する。
(First selection process; FIG. 5)
In S150, the CPU 72 executes a first selection process (see FIG. 5). In S151, the CPU 72 determines whether or not information indicating CPOK is included in the response data. If the response data includes information indicating CPOK, the CPU 72 determines YES in S151, selects a CP in S152, and ends the first selection process.

CPU72は、CPNGを示す情報が応答データに含まれる場合には、S151でNOと判断し、S153において、EPOKを示す情報が応答データに含まれるのか否かを判断する。CPU72は、EPOKを示す情報が応答データに含まれる場合には、S153でYESと判断し、S154において、EPを選択して、第1の選択処理を終了する。   When information indicating CPNG is included in the response data, the CPU 72 determines NO in S151, and determines whether information indicating EPOK is included in the response data in S153. If the information indicating EPOK is included in the response data, the CPU 72 determines YES in S153, selects EP in S154, and ends the first selection process.

CPU72は、EPNGを示す情報が応答データに含まれる場合には、S153でNOと判断し、S155において、DPOKを示す情報が応答データに含まれるのか否かを判断する。CPU72は、DPOKを示す情報が応答データに含まれる場合には、S155でYESと判断し、S156において、DPを選択して、第1の選択処理を終了する。   When the information indicating EPNG is included in the response data, the CPU 72 determines NO in S153, and determines whether or not the information indicating DPOK is included in the response data in S155. If the information indicating DPOK is included in the response data, the CPU 72 determines YES in S155, selects the DP in S156, and ends the first selection process.

一方において、CPU72は、DPNGを示す情報が応答データに含まれる場合には、S155でNOと判断し、S157において、MFP10に印刷を実行させることができないことを示すエラー画面を表示機構54に表示させ、第1の選択処理を終了する。なお、S157が実行される場合には、図3のS50以降の処理が実行されない。   On the other hand, when information indicating DPNG is included in the response data, the CPU 72 determines NO in S155, and displays an error screen on the display mechanism 54 indicating that the MFP 10 cannot execute printing in S157. To end the first selection process. In addition, when S157 is performed, the process after S50 of FIG. 3 is not performed.

第1の選択処理は、携帯端末50が無線LAN(即ち、通常Wi−FiNW、WFDNW)に所属している状況で実行される(図4のS33でYES)。そして、通信方式の選択の優先順序は、CP、EP、DPの順序である(図5参照)。インターネットが利用されないDPに比べて、インターネットが利用されるCP及びEPが優先される理由は、以下の通りである。   The first selection process is executed in a situation where the mobile terminal 50 belongs to a wireless LAN (that is, normal Wi-Fi NW, WFDNW) (YES in S33 of FIG. 4). And the priority order of selection of the communication method is the order of CP, EP, DP (see FIG. 5). The reason why the CP and EP that use the Internet are given priority over the DP that does not use the Internet is as follows.

即ち、携帯端末50及びMFP10が同一のNWに所属していないので(S31でNO)、携帯端末50は、ダイレクト通信を利用するために、携帯端末50とMFP10との間に無線接続を確立する処理を実行しなければならない。これに対し、携帯端末50は、クラウド通信又はEメール通信を利用するために、上記の無線接続を確立せずに済む。このように、処理負荷の軽減の観点から、CP及びEPが優先される。しかも、携帯端末50が無線LANに所属しているので、CP又はEPが選択される場合には、図3のS54において、携帯端末50は、セルラーNWではなく、無線LANを利用して、印刷データをMFP10に送信する。このために、CP又はEPが選択されても、印刷データの通信が従量制の課金の対象にならない。このように、課金の観点においても、CP及びEPが優先されても問題ない。   That is, since the portable terminal 50 and the MFP 10 do not belong to the same NW (NO in S31), the portable terminal 50 establishes a wireless connection between the portable terminal 50 and the MFP 10 in order to use direct communication. Processing must be performed. On the other hand, since the mobile terminal 50 uses cloud communication or e-mail communication, it is not necessary to establish the wireless connection. Thus, CP and EP are prioritized from the viewpoint of reducing the processing load. Moreover, since the portable terminal 50 belongs to the wireless LAN, when CP or EP is selected, the portable terminal 50 prints using the wireless LAN instead of the cellular network in S54 of FIG. Data is transmitted to the MFP 10. For this reason, even if CP or EP is selected, the communication of the print data is not subject to metered charging. Thus, from the viewpoint of accounting, there is no problem even if CP and EP are prioritized.

なお、EPに比べてCPが優先されるのは、例えば、クラウド通信は、通常、Eメール通信と比べて、セキュリティの面で優れている可能性があるからである。CPU72は、第1の選択処理を終了すると、機能選択処理を終了する。   The reason why the CP is given priority over the EP is that, for example, the cloud communication may normally be superior in terms of security compared to the email communication. When completing the first selection process, the CPU 72 ends the function selection process.

図4のS35では、CPU72は、DPOKを示す情報が応答データに含まれるのか否かを判断する。DPOKを示す情報が応答データに含まれる場合には、CPU72は、S35でYESと判断し、S36において、DPを選択して、機能選択処理を終了する。携帯端末50は、無線LANに所属しているが、当該無線LANを介してインターネット通信を実行不可能である場合(S34でNO)には、当該無線LANを介してクラウド通信及びEメール通信を実行不可能である。従って、S35及びS36では、CPU72は、CP及びEPを選択することなく、DPOKを示す情報が応答データに含まれる場合には、DPを選択する。一方において、DPNGを示す情報が応答データに含まれる場合には、CPU72は、S35でNOと判断し、S38に進む。ただし、変形例では、S34でNOと判断した場合に、S35をスキップして、S38に進んでもよい。   In S35 of FIG. 4, the CPU 72 determines whether or not the information indicating DPOK is included in the response data. If the response data includes information indicating DPOK, the CPU 72 determines YES in S35, selects DP in S36, and ends the function selection process. If the mobile terminal 50 belongs to a wireless LAN but cannot perform Internet communication via the wireless LAN (NO in S34), cloud communication and e-mail communication are performed via the wireless LAN. Infeasible. Therefore, in S35 and S36, the CPU 72 selects DP when information indicating DPOK is included in the response data without selecting CP and EP. On the other hand, when information indicating DPNG is included in the response data, the CPU 72 determines NO in S35, and proceeds to S38. However, in a modified example, when it is determined NO in S34, S35 may be skipped and the process may proceed to S38.

S38では、CPU72は、携帯端末50がセルラーNWに所属しているか否かを判断する。CPU72は、携帯端末50がセルラーNWに所属している場合には、S38でYESと判断し、S160に進む。一方において、携帯端末50がセルラーNWに所属していない場合には、S38でNOと判断し、S39に進む。   In S38, the CPU 72 determines whether or not the portable terminal 50 belongs to the cellular NW. If the portable terminal 50 belongs to the cellular network, the CPU 72 determines YES in S38 and proceeds to S160. On the other hand, if the portable terminal 50 does not belong to the cellular NW, NO is determined in S38, and the process proceeds to S39.

(第2の選択処理;図6)
S160では、CPU72は、第2の選択処理(図6参照)を実行する。第2の選択処理では、各処理の順序が第1の選択処理(図5)とは異なる。即ち、第1の選択処理では、優先順序がCP、EP、DPの順序であるが、第2の選択処理では、優先順序がDP、CP、EPの順序である。S161、162は、図5のS155、156と同様である。S163、164は、図5のS151、152と同様であり、S165、166は、図5のS153,154と同様である。S167は、図5のS157と同様である。
(Second selection process; FIG. 6)
In S160, the CPU 72 executes a second selection process (see FIG. 6). In the second selection process, the order of each process is different from that in the first selection process (FIG. 5). That is, in the first selection process, the priority order is the order of CP, EP, and DP, but in the second selection process, the priority order is the order of DP, CP, and EP. S161 and 162 are the same as S155 and 156 of FIG. S163 and 164 are the same as S151 and 152 of FIG. 5, and S165 and 166 are the same as S153 and 154 of FIG. S167 is the same as S157 of FIG.

第2の選択処理は、携帯端末50が、無線LAN(即ち、通常Wi−FiNW、WFDNW)に所属していない(図4のS33でNO)、又は、携帯端末50が、無線LANを介してインターネット通信を実行可能でない(図4のS34でNO)、のいずれか一方の状態で、セルラーNWに所属している状況で実行される(図4のS38でYES)。そして、通信方式の選択の優先順序は、DP、CP、EPの順序である(図6参照)。インターネットが利用されるCP及びEPに比べて、インターネットが利用されないDPが優先される理由は、以下の通りである。   In the second selection process, the mobile terminal 50 does not belong to the wireless LAN (that is, normal Wi-FiNW, WFDNW) (NO in S33 in FIG. 4), or the mobile terminal 50 passes through the wireless LAN. The communication is executed in a state where the user belongs to the cellular network NW in either state where Internet communication is not executable (NO in S34 of FIG. 4) (YES in S38 of FIG. 4). And the priority order of selection of a communication system is the order of DP, CP, EP (see FIG. 6). The reason why the DP that does not use the Internet is given priority over the CP and EP that use the Internet is as follows.

即ち、携帯端末50が、無線LANを介してインターネット通信を実行不可能であり、セルラーNWに所属しているので、CP又はEPが選択される場合には、図3のS54において、携帯端末50は、セルラーNWを利用して、印刷データをMFP10に送信する。このために、CP又はEPが選択される場合には、印刷データの通信が従量制の課金の対象になり得る。これに対し、DPが選択される場合には、図3のS54において、携帯端末50は、MFP10と無線接続を新たに確立して、無線LANを利用して、印刷データをMFP10に送信する。この場合、セルラーNWが利用されないために、印刷データの通信が従量制の課金の対象にならない。このように、課金の観点から、DPが優先される。   That is, since the mobile terminal 50 cannot perform Internet communication via the wireless LAN and belongs to the cellular network NW, when the CP or EP is selected, the mobile terminal 50 is selected in S54 of FIG. Transmits the print data to the MFP 10 using the cellular network. For this reason, when CP or EP is selected, communication of print data can be subject to metered charging. On the other hand, when DP is selected, the portable terminal 50 newly establishes a wireless connection with the MFP 10 and transmits print data to the MFP 10 using the wireless LAN in S54 of FIG. In this case, since the cellular network is not used, print data communication is not subject to metered charging. Thus, DP is prioritized from the viewpoint of billing.

S39、S40は、それぞれ、S35、36と同様である。即ち、携帯端末50が無線LAN又はセルラーNWを介してインターネット通信を実行不可能であるので、CPU72は、CP及びEPを選択することなく、DPOKを示す情報が応答データに含まれる場合には、DPを選択する。ただし、DPNGを示す情報が応答データに含まれる場合には、CPU72は、S39でNOと判断し、S41において、MFP10に印刷を実行させることができないことを示すエラー画面を表示機構54に表示させる。なお、S41が実行される場合には、図3のS50以降の処理が実行されない。   S39 and S40 are the same as S35 and 36, respectively. That is, since the portable terminal 50 cannot execute Internet communication via the wireless LAN or the cellular network, the CPU 72 does not select CP and EP, and information indicating DPOK is included in the response data. Select DP. However, if information indicating DPNG is included in the response data, the CPU 72 determines NO in S39, and causes the display mechanism 54 to display an error screen indicating that the MFP 10 cannot execute printing in S41. . In addition, when S41 is performed, the process after S50 of FIG. 3 is not performed.

(MFP10の処理;図7)
続いて、図7を参照して、MFP10が実行する処理の内容を説明する。MFP10と携帯端末50との間でNFC接続が確立されることをトリガとして、図7の処理が開始される。
(Processing of MFP 10; FIG. 7)
Next, the contents of processing executed by the MFP 10 will be described with reference to FIG. The process of FIG. 7 is triggered by the establishment of an NFC connection between the MFP 10 and the portable terminal 50 as a trigger.

S60では、CPU32は、携帯端末50から、NFCI/F22を介して、機能要求(図3のS10参照)を受信する。次いで、S70、S80、S90において、CPU32は、DP機能確認処理(図8参照)、EP機能確認処理(図9参照)、CP機能確認処理(図10参照)を実行する。これらの処理では、CPU32は、MFP10が、DP、EP、及び、CPのうちのどの印刷機能を実行可能であるのかを特定する。これらの処理の詳細については後述する。   In S60, the CPU 32 receives a function request (see S10 in FIG. 3) from the portable terminal 50 via the NFC I / F 22. Next, in S70, S80, and S90, the CPU 32 executes DP function confirmation processing (see FIG. 8), EP function confirmation processing (see FIG. 9), and CP function confirmation processing (see FIG. 10). In these processes, the CPU 32 specifies which printing function of the DP, EP, and CP can be executed by the MFP 10. Details of these processes will be described later.

次いで、S100では、CPU32は、S70〜S90の確認結果を利用して、応答データを生成する。詳しくは後述するが、S70では、通常Wi−Fi印刷、WFD印刷、及び、BT印刷のそれぞれについて、OK又はNGを示す情報がメモリ34に記憶される。S100では、CPU32は、通常Wi−Fi印刷、WFD印刷、及び、BT印刷のうちの少なくとも1個について、OKを示す情報がメモリ34に記憶されている場合には、DPOKを示す情報を含む応答データを生成する。また、CPU32は、通常Wi−Fi印刷、WFD印刷、及び、BT印刷のうちの全てについて、NGを示す情報がメモリ34に記憶されている場合には、DPNGを示す情報を含む応答データを生成する。   Next, in S100, the CPU 32 generates response data using the confirmation results in S70 to S90. As will be described later in detail, in S70, information indicating OK or NG is stored in the memory 34 for each of normal Wi-Fi printing, WFD printing, and BT printing. In S100, the CPU 32, when information indicating OK is stored in the memory 34 for at least one of normal Wi-Fi printing, WFD printing, and BT printing, a response including information indicating DPOK. Generate data. In addition, when information indicating NG is stored in the memory 34 for all of normal Wi-Fi printing, WFD printing, and BT printing, the CPU 32 generates response data including information indicating DPNG. To do.

また、詳しくは後述するが、S80では、EPOK又はEPNGを示す情報がメモリ34に記憶され、S90では、CPOK又はCPNGを示す情報がメモリ34に記憶される。S100では、CPU32は、EPOK(又はCPOK)を示す情報がメモリ34に記憶されている場合には、EPOK(又はCPOK)を示す情報を含む応答データを生成し、EPNG(又はCPNG)を示す情報がメモリ34に記憶されている場合には、EPNG(又はCPNG)を示す情報を含む応答データを生成する。   As will be described in detail later, in S80, information indicating EPOK or EPNG is stored in the memory 34, and in S90, information indicating CPOK or CPNG is stored in the memory 34. In S100, when information indicating EPOK (or CPOK) is stored in the memory 34, the CPU 32 generates response data including information indicating EPOK (or CPOK), and indicates EPNG (or CPNG). Is stored in the memory 34, response data including information indicating EPNG (or CPNG) is generated.

また、MFP10が通常Wi−FiNWに所属している場合(即ち、通常Wi−Fi印刷OKである場合)には、S100において、CPU32は、メモリ34内の通常Wi−FiWSIに含まれる通常Wi−Fi用SSID及び通常Wi−Fi用BSSIDのセットを含む応答データを生成する。また、MFP10がWFDNWに所属している場合(即ち、WFD印刷OKである場合)には、S100において、CPU32は、メモリ34内のWFDWSIに含まれるWFD用SSID及びWFD用BSSIDのセットを含む応答データを生成する。   When the MFP 10 belongs to the normal Wi-Fi NW (that is, when the normal Wi-Fi printing is OK), in S100, the CPU 32 causes the normal Wi-Fi WSI included in the memory 34 to include the normal Wi-Fi WSI. Response data including a set of SSID for Fi and BSSID for normal Wi-Fi is generated. When the MFP 10 belongs to the WFDNW (that is, when the WFD printing is OK), in S100, the CPU 32 responds including a set of the SFD for WFD and the BSSID for WFD included in the WFD WSI in the memory 34. Generate data.

S102では、CPU32は、NFCI/F22を介して、応答データを携帯端末50に送信する。これにより、携帯端末50は、応答データを利用して、携帯端末50からMFP10への印刷データの送信を実行するための通信方式を選択することができる(図3のS12、S30)。   In S <b> 102, the CPU 32 transmits response data to the portable terminal 50 via the NFC I / F 22. Accordingly, the portable terminal 50 can select a communication method for executing transmission of print data from the portable terminal 50 to the MFP 10 using the response data (S12 and S30 in FIG. 3).

(DP機能確認処理;図8)
図8を参照して、図7のS70のDP機能確認処理を説明する。S71では、CPU32は、MFP10が通常Wi−Fi機能を有するか否か(即ち、MFP10が無線LANI/F20を備えているのか否か)を判断する。MFP10が通常Wi−Fi機能を有する場合には、CPU32は、S71でYESと判断し、S72において、通常Wi―Fi印刷OKを示す情報をメモリ34に記憶させる。S72を終えると、S74に進む。
(DP function confirmation processing; FIG. 8)
With reference to FIG. 8, the DP function confirmation processing in S70 of FIG. 7 will be described. In S <b> 71, the CPU 32 determines whether or not the MFP 10 has a normal Wi-Fi function (that is, whether or not the MFP 10 includes a wireless LAN I / F 20). When the MFP 10 has the normal Wi-Fi function, the CPU 32 determines YES in S71, and stores information indicating normal Wi-Fi printing OK in the memory 34 in S72. When S72 ends, the process proceeds to S74.

一方において、MFP10が通常Wi−Fi機能を有さない場合には、CPU32は、S71でNOと判断し、S73において、通常Wi―Fi印刷NGを示す情報と、WFD印刷NGを示す情報と、をメモリ34に記憶させる。WFD方式の無線通信は、通常Wi−Fi方式の無線通信を前提とする無線通信である。従って、MFP10は、通常Wi−Fi機能を有さない場合(S71でNOの場合)には、WFD機能も有さない(即ち、WFD通信を実行するためのプログラムがメモリ34に記憶されていない)。従って、S73では、通常Wi―Fi印刷NGを示す情報のみならず、WFD印刷NGを示す情報も、メモリ34に記憶される。S73を終えると、S77に進む。   On the other hand, when the MFP 10 does not have the normal Wi-Fi function, the CPU 32 determines NO in S71, and in S73, information indicating normal Wi-Fi printing NG, information indicating WFD printing NG, Is stored in the memory 34. WFD wireless communication is wireless communication based on normal Wi-Fi wireless communication. Accordingly, when the MFP 10 does not have the normal Wi-Fi function (NO in S71), the MFP 10 does not have the WFD function (that is, the program for executing the WFD communication is not stored in the memory 34). ). Accordingly, in S73, not only information indicating normal Wi-Fi printing NG but also information indicating WFD printing NG is stored in the memory 34. When S73 ends, the process proceeds to S77.

S74では、CPU32は、MFP10がWFD機能を有するか否か(即ち、WFD通信を実行するためのプログラムがメモリ34に記憶されているのか否か)を判断する。MFP10がWFD機能を有する場合には、CPU32は、S74でYESと判断し、S75において、WFD印刷OKを示す情報をメモリ34に記憶させる。一方において、MFP10がWFD機能を有さない場合には、CPU32は、S74でNOと判断し、S76において、WFD印刷NGを示す情報をメモリ34に記憶させる。S75又はS76を終えると、S77に進む。   In S74, the CPU 32 determines whether or not the MFP 10 has a WFD function (that is, whether or not a program for executing WFD communication is stored in the memory 34). If the MFP 10 has a WFD function, the CPU 32 determines YES in S74, and stores information indicating WFD printing OK in the memory 34 in S75. On the other hand, if the MFP 10 does not have the WFD function, the CPU 32 determines NO in S74, and stores information indicating the WFD printing NG in the memory 34 in S76. When S75 or S76 is completed, the process proceeds to S77.

S77では、CPU32は、MFP10がBT機能を有するか否か(即ち、MFP10がBTI/F24を備えているのか否か)を判断する。MFP10がBT機能を有する場合には、CPU32は、S77でYESと判断し、S78において、BT印刷OKを示す情報をメモリ34に記憶させる。一方において、MFP10がBT機能を有さない場合には、CPU32は、S77でNOと判断し、S79において、BT印刷NGを示す情報をメモリ34に記憶させる。   In S77, the CPU 32 determines whether or not the MFP 10 has the BT function (that is, whether or not the MFP 10 includes the BTI / F 24). If the MFP 10 has the BT function, the CPU 32 determines YES in S77, and stores information indicating BT printing OK in the memory 34 in S78. On the other hand, if the MFP 10 does not have a BT function, the CPU 32 determines NO in S77, and stores information indicating BT printing NG in the memory 34 in S79.

(EP機能確認処理;図9)
図9を参照して、図7のS80のEP機能確認処理を説明する。S81では、CPU32は、MFP10がEP機能を有するか否か(即ち、Eメールを受信して、Eメールに含まれる印刷データに従って印刷を実行するためのプログラムがメモリ34に記憶されているのか否か)を判断する。MFP10がEP機能を有する場合には、CPU32は、S81でYESと判断し、S82に進む。一方において、MFP10がEP機能を有さない場合には、CPU32は、S81でNOと判断し、S84において、EPNGを示す情報をメモリ34に記憶させる。
(EP function confirmation processing; FIG. 9)
With reference to FIG. 9, the EP function confirmation processing in S80 of FIG. 7 will be described. In S81, the CPU 32 determines whether or not the MFP 10 has an EP function (that is, whether or not a program for receiving an e-mail and executing printing in accordance with print data included in the e-mail is stored in the memory 34). Or). If the MFP 10 has the EP function, the CPU 32 determines YES in S81, and proceeds to S82. On the other hand, if the MFP 10 does not have an EP function, the CPU 32 determines NO in S81, and stores information indicating EPNG in the memory 34 in S84.

S82では、CPU32は、MFP10がEメールを受信するためのESIである受信用ESI(即ちPOP設定情報)が、メモリ34に記憶されているのか否か判断する。受信用ESIがメモリ34に記憶されている場合には、CPU32は、S82でYESと判断し、S83において、EPOKを示す情報をメモリ34に記憶させる。一方において、受信用ESIがメモリ34に記憶されていない場合には、CPU32は、S82でNOと判断し、S84において、EPNGを示す情報をメモリ34に記憶させる。   In S <b> 82, the CPU 32 determines whether or not reception ESI (that is, POP setting information) that is ESI for the MFP 10 to receive an e-mail is stored in the memory 34. If the reception ESI is stored in the memory 34, the CPU 32 determines YES in S82, and stores information indicating EPOK in the memory 34 in S83. On the other hand, if the reception ESI is not stored in the memory 34, the CPU 32 determines NO in S82, and stores information indicating EPNG in the memory 34 in S84.

(CP機能確認処理;図10)
図10を参照して、図7のS90のCP機能確認処理を説明する。S91では、CPU32は、MFP10がCP機能を有するか否か(即ち、印刷CLサーバ140とクラウド通信を実行するためのプログラムがメモリ34に記憶されているのか否か)を判断する。MFP10がCP機能を有する場合には、CPU32は、S91でYESと判断し、S92に進む。一方において、MFP10がCP機能を有さない場合には、CPU32は、S91でNOと判断し、S95において、CPNGを示す情報をメモリ34に記憶させる。
(CP function confirmation processing; FIG. 10)
With reference to FIG. 10, the CP function confirmation processing in S90 of FIG. 7 will be described. In S <b> 91, the CPU 32 determines whether or not the MFP 10 has a CP function (that is, whether or not a program for executing cloud communication with the print CL server 140 is stored in the memory 34). If the MFP 10 has the CP function, the CPU 32 determines YES in S91 and proceeds to S92. On the other hand, if the MFP 10 does not have the CP function, the CPU 32 determines NO in S91, and stores information indicating CPNG in the memory 34 in S95.

S92では、CPU32は、MFP10が印刷CLサーバ140を利用するためのCSIである印刷用CSI(即ち、印刷CLサーバ140のURL、アカウント情報、認証情報等)が、メモリ34に記憶されているのか否かを判断する。印刷用CSIがメモリ34に記憶されている場合には、CPU32は、S92でYESと判断し、S93に進む。一方において、印刷用CSIがメモリ34に記憶されていない場合には、CPU32は、S92でNOと判断し、S95において、CPNGを示す情報をメモリ34に記憶させる。   In S <b> 92, the CPU 32 stores in the memory 34 printing CSI (that is, the URL, account information, authentication information, etc. of the print CL server 140) that is CSI for the MFP 10 to use the print CL server 140. Judge whether or not. If the printing CSI is stored in the memory 34, the CPU 32 determines YES in S92, and proceeds to S93. On the other hand, when the CSI for printing is not stored in the memory 34, the CPU 32 determines NO in S92, and stores information indicating CPNG in the memory 34 in S95.

S93では、CPU32は、MFP10がインターネット上の確認サーバ130と通信可能であるのか否かを判断する。具体的に言うと、CPU32は、メモリ34に予め記憶されている確認サーバ130のURLを送信先として信号を送信し、確認サーバ130から応答信号を受信することを監視する。確認サーバ130から応答信号が受信される場合には、CPU32は、S93でYESと判断し、S94において、CPOKを示す情報をメモリ34に記憶させる。一方において、確認サーバ130から応答信号が受信されない場合には、CPU32は、S93でNOと判断し、S95において、CPNGを示す情報をメモリ34に記憶させる。なお、例えば、インターネット通信のためのプロバイダとの契約がなされていない場合、インターネット通信のためのゲートウェイが機能していない場合等には、S93でNOと判断され得る。   In S93, the CPU 32 determines whether the MFP 10 can communicate with the confirmation server 130 on the Internet. More specifically, the CPU 32 transmits a signal with the URL of the confirmation server 130 stored in advance in the memory 34 as a transmission destination and monitors whether a response signal is received from the confirmation server 130. When a response signal is received from the confirmation server 130, the CPU 32 determines YES in S93, and stores information indicating CPOK in the memory 34 in S94. On the other hand, when a response signal is not received from the confirmation server 130, the CPU 32 determines NO in S93, and stores information indicating CPNG in the memory 34 in S95. Note that, for example, if a contract with a provider for Internet communication is not made, or if a gateway for Internet communication is not functioning, NO can be determined in S93.

図7のS102を終えると、S104において、CPU32は、携帯端末50から、NFCI/F22を介して、選択結果(即ち、DP、EP、又は、CP)を受信する。次いで、S110において、CPU32は、送信先情報準備処理を実行する。   When S102 in FIG. 7 is finished, in S104, the CPU 32 receives the selection result (that is, DP, EP, or CP) from the portable terminal 50 via the NFC I / F 22. Next, in S110, the CPU 32 executes transmission destination information preparation processing.

(送信先情報準備処理;図11)
図11を参照して、図7のS110の送信先情報準備処理の内容を説明する。S111では、CPU32は、選択結果がDPであるのか否かを判断し、選択結果がDPである場合には、S111でYESと判断し、S112に進む。一方において、選択結果がEP又はCPである場合には、S111でNOと判断し、S118に進む。
(Destination information preparation process; FIG. 11)
With reference to FIG. 11, the contents of the destination information preparation process of S110 of FIG. 7 will be described. In S111, the CPU 32 determines whether or not the selection result is DP. If the selection result is DP, the CPU 32 determines YES in S111 and proceeds to S112. On the other hand, if the selection result is EP or CP, NO is determined in S111, and the process proceeds to S118.

S112では、CPU32は、図7のS70(図8参照)で通常Wi−Fi印刷OKを示す情報がメモリ34に記憶されたのか否かを判断する。CPU32は、通常Wi−Fi印刷OKを示す情報がメモリ34に記憶されている場合には、S112でYESと判断し、S113に進む。一方において、CPU32は、通常Wi−Fi印刷NGを示す情報がメモリ34に記憶されている場合には、S112でNOと判断し、S116に進む。   In S112, the CPU 32 determines whether information indicating normal Wi-Fi printing OK is stored in the memory 34 in S70 of FIG. 7 (see FIG. 8). If the information indicating normal Wi-Fi printing OK is stored in the memory 34, the CPU 32 determines YES in S112, and proceeds to S113. On the other hand, when information indicating normal Wi-Fi printing NG is stored in the memory 34, the CPU 32 determines NO in S112, and proceeds to S116.

S113では、CPU32は、MFP10の通常Wi−FiWSIに含まれる各情報(通常Wi−Fi用SSID、通常Wi−Fi用BSSID、及び、MFP10の通常Wi−Fi用IPアドレス)を、メモリ34から特定することによって、それらの情報を送信先情報として準備する。本実施例では、通常Wi−FiNWにおいて、AP100は、当該通常Wi−FiNWに他機器を参加させる権限を有するが、AP100とは異なる機器(例えばMFP10)は、当該通常Wi−FiNWに他機器を参加させる権限を有さない、というセキュリティポリシーを採用している。従って、S113では、CPU32は、MFP10の通常Wi−FiWSIに含まれるパスワードを準備しない(即ち、送信先情報としてパスワードを送信しない)。ただし、変形例では、CPU32は、パスワードを準備してもよい(即ち、送信先情報としてパスワードを送信してもよい)。   In S113, the CPU 32 identifies each information (normal Wi-Fi SSID, normal Wi-Fi BSSID, and normal Wi-Fi IP address of the MFP 10) included in the normal Wi-Fi WSI of the MFP 10 from the memory 34. To prepare the information as transmission destination information. In this embodiment, in the normal Wi-Fi NW, the AP 100 has the authority to allow other devices to participate in the normal Wi-Fi NW. However, a device (for example, the MFP 10) different from the AP 100 has another device in the normal Wi-Fi NW. Adopts a security policy that does not have the authority to participate. Therefore, in S113, the CPU 32 does not prepare a password included in the normal Wi-Fi WSI of the MFP 10 (that is, does not transmit a password as transmission destination information). However, in a modified example, the CPU 32 may prepare a password (that is, the password may be transmitted as transmission destination information).

次いで、S114では、CPU32は、図7のS70(図8参照)でWFD印刷OKを示す情報がメモリ34に記憶されたのか否かを判断する。CPU32は、WFD印刷OKを示す情報がメモリ34に記憶されている場合には、S114でYESと判断し、S115に進む。一方において、CPU32は、WFD印刷NGを示す情報がメモリ34に記憶されている場合には、S114でNOと判断し、S116に進む。   Next, in S114, the CPU 32 determines whether or not the information indicating the WFD printing OK is stored in the memory 34 in S70 of FIG. 7 (see FIG. 8). If the information indicating WFD printing OK is stored in the memory 34, the CPU 32 determines YES in S114, and proceeds to S115. On the other hand, if the information indicating WFD printing NG is stored in the memory 34, the CPU 32 determines NO in S114, and proceeds to S116.

S115では、CPU32は、MFP10の現在の状態(G/O状態、CL状態、又は、デバイス状態)に応じて、以下の各処理を実行する。MFP10の現在の状態がG/O状態である場合には、CPU32は、MFP10のWFDWSIに含まれる各情報(WFD用SSID、WFD用BSSID、MFP10のWFD用IPアドレス、及び、パスワード)を、メモリ34から特定することによって、それらの情報を送信先情報として準備する。また、MFP10の現在の状態がCL状態である場合には、CPU32は、MFP10のWFDWSIに含まれる各情報(WFD用SSID、WFD用BSSID、及び、MFP10のWFD用IPアドレス)を、メモリ34から特定することによって、それらの情報を送信先情報として準備する。   In S115, the CPU 32 executes the following processes according to the current state (G / O state, CL state, or device state) of the MFP 10. When the current state of the MFP 10 is the G / O state, the CPU 32 stores each information (SFD for WFD, BSSID for WFD, IP address for WFD of the MFP 10 and password) included in the WFD WSI of the MFP 10 in the memory. By specifying from 34, such information is prepared as transmission destination information. Further, when the current state of the MFP 10 is the CL state, the CPU 32 stores information (SFD for WFD, BSSID for WFD, and IP address for WFD of the MFP 10) included in the WFD WSI of the MFP 10 from the memory 34. By specifying, such information is prepared as transmission destination information.

本実施例では、WFDNWにおいて、G/O機器は、当該WFDNWに他機器を参加させる権限を有するが、CL機器は、当該WFDNWに他機器を参加させる権限を有さない、というセキュリティポリシーを採用している。従って、CPU32は、MFP10の現在の状態がG/O状態である場合には、パスワードを準備するが、MFP10の現在の状態がCL状態である場合には、パスワードを準備しない(即ち、送信先情報としてパスワードを送信しない)。ただし、変形例では、CPU32は、MFP10の現在の状態がCL状態である場合に、パスワードを準備してもよい(即ち、送信先情報としてパスワードを送信してもよい)。   In this embodiment, in the WFDNW, the G / O device has the authority to join other devices to the WFDNW, but the CL device adopts a security policy that does not have the right to join other devices to the WFDNW. doing. Accordingly, the CPU 32 prepares a password when the current state of the MFP 10 is the G / O state, but does not prepare a password when the current state of the MFP 10 is the CL state (that is, the transmission destination). Do not send passwords as information). However, in a modification, the CPU 32 may prepare a password when the current state of the MFP 10 is the CL state (that is, the password may be transmitted as transmission destination information).

また、MFP10の現在の状態がデバイス状態である場合には、CPU32は、MFP10の状態をG/O状態に移行させる。ここでは、CPU32は、G/Oネゴシエーションを実行せずに自発的に、MFP10の状態をG/O状態に移行させる。次いで、CPU32は、さらに、MFP10のWFDWSI(即ち、WFD用SSID、WFD用BSSID、認証方式、暗号化方式、パスワード、及び、WFD用IPアドレス)をメモリ34内に生成する。CPU32は、さらに、CL機器のMACアドレスが記述されるべき管理リストをメモリ34内に生成する。この段階では、管理リストにはいずれのMACアドレスも記述されていない。即ち、CPU32は、G/O機器であるMFP10のみが所属しているWFDNWを形成する。そして、CPU32は、MFP10のWFDWSIに含まれる各情報(WFD用SSID、WFD用BSSID、MFP10のWFD用IPアドレス、及び、パスワード)を、メモリ34から特定することによって、それらの情報を送信先情報として準備する。   When the current state of the MFP 10 is the device state, the CPU 32 shifts the state of the MFP 10 to the G / O state. Here, the CPU 32 voluntarily shifts the state of the MFP 10 to the G / O state without executing the G / O negotiation. Next, the CPU 32 further generates the WFD WSI of the MFP 10 (that is, the WFD SSID, the WFD BSSID, the authentication method, the encryption method, the password, and the WFD IP address) in the memory 34. The CPU 32 further generates a management list in the memory 34 in which the MAC address of the CL device is to be described. At this stage, no MAC address is described in the management list. That is, the CPU 32 forms a WFDNW to which only the MFP 10 that is a G / O device belongs. Then, the CPU 32 identifies each information (SFD for WFD, BSSID for WFD, IP address for WFD of MFP 10 and password) included in the WFD WSI of the MFP 10 from the memory 34, and sends the information to the destination information. Prepare as.

S116では、MFP10は、図7のS70(図8参照)でBT印刷OKを示す情報がメモリ34に記憶されたのか否かを判断する。CPU32は、BT印刷OKを示す情報がメモリ34に記憶されている場合には、S116でYESと判断し、S117に進む。一方において、CPU32は、BT印刷NGを示す情報がメモリ34に記憶されている場合には、S116でNOと判断し、送信先情報準備処理を終了する。   In S116, the MFP 10 determines whether or not information indicating BT printing OK is stored in the memory 34 in S70 of FIG. 7 (see FIG. 8). When the information indicating BT printing OK is stored in the memory 34, the CPU 32 determines YES in S116, and proceeds to S117. On the other hand, when information indicating BT printing NG is stored in the memory 34, the CPU 32 determines NO in S116 and ends the transmission destination information preparation process.

S117では、CPU32は、MFP10がBTNWに現在所属している場合(即ちMFP10が他機器とBT接続を確立している場合)には、MFP10のBTWSIをメモリ34から特定することによって、MFP10のBTWSIを送信先情報として準備する。また、CPU32は、MFP10がBTNWに現在所属していない場合には、新たなBTWSIをメモリ34内に生成する。そして、CPU32は、MFP10のBTWSIをメモリ34から特定することによって、MFP10のBTWSIを送信先情報として準備する。   In S117, when the MFP 10 currently belongs to the BTNW (that is, when the MFP 10 has established a BT connection with another device), the CPU 32 specifies the BTWSI of the MFP 10 by identifying the BTWSI of the MFP 10 from the memory 34. Is prepared as destination information. Further, the CPU 32 generates a new BTWSI in the memory 34 when the MFP 10 does not currently belong to the BTNW. Then, the CPU 32 specifies the BTWSI of the MFP 10 as the transmission destination information by specifying the BTWSI of the MFP 10 from the memory 34.

S118では、CPU32は、選択結果がEPであるのか否かを判断し、選択結果がEPである場合には、S118でYESと判断し、S119に進む。一方において、CPU32は、選択結果がCPである場合には、S118でNOと判断し、S120に進む。   In S118, the CPU 32 determines whether or not the selection result is EP. If the selection result is EP, the CPU 32 determines YES in S118 and proceeds to S119. On the other hand, if the selection result is CP, the CPU 32 determines NO in S118 and proceeds to S120.

S119では、CPU32は、予め決められているMFP10のEメールアドレスをメモリ34から特定することによって、MFP10のEメールアドレスを送信先情報として準備する。S119が終了すると、送信先情報準備処理が終了する。   In S <b> 119, the CPU 32 prepares the e-mail address of the MFP 10 as transmission destination information by specifying a predetermined e-mail address of the MFP 10 from the memory 34. When S119 ends, the destination information preparation process ends.

S120では、CPU32は、印刷用CSIをメモリ34から特定することによって、印刷用CSIを送信先情報として準備する。S120が終了すると、送信先情報準備処理が終了する。   In S120, the CPU 32 specifies the printing CSI from the memory 34, thereby preparing the printing CSI as transmission destination information. When S120 ends, the destination information preparation process ends.

図7のS110を終えると、S130において、CPU32は、NFCI/F22を介して、送信先情報を携帯端末50に送信する。これにより、携帯端末50は、送信先情報を利用して、印刷データをMFP10に送信することができる(図3のS54)。   When S110 of FIG. 7 is finished, in S130, the CPU 32 transmits the transmission destination information to the portable terminal 50 via the NFC I / F 22. Thereby, the portable terminal 50 can transmit the print data to the MFP 10 using the transmission destination information (S54 in FIG. 3).

S132において、CPU32は、S104で受信される選択結果が示す通信方式(即ち、ダイレクト方式、Eメール方式、又は、クラウド方式)に従って、携帯端末50から印刷データを受信する。例えば、選択結果がEPである場合には、CPU32は、メールサーバ120から、無線LANI/F20又は他のI/F(例えば有線通信I/F(図示省略))を介して、印刷データを含むEメールを受信する。この結果、MFP10は、携帯端末50から、メールサーバ120を介して(即ちインターネットを介して)、印刷データを受信することができる。また、例えば、選択結果がCPである場合には、CPU32は、印刷CLサーバ140から、無線LANI/F20又は他のI/Fを介して、印刷データを受信する。この結果、MFP10は、携帯端末50から、印刷CLサーバ140を介して(即ちインターネットを介して)、印刷データを受信することができる。   In S132, the CPU 32 receives print data from the portable terminal 50 according to the communication method (that is, the direct method, the e-mail method, or the cloud method) indicated by the selection result received in S104. For example, if the selection result is EP, the CPU 32 includes print data from the mail server 120 via the wireless LAN I / F 20 or other I / F (for example, wired communication I / F (not shown)). Receive an email. As a result, the MFP 10 can receive print data from the portable terminal 50 via the mail server 120 (that is, via the Internet). For example, when the selection result is CP, the CPU 32 receives print data from the print CL server 140 via the wireless LAN I / F 20 or other I / F. As a result, the MFP 10 can receive print data from the portable terminal 50 via the print CL server 140 (that is, via the Internet).

また、例えば、選択結果がDPである場合には、CPU32は、通常Wi−FiNW、WFDNW、又は、BTNWを利用して、無線LANI/F20又はBTI/F24を介して、印刷データを受信する。この結果、携帯端末50は、MFP10から、LANを介して(即ちインターネットを介さずに)、印刷データを受信することができる。   For example, when the selection result is DP, the CPU 32 receives print data via the wireless LAN I / F 20 or the BTI / F 24 using normal Wi-Fi NW, WFDNW, or BTNW. As a result, the portable terminal 50 can receive print data from the MFP 10 via the LAN (that is, not via the Internet).

次いで、S134において、CPU32は、印刷データを印刷機構16に供給する。これにより、印刷機構16は、印刷データによって表される画像を印刷媒体に印刷する。印刷データは、画像ファイル等であるので、比較的に大きいデータサイズを有する。そして、NFCI/F22,62を介したNFC通信の通信速度は、他のI/F(例えば無線LANI/F20,60)を介した通信の通信速度よりも遅い。従って、仮に、MFP10及び携帯端末50の間で、NFC通信を利用して、印刷データの通信が実行される構成を採用すると、印刷データの通信のために長時間を要する。これに対し、本実施例では、MFP10及び携帯端末50は、NFC通信とは異なる通信を利用して、印刷データの通信を実行するので、印刷データの通信を迅速に実行することができる。   Next, in S <b> 134, the CPU 32 supplies print data to the printing mechanism 16. Thereby, the printing mechanism 16 prints the image represented by the print data on the print medium. Since the print data is an image file or the like, it has a relatively large data size. The communication speed of NFC communication via the NFC I / Fs 22 and 62 is slower than the communication speed of communication via other I / Fs (for example, wireless LAN I / Fs 20 and 60). Accordingly, if a configuration in which print data communication is performed between the MFP 10 and the portable terminal 50 using NFC communication is employed, a long time is required for print data communication. On the other hand, in the present embodiment, the MFP 10 and the portable terminal 50 execute communication of print data using communication different from NFC communication, and therefore can quickly execute communication of print data.

(具体的なケース;図12〜図14)
図12〜図14を参照して、本実施例の具体的なケースについて説明する。なお、図12〜図14では、MFP10A,10Bのように、図1のMFP10とは異なる符号が付されている。各ケースのMFP(MFP10A等)と図1のMFP10との間に相違点があれば、各ケースの内容を説明する前に、当該相違点を説明する。
(Specific case: FIGS. 12 to 14)
A specific case of the present embodiment will be described with reference to FIGS. In FIGS. 12 to 14, like the MFPs 10A and 10B, reference numerals different from those of the MFP 10 in FIG. If there is a difference between the MFP (MFP 10A or the like) in each case and the MFP 10 in FIG. 1, the difference will be described before the contents of each case are described.

(ケースA;図12)
ケースAでは、MFP10Aは、通常Wi−Fi印刷、BT印刷、EP、及び、CPを実行可能であるが、WFD印刷を実行不可能である。MFP10A及び携帯端末50は、AP100によって形成されている通常Wi−FiNWに所属している。通常Wi−FiNWでは、SSIDとして「X1」が利用されており、BSSIDとして「Y1」が利用されている。携帯端末50のユーザは、MFP用アプリケーションを起動した後に、携帯端末50をMFP10Aに近づける。この結果、携帯端末50及びMFP10Aの間にNFC接続が確立される。携帯端末50は、NFC接続を利用して、MFP10Aに機能要求を送信する(図3のS10)。
(Case A; FIG. 12)
In case A, the MFP 10A can execute normal Wi-Fi printing, BT printing, EP, and CP, but cannot execute WFD printing. The MFP 10A and the portable terminal 50 belong to a normal Wi-Fi NW formed by the AP 100. In normal Wi-Fi NW, “X1” is used as the SSID and “Y1” is used as the BSSID. The user of the portable terminal 50 brings the portable terminal 50 closer to the MFP 10A after starting the MFP application. As a result, an NFC connection is established between the portable terminal 50 and the MFP 10A. The portable terminal 50 transmits a function request to the MFP 10A using the NFC connection (S10 in FIG. 3).

MFP10Aは、携帯端末50から機能要求を受信すると(図7のS60)、各確認処理を実行し(図7のS70、S80、S90)、次いで、DPOKを示す情報と、EPOKを示す情報と、CPOKを示す情報と、SSID「X1」及びBSSID「Y1」と、を含む応答データを生成する(図7のS100)。なお、MFP10Aは、WFD印刷を実行不可能であるが、通常Wi−Fi印刷及びBT印刷を実行可能であるので、応答データは、DPOKを示す情報を含む。MFP10Aは、NFC接続を利用して、応答データを携帯端末50に送信する(図7のS102)。   When the MFP 10A receives the function request from the portable terminal 50 (S60 in FIG. 7), the MFP 10A executes each confirmation process (S70, S80, S90 in FIG. 7), and then information indicating DPOK, information indicating EPOK, Response data including information indicating CPOK, and SSID “X1” and BSSID “Y1” is generated (S100 in FIG. 7). Note that the MFP 10A cannot execute WFD printing, but can execute normal Wi-Fi printing and BT printing. Therefore, the response data includes information indicating DPOK. The MFP 10A transmits the response data to the portable terminal 50 using the NFC connection (S102 in FIG. 7).

携帯端末50は、NFC接続を利用して、MFP10Aから応答データを受信する。本ケースでは、応答データに含まれるSSID「X1」及びBSSID「Y1」のセットと、携帯端末50の通常Wi−FiWSIに含まれるSSID「X1」及びBSSID「Y1」のセットと、が同一であるために(図4のS31でYES)、携帯端末50はDPを選択する(図4のS32)。携帯端末50は、NFC接続を利用して、DPを示す選択結果をMFP10Aに送信する(図3のS50)。   The portable terminal 50 receives response data from the MFP 10A using the NFC connection. In this case, the set of SSID “X1” and BSSID “Y1” included in the response data is the same as the set of SSID “X1” and BSSID “Y1” included in the normal Wi-Fi WSI of the mobile terminal 50. Therefore (YES in S31 of FIG. 4), the portable terminal 50 selects the DP (S32 of FIG. 4). Using the NFC connection, the portable terminal 50 transmits a selection result indicating DP to the MFP 10A (S50 in FIG. 3).

MFP10Aは、DPを示す選択結果を受信すると(図7のS104)、送信先情報を準備する(図7のS110)。具体的に言うと、通常Wi−Fi印刷OKを示す情報がメモリ34に記憶されているために(図11のS112でYES)、MFP10Aは、MFP10Aの通常Wi−FiWSIに含まれる各情報(SSID「X1」、BSSID「Y1」、及び、MFP10AのIPアドレス「IP1」)を、送信先情報として準備する(S113)。また、BT印刷OKを示す情報がメモリ34に記憶されているために(図11のS116でYES)、MFP10Aは、MFP10AのBTWSIを、送信先情報として準備する(図11のS117)。MFP10Aは、送信先情報を携帯端末50に送信する(図7のS130)。   Upon receiving the selection result indicating DP (S104 in FIG. 7), the MFP 10A prepares transmission destination information (S110 in FIG. 7). Specifically, since information indicating normal Wi-Fi printing OK is stored in the memory 34 (YES in S112 in FIG. 11), the MFP 10A includes each information (SSID) included in the normal Wi-Fi WSI of the MFP 10A. "X1", BSSID "Y1", and IP address "IP1" of MFP 10A) are prepared as transmission destination information (S113). Since information indicating BT printing OK is stored in the memory 34 (YES in S116 of FIG. 11), the MFP 10A prepares BTWSI of the MFP 10A as transmission destination information (S117 of FIG. 11). The MFP 10A transmits the destination information to the portable terminal 50 (S130 in FIG. 7).

携帯端末50は、MFP10Aから送信先情報を受信すると(図3のS52)、送信先情報に含まれるSSID「X1」及びBSSID「Y1」のセットと、携帯端末50の通常Wi−FiWSIに含まれるSSID「X1」及びBSSID「Y1」のセットと、が同一である(即ちMFP10A及び携帯端末50が同一の通常Wi−FiNWに所属している)と判断する。従って、携帯端末50は、通常Wi−FiNWを優先的に利用して、AP100を介して、印刷データをMFP10Aに送信する(図3のS54)。これにより、MFP10Aにおいて、印刷処理が実行される(図7のS134)。   When receiving the destination information from the MFP 10A (S52 in FIG. 3), the portable terminal 50 is included in the set of SSID “X1” and BSSID “Y1” included in the destination information and the normal Wi-Fi WSI of the portable terminal 50. It is determined that the set of SSID “X1” and BSSID “Y1” is the same (that is, MFP 10A and portable terminal 50 belong to the same normal Wi-Fi NW). Accordingly, the portable terminal 50 uses the normal Wi-Fi NW preferentially and transmits the print data to the MFP 10A via the AP 100 (S54 in FIG. 3). As a result, the printing process is executed in the MFP 10A (S134 in FIG. 7).

上述したように、携帯端末50は、MFP10A及び携帯端末50が同一の通常Wi−FiNWに所属している場合に、MFP10Aが実行可能な3個の印刷機能(即ち、DP、EP、CP)の中から、適切な印刷機能(即ちDP)を自動的に選択することができる。即ち、携帯端末50は、MFP10Aが利用可能な3個の通信方式(即ち、ダイレクト方式、Eメール方式、クラウド方式)の中から、適切な通信方式(即ちダイレクト方式)を自動的に選択することができる。従って、携帯端末50は、選択済みの通信方式を利用して、印刷データをMFP10Aに適切に送信することができる。   As described above, when the MFP 10A and the portable terminal 50 belong to the same normal Wi-Fi NW, the portable terminal 50 has three printing functions (that is, DP, EP, CP) that can be executed by the MFP 10A. An appropriate printing function (ie DP) can be automatically selected from among them. That is, the portable terminal 50 automatically selects an appropriate communication method (that is, the direct method) from the three communication methods that can be used by the MFP 10A (that is, the direct method, the e-mail method, and the cloud method). Can do. Accordingly, the portable terminal 50 can appropriately transmit the print data to the MFP 10A using the selected communication method.

(ケースB;図13)
ケースBでは、MFP10Bは、通常Wi−Fi印刷、WFD印刷、BT印刷、及び、CPを実行可能であるが、EPを実行不可能である。MFP10Bは、AP100Aによって形成されている通常Wi−FiNW(SSID「X1」、BSSID「Y1」)に所属している。MFP10Bは、さらに、PC110がG/O機器であるWFDNW(SSID「X3」、BSSID「Y3」)にCL機器として所属している。携帯端末50は、AP100Aとは異なるAP100Bによって形成されている通常Wi−FiNW(SSID「X2」、BSSID「Y2」)に所属している。
(Case B; FIG. 13)
In Case B, the MFP 10B can execute normal Wi-Fi printing, WFD printing, BT printing, and CP, but cannot execute EP. The MFP 10B belongs to a normal Wi-Fi NW (SSID “X1”, BSSID “Y1”) formed by the AP 100A. In addition, the MFP 10B belongs to the WFDNW (SSID “X3”, BSSID “Y3”) in which the PC 110 is a G / O device as a CL device. The portable terminal 50 belongs to a normal Wi-Fi NW (SSID “X2”, BSSID “Y2”) formed by an AP 100B different from the AP 100A.

MFP10Bが機能要求を受信するまでの各処理は、ケースAと同様である。MFP10Bは、DPOKを示す情報と、EPNGを示す情報と、CPOKを示す情報と、SSID「X1」及びBSSID「Y1」のセットと、SSID「X3」及びBSSID「Y3」のセットと、を含む応答データを生成し(図7のS100)、NFC接続を利用して、応答データを携帯端末50に送信する(図7のS102)。   Each process until the MFP 10B receives the function request is the same as in the case A. The MFP 10B responds including information indicating DPOK, information indicating EPNG, information indicating CPOK, a set of SSID “X1” and BSSID “Y1”, and a set of SSID “X3” and BSSID “Y3”. Data is generated (S100 in FIG. 7), and response data is transmitted to the portable terminal 50 using the NFC connection (S102 in FIG. 7).

本ケースでは、応答データに含まれるSSID「X1」及びBSSID「Y1」のセットと、携帯端末50の通常Wi−FiWSIに含まれるSSID「X2」及びBSSID「Y2」のセットと、が同一でない。さらに、応答データに含まれるSSID「X3」及びBSSID「Y3」のセットと、携帯端末50の通常Wi−FiWSIに含まれるSSID「X2」及びBSSID「Y2」のセットと、が同一でない(図4のS31でNO)。また、携帯端末50は、通常Wi−FiNWに所属している(S33でYES)。携帯端末50は、確認サーバ130に信号を送信して、確認サーバ130から応答信号を受信することができる(S34でYES)。このために、携帯端末50は、第1の選択処理を実行する(S150)。   In this case, the set of SSID “X1” and BSSID “Y1” included in the response data is not the same as the set of SSID “X2” and BSSID “Y2” included in the normal Wi-Fi WSI of the mobile terminal 50. Furthermore, the set of SSID “X3” and BSSID “Y3” included in the response data is not the same as the set of SSID “X2” and BSSID “Y2” included in the normal Wi-Fi WSI of the portable terminal 50 (FIG. 4). NO in S31). Moreover, the portable terminal 50 belongs to normal Wi-Fi NW (YES in S33). The portable terminal 50 can transmit a signal to the confirmation server 130 and receive a response signal from the confirmation server 130 (YES in S34). For this purpose, the portable terminal 50 executes a first selection process (S150).

第1の選択処理(図5)では、DPに比べて、CP及びEPが優先される。応答データがDPOK及びCPOKを示す情報を含むために、携帯端末50は、MFP10Bが実行可能な2個の印刷機能(即ち、DP、CP)の中から、CPを選択する(図5のS152)。携帯端末50は、NFC接続を利用して、CPを示す選択結果をMFP10Bに送信する(図3のS50)。   In the first selection process (FIG. 5), CP and EP are prioritized over DP. Since the response data includes information indicating DPOK and CPOK, the portable terminal 50 selects a CP from two print functions (that is, DP and CP) that can be executed by the MFP 10B (S152 in FIG. 5). . The portable terminal 50 transmits the selection result indicating the CP to the MFP 10B using the NFC connection (S50 in FIG. 3).

MFP10Bは、CPを示す選択結果を受信すると(図7のS104)、送信先情報を準備する(図7のS110)。具体的に言うと、MFP10Bは、MFP10Bの印刷用CSIに含まれる各情報(印刷CLサーバ140のURL等)を、送信先情報として準備する(図11のS120)。MFP10Bは、送信先情報を携帯端末50に送信する(図7のS130)。   Upon receiving the selection result indicating the CP (S104 in FIG. 7), the MFP 10B prepares transmission destination information (S110 in FIG. 7). Specifically, the MFP 10B prepares each piece of information (such as the URL of the print CL server 140) included in the printing CSI of the MFP 10B as transmission destination information (S120 in FIG. 11). The MFP 10B transmits the destination information to the portable terminal 50 (S130 in FIG. 7).

携帯端末50は、MFP10Bから送信先情報を受信すると(図3のS52)、送信先情報に含まれる印刷用CSIを利用して、印刷データを印刷CLサーバ140に送信する(S54)。携帯端末50が通常Wi−FiNWに所属しているので、携帯端末50は、セルラーNWI/F66ではなく、無線LANI/F60を介して(即ち通常Wi−FiNWを利用して)、印刷データを印刷CLサーバ140に送信する。即ち、印刷データは、AP100B及び印刷CLサーバ140を介して、MFP10Bに送信される。   When receiving the destination information from the MFP 10B (S52 in FIG. 3), the portable terminal 50 transmits the print data to the print CL server 140 using the print CSI included in the destination information (S54). Since the mobile terminal 50 belongs to the normal Wi-Fi NW, the mobile terminal 50 prints the print data not via the cellular NWI / F 66 but via the wireless LAN I / F 60 (that is, using the normal Wi-Fi NW). Transmit to the CL server 140. That is, the print data is transmitted to the MFP 10B via the AP 100B and the print CL server 140.

上述したように、携帯端末50は、通常Wi−FiNWに所属している場合に、MFP10Bが実行可能な2個の印刷機能(即ち、DP、CP)の中から、CPを適切に選択することができる。これにより、携帯端末50がMFP10Bと無線接続を新たに確立せずに済み、携帯端末50の処理負荷を低減させることができる。さらに、携帯端末50がセルラーNWではなく通常Wi−FiNWを利用するので、印刷データの通信が課金の対象にならない。   As described above, when the portable terminal 50 belongs to the normal Wi-Fi NW, the portable terminal 50 appropriately selects the CP from the two print functions (that is, DP and CP) that can be executed by the MFP 10B. Can do. Thereby, the portable terminal 50 does not need to newly establish a wireless connection with the MFP 10B, and the processing load on the portable terminal 50 can be reduced. Furthermore, since the mobile terminal 50 uses normal Wi-Fi NW instead of cellular NW, print data communication is not charged.

(ケースC;図14)
ケースCでは、MFP10Bは、ケースBのMFP10Bと同一の機器であり、通常Wi−Fi印刷、WFD印刷、BT印刷、及び、CPを実行可能であるが、EPを実行不可能である。MFP10Bは、AP100によって形成されている通常Wi−FiNW(SSID「X1」、BSSID「Y1」)に所属しているが、WFDNWに所属していない。携帯端末50は、無線LAN(即ち、通常Wi−FiNW、WFDNW)に所属しておらず、セルラーNWに所属している。
(Case C; FIG. 14)
In case C, the MFP 10B is the same device as the MFP 10B in case B, and can execute normal Wi-Fi printing, WFD printing, BT printing, and CP, but cannot execute EP. The MFP 10B belongs to the normal Wi-Fi NW (SSID “X1”, BSSID “Y1”) formed by the AP 100, but does not belong to the WFDNW. The portable terminal 50 does not belong to the wireless LAN (that is, normal Wi-Fi NW, WFDNW) but belongs to the cellular NW.

MFP10Bが機能要求を受信するまでの各処理は、ケースAと同様である。MFP10Bは、DPOKを示す情報と、EPNGを示す情報と、CPOKを示す情報と、SSID「X1」及びBSSID「Y1」と、を含む応答データを生成し(図7のS100)、NFC接続を利用して、応答データを携帯端末50に送信する(図7のS102)。   Each process until the MFP 10B receives the function request is the same as in the case A. The MFP 10B generates response data including information indicating DPOK, information indicating EPNG, information indicating CPOK, and SSID “X1” and BSSID “Y1” (S100 in FIG. 7), and uses the NFC connection. Then, the response data is transmitted to the portable terminal 50 (S102 in FIG. 7).

本ケースでは、携帯端末50の通常Wi−FiWSI及びWFDWSIのいずれもメモリ74に記憶されていない(図4のS31でNO)。また、携帯端末50は、無線LANに所属しておらず(図4のS33でNO)、セルラーNWに所属している(図4のS38でYES)。このために、携帯端末50は、第2の選択処理を実行する(S160)。   In this case, neither the normal Wi-Fi WSI nor the WFD WSI of the mobile terminal 50 is stored in the memory 74 (NO in S31 of FIG. 4). Further, the portable terminal 50 does not belong to the wireless LAN (NO in S33 of FIG. 4), and belongs to the cellular NW (YES in S38 of FIG. 4). For this purpose, the portable terminal 50 executes a second selection process (S160).

第2の選択処理(図6)では、CP及びEPに比べて、DPが優先される。応答データがDPOK及びCPOKを示す情報を含むために、携帯端末50は、MFP10Bが実行可能な2個の印刷機能(即ち、DP、CP)の中から、DPを選択する(図6のS162)。携帯端末50は、NFC接続を利用して、DPを示す選択結果をMFP10Bに送信する(図3のS50)。   In the second selection process (FIG. 6), DP is prioritized over CP and EP. Since the response data includes information indicating DPOK and CPOK, the portable terminal 50 selects a DP from two print functions (that is, DP and CP) that can be executed by the MFP 10B (S162 in FIG. 6). . The portable terminal 50 transmits the selection result indicating DP to the MFP 10B using the NFC connection (S50 in FIG. 3).

MFP10Bは、DPを示す選択結果を受信すると(図7のS104)、送信先情報を準備する(図7のS110)。具体的に言うと、通常Wi−Fi印刷OKを示す情報がメモリ34に記憶されているために(図11のS112でYES)、MFP10Bは、MFP10Bの通常Wi−FiWSIに含まれる各情報(SSID「X1」、BSSID「Y1」、及び、MFP10AのIPアドレス「IP1」)を、送信先情報として準備する(S113)。また、WFD印刷OKを示す情報がメモリ34に記憶されているために(S114でYES)、MFP10Bは、自発的にG/O状態に移行して、WFDWSIを生成し、当該WFDWSIに含まれる各情報(SSID「X3」、BSSID「Y3」、MFP10AのIPアドレス「IP3」、パスワード「PW」)を、送信先情報として準備する(S115)。なお、MFP10BがG/O機器であるために、WFDWSIは、パスワードを含む。さらに、BT印刷OKを示す情報がメモリ34に記憶されているために(S116でYES)、MFP10Bは、MFP10BのBTWSIを、送信先情報として準備する(S117)。MFP10Bは、送信先情報を携帯端末50に送信する(図7のS130)。   Upon receiving the selection result indicating DP (S104 in FIG. 7), the MFP 10B prepares transmission destination information (S110 in FIG. 7). Specifically, since information indicating normal Wi-Fi printing OK is stored in the memory 34 (YES in S112 in FIG. 11), the MFP 10B includes each information (SSID) included in the normal Wi-Fi WSI of the MFP 10B. "X1", BSSID "Y1", and IP address "IP1" of MFP 10A) are prepared as transmission destination information (S113). Further, since information indicating WFD printing OK is stored in the memory 34 (YES in S114), the MFP 10B spontaneously shifts to the G / O state, generates WFD WSI, and includes each of the WFD WSI included in the WFD WSI. Information (SSID “X3”, BSSID “Y3”, IP address “IP3” of MFP 10A, password “PW”) is prepared as destination information (S115). Note that since the MFP 10B is a G / O device, the WFD WSI includes a password. Further, since information indicating BT printing OK is stored in the memory 34 (YES in S116), the MFP 10B prepares BTWSI of the MFP 10B as transmission destination information (S117). The MFP 10B transmits the destination information to the portable terminal 50 (S130 in FIG. 7).

携帯端末50は、MFP10Bから送信先情報を受信すると(図3のS52)、MFP10A及び携帯端末50が同一のNWに所属していないので、通常Wi−FiNWを利用して印刷データを送信することができないと判断する(S54)。携帯端末50は、送信先情報に含まれるWFDWSI及びBTWSIのうち、通信速度が速いWFD通信に対応するWFDWSIを優先的に利用すること(即ちWFDNWを利用して印刷データを送信すること)を決定する。即ち、携帯端末50は、MFP10BがG/O機器であるWFDNWに参加するための接続要求を、無線LANI/F60を介して、MFP10Bに送信する(S54)。これにより、MFP10B及び携帯端末50の間に無線接続が確立され、携帯端末50は、CL機器としてWFDNWに参加することができる。携帯端末50は、無線LANI/F60を介して、印刷データをMFP10Bに送信する。これにより、携帯端末50は、WFDNWを利用して、他機器を介さずに、印刷データをMFP10Bに送信することができる。   When the portable terminal 50 receives the destination information from the MFP 10B (S52 in FIG. 3), the MFP 10A and the portable terminal 50 do not belong to the same NW, and therefore transmit print data using normal Wi-Fi NW. (S54). The portable terminal 50 determines to preferentially use the WFD WSI corresponding to the WFD communication having a high communication speed among the WFD WSI and BTWSI included in the transmission destination information (that is, to transmit print data using the WFDNW). To do. That is, the portable terminal 50 transmits a connection request for the MFP 10B to participate in the WFDNW, which is a G / O device, to the MFP 10B via the wireless LAN I / F 60 (S54). Thereby, a wireless connection is established between the MFP 10B and the portable terminal 50, and the portable terminal 50 can participate in the WFDNW as a CL device. The portable terminal 50 transmits print data to the MFP 10B via the wireless LAN I / F 60. Accordingly, the portable terminal 50 can transmit print data to the MFP 10B using WFDNW without using other devices.

上述したように、携帯端末50は、無線LANに所属しておらず、セルラーNWに所属している場合に、MFP10Aが実行可能な2個の印刷機能(即ち、DP、CP)の中から、DPを適切に選択することができる。これにより、携帯端末50がセルラーNWではなくWFDNWを利用するので、印刷データの通信が課金の対象にならない。   As described above, when the portable terminal 50 does not belong to the wireless LAN and belongs to the cellular network NW, the portable terminal 50 can select from two print functions (that is, DP and CP) that can be executed by the MFP 10A. DP can be selected appropriately. Thereby, since the portable terminal 50 uses WFDNW instead of cellular NW, communication of print data is not charged.

(対応関係)
携帯端末50、MFP10が、それぞれ、「端末装置」、「第1の機能実行装置」の一例である。図12のケースAでは、DP、EP、及び、CPの3個の通信方式が、「M1個の通信方式」の一例であり、DPが、「特定の通信方式」の一例である。図13のケースBでは、DP及びCPの2個の通信方式が、「M1個の通信方式」の一例であり、CPが、「特定の通信方式と」の一例である。図14のケースCでは、DP及びCPの2個の通信方式が、「M1個の通信方式」の一例であり、DPが、「特定の通信方式」の一例である。
(Correspondence)
The portable terminal 50 and the MFP 10 are examples of “terminal device” and “first function execution device”, respectively. In case A of FIG. 12, the three communication methods DP, EP, and CP are examples of “M1 communication methods”, and DP is an example of “specific communication method”. In case B of FIG. 13, the two communication methods DP and CP are examples of “M1 communication methods” and CP is an example of “specific communication method”. In case C of FIG. 14, the two communication methods DP and CP are examples of “M1 communication methods”, and DP is an example of “specific communication method”.

なお、図12のケースAのMFP10A、図13のケースBのMFP10Bが、「第1の機能実行装置」、「第2の機能実行装置」の一例であると考えることもできる。この場合、ケースBでは、DP及びCPの2個の通信方式が、「M2個の通信方式」の一例であり、CPが、「特定の通信方式とは異なる通信方式」の一例である。   Note that the MFP 10A in case A in FIG. 12 and the MFP 10B in case B in FIG. 13 can also be considered as examples of “first function execution device” and “second function execution device”. In this case, in case B, the two communication methods of DP and CP are examples of “M2 communication methods”, and CP is an example of “a communication method different from a specific communication method”.

NFCI/F62、無線LANI/F60が、それぞれ、「第1のインターフェース」、「第2のインターフェース」の一例である。図12のケースAの応答データ、ケースBの応答データが、それぞれ、「第1の情報」、「第2の情報」の一例である。CP、DP、印刷用CSI、確認サーバ130が、それぞれ、「第1の通信方式」、「第2の通信方式」、「第1の通信設定情報」、「サーバ」の一例である。ケースAの通常Wi−FiNWが、「特定のローカルエリアネットワーク」の一例である。ケースAの応答データに含まれる情報(即ち、DPOK、EPOK、CPOK)が、「第1のデータ」の一例である。また、ケースAにおいて、仮に、印刷用CSIがMFP10Aに記憶されていないと(図10のS92でNO)、応答データは、DPOK、EPOK、及び、CPNGを示す。また、ケースAにおいて、仮に、MFP10Aが確認サーバ130と通信不可能であると(図10のS93でNO)、応答データは、DPOK、EPOK、及び、CPNGを示す。これらのケースの応答データに含まれる情報(即ち、DPOK、EPOK、CPNG)が、「第2のデータ」の一例である。   The NFC I / F 62 and the wireless LAN I / F 60 are examples of the “first interface” and the “second interface”, respectively. The response data of case A and the response data of case B in FIG. 12 are examples of “first information” and “second information”, respectively. CP, DP, printing CSI, and confirmation server 130 are examples of “first communication method”, “second communication method”, “first communication setting information”, and “server”, respectively. The normal Wi-Fi NW in case A is an example of a “specific local area network”. Information (that is, DPOK, EPOK, CPOK) included in the response data of case A is an example of “first data”. In case A, if the printing CSI is not stored in the MFP 10A (NO in S92 in FIG. 10), the response data indicates DPOK, EPOK, and CPNG. In case A, if the MFP 10A cannot communicate with the confirmation server 130 (NO in S93 in FIG. 10), the response data indicates DPOK, EPOK, and CPNG. Information (that is, DPOK, EPOK, CPNG) included in the response data in these cases is an example of “second data”.

図3のS12の処理、S30の処理、S50の処理、S52の処理が、S54の処理が、それぞれ、「端末装置」の「第1の受信部」、「選択部」、「第2の送信部」、「第2の受信部」、「第1の送信部」によって実行される処理の一例である。   The process of S12, the process of S30, the process of S50, the process of S52, and the process of S54 are respectively “first receiving unit”, “selecting unit”, and “second transmission” of “terminal device”. This is an example of processing executed by the “part”, “second receiver”, and “first transmitter”.

(第2実施例)
第1実施例と異なる点を説明する。本実施例でも、携帯端末50は、携帯端末50によって選択される通信方式に従って、印刷データをMFP10に送信する。第1実施例では、MFP10は、選択結果を受信した後に、送信先情報を携帯端末50に送信するが、本実施例では、MFP10は、送信先情報を含む応答データを携帯端末50に送信する。
(Second embodiment)
Differences from the first embodiment will be described. Also in this embodiment, the mobile terminal 50 transmits print data to the MFP 10 according to the communication method selected by the mobile terminal 50. In the first embodiment, after receiving the selection result, the MFP 10 transmits the transmission destination information to the portable terminal 50. In this embodiment, the MFP 10 transmits response data including the transmission destination information to the portable terminal 50. .

(携帯端末50のアプリケーション処理;図15)
図15を参照して、本実施例のMFP用アプリケーションによって実現される処理の内容を説明する。S10は、図3のS10と同様である。S12−2では、CPU72は、MFP10から、NFCI/F62を介して、送信先情報を含む応答データを受信する。
(Application processing of portable terminal 50; FIG. 15)
With reference to FIG. 15, the contents of processing realized by the MFP application of this embodiment will be described. S10 is the same as S10 of FIG. In S <b> 12-2, the CPU 72 receives response data including transmission destination information from the MFP 10 via the NFC I / F 62.

上述したように、第1実施例では、図3のS52において、選択結果が示す印刷機能(即ち、DP、EP、又は、CP)に対応する1個の送信先情報のみが受信される。例えば、選択結果がEPである場合には、EPに対応する送信先情報(即ちEメールアドレス)のみが受信され、DPに対応する送信先情報(即ち通常Wi−FiWSI等)と、CPに対応する送信先情報(即ち印刷用CSI)と、が受信されない。   As described above, in the first embodiment, only one piece of transmission destination information corresponding to the print function (ie, DP, EP, or CP) indicated by the selection result is received in S52 of FIG. For example, when the selection result is EP, only transmission destination information (that is, email address) corresponding to EP is received, transmission destination information corresponding to DP (that is, normal Wi-Fi WSI, etc.), and CP. Destination information (i.e., CSI for printing) is not received.

これに対し、本実施例では、S12−2で受信される応答データは、MFP10が実行可能な1個以上の印刷機能(DP、EP、CP)に対応する1個以上の送信先情報の全てを含む。例えば、MFP10が、DPOK、EPOK、及び、CPOKである場合には、DPに対応する送信先情報(即ち通常Wi−FiWSI等)と、EPに対応する送信先情報(即ちEメールアドレス)と、CPに対応する送信先情報(即ち印刷用CSI)と、の3個の送信先情報が受信される。   On the other hand, in this embodiment, the response data received in S12-2 includes all of one or more pieces of destination information corresponding to one or more printing functions (DP, EP, CP) that can be executed by the MFP 10. including. For example, when the MFP 10 is DPOK, EPOK, or CPOK, transmission destination information corresponding to DP (ie, normal Wi-Fi WSI), transmission destination information corresponding to EP (ie, email address), Three pieces of destination information, ie, destination information corresponding to the CP (that is, CSI for printing) are received.

このように、本実施例においては、CPU72は、機能要求の送信(S10)及びDPOK等の応答データの受信(S12−2)という一往復の通信を実行する。即ち、CPU72は、1回のNFC接続において、一往復の通信を実行する。S12−2を終えると、NFC接続が切断される。   As described above, in this embodiment, the CPU 72 executes one-way communication, that is, transmission of a function request (S10) and reception of response data such as DPOK (S12-2). That is, the CPU 72 executes one round-trip communication in one NFC connection. When S12-2 is finished, the NFC connection is disconnected.

S30は、図3のS30と同様である。次いで、S54では、CPU72は、S12−2で受信される1個以上の送信先情報のうち、S30の機能選択処理の選択結果に対応する送信先情報を利用して、印刷データをMFP10に送信する。   S30 is the same as S30 of FIG. Next, in S54, the CPU 72 transmits print data to the MFP 10 using the transmission destination information corresponding to the selection result of the function selection process in S30 among the one or more transmission destination information received in S12-2. To do.

例えば、S12−2において、3個の送信先情報の全てが受信される状況を想定する。選択結果がEPである場合には、CPU72は、3個の送信先情報のうち、EPに対応する送信先情報(即ちEメールアドレス)を利用して、印刷データを含むEメールを送信する。また、選択結果がCPである場合には、CPU72は、3個の送信先情報のうち、CPに対応する送信先情報(即ち印刷用CSI)を利用して、印刷データを印刷CLサーバ140に送信する。また、選択結果がDPである場合には、CPU72は、3個の送信先情報のうち、DPに対応する送信先情報(即ち通常Wi−FiWSI等)を利用して、印刷データをMFP10に送信する。なお、選択結果がDPである場合に、MFP10及び携帯端末50の両方が所属しているNWが優先的に利用される点は、第1実施例と同様である。   For example, a situation is assumed in which all three pieces of transmission destination information are received in S12-2. When the selection result is EP, the CPU 72 transmits an e-mail including print data using the transmission destination information (that is, an e-mail address) corresponding to the EP among the three transmission destination information. If the selection result is CP, the CPU 72 uses the transmission destination information (that is, CSI for printing) corresponding to the CP among the three pieces of transmission destination information to send the print data to the print CL server 140. Send. When the selection result is DP, the CPU 72 transmits print data to the MFP 10 using the transmission destination information (that is, normal Wi-Fi WSI or the like) corresponding to the DP among the three transmission destination information. To do. Note that when the selection result is DP, the NW to which both the MFP 10 and the portable terminal 50 belong is preferentially used as in the first embodiment.

上述したように、本実施例では、携帯端末50は、MFP10から送信先情報を含む応答データを受信することができるために、当該送信先情報を利用して、印刷データをMFP10に送信することができる。従って、第1実施例のように、携帯端末50は、選択結果をMFP10に送信せずに済み、MFP10は、選択結果に対応する送信先情報を携帯端末50に送信せずに済む。このために、携帯端末50からMFP10への印刷データの送信を迅速に実行することができる。   As described above, in this embodiment, since the portable terminal 50 can receive response data including transmission destination information from the MFP 10, the print data is transmitted to the MFP 10 using the transmission destination information. Can do. Accordingly, as in the first embodiment, the portable terminal 50 does not need to send the selection result to the MFP 10, and the MFP 10 does not need to send the transmission destination information corresponding to the selection result to the portable terminal 50. For this reason, transmission of print data from the portable terminal 50 to the MFP 10 can be quickly executed.

(MFP10の処理;図16)
図16を参照して、本実施例のMFP10が実行する処理の内容を説明する。S60〜S90は、図7のS60〜S90と同様である。S210では、CPU32は、送信先情報準備処理を実行する。送信先情報準備処理の内容については、後で詳しく説明する。次いで、S100−2では、CPU32は、S210で準備された送信先情報を含む応答データを生成する。S102、S132、S134は、図7のS102、S132、S134と同様である。
(Processing of MFP 10; FIG. 16)
With reference to FIG. 16, the contents of the process executed by the MFP 10 of this embodiment will be described. S60 to S90 are the same as S60 to S90 of FIG. In S210, the CPU 32 executes transmission destination information preparation processing. The contents of the destination information preparation process will be described in detail later. Next, in S100-2, the CPU 32 generates response data including the destination information prepared in S210. S102, S132, and S134 are the same as S102, S132, and S134 of FIG.

(送信先情報準備処理;図17)
図17を参照して、図16のS210の送信先情報準備処理の内容を説明する。S302〜S307は、図11のS112〜S117と同様である。S308では、CPU32は、図16のS80(図9参照)でEPOKを示す情報がメモリ34に記憶されたのか否かを判断する。CPU32は、EPOKを示す情報がメモリ34に記憶されている場合には、S308でYESと判断し、S309に進み、EPNGを示す情報がメモリ34に記憶されている場合には、S308でNOと判断し、S310に進む。S309は、図11のS119と同様である。
(Destination information preparation process; FIG. 17)
With reference to FIG. 17, the contents of the destination information preparation process in S210 of FIG. 16 will be described. S302 to S307 are the same as S112 to S117 of FIG. In S308, the CPU 32 determines whether or not the information indicating EPOK is stored in the memory 34 in S80 of FIG. 16 (see FIG. 9). If the information indicating EPOK is stored in the memory 34, the CPU 32 determines YES in S308, and proceeds to S309. If the information indicating EPNG is stored in the memory 34, the CPU 32 determines NO in S308. Judge and proceed to S310. S309 is the same as S119 in FIG.

S310では、CPU32は、図16のS90(図10参照)でCPOKを示す情報がメモリ34に記憶されたのか否かを判断する。CPU32は、CPOKを示す情報がメモリ34に記憶されている場合には、S310でYESと判断し、S311に進み、CPNGを示す情報がメモリ34に記憶されている場合には、S310でNOと判断し、送信先情報準備処理を終了する。S311は、図11のS120と同様である。   In S310, the CPU 32 determines whether or not information indicating CPOK is stored in the memory 34 in S90 of FIG. 16 (see FIG. 10). If the information indicating CPOK is stored in the memory 34, the CPU 32 determines YES in S310, and proceeds to S311. If the information indicating CPNG is stored in the memory 34, the CPU 32 determines NO in S310. The transmission destination information preparation process is terminated. S311 is the same as S120 of FIG.

図17の送信先情報準備処理では、MFP10が実行可能な1個以上の印刷機能(DP、EP、CP)に対応する1個以上の送信先情報の全てが準備される。例えば、MFP10が、DPOK、EPOK、及び、CPOKである場合には、DPに対応する送信先情報(S303、S305、S307)と、EPに対応する送信先情報(S309)と、CPに対応する送信先情報(S311)と、の3個の送信先情報が準備される。   In the transmission destination information preparation process of FIG. 17, all of one or more transmission destination information corresponding to one or more printing functions (DP, EP, CP) that can be executed by the MFP 10 are prepared. For example, when the MFP 10 is DPOK, EPOK, and CPOK, the destination information (S303, S305, S307) corresponding to DP, the destination information (S309) corresponding to EP, and the CP are supported. Three pieces of transmission destination information are prepared: transmission destination information (S311).

(具体的なケース;図18)
図18を参照して、図15及び図16の各処理によって実現される具体的なケースを説明する。MFP10Cは、通常Wi−Fi印刷、BT印刷、EP、及び、CPを実行可能であるが、WFD印刷を実行不可能である。また、MFP10C及び携帯端末50は、AP100によって形成されている通常Wi−FiNW(SSID「X1」、BSSID「Y1」)に所属している。
(Specific case; Fig. 18)
With reference to FIG. 18, a specific case realized by the processes of FIGS. 15 and 16 will be described. The MFP 10C can execute normal Wi-Fi printing, BT printing, EP, and CP, but cannot execute WFD printing. Further, the MFP 10 </ b> C and the mobile terminal 50 belong to a normal Wi-Fi NW (SSID “X1”, BSSID “Y1”) formed by the AP 100.

本ケースでは、MFP10Cから携帯端末50に送信される応答データは、DPOKを示す情報、EPOKを示す情報、及び、CPNGを示す情報のみならず、DPに対応する送信先情報(即ち、「X1、Y1、IP1」、「BTWSI」)と、EPに対応する送信先情報(即ち、MFP10のメールアドレス「E1」)と、CPに対応する送信先情報(即ち、「印刷用CSI」)と、を含む(図16のS210)。即ち、応答データは、3個の送信先情報を含む。   In this case, the response data transmitted from the MFP 10C to the portable terminal 50 includes not only information indicating DPOK, information indicating EPOK, and information indicating CPNG, but also transmission destination information corresponding to DP (ie, “X1, Y1, IP1 ”,“ BTWSI ”), destination information corresponding to the EP (ie, the mail address“ E1 ”of the MFP 10), and destination information corresponding to the CP (ie,“ CSI for printing ”). Included (S210 in FIG. 16). That is, the response data includes three pieces of transmission destination information.

その後、図12のケースAと同様に、携帯端末50は、MFP10Cが実行可能な3個の印刷機能(即ち、DP、EP、CP)の中から、DPを選択する(図15のS30)。そして、携帯端末50は、応答データに含まれる3個の送信先情報のうち、DPに対応する送信先情報を利用して、印刷データをMFP10Cに送信する(図15のS54)。より具体的に言うと、携帯端末50は、MFP10C及び携帯端末50の両方が所属している通常Wi−FiNWを優先的に利用することを決定する(即ち、通常Wi−FiWSIを優先的に利用することを決定する)この結果、携帯端末50は、AP100を介して、印刷データをMFP10Cに送信することができる。なお、図18のケースでは、応答データに含まれる上記の3個の送信先情報が、「M1個の送信先情報」の一例である。   Thereafter, as in the case A of FIG. 12, the portable terminal 50 selects the DP from the three printing functions (that is, DP, EP, CP) that can be executed by the MFP 10C (S30 of FIG. 15). Then, the portable terminal 50 transmits the print data to the MFP 10C using the transmission destination information corresponding to the DP among the three transmission destination information included in the response data (S54 in FIG. 15). More specifically, the mobile terminal 50 decides to preferentially use the normal Wi-Fi NW to which both the MFP 10C and the mobile terminal 50 belong (that is, preferentially uses the normal Wi-Fi WSI). As a result, the portable terminal 50 can transmit print data to the MFP 10C via the AP 100. In the case of FIG. 18, the three pieces of transmission destination information included in the response data are an example of “M1 pieces of transmission destination information”.

(第3実施例)
第2実施例と異なる点を説明する。本実施例では、携帯端末50は、後述の機能確認処理(図15のS400)を実行して、携帯端末50が選択可能な印刷機能の種類を限定することができる。
(Third embodiment)
Differences from the second embodiment will be described. In the present embodiment, the mobile terminal 50 can limit the types of print functions that can be selected by the mobile terminal 50 by executing a function confirmation process (S400 in FIG. 15) described later.

(携帯端末50のアプリケーション処理;図15)
本実施例では、S12−2で受信される応答データは、さらに、MFP10の機器IDを含む(図16のS100−2参照)。機器IDは、MFP10のベンダによってMFP10に割り当てられているユニークなIDである。次いで、CPU72は、S400の機能確認処理を実行する。詳しくは後述するが、機能確認処理では、応答データに記述されている情報(DPOK、EPOK、CPOK)が変更され得る(図19参照)。このために、S30の機能選択処理で選択される印刷機能の種類、即ち、携帯端末50が選択可能な印刷機能の種類が限定され得る。他の処理は、第2実施例と同様である。
(Application processing of portable terminal 50; FIG. 15)
In this embodiment, the response data received in S12-2 further includes the device ID of the MFP 10 (see S100-2 in FIG. 16). The device ID is a unique ID assigned to the MFP 10 by the vendor of the MFP 10. Next, the CPU 72 executes a function confirmation process in S400. As will be described in detail later, in the function confirmation process, information (DPOK, EPOK, CPOK) described in the response data can be changed (see FIG. 19). For this reason, the types of print functions selected in the function selection process of S30, that is, the types of print functions that can be selected by the portable terminal 50 can be limited. Other processes are the same as in the second embodiment.

(携帯端末50の機能確認処理;図19)
図19を参照して、図15のS400の機能確認処理を説明する。S402では、CPU72は、DPOKを示す情報が応答データに含まれるのか否かを判断する。CPU72は、DPOKを示す情報が応答データに含まれる場合には、S402でYESと判断し、S404に進む。一方において、CPU72は、DPNGを示す情報が応答データに含まれる場合には、S402でNOと判断し、S412に進む。
(Function confirmation process of portable terminal 50; FIG. 19)
With reference to FIG. 19, the function confirmation processing in S400 of FIG. 15 will be described. In S402, the CPU 72 determines whether or not information indicating DPOK is included in the response data. If the information indicating DPOK is included in the response data, the CPU 72 determines YES in S402 and proceeds to S404. On the other hand, if the information indicating DPNG is included in the response data, the CPU 72 determines NO in S402 and proceeds to S412.

S404では、CPU72は、MFP10及び携帯端末50が同一の通常Wi−FiNW又は同一のWFDNWに所属しているのか否かを判断する。CPU72は、携帯端末50の通常Wi−FiWSI及びWFDWSIのいずれもメモリ74に記憶されていない場合には、S404でNOと判断し、S406に進む。   In S404, the CPU 72 determines whether the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW or the same WFDNW. If neither the normal Wi-Fi WSI nor the WFD WSI of the portable terminal 50 is stored in the memory 74, the CPU 72 determines NO in S404 and proceeds to S406.

CPU72は、携帯端末50の通常Wi−FiWSIがメモリ74に記憶されている場合には、当該通常Wi−FiWSIに含まれる通常Wi−Fi用SSID及び通常Wi−Fi用BSSIDのセットに一致するSSID及びBSSIDのセット(以下では「第1のセット」と呼ぶ)が応答データに含まれているのか否を判断する。CPU72は、第1のセットが応答データに含まれている場合には、S404でYESと判断し、S412に進み、第1のセットが応答データに含まれていない場合には、S404でNOと判断し、S406に進む。   When the normal Wi-Fi WSI of the mobile terminal 50 is stored in the memory 74, the CPU 72 matches the set of the normal Wi-Fi SSID and the normal Wi-Fi BSSID included in the normal Wi-Fi WSI. And whether or not a set of BSSIDs (hereinafter referred to as “first set”) is included in the response data. If the first set is included in the response data, the CPU 72 determines YES in S404, and proceeds to S412. If the first set is not included in the response data, the CPU 72 determines NO in S404. Judge and proceed to S406.

また、CPU72は、携帯端末50のWFDWSIがメモリ74に記憶されている場合には、当該WFDWSIのWFD用SSID及びWFD用BSSIDのセットに一致するSSID及びBSSIDのセット(以下では「第2のセット」と呼ぶ)が応答データに含まれているのか否かを判断する。CPU72は、第2のセットが応答データに含まれている場合には、S404でYESと判断し、S412に進み、第2のセットが応答データに含まれていない場合には、S404でNOと判断し、S406に進む。   In addition, when the WFD WSI of the portable terminal 50 is stored in the memory 74, the CPU 72 sets the SSID and BSSID that match the set of the WFD SSID and WSID BSSID of the WFD WSI (hereinafter referred to as “second set”). ") Is included in the response data. If the second set is included in the response data, the CPU 72 determines YES in S404, and proceeds to S412. If the second set is not included in the response data, the CPU 72 determines NO in S404. Judge and proceed to S406.

S406では、CPU72は、MFP10のWFDWSIのパスワードが応答データに含まれているのか否かを判断する。上述したように、MFP10がG/O状態である場合には、応答データは、MFP10のWFDWSIのパスワードを含む(図17のS305参照)。CPU72は、当該パスワードが応答データに含まれている場合には、S406でYESと判断し、S412に進み、当該パスワードが応答データに含まれていない場合には、S406でNOと判断し、S408に進む。   In S406, the CPU 72 determines whether or not the WFD WSI password of the MFP 10 is included in the response data. As described above, when the MFP 10 is in the G / O state, the response data includes the WFD WSI password of the MFP 10 (see S305 in FIG. 17). If the password is included in the response data, the CPU 72 determines YES in S406, and proceeds to S412. If the password is not included in the response data, the CPU 72 determines NO in S406, and S408. Proceed to

S408では、CPU72は、MFP10のBTWSIが応答データに含まれているのか否かを判断する。CPU72は、当該BTWSIが応答データに含まれている場合には、S408でYESと判断し、S412に進み、当該BTWSIが応答データに含まれていない場合には、S408でNOと判断し、S410に進む。   In S408, the CPU 72 determines whether the BTWSI of the MFP 10 is included in the response data. If the BTWSI is included in the response data, the CPU 72 determines YES in S408, and proceeds to S412. If the BTWSI is not included in the response data, the CPU 72 determines NO in S408, and S410. Proceed to

S404、S406、及び、S408のいずれもNOと判断される場合には、MFP10及び携帯端末50の両方が所属しているLANが実現されないために、MFP10及び携帯端末50は、ダイレクト方式の通信方式を利用して、印刷データを通信することができない。このために、S410では、CPU72は、図15のS12−1で受信された応答データに含まれるDPOKを示す情報を、DPNGを示す情報に変更する。これにより、図15のS30において、CPU72は、DPを選択することができない。S410が終了すると、S412に進む。   If all of S404, S406, and S408 are determined to be NO, the LAN to which both the MFP 10 and the portable terminal 50 belong is not realized. Cannot be used to communicate print data. Therefore, in S410, the CPU 72 changes the information indicating DPOK included in the response data received in S12-1 of FIG. 15 to information indicating DPNG. Thereby, in S30 of FIG. 15, CPU72 cannot select DP. When S410 ends, the process proceeds to S412.

S412では、CPU72は、EPOKを示す情報が応答データに含まれるのか否かを判断する。CPU72は、EPOKを示す情報が応答データに含まれる場合には、S412でYESと判断し、S414に進む。一方において、CPU72は、EPNGを示す情報が応答データに含まれる場合には、S412でNOと判断し、S418に進む。   In S412, the CPU 72 determines whether or not information indicating EPOK is included in the response data. If the information indicating EPOK is included in the response data, the CPU 72 determines YES in S412 and proceeds to S414. On the other hand, when the information indicating EPNG is included in the response data, the CPU 72 determines NO in S412 and proceeds to S418.

S414では、CPU72は、Eメールを送信するためのESIである送信用ESIがメモリ74に記憶されているのか否かを判断する。CPU72は、送信用ESIがメモリ74に記憶されている場合には、S414でYESと判断し、S418に進み、送信用ESIがメモリ74に記憶されていない場合には、S414でNOと判断し、S416に進む。   In S <b> 414, the CPU 72 determines whether or not ESI for transmission, which is ESI for transmitting E-mail, is stored in the memory 74. If the transmission ESI is stored in the memory 74, the CPU 72 determines YES in S414, and proceeds to S418. If the transmission ESI is not stored in the memory 74, the CPU 72 determines NO in S414. , The process proceeds to S416.

S416でNOと判断される場合には、携帯端末50がEメールを送信することができないために、MFP10及び携帯端末50は、Eメール方式の通信方式を利用して、印刷データを通信することができない。このために、S416では、CPU72は、図15のS12−1で受信された応答データに含まれるEPOKを示す情報を、EPNGを示す情報に変更する。これにより、図15のS30において、CPU72は、EPを選択することができない。S416が終了すると、S418に進む。   If NO is determined in S416, since the portable terminal 50 cannot transmit an email, the MFP 10 and the portable terminal 50 communicate print data by using an email communication method. I can't. For this reason, in S416, the CPU 72 changes the information indicating EPOK included in the response data received in S12-1 of FIG. 15 to information indicating EPNG. Thereby, in S30 of FIG. 15, CPU72 cannot select EP. When S416 ends, the process proceeds to S418.

S418では、CPU72は、CPOKを示す情報が応答データに含まれるのか否かを判断する。CPU72は、CPOKを示す情報が応答データに含まれる場合には、S418でYESと判断し、S420に進む。一方において、CPU72は、CPNGを示す情報が応答データに含まれる場合には、S418でNOと判断し、機能確認処理を終了する。   In S418, the CPU 72 determines whether or not information indicating CPOK is included in the response data. When the information indicating CPOK is included in the response data, the CPU 72 determines YES in S418, and proceeds to S420. On the other hand, if the information indicating CPNG is included in the response data, the CPU 72 determines NO in S418 and ends the function confirmation process.

上述したように、図15のS12−2で受信される応答データは、MFP10の機器IDを含む。S420では、CPU72は、無線LANI/F60又は他のI/F(例えばセルラーNWI/F66)を介して、MFP10の機器IDを含む問い合わせ信号を確認サーバ130に送信する。   As described above, the response data received in S12-2 of FIG. 15 includes the device ID of the MFP 10. In S420, the CPU 72 transmits an inquiry signal including the device ID of the MFP 10 to the confirmation server 130 via the wireless LAN I / F 60 or another I / F (for example, the cellular NWI / F 66).

確認サーバ130は、MFP10の機器IDを含む問い合わせ信号を受信すると、MFP10と印刷CLサーバ140との間に接続が確立されているのか否かを判断する。例えば、確認サーバ130は、MFP10の機器IDを印刷CLサーバ140に供給して、印刷CLサーバ140から上記の接続の有無を示す情報を取得する。そして、確認サーバ130は、取得済みの情報に応じて、接続又は非接続を示す問い合わせ結果をMFP10に送信する。   When the confirmation server 130 receives the inquiry signal including the device ID of the MFP 10, the confirmation server 130 determines whether or not a connection is established between the MFP 10 and the print CL server 140. For example, the confirmation server 130 supplies the device ID of the MFP 10 to the print CL server 140 and acquires information indicating the presence or absence of the connection from the print CL server 140. Then, the confirmation server 130 transmits an inquiry result indicating connection or non-connection to the MFP 10 according to the acquired information.

S422では、CPU72は、確認サーバ130から受信される問い合わせ結果が接続を示すのか否かを判断する。CPU72は、問い合わせ結果が接続を示す場合には、S422でYESと判断し、機能確認処理を終了し、問い合わせ結果が非接続を示す場合には、S422でNOと判断し、S424に進む。   In S422, the CPU 72 determines whether or not the inquiry result received from the confirmation server 130 indicates connection. If the inquiry result indicates connection, the CPU 72 determines YES in S422, ends the function confirmation process, and if the inquiry result indicates disconnection, determines NO in S422 and proceeds to S424.

本実施例では、MFP10は、印刷CLサーバ140から印刷データを受信するためには、印刷CLサーバ140に常時接続されていなければならない。従って、S422でNOと判断される場合には、MFP10が印刷CLサーバ140から印刷データを受信することができないために、MFP10及び携帯端末50は、クラウド方式の通信方式を利用して、印刷データを通信することができない。このために、S424では、CPU72は図15のS12−1で受信された応答データに含まれるCPOKを示す情報を、CPNGを示す情報に変更する。これにより、図15のS30において、CPU72は、CPを選択することができない。S424が終了すると、機能確認処理が終了する。   In this embodiment, the MFP 10 must be always connected to the print CL server 140 in order to receive print data from the print CL server 140. Accordingly, if NO is determined in step S422, the MFP 10 and the portable terminal 50 use the cloud communication method to print data because the MFP 10 cannot receive print data from the print CL server 140. Can't communicate. To this end, in S424, the CPU 72 changes the information indicating CPOK included in the response data received in S12-1 of FIG. 15 to information indicating CPNG. Thereby, in S30 of FIG. 15, CPU72 cannot select CP. When S424 ends, the function confirmation process ends.

(具体的なケース;図20)
図20を参照して、図15(特にS400)及び図16の各処理によって実現される具体的なケースを説明する。MFP10Dは、通常Wi−Fi印刷、BT印刷、EP、及び、CPを実行可能であり、WFD印刷を実行不可能である。MFP10D及び携帯端末50は、AP100によって形成されている通常Wi−FiNW(SSID「X1」、BSSID「Y1」)に所属している。
(Specific case: Fig. 20)
With reference to FIG. 20, a specific case realized by each processing of FIG. 15 (especially S400) and FIG. The MFP 10D can execute normal Wi-Fi printing, BT printing, EP, and CP, and cannot execute WFD printing. The MFP 10D and the portable terminal 50 belong to a normal Wi-Fi NW (SSID “X1”, BSSID “Y1”) formed by the AP 100.

本ケースでは、MFP10Dから携帯端末50に送信される応答データは、MFP10Dの機器IDと、DPOKを示す情報と、EPOKを示す情報と、CPOKを示す情報と、DPに対応する送信先情報(即ち、「X1、Y1、IP1」、「BTWSI」)と、EPに対応する送信先情報(即ち、MFP10Dのメールアドレス「E1」)と、CPに対応する送信先情報(即ち、印刷用CSI)と、を含む(図16のS210、S100−2)。   In this case, the response data transmitted from the MFP 10D to the portable terminal 50 includes the device ID of the MFP 10D, information indicating DPOK, information indicating EPOK, information indicating CPOK, and transmission destination information corresponding to DP (ie, , “X1, Y1, IP1”, “BTWSI”), destination information corresponding to EP (ie, mail address “E1” of MFP 10D), and destination information corresponding to CP (ie, printing CSI) (S210, S100-2 in FIG. 16).

次いで、携帯端末50は、機能確認処理(図15のS400)を実行する。携帯端末50が所属している通常Wi−FiNWの「X1」及び「Y1」のセットに一致するSSID及びBSSIDのセットが応答データに含まれているために(図19のS404でYES)、携帯端末50は、DPOKを示す情報を、DPNGを示す情報に変更しない。   Next, the portable terminal 50 executes a function confirmation process (S400 in FIG. 15). Since the response data includes a set of SSID and BSSID that match the set of “X1” and “Y1” of the normal Wi-Fi NW to which the mobile terminal 50 belongs (YES in S404 of FIG. 19), the mobile phone The terminal 50 does not change the information indicating DPOK to information indicating DPNG.

本ケースでは、Eメールの送信を実行するための送信用ESIが、携帯端末50のメモリ74に記憶されていないために(図19のS414でNO)、携帯端末50は、EPOKを示す情報を、EPNGを示す情報に変更する(S416)。   In this case, since the transmission ESI for executing the transmission of the e-mail is not stored in the memory 74 of the portable terminal 50 (NO in S414 in FIG. 19), the portable terminal 50 displays the information indicating the EPOK. , The information is changed to information indicating EPNG (S416).

携帯端末50は、MFP10Dの機器IDを含む問い合わせ信号を確認サーバ130に送信して、確認サーバ130から問い合わせ結果を取得する(図19のS422)。本ケースでは、印刷用CSIがMFP10Dのメモリ34に記憶されているが、MFP10Dは、印刷CLサーバ140に接続されていない。例えば、印刷用CSIに含まれる認証情報の有効期限が切れている場合には、MFP10Dが印刷CLサーバ140に接続不可能な事象が発生し得る。この場合、携帯端末50は、図19のS422でNOと判断し、CPOKを示す情報を、CPNGを示す情報に変更する(S424)。   The portable terminal 50 transmits an inquiry signal including the device ID of the MFP 10D to the confirmation server 130, and acquires the inquiry result from the confirmation server 130 (S422 in FIG. 19). In this case, the printing CSI is stored in the memory 34 of the MFP 10D, but the MFP 10D is not connected to the print CL server 140. For example, when the expiration date of the authentication information included in the print CSI has expired, an event that the MFP 10D cannot connect to the print CL server 140 may occur. In this case, the portable terminal 50 determines NO in S422 of FIG. 19 and changes the information indicating CPOK to information indicating CPNG (S424).

上述したように、MFP10Dから受信される応答データは、DPOK、EPOK、及び、CPOKを示す情報を含む。しかしながら、機能確認処理(図15のS400)において、応答データは、DPOKを示す情報と、EPNG及びCPNGを示す情報と、に変更される。この結果、携帯端末50は、MFP10Dが実行可能な3個の印刷機能(即ち、DP、EP、CP)の中から、DPを選択する。そして、携帯端末50は、通常Wi−FiNWを優先的に利用して、AP100を介して、印刷データをMFP10Dに送信する(図15のS54)。   As described above, the response data received from MFP 10D includes information indicating DPOK, EPOK, and CPOK. However, in the function confirmation process (S400 in FIG. 15), the response data is changed to information indicating DPOK and information indicating EPNG and CPNG. As a result, the portable terminal 50 selects the DP from the three printing functions (that is, DP, EP, CP) that can be executed by the MFP 10D. Then, the mobile terminal 50 uses the normal Wi-Fi NW preferentially and transmits the print data to the MFP 10D via the AP 100 (S54 in FIG. 15).

本実施例によると、携帯端末50からMFP10Dへの印刷データの送信に利用不可能な通信方式(図20のケースではEP及びCP)が、携帯端末50によって選択されるのを抑制することができる。本実施例では、MFP10D及び携帯端末50は、携帯端末50によって選択される通信方式(図20のケースではDP)を利用して、印刷データの通信を適切に実行することができる。   According to the present embodiment, it is possible to suppress the communication method (EP and CP in the case of FIG. 20) that cannot be used for transmission of print data from the portable terminal 50 to the MFP 10D being selected by the portable terminal 50. . In the present embodiment, the MFP 10D and the portable terminal 50 can appropriately execute print data communication using a communication method selected by the portable terminal 50 (DP in the case of FIG. 20).

(対応関係)
図20のケースでは、応答データに含まれるSSID「X1」及びBSSID「Y1」が、「識別情報」の一例である。CP、DP、EPが、それぞれ、「第1の通信方式」、「第2の通信方式」、「第3の通信方式」の一例である。応答データに含まれる情報(即ち、DPOK、EPOK、CPOK)が、「第3のデータ」及び「第4のデータ」の一例である。図19のS404の処理、S414の処理が、それぞれ、「端末装置」の「第1の判断部」、「第2の判断部」によって実行される処理の一例である。S414の判断対象である送信用ESIが、「第2の無線設定情報」の一例である。
(Correspondence)
In the case of FIG. 20, the SSID “X1” and the BSSID “Y1” included in the response data are examples of “identification information”. CP, DP, and EP are examples of the “first communication method”, the “second communication method”, and the “third communication method”, respectively. Information included in the response data (that is, DPOK, EPOK, CPOK) is an example of “third data” and “fourth data”. The processes in S404 and S414 in FIG. 19 are examples of processes executed by the “first determination unit” and the “second determination unit” of the “terminal device”, respectively. The ESI for transmission that is the determination target in S414 is an example of “second wireless setting information”.

(第4実施例)
第1実施例とは異なる点を説明する。本実施例では、携帯端末50が機能選択処理を実行せず、MFP10が機能選択処理を実行する。
(Fourth embodiment)
Differences from the first embodiment will be described. In this embodiment, the portable terminal 50 does not execute the function selection process, and the MFP 10 executes the function selection process.

(携帯端末50のアプリケーション処理;図21)
図21を参照して、本実施例のMFP用アプリケーションによって実現される処理の内容を説明する。S10−4で送信される機能要求は、携帯端末50が無線LANに所属しているか否かを示す情報と、携帯端末50がセルラーNWに所属しているか否かを示す情報と、を含む。携帯端末50が無線LANに所属している場合(即ち、通常Wi−FiWSI又はWFDWSIがメモリ74に記憶されている場合)には、機能要求は、さらに、当該無線LANのSSID及びBSSIDのセットを含む。MFP10は、これらの情報を利用して、後述の機能選択処理(図22のS30)を実行することができる。
(Application processing of portable terminal 50; FIG. 21)
With reference to FIG. 21, the contents of processing realized by the MFP application of this embodiment will be described. The function request transmitted in S10-4 includes information indicating whether or not the portable terminal 50 belongs to the wireless LAN and information indicating whether or not the portable terminal 50 belongs to the cellular network. When the portable terminal 50 belongs to a wireless LAN (that is, when normal Wi-Fi WSI or WFD WSI is stored in the memory 74), the function request further includes a set of the SSID and BSSID of the wireless LAN. Including. The MFP 10 can execute a function selection process (S30 in FIG. 22) described later using these pieces of information.

S12−4で受信される応答データは、MFP10によって実行される機能選択処理の選択結果(即ち、DP、EP、又は、CP)と、選択結果に対応する送信先情報と、を含む。次いで、S54において、CPU72は、選択結果に対応する送信先情報を利用して、選択結果に対応する通信方式に従って、印刷データをMFP10に送信する。   The response data received in S12-4 includes a selection result (that is, DP, EP, or CP) of the function selection process executed by the MFP 10 and transmission destination information corresponding to the selection result. Next, in S54, the CPU 72 transmits the print data to the MFP 10 according to the communication method corresponding to the selection result using the transmission destination information corresponding to the selection result.

(MFPの処理;図22)
図22を参照して、本実施例のMFP10が実行する処理の内容を説明する。S60〜90は、図7のS60〜90と略同様である。ただし、上述したように、S60で受信される機能要求は、携帯端末50が無線LANに所属しているか否かを示す情報と、携帯端末50がセルラーNWに所属しているか否かを示す情報と、を含む。また、機能要求は、携帯端末50が所属している無線LANのSSID及びBSSIDのセットを含み得る。また、S70では、CPU32は、通常Wi−Fi印刷、WFD印刷、及び、BT印刷のうちの少なくとも1つがOKである場合には、DPOKを示す情報をメモリ34に記憶させ、それらの全てがNGである場合には、DPNGを示す情報をメモリ34に記憶させる。
(Processing of MFP; FIG. 22)
With reference to FIG. 22, the contents of the process executed by the MFP 10 of this embodiment will be described. S60 to 90 are substantially the same as S60 to 90 in FIG. However, as described above, the function request received in S60 includes information indicating whether the portable terminal 50 belongs to the wireless LAN and information indicating whether the portable terminal 50 belongs to the cellular network. And including. Further, the function request may include a set of SSID and BSSID of the wireless LAN to which the mobile terminal 50 belongs. In S70, when at least one of normal Wi-Fi printing, WFD printing, and BT printing is OK, the CPU 32 stores information indicating DPOK in the memory 34, and all of them are NG. If it is, information indicating DPNG is stored in the memory 34.

S30では、CPU32は、機能選択処理を実行する。本実施例の機能実行処理は、実行主体がCPU32である点を除いて、第1実施例の機能実行処理と同様である(図3のS30、図4〜図6参照)。なお、CPU32は、SSID及びBSSIDのセットが機能要求に含まれる場合には、当該セットを利用して、図4のS31の処理を実行する。また、CPU32は、機能要求に含まれる各情報(即ち、携帯端末50が無線LANに所属しているか否かを示す情報、携帯端末50がセルラーNWに所属しているか否かを示す情報)を利用して、図4のS33及びS38の処理を実行する。   In S30, the CPU 32 executes a function selection process. The function execution process of the present embodiment is the same as the function execution process of the first embodiment except that the execution subject is the CPU 32 (see S30 in FIG. 3 and FIGS. 4 to 6). In addition, when the set of SSID and BSSID is included in the function request, the CPU 32 executes the process of S31 of FIG. 4 using the set. In addition, the CPU 32 displays each information included in the function request (that is, information indicating whether or not the portable terminal 50 belongs to the wireless LAN, information indicating whether or not the portable terminal 50 belongs to the cellular network). Utilizing this, the processing of S33 and S38 of FIG. 4 is executed.

図22のS110は、図7のS110(即ち図11)と同様である。S100−4で送信される応答データは、S30の機能選択処理の選択結果と、S110で準備された送信先情報と、を含む。S102、S132、S134は、それぞれ、図7のS102、S132、S134と同様である。   22 is the same as S110 in FIG. 7 (that is, FIG. 11). The response data transmitted in S100-4 includes the selection result of the function selection process in S30 and the transmission destination information prepared in S110. S102, S132, and S134 are the same as S102, S132, and S134 of FIG. 7, respectively.

(具体的なケース;図23)
図23を参照して、図21及び図22の各処理によって実現される具体的なケースを説明する。MFP10Eは、通常Wi−Fi印刷、BT印刷、EP、及び、CPを実行可能であるが、WFD印刷を実行不可能である。MFP10D及び携帯端末50は、AP100によって形成されている通常Wi−FiNW(SSID「X1」、BSSID「Y1」)に所属している。なお、携帯端末50は、セルラーNWに所属していない。
(Specific case; Fig. 23)
With reference to FIG. 23, a specific case realized by each processing of FIG. 21 and FIG. 22 will be described. The MFP 10E can execute normal Wi-Fi printing, BT printing, EP, and CP, but cannot execute WFD printing. The MFP 10D and the portable terminal 50 belong to a normal Wi-Fi NW (SSID “X1”, BSSID “Y1”) formed by the AP 100. Note that the mobile terminal 50 does not belong to the cellular network.

本ケースでは、携帯端末50からMFP10Eに送信される機能要求は、携帯端末50が無線LANに所属していることを示す情報と、携帯端末50がセルラーNWに所属していないことを示す情報と、携帯端末50が所属している通常Wi−FiNWのSSID「X1」及びBSSID「Y1」のセットと、を含む(図21のS10−4)。   In this case, the function request transmitted from the portable terminal 50 to the MFP 10E includes information indicating that the portable terminal 50 belongs to the wireless LAN, and information indicating that the portable terminal 50 does not belong to the cellular network. And a set of SSID “X1” and BSSID “Y1” of the normal Wi-Fi NW to which the portable terminal 50 belongs (S10-4 in FIG. 21).

MFP10Eは、携帯端末50から機能要求を受信すると(図22のS60)、各機能確認処理を実行して(図22のS70〜90)、DPOKを示す情報と、EPOKを示す情報と、CPOKを示す情報と、をメモリ34に記憶させる。   When the MFP 10E receives a function request from the portable terminal 50 (S60 in FIG. 22), the MFP 10E executes each function confirmation process (S70 to 90 in FIG. 22), and displays information indicating DPOK, information indicating EPOK, and CPOK. Information to be stored in the memory 34.

本ケースでは、MFP10Eの通常Wi−FiWSIに含まれるSSID「X1」及びBSSID「Y1」のセットに一致するSSID及びBSSIDのセットが機能要求に含まれるために(図4のS31でYES)、MFP10Eは、MFP10Eが実行可能な3個の印刷機能(即ち、DP、EP、CP)の中から、DPを選択する(図4のS32)。   In this case, since the set of SSID and BSSID that matches the set of SSID “X1” and BSSID “Y1” included in the normal Wi-Fi WSI of MFP 10E is included in the function request (YES in S31 of FIG. 4), MFP 10E. Selects the DP from the three printing functions (that is, DP, EP, CP) that can be executed by the MFP 10E (S32 in FIG. 4).

MFP10Eから携帯端末50に送信される応答データは、DPを示す選択結果のみならず、通常Wi−FiWSI(即ち、「X1、Y1、IP1」)と、BTWSIと、を含む(図22のS102)。携帯端末50は、通常Wi−FiNWを優先的に利用して、AP100を介して、印刷データをMFP10Dに送信する(図21のS54)。   The response data transmitted from the MFP 10E to the portable terminal 50 includes not only the selection result indicating DP but also normal Wi-Fi WSI (that is, “X1, Y1, IP1”) and BTWSI (S102 in FIG. 22). . The portable terminal 50 transmits print data to the MFP 10D via the AP 100 using the normal Wi-Fi NW preferentially (S54 in FIG. 21).

(対応関係)
図23のケースでは、DP、EP、及び、CPが、「M1個の通信方式」の一例であり、DPが、「特定の通信方式」の一例である。図22のS30の処理、S102の処理、S132の処理が、それぞれ、「機能実行装置」の「選択部」、「送信部」、「第1の受信部」によって実行される処理の一例である。
(Correspondence)
In the case of FIG. 23, DP, EP, and CP are examples of “M1 communication schemes”, and DP is an example of “specific communication schemes”. The processes of S30, S102, and S132 of FIG. 22 are examples of processes executed by the “selection unit”, “transmission unit”, and “first reception unit” of the “function execution device”, respectively. .

(第5実施例)
第4実施例と異なる点を説明する。本実施例では、MFP10は、図8とは異なるフローチャートに従って、図22のS70のDP機能確認処理を実行する。
(5th Example)
Differences from the fourth embodiment will be described. In the present embodiment, the MFP 10 executes the DP function confirmation process in S70 of FIG. 22 according to a flowchart different from that of FIG.

(DP機能確認処理;図24)
図24を参照して、図22のS70のDP機能確認処理について説明する。S700、S702は、図8のS71、S73と同様である。なお、S700の判断でYESの場合には、S704に進み、S700の判断でNOの場合には、S702に進む。また、S702を終えると、S720に進む。S704では、CPU32は、MFP10及び携帯端末50が同一の通常Wi−FiNWに所属しているのか否かを判断する。CPU32は、MFP10の通常Wi−FiWSIがメモリ34に記憶されていない場合には、S704でNOと判断し、S708に進む。
(DP function confirmation processing; FIG. 24)
With reference to FIG. 24, the DP function confirmation processing in S70 of FIG. 22 will be described. S700 and S702 are the same as S71 and S73 of FIG. If YES in step S700, the process proceeds to step S704. If NO in step S700, the process proceeds to step S702. When S702 ends, the process proceeds to S720. In S704, the CPU 32 determines whether the MFP 10 and the portable terminal 50 belong to the same normal Wi-Fi NW. If the normal Wi-Fi WSI of the MFP 10 is not stored in the memory 34, the CPU 32 determines NO in S704, and proceeds to S708.

CPU32は、MFP10の通常Wi−FiWSIがメモリ34に記憶されている場合には、当該通常Wi−FiWSIに含まれる通常Wi−Fi用SSID及び通常Wi−Fi用BSSIDのセットに一致するSSID及びBSSIDのセット(以下では「第3のセット」と呼ぶ)が機能要求に含まれているのか否かを判断する。CPU32は、第3のセットが機能要求に含まれている場合には、S704でYESと判断し、S706に進み、第3のセットが機能要求に含まれていない場合には、S704でNOと判断し、S708に進む。   When the normal Wi-Fi WSI of the MFP 10 is stored in the memory 34, the CPU 32 matches the SSID and BSSID that match the set of the normal Wi-Fi SSID and the normal Wi-Fi BSSID included in the normal Wi-Fi WSI. It is determined whether or not a set of functions (hereinafter referred to as “third set”) is included in the function request. If the third set is included in the function request, the CPU 32 determines YES in S704, and proceeds to S706. If the third set is not included in the function request, the CPU 32 determines NO in S704. Determination is made, and the process proceeds to S708.

S706では、CPU32は、通常Wi−Fi印刷OKを示す情報をメモリ34に記憶させる。また、S708では、CPU32は、通常Wi−Fi印刷NGを示す情報をメモリ34に記憶させる。S706又はS708が終了すると、S710に進む。   In S <b> 706, the CPU 32 stores information indicating normal Wi-Fi printing OK in the memory 34. In S <b> 708, the CPU 32 stores information indicating normal Wi-Fi printing NG in the memory 34. When S706 or S708 ends, the process proceeds to S710.

S710、S718は、図8のS74、S76と同様である。なお、S710の判断でYESの場合には、S712に進み、S710の判断でNOの場合には、S718に進む。また、S718を終えると、S720に進む。S712では、CPU32は、MFP10の現在の状態がCL状態であるのか否かを判断する。CPU32は、MFP10の現在の状態がCL状態である場合には、S712でYESと判断し、S714に進み、MFP10の現在の状態がG/O状態又はデバイス状態である場合には、S712でNOと判断し、S716に進む。   S710 and S718 are the same as S74 and S76 in FIG. If YES in step S710, the process proceeds to step S712. If NO in step S710, the process proceeds to step S718. When S718 ends, the process proceeds to S720. In S712, the CPU 32 determines whether or not the current state of the MFP 10 is the CL state. If the current state of the MFP 10 is the CL state, the CPU 32 determines YES in S712, and proceeds to S714. If the current state of the MFP 10 is the G / O state or the device state, the CPU 32 determines NO in S712. The process proceeds to S716.

S714では、CPU32は、MFP10及び携帯端末50が同一のWFDNWに所属しているのか否かを判断する。CPU32は、MFP10のWFDWSIがメモリ34に記憶されている場合には、当該WFDWSIに含まれるWFD用SSID及びWFD用BSSIDのセットに一致するSSID及びBSSIDのセット(以下では「第4のセット」と呼ぶ)が機能要求に含まれているのか否かを判断する。CPU32は、第4のセットが機能要求に含まれている場合には、S714でYESと判断し、S716に進み、第4のセットが機能要求に含まれていない場合には、S714でNOと判断し、S718に進む。S716〜S724は、図8のS75〜S79と同様である。   In S <b> 714, the CPU 32 determines whether the MFP 10 and the portable terminal 50 belong to the same WFDNW. When the WFD WSI of the MFP 10 is stored in the memory 34, the CPU 32 sets a set of SSID and BSSID (hereinafter referred to as “fourth set”) that matches the set of the SFD for WFD and the BSSID for WFD included in the WFD WSI. Call) is included in the function request. If the fourth set is included in the function request, the CPU 32 determines YES in S714, and proceeds to S716. If the fourth set is not included in the function request, the CPU 32 determines NO in S714. Judge, and proceed to S718. S716 to S724 are the same as S75 to S79 in FIG.

MFP10及び携帯端末50が同一の通常Wi−FiNWに所属していない場合には、MFP10及び携帯端末50は、通常Wi−Fi方式を利用して、印刷データの通信を実行することができない。何故なら、MFP10の通常Wi−FiWSIに含まれるパスワードがMFP10から携帯端末50に送信されないので(図17のS303)、携帯端末50が、MFP10が所属している通常Wi−FiNWに参加することができないからである。従って、本実施例では、MFP10は、MFP10が通常Wi−Fi印刷機能を有していても、MFP10及び携帯端末50が同一の通常Wi−FiNWに所属していない場合(S704でNO)には、通常Wi−Fi印刷NGをメモリ34に記憶させる(S708)。   When the MFP 10 and the portable terminal 50 do not belong to the same normal Wi-Fi NW, the MFP 10 and the portable terminal 50 cannot execute print data communication using the normal Wi-Fi method. This is because the password included in the normal Wi-Fi WSI of the MFP 10 is not transmitted from the MFP 10 to the portable terminal 50 (S303 in FIG. 17), so that the portable terminal 50 may participate in the normal Wi-Fi NW to which the MFP 10 belongs. It is not possible. Therefore, in this embodiment, the MFP 10 has a normal Wi-Fi printing function, but when the MFP 10 and the portable terminal 50 do not belong to the same normal Wi-Fi NW (NO in S704). The normal Wi-Fi printing NG is stored in the memory 34 (S708).

MFP10がCL状態であり、かつ、MFP10及び携帯端末50が同一のWFDNWに所属していない場合には、MFP10及び携帯端末50は、WFD方式を利用して、印刷データの通信を実行することができない。何故なら、MFP10のWFDWSIに含まれるパスワードがMFP10から携帯端末50に送信されないので(図17のS305の「MFP=CL」の場合参照)、携帯端末50が、MFP10が所属しているWFDNWに参加することができないからである。従って、本実施例では、MFP10は、MFP10がWFD印刷機能を有していても、MFP10がCL状態であり、かつ、MFP10及び携帯端末50が同一のWFDNWに所属していない場合(S714でNO)には、WFD印刷NGをメモリ34に記憶させる(S718)。   When the MFP 10 is in the CL state and the MFP 10 and the portable terminal 50 do not belong to the same WFDNW, the MFP 10 and the portable terminal 50 can execute print data communication using the WFD method. Can not. This is because the password included in the WFD WSI of the MFP 10 is not transmitted from the MFP 10 to the portable terminal 50 (see “MFP = CL” in S305 in FIG. 17), and the portable terminal 50 joins the WFDNW to which the MFP 10 belongs. Because you can't. Therefore, in this embodiment, the MFP 10 is in the case where the MFP 10 is in the CL state and the MFP 10 and the portable terminal 50 do not belong to the same WFDNW even if the MFP 10 has the WFD printing function (NO in S714). ), The WFD print NG is stored in the memory 34 (S718).

このように、本実施例では、MFP10は、MFP10及び携帯端末50の状況に応じて、通常Wi−Fi印刷に関する情報(OK又はNG)、及び、WFD印刷に関する情報(OK又はNG)を、メモリ34に適切に記憶させることができる。この結果、図22のS30において、MFP10は、DPに関する選択を適切に実行することができる。   As described above, in this embodiment, the MFP 10 stores information on normal Wi-Fi printing (OK or NG) and information on WFD printing (OK or NG) according to the status of the MFP 10 and the portable terminal 50 in the memory. 34 can be stored appropriately. As a result, in S <b> 30 of FIG. 22, the MFP 10 can appropriately perform selection related to DP.

(具体的なケース;図25)
図25を参照して、図21及び図22(特にS70(図24))の各処理によって実現される具体的なケースを説明する。MFP10Fは、AP100によって形成されている通常Wi−FiNW(SSID「X1」、BSSID「Y1」)に所属している。また、MFP10Fは、PC110によって形成されているWFDNW(SSID「X3」、BSSID「Y3」)に、CL機器として所属している。MFP10Fは、EPを実行可能であるが、BT印刷及びCPを実行不可能である。携帯端末50は、無線LANに所属していないが、セルラーNWに所属している。
(Specific case; Fig. 25)
With reference to FIG. 25, a specific case realized by each processing of FIG. 21 and FIG. 22 (particularly S70 (FIG. 24)) will be described. The MFP 10F belongs to a normal Wi-Fi NW (SSID “X1”, BSSID “Y1”) formed by the AP 100. The MFP 10F belongs to the WFDNW (SSID “X3”, BSSID “Y3”) formed by the PC 110 as a CL device. The MFP 10F can execute EP, but cannot execute BT printing and CP. The portable terminal 50 does not belong to the wireless LAN, but belongs to the cellular NW.

本ケースでは、携帯端末50からMFP10Fに送信される機能要求は、携帯端末50が無線LANに所属していないことを示す情報と、携帯端末50がセルラーNWに所属していることを示す情報と、を含む。   In this case, the function request transmitted from the mobile terminal 50 to the MFP 10F includes information indicating that the mobile terminal 50 does not belong to the wireless LAN, and information indicating that the mobile terminal 50 belongs to the cellular network NW. ,including.

MFP10Fの通常Wi−FiWSIに含まれる通常Wi−Fi用SSID「X1」及び通常Wi−Fi用BSSID「Y1」のセットに一致するセットが、機能要求に含まれていないために(図24のS704でNO)、MFP10Fは、通常Wi−Fi印刷NGを示す情報をメモリ34に記憶させる(S708)。また、MFP10FがCL状態であり(S712でYES)、さらに、MFP10FのWFDWSIに含まれるWFD用SSID「X3」及びWFD用BSSID「Y3」のセットに一致するセットが、機能要求に含まれていないために(S714でNO)、MFP10Fは、WFD印刷NGを示す情報をメモリ34に記憶させる(S718)。また、MFP10FがBT印刷を実行不可能であるために(S720でNO)、MFP10Fは、BT印刷NGを示す情報をメモリ34に記憶させる(S724)。   A set that matches the set of the normal Wi-Fi SSID “X1” and the normal Wi-Fi BSSID “Y1” included in the normal Wi-Fi WSI of the MFP 10F is not included in the function request (S704 in FIG. 24). The MFP 10F stores information indicating normal Wi-Fi printing NG in the memory 34 (S708). Further, the MFP 10F is in the CL state (YES in S712), and the function request does not include a set that matches the set of the WFD SSID “X3” and the WFD BSSID “Y3” included in the WFD WSI of the MFP 10F. For this reason (NO in S714), the MFP 10F stores information indicating the WFD printing NG in the memory 34 (S718). Further, since the MFP 10F cannot execute BT printing (NO in S720), the MFP 10F stores information indicating the BT printing NG in the memory 34 (S724).

通常Wi−Fi印刷、WFD印刷、及び、BT印刷のいずれもNGになるので、MFP10Fは、DPNGを示す情報をメモリ34に記憶させる。このように、MFP10Fは、通常Wi−Fi印刷及びWFD印刷を実行可能であるにも関わらず、DPNGを示す情報をメモリ34に記憶させる。従って、MFP10Fは、後述の第2の選択処理(図6参照)において、印刷データの通信を実行不可能であるDPを選択しない。   Since all of normal Wi-Fi printing, WFD printing, and BT printing are NG, the MFP 10F stores information indicating DPNG in the memory 34. As described above, the MFP 10 </ b> F stores information indicating DPNG in the memory 34 even though normal Wi-Fi printing and WFD printing can be performed. Therefore, the MFP 10F does not select a DP that cannot execute print data communication in a second selection process (see FIG. 6) described later.

MFP10Fは、EPを実行可能であるために、EPOKを示す情報をメモリ34に記憶させる(図9のS83)。また、MFP10Fは、CPを実行可能であるために、CPOKを示す情報をメモリ34に記憶させる(図10のS94)。   Since the MFP 10F can execute EP, the MFP 10F stores information indicating EPOK in the memory 34 (S83 in FIG. 9). Further, since the MFP 10F can execute CP, the MFP 10F stores information indicating CPOK in the memory 34 (S94 in FIG. 10).

上述したように、機能要求は、セルラーNWに所属していることを示す情報を含む。このために、MFP10Fは、図4のS38でYESと判断して、第2の選択処理を実行する(S160)。そして、MFP10Fは、MFP10Fが実行可能な2個の印刷機能(EP、CP)の中から、CPを選択する(図6のS163でYES)。MFP10Fは、CPを示す選択結果と、CPに対応する送信先情報である印刷用CSIと、を含む応答データを携帯端末50に送信する(図22のS102)。   As described above, the function request includes information indicating that it belongs to the cellular network. Therefore, the MFP 10F determines YES in S38 of FIG. 4 and executes the second selection process (S160). Then, the MFP 10F selects a CP from two print functions (EP, CP) that can be executed by the MFP 10F (YES in S163 of FIG. 6). The MFP 10F transmits response data including the selection result indicating the CP and the printing CSI that is the transmission destination information corresponding to the CP to the portable terminal 50 (S102 in FIG. 22).

携帯端末50は、MFP10から応答データを受信すると(図21のS12−4)、応答データに含まれる印刷用CSIを利用して、セルラーNWI/F66を介して、印刷データを印刷CLサーバ140に送信する。これにより、印刷データが、印刷CLサーバ140を介して、MFP10Fに送信される。   When the portable terminal 50 receives the response data from the MFP 10 (S12-4 in FIG. 21), the print data is sent to the print CL server 140 via the cellular NWI / F 66 using the print CSI included in the response data. Send. Accordingly, the print data is transmitted to the MFP 10F via the print CL server 140.

(対応関係)
図25のケースでは、DPが、「第2の通信方式」の一例である。そして、EP及びCPが、「第2の通信方式を含まないM1個の通信方式」の一例である。図22のS60の処理が、「機能実行装置」の「第2の受信部」によって実行される処理の一例であり、図24のS704及び714の処理が、「機能実行装置」の「判断部」によって実行される処理の一例である。
(Correspondence)
In the case of FIG. 25, the DP is an example of a “second communication method”. EP and CP are examples of “M1 communication methods not including the second communication method”. The process of S60 of FIG. 22 is an example of the process executed by the “second receiving unit” of the “function execution device”, and the processes of S704 and 714 of FIG. It is an example of the process performed by "."

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

(変形例1)
図10のS93では、MFP10のCPU32は、MFP10がインターネット上の確認サーバ130と通信可能であるか否かを判断することによって、CPOKを示す情報又はCPNGを示す情報をメモリ34に記憶させる。これに代えて、CPU32は、MFP10がAP100と接続されている場合(即ち通常Wi−FiWSIがメモリ34に記憶されている場合)には、S93でYESと判断し、MFP10がAP100と接続されていない場合(即ち通常Wi−FiWSIがメモリ34に記憶されていない場合)には、S93でNOと判断してもよい。AP100は、通常、無線LANとインターネットとの間の通信を中継する機能を備える。このために、MFP10がAP100と接続されている場合には、MFP10は、通常、インターネット通信を実行可能である。従って、CPU32は、MFP10がAP100と接続されている否かを判断することによって、MFP10がインターネット通信を実行可能であるか(即ち印刷CLサーバ140と通信可能であるのか否か)を適切に判断することができる。
(Modification 1)
In S93 of FIG. 10, the CPU 32 of the MFP 10 determines whether the MFP 10 can communicate with the confirmation server 130 on the Internet, and stores information indicating CPOK or information indicating CPNG in the memory 34. Instead, when the MFP 10 is connected to the AP 100 (that is, when normal Wi-Fi WSI is stored in the memory 34), the CPU 32 determines YES in S93, and the MFP 10 is connected to the AP 100. If not (ie, if normal Wi-Fi WSI is not stored in the memory 34), NO may be determined in S93. The AP 100 usually has a function of relaying communication between the wireless LAN and the Internet. For this reason, when the MFP 10 is connected to the AP 100, the MFP 10 can normally perform Internet communication. Therefore, the CPU 32 appropriately determines whether or not the MFP 10 can execute Internet communication (that is, whether or not the MFP 10 can communicate with the print CL server 140) by determining whether or not the MFP 10 is connected to the AP 100. can do.

(変形例2)
図3のS12において、携帯端末50のCPU72は、DPOK等を示す情報を含む応答データを受信する代わりに、MFP10の機器ID又はモデル名を含む応答データを受信してもよい。この場合、CPU72は、MFP10の機器ID又はモデル名を含む問い合わせ信号を確認サーバ130に送信して、確認サーバ130から問い合わせ結果を受信する。確認サーバ130は、MFP10の機器ID又はモデル名に対応付けて、MFP10がいずれの印刷機能(DP、EP、CP)を実行可能であるのかを示す情報を記憶している。当該情報は、MFP10のベンダによって確認サーバ130に予め記憶されている。例えば、ベンダは、MFP10がEP機能及びCP機能を有していない場合には、MFP10の機器ID又はモデル名に対応付けて、DPOK、EPNG、及び、CPNGを示す情報を確認サーバ130に記憶させる。確認サーバ130は、携帯端末50から、MFP10の機器ID又はモデル名を含む問い合わせ信号を受信する場合に、MFP10がいずれの印刷機能(DP、EP、CP)を実行可能であるのかを示す情報を含む問い合わせ結果を、携帯端末50に送信する。携帯端末50のCPU72は、問い合わせ結果に応じて、図3のS30で印刷機能を選択する。本変形例でも、CPU72は、MFP10が実行可能な印刷機能を選択することができる。本変形例では、MFP10の機器ID又はモデル名が、「第1の情報」の一例である。
(Modification 2)
In S <b> 12 of FIG. 3, the CPU 72 of the portable terminal 50 may receive response data including the device ID or model name of the MFP 10 instead of receiving response data including information indicating DPOK or the like. In this case, the CPU 72 transmits an inquiry signal including the device ID or model name of the MFP 10 to the confirmation server 130 and receives an inquiry result from the confirmation server 130. The confirmation server 130 stores information indicating which printing function (DP, EP, CP) the MFP 10 can execute in association with the device ID or model name of the MFP 10. The information is stored in advance in the confirmation server 130 by the vendor of the MFP 10. For example, when the MFP 10 does not have the EP function and the CP function, the vendor stores information indicating DPOK, EPNG, and CPNG in the confirmation server 130 in association with the device ID or model name of the MFP 10. . When the confirmation server 130 receives an inquiry signal including the device ID or model name of the MFP 10 from the portable terminal 50, the confirmation server 130 displays information indicating which print function (DP, EP, CP) the MFP 10 can execute. The inquiry result including this is transmitted to the portable terminal 50. The CPU 72 of the portable terminal 50 selects the print function in S30 of FIG. 3 according to the inquiry result. Also in this modification, the CPU 72 can select a print function that can be executed by the MFP 10. In the present modification, the device ID or model name of the MFP 10 is an example of “first information”.

(変形例3)
変形例2において、確認サーバ130は、さらに、MFP10の機器ID又はモデル名に対応付けて、MFP10が実行可能な印刷条件(例えば、MFP10が利用可能な用紙サイズ、MFP10が利用可能な印刷解像度の範囲等)を記憶していてもよい。そして、確認サーバ130は、携帯端末50から、MFP10の機器ID又はモデル名を含む問い合わせ信号を受信する場合に、MFP10がいずれの印刷機能(DP、EP、CP)を実行可能であるのかを示す情報と、MFP10が実行可能な印刷条件を示す情報と、を含む問い合わせ結果を、携帯端末50に送信する。携帯端末50のCPU72は、問い合わせ結果に応じて、問い合わせ結果に含まれる印刷条件を示す表示用データを生成して、表示用データを表示機構54に供給する。これにより、ユーザは、印刷条件を選択することができる。
(Modification 3)
In the second modification, the confirmation server 130 further associates the device ID or model name of the MFP 10 with the print conditions that can be executed by the MFP 10 (for example, the paper size that can be used by the MFP 10 and the print resolution that can be used by the MFP 10. Range, etc.) may be stored. When the confirmation server 130 receives an inquiry signal including the device ID or model name of the MFP 10 from the portable terminal 50, the confirmation server 130 indicates which print function (DP, EP, CP) the MFP 10 can execute. An inquiry result including information and information indicating printing conditions executable by the MFP 10 is transmitted to the portable terminal 50. In response to the inquiry result, the CPU 72 of the portable terminal 50 generates display data indicating the printing conditions included in the inquiry result, and supplies the display data to the display mechanism 54. Thereby, the user can select a printing condition.

そして、図3のS50では、CPU72は、CPU72によって選択される印刷機能(例えば「DP」)のみならず、ユーザによって選択される印刷条件(例えば、用紙サイズ「A4」、印刷解像度「200Dpi」)を示す選択結果を、MFP10に送信してもよい。そして、図7のS134では、MFP10のCPU32は、携帯端末50による選択結果が示す印刷条件に従って、印刷処理を実行してもよい。   In S50 of FIG. 3, the CPU 72 performs not only the print function (for example, “DP”) selected by the CPU 72 but also the print condition (for example, paper size “A4”, print resolution “200 dpi”) selected by the user. May be transmitted to the MFP 10. In S134 of FIG. 7, the CPU 32 of the MFP 10 may execute the printing process according to the printing condition indicated by the selection result by the portable terminal 50.

(変形例4)
「第1のインターフェース」は、NFCI/F62に限られず、例えば、Transfer Jetの無線通信を実行するためのTJI/Fであってもよい。なお、Transfer Jetの無線通信の通信速度の高速化が図れられた場合には、無線LANI/F60を介した無線通信の通信速度は、TJI/Fを介した無線通信の通信速度よりも遅くてもよい。即ち、「第2のインターフェース」を介した無線通信の通信速度は、「第1のインターフェース」を介した無線通信の通信速度よりも速くてもよいし遅くてもよい。一般的に言うと、「第2のインターフェース」を介した無線通信の通信可能範囲が、「第1のインターフェース」を介した無線通信の通信可能範囲よりも大きければよい。
(Modification 4)
The “first interface” is not limited to the NFC I / F 62, and may be, for example, a TJ I / F for executing Transfer Jet wireless communication. If the transfer jet wireless communication speed is increased, the wireless communication speed via the wireless LAN I / F 60 is slower than the wireless communication speed via the TJI / F. Also good. That is, the communication speed of the wireless communication via the “second interface” may be faster or slower than the communication speed of the wireless communication via the “first interface”. Generally speaking, it is sufficient that the communicable range of wireless communication via the “second interface” is larger than the communicable range of wireless communication via the “first interface”.

(変形例5)
「機能実行装置」は、MFP10に限られず、印刷機能を実行可能な他の通信装置(プリンタ、FAX装置、コピー機等)であってもよい。
(Modification 5)
The “function execution device” is not limited to the MFP 10 and may be another communication device (printer, FAX device, copier, etc.) that can execute the print function.

(変形例6)
上記の各実施例では、MFP10と携帯端末50とがWFD通信を行うことで、無線ネットワークを形成する。これに代えて、MFP10のCPU32は、いわゆるSoftAPを起動させることによって、MFP10がAPとして動作する無線ネットワークを形成してもよい。
(Modification 6)
In each of the above-described embodiments, the MFP 10 and the portable terminal 50 form a wireless network by performing WFD communication. Instead, the CPU 32 of the MFP 10 may form a wireless network in which the MFP 10 operates as an AP by activating so-called Soft AP.

(変形例7)
上記の各実施例では、新たにWFDNWが形成される際に、MFP10がG/O機器になる。これに代えて、携帯端末50がG/O機器になってもよい。また、携帯端末50のCPU72は、いわゆるSoftAPを起動させることによって、携帯端末50がAPとして動作する無線ネットワークを形成してもよい。
(Modification 7)
In each of the embodiments described above, when a new WFDNW is formed, the MFP 10 becomes a G / O device. Instead, the mobile terminal 50 may be a G / O device. Further, the CPU 72 of the mobile terminal 50 may form a wireless network in which the mobile terminal 50 operates as an AP by activating so-called SoftAP.

(変形例8)
携帯端末50のCPU72は、図3の各処理のうちのどのようなタイミングで印刷データの指定を受け付けてもよい。例えば、CPU72は、NFCI/F62を介して、機能要求をMFP10に送信する前(即ち図3のS10の前)に、印刷データの指定を受け付けてもよいし、MFP10に印刷データを送信する直前(即ちS54の直前)に、印刷データの指定を受け付けてもよい。
(Modification 8)
The CPU 72 of the portable terminal 50 may accept the designation of print data at any timing among the processes in FIG. For example, the CPU 72 may accept designation of print data before sending a function request to the MFP 10 via the NFC I / F 62 (that is, before S10 in FIG. 3), or immediately before sending print data to the MFP 10. The designation of print data may be accepted (that is, immediately before S54).

(変形例9)
上記の各実施例では、第1の選択処理(図5)及び第2の選択処理(図6)において、EPに比べてCPが優先される(図5のS151、S153、図6のS163、S165)。これに代えて、CPに比べてEPが優先されてもよい。
(Modification 9)
In each of the embodiments described above, in the first selection process (FIG. 5) and the second selection process (FIG. 6), the CP is prioritized over the EP (S151, S153 in FIG. 5, S163 in FIG. 6, S165). Alternatively, EP may be given priority over CP.

(変形例10)
上記の各実施例では、携帯端末50が無線LANに所属しており(図4のS33でYES)、かつ、CP又はEPが選択された場合に(図5のS152、S154)、CPU72は、無線LANI/F60を介して、インターネット通信を実行する(図3のS54)。一方において、携帯端末50が無線LANに所属しておらず(図4のS33でNO)、セルラーNWに所属しており(S38でYES)、かつ、CP又はEPが選択された場合に(図6のS164、S166)、CPU72は、セルラーNWI/F66を介して、インターネット通信を実行する(図3のS54)。即ち、上記の各実施例では、セルラーNWを用いたインターネット通信に比べて、従量制の課金対象にならない無線LANを用いたインターネット通信が優先される。これに代えて、無線LANを用いたインターネット通信に比べて、セルラーNWを用いたインターネット通信が優先されてもよい。
(Modification 10)
In each of the above embodiments, when the mobile terminal 50 belongs to the wireless LAN (YES in S33 of FIG. 4) and CP or EP is selected (S152, S154 of FIG. 5), the CPU 72 Internet communication is executed via the wireless LAN I / F 60 (S54 in FIG. 3). On the other hand, when the portable terminal 50 does not belong to the wireless LAN (NO in S33 in FIG. 4), belongs to the cellular network (YES in S38), and CP or EP is selected (see FIG. 6 (S164, S166), the CPU 72 executes Internet communication via the cellular NWI / F 66 (S54 in FIG. 3). That is, in each of the embodiments described above, priority is given to Internet communication using a wireless LAN that is not subject to a metered charge, compared to Internet communication using a cellular network. Instead, Internet communication using cellular NW may be prioritized over Internet communication using wireless LAN.

(変形例11)
上記の実施例では、MFP10及び携帯端末50のCPU32,72がメモリ34,74内のプログラム(即ちソフトウェア)を実行することによって、図3、図7等の各処理が実現される。これに代えて、各処理のうちの少なくとも1つは、論理回路等のハードウェアによって実現されてもよい。
(Modification 11)
In the above-described embodiment, the CPUs 32 and 72 of the MFP 10 and the portable terminal 50 execute the programs (that is, software) in the memories 34 and 74, thereby realizing each process of FIGS. Alternatively, at least one of the processes may be realized by hardware such as a logic circuit.

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

2:通信システム、10:MFP、12:操作パネル、14:表示機構、16:印刷機構、18:スキャン機構、20:無線LANI/F、22:NFCI/F、24:BTI/F、30:制御部、32:CPU、34:メモリ、50:携帯端末、52:操作キー、54:表示機構、60:無線LANI/F、62:NFCI/F、64:BTI/F、66:セルラーNWI/F、70:制御部、72:CPU、74:メモリ、100:AP、110:PC、120:メールサーバ、130:確認サーバ、140:印刷CLサーバ、150:スキャンCLサーバ、160:データ保存CLサーバ   2: communication system, 10: MFP, 12: operation panel, 14: display mechanism, 16: printing mechanism, 18: scanning mechanism, 20: wireless LAN I / F, 22: NFC I / F, 24: BTI / F, 30: Control unit, 32: CPU, 34: memory, 50: portable terminal, 52: operation key, 54: display mechanism, 60: wireless LAN I / F, 62: NFC I / F, 64: BTI / F, 66: cellular NWI / F, 70: control unit, 72: CPU, 74: memory, 100: AP, 110: PC, 120: mail server, 130: confirmation server, 140: print CL server, 150: scan CL server, 160: data storage CL server

Claims (18)

端末装置であって、
第1の印刷データの指定を受け付ける受付部と、
前記第1の印刷データの指定を受け付けた後に、印刷機能を実行可能な第1の機能実行装置に、印刷機能の要求を送信する要求送信部と、
前記要求を受信した前記第1の機能実行装置から、互いに異なるM1個(M1は2以上の整数)の通信方式を含む第1の情報を受信する第1の受信部であって、前記M1個の通信方式のそれぞれは、前記第1の機能実行装置が、前記印刷機能の前記要求を受信することに応じて、前記第1の機能実行装置が利用可能な複数個の通信方式の中から、印刷データを受信するために利用可能な通信方式として特定した方式である、前記第1の受信部と、
前記第1の情報が受信される場合に、前記第1の情報に含まれる前記M1個の通信方式の中から、特定の通信方式を選択する選択部と
前記M1個の通信方式の中から前記特定の通信方式が選択される場合に、前記特定の通信方式に従って、前記受付部にて受け付けられた指定に対応する前記第1の印刷データを前記第1の機能実行装置に送信する第1の送信部と、を備える端末装置。
A terminal device,
A reception unit that receives designation of the first print data;
A request transmission unit for transmitting a print function request to a first function execution device capable of executing a print function after receiving the designation of the first print data ;
A first receiving unit that receives first information including M1 (M1 is an integer of 2 or more) different communication methods from the first function execution apparatus that has received the request, the M1 pieces Each of the communication methods includes a plurality of communication methods that can be used by the first function execution device in response to the first function execution device receiving the request for the print function. The first receiving unit, which is a method specified as a communication method that can be used to receive print data ;
If the first information is received, from among the M1 items of communication method included in the first information, a selection unit for selecting a specific communication system,
When the specific communication method is selected from among the M1 communication methods, the first print data corresponding to the designation received by the receiving unit according to the specific communication method is stored in the first print data. A first transmission unit that transmits to the function execution device.
前記第1の情報に含まれる前記M1個の通信方式は、前記第1の情報が前記第1の機能実行装置にて前記端末装置に送信される際に、前記第1の機能実行装置が利用可能な通信方式を示す、請求項に記載の端末装置。 The M1 communication methods included in the first information are used by the first function execution device when the first information is transmitted to the terminal device by the first function execution device. It shows a possible communication method, terminal device according to claim 1. 端末装置であって、
印刷機能を実行可能な第1の機能実行装置から、前記第1の機能実行装置に関係する第1の情報であって、前記第1の機能実行装置の機器IDとモデル名との少なくとも一方を含む前記第1の情報を受信する第1の受信部と、
前記機器IDと前記モデル名との少なくとも一方を利用して、前記第1の機能実行装置が印刷データを受信するために利用可能な互いに異なるM1個(M1は2以上の整数)の通信方式を取得する取得部と、
前記M1個の通信方式が取得される場合に、前記M1個の通信方式の中から、特定の通信方式を選択する選択部と
前記M1個の通信方式の中から前記特定の通信方式が選択される場合に、前記特定の通信方式に従って、第1の印刷データを前記第1の機能実行装置に送信する第1の送信部と、を備える端末装置。
A terminal device,
From the first function execution device capable of executing the print function, the first information related to the first function execution device is at least one of the device ID and the model name of the first function execution device. A first receiving unit for receiving the first information including:
By using at least one of the device ID and the model name, M1 (M1 is an integer of 2 or more) different communication methods that can be used by the first function execution device to receive print data. An acquisition unit to acquire;
When the M1 items of communication schemes are acquired, from among the pre-Symbol M1 items of communication schemes, a selection unit for selecting a specific communication system,
A first transmission unit configured to transmit first print data to the first function execution device according to the specific communication method when the specific communication method is selected from the M1 communication methods; A terminal device.
前記取得部は、確認サーバに、前記第1の情報に含まれる前記機器IDと前記モデル名との少なくとも一方を含む問い合わせ信号を送信し、前記問い合わせ信号の送信後に、前記確認サーバから、前記第1の機能実行装置が前記M1個の通信方式を利用可能であることを示す問い合わせ結果を受信することによって前記M1個の通信方式を取得する、請求項に記載の端末装置。 The acquisition unit transmits an inquiry signal including at least one of the device ID and the model name included in the first information to the confirmation server, and after the inquiry signal is transmitted, Thus in the first function execution apparatus receives an inquiry result indicating the availability of the M1 items of communication schemes, to acquire the M1 items of communication schemes, the terminal device according to claim 3. 前記M1個の通信方式のそれぞれは、互いに異なる通信プロトコルを利用する通信方式である、請求項1から請求項のいずれか一項に記載の端末装置。 The terminal apparatus according to any one of claims 1 to 4 , wherein each of the M1 communication systems is a communication system that uses a different communication protocol. 前記第1の受信部は、さらに、前記第1の機能実行装置とは異なる第2の機能実行装置であって、印刷機能を実行可能な前記第2の機能実行装置から、前記第2の機能実行装置に関係する第2の情報を受信し、
前記選択部は、さらに、前記第2の情報が受信される場合に、前記第2の情報を利用して、互いに異なるM2個(M2は2以上の整数)の通信方式の中から、前記特定の通信方式とは異なる通信方式を選択し、
前記M2個の通信方式のそれぞれは、前記第2の機能実行装置が印刷データを受信するために利用可能な通信方式であり、
前記第1の送信部は、さらに、前記M2個の通信方式の中から前記異なる通信方式が選択される場合に、前記異なる通信方式に従って、第2の印刷データを前記第2の機能実行装置に送信する、請求項1からのいずれか一項に記載の端末装置。
The first receiving unit is a second function execution device different from the first function execution device, and the second function execution device is capable of executing a print function from the second function execution device. Receiving second information relating to the execution device;
When the second information is received, the selection unit further uses the second information to select the specific information from M2 different communication methods (M2 is an integer of 2 or more). Select a different communication method from
Each of the M2 communication methods is a communication method that can be used by the second function execution device to receive print data.
The first transmission unit further sends second print data to the second function execution device according to the different communication method when the different communication method is selected from the M2 communication methods. transmitting, the terminal device according to any one of claims 1 to 5.
前記端末装置は、さらに、
前記M1個の通信方式の中から前記特定の通信方式が選択される場合に、前記特定の通信方式を示す選択結果を前記第1の機能実行装置に送信する第2の送信部と、
前記選択結果が前記第1の機能実行装置に送信された後に、前記第1の機能実行装置から、前記特定の通信方式に対応する特定の送信先情報を受信する第2の受信部であって、前記特定の送信先情報は、前記特定の通信方式に従って前記端末装置から前記第1の機能実行装置に前記第1の印刷データを送信するための送信先を示す、前記第2の受信部と、を備え、
前記第1の送信部は、前記特定の送信先情報を利用して、前記特定の通信方式に従って前記特定の印刷データを前記第1の機能実行装置に送信する、請求項1からのいずれか一項に記載の端末装置。
The terminal device further includes:
A second transmission unit that transmits a selection result indicating the specific communication method to the first function execution device when the specific communication method is selected from the M1 communication methods;
A second receiving unit configured to receive, from the first function execution device, specific destination information corresponding to the specific communication method after the selection result is transmitted to the first function execution device; The specific transmission destination information includes the second reception unit indicating a transmission destination for transmitting the first print data from the terminal device to the first function execution device according to the specific communication method. With
The first transmission unit, by using the particular transmission destination information, and transmits the specific print data according to the specific communication system to the first function executing device, any one of claims 1 to 6 The terminal device according to one item.
前記端末装置は、さらに、
無線通信を実行するための第1のインターフェースと、
無線通信を実行するための第2のインターフェースと、を備え、
前記第2のインターフェースを介した無線通信の通信可能な範囲は、前記第1のインターフェースを介した無線通信の通信可能な範囲よりも大きく、
前記第1の受信部は、前記第1のインターフェースを介して、前記第1の機能実行装置から前記第1の情報を受信し、
前記第1の送信部は、前記第2のインターフェースを介して、前記第1の印刷データを前記第1の機能実行装置に送信する、請求項1からのいずれか一項に記載の端末装置。
The terminal device further includes:
A first interface for performing wireless communication;
A second interface for performing wireless communication,
The communicable range of wireless communication via the second interface is larger than the communicable range of wireless communication via the first interface,
The first receiving unit receives the first information from the first function execution device via the first interface,
Wherein the first transmission unit through said second interface, transmitting the first print data to the first function executing device, the terminal device according to any one of claims 1 to 7 .
前記第1のインターフェースは、NFC(Near Field Communication)方式に従った無線通信を実行可能なインターフェースである、請求項に記載の端末装置。 The terminal device according to claim 8 , wherein the first interface is an interface capable of performing wireless communication according to an NFC (Near Field Communication) method. 印刷機能を実行可能な機能実行装置であって、
前記機能実行装置が利用可能な複数個の通信方式の中から、前記機能実行装置が印刷データを受信するために利用可能な互いに異なるM1個(M1は2以上の整数)の通信方式を特定する特定部と、
前記M1個の通信方式の中から、特定の通信方式を選択する選択部と
前記特定の通信方式を示す選択結果を端末装置に送信する送信部と、
前記端末装置から、前記特定の通信方式に従って、特定の印刷データを受信する第1の受信部と、
を備える機能実行装置。
A function execution device capable of executing a print function,
Among the plurality of communication methods that can be used by the function execution device, M1 (M1 is an integer of 2 or more) communication methods that can be used by the function execution device to receive print data are specified. A specific part,
From among the M1 items of communication schemes, a selection unit for selecting a specific communication system,
A transmission unit that transmits a selection result indicating the specific communication method to the terminal device;
A first receiving unit that receives specific print data from the terminal device according to the specific communication method;
A function execution device comprising:
印刷機能を実行可能な機能実行装置であって、
端末装置が所属している特定のネットワークに関係する情報を受信する情報受信部と、
受信した前記情報を利用して、前記機能実行装置が、前記端末装置が所属している前記特定のネットワークに所属しているのか否かを判断する判断部と、
前記機能実行装置が前記特定のネットワークに所属していると判断する場合に、受信した前記情報を用いて、互いに異なるM1個(M1は2以上の整数)の通信方式の中から、前記端末装置が所属している前記特定のネットワークを用いた通信方式を特定の通信方式として選択し、前記機能実行装置が前記特定のネットワークに所属していないと判断する場合に、前記M1個の通信方式の中から、前記端末装置が所属している前記特定のネットワークを用いた前記通信方式とは異なる通信方式を前記特定の通信方式として選択する選択部であって、前記M1個の通信方式のそれぞれは、前記機能実行装置が印刷データを受信するために利用可能な通信方式である、前記選択部と、
前記特定の通信方式を示す選択結果を前記端末装置に送信する送信部と、
前記端末装置から、前記特定の通信方式に従って、特定の印刷データを受信する第1の受信部と、
を備える機能実行装置。
A function execution device capable of executing a print function,
An information receiving unit for receiving information related to a specific network to which the terminal device belongs;
Using the received information, a determination unit that determines whether the function execution device belongs to the specific network to which the terminal device belongs;
When determining that the function execution apparatus belongs to the specific network, the terminal uses the received information to select one of the M1 ( M1 is an integer of 2 or more) communication methods from the different communication methods. If the device selects the communication scheme using the specific network that belongs as a specific communication method, it is determined that the function execution apparatus does not belong to the particular network, the M1 items of communication A selection unit that selects, as the specific communication method, a communication method different from the communication method using the specific network to which the terminal device belongs , wherein the M1 communication methods Each of the selection units is a communication method that can be used by the function execution device to receive print data;
A transmission unit that transmits a selection result indicating the specific communication method to the terminal device;
A first receiving unit that receives specific print data from the terminal device according to the specific communication method;
A function execution device comprising:
前記送信部は、前記特定の通信方式を示す前記選択結果と共に、前記特定の通信方式に対応する特定の送信先情報を前記端末装置に送信し、
前記特定の送信先情報は、前記特定の通信方式に従って前記端末装置から前記機能実行装置に前記特定の印刷データを送信するための送信先を示す、請求項10又は11に記載の機能実行装置。
The transmission unit transmits, to the terminal device, specific transmission destination information corresponding to the specific communication method, together with the selection result indicating the specific communication method.
12. The function execution device according to claim 10 , wherein the specific transmission destination information indicates a transmission destination for transmitting the specific print data from the terminal device to the function execution device according to the specific communication method.
前記機能実行装置は、さらに、
NFC(Near Field Communication)方式に従った無線通信を実行するためのインターフェースを備え、
前記送信部は、前記インターフェースを介して、前記端末装置に前記選択結果を送信する、請求項10から請求項12のいずれか一項に記載の機能実行装置。
The function execution device further includes:
Equipped with an interface to execute wireless communication according to NFC (Near Field Communication) system,
The function execution device according to claim 10 , wherein the transmission unit transmits the selection result to the terminal device via the interface.
前記M1個の通信方式のそれぞれは、互いに異なる通信プロトコルを利用する通信方式である、請求項10から請求項13のいずれか一項に記載の機能実行装置。 The function execution device according to any one of claims 10 to 13 , wherein each of the M1 communication methods is a communication method using a different communication protocol. 端末装置のためのコンピュータプログラムであって、
前記端末装置に搭載されるコンピュータに、以下の各処理、即ち、
第1の印刷データの指定を受け付ける受付処理と、
前記第1の印刷データの指定を受け付けた後に、印刷機能を実行可能な第1の機能実行装置に、印刷機能の要求を送信する要求送信処理と、
前記要求を受信した前記第1の機能実行装置から、互いに異なるM1個(M1は2以上の整数)の通信方式を含む第1の情報を受信する第1の受信処理であって、前記M1個の通信方式のそれぞれは、前記第1の機能実行装置が、前記印刷機能の前記要求を受信することに応じて、前記第1の機能実行装置が利用可能な複数個の通信方式の中から、印刷データを受信するために利用可能な通信方式として特定した方式である、前記第1の受信処理と、
前記第1の情報が受信される場合に、前記第1の情報に含まれる記M1個の通信方式の中から、特定の通信方式を選択する選択処理と
前記M1個の通信方式の中から前記特定の通信方式が選択される場合に、前記特定の通信方式に従って、前記受付処理にて受け付けられた指定に対応する前記第1の印刷データを前記第1の機能実行装置に送信する第1の送信処理と、
を実行させるコンピュータプログラム。
A computer program for a terminal device,
In the computer mounted on the terminal device, the following processes, that is,
A reception process for receiving designation of the first print data;
A request transmission process for transmitting a print function request to a first function execution device capable of executing a print function after receiving the designation of the first print data ;
A first reception process of receiving first information including M1 (M1 is an integer of 2 or more) different communication methods from the first function execution device that has received the request , wherein the M1 pieces Each of the communication methods includes a plurality of communication methods that can be used by the first function execution device in response to the first function execution device receiving the request for the print function. The first reception process, which is a method specified as a communication method that can be used to receive print data ;
If the first information is received, from the pre-Symbol M1 items of communication schemes included in the first information, a selection processing for selecting a specific communication system,
When the specific communication method is selected from among the M1 communication methods, the first print data corresponding to the designation received in the reception process according to the specific communication method is stored in the first print data. First transmission processing to be transmitted to the function execution device;
A computer program that executes
端末装置のためのコンピュータプログラムであって、
前記端末装置に搭載されるコンピュータに、以下の各処理、即ち、
印刷機能を実行可能な第1の機能実行装置から、前記第1の機能実行装置に関係する第1の情報であって、前記第1の機能実行装置の機器IDとモデル名との少なくとも一方を含む前記第1の情報を受信する第1の受信処理と、
前記機器IDと前記モデル名との少なくとも一方を利用して、前記第1の機能実行装置が印刷データを受信するために利用可能な互いに異なるM1個(M1は2以上の整数)の通信方式を取得する取得処理と、
前記M1個の通信方式が取得される場合に、前記M1個の通信方式の中から、特定の通信方式を選択する選択処理と
前記M1個の通信方式の中から前記特定の通信方式が選択される場合に、前記特定の通信方式に従って、第1の印刷データを前記第1の機能実行装置に送信する第1の送信処理と、
を実行させるコンピュータプログラム。
A computer program for a terminal device,
In the computer mounted on the terminal device, the following processes, that is,
From the first function execution device capable of executing the print function, the first information related to the first function execution device is at least one of the device ID and the model name of the first function execution device. First receiving processing for receiving the first information including:
By using at least one of the device ID and the model name, M1 (M1 is an integer of 2 or more) different communication methods that can be used by the first function execution device to receive print data. Acquisition processing to acquire,
When the M1 items of communication schemes are acquired, from among the pre-Symbol M1 items of communication schemes, the selection processing for selecting a specific communication system,
A first transmission process for transmitting first print data to the first function execution device according to the specific communication method when the specific communication method is selected from the M1 communication methods; ,
A computer program that executes
印刷機能を実行可能な機能実行装置のためのコンピュータプログラムであって、
前記機能実行装置に搭載されるコンピュータに、以下の各処理、即ち、
前記機能実行装置が利用可能な複数個の通信方式の中から、前記機能実行装置が印刷データを受信するために利用可能な互いに異なるM1個(M1は2以上の整数)の通信方式を特定する特定処理と、
前記M1個の通信方式の中から、特定の通信方式を選択する選択処理と
前記特定の通信方式を示す選択結果を端末装置に送信する送信処理と、
前記端末装置から、前記特定の通信方式に従って、特定の印刷データを受信する第1の受信処理と、
を実行させるコンピュータプログラム。
A computer program for a function execution device capable of executing a printing function,
In the computer mounted on the function execution device, the following processes, that is,
Among the plurality of communication methods that can be used by the function execution device, M1 (M1 is an integer of 2 or more) communication methods that can be used by the function execution device to receive print data are specified. Specific processing,
From among the M1 items of communication schemes, the selection processing for selecting a specific communication system,
A transmission process for transmitting a selection result indicating the specific communication method to the terminal device;
A first reception process for receiving specific print data from the terminal device according to the specific communication method;
A computer program that executes
印刷機能を実行可能な機能実行装置のためのコンピュータプログラムであって、
前記機能実行装置に搭載されるコンピュータに、以下の各処理、即ち、
端末装置が所属している特定のネットワークに関係する情報を受信する情報受信処理と、
受信した前記情報を利用して、前記機能実行装置が、前記端末装置が所属している前記特定のネットワークに所属しているのか否かを判断する判断処理と、
前記機能実行装置が前記特定のネットワークに所属していると判断する場合に、受信した前記情報を用いて、互いに異なるM1個(M1は2以上の整数)の通信方式の中から、前記端末装置が所属している前記特定のネットワークを用いた通信方式を特定の通信方式として選択し、前記機能実行装置が前記特定のネットワークに所属していないと判断する場合に、前記M1個の通信方式の中から、前記端末装置が所属している前記特定のネットワークを用いた前記通信方式とは異なる通信方式を前記特定の通信方式として選択する選択処理であって、前記M1個の通信方式のそれぞれは、前記機能実行装置が印刷データを受信するために利用可能な通信方式である、前記選択処理と、
前記特定の通信方式を示す選択結果を前記端末装置に送信する送信処理と、
前記端末装置から、前記特定の通信方式に従って、特定の印刷データを受信する第1の
受信処理と、
を実行させるコンピュータプログラム。
A computer program for a function execution device capable of executing a printing function,
In the computer mounted on the function execution device, the following processes, that is,
An information reception process for receiving information related to a specific network to which the terminal device belongs;
Using the received information, a determination process for determining whether the function execution device belongs to the specific network to which the terminal device belongs;
When determining that the function execution apparatus belongs to the specific network, the terminal uses the received information to select one of the M1 ( M1 is an integer of 2 or more) communication methods from the different communication methods. If the device selects the communication scheme using the specific network that belongs as a specific communication method, it is determined that the function execution apparatus does not belong to the particular network, the M1 items of communication A selection process for selecting, as the specific communication method, a communication method different from the communication method using the specific network to which the terminal device belongs, and the M1 communication methods Each of the selection processes is a communication method that can be used by the function execution device to receive print data;
A transmission process for transmitting a selection result indicating the specific communication method to the terminal device;
A first reception process for receiving specific print data from the terminal device according to the specific communication method;
A computer program that executes
JP2016059712A 2016-03-24 2016-03-24 Terminal device and function execution device Active JP6191719B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2016059712A JP6191719B2 (en) 2016-03-24 2016-03-24 Terminal device and function execution device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2016059712A JP6191719B2 (en) 2016-03-24 2016-03-24 Terminal device and function execution device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2013040086A Division JP5907094B2 (en) 2013-02-28 2013-02-28 Terminal device and function execution device

Publications (2)

Publication Number Publication Date
JP2016154355A JP2016154355A (en) 2016-08-25
JP6191719B2 true JP6191719B2 (en) 2017-09-06

Family

ID=56761290

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2016059712A Active JP6191719B2 (en) 2016-03-24 2016-03-24 Terminal device and function execution device

Country Status (1)

Country Link
JP (1) JP6191719B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5219431B2 (en) * 2007-08-20 2013-06-26 キヤノン株式会社 Wireless communication system and control method thereof, image input / output device and control method thereof, and program
JP5176706B2 (en) * 2007-09-12 2013-04-03 株式会社リコー A mobile terminal device, an information communication method, and a program executed by the mobile terminal device.
JP5446519B2 (en) * 2008-09-17 2014-03-19 株式会社リコー Portable terminal device and program
JP5168042B2 (en) * 2008-09-17 2013-03-21 株式会社リコー Remote communication setting method for short-range wireless communication, connection support server device and program, image forming device and program

Also Published As

Publication number Publication date
JP2016154355A (en) 2016-08-25

Similar Documents

Publication Publication Date Title
JP5907094B2 (en) Terminal device and function execution device
US11435969B2 (en) Function executing device with two types of wireless communication interfaces
JP6135191B2 (en) Terminal device and function execution device
JP5945961B2 (en) Communication equipment
US9042940B2 (en) Technique for executing communication of object data with mobile device
JP6044392B2 (en) Terminal device and function execution device
JP6172340B2 (en) Communication equipment
JP6044393B2 (en) Terminal device and function execution device
US9148904B2 (en) Communication apparatus
JP2022111275A (en) Communication device and mobile terminal
JP6191719B2 (en) Terminal device and function execution device
JP6372547B2 (en) Terminal device and function execution device
JP6481673B2 (en) Terminal device and function execution device
JP6249075B2 (en) Communication device and portable terminal
JP6525093B2 (en) Communication equipment
JP6662478B2 (en) Communication device and mobile terminal
JP6361793B2 (en) Communication equipment
JP6481743B2 (en) Communication device and portable terminal
JP6601463B2 (en) Communication device
JP2018142317A (en) Function execution device

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20160502

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20170224

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20170321

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20170515

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20170724

R150 Certificate of patent or registration of utility model

Ref document number: 6191719

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150