JP2022031284A - Program and portable terminal - Google Patents

Program and portable terminal Download PDF

Info

Publication number
JP2022031284A
JP2022031284A JP2021189907A JP2021189907A JP2022031284A JP 2022031284 A JP2022031284 A JP 2022031284A JP 2021189907 A JP2021189907 A JP 2021189907A JP 2021189907 A JP2021189907 A JP 2021189907A JP 2022031284 A JP2022031284 A JP 2022031284A
Authority
JP
Japan
Prior art keywords
image processing
information
determination
processing device
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2021189907A
Other languages
Japanese (ja)
Other versions
JP7264213B2 (en
Inventor
紀彦 浅井
Norihiko Asai
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
Priority claimed from JP2017087110A external-priority patent/JP6984161B2/en
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2021189907A priority Critical patent/JP7264213B2/en
Publication of JP2022031284A publication Critical patent/JP2022031284A/en
Application granted granted Critical
Publication of JP7264213B2 publication Critical patent/JP7264213B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

PROBLEM TO BE SOLVED: To provide a program of portable terminal capable of discovering an image processing system appropriately in a communication network.
SOLUTION: A terminal program makes a portable terminal execute first retrieval processing (S13) for retrieving an image processing system by first method, second retrieval processing (S23) for retrieving the image processing system by second method different from the first method, in response to determination that the image processing system was not detected by the first retrieval processing (S14:No), first storage processing (S17) for storing device information identifying the image processing system, detected by first or second retrieval processing, as specific device information, and operation instruction processing (S18) for instructing the image processing system, identified by the specific device information, to execute image processing operation. One of the first and second methods is retrieval of the image processing system by broadcast, and the other is retrieval of the image processing system by unicast.
SELECTED DRAWING: Figure 4
COPYRIGHT: (C)2022,JPO&INPIT

Description

本発明は、画像処理装置に画像処理動作を実行させる携帯端末のプログラムに関する。 The present invention relates to a program of a mobile terminal that causes an image processing device to execute an image processing operation.

例えば特許文献1には、通信ネットワークを通じて通信可能な画像処理装置に画像処理動作を実行させる携帯端末の端末プログラムが開示されている。より詳細には、特許文献1の端末プログラムは、ユーザが指定した画像処理装置に、ユーザが指定した画像処理動作を実行させる。なお、画像処理動作とは、例えば、画像をシートに記録するプリント動作、原稿に記録された画像を読み取るスキャン動作等である。 For example, Patent Document 1 discloses a terminal program of a portable terminal that causes an image processing device capable of communicating through a communication network to perform an image processing operation. More specifically, the terminal program of Patent Document 1 causes an image processing device designated by the user to execute an image processing operation designated by the user. The image processing operation is, for example, a printing operation for recording an image on a sheet, a scanning operation for reading an image recorded on a document, and the like.

特許文献1に記載の端末プログラムは、装置情報の送信を要求する送信要求情報を通信ネットワークにブロードキャストし、送信要求情報の応答として装置情報を送信した画像処理装置の中から所望の画像処理装置をユーザに指定させる。これにより、通信可能な画像処理装置の中から所望の画像処理装置をユーザに指定させることができる。 The terminal program described in Patent Document 1 broadcasts transmission request information requesting transmission of device information to a communication network, and selects a desired image processing device from among image processing devices that transmit device information as a response to the transmission request information. Let the user specify. This makes it possible for the user to specify a desired image processing device from among the image processing devices capable of communicating.

特開2017-062736号公報Japanese Unexamined Patent Publication No. 2017-02726

しかしながら、ブロードキャストされた送信要求情報はルータを越えることができないので、異なるネットワークアドレスが割り当てられた画像処理装置を指定することができない。また、通信ネットワークのトラフィックが多い状態では、ブロードキャストされた送信要求情報が画像処理装置に届かない、或いは返信された装置情報が携帯端末に届かない場合がある。このように、画像処理装置を検索する方法が1つしか実装されていないとすると、画像処理装置を発見できない可能性がある。 However, since the broadcast transmission request information cannot cross the router, it is not possible to specify an image processing device to which a different network address is assigned. Further, when the traffic of the communication network is heavy, the broadcast transmission request information may not reach the image processing device, or the returned device information may not reach the mobile terminal. As described above, if only one method for searching the image processing device is implemented, there is a possibility that the image processing device cannot be found.

本発明は、上記の事情に鑑みてなされたものであり、その目的は、通信ネットワーク内において、画像処理装置を適切に発見することが可能な携帯端末のプログラムを提供することにある。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a program of a mobile terminal capable of appropriately discovering an image processing device in a communication network.

本明細書では様々な開示を行う。開示例の1つであるプログラムは、通信インタフェースと、入力インタフェースと、メモリとを備える携帯端末によって実行可能である。該プログラムは、前記通信インタフェースが接続された通信ネットワーク内において、画像処理動作を実行可能な画像処理装置を第1方法で検索する第1検索処理と、前記第1検索処理で前記画像処理装置を検出したか否かを判断する第1判断処理と、前記第1判断処理で前記画像処理装置を検出しなかったと判断したことに応じて、前記第1方法と異なる第2方法で前記画像処理装置を検索する第2検索処理と、前記第1検索処理或いは前記第2検索処理で検出した前記画像処理装置を識別する装置情報を、指定装置情報として前記メモリに記憶させる第1記憶処理と、前記メモリに記憶された前記指定装置情報で識別される前記画像処理装置に、前記画像処理動作の実行を指示する動作指示情報を前記通信インタフェースを通じて送信する動作指示処理とを前記携帯端末に実行させる。該プログラムは、前記第1検索処理及び前記第2検索処理の一方において、前記装置情報の送信を要求する送信要求情報を前記通信インタフェースを通じて前記通信ネットワークにブロードキャストする第1送信処理と、前記第1送信処理で送信した前記送信要求情報の応答として、前記通信インタフェースを通じて前記画像処理装置から前記装置情報を受信する第1受信処理とを前記携帯端末に実行させる。該プログラムは、前記第1検索処理及び前記第2検索処理の他方において、前記通信ネットワーク内で前記画像処理装置を識別するアドレス情報を入力するユーザ操作を、前記入力インタフェースを通じて受け付ける第1受付処理と、前記第1受付処理で入力を受け付けた前記アドレス情報で識別される前記画像処理装置に、前記通信インタフェースを通じて前記送信要求情報をユニキャストする第2送信処理と、前記第2送信処理で送信した前記送信要求情報の応答として、前記通信インタフェースを通じて前記画像処理装置から前記装置情報を受信する第2受信処理とを前記携帯端末に実行させる。該プログラムは、前記第1判断処理において、前記第1検索処理で前記送信要求情報を送信してから第1時間が経過する前に前記装置情報を受信したか否かを判断する。 Various disclosures are made herein. The program, which is one of the disclosure examples, can be executed by a mobile terminal including a communication interface, an input interface, and a memory. The program has a first search process for searching for an image processing device capable of performing an image processing operation in a communication network to which the communication interface is connected by a first method, and the image processing device in the first search process. Depending on the first determination process for determining whether or not the image processing device was detected and the determination that the image processing device was not detected in the first determination process, the image processing device is used in a second method different from the first method. The second search process for searching the image, the first storage process for storing the device information for identifying the image processing device detected in the first search process or the second search process in the memory as designated device information, and the above. The image processing device identified by the designated device information stored in the memory is made to execute the operation instruction processing for transmitting the operation instruction information instructing the execution of the image processing operation through the communication interface to the mobile terminal. The program has, in one of the first search process and the second search process, a first transmission process of broadcasting transmission request information requesting transmission of the device information to the communication network through the communication interface, and the first transmission process. As a response to the transmission request information transmitted in the transmission process, the mobile terminal is made to execute a first reception process of receiving the device information from the image processing device through the communication interface. In the other of the first search process and the second search process, the program receives a user operation for inputting address information for identifying the image processing device in the communication network as a first reception process through the input interface. The second transmission process of unicasting the transmission request information through the communication interface and the second transmission process of unicasting the transmission request information to the image processing device identified by the address information that received the input in the first reception process. As a response to the transmission request information, the mobile terminal is made to execute a second reception process of receiving the device information from the image processing device through the communication interface. In the first determination process, the program determines whether or not the device information is received before the first time elapses after the transmission request information is transmitted in the first search process.

上記構成によれば、第1方法で画像処理装置を検出できなかった場合に、第1方法と異なる第2方法で画像処理装置を検索するので、通信ネットワークに接続された画像処理装置を検出できる可能性が高まる。 According to the above configuration, when the image processing device cannot be detected by the first method, the image processing device is searched by a second method different from the first method, so that the image processing device connected to the communication network can be detected. The possibility increases.

一例として、送信要求情報のブロードキャストによって画像処理装置を検出できない場合、ユーザが指定したアドレス情報で識別される画像処理装置に送信要求情報がユニキャストされる。これにより、異なるネットワークアドレスが割り当てられた画像処理装置を指定する場合、或いは通信ネットワークのトラフィックが大きい場合でも、所望の画像処理装置を適切に検出できる可能性が高まる。他の例として、ユーザが指定したアドレス情報で識別される画像処理装置を検出できない場合、送信要求情報が通信ネットワークにブロードキャストされる。これにより、アドレス情報が誤入力された場合でも、画像処理装置を適切に検出できる可能性が高まる。 As an example, when the image processing device cannot be detected by broadcasting the transmission request information, the transmission request information is unicast to the image processing device identified by the address information specified by the user. This increases the possibility that the desired image processing device can be appropriately detected even when the image processing device to which a different network address is assigned is specified or the traffic of the communication network is heavy. As another example, if the image processing device identified by the address information specified by the user cannot be detected, the transmission request information is broadcast to the communication network. This increases the possibility that the image processing device can be appropriately detected even if the address information is erroneously input.

なお、「ブロードキャスト」とは、携帯端端末がブロードキャストアドレスを指定して通信ネットワークに送出した送信要求情報を、中継装置(例えば、スイッチ、ルータ等)が通信ネットワーク内の全ての装置に送信することに限定されず、携帯端末が通信ネットワーク内の全ての装置に送信要求情報を順番にユニキャストすることを指してもよい。 Note that "broadcast" means that a relay device (for example, a switch, a router, etc.) transmits transmission request information sent to a communication network by a mobile terminal terminal by designating a broadcast address to all devices in the communication network. It may be pointed out that the mobile terminal sequentially unicasts the transmission request information to all the devices in the communication network.

図1は、本実施形態に係るシステム100の概略図である。FIG. 1 is a schematic diagram of a system 100 according to the present embodiment. 図2(A)はMFP10のブロック図であり、図2(B)は携帯端末50のブロック図である。FIG. 2A is a block diagram of the MFP 10, and FIG. 2B is a block diagram of the mobile terminal 50. 図3は、メモリ62に記憶された履歴リストの例である。FIG. 3 is an example of a history list stored in the memory 62. 図4は、メイン処理のフローチャートである。FIG. 4 is a flowchart of the main process. 図5は、代替検索処理Aのフローチャートである。FIG. 5 is a flowchart of the alternative search process A. 図6は、代替検索処理Bのフローチャートである。FIG. 6 is a flowchart of the alternative search process B. 図7は、ディスプレイ53の表示例であって、(A)はメイン画面を、(B)はデバイス選択画面を示す。7A and 7B are display examples of the display 53, in which FIG. 7A shows a main screen and FIG. 7B shows a device selection screen. 図8は、ディスプレイ53の表示例であって、(A)は切替確認画面を、(B)は履歴選択画面を示す。8A and 8B are display examples of the display 53, in which FIG. 8A shows a switching confirmation screen and FIG. 8B shows a history selection screen. 図9は、ディスプレイ53の表示例であって、(A)はガイド画面を、(B)はアドレス入力画面を示す。9A and 9B are display examples of the display 53, in which FIG. 9A shows a guide screen and FIG. 9B shows an address input screen. 図10は、ディスプレイ53の表示例であって、(A)はエラー画面を、(B)は選択確認画面を示す。10A and 10B are display examples of the display 53, in which FIG. 10A shows an error screen and FIG. 10B shows a selection confirmation screen. 図11は、変形例に係るメイン処理のフローチャートである。FIG. 11 is a flowchart of the main process according to the modified example.

以下、適宜図面を参照して本発明の実施形態について説明する。なお、以下に説明され
る実施形態は本発明の一例にすぎず、本発明の要旨を変更しない範囲で、本発明の実施形態を適宜変更できることは言うまでもない。例えば、後述する各処理の実行順序は、本発明の要旨を変更しない範囲で、適宜変更することができる。
Hereinafter, embodiments of the present invention will be described with reference to the drawings as appropriate. It is needless to say that the embodiments described below are merely examples of the present invention, and the embodiments of the present invention can be appropriately changed without changing the gist of the present invention. For example, the execution order of each process described later can be appropriately changed without changing the gist of the present invention.

図1は、本実施形態に係るシステム100の概略図である。図1に示されるシステム100は、MFP10A、10B、10C、10D(以下、これらを総称して、「MFP10」と表記することがある。)と、携帯端末50とで構成されている。MFP10及び携帯端末50は、通信ネットワークを通じて通信可能に構成されている。通信ネットワークは、例えば、有線LAN、無線LAN102、103、或いはこれらの組み合わせであってもよい。また、本実施形態では、各装置に固定のIPアドレスが予め割り当てられていることを前提として以下の処理を説明するが、DHCP等によって動的に割り当てられてもよい。 FIG. 1 is a schematic diagram of a system 100 according to the present embodiment. The system 100 shown in FIG. 1 includes MFPs 10A, 10B, 10C, and 10D (hereinafter, these may be collectively referred to as "MFP10") and a mobile terminal 50. The MFP 10 and the mobile terminal 50 are configured to be communicable through a communication network. The communication network may be, for example, a wired LAN, a wireless LAN 102, 103, or a combination thereof. Further, in the present embodiment, the following processing will be described on the premise that a fixed IP address is assigned to each device in advance, but it may be dynamically assigned by DHCP or the like.

MFP10A、10B及び携帯端末50は、無線LAN102に属している。すなわち、携帯端末50は、アクセスポイント102Aを通じてMFP10A、10Bと無線通信が可能である。無線LAN102のネットワークアドレスは、“192.168.1.0/24”である。より詳細には、MFP10AにはIPアドレス“192.168.1.160”が割り当てられ、MFP10BにはIPアドレス“192.168.1.204”が割り当てられ、携帯端末50にはIPアドレス“192.168.1.15”が割り当てられているものとする。 The MFPs 10A and 10B and the mobile terminal 50 belong to the wireless LAN 102. That is, the mobile terminal 50 can wirelessly communicate with the MFPs 10A and 10B through the access point 102A. The network address of the wireless LAN 102 is "192.168.1.0/24". More specifically, the IP address "192.168.1.160" is assigned to the MFP 10A, the IP address "192.168.1.204" is assigned to the MFP 10B, and the IP address "192" is assigned to the mobile terminal 50. It is assumed that ".168.1.15" is assigned.

また、MFP10C、10Dは、無線LAN103に属している。無線LAN103のネットワークアドレスは、“192.168.2.0/24”である。より詳細には、MFP10CにはIPアドレス“192.168.2.84”が割り当てられ、MFP10DにはIPアドレス“192.168.2.211”が割り当てられているものとする。すなわち、無線LAN102、103は、異なるネットワークアドレスが割り当てられた通信ネットワークである。また、アクセスポイント102A、103Aには、異なるSSIDが割り当てられている。 Further, the MFPs 10C and 10D belong to the wireless LAN 103. The network address of the wireless LAN 103 is "192.168.2.0/24". More specifically, it is assumed that the MFP10C is assigned the IP address "192.168.2.24" and the MFP10D is assigned the IP address "192.168.2.211". That is, the wireless LANs 102 and 103 are communication networks to which different network addresses are assigned. Further, different SSIDs are assigned to the access points 102A and 103A.

さらに、アクセスポイント102A、103Aは、ルータ104に接続されている。すなわち、無線LAN102、103は、ルータ104を通じて相互に接続されている。これにより、携帯端末50は、アクセスポイント102A、ルータ104、アクセスポイント103Aを通じて、MFP10C、10Dと無線通信することができる。なお、本実施形態の「無線通信」とは、両端の装置(例えば、携帯端末50及びMFP10D)の間が全て無線区間であることに限定されず、一部(例えば、MFP10とアクセスポイント102A、103Aとの間、アクセスポイント102A、103Aとルータ104との間)が有線区間であってもよい。 Further, the access points 102A and 103A are connected to the router 104. That is, the wireless LANs 102 and 103 are connected to each other through the router 104. As a result, the mobile terminal 50 can wirelessly communicate with the MFPs 10C and 10D through the access point 102A, the router 104, and the access point 103A. The "wireless communication" of the present embodiment is not limited to the wireless section between the devices at both ends (for example, the mobile terminal 50 and the MFP 10D), and a part (for example, the MFP 10 and the access point 102A). The section between the access points 102A and 103A and the router 104) may be a wired section.

