JP6965521B2 - program - Google Patents

program Download PDF

Info

Publication number
JP6965521B2
JP6965521B2 JP2017011898A JP2017011898A JP6965521B2 JP 6965521 B2 JP6965521 B2 JP 6965521B2 JP 2017011898 A JP2017011898 A JP 2017011898A JP 2017011898 A JP2017011898 A JP 2017011898A JP 6965521 B2 JP6965521 B2 JP 6965521B2
Authority
JP
Japan
Prior art keywords
shop
information
determination
program
mobile terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
JP2017011898A
Other languages
Japanese (ja)
Other versions
JP2018120450A (en
Inventor
紀彦 浅井
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Brother Industries Ltd
Original Assignee
Brother Industries Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2017011898A priority Critical patent/JP6965521B2/en
Publication of JP2018120450A publication Critical patent/JP2018120450A/en
Application granted granted Critical
Publication of JP6965521B2 publication Critical patent/JP6965521B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Digital Computer Display Output (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Description

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

例えば特許文献1には、ユーザが指定した画像形成動作を画像形成装置に実行させる携帯端末のプログラムが開示されている。そして、画像形成装置は、携帯端末から指示された画像形成動作を、当該画像形成装置に装着された消耗品(例えば、インク、トナー、シート等)を用いて実行する。すなわち、携帯端末のユーザは、画像形成動作を実行させようとする画像形成装置の消耗品が枯渇している場合に、新たな消耗品を購入して当該画像形成装置に装着する必要がある。 For example, Patent Document 1 discloses a program of a mobile terminal that causes an image forming apparatus to execute an image forming operation specified by a user. Then, the image forming apparatus executes the image forming operation instructed from the mobile terminal by using the consumables (for example, ink, toner, sheet, etc.) attached to the image forming apparatus. That is, when the consumables of the image forming apparatus for executing the image forming operation are exhausted, the user of the mobile terminal needs to purchase new consumables and attach them to the image forming apparatus.

特開2012−203742号公報Japanese Unexamined Patent Publication No. 2012-203742

消耗品は、画像形成装置のモデル毎に異なる場合がある。そして、所望のモデルに対応する消耗品が近くのショップで販売されていない場合もある。しかしながら、所望の消耗品を販売しているショップを探す作業は、ユーザにとって負担が大きいという課題がある。この課題は、消耗品を販売するショップのみならず、画像形成装置に装着可能なアクセサリ(例えば、増設トレイ等)を販売する、使用中の画像形成装置の代替機となる画像形成装置を販売する、或いは画像形成装置のメンテナンス等を提供する(以下、これらを総称して、「画像形成装置に関するサービス」と表記する。)ショップについても同様に生じ得る。 Consumables may vary from model to model of the image forming apparatus. And consumables corresponding to the desired model may not be sold at nearby shops. However, there is a problem that the work of finding a shop selling desired consumables is burdensome for the user. This task is not only for shops that sell consumables, but also for selling accessories that can be attached to image forming devices (for example, expansion trays), and selling image forming devices that are alternatives to the image forming devices in use. Alternatively, a shop that provides maintenance of the image forming apparatus (hereinafter, these are collectively referred to as "service related to the image forming apparatus") may occur in the same manner.

本発明は、上記の事情に鑑みてなされたものであり、その目的は、画像形成装置と通信するプログラムにおいて、画像形成装置に関するサービスを提供するショップを、ユーザに適切に認識させる技術を提供することにある。 The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a technique for allowing a user to appropriately recognize a shop that provides a service related to an image forming apparatus in a program that communicates with the image forming apparatus. There is.

本明細書では様々な開示を行う。開示例の1つであるプログラムは、通信インタフェースと、入力インタフェースと、報知部とを備える携帯端末によって読み取り可能である。該プログラムは、前記入力インタフェースを通じたユーザ操作に従って、前記通信インタフェースを通じて指定装置と通信する通信処理を前記携帯端末に実行させる。前記指定装置は、画像形成動作を実行する画像形成装置のうち、前記入力インタフェースを通じてユーザが指定した前記画像形成装置である。該プログラムは、前記携帯端末から報知距離内に存在するショップを検出する検出処理と、前記検出処理で前記ショップを検出したことに応じて、当該ショップが前記指定装置に関するサービスを提供するか否かを判断する第1判断処理と、前記第1判断処理で前記サービスを提供すると判断したことに応じて、前記ショップが前記報知距離内に存在することを、前記報知部に報知させる報知処理とを前記携帯端末に実行させる。 Various disclosures are made herein. The program, which is one of the disclosure examples, can be read by a mobile terminal including a communication interface, an input interface, and a notification unit. The program causes the mobile terminal to execute a communication process of communicating with a designated device through the communication interface according to a user operation through the input interface. The designated device is the image forming device designated by the user through the input interface among the image forming devices that execute the image forming operation. The program has a detection process for detecting a shop existing within a notification distance from the mobile terminal, and whether or not the shop provides a service related to the designated device in response to the detection of the shop by the detection process. The first determination process for determining the above, and the notification process for notifying the notification unit that the shop is within the notification distance in response to the determination in the first determination process to provide the service. Let the mobile terminal execute it.

上記構成によれば、指定装置に関するサービスを提供するショップのうち、携帯端末を所持するユーザの近くにあるショップが報知される。これにより、指定装置に関するサービスを提供するショップを探すユーザの手間を省くことができる。 According to the above configuration, among the shops that provide services related to the designated device, the shops near the user who owns the mobile terminal are notified. This saves the user the trouble of searching for a shop that provides services related to the designated device.

図1は、実施形態に係るシステム100の概要を示す図である。FIG. 1 is a diagram showing an outline of the system 100 according to the embodiment. 図2(A)はMFP10のブロック図を、図2(B)は携帯端末50のブロック図を示す。FIG. 2A shows a block diagram of the MFP10, and FIG. 2B shows a block diagram of the mobile terminal 50. 図3は、システム100を構成する各装置に記憶される情報の例であって、(A)は携帯端末50に記憶される購入情報を、(B)はサーバ80に記憶されるショップリストを、(C)はサーバ80に記憶されるCTGリストを示す。FIG. 3 is an example of information stored in each device constituting the system 100, (A) is purchase information stored in the mobile terminal 50, and (B) is a shop list stored in the server 80. , (C) indicate a CTG list stored in the server 80. 図4は、メイン画面のフローチャートである。FIG. 4 is a flowchart of the main screen. 図5は、ショップ登録処理Aのフローチャートである。FIG. 5 is a flowchart of the shop registration process A. 図6は、ショップ探索処理のフローチャートである。FIG. 6 is a flowchart of the shop search process. 図7は、報知制御処理のフローチャートである。FIG. 7 is a flowchart of the notification control process. 図8は、ショップ登録処理Bのフローチャートである。FIG. 8 is a flowchart of the shop registration process B. 図9は、消耗品交換時の処理のフローチャートである。FIG. 9 is a flowchart of processing at the time of consumables replacement. 図10は、ディスプレイ53の表示例であって、(A)はメニュー画面を、(B)は登録確認画面Aを示す。10A and 10B are display examples of the display 53, in which FIG. 10A shows a menu screen and FIG. 10B shows a registration confirmation screen A. 図11は、ディスプレイ53の表示例であって、(A)は代替手段選択画面を、(B)は購入確認画面を示す。11A and 11B are display examples of the display 53, in which FIG. 11A shows an alternative means selection screen and FIG. 11B shows a purchase confirmation screen. 図12は、ディスプレイ53の表示例であって、(A)は登録確認画面Bを、(B)はショップ選択画面を示す。12A and 12B are display examples of the display 53, in which FIG. 12A shows a registration confirmation screen B and FIG. 12B shows a shop selection screen.

以下、適宜図面を参照して本発明の実施形態について説明する。なお、以下に説明される実施形態は本発明の一例にすぎず、本発明の要旨を変更しない範囲で、本発明の実施形態を適宜変更できることは言うまでもない。例えば、後述する各処理の実行順序は、本発明の要旨を変更しない範囲で、適宜変更することができる。 Hereinafter, embodiments of the present invention will be described with reference to the drawings as appropriate. It goes without saying 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(以下、これらを総称して、「MFP10」と表記することがある。)と、携帯端末50と、サーバ80とで構成される。MFP10、携帯端末50、及びサーバ80は、通信ネットワークを介して相互に通信可能とされている。通信ネットワークの具体例は特に限定されないが、例えば、インターネット101、有線LAN、無線LAN102、或いはこれらの組み合わせであってもよい。 FIG. 1 is a schematic view of the system 100 according to the present embodiment. The system 100 shown in FIG. 1 includes MFPs 10A and 10B (hereinafter, these may be collectively referred to as "MFP10"), a mobile terminal 50, and a server 80. The MFP 10, the mobile terminal 50, and the server 80 are made capable of communicating with each other via a communication network. Specific examples of the communication network are not particularly limited, but may be, for example, the Internet 101, a wired LAN, a wireless LAN 102, or a combination thereof.

MFP10及び携帯端末50は、無線LAN102に属している。すなわち、MFP10及び携帯端末50は、無線LAN102の不図示のアクセスポイントを経由して、相互に通信することができる。また、無線LAN102は、ルータ102Aを通じてインターネット101に接続されている。さらに、サーバ80は、インターネット101に接続されている。すなわち、MFP10及び携帯端末50は、ルータ102Aからインターネット101を経由して、サーバ80と通信することができる。 The MFP 10 and the mobile terminal 50 belong to the wireless LAN 102. That is, the MFP 10 and the mobile terminal 50 can communicate with each other via an access point (not shown) of the wireless LAN 102. Further, the wireless LAN 102 is connected to the Internet 101 through the router 102A. Further, the server 80 is connected to the Internet 101. That is, the MFP 10 and the mobile terminal 50 can communicate with the server 80 from the router 102A via the Internet 101.

MFP10は、図2(A)に示されるように、プリンタ11と、スキャナ12と、ディスプレイ23と、入力I/F24と、通信I/F25と、CPU31と、メモリ32と、通信バス33とを主に備える。MFP10を構成する各構成要素は、通信バス33を通じて相互に接続されている。MFP10は、画像形成装置の一例である。 As shown in FIG. 2A, the MFP 10 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. Mainly prepare. 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 forming apparatus.

プリンタ11は、画像データで示される画像をシートに記録するプリント動作を実行するハードウェアである。本実施形態では、インクを吐出して画像を記録するインクジェット方式のプリンタ11の例を説明するが、プリンタ11の記録方式は電子写真方式等であってもよい。スキャナ12は、原稿に記録されている画像を読み取って画像データ(以下、「スキャンデータ」と表記する。)を生成するスキャン動作を実行するハードウェアである。プリント動作及びスキャン動作は、画像形成動作の一例である。 The printer 11 is hardware that executes a printing operation of recording an image represented by image data on a sheet. In the present embodiment, an example of an inkjet printer 11 that ejects ink to record an image will be described, but the recording method of the printer 11 may be an electrophotographic method or the like. The scanner 12 is hardware that executes a scanning operation that reads an image recorded on a document and generates image data (hereinafter, referred to as “scan data”). The print operation and the scan operation are examples of image formation operations.

なお、画像形成動作の具体例はこれらに限定されない。画像形成動作は、例えば、FAXプロトコルに従って画像データを外部装置にFAX送信するFAX送信動作、FAXプロトコルに従って外部装置から画像データをFAX受信するFAX受信動作等であってもよい。また、MFP10A、10Bは、少なくとも1つの画像形成動作を実行可能であればよい。さらに、MFP10A、10Bが実行可能な画像形成動作は、異なっていてもよい。 Specific examples of the image forming operation are not limited to these. The image forming operation may be, for example, a FAX transmission operation of faxing image data to an external device according to the FAX protocol, a FAX reception operation of receiving image data by FAX from an external device according to the FAX protocol, and the like. Further, the MFPs 10A and 10B may be any as long as they can execute at least one image forming operation. Further, the image forming operations that the MFPs 10A and 10B can perform may be different.

図示は省略するが、プリンタ11は、インクカートリッジを着脱可能な装着部を備える。そして、プリンタ11は、装着部に装着されたインクカートリッジに貯留されたインクを用いて、シートに画像を記録する。すなわち、インクカートリッジに貯留されたインクの量は、プリンタ11がプリント動作を実行する度に、徐々に減少する。そして、プリンタ11は、インクカートリッジに貯留されたインクがなくなると、それ以上プリント動作を実行することができなくなる。換言すれば、プリンタ11がプリント動作をさらに実行するためには、インクがなくなったインクカートリッジを装着部から取り外し、且つインクが貯留されている新たなインクカートリッジを装着部に装着する(すなわち、インクカートリッジを交換する)必要がある。 Although not shown, the printer 11 includes a mounting portion to which an ink cartridge can be attached and detached. Then, the printer 11 records an image on the sheet by using the ink stored in the ink cartridge mounted on the mounting portion. That is, the amount of ink stored in the ink cartridge gradually decreases each time the printer 11 executes a printing operation. Then, when the ink stored in the ink cartridge is exhausted, the printer 11 cannot execute the printing operation any more. In other words, in order for the printer 11 to further perform the printing operation, the ink cartridge that has run out of ink is removed from the mounting portion, and a new ink cartridge in which ink is stored is mounted in the mounting portion (that is, ink). (Cartridge needs to be replaced).

インクカートリッジは、プリント動作に用いられる消耗品の一例である。但し、画像形成動作に用いられる消耗品の具体例はインクカートリッジに限定されず、例えば、トナーカートリッジ、ドラムユニット、インクリボン、排液フォーム、被記録媒体(例えば、普通紙、光沢紙、インクジェット紙など)等であってもよい。すなわち、消耗品は、ユーザによってMFP10に着脱されるものであって、画像形成動作の実行に伴って徐々に消耗するあらゆるものを含む。 Ink cartridges are an example of consumables used in printing operations. However, specific examples of consumables used in the image forming operation are not limited to ink cartridges, and are, for example, toner cartridges, drum units, ink ribbons, drainage foams, recording media (for example, plain paper, glossy paper, inkjet paper, etc.). ) Etc. may be used. That is, the consumables include all that are attached to and detached from the MFP 10 by the user and are gradually consumed as the image forming operation is executed.

また、プリンタ11は、装着部に装着されたインクカートリッジに貯留されたインクの量(以下、「インク残量」と表記する。)を検出し、検出したインク残量を示す残量信号をCPU31に出力する残量センサを備える。残量信号は、例えば、新品のインクカートリッジのインク残量を100%として、現在のインク残量をパーセンテージで示す。すなわち、CPU31は、装着部に装着されたインクカートリッジのインク残量を把握することができる。残量センサは、例えば、光学式センサ、機械式センサ、ソフトウェアセンサ、或いはそれらの組み合わせで実現される。 Further, the printer 11 detects the amount of ink stored in the ink cartridge mounted on the mounting portion (hereinafter, referred to as “remaining amount of ink”), and sends a remaining amount signal indicating the detected remaining amount of ink to the CPU 31. It is equipped with a remaining amount sensor that outputs to. The remaining amount signal indicates, for example, the current remaining amount of ink as a percentage, assuming that the remaining amount of ink in a new ink cartridge is 100%. That is, the CPU 31 can grasp the remaining amount of ink in the ink cartridge mounted on the mounting portion. The remaining amount sensor is realized by, for example, an optical sensor, a mechanical sensor, a software sensor, or a combination thereof.

さらに、プリンタ11は、装着部にインクカートリッジが装着されたことを検出したことに応じて、装着信号をCPU31に出力する装着センサを備える。装着センサは、例えば、装着部にインクカートリッジが装着されているときに装着信号を継続して出力し、装着部にインクカートリッジが装着されていないときに装着信号を出力しない。すなわち、CPU31は、装着信号の出力が停止した後に再び装着信号が出力されたことに応じて、インクカートリッジが交換されたと推定することができる。装着センサは、例えば、光学式センサ、機械式センサ、或いはそれらの組み合わせで実現される。 Further, the printer 11 includes a mounting sensor that outputs a mounting signal to the CPU 31 in response to detecting that the ink cartridge has been mounted in the mounting portion. For example, the mounting sensor continuously outputs a mounting signal when the ink cartridge is mounted on the mounting portion, and does not output a mounting signal when the ink cartridge is not mounted on the mounting portion. That is, it can be estimated that the CPU 31 has replaced the ink cartridge in response to the fact that the mounting signal is output again after the output of the mounting signal is stopped. The mounting sensor is realized, for example, by an optical sensor, a mechanical sensor, or a combination thereof.

入力I/F24は、ユーザによる入力操作を受け付けるユーザインタフェースである。具体的には、入力I/F24はボタンを有しており、押下されたボタンに対応づけられた各種の操作信号をCPU31へ出力する。さらに、入力I/F24は、ディスプレイ23の表示面に重畳された膜状のタッチセンサを有していてもよい。ディスプレイ23の表示面に表示されたオブジェクトを指定する操作、文字列或いは数字列を入力する操作は、ユーザ操作の一例である。「オブジェクト」とは、例えば、ディスプレイ23に表示された文字列、アイコン、ボタン、リンク、プルダウンメニュー等である。 The input I / F 24 is a user interface that accepts input operations 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 surface of the display 23. The operation of designating an object displayed on the display surface 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 pull-down menu, or the like displayed on the display 23.

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

通信I/F25は、通信ネットワークを通じて外部装置と通信を行うための通信インタフェースの一例である。すなわち、MFP10は、通信I/F25を通じて携帯端末50及びサーバ80に各種情報を送信し、通信I/F25を通じて携帯端末50及びサーバ80から各種データ又は各種情報を受信する。通信I/F25の具体的な通信手順は特に限定されないが、例えば、Wi−Fi(登録商標)を採用することができる。 The communication I / F 25 is an example of a communication interface for communicating with an external device through a communication network. That is, the MFP 10 transmits various information to the mobile terminal 50 and the server 80 through the communication I / F 25, and receives various data or various information from the mobile terminal 50 and the server 80 through the communication I / F 25. 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 signals output from the input I / F 24 and various information acquired from the external device through the communication I / F 25. That is, the CPU 31 and the memory 32 form an example of the controller.

メモリ32には、OS34と、装置プログラム35とが記憶される。なお、装置プログラム35は、単一のプログラムであってもよいし、複数のプログラムの集合体であってもよい。また、メモリ32には、装置プログラム35の実行に必要なデータ或いは情報が記憶される。メモリ32は、例えば、RAM、ROM、EEPROM、HDD、MFP10に着脱されるUSBメモリ等の可搬記憶媒体、CPU31が備えるバッファ等、或いはそれらの組み合わせによって構成される。 The OS 34 and the device program 35 are stored in the memory 32. 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な媒体でもある。一方、インターネット101上のサーバなどからダウンロードされるプログラムを搬送する電気信号は、コンピュータが読み取り可能な媒体の一種であるコンピュータが読み取り可能な信号媒体であるが、non−transitoryなコンピュータが読み取り可能なストレージ媒体には含まれない。後述する携帯端末50のメモリ62についても同様である。 The memory 32 may be a computer-readable storage medium. A computer-readable storage medium is a non-transitory medium. In addition to the above examples, the non-transitory medium also includes a recording medium such as a CD-ROM or a DVD-ROM. The non-transitory medium is also a tangible medium. On the other hand, the electric signal that carries the program downloaded from the server on the Internet 101 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 can be read by a non-transitory computer. Not included in the storage medium. The same applies to the memory 62 of the mobile terminal 50 described later.

メモリ32のMIB(Management Information Baseの略)は、図1に示される装置情報を記憶している。装置情報は、MFP10を識別する装置IDと、MFP10に装着可能なインクカートリッジのタイプ(例えば、型番)を示すCTGタイプとを含む。すなわち、MFP10Aは、装置ID“MFP−A”で識別され、CTGタイプ“CTG−A”で識別されるインクカートリッジが装着部に着脱可能である。MFP10Bは、装置ID“MFP−B”で識別され、CTGタイプ“CTG−B”で識別されるインクカートリッジが装着部に着脱可能である。 The MIB (abbreviation of Management Information Base) of the memory 32 stores the device information shown in FIG. The device information includes a device ID that identifies the MFP 10 and a CTG type that indicates the type (for example, model number) of the ink cartridge that can be mounted on the MFP 10. That is, in the MFP10A, an ink cartridge identified by the device ID "MFP-A" and identified by the CTG type "CTG-A" can be attached to and detached from the mounting portion. The MFP10B is identified by the device ID "MFP-B", and the ink cartridge identified by the CTG type "CTG-B" can be attached to and detached from the mounting portion.

CTGタイプは、インクカートリッジの外形形状、装着部とのインタフェースの位置及び形状、或いは貯留されるインクの容量等を示す。すなわち、装着部には、装置情報のCTGタイプで示されるタイプのインクカートリッジを装着可能で、他のタイプのインクカートリッジを装着することができない。一般的に、同一モデルのMFP10のCTGタイプは一致し、異なるモデルのMFP10のCTGタイプは異なる。また、装置情報が複数のCTGタイプを含む場合、装着部には、複数のタイプのインクカートリッジ(例えば、小容量カートリッジ、大容量カートリッジ)が選択的に装着可能である。 The CTG type indicates the outer shape of the ink cartridge, the position and shape of the interface with the mounting portion, the capacity of the ink to be stored, and the like. That is, an ink cartridge of the type indicated by the CTG type of the device information can be mounted on the mounting portion, and another type of ink cartridge cannot be mounted. Generally, the CTG types of MFP10s of the same model match, and the CTG types of MFP10s of different models are different. When the device information includes a plurality of CTG types, a plurality of types of ink cartridges (for example, a small capacity cartridge and a large capacity cartridge) can be selectively mounted on the mounting portion.

携帯端末50は、図2(B)に示されるように、ディスプレイ53と、入力I/F54と、通信I/F55と、位置検出部56と、CPU61と、メモリ62と、通信バス63とを主に備える。携帯端末50に含まれるディスプレイ53、入力I/F54、通信I/F55、CPU61、メモリ62、及び通信バス63は、MFP10に含まれるディスプレイ23、入力I/F24、通信I/F25、CPU31、メモリ32、及び通信バス33と同様の構成であるので、説明は省略する。 As shown in FIG. 2B, the mobile terminal 50 includes a display 53, an input I / F 54, a communication I / F 55, a position detection unit 56, a CPU 61, a memory 62, and a communication bus 63. Mainly prepare. 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.

携帯端末50は、例えば、携帯電話、スマートフォン、或いはタブレット端末等であってもよい。より詳細には、携帯端末50のディスプレイ53は、表示画面のサイズが12インチ以下、より好ましくは8インチ以下であるのが望ましい。また、携帯端末50の入力I/F54は、ディスプレイ53の表示画面に重ねられたタッチセンサであるのが望ましい。ディスプレイ53は、報知部の一例である。但し、報知部の具体例はディスプレイ53に限定されず、スピーカ、LEDランプ、バイブレータ、或いはこれらの組み合わせであってもよい。 The mobile terminal 50 may be, 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. The display 53 is an example of the notification unit. However, the specific example of the notification unit is not limited to the display 53, and may be a speaker, an LED lamp, a vibrator, or a combination thereof.

位置検出部56は、携帯端末50の現在位置を示す位置情報をCPU61に出力する。位置検出部は、例えば、GPSを利用して携帯端末50の現在位置を検出する。位置情報は、例えば、携帯端末50の現在位置の緯度及び経度の組み合わせである。GPSを利用して現在位置を検出する方法は周知なので、詳細な説明は省略する。但し、位置検出部56による携帯端末50の現在位置の検出方法は、前述の例に限定されない。例えば、位置検出部56から出力される位置情報は、携帯端末の現在位置の都市名(例えば、“名古屋市瑞穂区”、“大阪府高槻市”等)でもよいし、携帯端末50の現在位置の最寄り駅の駅名でもよい。また、位置検出部56は、省略することができる。 The position detection unit 56 outputs position information indicating the current position of the mobile terminal 50 to the CPU 61. The position detection unit detects the current position of the mobile terminal 50 using, for example, GPS. The position information is, for example, a combination of the latitude and longitude of the current position of the mobile terminal 50. Since the method of detecting the current position using GPS is well known, detailed description thereof will be omitted. However, the method of detecting the current position of the mobile terminal 50 by the position detecting unit 56 is not limited to the above-mentioned example. For example, the position information output from the position detection unit 56 may be the city name of the current position of the mobile terminal (for example, "Mizuho Ward, Nagoya City", "Takatsuki City, Osaka Prefecture", etc.), or the current position of the mobile terminal 50. It may be the station name of the nearest station. Further, the position detection unit 56 can be omitted.

メモリ62は、OS64と、端末プログラム65とを記憶している。一例として、端末プログラム65は、ユーザが指定したMFP10(以下、「指定装置」と表記する。)に画像形成動作を実行させる機能を有していてもよい。他の例として、端末プログラム65は、MFP10のステータス情報を取得してディスプレイ53に表示させる機能を有していてもよい。さらに他の例として、端末プログラム65は、例えば、画像形成動作に用いる消耗品を、通信I/F55を通じてサーバ80に発注する機能を有していてもよい。なお、端末プログラム65には、前述した3つの機能の全てが実装されていなくてよい。 The memory 62 stores the OS 64 and the terminal program 65. As an example, the terminal program 65 may have a function of causing an MFP 10 (hereinafter, referred to as a “designated device”) designated by the user to execute an image forming operation. As another example, the terminal program 65 may have a function of acquiring the status information of the MFP 10 and displaying it on the display 53. As yet another example, the terminal program 65 may have, for example, a function of ordering consumables used for the image forming operation from the server 80 through the communication I / F 55. It should be noted that the terminal program 65 does not have to implement all of the above-mentioned three functions.

メモリ62は、例えば図3(A)に示されるように、購入情報を記憶することができる。購入情報は、携帯端末50のユーザが購入したMFP10の消耗品を示す情報である。購入情報は、端末プログラム65が携帯端末50にインストールされた時点ではメモリ62に記憶されておらず、後述するS68で端末プログラム65がメモリ62に記憶させる。購入情報は、例えば、CTGタイプと、残数情報とを含む。CTGタイプは、ユーザが購入したインクカートリッジのタイプを示す。残数情報は、ユーザが購入したインクカートリッジのうち、未だMFP10に装着されていないインクカートリッジの数(以下、「CTG残数」と表記する。)を示す情報である。 The memory 62 can store purchase information, for example, as shown in FIG. 3 (A). The purchase information is information indicating consumables of the MFP 10 purchased by the user of the mobile terminal 50. The purchase information is not stored in the memory 62 when the terminal program 65 is installed in the mobile terminal 50, and is stored in the memory 62 by the terminal program 65 in S68 described later. The purchase information includes, for example, the CTG type and the remaining number information. The CTG type indicates the type of ink cartridge purchased by the user. The remaining number information is information indicating the number of ink cartridges purchased by the user that have not yet been mounted on the MFP 10 (hereinafter, referred to as “CTG remaining number”).

また図示は省略するが、メモリ62は、指定装置情報と、対象ショップ情報と、ステータス情報とを記憶することができる。指定装置情報、対象ショップ情報、及びステータス情報は、端末プログラム65が携帯端末50にインストールされた時点ではメモリ62に記憶されておらず、後述する処理で端末プログラム65がメモリ62に記憶させる。 Although not shown, the memory 62 can store designated device information, target shop information, and status information. The designated device information, the target shop information, and the status information are not stored in the memory 62 when the terminal program 65 is installed in the mobile terminal 50, and are stored in the memory 62 by the terminal program 65 in a process described later.

指定装置情報は、ユーザが指定した指定装置のMIBに記憶された装置情報である。対象ショップ情報は、サーバ80に登録された複数のショップのうち、後述する登録条件に合致するショップを示す情報、換言すれば、後述する報知制御処理で報知の対象となるショップ(以下、「対象ショップ」と表記する。)を示す情報である。対象ショップ情報は、後述するショップリストに含まれるショップレコードの1つに対応する。ステータス情報は、指定装置の状態を示す情報である。ステータス情報は、例えば、指定装置が画像形成動作を実行可能か否かを示す状態情報(例えば、“ビジー状態”、“アイドル状態”等)と、MFP10に装着されたインクカートリッジのインク残量を示す残量情報(例えば、“80%”、“インクロー”、“エンプティ”等)とを含む。 The designated device information is device information stored in the MIB of the designated device designated by the user. The target shop information is information indicating a shop that meets the registration conditions described later among a plurality of shops registered in the server 80, in other words, a shop that is subject to notification by the notification control process described later (hereinafter, "target"). It is the information indicating "shop". The target shop information corresponds to one of the shop records included in the shop list described later. The status information is information indicating the status of the designated device. The status information includes, for example, status information (for example, "busy state", "idle state", etc.) indicating whether or not the designated device can execute the image forming operation, and the remaining amount of ink in the ink cartridge mounted on the MFP 10. It includes the remaining amount information (for example, "80%", "ink low", "empty", etc.) to be shown.

端末プログラム65は、例えば、通信I/F55を通じて指定装置にステータス要求情報を送信する。次に、端末プログラム65は、通信I/F55を通じて指定装置からステータス情報を、ステータス要求情報の応答として受信する。この処理は、通信処理の一例である。そして、端末プログラム65は、受信したステータス情報を指定装置情報と対応付けてメモリ62に記憶させる。この処理は、第1記憶処理の一例である。なお、メモリ62に既にステータス情報が記憶されている場合、端末プログラム65は、当該ステータス情報を新たなステータス情報で上書きする。そして、端末プログラム65は、通信I/F55を通じて指定装置と通信可能な間に、所定の時間間隔(例えば、5分)で前述の処理を繰り返し実行する。ステータス情報或いは残量情報を受信する手順は、後述するS20、S62についても同様である。 The terminal program 65 transmits status request information to the designated device through, for example, the communication I / F 55. Next, the terminal program 65 receives the status information from the designated device through the communication I / F 55 as a response to the status request information. This process is an example of communication process. Then, the terminal program 65 stores the received status information in the memory 62 in association with the designated device information. This process is an example of the first storage process. If the status information is already stored in the memory 62, the terminal program 65 overwrites the status information with the new status information. Then, the terminal program 65 repeatedly executes the above-described processing at predetermined time intervals (for example, 5 minutes) while being able to communicate with the designated device through the communication I / F 55. The procedure for receiving the status information or the remaining amount information is the same for S20 and S62 described later.

また図示は省略するが、メモリ62は、非登録ショップ情報の一例である非登録ショップIDと、候補ショップ情報の一例である候補ショップIDとを記憶することができる。非登録ショップIDは、対象ショップとして登録しないとユーザが指定したショップのショップIDである。候補ショップIDは、対象ショップとして登録される可能性があるショップのショップIDである。非登録ショップID及び候補ショップIDは、端末プログラム65が携帯端末50にインストールされた時点ではメモリ62に記憶されておらず、後述する処理で端末プログラム65がメモリ62に記憶させる。 Although not shown, the memory 62 can store a non-registered shop ID which is an example of non-registered shop information and a candidate shop ID which is an example of candidate shop information. The unregistered shop ID is the shop ID of the shop specified by the user not to be registered as the target shop. The candidate shop ID is a shop ID of a shop that may be registered as a target shop. The unregistered shop ID and the candidate shop ID are not stored in the memory 62 when the terminal program 65 is installed in the mobile terminal 50, and are stored in the memory 62 by the terminal program 65 in a process described later.

また図示は省略するが、メモリ62は、通知フラグを記憶している。通知フラグは、後述する報知制御処理を実行するか否かを示す情報である。通知フラグには、報知制御処理を実行しないことに対応する第1値“OFF”、或いは報知制御処理を実行することに対応する第2値“ON”が設定される。通知フラグの初期値は、第2値“ON”である。 Although not shown, the memory 62 stores the notification flag. The notification flag is information indicating whether or not to execute the notification control process described later. The notification flag is set with a first value "OFF" corresponding to not executing the notification control process or a second value "ON" corresponding to executing the notification control process. The initial value of the notification flag is the second value "ON".

さらに図示は省略するが、メモリ62には、データフォルダが設けられていてもよい。データフォルダには、例えば、写真データ、文書データ、プレゼンテーションデータ、表計算データ等が格納されていてもよい。データフォルダに記憶されている各種データは、プリント動作の対象となり得るデータである。 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.

サーバ80は、図3(B)に示されるショップリストと、図3(C)に示されるCTGリストとをサーバメモリに記憶している。そして、サーバ80は、携帯端末50からの要求に応じて、ショップリスト或いはCTGリストに含まれる情報を携帯端末50に送信する。また、サーバ80は、所謂WEBショッピングサービスを提供する。より詳細には、サーバ80は、携帯端末50からの要求に応じて、指定された消耗品を指定された宛先に発送する。WEBショッピングサービスは、仮想ショップの一例である。サーバ80は、1台で構成されていてもよいし、複数のサーバで構成されていてもよい。 The server 80 stores the shop list shown in FIG. 3B and the CTG list shown in FIG. 3C in the server memory. Then, the server 80 transmits the information included in the shop list or the CTG list to the mobile terminal 50 in response to the request from the mobile terminal 50. The server 80 also provides a so-called WEB shopping service. More specifically, the server 80 ships the designated consumables to the designated destination in response to the request from the mobile terminal 50. The WEB shopping service is an example of a virtual shop. The server 80 may be configured by one server or may be configured by a plurality of servers.

ショップリストは、図3(B)に示されるように、1以上のショップレコードを含む。ショップレコードは、MFP10に装着可能な消耗品を販売しているショップを示すショップ情報の一例である。ショップレコードで示されるショップは、WEBショッピングサービスを提供する仮想ショップではなく、例えば、購入した品物をその場で受け取ることができる実店舗、現実店舗、或いは実在店舗などと呼ばれるものである。ショップレコードは、例えば、サーバ80の管理者によってショップリストに登録される。ショップレコードは、ショップIDと、ショップ位置情報と、販売CTGタイプとを含む。 The shop list contains one or more shop records, as shown in FIG. 3 (B). The shop record is an example of shop information indicating a shop selling consumables that can be attached to the MFP 10. The shop indicated by the shop record is not a virtual shop that provides a WEB shopping service, but is called, for example, a real store, a real store, or a real store where the purchased goods can be received on the spot. The shop record is registered in the shop list by, for example, the administrator of the server 80. The shop record includes a shop ID, shop location information, and a sales CTG type.

ショップIDは、対応するショップをショップリスト内で一意に識別する識別情報である。ショップIDは、例えば、対応するショップの名称(例えば、“○×電気A駅支店”等)でもよい。ショップ位置情報は、ショップIDで識別されるショップの所在地を示す情報である。ショップ位置情報は、例えば、ショップの所在地の緯度及び経度の組み合わせでもよいし、ショップの所在地の都市名(例えば、“名古屋市瑞穂区”、“大阪府高槻市”等)でもよいし、ショップの最寄り駅の駅名でもよい。販売CTGタイプは、ショップIDで識別されるショップで販売されているインクカートリッジのタイプを示す。ショップこれ−度は、1つ或いは複数の販売CTGタイプを含むことができる。 The shop ID is identification information that uniquely identifies the corresponding shop in the shop list. The shop ID may be, for example, the name of the corresponding shop (for example, "○ × Electric A station branch" or the like). The shop location information is information indicating the location of the shop identified by the shop ID. The shop location information may be, for example, a combination of the latitude and longitude of the shop location, the city name of the shop location (for example, "Mizuho-ku, Nagoya City", "Takatsuki City, Osaka Prefecture", etc.), or the shop location information. It may be the station name of the nearest station. The sales CTG type indicates the type of ink cartridge sold in the shop identified by the shop ID. The shop degree can include one or more sales CTG types.

CTGリストは、図3(C)に示されるように、1以上のCTGレコードを含む。CTGレコードは、WEBショッピングサービスで販売しているインクカートリッジのタイプに対応する。CTGレコードは、例えば、サーバ80の管理者によってCTGリストに登録される。CTGレコードは、CTGタイプと、オンライン価格情報とを含む。CTGタイプは、WEBショッピングサービスで販売しているインクカートリッジのタイプを示す。オンライン価格情報は、CTGタイプで識別されるインクカートリッジのWEBショッピングサービスにおける販売価格を示す。 The CTG list contains one or more CTG records, as shown in FIG. 3 (C). CTG records correspond to the types of ink cartridges sold by the WEB shopping service. The CTG record is registered in the CTG list by, for example, the administrator of the server 80. The CTG record includes a CTG type and online pricing information. CTG type indicates the type of ink cartridge sold by the WEB shopping service. The online price information indicates the selling price of the ink cartridge identified by the CTG type in the WEB shopping service.

[システム100の動作]
図4〜図9を参照して、本実施形態に係るシステム100の動作を説明する。なお、図4のメイン処理を開始する時点において、メモリ62には、指定装置情報が記憶されていないものとする。
[Operation of system 100]
The operation of the system 100 according to the present embodiment will be described with reference to FIGS. 4 to 9. It is assumed that the designated device information is not stored in the memory 62 at the time when the main process of FIG. 4 is started.

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

まず、端末プログラム65は、図10(A)に示されるメイン画面をディスプレイ53に表示させる(S11)。メイン画面は、動作アイコン111、112と、ステータスアイコン113と、切替アイコン114とを含む。動作アイコン111はプリント動作の実行指示に対応し、動作アイコン112はスキャン動作の実行指示に対応する。ステータスアイコン113は、指定装置のステータスを表示させる指示に対応する。切替アイコン114は、指定装置の切替指示に対応する。指定装置情報がメモリ62に記憶されていない場合、切替アイコン114には、指定装置が選択されていないことを示す「未選択」の文字列が記述される。そして、端末プログラム65は、メイン画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S12〜S14)。 First, the terminal program 65 causes the display 53 to display the main screen shown in FIG. 10 (A) (S11). The main screen includes operation icons 111 and 112, status icons 113, and switching icons 114. The operation icon 111 corresponds to the execution instruction of the print operation, and the operation icon 112 corresponds to the execution instruction of the scan operation. The status icon 113 corresponds to an instruction for displaying the status of the designated device. The switching icon 114 corresponds to a switching instruction of the designated device. When the designated device information is not stored in the memory 62, the switching icon 114 describes a character string of "unselected" indicating that the designated device is not selected. Then, the terminal program 65 accepts the user operation on the main screen through the input I / F 54 (S12 to S14).

