Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP7848638B2 - Computer program for terminal device, terminal device, and method executed by terminal device - Google Patents
[go: Go Back, main page]

JP7848638B2 - Computer program for terminal device, terminal device, and method executed by terminal device - Google Patents

Computer program for terminal device, terminal device, and method executed by terminal device

Info

Publication number
JP7848638B2
JP7848638B2 JP2022138057A JP2022138057A JP7848638B2 JP 7848638 B2 JP7848638 B2 JP 7848638B2 JP 2022138057 A JP2022138057 A JP 2022138057A JP 2022138057 A JP2022138057 A JP 2022138057A JP 7848638 B2 JP7848638 B2 JP 7848638B2
Authority
JP
Japan
Prior art keywords
wireless interface
wireless
type
communication
interface
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
JP2022138057A
Other languages
Japanese (ja)
Other versions
JP2024034058A (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 JP2022138057A priority Critical patent/JP7848638B2/en
Publication of JP2024034058A publication Critical patent/JP2024034058A/en
Application granted granted Critical
Publication of JP7848638B2 publication Critical patent/JP7848638B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Mobile Radio Communication Systems (AREA)

Description

本明細書では、端末装置と通信装置との間に無線接続を確立させる技術を開示する。 This specification discloses a technique for establishing a wireless connection between a terminal device and a communication device.

特許文献1には、プリンタと携帯端末とを備えるシステムが開示されている。プリンタは、NFC(Near Field Communicationの略)規格のICタグとして機能するNFCインターフェースを備える。携帯端末は、プリンタとのNFC接続を確立すると、NFC接続を利用して、プリンタから、WFD(Wi-Fi Direct(登録商標)の略)接続を確立するための情報を受信する。携帯端末は、当該情報を利用して、プリンタとのWFD接続を確立する。 Patent Document 1 discloses a system comprising a printer and a mobile terminal. The printer is equipped with an NFC (Near Field Communication) interface that functions as an IC tag conforming to the NFC standard. Upon establishing an NFC connection with the printer, the mobile terminal uses the NFC connection to receive information from the printer for establishing a WFD (Wi-Fi Direct®) connection. The mobile terminal then uses this information to establish a WFD connection with the printer.

特開2018-107831号公報 Japanese Patent Publication No. 2018-107831

上記の特許文献1のNFCインターフェースは、プリンタの制御部から指示を取得したり、通知を制御部に供給したりすることができる。特許文献1では、プリンタが、制御部から指示を取得したり通知を制御部に供給したりすることができないNFCインターフェース、即ち、制御部から独立しているNFCインターフェースを備える状況について、考慮されていない。 The NFC interface described in Patent Document 1 above can receive instructions from the printer's control unit and supply notifications to the control unit. Patent Document 1 does not consider situations where the printer has an NFC interface that cannot receive instructions from the control unit or supply notifications to the control unit; that is, an NFC interface that is independent of the control unit.

本明細書では、通信装置が、通信装置の制御部から独立している無線インターフェースを備えるのか、制御部から独立していない無線インターフェースを備えるのか、に応じた適切な処理を実行する端末装置を実現可能な技術を提供する。 This specification provides technology that enables the realization of a terminal device that performs appropriate processing depending on whether the communication device has a wireless interface that is independent of the control unit of the communication device or a wireless interface that is not independent of the control unit.

本明細書は、端末装置のためのコンピュータプログラムを開示する。前記端末装置は、第1の通信規格に応じた無線通信を実行するための第1の無線インターフェースと、前記第1の通信規格とは異なる第2の通信規格に応じた無線通信を実行するための第2の無線インターフェースと、表示部と、コンピュータと、を備えてもよい。前記コンピュータプログラムは、前記コンピュータを、以下の各部、即ち、前記端末装置が通信装置に近づけられることに応じて、前記第1の無線インターフェースと、前記通信装置の第3の無線インターフェースであって、前記第1の通信規格に応じた無線通信を実行するための前記第3の無線インターフェースと、の間に無線リンクが確立される場合に、前記無線リンクを利用して、前記第3の無線インターフェースから、前記第1の無線インターフェースを介して、特定情報を受信する特定情報受信部であって、前記特定情報は、前記第3の無線インターフェースの種別を示す種別情報を含む、前記特定情報受信部と、前記種別情報が、前記通信装置の制御部から独立している第1種の無線インターフェースを示す場合に、前記通信装置の状態を、前記第2の通信規格の所定方式の機能が無効化されている無効化状態から、前記所定方式の前記機能が有効化されている有効化状態に変更するための変更操作を示す操作画面を前記表示部に表示させる第1の表示制御部であって、前記種別情報が前記第1種の無線インターフェースとは異なる第2種の無線インターフェースであって、前記通信装置の前記制御部から独立していない前記第2種の無線インターフェースを示す場合に、前記操作画面は表示されない、前記第1の表示制御部と、前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記変更操作が前記通信装置に実行される場合に、前記第2の無線インターフェースと、前記通信装置の第4の無線インターフェースであって、前記第2の通信規格に応じた無線通信を実行するための前記第4の無線インターフェースと、の間に、前記所定方式に従った第1の無線接続を確立させる第1の確立部と、前記種別情報が前記第2種の無線インターフェースを示す場合に、前記変更操作が前記通信装置に実行されなくても、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に、前記所定方式に従った第2の無線接続を確立させる第2の確立部と、として機能させてもよい。 This specification discloses a computer program for a terminal device. The terminal device may include a first wireless interface for performing wireless communication according to a first communication standard, a second wireless interface for performing wireless communication according to a second communication standard different from the first communication standard, a display unit, and a computer. The computer program causes the computer to display an operation screen on the display unit indicating a change operation to change the state of the communication device from a disabled state in which the function of a predetermined method of the second communication standard is disabled to an enabled state in which the function of the predetermined method of the second communication standard is enabled, when a wireless link is established between the first wireless interface and the third wireless interface of the communication device, which is a third wireless interface of the communication device that performs wireless communication according to the first communication standard, using the wireless link, the specific information receiving unit which receives specific information from the third wireless interface via the first wireless interface, wherein the specific information includes type information indicating the type of the third wireless interface, and when the type information indicates a first type wireless interface that is independent of the control unit of the communication device, the first operation screen indicates a change operation to change the state of the communication device from a disabled state in which the function of a predetermined method of the second communication standard is disabled to an enabled state in which the function of the predetermined method of the second communication standard is enabled. The display control unit may function as follows: The first display control unit, where the operation screen is not displayed when the type information indicates a second type of wireless interface different from the first type of wireless interface, and the second type of wireless interface is not independent of the control unit of the communication device; the first establishment unit, where, when the type information indicates a first type of wireless interface and the change operation is performed on the communication device, a first wireless connection is established between the second wireless interface and the fourth wireless interface of the communication device, which is for performing wireless communication according to the second communication standard; and the second establishment unit, where, when the type information indicates a second type of wireless interface, a second wireless connection is established between the second wireless interface and the fourth wireless interface, where the change operation is not performed on the communication device, a second wireless connection is established between the second wireless interface and the fourth wireless interface, according to the predetermined method.

上記の構成によると、端末装置は、種別情報が制御部から独立している第1種の無線インターフェースを示す場合に、操作画面を表示する。従って、通信装置への変更操作の実行をユーザに促すことができる。このため、端末装置は、変更操作が通信装置に実行される場合に、通信装置との第1の無線接続を確立することができる。一方、端末装置は、種別情報が制御部から独立していない第2種の無線インターフェースを示す場合に、変更操作が通信装置に実行されなくても、通信装置との第2の無線接続を確立することができる。このように、端末装置は、通信装置が第1種の無線インターフェースを備えるのか第2種の無線インターフェースを備えるのかに応じた適切な処理を実行することができる。 According to the above configuration, the terminal device displays an operation screen when the type information indicates a Type 1 wireless interface that is independent of the control unit. Therefore, it can prompt the user to perform a change operation on the communication device. For this reason, the terminal device can establish a first wireless connection with the communication device when the change operation is performed on the communication device. On the other hand, when the type information indicates a Type 2 wireless interface that is not independent of the control unit, the terminal device can establish a second wireless connection with the communication device even if the change operation is not performed on the communication device. In this way, the terminal device can perform appropriate processing depending on whether the communication device has a Type 1 or Type 2 wireless interface.

上記のコンピュータプログラムを記憶するコンピュータ可読記録媒体、端末装置そのもの、及び、端末装置によって実行される方法も新規で有用である。また、端末装置と通信装置とを備える通信システムも、新規で有用である。 The computer-readable recording medium for storing the above computer program, the terminal device itself, and the method of execution by the terminal device are all novel and useful. Furthermore, a communication system comprising a terminal device and a communication device is also novel and useful.

通信システムの構成を示す。This shows the configuration of the communication system. 多機能機の状態移行処理のシーケンス図を示す。This shows a sequence diagram of the state transition process for a multi-function device. 端末装置のアプリ処理のフローチャートを示す。This shows a flowchart of the application processing on the terminal device. 独立インターフェース処理のフローチャートを示す。A flowchart of the independent interface processing is shown. 端末装置に表示される各画面を示す。This shows the various screens displayed on the terminal device. タグインターフェース処理のフローチャートを示す。A flowchart of the tag interface processing is shown. ケースA1のシーケンス図を示す。The sequence diagram for Case A1 is shown. 図7の続きのシーケンス図を示す。The sequence diagram following Figure 7 is shown. ケースA2のシーケンス図を示す。The sequence diagram for Case A2 is shown. ケースA3のシーケンス図を示す。The sequence diagram for Case A3 is shown. ケースB1のシーケンス図を示す。The sequence diagram for Case B1 is shown. ケースB2のシーケンス図を示す。The sequence diagram for Case B2 is shown. ケースB3のシーケンス図を示す。The sequence diagram for Case B3 is shown.

(第1実施例)
(通信システム2の構成:図1)
図1に示されるように、通信システム2は、端末装置10と、アクセスポイント(以下では単に「AP」と記載する)60と、複数個の多機能機100,200と、を備える。本実施例では、端末装置10といずれかの多機能機100,200との間にWi-Fi規格に従った無線接続を確立させる状況を想定している。
(First embodiment)
(Configuration of communication system 2: Figure 1)
As shown in Figure 1, the communication system 2 comprises a terminal device 10, an access point (hereinafter simply referred to as "AP") 60, and a plurality of multifunction devices 100, 200. In this embodiment, a situation is assumed in which a wireless connection in accordance with the Wi-Fi standard is established between the terminal device 10 and any of the multifunction devices 100, 200.

(端末装置10の構成)
端末装置10は、スマートフォン、PDA、タブレットPC等の可搬型の端末装置である。端末装置10は、操作部12と、表示部14と、NFC(Near Field Communicationの略)インターフェース20と、Wi-Fiインターフェース22と、制御部30と、を備える。各部12~30は、バス線(符号省略)に接続されている。
(Configuration of terminal device 10)
The terminal device 10 is a portable terminal device such as a smartphone, PDA, or tablet PC. The terminal device 10 comprises an operation unit 12, a display unit 14, an NFC (Near Field Communication) interface 20, a Wi-Fi interface 22, and a control unit 30. Each of the units 12 to 30 is connected to a bus line (symbols omitted).

操作部12は、複数個のキーを備える。ユーザは、操作部12を操作することによって、様々な指示を端末装置10に入力することができる。表示部14は、様々な情報を表示するためのディスプレイである。表示部14は、ユーザから指示を受け付けるタッチパネル(即ち操作部)としても機能する。 The control unit 12 is equipped with multiple keys. The user can input various instructions to the terminal device 10 by operating the control unit 12. The display unit 14 is a display for showing various information. The display unit 14 also functions as a touch panel (i.e., control unit) that receives instructions from the user.

NFCインターフェース20は、NFC規格に従った無線通信(以下では「NFC通信」と記載する)を実行するための無線インターフェースである。NFC規格は、例えば、ISO/IEC21481又は18092の国際標準に基づく無線通信規格である。NFCインターフェース20は、バス線(符号省略)を介して制御部30に接続されており、情報を制御部30に供給したり、制御部30から情報を取得したりすることができる。即ち、NFCインターフェース20は、制御部30との通信を実行可能である。NFCインターフェース20は、端末装置10の電源(図示省略)から電力の供給を受けることができる。 The NFC interface 20 is a wireless interface for performing wireless communication (hereinafter referred to as "NFC communication") in accordance with the NFC standard. The NFC standard is a wireless communication standard based on international standards such as ISO/IEC 21481 or 18092. The NFC interface 20 is connected to the control unit 30 via a bus line (not shown) and can supply information to and receive information from the control unit 30. In other words, the NFC interface 20 is capable of communicating with the control unit 30. The NFC interface 20 can receive power from the power supply (not shown) of the terminal device 10.

Wi-Fiインターフェース22は、Wi-Fi規格に従った無線通信(以下では「Wi-Fi通信」と記載する)を実行するための無線インターフェースである。Wi-Fi規格は、例えば、IEEE(The Institute of Electrical and Electronics Engineers,Inc.の略)の802.11の規格、及び、それに準ずる規格(例えば802.11a,11b,11g,11n等)に従って、無線通信を実行するための無線通信規格である。Wi-Fiインターフェース22は、さらに、Wi-Fi Allianceによって策定されたWFD(Wi-Fi Direct(登録商標)の略)方式をサポートしている。WFD方式の詳細は、Wi-Fi Allianceによって作成された規格書「Wi-Fi Direct Specification Version1.9」に記述されている。 The Wi-Fi interface 22 is a wireless interface for performing wireless communication (hereinafter referred to as "Wi-Fi communication") in accordance with the Wi-Fi standard. The Wi-Fi standard is a wireless communication standard for performing wireless communication in accordance with, for example, the IEEE (The Institute of Electrical and Electronics Engineers, Inc.) 802.11 standard and equivalent standards (e.g., 802.11a, 11b, 11g, 11n, etc.). The Wi-Fi interface 22 also supports the WFD (Wi-Fi Direct®) method developed by the Wi-Fi Alliance. Details of the WFD method are described in the "Wi-Fi Direct Specification Version 1.9" standard document created by the Wi-Fi Alliance.

ここで、NFC通信とWi-Fi通信との相違点を記述しておく。Wi-Fi通信の通信速度(例えば最大の通信速度が600Mbps)は、NFC通信の通信速度(例えば最大の通信速度が424kbps)よりも大きい。Wi-Fi通信における搬送波の周波数(即ち2.4GHz帯又は5.0GHz帯)は、NFC通信における搬送波の周波数(即ち13.56MHz)とは異なる。Wi-Fi通信を実行可能な最大の距離(例えば100m)は、NFC通信を実行可能な最大の距離(例えば約10cm)よりも大きい。 Here are the differences between NFC communication and Wi-Fi communication. The communication speed of Wi-Fi (for example, a maximum speed of 600 Mbps) is greater than that of NFC communication (for example, a maximum speed of 424 kbps). The carrier frequency in Wi-Fi communication (i.e., the 2.4 GHz band or the 5.0 GHz band) is different from that of NFC communication (i.e., 13.56 MHz). The maximum distance at which Wi-Fi communication is possible (e.g., 100 m) is greater than the maximum distance at which NFC communication is possible (e.g., approximately 10 cm).

制御部30は、CPU32とメモリ34とを備える。CPU32は、メモリ34に格納されているプログラム36,40に従って、様々な処理を実行する。メモリ34は、揮発性メモリ、不揮発性メモリ等によって構成され、OSプログラム36と、MFPアプリケーション40と、を記憶する。以下では、OSプログラム36、MFPアプリケーション40のことを、それぞれ、「OS36」、「アプリ40」と記載する。 The control unit 30 comprises a CPU 32 and a memory 34. The CPU 32 executes various processes according to programs 36 and 40 stored in the memory 34. The memory 34 is composed of volatile memory, non-volatile memory, etc., and stores the OS program 36 and the MFP application 40. Hereafter, the OS program 36 and the MFP application 40 will be referred to as "OS 36" and "application 40," respectively.

OS36は、端末装置10の基本的な動作を制御するためのプログラムであり、例えば、iOS(登録商標)、アンドロイド(登録商標)等である。アプリ40は、MFP100のベンダによって提供されるインターネット上のサーバから端末装置10にインストールされる。アプリ40は、WFDに従った無線接続を多機能機と確立したり、印刷又はスキャンを多機能機に実行させたりするためのプログラムである。 OS36 is a program for controlling the basic operation of the terminal device 10, such as iOS® or Android®. Application 40 is installed on the terminal device 10 from an internet server provided by the MFP 100 vendor. Application 40 is a program for establishing a wireless connection with the multifunction device in accordance with WFD, and for causing the multifunction device to perform printing or scanning.

(多機能機100の構成)
多機能機100は、印刷機能及びスキャン機能を実行可能な周辺装置(例えば、端末装置10の周辺装置)である。以下では、多機能機のことを「MFP(Multi-Function Peripheralの略)」と記載する。MFP100は、操作部112と、表示部114と、印刷実行部116と、スキャン実行部118と、NFC独立インターフェース120と、Wi-Fiインターフェース122と、制御部130と、を備える。
(Configuration of the multi-function device 100)
The multifunction device 100 is a peripheral device (for example, a peripheral device of the terminal device 10) capable of performing printing and scanning functions. Hereafter, the multifunction device will be referred to as "MFP (abbreviation for Multi-Function Peripheral)". The MFP 100 comprises an operation unit 112, a display unit 114, a printing execution unit 116, a scanning execution unit 118, an NFC independent interface 120, a Wi-Fi interface 122, and a control unit 130.

操作部112は、複数個のキーを備える。ユーザは、操作部112を操作することによって、様々な指示をMFP100に入力することができる。表示部114は、様々な情報を表示するためのディスプレイである。表示部114は、ユーザから指示を受け付けるタッチパネル(即ち操作部)としても機能する。印刷実行部116は、インクジェット方式、レーザー方式等の印刷機構を備える。スキャン実行部118は、CCD方式、CIS方式等の読取機構を備える。 The operation unit 112 is equipped with multiple keys. The user can input various instructions to the MFP 100 by operating the operation unit 112. The display unit 114 is a display for showing various information. The display unit 114 also functions as a touch panel (i.e., operation unit) that receives instructions from the user. The print execution unit 116 is equipped with a printing mechanism such as an inkjet or laser type. The scan execution unit 118 is equipped with a reading mechanism such as a CCD or CIS type.

NFC独立インターフェース120は、NFC通信を実行するための無線インターフェースである。NFC独立インターフェース120は、いわゆるシールタイプ、ラベルタイプ等と呼ばれるインターフェースである。NFC独立インターフェース120は、MFP100のバス線に接続されていない。従って、NFC独立インターフェース120は、情報を制御部130に供給したり、制御部130から情報を取得したりすることができない。即ち、NFC独立インターフェース120は、制御部130との通信を実行不可能である。一般的に言うと、NFC独立インターフェース120は、制御部130から独立している。NFC独立インターフェース120は、MFP100の電源(図示省略)から電力の供給を受けることができず、電磁誘導によって通信相手(例えば端末装置10)との通信を実行する。 The NFC independent interface 120 is a wireless interface for performing NFC communication. The NFC independent interface 120 is a so-called sticker-type or label-type interface. The NFC independent interface 120 is not connected to the MFP 100's bus lines. Therefore, the NFC independent interface 120 cannot supply information to or receive information from the control unit 130. In other words, the NFC independent interface 120 cannot communicate with the control unit 130. Generally speaking, the NFC independent interface 120 is independent of the control unit 130. The NFC independent interface 120 cannot receive power from the MFP 100's power supply (not shown) and performs communication with the communication partner (e.g., terminal device 10) via electromagnetic induction.

Wi-Fiインターフェース122は、端末装置10のWi-Fiインターフェース22と同様であり、MACアドレス「MAC1」を有する。Wi-Fiインターフェース122は、WFDをサポートしている。MFP100は、WFDのGroup Owner(即ち無線ネットワークの親局、以下では「G/O」と記載する)として動作することができる。MFP100がG/Oとして動作する状態では、MFP100は、WFDに従った無線接続(以下では「WFD接続」と記載する)を端末装置10と確立することができる。 The Wi-Fi interface 122 is the same as the Wi-Fi interface 22 of the terminal device 10 and has the MAC address "MAC1". The Wi-Fi interface 122 supports WFD. The MFP 100 can operate as a WFD Group Owner (i.e., the master station of the wireless network, hereinafter referred to as "G/O"). When the MFP 100 is operating as a G/O, it can establish a wireless connection (hereinafter referred to as "WFD connection") with the terminal device 10 in accordance with WFD.

制御部130は、CPU132とメモリ134とを備える。CPU132は、メモリ134に格納されているプログラム136に従って、様々な処理を実行する。メモリ134は、揮発性メモリ、不揮発性メモリ等によって構成される。 The control unit 130 comprises a CPU 132 and a memory 134. The CPU 132 executes various processes according to the program 136 stored in the memory 134. The memory 134 is composed of volatile memory, non-volatile memory, etc.

(多機能機200の構成)
MFP200は、NFCインターフェースの種類が異なる点と、Wi-FiインターフェースがMACアドレス「M2」を有する点と、を除いて、MFP100と同様の構成を備える。MFP200は、操作部212と、表示部214と、印刷実行部216と、スキャン実行部218と、NFCタグインターフェース220と、Wi-Fiインターフェース222と、制御部230と、を備える。
(Configuration of the multi-function machine 200)
The MFP200 has the same configuration as the MFP100, except that it has a different type of NFC interface and the Wi-Fi interface has a MAC address "M2". The MFP200 includes an operation unit 212, a display unit 214, a print execution unit 216, a scan execution unit 218, an NFC tag interface 220, a Wi-Fi interface 222, and a control unit 230.

NFCタグインターフェース220は、NFC通信を実行するための無線インターフェースである。NFCタグインターフェース220は、MFP200のバス線に接続されている。従って、NFCタグインターフェース220は、情報を制御部230に供給したり、制御部230から情報を取得したりすることができる。即ち、NFCタグインターフェース220は、制御部230との通信を実行不可能である。一般的に言うと、NFCタグインターフェース220は、制御部230から独立していない。NFCタグインターフェース220は、MFP200の電源(図示省略)から電力の供給を受けることができる。 The NFC tag interface 220 is a wireless interface for performing NFC communication. The NFC tag interface 220 is connected to the bus line of the MFP 200. Therefore, the NFC tag interface 220 can supply information to the control unit 230 and receive information from the control unit 230. In other words, the NFC tag interface 220 cannot communicate directly with the control unit 230. Generally speaking, the NFC tag interface 220 is not independent of the control unit 230. The NFC tag interface 220 can receive power from the power supply (not shown) of the MFP 200.

本実施例では、NFCタグインターフェース220は、NFC規格のカードのみとして機能するICタグインターフェースである。ただし、変形例では、NFCタグインターフェース220は、カードエミュレーションモード、リーダライタモード、及び、P2Pモードのいずれかで選択的に動作可能なインターフェースであってもよい。 In this embodiment, the NFC tag interface 220 is an IC tag interface that functions only with NFC standard cards. However, in a modified example, the NFC tag interface 220 may be an interface that can selectively operate in one of the following modes: card emulation mode, reader/writer mode, or P2P mode.

制御部230は、CPU232とメモリ234とを備える。CPU232は、メモリ234に格納されているプログラム236に従って、様々な処理を実行する。メモリ234は、揮発性メモリ、不揮発性メモリ等によって構成される。 The control unit 230 comprises a CPU 232 and a memory 234. The CPU 232 executes various processes according to the program 236 stored in the memory 234. The memory 234 is composed of volatile memory, non-volatile memory, etc.

(MFP100の状態移行処理:図2)
図2を参照して、MFP100のCPU132によって実行される状態移行処理を説明する。MFP100の電源がONされることをトリガとして、図2の処理が開始される。
(State transition process of MFP100: Figure 2)
Referring to Figure 2, the state transition process executed by the CPU 132 of the MFP 100 will be explained. The process shown in Figure 2 is triggered when the power of the MFP 100 is turned ON.

S10において、CPU132は、まず、MFP100のWFD設定を「OFF」に設定する。WFD設定は、MFP100がWFDのG/Oとして動作する状態を意味する「ON」と、MFP100がG/Oとして動作しない状態を意味する「OFF」と、のどちらかを示す。 In S10, the CPU 132 first sets the WFD setting of the MFP 100 to "OFF". The WFD setting indicates either "ON," meaning the MFP 100 operates as the G/O for the WFD, or "OFF," meaning the MFP 100 does not operate as the G/O.

S12において、CPU132は、ホーム画面SC0を表示部114に表示させる。ホーム画面SC0は、コピーボタン、スキャンボタン、WFD設定ボタン等の様々なボタンを含む。フローチャートでは図示省略しているが、CPU132は、コピーボタン又はスキャンボタンがユーザによって選択されると、原稿のコピー又はスキャンを実行する。 In S12, the CPU 132 displays the home screen SC0 on the display unit 114. The home screen SC0 includes various buttons such as a copy button, a scan button, and a WFD setting button. Although not shown in the flowchart, when the user selects either the copy button or the scan button, the CPU 132 performs a copy or scan of the document.

S20において、CPU132は、ホーム画面SC0内のWFD設定ボタンがユーザによって選択されたのか否かを判断する。CPU132は、WFD設定ボタンが選択されたと判断する場合(S20でYES)に、S22に進む。一方、CPU132は、WFD設定ボタンが選択されなかったと判断する場合(S20でNO)に、S20の監視を継続する。なお、図2には、S20でNOの場合にS40に進むことが示されているが、S40の処理は、NFCタグインターフェース220を備えるMFP200のCPU232によって実行される処理であり、NFC独立インターフェース120を備えるMFP100のCPU132によって実行されない。 In S20, the CPU 132 determines whether the WFD setting button on the home screen SC0 has been selected by the user. If the CPU 132 determines that the WFD setting button has been selected (YES in S20), it proceeds to S22. On the other hand, if the CPU 132 determines that the WFD setting button has not been selected (NO in S20), it continues monitoring in S20. Note that Figure 2 shows that if NO is given in S20, the process proceeds to S40; however, the processing in S40 is executed by the CPU 232 of the MFP 200 equipped with the NFC tag interface 220, and not by the CPU 132 of the MFP 100 equipped with the NFC independent interface 120.

S22において、CPU132は、設定変更画面SC1を表示部114に表示させる。設定変更画面SC1は、現在のWFD設定を示すメッセージと、WFD設定を変更するのか否かを問い合わせるメッセージと、YESボタンと、NOボタンと、を含む。 In S22, the CPU 132 displays the setting change screen SC1 on the display unit 114. The setting change screen SC1 includes a message indicating the current WFD setting, a message asking whether or not to change the WFD setting, a YES button, and a NO button.

S24において、CPU132は、設定変更画面SC1内のYESボタンがユーザによって選択されたのか否かを判断する。CPU132は、YESボタンが選択されたと判断する場合(S24でYES)に、S26に進む。一方、CPU132は、NOボタンが選択されなかったと判断する場合(S24でNO)に、S12に戻る。 In S24, the CPU 132 determines whether the YES button on the settings change screen SC1 was selected by the user. If the CPU 132 determines that the YES button was selected (YES in S24), it proceeds to S26. On the other hand, if the CPU 132 determines that the NO button was not selected (NO in S24), it returns to S12.

S26において、CPU132は、WFD設定を変更する。CPU132は、現在のWFD設定が「OFF」である場合には、S26において、WFD設定を「OFF」から「ON」に変更する。この場合、CPU132は、MFP100の状態を、WFDのG/Oとして動作しない状態(以下では「非G/O状態」と記載する)から、G/Oとして動作する状態(以下では「G/O状態」と記載する)に変更する。換言すると、非G/O状態は、MFP100におけるWFD方式の機能が無効化されている状態であり、G/O状態は、MFP100におけるWFD方式の機能が有効化されている状態である。S26の処理が実行されると、MFP100がG/O(即ち親局)として動作する無線ネットワークが形成される。CPU132は、WFD設定が「ON」から「OFF」にユーザによって変更されない限り、MFP100の状態をG/O状態に維持する。即ち、CPU132は、MFP100の状態をG/O状態に永続的に維持する。 In S26, the CPU 132 changes the WFD setting. If the current WFD setting is "OFF", the CPU 132 changes the WFD setting from "OFF" to "ON" in S26. In this case, the CPU 132 changes the state of the MFP 100 from a state in which it does not operate as a WFD G/O (hereinafter referred to as "non-G/O state") to a state in which it operates as a G/O (hereinafter referred to as "G/O state"). In other words, the non-G/O state is a state in which the WFD function in the MFP 100 is disabled, and the G/O state is a state in which the WFD function in the MFP 100 is enabled. When the process in S26 is executed, a wireless network is formed in which the MFP 100 operates as a G/O (i.e., master station). The CPU 132 maintains the MFP 100 in the G/O state unless the WFD setting is changed from "ON" to "OFF" by the user. In other words, the CPU 132 permanently maintains the MFP 100 in the G/O state.

CPU132は、WFD設定を「OFF」から「ON」に変更する場合に、さらに、MFP100の状態を、WPS(Wi-Fi Protected Setupの略)が起動されていない状態(以下では「非WPS状態」と記載する)から、WPSが起動されている状態(以下では「WPS状態」と記載する)に変更する。これにより、MFP100は、WPSに従った通信を実行して他の装置とのWFD接続を確立することができる。CPU132は、非WPS状態からWPS状態に変更されてから第1の所定時間(例えば70秒)が経過するまで、MFP100の状態をWPS状態に維持する。即ち、CPU132は、第1の所定時間が経過すると、MFP100の状態をWPS状態から非WPS状態に戻す。 When the CPU 132 changes the WFD setting from "OFF" to "ON," it also changes the state of the MFP 100 from a state where WPS (Wi-Fi Protected Setup) is not activated (hereinafter referred to as "non-WPS state") to a state where WPS is activated (hereinafter referred to as "WPS state"). This allows the MFP 100 to establish a WFD connection with other devices by performing communication according to WPS. The CPU 132 maintains the MFP 100 in the WPS state until a first predetermined time (e.g., 70 seconds) has elapsed since the change from the non-WPS state to the WPS state. That is, after the first predetermined time has elapsed, the CPU 132 returns the MFP 100's state from the WPS state back to the non-WPS state.

CPU132は、現在のWFD設定が「ON」である場合には、S26において、WFD設定を「ON」から「OFF」に変更する。この場合、CPU132は、MFPの状態をG/O状態から非G/O状態に変更する。これにより、MFP100がG/Oとして動作する無線ネットワークが消滅する。S26が終了すると、S12に戻る。 If the current WFD setting is "ON", CPU 132 changes the WFD setting from "ON" to "OFF" in S26. In this case, CPU 132 changes the MFP's state from G/O state to non-G/O state. This eliminates the wireless network where MFP 100 is operating as a G/O. After S26 finishes, the process returns to S12.

(MFP200の状態移行処理:図2)
MFP200のCPU232は、図2のS10~S26の処理を実行可能であると共に、S40において、NFCリンクが確立されることを監視する。CPU232は、NFCタグインターフェース220から、NFCリンクが確立されたことを示す確立通知を取得する場合に、S40でYESと判断して、S42に進む。上述したように、MFP100のNFC独立インターフェース120は、制御部130から独立している。このため、MFP100のCPU132は、NFC独立インターフェース120から確立通知を取得することができない。即ち、CPU132は、S40の処理を実行不可能である。
(MFP200 state transition process: Figure 2)
The CPU 232 of the MFP 200 is capable of executing the processes S10 to S26 in Figure 2, and in S40, it monitors whether the NFC link is established. When the CPU 232 receives an establishment notification from the NFC tag interface 220 indicating that the NFC link has been established, it determines YES in S40 and proceeds to S42. As described above, the NFC independent interface 120 of the MFP 100 is independent of the control unit 130. For this reason, the CPU 132 of the MFP 100 cannot receive an establishment notification from the NFC independent interface 120. In other words, the CPU 132 is unable to execute the process in S40.

S42において、CPU232は、現在のWFD設定が「ON」であるのか否かを判断する。CPU232は、現在のWFD設定が「ON」であると判断する場合(S42でYES)に、S44に進み、現在のWFD設定が「OFF」であると判断する場合(S42でNO)に、S46に進む。 In S42, the CPU 232 determines whether the current WFD setting is "ON" or not. If the CPU 232 determines that the current WFD setting is "ON" (YES in S42), it proceeds to S44. If it determines that the current WFD setting is "OFF" (NO in S42), it proceeds to S46.

S44において、CPU232は、MFP200の状態を非WPS状態からWPS状態に変更する。CPU232は、非WPS状態からWPS状態に変更されてから第1の所定時間(例えば70秒)が経過するまで、MFP200の状態をWPS状態に維持する。S44が終了すると、S12に戻る。 In S44, the CPU 232 changes the state of the MFP 200 from non-WPS state to WPS state. The CPU 232 maintains the MFP 200 in the WPS state until a first predetermined time (e.g., 70 seconds) has elapsed since the change from non-WPS state to WPS state. When S44 ends, the process returns to S12.

S46において、CPU232は、WFD設定を「OFF」に維持しつつ、MFP200の状態を非G/O状態からG/O状態に変更する。CPU232は、G/O状態であるMFP200がいずれの装置ともWFD接続を確立していない状態が第2の所定時間(例えば300秒)継続すると、MFP200の状態をG/O状態から非G/O状態に戻す。例えば、CPU232は、端末装置10とのWFD接続が確立された後に、当該WFD接続が切断されてから第2の所定時間が経過すると、MFP200の状態を非G/O状態に戻す。このように、S46の処理は、MFP200が一時的にG/O状態に変更される処理であるので、WFD設定は「OFF」に維持される。 In S46, the CPU 232 maintains the WFD setting at "OFF" while changing the state of the MFP 200 from the non-G/O state to the G/O state. If the MFP 200, which is in the G/O state, remains without a WFD connection to any device for a second predetermined time (e.g., 300 seconds), the CPU 232 returns the MFP 200's state from the G/O state back to the non-G/O state. For example, after a WFD connection with terminal device 10 is established, if the WFD connection is disconnected and a second predetermined time has elapsed, the CPU 232 returns the MFP 200's state back to the non-G/O state. Thus, since the process in S46 involves temporarily changing the MFP 200 to the G/O state, the WFD setting remains at "OFF".

CPU232は、S46において、さらに、MFP200の状態を非WPS状態からWPS状態に変更する。CPU232は、非WPS状態からWPS状態に変更されてから第1の所定時間(例えば70秒)が経過するまで、MFP200の状態をWPS状態に維持する。S46が終了すると、S12に戻る。 In S46, the CPU 232 further changes the state of the MFP 200 from a non-WPS state to a WPS state. The CPU 232 maintains the MFP 200 in the WPS state until a first predetermined time (e.g., 70 seconds) has elapsed since the change from the non-WPS state to the WPS state. After S46 ends, the process returns to S12.

(端末装置10のアプリ処理:図3)
続いて、図3を参照して、端末装置10のCPU32がアプリ40を実行することによって実現される処理を説明する。アプリ40が起動される操作が実行されると、図3の処理が開始される。以下では、端末装置10のCPU32がOS36に従って実行する処理を説明する際に、CPU32を主体として記載せず、OS36を主体として記載する。同様に、CPU32がアプリ40に従って実行する処理を説明する際に、アプリ40を主体として記載する。なお、以下では、アプリ40が何らかの処理の実行指示をOS36に供給することに応じて、OS36が当該処理を実行することがあり得る。この場合、当該処理は、アプリ40がOS36を介して実行する処理であると言える。換言すると、アプリ40は、処理の実行指示をOS36に供給することによって、当該処理を実行する処理実行部としてCPU32を機能させる。
(Application processing on terminal device 10: Figure 3)
Next, referring to Figure 3, we will explain the process realized by the CPU 32 of the terminal device 10 executing the application 40. When the operation to launch the application 40 is performed, the process shown in Figure 3 begins. In the following, when describing the process that the CPU 32 of the terminal device 10 executes according to the OS 36, we will not describe it with the CPU 32 as the main subject, but rather with the OS 36 as the main subject. Similarly, when describing the process that the CPU 32 executes according to the application 40, we will describe it with the application 40 as the main subject. In the following, it is possible that the OS 36 executes a process in response to the application 40 supplying an execution instruction to the OS 36. In this case, the process can be said to be a process that the application 40 executes via the OS 36. In other words, the application 40 causes the CPU 32 to function as a processing execution unit that executes the process by supplying an execution instruction to the OS 36.

S110において、アプリ40は、ホーム画面SC10を表示部14に表示させる。ホーム画面SC10は、印刷アイコンとスキャンアイコンとを含む。 In S110, application 40 displays the home screen SC10 on the display unit 14. The home screen SC10 includes a print icon and a scan icon.

S120,S130において、アプリ40は、ホーム画面SC10内の印刷アイコン又はスキャンアイコンがユーザによって選択されることを監視する。アプリ40は、印刷アイコンが選択される場合に、S120でYESと判断してS122に進み、スキャンアイコンが選択される場合に、S130でYESと判断してS132に進む。 In S120 and S130, application 40 monitors whether the user selects the print icon or the scan icon on the home screen SC10. If the print icon is selected, application 40 determines YES in S120 and proceeds to S122. If the scan icon is selected, application 40 determines YES in S130 and proceeds to S132.

S122において、アプリ40は、画像選択画面SC12を表示部14に表示させる。画像選択画面SC12は、印刷対象の画像を表わすファイルを選択するための画面である。画像選択画面SC12は、例えば、メモリ34に記憶されている様々なファイルのファイル名(例えば「aaa.jpeg」等)を含む。 In S122, the application 40 displays the image selection screen SC12 on the display unit 14. The image selection screen SC12 is a screen for selecting a file representing the image to be printed. The image selection screen SC12 includes, for example, the filenames of various files stored in memory 34 (e.g., "aaa.jpeg").

S124において、アプリ40は、画像選択画面SC12内の1個のファイル(即ち画像)がユーザによって選択されることを監視する。アプリ40は、ファイルが選択される場合に、S124でYESと判断してS126に進む。 In S124, application 40 monitors whether a file (i.e., an image) is selected by the user within the image selection screen SC12. If a file is selected, application 40 determines YES in S124 and proceeds to S126.

S126において、アプリ40は、プレビュー画面SC14を表示部14に表示させる。プレビュー画面SC14は、S124で選択されたファイルによって表わされる画像、即ち印刷プレビュー画像を含む。プレビュー画面SC14は、さらに、MFPに印刷を実行させるために、端末装置10をMFPに近づけるべきことをユーザに促すメッセージを含む。S126が終了すると、S140に進む。 In S126, the application 40 displays the preview screen SC14 on the display unit 14. The preview screen SC14 includes an image represented by the file selected in S124, i.e., a print preview image. The preview screen SC14 also includes a message prompting the user to bring the terminal device 10 closer to the MFP in order to have the MFP perform printing. When S126 ends, the process proceeds to S140.

S132において、アプリ40は、スキャン画面SC20を表示部14に表示させる。スキャン画面SC20は、スキャンをMFPに実行させるために、端末装置10をMFPに近づけるべきことをユーザに促すメッセージを含む。S126が終了すると、S140に進む。 In S132, the application 40 displays the scan screen SC20 on the display unit 14. The scan screen SC20 includes a message prompting the user to bring the terminal device 10 closer to the MFP in order to have the MFP perform a scan. After S126 is completed, the process proceeds to S140.

S140において、アプリ40は、MFPとのNFCリンクが確立されることを監視する。S126又はS132で表示される画面SC14又はSC20内のメッセージに応じて、端末装置10がMFPに近づけられると、NFCインターフェース20と、MFPのNFCインターフェース(例えば120又は220)と、の間にNFCリンクが確立される。この場合、アプリ40は、NFCインターフェース20から、NFCリンクが確立されたことを示す確立通知を取得し、S140でYESと判断してS142に進む。確立通知は、上記のNFCリンクを利用してMFPのNFCインターフェースから受信された情報(以下では「特定情報」と記載する)を含む。即ち、アプリ40は、NFCインターフェース20を介して、MFPから特定情報を受信する。特定情報の内容は、NFCリンクの確立先のMFPに依存する。 In S140, application 40 monitors whether an NFC link is established with the MFP. When the terminal device 10 is brought close to the MFP in response to a message on screen SC14 or SC20 displayed in S126 or S132, an NFC link is established between the NFC interface 20 and the MFP's NFC interface (e.g., 120 or 220). In this case, application 40 receives an establishment notification from the NFC interface 20 indicating that the NFC link has been established, and determines YES in S140, proceeding to S142. The establishment notification includes information received from the MFP's NFC interface using the above NFC link (hereinafter referred to as "specific information"). That is, application 40 receives specific information from the MFP via the NFC interface 20. The content of the specific information depends on the MFP to which the NFC link is established.

MFP100とのNFCリンクが確立される場合には、特定情報は、MFP100のNFCインターフェース120がNFC独立インターフェースであることを示すインターフェース種別情報を含む。この場合、特定情報は、さらに、MFP100のMACアドレス「MAC1」と、MFP100のモデル名「M1」と、を含む。これらの情報は、MFP100の出荷段階から、NFC独立インターフェース120に予め記憶されている。 When an NFC link is established with the MFP 100, the specific information includes interface type information indicating that the MFP 100's NFC interface 120 is an NFC-independent interface. In this case, the specific information further includes the MFP 100's MAC address "MAC1" and its model name "M1". This information is pre-stored in the NFC-independent interface 120 from the time of shipment of the MFP 100.

一方、MFP200とのNFCリンクが確立される場合には、特定情報は、MFP200のNFCインターフェース220がNFCタグインターフェースであることを示すインターフェース種別情報を含む。この場合、特定情報は、さらに、MFP200のMACアドレス「MAC2」を含む。 On the other hand, when an NFC link is established with the MFP200, the specific information includes interface type information indicating that the MFP200's NFC interface 220 is an NFC tag interface. In this case, the specific information further includes the MFP200's MAC address "MAC2".

MFP200は、MFP200の電源がONされる際に、MFP200がG/Oとして動作する無線ネットワークを識別するSSID(Service Set Identifierの略)と、当該無線ネットワークで利用されるパスワードと、を生成して、それらの情報をNFCタグインターフェース220に記憶させる。そして、MFP200は、MFP200の電源がONされた後に、非G/O状態からG/O状態に移行すると、それらの情報が利用される無線ネットワークを形成する。また、MFP200は、G/O状態から非G/O状態に移行する際に、新たなSSID及び新たなパスワードを生成して、それらの情報をNFCタグインターフェース220に記憶させる。従って、特定情報は、さらに、SSIDとパスワードとを含む。 When the MFP200 is powered on, it generates an SSID (Service Set Identifier) that identifies the wireless network on which the MFP200 operates as a G/O, and a password used for that wireless network. This information is then stored in the NFC tag interface 220. After the MFP200 is powered on, when it transitions from a non-G/O state to a G/O state, it forms a wireless network using this information. Furthermore, when the MFP200 transitions from a G/O state to a non-G/O state, it generates a new SSID and a new password, and stores this information in the NFC tag interface 220. Therefore, the specific information also includes the SSID and password.

MFP200は、AP60とのWi-Fi接続を確立する際に、AP60によって形成されている無線ネットワークで利用されるMFP200のIPアドレスをNFCタグインターフェース220に記憶させる。従って、MFP200がAP60とのWi-Fi接続を確立している場合には、特定情報は、さらに、MFP200のIPアドレスを含む。 When the MFP200 establishes a Wi-Fi connection with the AP60, it stores the IP address of the MFP200 used in the wireless network formed by the AP60 in the NFC tag interface 220. Therefore, if the MFP200 has established a Wi-Fi connection with the AP60, the specific information also includes the IP address of the MFP200.

MFP200がG/Oとして動作する無線ネットワークに子局として参加可能な装置の上限数は予め決められている。本実施例では、当該上限数は「1」である。MFP200は、上記の無線ネットワークを形成しており、かつ、他の装置が上記の無線ネットワークに子局として参加している場合には、エラー情報をNFCタグインターフェース220に記憶させる。従って、この場合には、特定情報は、さらに、エラー情報を含む。当該エラー情報は、無線ネットワークの子局の数が上限に達しているので、無線ネットワークに参加することができないことを意味する。 The maximum number of devices that can participate as slave stations in the wireless network where the MFP200 operates as a G/O is predetermined. In this embodiment, this maximum number is "1". When the MFP200 forms the above-mentioned wireless network and other devices are participating in the wireless network as slave stations, it stores error information in the NFC tag interface 220. Therefore, in this case, the specific information further includes error information. This error information indicates that the number of slave stations in the wireless network has reached its limit, and therefore, the device cannot participate in the wireless network.

S142において、アプリ40は、受信済みの特定情報に含まれるインターフェース種別情報が、NFC独立インターフェースを示すのか、NFCタグインターフェースを示すのか、を判断する。アプリ40は、インターフェース種別情報がNFC独立インターフェースを示す場合に、S150に進み、独立インターフェース処理(図4参照)を実行する。アプリ40は、インターフェース種別情報がNFCタグインターフェースを示す場合に、S160に進み、タグインターフェース処理(図6参照)を実行する。S150又はS160が終了すると、S110に戻る。 In S142, application 40 determines whether the interface type information contained in the received specific information indicates an NFC independent interface or an NFC tag interface. If the interface type information indicates an NFC independent interface, application 40 proceeds to S150 and executes independent interface processing (see Figure 4). If the interface type information indicates an NFC tag interface, application 40 proceeds to S160 and executes tag interface processing (see Figure 6). After S150 or S160 is completed, the process returns to S110.

(独立インターフェース処理:図4)
続いて、図4を参照して、図3のS150の独立インターフェース処理を説明する。以下では、S140で受信された特定情報に含まれるMACアドレスのことを「対象MACアドレス」と記載する。また、上述したように、NFC独立インターフェースを備えるMFPから受信される特定情報は、当該MFPのモデル名を含む。以下では、当該モデル名のことを「対象モデル名」と記載する。例えば、MFP100から受信される特定情報は、対象モデル名として「M1」を含む。
(Independent interface processing: Figure 4)
Next, referring to Figure 4, the independent interface processing of S150 in Figure 3 will be explained. Hereafter, the MAC address included in the specific information received in S140 will be referred to as the "target MAC address". Also, as mentioned above, the specific information received from an MFP equipped with an NFC independent interface includes the model name of the MFP. Hereafter, this model name will be referred to as the "target model name". For example, the specific information received from MFP 100 includes "M1" as the target model name.

S210において、アプリ40は、メモリ34内の接続履歴情報が対象MACアドレスを含むのか否かを判断する。接続履歴情報は、図4の処理によってWFD接続が確立されたMFPのMACアドレスを含む情報であり、後述のS272でメモリ34に記憶される。アプリ40は、接続履歴情報が対象MACアドレスを含む場合に、S210でYESと判断してS212に進み、接続履歴情報が対象MACアドレスを含まない場合に、S210でNOと判断してS240に進む。 In S210, application 40 determines whether the connection history information in memory 34 includes the target MAC address. The connection history information includes the MAC address of the MFP on which the WFD connection was established through the process shown in Figure 4, and is stored in memory 34 in S272 (described later). If the connection history information includes the target MAC address, application 40 determines YES in S210 and proceeds to S212. If the connection history information does not include the target MAC address, application 40 determines NO in S210 and proceeds to S240.

S212において、アプリ40は、デバイス検索指示をOS36に供給する。デバイス検索指示は、端末装置10の周囲に存在する無線ネットワークの親局の検索を指示するコマンドである。これにより、OS36は、Wi-Fiインターフェース22を介して、ブロードキャストのProbe要求を送信することによって、親局の検索を実行する。OS36は、Wi-Fiインターフェース22を介して、親局からProbe応答を受信する。当該親局は、AP、WFDのG/O等を含む。従って、例えば、MFP100又はMFP200がG/Oとして動作している場合には、OS36は、MFP100又はMFP200からProbe応答を受信する。Probe応答は、当該Probe応答の送信元の親局によって形成されている無線ネットワークのSSIDと、当該親局のMACアドレスと、を含む。OS36は、上記の検索によって受信された各Probe応答に含まれる各MACアドレスを含む検索結果をアプリ40に供給する。 In S212, the application 40 supplies a device search instruction to the OS 36. The device search instruction is a command that instructs the OS 36 to search for a base station of the wireless network present around the terminal device 10. In response, the OS 36 performs the base station search by sending a broadcast Probe request via the Wi-Fi interface 22. The OS 36 receives a Probe response from the base station via the Wi-Fi interface 22. This base station includes APs, WFD G/Os, etc. Therefore, for example, if MFP 100 or MFP 200 is operating as a G/O, the OS 36 receives a Probe response from MFP 100 or MFP 200. The Probe response includes the SSID of the wireless network formed by the base station that sent the Probe response, and the MAC address of the base station. OS36 supplies application 40 with the search results, including each MAC address contained in each Probe response received through the above search.

S220において、アプリ40は、OS36から取得された検索結果が対象MACアドレスを含むのか否かを判断する。アプリ40は、検索結果が対象MACアドレスを含む場合に、S220でYESと判断してS260に進み、検索結果が対象MACアドレスを含まない場合に、S220でNOと判断してS280に進む。 In S220, application 40 determines whether the search results obtained from OS 36 include the target MAC address. If the search results include the target MAC address, application 40 determines YES in S220 and proceeds to S260. If the search results do not include the target MAC address, application 40 determines NO in S220 and proceeds to S280.

S240において、アプリ40は、対象モデル名が「M1」であるのか「M2」であるのかを判断する。アプリ40は、対象モデル名が「M1」である場合に、S240でYESと判断してS242に進み、対象モデル名が「M2」である場合に、S240でNOと判断してS244に進む。 In S240, application 40 determines whether the target model name is "M1" or "M2". If the target model name is "M1", application 40 determines YES in S240 and proceeds to S242. If the target model name is "M2", application 40 determines NO in S240 and proceeds to S244.

S242において、アプリ40は、モデル名「M1」に対応する操作画面SC30を表示部14に表示させる。図5に示されるように、操作画面SC30は、MFPのホーム画面内のWFD設定を選択して、MFPのWFD設定を「OFF」から「ON」に変更すべきことをユーザに促すメッセージ300を含む。即ち、メッセージ300は、図2のS22で表示される設定変更画面SC1内のYESボタンを選択すべきことをユーザに促すメッセージである。図2に示されるように、NFC独立インターフェースを備えるMFPは、端末装置10とのNFCリンクが確立されても、非G/O状態からG/O状態に自動的に移行しない(即ちS40でYESを経たS46が実行されない)。従って、ユーザは、MFPに対する操作を実行して、MFPのWFD設定を「OFF」から「ON」に変更する必要がある。本実施例では、操作画面SC30が表示されるので、ユーザは、MFPのWFD設定を「ON」に変更するための操作を適切に実行することができる。操作画面SC30は、さらに、端末装置10をMFPに近づけるべきことをユーザに促すメッセージ302を含む。S242が終了すると、S250に進む。 In S242, the application 40 displays the operation screen SC30 corresponding to the model name "M1" on the display unit 14. As shown in Figure 5, the operation screen SC30 includes a message 300 prompting the user to select the WFD setting on the MFP's home screen and change the MFP's WFD setting from "OFF" to "ON". That is, the message 300 prompts the user to select the YES button on the setting change screen SC1 displayed in S22 of Figure 2. As shown in Figure 2, an MFP equipped with an NFC independent interface does not automatically transition from a non-G/O state to a G/O state even after an NFC link with the terminal device 10 is established (i.e., S46, which proceeds after selecting YES in S40, is not executed). Therefore, the user needs to perform an operation on the MFP to change the MFP's WFD setting from "OFF" to "ON". In this embodiment, the operation screen SC30 is displayed, allowing the user to appropriately perform the operation to change the MFP's WFD setting to "ON". The operation screen SC30 further includes a message 302 prompting the user to bring the terminal device 10 closer to the MFP. After S242 is completed, the process proceeds to S250.

S244において、アプリ40は、モデル名「M2」に対応する操作画面SC32を表示部14に表示させる。図5に示されるように、操作画面SC32は、MFPの正面の物理ボタンを押して、MFPのWFD設定を「OFF」から「ON」に変更すべきことをユーザに促すメッセージ310を含む。このように、モデル名「M2」を有するMFP(図示省略)は、モデル名「M1」を有するMFP100とは異なる手法によって、WFD設定が変更される。従って、アプリ40は、モデル名に応じた手法を示す操作画面SC30又はSC32を表示する。これにより、ユーザは、モデル名に応じた手法を利用して、MFPのWFD設定を変更することができる。S244が終了すると、S250に進む。 In S244, the application 40 displays the operation screen SC32 corresponding to the model name "M2" on the display unit 14. As shown in Figure 5, the operation screen SC32 includes a message 310 prompting the user to press the physical button on the front of the MFP to change the MFP's WFD setting from "OFF" to "ON". Thus, the MFP with model name "M2" (not shown) has its WFD setting changed by a different method than the MFP 100 with model name "M1". Therefore, the application 40 displays the operation screen SC30 or SC32 indicating the method corresponding to the model name. This allows the user to change the MFP's WFD setting using the method corresponding to the model name. After S244 ends, the process proceeds to S250.

S250において、アプリ40は、MFPとのNFCリンクが再確立されることを監視する。S250の処理は、図3のS140の処理と同様である。アプリ40は、NFCインターフェース20から確立通知を取得する場合に、S250でYESと判断してS260に進む。このように、アプリ40は、MFPとのNFCリンクが再確立される場合に、S260以降の処理において、MFPとのWFD接続を確立することができる。 In S250, application 40 monitors whether the NFC link with the MFP is re-established. The processing in S250 is the same as the processing in S140 in Figure 3. When application 40 receives an establishment notification from the NFC interface 20, it determines YES in S250 and proceeds to S260. In this way, when the NFC link with the MFP is re-established, application 40 can establish a WFD connection with the MFP in the processing from S260 onward.

S260において、アプリ40は、対象MACアドレスを含む接続指示をOS36に供給する。接続指示は、対象MACアドレスを有するMFPとのWFD接続の確立を指示するコマンドである。これにより、OS36は、Wi-Fiインターフェース22を介して、G/Oとして動作するMFPとのWFD接続を確立することを試みる。 In S260, application 40 supplies a connection instruction to OS 36, including the target MAC address. This connection instruction is a command that instructs the OS 36 to establish a WFD connection with the MFP having the target MAC address. As a result, OS 36 attempts to establish a WFD connection with the MFP acting as a G/O via the Wi-Fi interface 22.

S262において、アプリ40は、接続画面SC35を表示部14に表示させる。図5に示されるように、接続画面SC35は、MFPとのWFD接続を確立するための処理が実行されていることを示すメッセージ320を含む。接続画面SC35は、さらに、MFPに接続ボタンが表示されたら、接続ボタンを選択すべきことをユーザに促すメッセージ322を含む。接続ボタンは、MFP100を非WPS状態からWPS状態に変更するためのボタンである。 In S262, the application 40 displays the connection screen SC35 on the display unit 14. As shown in Figure 5, the connection screen SC35 includes a message 320 indicating that processing to establish a WFD connection with the MFP is being performed. The connection screen SC35 further includes a message 322 prompting the user to select the connect button when it appears on the MFP. The connect button is used to change the MFP 100 from a non-WPS state to a WPS state.

上述したように、図2のS26において、MFP100が非WPS状態からWPS状態に変更されても、MFP100は、第1の所定時間(例えば70秒)が経過すると、WPS状態から非WPS状態に移行する。従って、例えば、S242で表示される操作画面SC30に応じた操作がMFP100に実行されてから第1の所定時間が経過した後に、MFP100とのNFCリンクが再確立され得る。この場合、MFP100が非WPS状態に戻っているので、MFP100とのWFD接続を確立するための処理がS260で実行されても、MFP100とのWFD接続が確立されず、接続ボタンがMFP100に表示される。ユーザは、接続画面SC35内のメッセージ322に応じて、MFP100に表示される接続ボタンを選択することができる。これにより、ユーザは、MFP100とのWFD接続を適切に確立させることができる。 As described above, even if the MFP 100 changes from a non-WPS state to a WPS state in S26 of Figure 2, the MFP 100 will revert from the WPS state to a non-WPS state after a first predetermined time (e.g., 70 seconds) has elapsed. Therefore, for example, the NFC link with the MFP 100 can be re-established after the first predetermined time has elapsed since the operation corresponding to the operation screen SC30 displayed in S242 was performed on the MFP 100. In this case, since the MFP 100 has returned to a non-WPS state, even if the process for establishing a WFD connection with the MFP 100 is performed in S260, the WFD connection with the MFP 100 will not be established, and the connect button will be displayed on the MFP 100. The user can select the connect button displayed on the MFP 100 in response to message 322 in the connection screen SC35. This allows the user to properly establish a WFD connection with the MFP 100.

また、MFP100とのWFD接続が切断された後に、ユーザがMFP100とのWFD接続を再確立させるために、MFP100とのNFCリンクが再確立され得る。この場合も、MFP100が非WPS状態に戻っているので、MFP100とのWFD接続を確立するための処理がS260で実行されても、MFP100とのWFD接続が確立されず、接続ボタンがMFP100に表示される。ユーザは、接続画面SC35内のメッセージ322に応じて、MFP100に表示される接続ボタンを選択することができる。これにより、ユーザは、MFP100とのWFD接続を適切に再確立させることができる。 Furthermore, after the WFD connection with MFP100 is disconnected, the NFC link with MFP100 may be re-established in order for the user to re-establish the WFD connection with MFP100. In this case as well, since MFP100 has returned to a non-WPS state, even if the process for establishing a WFD connection with MFP100 is executed in S260, the WFD connection with MFP100 will not be established, and the connect button will be displayed on MFP100. The user can select the connect button displayed on MFP100 in response to message 322 in the connection screen SC35. This allows the user to properly re-establish the WFD connection with MFP100.

S270において、アプリ40は、MFPとのWFD接続が確立されたのか否かを判断する。アプリ40は、OS36から、WFD接続が確立されたことを示す接続通知を取得する場合に、S270でYESと判断してS272に進み、OS36から、WFD接続が確立されなかったことを示すエラー通知を取得する場合に、S270でNOと判断してS280に進む。 In S270, application 40 determines whether a WFD connection with the MFP has been established. If application 40 receives a connection notification from OS 36 indicating that a WFD connection has been established, it determines YES in S270 and proceeds to S272. If application 40 receives an error notification from OS 36 indicating that a WFD connection was not established, it determines NO in S270 and proceeds to S280.

S272において、アプリ40は、接続履歴情報として対象MACアドレスを記憶済みでない場合に、対象MACアドレスを接続履歴情報に追加する。アプリ40は、接続履歴情報として対象MACアドレスを記憶済みである場合に、S272をスキップする。 In S272, if the application 40 has not already stored the target MAC address in the connection history information, it adds the target MAC address to the connection history information. If the application 40 has already stored the target MAC address in the connection history information, it skips S272.

S274において、アプリ40は、S270で確立されたWFD接続を利用して、Wi-Fiインターフェース22を介して、印刷コマンド又はスキャンコマンドをMFPに送信する。アプリ40は、図3のS126を経た場合には、S124で選択された画像を表わす印刷データを含む印刷コマンドをMFPに送信する。これにより、MFPは、当該画像の印刷を実行する。一方、アプリ40は、図3のS132を経た場合には、スキャンコマンドをMFPに送信する。これにより、MFPは、原稿のスキャンを実行して、スキャンデータを生成する。当該スキャンデータは、上記のWFD接続を利用してMFPから端末装置10に送信されてもよいし、MFPのメモリ内に記憶されてもよいし、MFPに接続されている外部メモリ内に記憶されてもよい。 In S274, application 40 uses the WFD connection established in S270 to send a print command or scan command to the MFP via the Wi-Fi interface 22. If application 40 has gone through S126 in Figure 3, it sends a print command to the MFP containing print data representing the image selected in S124. The MFP then prints the image. Alternatively, if application 40 has gone through S132 in Figure 3, it sends a scan command to the MFP. The MFP then scans the document and generates scan data. This scan data may be sent from the MFP to the terminal device 10 using the WFD connection, stored in the MFP's memory, or stored in external memory connected to the MFP.

図示省略しているが、S274が終了すると、端末装置10とMFPとの間のWFD接続が切断される。端末装置10が主体としてWFD接続が切断されてもよいし、MFPが主体としてWFD接続が切断されてもよい。S274が終了すると、図4の処理が終了する。 Although not shown in the diagram, when S274 is completed, the WFD connection between the terminal device 10 and the MFP is disconnected. The WFD connection may be disconnected primarily by the terminal device 10, or primarily by the MFP. When S274 is completed, the process shown in Figure 4 is finished.

S280において、アプリ40は、対象モデル名が「M1」であるのか「M2」であるのかを判断する。アプリ40は、対象モデル名が「M1」である場合に、S280でYESと判断してS282に進み、対象モデル名が「M2」である場合に、S280でNOと判断してS284に進む。 In S280, application 40 determines whether the target model name is "M1" or "M2". If the target model name is "M1", application 40 determines YES in S280 and proceeds to S282. If the target model name is "M2", application 40 determines NO in S280 and proceeds to S284.

S282において、アプリ40は、モデル名「M1」に対応するエラー画面SC40を表示部14に表示させる。図5に示されるように、エラー画面SC40は、WFD接続が確立されなかったことを示すメッセージ340を含む。エラー画面SC40は、さらに、MFPのホーム画面内のWFD設定を選択して、MFPのWFD設定を「OFF」から「ON」に変更すべきことをユーザに促すメッセージ342を含む。メッセージ342は、操作画面SC30内のメッセージ300と同様である。S242で操作画面SC30が表示されたにも関わらず、ユーザがMFPのWFD設定を「ON」に変更するための操作を実行しないことがあり得る。この場合、MFPとのWFD接続が確立されず(S270でNO)、メッセージ342を含むエラー画面SC40が表示される。このため、ユーザは、メッセージ342に応じて、MFPのWFD設定を「ON」に変更するための操作を実行することができる。S282が終了すると、図4の処理が終了する。 In S282, the application 40 displays an error screen SC40 corresponding to the model name "M1" on the display unit 14. As shown in Figure 5, the error screen SC40 includes a message 340 indicating that the WFD connection was not established. The error screen SC40 further includes a message 342 prompting the user to select the WFD setting on the MFP's home screen and change the MFP's WFD setting from "OFF" to "ON". Message 342 is the same as message 300 in the operation screen SC30. Even though the operation screen SC30 is displayed in S242, the user may not perform the operation to change the MFP's WFD setting to "ON". In this case, the WFD connection with the MFP is not established (NO in S270), and the error screen SC40 including message 342 is displayed. Therefore, the user can perform the operation to change the MFP's WFD setting to "ON" in response to message 342. When step S282 is completed, the process shown in Figure 4 is finished.

S284において、アプリ40は、モデル名「M2」に対応するエラー画面SC42を表示部14に表示させる。図5に示されるように、エラー画面SC42は、WFD接続が確立されなかったことを示すメッセージ350を含む。エラー画面SC42は、さらに、MFPの正面の物理ボタンを押して、MFPのWFD設定を「OFF」から「ON」に変更すべきことをユーザに促すメッセージ352を含む。メッセージ352は、操作画面SC32内のメッセージ310と同様である。ユーザは、メッセージ352に応じて、MFPのWFD設定を「ON」に変更するための操作を実行することができる。特に、本実施例では、アプリ40は、モデル名に応じた手法を示すエラー画面SC40又はSC42を表示する。これにより、ユーザは、モデル名に応じた手法を利用して、MFPのWFD設定を変更することができる。S284が終了すると、図4の処理が終了する。 In S284, the application 40 displays the error screen SC42 corresponding to the model name "M2" on the display unit 14. As shown in Figure 5, the error screen SC42 includes a message 350 indicating that the WFD connection was not established. The error screen SC42 further includes a message 352 prompting the user to press a physical button on the front of the MFP to change the MFP's WFD setting from "OFF" to "ON". Message 352 is the same as message 310 in the operation screen SC32. The user can then perform the operation to change the MFP's WFD setting to "ON" in response to message 352. In particular, in this embodiment, the application 40 displays the error screen SC40 or SC42 indicating a method corresponding to the model name. This allows the user to change the MFP's WFD setting using a method corresponding to the model name. When S284 ends, the process shown in Figure 4 is completed.

(タグインターフェース処理:図6)
続いて、図6を参照して、図3のS160のタグインターフェース処理を説明する。上述したように、NFCタグインターフェースを備えるMFP200から受信される特定情報は、MFP200のMACアドレス「MAC2」と、MFP200がG/Oとして動作する無線ネットワークのSSIDと、当該無線ネットワークのパスワードと、を含む。また、当該特定情報は、さらに、AP60によって形成されている無線ネットワークで利用されるMFP200のIPアドレスを含み得るし、エラー情報を含み得る。
(Tag interface processing: Figure 6)
Next, with reference to Figure 6, the tag interface processing of S160 in Figure 3 will be explained. As described above, the specific information received from the MFP200 equipped with an NFC tag interface includes the MAC address "MAC2" of the MFP200, the SSID of the wireless network on which the MFP200 operates as a G/O, and the password of the said wireless network. Furthermore, this specific information may also include the IP address of the MFP200 used in the wireless network formed by AP60, and may also include error information.

S310において、アプリ40は、特定情報がエラー情報を含むのか否かを判断する。アプリ40は、特定情報がエラー情報を含む場合に、S310でYESと判断してS312に進み、特定情報がエラー情報を含まない場合に、S310でNOと判断してS320に進む。 In S310, application 40 determines whether the specific information contains error information. If the specific information contains error information, application 40 determines YES in S310 and proceeds to S312. If the specific information does not contain error information, application 40 determines NO in S310 and proceeds to S320.

S312において、アプリ40は、エラー画面SC50を表示部14に表示させる。エラー画面SC50は、MFP200がG/Oとして動作する無線ネットワークの子局の数が上限に達しているので、MFP200とのWFD接続を確立することができないことを示すメッセージを含む。従って、ユーザは、MFP200とのWFD接続を確立することができないことを知ることができる。S312が終了すると、図6の処理が終了する。 In S312, the application 40 displays the error screen SC50 on the display unit 14. The error screen SC50 includes a message indicating that the number of slave stations in the wireless network where the MFP 200 operates as a G/O has reached its limit, and therefore a WFD connection with the MFP 200 cannot be established. Thus, the user can be informed that a WFD connection with the MFP 200 cannot be established. When S312 ends, the process shown in Figure 6 is completed.

S320において、アプリ40は、端末装置10及びMFP200が同じAP60とのWi-Fi接続を確立しているのか否かを判断する。具体的には、アプリ40は、まず、特定情報がIPアドレスを含むのか否かを判断し、特定情報がIPアドレスを含まない場合には、同じAP60とのWi-Fi接続を確立していないと判断して(S320でNO)、S330に進む。アプリ40は、特定情報がIPアドレスを含む場合には、当該IPアドレスを含む導通確認指示をOS36に供給する。導通確認指示は、当該IPアドレスを送信先IPアドレスとして含む確認信号の送信を指示するコマンドである。これにより、OS36は、Wi-Fiインターフェース22を介して確認信号を送信し、応答信号を受信する場合に、導通通知をアプリ40に供給する。OS36は、応答信号を受信しない場合に、未導通通知をアプリ40に供給する。アプリ40は、OS36から導通通知を取得する場合に、同じAP60とのWi-Fi接続を確立していると判断し(S320でYES)、S322に進む。アプリ40は、OS36から未導通通知を取得する場合に、同じAP60とのWi-Fi接続を確立していないと判断し(S320でNO)、S330に進む。 In S320, application 40 determines whether terminal device 10 and MFP 200 have established a Wi-Fi connection with the same AP 60. Specifically, application 40 first determines whether the specific information includes an IP address. If the specific information does not include an IP address, it determines that a Wi-Fi connection with the same AP 60 has not been established (NO in S320) and proceeds to S330. If the specific information includes an IP address, application 40 supplies a continuity check instruction to OS 36 that includes the IP address. The continuity check instruction is a command that instructs the OS 36 to send a check signal that includes the IP address as the destination IP address. As a result, OS 36 sends a check signal via the Wi-Fi interface 22, and if it receives a response signal, it supplies a continuity notification to application 40. If OS 36 does not receive a response signal, it supplies a no-continuity notification to application 40. When application 40 receives a connectivity notification from OS 36, it determines that a Wi-Fi connection with the same AP 60 has been established (YES in S320) and proceeds to S322. When application 40 receives a disconnection notification from OS 36, it determines that a Wi-Fi connection with the same AP 60 has not been established (NO in S320) and proceeds to S330.

S322において、アプリ40は、AP60とのWi-Fi接続を利用して、Wi-Fiインターフェース22を介して、印刷コマンド又はスキャンコマンドをMFPに送信する。どちらのコマンドが送信されるのかについては、図4のS274と同様である。S322が終了すると、図6の処理が終了する。 In S322, application 40 uses the Wi-Fi connection with AP60 to send a print command or a scan command to the MFP via the Wi-Fi interface 22. The type of command sent is the same as in S274 of Figure 4. When S322 ends, the process shown in Figure 6 ends.

S330、S340の処理は、それぞれ、図4のS260、S270の処理と同様である。アプリ40は、MFP200とのWFD接続が確立される場合(S340でYES)に、S342において、MFP200とのWFD接続を利用して、Wi-Fiインターフェース22を介して、印刷コマンド又はスキャンコマンドをMFPに送信する。どちらのコマンドが送信されるのかについては、図4のS274と同様である。S342が終了すると、図6の処理が終了する。 The processes in S330 and S340 are the same as those in S260 and S270 in Figure 4, respectively. If a WFD connection is established with the MFP 200 (YES in S340), application 40, in S342, uses the WFD connection with the MFP 200 to send a print command or a scan command to the MFP via the Wi-Fi interface 22. Which command is sent is the same as in S274 in Figure 4. When S342 is completed, the process in Figure 6 is completed.

アプリ40は、MFP200とのWFD接続が確立されない場合(S340でNO)にS344において、エラー画面SC52を表示部14に表示させる。エラー画面SC52は、WFD接続が確立されなかったことを示すメッセージと、WFD接続が確立されなかった原因を示すメッセージと、を含む。当該原因は、例えば、端末装置10とMFP200との間の通信環境が悪い可能性があることを示す。S344が終了すると、図6の処理が終了する。 If the WFD connection with the MFP 200 cannot be established (NO in S340), the application 40 displays an error screen SC52 on the display unit 14 in S344. The error screen SC52 includes a message indicating that the WFD connection could not be established, and a message indicating the reason why the WFD connection could not be established. This reason, for example, indicates that the communication environment between the terminal device 10 and the MFP 200 may be poor. When S344 ends, the process shown in Figure 6 is completed.

(具体的なケース:図7~図13)
続いて、図7~図13を参照して、図2~図4及び図6の処理によって実現される具体的なケースを説明する。図7~図13では、NFC通信を太い破線の矢印で示し、Wi-Fi通信を細い破線の矢印で示す。
(Specific cases: Figures 7-13)
Next, with reference to Figures 7 to 13, we will explain specific cases realized by the processes in Figures 2 to 4 and Figure 6. In Figures 7 to 13, NFC communication is indicated by thick dashed arrows, and Wi-Fi communication is indicated by thin dashed arrows.

(ケースA1:図7)
図7のケースA1は、端末装置10がMFP100とのWFD接続を確立するケースである。図7の初期状態では、MFP100のWFD設定が「OFF」であり、MFP100が非G/O状態である。
(Case A1: Figure 7)
Case A1 in Figure 7 is a case in which the terminal device 10 establishes a WFD connection with the MFP 100. In the initial state of Figure 7, the WFD setting of the MFP 100 is "OFF", and the MFP 100 is in a non-G/O state.

T10において、アプリ40を起動するための操作が端末装置10に実行されると、T12において、アプリ40が起動される(図3のトリガ)。アプリ40は、T14において、ホーム画面SC10を表示し(S110)、T20において、印刷アイコンの選択操作を受け付ける(S120でYES)。アプリ40は、T22において、画像選択画面SC12を表示し(S122)、T24において、印刷対象の画像の選択操作を受け付ける(S124でYES)。この場合、アプリ40は、プレビュー画面SC14を表示する(S126)。 At T10, when an operation to launch application 40 is performed on the terminal device 10, application 40 is launched at T12 (trigger in Figure 3). At T14, application 40 displays the home screen SC10 (S110), and at T20, accepts the operation to select the print icon (YES at S120). At T22, application 40 displays the image selection screen SC12 (S122), and at T24, accepts the operation to select the image to be printed (YES at S124). In this case, application 40 displays the preview screen SC14 (S126).

端末装置10がMFP100に近づけられると、T30において、端末装置10とMFP100との間にNFCリンクが確立され、アプリ40は、MFP100から特定情報を受信する(S140でYES)。当該特定情報は、NFC独立インターフェースを示すインターフェース種別情報と、MFP100のMACアドレス「MAC1」と、MFP100のモデル名「M1」と、を含む。この場合、アプリ40は、T32において、モデル名「M1」に対応する操作画面SC30を表示する(S142でYES、S150、図4のS210でNO、S240でYES、S242)。このように、アプリ40は、インターフェース種別情報がNFC独立インターフェースを示す場合に、操作画面SC30を表示する。従って、MFP100への操作の実行をユーザに促すことができる。このため、アプリ40は、上記の操作がMFP100に実行される場合に、MFP100とのWFD接続を確立することができる。 When the terminal device 10 is brought close to the MFP 100, at T30, an NFC link is established between the terminal device 10 and the MFP 100, and the application 40 receives specific information from the MFP 100 (YES at S140). This specific information includes interface type information indicating an NFC independent interface, the MAC address of the MFP 100 "MAC1", and the model name of the MFP 100 "M1". In this case, at T32, the application 40 displays the operation screen SC30 corresponding to the model name "M1" (YES at S142, S150, NO at S210 in Figure 4, YES at S240, S242). Thus, the application 40 displays the operation screen SC30 when the interface type information indicates an NFC independent interface. Therefore, it is possible to prompt the user to perform an operation on the MFP 100. Therefore, when the above operation is performed on the MFP 100, application 40 can establish a WFD connection with the MFP 100.

ユーザは、操作画面SC30内のメッセージ300に応じて、T34において、MFP100に対する操作を実行する。具体的には、MFP100は、ホーム画面SC0を表示し(図2のS12)、WFD設定ボタンの選択操作を受け付け(S20)、設定変更画面SC1を表示する(S22)。そして、MFP100は、設定変更画面SC1内のYESボタンの選択操作を受け付け(S24)、T36において、WFD設定を「OFF」から「ON」に変更する(S26)。即ち、MFP100は、非G/O状態からG/O状態に移行し、非WPS状態からWPS状態に移行する。 The user, in response to message 300 on the operation screen SC30, performs an operation on the MFP 100 at T34. Specifically, the MFP 100 displays the home screen SC0 (S12 in Figure 2), accepts the selection operation of the WFD setting button (S20), and displays the setting change screen SC1 (S22). Then, the MFP 100 accepts the selection operation of the YES button on the setting change screen SC1 (S24), and at T36, changes the WFD setting from "OFF" to "ON" (S26). That is, the MFP 100 transitions from a non-G/O state to a G/O state, and from a non-WPS state to a WPS state.

その後、操作画面SC30内のメッセージ302に応じて、端末装置10がMFP100に近づけられると、T40において、端末装置10とMFP100との間にNFCリンクが再確立され、アプリ40は、MFP100から特定情報を受信する(図4のS250でYES)。この場合、アプリ40は、T42において、MACアドレス「MAC1」を含む接続指示をOS36に供給し(S260)、T44において、接続画面SC35を表示する(S262)。 Subsequently, in response to message 302 on the operation screen SC30, when the terminal device 10 is brought closer to the MFP 100, the NFC link is re-established between the terminal device 10 and the MFP 100 at T40, and the application 40 receives specific information from the MFP 100 (YES at S250 in Figure 4). In this case, at T42, the application 40 supplies a connection instruction including the MAC address "MAC1" to the OS 36 (S260), and at T44, displays the connection screen SC35 (S262).

OS36は、T42において、アプリ40から接続指示を取得すると、T50において、WPSに従った通信をMFP100と実行して、T52において、MFP100とのWFD接続を確立する。この場合、OS36は、T54において、接続通知をアプリ40に送信する。 When OS36 receives a connection instruction from application 40 at T42, it performs WPS-compliant communication with MFP100 at T50, and establishes a WFD connection with MFP100 at T52. In this case, OS36 sends a connection notification to application 40 at T54.

アプリ40は、T54において、OS36から接続通知を取得すると(S270でYES)、T56において、接続履歴情報としてMACアドレス「MAC1」を記憶する(S272)。そして、アプリ40は、T60において、印刷コマンドをMFP100に送信する(S274)。 When application 40 receives a connection notification from OS36 at T54 (YES in S270), it stores the MAC address "MAC1" as connection history information at T56 (S272). Then, at T60, application 40 sends a print command to MFP100 (S274).

MFP100は、T60において、端末装置10から印刷コマンドを受信すると、T62において、印刷コマンドに応じた印刷を実行する。その後、T70において、端末装置10とMFP100との間のWFD接続が切断される。この場合、MFP100は、G/O状態を維持する。ただし、MFP100は、WPS状態から非WPS状態に移行する。 When the MFP 100 receives a print command from the terminal device 10 at T60, it executes printing according to the print command at T62. Subsequently, at T70, the WFD connection between the terminal device 10 and the MFP 100 is disconnected. In this case, the MFP 100 maintains the G/O state. However, the MFP 100 transitions from the WPS state to the non-WPS state.

(図7の続き:図8)
図8を参照して、図7の処理が実行された後に、ユーザがMFP100に印刷を再び実行させる状況を説明する。T110~T130の処理は、図7のT10~T30の処理と同様である。この場合、アプリ40は、T134において、MACアドレス「MAC1」を含むデバイス検索指示をOS36に供給する(図4のS210でYES、S212)。
(Continuation of Figure 7: Figure 8)
Referring to Figure 8, the situation in which the user causes the MFP 100 to print again after the process in Figure 7 has been executed will be explained. The processes T110 to T130 are the same as the processes T10 to T30 in Figure 7. In this case, at T134, the application 40 supplies a device search instruction to the OS 36 that includes the MAC address "MAC1" (YES at S210 and S212 in Figure 4).

OS36は、T134において、アプリ40からデバイス検索指示を取得すると、T130において、ブロードキャストのProbe要求を送信し、T138において、G/OであるMFP100からProbe応答を受信する。当該Probe応答は、MFP100のMACアドレス「MAC1」と、MFP100がG/Oとして動作する無線ネットワークのSSID「SSID1」と、を含む。OS36は、T140において、当該Probe応答内のMACアドレス「MAC1」を含む検索結果をアプリ40に供給する。 When OS36 receives a device search instruction from application 40 at T134, it sends a broadcast Probe request at T130 and receives a Probe response from MFP100, which is the G/O, at T138. This Probe response includes the MAC address "MAC1" of MFP100 and the SSID "SSID1" of the wireless network on which MFP100 operates as a G/O. At T140, OS36 supplies the search results, including the MAC address "MAC1" from the Probe response, to application 40.

アプリ40は、T140において、OS36から検索結果を取得すると、T142において、MACアドレス「MAC1」を含む接続指示をOS36に供給し(S260)、T144において、接続画面SC35を表示する。 When application 40 obtains search results from OS 36 at T140, it supplies a connection instruction including the MAC address "MAC1" to OS 36 at T142 (S260), and displays the connection screen SC35 at T144.

OS36は、T142において、アプリ40から接続指示を取得すると、T146において、接続指示内のMACアドレス「MAC1」を送信先MACアドレスとして含む接続要求をMFP100に送信する。 When OS36 receives a connection instruction from application 40 at T142, it sends a connection request to MFP100 at T146, including the MAC address "MAC1" from the connection instruction as the destination MAC address.

MFP100は、T146において、端末装置10から接続要求を受信する。ただし、MFP100は、非WPS状態であるので、WPSに従った通信を実行することができない。この場合、MFP100は、T147において、接続ボタンを表示する。ユーザは、接続画面SC35内のメッセージ322に応じて、T148において、MFP100に表示された接続ボタンを選択する。ここでの接続ボタンの選択操作は、WPSのPBC(Push Button Configurationの略)方式に従ったボタン操作に相当する。これにより、MFP100は、T149において、非WPS状態からWPS状態に移行する。 At T146, the MFP 100 receives a connection request from the terminal device 10. However, since the MFP 100 is in a non-WPS state, it cannot perform communication according to WPS. In this case, at T147, the MFP 100 displays a connect button. The user, in response to message 322 in the connection screen SC35, selects the connect button displayed on the MFP 100 at T148. This selection operation corresponds to a button operation according to the WPS PBC (Push Button Configuration) method. As a result, at T149, the MFP 100 transitions from a non-WPS state to a WPS state.

その後、OS36は、T150において、WPSに従った通信をMFP100と実行して、T152において、MFP100とのWFD接続を確立する。このように、アプリ40は、1回目のWFD接続が切断された後(図7のT70)に、MFP100とのNFCリンクが再確立される場合(図8のT130)に、操作画面SC30を表示することなく、MFP100とのWFD接続を再確立することができる(T152)。その後のT154~T170の処理は、図7のT54~T70の処理と同様である。 Subsequently, at T150, OS36 performs communication with MFP100 according to WPS, and at T152, establishes a WFD connection with MFP100. In this way, when the NFC link with MFP100 is re-established (T130 in Figure 8) after the first WFD connection is disconnected (T70 in Figure 7), application 40 can re-establish the WFD connection with MFP100 without displaying the operation screen SC30 (T152). The subsequent processing at T154-T170 is the same as the processing at T54-T70 in Figure 7.

(ケースA2:図9)
図9のケースA2は、MFP100のWFD設定を「ON」に変更するための操作が実行されないケースである。T210~T232の処理は、図7のT10~T32の処理と同様である。
(Case A2: Figure 9)
Case A2 in Figure 9 is a case where the operation to change the WFD setting of MFP100 to "ON" is not performed. The processing from T210 to T232 is the same as the processing from T10 to T32 in Figure 7.

ユーザは、操作画面SC30が表示されても、MFP100のWFD設定を「ON」に変更するための操作を実行しない。そして、T240において、端末装置10とMFP100との間にNFCリンクが再確立される(図4のS250でYES)。この場合、アプリ40は、T242において、MACアドレス「MAC1」を含む接続指示をOS36に供給し(S260)、T244において、接続画面SC35を表示する(S262)。 Even when the operation screen SC30 is displayed, the user does not perform the operation to change the WFD setting of the MFP100 to "ON". Then, at T240, the NFC link is re-established between the terminal device 10 and the MFP100 (YES at S250 in Figure 4). In this case, at T242, the application 40 supplies a connection instruction including the MAC address "MAC1" to the OS36 (S260), and at T244, displays the connection screen SC35 (S262).

OS36は、T242において、アプリ40から接続指示を取得すると、T246において、ブロードキャストのProbe要求を送信する。しかしながら、MFP100が非G/O状態であるので、OS36は、MFP100からProbe応答を受信しない。このため、OS36は、MFP100とのWFD接続を確立することができず、T254において、エラー通知をアプリ40に供給する。 When OS36 receives a connection instruction from application 40 at T242, it sends a broadcast Probe request at T246. However, since MFP100 is in a non-G/O state, OS36 does not receive a Probe response from MFP100. Therefore, OS36 cannot establish a WFD connection with MFP100 and sends an error notification to application 40 at T254.

アプリ40は、T254において、OS36からエラー通知を取得すると、T260において、エラー画面SC40を表示する(S270でNO、S280でYES、S282)。このように、アプリ40は、MFP100のWFD設定を「ON」に変更するための操作が実行されることなく、MFP100とのNFCリンクが再確立される場合(T240)に、エラー画面SC40を表示する(T260)。従って、ユーザは、MFP100とのWFD接続が確立されなかったことを知ることができる。特に、エラー画面SC40は、MFP100のWFD設定を「ON」に変更するための操作を示すメッセージ342を含む。従って、ユーザは、MFP100とのWFD接続が確立するためには当該操作を実行すべきことを知ることができる。 When application 40 receives an error notification from OS 36 at T254, it displays the error screen SC40 at T260 (NO at S270, YES at S280, S282). Thus, application 40 displays the error screen SC40 (T260) when the NFC link with MFP 100 is re-established (T240) without the operation to change the MFP 100's WFD setting to "ON" being performed. Therefore, the user can know that the WFD connection with MFP 100 was not established. In particular, the error screen SC40 includes message 342 indicating the operation to change the MFP 100's WFD setting to "ON". Therefore, the user can know that this operation must be performed in order to establish the WFD connection with MFP 100.

図9のケースA2の後に、T210~T230の処理が再び実行されると、アプリ40は、T232にいて、操作画面SC30を表示する(S210でNO、S240でYES、S242)。従って、ユーザは、MFP100のWFD設定を「ON」に変更するための操作を実行すべきことを知ることができる。そして、アプリ40は、上記の操作がMFP100に実行される場合に、MFP100とのWFD接続を確立することができる(図7のT34~T52)。 After Case A2 in Figure 9, when the processes T210-T230 are executed again, application 40 is at T232 and displays the operation screen SC30 (NO at S210, YES at S240, S242). Therefore, the user knows that they should perform an operation to change the WFD setting of MFP 100 to "ON". Then, when the above operation is performed on MFP 100, application 40 can establish a WFD connection with MFP 100 (T34-T52 in Figure 7).

(ケースA3:図10)
図10のケースA3は、G/O状態のMFP100が他の端末装置50とのWFD接続を確立しているケースである。MFP100のWFD設定が「ON」であり、MFP100がG/O状態かつ非WPS状態である。T310~T332の処理は、図7のT10~T32の処理と同様である。
(Case A3: Figure 10)
Case A3 in Figure 10 is a case where the MFP 100 in the G/O state has established a WFD connection with another terminal device 50. The WFD setting of the MFP 100 is "ON", and the MFP 100 is in the G/O state and not in the WPS state. The processing of T310 to T332 is the same as the processing of T10 to T32 in Figure 7.

ユーザは、T332で表示される操作画面SC30内のメッセージ300に応じて、MFP100に対して操作を実行することを試みる。しかしながら、本ケースでは、MFP100のWFD設定が既に「ON」になっているために、ユーザは、MFP100のWFD設定を「ON」に変更するための操作を実行しない。そして、T340において、端末装置10とMFP100との間にNFCリンクが再確立される(図4のS250でYES)。この場合、アプリ40は、T342において、MACアドレス「MAC1」を含む接続指示をOS36に供給し(S260)、T344において、接続画面SC35を表示する(S262)。 The user attempts to perform an operation on the MFP 100 in response to message 300 in the operation screen SC30 displayed at T332. However, in this case, since the WFD setting of the MFP 100 is already "ON," the user does not perform an operation to change the WFD setting of the MFP 100 to "ON." Then, at T340, the NFC link is re-established between the terminal device 10 and the MFP 100 (YES at S250 in Figure 4). In this case, at T342, the application 40 supplies a connection instruction including the MAC address "MAC1" to the OS 36 (S260), and at T344, displays the connection screen SC35 (S262).

OS36は、T342において、アプリ40から接続指示を取得すると、WPSに従った通信をMFP100と実行することを試みる。しかしながら、MFP100が非WPS状態であり、かつ、MFP100がG/Oとして動作する無線ネットワークに所属する子局の数が上限であるので、OS36は、WPSに従った通信をMFP100と実行することができない。このため、OS36は、T354において、エラー通知をアプリ40に供給する。 At T342, OS36 receives a connection instruction from application 40 and attempts to perform WPS-compliant communication with MFP100. However, because MFP100 is not in a WPS state and the number of slave stations belonging to the wireless network in which MFP100 operates as a G/O has reached its limit, OS36 cannot perform WPS-compliant communication with MFP100. Therefore, at T354, OS36 sends an error notification to application 40.

アプリ40は、T354において、OS36からエラー通知を取得すると、T360において、エラー画面SC40を表示する(S270でNO、S280でYES、S282)。従って、ユーザは、MFP100とのWFD接続が確立されなかったことを知ることができる。 When application 40 receives an error notification from OS 36 at T354, it displays the error screen SC40 at T360 (NO at S270, YES at S280, S282). Therefore, the user can be informed that a WFD connection with MFP 100 was not established.

(ケースB1:図11)
図11のケースB1は、端末装置10がMFP200とのWFD接続を確立するケースである。図11の初期状態では、MFP200のWFD設定が「OFF」であり、MFP200が非G/O状態である。MFP200は、AP60とのWi-Fi接続を確立している。端末装置10は、AP60とのWi-Fi接続を確立していない。
(Case B1: Figure 11)
Case B1 in Figure 11 is a case where terminal device 10 establishes a WFD connection with MFP200. In the initial state of Figure 11, the WFD setting of MFP200 is "OFF", and MFP200 is in a non-G/O state. MFP200 has established a Wi-Fi connection with AP60. Terminal device 10 has not established a Wi-Fi connection with AP60.

T410~T426の処理は、図7のT10~T26の処理と同様である。T430において、端末装置10とMFP200との間にNFCリンクが確立され、アプリ40は、MFP200から特定情報を受信する(S140でYES)。当該特定情報は、NFCタグインターフェースを示すインターフェース種別情報と、MFP200のMACアドレス「MAC2」と、MFP200がG/Oとして動作する無線ネットワークのSSID「SSID2」と、当該無線ネットワークのパスワードと、AP60によって形成されている無線ネットワークで利用されるMFP200のIPアドレスと、を含む。アプリ40は、T440において、受信済みのIPアドレスを含む導通確認指示をOS36に供給する(S142でNO、S160、図6のS310でNO、S320)。 The processing at T410 to T426 is the same as the processing at T10 to T26 in Figure 7. At T430, an NFC link is established between the terminal device 10 and the MFP 200, and the application 40 receives specific information from the MFP 200 (YES at S140). This specific information includes interface type information indicating the NFC tag interface, the MAC address of the MFP 200 "MAC2", the SSID "SSID2" of the wireless network in which the MFP 200 operates as a G/O, the password for the wireless network, and the IP address of the MFP 200 used in the wireless network formed by AP 60. At T440, the application 40 supplies a continuity confirmation instruction to the OS 36, including the received IP address (NO at S142, S160, NO at S310 in Figure 6, S320).

MFP200は、T430において、端末装置10とのNFCリンクが確立されると(図2のS40でYES)、非G/O状態からG/O状態に移行し、非WPS状態からWPS状態に移行する(S42でNO、S46)。 When an NFC link is established with the terminal device 10 at T430 (YES in S40 in Figure 2), the MFP 200 transitions from a non-G/O state to a G/O state, and then from a non-WPS state to a WPS state (NO in S42, S46).

OS36は、T440において、アプリ40から導通確認指示を取得すると、導通確認指示内のIPアドレスを送信先IPアドレスとして含む確認信号を送信することを試みる。本ケースでは、端末装置10がAP60とのWi-Fi接続を確立していないので、OS36は、確認信号をMFP200に送信することができず、この結果、MFP200から応答信号を受信しない。このため、OS36は、T441において、未導通通知をアプリ40に供給する。 When OS36 receives a continuity check instruction from application 40 at T440, it attempts to send a confirmation signal that includes the IP address in the continuity check instruction as the destination IP address. In this case, since terminal device 10 has not established a Wi-Fi connection with AP60, OS36 cannot send the confirmation signal to MFP200, and as a result does not receive a response signal from MFP200. Therefore, at T441, OS36 supplies a no-continuity notification to application 40.

アプリ40は、T441において、OS36から未導通通知を取得すると(図6のS320でNO)、MACアドレス「MAC2」を含む接続指示をOS36に供給する(S330)。その後のT450~T470の処理は、MFP200が対象である点を除き、図7のT50~T70と同様である。このように、アプリ40は、インターフェース種別情報がNFCタグインターフェースを示す場合に、WFD設定を「ON」に変更するための操作がMFP200に実行されなくても、MFP200とのWFD接続を確立することができる。 When application 40 receives a disconnection notification from OS 36 at T441 (NO in S320 in Figure 6), it supplies a connection instruction to OS 36 including the MAC address "MAC2" (S330). The subsequent processing at T450-T470 is the same as T50-T70 in Figure 7, except that the MFP 200 is the target. In this way, application 40 can establish a WFD connection with MFP 200 even if the MFP 200 does not perform an operation to change the WFD setting to "ON" when the interface type information indicates an NFC tag interface.

MFP200は、T470において、端末装置10とのWFD接続が切断されると、WPS状態から非WPS状態に移行する。MFP200は、さらに、WFD接続が切断されてから第2の所定時間(例えば300秒)が経過すると、G/O状態から非G/O状態に移行する。ここで、MFP200がG/O状態から非G/O状態に移行する点が、図7のケースA1において、MFP100がG/O状態を維持する点とは異なる。図7のケースA1では、MFP100に対する操作がユーザによって実行されることに応じて、MFP100がG/O状態に移行する(T34、T36)。従って、MFP100は、ユーザがMFP100のWFD設定を「ON」に変更したいという意図に応じて、G/O状態を維持する。一方、図11のケースB1では、MFP200に対する操作がユーザによって実行されない。このため、MFP200は、G/O状態に一時的に移行し、端末装置10とのWFD接続が切断されると、非G/O状態に戻る。 At T470, when the WFD connection with terminal device 10 is disconnected, MFP 200 transitions from the WPS state to the non-WPS state. Furthermore, after a second predetermined time (e.g., 300 seconds) has elapsed since the WFD connection was disconnected, MFP 200 transitions from the G/O state to the non-G/O state. Here, the point at which MFP 200 transitions from the G/O state to the non-G/O state differs from the point at which MFP 100 maintains the G/O state in Case A1 of Figure 7. In Case A1 of Figure 7, MFP 100 transitions to the G/O state in response to an operation performed on MFP 100 by the user (T34, T36). Therefore, MFP 100 maintains the G/O state in response to the user's intention to change the WFD setting of MFP 100 to "ON". On the other hand, in Case B1 of Figure 11, no operation is performed on MFP 200 by the user. Therefore, the MFP200 temporarily switches to the G/O state, and returns to the non-G/O state when the WFD connection with the terminal device 10 is disconnected.

(ケースB2:図12)
図12のケースB2は、端末装置10がAP60を介して印刷コマンドをMFP200に送信するケースである。図12の初期状態では、端末装置10及びMFP200は、同じAP60とのWi-Fi接続を確立している。
(Case B2: Figure 12)
Case B2 in Figure 12 is a case in which the terminal device 10 sends a print command to the MFP 200 via AP 60. In the initial state of Figure 12, the terminal device 10 and the MFP 200 have established a Wi-Fi connection with the same AP 60.

T510~T540の処理は、図11のT410~T440の処理と同様である。OS36は、T540において、アプリ40から導通確認指示を取得すると、T542において、導通確認指示内のIPアドレスを送信先IPアドレスとして含む確認信号を送信する。これにより、OS36は、T542において、AP60を介して確認信号をMFP200に送信し、T544において、AP60を介してMFP200から応答信号を受信する。このため、OS36は、T546において、導通通知をアプリ40に供給する。 The processing at T510 to T540 is the same as the processing at T410 to T440 in Figure 11. At T540, when OS36 receives a continuity check instruction from application 40, at T542, it sends a confirmation signal including the IP address in the continuity check instruction as the destination IP address. As a result, at T542, OS36 sends the confirmation signal to MFP200 via AP60, and at T544, receives a response signal from MFP200 via AP60. Therefore, at T546, OS36 supplies a continuity notification to application 40.

アプリ40は、T546において、OS36から導通通知を取得すると(図6のS320でYES)、AP60を介して印刷コマンドをMFP200に送信する(S322)。このように、アプリ40は、端末装置10及びMFP200が同じAP60に接続している場合に、MFP200とのWFD接続を確立することなく、AP60を介して印刷コマンドをMFP200に送信することができる。 When application 40 receives a connectivity notification from OS 36 at T546 (YES at S320 in Figure 6), it sends a print command to MFP 200 via AP 60 (S322). In this way, application 40 can send a print command to MFP 200 via AP 60 without establishing a WFD connection with MFP 200, even when terminal device 10 and MFP 200 are connected to the same AP 60.

MFP200は、T546において、AP60を介して端末装置10から印刷コマンドを受信すると、印刷コマンドに従った印刷を実行する。そして、MFP200は、T536でWPS状態に移行してから第1の所定時間(例えば70秒)が経過すると、非WPS状態に移行する。また、MFP200は、T536でG/O状態に移行してからWFD接続が確立されることなく第2の所定時間(例えば300秒)が経過すると、非G/O状態に移行する。 When the MFP 200 receives a print command from the terminal device 10 via AP 60 at T546, it executes printing according to the print command. Then, after a first predetermined time (e.g., 70 seconds) has elapsed since transitioning to the WPS state at T536, the MFP 200 transitions to a non-WPS state. Furthermore, if a second predetermined time (e.g., 300 seconds) has elapsed since transitioning to the G/O state at T536 without establishing a WFD connection, the MFP 200 transitions to a non-G/O state.

(ケースB3:図13)
ケースB3は、G/O状態のMFP200が他の端末装置50とのWFD接続を確立しているケースである。MFP200のWFD設定が「ON」であり、MFP200がG/O状態かつ非WPS状態である。
(Case B3: Figure 13)
Case B3 is a case in which the MFP200 in the G/O state has established a WFD connection with another terminal device 50. The WFD setting of the MFP200 is "ON", and the MFP200 is in the G/O state and not in the WPS state.

T610~T626の処理は、図11のT410~T426の処理と同様である。T630において、端末装置10とMFP200との間にNFCリンクが確立され、アプリ40は、MFP200から特定情報を受信する(S140でYES)。当該特定情報は、エラー情報を含む。この場合、アプリ40は、T632において、エラー画面SC50を表示する(図6のS310でYES、S312)。従って、ユーザは、MFP200がG/Oとして動作する無線ネットワークの子局の数が上限に達していることに起因して、MFP200とのWFD接続を確立することができないことを知ることができる。 The processing at T610 to T626 is the same as the processing at T410 to T426 in Figure 11. At T630, an NFC link is established between the terminal device 10 and the MFP 200, and the application 40 receives specific information from the MFP 200 (YES at S140). This specific information includes error information. In this case, at T632, the application 40 displays the error screen SC50 (YES at S310 and S312 in Figure 6). Therefore, the user can learn that a WFD connection with the MFP 200 cannot be established because the number of slave stations in the wireless network operating as a G/O has reached its limit.

(本実施例の効果)
本実施例によると、端末装置10は、インターフェース種別情報がNFC独立インターフェースを示す場合に、操作画面SC30を表示する(図7のT32)。従って、MFP100への操作の実行をユーザに促すことができる。このため、端末装置10は、当該操作がMFP100に実行される場合(T34)に、MFP100とのWFD接続を確立することができる(T52)。一方、端末装置10は、インターフェース種別情報がNFCタグインターフェースを示す場合に、上記の操作がMFP200に実行されなくても、MFP200とのWFD接続を確立することができる(図11のT452)。このように、端末装置10は、MFPがNFC独立インターフェースを備えるのかNFCタグインターフェースを備えるのかに応じた適切な処理を実行することができる。
(Effects of this embodiment)
In this embodiment, the terminal device 10 displays the operation screen SC30 when the interface type information indicates an NFC independent interface (T32 in Figure 7). Therefore, it can prompt the user to perform an operation on the MFP 100. As a result, the terminal device 10 can establish a WFD connection with the MFP 100 when the operation is performed on the MFP 100 (T34) (T52). On the other hand, the terminal device 10 can establish a WFD connection with the MFP 200 even if the above operation is not performed on the MFP 200 when the interface type information indicates an NFC tag interface (T452 in Figure 11). In this way, the terminal device 10 can perform appropriate processing depending on whether the MFP has an NFC independent interface or an NFC tag interface.

(対応関係)
MFP100,200が、「通信装置」の一例である。NFC規格、Wi-Fi規格が、それぞれ、「第1の通信規格」、「第2の通信規格」の一例である。WFD方式が、「所定方式」の一例である。端末装置10のNFCインターフェース20、Wi-Fiインターフェース22が、それぞれ、「第1の無線インターフェース」、「第2の無線インターフェース」の一例である。MFP100又はMFP200のNFCインターフェース120又は220が、「第3の無線インターフェース」の一例である。MFP100又はMFP200のWi-Fiインターフェース122又は222が、「第4の無線インターフェース」の一例である。NFC独立インターフェース、NFCタグインターフェースが、それぞれ、「第1種の無線インターフェース」、「第2種の無線インターフェース」の一例である。操作画面SC30,SC32が、「複数個の操作画面」の一例である。接続画面SC35が、「通知画面」の一例である。接続ボタンの選択操作が、「所定の接続操作」の一例である。エラー画面SC40(又はSC42)が、「第1のエラー画面」の一例である。エラー画面SC40内のメッセージ342が、「変更操作を示すメッセージ」の一例である。エラー画面SC50、エラー画面SC40(又はSC42)が、それぞれ、「第2のエラー画面」、「第3のエラー画面」の一例である。
(Correspondence)
MFP100 and 200 are examples of "communication devices". NFC standard and Wi-Fi standard are examples of "first communication standard" and "second communication standard", respectively. WFD method is an example of "predetermined method". The NFC interface 20 and Wi-Fi interface 22 of terminal device 10 are examples of "first wireless interface" and "second wireless interface", respectively. The NFC interface 120 or 220 of MFP100 or MFP200 is an example of "third wireless interface". The Wi-Fi interface 122 or 222 of MFP100 or MFP200 is an example of "fourth wireless interface". The NFC independent interface and NFC tag interface are examples of "first type wireless interface" and "second type wireless interface", respectively. Operation screens SC30 and SC32 are examples of "multiple operation screens". Connection screen SC35 is an example of a "notification screen". The operation of selecting the connect button is an example of a "predetermined connection operation." Error screen SC40 (or SC42) is an example of a "first error screen." Message 342 in error screen SC40 is an example of a "message indicating a change operation." Error screen SC50 and error screen SC40 (or SC42) are examples of a "second error screen" and a "third error screen," respectively.

図3のS140が、「特定情報受信部」によって実行される処理の一例である。図4のS242及びS244が、「第1の表示制御部」によって実行される処理の一例である。S242又はS244を経て実行されるS260が、「第1の確立部」によって実行される処理の一例である。図6のS330が、「第2の確立部」によって実行される処理の一例である。図4のS210でYESを経て実行されるS260が、「再確立部」によって実行される処理の一例である。S262が、「第2の表示制御部」によって実行される処理の一例である。S282及びS284が、「第3の表示制御部」によって実行される処理の一例である。図6のS312が、「第4の表示制御部」によって実行される処理の一例である。図4のS282及びS284が、「第5の表示制御部」によって実行される処理の一例である。 S140 in Figure 3 is an example of processing performed by the "Specific Information Receiving Unit". S242 and S244 in Figure 4 are examples of processing performed by the "First Display Control Unit". S260, executed via S242 or S244, is an example of processing performed by the "First Establishment Unit". S330 in Figure 6 is an example of processing performed by the "Second Establishment Unit". S260, executed via YES in S210 in Figure 4, is an example of processing performed by the "Re-establishment Unit". S262 is an example of processing performed by the "Second Display Control Unit". S282 and S284 are examples of processing performed by the "Third Display Control Unit". S312 in Figure 6 is an example of processing performed by the "Fourth Display Control Unit". S282 and S284 in Figure 4 are examples of processing performed by the "Fifth Display Control Unit".

(第2実施例)
続いて、第2実施例を説明する。本実施例では、アプリ40は、図4のS272において、接続履歴情報として、対象MACアドレスとWFD接続が確立された日時とを対応付けて記憶する。そして、アプリ40は、図4のS210でYESの場合に、対象MACアドレスに対応付けられている日時から所定時間(例えば1ヵ月)が経過しているのか否かを判断する。アプリ40は、所定時間が経過していると判断する場合に、S240に進み、所定時間が経過していないと判断する場合に、S212に進む。
(Second Example)
Next, a second embodiment will be described. In this embodiment, in S272 of Figure 4, application 40 stores the target MAC address and the date and time when the WFD connection was established as connection history information. Then, in S210 of Figure 4, if the answer is YES, application 40 determines whether a predetermined time (for example, one month) has elapsed since the date and time associated with the target MAC address. If application 40 determines that the predetermined time has elapsed, it proceeds to S240; if it determines that the predetermined time has not elapsed, it proceeds to S212.

例えば、端末装置10とMFP100との間にWFD接続が確立されてから長時間が経過していると、ユーザが設定変更画面SC1に応じた操作を実行することによってMFP100のWFD設定が「ON」から「OFF」に変更されたり、MFP100が初期化されることによってMFP100のWFD設定が「ON」から「OFF」に変更されたりしている可能性がある。このため、アプリ40は、接続履歴情報として対象MACアドレスを記憶している場合であっても、上記の所定時間が経過している場合には、操作画面SC30又はS32を表示する(S242、S244)。これにより、アプリ40は、MFP100とのWFD接続を適切に確立することができる。 For example, if a long time has passed since the WFD connection was established between the terminal device 10 and the MFP 100, the WFD setting of the MFP 100 may have been changed from "ON" to "OFF" by the user performing an operation corresponding to the setting change screen SC1, or the WFD setting of the MFP 100 may have been changed from "ON" to "OFF" by the MFP 100 being initialized. Therefore, even if the application 40 has stored the target MAC address as connection history information, if the above-mentioned predetermined time has elapsed, it will display the operation screen SC30 or S32 (S242, S244). This allows the application 40 to properly establish a WFD connection with the MFP 100.

(第3実施例)
続いて、第3実施例を説明する。本実施例では、アプリ40は、図4のS272において、接続履歴情報として、対象MACアドレスとWFD接続が確立された日時とを対応付けて記憶する。そして、アプリ40は、図4のS210でYESの場合に、対象MACアドレスに対応付けられている日時の個数、即ち、WFD接続が確立された回数である接続回数を特定し、接続回数が所定回数(例えば3回)未満であるのか否かを判断する。アプリ40は、接続回数が所定回数未満であると判断する場合に、S240に進み、接続回数が所定回数以上であると判断する場合に、S212に進む。
(Third embodiment)
Next, a third embodiment will be described. In this embodiment, in S272 of Figure 4, application 40 stores the target MAC address and the date and time when the WFD connection was established as connection history information. Then, in S210 of Figure 4, if the answer is YES, application 40 identifies the number of date and time associated with the target MAC address, that is, the number of times the WFD connection was established, and determines whether the number of connections is less than a predetermined number (for example, 3 times). If application 40 determines that the number of connections is less than the predetermined number, it proceeds to S240, and if it determines that the number of connections is equal to or greater than the predetermined number, it proceeds to S212.

接続回数が所定回数未満である場合には、MFP100に関するユーザの知識に乏しい可能性がある。そして、接続履歴情報としてMFP100のMACアドレスが記憶されている場合には、MFP100のWFD設定が「ON」に一旦変更されたはずであるが、その後、知識に乏しいユーザが、MFP100のWFD設定を「OFF」に変更している可能性がある。このため、アプリ40は、接続履歴情報として対象MACアドレスを記憶している場合であっても、接続回数が所定回数未満である場合には、操作画面SC30又はS32を表示する(S242、S244)。これにより、アプリ40は、MFP100とのWFD接続を適切に確立することができる。 If the number of connections is less than the predetermined number, it is possible that the user has limited knowledge about the MFP 100. Furthermore, if the MAC address of the MFP 100 is stored in the connection history information, the WFD setting of the MFP 100 should have been initially changed to "ON," but it is possible that a user with limited knowledge subsequently changed the WFD setting of the MFP 100 back to "OFF." Therefore, even if the application 40 stores the target MAC address in the connection history information, if the number of connections is less than the predetermined number, it displays the operation screen SC30 or S32 (S242, S244). This allows the application 40 to properly establish a WFD connection with the MFP 100.

以上、本明細書が開示する技術の具体例を詳細に説明したが、これらは例示に過ぎず、特許請求の範囲を限定するものではない。特許請求の範囲に記載の技術には、以上に例示した具体例を様々に変形、変更したものが含まれる。以下に変形例を列挙する。 The above provides a detailed description of specific examples of the technology disclosed herein; however, these are merely illustrative and do not limit the scope of the claims. The technology described in the claims includes various modifications and alterations of the examples exemplified above. Examples of these modifications are listed below.

(変形例1)NFC独立インターフェースを備える様々なモデルのMFPにおいて、WFD設定を「ON」に変更するための操作が共通である場合には、いずれのモデルのMFPのNFC独立インターフェースも、特定情報としてモデル名を記憶していなくてもよい。この場合、アプリ40は、図4のS240の判断を実行することなく、いずれのモデルのMFPにも共通する操作画面を表示すればよい。一般的に言うと、「特定情報」は、モデル名情報を含まなくてもよい。また、「第1の表示制御部」は、1種類の操作画面のみを表示部に表示させるものであってもよい。 (Modification 1) In various MFP models equipped with an independent NFC interface, if the operation to change the WFD setting to "ON" is common, the NFC independent interface of each MFP model does not need to store the model name as specific information. In this case, the application 40 can display an operation screen common to all MFP models without performing the decision in S240 of Figure 4. Generally speaking, "specific information" does not need to include model name information. Also, the "first display control unit" may display only one type of operation screen on the display unit.

(変形例2)図4のS210~S220の処理が省略されてもよい。一般的に言うと、「再確立部」は、第1の無線接続が切断された後に、無線リンクが再確立される場合に、操作画面が表示された後に、第1の無線接続を再確立させてもよい。 (Modification 2) The processes S210 to S220 in Figure 4 may be omitted. Generally speaking, the "re-establishment unit" may re-establish the first wireless connection after the operation screen is displayed, when the wireless link is re-established after the first wireless connection has been disconnected.

(変形例3)図4のS262の処理が省略されてもよい。本変形例では。「第2の表示制御部」を省略可能である。 (Modification 3) The process in S262 of Figure 4 may be omitted. In this modification, the "second display control unit" can be omitted.

(変形例4)図4のS250の処理が省略されてもよい。この場合、例えば、アプリ40は、所定のボタンの操作がユーザによって実行されることを監視し、当該操作が実行される場合に、S260に進んでもよい。また、例えば、アプリ40は、S242又はS252で操作画面SC30又はSC32を表示した後に、S260に直ちに進んでもよい。一般的に言うと、「第1の確立部」は、無線リンクが再確立されなくても、第1の無線接続を確立させてもよい。 (Modification 4) The process at S250 in Figure 4 may be omitted. In this case, for example, the application 40 may monitor whether a predetermined button is operated by the user, and if the operation is performed, it may proceed to S260. Alternatively, for example, the application 40 may immediately proceed to S260 after displaying the operation screen SC30 or SC32 in S242 or S252. Generally speaking, the "first establishment unit" may establish the first wireless connection even if the wireless link is not re-established.

(変形例5)図4のS280~S284の処理が省略されてもよい。本変形例では、「第3の表示制御部」及び「第5の表示制御部」を省略可能である。 (Modification 5) The processes S280 to S284 in Figure 4 may be omitted. In this modification, the "third display control unit" and the "fifth display control unit" can be omitted.

(変形例6)エラー画面SC40は、メッセージ342を含んでいなくてもよいし、エラー画面SC42は、メッセージ352を含んでいなくてもよい。一般的に言うと、「第1のエラー画面」は、変更操作を示すメッセージを含んでいなくてもよい。 (Variation 6) Error screen SC40 does not need to include message 342, and error screen SC42 does not need to include message 352. Generally speaking, the "first error screen" does not need to include a message indicating a change operation.

(変形例7)MFP200がG/Oとして動作する無線ネットワークに所属する子局の数が上限に達していても、MFP200のNFCタグインターフェース220は、エラー情報を記憶しなくてもよい。即ち、MFP200から受信される特定情報は、エラー情報を含まなくてもよい。この場合、図6のS310及びS312の処理が省略されてもよい。本変形例では、「第4の表示制御部」を省略可能である。 (Modification 7) Even if the number of slave stations belonging to the wireless network in which the MFP 200 operates as a G/O reaches its upper limit, the NFC tag interface 220 of the MFP 200 does not need to store error information. That is, the specific information received from the MFP 200 does not need to include error information. In this case, the processes S310 and S312 in Figure 6 may be omitted. In this modification, the "fourth display control unit" can be omitted.

(変形例8)MFP200がエラー情報を含む特定情報を端末装置10に送信する状況は、MFP200がG/Oとして動作する無線ネットワークに所属する子局が上限数に達している状況に限られない。例えば、MFP200は、WFDのクライアントとして動作している場合も、端末装置10とのWFD接続を確立することができない。この場合、特定情報は、MFP200がWFDのクライアントとして動作していることを示すエラー情報を含んでいてもよい。そして、図6のS312では、MFP200がWFDのクライアントとして動作していることを示すエラー画面が表示されてもよい。 (Modification 8) The situation in which the MFP 200 transmits specific information including error information to the terminal device 10 is not limited to the situation in which the number of slave stations belonging to the wireless network in which the MFP 200 operates as a G/O has reached its upper limit. For example, even when the MFP 200 is operating as a WFD client, it may not be able to establish a WFD connection with the terminal device 10. In this case, the specific information may include error information indicating that the MFP 200 is operating as a WFD client. Then, in S312 of Figure 6, an error screen indicating that the MFP 200 is operating as a WFD client may be displayed.

(変形例9)「第1の通信規格」は、NFC規格に限定されず、例えば、TransferJet規格であってもよい。「第2の通信規格」は、Wi-Fi規格に限定されず、例えば、Bluetooth(登録商標)規格であってもよい。 (Modification 9) The "first communication standard" is not limited to the NFC standard, but may be, for example, the TransferJet standard. The "second communication standard" is not limited to the Wi-Fi standard, but may be, for example, the Bluetooth® standard.

(変形例10)「所定方式」は、WFD方式に限定されず、SoftAP方式であってもよい。 (Modification 10) The "prescribed method" is not limited to the WFD method, but may also be the SoftAP method.

(変形例11)「通信装置」は、MFPに限定されず、プリンタ、スキャナ、端末装置、PC、サーバ等の他のデバイスであってもよい。 (Modification 11) The term "communication device" is not limited to an MFP, but may also refer to other devices such as printers, scanners, terminal devices, PCs, servers, etc.

(変形例11)上記の実施例では、図2~図4及び図6~図13の各処理がソフトウェア(例えばアプリ40)によって実行されるが、これらの各処理のうちの少なくとも1つが論理回路等のハードウェアによって実現されてもよい。 (Modification 11) In the above embodiment, each process in Figures 2 to 4 and Figures 6 to 13 is executed by software (e.g., application 40), but at least one of these processes may be implemented by hardware such as a logic circuit.

本明細書または図面に説明した技術要素は、単独で、あるいは各種の組合せによって技術的有用性を発揮するものであり、出願時請求項記載の組合せに限定されるものではない。また、本明細書または図面に例示した技術は複数目的を同時に達成し得るものであり、そのうちの一つの目的を達成すること自体で技術的有用性を持つものである。 The technical elements described herein or in the drawings demonstrate technical utility individually or in various combinations, and are not limited to the combinations specified in the claims at the time of filing. Furthermore, the technologies illustrated herein or in the drawings can achieve multiple objectives simultaneously, and achieving even one of these objectives constitutes technical utility.

本特許出願時の特許請求の範囲において、各請求項が一部の請求項のみに従属している場合であっても、各請求項が当該一部の請求項のみに従属可能であることに限定されない。技術的に矛盾しない範囲において、各請求項は、出願時に従属していない他の請求項にも従属可能である。即ち、各請求項の技術は以下のように様々に組み合わせることができる。
(項目1)
端末装置のためのコンピュータプログラムであって、
前記端末装置は、
第1の通信規格に応じた無線通信を実行するための第1の無線インターフェースと、
前記第1の通信規格とは異なる第2の通信規格に応じた無線通信を実行するための第2の無線インターフェースと、
表示部と、
コンピュータと、を備え、
前記コンピュータプログラムは、前記コンピュータを、以下の各部、即ち、
前記端末装置が通信装置に近づけられることに応じて、前記第1の無線インターフェースと、前記通信装置の第3の無線インターフェースであって、前記第1の通信規格に応じた無線通信を実行するための前記第3の無線インターフェースと、の間に無線リンクが確立される場合に、前記無線リンクを利用して、前記第3の無線インターフェースから、前記第1の無線インターフェースを介して、特定情報を受信する特定情報受信部であって、前記特定情報は、前記第3の無線インターフェースの種別を示す種別情報を含む、前記特定情報受信部と、
前記種別情報が、前記通信装置の制御部から独立している第1種の無線インターフェースを示す場合に、前記通信装置の状態を、前記第2の通信規格の所定方式の機能が無効化されている無効化状態から、前記所定方式の前記機能が有効化されている有効化状態に変更するための変更操作を示す操作画面を前記表示部に表示させる第1の表示制御部であって、前記種別情報が、前記第1種の無線インターフェースとは異なる第2種の無線インターフェースであって、前記通信装置の前記制御部から独立していない前記第2種の無線インターフェースを示す場合に、前記操作画面は表示されない、前記第1の表示制御部と、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記変更操作が前記通信装置に実行される場合に、前記第2の無線インターフェースと、前記通信装置の第4の無線インターフェースであって、前記第2の通信規格に応じた無線通信を実行するための前記第4の無線インターフェースと、の間に、前記所定方式に従った第1の無線接続を確立させる第1の確立部と、
前記種別情報が前記第2種の無線インターフェースを示す場合に、前記変更操作が前記通信装置に実行されなくても、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に、前記所定方式に従った第2の無線接続を確立させる第2の確立部と、
として機能させる、コンピュータプログラム。
(項目2)
前記種別情報が前記第1種の無線インターフェースを示す場合に、前記特定情報は、さらに、前記通信装置のモデル名を示すモデル名情報を含み、
前記第1の表示制御部は、複数個のモデル名に対応する複数個の操作画面のうち、前記モデル名情報によって示される前記モデル名に対応する前記操作画面を前記表示部に表示させる、項目1に記載のコンピュータプログラム。
(項目3)
前記コンピュータプログラムは、前記コンピュータを、さらに、
前記第1の無線接続が切断された後に、前記第1の無線インターフェースと前記第3の無線インターフェースとの間に前記無線リンクが再確立される場合に、前記操作画面が前記表示部に表示されることなく、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続を再確立させる再確立部として機能させる、項目1又は2に記載のコンピュータプログラム。
(項目4)
前記コンピュータプログラムは、前記コンピュータを、さらに、
前記第1の無線接続が切断された後に、前記第1の無線インターフェースと前記第3の無線インターフェースとの間に前記無線リンクが再確立される場合に、前記通信装置において所定の接続操作を実行すべきことを促す通知画面を前記表示部に表示させる第2の表示制御部であって、前記所定の接続操作は、前記第1の無線接続を再確立するための通信を前記通信装置に実行させるための操作である、前記第2の表示制御部として機能させ、
前記再確立部は、前記通信装置において前記所定の接続操作が実行される場合に、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続を再確立させる、項目3に記載のコンピュータプログラム。
(項目5)
前記第1の確立部は、前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記変更操作が前記通信装置に実行され、かつ、前記第1の無線インターフェースと前記第3の無線インターフェースとの間に前記無線リンクが再確立される場合に、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続を確立させる、項目1から4のいずれか一項に記載のコンピュータプログラム。
(項目6)
前記コンピュータプログラムは、前記コンピュータを、さらに、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記変更操作が前記通信装置に実行されることなく、前記第1の無線インターフェースと前記第3の無線インターフェースとの間に前記無線リンクが再確立される場合に、第1のエラー画面を前記表示部に表示させる第3の表示制御部として機能させる、項目5に記載のコンピュータプログラム。
(項目7)
前記第1のエラー画面は、前記変更操作を示すメッセージを含む、項目6に記載のコンピュータプログラム。
(項目8)
前記第1の表示制御部は、前記第1のエラー画面が前記表示部に表示された後に、前記第1の無線インターフェースと前記第3の無線インターフェースとの間に前記無線リンクが再確立される場合に、前記操作画面を前記表示部に表示させる、項目6又は7に記載のコンピュータプログラム。
(項目9)
前記種別情報が前記第2種の無線インターフェースを示し、かつ、前記通信装置の状態が前記有効化状態であり、かつ、前記通信装置が前記所定方式に従った無線接続を前記端末装置と確立不可能である場合に、前記特定情報は、さらに、エラー情報を含み、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記通信装置が前記所定方式に従った無線接続を前記端末装置と確立不可能である場合に、前記特定情報は、前記エラー情報を含まず、
前記コンピュータプログラムは、前記コンピュータを、さらに、
前記種別情報が前記第2種の無線インターフェースを示し、かつ、前記特定情報が前記エラー情報を含む場合に、第2のエラー画面を前記表示部に表示させる第4の表示制御部と、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記通信装置が前記所定方式に従った無線接続を前記端末装置と確立不可能であることに起因して前記第1の無線接続が確立されない場合に、第3のエラー画面を前記表示部に表示させる第5の表示制御部と、
として機能させる、項目1から8のいずれか一項に記載のコンピュータプログラム。
(項目10)
前記第1の表示制御部は、前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続が前回確立されてから所定時間が経過している場合に、前記操作画面を前記表示部に表示させ、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続が前回確立されてから前記所定時間が経過していない場合に、前記操作画面は表示されない、項目1から9のいずれか一項に記載のコンピュータプログラム。
(項目11)
前記第1の表示制御部は、前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続が確立された回数が所定回数未満である場合に、前記操作画面を前記表示部に表示させ、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続が確立された回数が所定回数以上である場合に、前記操作画面は表示されない、項目1から10のいずれか一項に記載のコンピュータプログラム。
(項目12)
前記第1の通信規格は、NFC(Near Field Communicationの略)規格であり、
前記第2の通信規格は、Wi-Fi規格である、項目1から11のいずれか一項に記載のコンピュータプログラム。
(項目13)
前記所定方式は、WFD(Wi-Fi Directの略)方式である、項目1から12のいずれか一項に記載のコンピュータプログラム。
Even if, in the claims of this patent application, each claim depends on only some of the claims, it is not limited to the claim being dependent only on those specific claims. To the extent that it is not technically contradictory, each claim may be dependent on other claims that were not dependent at the time of application. That is, the technologies of each claim can be combined in various ways as follows:
(Item 1)
A computer program for a terminal device,
The aforementioned terminal device is
A first wireless interface for performing wireless communication in accordance with a first communication standard,
A second wireless interface for performing wireless communication according to a second communication standard different from the first communication standard,
Display unit and
Equipped with a computer,
The aforementioned computer program comprises the following components of the computer, namely:
When the terminal device is brought closer to the communication device, and a wireless link is established between the first wireless interface and the third wireless interface of the communication device, which is for performing wireless communication according to the first communication standard, the specific information receiving unit receives specific information from the third wireless interface via the first wireless interface using the wireless link, wherein the specific information includes type information indicating the type of the third wireless interface.
A first display control unit that, when the type information indicates a first type wireless interface independent of the control unit of the communication device, causes the display unit to display an operation screen indicating a change operation to change the state of the communication device from a disabled state in which the function of a predetermined method of the second communication standard is disabled to an enabled state in which the function of the predetermined method is enabled, wherein the first display control unit does not display the operation screen when the type information indicates a second type wireless interface different from the first type wireless interface and which is not independent of the control unit of the communication device.
When the type information indicates the first type of wireless interface and the change operation is performed on the communication device, a first establishment unit establishes a first wireless connection in accordance with the predetermined method between the second wireless interface and the fourth wireless interface of the communication device, which is for performing wireless communication according to the second communication standard.
When the type information indicates the second type of wireless interface, a second establishment unit establishes a second wireless connection between the second wireless interface and the fourth wireless interface in accordance with the predetermined method, even if the change operation is not performed on the communication device.
A computer program that functions as such.
(Item 2)
When the type information indicates the first type of wireless interface, the specific information further includes model name information indicating the model name of the communication device.
The computer program described in item 1, wherein the first display control unit causes the display unit to display the operation screen corresponding to the model name indicated by the model name information, from among a plurality of operation screens corresponding to a plurality of model names.
(Item 3)
The aforementioned computer program further uses the computer,
The computer program according to item 1 or 2, which, when the wireless link is re-established between the first wireless interface and the third wireless interface after the first wireless connection has been disconnected, functions as a re-establishment unit that re-establishes the first wireless connection between the second wireless interface and the fourth wireless interface without the operation screen being displayed on the display unit.
(Item 4)
The aforementioned computer program further uses the computer,
A second display control unit, which causes the display unit to display a notification screen prompting the communication device to perform a predetermined connection operation when the wireless link is re-established between the first wireless interface and the third wireless interface after the first wireless connection has been disconnected, wherein the predetermined connection operation is an operation to cause the communication device to perform communication to re-establish the first wireless connection, functions as the second display control unit.
The re-establishment unit is a computer program according to item 3, which re-establishes the first wireless connection between the second wireless interface and the fourth wireless interface when the predetermined connection operation is performed in the communication device.
(Item 5)
The computer program according to any one of items 1 to 4, wherein the first establishment unit causes the first wireless connection to be established between the second wireless interface and the fourth wireless interface when the type information indicates a first type wireless interface, the change operation is performed on the communication device, and the wireless link is re-established between the first wireless interface and the third wireless interface.
(Item 6)
The aforementioned computer program further uses the computer,
The computer program according to item 5, which functions as a third display control unit that displays a first error screen on the display unit when the type information indicates a first type wireless interface and the wireless link is re-established between the first wireless interface and the third wireless interface without the change operation being performed on the communication device.
(Item 7)
The first error screen is the computer program described in item 6, which includes a message indicating the modification operation.
(Item 8)
The computer program according to item 6 or 7, wherein the first display control unit causes the operation screen to be displayed on the display unit when the wireless link is re-established between the first wireless interface and the third wireless interface after the first error screen has been displayed on the display unit.
(Item 9)
If the type information indicates the second type of wireless interface, and the state of the communication device is the enabled state, and the communication device is unable to establish a wireless connection with the terminal device in accordance with the predetermined method, the specific information further includes error information.
If the type information indicates the first type of wireless interface, and the communication device is unable to establish a wireless connection with the terminal device in accordance with the predetermined method, the specific information shall not include the error information.
The aforementioned computer program further uses the computer,
A fourth display control unit that causes a second error screen to be displayed on the display unit when the type information indicates the second type of wireless interface and the specific information includes the error information,
A fifth display control unit that displays a third error screen on the display unit when the type information indicates the first type of wireless interface and the first wireless connection cannot be established because the communication device is unable to establish a wireless connection with the terminal device in accordance with the predetermined method,
A computer program described in any one of items 1 through 8 that functions as such.
(Item 10)
The first display control unit causes the operation screen to be displayed on the display unit when the type information indicates a first type wireless interface and a predetermined amount of time has elapsed since the first wireless connection was last established between the second wireless interface and the fourth wireless interface.
The computer program according to any one of items 1 to 9, wherein the operation screen is not displayed when the type information indicates a first type wireless interface and the predetermined time has not elapsed since the first wireless connection was last established between the second wireless interface and the fourth wireless interface.
(Item 11)
The first display control unit causes the operation screen to be displayed on the display unit when the type information indicates a first type wireless interface and the number of times the first wireless connection has been established between the second wireless interface and the fourth wireless interface is less than a predetermined number of times.
The computer program according to any one of items 1 to 10, wherein the operation screen is not displayed when the type information indicates the first type of wireless interface, and the number of times the first wireless connection has been established between the second wireless interface and the fourth wireless interface is greater than or equal to a predetermined number of times.
(Item 12)
The first communication standard mentioned above is the NFC (Near Field Communication) standard,
The second communication standard is the Wi-Fi standard, and the computer program is one of the items 1 to 11.
(Item 13)
The computer program described in any one of items 1 to 12, wherein the predetermined method is the WFD (Wi-Fi Direct) method.

2:通信システム、10:端末装置、12:操作部、14:表示部、20:NFCインターフェース、22:Wi-Fiインターフェース、30:制御部、32:CPU、34:メモリ、36:OSプログラム、40:MFPアプリケーション、50:端末装置、60:AP、100:多機能機、112:操作部、114:表示部、116:印刷実行部、118:スキャン実行部、120:NFC独立インターフェース、122:Wi-Fiインターフェース、130:制御部、132:CPU、134:メモリ、136:プログラム、200:多機能機、212:操作部、214:表示部、216:印刷実行部、218:スキャン実行部、220:NFCタグインターフェース、222:Wi-Fiインターフェース、230:制御部、232:CPU、234:メモリ、236:プログラム 2: Communication system, 10: Terminal device, 12: Operation unit, 14: Display unit, 20: NFC interface, 22: Wi-Fi interface, 30: Control unit, 32: CPU, 34: Memory, 36: OS program, 40: MFP application, 50: Terminal device, 60: AP, 100: Multifunction device, 112: Operation unit, 114: Display unit, 116: Print execution unit, 118: Scan execution unit, 120: NFC independent Vertical interface, 122: Wi-Fi interface, 130: Control unit, 132: CPU, 134: Memory, 136: Program, 200: Multifunction unit, 212: Operation unit, 214: Display unit, 216: Print execution unit, 218: Scan execution unit, 220: NFC tag interface, 222: Wi-Fi interface, 230: Control unit, 232: CPU, 234: Memory, 236: Program

Claims (15)

端末装置のためのコンピュータプログラムであって、
前記端末装置は、
第1の通信規格に応じた無線通信を実行するための第1の無線インターフェースと、
前記第1の通信規格とは異なる第2の通信規格に応じた無線通信を実行するための第2の無線インターフェースと、
表示部と、
コンピュータと、を備え、
前記コンピュータプログラムは、前記コンピュータを、以下の各部、即ち、
前記端末装置が通信装置に近づけられることに応じて、前記第1の無線インターフェースと、前記通信装置の第3の無線インターフェースであって、前記第1の通信規格に応じた無線通信を実行するための前記第3の無線インターフェースと、の間に無線リンクが確立される場合に、前記無線リンクを利用して、前記第3の無線インターフェースから、前記第1の無線インターフェースを介して、特定情報を受信する特定情報受信部であって、前記特定情報は、前記第3の無線インターフェースの種別を示す種別情報を含む、前記特定情報受信部と、
前記種別情報が、前記通信装置の制御部から独立している第1種の無線インターフェースを示す場合に、前記通信装置の状態を、前記第2の通信規格の所定方式の機能が無効化されている無効化状態から、前記所定方式の前記機能が有効化されている有効化状態に変更するための変更操作を示す操作画面を前記表示部に表示させる第1の表示制御部であって、前記種別情報が、前記第1種の無線インターフェースとは異なる第2種の無線インターフェースであって、前記通信装置の前記制御部から独立していない前記第2種の無線インターフェースを示す場合に、前記操作画面は表示されない、前記第1の表示制御部と、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記変更操作が前記通信装置に実行される場合に、前記第2の無線インターフェースと、前記通信装置の第4の無線インターフェースであって、前記第2の通信規格に応じた無線通信を実行するための前記第4の無線インターフェースと、の間に、前記所定方式に従った第1の無線接続を確立させる第1の確立部と、
前記種別情報が前記第2種の無線インターフェースを示す場合に、前記変更操作が前記通信装置に実行されなくても、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に、前記所定方式に従った第2の無線接続を確立させる第2の確立部と、
として機能させる、コンピュータプログラム。
A computer program for a terminal device,
The aforementioned terminal device is
A first wireless interface for performing wireless communication in accordance with a first communication standard,
A second wireless interface for performing wireless communication according to a second communication standard different from the first communication standard,
Display unit and
Equipped with a computer,
The aforementioned computer program comprises the following components of the computer, namely:
When the terminal device is brought closer to the communication device, and a wireless link is established between the first wireless interface and the third wireless interface of the communication device, which is for performing wireless communication according to the first communication standard, the specific information receiving unit receives specific information from the third wireless interface via the first wireless interface using the wireless link, wherein the specific information includes type information indicating the type of the third wireless interface.
A first display control unit that, when the type information indicates a first type wireless interface independent of the control unit of the communication device, causes the display unit to display an operation screen indicating a change operation to change the state of the communication device from a disabled state in which the function of a predetermined method of the second communication standard is disabled to an enabled state in which the function of the predetermined method is enabled, wherein the first display control unit does not display the operation screen when the type information indicates a second type wireless interface different from the first type wireless interface and which is not independent of the control unit of the communication device.
When the type information indicates the first type of wireless interface and the change operation is performed on the communication device, a first establishment unit establishes a first wireless connection in accordance with the predetermined method between the second wireless interface and the fourth wireless interface of the communication device, which is for performing wireless communication according to the second communication standard.
When the type information indicates the second type of wireless interface, a second establishment unit establishes a second wireless connection between the second wireless interface and the fourth wireless interface in accordance with the predetermined method, even if the change operation is not performed on the communication device.
A computer program that functions as such.
前記種別情報が前記第1種の無線インターフェースを示す場合に、前記特定情報は、さらに、前記通信装置のモデル名を示すモデル名情報を含み、
前記第1の表示制御部は、複数個のモデル名に対応する複数個の操作画面のうち、前記モデル名情報によって示される前記モデル名に対応する前記操作画面を前記表示部に表示させる、請求項1に記載のコンピュータプログラム。
When the type information indicates the first type of wireless interface, the specific information further includes model name information indicating the model name of the communication device.
The computer program according to claim 1, wherein the first display control unit causes the display unit to display the operation screen corresponding to the model name indicated by the model name information, from among a plurality of operation screens corresponding to a plurality of model names.
前記コンピュータプログラムは、前記コンピュータを、さらに、
前記第1の無線接続が切断された後に、前記第1の無線インターフェースと前記第3の無線インターフェースとの間に前記無線リンクが再確立される場合に、前記操作画面が前記表示部に表示されることなく、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続を再確立させる再確立部として機能させる、請求項1に記載のコンピュータプログラム。
The aforementioned computer program further uses the computer,
The computer program according to claim 1, wherein, after the first wireless connection is disconnected, when the wireless link is re-established between the first wireless interface and the third wireless interface, the operation screen is not displayed on the display unit, and the re-establishment unit functions to re-establish the first wireless connection between the second wireless interface and the fourth wireless interface.
前記コンピュータプログラムは、前記コンピュータを、さらに、
前記第1の無線接続が切断された後に、前記第1の無線インターフェースと前記第3の無線インターフェースとの間に前記無線リンクが再確立される場合に、前記通信装置において所定の接続操作を実行すべきことを促す通知画面を前記表示部に表示させる第2の表示制御部であって、前記所定の接続操作は、前記第1の無線接続を再確立するための通信を前記通信装置に実行させるための操作である、前記第2の表示制御部として機能させ、
前記再確立部は、前記通信装置において前記所定の接続操作が実行される場合に、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続を再確立させる、請求項3に記載のコンピュータプログラム。
The aforementioned computer program further uses the computer,
A second display control unit, which causes the display unit to display a notification screen prompting the communication device to perform a predetermined connection operation when the wireless link is re-established between the first wireless interface and the third wireless interface after the first wireless connection has been disconnected, wherein the predetermined connection operation is an operation to cause the communication device to perform communication to re-establish the first wireless connection, functions as the second display control unit.
The computer program according to claim 3, wherein the re-establishment unit re-establishes the first wireless connection between the second wireless interface and the fourth wireless interface when the predetermined connection operation is performed in the communication device.
前記第1の確立部は、前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記変更操作が前記通信装置に実行され、かつ、前記第1の無線インターフェースと前記第3の無線インターフェースとの間に前記無線リンクが再確立される場合に、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続を確立させる、請求項1に記載のコンピュータプログラム。 The computer program according to claim 1, wherein the first establishment unit establishes the first wireless connection between the second wireless interface and the fourth wireless interface when the type information indicates the first type of wireless interface, the change operation is performed on the communication device, and the wireless link is re-established between the first wireless interface and the third wireless interface. 前記コンピュータプログラムは、前記コンピュータを、さらに、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記変更操作が前記通信装置に実行されることなく、前記第1の無線インターフェースと前記第3の無線インターフェースとの間に前記無線リンクが再確立される場合に、第1のエラー画面を前記表示部に表示させる第3の表示制御部として機能させる、請求項5に記載のコンピュータプログラム。
The aforementioned computer program further uses the computer,
The computer program according to claim 5, wherein the type information indicates a first type of wireless interface, and the wireless link is re-established between the first wireless interface and the third wireless interface without the change operation being performed on the communication device, the third display control unit is configured to display a first error screen on the display unit.
前記第1のエラー画面は、前記変更操作を示すメッセージを含む、請求項6に記載のコンピュータプログラム。 The computer program according to claim 6, wherein the first error screen includes a message indicating the modification operation. 前記第1の表示制御部は、前記第1のエラー画面が前記表示部に表示された後に、前記第1の無線インターフェースと前記第3の無線インターフェースとの間に前記無線リンクが再確立される場合に、前記操作画面を前記表示部に表示させる、請求項6に記載のコンピュータプログラム。 The computer program according to claim 6, wherein the first display control unit causes the operation screen to be displayed on the display unit when the wireless link is re-established between the first wireless interface and the third wireless interface after the first error screen has been displayed on the display unit. 前記種別情報が前記第2種の無線インターフェースを示し、かつ、前記通信装置の状態が前記有効化状態であり、かつ、前記通信装置が前記所定方式に従った無線接続を前記端末装置と確立不可能である場合に、前記特定情報は、さらに、エラー情報を含み、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記通信装置が前記所定方式に従った無線接続を前記端末装置と確立不可能である場合に、前記特定情報は、前記エラー情報を含まず、
前記コンピュータプログラムは、前記コンピュータを、さらに、
前記種別情報が前記第2種の無線インターフェースを示し、かつ、前記特定情報が前記エラー情報を含む場合に、第2のエラー画面を前記表示部に表示させる第4の表示制御部と、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記通信装置が前記所定方式に従った無線接続を前記端末装置と確立不可能であることに起因して前記第1の無線接続が確立されない場合に、第3のエラー画面を前記表示部に表示させる第5の表示制御部と、
として機能させる、請求項1に記載のコンピュータプログラム。
If the type information indicates the second type of wireless interface, and the state of the communication device is the enabled state, and the communication device is unable to establish a wireless connection with the terminal device in accordance with the predetermined method, the specific information further includes error information.
If the type information indicates the first type of wireless interface, and the communication device is unable to establish a wireless connection with the terminal device in accordance with the predetermined method, the specific information shall not include the error information.
The aforementioned computer program further uses the computer,
A fourth display control unit that causes a second error screen to be displayed on the display unit when the type information indicates the second type of wireless interface and the specific information includes the error information,
A fifth display control unit that displays a third error screen on the display unit when the type information indicates the first type of wireless interface and the first wireless connection cannot be established because the communication device is unable to establish a wireless connection with the terminal device in accordance with the predetermined method,
A computer program according to claim 1, which functions as such.
前記第1の表示制御部は、前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続が前回確立されてから所定時間が経過している場合に、前記操作画面を前記表示部に表示させ、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続が前回確立されてから前記所定時間が経過していない場合に、前記操作画面は表示されない、請求項1に記載のコンピュータプログラム。
The first display control unit causes the operation screen to be displayed on the display unit when the type information indicates a first type wireless interface and a predetermined amount of time has elapsed since the first wireless connection was last established between the second wireless interface and the fourth wireless interface.
The computer program according to claim 1, wherein the type information indicates a first type of wireless interface, and the predetermined time has not elapsed since the first wireless connection was last established between the second wireless interface and the fourth wireless interface.
前記第1の表示制御部は、前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続が確立された回数が所定回数未満である場合に、前記操作画面を前記表示部に表示させ、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に前記第1の無線接続が確立された回数が所定回数以上である場合に、前記操作画面は表示されない、請求項1に記載のコンピュータプログラム。
The first display control unit causes the operation screen to be displayed on the display unit when the type information indicates a first type wireless interface and the number of times the first wireless connection has been established between the second wireless interface and the fourth wireless interface is less than a predetermined number of times.
The computer program according to claim 1, wherein the type information indicates a first type of wireless interface, and the number of times the first wireless connection has been established between the second wireless interface and the fourth wireless interface is greater than or equal to a predetermined number of times.
前記第1の通信規格は、NFC(Near Field Communicationの略)規格であり、
前記第2の通信規格は、Wi-Fi規格である、請求項1に記載のコンピュータプログラム。
The first communication standard mentioned above is the NFC (Near Field Communication) standard,
The computer program according to claim 1, wherein the second communication standard is the Wi-Fi standard.
前記所定方式は、WFD(Wi-Fi Directの略)方式である、請求項1に記載のコンピュータプログラム。 The computer program according to claim 1, wherein the predetermined method is the WFD (Wi-Fi Direct) method. 端末装置であって、
第1の通信規格に応じた無線通信を実行するための第1の無線インターフェースと、
前記第1の通信規格とは異なる第2の通信規格に応じた無線通信を実行するための第2の無線インターフェースと、
表示部と、
前記端末装置が通信装置に近づけられることに応じて、前記第1の無線インターフェースと、前記通信装置の第3の無線インターフェースであって、前記第1の通信規格に応じた無線通信を実行するための前記第3の無線インターフェースと、の間に無線リンクが確立される場合に、前記無線リンクを利用して、前記第3の無線インターフェースから、前記第1の無線インターフェースを介して、特定情報を受信する特定情報受信部であって、前記特定情報は、前記第3の無線インターフェースの種別を示す種別情報を含む、前記特定情報受信部と、
前記種別情報が、前記通信装置の制御部から独立している第1種の無線インターフェースを示す場合に、前記通信装置の状態を、前記第2の通信規格の所定方式の機能が無効化されている無効化状態から、前記所定方式の前記機能が有効化されている有効化状態に変更するための変更操作を示す操作画面を前記表示部に表示させる第1の表示制御部であって、前記種別情報が、前記第1種の無線インターフェースとは異なる第2種の無線インターフェースであって、前記通信装置の前記制御部から独立していない前記第2種の無線インターフェースを示す場合に、前記操作画面は表示されない、前記第1の表示制御部と、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記変更操作が前記通信装置に実行される場合に、前記第2の無線インターフェースと、前記通信装置の第4の無線インターフェースであって、前記第2の通信規格に応じた無線通信を実行するための前記第4の無線インターフェースと、の間に、前記所定方式に従った第1の無線接続を確立させる第1の確立部と、
前記種別情報が前記第2種の無線インターフェースを示す場合に、前記変更操作が前記通信装置に実行されなくても、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に、前記所定方式に従った第2の無線接続を確立させる第2の確立部と、
を備える、端末装置。
A terminal device,
A first wireless interface for performing wireless communication in accordance with a first communication standard,
A second wireless interface for performing wireless communication according to a second communication standard different from the first communication standard,
Display unit and
When the terminal device is brought closer to the communication device, and a wireless link is established between the first wireless interface and the third wireless interface of the communication device, which is for performing wireless communication according to the first communication standard, the specific information receiving unit receives specific information from the third wireless interface via the first wireless interface using the wireless link, wherein the specific information includes type information indicating the type of the third wireless interface.
A first display control unit that, when the type information indicates a first type wireless interface independent of the control unit of the communication device, causes the display unit to display an operation screen indicating a change operation to change the state of the communication device from a disabled state in which the function of a predetermined method of the second communication standard is disabled to an enabled state in which the function of the predetermined method is enabled, wherein the first display control unit does not display the operation screen when the type information indicates a second type wireless interface different from the first type wireless interface and which is not independent of the control unit of the communication device.
When the type information indicates the first type of wireless interface and the change operation is performed on the communication device, a first establishment unit establishes a first wireless connection in accordance with the predetermined method between the second wireless interface and the fourth wireless interface of the communication device, which is for performing wireless communication according to the second communication standard.
When the type information indicates the second type of wireless interface, a second establishment unit establishes a second wireless connection between the second wireless interface and the fourth wireless interface in accordance with the predetermined method, even if the change operation is not performed on the communication device.
A terminal device equipped with the following features.
端末装置によって実行される方法であって、
前記端末装置は、
第1の通信規格に応じた無線通信を実行するための第1の無線インターフェースと、
前記第1の通信規格とは異なる第2の通信規格に応じた無線通信を実行するための第2の無線インターフェースと、
表示部と、を備え、
前記方法は、
前記端末装置が通信装置に近づけられることに応じて、前記第1の無線インターフェースと、前記通信装置の第3の無線インターフェースであって、前記第1の通信規格に応じた無線通信を実行するための前記第3の無線インターフェースと、の間に無線リンクが確立される場合に、前記無線リンクを利用して、前記第3の無線インターフェースから、前記第1の無線インターフェースを介して、特定情報を受信する特定情報受信工程であって、前記特定情報は、前記第3の無線インターフェースの種別を示す種別情報を含む、前記特定情報受信工程と、
前記種別情報が、前記通信装置の制御部から独立している第1種の無線インターフェースを示す場合に、前記通信装置の状態を、前記第2の通信規格の所定方式の機能が無効化されている無効化状態から、前記所定方式の前記機能が有効化されている有効化状態に変更するための変更操作を示す操作画面を前記表示部に表示させる第1の表示制御工程であって、前記種別情報が、前記第1種の無線インターフェースとは異なる第2種の無線インターフェースであって、前記通信装置の前記制御部から独立していない前記第2種の無線インターフェースを示す場合に、前記操作画面は表示されない、前記第1の表示制御工程と、
前記種別情報が前記第1種の無線インターフェースを示し、かつ、前記変更操作が前記通信装置に実行される場合に、前記第2の無線インターフェースと、前記通信装置の第4の無線インターフェースであって、前記第2の通信規格に応じた無線通信を実行するための前記第4の無線インターフェースと、の間に、前記所定方式に従った第1の無線接続を確立させる第1の確立工程と、
前記種別情報が前記第2種の無線インターフェースを示す場合に、前記変更操作が前記通信装置に実行されなくても、前記第2の無線インターフェースと前記第4の無線インターフェースとの間に、前記所定方式に従った第2の無線接続を確立させる第2の確立工程と、
を備える、方法。
A method performed by a terminal device,
The aforementioned terminal device is
A first wireless interface for performing wireless communication in accordance with a first communication standard,
A second wireless interface for performing wireless communication according to a second communication standard different from the first communication standard,
It includes a display unit,
The aforementioned method,
When the terminal device is brought closer to the communication device, and a wireless link is established between the first wireless interface and the third wireless interface of the communication device, which is for performing wireless communication according to the first communication standard, the specific information receiving step is to receive specific information from the third wireless interface via the first wireless interface using the wireless link, wherein the specific information includes type information indicating the type of the third wireless interface.
A first display control step in which, when the type information indicates a first type wireless interface independent of the control unit of the communication device, an operation screen indicating a change operation to change the state of the communication device from a disabled state in which the function of a predetermined method of the second communication standard is disabled to an enabled state in which the function of the predetermined method is enabled is displayed on the display unit, and the first display control step in which, when the type information indicates a second type wireless interface different from the first type wireless interface and the second type wireless interface is not independent of the control unit of the communication device, the operation screen is not displayed.
When the type information indicates the first type of wireless interface and the modification operation is performed on the communication device, a first establishment step is performed to establish a first wireless connection in accordance with the predetermined method between the second wireless interface and the fourth wireless interface of the communication device, which is for performing wireless communication according to the second communication standard.
When the type information indicates the second type of wireless interface, a second establishment step is performed to establish a second wireless connection between the second wireless interface and the fourth wireless interface in accordance with the predetermined method, even if the change operation is not performed on the communication device.
A method that includes [a certain feature].
JP2022138057A 2022-08-31 2022-08-31 Computer program for terminal device, terminal device, and method executed by terminal device Active JP7848638B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022138057A JP7848638B2 (en) 2022-08-31 2022-08-31 Computer program for terminal device, terminal device, and method executed by terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022138057A JP7848638B2 (en) 2022-08-31 2022-08-31 Computer program for terminal device, terminal device, and method executed by terminal device

Publications (2)

Publication Number Publication Date
JP2024034058A JP2024034058A (en) 2024-03-13
JP7848638B2 true JP7848638B2 (en) 2026-04-21

Family

ID=90193421

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022138057A Active JP7848638B2 (en) 2022-08-31 2022-08-31 Computer program for terminal device, terminal device, and method executed by terminal device

Country Status (1)

Country Link
JP (1) JP7848638B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017098901A (en) 2015-11-27 2017-06-01 セイコーエプソン株式会社 Electronic apparatus, wireless communication method, and program
JP2019175316A (en) 2018-03-29 2019-10-10 ブラザー工業株式会社 Computer program for terminal equipment and terminal equipment
JP2023162062A (en) 2022-04-26 2023-11-08 キヤノン株式会社 Communication device, control method for the same, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2017098901A (en) 2015-11-27 2017-06-01 セイコーエプソン株式会社 Electronic apparatus, wireless communication method, and program
JP2019175316A (en) 2018-03-29 2019-10-10 ブラザー工業株式会社 Computer program for terminal equipment and terminal equipment
JP2023162062A (en) 2022-04-26 2023-11-08 キヤノン株式会社 Communication device, control method for the same, and program

Also Published As

Publication number Publication date
JP2024034058A (en) 2024-03-13

Similar Documents

Publication Publication Date Title
JP6724338B2 (en) Communication equipment
JP6536226B2 (en) Communication equipment
US11395121B2 (en) Communication device, non-transitory computer-readable recording medium storing computer-readable instructions for communication device, and method executed by communication device
JP7608730B2 (en) First communication device, second communication device, and computer program for the first communication device
JP7135635B2 (en) Computer program for printers and terminals
JP6819418B2 (en) Computer programs for terminal devices and communication devices
JP6805856B2 (en) Computer program for communication equipment
JP7715265B2 (en) Computer program for terminal device and communication device
JP7070095B2 (en) Computer programs for communication devices and computer programs for communication devices and servers
JP7848638B2 (en) Computer program for terminal device, terminal device, and method executed by terminal device
JP7056725B2 (en) Computer programs for terminal devices and communication devices
JP7567269B2 (en) COMPUTER PROGRAM FOR TERMINAL DEVICE AND COMMUNICATION DEVICE
JP2024022195A (en) Computer program for a terminal device, terminal device, and method executed by the terminal device
JP7147221B2 (en) Application programs for communication equipment and terminal equipment
JP7070094B2 (en) Computer programs and communication equipment for communication equipment
JP2018117171A (en) Communication device
JP7044133B2 (en) Communication equipment
JP2024039959A (en) Computer program for terminal device and terminal device
JP7722497B2 (en) communication equipment
JP7815894B2 (en) Communication device, computer program for communication device, and application program for terminal device
JP7775731B2 (en) Communication device, computer program for communication device, and application program for terminal device
JP6819417B2 (en) Communication device
JP2026006289A (en) Communication device, terminal device, and computer program therefor
JP6773177B2 (en) Communication equipment
JP2026067314A (en) Information processing device, control method, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20250729

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20260323

R150 Certificate of patent or registration of utility model

Ref document number: 7848638

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150