MFP10は、図2(A)に示されるように、プリンタ11と、スキャナ12とディスプレイ23と、入力I/F24と、通信I/F25と、CPU31と、メモリ32と、通信バス33とを主に備える。MFP10を構成する各構成要素は、通信バス33を通じて相互に接続されている。MFP10は、画像処理装置の一例である。 As shown in FIG. 2A, the MFP 10 mainly includes a printer 11, a scanner 12, a display 23, an input I / F 24, a communication I / F 25, a CPU 31, a memory 32, and a communication bus 33. Prepare for. The components constituting the MFP 10 are connected to each other through the communication bus 33. The MFP 10 is an example of an image processing device.

プリンタ11は、画像データで示される画像をシートに記録するプリント動作を実行するハードウェアである。プリンタ11の記録方式としては、インクジェット方式や電子写真方式などの公知の方式を採用することができる。スキャナ12は、原稿に記録されている画像を読み取って画像データを生成するスキャン動作を実行するハードウェアである。プリント動作及びスキャン動作は、画像処理動作の一例である。MFP10A、10B、10C、10Dは、少なくとも1つの画像処理動作を実行可能であればよい。さらに、MFP10A、10B、10C、10Dが実行可能な画像処理動作は、異なってもよい。 The printer 11 is hardware that executes a printing operation of recording an image represented by image data on a sheet. As the recording method of the printer 11, a known method such as an inkjet method or an electrophotographic method can be adopted. The scanner 12 is hardware that performs a scanning operation that reads an image recorded on a document and generates image data. The print operation and the scan operation are examples of image processing operations. The MFPs 10A, 10B, 10C, and 10D may be used as long as they can execute at least one image processing operation. Further, the image processing operations that the MFPs 10A, 10B, 10C, and 10D can perform may be different.

ディスプレイ23は、液晶ディスプレイ、有機ELディスプレイ等であり、各種情報を表示する表示画面を備える。 The display 23 is a liquid crystal display, an organic EL display, or the like, and includes a display screen for displaying various information.

入力I/F24は、ユーザによる入力操作を受け付けるユーザインタフェースである。具体的には、入力I/F24はボタンを有しており、押下されたボタンに対応づけられた各種の操作信号をCPU31へ出力する。さらに、入力I/F24は、ディスプレイ23の表示画面に重畳された膜状のタッチセンサを有していてもよい。ディスプレイ23の表示画面に表示されたオブジェクトを指定する操作、文字列或いは数字列を入力する操作は、ユーザ操作の一例である。「オブジェクト」とは、例えば、ディスプレイ23に表示された文字列、アイコン、ボタン、リンク、ラジオボタン、チェックボックス、プルダウンメニュー等である。 The input I / F 24 is a user interface that accepts an input operation by the user. Specifically, the input I / F 24 has a button, and outputs various operation signals associated with the pressed button to the CPU 31. Further, the input I / F 24 may have a film-like touch sensor superimposed on the display screen of the display 23. The operation of designating an object displayed on the display screen of the display 23 and the operation of inputting a character string or a number string are examples of user operations. The "object" is, for example, a character string, an icon, a button, a link, a radio button, a check box, a pull-down menu, or the like displayed on the display 23.

タッチセンサとして実現される入力I/F24は、ユーザがタッチした表示画面上の位置を示す位置情報を出力する。なお、本明細書中における「タッチ」とは、入力媒体を表示画面に接触させる操作全般を含む。また、入力媒体が表示画面に触れていなくても、表示画面との間の距離がごく僅かな位置まで入力媒体を近接させる「ホバー」或いは「フローティングタッチ」を、前述の「タッチ」の概念に含めてもよい。さらに入力媒体とは、ユーザの指であってもよいし、タッチペン等であってもよい。ディスプレイ23に表示されたオブジェクトの位置をタップするユーザ操作は、当該オブジェクトを指定するユーザ操作の一例である。 The input I / F 24 realized as a touch sensor outputs position information indicating a position on the display screen touched by the user. The term "touch" in the present specification includes all operations of bringing the input medium into contact with the display screen. Further, even if the input medium does not touch the display screen, the "hover" or "floating touch" that brings the input medium close to the position where the distance from the display screen is very small is used as the above-mentioned concept of "touch". May be included. Further, the input medium may be a user's finger, a stylus, or the like. The user operation of tapping the position of the object displayed on the display 23 is an example of the user operation of designating the object.

通信I/F25は、通信ネットワーク101を通じて外部装置と通信可能なインタフェースである。すなわち、MFP10は、通信I/F25を通じて外部装置に各種情報を送信し、通信I/F25を通じて外部装置から各種情報を受信する。通信I/F25の具体的な通信手順は特に限定されないが、例えば、Wi-Fi(登録商標)を採用することができる。 The communication I / F 25 is an interface capable of communicating with an external device through the communication network 101. That is, the MFP 10 transmits various information to the external device through the communication I / F25, and receives various information from the external device through the communication I / F25. The specific communication procedure of the communication I / F 25 is not particularly limited, but for example, Wi-Fi (registered trademark) can be adopted.

CPU31は、MFP10の全体動作を制御するものである。CPU31は、入力I/F24から出力される各種情報、通信I/F25を通じて外部装置から受信した各種情報等に基づいて、後述する各種プログラムをメモリ32から取得して実行する。CPU31及びメモリ32は、コントローラの一例を構成する。 The CPU 31 controls the overall operation of the MFP 10. The CPU 31 acquires and executes various programs described later from the memory 32 based on various information output from the input I / F 24, various information received from the external device through the communication I / F 25, and the like. The CPU 31 and the memory 32 form an example of a controller.

メモリ32は、OS34と、装置プログラム35とを記憶している。装置プログラム35は、単一のプログラムであってもよいし、複数のプログラムの集合体であってもよい。また、メモリ32は、装置プログラム35の実行に必要なデータ或いは情報等を記憶する。メモリ32は、例えば、RAM、ROM、EEPROM、HDD、MFP10に着脱されるUSBメモリ等の可搬記憶媒体、CPU31が備えるバッファ等、或いはそれらの組み合わせによって構成される。 The memory 32 stores the OS 34 and the device program 35. The device program 35 may be a single program or a collection of a plurality of programs. Further, the memory 32 stores data or information necessary for executing the device program 35. The memory 32 is composed of, for example, a RAM, a ROM, an EEPROM, an HDD, a portable storage medium such as a USB memory attached to and detached from the MFP 10, a buffer included in the CPU 31, or a combination thereof.

メモリ32は、コンピュータが読み取り可能なストレージ媒体であってもよい。コンピュータが読み取り可能なストレージ媒体とは、non-transitoryな媒体である。non-transitoryな媒体には、上記の例の他に、CD-ROM、DVD-ROM等の記録媒体も含まれる。また、non-transitoryな媒体は、tangibleな媒体でもある。一方、インターネット上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non-transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。後述する携帯端末50のメモリ62についても同様である。 The memory 32 may be a computer-readable storage medium. A computer-readable storage medium is a non-transitional medium. In addition to the above examples, the non-transitory medium also includes recording media such as a CD-ROM and a DVD-ROM. The non-transitory medium is also a tangible medium. On the other hand, an electric signal that carries a program downloaded from a server on the Internet is a signal medium that can be read by a computer, which is a kind of medium that can be read by a computer, but is a storage that can be read by a non-transitory computer. Not included in the medium. The same applies to the memory 62 of the mobile terminal 50 described later.

携帯端末50は、図2(B)に示されるように、ディスプレイ53と、入力I/F54と、通信I/F55と、CPU61と、メモリ62と、通信バス63とを主に備える。携帯端末50に含まれるディスプレイ53、入力I/F54、通信I/F55、CPU61、メモリ62、及び通信バス63は、MFP10に含まれるディスプレイ23、入力I/F24、通信I/F25、CPU31、メモリ32、及び通信バス33と同様の構成であるので、説明は省略する。CPU61及びメモリ62は、コントローラの一例である。 As shown in FIG. 2B, the mobile terminal 50 mainly includes a display 53, an input I / F 54, a communication I / F 55, a CPU 61, a memory 62, and a communication bus 63. The display 53, the input I / F 54, the communication I / F 55, the CPU 61, the memory 62, and the communication bus 63 included in the mobile terminal 50 are the display 23, the input I / F 24, the communication I / F 25, the CPU 31, and the memory included in the MFP 10. Since the configuration is the same as that of 32 and the communication bus 33, the description thereof will be omitted. The CPU 61 and the memory 62 are examples of the controller.

携帯端末50は、例えば、携帯電話、スマートフォン、或いはタブレット端末等である。より詳細には、携帯端末50のディスプレイ53は、表示画面のサイズが12インチ以下、より好ましくは8インチ以下であるのが望ましい。また、携帯端末50の入力I/F54は、ディスプレイ53の表示画面に重ねられたタッチセンサであるのが望ましい。 The mobile terminal 50 is, for example, a mobile phone, a smartphone, a tablet terminal, or the like. More specifically, the display 53 of the mobile terminal 50 preferably has a display screen size of 12 inches or less, more preferably 8 inches or less. Further, it is desirable that the input I / F 54 of the mobile terminal 50 is a touch sensor superimposed on the display screen of the display 53.

メモリ62は、OS64と、端末プログラム65とを記憶している。また、メモリ62は、例えば図3に示されるように、履歴リストを記憶することができる。履歴リストは、1以上の履歴レコードを含む。履歴レコードは、後述するS64で端末プログラム65によって履歴リストに登録される。履歴レコードは、例えば、装置IDと、履歴IPアドレスと、接続フラグと、時刻情報とを含む。 The memory 62 stores the OS 64 and the terminal program 65. Further, the memory 62 can store a history list, for example, as shown in FIG. The history list contains one or more history records. The history record is registered in the history list by the terminal program 65 in S64 described later. The history record includes, for example, a device ID, a history IP address, a connection flag, and time information.

装置IDは、MFP10を識別する装置情報の一例である。装置IDは、例えば、通信I/F25に割り当てられたMACアドレス、或いはMFP10のモデル名などであってもよい。本実施形態では、MFP10Aが装置ID“MFP-A”で識別され、MFP10Bが装置ID“MFP-B”で識別され、MFP10Cが装置ID“MFP-C”で識別され、MFP10Dが装置ID“MFP-D”で識別される。履歴IPアドレスは、装置IDで識別されるMFP10に割り当てられた履歴アドレス情報の一例である。 The device ID is an example of device information that identifies the MFP 10. The device ID may be, for example, the MAC address assigned to the communication I / F25, the model name of the MFP10, or the like. In this embodiment, the MFP10A is identified by the device ID "MFP-A", the MFP10B is identified by the device ID "MFP-B", the MFP10C is identified by the device ID "MFP-C", and the MFP10D is the device ID "MFP". -D "identified. The historical IP address is an example of historical address information assigned to the MFP 10 identified by the device ID.

接続フラグは、装置IDで識別されるMFP10と通信できたか否かを示す情報である。接続フラグには、MFP10と通信できたことに対応する第1値“ON”、或いはMFP10と通信できなかったことに対応する第2値“OFF”が設定される。時刻情報は、接続フラグに第2値“OFF”を設定した時刻を示す情報である。すなわち、時刻情報は、対応する接続フラグに第2値“OFF”が設定された履歴レコードのみに含まれる。 The connection flag is information indicating whether or not communication has been possible with the MFP 10 identified by the device ID. In the connection flag, the first value "ON" corresponding to the communication with the MFP 10 or the second value "OFF" corresponding to the failure to communicate with the MFP 10 is set. The time information is information indicating the time when the second value "OFF" is set in the connection flag. That is, the time information is included only in the history record in which the second value "OFF" is set in the corresponding connection flag.