次に、端末プログラム65は、切替アイコン114の指定を入力I/F54を通じて受け付けたことに応じて(S12:Yes)、通信I/F55を通じて通信可能なMFP10のうちの1つを指定装置としてユーザに指定させ、指定装置の装置情報を指定装置情報としてメモリ62に記憶させる(S15〜S18)。 Next, the terminal program 65 receives the designation of the switching icon 114 through the input I / F 54 (S12: Yes), and uses one of the MFPs 10 capable of communicating through the communication I / F 55 as the designated device as the user. Is designated, and the device information of the designated device is stored in the memory 62 as the designated device information (S15 to S18).

まず、端末プログラム65は、例えば、SNMP(Simple Network Management Protocolの略)を用いて、通信I/F55を通じて通信が可能な複数のMFP10を検索する(S15)。具体的には、端末プログラム65は、装置情報の送信を要求する送信要求情報を、通信I/F55を通じて通信ネットワークにブロードキャストする。次に、端末プログラム65は、送信要求情報の応答としてMFP10A、10Bが送信した装置情報を、通信I/F55を通じて受信する。すなわち、端末プログラム65は、装置情報の送信元のMFP10A、10Bを、通信可能なMFP10として特定する。なお、通信可能なMFP10を検索する方法は、周知の他の方法であってもよい。 First, the terminal program 65 uses, for example, SNMP (abbreviation of Simple Network Management Protocol) to search for a plurality of MFPs 10 capable of communicating through the communication I / F55 (S15). Specifically, the terminal program 65 broadcasts the transmission request information requesting the transmission of the device information to the communication network through the communication I / F 55. Next, the terminal program 65 receives the device information transmitted by the MFPs 10A and 10B as a response to the transmission request information through the communication I / F 55. That is, the terminal program 65 specifies the MFPs 10A and 10B, which are the sources of device information, as the communicable MFPs 10. The method of searching for a communicable MFP 10 may be another well-known method.