また図示は省略するが、メモリ62は、モード情報を記憶している。モード情報は、通信I/F55を通じた外部装置との通信を許可するか否かを示す情報(以下、「Wi-Fiモード」と表記することがある。)である。モード情報には、外部装置との通信を許可することに対応する第3値“ON”、或いは外部装置との通信を許可しないことに対応する第4値“OFF”が設定される。モード情報の設定値は、例えば、入力I/F54を通じてユーザ操作によって切り替えられてもよいし、端末プログラム65によって切り替えられてもよい。 Although not shown, the memory 62 stores mode information. The mode information is information indicating whether or not communication with an external device is permitted through the communication I / F 55 (hereinafter, may be referred to as "Wi-Fi mode"). In the mode information, a third value "ON" corresponding to permitting communication with an external device or a fourth value "OFF" corresponding to not permitting communication with an external device is set. The set value of the mode information may be switched by a user operation through the input I / F 54, or may be switched by the terminal program 65, for example.

すなわち、通信I/F55は、モード情報に第3値“ON”が設定されているときに、アクセスポイント102Aから送信されるビーコン信号を監視し、ビーコン信号を受信したことに応じて送信元のアクセスポイント102Aと接続する。そして、携帯端末50は、アクセスポイント102Aとが接続された通信I/F55を通じて、外部装置と通信することができる。一方、通信I/F55は、モード情報に第4値“OFF”が設定されているときに、ビーコン信号を監視しない。すなわち、通信I/F55は、アクセスポイント102Aと接続されない。その結果、携帯端末50は、通信I/F55を通じて外部装置と通信することができない。 That is, the communication I / F55 monitors the beacon signal transmitted from the access point 102A when the third value “ON” is set in the mode information, and the transmission source responds to the reception of the beacon signal. Connect to access point 102A. Then, the mobile terminal 50 can communicate with the external device through the communication I / F 55 connected to the access point 102A. On the other hand, the communication I / F55 does not monitor the beacon signal when the fourth value "OFF" is set in the mode information. That is, the communication I / F 55 is not connected to the access point 102A. As a result, the mobile terminal 50 cannot communicate with the external device through the communication I / F 55.

また図示は省略するが、メモリ62は、指定装置IDを記憶することができる。指定装置IDは、入力I/F54を通じてユーザが指定したMFP10(以下、「指定装置」と表記する。)を識別する指定装置情報の一例である。すなわち、指定装置IDは、指定装置から受信した装置IDである。さらに図示は省略するが、メモリ62には、データフォルダが設けられていてもよい。データフォルダには、例えば、写真データ、文書データ、プレゼンテーションデータ、表計算データ等が格納されていてもよい。データフォルダに記憶されている各種データは、プリント動作の対象となり得るデータである。 Although not shown, the memory 62 can store the designated device ID. The designated device ID is an example of designated device information that identifies the MFP 10 (hereinafter, referred to as “designated device”) designated by the user through the input I / F 54. That is, the designated device ID is a device ID received from the designated device. Further, although not shown, the memory 62 may be provided with a data folder. For example, photo data, document data, presentation data, spreadsheet data, and the like may be stored in the data folder. The various data stored in the data folder are data that can be the target of the print operation.

[システム100の動作]
図4~図6を参照して、本実施形態に係るシステム100の動作を説明する。なお、メイン処理の開始時点において、図3に示されるように、履歴リストに3つの履歴レコードが登録されているものとする。
[Operation of system 100]
The operation of the system 100 according to the present embodiment will be described with reference to FIGS. 4 to 6. At the start of the main process, it is assumed that three history records are registered in the history list as shown in FIG.

本明細書のフローチャートは、基本的に、プログラムに記述された命令に従ったCPU31、61の処理を示す。すなわち、以下の説明における「判断」、「抽出」、「選択」、「算出」、「決定」、「特定」、「制御」等の処理は、CPU31、61の処理を表している。CPU31、61による処理は、OS34、64を介したハードウェア制御も含む。また、本明細書中の「データ」とは、コンピュータに読取可能なビット列で表される。そして、実質的な意味内容が同じでフォーマットが異なるデータは、同一のデータとして扱われるものとする。本明細書中の「情報」についても同様である。 The flowchart of the present specification basically shows the processing of the CPUs 31 and 61 according to the instructions described in the program. That is, the processes such as "determination", "extraction", "selection", "calculation", "determination", "specification", and "control" in the following description represent the processes of the CPUs 31 and 61. The processing by the CPUs 31 and 61 also includes hardware control via the OS 34 and 64. Further, the "data" in the present specification is represented by a computer-readable bit string. Data having the same substantial meaning and different formats are treated as the same data. The same applies to "information" in the present specification.

[メイン処理]
まず、端末プログラム65は、ユーザによって起動されたことに応じて、図4に示されるメイン処理を実行する。まず、端末プログラム65は、図7(A)に示されるメイン画面をディスプレイ53に表示させる(S11)。メイン画面は、動作アイコン111、112と、切替アイコン113とを含む。動作アイコン111はプリント動作に対応し、動作アイコン112はスキャン動作に対応する。切替アイコン113は、指定装置を切り替える指示に対応する。指定装置IDがメモリ62に記憶されていない場合、切替アイコン113には、指定装置が指定されていないことを示す「未選択」の文字列が記述される。そして、端末プログラム65は、メイン画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S12)。
[Main processing]
First, the terminal program 65 executes the main process shown in FIG. 4 in response to being activated by the user. First, the terminal program 65 causes the display 53 to display the main screen shown in FIG. 7 (A) (S11). The main screen includes operation icons 111 and 112 and switching icons 113. The operation icon 111 corresponds to the print operation, and the operation icon 112 corresponds to the scan operation. The switching icon 113 corresponds to an instruction to switch the designated device. When the designated device ID is not stored in the memory 62, the switching icon 113 describes an “unselected” character string indicating that the designated device is not designated. Then, the terminal program 65 accepts the user operation for the main screen through the input I / F 54 (S12).

次に、端末プログラム65は、切替アイコン113の指定を入力I/F54を通じて受け付けたことに応じて(S12:切替)、通信I/F55が接続された無線LAN102を通じて通信可能なMFP10を検索する(S13)。この処理は、指定装置となり得るMFP10を第1方法で検索する第1検索処理の一例であって、例えば、SNMP(Simple Network Management Protocolの略)を用いて実現される。より詳細には、端末プログラム65は、通信I/F55を通じて無線LAN102に送信要求情報をブロードキャストする。S13の処理は、第1送信処理の一例である。そして、端末プログラム65は、S13で送信要求情報を送信してから第1時間が経過するまで、S14以降の処理の実行を待機する。 Next, the terminal program 65 searches for an MFP 10 capable of communicating through the wireless LAN 102 to which the communication I / F 55 is connected in response to the reception of the designation of the switching icon 113 through the input I / F 54 (S12: switching) (S12: switching). S13). This process is an example of a first search process for searching the MFP 10 that can be a designated device by the first method, and is realized by using, for example, SNMP (abbreviation of Simple Network Management Protocol). More specifically, the terminal program 65 broadcasts transmission request information to the wireless LAN 102 through the communication I / F 55. The process of S13 is an example of the first transmission process. Then, the terminal program 65 waits for the execution of the processing after S14 until the first time elapses after the transmission request information is transmitted in S13.

一例として、端末プログラム65は、送信要求情報を含むIPパケットの宛先アドレスにブロードキャストアドレス“192.168.1.255”を設定して、無線LAN102に送出してもよい。ブロードキャストアドレスが設定されたIPパケットを受信したアクセスポイント102A及びルータ104は、無線LAN102に属する全ての装置に当該IPパケットを送信する。但し、ルータ104は、無線LAN102内でブロードキャストされた送信要求情報を、無線LAN103に属する装置に中継しない。 As an example, the terminal program 65 may set the broadcast address “192.168.2.155” as the destination address of the IP packet including the transmission request information and send it to the wireless LAN 102. Upon receiving the IP packet for which the broadcast address is set, the access point 102A and the router 104 transmit the IP packet to all the devices belonging to the wireless LAN 102. However, the router 104 does not relay the transmission request information broadcast in the wireless LAN 102 to the device belonging to the wireless LAN 103.

他の例として、端末プログラム65は、無線LAN102内の全てのIPアドレス“192.168.1.1”~“192.168.1.254”の1つを宛先アドレスに設定した複数の送信要求情報を、通信I/F55を通じてアクセスポイント102Aに順番に
送信してもよい。すなわち、端末プログラム65は、無線LAN102に属する全ての装置に送信要求情報をユニキャストしてもよい。
As another example, the terminal program 65 sets a plurality of transmission requests in which one of all the IP addresses "192.168.1.1" to "192.168.1.254" in the wireless LAN 102 is set as the destination address. The information may be sequentially transmitted to the access point 102A through the communication I / F55. That is, the terminal program 65 may unicast the transmission request information to all the devices belonging to the wireless LAN 102.

一方図示は省略するが、MFP10A、10Bの装置プログラム35は、通信I/F25を通じて携帯端末50から送信要求情報を受信する。そして、MFP10A、10Bの装置プログラム35は、自装置の装置IDを送信要求情報の応答として、通信I/F25を通じて携帯端末50に送信する。但し、無線LAN102のトラフィックによっては、送信要求情報が送信されてから第1時間が経過する前に、MFP10A、10Bが送信要求情報を受信できない場合、或いはMFP10A、10Bが返信した装置IDが携帯端末50に届かない場合がある。また、無線LAN103に属するMFP10C、10Dは、S13で送信された送信要求情報を受信しない。 On the other hand, although not shown, the device program 35 of the MFPs 10A and 10B receives transmission request information from the mobile terminal 50 through the communication I / F25. Then, the device program 35 of the MFPs 10A and 10B transmits the device ID of its own device to the mobile terminal 50 through the communication I / F 25 as a response to the transmission request information. However, depending on the traffic of the wireless LAN 102, if the MFPs 10A and 10B cannot receive the transmission request information before the first time elapses after the transmission request information is transmitted, or if the device ID returned by the MFPs 10A and 10B is a mobile terminal. It may not reach 50. Further, the MFPs 10C and 10D belonging to the wireless LAN 103 do not receive the transmission request information transmitted in S13.

次に、端末プログラム65は、送信要求情報の応答として送信された装置IDを、通信I/F55を通じてMFP10A、10Bから受信する。そして、端末プログラム65は、受信した装置IDと、当該装置IDを含むIPパケットの送信元アドレス(すなわち、装置IDの送信元のMFP10のIPアドレス)とを対応付けて、メモリ62に一時記憶させる。この処理は、第1受信処理の一例である。 Next, the terminal program 65 receives the device ID transmitted as a response to the transmission request information from the MFPs 10A and 10B through the communication I / F55. Then, the terminal program 65 associates the received device ID with the source address of the IP packet including the device ID (that is, the IP address of the MFP 10 of the source of the device ID) and temporarily stores it in the memory 62. .. This process is an example of the first reception process.

但し、端末プログラム65は、前述したように、MFP10A、10Bの両方から装置IDを受信する場合もあるし、MFP10A、10Bの一方のみから装置IDを受信する場合もあるし、MFP10A、10Bの両方から装置IDを受信しない場合もある。そして、端末プログラム65は、送信要求情報を送信してから第1時間が経過したことに応じて、1つ以上の装置IDを受信したか否かを判断する(S14)。第1時間が経過するまでに装置IDを受信したことは、当該装置IDで識別されるMFP10を検出したことの一例である。S14の処理は、第1判断処理の一例である。 However, as described above, the terminal program 65 may receive the device ID from both the MFPs 10A and 10B, may receive the device ID from only one of the MFPs 10A and 10B, or may receive the device ID from only one of the MFPs 10A and 10B. The device ID may not be received from. Then, the terminal program 65 determines whether or not one or more device IDs have been received according to the elapse of the first time after the transmission request information is transmitted (S14). The fact that the device ID is received by the time when the first time elapses is an example of the detection of the MFP 10 identified by the device ID. The process of S14 is an example of the first determination process.

次に、端末プログラム65は、1つ以上の装置IDを受信したと判断したことに応じて(S14:Yes)、図7(B)に示されるデバイス選択画面をディスプレイ53に表示させる(S15)。図7(B)は、MFP10A、10Bの両方から装置IDを受信した場合のデバイス選択画面である。デバイス選択画面は、デバイスアイコン121、122を含む。デバイスアイコン121、122は、メモリ62に一時記憶させた装置ID及びIPアドレスのセットの1つに対応する。デバイスアイコン121、122には、対応する装置ID及びIPアドレスが記述される。そして、端末プログラム65は、デバイス選択画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S16)。 Next, the terminal program 65 causes the display 53 to display the device selection screen shown in FIG. 7B in response to the determination that one or more device IDs have been received (S14: Yes) (S15). .. FIG. 7B is a device selection screen when device IDs are received from both the MFPs 10A and 10B. The device selection screen includes device icons 121 and 122. The device icons 121 and 122 correspond to one of a set of device IDs and IP addresses temporarily stored in the memory 62. The corresponding device ID and IP address are described in the device icons 121 and 122. Then, the terminal program 65 accepts the user operation for the device selection screen through the input I / F 54 (S16).

次に、端末プログラム65は、例えば、デバイスアイコン121の指定を入力I/F54を通じて受け付けたことに応じて(S16:Yes)、指定されたデバイスアイコン121に対応する装置ID“MFP-A”を、指定装置IDとしてメモリ62に記憶させる(S17)。なお、メモリ62に既に指定装置IDが記憶されている場合、端末プログラム65は、当該指定装置IDを新たな指定装置IDで上書きする。S17は、第1記憶処理の一例である。そして、端末プログラム65は、S11以降の処理を再び実行する。ここで表示されるメイン画面は、指定装置ID“MFP-A”が切替アイコン113に記述される点で、図7(A)と相違する。 Next, the terminal program 65, for example, receives the designation of the device icon 121 through the input I / F 54 (S16: Yes), and receives the device ID “MFP-A” corresponding to the designated device icon 121. , Stored in the memory 62 as the designated device ID (S17). If the designated device ID is already stored in the memory 62, the terminal program 65 overwrites the designated device ID with a new designated device ID. S17 is an example of the first storage process. Then, the terminal program 65 re-executes the processing after S11. The main screen displayed here is different from FIG. 7A in that the designated device ID “MFP-A” is described in the switching icon 113.