次に、端末プログラム65は、不図示のデバイス選択画面をディスプレイ53に表示させる(S16)。デバイス選択画面は、S15で発見したMFP10A、10Bに対応するデバイスアイコンを含む。そして、端末プログラム65は、デバイス選択画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S17)。 Next, the terminal program 65 causes the display 53 to display a device selection screen (not shown) (S16). The device selection screen includes device icons corresponding to the MFPs 10A and 10B found in S15. Then, the terminal program 65 accepts the user operation on the device selection screen through the input I / F 54 (S17).

次に、端末プログラム65は、例えば、MFP10Bに対応するデバイスアイコンの指定を入力I/F54を通じて受け付けたことに応じて(S17:Yes)、デバイスアイコンに対応するMFP10Bを指定装置に決定する。そして、端末プログラム65は、S15でMFP10Bから受信した装置情報を、指定装置情報としてメモリ62に記憶させる(S18)。なお、メモリ62に既に指定装置情報が記憶されている場合、端末プログラム65は、当該指定装置情報を新たな指定装置情報で上書きする。 Next, the terminal program 65 determines the MFP10B corresponding to the device icon as the designated device, for example, in response to receiving the designation of the device icon corresponding to the MFP10B through the input I / F54 (S17: Yes). Then, the terminal program 65 stores the device information received from the MFP 10B in S15 in the memory 62 as the designated device information (S18). If the designated device information is already stored in the memory 62, the terminal program 65 overwrites the designated device information with new designated device information.

より詳細には、端末プログラム65は、S17の時点で既にメモリ62に記憶されている指定装置情報を、メモリ62の退避領域に退避させる。次に、端末プログラム65は、S17で指定された指定装置の装置情報を、新たな指定装置情報としてメモリ62に記憶させる。以下、退避領域に退避させた指定装置情報を「旧装置情報」と表記し、S18で新たに記憶させた指定装置情報を「新装置情報」と表記する。 More specifically, the terminal program 65 saves the designated device information already stored in the memory 62 at the time of S17 in the save area of the memory 62. Next, the terminal program 65 stores the device information of the designated device designated in S17 in the memory 62 as new designated device information. Hereinafter, the designated device information saved in the save area is referred to as "old device information", and the designated device information newly stored in S18 is referred to as "new device information".

次に、端末プログラム65は、ショップ登録処理Aを実行する(S19)。ショップ登録処理Aの詳細は、図5を参照して後述する。そして、端末プログラム65は、メイン画面をディスプレイ53に表示させる(S11)。MFP10Bに対応するデバイスアイコンが指定された後のメイン画面において、切替アイコン114には、指定装置情報の装置ID“MFP−B”が記述される。 Next, the terminal program 65 executes the shop registration process A (S19). The details of the shop registration process A will be described later with reference to FIG. Then, the terminal program 65 displays the main screen on the display 53 (S11). On the main screen after the device icon corresponding to the MFP 10B is designated, the device ID "MFP-B" of the designated device information is described in the switching icon 114.

次に、端末プログラム65は、ステータスアイコン113の指定を入力I/F54を通じて受け付けたことに応じて(S13:Yes)、通信I/F55を通じて指定装置からステータス情報を受信する(S20)。S20の処理は、通信処理の一例である。次に、端末プログラム65は、不図示のステータス画面をディスプレイ53に表示させる(S21)。ステータス画面は、例えば、S20で受信した状態情報で示されるMFP10の状態と、S20で受信した残量情報で示されるインク残量と、[OK]アイコンとを含む。そして、端末プログラム65は、[OK]アイコンの指定を入力I/F54を通じて受け付けたことに応じて(S22:Yes)、メイン画面をディスプレイ53に表示させる(S11)。 Next, the terminal program 65 receives the status information from the designated device through the communication I / F 55 in response to receiving the designation of the status icon 113 through the input I / F 54 (S13: Yes) (S20). The processing of S20 is an example of communication processing. Next, the terminal program 65 causes the display 53 to display a status screen (not shown) (S21). The status screen includes, for example, the state of the MFP 10 indicated by the status information received in S20, the ink remaining amount indicated by the remaining amount information received in S20, and the [OK] icon. Then, the terminal program 65 causes the display 53 to display the main screen in response to receiving the designation of the [OK] icon through the input I / F 54 (S22: Yes) (S11).

次に、端末プログラム65は、動作アイコン111、112の指定を入力I/F54を通じて受け付けたことに応じて(S14:Yes)、動作アイコン111、112に対応付けられた画像形成動作を指定装置に実行させるための動作指示処理を実行する(S23)。S23の処理は、通信処理の一例である。動作指示処理の図示は省略するが、例えば以下の処理が実行される。 Next, the terminal program 65 uses the image forming operation associated with the operation icons 111 and 112 as the designating device in response to the reception of the designation of the operation icons 111 and 112 through the input I / F 54 (S14: Yes). The operation instruction process for execution is executed (S23). The processing of S23 is an example of communication processing. Although the operation instruction processing is not shown, for example, the following processing is executed.

一例として、動作アイコン111がタップされた場合の端末プログラム65は、メモリ62のデータフォルダに記憶された複数のデータのうちの1つを、指定データとして指定するユーザ操作を入力I/F54を通じて受け付ける。また、端末プログラム65は、プリント動作の実行条件を指定するユーザ操作を入力I/F54を通じて受け付けたことに応じて、指定された実行条件を示す条件情報をメモリ62に記憶させる。そして、端末プログラム65は、指定装置であるMFP10Bに通信I/F55を通じてプリント指示情報を送信する。プリント指示情報は、条件情報で示される実行条件に従って、指定データを対象とするプリント動作の実行させるための動作指示情報の一例である。プリント指示情報は、例えば、指定データと、条件情報とを含む。 As an example, the terminal program 65 when the operation icon 111 is tapped receives a user operation for designating one of the plurality of data stored in the data folder of the memory 62 as designated data through the input I / F 54. Further, the terminal program 65 stores the condition information indicating the designated execution condition in the memory 62 in response to the reception of the user operation for specifying the execution condition of the print operation through the input I / F 54. Then, the terminal program 65 transmits the print instruction information to the MFP 10B, which is a designated device, through the communication I / F 55. The print instruction information is an example of the operation instruction information for executing the print operation targeting the designated data according to the execution condition indicated by the condition information. The print instruction information includes, for example, designated data and condition information.

一方、MFP10Bの装置プログラム35は、通信I/F25を通じて携帯端末50からプリント指示情報を受信する。そして、装置プログラム35は、受信したプリント指示情報に従って、プリンタ11にプリント動作を実行させる。すなわち、プリンタ11は、プリント指示情報に含まれる条件情報で示される実行条件に従って、プリント指示情報に含まれる指定データで示される画像をシートに記録する。 On the other hand, the device program 35 of the MFP 10B receives print instruction information from the mobile terminal 50 through the communication I / F 25. Then, the device 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 condition indicated by the condition information included in the print instruction information.

他の例として、動作アイコン112がタップされた場合の端末プログラム65は、スキャン動作の実行条件を指定するユーザ操作と、スキャン動作で生成されたスキャンデータの保存先を指定するユーザ操作とを、入力I/F54を通じて受け付ける。そして、端末プログラム65は、指定装置であるMFP10Bに通信I/F55を通じてスキャン指示情報を送信する。スキャン指示情報は、指定された実行条件に従ってスキャン動作を実行し、スキャン動作で生成したスキャンデータを指定された保存先に保存する一連の処理を実行させるための動作指示情報の一例である。 As another example, the terminal program 65 when the operation icon 112 is tapped performs a user operation for specifying the execution condition of the scan operation and a user operation for specifying the save destination of the scan data generated by the scan operation. Accept through input I / F54. Then, the terminal program 65 transmits scan instruction information to the designated device, the MFP 10B, through the communication I / F 55. The scan instruction information is an example of operation instruction information for executing a scan operation according to a specified execution condition and executing a series of processes for saving the scan data generated by the scan operation in a specified save destination.

一方、MFP10Bの装置プログラム35は、通信I/F25を通じて携帯端末50からスキャン指示情報を受信する。そして、装置プログラム35は、受信したスキャン指示情報に従って、スキャナ12にスキャン動作を実行させる。すなわち、スキャナ12は、コンタクトガラス或いはADFにセットされた原稿に記録された画像を、指定された実行条件に従って読み取ってスキャンデータを生成する。そして、スキャナ12は、生成したスキャンデータを指定された保存先に保存する。 On the other hand, the device program 35 of the MFP 10B receives scan instruction information from the mobile terminal 50 through the communication I / F 25. Then, the device 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 image recorded on the document set on the contact glass or the ADF according to the designated execution conditions to generate scan data. Then, the scanner 12 saves the generated scan data in a designated save destination.

次に、図5を参照して、ショップ登録処理Aの詳細を説明する。ショップ登録処理Aは、S15〜S18で新たな指定装置が指定されたことをトリガとして、当該指定装置に装着可能なインクカートリッジを販売するショップを登録する処理である。 Next, the details of the shop registration process A will be described with reference to FIG. The shop registration process A is a process of registering a shop that sells ink cartridges that can be attached to the designated device, triggered by the designation of a new designated device in S15 to S18.

まず、端末プログラム65は、メモリ62の退避領域に旧装置情報が記憶されているか否かを判断する(S31)。また、端末プログラム65は、メモリ62に対象ショップ情報が記憶されているか否かを判断する(S32)。そして、端末プログラム65は、旧装置情報或いは対象ショップ情報がメモリ62に記憶されていないと判断したことに応じて(S31:なし、又はS32:なし)、S33〜S34の処理をスキップして、S35以降の処理を実行する。 First, the terminal program 65 determines whether or not the old device information is stored in the save area of the memory 62 (S31). Further, the terminal program 65 determines whether or not the target shop information is stored in the memory 62 (S32). Then, the terminal program 65 skips the processes of S33 to S34 in response to the determination that the old device information or the target shop information is not stored in the memory 62 (S31: none or S32: none). The processing after S35 is executed.

一方、端末プログラム65は、旧装置情報及び対象ショップ情報の両方がメモリ62に記憶されていると判断したことに応じて(S31:あり&S32:あり)、旧装置情報で識別されるMFP10のモデルと、新装置情報で識別されるMFP10のモデルとが一致するか否かを判断する(S33)。すなわち、端末プログラム65は、旧装置情報及び新装置情報のCTGタイプが同一か否かを判断すればよい。また、端末プログラム65は、対象ショップ情報で示されるショップで指定装置に装着可能なインクカートリッジを購入可能か否かを判断する(S34)。すなわち、端末プログラム65は、対象ショップ情報の販売CTGタイプに新装置情報のCTGタイプ“CTG−B”が含まれているか否かを判断すればよい。 On the other hand, the terminal program 65 determines that both the old device information and the target shop information are stored in the memory 62 (S31: Yes & S32: Yes), and the model of the MFP 10 identified by the old device information. And whether or not the model of the MFP 10 identified by the new device information matches (S33). That is, the terminal program 65 may determine whether or not the CTG types of the old device information and the new device information are the same. Further, the terminal program 65 determines whether or not it is possible to purchase an ink cartridge that can be attached to the designated device at the shop indicated by the target shop information (S34). That is, the terminal program 65 may determine whether or not the CTG type "CTG-B" of the new device information is included in the sales CTG type of the target shop information.

そして、端末プログラム65は、旧装置情報及び新装置情報それぞれのCTGタイプが一致すると判断したことに応じて(S33:Yes)、或いは対象ショップ情報の販売CTGタイプに新装置情報のCTGタイプが含まれていると判断したことに応じて(S34:可)、S35以降の処理をスキップして、ショップ登録処理Aを終了する。一方、端末プログラム65は、旧装置情報及び新装置情報それぞれのCTGタイプが異なり、且つ象ショップ情報の販売CTGタイプに新装置情報のCTGタイプが含まれていないと判断したことに応じて(S33:No&S34:不可)、S35以降の処理を実行する。 Then, the terminal program 65 includes the CTG type of the new device information in the sales CTG type of the target shop information or according to the determination that the CTG types of the old device information and the new device information match each other (S33: Yes). Depending on the determination that the information has been obtained (S34: Yes), the processing after S35 is skipped, and the shop registration processing A is terminated. On the other hand, the terminal program 65 determines that the CTG types of the old device information and the new device information are different, and that the sales CTG type of the elephant shop information does not include the CTG type of the new device information (S33). : No & S34: Impossible), S35 and subsequent processes are executed.

次に、端末プログラム65は、指定装置が設置されている位置(以下、「装置位置」と表記する。)を示す装置位置情報を取得する(S35)。端末プログラム65は、例えば、S17でデバイスアイコンが指定された時点で位置検出部56から出力された位置情報を、装置位置情報としてメモリ62に記憶させる。位置検出部56から出力される位置情報は、携帯端末50の現在位置を示す。しかしながら、S17の時点では、少なくとも無線LAN102を通じて通信可能な程度に携帯端末50と指定装置とが近接しているので、携帯端末50の現在位置を装置位置とみなすことができる。 Next, the terminal program 65 acquires device position information indicating a position where the designated device is installed (hereinafter, referred to as “device position”) (S35). The terminal program 65 stores, for example, the position information output from the position detection unit 56 at the time when the device icon is specified in S17 in the memory 62 as the device position information. The position information output from the position detection unit 56 indicates the current position of the mobile terminal 50. However, at the time of S17, since the mobile terminal 50 and the designated device are close to each other so as to be able to communicate at least through the wireless LAN 102, the current position of the mobile terminal 50 can be regarded as the device position.

次に、端末プログラム65は、予め定められた第1条件に合致するショップが存在するか否かを判断する(S36)。第1条件は、装置位置から閾値距離内に位置し且つ指定装置に装着可能なインクカートリッジを販売しているという登録条件である。閾値距離とは、装置位置を中心とするユーザの行動範囲を示す距離(例えば、3km)である。閾値距離は、例えば、装置位置とショップの所在地との直線距離でもよいし、装置位置からショップに至る地図上の経路に沿った距離でもよいし、装置位置からショップに至る時間距離(例えば、1時間)でもよい。また、閾値距離は、端末プログラム65に設定された固定値でもよいし、MFP10或いは携帯端末50のユーザが設定可能な可変値でもよい。 Next, the terminal program 65 determines whether or not there is a shop that meets the first predetermined condition (S36). The first condition is a registration condition that an ink cartridge located within a threshold distance from the device position and can be mounted on the designated device is sold. The threshold distance is a distance (for example, 3 km) indicating the user's action range centered on the device position. The threshold distance may be, for example, a linear distance between the device position and the shop location, a distance along a map route from the device position to the shop, or a time distance from the device position to the shop (for example, 1). Time) may be. Further, the threshold distance may be a fixed value set in the terminal program 65, or may be a variable value set by the user of the MFP 10 or the mobile terminal 50.

端末プログラム65は、例えば、新装置情報のCTGタイプ及びS35で取得した装置位置情報を含む送信要求情報を、通信I/F55を通じてサーバ80に送信する。次に、端末プログラム65は、通信I/F55を通じてサーバ80からショップレコード或いはエラー情報を、送信要求情報の応答として受信する。そして、端末プログラム65は、ショップレコードを受信したことに応じて、第1条件に合致するショップが存在すると判断する(S36:あり)。一方、端末プログラム65は、エラー情報を受信したことに応じて、第1条件に合致するショップが存在しないと判断する(S36:なし)。 The terminal program 65 transmits, for example, the transmission request information including the CTG type of the new device information and the device position information acquired in S35 to the server 80 through the communication I / F 55. Next, the terminal program 65 receives the shop record or error information from the server 80 through the communication I / F 55 as a response to the transmission request information. Then, the terminal program 65 determines that there is a shop that meets the first condition according to the receipt of the shop record (S36: Yes). On the other hand, the terminal program 65 determines that there is no shop that matches the first condition according to the reception of the error information (S36: None).

一方、サーバ80は、携帯端末50から送信要求情報を受信したことに応じて、ショップリストに登録された複数のショップレコードのうち、第1条件に合致するショップレコードを抽出する。より詳細には、サーバ80は、送信要求情報の装置位置情報で示される装置位置とショップ位置情報で示されるショップの所在地との距離が閾値距離内で、且つ送信要求情報のCTGタイプと販売CTGタイプとが一致するショップレコードを抽出する。なお、複数のショップレコードが第1条件に合致する場合は、装置位置に最も近いショップを示すショップレコードが抽出される。そして、サーバ80は、第1条件に合致するショップレコードを抽出したことに応じて、抽出したショップレコードを携帯端末50に送信する。一方、第1条件に合致するショップレコードを抽出しなかったことに応じて、第1条件に合致するショップレコードが存在しないことを示すエラー情報を携帯端末50に送信する。 On the other hand, the server 80 extracts the shop record that matches the first condition from the plurality of shop records registered in the shop list in response to receiving the transmission request information from the mobile terminal 50. More specifically, in the server 80, the distance between the device position indicated by the device position information of the transmission request information and the location of the shop indicated by the shop position information is within the threshold distance, and the CTG type of the transmission request information and the sales CTG. Extract shop records that match the type. When a plurality of shop records match the first condition, the shop record indicating the shop closest to the device position is extracted. Then, the server 80 transmits the extracted shop record to the mobile terminal 50 in response to the extraction of the shop record that matches the first condition. On the other hand, in response to the fact that the shop record that matches the first condition is not extracted, error information indicating that there is no shop record that matches the first condition is transmitted to the mobile terminal 50.

端末プログラム65は、例えば、ショップID“SHOP−A”、ショップ位置情報“位置A”、販売CTGタイプ“CTG−A”、“CTG−B”、“CTG−C”を含むショップレコードを受信したことに応じて(S36:あり)、図10(B)に示される登録確認画面Aをディスプレイ53に表示させる(S37)。登録確認画面Aは、「このショップを登録しますか?」とのメッセージと、サーバ80から受信したショップレコードのショップID“SHOP−A”及びショップ位置情報“位置A”と、[YES]アイコン121と、[NO]アイコン122とを含む。そして、端末プログラム65は、登録確認画面Aに対するユーザ操作を、入力I/F54を通じて受け付ける(S38)。 The terminal program 65 has received, for example, a shop record including the shop ID "SHOP-A", the shop location information "position A", and the sales CTG types "CTG-A", "CTG-B", and "CTG-C". Accordingly (S36: Yes), the registration confirmation screen A shown in FIG. 10B is displayed on the display 53 (S37). The registration confirmation screen A shows the message "Do you want to register this shop?", The shop ID "SHOP-A" of the shop record received from the server 80, the shop location information "location A", and the [YES] icon. 121 and the [NO] icon 122 are included. Then, the terminal program 65 accepts the user operation for the registration confirmation screen A through the input I / F 54 (S38).

次に、端末プログラム65は、[YES]アイコン121の指定を入力I/F54を通じて受け付けたことに応じて(S38:Yes)、S36でサーバ80から受信したショップレコードを、対象ショップ情報としてメモリ62に記憶させる(S39)。なお、メモリ62に既に対象ショップ情報が記憶されている場合、端末プログラム65は、当該対象ショップ情報を新たな対象ショップ情報で上書きする。後述するS76、S90についても同様である。S39の処理は、第3記憶処理の一例である。一方、端末プログラム65は、[NO]アイコン122の指定を入力I/F54を通じて受け付けたことに応じて(S38:NO)、S39の処理をスキップしてショップ登録処理Aを終了する。 Next, the terminal program 65 receives the shop record received from the server 80 in S36 in response to the reception of the designation of the [YES] icon 121 through the input I / F 54 (S38: Yes), and stores the shop record received from the server 80 in S36 as the target shop information in the memory 62. To memorize (S39). If the target shop information is already stored in the memory 62, the terminal program 65 overwrites the target shop information with new target shop information. The same applies to S76 and S90 described later. The process of S39 is an example of the third storage process. On the other hand, the terminal program 65 skips the process of S39 and ends the shop registration process A in response to receiving the designation of the [NO] icon 122 through the input I / F 54 (S38: NO).

一方、端末プログラム65は、エラー情報を受信したことに応じて(S36:なし)、図11(A)に示される代替手段選択画面をディスプレイ53に表示させる(S40)。代替手段選択画面は、「CTGの購入方法を選択して下さい。」とのメッセージと、[代替位置]アイコン131と、[オンライン]アイコン132とを含む。そして、端末プログラム65は、代替手段選択画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S41)。 On the other hand, the terminal program 65 causes the display 53 to display the alternative means selection screen shown in FIG. 11 (A) in response to receiving the error information (S36: none) (S40). The alternative means selection screen includes a message "Please select a method for purchasing CTG", an [alternative position] icon 131, and an [online] icon 132. Then, the terminal program 65 accepts the user operation for the alternative means selection screen through the input I / F 54 (S41).

そして、端末プログラム65は、[代替位置]アイコン131の指定を入力I/F54を通じて受け付けたことに応じて(S41:代替位置)、入力I/F54を通じて代替位置の入力を受け付ける。代替位置とは、指定装置が設置されている場所(例えば、自宅)の他に、ユーザが日常的に訪れる場所(例えば、会社、学校など)の位置である。端末プログラム65は、例えば、不図示のソフトウェアキーボードを通じて代替位置の住所を入力させてもよいし、ディスプレイ53に表示させた地図上で代替位置をタップさせてもよい。そして、端末プログラム65は、入力された代替位置を示す代替位置情報を、メモリ62に記憶させる。 Then, the terminal program 65 accepts the input of the alternative position through the input I / F 54 in response to the designation of the [alternative position] icon 131 being accepted through the input I / F 54 (S41: alternative position). The alternative position is a position where the user visits on a daily basis (for example, a company, a school, etc.) in addition to the place where the designated device is installed (for example, home). The terminal program 65 may, for example, input the address of the alternative position through a software keyboard (not shown), or may tap the alternative position on the map displayed on the display 53. Then, the terminal program 65 stores the input alternative position information indicating the alternative position in the memory 62.

次に、端末プログラム65は、S36以降の処理を実行する。端末プログラム65は、代替位置が入力された後のS36において、予め定められた第2条件に合致するショップが存在するか否かを判断する。第2条件は、代替位置から閾値距離内に位置し且つ指定装置に装着可能なインクカートリッジを販売しているという登録条件である。すなわち、代替位置が入力された後のS36〜S39の処理は、装置位置情報に代えて代替位置情報を用いる点を除いて、前述の説明と同様である。また、端末プログラム65は、第2条件に合致するショップが存在しないと判断したことに応じて(S36:なし)、S40以降の処理を実行する。 Next, the terminal program 65 executes the processes after S36. The terminal program 65 determines whether or not there is a shop that meets the predetermined second condition in S36 after the alternative position is input. The second condition is a registration condition that the ink cartridge located within the threshold distance from the alternative position and can be mounted on the designated device is sold. That is, the processing of S36 to S39 after the alternative position is input is the same as the above description except that the alternative position information is used instead of the device position information. Further, the terminal program 65 executes the processing after S40 according to the determination that there is no shop that matches the second condition (S36: none).

一方、端末プログラム65は、[オンライン]アイコン132の指定を入力I/F54を通じて受け付けたことに応じて(S41:オンライン)、WEBショッピングサービスでインクカートリッジを購入するのに必要な事前準備を実行して、ショップ登録処理Aを終了する。 On the other hand, the terminal program 65 executes the preparation necessary for purchasing the ink cartridge at the WEB shopping service in response to the designation of the [online] icon 132 being accepted through the input I / F54 (S41: online). Then, the shop registration process A is completed.

端末プログラム65は、例えば、クレジットカード番号等の決済情報、及びインクカートリッジの送付先の住所を示す宛先情報を入力するユーザ操作を、入力I/F54を通じて受け付ける。次に、端末プログラム65は、入力された決済情報及び宛先情報を通信I/F55を通じてサーバ80に送信する。次に、端末プログラム65は、決済情報及び宛先情報を一意に識別するアカウント情報を、通信I/F55を通じてサーバ80から受信して、メモリ62に記憶させる。 The terminal program 65 accepts, for example, a user operation for inputting payment information such as a credit card number and destination information indicating the address of the destination of the ink cartridge through the input I / F 54. Next, the terminal program 65 transmits the input payment information and destination information to the server 80 through the communication I / F 55. Next, the terminal program 65 receives the account information that uniquely identifies the payment information and the destination information from the server 80 through the communication I / F 55, and stores it in the memory 62.

以降、端末プログラム65は、WEBショッピングサービスでインクカートリッジの購入を指示を入力I/F54を通じて受け付けたことに応じて、メモリ62に記憶されたアカウント情報を通信I/F55を通じてサーバ80に送信する。これにより、アカウント情報に対応付けられた決済情報でインクカートリッジの代金が決済され、アカウント情報に対応付けられた宛先情報で示される住所にインクカートリッジが届けられる。 After that, the terminal program 65 transmits the account information stored in the memory 62 to the server 80 through the communication I / F 55 in response to receiving the instruction to purchase the ink cartridge through the input I / F 54 in the WEB shopping service. As a result, the price of the ink cartridge is settled by the payment information associated with the account information, and the ink cartridge is delivered to the address indicated by the destination information associated with the account information.

次に、端末プログラム65は、図6に示されるショップ探索処理を実行する。ショップ探索処理は、指定装置に装着可能なインクカートリッジを販売するショップを探索する処理である。ショップ探索処理は、例えば、S18で指定装置情報がメモリ62に記憶されたことをトリガとして開始される。 Next, the terminal program 65 executes the shop search process shown in FIG. The shop search process is a process of searching for a shop that sells ink cartridges that can be attached to a designated device. The shop search process is started, for example, when the designated device information is stored in the memory 62 in S18 as a trigger.

まず、端末プログラム65は、携帯端末50の現在位置(以下、「端末位置」と表記する。)を示す位置情報を位置検出部56から取得する(S51)。次に、端末プログラム65は、端末位置から第1距離内に存在するショップを検出する(S52)。第1距離は、携帯端末50のユーザが現在位置から容易に移動できる距離(例えば、300m)であって、前述の閾値距離より短い距離である。第1距離は、閾値距離と同様に、直線距離でもよいし、経路に沿った距離でもよいし、時間距離でもよい。また、第1距離は、固定値でもよいし、可変値でもよい。第1距離は、報知距離の一例である。S52の処理は、検出処理の一例である。 First, the terminal program 65 acquires position information indicating the current position of the mobile terminal 50 (hereinafter, referred to as “terminal position”) from the position detection unit 56 (S51). Next, the terminal program 65 detects a shop existing within the first distance from the terminal position (S52). The first distance is a distance (for example, 300 m) that the user of the mobile terminal 50 can easily move from the current position, and is shorter than the above-mentioned threshold distance. Like the threshold distance, the first distance may be a straight line distance, a distance along a path, or a time distance. Further, the first distance may be a fixed value or a variable value. The first distance is an example of the notification distance. The process of S52 is an example of the detection process.

端末プログラム65は、例えば、S51で取得した端末位置情報を含む送信要求情報を、通信I/F55を通じてサーバ80に送信する。一方、サーバ80は、携帯端末50から送信要求情報を受信したことに応じて、端末位置情報とショップ位置情報との距離が第1距離内のショップを示すショップレコードを抽出する。そして、サーバ80は、ショップレコードを抽出したことに応じて、抽出したショップレコードを携帯端末50に送信する。一方、ショップレコードを抽出しなかったことに応じて、エラー情報を携帯端末50に送信する。 The terminal program 65 transmits, for example, transmission request information including the terminal position information acquired in S51 to the server 80 through the communication I / F 55. On the other hand, the server 80 extracts a shop record indicating a shop in which the distance between the terminal position information and the shop position information is within the first distance in response to receiving the transmission request information from the mobile terminal 50. Then, the server 80 transmits the extracted shop record to the mobile terminal 50 in response to the extraction of the shop record. On the other hand, the error information is transmitted to the mobile terminal 50 according to the fact that the shop record is not extracted.