一方、端末プログラム65は、S13で送信要求情報を送信してから第1時間が経過するまでに装置IDを受信しなかったと判断したことに応じて(S14:No)、モード情報の設定値を判断する(S19)。S19の処理は、第5判断処理の一例である。そして、端末プログラム65は、モード情報に第4値“OFF”が設定されていると判断したことに応じて(S19:OFF)、図8(A)に示される切替確認画面をディスプレイ53に表示させる(S20)。切替確認画面は、「Wi-FiモードがOFFです。ONに切り替えますか?」とのメッセージと、[はい]アイコン131と、[いいえ]アイコン132とを含む。そして、端末プログラム65は、切替確認画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S21)。 On the other hand, the terminal program 65 sets the mode information according to the determination that the device ID has not been received by the time when the first time elapses after the transmission request information is transmitted in S13 (S14: No). Judgment (S19). The process of S19 is an example of the fifth determination process. Then, the terminal program 65 displays the switching confirmation screen shown in FIG. 8A on the display 53 in response to the determination that the fourth value “OFF” is set in the mode information (S19: OFF). Let (S20). The switching confirmation screen includes a message "Wi-Fi mode is OFF. Do you want to switch it ON?", A [Yes] icon 131, and a [No] icon 132. Then, the terminal program 65 accepts the user operation for the switching confirmation screen through the input I / F 54 (S21).

次に、端末プログラム65は、[はい]アイコン131の指定を入力I/F54を通じて受け付けたことに応じて(S21:はい)、メモリ62に記憶されたモード情報に第3値“ON”を設定する(S22)。S22の処理は、モード情報の設定値を第4値“OFF”から第3値“ON”に切り替える切替処理の一例である。そして、端末プログラム65は、S13以降の処理を再び実行する。一方、端末プログラム65は、[いいえ]アイコン132の指定を入力I/F54を通じて受け付けたことに応じて(S21:いいえ)、S22の処理を実行せずに、S11以降の処理を再び実行する。 Next, the terminal program 65 sets the third value “ON” in the mode information stored in the memory 62 in response to the reception of the designation of the [Yes] icon 131 through the input I / F 54 (S21: Yes). (S22). The process of S22 is an example of a switching process of switching the set value of the mode information from the fourth value “OFF” to the third value “ON”. Then, the terminal program 65 re-executes the processing after S13. On the other hand, the terminal program 65 does not execute the process of S22 but re-executes the processes after S11 in response to the reception of the designation of the [No] icon 132 through the input I / F 54 (S21: No).

また、端末プログラム65は、モード情報に第3値“ON”が設定されていると判断したことに応じて(S19:ON)、代替検索処理Aを実行する(S23)。代替検索処理Aは、第1検索処理と異なる方法でMFP10を検索する処理である。図5を参照して、代替検索処理Aの詳細を説明する。 Further, the terminal program 65 executes the alternative search process A (S23) in response to the determination that the third value “ON” is set in the mode information (S19: ON). The alternative search process A is a process of searching the MFP 10 by a method different from that of the first search process. The details of the alternative search process A will be described with reference to FIG.

[代替検索処理A]
まず、端末プログラム65は、履歴リストに履歴レコードが登録されているか否かを判断する(S31)。S31の処理は、第2判断処理の一例である。次に、端末プログラム65は、履歴リストに履歴レコードが登録されていると判断したことに応じて(S31:あり)、図8(B)に示される履歴選択画面をディスプレイ53に表示させる(S32)。そして、端末プログラム65は、履歴選択画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S33)。S33の処理は、第3受付処理の一例である。
[Alternative search process A]
First, the terminal program 65 determines whether or not a history record is registered in the history list (S31). The process of S31 is an example of the second determination process. Next, the terminal program 65 causes the display 53 to display the history selection screen shown in FIG. 8B in response to the determination that the history record is registered in the history list (S31: Yes). ). Then, the terminal program 65 accepts the user operation for the history selection screen through the input I / F 54 (S33). The process of S33 is an example of the third reception process.

履歴選択画面は、履歴アイコン141、142、143と、[キャンセル]アイコン144とを含む。履歴アイコン141~143は、履歴リストに登録されている複数の履歴レコードの1つに対応する。履歴アイコン141~143には、対応する履歴レコードに含まれる装置ID及び履歴IPアドレスが記述されている。[キャンセル]アイコン144は、履歴レコードを選択しない指示に対応する。 The history selection screen includes history icons 141, 142, 143 and a [Cancel] icon 144. The history icons 141 to 143 correspond to one of a plurality of history records registered in the history list. The device ID and the history IP address included in the corresponding history record are described in the history icons 141 to 143. The [Cancel] icon 144 corresponds to an instruction not to select a history record.

次に、端末プログラム65は、例えば、履歴アイコン142の指定を入力I/F54を通じて受け付けたことに応じて(S33:履歴)、指定された履歴アイコン142に対応する履歴レコードを、履歴リストから読み出す。次に、端末プログラム65は、読み出した履歴レコードの履歴IPアドレス“192.168.2.84”を宛先アドレスに設定した送信要求情報を、通信I/F55を通じてアクセスポイント102Aに送信する(S34)。この送信要求情報は、アクセスポイント102A、ルータ104、アクセスポイント103AによってMFP10Cに中継される。すなわち、端末プログラム65は、履歴IPアドレスで識別されるMFP10Cに送信要求情報をユニキャストする。S34の処理は、第4送信処理の一例である。 Next, the terminal program 65 reads, for example, the history record corresponding to the designated history icon 142 from the history list in response to the reception of the designation of the history icon 142 through the input I / F 54 (S33: history). .. Next, the terminal program 65 transmits the transmission request information in which the history IP address “192.168.2.84” of the read history record is set as the destination address to the access point 102A through the communication I / F55 (S34). .. This transmission request information is relayed to the MFP 10C by the access point 102A, the router 104, and the access point 103A. That is, the terminal program 65 unicasts the transmission request information to the MFP 10C identified by the historical IP address. The process of S34 is an example of the fourth transmission process.

次に、端末プログラム65は、S34で送信要求情報を送信してから第3時間が経過するまで、S35以降の処理の実行を待機する。第3時間は、第1時間より長い予め定められた時間である。そして、端末プログラム65は、S34で送信した送信要求情報の応答として、通信I/F55を通じてMFP10Cから装置ID“MFP-C”を受信する(S35)。S35の処理は第4受信処理の一例であり、S32~S35の処理は第3方法でMFP10を検索する第3検索処理の一例である。 Next, the terminal program 65 waits for the execution of the processing after S35 until the third time elapses after the transmission request information is transmitted in S34. The third hour is a predetermined time longer than the first hour. Then, the terminal program 65 receives the device ID “MFP-C” from the MFP 10C through the communication I / F 55 as a response to the transmission request information transmitted in S34 (S35). The process of S35 is an example of the fourth reception process, and the process of S32 to S35 is an example of the third search process of searching the MFP 10 by the third method.

次に、端末プログラム65は、MFP10Cから装置ID“MFP-C”を受信したことに応じて(S35:Yes)、履歴リストから読み出した履歴レコードの接続フラグに
第1値“ON”を設定する(S36)。また、端末プログラム65は、S35で受信した装置ID“MFP-C”を、指定装置IDとしてメモリ62に記憶させる(S37)。S36の処理は第1設定処理の一例であり、S37は第1記憶処理の一例である。そして、端末プログラム65は、図4のS11に戻って、切替アイコン113に指定装置ID“MFP-C”が記述されたメイン画面を、ディスプレイ53に表示させる。
Next, the terminal program 65 sets the first value "ON" in the connection flag of the history record read from the history list in response to receiving the device ID "MFP-C" from the MFP 10C (S35: Yes). (S36). Further, the terminal program 65 stores the device ID “MFP-C” received in S35 in the memory 62 as the designated device ID (S37). The process of S36 is an example of the first setting process, and S37 is an example of the first storage process. Then, the terminal program 65 returns to S11 in FIG. 4 and causes the display 53 to display the main screen in which the designated device ID “MFP-C” is described in the switching icon 113.

一方、端末プログラム65は、履歴リストに履歴レコードが登録されていないと判断したことに応じて(S31:なし)、履歴選択画面の[キャンセル]アイコン144の指定を入力I/F54を通じて受け付けたことに応じて(S33:キャンセル)、或いはS34で送信要求情報を送信してから第3時間が経過するまでに装置ID“MFP-C”を受信しなかったことに応じて(S35:No)、履歴リストから読み出した履歴レコードの接続フラグに第2値“OFF”を設定する(S38)。また、端末プログラム65は、現在時刻を示す時刻情報を不図示のシステムクロックから取得して、当該履歴レコードに設定する。S38の処理は、第2設定処理の一例である。 On the other hand, the terminal program 65 has accepted the designation of the [Cancel] icon 144 on the history selection screen through the input I / F 54 in response to the determination that the history record is not registered in the history list (S31: None). According to (S33: Cancellation), or according to the fact that the device ID "MFP-C" was not received by the third time after the transmission request information was transmitted in S34 (S35: No). The second value “OFF” is set in the connection flag of the history record read from the history list (S38). Further, the terminal program 65 acquires time information indicating the current time from a system clock (not shown) and sets it in the history record. The process of S38 is an example of the second setting process.

次に、端末プログラム65は、図9(A)に示されるガイド画面をディスプレイ53に表示させる(S39)。ガイド画面は、「MFPが見つかりません。IPアドレスを指定して検索しますか?」とのメッセージと、第1オブジェクトの一例である[はい]アイコン151と、第2オブジェクトの一例である[いいえ]アイコン152とを含む第1画面の一例である。ガイド画面のメッセージは、IPアドレスの入力を促すメッセージの一例であって、具体的な文言はこれに限定されない。そして、端末プログラム65は、ガイド画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S40)。S39の処理は第1表示処理の一例であり、S40の処理は第2受付処理の一例である。 Next, the terminal program 65 causes the guide screen shown in FIG. 9A to be displayed on the display 53 (S39). On the guide screen, the message "The MFP cannot be found. Do you want to search by specifying the IP address?", The [Yes] icon 151, which is an example of the first object, and the example of the second object [ No] This is an example of the first screen including the icon 152. The message on the guide screen is an example of a message prompting the input of the IP address, and the specific wording is not limited to this. Then, the terminal program 65 accepts the user operation for the guide screen through the input I / F 54 (S40). The process of S39 is an example of the first display process, and the process of S40 is an example of the second reception process.

次に、端末プログラム65は、[はい]アイコン151の指定を入力I/F54を通じて受け付けたことに応じて(S40:はい)、代替検索処理Bを実行する(S41)。一方、端末プログラム65は、[いいえ]アイコン152の指定を入力I/F54を通じて受け付けたことに応じて(S40:いいえ)、S41の処理を実行せずに、図4のS11に戻ってメイン画面をディスプレイ53に表示させる。代替検索処理Bは、第1検索処理及び第3検索処理と異なる方法でMFP10を検索する処理である。図6を参照して、代替検索処理Bの詳細を説明する。 Next, the terminal program 65 executes the alternative search process B in response to the reception of the designation of the [Yes] icon 151 through the input I / F 54 (S40: Yes) (S41). On the other hand, the terminal program 65 returns to S11 in FIG. 4 and returns to the main screen in response to the reception of the designation of the [No] icon 152 through the input I / F 54 (S40: No) without executing the process of S41. Is displayed on the display 53. The alternative search process B is a process of searching the MFP 10 by a method different from that of the first search process and the third search process. The details of the alternative search process B will be described with reference to FIG.

[代替検索処理B]
まず、端末プログラム65は、図9(B)に示されるアドレス入力画面をディスプレイ53に表示させる(S51)。アドレス入力画面は、ユーザが入力したIPアドレスを表示するテキストボックス161と、自IPアドレス“192.168.1.15/24”と、接続不可デバイス“192.168.2.84”と、[決定]アイコン162とを含む第2画面の一例である。自IPアドレスは、通信I/F55に割り当てられたIPアドレスを示す。接続不可デバイスは、接続フラグに第1値“OFF”が設定された履歴レコードの履歴IPアドレスを示す。そして、端末プログラム65は、アドレス入力画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S52)。S51は第2表示処理の一例であり、S52の処理は第1受付処理の一例である。
[Alternative search process B]
First, the terminal program 65 displays the address input screen shown in FIG. 9B on the display 53 (S51). The address input screen includes a text box 161 that displays the IP address entered by the user, its own IP address "192.168.1.15/24", a non-connectable device "192.168.2.84", and [ It is an example of the second screen including the [decision] icon 162. The local IP address indicates the IP address assigned to the communication I / F55. The unconnectable device indicates the history IP address of the history record in which the first value "OFF" is set in the connection flag. Then, the terminal program 65 accepts the user operation for the address input screen through the input I / F 54 (S52). S51 is an example of the second display process, and the process of S52 is an example of the first reception process.

端末プログラム65は、例えば、不図示のソフトウェアキーボードを通じて入力されたIPアドレス(以下、「入力IPアドレス」と表記する。)を、テキストボックス161に表示させる。また、端末プログラム65は、[決定]アイコン162の指定を入力I/F54を通じて受け付けたことに応じて(S52:Yes)、テキストボックス161に表示された入力IPアドレスを、メモリ62に一時記憶させる。次に、端末プログラム65は、入力IPアドレスを履歴IPアドレスとして含む履歴レコードの接続フラグに、第2値“OFF”が設定されているか否かを判断する(S53)。S53の処理は、第3判断処理の一例である。 The terminal program 65 displays, for example, an IP address (hereinafter, referred to as “input IP address”) input through a software keyboard (not shown) in the text box 161. Further, the terminal program 65 temporarily stores the input IP address displayed in the text box 161 in the memory 62 in response to the reception of the designation of the [OK] icon 162 through the input I / F 54 (S52: Yes). .. Next, the terminal program 65 determines whether or not the second value “OFF” is set in the connection flag of the history record including the input IP address as the history IP address (S53). The process of S53 is an example of the third determination process.

一例として、端末プログラム65は、IPアドレス“192.168.2.84”の入力と、[決定]アイコン162の指定とを入力I/F54を通じて受け付けたことに応じて(S52:Yes)、入力IPアドレスを履歴IPアドレスとして含む履歴レコードの接続フラグに、第2値“OFF”が設定されていると判断する(S53:Yes)。この場合の端末プログラム65は、IPアドレス“192.168.2.84”を含む履歴レコードの時刻情報で示される時刻“2017.4.10 17:50”から、不図示のシステムクロックから取得した時刻情報で示される現在時刻までの経過時間を算出する。次に、端末プログラム65は、算出した経過時間が予め定められた閾値時間(例えば、1時間、24時間など)以上か否かを判断する(S54)。S54の処理は、第4判断処理の一例である。 As an example, the terminal program 65 inputs the IP address "192.168.2.84" and the designation of the [OK] icon 162 in response to the reception through the input I / F54 (S52: Yes). It is determined that the second value "OFF" is set in the connection flag of the history record including the IP address as the history IP address (S53: Yes). The terminal program 65 in this case is acquired from a system clock (not shown) from the time "2017.4.10 17:50" indicated by the time information of the history record including the IP address "192.168.2.84". Calculate the elapsed time to the current time indicated by the time information. Next, the terminal program 65 determines whether or not the calculated elapsed time is equal to or longer than a predetermined threshold time (for example, 1 hour, 24 hours, etc.) (S54). The process of S54 is an example of the fourth determination process.

次に、端末プログラム65は、算出した経過時間が閾値時間未満だと判断したことに応じて(S54:No)、S57以降の処理を実行せずに、図10(A)に示されるエラー画面をディスプレイ53に表示させる(S55)。エラー画面は、「指定されたMFPが見つかりませんでした。再検索して下さい。」とのメッセージと、[OK]アイコン170とを含む。そして、端末プログラム65は、エラー画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S56)。 Next, the terminal program 65 does not execute the processing after S57 in response to the determination that the calculated elapsed time is less than the threshold time (S54: No), and the error screen shown in FIG. 10A is shown. Is displayed on the display 53 (S55). The error screen contains the message "The specified MFP was not found. Please search again." And the [OK] icon 170. Then, the terminal program 65 accepts the user operation for the error screen through the input I / F 54 (S56).