そして、端末プログラム65は、通信I/F55を通じてサーバ80からエラー情報を受信したことに応じて、端末位置から第1距離内にショップが存在しないと判断して(S52:なし)、所定の時間(例えば、5分)が経過した後にS51以降の処理を実行する。すなわち、端末プログラム65は、端末位置から第1距離内にショップを検出するまで(S52:なし)、S51、S52の処理を所定の時間間隔で繰り返し実行する。 Then, the terminal program 65 determines that the shop does not exist within the first distance from the terminal position in response to receiving the error information from the server 80 through the communication I / F 55 (S52: none), and determines the predetermined time. After (for example, 5 minutes) has elapsed, the processing after S51 is executed. That is, the terminal program 65 repeatedly executes the processes of S51 and S52 at predetermined time intervals until the shop is detected within the first distance from the terminal position (S52: none).

一方、端末プログラム65は、通信I/F55を通じてサーバ80からショップレコードを受信したことに応じて、当該ショップレコードで示されるショップを、端末位置から第1距離内のショップとして検出する(S52:あり)。そして、端末プログラム65は、S52で検出したショップが対象ショップか否かを判断する(S53)。すなわち、端末プログラム65は、S52でサーバ80から受信したショップレコードのショップIDと、メモリ62に記憶されている対象ショップ情報のショップIDとが一致するか否かを判断する。S53の処理は、第1判断処理の一例である。 On the other hand, the terminal program 65 detects the shop indicated by the shop record as a shop within the first distance from the terminal position in response to receiving the shop record from the server 80 through the communication I / F 55 (S52: Yes). ). Then, the terminal program 65 determines whether or not the shop detected in S52 is the target shop (S53). That is, the terminal program 65 determines whether or not the shop ID of the shop record received from the server 80 in S52 and the shop ID of the target shop information stored in the memory 62 match. The process of S53 is an example of the first determination process.

次に、端末プログラム65は、ショップIDが一致すると判断したことに応じて(S53:Yes)、通知フラグの設定値を判断する(S54)。S54の処理は、第6判断処理の一例である。そして、端末プログラム65は、通知フラグに第2値“ON”が設定されていると判断したことに応じて(S54:ON)、後述する報知制御処理を実行する(S55)。一方、端末プログラム65は、通知フラグに第1値“OFF”が設定されていると判断したことに応じて(S54:OFF)、S55の処理をスキップして、ショップ探索処理を終了する。さらに、端末プログラム65は、ショップIDが異なる或いは対象ショップ情報がメモリ62に記憶されていないと判断したことに応じて(S53:No)、後述するショップ登録処理Bを実行する(S56)。 Next, the terminal program 65 determines the set value of the notification flag according to the determination that the shop IDs match (S53: Yes) (S54). The process of S54 is an example of the sixth determination process. Then, the terminal program 65 executes the notification control process described later (S55) in response to the determination that the second value “ON” is set in the notification flag (S54: ON). On the other hand, the terminal program 65 skips the process of S55 and ends the shop search process in response to the determination that the first value "OFF" is set in the notification flag (S54: OFF). Further, the terminal program 65 executes the shop registration process B described later (S56) in response to the determination that the shop ID is different or the target shop information is not stored in the memory 62 (S53: No).

次に、図7を参照して、報知制御処理の詳細を説明する。報知制御処理は、端末位置から第1距離内に対象ショップが存在することを、携帯端末50のユーザに報知する処理である。換言すれば、報知制御処理は、指定装置に装着可能なインクカートリッジを対象ショップで購入することを、携帯端末50のユーザに促す処理である。 Next, the details of the notification control process will be described with reference to FIG. 7. The notification control process is a process of notifying the user of the mobile terminal 50 that the target shop exists within the first distance from the terminal position. In other words, the notification control process is a process that prompts the user of the mobile terminal 50 to purchase an ink cartridge that can be attached to the designated device at the target shop.

まず、端末プログラム65は、通信I/F55を通じて指定装置と通信可能か否かを判断する(S61)。一例として、端末プログラム65は、無線LAN102のアクセスポイントから出力されるビーコン信号を通信I/F55で受信可能か否かを判断してもよい。他の例として、MFP10と端末プログラム65とがインターネット101を通じて通信可能に構成されている場合、端末プログラム65は、インターネット101を通じたMFP10との通信を試行してもよい。S61の処理は、第3判断処理の一例である。 First, the terminal program 65 determines whether or not it is possible to communicate with the designated device through the communication I / F 55 (S61). As an example, the terminal program 65 may determine whether or not the beacon signal output from the access point of the wireless LAN 102 can be received by the communication I / F 55. As another example, when the MFP 10 and the terminal program 65 are configured to be communicable through the Internet 101, the terminal program 65 may try to communicate with the MFP 10 through the Internet 101. The process of S61 is an example of the third determination process.

そして、端末プログラム65は、指定装置と通信可能だと判断したことに応じて(S61:可)、通信I/F55を通じて指定装置から残量情報を受信する(S62)。一方、端末プログラム65は、指定装置と通信不能だと判断したことに応じて(S61:不可)、直近に指定装置から受信してメモリ62に記憶させたステータス情報の残量情報を、メモリ62から読み出す(S63)。これにより、S52でショップを検出した時点で指定装置と通信可能か否かに拘わらず、残量情報を取得することが可能となる。S62の処理は通信処理の一例であり、S63の処理は読出処理の一例である。 Then, the terminal program 65 receives the remaining amount information from the designated device through the communication I / F55 in response to the determination that communication with the designated device is possible (S61: possible) (S62). On the other hand, the terminal program 65 receives the remaining amount information of the status information recently received from the designated device and stored in the memory 62 in response to the determination that communication with the designated device is impossible (S61: Impossible). Read from (S63). As a result, it is possible to acquire the remaining amount information regardless of whether or not communication with the designated device is possible when the shop is detected in S52. The processing of S62 is an example of communication processing, and the processing of S63 is an example of reading processing.

次に、端末プログラム65は、S62、S63で取得した残量情報で示されるインク残量が閾値残量未満か否かを判断する(S64)。一例として、閾値残量は、装着部に装着されたインクカートリッジの交換時期が近づいてきたことを、MFP10が報知(例えば、ニアエンプティ、インクロー等と呼ばれる)するときのインク残量に相当してもよい。他の例として、閾値残量は、端末位置(または、対象ショップの所在地)が装置位置から遠いほど大きな値になり、装置位置に近いほど小さな値になる可変値であってもよい。S64の処理は、第2判断処理の一例である。 Next, the terminal program 65 determines whether or not the ink remaining amount indicated by the remaining amount information acquired in S62 and S63 is less than the threshold remaining amount (S64). As an example, the threshold remaining amount corresponds to the ink remaining amount when the MFP10 notifies (for example, called near empty, ink low, etc.) that the replacement time of the ink cartridge mounted on the mounting portion is approaching. May be good. As another example, the threshold remaining amount may be a variable value that increases as the terminal position (or the location of the target shop) is farther from the device position and becomes smaller as the terminal position (or the location of the target shop) is closer to the device position. The process of S64 is an example of the second determination process.

次に、端末プログラム65は、インク残量が閾値残量未満だと判断したことに応じて(S64:Yes)、通信I/F55を通じてサーバ80からオンライン価格情報を受信する(S65)。端末プログラム65は、例えば、指定装置情報のCTGタイプ“CTG−B”を含む価格要求情報を、通信I/F55を通じてサーバ80に送信する。そして、端末プログラム65は、CTGタイプ“CTG−B”に対応するオンライン価格情報“800円”を、価格要求情報の応答として、通信I/F55を通じてサーバ80から受信する。S65の処理は、第2受信処理の一例である。 Next, the terminal program 65 receives online price information from the server 80 through the communication I / F 55 in response to the determination that the ink remaining amount is less than the threshold remaining amount (S64: Yes) (S65). The terminal program 65 transmits, for example, price request information including the CTG type “CTG-B” of the designated device information to the server 80 through the communication I / F 55. Then, the terminal program 65 receives the online price information "800 yen" corresponding to the CTG type "CTG-B" from the server 80 through the communication I / F 55 as a response to the price request information. The process of S65 is an example of the second reception process.

次に、端末プログラム65は、図11(B)に示される購入確認画面をディスプレイ53に表示させる(S66)。購入確認画面は、例えば、端末位置から第1距離内に対象ショップが存在することを報知する画面、対象ショップの位置を報知する画面、指定装置に装着可能なインクカートリッジを対象ショップで購入することを促す画面、或いは指定装置に装着可能なインクカートリッジを対象ショップで購入したか否かを確認する画面である。そして、端末プログラム65は、購入確認画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S67)。S66の処理は報知処理の一例であり、S67の処理は第1受付処理の一例である。 Next, the terminal program 65 causes the purchase confirmation screen shown in FIG. 11B to be displayed on the display 53 (S66). The purchase confirmation screen is, for example, a screen for notifying that the target shop exists within the first distance from the terminal position, a screen for notifying the position of the target shop, and purchasing an ink cartridge that can be attached to the designated device at the target shop. This is a screen that prompts the user, or a screen that confirms whether or not an ink cartridge that can be attached to the designated device has been purchased at the target shop. Then, the terminal program 65 accepts the user operation on the purchase confirmation screen through the input I / F 54 (S67). The process of S66 is an example of the notification process, and the process of S67 is an example of the first reception process.

購入確認画面は、「対象ショップの近くです。CTGを購入しましたか?」とのメッセージと、指定装置情報のCTGタイプ“CTG−B”と、S65で受信したオンライン価格情報で示されるオンライン価格“800円”と、購入したインクカートリッジの数の入力を受け付けるためのプルダウンメニュー141と、[購入]アイコン142と、[キャンセル]アイコン143とを含む。また、購入確認画面は、CTGタイプ“CTG−B”のインクカートリッジの外観を示す画像、端末位置から対象ショップまでの経路を示す経路情報(例えば、現在位置から対象ショップまでの道順を示す地図など)等をさらに含んでもよい。 The purchase confirmation screen shows the message "Near the target shop. Did you purchase CTG?", CTG type "CTG-B" of the specified device information, and the online price indicated by the online price information received in S65. It includes "800 yen", a pull-down menu 141 for accepting input of the number of purchased ink cartridges, a [purchase] icon 142, and a [cancel] icon 143. In addition, the purchase confirmation screen includes an image showing the appearance of the ink cartridge of the CTG type "CTG-B", route information showing the route from the terminal position to the target shop (for example, a map showing the route from the current position to the target shop, etc.). ) Etc. may be further included.

次に、端末プログラム65は、例えば、プルダウンメニュー141で示される購入数を“3”に変更した後で、[購入]アイコン142の指定を入力I/F54を通じて受け付けたことに応じて(S67:購入)、指定装置情報のCTGタイプ“CTG−B”及び残数情報“3”を含む購入情報を、メモリ62に記憶させる(S68)。そして、端末プログラム65は、通知フラグに第1値“OFF”を設定して(S69)、報知制御処理を終了する。[購入]アイコン142のタップは、指定装置に着脱可能なインクカートリッジを対象ショップで購入したことを示す第1操作の一例である。S68の処理は第2記憶処理の一例であり、S69の処理は第1設定処理の一例である。 Next, the terminal program 65 receives, for example, the designation of the [Purchase] icon 142 through the input I / F54 after changing the number of purchases indicated by the pull-down menu 141 to “3” (S67: (Purchase), purchase information including the CTG type "CTG-B" of the designated device information and the remaining number information "3" is stored in the memory 62 (S68). Then, the terminal program 65 sets the first value "OFF" in the notification flag (S69), and ends the notification control process. The tap of the [Purchase] icon 142 is an example of the first operation indicating that the ink cartridge that can be attached to and detached from the designated device has been purchased at the target shop. The process of S68 is an example of the second storage process, and the process of S69 is an example of the first setting process.

また、端末プログラム65は、[キャンセル]アイコン143の指定を入力I/F54を通じて受け付けたことに応じて(S67:キャンセル)、S68、S69の処理をスキップして、報知制御処理を終了する。[キャンセル]アイコン143のタップは、指定装置に着脱可能なインクカートリッジを対象ショップで購入していないことを示す第2操作の一例である。さらに、端末プログラム65は、インク残量が閾値残量以上だと判断したことに応じて(S64:No)、S65〜S69の処理をスキップして、報知制御処理を終了する。 Further, the terminal program 65 skips the processes of S68 and S69 and ends the notification control process in response to the reception of the designation of the [Cancel] icon 143 through the input I / F 54 (S67: Cancel). The tap of the [Cancel] icon 143 is an example of the second operation indicating that the ink cartridge that can be attached to and detached from the designated device has not been purchased at the target shop. Further, the terminal program 65 skips the processes of S65 to S69 and ends the notification control process in response to the determination that the remaining amount of ink is equal to or greater than the threshold remaining amount (S64: No).

次に、図8を参照して、ショップ登録処理Bの詳細を説明する。ショップ登録処理Bは、端末位置から第1距離内のショップを検出したことをトリガとして(S52:Yes)、指定装置に装着可能なインクカートリッジを販売するショップを登録する処理である。以下、ショップID“SHOP−C”で識別されるショップをS52で検出したことを前提として、ショップ登録処理Bを説明する。 Next, the details of the shop registration process B will be described with reference to FIG. The shop registration process B is a process of registering a shop that sells ink cartridges that can be attached to the designated device, using the detection of a shop within the first distance from the terminal position as a trigger (S52: Yes). Hereinafter, the shop registration process B will be described on the premise that the shop identified by the shop ID “SHOP-C” is detected in S52.

まず、端末プログラム65は、S52で検出したショップのショップID“SHOP−C”が非登録ショップIDとしてメモリ62に記憶されているかを判断する(S71)。また、端末プログラム65は、ショップID“SHOP−C”で識別されるショップが登録条件(すなわち、第1条件又は第2条件)に合致するか否かを判断する(S72)。さらに、端末プログラム65は、対象ショップ情報が既にメモリ62に記憶されているか否かを判断する(S73)。 First, the terminal program 65 determines whether the shop ID “SHOP-C” of the shop detected in S52 is stored in the memory 62 as the unregistered shop ID (S71). Further, the terminal program 65 determines whether or not the shop identified by the shop ID "SHOP-C" meets the registration condition (that is, the first condition or the second condition) (S72). Further, the terminal program 65 determines whether or not the target shop information is already stored in the memory 62 (S73).

端末プログラム65は、例えばS72において、S35で記憶させた装置位置情報或いはS41で記憶させた代替位置情報で示される位置と、S52で受信したショップレコードのショップ位置情報“位置C”で示される位置とが閾値距離内か否かを判断する。また、端末プログラム65は、S52で受信したショップレコードの販売CTGタイプに、指定装置情報のCTGタイプ“CTG−B”が含まれるか否かを判断する。 In the terminal program 65, for example, in S72, the position indicated by the device position information stored in S35 or the alternative position information stored in S41 and the position indicated by the shop position information “position C” of the shop record received in S52. Judges whether and is within the threshold distance. Further, the terminal program 65 determines whether or not the CTG type "CTG-B" of the designated device information is included in the sales CTG type of the shop record received in S52.

そして、端末プログラム65は、装置位置情報或いは代替位置情報で示される位置とショップ位置情報で示される位置とが閾値距離内で、且つ販売CTGタイプが指定装置情報のCTGタイプを含むことに応じて、S52で検出したショップが登録条件に合致すると判断する(S72:Yes)。一方、端末プログラム65は、装置位置情報或いは代替位置情報で示される位置とショップ位置情報で示される位置とが閾値距離外か、或いは販売CTGタイプが指定装置情報のCTGタイプを含まないことに応じて、S52で検出したショップが登録条件に合致しないと判断する(S72:No)。 Then, in the terminal program 65, the position indicated by the device position information or the alternative position information and the position indicated by the shop position information are within the threshold distance, and the sales CTG type includes the CTG type of the designated device information. , It is determined that the shop detected in S52 meets the registration conditions (S72: Yes). On the other hand, the terminal program 65 responds that the position indicated by the device position information or the alternative position information and the position indicated by the shop position information are outside the threshold distance, or the sales CTG type does not include the CTG type of the designated device information. Therefore, it is determined that the shop detected in S52 does not meet the registration conditions (S72: No).

そして、端末プログラム65は、ショップID“SHOP−C”が非登録ショップIDとして記憶されておらず、ショップID“SHOP−C”で識別されるショップが登録条件に合致し、且つ対象ショップ情報がメモリ62に記憶されていないと判断したことに応じて(S71:No&S72:Yes&S73:なし)、図12(A)に示される登録確認画面Bをディスプレイ53に表示させる(S74)。そして、端末プログラム65は、登録確認画面Bに対するユーザ操作を、入力I/F54を通じて受け付ける(S75)。 In the terminal program 65, the shop ID "SHOP-C" is not stored as an unregistered shop ID, the shop identified by the shop ID "SHOP-C" meets the registration conditions, and the target shop information is stored. The registration confirmation screen B shown in FIG. 12A is displayed on the display 53 (S74) in response to the determination that the memory 62 is not stored (S71: No & S72: Yes & S73: none). Then, the terminal program 65 accepts the user operation for the registration confirmation screen B through the input I / F 54 (S75).

登録確認画面Bは、S52で検出したショップのショップレコードを対象ショップ情報として登録するか否かを、ユーザに選択させるための画面である。登録確認画面Bは、「このショップを登録しますか?」とのメッセージと、S52で受信したショップレコードのショップID“SHOP−C”及びショップ位置情報“位置C”と、[YES]アイコン151と、[NO]アイコン152と、[後で]アイコン153とを含む。 The registration confirmation screen B is a screen for allowing the user to select whether or not to register the shop record of the shop detected in S52 as the target shop information. The registration confirmation screen B shows the message "Do you want to register this shop?", The shop ID "SHOP-C" of the shop record received in S52, the shop location information "location C", and the [YES] icon 151. And the [NO] icon 152 and the [later] icon 153.

そして、端末プログラム65は、[YES]アイコン151の指定を入力I/F54を通じて受け付けたことに応じて(S75:YES)、S52で受信したショップレコードを、対象ショップ情報としてメモリ62に記憶させる(S76)。S76の処理は、第3記憶処理の一例である。 Then, the terminal program 65 stores the shop record received in S52 in the memory 62 as the target shop information in response to the reception of the designation of the [YES] icon 151 through the input I / F 54 (S75: YES) (S75: YES). S76). The processing of S76 is an example of the third storage processing.

また、端末プログラム65は、[NO]アイコン152の指定を入力I/F54を通じて受け付けたことに応じて(S75:NO)、S52で受信したショップレコードのショップID“SHOP−C”を、非登録ショップIDとしてメモリ62に記憶させる(S77)。 Further, the terminal program 65 does not register the shop ID "SHOP-C" of the shop record received in S52 in response to the reception of the designation of the [NO] icon 152 through the input I / F54 (S75: NO). It is stored in the memory 62 as a shop ID (S77).

さらに、端末プログラム65は、[後で]アイコン153の指定を入力I/F54を通じて受け付けたことに応じて(S75:後で)、S52で受信したショップレコードのショップID“SHOP−C”を、候補ショップIDとしてメモリ62に記憶させる(S78)。 Further, the terminal program 65 receives the shop ID “SHOP-C” of the shop record received in S52 in response to the reception of the designation of the icon 153 [later] through the input I / F54 (S75: later). It is stored in the memory 62 as a candidate shop ID (S78).

一方、端末プログラム65は、ショップID“SHOP−C”が非登録ショップIDとして記憶されていると判断したことに応じて(S71:Yes)、ショップID“SHOP−C”で識別されるショップが登録条件に合致しないと判断したことに応じて(S72:No)、或いは対象ショップ情報が既にメモリ62に記憶されていると判断したことに応じて(S73:あり)、S74〜S78の処理をスキップして、ショップ登録処理Bを終了する。 On the other hand, in the terminal program 65, the shop identified by the shop ID "SHOP-C" is identified in response to the determination that the shop ID "SHOP-C" is stored as the unregistered shop ID (S71: Yes). The processing of S74 to S78 is performed according to the determination that the registration conditions are not met (S72: No) or the determination that the target shop information is already stored in the memory 62 (S73: Yes). Skip and end shop registration process B.

次に、図9を参照して、消耗品交換時の処理の詳細を説明する。消耗品交換時の処理は、購入情報を適切に更新すると共に、適切な対象ショップ情報を登録する処理である。 Next, with reference to FIG. 9, the details of the processing at the time of replacing the consumables will be described. The process at the time of exchanging consumables is a process of appropriately updating purchase information and registering appropriate target shop information.

まず、端末プログラム65は、通信I/F55を通じて指定装置からCTG脱着情報を受信するまで(S81:No)、S82以降の処理の実行を待機する。CTG脱着情報は、プリンタ11の装着部からインクカートリッジが取り外され、且つ装着部にインクカートリッジが装着されたことを推定する情報である。すなわち、CTG脱着情報は、指定装置のインクカートリッジが交換されたことを推定する推定情報の一例である。より詳細には、端末プログラム65は、CTG脱着情報の送信を要求する送信要求情報を、通信I/F55を通じてMFP10に送信する。そして、端末プログラム65は、送信要求情報を送信してから所定の時間が経過してもCTG脱着情報を受信しないことに応じて、送信要求情報を再送信する。 First, the terminal program 65 waits for the execution of the processing after S82 until the CTG attachment / detachment information is received from the designated device through the communication I / F55 (S81: No). The CTG attachment / detachment information is information that estimates that the ink cartridge has been removed from the mounting portion of the printer 11 and that the ink cartridge has been mounted on the mounting portion. That is, the CTG attachment / detachment information is an example of estimation information for estimating that the ink cartridge of the designated device has been replaced. More specifically, the terminal program 65 transmits the transmission request information requesting the transmission of the CTG attachment / detachment information to the MFP 10 through the communication I / F 55. Then, the terminal program 65 retransmits the transmission request information in response to not receiving the CTG attachment / detachment information even after a predetermined time has elapsed after transmitting the transmission request information.

一方、MFP10の装置プログラム35は、例えば、装着センサからの装着信号の出力が停止した後に再び装着信号が出力されたことに応じて、メモリ32に記憶された脱着フラグに“ON”を設定する。また、装置プログラム35は、脱着フラグに“ON”が設定された状態で通信I/F25を通じて携帯端末50から送信要求情報を受信したことに応じて、通信I/F25を通じて携帯端末50にCTG脱着情報を送信すると共に、脱着フラグに“OFF”を設定する。一方、装置プログラム35は、脱着フラグに“OFF”が設定された状態で通信I/F25を通じて携帯端末50から送信要求情報を受信したことに応じて、CTG脱着情報を送信しない。 On the other hand, the device program 35 of the MFP 10 sets "ON" to the attachment / detachment flag stored in the memory 32, for example, in response to the fact that the attachment signal is output again after the output of the attachment signal from the attachment sensor is stopped. .. Further, the device program 35 attaches / detaches the CTG to / from the mobile terminal 50 through the communication I / F25 in response to receiving transmission request information from the mobile terminal 50 through the communication I / F25 with the attachment / detachment flag set to “ON”. Information is transmitted and the attachment / detachment flag is set to "OFF". On the other hand, the device program 35 does not transmit the CTG attachment / detachment information in response to receiving the transmission request information from the mobile terminal 50 through the communication I / F25 with the attachment / detachment flag set to "OFF".

そして、端末プログラム65は、通信I/F55を通じて指定装置からCTG脱着情報を、送信要求情報の応答として受信したことに応じて(S81:Yes)。メモリ62に記憶された購入情報の残数情報で示されるCTG残数を1だけ減算する(S82)。そして、端末プログラム65は、S82で減算した後のCTG残数が閾値残数(例えば、1)未満か否かを判断する(S83)。S81の処理は第1受信処理の一例であり、S82の処理は減算処理の一例であり、S83の処理は第7判断処理の一例である。 Then, the terminal program 65 receives the CTG attachment / detachment information from the designated device through the communication I / F 55 as a response to the transmission request information (S81: Yes). The remaining number of CTGs indicated by the remaining number of purchase information stored in the memory 62 is subtracted by 1 (S82). Then, the terminal program 65 determines whether or not the CTG remaining number after subtraction in S82 is less than the threshold remaining number (for example, 1) (S83). The process of S81 is an example of the first reception process, the process of S82 is an example of the subtraction process, and the process of S83 is an example of the seventh determination process.

次に、端末プログラム65は、CTG残数が閾値残数未満だと判断したことに応じて(S83:Yes)、通知フラグに第2値“ON”を設定する(S84)。また、端末プログラム65は、現在の装置位置情報を取得する(S85)。S85の処理は、S35と同様であってもよい。さらに、端末プログラム65は、メモリ62に既に記憶されている装置位置情報で示される装置位置(以下、「旧装置位置」と表記する。)と、S85で取得した装置位置情報で示される装置位置(以下、「新装置位置」と表記する。)との間の距離が第2距離以上か否かを判断する。S84の処理は、第2設定処理の一例である。 Next, the terminal program 65 sets the second value “ON” in the notification flag according to the determination that the CTG remaining number is less than the threshold remaining number (S83: Yes) (S84). Further, the terminal program 65 acquires the current device position information (S85). The processing of S85 may be the same as that of S35. Further, the terminal program 65 has a device position indicated by the device position information already stored in the memory 62 (hereinafter, referred to as “old device position”) and a device position indicated by the device position information acquired in S85. (Hereinafter referred to as "new device position"), it is determined whether or not the distance to the distance is equal to or greater than the second distance. The process of S84 is an example of the second setting process.

第2距離は、指定装置が設定されている拠点(例えば、自宅、会社、学校など)が移転したか否かを判断するための距離である。すなわち、第2距離は、1つの拠点の想定される広さ(例えば、数十m〜数百m)より長い(例えば、数km)。第2距離は、閾値距離と同様に、直線距離でもよいし、経路に沿った距離でもよいし、時間距離でもよい。また、第2距離は、固定値でもよいし、可変値でもよい。 The second distance is a distance for determining whether or not a base (for example, a home, a company, a school, etc.) in which a designated device is set has moved. That is, the second distance is longer than the assumed area of one base (for example, several tens of meters to several hundreds of meters) (for example, several kilometers). Like the threshold distance, the second distance may be a straight line distance, a distance along a path, or a time distance. Further, the second distance may be a fixed value or a variable value.

次に、端末プログラム65は、旧装置位置と新装置位置との間の距離が第2位置未満だと判断したことに応じて(S86:No)、候補ショップIDがメモリ62に記憶されているか否かを判断する(S87)。次に、端末プログラム65は、例えば、候補ショップID“SHOP−C”が記憶されていると判断したことに応じて(S87:あり)、図12(B)に示されるショップ選択画面をディスプレイ53に表示させる(S88)。そして、端末プログラム65は、ショップ選択画面に対するユーザ操作を、入力I/F54を通じて受け付ける(S89)。 Next, whether the terminal program 65 stores the candidate shop ID in the memory 62 according to the determination that the distance between the old device position and the new device position is less than the second position (S86: No). Whether or not it is determined (S87). Next, the terminal program 65 displays the shop selection screen shown in FIG. 12B, for example, in response to the determination that the candidate shop ID “SHOP-C” is stored (S87: Yes). Is displayed (S88). Then, the terminal program 65 accepts the user operation for the shop selection screen through the input I / F 54 (S89).

ショップ選択画面は、候補ショップIDで識別されるショップを、対象ショップとして登録するか否かをユーザに選択させる画面である。ショップ選択画面は、「このショップを登録しますか?」とのメッセージと、候補アイコン161と、[キャンセル]アイコン162とを含む。候補アイコン161は、メモリ62に記憶された候補ショップIDの1つに対応する。候補アイコン161には、対応する候補ショップIDが記述されている。すなわち、複数の候補ショップIDがメモリ62に記憶されている場合、ショップ選択画面は、複数の候補アイコンを含む。 The shop selection screen is a screen that allows the user to select whether or not to register the shop identified by the candidate shop ID as the target shop. The shop selection screen includes a message "Do you want to register this shop?", A candidate icon 161 and a [Cancel] icon 162. The candidate icon 161 corresponds to one of the candidate shop IDs stored in the memory 62. The corresponding candidate shop ID is described in the candidate icon 161. That is, when a plurality of candidate shop IDs are stored in the memory 62, the shop selection screen includes the plurality of candidate icons.

次に、端末プログラム65は、候補アイコン161の指定を入力I/F54を通じて受け付けたことに応じて(S89:候補)、候補アイコン161に対応する候補ショップID“SHOP−C”を含むショップレコードをサーバ80から受信し、受信したショップレコードを対象ショップ情報としてメモリ62に記憶させる(S90)。S90の処理は、第3記憶処理の一例である。さらに、端末プログラム65は、メモリ62に記憶された全ての候補ショップIDを削除する。 Next, the terminal program 65 receives the designation of the candidate icon 161 through the input I / F 54 (S89: candidate), and receives the shop record including the candidate shop ID “SHOP-C” corresponding to the candidate icon 161. The shop record received from the server 80 is stored in the memory 62 as the target shop information (S90). The processing of S90 is an example of the third storage processing. Further, the terminal program 65 deletes all the candidate shop IDs stored in the memory 62.

一方、端末プログラム65は、[キャンセル]アイコン162の指定を入力I/F54を通じて受け付けたことに応じて(S89:キャンセル)、S90の処理をスキップして、消耗品交換時の処理を終了する。また、端末プログラム65は、候補ショップIDがメモリ62に記憶されていないと判断したことに応じて(S87:なし)、S88〜S90の処理をスキップして、消耗品交換時の処理を終了する。さらに、端末プログラム65は、S82で減算した後のCTG残数が閾値残数以上だと判断したことに応じて(S83:No)、S84〜S92の処理をスキップして、消耗品交換時の処理を終了する。 On the other hand, the terminal program 65 skips the process of S90 and ends the process of exchanging consumables in response to the reception of the designation of the [Cancel] icon 162 through the input I / F54 (S89: Cancel). Further, the terminal program 65 skips the processes of S88 to S90 and ends the process at the time of consumables replacement in response to the determination that the candidate shop ID is not stored in the memory 62 (S87: none). .. Further, the terminal program 65 skips the processes of S84 to S92 in response to the determination that the remaining number of CTGs after subtraction in S82 is equal to or greater than the remaining number of the threshold values (S83: No), and at the time of replacing consumables. End the process.

一方、端末プログラム65は、旧装置位置と新装置位置との間の距離が第2位置以上だと判断したことに応じて(S86:Yes)、メモリ62に記憶されている装置位置情報を、S85で新たに取得した装置位置情報で上書きする(S91)。そして、端末プログラム65は、ショップ登録処理Cを実行する(S92)。ショップ登録処理Cは、図5のS36〜S41に相当する処理である。すなわち、端末プログラム65は、S92において、移設後の指定装置を基準として第1条件に合致するショップを、対象ショップとして登録する。 On the other hand, the terminal program 65 determines that the distance between the old device position and the new device position is the second position or more (S86: Yes), and receives the device position information stored in the memory 62. Overwrite with the device position information newly acquired in S85 (S91). Then, the terminal program 65 executes the shop registration process C (S92). The shop registration process C is a process corresponding to S36 to S41 in FIG. That is, in S92, the terminal program 65 registers a shop that meets the first condition as a target shop based on the designated device after relocation.

[本実施形態の作用効果]
上記の実施形態によれば、指定装置に着脱可能なインクカートリッジを販売するショップのうち、携帯端末50を所持するユーザの近くにあるショップが報知される。これにより、指定装置に着脱可能なインクカートリッジを販売するショップを探すユーザの手間を省くことができる。なお、上記の実施形態では、事前に対象ショップとして登録されたショップのみが報知対象となる例を示したが(S53:Yes)、事前の登録を必要とせずに携帯端末50のユーザの近くにあるショップを報知してもよい。すなわち、S53の処理、及びショップ登録処理A、B、Cは省略されてもよい。
[Action and effect of this embodiment]
According to the above embodiment, among the shops selling ink cartridges that can be attached to and detached from the designated device, the shops near the user who owns the mobile terminal 50 are notified. This saves the user the trouble of searching for a shop that sells ink cartridges that can be attached to and detached from the designated device. In the above embodiment, only the shops registered as the target shops in advance are targeted for notification (S53: Yes), but the user of the mobile terminal 50 is close to the user without the need for prior registration. You may notify a shop. That is, the process of S53 and the shop registration processes A, B, and C may be omitted.

また、ユーザは、指定装置に装着されているインクカートリッジのインク残量が少なくなったタイミングで、新たなインクカートリッジを購入しようと考えるのが自然である。そこで上記の実施形態のように、インク残量が閾値残量未満の場合に購入確認画面を表示させることによって、適切なタイミングでインクカートリッジの購入を促すことができる。一方、インク残量が閾値残量以上の場合は購入確認画面が表示されない。同様に、過去に購入したインクカートリッジの残数が閾値残数未満になるまでの間は(S54:OFF)、報知制御処理が実行されない。これにより、インクカートリッジの購入の必要性が低いタイミングで報知を受ける煩わしさを低減することができる。 In addition, it is natural for the user to consider purchasing a new ink cartridge when the ink remaining amount of the ink cartridge mounted on the designated device is low. Therefore, as in the above embodiment, by displaying the purchase confirmation screen when the remaining amount of ink is less than the remaining amount of the threshold value, it is possible to prompt the purchase of the ink cartridge at an appropriate timing. On the other hand, if the remaining amount of ink is equal to or greater than the remaining amount of ink, the purchase confirmation screen is not displayed. Similarly, the notification control process is not executed until the remaining number of ink cartridges purchased in the past becomes less than the threshold remaining number (S54: OFF). As a result, it is possible to reduce the troublesomeness of receiving the notification at the timing when the necessity of purchasing the ink cartridge is low.

また、上記の実施形態によれば、購入確認画面にオンライン価格が表示される。これにより、対象ショップでの販売価格と、WEBショッピングサービスでの販売価格とを比較して、インクカートリッジをどこで購入すべきか否かをユーザに判断させることができる。また、購入確認画面にインクカートリッジの外観を示す画像を表示すれば、ショップ内に陳列された複数種類のインクカートリッジのうちから、指定装置に装着可能なインクカートリッジを見つけやすくなる。 Further, according to the above embodiment, the online price is displayed on the purchase confirmation screen. This makes it possible for the user to determine where to purchase the ink cartridge by comparing the selling price at the target shop with the selling price at the WEB shopping service. In addition, if an image showing the appearance of the ink cartridge is displayed on the purchase confirmation screen, it becomes easy to find an ink cartridge that can be attached to the designated device from among a plurality of types of ink cartridges displayed in the shop.