そして、端末プログラム65は、[OK]アイコン170の指定を入力I/F54を通じて受け付けたことに応じて(S56:Yes)、S51以降の処理を再び実行する。一方、端末プログラム65は、経過時間が閾値時間以上だと判断したことに応じて(S54:No)、入力IPアドレス“192.168.2.84”を用いて、後述するS57以降の処理を実行する。 Then, the terminal program 65 re-executes the processing after S51 in response to the reception of the designation of the [OK] icon 170 through the input I / F 54 (S56: Yes). On the other hand, the terminal program 65 uses the input IP address "192.168.2.84" according to the determination that the elapsed time is equal to or longer than the threshold time (S54: No), and performs the processing after S57, which will be described later. Execute.

他の例として、端末プログラム65は、IPアドレス“192.168.2.160”の入力と、[決定]アイコン162の指定とを入力I/F54を通じて受け付けたことに応じて(S52:Yes)、入力IPアドレスを履歴IPアドレスとして含む履歴レコードの接続フラグに、第1値“ON”が設定されていると判断して(S53:No)、S57以降の処理を実行する。さらに他の例として、端末プログラム65は、IPアドレス“192.168.1.204”の入力を入力I/F54を通じて受け付けたことに応じて(S52:Yes)、入力IPアドレスを履歴IPアドレスとして含む履歴レコードが履歴リストに登録されていないと判断して(S53:No)、S57以降の処理を実行する。 As another example, the terminal program 65 accepts the input of the IP address "192.168.2.160" and the designation of the [OK] icon 162 through the input I / F 54 (S52: Yes). , It is determined that the first value "ON" is set in the connection flag of the history record including the input IP address as the history IP address (S53: No), and the processing after S57 is executed. As yet another example, the terminal program 65 uses the input IP address as the history IP address in response to the reception of the input of the IP address "192.168.1.204" through the input I / F54 (S52: Yes). It is determined that the included history record is not registered in the history list (S53: No), and the processing after S57 is executed.

次に、端末プログラム65は、S52で入力を受け付けた入力IPアドレス(例えば、192.168.1.204)を宛先アドレスに設定した送信要求情報を、通信I/F55を通じてアクセスポイント102Aに送信する(S57)。この送信要求情報は、アクセスポイント102AによってMFP10Bに中継される。すなわち、端末プログラム65は、入力IPアドレスで識別されるMFP10Bに送信要求情報をユニキャストする。S57の処理は、第2送信処理の一例である。 Next, the terminal program 65 transmits the transmission request information in which the input IP address (for example, 192.168.1.204) received in S52 is set as the destination address to the access point 102A through the communication I / F55. (S57). This transmission request information is relayed to the MFP 10B by the access point 102A. That is, the terminal program 65 unicasts the transmission request information to the MFP 10B identified by the input IP address. The process of S57 is an example of the second transmission process.

次に、端末プログラム65は、S57で送信要求情報を送信してから第2時間が経過するまで、S58以降の処理の実行を待機する。第2時間は、第1時間より長い予め定められた時間である。また、第2時間は、第3時間と同一でもよい。そして、端末プログラム65は、S57で送信した送信要求情報の応答として、通信I/F55を通じてMFP10Bから装置ID“MFP-B”を受信する(S58)。S58の処理は第2受信処理の一例であり、S51~S58の処理は第2方法でMFP10を検索する第2検索処理の一例である。そして、端末プログラム65は、第2時間が経過するまでに装置ID“MFP
-B”を受信したことに応じて(S58:Yes)、S59~S62の処理を実行せずに、S63以降の処理を実行する。
Next, the terminal program 65 waits for the execution of the processing after S58 until the second time elapses after the transmission request information is transmitted in S57. The second time is a predetermined time longer than the first time. Further, the second time may be the same as the third time. Then, the terminal program 65 receives the device ID “MFP-B” from the MFP 10B through the communication I / F 55 as a response to the transmission request information transmitted in S57 (S58). The process of S58 is an example of the second reception process, and the process of S51 to S58 is an example of the second search process of searching the MFP 10 by the second method. Then, the terminal program 65 has the device ID "MFP" by the time the second time elapses.
-B ”is received (S58: Yes), and the processes of S63 and subsequent steps are executed without executing the processes of S59 to S62.

より詳細には、端末プログラム65は、S58で受信した装置ID“MFP-B”を、指定装置IDとしてメモリ62に記憶させる(S63)。また、端末プログラム65は、新たな履歴レコードを履歴リストに登録する(S64)。S64で登録される履歴レコードは、S58で受信した装置ID“MFP-B”を含み、装置ID“MFP-B”を含むIPパケットの送信元IPアドレス“192.168.1.204”を履歴IPアドレスとして含み、第1値“ON”が設定された接続フラグを含む。S63の処理は第1記憶処理の一例であり、S64の処理は第2記憶処理の一例である。そして、端末プログラム65は、図4のS11に戻って、切替アイコン113に指定装置ID“MFP-B”が記述されたメイン画面を、ディスプレイ53に表示させる。 More specifically, the terminal program 65 stores the device ID “MFP-B” received in S58 in the memory 62 as the designated device ID (S63). Further, the terminal program 65 registers a new history record in the history list (S64). The history record registered in S64 includes the device ID "MFP-B" received in S58, and has a history of the source IP address "192.168.1.204" of the IP packet including the device ID "MFP-B". It is included as an IP address and includes a connection flag for which the first value "ON" is set. The process of S63 is an example of the first storage process, and the process of S64 is an example of the second storage process. Then, the terminal program 65 returns to S11 in FIG. 4 and causes the display 53 to display the main screen in which the designated device ID “MFP-B” is described in the switching icon 113.

一方、端末プログラム65は、S57で送信要求情報を送信してから第2時間が経過するまでに装置ID“MFP-B”を受信しなかったことに応じて(S58:No)、入力IPアドレス“192.168.1.204”が属する通信ネットワーク(すなわち、無線LAN102)に、通信I/F55を通じて送信要求情報をブロードキャストする(S59)。S59の処理は、第3送信処理の一例である。そして、端末プログラム65は、S59で送信要求情報を送信してから第1時間が経過するまで、S60以降の処理の実行を待機する。S60の処理は、第3受信処理の一例である。 On the other hand, the terminal program 65 does not receive the device ID "MFP-B" by the time when the second time elapses after the transmission request information is transmitted in S57 (S58: No), and the input IP address. The transmission request information is broadcast to the communication network to which "192.168.1.204" belongs (that is, the wireless LAN 102) through the communication I / F55 (S59). The process of S59 is an example of the third transmission process. Then, the terminal program 65 waits for the execution of the processing after S60 until the first time elapses after the transmission request information is transmitted in S59. The process of S60 is an example of the third reception process.

次に、端末プログラム65は、例えば、S59で送信した送信要求情報の応答として、通信I/F55を通じてMFP10Bから装置ID“MFP-B”を受信したことに応じて(S60:Yes)、図10(B)に示される選択確認画面をディスプレイ53に表示させる(S61)。選択確認画面は、「MFP-Bが見つかりました。指定しますか?」とのメッセージと、[はい]アイコン181と、[いいえ]アイコン182とを含む。そして、端末プログラム65は、選択確認画面に対するユーザ操作を、入力I/F54を通じて受け付ける。 Next, in response to receiving the device ID “MFP-B” from the MFP 10B through the communication I / F 55, for example, the terminal program 65 responds to the transmission request information transmitted in S59 (S60: Yes), FIG. The selection confirmation screen shown in (B) is displayed on the display 53 (S61). The selection confirmation screen includes the message "The MFP-B was found. Do you want to specify it?", The [Yes] icon 181 and the [No] icon 182. Then, the terminal program 65 accepts the user operation for the selection confirmation screen through the input I / F 54.

次に、端末プログラム65は、[はい]アイコン181の指定を入力I/F54を通じて受け付けたことに応じて(S62:はい)、前述したS63以降の処理を実行する。一方、端末プログラム65は、S59で送信要求情報を送信してから第1時間が経過するまでに装置IDを受信しなかったことに応じて(S60:No)、或いは選択確認画面の[いいえ]アイコン182の指定を入力I/F54を通じて受け付けたことに応じて(S62:いいえ)、S63、S64の処理を実行せずに、S11以降の処理を再び実行する。なお、S60では、入力IPアドレスで識別されるMFP10Bから装置IDを受信するとは限らない。また、S60で複数の装置IDを受信した場合は、受信した複数の装置IDのうちの1つをユーザに選択させればよい。 Next, the terminal program 65 executes the above-mentioned S63 and subsequent processes in response to the reception of the designation of the [Yes] icon 181 through the input I / F 54 (S62: Yes). On the other hand, the terminal program 65 responds that the device ID has not been received by the time when the first time elapses after the transmission request information is transmitted in S59 (S60: No), or [No] on the selection confirmation screen. In response to the fact that the designation of the icon 182 is accepted through the input I / F54 (S62: No), the processes of S63 and S64 are not executed, and the processes of S11 and subsequent steps are executed again. In S60, the device ID is not always received from the MFP 10B identified by the input IP address. Further, when a plurality of device IDs are received in S60, the user may be made to select one of the received plurality of device IDs.

再び図4に戻って、端末プログラム65は、メモリ62に指定装置IDが記憶された状態で、動作アイコン111の指定を入力I/F54を通じて受け付けたことに応じて(S12:動作)、動作アイコン111に対応するプリント動作を指定装置に実行させる動作指示処理を実行する(S18)。プリント動作を指示する動作指示処理のフローチャートは省略するが、例えば、以下の処理が実行される。 Returning to FIG. 4 again, the terminal program 65 receives the designation of the operation icon 111 through the input I / F 54 in the state where the designated device ID is stored in the memory 62 (S12: operation), and the operation icon. An operation instruction process for causing the designated device to execute the print operation corresponding to 111 is executed (S18). Although the flowchart of the operation instruction process for instructing the print operation is omitted, for example, the following process is executed.

まず、端末プログラム65は、メモリ62のデータフォルダに記憶された複数のデータのうちの1つ(以下、「指定データ」と表記する。)を指定するユーザ操作を、入力I/F54を通じて受け付ける。また、端末プログラム65は、プリント動作の実行条件(例えば、シートサイズ、画質など)を指定するユーザ操作を入力I/F54を通じて受け付けてもよいし、指定データで示される画像をシートに記録した状態を示すプレビュー画面をディスプレイ53に表示させてもよい。そして、端末プログラム65は、通信I/F55を通じて指定装置にプリント指示情報を送信する。プリント指示情報は、指定データを対象とするプリント動作の実行を指示する動作指示情報の一例である。プリント指示情報は、例えば、指定データと、ユーザが指定した実行条件を示す条件情報とを含む。 First, the terminal program 65 accepts a user operation for designating one of a plurality of data stored in the data folder of the memory 62 (hereinafter, referred to as “designated data”) through the input I / F 54. Further, the terminal program 65 may accept a user operation for specifying execution conditions (for example, sheet size, image quality, etc.) of the print operation through the input I / F 54, or a state in which the image indicated by the designated data is recorded on the sheet. A preview screen indicating the above may be displayed on the display 53. Then, the terminal program 65 transmits the print instruction information to the designated device through the communication I / F 55. The print instruction information is an example of the operation instruction information instructing the execution of the print operation targeting the designated data. The print instruction information includes, for example, designated data and condition information indicating an execution condition specified by the user.

一方、MFP10の装置プログラム35は、通信I/F25を通じて携帯端末50からプリント指示情報を受信する。そして、装置プログラム35は、受信したプリント指示情報に従って、プリンタ11にプリント動作を実行させる。すなわち、プリンタ11は、プリント指示情報に含まれる指定データで示される画像を、条件情報で示される実行条件に従ってシートに記録する。 On the other hand, the device program 35 of the MFP 10 receives print instruction information from the mobile terminal 50 through the communication I / F 25. Then, the apparatus program 35 causes the printer 11 to execute the print operation according to the received print instruction information. That is, the printer 11 records the image indicated by the designated data included in the print instruction information on the sheet according to the execution conditions indicated by the condition information.

また、端末プログラム65は、メモリ62に指定装置IDが記憶された状態で、動作アイコン112の指定を入力I/F54を通じて受け付けたことに応じて(S12:動作)、動作アイコン112に対応するスキャン動作を指定装置に実行させる動作指示処理を実行する(S18)。スキャン動作を指示する動作指示処理のフローチャートは省略するが、例えば、以下の処理が実行される。 Further, the terminal program 65 receives the designation of the operation icon 112 through the input I / F 54 in the state where the designated device ID is stored in the memory 62 (S12: operation), and the scan corresponding to the operation icon 112. The operation instruction process for causing the designated device to execute the operation is executed (S18). Although the flowchart of the operation instruction process for instructing the scan operation is omitted, for example, the following process is executed.

まず、端末プログラム65は、スキャン動作の実行条件(例えば、読取解像度、スキャンデータの保存先など)を指定するユーザ操作を、入力I/F54を通じて受け付ける。次に、端末プログラム65は、通信I/F55を通じて指定装置にスキャン指示情報を送信する。スキャン指示情報は、スキャン動作の実行を指示する動作指示情報の一例である。スキャン指示情報は、例えば、ユーザが指定した実行条件を示す条件情報を含む。 First, the terminal program 65 accepts a user operation for specifying an execution condition of a scan operation (for example, a reading resolution, a save destination of scan data, etc.) through an input I / F 54. Next, the terminal program 65 transmits scan instruction information to the designated device through the communication I / F 55. The scan instruction information is an example of the operation instruction information instructing the execution of the scan operation. The scan instruction information includes, for example, condition information indicating an execution condition specified by the user.

一方図示は省略するが、MFP10の装置プログラム35は、通信I/F25を通じて携帯端末50からスキャン指示情報を受信する。そして、装置プログラム35は、受信したスキャン指示情報に従って、スキャナ12にスキャン動作を実行させる。すなわち、スキャナ12は、不図示のADF或いはコンタクトガラスにセットされた原稿を、スキャン指示情報に示される読取解像度で読み取って、スキャンデータを生成する。そして、装置プログラム35は、スキャナ12が生成したスキャンデータを、スキャン指示情報に示される保存先(例えば、不図示のUSBメモリ、携帯端末50)に保存する。 On the other hand, although not shown, the device program 35 of the MFP 10 receives scan instruction information from the mobile terminal 50 through the communication I / F 25. Then, the apparatus program 35 causes the scanner 12 to execute the scanning operation according to the received scanning instruction information. That is, the scanner 12 reads the original set in the ADF or the contact glass (not shown) at the reading resolution shown in the scan instruction information, and generates scan data. Then, the device program 35 saves the scan data generated by the scanner 12 in a storage destination (for example, a USB memory (not shown), a mobile terminal 50) indicated by the scan instruction information.

[本実施形態の作用効果]
上記の実施形態によれば、第1検索処理(S13)でMFP10を検出できなかった場合に、第1検索処理と異なる第2検索処理(S51~S58)でMFP10を検索する。すなわち、送信要求情報のブロードキャストによってMFP10を検出できない場合、アドレス入力画面を通じてユーザが指定したIPアドレスで識別されるMFP10に送信要求情報がユニキャストされる。これにより、異なるネットワークアドレスが割り当てられたMFP10C、10Dを指定する場合、或いは無線LAN102のトラフィックが大きい場合でも、所望のMFP10を適切に検出できる可能性が高まる。
[Action and effect of this embodiment]
According to the above embodiment, when the MFP10 cannot be detected in the first search process (S13), the MFP10 is searched by the second search process (S51 to S58) different from the first search process. That is, when the MFP 10 cannot be detected by broadcasting the transmission request information, the transmission request information is unicast to the MFP 10 identified by the IP address specified by the user through the address input screen. This increases the possibility that the desired MFP 10 can be appropriately detected even when the MFPs 10C and 10D to which different network addresses are assigned are specified, or even when the traffic of the wireless LAN 102 is large.

また、上記の実施形態によれば、第2検索処理でMFP10を検出できない場合に、入力IPアドレスを含む通信ネットワークに送信要求情報がブロードキャストされる。これにより、アドレス入力画面を通じてIPアドレスが誤入力された場合でも、所望のMFP10を検出できる可能性が高まる。なお、S59では、送信要求情報のブロードキャストに限定されない。他の例として、端末プログラム65は、入力IPアドレスの下1桁の数値を0~9に入れ替えたIPアドレスで識別される装置それぞれに、送信要求情報を送信(すなわち、マルチキャスト)してもよい。 Further, according to the above embodiment, when the MFP 10 cannot be detected by the second search process, the transmission request information is broadcast to the communication network including the input IP address. This increases the possibility that the desired MFP 10 can be detected even if the IP address is erroneously input through the address input screen. Note that S59 is not limited to broadcasting the transmission request information. As another example, the terminal program 65 may transmit (that is, multicast) transmission request information to each device identified by the IP address in which the last digit of the input IP address is replaced with 0 to 9. ..

また、上記の実施形態によれば、S35、S58における待機時間を、S14における待機時間より長くしたので、第2検出処理及び第3検出処理でMFP10を検出できる確
率を、第1検出処理と比較して高くすることができる。なお、端末プログラム65は、S14、S35、S58、S60において、所定の待機時間が経過するまでに装置IDを受信できなかった場合に、送信要求情報を再送信(すなわち、S13、S34、S57、S59のリトライ)を実行してもよい。そして、端末プログラム65は、S35、S58におけるリトライ回数を、S14、S60より多くしてもよい。すなわち、端末プログラム65は、S35、S58における待機時間及びリトライ回数の少なくとも一方を、S14、S60と異ならせてもよい。
Further, according to the above embodiment, since the waiting time in S35 and S58 is longer than the waiting time in S14, the probability that the MFP10 can be detected in the second detection process and the third detection process is compared with the first detection process. Can be made higher. In S14, S35, S58, and S60, the terminal program 65 retransmits the transmission request information (that is, S13, S34, S57, when the device ID cannot be received by the time when the predetermined standby time elapses. The retry of S59) may be executed. Then, the terminal program 65 may increase the number of retries in S35 and S58 more than in S14 and S60. That is, the terminal program 65 may have at least one of the waiting time and the number of retries in S35 and S58 different from those in S14 and S60.

また、上記の実施形態によれば、第1検索処理でMFP10を検出できなかった場合に、履歴リストを用いた第3検索処理が第2検索処理に先立って実行される。これにより、過去のS52で入力したIPアドレスを再入力しなくても、当該IPアドレスで識別されるMFP10を検出することができる。すなわち、所望のMFP10のIPアドレスを入力するユーザの操作負担を軽減することができる。なお、履歴レコードの登録は、第2検索処理で指定装置が指定されたタイミングに限定されず、第1検索処理で指定装置が指定されたタイミングであってもよい。 Further, according to the above embodiment, when the MFP 10 cannot be detected in the first search process, the third search process using the history list is executed prior to the second search process. As a result, the MFP 10 identified by the IP address can be detected without re-inputting the IP address input in the past S52. That is, it is possible to reduce the operational burden on the user who inputs the IP address of the desired MFP 10. The registration of the history record is not limited to the timing when the designated device is designated in the second search process, and may be the timing when the designated device is designated in the first search process.

また、上記の実施形態によれば、第1検索処理でMFP10が検出できなかった場合に、IPアドレスの入力によってMFP10が検出できる可能性を、ガイド画面を通じてユーザに認識させることができる。その結果、MFP10の検出の可能性がさらに高まる。また、携帯端末50に割り当てられたIPアドレス、及び過去の第3検索処理で検出できなかったMFP10のIPアドレスがアドレス入力画面を通じてユーザに報知されるので、第2検索処理によるMFP10の検出の可能性がさらに高まる。 Further, according to the above embodiment, when the MFP 10 cannot be detected in the first search process, the user can be made to recognize the possibility that the MFP 10 can be detected by inputting the IP address through the guide screen. As a result, the possibility of detecting the MFP 10 is further increased. Further, since the IP address assigned to the mobile terminal 50 and the IP address of the MFP 10 that could not be detected in the past third search process are notified to the user through the address input screen, the MFP 10 can be detected by the second search process. The sex is further enhanced.

また、接続フラグに第2値“OFF”が設定されてから閾値時間が経過していないMFP10は、S57で送信要求情報を再びユニキャストしても応答しない可能性が高い。一方、接続フラグに第2値“OFF”が設定されてから閾値時間が経過したMFP10は、装置IDを送信できる状態になっている可能性がある。そこで上記の実施形態のように、接続フラグに第2値“OFF”が設定されてからの経過時間によって(S54)、当該履歴IPアドレスで識別されるMFP10に、送信要求情報をユニキャストするか否かを判断するのが望ましい。 Further, it is highly possible that the MFP 10 whose threshold time has not elapsed since the second value “OFF” is set in the connection flag does not respond even if the transmission request information is unicast again in S57. On the other hand, the MFP 10 for which the threshold time has elapsed since the second value "OFF" was set in the connection flag may be in a state where the device ID can be transmitted. Therefore, as in the above embodiment, whether to unicast the transmission request information to the MFP 10 identified by the historical IP address according to the elapsed time since the second value "OFF" is set in the connection flag (S54). It is desirable to judge whether or not.

また、上記の実施形態によれば、モード情報に第4値“OFF”が設定されている場合に、モード情報を第3値“ON”に切り替えてから第1検索処理がリトライされるので、MFP10の検出の可能性がさらに高まる。但し、S19~S22の処理の実行タイミングは、前述の例に限定されない。他の例として、端末プログラム65は、S19~S22の処理を、S13に先立って実行してもよい。 Further, according to the above embodiment, when the fourth value "OFF" is set in the mode information, the first search process is retried after switching the mode information to the third value "ON". The possibility of detecting the MFP 10 is further increased. However, the execution timing of the processes of S19 to S22 is not limited to the above-mentioned example. As another example, the terminal program 65 may execute the processes of S19 to S22 prior to S13.

また、モード情報に第4値“OFF”が設定されている場合の処理は、前述の例に限定されない。他の例として、端末プログラム65は、S21で[はい]アイコン131が指定されたことに応じて、S22を実行すると共に、代替検索処理A(S23)を実行してもよい。この場合のS22の処理は、S57より前であればよく、S51&S52との先後は問わない。これにより、第2検索処理によるMFP10の検出の可能性がさらに高まる。 Further, the processing when the fourth value "OFF" is set in the mode information is not limited to the above-mentioned example. As another example, the terminal program 65 may execute the alternative search process A (S23) while executing S22 in response to the designation of the [Yes] icon 131 in S21. In this case, the processing of S22 may be before S57, regardless of whether it is before or after S51 & S52. This further increases the possibility of detecting the MFP 10 by the second search process.

なお、上記の実施形態では、第1検索処理でMFP10を検出できない場合に、第2検索処理を実行する例を説明したが、検索処理の実行順序は前述の例に限定されない。また、第1検索処理、第2検索処理、第3検索処理と異なる方法でMFP10を検索してもよい。他の例として、第2検索処理でMFP10を検出できない場合に、第1検索処理を実行してもよい。図11を参照して、変形例に係るメイン処理を説明する。但し、図4及図6と共通の処理には同一の参照番号を付して、詳細な説明を省略する。 In the above embodiment, an example of executing the second search process when the MFP 10 cannot be detected by the first search process has been described, but the execution order of the search process is not limited to the above example. Further, the MFP 10 may be searched by a method different from the first search process, the second search process, and the third search process. As another example, when the MFP 10 cannot be detected by the second search process, the first search process may be executed. The main process according to the modified example will be described with reference to FIG. However, the same reference numbers are assigned to the processes common to those in FIGS. 4 and 6, and detailed description thereof will be omitted.

まず、端末プログラム65は、メイン画面の切替アイコン113の指定を入力I/F54を通じて受け付けたことに応じて(S12:切替)、図9(B)に示されるアドレス入力画面をディスプレイ53に表示させる(S51)。次に、端末プログラム65は、IPアドレスの入力と、[決定]アイコン162の指定とを入力I/F54を通じて受け付けたことに応じて(S52:Yes)、入力されたIPアドレスで識別されるMFP10に送信要求情報をユニキャストする(S57)。次に、端末プログラム65は、送信要求情報をユニキャストしてから第2時間が経過するまでに、通信I/F55を通じてMFP10から装置IDを受信したことに応じて(S58:Yes)、当該装置IDを指定装置IDとしてメモリ62に記憶させる(S17)。 First, the terminal program 65 causes the display 53 to display the address input screen shown in FIG. 9B in response to the reception of the designation of the switching icon 113 on the main screen through the input I / F 54 (S12: switching). (S51). Next, the terminal program 65 receives the input of the IP address and the designation of the [OK] icon 162 through the input I / F 54 (S52: Yes), and the MFP 10 is identified by the input IP address. Unicast the transmission request information to (S57). Next, the terminal program 65 responds to receiving the device ID from the MFP 10 through the communication I / F55 by the time when the second time elapses after unicasting the transmission request information (S58: Yes). The ID is stored in the memory 62 as the designated device ID (S17).

一方、端末プログラム65は、送信要求情報をユニキャストしてから第2時間が経過するまでに装置IDを受信しないことに応じて(S58:No)、通信I/F55を通じて無線LAN102に送信要求情報をブロードキャストする(S13)。次に、端末プログラム65は、図7(B)に示されるデバイス選択画面をディスプレイ53に表示させる(S15)。デバイス選択画面は、送信要求情報をブロードキャストしてから第1時間が経過するまでに受信した装置IDに対応するデバイスアイコンを含む。そして、端末プログラム65は、デバイスアイコンの1つを指定するユーザ操作を入力I/F54を通じて受け付けたことに応じて(S16:Yes)、指定されたデバイスアイコンに対応する装置IDを、指定装置IDとしてメモリ62に記憶させる。 On the other hand, the terminal program 65 responds that the device ID is not received by the time when the second time elapses after unicasting the transmission request information (S58: No), and the transmission request information is sent to the wireless LAN 102 through the communication I / F55. Is broadcast (S13). Next, the terminal program 65 causes the display 53 to display the device selection screen shown in FIG. 7 (B) (S15). The device selection screen includes a device icon corresponding to the device ID received from the broadcast of the transmission request information to the elapse of the first time. Then, the terminal program 65 assigns the device ID corresponding to the designated device icon to the designated device ID in response to the reception of the user operation for designating one of the device icons through the input I / F 54 (S16: Yes). Is stored in the memory 62.