また、上記の実施形態によれば、ユーザが指定した指定装置から閾値距離内に位置し、且つ指定装置に装着可能なインクカートリッジを販売するショップが対象ショップとして登録され、対象ショップの位置が購入確認画面を通じて報知される。これにより、指定装置に装着可能なインクカートリッジを販売しているショップを探すユーザの手間を省くことができる。なお、対象ショップを報知するのは、携帯端末50を所持するユーザが対象ショップに近づいたタイミングに限定されず、例えば、CTG残数が閾値残数未満になったタイミング等であってもよい。 Further, according to the above embodiment, a shop that sells ink cartridges that are located within a threshold distance from the designated device specified by the user and that can be attached to the designated device is registered as the target shop, and the position of the target shop is purchased. You will be notified through the confirmation screen. This saves the user the trouble of searching for a shop that sells ink cartridges that can be attached to the designated device. Note that the notification of the target shop is not limited to the timing when the user possessing the mobile terminal 50 approaches the target shop, and may be, for example, the timing when the remaining CTG number becomes less than the remaining threshold value.

また、上記の実施形態によれば、新たな指定装置が指定されたことをトリガとして、対象ショップ情報をメモリに記憶させるか否かがショップ登録処理Aで適切に判断される。また、ショップ登録処理Aでは、装置位置から閾値距離内にショップが存在しない場合でも、代替位置から閾値距離内のショップが対象ショップとして登録されるので、指定装置に装着可能なインクカートリッジを販売するショップを探すユーザの手間を省くことができる。 Further, according to the above embodiment, the shop registration process A appropriately determines whether or not to store the target shop information in the memory, triggered by the designation of the new designated device. Further, in the shop registration process A, even if the shop does not exist within the threshold distance from the device position, the shop within the threshold distance from the alternative position is registered as the target shop, so that the ink cartridge that can be attached to the designated device is sold. It is possible to save the trouble of the user who searches for a shop.

なお、ショップ登録処理Aでは、S31〜S34の全ての処理を実行する必要は必ずしもなく、S31〜S34のうちの少なくとも1つが実行されてもよいし、S31〜S34の全ての処理が省略されてもよい。また、端末プログラム65は、旧装置情報で識別されるMFP10と、新装置情報で識別されるMFP10とが同一か否かを判断する処理を、S31〜S34の処理に加えて或いは代えて実行してもよい。そして、端末プログラム65は、旧装置情報及び新装置情報それぞれで識別されるMFP10が異なると判断したことに応じて、S35以降の処理を実行してもよい。 In the shop registration process A, it is not always necessary to execute all the processes of S31 to S34, at least one of S31 to S34 may be executed, and all the processes of S31 to S34 are omitted. May be good. Further, the terminal program 65 executes a process of determining whether or not the MFP10 identified by the old device information and the MFP10 identified by the new device information are the same in addition to or instead of the processes of S31 to S34. You may. Then, the terminal program 65 may execute the processing after S35 depending on the determination that the MFP 10s identified by the old device information and the new device information are different.

また、携帯端末50の現在位置から第1距離内のショップとは、携帯端末50のユーザが容易に立ち寄れるショップだと考えることができる。そこで上記の実施形態のように、携帯端末50の現在位置から第1距離内のショップを検出したことをトリガとして、ショップ登録処理Bを実行することによって、指定装置に着脱可能なインクカートリッジを販売するショップを探すユーザの手間を省くことができる。一方、携帯端末50から第1距離内であっても、指定装置から閾値距離内でなければ、当該ショップは対象ショップとして登録されない。これは、ユーザが遠方に外出した際に偶然近くを通ったショップが報知されるのを抑制するためである。 Further, the shop within the first distance from the current position of the mobile terminal 50 can be considered as a shop where the user of the mobile terminal 50 can easily drop in. Therefore, as in the above embodiment, the ink cartridge that can be attached to and detached from the designated device is sold by executing the shop registration process B with the detection of the shop within the first distance from the current position of the mobile terminal 50 as a trigger. It is possible to save the user's trouble of searching for a shop to do. On the other hand, even if it is within the first distance from the mobile terminal 50, the shop is not registered as the target shop unless it is within the threshold distance from the designated device. This is to prevent the user from being notified of a shop that accidentally passed by when the user went out far away.

また、ショップ登録処理Bでは、S71〜S73の全ての処理を実行する必要は必ずしもなく、S71〜S73のうちの少なくとも1つが実行されてもよいし、S71〜S73の全ての処理が省略されてもよい。また、ショップ登録処理Bにおいて、S61〜S64の処理をさらに実行してもよい。すなわち、端末プログラム65は、インク残量が閾値残量未満であると判断したことに応じて、S66の処理を実行してもよい。一方、端末プログラム65は、インク残量が閾値残量以上であると判断したことに応じて、S66の処理を実行しなくてもよい。 Further, in the shop registration process B, it is not always necessary to execute all the processes of S71 to S73, at least one of S71 to S73 may be executed, and all the processes of S71 to S73 are omitted. May be good. Further, in the shop registration process B, the processes S61 to S64 may be further executed. That is, the terminal program 65 may execute the process of S66 depending on the determination that the remaining amount of ink is less than the remaining amount of the threshold value. On the other hand, the terminal program 65 does not have to execute the process of S66 depending on the determination that the ink remaining amount is equal to or more than the threshold remaining amount.

また、上記の実施形態によれば、過去の登録確認画面Bで[NO]アイコン152がタップされたショップの近くを再び訪れた際に、当該ショップを登録するか否かを確認する登録確認画面Bが再び表示されるのを抑制することができる。また、上記の実施形態によれば、過去の登録確認画面Bで[後で]アイコン153がタップされたショップを対象ショップとして登録するか否かが、指定装置のインクカートリッジを交換したタイミングでユーザに問合せされる(S88&S89)。これにより、携帯端末50のユーザは、例えば、外出中に近くを訪れたショップのうち、指定装置に着脱可能なインクカートリッジを購入したショップを指定すればよい。 Further, according to the above embodiment, when the shop where the [NO] icon 152 is tapped on the past registration confirmation screen B is visited again, the registration confirmation screen for confirming whether or not to register the shop is confirmed. It is possible to prevent B from being displayed again. Further, according to the above embodiment, whether or not to register the shop to which the [later] icon 153 is tapped on the past registration confirmation screen B as the target shop is determined by the user at the timing when the ink cartridge of the designated device is replaced. (S88 & S89). As a result, the user of the mobile terminal 50 may specify, for example, a shop that has purchased an ink cartridge that can be attached to and detached from the designated device among the shops that visited nearby while going out.

また、ユーザは、CTG残数が閾値残数以上の時に近くを訪れたショップで新たにインクカートリッジを購入する可能性が低い。そのため、外出中に偶然ショップの近くを訪れたとしても、当該ショップを対象ショップとして登録する可能性は低いと考えられる。そこで、CTG残数が閾値残数未満で且つ候補ショップIDが記憶されている場合にのみ(S83:Yes&S87:あり)、S88以降の処理を実行するのが望ましい。 In addition, the user is unlikely to purchase a new ink cartridge at a nearby shop when the remaining number of CTGs is equal to or greater than the remaining number of CTGs. Therefore, even if you happen to visit a shop while you are out, it is unlikely that you will register the shop as a target shop. Therefore, it is desirable to execute the processing after S88 only when the CTG remaining number is less than the threshold remaining number and the candidate shop ID is stored (S83: Yes & S87: Yes).

また、旧装置位置と新装置位置との距離が第2距離以上の場合とは、例えば、引越し等によって指定装置が移設された場合と考えることができる。そこで、このような場合には、新装置位置から閾値距離内で且つ指定装置に着脱可能なインクカートリッジを販売するショップを、対象ショップとして登録し直すのが望ましい。 Further, the case where the distance between the old device position and the new device position is the second distance or more can be considered as, for example, the case where the designated device is relocated due to moving or the like. Therefore, in such a case, it is desirable to re-register the shop that sells the ink cartridges that can be attached to and detached from the designated device within the threshold distance from the position of the new device as the target shop.

なお、上記の実施形態では、位置検出部56から出力される位置情報を、装置位置情報及び端末位置情報とする例を説明したが(S35、S51、S85)、位置情報の取得方法はこれに限定されない。端末プログラム65は、例えばS35、S85において、通信I/F55を通じて指定装置から位置情報を受信してもよい。この場合の位置情報は、例えば、MFP10の入力I/F54を通じてユーザが設定したロケーション情報でもよいし、MFP10に搭載されたFAX部に設定された電話番号の市外局番でもよい。また、端末プログラム65は、例えばS51において、ショップのゲートに設置されたビーコン送出から送出されるビーコン信号を受信したことによって、第1距離内にショップが存在することを検出してもよい。ビーコン信号は、例えば、Wi−Fi、NFC、Bluetooth等に準拠した信号でもよい。また、この場合の第1距離は、ビーコン信号の到達距離に対応する。 In the above embodiment, an example in which the position information output from the position detection unit 56 is used as the device position information and the terminal position information has been described (S35, S51, S85), but the method for acquiring the position information is based on this. Not limited. The terminal program 65 may receive position information from the designated device through the communication I / F55 in, for example, S35 and S85. The location information in this case may be, for example, the location information set by the user through the input I / F 54 of the MFP 10, or the area code of the telephone number set in the FAX unit mounted on the MFP 10. Further, the terminal program 65 may detect that the shop exists within the first distance by receiving the beacon signal transmitted from the beacon transmission installed at the gate of the shop, for example, in S51. The beacon signal may be, for example, a signal compliant with Wi-Fi, NFC, Bluetooth, or the like. Further, the first distance in this case corresponds to the reachable distance of the beacon signal.

また、上記の実施形態では、対象ショップ情報を1つだけ記憶する例を説明したが、複数の対象ショップ情報がメモリ62に記憶されていてもよい。すなわち、端末プログラム65は、S39、S76、S90において、既にメモリ62に記憶されている対象ショップ情報とは別に、新たな対象ショップ情報をメモリ62に記憶させてもよい。また、上記の実施形態では、装置位置から閾値距離内のショップのみが対象ショップとして登録される例を説明したが、S52で検出したショップを、装置位置からの距離に関係なく対象ショップとして登録してもよい。すなわち、端末プログラム65は、S72において、S52で検出したショップの所在地と装置位置との関係を判断しなくてもよい。 Further, in the above embodiment, the example in which only one target shop information is stored has been described, but a plurality of target shop information may be stored in the memory 62. That is, in S39, S76, and S90, the terminal program 65 may store new target shop information in the memory 62 in addition to the target shop information already stored in the memory 62. Further, in the above embodiment, the example in which only the shops within the threshold distance from the device position are registered as the target shops has been described, but the shops detected in S52 are registered as the target shops regardless of the distance from the device position. You may. That is, the terminal program 65 does not have to determine the relationship between the shop location and the device position detected in S52 in S72.

この場合の端末プログラム65は、報知制御処理において(S55)、S52で検出したショップの所在地と、メモリ62に記憶された装置位置情報で示される装置位置との距離が閾値距離未満か否かを判断してもよい。この処理は、第4判断処理の一例である。また、端末プログラム65は、メモリ62に記憶された対象ショップ情報で示される複数の対象ショップのうち、S52で検出したショップと異なるショップ(以下、「他のショップ」と表記する。)の所在地と装置位置情報で示される装置位置とが閾値距離未満か否かを判断してもよい。この処理は、第5判断処理の一例である。 In this case, the terminal program 65 determines whether or not the distance between the shop location detected in S52 and the device position indicated by the device position information stored in the memory 62 in the notification control process (S55) is less than the threshold distance. You may judge. This process is an example of the fourth determination process. Further, the terminal program 65 has the location of a shop different from the shop detected in S52 (hereinafter, referred to as “another shop”) among the plurality of target shops indicated by the target shop information stored in the memory 62. It may be determined whether or not the device position indicated by the device position information is less than the threshold distance. This process is an example of the fifth determination process.

そして、端末プログラム65は、S52で検出したショップの所在地と装置位置との距離が閾値距離未満だと判断したことに応じて、S61以降の処理を実行してもよい。また、端末プログラム65は、S52で検出したショップの所在地と装置位置との距離が閾値距離以上で、且つ他のショップの所在地と装置位置との距離が閾値距離未満だと判断したことに応じて、S61以降の処理を実行してもよい。一方、端末プログラム65は、S52で検出したショップの所在地と装置位置との距離が閾値距離以上で、且つ他のショップの所在地と装置位置との距離が閾値距離以上だと判断したことに応じて、S61〜S64の処理をスキップして、S65以降の処理を実行してもよい。 Then, the terminal program 65 may execute the processing after S61 according to the determination that the distance between the shop location and the device position detected in S52 is less than the threshold distance. Further, the terminal program 65 determines that the distance between the shop location and the device position detected in S52 is equal to or greater than the threshold distance, and the distance between the location of another shop and the device position is less than the threshold distance. , S61 and subsequent processes may be executed. On the other hand, the terminal program 65 determines that the distance between the shop location and the device position detected in S52 is equal to or greater than the threshold distance, and the distance between the location of another shop and the device position is equal to or greater than the threshold distance. , S61 to S64 may be skipped and the processes after S65 may be executed.

装置位置からの距離が閾値距離未満のショップ(すなわち、拠点に近いショップ)にユーザが訪れるチャンスは多いと考えられるので、S66の処理を実行するか否かをS64で判断するのが望ましい。一方、装置位置からの距離が閾値距離以上のショップ(すなわち、拠点から遠いショップ)にユーザが訪れるチャンスは少ないので、S64の処理を実行せずにS66の処理を実行するのが望ましい。但し、拠点に近い他のショップが登録されている場合は、拠点から遠いショップでインクカートリッジを購入する必要性は低いので、S66を実行するか否かをS64で判断すればよい。 Since it is considered that the user has many chances to visit a shop whose distance from the device position is less than the threshold distance (that is, a shop close to the base), it is desirable to determine in S64 whether or not to execute the process of S66. On the other hand, since there is little chance that the user will visit a shop whose distance from the device position is equal to or greater than the threshold distance (that is, a shop far from the base), it is desirable to execute the process of S66 without executing the process of S64. However, if another shop near the base is registered, there is little need to purchase an ink cartridge at a shop far from the base, so it may be determined in S64 whether or not to execute S66.

また、ショップリストに登録されているショップで販売されている商品は、インクカートリッジに限定されず、MFP10に装着される他の消耗品(トナーカートリッジ、ドラムユニット、インクリボン、排液フォーム、被記録媒体)でもよいし、MFP10に装着可能なアクセサリ(例えば、増設トレイ)等でもよい。また、ショップは、商品を販売することに限定されず、MFP10のメンテナンス或いは修理をしてもよい。すなわち、ショップリストには、MFP10に関するサービスを提供するショップが登録される。 In addition, the products sold at the shops registered in the shop list are not limited to ink cartridges, but other consumables (toner cartridges, drum units, ink ribbons, drainage foams, recording media) mounted on the MFP10. ), Or an accessory (for example, an expansion tray) that can be attached to the MFP 10. Further, the shop is not limited to selling products, and may maintain or repair the MFP 10. That is, a shop that provides a service related to the MFP 10 is registered in the shop list.

すなわち、指定装置に着脱可能なインクカートリッジを販売するショップは、指定装置に関するサービスを提供するショップの一例である。また、対象ショップ情報に含まれる販売CTGタイプは、どのモデルのMFP10に関するサービスをショップで提供可能かを示す情報の一例である。また、CTG残数は、ショップで提供されたサービスを指定装置に適用可能な回数の一例である。また、CTG脱着情報は、ショップが提供するサービスが指定装置に適用されたことを推定する推定情報の一例である。 That is, a shop that sells ink cartridges that can be attached to and detached from the designated device is an example of a shop that provides services related to the designated device. Further, the sales CTG type included in the target shop information is an example of information indicating which model of the MFP 10 the service can be provided by the shop. The remaining number of CTGs is an example of the number of times the service provided by the shop can be applied to the designated device. Further, the CTG attachment / detachment information is an example of estimation information for estimating that the service provided by the shop has been applied to the designated device.

また、上記の実施形態の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 configuration may be realized by hardware such as an integrated circuit.

さらに、本発明は、MFP10及び携帯端末50として実現できるだけでなく、MFP10及び携帯端末50に処理を実行させるプログラムとして実現してもよい。そして、当該プログラムは、non−transitoryな記録媒体に記録されて提供されてもよい。non−transitoryな記録媒体は、CD−ROM、DVD−ROM等の他、通信ネットワークを通じてMFP10及び携帯端末50に接続可能なサーバに搭載されたメモリを含んでもよい。そして、サーバのメモリに記憶されたプログラムは、当該プログラムを示す情報或いは信号として、インターネット101等の通信ネットワークを通じて配信されてもよい。 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 memory 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 memory of the server may be distributed as information or a signal indicating the program through a communication network such as the Internet 101.

10・・・MFP
11・・・プリンタ
12・・・スキャナ
23,53・・・ディスプレイ
24,54・・・入力I/F
25,55・・・通信I/F
31,61・・・CPU
32,62・・・メモリ
35・・・装置プログラム
50・・・携帯端末
65・・・端末プログラム
80・・・サーバ
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 80 ... Server