すなわち、変形例に係るメイン処理では、アドレス入力画面を通じてユーザが指定したIPアドレスで識別されるMFP10を検出できない場合に、送信要求情報が無線LAN102にブロードキャストされる。これにより、IPアドレスが誤入力された場合でも、MFP10を検出できる可能性が高まる。なお、図4~6に示される処理のうち、図11で図示を省略した処理は、変形例にも適用することができる。 That is, in the main process according to the modification, the transmission request information is broadcast to the wireless LAN 102 when the MFP 10 identified by the IP address specified by the user cannot be detected through the address input screen. This increases the possibility that the MFP 10 can be detected even if the IP address is erroneously input. Of the processes shown in FIGS. 4 to 6, the processes not shown in FIG. 11 can be applied to modified examples.

また、上記の実施形態のMFP10及び携帯端末50において、メモリ32、62に記憶された各種プログラムがCPU31、61によって実行されることによって、本発明のントローラが実行する各処理が実現される例を説明した。しかしながら、コントローラの構成はこれに限定されず、その一部又は全部を集積回路等のハードウェアで実現してもよい。 Further, in the MFP 10 and the mobile terminal 50 of the above embodiment, an example in which each process executed by the controller of the present invention is realized by executing various programs stored in the memories 32 and 62 by the CPUs 31 and 61. explained. However, the configuration of the controller is not limited to this, and a part or all of the controller may be realized by hardware such as an integrated circuit.

さらに、本発明は、MFP10及び携帯端末50として実現できるだけでなく、MFP10及び携帯端末50に処理を実行させるプログラムとして実現してもよい。そして、当該プログラムは、non-transitoryな記録媒体に記録されて提供されてもよい。non-transitoryな記録媒体は、CD-ROM、DVD-ROM等の他、通信ネットワークを通じてMFP10及び携帯端末50に接続可能なサーバに搭載された記憶部を含んでもよい。そして、サーバの記憶部に記憶されたプログラムは、当該プログラムを示す情報或いは信号として、インターネット等の通信ネットワークを通じて配信されてもよい。 Further, the present invention can be realized not only as the MFP 10 and the mobile terminal 50, but also as a program for causing the MFP 10 and the mobile terminal 50 to execute processing. Then, the program may be recorded and provided on a non-transitory recording medium. The non-transitory recording medium may include a storage unit mounted on a server that can be connected to the MFP 10 and the mobile terminal 50 through a communication network, in addition to a CD-ROM, a DVD-ROM, and the like. Then, the program stored in the storage unit of the server may be distributed through a communication network such as the Internet as information or a signal indicating the program.

10・・・MFP
11・・・プリンタ
12・・・スキャナ
23,53・・・ディスプレイ
24,54・・・入力I/F
25,55・・・通信I/F
31,61・・・CPU
32,62・・・メモリ
35・・・装置プログラム
50・・・携帯端末
65・・・端末プログラム
102,103・・・無線LAN
102A,103A・・・アクセスポイント
104・・・ルータ
10 ... MFP
11 ... Printer 12 ... Scanner 23, 53 ... Display 24, 54 ... Input I / F
25, 55 ... Communication I / F
31,61 ... CPU
32, 62 ... Memory 35 ... Device program 50 ... Mobile terminal 65 ... Terminal program 102, 103 ... Wireless LAN
102A, 103A ... Access point 104 ... Router

Claims (14)

通信インタフェースと、入力インタフェースと、メモリとを備える携帯端末によって実行可能なプログラムであって、
該プログラムは、
前記通信インタフェースが接続された通信ネットワーク内において、画像処理動作を実行可能な画像処理装置を第1方法で検索する第1検索処理と、
前記第1検索処理で前記画像処理装置を検出したか否かを判断する第1判断処理と、
前記第1判断処理で前記画像処理装置を検出しなかったと判断したことに応じて、前記第1方法と異なる第2方法で前記画像処理装置を検索する第2検索処理と、
前記第1検索処理或いは前記第2検索処理で検出した前記画像処理装置を識別する装置情報を、指定装置情報として前記メモリに記憶させる第1記憶処理と、
前記メモリに記憶された前記指定装置情報で識別される前記画像処理装置に、前記画像処理動作の実行を指示する動作指示情報を前記通信インタフェースを通じて送信する動作指示処理とを前記携帯端末に実行させ、
該プログラムは、
前記第1検索処理及び前記第2検索処理の一方において、
前記装置情報の送信を要求する送信要求情報を前記通信インタフェースを通じて前記通信ネットワークにブロードキャストする第1送信処理と、
前記第1送信処理で送信した前記送信要求情報の応答として、前記通信インタフェースを通じて前記画像処理装置から前記装置情報を受信する第1受信処理とを前記携帯端末に実行させ、
前記第1検索処理及び前記第2検索処理の他方において、
前記通信ネットワーク内で前記画像処理装置を識別するアドレス情報を入力するユーザ操作を、前記入力インタフェースを通じて受け付ける第1受付処理と、
前記第1受付処理で入力を受け付けた前記アドレス情報で識別される前記画像処理装置に、前記通信インタフェースを通じて前記送信要求情報をユニキャストする第2送信処理と、
前記第2送信処理で送信した前記送信要求情報の応答として、前記通信インタフェースを通じて前記画像処理装置から前記装置情報を受信する第2受信処理とを前記携帯端末に実行させ、
前記第1判断処理において、前記第1検索処理で前記送信要求情報を送信してから第1時間が経過する前に前記装置情報を受信したか否かを判断するプログラム。
A program that can be executed by a mobile terminal having a communication interface, an input interface, and a memory.
The program
In the communication network to which the communication interface is connected, the first search process for searching an image processing device capable of executing an image processing operation by the first method, and
The first determination process for determining whether or not the image processing device is detected in the first search process, and
A second search process for searching the image processing device by a second method different from the first method in response to the determination that the image processing device was not detected in the first determination process.
A first storage process for storing device information for identifying the image processing device detected in the first search process or the second search process in the memory as designated device information.
The image processing device identified by the designated device information stored in the memory causes the mobile terminal to execute an operation instruction process for transmitting operation instruction information instructing execution of the image processing operation through the communication interface. ,
The program
In one of the first search process and the second search process,
The first transmission process of broadcasting the transmission request information requesting the transmission of the device information to the communication network through the communication interface, and
As a response to the transmission request information transmitted in the first transmission process, the mobile terminal is made to execute the first reception process of receiving the device information from the image processing device through the communication interface.
In the other of the first search process and the second search process,
A first reception process that accepts a user operation for inputting address information that identifies the image processing device in the communication network through the input interface.
A second transmission process of unicasting the transmission request information to the image processing device identified by the address information received in the first reception process through the communication interface.
As a response to the transmission request information transmitted in the second transmission process, the mobile terminal is made to execute a second reception process of receiving the device information from the image processing device through the communication interface.
In the first determination process, a program for determining whether or not the device information is received before the first time elapses after the transmission request information is transmitted in the first search process.
該プログラムは、
前記第1検索処理において、前記第1送信処理及び前記第1受信処理を前記携帯端末に実行させ、
前記第2検索処理において、前記第1受付処理、前記第2送信処理、及び前記第2受信処理を前記携帯端末に実行させる請求項1に記載のプログラム。
The program
In the first search process, the mobile terminal is made to execute the first transmission process and the first reception process.
The program according to claim 1, wherein in the second search process, the first reception process, the second transmission process, and the second reception process are executed by the mobile terminal.
前記携帯端末は、ディスプレイを備えており、
該プログラムは、
前記第1判断処理で前記画像処理装置を検出しなかったと判断したことに応じて、前記アドレス情報の入力を促すメッセージ、第1オブジェクト、及び第2オブジェクトを含む第1画面を、前記ディスプレイに表示させる第1表示処理と、
前記第1画面に対するユーザ操作を、前記入力インタフェースを通じて受け付ける第2受付処理と、
前記第2受付処理で前記第1オブジェクトの指定を受け付けたことに応じて、前記第2検索処理とを前記携帯端末に実行させ、
前記第2受付処理で前記第2オブジェクトの指定を受け付けたことに応じて、前記第2検索処理を実行しない請求項2に記載のプログラム。
The mobile terminal is equipped with a display.
The program
A first screen including a message prompting the input of the address information, the first object, and the second object is displayed on the display in response to the determination that the image processing device has not been detected in the first determination process. The first display process to make
The second reception process that accepts the user operation for the first screen through the input interface,
In response to the reception of the designation of the first object in the second reception process, the mobile terminal is made to execute the second search process.
The program according to claim 2, wherein the second search process is not executed in response to the acceptance of the designation of the second object in the second reception process.
該プログラムは、
前記第2送信処理で前記送信要求情報を送信してから第2時間が経過する前に、前記第2受信処理で前記装置情報を受信しないことに応じて、
前記第1受付処理で入力を受け付けた前記アドレス情報の一部を含む複数のアドレス情報で識別される装置に、前記送信要求情報をマルチキャストする第3送信処理と、
前記第3送信処理で送信した前記送信要求情報の応答として、前記通信インタフェースを通じて前記画像処理装置から前記装置情報を受信する第3受信処理とを前記携帯端末に実行させ、
前記第1記憶処理において、前記第3受信処理で受信した前記装置情報を、前記指定装置情報として前記メモリに記憶させる請求項2又は3に記載のプログラム。
The program
In response to the fact that the device information is not received in the second reception process before the second time elapses after the transmission request information is transmitted in the second transmission process.
A third transmission process of multicasting the transmission request information to a device identified by a plurality of address information including a part of the address information received in the first reception process.
As a response to the transmission request information transmitted in the third transmission process, the mobile terminal is made to execute a third reception process of receiving the device information from the image processing device through the communication interface.
The program according to claim 2 or 3, wherein in the first storage process, the device information received in the third reception process is stored in the memory as the designated device information.
前記第2時間は、前記第1時間より長い請求項4に記載のプログラム。 The program according to claim 4, wherein the second hour is longer than the first hour. 該プログラムは、
前記第2検索処理において、前記第2受信処理で前記装置情報を受信したことに応じて、前記第1受付処理で入力を受け付けた前記アドレス情報を、履歴アドレス情報として前記メモリに記憶させる第2記憶処理を前記携帯端末に実行させ、
前記第1判断処理で前記画像処理装置を検出しなかったと判断したことに応じて、前記メモリに前記履歴アドレス情報が記憶されているか否かを判断する第2判断処理と、
前記第2判断処理で前記履歴アドレス情報が記憶されていないと判断したことに応じて、前記第2検索処理とを前記携帯端末に実行させ、
前記第2判断処理で前記履歴アドレス情報が記憶されていると判断したことに応じて、前記第1方法及び前記第2方法と異なる第3方法で前記画像処理装置を検索する第3検索処理を前記携帯端末に実行させ、
前記第3検索処理において、
前記メモリに記憶された前記履歴アドレス情報の1つを指定するユーザ操作を、前記入力インタフェースを通じて受け付ける第3受付処理と、
前記第3受付処理で指定を受け付けた前記履歴アドレス情報で識別される前記画像処理装置に、前記通信インタフェースを通じて前記送信要求情報をユニキャストする第4送信処理と、
前記第4送信処理で送信した前記送信要求情報の応答として、前記通信インタフェースを通じて前記画像処理装置から前記装置情報を受信する第4受信処理とを前記携帯端末に実行させ、
前記第1記憶処理において、前記第1検索処理、前記第2検索処理、或いは前記第3検索処理で検出した前記画像処理装置を識別する前記装置情報を、前記指定装置情報として前記メモリに記憶させる請求項2から5のいずれかに記載のプログラム。
The program
In the second search process, the address information received in the first reception process in response to the reception of the device information in the second reception process is stored in the memory as historical address information. Let the mobile terminal execute the storage process
A second determination process for determining whether or not the history address information is stored in the memory in response to the determination that the image processing device was not detected in the first determination process.
In response to the determination that the history address information is not stored in the second determination process, the mobile terminal is made to execute the second search process.
In response to the determination that the historical address information is stored in the second determination process, a third search process for searching the image processing device by a third method different from the first method and the second method is performed. Let the mobile terminal execute it,
In the third search process,
A third reception process that accepts a user operation that specifies one of the historical address information stored in the memory through the input interface, and
A fourth transmission process of unicasting the transmission request information through the communication interface to the image processing device identified by the history address information designated in the third reception process.
As a response to the transmission request information transmitted in the fourth transmission process, the mobile terminal is made to execute a fourth reception process of receiving the device information from the image processing device through the communication interface.
In the first storage process, the device information that identifies the image processing device detected by the first search process, the second search process, or the third search process is stored in the memory as the designated device information. The program according to any one of claims 2 to 5.
前記携帯端末は、ディスプレイを備えており、
前記メモリは、前記履歴アドレス情報と対応付けて接続フラグを記憶しており、
該プログラムは、
前記第4送信処理で前記送信要求情報を送信してから第3時間が経過する前に、前記第4受信処理で前記装置情報を受信したことに応じて、
前記第3受付処理で指定を受け付けた前記履歴アドレス情報に対応付けられた前記接続フラグに、第1値を設定する第1設定処理と、
前記第1記憶処理とを前記携帯端末に実行させ、
前記第4送信処理で前記送信要求情報を送信してから前記第3時間が経過する前に、前記第4受信処理で前記装置情報を受信しないことに応じて、
前記第3受付処理で指定を受け付けた前記履歴アドレス情報に対応付けられた前記接続
フラグに、第2値を設定する第2設定処理と、
前記第2検索処理とを前記携帯端末に実行させ、
前記第2検索処理において、
前記メモリに記憶された前記履歴アドレス情報のうち、対応する前記接続フラグに前記第2値が設定された前記履歴アドレス情報を含む第2画面を、前記ディスプレイに表示させる第2表示処理と、
前記第2画面を前記ディスプレイに表示させている状態で、前記第1受付処理とを前記携帯端末に実行させる請求項6に記載のプログラム。
The mobile terminal is equipped with a display.
The memory stores a connection flag in association with the historical address information.
The program
In response to the fact that the device information was received in the fourth reception process before the third time elapses after the transmission request information was transmitted in the fourth transmission process.
The first setting process for setting the first value to the connection flag associated with the history address information for which the designation was accepted in the third reception process, and the first setting process.
The mobile terminal is made to execute the first storage process.
In response to the fact that the device information is not received in the fourth reception process before the third time elapses after the transmission request information is transmitted in the fourth transmission process.
A second setting process for setting a second value in the connection flag associated with the history address information for which a designation has been accepted in the third reception process, and a second setting process.
Let the mobile terminal execute the second search process,
In the second search process,
The second display process of displaying the second screen including the history address information in which the second value is set in the corresponding connection flag among the history address information stored in the memory is displayed on the display.
The program according to claim 6, wherein the mobile terminal executes the first reception process while the second screen is displayed on the display.
該プログラムは、前記第2表示処理において、前記通信インタフェースに割り当てられた前記アドレス情報をさらに含む前記第2画面を、前記ディスプレイに表示させる請求項7に記載のプログラム。 The program according to claim 7, wherein in the second display process, the second screen including the address information assigned to the communication interface is displayed on the display. 該プログラムは、前記第2検索処理において、
前記第1受付処理で入力を受け付けた前記アドレス情報と一致し、且つ対応する前記接続フラグに前記第2値が設定された前記履歴アドレス情報が前記メモリに記憶されているか否かを判断する第3判断処理と、
前記第3判断処理で記憶されていないと判断したことに応じて、前記第2送信処理とを前記携帯端末に実行させ、
前記第3判断処理で記憶されていると判断したことに応じて、前記第2送信処理を実行しない請求項7又は8に記載のプログラム。
The program is used in the second search process.
A second determination of whether or not the historical address information that matches the address information input received in the first reception process and has the second value set in the corresponding connection flag is stored in the memory. 3 Judgment processing and
In response to the determination that the memory is not stored in the third determination process, the mobile terminal is made to execute the second transmission process.
The program according to claim 7 or 8, wherein the second transmission process is not executed in response to the determination that the memory is stored in the third determination process.
該プログラムは、
前記第2設定処理において、当該第2設定処理の実行時刻を示す時刻情報を、前記履歴アドレス情報に対応付けて前記メモリに記憶させ、
前記第2検索処理において、
前記第3判断処理で記憶されていると判断したことに応じて、対応する前記時刻情報で示される時刻からの経過時間が閾値時間以上か否かを判断する第4判断処理と、
前記第4判断処理で前記閾値時間以上だと判断したことに応じて、前記第2送信処理とを前記携帯端末に実行させ、
前記第4判断処理で前記閾値時間未満だと判断したことに応じて、前記第2送信処理を実行しない請求項9に記載のプログラム。
The program
In the second setting process, the time information indicating the execution time of the second setting process is stored in the memory in association with the history address information.
In the second search process,
A fourth judgment process for determining whether or not the elapsed time from the time indicated by the corresponding time information is equal to or longer than the threshold time according to the determination that the time is stored in the third judgment process.
In response to the determination in the fourth determination process that the time is equal to or longer than the threshold time, the mobile terminal is made to execute the second transmission process.
The program according to claim 9, wherein the second transmission process is not executed in response to the determination that the time is less than the threshold time in the fourth determination process.
前記メモリは、前記通信ネットワークに接続された外部装置との通信を前記通信インタフェースに、許可することに対応する第3値或いは許可しないことに対応する第4値が設定されたモード情報を記憶しており、
該プログラムは、
前記モード情報の設定値を判断する第5判断処理を、前記第1検索処理を実行した後に前記携帯端末に実行させ、
前記第1判断処理で前記画像処理装置を検出しなかったと判断し、且つ前記第5判断処理で前記第4値だと判断したことに応じて、前記モード情報の設定値を前記第4値から前記第3値に切り替える切替処理を、前記第2送信処理に先立って前記携帯端末に実行させる請求項2から10のいずれかに記載のプログラム。
The memory stores mode information in which a third value corresponding to permitting or a fourth value corresponding to not permitting communication with an external device connected to the communication network is set in the communication interface. And
The program
After executing the first search process, the mobile terminal is made to execute the fifth determination process for determining the set value of the mode information.
Depending on the determination that the image processing device was not detected in the first determination process and the determination that the image processing device is the fourth value in the fifth determination process, the set value of the mode information is set from the fourth value. The program according to any one of claims 2 to 10, wherein the mobile terminal is made to execute the switching process for switching to the third value prior to the second transmission process.
前記メモリは、前記通信ネットワークに接続された外部装置との通信を前記通信インタフェースに、許可することに対応する第3値或いは許可しないことに対応する第4値が設定されたモード情報を記憶しており、
該プログラムは、
前記モード情報の設定値を判断する第5判断処理を、前記第1検索処理を実行した後に前記携帯端末に実行させ、
前記第1判断処理で前記画像処理装置を検出しなかったと判断し、且つ前記第5判断処理で前記第3値だと判断したことに応じて、前記第2検索処理を前記携帯端末に実行させ、
前記第1判断処理で前記画像処理装置を検出しなかったと判断し、且つ前記第5判断処理で前記第4値だと判断したことに応じて、
前記モード情報の設定値を前記第4値から前記第3値に切り替える切替処理と、
前記切替処理を実行した後に再び前記第1検索処理とを前記携帯端末に実行させる請求項2から10のいずれかに記載のプログラム。
The memory stores mode information in which a third value corresponding to permitting or a fourth value corresponding to not permitting communication with an external device connected to the communication network is set in the communication interface. And
The program
After executing the first search process, the mobile terminal is made to execute the fifth determination process for determining the set value of the mode information.
The mobile terminal is made to execute the second search process in response to the determination that the image processing device was not detected in the first determination process and the determination that the image processing device is the third value in the fifth determination process. ,
According to the determination that the image processing apparatus was not detected in the first determination process and the determination that the fourth value is obtained in the fifth determination process.
Switching processing for switching the set value of the mode information from the fourth value to the third value, and
The program according to any one of claims 2 to 10, wherein the mobile terminal is made to execute the first search process again after executing the switching process.
通信インタフェースと、メモリとを備える携帯端末によって実行可能なプログラムであって、
該プログラムは、
前記通信インタフェースが接続された通信ネットワーク内において、画像処理動作を実行可能な画像処理装置を第1方法で検索する第1検索処理と、
前記第1検索処理で前記画像処理装置を検出したか否かを判断する第1判断処理と、
前記第1判断処理で前記画像処理装置を検出しなかったと判断したことに応じて、前記第1方法と異なる第2方法で前記画像処理装置を検索する第2検索処理と、
前記第1検索処理或いは前記第2検索処理で検出した前記画像処理装置を識別する装置情報を、指定装置情報として前記メモリに記憶させる第1記憶処理と、
前記メモリに記憶された前記指定装置情報で識別される前記画像処理装置に、前記画像処理動作の実行を指示する動作指示情報を前記通信インタフェースを通じて送信する動作指示処理とを前記携帯端末に実行させるプログラム。
A program that can be executed by a mobile terminal equipped with a communication interface and memory.
The program
In the communication network to which the communication interface is connected, the first search process for searching an image processing device capable of executing an image processing operation by the first method, and
The first determination process for determining whether or not the image processing device is detected in the first search process, and
A second search process for searching the image processing device by a second method different from the first method in response to the determination that the image processing device was not detected in the first determination process.
A first storage process for storing device information for identifying the image processing device detected in the first search process or the second search process in the memory as designated device information.
The image processing device identified by the designated device information stored in the memory causes the mobile terminal to execute an operation instruction process for transmitting operation instruction information instructing execution of the image processing operation through the communication interface. program.
通信インタフェースと、
入力インタフェースと、
メモリと、
コントローラとを備える携帯端末であって、
前記コントローラは、
前記通信インタフェースが接続された通信ネットワーク内において、画像処理動作を実行可能な画像処理装置を第1方法で検索する第1検索処理と、
前記第1検索処理で前記画像処理装置を検出したか否かを判断する第1判断処理と、
前記第1判断処理で前記画像処理装置を検出しなかったと判断したことに応じて、前記第1方法と異なる第2方法で前記画像処理装置を検索する第2検索処理と、
前記第1検索処理或いは前記第2検索処理で検出した前記画像処理装置を識別する装置情報を、指定装置情報として前記メモリに記憶させる第1記憶処理と、
前記メモリに記憶された前記指定装置情報で識別される前記画像処理装置に、前記画像処理動作の実行を指示する動作指示情報を前記通信インタフェースを通じて送信する動作指示処理と実行し、
前記コントローラは、
前記第1検索処理及び前記第2検索処理の一方において、
前記装置情報の送信を要求する送信要求情報を前記通信インタフェースを通じて前記通信ネットワークにブロードキャストする第1送信処理と、
前記第1送信処理で送信した前記送信要求情報の応答として、前記通信インタフェースを通じて前記画像処理装置から前記装置情報を受信する第1受信処理とを実行し、
前記第1検索処理及び前記第2検索処理の他方において、
前記通信ネットワーク内で前記画像処理装置を識別するアドレス情報を入力するユーザ操作を、前記入力インタフェースを通じて受け付ける第1受付処理と、
前記第1受付処理で入力を受け付けた前記アドレス情報で識別される前記画像処理装置に、前記通信インタフェースを通じて前記送信要求情報をユニキャストする第2送信処理と、
前記第2送信処理で送信した前記送信要求情報の応答として、前記通信インタフェースを通じて前記画像処理装置から前記装置情報を受信する第2受信処理とを実行し、
前記第1判断処理において、前記第1検索処理で前記送信要求情報を送信してから第1時間が経過する前に前記装置情報を受信したか否かを判断する携帯端末。
Communication interface and
Input interface and
With memory
A mobile terminal equipped with a controller
The controller
In the communication network to which the communication interface is connected, the first search process for searching an image processing device capable of executing an image processing operation by the first method, and
The first determination process for determining whether or not the image processing device is detected in the first search process, and
A second search process for searching the image processing device by a second method different from the first method in response to the determination that the image processing device was not detected in the first determination process.
A first storage process for storing device information for identifying the image processing device detected in the first search process or the second search process in the memory as designated device information.
The operation instruction processing for transmitting the operation instruction information instructing the execution of the image processing operation to the image processing device identified by the designated device information stored in the memory is executed through the communication interface.
The controller
In one of the first search process and the second search process,
The first transmission process of broadcasting the transmission request information requesting the transmission of the device information to the communication network through the communication interface, and
As a response to the transmission request information transmitted in the first transmission process, the first reception process of receiving the device information from the image processing device through the communication interface is executed.
In the other of the first search process and the second search process,
A first reception process that accepts a user operation for inputting address information that identifies the image processing device in the communication network through the input interface.
A second transmission process of unicasting the transmission request information to the image processing device identified by the address information received in the first reception process through the communication interface.
As a response to the transmission request information transmitted in the second transmission process, a second reception process of receiving the device information from the image processing device through the communication interface is executed.
In the first determination process, a mobile terminal that determines whether or not the device information has been received before the first time elapses after the transmission request information is transmitted in the first search process.
JP2021189907A 2017-04-26 2021-11-24 Program and mobile terminal Active JP7264213B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021189907A JP7264213B2 (en) 2017-04-26 2021-11-24 Program and mobile terminal

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2017087110A JP6984161B2 (en) 2017-04-26 2017-04-26 Programs and mobile terminals
JP2021189907A JP7264213B2 (en) 2017-04-26 2021-11-24 Program and mobile terminal

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017087110A Division JP6984161B2 (en) 2017-04-26 2017-04-26 Programs and mobile terminals