Claims (10)

通信インタフェースと、入力インタフェースと、報知部と、メモリと、を備える携帯端末によって読み取り可能なプログラムであって、
該プログラムは、前記入力インタフェースを通じたユーザ操作に従って、前記通信インタフェースを通じて指定装置と通信する通信処理を前記携帯端末に実行させ、前記指定装置は、画像形成動作を実行する画像形成装置のうち、前記入力インタフェースを通じてユーザが指定した前記画像形成装置であり、
該プログラムは、
前記携帯端末から報知距離内に存在するショップを検出する検出処理と、
前記検出処理で前記ショップを検出したことに応じて、当該ショップが前記指定装置に関するサービスを提供するか否かを判断する第1判断処理と、
前記第1判断処理で前記サービスを提供すると判断したことに応じて、前記ショップが前記報知距離内に存在することを、前記報知部に報知させる報知処理とを前記携帯端末に実行させ
前記画像形成装置は、装着された消耗品を用いて前記画像形成動作を実行し、
前記ショップは、前記消耗品を販売する前記サービスを提供し、
該プログラムは、
前記検出処理で前記ショップを検出したことに応じて、前記指定装置に装着されている前記消耗品の残量が閾値残量未満か否かを判断する第2判断処理と、
前記第1判断処理で前記サービスを提供すると判断し、且つ前記第2判断処理で前記閾値残量未満だと判断したことに応じて、前記報知処理とを前記携帯端末に実行させ、
前記第2判断処理で前記閾値残量以上だと判断したことに応じて、前記報知処理を実行せず、
前記メモリは、前記指定装置の装置位置を示す装置位置情報を記憶しており、
該プログラムは、
前記検出処理で検出した前記ショップの位置と、前記装置位置情報で示される前記装置位置との距離が閾値距離未満か否かを判断する第4判断処理と、
前記第4判断処理で前記閾値距離未満だと判断したことに応じて、前記第2判断処理を前記携帯端末に実行させ、
前記第4判断処理で前記閾値距離以上だと判断したことに応じて、前記第2判断処理を実行せずに、前記報知処理を前記携帯端末に実行させるプログラム。
A program that can be read by a mobile terminal including a communication interface, an input interface, a notification unit, and a memory.
The program causes the mobile terminal to execute a communication process of communicating with a designated device through the communication interface according to a user operation through the input interface, and the designated device is one of the image forming devices that executes an image forming operation. The image forming apparatus specified by the user through the input interface.
The program
Detection processing that detects shops existing within the notification distance from the mobile terminal, and
The first determination process for determining whether or not the shop provides the service related to the designated device in response to the detection of the shop in the detection process.
In response to the determination in the first determination process that the service is to be provided, the mobile terminal is made to execute a notification process for notifying the notification unit that the shop is within the notification distance .
The image forming apparatus executes the image forming operation by using the attached consumables, and the image forming apparatus performs the image forming operation.
The shop provides the service for selling the consumables and
The program
A second determination process for determining whether or not the remaining amount of the consumables mounted on the designated device is less than the threshold remaining amount in response to the detection of the shop in the detection process.
In response to the determination that the service is to be provided in the first determination process and the determination that the remaining amount is less than the threshold value in the second determination process, the mobile terminal is made to execute the notification process.
In response to the determination in the second determination process that the remaining amount is equal to or greater than the threshold value, the notification process is not executed.
The memory stores device position information indicating the device position of the designated device, and stores the device position information.
The program
A fourth determination process for determining whether or not the distance between the shop position detected by the detection process and the device position indicated by the device position information is less than the threshold distance.
In response to the determination that the distance is less than the threshold distance in the fourth determination process, the mobile terminal is made to execute the second determination process.
A program that causes the mobile terminal to execute the notification process without executing the second determination process in response to the determination that the distance is equal to or greater than the threshold distance in the fourth determination process.
該プログラムは、
前記検出処理で前記ショップを検出したことに応じて、前記通信インタフェースを通じて前記指定装置と通信可能か否かを判断する第3判断処理を前記携帯端末に実行させ、
前記第3判断処理で通信可能と判断したことに応じて、
装着された前記消耗品の残量を示す残量情報を前記通信インタフェースを通じて前記指定装置から受信する前記通信処理と、
前記通信処理で受信した前記残量情報で示される残量が前記閾値残量未満か否かを判断する前記第2判断処理とを前記携帯端末に実行させる請求項に記載のプログラム。
The program
In response to the detection of the shop in the detection process, the mobile terminal is made to execute a third determination process of determining whether or not communication with the designated device is possible through the communication interface.
Depending on the judgment that communication is possible in the third judgment process,
The communication process of receiving the remaining amount information indicating the remaining amount of the mounted consumables from the designated device through the communication interface, and the communication process.
The program according to claim 1 , wherein the mobile terminal executes the second determination process of determining whether or not the remaining amount indicated by the remaining amount information received in the communication process is less than the threshold remaining amount.
プログラムは、
前記通信インタフェースを通じて前記指定装置から前記残量情報を受信する前記通信処理と、
前記通信処理で受信した前記残量情報を前記メモリに記憶させる第1記憶処理とを、前記通信インタフェースを通じて前記指定装置と通信可能な間に前記携帯端末に繰り返し実行させ、
前記第3判断処理で通信不可と判断したことに応じて、
直近の前記第1記憶処理で記憶させた前記残量情報を前記メモリから読み出す読出処理と、
前記読出処理で読み出した前記残量情報で示される残量が前記閾値残量未満か否かを判断する前記第2判断処理とを前記携帯端末に実行させる請求項に記載のプログラム。
The program
With the communication process of receiving the remaining amount information from the designated device through the communication interface,
The mobile terminal is repeatedly executed with the first storage process of storing the remaining amount information received in the communication process in the memory while being able to communicate with the designated device through the communication interface.
In response to the determination that communication is not possible in the third determination process
A read process for reading the remaining amount information stored in the latest first storage process from the memory, and a read process.
The program according to claim 2 , wherein the mobile terminal is made to execute the second determination process of determining whether or not the remaining amount indicated by the remaining amount information read by the read process is less than the threshold remaining amount.
前記メモリは、各々が前記サービスを提供する前記ショップの位置を示す複数の対象ショップ情報を記憶しており、
該プログラムは、
前記第1判断処理において、前記対象ショップ情報で位置が示される前記ショップを前記検出処理で検出したか否かを判断し、
前記対象ショップ情報で位置が示される複数の前記ショップのうち、前記検出処理で検出した前記ショップと異なる前記ショップの位置と、前記装置位置情報で示される前記装置位置とが前記閾値距離未満か否かを判断する第5判断処理と、
前記第4判断処理で前記閾値距離以上だと判断し、且つ前記第5判断処理で前記閾値距離未満だと判断したことに応じて、前記第2判断処理とを前記携帯端末に実行させ、
前記第4判断処理及び前記第5判断処理で前記閾値距離以上だと判断したことに応じて、前記第2判断処理を実行せずに、前記報知処理を前記携帯端末に実行させる請求項1から3のいずれかに記載のプログラム。
The memory stores a plurality of target shop information indicating the location of the shop, each of which provides the service.
The program
In the first determination process, it is determined whether or not the shop whose position is indicated by the target shop information is detected by the detection process.
Whether or not the position of the shop different from the shop detected by the detection process and the device position indicated by the device position information are less than the threshold distance among the plurality of shops whose positions are indicated by the target shop information. The fifth judgment process to judge whether
In response to the determination in the fourth determination process that the distance is equal to or greater than the threshold distance and the determination in the fifth determination process that the distance is less than the threshold distance, the mobile terminal is made to execute the second determination process.
In response to determining that it more the threshold distance by the fourth determination process and the fifth determination process, without executing the second determination process, of claims 1 to execute the notification process to the mobile terminal The program described in any of 3.
前記画像形成装置は、装着された前記消耗品を用いて前記画像形成動作を実行し、
前記ショップは、前記消耗品を販売する前記サービスを提供し
プログラムは、
前記消耗品を購入したことに対応する第1操作或いは前記消耗品を購入していないことに対応する第2操作を、前記報知処理を実行した後に前記入力インタフェースを通じて受け付ける第1受付処理と、
前記第1受付処理で前記第1操作を受け付けたことに応じて、前記メモリに記憶された通知フラグに第1値を設定する第1設定処理と、
前記検出処理で前記ショップを検出したことに応じて、前記通知フラグの設定値を判断する第6判断処理とを前記携帯端末に実行させ、
前記第6判断処理で前記第1値だと判断したことに応じて、前記報知処理を実行しない請求項1からのいずれかに記載のプログラム。
The image forming apparatus performs the image forming operation using the mounted consumable,
The shop provides the service for selling the consumables and
The program
The first reception process corresponding to the purchase of the consumable or the second operation corresponding to the purchase of the consumable is received through the input interface after the notification process is executed.
The first setting process of setting the first value in the notification flag stored in the memory in response to the acceptance of the first operation in the first reception process.
In response to the detection of the shop in the detection process, the mobile terminal is made to execute the sixth determination process of determining the set value of the notification flag.
The program according to any one of claims 1 to 4 , wherein the notification process is not executed in response to the determination of the first value in the sixth determination process.
該プログラムは、
前記指定装置の前記消耗品が交換されたことを推定する推定情報を、前記通信インタフェースを通じて前記指定装置から受信する第1受信処理と、
前記第1受信処理で前記推定情報を受信したことに応じて、前記通知フラグに第2値を設定する第2設定処理と、
前記第1判断処理で前記サービスを提供すると判断し、且つ前記第6判断処理で前記第2値だと判断したことに応じて、前記報知処理とを前記携帯端末に実行させる請求項に記載のプログラム。
The program
In the first reception process of receiving the estimation information for estimating that the consumables of the designated device have been replaced from the designated device through the communication interface,
A second setting process for setting a second value in the notification flag according to the reception of the estimated information in the first reception process, and a second setting process.
The fifth aspect of claim 5, wherein the mobile terminal is made to execute the notification process in response to the determination that the service is to be provided in the first determination process and the determination that the service is the second value in the sixth determination process. Program.
該プログラムは、
前記第1受付処理において、前記ショップで購入した前記消耗品の数を指定するユーザ操作を、前記入力インタフェースを通じてさらに受け付け、
前記第1受付処理で指定された数を、前記消耗品の残数を示す残数情報として前記メモリに記憶させる第2記憶処理と、
前記第1受信処理で前記推定情報を受信したことに応じて、前記残数情報で示される残数を減算する減算処理と、
前記減算処理後の残数が閾値残数未満か否かを判断する第7判断処理と、
前記第7判断処理で前記閾値残数未満だと判断したことに応じて、前記第2設定処理とを前記携帯端末に実行させる請求項に記載のプログラム。
The program
In the first reception process, a user operation for specifying the number of the consumables purchased at the shop is further accepted through the input interface.
The second storage process of storing the number specified in the first reception process in the memory as the remaining number information indicating the remaining number of the consumables.
A subtraction process for subtracting the remaining number indicated by the remaining number information according to the reception of the estimated information in the first reception process, and a subtraction process.
The seventh judgment process for determining whether or not the remaining number after the subtraction process is less than the threshold remaining number, and
The program according to claim 6 , wherein the mobile terminal is made to execute the second setting process in response to the determination that the number is less than the threshold remaining number in the seventh determination process.
プログラムは、
前記サービスを提供する前記ショップを示す対象ショップ情報を、前記入力インタフェースを通じたユーザ操作に従って、前記メモリに記憶させる第3記憶処理を、前記検出処理に先立って前記携帯端末に実行させ、
前記第1判断処理において、前記対象ショップ情報で示される前記ショップを前記検出処理で検出したか否かを判断する請求項1からのいずれかに記載のプログラム。
The program
A third storage process for storing the target shop information indicating the shop providing the service in the memory according to a user operation through the input interface is executed by the mobile terminal prior to the detection process.
The program according to any one of claims 1 to 7 , which determines whether or not the shop indicated by the target shop information is detected by the detection process in the first determination process.
前記画像形成装置は、装着された前記消耗品を用いて前記画像形成動作を実行し、
前記ショップは、前記消耗品を販売する前記サービスを提供し、
前記報知部は、ディスプレイを含み、
該プログラムは、前記報知処理において、前記指定装置に装着される前記消耗品の型番を示す文字列及び前記消耗品の外観を示す画像の少なくとも1つを、前記ディスプレイに表示させる請求項1からのいずれかに記載のプログラム。
The image forming apparatus performs the image forming operation using the mounted consumable,
The shop provides the service for selling the consumables and
The notification unit includes a display.
The program has claims 1 to 8 for displaying at least one of a character string indicating the model number of the consumable attached to the designated device and an image showing the appearance of the consumable on the display in the notification process. The program described in any of.
前記画像形成装置は、装着された前記消耗品を用いて前記画像形成動作を実行し、
前記ショップは、前記消耗品を販売する前記サービスを提供し、
前記報知部は、ディスプレイを含み、
該プログラムは、
前記指定装置に装着される前記消耗品をインターネット上の仮想ショップでの販売価格を示す価格情報を、前記通信インタフェースを通じてサーバから受信する第2受信処理を前記携帯端末に実行させ、
前記報知処理において、前記価格情報で示される販売価格を、前記ディスプレイに表示させる請求項1からのいずれかに記載のプログラム。
The image forming apparatus performs the image forming operation using the mounted consumable,
The shop provides the service for selling the consumables and
The notification unit includes a display.
The program
The mobile terminal is made to execute a second reception process of receiving price information indicating the selling price of the consumables mounted on the designated device at a virtual shop on the Internet from a server through the communication interface.
The program according to any one of claims 1 to 9 , wherein in the notification process, the selling price indicated by the price information is displayed on the display.
JP2017011898A 2017-01-26 2017-01-26 program Active JP6965521B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2017011898A JP6965521B2 (en) 2017-01-26 2017-01-26 program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017011898A JP6965521B2 (en) 2017-01-26 2017-01-26 program

Publications (2)

Publication Number Publication Date
JP2018120450A JP2018120450A (en) 2018-08-02
JP6965521B2 true JP6965521B2 (en) 2021-11-10

Family

ID=63043845

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017011898A Active JP6965521B2 (en) 2017-01-26 2017-01-26 program

Country Status (1)

Country Link
JP (1) JP6965521B2 (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6529692B1 (en) * 2000-11-10 2003-03-04 Hewlett-Packard Company Consumable order-assistance system for computer peripheral device within a single connection environment and method for replenishing consumables
JP2010058427A (en) * 2008-09-05 2010-03-18 Fuji Xerox Co Ltd Image forming apparatus, consumable order receiving apparatus, consumable management system and consumable management program
JP5093085B2 (en) * 2008-12-16 2012-12-05 ブラザー工業株式会社 Status monitor program, information processing apparatus and printing apparatus for executing the status program
JP2011090534A (en) * 2009-10-23 2011-05-06 Oki Data Corp System and method for retrieving store
JP2012203711A (en) * 2011-03-25 2012-10-22 Sharp Corp Image forming system, information processor, image forming apparatus, data transmission method, computer program, and recording medium
JP5942510B2 (en) * 2012-03-19 2016-06-29 株式会社リコー Communication system, management information notification method and program

Also Published As

Publication number Publication date
JP2018120450A (en) 2018-08-02

Similar Documents

Publication Publication Date Title
KR20170002554A (en) Printing system and method of controlling printing system
US10692130B2 (en) Non-transitory computer-readable medium, information processing terminal and consumable ordering method
JP6086341B2 (en) Mobile payment terminal device and printing instruction method
JP6256040B2 (en) Information processing program and printer
JP6447309B2 (en) Image output apparatus and server
US20170192727A1 (en) Image forming apparatus and image forming method
JP2017054429A (en) Image formation apparatus, image formation system and portable terminal
JP6965521B2 (en) program
JP6798329B2 (en) program
US20200193529A1 (en) Checkout system and method performed thereby
JP2009087055A (en) Shopping support device, computer program, and shopping support system
JP6044202B2 (en) Information display system, portable terminal device used therefor, and information display method
JP5635545B2 (en) Content providing server, content providing method, and program for content providing server
JP6725348B2 (en) Product sales data processing device and program
US20210304289A1 (en) Shopping support apparatus and control method thereof
JP6199463B2 (en) Image processing apparatus and information processing terminal
JP6465084B2 (en) Departmental consumable management system and image forming apparatus
JP2002133278A (en) Apparatus and method for purchasing consumable item for mobile electronic equipment, and storage medium
JP2016191995A (en) server
JP6911181B2 (en) Product sales data processing equipment and programs
JP2021030510A (en) program
JP2020126354A (en) Information processing apparatus, information processing program, and information processing system
JP2019064758A (en) Consumable supply management system
JP7215921B2 (en) Information processing device, system and program
JP6601272B2 (en) Image forming apparatus, image forming system, and program

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A821

Effective date: 20180219

RD05 Notification of revocation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7425

Effective date: 20180219

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191226

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20201006

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20201117

A601 Written request for extension of time

Free format text: JAPANESE INTERMEDIATE CODE: A601

Effective date: 20210115

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210311

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20211004

R150 Certificate of patent or registration of utility model

Ref document number: 6965521

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150