Publications (2)

Publication Number Publication Date
JP2022031284A true JP2022031284A (en) 2022-02-18
JP7264213B2 JP7264213B2 (en) 2023-04-25

Family

ID=87760971

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021189907A Active JP7264213B2 (en) 2017-04-26 2021-11-24 Program and mobile terminal

Country Status (1)

Country Link
JP (1) JP7264213B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006340286A (en) * 2005-06-06 2006-12-14 Canon Inc Information communication apparatus, system and method
JP2007214916A (en) * 2006-02-09 2007-08-23 Canon Inc Network device management device, and searching method thereof
JP2016186774A (en) * 2015-03-27 2016-10-27 富士ゼロックス株式会社 Method of searching for image forming apparatus, portable terminal, and program

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006340286A (en) * 2005-06-06 2006-12-14 Canon Inc Information communication apparatus, system and method
JP2007214916A (en) * 2006-02-09 2007-08-23 Canon Inc Network device management device, and searching method thereof
JP2016186774A (en) * 2015-03-27 2016-10-27 富士ゼロックス株式会社 Method of searching for image forming apparatus, portable terminal, and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
BROTHER, ネットワーク設定ガイド, JPN6022052461, 20 May 2009 (2009-05-20), ISSN: 0004941087 *

Also Published As

Publication number Publication date
JP7264213B2 (en) 2023-04-25

Similar Documents

Publication Publication Date Title
US10389902B2 (en) Information processing apparatus, cooperation system and computer readable medium
KR101799408B1 (en) Apparatus and method for controlling controllable device in portable terminal
US10666830B2 (en) Non-transitory computer-readable medium and portable terminal
US8788594B2 (en) Data processing apparatus and data processing system
CN107800913B (en) Information processing apparatus and recording medium
JP2008140192A (en) Printing system, printer, terminal equipment, print setting method, and print setting program
JP2015210754A (en) Image recorder, recording system, and program
JP6409322B2 (en) Recording system and program
JP2017068561A (en) Image formation device, monitor program, and image formation system
KR101606831B1 (en) Image forming apparatus, host device and method for controlling print
US10477041B2 (en) Non-transitory recording medium storing instructions for mobile terminal using NFC and mobile terminal using NFC
JP6611550B2 (en) COMMUNICATION DEVICE, COMMUNICATION DEVICE CONTROL METHOD, AND PROGRAM
JP2019029689A (en) Image forming apparatus and method for controlling the same, and program
JP6919471B2 (en) Programs, mobile terminals, information processing devices, and information processing systems
JP7264213B2 (en) Program and mobile terminal
JP2012141660A (en) Control device and program
JP2022046473A (en) Information processing device and program
US20170223216A1 (en) System and method for proximity-based discovery of multifunction devices
JP6794839B2 (en) Information processing equipment, communication system, communication method, program
JP2017151762A (en) Program and portable terminal
JP6852413B2 (en) Programs and mobile terminals
JP6315890B2 (en) Information processing system and information processing apparatus
JP7009082B2 (en) Mobile terminals and programs
JP6638459B2 (en) program
JP2015231158A (en) Information processing device and control method thereof, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20211214

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20211214

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20221207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20221209

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20230203

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20230327

R150 Certificate of patent or registration of utility model

Ref document number: 7264213

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150