JP7761874B2 - Control device and computer program - Google Patents
Control device and computer programInfo
- Publication number
- JP7761874B2 JP7761874B2 JP2021213921A JP2021213921A JP7761874B2 JP 7761874 B2 JP7761874 B2 JP 7761874B2 JP 2021213921 A JP2021213921 A JP 2021213921A JP 2021213921 A JP2021213921 A JP 2021213921A JP 7761874 B2 JP7761874 B2 JP 7761874B2
- Authority
- JP
- Japan
- Prior art keywords
- remaining amount
- terminal device
- data
- condition
- processor
- 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
Links
Landscapes
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
Description
本明細書は、プリンタの消耗品の発注を制御する技術に関する。 This specification relates to technology for controlling the ordering of printer consumables.
プリンタの消耗品(例えば、トナー、インク、用紙など)の残量が少ない場合に消耗品を発注するための技術が提案されている。例えば、特許文献1は、以下の技術を開示している。通知部31は、トナーニアエンプティ検出部30がトナーニアエンプティ状態を検出した場合に、その検出情報をサービスマン宛に電子メールで通知する。電子メールクライアント部32は、該通知に対応する発注コンテンツ505aのURLを、NIC18を介して受信する。Webブラウザ部33は、操作パネル15の指示に応答して、該URLにユーザIDを付与してアクセスする。Webブラウザ部33は、該ユーザIDに対応したWebページを、該NIC18を介して受信し、この内容をタッチパネル20に表示する。 Technology has been proposed for ordering printer consumables (e.g., toner, ink, paper, etc.) when the remaining amount is low. For example, Patent Document 1 discloses the following technology: When the toner near empty detection unit 30 detects a toner near empty state, the notification unit 31 notifies a service technician of the detection information by email. The email client unit 32 receives the URL of the order content 505a corresponding to the notification via the NIC 18. In response to an instruction from the operation panel 15, the web browser unit 33 assigns a user ID to the URL and accesses it. The web browser unit 33 receives the web page corresponding to the user ID via the NIC 18 and displays the content on the touch panel 20.
プリンタの消耗品の発注を適切に制御することは、容易ではなかった。例えば、同じ消耗品の複数回の発注が行われる場合があった。 It was not easy to properly control the ordering of printer consumables. For example, there were cases where the same consumable was ordered multiple times.
本明細書は、プリンタの消耗品の発注を適切に制御する技術を開示する。 This specification discloses technology for appropriately controlling the ordering of printer consumables.
本明細書に開示された技術は、以下の適用例として実現することが可能である。 The technology disclosed in this specification can be implemented in the following application examples:
[適用例1]制御装置であって、印刷実行部の消耗品の残量が第1閾値以下であることを示す第1低残量条件が満たされるか否かを判断する第1判断部と、前記第1低残量条件が満たされると前記第1判断部によって判断されることを含む第1条件が満たされる場合に、前記第1低残量条件が満たされることを示す第1通知を端末装置に送信する第1送信部と、前記第1通知を受信した前記端末装置から前記消耗品の発注のための処理の要求である処理要求を受信する受信部と、前記処理要求に応じて、前記消耗品の残量が第2閾値以下であることを示す第2低残量条件が満たされるか否かを判断する第2判断部と、前記第2判断部による判断の結果を使用して、画面の表示のためのデータを前記端末装置に送信する第2送信部と、を備え、前記第2送信部は、前記第2低残量条件が満たされると前記第2判断部によって判断されることを含む第2条件が満たされる場合には、前記消耗品の発注申請を入力するための画面である第1種画面の表示のためのデータを前記端末装置に送信し、前記第2条件が満たされない場合には、前記第1種画面とは異なる第2種画面であって、前記消耗品の発注申請の入力ができない画面である前記第2種画面の表示のためのデータを前記端末装置に送信する、制御装置。 [Application Example 1] A control device comprising: a first determination unit that determines whether a first low remaining amount condition is satisfied, indicating that the remaining amount of a consumable in a print execution unit is equal to or less than a first threshold; a first transmission unit that transmits a first notification to a terminal device indicating that the first low remaining amount condition is satisfied when a first condition is satisfied, including a determination by the first determination unit that the first low remaining amount condition is satisfied; a reception unit that receives a processing request from the terminal device that has received the first notification, the processing request being a request for processing to order the consumable; and a reception unit that determines whether a second low remaining amount condition is satisfied, indicating that the remaining amount of the consumable is equal to or less than a second threshold, in response to the processing request. A control device comprising: a second determination unit; and a second transmission unit that uses the result of the determination by the second determination unit to send data for displaying a screen to the terminal device, wherein if a second condition is met, including a determination by the second determination unit that the second low remaining amount condition is met, the second transmission unit sends data to the terminal device for displaying a first type screen, which is a screen for inputting an order request for the consumables, and if the second condition is not met, the second transmission unit sends data to the terminal device for displaying a second type screen, which is different from the first type screen and on which an order request for the consumables cannot be input.
この構成によれば、端末装置からの処理要求に応じて、残量が第2閾値以下であるか否か判断されるので、プリンタの消耗品の発注を適切に制御できる。 With this configuration, a determination is made in response to a processing request from the terminal device as to whether the remaining amount is equal to or less than the second threshold, thereby enabling appropriate control of ordering printer consumables.
なお、本明細書に開示の技術は、種々の態様で実現することが可能であり、例えば、制御方法および制御装置、それらの方法または装置の機能を実現するためのコンピュータプログラム、そのコンピュータプログラムを記録した記録媒体(例えば、一時的ではない記録媒体)、等の形態で実現することができる。 The technology disclosed in this specification can be realized in various forms, such as a control method and control device, a computer program for realizing the functions of the method or device, or a recording medium (e.g., a non-transitory recording medium) on which the computer program is recorded.
A.第1実施例:
A1.装置構成:
図1は、本実施例のシステムの例を示す概略図である。このシステム1000は、プリンタ100と、端末装置200A、200Bと、サービスサーバ500と、販社サーバ600と、を含んでいる。本実施例では、サービスサーバ500と販社サーバ600とは、印刷サービス事業者によって提供される。印刷サービス事業者は、印刷サービスを申し込んだユーザに、プリンタ100を提供する。サービスサーバ500は、プリンタ100に、印刷可能量(例えば、印刷可能枚数)を付与する。プリンタ100は、印刷可能量の印刷をユーザに許容する。ユーザは、印刷可能量を購入することが可能である。印刷可能量が購入される場合、サービスサーバ500は、購入によって更新された印刷可能量を、プリンタ100に付与する。
A. First embodiment:
A1. Device configuration:
FIG. 1 is a schematic diagram showing an example of a system according to this embodiment. The system 1000 includes a printer 100, terminal devices 200A and 200B, a service server 500, and a distributor server 600. In this embodiment, the service server 500 and the distributor server 600 are provided by a printing service provider. The printing service provider provides the printer 100 to a user who has applied for a printing service. The service server 500 assigns a printable amount (e.g., the number of printable pages) to the printer 100. The printer 100 allows the user to print within the printable amount. The user can purchase the printable amount. When the printable amount is purchased, the service server 500 assigns the printable amount updated by the purchase to the printer 100.
サービスサーバ500は、更に、プリンタ100によって使用される消耗品の発注の申請を処理する。プリンタ100は、印刷実行部160を有している。印刷実行部160は、所定の方式(例えば、レーザ方式、または、インクジェット方式)で、用紙(印刷媒体の一例)などのシート上に印刷材(例えば、トナー、または、インク)を使用して画像を印刷する装置である。本実施例では、印刷実行部160が、シアンC、マゼンタM、イエロY、ブラックKの4種類のインクを使用するインクジェット方式の印刷装置であることとする。印刷実行部160は、CMYKのインクをそれぞれ収容するインクタンクTC、TM、TY、TKを有している。インクの残量が少ない場合、プリンタ100の管理者は、端末装置を使用して、インクの発注を申請できる。サービスサーバ500と販社サーバ600は、申請に応じて、インクを発送するための処理を実行する(詳細は後述)。 The service server 500 also processes requests for orders for consumables used by the printer 100. The printer 100 has a print execution unit 160. The print execution unit 160 is a device that prints images using a printing material (e.g., toner or ink) on a sheet of paper (an example of a print medium) using a predetermined method (e.g., laser or inkjet). In this embodiment, the print execution unit 160 is an inkjet printing device that uses four types of ink: cyan (C), magenta (M), yellow (Y), and black (K). The print execution unit 160 has ink tanks TC, TM, TY, and TK, which contain CMYK inks, respectively. If the remaining ink level is low, the administrator of the printer 100 can use a terminal device to request an ink order. The service server 500 and the distributor's server 600 then execute the process to ship the ink in response to the request (details will be described later).
プリンタ100の管理者は、種々の人であってよい。プリンタ100が家庭内で使用される場合、管理者は、家族のメンバー(例えば、父、母など)であり得る。プリンタ100が会社内で使用される場合、管理者は、従業員から選択された担当者であり得る。1台のプリンタ100には、複数の管理者が対応付けられ得る。端末装置200A、200Bは、それぞれ、互いに異なる管理者の端末装置である。 The administrator of the printer 100 may be a variety of people. If the printer 100 is used at home, the administrator may be a family member (e.g., father, mother, etc.). If the printer 100 is used in a company, the administrator may be a person selected from among the employees. Multiple administrators may be associated with one printer 100. Terminal devices 200A and 200B are terminal devices for different administrators.
これらの装置100、200A、200B、500、600は、ネットワークNTに接続されている。ネットワークNTは、いわゆるインターネットを含んでよい。また、ネットワークNTは、いわゆるローカルネットワークを含んでよい。 These devices 100, 200A, 200B, 500, and 600 are connected to a network NT. The network NT may include the so-called Internet. The network NT may also include a so-called local network.
プリンタ100は、プロセッサ110と、記憶装置115と、表示部140と、操作部150と、印刷実行部160と、通信インタフェース180と、を有している。これらの要素は、バスを介して互いに接続されている。記憶装置115は、揮発性記憶装置120と、不揮発性記憶装置130と、を含んでいる。プロセッサ110は、データ処理を行う装置であり、例えば、CPUである。揮発性記憶装置120は、例えば、DRAMであり、不揮発性記憶装置130は、例えば、フラッシュメモリである。 The printer 100 has a processor 110, a storage device 115, a display unit 140, an operation unit 150, a print execution unit 160, and a communication interface 180. These elements are connected to each other via a bus. The storage device 115 includes a volatile storage device 120 and a non-volatile storage device 130. The processor 110 is a device that performs data processing, such as a CPU. The volatile storage device 120 is, for example, DRAM, and the non-volatile storage device 130 is, for example, flash memory.
表示部140は、液晶ディスプレイ、有機ELディスプレイ、LEDディスプレイなどの、画像を表示する装置である。操作部150は、ボタン、レバー、表示部140上に重ねて配置されたタッチパネルなどの、ユーザによる操作を受け取る装置である。通信インタフェース180は、他の装置と通信するためのインタフェースである(例えば、通信インタフェース180は、USBインタフェース、有線LANインタフェース、IEEE802.11の無線インタフェースのうちの1種以上を含む)。本実施例では、通信インタフェース180は、ネットワークNTに接続されている。 The display unit 140 is a device that displays images, such as a liquid crystal display, organic EL display, or LED display. The operation unit 150 is a device that receives user operations, such as buttons, levers, or a touch panel superimposed on the display unit 140. The communication interface 180 is an interface for communicating with other devices (for example, the communication interface 180 includes one or more of a USB interface, a wired LAN interface, and an IEEE802.11 wireless interface). In this embodiment, the communication interface 180 is connected to the network NT.
不揮発性記憶装置130は、プログラムPG1と制御データ131とを格納している。プログラムPG1は、プリンタ100の製造者によって、ファームウェアとして、不揮発性記憶装置130に予め格納されている。プロセッサ110は、プログラムPG1を実行することによって、後述する種々の処理を実行する。制御データ131の詳細については、後述する。 The non-volatile memory device 130 stores a program PG1 and control data 131. The program PG1 is pre-stored in the non-volatile memory device 130 as firmware by the manufacturer of the printer 100. The processor 110 executes the program PG1 to perform various processes, which will be described later. Details of the control data 131 will be described later.
端末装置200A、200Bは、同じハードウェア構成を有している。以下、端末装置200A、200Bを区別しない場合には、符号の末尾の英字を省略して、単に端末装置200とも呼ぶ。 Terminal devices 200A and 200B have the same hardware configuration. Hereinafter, when there is no need to distinguish between terminal devices 200A and 200B, the alphabetic character at the end of the reference number will be omitted and they will simply be referred to as terminal device 200.
端末装置200は、スマートフォンなどのコンピュータである。端末装置200は、プロセッサ210と、記憶装置215と、表示部240と、操作部250と、通信インタフェース280と、を有している。これらの要素は、バスを介して互いに接続されている。記憶装置215は、揮発性記憶装置220と、不揮発性記憶装置230と、を含んでいる。プロセッサ210は、データ処理を行う装置であり、例えば、CPUである。揮発性記憶装置220は、例えば、DRAMであり、不揮発性記憶装置230は、例えば、フラッシュメモリである。 The terminal device 200 is a computer such as a smartphone. The terminal device 200 has a processor 210, a storage device 215, a display unit 240, an operation unit 250, and a communication interface 280. These elements are connected to each other via a bus. The storage device 215 includes a volatile storage device 220 and a non-volatile storage device 230. The processor 210 is a device that performs data processing, such as a CPU. The volatile storage device 220 is, for example, a DRAM, and the non-volatile storage device 230 is, for example, a flash memory.
表示部240は、液晶ディスプレイ、有機ELディスプレイ、LEDディスプレイなどの、画像を表示する装置である。操作部250は、ボタン、レバー、表示部240上に重ねて配置されたタッチパネルなどの、ユーザによる操作を受け取る装置である。通信インタフェース280は、他の装置と通信するためのインタフェースである(例えば、通信インタフェース280は、USBインタフェース、有線LANインタフェース、IEEE802.11の無線インタフェースのうちの1種以上を含む)。本実施例では、通信インタフェース280は、ネットワークNTに接続されている。 The display unit 240 is a device that displays images, such as a liquid crystal display, organic EL display, or LED display. The operation unit 250 is a device that receives user operations, such as buttons, levers, or a touch panel superimposed on the display unit 240. The communication interface 280 is an interface for communicating with other devices (for example, the communication interface 280 includes one or more of a USB interface, a wired LAN interface, and an IEEE802.11 wireless interface). In this embodiment, the communication interface 280 is connected to the network NT.
不揮発性記憶装置230は、プログラムPG2とアカウントデータ231とを格納している。図示を省略するが、端末装置200上では、オペレーティングシステム(例えば、ANDROID(登録商標)、iOS(登録商標)など)が動作している。オペレーティングシステム上では、種々のアプリケーションが動作し得る。プログラムPG2は、インクの発注のためのアプリケーション(発注アプリケーションとも呼ぶ)のプログラムである。プログラムPG2は、オペレーティングシステム上で動作するアプリケーションのプログラムであってよい。これに代えて、プログラムPG2は、他のアプリケーション上で動作するアプリケーションのプログラムであってよい(このようなプログラムは、ミニプログラムとも呼ばれる)。プログラムPG2は、図示しないサーバから端末装置200にダウンロードされる。これに代えて、プログラムPG2は、携帯型記憶装置(例えば、CD-ROM、USBフラッシュドライブなど)に格納された状態で、提供されてよい。プロセッサ210は、プログラムPG2を実行することによって、後述する種々の処理を実行する。アカウントデータ231の詳細については、後述する。 The non-volatile storage device 230 stores program PG2 and account data 231. Although not shown, an operating system (e.g., ANDROID (registered trademark), iOS (registered trademark), etc.) runs on the terminal device 200. Various applications can run on the operating system. Program PG2 is an application program for ordering ink (also called an ordering application). Program PG2 may be an application program that runs on the operating system. Alternatively, program PG2 may be an application program that runs on another application (such a program is also called a mini-program). Program PG2 is downloaded to the terminal device 200 from a server (not shown). Alternatively, program PG2 may be provided stored on a portable storage device (e.g., a CD-ROM, a USB flash drive, etc.). The processor 210 executes program PG2 to perform various processes, which will be described later. Details of account data 231 will be provided later.
サーバ500、600は、プロセッサ510、610と、記憶装置515、615と、通信インタフェース580、680とを、それぞれ、有している。各サーバ500、600では、これらの要素は、バスを介して互いに接続されている。記憶装置515、615は、揮発性記憶装置520、620と、不揮発性記憶装置530、630とを、それぞれ、含んでいる。プロセッサ510、610は、データ処理を行う装置であり、例えば、CPUである。揮発性記憶装置520、620は、例えば、DRAMであり、不揮発性記憶装置530、630は、例えば、フラッシュメモリである。通信インタフェース580、680は、他の装置と通信するためのインタフェースである(例えば、通信インタフェース580、680のそれぞれは、USBインタフェース、有線LANインタフェース、IEEE802.11の無線インタフェースのうちの1種以上を含む)。本実施例では、通信インタフェース580、680は、それぞれ、ネットワークNTに接続されている。 The servers 500, 600 each have a processor 510, 610, a storage device 515, 615, and a communication interface 580, 680. In each server 500, 600, these elements are connected to each other via a bus. The storage device 515, 615 includes a volatile storage device 520, 620 and a non-volatile storage device 530, 630, respectively. The processor 510, 610 is a device that performs data processing, such as a CPU. The volatile storage device 520, 620 is, for example, DRAM, and the non-volatile storage device 530, 630 is, for example, flash memory. The communication interface 580, 680 is an interface for communicating with other devices (for example, each of the communication interfaces 580, 680 includes one or more of a USB interface, a wired LAN interface, and an IEEE802.11 wireless interface). In this embodiment, communication interfaces 580 and 680 are each connected to network NT.
不揮発性記憶装置530、630は、対応するサーバ500、600の動作のためのプログラムPG5、PG6を、それぞれ、予め格納している。プロセッサ510、610は、プログラムPG5、PG6に従って、後述する種々の処理を実行する。 Non-volatile storage devices 530 and 630 pre-store programs PG5 and PG6 for the operation of the corresponding servers 500 and 600, respectively. Processors 510 and 610 execute various processes, described below, in accordance with programs PG5 and PG6.
サービスサーバ500の不揮発性記憶装置530は、さらに、累積供給量データ531、第1管理データ532、第1状態データ533を格納している。販社サーバ600の不揮発性記憶装置630は、さらに、第2状態データ631を格納している。これらのデータの詳細については、後述する。 The non-volatile storage device 530 of the service server 500 further stores cumulative supply amount data 531, first management data 532, and first status data 533. The non-volatile storage device 630 of the distributor server 600 further stores second status data 631. Details of these data will be described later.
図示を省略するが、サーバ500、600上では、サーバ用のオペレーティングシステムが動作している。プログラムPG5、PG6は、オペレーティングシステム上で動作するアプリケーションのプログラムであってよい。これに代えて、プログラムPG5、PG6は、オペレーティングシステムに組み込まれたプログラムであってよい。 Although not shown in the figure, a server operating system runs on the servers 500 and 600. Programs PG5 and PG6 may be application programs that run on the operating system. Alternatively, programs PG5 and PG6 may be programs built into the operating system.
A2.発注のための処理(端末装置の総数=1の場合):
図2-図4は、インクの発注のための処理の例を示すシーケンス図である。処理は、図2-図4の順に進行する。後述するように、処理は、プリンタ100の状態や管理者の指示などの種々の条件に応じて分岐する。図2-図4は、分岐後の複数の処理を示している。図2-図4には、装置100、200A、500、600のそれぞれの処理が、示されている。装置100、200A、500、600のプロセッサ110、210、510、610は、対応するプログラムPG1、PG2、PG5、PG6を実行することによって、対応する装置100、200A、500、600の処理を実行する。
A2. Ordering process (total number of terminal devices = 1):
FIGS. 2-4 are sequence diagrams showing an example of the process for ordering ink. The process progresses in the order shown in FIGS. 2-4. As will be described later, the process branches depending on various conditions, such as the state of the printer 100 and instructions from the administrator. FIGS. 2-4 show multiple processes after branching. FIGS. 2-4 show the processes of the devices 100, 200A, 500, and 600, respectively. The processors 110, 210, 510, and 610 of the devices 100, 200A, 500, and 600 execute the corresponding programs PG1, PG2, PG5, and PG6 to perform the processes of the corresponding devices 100, 200A, 500, and 600.
S110(図2)では、プリンタ100のプロセッサ110は、残量関連データをサービスサーバ500に送信する。S115では、サービスサーバ500のプロセッサ510は、残量関連データを取得する。残量関連データは、消耗品の残量に関連する種々の情報を示してよい。本実施例では、印刷実行部160は、CMYKのそれぞれのインクのドットをシート上に形成することによって、画像を印刷する。プリンタ100のプロセッサ110は、印刷時に、印刷によって形成された累積ドット数をカウントし、累積ドット数を示す制御データ131を不揮発性記憶装置130に格納する。制御データ131は、色成分毎の累積ドット数を示している。累積ドット数に1ドット当りのインク量を乗じた値は、累積インク使用量を示している。プリンタ100に供給されたインクの累積量(累積インク供給量とも呼ぶ)から累積インク使用量を減算した残りは、インク残量を示している。このように、累積ドット数は、インクの残量に関連する情報の例である。プロセッサ110は、CMYKのそれぞれの累積ドット数を示す残量関連データを、サービスサーバ500に送信する。本実施例では、残量関連データは、さらに、プリンタ100の識別子を示すデータを含んでいる。 In S110 (Figure 2), the processor 110 of the printer 100 sends remaining amount-related data to the service server 500. In S115, the processor 510 of the service server 500 acquires the remaining amount-related data. The remaining amount-related data may indicate various information related to the remaining amounts of consumables. In this embodiment, the print execution unit 160 prints an image by forming dots of each of the CMYK inks on a sheet. During printing, the processor 110 of the printer 100 counts the cumulative number of dots formed by printing and stores control data 131 indicating the cumulative dot count in the non-volatile memory device 130. The control data 131 indicates the cumulative number of dots for each color component. The value obtained by multiplying the cumulative dot count by the amount of ink per dot indicates the cumulative amount of ink used. The remainder obtained by subtracting the cumulative amount of ink used from the cumulative amount of ink supplied to the printer 100 (also referred to as the cumulative ink supply amount) indicates the remaining ink. In this way, the cumulative dot count is an example of information related to the remaining amount of ink. The processor 110 transmits remaining amount-related data indicating the cumulative dot count for each of CMYK to the service server 500. In this embodiment, the remaining amount-related data further includes data indicating the identifier of the printer 100.
S120では、プリンタ100のプロセッサ110は、残量関連データの送信条件が満たされるか否かを判断する。送信条件が満たされない場合(S120:No)、プロセッサ110は、送信条件が満たされるのを待つ。この間に、プリンタ100による印刷が行われることによって、累積ドット数が変更され得る。送信条件が満たされる場合(S120:Yes)、プロセッサ110は、S110へ移行し、最新の残量関連データをサービスサーバ500に送信する。 In S120, the processor 110 of the printer 100 determines whether the conditions for transmitting remaining amount-related data are met. If the conditions are not met (S120: No), the processor 110 waits until the conditions are met. During this time, the printer 100 prints, which may change the cumulative dot count. If the conditions are met (S120: Yes), the processor 110 returns to S110 and transmits the latest remaining amount-related data to the service server 500.
送信条件は、印刷によって更新される残量関連データの送信の遅れを小さくし得る種々の条件であってよい。送信条件は、例えば、残量関連データの最後の送信からの経過時間が、予め決められた時間閾値(例えば、10分)以上であることであってよい。この場合、プロセッサ110は、定期的に、残量関連データをサービスサーバ500に送信する。また、送信条件は、残量関連データの最後の送信の後に、印刷が行われたことであってよい。この場合、プロセッサ110は、印刷の実行に応じて、速やかに、最新の残量関連データをサービスサーバ500に送信する。 The transmission condition may be a variety of conditions that can reduce delays in the transmission of remaining amount-related data that is updated by printing. For example, the transmission condition may be that the time elapsed since the last transmission of remaining amount-related data is equal to or greater than a predetermined time threshold (e.g., 10 minutes). In this case, the processor 110 periodically transmits the remaining amount-related data to the service server 500. The transmission condition may also be that printing has been performed after the last transmission of remaining amount-related data. In this case, the processor 110 promptly transmits the latest remaining amount-related data to the service server 500 in response to the execution of printing.
以後、プロセッサ110は、S110、S120を繰り返し実行する。これにより、プロセッサ110は、最新の残量関連データをサービスサーバ500へ送信できる。 After this, the processor 110 repeatedly executes S110 and S120. This allows the processor 110 to send the latest remaining amount-related data to the service server 500.
サービスサーバ500のプロセッサ510は、残量関連データの取得(S115)に応じて、S130で、残量関連データを参照して色成分毎の残量Riを算出する(iはインクの種類を示している。本実施例では、iはC,M,Y,Kから選択される。後述する閾値T1i、T2iについても、同様)。本実施例では、後述するように、プロセッサ510は、インクの発送に応じて、累積インク供給量を算出し、累積供給量データ531(図1)を、算出した累積インク供給量を示すデータに更新する。累積インク供給量は、プリンタ100の出荷時に印刷実行部160に充填済のインク量と、発送されたインクの量と、の合計値である。累積供給量データ531は、色成分毎の累積インク供給量を示している。S130では、プロセッサ510は、残量関連データを参照して、色成分毎に累積インク使用量を算出する。プロセッサ510は、累積インク供給量から累積インク使用量を減算することによって、色成分毎に、残量Riを算出する。 In response to the acquisition of the remaining amount-related data (S115), the processor 510 of the service server 500 refers to the remaining amount-related data in S130 to calculate the remaining amount Ri for each color component (i indicates the type of ink. In this embodiment, i is selected from C, M, Y, and K. The same applies to the thresholds T1i and T2i described below). In this embodiment, as described below, the processor 510 calculates the cumulative ink supply amount in response to the shipment of ink and updates the cumulative supply amount data 531 (Figure 1) to data indicating the calculated cumulative ink supply amount. The cumulative ink supply amount is the sum of the amount of ink already filled in the print execution unit 160 at the time of shipment of the printer 100 and the amount of ink shipped. The cumulative supply amount data 531 indicates the cumulative ink supply amount for each color component. In S130, the processor 510 refers to the remaining amount-related data to calculate the cumulative ink usage amount for each color component. The processor 510 calculates the remaining amount Ri for each color component by subtracting the cumulative ink usage amount from the cumulative ink supply amount.
S140では、プロセッサ510は、第1条件が満たされるか否かを判断する。本実施例では、第1条件は、第1低残量条件を使用して構成される。第1低残量条件は、インクの残量Riが第1閾値T1i以下であることを示している。ここで、インクの種類数がLであることとする(本実施例では、L=4)。本実施例では、第1条件は、M種類(Mは、1以上、L以下の整数)のインクに対応するM個の第1低残量条件が満たされることである。 In S140, the processor 510 determines whether the first condition is satisfied. In this embodiment, the first condition is configured using a first low level condition. The first low level condition indicates that the remaining ink level Ri is equal to or less than a first threshold value T1i. Here, it is assumed that the number of ink types is L (in this embodiment, L = 4). In this embodiment, the first condition is that M first low level conditions corresponding to M types of ink (M is an integer greater than or equal to 1 and less than or equal to L) are satisfied.
プロセッサ510は、色成分毎に、残量Riが第1閾値T1i以下であるか否かを判断する。第1閾値T1iは、色成分毎に、予め決められている。第1閾値T1iは、複数の色成分の間で同じであってよい。第1閾値T1iは、色成分毎に異なってよい。例えば、CMYの3個の第1閾値T1iが同じであり、ブラックKの第1閾値T1Kが、CMYの第1閾値T1iと異なってよい。S140では、プロセッサ510は、4種類のインクに対応する4個の第1低残量条件のそれぞれが満たされるか否かを判断する。 The processor 510 determines, for each color component, whether the remaining amount Ri is less than or equal to the first threshold value T1i. The first threshold value T1i is predetermined for each color component. The first threshold value T1i may be the same for multiple color components. The first threshold value T1i may differ for each color component. For example, the three first threshold values T1i for CMY may be the same, and the first threshold value T1K for black K may differ from the first threshold values T1i for CMY. In S140, the processor 510 determines whether each of the four first low remaining amount conditions corresponding to the four types of ink is satisfied.
全ての第1低残量条件が満たされない場合、第1条件は満たされない(S140:No)。この場合、プロセッサ510は、1以上の第1低残量条件が満たされるまで、S115、S130、S140を繰り返す。新たな残量関連データによって、1以上の第1低残量条件が、満たされ得る。 If all of the first low remaining amount conditions are not met, the first condition is not met (S140: No). In this case, the processor 510 repeats S115, S130, and S140 until one or more first low remaining amount conditions are met. One or more first low remaining amount conditions may be met by new remaining amount-related data.
1以上の第1低残量条件が満たされる場合、第1条件は満たされる(S140:Yes)。この場合、S150で、プロセッサ510は、低残量通知データを、プリンタ100に対応付けられる端末装置に送信する。低残量通知データは、第1低残量条件が満たされることを示すメッセージのデータと、プリンタ100の識別子を示すデータと、を含んでいる。 If one or more first low remaining amount conditions are met, the first condition is met (S140: Yes). In this case, in S150, the processor 510 sends low remaining amount notification data to the terminal device associated with the printer 100. The low remaining amount notification data includes data of a message indicating that the first low remaining amount condition is met and data indicating the identifier of the printer 100.
プリンタ100に対応付けられる端末装置を特定する方法は、任意の方法であってよい。本実施例では、プロセッサ510は、第1管理データ532(図1)を使用して、プリンタ100に対応付けられる端末装置を特定する。第1管理データ532は、プリンタ識別子と管理者識別子との対応関係を示している。印刷サービス事業者は、プリンタ識別子と管理者識別子との対応関係を、予め、第1管理データ532に登録する。管理者識別子とプリンタ識別子とは、管理者の端末装置にも予め登録される。端末装置200(図1)のアカウントデータ231は、管理者識別子とプリンタ識別子とを示している。端末装置200がサービスサーバ500と通信可能な状態にある場合、サービスサーバ500は、端末装置200から、管理者識別子と端末装置識別子(例えば、IPアドレス)とを取得する。サービスサーバ500のプロセッサ510は、第1管理データ532と、管理者識別子と端末装置識別子との対応関係と、を参照することによって、プリンタ100に対応付けられる端末装置を特定する。 Any method may be used to identify the terminal device associated with the printer 100. In this embodiment, the processor 510 identifies the terminal device associated with the printer 100 using the first management data 532 (Figure 1). The first management data 532 indicates the correspondence between printer identifiers and administrator identifiers. The print service provider registers the correspondence between printer identifiers and administrator identifiers in the first management data 532 in advance. The administrator identifier and printer identifier are also registered in advance in the administrator's terminal device. The account data 231 of the terminal device 200 (Figure 1) indicates the administrator identifier and printer identifier. When the terminal device 200 is able to communicate with the service server 500, the service server 500 acquires the administrator identifier and terminal device identifier (e.g., IP address) from the terminal device 200. The processor 510 of the service server 500 identifies the terminal device associated with the printer 100 by referencing the first management data 532 and the correspondence between the administrator identifier and terminal device identifier.
以下、プリンタ100に対応付けられる管理者識別子が、第1端末装置200Aに登録されていることとする。そして、第1端末装置200Aとサービスサーバ500とが、通信可能な状態にあることとする。例えば、サービスサーバ500は、第1端末装置200Aとの常時接続を確立してよい。これに代えて、サービスサーバ500とは異なる接続サーバ(図示省略)が、第1端末装置200Aとの常時接続を確立してよい。また、常時接続は確立されなくてよい。例えば、第1端末装置200A上では、発注アプリケーションが動作してよい。そして、発注アプリケーションが、サービスサーバ500との通信セッションを確立してよい。 In the following, it is assumed that the administrator identifier associated with the printer 100 is registered in the first terminal device 200A. It is also assumed that the first terminal device 200A and the service server 500 are capable of communicating with each other. For example, the service server 500 may establish a constant connection with the first terminal device 200A. Alternatively, a connection server (not shown) different from the service server 500 may establish a constant connection with the first terminal device 200A. A constant connection need not be established. For example, an order application may be running on the first terminal device 200A. The order application may then establish a communication session with the service server 500.
S170では、端末装置200Aのプロセッサ210は、低残量通知データの受信に応じて、表示部240に低残量通知の画像を表示する。図5(A)-図5(D)、図6(A)、図6(B)は、表示部240に表示される画像の例を示している。図5(A)は、低残量通知の画像の例であるポップアップウィンドウ901を示している。ポップアップウィンドウ901は、低残量通知データによって示されるメッセージを含んでいる。なお、プロセッサ210は、端末装置200A上で動作するオペレーティングシステムの通知機能によって、ポップアップウィンドウ901を表示する。これに代えて、プロセッサ210は、発注アプリケーションのプログラムPG2を実行することによって、ポップアップウィンドウ901を表示してよい。 At S170, in response to receiving the low remaining amount notification data, the processor 210 of the terminal device 200A displays a low remaining amount notification image on the display unit 240. Figures 5(A)-5(D), 6(A), and 6(B) show examples of images displayed on the display unit 240. Figure 5(A) shows a pop-up window 901, which is an example of a low remaining amount notification image. The pop-up window 901 contains a message indicated by the low remaining amount notification data. The processor 210 displays the pop-up window 901 using a notification function of the operating system running on the terminal device 200A. Alternatively, the processor 210 may display the pop-up window 901 by executing the order application program PG2.
S180(図2)では、端末装置200Aを有する管理者は、操作部250を操作することによって、インクの発注のための処理の進行指示を入力する。進行指示の入力方法は、任意の方法であってよい。本実施例では、操作部250は、表示部240上に重ねて配置されたタッチパネルを含んでいる。ユーザは、タッチパネルのうちのポップアップウィンドウ901(図5(A))に重なる部分をタップすることによって、進行指示を入力する。 In S180 (Figure 2), the administrator using terminal device 200A operates operation unit 250 to input instructions to proceed with the process for ordering ink. Any method may be used to input instructions to proceed. In this embodiment, operation unit 250 includes a touch panel overlaid on display unit 240. The user inputs instructions to proceed by tapping on a portion of the touch panel that overlaps with pop-up window 901 (Figure 5(A)).
S190では、プロセッサ210は、進行指示の入力に応じて、プログラムPG2に従って、発注アプリケーションを起動する。そして、プロセッサ210は、発注アプリケーションとして、後述する種々の処理を実行する。S190では、プロセッサ210は、発注のための処理要求を示す処理要求データをサービスサーバ500に送信する。サービスサーバ500は、処理要求データを受信する。処理要求データは、管理者識別子とプリンタ識別子とを示すデータを含んでいる。 In S190, the processor 210 launches the order application in accordance with program PG2 in response to the input of the proceed instruction. Then, as the order application, the processor 210 executes various processes described below. In S190, the processor 210 transmits processing request data indicating a processing request for placing an order to the service server 500. The service server 500 receives the processing request data. The processing request data includes data indicating an administrator identifier and a printer identifier.
サービスサーバ500のプロセッサ510は、端末装置200Aからの処理要求データに応じて、発注のための処理を進行する。S195では、プロセッサ510は、プリンタ100からの残量関連データを参照して、色成分毎の残量Riを算出する。S195の処理は、S130の処理と同じである。なお、上述したように、プリンタ100のプロセッサ110は、S110、S120を繰り返し実行する。従って、サービスサーバ500は、S140の後、処理要求データを受信するまでの間に、更新済の残量関連データを取得し得る(S115x)。S195では、プロセッサ510は、最新の残量関連データを参照する。 The processor 510 of the service server 500 proceeds with the ordering process in response to the processing request data from the terminal device 200A. In S195, the processor 510 references the remaining amount-related data from the printer 100 and calculates the remaining amount Ri for each color component. The process of S195 is the same as the process of S130. As described above, the processor 110 of the printer 100 repeatedly executes S110 and S120. Therefore, after S140, the service server 500 can obtain updated remaining amount-related data (S115x) before receiving the processing request data. In S195, the processor 510 references the latest remaining amount-related data.
S140でYesと判断された後、プリンタ100にインクが補充され得る。例えば、管理者とは異なる人が、インクを補充し得る。インクが補充される場合、最新の残量関連データは、S130で取得される残量Riよりも大きい残量Riを示し得る。また、S140でYesと判断された後、印刷によってプリンタ100のインク量が低減し得る。インクが低減する場合、最新の残量関連データは、S130で取得される残量Riよりも小さい残量Riを示し得る。 After S140 returns Yes, the printer 100 may be refilled with ink. For example, someone other than the administrator may refill the ink. If ink is refilled, the latest remaining amount-related data may indicate a remaining amount Ri that is greater than the remaining amount Ri obtained in S130. Also, after S140 returns Yes, the amount of ink in the printer 100 may be reduced by printing. If the ink is reduced, the latest remaining amount-related data may indicate a remaining amount Ri that is less than the remaining amount Ri obtained in S130.
S200では、プロセッサ510は、第2条件が満たされるか否かを判断する。本実施例では、第2条件は、第2低残量条件を使用して構成される。第2低残量条件は、インクの残量Riが第2閾値T2i以下であることを示している。本実施例では、第2条件は、N種類(Nは、1以上、L以下の整数)のインクに対応するN個の第2低残量条件が満たされることである(Lは、インクの種類数。本実施例では、L=4)。 In S200, the processor 510 determines whether the second condition is met. In this embodiment, the second condition is configured using a second low level condition. The second low level condition indicates that the remaining ink level Ri is equal to or less than a second threshold T2i. In this embodiment, the second condition is that N second low level conditions corresponding to N types of ink (N is an integer greater than or equal to 1 and less than or equal to L) are met (L is the number of types of ink; in this embodiment, L = 4).
プロセッサ510は、色成分毎に、残量Riが第2閾値T2i以下であるか否かを判断する。S140の処理との差異は、第1閾値T1iに代えて第2閾値T2iが使用される点だけである。第2閾値T2iは、色成分毎に、予め決められている。本実施例では、CMYKのそれぞれに関して、第2閾値T2iは、第1閾値T1iと同じである。ただし、1以上のインクに関して、第2閾値T2iが第1閾値T1iと異なってよい。S200では、プロセッサ510は、4種類のインクに対応する4個の第2低残量条件のそれぞれが満たされるか否かを判断する。 For each color component, processor 510 determines whether the remaining amount Ri is less than or equal to the second threshold value T2i. The only difference from the processing in S140 is that the second threshold value T2i is used instead of the first threshold value T1i. The second threshold value T2i is predetermined for each color component. In this embodiment, the second threshold value T2i is the same as the first threshold value T1i for each of CMYK. However, the second threshold value T2i may differ from the first threshold value T1i for one or more inks. In S200, processor 510 determines whether each of the four second low remaining amount conditions corresponding to the four types of ink is satisfied.
全ての第2低残量条件が満たされない場合、第2条件は満たされない(S200:No)。この場合、S210で、プロセッサ510は、表示用データをプリンタ100に対応付けられる端末装置(ここでは、端末装置200A)に送信する。表示用データは、全てのインクの残量Riが第2閾値T2iよりも多いことを示すデータを含んでいる。表示用データの送信後、プロセッサ510は、処理を終了する。この後、プリンタ100がサービスサーバ500に残量関連データを送信する場合、サービスサーバ500のプロセッサ510は、S115へ移行する。 If all second low level conditions are not met, the second condition is not met (S200: No). In this case, in S210, the processor 510 sends display data to the terminal device associated with the printer 100 (here, terminal device 200A). The display data includes data indicating that the remaining ink levels Ri of all inks are greater than the second threshold value T2i. After sending the display data, the processor 510 ends processing. Thereafter, if the printer 100 sends remaining level-related data to the service server 500, the processor 510 of the service server 500 proceeds to S115.
端末装置200Aのプロセッサ210は、S220で、表示用データに従って、プリンタ100の状態を示す第1画像を表示部240に表示する。図5(B)は、第1画像の例である状態画面910を示している。 At S220, the processor 210 of the terminal device 200A displays a first image indicating the status of the printer 100 on the display unit 240 in accordance with the display data. Figure 5 (B) shows a status screen 910, which is an example of the first image.
状態画面910は、発注アプリケーションによって表示される操作用の画面である(アプリケーションによって表示される画面は、アプリケーションウィンドウとも呼ばれる)。状態画面910は、状態領域911と、CMYKの4種類のインクに対応する4個のインク領域912-915と、配送先領域916と、添付ファイル領域917と、ボタン領域918と、備考領域919と、を有している。状態領域911は、インクの発注申請の状態を示している。図5(B)では、状態領域911は、残量が十分であることを示している。インク領域912-915は、それぞれ、発注申請が可能であるか否かを示すメッセージと、発注申請を行うためのチェックボックスと、を含んでいる。本実施例では、残量Riが第2閾値T2i以下である場合に、発注申請が可能である。図5(B)では、CMYKの全てのインクの発注申請が不可能である。配送先領域916は、インクの配送先を入力するための領域である。添付ファイル領域917は、発注申請に添付すべき画像データである添付画像データを選択するための領域である。インクの発注申請には、プリンタ100のインクタンクTC、TM、TY、TKの外観の撮影画像のデータが、添付される。インクタンクTC、TM、TY、TKは、光を透過する材料で形成されている。撮影画像は、CMYKのそれぞれのインクタンクTC、TM、TY、TKの内部のインクの液面を示している。撮影画像を観察することによって、インクの残量が実際に少ないか否かを確認できる。ボタン領域918は、インクの発注申請を入力するためのボタンを示している。図5(B)では、ボタン領域918は、発注申請を入力できないことを示す薄い色で表されている。備考領域919は、種々のメッセージを表示するための領域である。図5(B)では、備考領域919は、空欄である。 The status screen 910 is an operation screen displayed by the ordering application (a screen displayed by an application is also called an application window). The status screen 910 has a status area 911, four ink areas 912-915 corresponding to the four types of ink (CMYK), a delivery destination area 916, an attachment area 917, a button area 918, and a notes area 919. The status area 911 indicates the status of the ink order request. In Figure 5 (B), the status area 911 indicates that there is sufficient remaining ink. The ink areas 912-915 each include a message indicating whether an order request is possible or not, and a check box for placing an order. In this embodiment, an order request is possible when the remaining amount Ri is less than or equal to the second threshold value T2i. In Figure 5 (B), an order request for all CMYK inks is not possible. The delivery destination area 916 is an area for entering the ink delivery destination. The attachment area 917 is an area for selecting attached image data to be attached to the order request. Photographed image data of the exterior of the ink tanks TC, TM, TY, and TK of the printer 100 is attached to the ink order request. The ink tanks TC, TM, TY, and TK are made of a light-transmitting material. The photographed image shows the ink liquid level inside each of the CMYK ink tanks TC, TM, TY, and TK. By observing the photographed image, it is possible to confirm whether the remaining ink is actually low. The button area 918 indicates a button for inputting the ink order request. In FIG. 5(B), the button area 918 is displayed in a light color, indicating that the order request cannot be input. The remarks area 919 is an area for displaying various messages. In FIG. 5(B), the remarks area 919 is blank.
端末装置200Aを有する管理者は、状態画面910を観察することによって、インクの発注申請が必要ではないことを確認できる。管理者は、発注アプリケーションを終了してよい。これにより、プロセッサ210は、処理を終了する。 By observing the status screen 910, the administrator using the terminal device 200A can confirm that an ink order application is not necessary. The administrator may then exit the ordering application. This causes the processor 210 to end processing.
1以上の第2低残量条件が満たされる場合、第2条件は満たされる(S200:Yes)。この場合、S230(図3)で、サービスサーバ500のプロセッサ510は、申請用データを端末装置200Aに送信する。申請用データは、第2低残量条件を満たすインク色を示すデータを含んでいる。 If one or more second low-level ink conditions are met, the second condition is met (S200: Yes). In this case, in S230 (Figure 3), the processor 510 of the service server 500 sends application data to the terminal device 200A. The application data includes data indicating the ink color that meets the second low-level ink condition.
S235では、プロセッサ510は、第1端末装置200Aに対して、他の端末装置の操作状態を示す操作通知データの送信を開始する。後述するように、発注アプリケーションは、画面の操作状態を示す端末操作データを、サービスサーバ500に送信する。サービスサーバ500のプロセッサ510は、発注アプリケーションが動作している他の端末装置に、操作状態を示す操作通知データを送信する。後述するように、このようなデータ通信により、発注アプリケーションの画面には、他の端末装置の発注アプリケーションの画面の操作状態が、表示される。操作状態は、画面に関する任意の状態を示してよい。例えば、操作状態は、発注アプリケーションの画面が表示されているか否かを示してよい。操作状態は、より具体的な情報、例えば、配送先領域916(図5(B))などの領域に情報が入力中であることを示してよい。図示を省略するが、サービスサーバ500のプロセッサ510は、端末操作データによって示される操作状態の変化に応じて、最新の操作状態を示す操作通知データを他の端末装置に送信する。なお、図2-図4は、端末装置200Aのみが発注アプリケーションを実行する場合の処理を示している。複数の端末装置のそれぞれが発注アプリケーションを実行する場合の処理については、後述する。 At S235, the processor 510 begins transmitting operation notification data indicating the operation status of the other terminal device to the first terminal device 200A. As described below, the order application transmits terminal operation data indicating the operation status of the screen to the service server 500. The processor 510 of the service server 500 transmits operation notification data indicating the operation status to the other terminal device on which the order application is running. As described below, through such data communication, the operation status of the order application screen of the other terminal device is displayed on the order application screen. The operation status may indicate any status related to the screen. For example, the operation status may indicate whether the order application screen is displayed or not. The operation status may indicate more specific information, for example, whether information is being entered into an area such as the delivery destination area 916 (Figure 5(B)). Although not shown, the processor 510 of the service server 500 transmits operation notification data indicating the latest operation status to the other terminal device in response to changes in the operation status indicated by the terminal operation data. Note that Figures 2-4 illustrate the processing when only the terminal device 200A executes the order application. The process when multiple terminal devices each run an order application will be described later.
端末装置200Aのプロセッサ210は、申請用データの受信(S230)に応じて、S240で、申請画面を表示部240に表示する。図5(C)は、申請画面の例を示している。申請画面930は、状態画面910(図5(B))のものと同じ9個の領域911-919を有している。ここで、申請用データが、シアンCとマゼンタMとが第2低残量条件を満たすことを示していることとする。状態領域911は、インクの発注申請が可能であることを示している。シアンCとマゼンタMのインク領域912、913は、発注申請が可能であることを示し、イエロYとブラックKのインク領域914、915は、発注申請が不可能であることを示している。 In response to receiving the application data (S230), the processor 210 of the terminal device 200A displays an application screen on the display unit 240 in S240. Figure 5(C) shows an example of the application screen. The application screen 930 has the same nine areas 911-919 as the status screen 910 (Figure 5(B)). Here, it is assumed that the application data indicates that cyan C and magenta M satisfy the second low remaining level condition. The status area 911 indicates that an ink order application is possible. The cyan C and magenta M ink areas 912 and 913 indicate that an order application is possible, while the yellow Y and black K ink areas 914 and 915 indicate that an order application is not possible.
S250(図3)では、プロセッサ210は、画面の操作状態を示す端末操作データのサービスサーバ500への送信を開始する。本実施例では、プロセッサ210は、S250で、申請画面の表示開始を示す端末操作データを、サービスサーバ500に送信する。サービスサーバ500のプロセッサ510は、端末装置200Aからの端末操作データに応じて、S260で、端末装置200Aの画面の操作状態を示す操作通知データの他の端末装置への送信を開始する。図示を省略するが、端末装置200Aのプロセッサ210は、申請画面の操作状態の変化に応じて、最新の操作状態を示す端末操作データをサービスサーバ500に送信する。サービスサーバ500のプロセッサ510は、端末装置からの端末操作データに応じて、発注アプリケーションを実行している他の端末装置に、操作状態を示す操作通知データを送信する。 At S250 (FIG. 3), the processor 210 starts transmitting terminal operation data indicating the operation status of the screen to the service server 500. In this embodiment, at S250, the processor 210 transmits terminal operation data indicating the start of display of the application screen to the service server 500. At S260, the processor 510 of the service server 500 starts transmitting operation notification data indicating the operation status of the screen of the terminal device 200A to other terminal devices in response to the terminal operation data from the terminal device 200A. Although not shown, the processor 210 of the terminal device 200A transmits terminal operation data indicating the latest operation status to the service server 500 in response to a change in the operation status of the application screen. The processor 510 of the service server 500 transmits operation notification data indicating the operation status to other terminal devices running an order application in response to the terminal operation data from the terminal device.
S265では、端末装置200Aを有する管理者は、端末装置200Aの操作部250を操作することによって、申請画面に情報を入力する。図5(C)の実施例では、シアンCとマゼンタMのインク領域912、913のチェックボックスが、チェックされている。配送先領域916には、住所が入力されている。添付ファイル領域917は、選択された添付画像データを示している。端末装置200Aがデジタルカメラを有する場合、管理者は、端末装置200Aのデジタルカメラでプリンタ100を撮影することによって生成される画像データを、選択してよい。また、管理者は、他のデジタルカメラ(図示せず)でプリンタ100を撮影することによって生成される画像データを、端末装置200Aにコピーしてよい。そして、管理者は、コピーされた画像データを選択してよい。ボタン領域918は、発注申請の入力のためのボタンを示している。図5(C)では、備考領域919は、空欄である。 In S265, the administrator who owns the terminal device 200A operates the operation unit 250 of the terminal device 200A to input information into the application screen. In the example shown in FIG. 5(C), the check boxes for the cyan C and magenta M ink areas 912 and 913 are checked. An address is entered in the delivery destination area 916. The attachment area 917 indicates the selected attached image data. If the terminal device 200A has a digital camera, the administrator may select image data generated by photographing the printer 100 with the digital camera of the terminal device 200A. The administrator may also copy image data generated by photographing the printer 100 with another digital camera (not shown) to the terminal device 200A. The administrator may then select the copied image data. The button area 918 indicates buttons for inputting the purchase order application. In FIG. 5(C), the remarks area 919 is blank.
S270(図3)では、管理者は、操作部250のうちのボタン領域918に重なる部分をタップすることによって、発注申請を入力する。プロセッサ210は、申請画面930を通じて入力された情報に従って、発注申請データを販社サーバ600に送信する。このように、プロセッサ210は、管理者の指示に応じて、発注申請を発行する。発注申請データは、申請画面930(図5(C))に入力された情報を示すデータを含んでいる。発注申請データは、例えば、CMYKのインク領域912-915のうちのチェックされたインクである発注インクの色を示すデータと、添付ファイル領域917で選択された添付画像データと、を含んでいる。また、発注申請データは、管理者識別子とプリンタ識別子とを示すデータを含んでいる。 In S270 (Figure 3), the administrator inputs an order request by tapping the area of the operation unit 250 that overlaps the button area 918. The processor 210 sends the order request data to the distributor server 600 according to the information entered through the request screen 930. In this way, the processor 210 issues an order request in accordance with the administrator's instructions. The order request data includes data indicating the information entered on the request screen 930 (Figure 5 (C)). The order request data includes, for example, data indicating the color of the ordered ink that is the checked ink in the CMYK ink areas 912-915, and the attached image data selected in the attached file area 917. The order request data also includes data indicating an administrator identifier and a printer identifier.
販社サーバ600のプロセッサ610は、S280で、端末装置200Aからの発注申請データを取得し、申請通知データをサービスサーバ500に送信する。申請通知データは、発注のための処理の状態が発注の申請中であることを示している。なお、プロセッサ610は、発注申請データを受信したことを、端末装置200Aに通知してよい。端末装置200Aのプロセッサ210は、この通知の受信に応じて、発注申請データが受信されたことを示す第2画像を表示部240に表示してよい。図5(D)は、第2画像の例である第1通知画面940を示している。第1通知画面940は、発注申請が審査されることを示すメッセージ941と、第1通知画面940を閉じるためのボタン942と、を有している。 At S280, the processor 610 of the distributor server 600 acquires the order request data from the terminal device 200A and sends the request notification data to the service server 500. The request notification data indicates that the processing status for the order is "application for order." The processor 610 may notify the terminal device 200A that the order request data has been received. In response to receiving this notification, the processor 210 of the terminal device 200A may display a second image on the display unit 240 indicating that the order request data has been received. Figure 5 (D) shows a first notification screen 940, which is an example of the second image. The first notification screen 940 has a message 941 indicating that the order request will be reviewed, and a button 942 for closing the first notification screen 940.
サービスサーバ500のプロセッサ510は、S290(図3)で、販社サーバ600からの申請通知データを取得し、取得した申請通知データに応じて、第1状態データ533(図1)を更新する。第1状態データ533は、プリンタ毎の処理状態、すなわち、発注の状態を示している。S290の申請通知データは、処理状態が発注の申請中であることを示しているので、プロセッサ510は、第1状態データ533を、申請中を示すデータに更新する。 In S290 (Figure 3), the processor 510 of the service server 500 acquires the application notification data from the distributor server 600 and updates the first status data 533 (Figure 1) in accordance with the acquired application notification data. The first status data 533 indicates the processing status of each printer, i.e., the order status. Since the application notification data in S290 indicates that the processing status is that an order is being applied for, the processor 510 updates the first status data 533 to data indicating that the order is being applied for.
仮に、複数の端末装置によって発注申請が発行される場合、同じインクの発注が重複する可能性がある。本実施例では、プロセッサ510は、発注の重複の可能性を低減するために、発注申請に基づく処理の進行中には、新たな発注申請に基づく処理の進行を禁止する。本実施例では、プロセッサ510は、S295で、発注申請の排他ロックを示すロック通知データを販社サーバ600に送信する。ロック通知データは、プリンタ識別子を示すデータを含んでいる。販社サーバ600のプロセッサ610は、ロック通知データを受信した後、後述するアンロック通知データを受信するまでは、プリンタ100のための新たな発注申請の受付を禁止する。プロセッサ610は、ロック通知データの受信に応じて、第2状態データ631を、発注申請が排他ロックされていることを示すデータに更新する。第2状態データ631は、プリンタ毎の発注申請の状態を示している。後述するように、プロセッサ610は、アンロック通知データの受信に応じて、第2状態データ631を、発注申請が排他アンロックされていることを示すデータに更新する。図2-図4は、排他ロック中に他の発注申請が発行されない場合の処理を示している。排他ロック中に他の発注申請が発行される場合の処理については、後述する。 If order requests are issued from multiple terminal devices, there is a possibility that orders for the same ink will be duplicated. In this embodiment, the processor 510 prohibits the progress of processing based on a new order request while processing based on an order request is in progress, in order to reduce the possibility of duplicate orders. In this embodiment, the processor 510, at S295, sends lock notification data indicating an exclusive lock on the order request to the distributor server 600. The lock notification data includes data indicating a printer identifier. After receiving the lock notification data, the processor 610 of the distributor server 600 prohibits the acceptance of new order requests for the printer 100 until it receives unlock notification data, which will be described later. In response to receiving the lock notification data, the processor 610 updates the second status data 631 to data indicating that the order request is exclusively locked. The second status data 631 indicates the status of the order request for each printer. As will be described later, in response to receiving the unlock notification data, the processor 610 updates the second status data 631 to data indicating that the order request is exclusively unlocked. Figures 2-4 show the processing when no other order requests are issued during the exclusive lock. The processing when another order request is issued during the exclusive lock will be described later.
販社サーバ600のプロセッサ610は、発注申請データの取得(S280)に応じて、S300で、発注審査処理を実行する。発注審査処理は、発注申請に基づくインクの発注を許可するか否かを判断する処理である。発注を許可するための許可条件は、種々の条件であってよい。本実施例では、許可条件は、以下の2つの条件の両方が満たされることである。
(残量許可条件)添付画像データによって示される発注インクの残量が、予め決められた許可閾値以下である
(排他許可条件)審査対象の発注申請が、他の発注申請によって排他ロックされていない
In response to the acquisition of the order application data (S280), the processor 610 of the distributor server 600 executes an order review process in S300. The order review process is a process for determining whether to permit an ink order based on the order application. The permission conditions for permitting an order may be various conditions. In this embodiment, the permission conditions are that both of the following two conditions are satisfied:
(Remaining amount permission condition) The remaining amount of the ordered ink indicated by the attached image data is below a predetermined permission threshold. (Exclusive permission condition) The order application being reviewed is not exclusively locked by another order application.
プロセッサ610は、第2状態データ631を参照して、排他許可条件が満たされるか否かを判断する。 The processor 610 refers to the second status data 631 to determine whether the exclusive permission condition is met.
S130で説明した残量Riの算出には、大きい誤差が含まれ得る。S200で第2低残量条件が満たされる場合であっても、実際の残量は許可閾値より大きい場合がある。また、図2のS200の後、インクがプリンタ100に補充され得る(例えば、管理者とは異なる人が、インクを補充し得る)。これらの場合、発注申請に基づくインクの発送は、必要ではない。残量許可条件は、不必要な発送の可能性を低減できる。 The calculation of the remaining amount Ri described in S130 may contain a large error. Even if the second low remaining amount condition is met in S200, the actual remaining amount may be greater than the permission threshold. Also, after S200 in FIG. 2, ink may be replenished in the printer 100 (for example, someone other than the administrator may replenish the ink). In these cases, shipping ink based on the order request is not necessary. The remaining amount permission condition can reduce the possibility of unnecessary shipping.
プロセッサ610は、添付画像データを分析することによって、発注インクの残量を取得してよい。例えば、プロセッサ610は、添付画像データと、互いに異なる残量を示す複数の基準撮影画像データと、の間のパターンマッチングによって、添付画像データに近い画像を示す基準撮影画像データを選択する。そして、プロセッサ610は、選択された基準撮影画像データに対応付けられる発注インクの残量を使用して、残量許可条件が満たされるか否かを判断する。基準撮影画像データは、対応する残量のインクを収容するインクタンクTC、TM、TY、TKの実際の撮影画像データであってよい。また、作業者が、添付画像データの画像を目視で観察することによって、発注インクの残量を確認してよい。そして、プロセッサ610は、作業者によって販社サーバ600に入力された発注インクの残量を使用して、残量許可条件が満たされるか否かを判断してよい。 The processor 610 may obtain the remaining amount of ordered ink by analyzing the attached image data. For example, the processor 610 may select reference captured image data that shows an image similar to the attached image data by pattern matching between the attached image data and multiple reference captured image data that show different remaining amounts. The processor 610 then uses the remaining amount of ordered ink associated with the selected reference captured image data to determine whether the remaining amount permission condition is met. The reference captured image data may be actual captured image data of the ink tanks TC, TM, TY, and TK that contain the corresponding remaining amount of ink. Alternatively, the worker may visually observe the image of the attached image data to confirm the remaining amount of ordered ink. The processor 610 may then use the remaining amount of ordered ink entered by the worker into the distributor server 600 to determine whether the remaining amount permission condition is met.
S310(図3)では、プロセッサ610は、S300の結果を参照し、処理を分岐する。許可条件が満たされない場合(S310:No)、S320で、プロセッサ610は、発注申請の却下を示す審査結果データをサービスサーバ500に送信する。 In S310 (Figure 3), the processor 610 references the result of S300 and branches the process. If the permission conditions are not met (S310: No), in S320 the processor 610 sends review result data indicating the rejection of the order application to the service server 500.
サービスサーバ500のプロセッサ510は、S330で、審査結果データを取得し、取得した審査結果データに応じて、第1状態データ533(図1)を、却下を示すデータに更新する。 At S330, the processor 510 of the service server 500 acquires the review result data and, in accordance with the acquired review result data, updates the first status data 533 (Figure 1) to data indicating rejection.
S340では、プロセッサ510は、発注申請の排他アンロックを示すアンロック通知データを、販社サーバ600に送信する。アンロック通知データは、プリンタ識別子を示すデータを含んでいる。販社サーバ600のプロセッサ610は、アンロック通知データの受信に応じて、第2状態データ631を、発注申請が排他ロックされていないことを示すデータに更新する。以後、販社サーバ600のプロセッサ610は、新たなロック通知データを受信するまでは、現在は排他ロック中ではないと判断する。このように、発注申請が許可されない場合(S310:No)、サービスサーバ500のプロセッサ510は、S290で発注申請の発行を示す通知を取得してから、S330で発注申請の却下を示す通知を取得するまでの第1期間Paの間、発注申請をロックし、新たな発注申請に基づく処理の進行を禁止する。 In S340, the processor 510 sends unlock notification data indicating that the order request is exclusively unlocked to the distributor's server 600. The unlock notification data includes data indicating the printer identifier. In response to receiving the unlock notification data, the processor 610 of the distributor's server 600 updates the second status data 631 to data indicating that the order request is not exclusively locked. Thereafter, until new lock notification data is received, the processor 610 of the distributor's server 600 determines that the order request is not currently exclusively locked. In this way, if the order request is not permitted (S310: No), the processor 510 of the service server 500 locks the order request and prohibits processing based on the new order request from proceeding for the first period Pa from when the processor 510 receives a notification indicating the issuance of the order request in S290 until the processor 510 receives a notification indicating the rejection of the order request in S330.
S345では、プロセッサ510は、却下の審査結果を示す却下通知データを、端末装置200Aに送信する。却下通知データは、許可条件が満たされない理由を示すデータを含んでよい。例えば、排他許可条件と残量許可条件とのうちの満たされない条件を示すデータが、却下通知データに含まれてよい。 In S345, the processor 510 transmits rejection notification data indicating the rejection review result to the terminal device 200A. The rejection notification data may include data indicating the reason why the permission conditions are not met. For example, the rejection notification data may include data indicating which of the exclusive permission conditions and remaining amount permission conditions are not met.
端末装置200Aのプロセッサ210は、S350で、却下通知データを取得し、発注申請が許可されないことを示す画像を、表示部240に表示する。図示を省略するが、表示される画像は、許可条件が満たされない理由を示すメッセージを含んでよい。S353では、端末装置200Aを有する管理者は、操作部250を操作することによって、発注アプリケーションの終了指示を入力する。プロセッサ210は、終了指示に応じて、アプリケーションの終了通知データをサービスサーバ500に送信する。そして、プロセッサ210は、発注アプリケーションを終了する。 At S350, the processor 210 of the terminal device 200A acquires the rejection notification data and displays on the display unit 240 an image indicating that the order application is not permitted. Although not shown, the displayed image may include a message indicating the reason why the permission conditions are not met. At S353, the administrator using the terminal device 200A operates the operation unit 250 to input an instruction to terminate the order application. In response to the termination instruction, the processor 210 transmits application termination notification data to the service server 500. The processor 210 then terminates the order application.
サービスサーバ500のプロセッサ510は、S356で、終了通知データを取得し、端末装置200Aの画面の操作状態を示す操作通知データの他の端末装置への送信を終了する。そして、プロセッサ510は、処理を終了する。 At S356, the processor 510 of the service server 500 acquires the end notification data and terminates the transmission of the operation notification data indicating the operation status of the screen of the terminal device 200A to the other terminal devices. The processor 510 then terminates the processing.
許可条件が満たされる場合(S310:Yes)、販社サーバ600のプロセッサ610は、S360(図4)で、発注インクの発送依頼を行う。発送の依頼方法は、任意の方法であってよい。本実施例では、プロセッサ610は、図示しない発送受付サーバに、発送依頼データを送信する。発送依頼データは、発注インクの色と個数との対応関係と、配送先と、を示すデータを含んでいる。各発注インクの個数は、1に設定される。発送受付サーバは、発送依頼に対応付けられる発送番号を決定する。そして、発送受付サーバは、発送番号を販社サーバ600に通知する。S370では、販社サーバ600のプロセッサ610は、発送番号を示すデータを、記憶装置615(例えば、不揮発性記憶装置630)に格納する。 If the permission conditions are met (S310: Yes), the processor 610 of the distributor's server 600 requests the shipment of the ordered ink in S360 (Figure 4). Any method may be used to request the shipment. In this embodiment, the processor 610 sends the shipment request data to a shipping reception server (not shown). The shipping request data includes data indicating the correspondence between the color and quantity of the ordered ink and the delivery destination. The quantity of each ordered ink is set to 1. The shipping reception server determines a shipping number to be associated with the shipping request. The shipping reception server then notifies the distributor's server 600 of the shipping number. In S370, the processor 610 of the distributor's server 600 stores data indicating the shipping number in the storage device 615 (e.g., non-volatile storage device 630).
S380で、プロセッサ610は、発注インクが発送中であることを示す発送通知データをサービスサーバ500に送信する。発送通知データは、発送番号を示すデータを含んでいる。サービスサーバ500のプロセッサ510は、S390で、発送通知データを取得し、第1状態データ533(図1)を、発送中を示すデータに更新する。また、プロセッサ510は、累積供給量データ531(図1)の発注インクのデータを、発送されたインクの量を加算した累積インク供給量を示すデータに更新する。 At S380, the processor 610 sends shipping notification data to the service server 500 indicating that the ordered ink is being shipped. The shipping notification data includes data indicating the shipping number. At S390, the processor 510 of the service server 500 acquires the shipping notification data and updates the first status data 533 (Figure 1) to data indicating that the ink is being shipped. The processor 510 also updates the data for the ordered ink in the cumulative supply amount data 531 (Figure 1) to data indicating the cumulative ink supply amount, which is the sum of the amount of ink that has been shipped.
S400では、販社サーバ600のプロセッサ610は、発注インクが発送中であることを示す発送通知データを、端末装置200Aに送信する。この発送通知データは、S380の発送通知データと同じである。端末装置200Aのプロセッサ210は、S410で、発送通知データを取得し、発注インクが発送中であることを示す第3画像を表示部240に表示する。図6(A)は、第3画像の例である第2通知画面950を示している。第2通知画面950は、発注インクが発送中であることを示すメッセージ951と、第2通知画面950を閉じるためのボタン952と、を有している。 In S400, the processor 610 of the distributor server 600 sends shipping notification data to the terminal device 200A indicating that the ordered ink is being shipped. This shipping notification data is the same as the shipping notification data of S380. In S410, the processor 210 of the terminal device 200A acquires the shipping notification data and displays a third image on the display unit 240 indicating that the ordered ink is being shipped. Figure 6 (A) shows a second notification screen 950, which is an example of the third image. The second notification screen 950 has a message 951 indicating that the ordered ink is being shipped and a button 952 for closing the second notification screen 950.
S420(図4)では、端末装置200Aを有する管理者は、操作部250を操作することによって、発注アプリケーションの終了指示を入力する。プロセッサ210は、終了指示に応じて、アプリケーションの終了通知データをサービスサーバ500に送信する。そして、プロセッサ210は、発注アプリケーションを終了する。 At S420 (Figure 4), the administrator using the terminal device 200A operates the operation unit 250 to input an instruction to terminate the order application. In response to the termination instruction, the processor 210 transmits application termination notification data to the service server 500. The processor 210 then terminates the order application.
サービスサーバ500のプロセッサ510は、S430で、終了通知データを取得し、端末装置200Aの画面の操作状態を示す操作通知データの他の端末装置への送信を終了する。そして、プロセッサ510は、処理を終了する。 At S430, the processor 510 of the service server 500 acquires the end notification data and terminates the transmission of operation notification data indicating the operation status of the screen of the terminal device 200A to the other terminal devices. The processor 510 then terminates processing.
発送された発注インクは、配送先領域916(図5(C))に入力された住所に配送される。管理者は、発注インクをプリンタ100の印刷実行部160に補充する。例えば、発注インクは、ボトルに収容された状態で、発送されてよい。この場合、管理者は、ボトルから印刷実行部160のインクタンクTC、TM、TY、TKのうちの対応するインクタンクにインクを注入してよい。また、印刷実行部160のインクタンクTC、TM、TY、TKは、交換可能なカートリッジであってよい。そして、発注インクは、カートリッジに収容された状態で、発送されてよい。この場合、管理者は、印刷実行部160のカートリッジを配送されたカートリッジに交換してよい。 The shipped ordered ink is delivered to the address entered in the delivery destination area 916 (Figure 5(C)). The administrator refills the print execution unit 160 of the printer 100 with the ordered ink. For example, the ordered ink may be shipped in a bottle. In this case, the administrator may inject ink from the bottle into the corresponding ink tank among the ink tanks TC, TM, TY, and TK of the print execution unit 160. Furthermore, the ink tanks TC, TM, TY, and TK of the print execution unit 160 may be replaceable cartridges. The ordered ink may be shipped in a cartridge. In this case, the administrator may replace the cartridge in the print execution unit 160 with the delivered cartridge.
インクの補充後、管理者は、端末装置200Aの操作部250を操作することによって、発注アプリケーションを起動し、発注アプリケーションに受領確認用の画面を表示させる。図6(B)は、受領確認用の画面の例である確認画面960を示している。確認画面960は、メッセージ961と、完了ボタン962と、を有している。メッセージ961は、インクの補充の完了に応じて完了ボタン962を操作すべきであることを、示している。 After refilling the ink, the administrator operates the operation unit 250 of the terminal device 200A to launch the ordering application and cause the ordering application to display a receipt confirmation screen. Figure 6 (B) shows a confirmation screen 960, which is an example of a receipt confirmation screen. The confirmation screen 960 has a message 961 and a complete button 962. The message 961 indicates that the complete button 962 should be operated upon completion of ink refilling.
S440(図4)では、管理者は、操作部250のうちの完了ボタン962に重なる部分をタップすることによって、インクの受領確認指示を入力する。プロセッサ210は、受領確認指示に応じて、S450で、受領確認データをサービスサーバ500に送信する。このように、プロセッサ210は、管理者の指示に応じて、受領確認を発行する。 In S440 (Figure 4), the administrator inputs an instruction to confirm receipt of the ink by tapping the area of the operation unit 250 that overlaps with the Complete button 962. In response to the receipt confirmation instruction, the processor 210 transmits receipt confirmation data to the service server 500 in S450. In this way, the processor 210 issues a receipt confirmation in response to the administrator's instruction.
サービスサーバ500のプロセッサ510は、S460で、受領確認データを取得し、第1状態データ533(図1)を、完了を示すデータに更新する。S470では、プロセッサ510は、発注申請の排他アンロックを示すアンロック通知データを販社サーバ600に送信する。アンロック通知データは、プリンタ識別子を示すデータを含んでいる。プロセッサ610は、アンロック通知データの受信に応じて、第2状態データ631を、発注申請が排他ロックされていないことを示すデータに更新する。以上により、インクの発注のための処理は、終了する。以後、販社サーバ600のプロセッサ610は、新たなロック通知データを受信するまでは、現在は排他ロック中ではないと判断する。 In S460, the processor 510 of the service server 500 acquires the receipt confirmation data and updates the first status data 533 (Figure 1) to data indicating completion. In S470, the processor 510 sends unlock notification data indicating that the order request is exclusively unlocked to the distributor's server 600. The unlock notification data includes data indicating the printer identifier. In response to receiving the unlock notification data, the processor 610 updates the second status data 631 to data indicating that the order request is not exclusively locked. This completes the process for ordering ink. Thereafter, the processor 610 of the distributor's server 600 determines that the order request is not currently exclusively locked until it receives new lock notification data.
このように、発注申請が許可される場合(S310:Yes)、サービスサーバ500のプロセッサ510は、S290(図3)で発注申請の発行を示す通知を取得してから、S460(図4)で発注インクの受領確認の発行を示す通知を取得するまでの第2期間Pbの間、発注申請をロックし、新たな発注申請に基づく処理の進行を禁止する。なお、第2期間Pbの間に行われる処理S290、S295、S300、S310、S360-S460の全体は、1種類以上のインクの準備のための処理であって発注申請に基づいて実行される処理である準備処理の例である(準備処理S990とも呼ぶ)。第2期間Pbは、準備処理の進行中の期間である準備処理期間の例である(準備処理期間Pbとも呼ぶ)。 In this way, if the order request is approved (S310: Yes), the processor 510 of the service server 500 locks the order request and prohibits the progress of processing based on a new order request for the second period Pb, from when it receives a notification indicating the issuance of the order request in S290 (Figure 3) until it receives a notification indicating the issuance of a receipt confirmation for the ordered ink in S460 (Figure 4). The entire process of S290, S295, S300, S310, and S360-S460 performed during the second period Pb is an example of preparatory processing, which is processing for preparing one or more types of ink and is executed based on an order request (also referred to as preparatory processing S990). The second period Pb is an example of a preparatory processing period during which preparatory processing is in progress (also referred to as preparatory processing period Pb).
A3.発注のための処理(端末装置の総数=2の場合):
図7、図8は、インクの発注のための処理の別の例を示すシーケンス図である。図2-図4の処理とは異なり、図7、図8では、プリンタ100に2個の端末装置200A、200Bが対応付けられている。端末装置200A、200Bのそれぞれのための処理は、図2-図4で説明した手順に従って、進行する。図7、図8のステップには、図2-図4の対応するステップの符号と同じ符号が付されている。第1端末装置200Aのためのステップと第2端末装置200Bのためのステップとを区別するために、第2端末装置200Bのためのステップには、末尾に文字「B」を追加して得られる符号が付されている。例えば、S170Bの処理は、第2端末装置200BのためのS170(図2)の処理を示している。
A3. Ordering process (total number of terminal devices = 2):
FIGS. 7 and 8 are sequence diagrams showing another example of the process for ordering ink. Unlike the processes shown in FIGS. 2-4, in FIGS. 7 and 8, two terminal devices 200A and 200B are associated with the printer 100. The processes for each of the terminal devices 200A and 200B proceed according to the procedures described in FIGS. 2-4. The steps in FIGS. 7 and 8 are numbered the same as the corresponding steps in FIGS. 2-4. To distinguish between steps for the first terminal device 200A and steps for the second terminal device 200B, the steps for the second terminal device 200B are numbered by adding the letter "B" to the end. For example, the process of S170B indicates the process of S170 (FIG. 2) for the second terminal device 200B.
図7、図8は、S140(図2)で、第1条件が満たされる場合(S140:Yes)の処理を示している。S150で、サービスサーバ500のプロセッサ510は、低残量通知データを、プリンタ100に対応付けられる第1端末装置200Aと第2端末装置200Bとに送信する。 Figures 7 and 8 show the processing when the first condition is met (S140: Yes) in S140 (Figure 2). In S150, the processor 510 of the service server 500 sends low remaining amount notification data to the first terminal device 200A and the second terminal device 200B associated with the printer 100.
第1端末装置200Aのプロセッサ210は、申請画面の表示のためのS910を実行し、サービスサーバ500の510は、第1端末装置200Aからの要求に応じて、申請画面の表示のためのS920を実行する。S910は、S170、S180、S190、S240、S250を含んでいる。S920は、S195、S200、S230、S235、S260を含んでいる。ここで、S200では、第2条件が満たされることとする(S200:Yes)。S240では、第1端末装置200Aのプロセッサ210は、申請画面930(図5(C))を、第1端末装置200Aの表示部240に表示する。 The processor 210 of the first terminal device 200A executes S910 to display the application screen, and the service server 500's 510 executes S920 to display the application screen in response to a request from the first terminal device 200A. S910 includes S170, S180, S190, S240, and S250. S920 includes S195, S200, S230, S235, and S260. Here, in S200, it is assumed that the second condition is satisfied (S200: Yes). In S240, the processor 210 of the first terminal device 200A displays the application screen 930 (Figure 5(C)) on the display unit 240 of the first terminal device 200A.
第1端末装置200Aによる申請画面930の表示中に、第2端末装置200Bのプロセッサ210は、申請画面の表示のためのS930を実行することとする。サービスサーバ500の510は、第2端末装置200Bからの要求に応じて、申請画面の表示のためのS940を実行する。S930は、S170B、S180B、S190B、S240B、S250Bを含んでいる。S940は、S195B、S200B、S230B、S235B、S260Bを含んでいる。ここで、S200Bでは、第2条件が満たされることとする(S200B:Yes)。 While the first terminal device 200A is displaying the application screen 930, the processor 210 of the second terminal device 200B executes S930 to display the application screen. In response to a request from the second terminal device 200B, the service server 500's 510 executes S940 to display the application screen. S930 includes S170B, S180B, S190B, S240B, and S250B. S940 includes S195B, S200B, S230B, S235B, and S260B. Here, it is assumed that the second condition is satisfied in S200B (S200B: Yes).
図9(A)は、S240Bで表示される申請画面の例を示している。この申請画面970は、図5(C)の申請画面930のものと同じ9個の領域911-919を有している。図5(C)の申請画面930との差異は、備考領域919に、他の管理者も申請画面の操作中であることを示すメッセージ971が表示されている点だけである。S235、S250、S260(図3)で説明したように、サービスサーバ500のプロセッサ510は、端末装置に対して、他の端末装置の操作状態を示す操作通知データを送信する。例えば、プロセッサ510は、第2端末装置200Bに対して、第1端末装置200Aの操作状態を示す操作通知データを送信する。この操作通知データは、第1端末装置200A上で申請画面930が表示されていることを示している。従って、第2端末装置200Bのプロセッサ210は、他の端末装置によって申請画面が表示されていることを示す情報を備考領域919に表示する。備考領域919を観察する管理者は、他の管理者による発注との重複を避けるために、発注申請を入力せずに、発注のための処理を中断できる。 Figure 9 (A) shows an example of the application screen displayed in S240B. This application screen 970 has the same nine areas 911-919 as the application screen 930 in Figure 5 (C). The only difference from the application screen 930 in Figure 5 (C) is that a message 971 indicating that another administrator is also operating the application screen is displayed in the notes area 919. As described in S235, S250, and S260 (Figure 3), the processor 510 of the service server 500 transmits operation notification data indicating the operation status of the other terminal device to the terminal device. For example, the processor 510 transmits operation notification data indicating the operation status of the first terminal device 200A to the second terminal device 200B. This operation notification data indicates that the application screen 930 is being displayed on the first terminal device 200A. Therefore, the processor 210 of the second terminal device 200B displays information indicating that the application screen is being displayed by another terminal device in the notes area 919. An administrator viewing the notes area 919 can interrupt the order process without entering an order request to avoid overlapping orders placed by other administrators.
なお、第2端末装置200Bによる申請画面970の表示の後には、第1端末装置200Aも、メッセージ971を示す申請画面(例えば、申請画面970)を表示する。 After the second terminal device 200B displays the application screen 970, the first terminal device 200A also displays an application screen (e.g., application screen 970) showing the message 971.
ここで、第1端末装置200Aの管理者が、発注のための情報を入力し(図8:S265)、発注申請の入力を完了する(S270)こととする。S270、S280、S290、S295、S300、S310の処理は、図3のS270、S280、S290、S295、S300、S310の処理と同様に、進行する。申請通知データの取得(S290)に応じて、第1期間Pa、または、第2期間Pbが始まる。S310の判断結果は、Yes、または、Noである。 Here, the administrator of the first terminal device 200A enters information for placing an order (Figure 8: S265) and completes the entry of the order application (S270). The processing of S270, S280, S290, S295, S300, and S310 proceeds in the same manner as the processing of S270, S280, S290, S295, S300, and S310 in Figure 3. Depending on the acquisition of the application notification data (S290), the first period Pa or the second period Pb begins. The determination result of S310 is Yes or No.
第1端末装置200Aからの発注申請に起因する排他ロック中に、第2端末装置200Bの管理者が、発注のための情報を入力し(図8:S265B)、発注申請の入力を完了する(S270B)こととする。S265Bに続くS270B、S280Bは、上述のS270、S280と同様に、進行する。S280Bの実行の時点で、第1状態データ533(図1)は申請中を示しており、現在は排他ロック中であるので、サービスサーバ500のプロセッサ510は、S280Bに続くS290、S295を省略する。 During the exclusive lock caused by the order request from the first terminal device 200A, the administrator of the second terminal device 200B enters the information for the order (Figure 8: S265B) and completes the input of the order request (S270B). S270B and S280B following S265B proceed in the same manner as S270 and S280 described above. At the time of execution of S280B, the first status data 533 (Figure 1) indicates that the order is pending, and the exclusive lock is currently in effect, so the processor 510 of the service server 500 omits S290 and S295 following S280B.
S300Bでは、販社サーバ600のプロセッサ610は、発注審査処理を実行する。現在が他の発注申請による排他ロック中であるので、排他許可条件は満たされず、許可条件は満たされない(S310B:No)。続くS320B、S345B、S350Bは、図3のS320、S345、S350と、それぞれ同じである。S310Bの実行の時点で、第1状態データ533(図1)は申請中を示しており、現在は排他ロック中であるので、サービスサーバ500のプロセッサ510は、S320Bに続くS330、S340を省略する。 In S300B, processor 610 of distributor server 600 executes the order review process. Because the order is currently under exclusive lock due to another order request, the exclusive permission conditions are not met, and the permission conditions are not met (S310B: No). The following S320B, S345B, and S350B are the same as S320, S345, and S350 in Figure 3, respectively. At the time of execution of S310B, first status data 533 (Figure 1) indicates that the order is being applied for and the order is currently under exclusive lock, so processor 510 of service server 500 omits S330 and S340 that follow S320B.
図9(B)は、S350Bで表示部240に表示される画像の例である第3通知画面980を示している。第3通知画面980は、発注申請が許可されない理由を示すメッセージ981と、第3通知画面980を閉じるためのボタン982と、を有している。メッセージ981は、処理状態が発注の申請中であることを示している。 Figure 9 (B) shows a third notification screen 980, which is an example of an image displayed on the display unit 240 in S350B. The third notification screen 980 has a message 981 indicating the reason why the order request was not approved, and a button 982 for closing the third notification screen 980. The message 981 indicates that the processing status is that the order request is being processed.
以後、装置200A、200B、500、600は、図2-図4で説明した手順に従って、処理を進行する。プリンタ100に3以上の端末装置が対応付けられる場合も同様に、サービスサーバ500のプロセッサ510は、発注申請の排他制御を行う。 The devices 200A, 200B, 500, and 600 then proceed with processing according to the procedures described in Figures 2-4. Similarly, when three or more terminal devices are associated with the printer 100, the processor 510 of the service server 500 performs exclusive control of order requests.
以上のように、本実施例では、サービスサーバ500のプロセッサ510は、以下の処理を実行する。S140(図2)では、プロセッサ510は、第1低残量条件が満たされるか否かを判断する。第1低残量条件は、インクの残量Riが第1閾値T1i以下であることを示している。第1低残量条件が満たされると判断されることを含む第1条件が満たされる場合(S140:Yes)、S150で、プロセッサ510は、第1低残量条件が満たされることを示す第1通知を端末装置200Aに送信する。低残量通知データは、第1通知の例である。S190では、プロセッサ510は、低残量通知を受信した端末装置200Aからインクの発注のための処理の要求である処理要求を受信する。S200では、プロセッサ510は、処理要求に応じて、第2低残量条件が満たされるか否かを判断する。第2低残量条件は、インクの残量Riが第2閾値T2i以下であることを示している。S210(図2)、または、S230(図3)では、プロセッサ510は、S200の判断の結果を使用して、画面の表示のためのデータを端末装置200Aに送信する。第2低残量条件が満たされると判断されることを含む第2条件が満たされる場合(S200:Yes)、プロセッサ510は、S230(図3)で、インクの発注申請を入力するための画面である第1種画面の表示のための申請用データを端末装置200Aに送信する。申請画面930(図5(C))は、第1種画面の例である。第2条件が満たされない場合(図2:S200:No)、プロセッサ510は、S210で、第1種画面とは異なる第2種画面であって、インクの発注申請の入力ができない画面である第2種画面の表示のための表示用データを端末装置200Aに送信する。状態画面910(図5(B))は、第2種画面の例である。 As described above, in this embodiment, the processor 510 of the service server 500 executes the following process. In S140 (FIG. 2), the processor 510 determines whether the first low level condition is met. The first low level condition indicates that the remaining ink level Ri is equal to or less than the first threshold value T1i. If the first condition is met, including the first low level condition being determined to be met (S140: Yes), in S150, the processor 510 sends a first notification to the terminal device 200A indicating that the first low level condition is met. The low level notification data is an example of the first notification. In S190, the processor 510 receives a processing request from the terminal device 200A that received the low level notification, which is a request for processing to order ink. In S200, the processor 510 determines whether the second low level condition is met in response to the processing request. The second low level condition indicates that the remaining ink level Ri is equal to or less than the second threshold value T2i. In S210 (FIG. 2) or S230 (FIG. 3), the processor 510 uses the result of the determination in S200 to send data for screen display to the terminal device 200A. If the second condition is met, including the determination that the second low-level condition is met (S200: Yes), the processor 510 in S230 (FIG. 3) sends application data for displaying a first-type screen, which is a screen for inputting an ink order request, to the terminal device 200A. The application screen 930 (FIG. 5(C)) is an example of a first-type screen. If the second condition is not met (FIG. 2: S200: No), the processor 510 in S210 sends display data for displaying a second-type screen, which is different from the first-type screen and does not allow input of an ink order request, to the terminal device 200A. The status screen 910 (FIG. 5(B)) is an example of a second-type screen.
このように、プロセッサ510は、第1条件が満たされる場合に(S140:Yes)、低残量通知データを端末装置200Aに送信する(S150)。従って、インクの残量Riが第1閾値T1iよりも多い場合(すなわち、第1低残量条件が満たされない場合)に、端末装置200Aがインクの発注のための処理を進行する可能性を低減できる。さらに、プロセッサ510は、端末装置200Aからの処理要求に応じて、第2低残量条件が満たされるか否かを判断する(S200)。第2低残量条件が満たされると判断されることを含む第2条件が満たされる場合(S200:Yes)、プロセッサ510は、申請画面930の表示のための申請用データを端末装置200Aに送信する(S230)。従って、インクの残量Riが第2閾値T2i以下である場合に、インクの発注のための処理を端末装置200Aに進行させることができる。第2条件が満たされない場合(S200:No)、プロセッサ510は、状態画面910の表示のための表示用データを端末装置200Aに送信する(S210)。図5(B)で説明したように、状態画面910の発注申請のためのボタン領域918は、操作できない。すなわち、状態画面910上では、管理者は、インクの発注申請を入力できない。従って、インクの残量Riが第2閾値T2iよりも多い場合に、インクの発注のための処理の端末装置200Aによる進行の可能性を低減できる。また、プロセッサ510は、S140とS200との2段階で、インクの残量Riが少ないか否かを判断する。従って、低残量通知データの送信(S150)の後にインクが補充される場合に、不必要な発注申請の発行の可能性を低減できる。このように、本実施例では、プロセッサ510は、インクの発注を適切に制御できる。 In this way, if the first condition is met (S140: Yes), the processor 510 sends low-level notification data to the terminal device 200A (S150). Therefore, if the remaining ink level Ri is greater than the first threshold T1i (i.e., if the first low-level condition is not met), the likelihood of the terminal device 200A proceeding with the process to order ink can be reduced. Furthermore, the processor 510 determines whether the second low-level condition is met in response to a processing request from the terminal device 200A (S200). If the second condition is met, including the determination that the second low-level condition is met (S200: Yes), the processor 510 sends application data for displaying the application screen 930 to the terminal device 200A (S230). Therefore, if the remaining ink level Ri is equal to or less than the second threshold T2i, the terminal device 200A can proceed with the process to order ink. If the second condition is not met (S200: No), the processor 510 sends display data for displaying the status screen 910 to the terminal device 200A (S210). As described in FIG. 5B, the button area 918 for ordering ink on the status screen 910 cannot be operated. That is, the administrator cannot input an ink ordering request on the status screen 910. This reduces the likelihood that the terminal device 200A will proceed with the ink ordering process if the remaining ink level Ri is greater than the second threshold T2i. The processor 510 also determines whether the remaining ink level Ri is low in two stages, S140 and S200. This reduces the likelihood of issuing an unnecessary order request if ink is replenished after the low-level notification data is sent (S150). In this manner, in this embodiment, the processor 510 can appropriately control ink ordering.
また、図7で説明したように、プリンタ100には、2個の端末装置200A、200Bが対応付けられ得る。この場合、プロセッサ510は、第1条件が満たされる場合に(S140:Yes)、S150で、低残量通知データを第1端末装置200Aと第2端末装置200Bとに送信する。図7のS220Bでは、プロセッサ510は、第1端末装置200Aによる申請画面930の表示中に、申請画面の表示のための申請用データを第2端末装置200Bに送信する。この場合、プロセッサ510は、S235Bで、第2端末装置200Bに対して、第1端末装置200Aの操作状態を示す操作通知データの送信を開始する。第2端末装置200Bのプロセッサ210は、操作通知データを参照して、申請画面930(図9(A))の備考領域919に、他の端末装置によって申請画面が表示されていることを示す情報(本実施例では、メッセージ971)を表示する。第2端末装置200Bに対して送信される操作通知データは、メッセージ971のような情報を含む申請画面970の表示のためのデータの例である。申請画面970は、他の端末装置によって発注申請が発行され得ることを、第2端末装置200Bを有する管理者に認識させることができる。従って、第1端末装置200Aと第2端末装置200Bとの両方に発注申請が入力される可能性を低減できる。 Also, as described in FIG. 7, two terminal devices 200A and 200B may be associated with the printer 100. In this case, if the first condition is met (S140: Yes), the processor 510 transmits low-battery notification data to the first terminal device 200A and the second terminal device 200B at S150. At S220B in FIG. 7, the processor 510 transmits application data for displaying the application screen 930 to the second terminal device 200B while the first terminal device 200A is displaying the application screen 930. In this case, at S235B, the processor 510 begins transmitting operation notification data indicating the operation status of the first terminal device 200A to the second terminal device 200B. The processor 210 of the second terminal device 200B references the operation notification data and displays information (in this embodiment, message 971) indicating that the application screen is being displayed by another terminal device in the notes area 919 of the application screen 930 (FIG. 9A). The operation notification data sent to the second terminal device 200B is an example of data for displaying an application screen 970 that includes information such as message 971. The application screen 970 can make the administrator who owns the second terminal device 200B aware that an order application may be issued by another terminal device. This reduces the possibility of an order application being entered into both the first terminal device 200A and the second terminal device 200B.
また、本実施例では、プリンタ100は、L種類のインクを有している(具体的には、CMYKの4種類のインク)。S140(図2)では、プロセッサ510は、L種類のインクに対応するL個の第1低残量条件のそれぞれが満たされるか否かを判断する。L個の第1低残量条件のそれぞれは、第1低残量条件に対応するインクである第1注目インクの残量Riが第1注目インクに対応する第1閾値T1i以下であることを示している。このように、第1閾値T1iは、インクの種類毎に決定される。S140の第1条件は、M種類(Mは、1以上、L以下の整数)のインクに対応するM個の第1低残量条件が満たされると判断されることである。S190(図2)の処理要求は、1種類以上のインクの発注のための処理の要求である。S200では、プロセッサ510は、L種類のインクに対応するL個の第2低残量条件のそれぞれが満たされるか否かを判断する。L個の第2低残量条件のそれぞれは、第2低残量条件に対応するインクである第2注目インクの残量Riが第2注目インクに対応する第2閾値T2i以下であることを示している。このように、第2閾値T2iは、インクの種類毎に決定される。S200の第2条件は、N種類(Nは、1以上、L以下の整数)のインクに対応するN個の第2低残量条件が満たされると判断されることである。また、図3、図4で説明したように、発注申請に基づいて準備処理S990が実行される。準備処理S990は、1種類以上のインクの準備のための処理である。 In this embodiment, the printer 100 has L types of ink (specifically, four types of ink: CMYK). In S140 (Figure 2), the processor 510 determines whether each of the L first low-level conditions corresponding to the L types of ink is satisfied. Each of the L first low-level conditions indicates that the remaining level Ri of the first target ink, which is the ink corresponding to the first low-level condition, is less than or equal to the first threshold value T1i corresponding to the first target ink. In this way, the first threshold value T1i is determined for each type of ink. The first condition in S140 is that M first low-level conditions corresponding to M types of ink (M is an integer greater than or equal to 1 and less than or equal to L) are satisfied. The processing request in S190 (Figure 2) is a processing request for ordering one or more types of ink. In S200, the processor 510 determines whether each of the L second low-level conditions corresponding to the L types of ink are satisfied. Each of the L second low level conditions indicates that the remaining level Ri of the second target ink, which is the ink corresponding to the second low level condition, is equal to or less than the second threshold value T2i corresponding to the second target ink. In this way, the second threshold value T2i is determined for each type of ink. The second condition of S200 is that N second low level conditions corresponding to N types of ink (N is an integer greater than or equal to 1 and less than or equal to L) are determined to be satisfied. Furthermore, as described with reference to Figures 3 and 4, a preparation process S990 is executed based on the order request. The preparation process S990 is a process for preparing one or more types of ink.
サービスサーバ500のプロセッサ510は、準備処理S990の開始時に、ロック通知データを販社サーバ600に送信する(図3:S295)。また、プロセッサ510は、準備処理S990の終了時に、アンロック通知データを販社サーバ600に送信する(図4:S470)。この結果、準備処理S990の進行中の期間である準備処理期間Pbには、図3のS300、S310(図8のS300B、S310B)で、新たな発注申請は許可されない。このように、プロセッサ510は、準備処理期間Pbにおいて、新たな発注申請に基づく準備処理S990を禁止する。このように、プロセッサ510は、S295とS470を実行することによって、発注を制御している。以上により、プロセッサ510は、2個の発注申請に基づいて2個の準備処理S990が同時に行われる可能性を低減できる。このように、プロセッサ510は、インクの発注を適切に制御できる。 The processor 510 of the service server 500 sends lock notification data to the distributor server 600 at the start of the preparation process S990 (S295 in Figure 3). The processor 510 also sends unlock notification data to the distributor server 600 at the end of the preparation process S990 (S470 in Figure 4). As a result, during the preparation process period Pb, during which the preparation process S990 is in progress, new order requests are not permitted at S300 and S310 in Figure 3 (S300B and S310B in Figure 8). In this way, the processor 510 prohibits the preparation process S990 based on a new order request during the preparation process period Pb. In this way, the processor 510 controls orders by executing S295 and S470. As a result, the processor 510 can reduce the possibility of two preparation processes S990 being performed simultaneously based on two order requests. In this way, the processor 510 can appropriately control ink orders.
また、プロセッサ510は、S290(図3)で、申請通知データを取得する。本実施例では、申請通知データは、発注申請の発行を示す第1データの例である。プロセッサ510は、S460(図4)で、受領確認データを取得する。本実施例では、受領確認データは、発注申請に基づいて発送されたインクの受領確認の発行を示す第2データの例である。そして、準備処理期間Pbは、第1データの取得(S290)から第2データの取得(S460)までの期間である。プロセッサ510は、このような準備処理期間Pbに、新たな発注申請に基づく準備処理S990を禁止する。従って、プロセッサ510は、インクが重複して発送される可能性を低減できる。このように、プロセッサ510は、適切な準備処理期間Pbを使用して、プリンタのインクの発注を制御できる。 The processor 510 also acquires application notification data in S290 (Figure 3). In this embodiment, the application notification data is an example of first data indicating the issuance of an order application. The processor 510 then acquires receipt confirmation data in S460 (Figure 4). In this embodiment, the receipt confirmation data is an example of second data indicating the issuance of a receipt confirmation for ink shipped based on the order application. The preparation processing period Pb is the period from the acquisition of the first data (S290) to the acquisition of the second data (S460). The processor 510 prohibits preparation processing S990 based on a new order application during this preparation processing period Pb. Therefore, the processor 510 can reduce the possibility of duplicate ink being shipped. In this way, the processor 510 can control printer ink ordering using an appropriate preparation processing period Pb.
また、プロセッサ510は、S115、S115x(図2)で、プリンタ100からインクの残量に関連するデータである残量関連データを取得する。S140では、プロセッサ510は、S115で取得される残量関連データ(第1の残量関連データと呼ぶ)を使用して、第1低残量条件が満たされるか否かを判断する。S200では、プロセッサ510は、S115xで取得される残量関連データ(第2の残量関連データと呼ぶ)を使用して、第2低残量条件が満たされるか否かを判断する。プロセッサ510は、S140とS200とで、対応する残量関連データを使用して適切に判断できる。このように、プロセッサ510は、プリンタ100から取得される残量関連データを使用して、プリンタのインクの発注を制御できる。特に、本実施例では、第2の残量関連データは、第1の残量関連データの取得よりも後に取得される。プロセッサ510は、S200では、より新しい残量関連データを使用して、適切に判断できる。 Also, in S115 and S115x (Figure 2), the processor 510 acquires remaining ink quantity-related data, which is data related to the remaining ink quantity, from the printer 100. In S140, the processor 510 uses the remaining ink quantity-related data acquired in S115 (referred to as the first remaining ink quantity-related data) to determine whether the first low remaining ink condition is met. In S200, the processor 510 uses the remaining ink quantity-related data acquired in S115x (referred to as the second remaining ink quantity-related data) to determine whether the second low remaining ink condition is met. The processor 510 can make appropriate decisions using the corresponding remaining ink quantity-related data in S140 and S200. In this way, the processor 510 can control the ordering of ink for the printer using the remaining ink quantity-related data acquired from the printer 100. In particular, in this embodiment, the second remaining ink quantity-related data is acquired after the first remaining ink quantity-related data is acquired. In S200, processor 510 can make an appropriate decision using more recent remaining amount-related data.
B.第2実施例:
図10は、低残量通知の送信処理の例を示すフローチャートである。図7の実施例では、サービスサーバ500のプロセッサ510は、S140の条件が満たされる場合に、S150で、複数の端末装置200A、200Bに直ちに低残量通知データを送信する。本実施例では、プロセッサ510は、1つの端末装置200ずつ、時間を空けて、低残量通知データを送信する。この点を除いて、インクの発注のための処理は、図2-図4、図7-8の処理と同じである。
B. Second Example:
FIG. 10 is a flowchart showing an example of a low ink level notification transmission process. In the embodiment of FIG. 7, if the condition of S140 is met, the processor 510 of the service server 500 immediately transmits low ink level notification data to the multiple terminal devices 200A and 200B in S150. In this embodiment, the processor 510 transmits the low ink level notification data to each terminal device 200 at a time, with a time interval between transmissions. Except for this point, the process for ordering ink is the same as the process in FIGS. 2-4 and 7-8.
S140(図2)の判断結果がYesである場合、プロセッサ510は、図10の処理に従って、低残量通知データを送信する。S610では、プロセッサ510は、対象端末番号Ntを、1に初期化する。本実施例では、プリンタ100に対応付けられる複数の端末装置200には、送信順が割り当てられる。以下、第1端末装置200Aの送信順が1番であり、第2端末装置200Bの送信順が2番であることとする。 If the determination result in S140 (FIG. 2) is Yes, the processor 510 sends low remaining amount notification data according to the processing in FIG. 10. In S610, the processor 510 initializes the target terminal number Nt to 1. In this embodiment, a transmission order is assigned to the multiple terminal devices 200 associated with the printer 100. Hereinafter, the first terminal device 200A will be assigned the first transmission order, and the second terminal device 200B will be assigned the second transmission order.
送信順の決定方法は、任意の方法であってよい。例えば、送信順は、予め、登録順と同じに決定されてよい。これに代えて、プロセッサ510は、図10の処理の開始時に、動的に送信順を決定してよい。例えば、プロセッサ510は、ランダムに送信順を決定してよい。また、送信順は、過去の発注申請の回数が多い順と同じに決定されてよい。多くの発注申請を発行した端末装置200には、新たな発注申請の速やかな発行が期待される。また、送信順は、サービスサーバ500との最後の通信日時からの経過時間が短い順と同じに決定されてよい。最近にサービスサーバ500と通信した端末装置200には、新たな発注申請の速やかな発行が期待される。 The method for determining the transmission order may be any method. For example, the transmission order may be determined in advance to be the same as the registration order. Alternatively, the processor 510 may dynamically determine the transmission order when the processing of FIG. 10 begins. For example, the processor 510 may randomly determine the transmission order. The transmission order may also be determined in the order of the most recent order requests. A terminal device 200 that has issued many order requests is expected to issue a new order request quickly. The transmission order may also be determined in the order of the shortest elapsed time since the last communication date and time with the service server 500. A terminal device 200 that has recently communicated with the service server 500 is expected to issue a new order request quickly.
S620では、プロセッサ510は、Nt番目の端末装置200(例えば、第1端末装置200A)に低残量通知データを送信する。低残量通知データの送信に続いて、図2-図4で説明したS170とS170に続く処理とが実行される。Nt番目の端末装置200を有する管理者が発注申請を入力する場合(図3:S270)、サービスサーバ500は、S290で、申請通知データを取得する。発注申請が入力されない場合、サービスサーバ500は、申請通知データを取得しない。 In S620, the processor 510 transmits low remaining amount notification data to the Nt-th terminal device 200 (e.g., the first terminal device 200A). Following transmission of the low remaining amount notification data, S170 and the processing following S170 described in Figures 2-4 are executed. If the administrator owning the Nt-th terminal device 200 inputs an order request (Figure 3: S270), the service server 500 acquires the request notification data in S290. If no order request is input, the service server 500 does not acquire the request notification data.
S630(図10)では、プロセッサ510は、低残量通知データの送信後、待ち時間内に発注申請が発行されたか否かを判断する。プロセッサ510は、申請通知データを取得する場合(図3:S290)、発注申請が発行されたと判断する。 In S630 (Figure 10), processor 510 determines whether an order request has been issued within the waiting time after sending the low remaining amount notification data. If processor 510 obtains the request notification data (Figure 3: S290), it determines that an order request has been issued.
なお、待ち時間は、予め決められてよい。待ち時間は、例えば、5分以上、20時間以下の時間であってよい。また、プロセッサ510は、プリンタ100に関連するパラメータを使用して待ち時間を決定してよい。例えば、プリンタ100のプロセッサ110は、S110(図2)で、残量関連データに加えて、印刷量(例えば、用紙の枚数、インク量など)の履歴を示す印刷履歴データを、サービスサーバ500に送信してよい。サービスサーバ500のプロセッサ510は、印刷履歴データを参照して、1日当りの印刷量を算出する(例えば、1日当りの印刷枚数、1日当りのインク使用量など)。そして、プロセッサ510は、1日当りの印刷量が大きいほど、待ち時間を短い時間に決定してよい。いずれの場合も、待ち時間は、インクが空になって印刷ができなくなる前にインクが補充されるように、決定されることが好ましい。 The waiting time may be determined in advance. The waiting time may be, for example, 5 minutes or more and 20 hours or less. The processor 510 may also determine the waiting time using parameters related to the printer 100. For example, in S110 (FIG. 2), the processor 110 of the printer 100 may send print history data indicating the history of print volume (e.g., number of sheets of paper, amount of ink, etc.) to the service server 500 in addition to the remaining amount-related data. The processor 510 of the service server 500 may then refer to the print history data to calculate the print volume per day (e.g., number of sheets printed per day, amount of ink used per day, etc.). The processor 510 may then determine a shorter waiting time the greater the print volume per day. In either case, it is preferable to determine the waiting time so that ink is replenished before it runs out and printing becomes impossible.
待ち時間内に発注申請が発行される場合(S630:Yes)、プロセッサ510は、図10の処理を終了する。待ち時間内に発注申請が発行されない場合(S630:No)、S640で、プロセッサ510は、対象端末番号Ntに1を加算する。そして、プロセッサ510は、S620へ移行し、更新された対象端末番号Ntの端末装置200(例えば、第2端末装置200B)のための処理を実行する。なお、プリンタ100に対応付けられる全ての端末装置200に低残量通知データを送信した場合、プロセッサ510は、図10の処理を終了する。 If an order request is issued within the waiting time (S630: Yes), the processor 510 ends the processing of FIG. 10. If an order request is not issued within the waiting time (S630: No), in S640, the processor 510 adds 1 to the target terminal number Nt. The processor 510 then proceeds to S620 and executes processing for the terminal device 200 (e.g., the second terminal device 200B) with the updated target terminal number Nt. Note that when low remaining amount notification data has been sent to all terminal devices 200 associated with the printer 100, the processor 510 ends the processing of FIG. 10.
以上のように、本実施例では、プロセッサ510は、S620で、低残量通知データを、第1端末装置200Aに送信する。この送信後、待ち時間内に第1端末装置200Aから発注申請が発行されない場合に、低残量通知データを第2端末装置200Bに送信する。従って、プロセッサ510は、第1端末装置200Aと第2端末装置200Bとの両方に発注申請が入力される可能性を低減できる。 As described above, in this embodiment, the processor 510 transmits low-remaining-amount notification data to the first terminal device 200A at S620. After this transmission, if an order request is not issued from the first terminal device 200A within the waiting time, the processor 510 transmits the low-remaining-amount notification data to the second terminal device 200B. Therefore, the processor 510 can reduce the possibility of an order request being input to both the first terminal device 200A and the second terminal device 200B.
C.第3実施例:
図11、図12は、インクの発注のための処理の別の実施例を示すシーケンス図である。図2-図4、図7、図8の実施例との差異は、サービスサーバ500のプロセッサ510は、プリンタ毎ではなく、インクの種類(ここでは、インクの色)毎に、発注申請の排他制御を行う点である。インクの発注のための処理の他の部分は、図2-図4の対応する部分と同じである。本実施例では、第1状態データ533(図1)と第2状態データ631とは、プリンタ毎、かつ、インクの種類毎(ここでは、インクの色毎)の状態を示している。
C. Third embodiment:
Figures 11 and 12 are sequence diagrams showing another embodiment of the process for ordering ink. This differs from the embodiments shown in Figures 2-4, 7, and 8 in that the processor 510 of the service server 500 performs exclusive control of order requests not for each printer, but for each ink type (here, ink color). The other parts of the process for ordering ink are the same as the corresponding parts shown in Figures 2-4. In this embodiment, the first status data 533 (Figure 1) and the second status data 631 indicate the status for each printer and each ink type (here, each ink color).
図11は、図8の代わりに、図7に続く処理を示している。図12は、図11の続きを示している。図11のS265、S270、S280、S290、S295、S300、S310は、発注インクがマゼンタMのみである点を除いて、図8のS265、S270、S280、S290、S295、S300、S310と、それぞれ同じである。S280の申請通知データは、発注インクがマゼンタMであることを示すデータを含んでいる。S290では、プロセッサ510は、第1状態データ533のマゼンタMのデータを、申請中を示すデータに更新する。また、S290で、マゼンタMのための第1期間Pa(M)、または、第2期間Pb(M)が始まる。S295のロック通知データは、マゼンタMの排他ロックを示している。販社サーバ600のプロセッサ610は、第2状態データ631のマゼンタMのデータを、マゼンタMの新たな発注申請が排他ロックされていることを示すデータに更新する。S300で使用される排他許可条件は、インクの種類毎に判断される。具体的には、排他許可条件は、「審査対象の発注インク(ここでは、マゼンタM)の発注申請が、同じインクの他の発注申請によって排他ロックされていない」である。 Figure 11 shows the processing following Figure 7, instead of Figure 8. Figure 12 shows the continuation of Figure 11. S265, S270, S280, S290, S295, S300, and S310 in Figure 11 are the same as S265, S270, S280, S290, S295, S300, and S310 in Figure 8, respectively, except that the ordered ink is magenta M only. The application notification data in S280 includes data indicating that the ordered ink is magenta M. In S290, the processor 510 updates the magenta M data in the first status data 533 to data indicating that an application is pending. Also in S290, the first period Pa(M) or the second period Pb(M) for magenta M begins. The lock notification data in S295 indicates an exclusive lock for magenta M. The processor 610 of the distributor server 600 updates the data for magenta M in the second status data 631 to data indicating that the new order request for magenta M is exclusively locked. The exclusive permission condition used in S300 is determined for each type of ink. Specifically, the exclusive permission condition is that "the order request for the ordered ink being reviewed (in this case, magenta M) is not exclusively locked by another order request for the same ink."
図11のS265B、S270B、S280B、S290B、S295B、S300B、S310Bは、図11の上記のS265、S270、S280、S290、S295、S300、S310のマゼンタMをシアンCに置換して得られる処理と、それぞれ同じである。S290Bでは、シアンCのための第1期間Pa(C)、または、第2期間Pb(C)が始まる。S300Bで使用される排他許可条件は、S300(図11)で使用される排他許可条件と同じである。具体的には、排他許可条件は、「審査対象の発注インク(ここでは、シアンC)の発注申請が、同じインクの他の発注申請によって排他ロックされていない」である。この条件により、S310Bの判断結果は、図8のS310Bとは異なり、Yes、または、Noであり得る。 S265B, S270B, S280B, S290B, S295B, S300B, and S310B in FIG. 11 are the same as the processes obtained by replacing magenta M with cyan C in S265, S270, S280, S290, S295, S300, and S310 in FIG. 11. In S290B, the first period Pa(C) or the second period Pb(C) for cyan C begins. The exclusive permission condition used in S300B is the same as the exclusive permission condition used in S300 (FIG. 11). Specifically, the exclusive permission condition is "The order request for the ink being reviewed (here, cyan C) is not exclusively locked by another order request for the same ink." Due to this condition, the determination result in S310B can be either Yes or No, unlike S310B in FIG. 8.
図12は、図11において、S310の判断結果がNoであり、S310Bの判断結果がYesである場合の処理の例を示している。マゼンタMに関するS310の判断結果(ここでは、No)に応じて、S320、S330、S340、S345、S350、S353、S356が実行される。これらのステップは、発注インクがマゼンタMのみである点を除いて、図3のS320、S330、S340、S345、S350、S353、S356と、それぞれ同じである。S320の審査結果データは、マゼンタMの発注申請が許可されないことを示している。S330では、第1状態データ533のマゼンタMのデータは、却下を示すデータに更新される。S330で、マゼンタMの第1期間Pa(M)が終了する。S340のアンロック通知データは、マゼンタMの排他アンロックを示している。販社サーバ600のプロセッサ610は、第2状態データ631のマゼンタMのデータを、マゼンタMの新たな発注申請が排他ロックされていないことを示すデータに更新する。S345の却下通知データは、マゼンタMの発注申請が許可されないことを示している。 Figure 12 shows an example of processing when the judgment result of S310 in Figure 11 is No and the judgment result of S310B is Yes. Depending on the judgment result of S310 regarding magenta M (here, No), S320, S330, S340, S345, S350, S353, and S356 are executed. These steps are the same as S320, S330, S340, S345, S350, S353, and S356 in Figure 3, respectively, except that the ordered ink is magenta M only. The review result data of S320 indicates that the order request for magenta M is not approved. In S330, the data for magenta M in the first status data 533 is updated to data indicating rejection. In S330, the first period Pa(M) for magenta M ends. The unlock notification data of S340 indicates that Magenta M is exclusively unlocked. The processor 610 of the distributor server 600 updates the data for Magenta M in the second status data 631 to data indicating that a new order request for Magenta M is not exclusively locked. The rejection notification data of S345 indicates that the order request for Magenta M is not permitted.
シアンCに関するS310Bの判断結果(ここでは、Yes)に応じて、S360B、S370B、S380B、S390B、S400B、S410B、S420B、S430B、S440B、S450B、S460B、S470Bが実行される。これらのステップは、発注インクがシアンCのみである点と、第1端末装置200Aに代えて第2端末装置200Bが使用される点と、を除いて、図4のS360、S370、S380、S390、S400、S410、S420、S430、S440、S450、S460、S470と、それぞれ同じである。S380Bの発送通知データは、シアンCのインクが発送中であることを示している。S390Bでは、プロセッサ510は、第1状態データ533のシアンCのデータを、発送中を示すデータに更新する。S450Bの受領確認データは、シアンCのインクの受領を示している。S460Bでは、プロセッサ510は、第1状態データ533のシアンCのデータを、完了を示すデータに更新する。S460Bで、シアンCの第2期間Pb(C)が終了する。S470Bのアンロック通知データは、シアンCの排他アンロックを示している。販社サーバ600のプロセッサ610は、第2状態データ631のシアンCのデータを、シアンCの新たな発注申請が排他ロックされていないことを示すデータに更新する。なお、第2期間Pb(C)の間に行われる処理S290B、S295B、S300B、S310B、S360B-S460Bの全体は、1種類以上のインクの準備のための処理であって発注申請に基づいて実行される処理である準備処理の例である(準備処理S990xとも呼ぶ)。 Depending on the determination result of S310B regarding cyan C (here, Yes), S360B, S370B, S380B, S390B, S400B, S410B, S420B, S430B, S440B, S450B, S460B, and S470B are executed. These steps are the same as S360, S370, S380, S390, S400, S410, S420, S430, S440, S450, S460, and S470 in FIG. 4, respectively, except that only cyan C is ordered ink and that the second terminal device 200B is used instead of the first terminal device 200A. The shipping notification data of S380B indicates that cyan C ink is being shipped. In S390B, the processor 510 updates the data for cyan C in the first status data 533 to data indicating that it is being shipped. The receipt confirmation data in S450B indicates that the cyan C ink has been received. In S460B, the processor 510 updates the data for cyan C in the first status data 533 to data indicating that it has been completed. In S460B, the second period Pb(C) for cyan C ends. The unlock notification data in S470B indicates that cyan C is exclusively unlocked. The processor 610 of the distributor server 600 updates the data for cyan C in the second status data 631 to data indicating that a new order request for cyan C is not exclusively locked. Note that the entire process of S290B, S295B, S300B, S310B, and S360B-S460B performed during the second period Pb(C) is an example of preparation processing, which is processing for preparing one or more types of ink and is executed based on an order application (also referred to as preparation processing S990x).
以上のように、本実施例において、S140(図2)の判断条件と、S190、S190B(図2、図7)の処理要求と、S200、S200B(図2、図7)の判断条件とは、図2-図4、図7、図8の実施例の対応する要素とそれぞれ同じである。そして、図3、図4の実施例と同様に、発注申請に基づいて準備処理S990xが実行される。サービスサーバ500のプロセッサ510は、準備処理S990xの開始時に、ロック通知データを販社サーバ600に送信する(図11:S295B)。また、プロセッサ510は、準備処理S990xの終了時に、アンロック通知データを販社サーバ600に送信する(図12:S470B)。この結果、準備処理S990xの進行中の期間である準備処理期間Pb(C)には、S300、S310(図3)で、シアンCの新たな発注申請は許可されない。すなわち、プロセッサ510は、シアンCの新たな発注申請に基づく準備処理を禁止する。このように、プロセッサ510は、S295BとS470Bを実行することによって、発注を制御している。以上により、プロセッサ510は、シアンCのインクの2個の発注申請に基づいてシアンCのインクの2個の準備処理が同時に行われる可能性を低減できる。このように、プロセッサ510は、インクの発注を適切に制御できる。 As described above, in this embodiment, the judgment conditions of S140 (FIG. 2), the processing requests of S190 and S190B (FIGS. 2 and 7), and the judgment conditions of S200 and S200B (FIGS. 2 and 7) are the same as the corresponding elements in the embodiments of FIGS. 2-4, 7, and 8. As with the embodiments of FIGS. 3 and 4, the preparation process S990x is executed based on an order application. At the start of the preparation process S990x, the processor 510 of the service server 500 sends lock notification data to the distributor's server 600 (FIG. 11: S295B). At the end of the preparation process S990x, the processor 510 also sends unlock notification data to the distributor's server 600 (FIG. 12: S470B). As a result, during the preparation process period Pb(C), during which the preparation process S990x is in progress, new order applications for cyan C are not permitted at S300 and S310 (FIG. 3). In other words, processor 510 prohibits preparation processing based on a new order request for cyan C. In this way, processor 510 controls ordering by executing S295B and S470B. As a result, processor 510 can reduce the possibility that preparation processing for two batches of cyan C ink will be carried out simultaneously based on two order requests for cyan C ink. In this way, processor 510 can appropriately control ink ordering.
一般的には、U種類(Uは、1以上、4未満の整数)のインクの発注申請が、発行され得る。このような発注申請に基づいて実行される準備処理の進行中の準備処理期間には、プロセッサ510は、U種類のインクに含まれるインクの新たな発注申請に基づく準備処理を禁止し、U種類のインクに含まれないインクの新たな発注申請に基づく準備処理を許容する。例えば、シアンCとイエロYの発注申請が発行され、シアンCとイエロYの準備処理が進行中であると仮定する。この場合、その発注申請に基づく準備処理期間Pbには、プロセッサ510は、シアンCのインクの新たな発注申請に基づく準備処理と、イエロYのインクの新たな発注申請に基づく準備処理と、を禁止する。この準備処理の禁止は、図8の第2端末装置200Bからの発注申請に基づく準備処理の禁止と、同様に行われる。また、プロセッサ510は、マゼンタMのインクの新たな発注申請に基づく準備処理と、ブラックKのインクの新たな発注申請に基づく準備処理と、を許容する。 Generally, order requests for U types of ink (U is an integer greater than or equal to 1 and less than 4) may be issued. During the preparation processing period when preparation processing based on such an order request is in progress, processor 510 prohibits preparation processing based on a new order request for ink included in the U types of ink, and allows preparation processing based on a new order request for ink not included in the U types of ink. For example, assume that an order request for cyan C and yellow Y has been issued and preparation processing for cyan C and yellow Y is in progress. In this case, during preparation processing period Pb based on that order request, processor 510 prohibits preparation processing based on a new order request for cyan C ink and preparation processing based on a new order request for yellow Y ink. This prohibition of preparation processing is performed in the same way as the prohibition of preparation processing based on an order request from second terminal device 200B in FIG. 8. Processor 510 also allows preparation processing based on a new order request for magenta M ink and preparation processing based on a new order request for black K ink.
D.低残量通知データの送信を制御する処理の実施例:
図13(A)、図13(B)は、それぞれ、低残量通知データの送信を制御する処理の実施例を示すフローチャートである。まず、図13(A)の実施例について、説明する。図13(A)の処理は、上記の各実施例において、S140(図2)とS150との間に挿入される。
D. Example of a process for controlling the transmission of low-battery notification data:
13A and 13B are flowcharts showing an example of a process for controlling the transmission of low-level notification data. First, the example of FIG. 13A will be described. The process of FIG. 13A is inserted between S140 (FIG. 2) and S150 in each of the above examples.
S140の判断結果がYesである場合、S710で、プロセッサ510は、発注申請が排他ロックされているか否かを判断する。図3、図4、図8で説明したように、現在が第1期間Pa内である場合、発注申請は排他ロックされている。現在が準備処理期間Pb内である場合、発注申請は排他ロックされている。 If the determination result in S140 is Yes, in S710, the processor 510 determines whether the order request is exclusively locked. As explained in Figures 3, 4, and 8, if the current time is within the first period Pa, the order request is exclusively locked. If the current time is within the preparation processing period Pb, the order request is exclusively locked.
発注申請が排他ロックされていない場合(S710:No)、プロセッサ510は、S150へ移行し、低残量通知データを端末装置に送信する。発注申請が排他ロックされている場合(S710:Yes)、プロセッサ510は、S730で、発注申請のアンロックを待つ。発注申請のアンロックに応じて、プロセッサ510は、S150へ移行し、低残量通知データを端末装置に送信する。 If the order request is not exclusively locked (S710: No), the processor 510 proceeds to S150 and sends low-remaining-amount notification data to the terminal device. If the order request is exclusively locked (S710: Yes), the processor 510 waits in S730 for the order request to be unlocked. In response to the order request being unlocked, the processor 510 proceeds to S150 and sends low-remaining-amount notification data to the terminal device.
以上のように、図13(A)の実施例では、低残量通知を端末装置に送信するための第1条件は、以下の2つの条件の両方が満たされることである。
(残量送信条件:S140:Yes)M種類(Mは、1以上、L以下の整数)のインクに対応するM個の第1低残量条件が満たされる
(排他送信条件:S710:No)発注申請が、他の発注申請によって排他ロックされていない
As described above, in the embodiment of FIG. 13A, the first condition for transmitting a low remaining amount notification to the terminal device is that both of the following two conditions are satisfied.
(Condition for sending remaining amount: S140: Yes) M first low remaining amount conditions corresponding to M types of ink (M is an integer between 1 and L) are met (Condition for sending exclusive: S710: No) The order request is not exclusively locked by another order request.
排他送信条件は、現在が準備処理期間Pb内ではないことを、含んでいる。従って、プロセッサ510は、準備処理期間Pb内に新たな発注申請のための処理要求を受信する可能性を低減できる。 The exclusive transmission condition includes the current time not being within the preparation processing period Pb. Therefore, the processor 510 can reduce the possibility of receiving a processing request for a new order application during the preparation processing period Pb.
次に、図13(B)の実施例について説明する。図13(B)の処理は、図2のサービスサーバ500の処理のうちのS140から前の部分の代わりに、実行される。図2の実施例との差異は、S115とS130との間に、S710が挿入されている点である。残量関連データの取得(S115)の後、S710で、サービスサーバ500のプロセッサ510は、発注申請が排他ロックされているか否かを判断する。S710の処理は、図13(A)のS710の処理と同じである。 Next, the embodiment of Figure 13(B) will be described. The processing of Figure 13(B) is executed in place of the portion of the processing of the service server 500 in Figure 2 from S140 onwards. The difference from the embodiment of Figure 2 is that S710 has been inserted between S115 and S130. After obtaining the remaining amount-related data (S115), in S710 the processor 510 of the service server 500 determines whether the order request is exclusively locked. The processing of S710 is the same as the processing of S710 in Figure 13(A).
発注申請が排他ロックされていない場合(S710:No)、プロセッサ510は、S130へ移行し、色成分毎の残量Riを算出する。そして、プロセッサ510は、S140で、第1条件が満たされるか否かを判断する。発注申請が排他ロックされている場合(S710:Yes)、プロセッサ510は、発注申請が排他アンロックされるまで、S115、S710を繰り返す。 If the order request is not exclusively locked (S710: No), the processor 510 proceeds to S130 and calculates the remaining amount Ri for each color component. Then, in S140, the processor 510 determines whether the first condition is met. If the order request is exclusively locked (S710: Yes), the processor 510 repeats S115 and S710 until the order request is exclusively unlocked.
本実施例では、低残量通知を端末装置に送信するための第1条件は、図13(A)の実施例の第1条件と同じである。排他送信条件は、現在が準備処理期間Pb内ではないことを、含んでいる。従って、プロセッサ510は、準備処理期間Pb内に新たな発注申請のための処理要求を受信する可能性を低減できる。また、本実施例では、排他送信条件が満たされない場合(S710:Yes)、S130の処理は実行されない。従って、プロセッサ510の負担は、軽減される。 In this embodiment, the first condition for sending a low remaining amount notification to the terminal device is the same as the first condition in the embodiment of Figure 13 (A). The exclusive transmission condition includes the current state not being within the preparation processing period Pb. Therefore, the processor 510 can reduce the possibility of receiving a processing request for a new order application within the preparation processing period Pb. Also, in this embodiment, if the exclusive transmission condition is not met (S710: Yes), the processing of S130 is not executed. Therefore, the burden on the processor 510 is reduced.
なお、図13(A)の処理が、図11、図12の実施例に適用される場合、排他送信条件は、インクの種類に拘わらずに、判断されてよい。例えば、シアンCの発注申請が排他ロックされ、マゼンタMの発注申請が排他ロックされていない状態で、S140で新たにマゼンタMが第1低残量条件を満たす場合、S710の判断結果は、Yesであってよい。これに代えて、排他送信条件は、インクの種類(ここでは、インクの色)毎に、判断されてよい。例えば、シアンCの発注申請が排他ロックされ、マゼンタMの発注申請が排他ロックされていない状態で、S140で新たにマゼンタMが第1低残量条件を満たす場合、S710の判断結果は、Noであってよい。 When the processing of FIG. 13(A) is applied to the embodiments of FIGS. 11 and 12, the exclusive transmission condition may be determined regardless of the ink type. For example, if an order request for cyan C is exclusively locked and an order request for magenta M is not exclusively locked, and magenta M newly satisfies the first low remaining amount condition in S140, the determination result of S710 may be Yes. Alternatively, the exclusive transmission condition may be determined for each ink type (here, ink color). For example, if an order request for cyan C is exclusively locked and an order request for magenta M is not exclusively locked, and magenta M newly satisfies the first low remaining amount condition in S140, the determination result of S710 may be No.
D.変形例:
(1)低残量条件が満たされることを示す第1通知を端末装置に送信するための第1条件は、S140(図2)、図13(A)、図13(B)で説明した条件に限らず、第1低残量条件が満たされることを含む種々の条件であってよい。例えば、サービスサーバ500のプロセッサ510は、第1閾値T1iを調整してよい。上述したように、プロセッサ510は、プリンタ100からの印刷履歴データを参照して、1日当りの印刷量を算出してよい。そして、プロセッサ510は、1日当りの印刷量が大きいほど、第1閾値T1iを大きい値に決定してよい。これにより、インクが空になって印刷ができなくなる可能性は、低減する。第1閾値T1iの調整は、第1条件の判断時に行われてよく、他のタイミングで行われてよい。また、第1条件は、プリンタに対応付けられる1以上の端末装置がサービスサーバ500と通信可能であることを含んでよい。
D. Variations:
(1) The first condition for transmitting the first notification indicating that the low ink level condition is met to the terminal device is not limited to the conditions described in S140 ( FIG. 2 ), FIGS. 13A, and 13B, and may be various conditions, including the satisfaction of the first low ink level condition. For example, the processor 510 of the service server 500 may adjust the first threshold value T1i. As described above, the processor 510 may calculate the print volume per day by referencing print history data from the printer 100. The processor 510 may then set the first threshold value T1i to a larger value as the print volume per day increases. This reduces the possibility of the ink running out and printing becoming impossible. The adjustment of the first threshold value T1i may be performed when determining whether the first condition is met or at another timing. Furthermore, the first condition may include the ability of one or more terminal devices associated with the printer to communicate with the service server 500.
(2)上記各実施例では、サービスサーバ500のプロセッサ510は、第2条件(S200(図2等))の判断結果に応じて、画面の表示のために端末装置に送信すべきデータを決定する。送信すべきデータは、第1種画面(例えば、申請画面930(図5(C))の表示のためのデータと、第2種画面(例えば、状態画面910(図5(B)))の表示のためのデータとから選択される。ここで、第2条件は、第2低残量条件が満たされることを含む種々の条件であってよい。例えば、サービスサーバ500のプロセッサ510は、第2閾値T2iを調整してよい。プロセッサ510は、プリンタ100からの印刷履歴データを参照して、1日当りの印刷量を算出してよい。そして、プロセッサ510は、1日当りの印刷量が大きいほど、第2閾値T2iを大きい値に決定してよい。これにより、インクが空になって印刷ができなくなる可能性は、低減する。第2閾値T2iの調整は、第2条件の判断時に行われてよく、他のタイミングで行われてよい。また、第2条件は、処理要求(S190)を送信した端末装置がサービスサーバ500と通信可能であることを含んでよい。 (2) In each of the above embodiments, the processor 510 of the service server 500 determines the data to be sent to the terminal device for display on the screen depending on the judgment result of the second condition (S200 (Figure 2, etc.)). The data to be sent is selected from data for displaying a first type screen (for example, the application screen 930 (FIG. 5C)) and data for displaying a second type screen (for example, the status screen 910 (FIG. 5B)). Here, the second condition may be a variety of conditions, including the second low remaining amount condition being met. For example, the processor 510 of the service server 500 may adjust the second threshold value T2i. The processor 510 may refer to print history data from the printer 100 to calculate the amount of printing per day. The processor 510 may then set the second threshold value T2i to a larger value as the amount of printing per day increases. This reduces the possibility of the printer running out of ink and being unable to print. The second threshold value T2i may be adjusted when the second condition is met, or at another time. The second condition may also include the terminal device that sent the processing request (S190) being able to communicate with the service server 500.
なお、第2条件の判断処理と第2条件が満たされない場合の処理(例えば、図2のS200、S210、S220)は、省略されてよい。例えば、図2、図3の実施例では、サービスサーバ500のプロセッサ510は、処理要求を受信する場合に(S190)、S230(図3)へ移行してよい。 Note that the process for determining whether the second condition is met and the process for when the second condition is not met (e.g., S200, S210, and S220 in FIG. 2) may be omitted. For example, in the embodiments of FIGS. 2 and 3, the processor 510 of the service server 500 may proceed to S230 (FIG. 3) when it receives a processing request (S190).
このように、第2条件の判断処理と第2条件が満たされない場合の処理とが省略される場合に、プロセッサ510は、発注処理の排他制御を行うことが好ましい。サービスサーバ500、より一般的には、制御装置は、印刷実行部160のL種類(Lは1以上の整数)の消耗品の発注を制御するために、以下のように構成されてよい。
[構成1]
制御装置は、
印刷実行部の消耗品の残量が第1閾値以下であることを示す第1低残量条件が満たされるか否かを判断する第1判断部と、
第1低残量条件が満たされると第1判断部によって判断されることを含む第1条件が満たされる場合に、第1低残量条件が満たされることを示す第1通知を端末装置に送信する第1送信部と、
端末装置から消耗品の発注のための処理の要求である処理要求を受信する受信部と、
処理要求に応じて、消耗品の発注申請を入力するための画面である第1種画面の表示のためのデータを端末装置に送信する第2送信部と、
を備える。
ここで、第1判断部は、L種類の消耗品に対応するL個の第1低残量条件のそれぞれが満たされるか否かを判断する。
L個の第1低残量条件のそれぞれは、第1低残量条件に対応する消耗品である第1注目消耗品の残量が第1注目消耗品に対応する第1閾値以下であることを示している。
第1条件は、M種類(Mは、1以上、L以下の整数)の消耗品に対応するM個の第1低残量条件が満たされると第1判断部によって判断されることを含んでいる。
そして、制御装置は、1種類以上の消耗品の準備のための処理であって発注申請に基づいて実行される処理である準備処理の進行中の期間である準備処理期間には、新たな発注申請に基づく準備処理を禁止する発注制御部を備えている。
In this way, when the process for determining whether the second condition is met and the process for when the second condition is not met are omitted, it is preferable that the processor 510 performs exclusive control of the ordering process. The service server 500, or more generally, the control device, may be configured as follows to control the ordering of L types of consumables (L is an integer equal to or greater than 1) for the print execution unit 160.
[Configuration 1]
The control device
a first determination unit that determines whether a first low remaining amount condition is satisfied, which indicates that the remaining amount of the consumable in the printing unit is equal to or less than a first threshold;
a first transmission unit that transmits a first notification indicating that the first low remaining amount condition is satisfied to the terminal device when a first condition is satisfied, the first condition including the first determination unit determining that the first low remaining amount condition is satisfied;
a receiving unit that receives a processing request from a terminal device, the processing request being a processing request for ordering consumables;
a second transmission unit that transmits, in response to a processing request, data for displaying a first type screen, which is a screen for inputting an order application for consumables, to the terminal device;
Equipped with.
Here, the first determination unit determines whether or not each of the L first low remaining amount conditions corresponding to the L types of consumables is satisfied.
Each of the L first low remaining amount conditions indicates that the remaining amount of a first target consumable, which is the consumable corresponding to the first low remaining amount condition, is equal to or less than a first threshold value corresponding to the first target consumable.
The first condition includes a determination by the first determination unit that M first low remaining amount conditions corresponding to M types of consumables (M is an integer of 1 or more and L or less) are satisfied.
The control device is equipped with an order control unit that prohibits preparation processing based on a new order application during a preparation processing period, which is a period during which preparation processing, which is processing for preparing one or more types of consumables and is executed based on an order application, is in progress.
[構成2]
制御装置は、
印刷実行部の消耗品の残量が第1閾値以下であることを示す第1低残量条件が満たされるか否かを判断する第1判断部と、
第1低残量条件が満たされると第1判断部によって判断されることを含む第1条件が満たされる場合に、第1低残量条件が満たされることを示す第1通知を端末装置に送信する第1送信部と、
端末装置から消耗品の発注のための処理の要求である処理要求を受信する受信部と、
処理要求に応じて、消耗品の発注申請を入力するための画面である第1種画面の表示のためのデータを端末装置に送信する第2送信部と、
を備える。
ここで、第1判断部は、L種類の消耗品に対応するL個の第1低残量条件のそれぞれが満たされるか否かを判断する。
L個の第1低残量条件のそれぞれは、第1低残量条件に対応する消耗品である第1注目消耗品の残量が第1注目消耗品に対応する第1閾値以下であることを示している。
第1条件は、M種類(Mは、1以上、L以下の整数)の消耗品に対応するM個の第1低残量条件が満たされると第1判断部によって判断されることを含んでいる。
そして、制御装置は、U種類(Uは、1以上、L未満の整数)の消耗品の準備のための処理であって発注申請に基づいて実行される処理である準備処理の進行中の期間である準備処理期間には、U種類の消耗品に含まれる消耗品の新たな発注申請に基づく準備処理を禁止し、U種類の消耗品に含まれない消耗品の新たな発注申請に基づく準備処理を許容する、発注制御部を備えている。
[Configuration 2]
The control device
a first determination unit that determines whether a first low remaining amount condition is satisfied, which indicates that the remaining amount of the consumable in the printing unit is equal to or less than a first threshold;
a first transmission unit that transmits a first notification indicating that the first low remaining amount condition is satisfied to the terminal device when a first condition is satisfied, the first condition including the first determination unit determining that the first low remaining amount condition is satisfied;
a receiving unit that receives a processing request from a terminal device, the processing request being a processing request for ordering consumables;
a second transmission unit that transmits, in response to a processing request, data for displaying a first type screen, which is a screen for inputting an order application for consumables, to the terminal device;
Equipped with.
Here, the first determination unit determines whether or not each of the L first low remaining amount conditions corresponding to the L types of consumables is satisfied.
Each of the L first low remaining amount conditions indicates that the remaining amount of a first target consumable, which is the consumable corresponding to the first low remaining amount condition, is equal to or less than a first threshold value corresponding to the first target consumable.
The first condition includes a determination by the first determination unit that M first low remaining amount conditions corresponding to M types of consumables (M is an integer of 1 or more and L or less) are satisfied.
The control device is equipped with an order control unit that prohibits preparation processing based on a new order request for consumables included in the U types of consumables during a preparation processing period, which is a period during which preparation processing is in progress, the preparation processing being a process for preparing U types of consumables (U is an integer greater than or equal to 1 and less than L) and being executed based on an order request, and allows preparation processing based on a new order request for consumables not included in the U types of consumables.
上記の構成1、2には、さらに、本明細書に記載の任意の構成(例えば、実施例、または、変形例に含まれる任意の構成)が、適用されてよい。 The above configurations 1 and 2 may also be applied to any of the configurations described in this specification (e.g., any of the configurations included in the examples or variants).
(3)発注申請の排他制御の処理は、上記の実施例の処理に限らず、種々の処理であってよい。例えば、サービスサーバ500のプロセッサ510は、発注インクの発送を示すデータ(例えば、図4のS390の発送通知データ)の取得に応じて、アンロック通知データを販社サーバ600に送信してよい。このように、準備処理期間Pbは、発注申請の発行を示すデータの取得(例えば、S290(図3))から、消耗品の発送を示すデータの取得(例えば、S390(図4))までの期間であってよい。なお、発注申請の排他制御は、省略されてよい。例えば、S300(図3等)の排他許可条件は、省略されてよい。 (3) The exclusive control process for order requests is not limited to the process described in the above embodiment, and may be various processes. For example, the processor 510 of the service server 500 may send unlock notification data to the distributor server 600 in response to the acquisition of data indicating the shipment of ordered ink (e.g., the shipping notification data of S390 in FIG. 4). In this way, the preparation processing period Pb may be the period from the acquisition of data indicating the issuance of an order request (e.g., S290 (FIG. 3)) to the acquisition of data indicating the shipment of consumables (e.g., S390 (FIG. 4)). Note that the exclusive control of order requests may be omitted. For example, the exclusive permission condition of S300 (FIG. 3, etc.) may be omitted.
また、図8のS270Bのように、現在が排他ロック中である状態で他の発注申請が発行される場合、S280Bにおける販社サーバ600からサービスサーバ500への申請通知データの送信は、省略されてよい。さらに、S320B、S345B(図8)が省略され、販社サーバ600のプロセッサ610は、直接に、第2端末装置200Bに、却下通知データを送信してよい。このように、販社サーバ600のプロセッサ610は、サービスサーバ500に通知せずに、発注申請を却下してよい。 Furthermore, as in S270B of FIG. 8, if another order request is issued while the current order is in an exclusive lock state, the transmission of application notification data from the distributor server 600 to the service server 500 in S280B may be omitted. Furthermore, S320B and S345B (FIG. 8) may be omitted, and the processor 610 of the distributor server 600 may send rejection notification data directly to the second terminal device 200B. In this way, the processor 610 of the distributor server 600 may reject the order request without notifying the service server 500.
また、サービスサーバ500のプロセッサ510は、発注申請の排他の状態を示すデータを、端末装置200に送信してよい。そして、端末装置200のプロセッサ210は、発注申請がロックされている間には、管理者による発注申請の入力を禁止し、発注申請がアンロックされている間には、管理者に発注申請の入力を許容してよい。例えば、サービスサーバ500のプロセッサ510は、端末装置200に、ロック通知データとアンロック通知データとを送信してよい。そして、端末装置200のプロセッサ210は、発注申請がロックされている間には、発注申請を入力するためのボタン領域918(図5(B))を無効化してよい。プロセッサ210は、発注申請がアンロックされている間には、ボタン領域918(図5(C))を有効化してよい。 The processor 510 of the service server 500 may also transmit data indicating the exclusive status of the order request to the terminal device 200. The processor 210 of the terminal device 200 may then prohibit the administrator from entering an order request while the order request is locked, and may allow the administrator to enter an order request while the order request is unlocked. For example, the processor 510 of the service server 500 may transmit lock notification data and unlock notification data to the terminal device 200. The processor 210 of the terminal device 200 may then disable the button area 918 (Figure 5(B)) for entering an order request while the order request is locked. The processor 210 may enable the button area 918 (Figure 5(C)) while the order request is unlocked.
(4)消耗品の発注のための処理は、上記の処理に限らず、他の種々の処理であってよい。例えば、端末装置に表示される申請画面930(図5(C))からは、他の端末装置によって申請画面が表示されていることを示す情報(例えば、メッセージ971(図9(A)))の表示は、省略されてよい。この場合、図3のS235、S250、S260は、省略されてよい。また、添付ファイル領域917は、省略されてよい。すなわち、発注申請の添付画像データは、省略されてよい。この場合、S300(図3等)の残量許可条件は、省略されてよい。また、発注申請の審査(S300)が、省略されてよい。 (4) The process for ordering consumables is not limited to the above process, and may be various other processes. For example, the application screen 930 (FIG. 5(C)) displayed on the terminal device may omit information indicating that the application screen is being displayed by another terminal device (e.g., message 971 (FIG. 9(A))). In this case, steps S235, S250, and S260 in FIG. 3 may be omitted. Also, the attachment area 917 may be omitted. In other words, the image data attached to the order application may be omitted. In this case, the remaining amount permission condition in S300 (FIG. 3, etc.) may be omitted. Also, the review of the order application (S300) may be omitted.
図2のS150の低残量通知データは、第1低残量条件を満たすインクの種類を示してよい。そして、S170で表示される画像は、第1低残量条件を満たすインクの種類を示してよい。 The low ink level notification data of S150 in FIG. 2 may indicate the type of ink that satisfies the first low ink level condition. The image displayed in S170 may then indicate the type of ink that satisfies the first low ink level condition.
図2のS210の表示用データは、各インクの残量Riを示すデータを含んでよい。そして、S220で表示される画像(例えば、状態画面910(図5(B)))は、各インクの残量を示してよい。また、状態画面910は、申請画面930を表示するための要素(画面表示要素とも呼ぶ)を含んでよい。例えば、各インクの残量を示す領域のタップに応じて、端末装置200のプロセッサ210は、申請画面930を表示部240に表示してよい。画面表示要素は、残量を示す領域に限らず、ボタンなどの任意の種類の要素であってよい。いずれの場合も、状態画面が消耗品の発注申請を入力するための要素(例えば、申請用のボタン)を有していない場合には、状態画面が申請画面930を表示するための要素を含むとしても、管理者は、状態画面には消耗品の発注申請を入力できない。従って、このような状態画面も、消耗品の発注申請の入力ができない画面である第2種画面の例である。 The display data in S210 of FIG. 2 may include data indicating the remaining amount Ri of each ink. The image displayed in S220 (e.g., the status screen 910 (FIG. 5B)) may indicate the remaining amount of each ink. The status screen 910 may also include elements (also referred to as screen display elements) for displaying the request screen 930. For example, in response to a tap on an area indicating the remaining amount of each ink, the processor 210 of the terminal device 200 may display the request screen 930 on the display unit 240. The screen display elements are not limited to areas indicating the remaining amount, and may be any type of element, such as a button. In either case, if the status screen does not have an element for inputting a consumables order request (e.g., an application button), the administrator will not be able to input a consumables order request on the status screen, even if the status screen includes an element for displaying the request screen 930. Therefore, such a status screen is also an example of a second-type screen, which is a screen on which consumables order requests cannot be input.
L種類のインクのうちのU種類(Uは、1以上、L未満の整数)のインクの発注申請が端末装置(例えば、第1端末装置200A)によって発行される場合に、サービスサーバ500のプロセッサ510は、他の端末装置200Bに、U種類のインクとは異なる種類のインクの低残量通知データを送信してよい。 When a terminal device (e.g., the first terminal device 200A) issues an order request for U types of ink (U is an integer greater than or equal to 1 and less than L) out of L types of ink, the processor 510 of the service server 500 may send low level notification data for a type of ink different from the U types of ink to another terminal device 200B.
プロセッサ510は、予め決められた時間幅(例えば、5分以上、20時間以下の時間幅)内で、同じプリンタの同じ種類の消耗品の複数の発注申請が発行される場合に、それら複数の発注申請を1つの発注申請として扱ってよい。例えば、プロセッサ510は、このような複数の発注申請を1つの発注申請として扱う指示を、販社サーバ600に送信してよい。 When multiple order requests for the same type of consumables for the same printer are issued within a predetermined time span (e.g., a time span of 5 minutes or more and 20 hours or less), the processor 510 may treat the multiple order requests as a single order request. For example, the processor 510 may send an instruction to the distributor server 600 to treat such multiple order requests as a single order request.
プロセッサ510は、発注された第1消耗品の発送が行われる前に、別の種類の第2消耗品の残量が少なくなった場合には、第1消耗品に加えて第2消耗品を発送するための処理を実行してよい。例えば、プロセッサ510は、発注された第1消耗品の発送が行われる前に第2消耗品の残量が第2閾値以下に低下する場合に、第2消耗品の発送を販社サーバ600に指示してよい。 If the remaining quantity of a different type of second consumable becomes low before the ordered first consumable is shipped, the processor 510 may execute processing to ship the second consumable in addition to the first consumable. For example, if the remaining quantity of the second consumable falls below a second threshold before the ordered first consumable is shipped, the processor 510 may instruct the distributor server 600 to ship the second consumable.
(5)発注のための処理の対象の消耗品は、インクに限らず、任意の消耗品であってよい。例えば、印刷実行部160は、レーザ方式の印刷実行部であってよい。この場合、サービスサーバ500は、トナーと感光ドラムとを含む複数種類の消耗品の発注を、処理してよい。いずれの場合も、発注のための処理の対象の消耗品の種類数は、1以上の任意の数であってよい。 (5) The consumables that are the subject of processing for ordering are not limited to ink, and may be any consumables. For example, the print execution unit 160 may be a laser-type print execution unit. In this case, the service server 500 may process orders for multiple types of consumables, including toner and photosensitive drums. In either case, the number of types of consumables that are the subject of processing for ordering may be any number greater than or equal to one.
(6)印刷実行部160は、インク、トナーなどの消耗品の残量を測定する残量センサを備えてよい。そして、S110(図2)では、プリンタ100のプロセッサ110は、残量センサからの信号を使用して残量を検出し、検出した残量を示す残量関連データをサービスサーバ500に送信してよい。サービスサーバ500のプロセッサ510は、残量関連データによって示される残量を使用して、処理を進行してよい。 (6) The print execution unit 160 may be equipped with a remaining amount sensor that measures the remaining amount of consumables such as ink and toner. Then, in S110 (FIG. 2), the processor 110 of the printer 100 may detect the remaining amount using a signal from the remaining amount sensor and send remaining amount-related data indicating the detected remaining amount to the service server 500. The processor 510 of the service server 500 may proceed with processing using the remaining amount indicated by the remaining amount-related data.
(7)発注のための処理を実行する装置の構成は、上記のサービスサーバ500の構成に代えて、他の種々の構成であってよい。例えば、販社サーバ600が省略されて、サービスサーバ500が、販社サーバ600の機能を実行してよい。また、図示しない接続サーバが、端末装置200との常時接続を確立してよい。そして、サービスサーバ500は、接続サーバを介して、端末装置にデータを送信してよい。また、サービスサーバ500と端末装置との間の通信は、接続サーバに限らず、種々の中継装置によって、中継されてよい。 (7) The configuration of the device that executes the processing for placing an order may be various other configurations instead of the configuration of the service server 500 described above. For example, the distributor server 600 may be omitted, and the service server 500 may perform the functions of the distributor server 600. Also, a connection server (not shown) may establish a constant connection with the terminal device 200. The service server 500 may then transmit data to the terminal device via the connection server. Also, communication between the service server 500 and the terminal device may be relayed by various relay devices, not limited to the connection server.
また、サービスサーバ500に代えて、プリンタ100の制御装置(例えば、プロセッサ110)が、発注のための処理を実行してよい。このように、発注のための処理を実行する制御装置は、プリンタの一部であってよい。発注のための処理を実行する制御装置は、サーバ装置、印刷実行部160を制御する制御装置など、種々の装置であってよい。また、ネットワークを介して互いに通信可能な複数の装置(例えば、コンピュータ)が、制御装置による処理の機能を一部ずつ分担して、全体として、制御処理の機能を提供してもよい(これらの装置を備えるシステムが制御装置に対応する)。 Also, instead of the service server 500, the control device of the printer 100 (e.g., processor 110) may execute the processing for placing an order. In this way, the control device that executes the processing for placing an order may be part of the printer. The control device that executes the processing for placing an order may be various devices, such as a server device or a control device that controls the print execution unit 160. Furthermore, multiple devices (e.g., computers) that can communicate with each other via a network may each share some of the processing functions of the control device and collectively provide the control processing functions (a system including these devices corresponds to the control device).
上記各実施例において、ハードウェアによって実現されていた構成の一部をソフトウェアに置き換えるようにしてもよく、逆に、ソフトウェアによって実現されていた構成の一部あるいは全部をハードウェアに置き換えるようにしてもよい。例えば、図2のS130の機能を、専用のハードウェア回路によって実現してもよい。 In each of the above embodiments, some of the configurations implemented by hardware may be replaced with software, and conversely, some or all of the configurations implemented by software may be replaced with hardware. For example, the function of S130 in Figure 2 may be implemented by a dedicated hardware circuit.
また、本発明の機能の一部または全部がコンピュータプログラムで実現される場合には、そのプログラムは、コンピュータ読み取り可能な記録媒体(例えば、一時的ではない記録媒体)に格納された形で提供することができる。プログラムは、提供時と同一または異なる記録媒体(コンピュータ読み取り可能な記録媒体)に格納された状態で、使用され得る。「コンピュータ読み取り可能な記録媒体」は、メモリーカードやCD-ROMのような携帯型の記録媒体に限らず、各種ROM等のコンピュータ内の内部記憶装置や、ハードディスクドライブ等のコンピュータに接続されている外部記憶装置も含み得る。 Furthermore, if some or all of the functions of the present invention are realized by a computer program, the program can be provided in a form stored on a computer-readable recording medium (e.g., a non-transitory recording medium). The program can be used while stored on the same or a different recording medium (computer-readable recording medium) from when it was provided. "Computer-readable recording medium" is not limited to portable recording media such as memory cards and CD-ROMs, but can also include internal storage devices within a computer, such as various ROMs, and external storage devices connected to a computer, such as a hard disk drive.
以上、実施例、変形例に基づき本発明について説明してきたが、上記した発明の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定するものではない。本発明は、その趣旨を逸脱することなく、変更、改良され得ると共に、本発明にはその等価物が含まれる。 The present invention has been described above based on examples and modifications. However, the above-described embodiments of the invention are intended to facilitate understanding of the invention and are not intended to limit the scope of the invention. The present invention may be modified or improved without departing from its spirit, and equivalents thereof are also included within the scope of the present invention.
100…プリンタ、110…プロセッサ、115…記憶装置、120…揮発性記憶装置、130…不揮発性記憶装置、131…制御データ、140…表示部、150…操作部、160…印刷実行部、180…通信インタフェース、200…端末装置、200A…第1端末装置、200B…第2端末装置、210…プロセッサ、215…記憶装置、220…揮発性記憶装置、230…不揮発性記憶装置、231…アカウントデータ、240…表示部、250…操作部、280…通信インタフェース、500…サービスサーバ、510…プロセッサ、515…記憶装置、520…揮発性記憶装置、530…不揮発性記憶装置、531…累積供給量データ、532…第1管理データ、533…第1状態データ、580…通信インタフェース、600…販社サーバ、610…プロセッサ、615…記憶装置、620…揮発性記憶装置、630…不揮発性記憶装置、631…第2状態データ、680…通信インタフェース、1000…システム、NT…ネットワーク 100...printer, 110...processor, 115...storage device, 120...volatile storage device, 130...non-volatile storage device, 131...control data, 140...display unit, 150...operation unit, 160...print execution unit, 180...communication interface, 200...terminal device, 200A...first terminal device, 200B...second terminal device, 210...processor, 215...storage device, 220...volatile storage device, 230...non-volatile storage device, 231...account data, 240...display unit, 250...operation unit, 280...communication Interface, 500...service server, 510...processor, 515...storage device, 520...volatile storage device, 530...non-volatile storage device, 531...accumulated supply data, 532...first management data, 533...first status data, 580...communication interface, 600...distributor server, 610...processor, 615...storage device, 620...volatile storage device, 630...non-volatile storage device, 631...second status data, 680...communication interface, 1000...system, NT...network
Claims (9)
印刷実行部の消耗品の残量が第1閾値以下であることを示す第1低残量条件が満たされるか否かを判断する第1判断部と、
前記第1低残量条件が満たされると前記第1判断部によって判断されることを含む第1条件が満たされる場合に、前記第1低残量条件が満たされることを示す第1通知を端末装置に送信する第1送信部と、
前記第1通知を受信した前記端末装置から前記消耗品の発注のための処理の要求である処理要求を受信する受信部と、
前記処理要求に応じて、前記消耗品の残量が第2閾値以下であることを示す第2低残量条件が満たされるか否かを判断する第2判断部と、
前記第2判断部による判断の結果を使用して、画面の表示のためのデータを前記端末装置に送信する第2送信部と、
を備え、
前記第2送信部は、
前記第2低残量条件が満たされると前記第2判断部によって判断されることを含む第2条件が満たされる場合には、前記消耗品の発注申請を入力するための画面である第1種画面の表示のためのデータを前記端末装置に送信し、
前記第2条件が満たされない場合には、前記第1種画面とは異なる第2種画面であって、前記消耗品の発注申請の入力ができない画面である前記第2種画面の表示のためのデータを前記端末装置に送信する、
制御装置。 A control device,
a first determination unit that determines whether a first low remaining amount condition is satisfied, which indicates that the remaining amount of the consumable in the printing unit is equal to or less than a first threshold;
a first transmission unit that transmits, when a first condition is satisfied, a first notification indicating that the first low remaining amount condition is satisfied, to the terminal device; and
a receiving unit that receives a processing request, which is a processing request for ordering the consumable product, from the terminal device that has received the first notification;
a second determination unit that determines whether a second low remaining amount condition indicating that the remaining amount of the consumable is equal to or less than a second threshold is satisfied in response to the processing request;
a second transmission unit that uses a result of the determination by the second determination unit to transmit data for displaying on a screen to the terminal device;
Equipped with
The second transmission unit
When a second condition is satisfied, including the second determination unit determining that the second low remaining amount condition is satisfied, data for displaying a first type screen, which is a screen for inputting an order application for the consumables, is transmitted to the terminal device;
If the second condition is not satisfied, data for displaying a second type screen that is different from the first type screen and on which the order application for the consumables cannot be input is transmitted to the terminal device.
Control device.
前記第1送信部は、前記第1条件が満たされる場合に、前記第1通知を第1の端末装置と第2の端末装置とに送信し、
前記第2送信部は、前記第1の端末装置による前記第1種画面の表示中に前記第1種画面の表示のためのデータを前記第2の端末装置に送信する場合、他の端末装置によって前記第1種画面が表示されていることを示す情報を含む前記第1種画面の表示のためのデータを前記第2の端末装置に送信する、
制御装置。 The control device according to claim 1,
the first transmission unit transmits the first notification to a first terminal device and a second terminal device when the first condition is satisfied;
when transmitting data for displaying the first-type screen to the second terminal device while the first terminal device is displaying the first-type screen, the second transmission unit transmits data for displaying the first-type screen, including information indicating that the first-type screen is being displayed by another terminal device, to the second terminal device;
Control device.
前記第1送信部は、
前記第1通知を第1の端末装置に送信し、
前記第1の端末装置への前記第1通知の送信後、待ち時間内に前記第1の端末装置から前記発注申請が発行されない場合に、前記第1通知を第2の端末装置に送信する、
制御装置。 The control device according to claim 1 or 2,
The first transmission unit
Sending the first notification to a first terminal device;
if the order application is not issued from the first terminal device within a waiting time after the first notification is sent to the first terminal device, the first notification is sent to a second terminal device;
Control device.
前記印刷実行部は、L種類(Lは1以上の整数)の消耗品を有し、
前記第1判断部は、前記L種類の消耗品に対応するL個の第1低残量条件のそれぞれが満たされるか否かを判断し、
前記L個の第1低残量条件のそれぞれは、前記第1低残量条件に対応する消耗品である第1注目消耗品の残量が前記第1注目消耗品に対応する第1閾値以下であることを示し、
前記第1条件は、M種類(Mは、1以上、L以下の整数)の消耗品に対応するM個の第1低残量条件が満たされると前記第1判断部によって判断されることを含み、
前記処理要求は、1種類以上の消耗品の発注のための処理の要求であり、
前記第2判断部は、前記L種類の消耗品に対応するL個の第2低残量条件のそれぞれが満たされるか否かを判断し、
前記L個の第2低残量条件のそれぞれは、前記第2低残量条件に対応する消耗品である第2注目消耗品の残量が前記第2注目消耗品に対応する第2閾値以下であることを示し、
前記第2条件は、N種類(Nは、1以上、L以下の整数)の消耗品に対応するN個の第2低残量条件が満たされると前記第2判断部によって判断されることを含み、
前記制御装置は、さらに、
1種類以上の消耗品の準備のための処理であって前記発注申請に基づいて実行される処理である準備処理の進行中の期間である準備処理期間には、新たな発注申請に基づく準備処理を禁止する発注制御部を備える、
制御装置。 4. The control device according to claim 1,
the print execution unit has L types of consumables (L is an integer of 1 or more),
the first determination unit determines whether or not each of L first low remaining amount conditions corresponding to the L types of consumables is satisfied;
Each of the L first low remaining amount conditions indicates that the remaining amount of a first target consumable, which is a consumable corresponding to the first low remaining amount condition, is equal to or less than a first threshold value corresponding to the first target consumable,
the first condition includes a determination by the first determination unit that M first low remaining amount conditions corresponding to M types of consumables (M is an integer of 1 or more and L or less) are satisfied;
the processing request is a processing request for ordering one or more types of consumables;
the second determination unit determines whether or not each of L second low remaining amount conditions corresponding to the L types of consumables is satisfied;
Each of the L second low remaining amount conditions indicates that the remaining amount of a second target consumable, which is a consumable corresponding to the second low remaining amount condition, is equal to or less than a second threshold value corresponding to the second target consumable,
the second condition includes a determination by the second determination unit that N second low level conditions corresponding to N types of consumables (N is an integer of 1 or more and L or less) are satisfied;
The control device further
an order control unit that prohibits a preparation process based on a new order application during a preparation processing period during which a preparation process for preparing one or more types of consumables is in progress, the preparation processing being a process executed based on the order application;
Control device.
前記印刷実行部は、L種類(Lは2以上の整数)の消耗品を有し、
前記第1判断部は、前記L種類の消耗品に対応するL個の第1低残量条件のそれぞれが満たされるか否かを判断し、
前記L個の第1低残量条件のそれぞれは、前記第1低残量条件に対応する消耗品である第1注目消耗品の残量が前記第1注目消耗品に対応する第1閾値以下であることを示し、
前記第1条件は、M種類(Mは、1以上、L以下の整数)の消耗品に対応するM個の第1低残量条件が満たされると前記第1判断部によって判断されることを含み、
前記処理要求は、1種類以上の消耗品の発注のための処理の要求であり、
前記第2判断部は、前記L種類の消耗品に対応するL個の第2低残量条件のそれぞれが満たされるか否かを判断し、
前記L個の第2低残量条件のそれぞれは、前記第2低残量条件に対応する消耗品である第2注目消耗品の残量が前記第2注目消耗品に対応する第2閾値以下であることを示し、
前記第2条件は、N種類(Nは、1以上、L以下の整数)の消耗品に対応するN個の第2低残量条件が満たされると前記第2判断部によって判断されることを含み、
前記制御装置は、さらに、
U種類(Uは、1以上、L未満の整数)の消耗品の準備のための処理であって前記発注申請に基づいて実行される処理である準備処理の進行中の期間である準備処理期間には、前記U種類の消耗品に含まれる消耗品の新たな発注申請に基づく準備処理を禁止し、前記U種類の消耗品に含まれない消耗品の新たな発注申請に基づく準備処理を許容する、発注制御部を備える、
制御装置。 4. The control device according to claim 1,
the print execution unit has L types of consumables (L is an integer of 2 or more),
the first determination unit determines whether or not each of L first low remaining amount conditions corresponding to the L types of consumables is satisfied;
Each of the L first low remaining amount conditions indicates that the remaining amount of a first target consumable, which is a consumable corresponding to the first low remaining amount condition, is equal to or less than a first threshold value corresponding to the first target consumable,
the first condition includes a determination by the first determination unit that M first low remaining amount conditions corresponding to M types of consumables (M is an integer of 1 or more and L or less) are satisfied;
the processing request is a processing request for ordering one or more types of consumables;
the second determination unit determines whether or not each of L second low remaining amount conditions corresponding to the L types of consumables is satisfied;
Each of the L second low remaining amount conditions indicates that the remaining amount of a second target consumable, which is a consumable corresponding to the second low remaining amount condition, is equal to or less than a second threshold value corresponding to the second target consumable,
the second condition includes a determination by the second determination unit that N second low level conditions corresponding to N types of consumables (N is an integer of 1 or more and L or less) are satisfied;
The control device further
an order control unit that prohibits preparation processing based on a new order application for a consumable that is included in the U types of consumables (U is an integer of 1 or more and less than L) during a preparation processing period during which the preparation processing is in progress and is a processing that is executed based on the order application for preparing U types of consumables, and allows preparation processing based on a new order application for a consumable that is not included in the U types of consumables;
Control device.
前記発注申請の発行を示す第1データを取得する第1取得部と、
前記発注申請に基づいて発送された消耗品の受領確認の発行を示す第2データを取得する第2取得部と、
を有し、
前記準備処理期間は、前記第1データの取得から前記第2データの取得までの期間である、
制御装置。 The control device according to claim 4 or 5, further comprising:
a first acquisition unit that acquires first data indicating the issuance of the order application;
a second acquisition unit that acquires second data indicating the issuance of a receipt confirmation for the consumables shipped based on the order application;
and
the preparation processing period is a period from acquisition of the first data to acquisition of the second data;
Control device.
前記第1条件は、さらに、現在が前記準備処理期間内ではないことを含む、
制御装置。 7. The control device according to claim 4,
The first condition further includes that the current time is not within the preparation processing period.
Control device.
前記印刷実行部から前記消耗品の前記残量に関連するデータである残量関連データを取得する第3取得部を有し、
前記第1判断部は、前記第3取得部によって取得される第1の残量関連データを使用して、前記第1低残量条件が満たされるか否かを判断し、
前記第2判断部は、前記第3取得部によって取得される第2の残量関連データを使用して、前記第2低残量条件が満たされるか否かを判断する、
制御装置。 The control device according to any one of claims 1 to 7, further comprising:
a third acquisition unit that acquires remaining amount-related data, which is data related to the remaining amount of the consumable, from the print execution unit;
the first determination unit determines whether the first low remaining amount condition is satisfied by using the first remaining amount-related data acquired by the third acquisition unit;
the second determination unit determines whether the second low remaining amount condition is satisfied by using the second remaining amount-related data acquired by the third acquisition unit;
Control device.
印刷実行部の消耗品の残量が第1閾値以下であることを示す第1低残量条件が満たされるか否かを判断する第1判断機能と、
前記第1低残量条件が満たされると前記第1判断機能によって判断されることを含む第1条件が満たされる場合に、前記第1低残量条件が満たされることを示す第1通知を端末装置に送信する第1送信機能と、
前記第1通知を受信した前記端末装置から前記消耗品の発注のための処理の要求である処理要求を受信する受信機能と、
前記処理要求に応じて、前記消耗品の残量が第2閾値以下であることを示す第2低残量条件が満たされるか否かを判断する第2判断機能と、
前記第2判断機能による判断の結果を使用して、画面の表示のためのデータを前記端末装置に送信する第2送信機能と、
をコンピュータに実現させ、
前記第2送信機能は、
前記第2低残量条件が満たされると前記第2判断機能によって判断されることを含む第2条件が満たされる場合には、前記消耗品の発注申請を入力するための画面である第1種画面の表示のためのデータを前記端末装置に送信し、
前記第2条件が満たされない場合には、前記第1種画面とは異なる第2種画面であって、前記消耗品の発注申請の入力ができない画面である前記第2種画面の表示のためのデータを前記端末装置に送信する、
コンピュータプログラム。 A computer program comprising:
a first determination function that determines whether a first low remaining amount condition is satisfied, which indicates that the remaining amount of the consumable in the printing unit is equal to or less than a first threshold;
a first transmission function that transmits a first notification to a terminal device indicating that the first low remaining amount condition is satisfied when a first condition is satisfied, the first condition including the first determination function determining that the first low remaining amount condition is satisfied;
a receiving function for receiving a processing request, which is a processing request for ordering the consumables, from the terminal device that has received the first notification;
a second determination function that determines whether a second low remaining amount condition indicating that the remaining amount of the consumable is equal to or less than a second threshold is satisfied in response to the processing request;
a second transmission function that uses a result of the determination by the second determination function to transmit data for display on a screen to the terminal device;
This is realized on a computer,
The second transmission function
When a second condition is satisfied, including the second determination function determining that the second low remaining amount condition is satisfied, data for displaying a first type screen, which is a screen for inputting an order application for the consumables, is transmitted to the terminal device;
If the second condition is not satisfied, data for displaying a second type screen that is different from the first type screen and on which the order application for the consumables cannot be input is transmitted to the terminal device.
Computer program.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021213921A JP7761874B2 (en) | 2021-12-28 | 2021-12-28 | Control device and computer program |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2021213921A JP7761874B2 (en) | 2021-12-28 | 2021-12-28 | Control device and computer program |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JP2023097676A JP2023097676A (en) | 2023-07-10 |
| JP7761874B2 true JP7761874B2 (en) | 2025-10-29 |
Family
ID=87072303
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP2021213921A Active JP7761874B2 (en) | 2021-12-28 | 2021-12-28 | Control device and computer program |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JP7761874B2 (en) |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007052570A (en) | 2005-08-17 | 2007-03-01 | Fuji Xerox Co Ltd | Ordering system, information processor and control method and program for computer |
| WO2013062508A1 (en) | 2011-10-24 | 2013-05-02 | Hewlett-Packard Development Company, L.P. | Ordering replacement printer consumables |
| JP2013105097A (en) | 2011-11-15 | 2013-05-30 | Sharp Corp | Image forming apparatus, ordering method for consumables of image forming apparatus |
| JP2014027488A (en) | 2012-07-26 | 2014-02-06 | Sharp Corp | Notification system |
| JP2016194904A (en) | 2015-03-31 | 2016-11-17 | ブラザー工業株式会社 | Information processing device |
| JP2016194903A (en) | 2015-03-31 | 2016-11-17 | ブラザー工業株式会社 | Information processing apparatus |
-
2021
- 2021-12-28 JP JP2021213921A patent/JP7761874B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007052570A (en) | 2005-08-17 | 2007-03-01 | Fuji Xerox Co Ltd | Ordering system, information processor and control method and program for computer |
| WO2013062508A1 (en) | 2011-10-24 | 2013-05-02 | Hewlett-Packard Development Company, L.P. | Ordering replacement printer consumables |
| JP2013105097A (en) | 2011-11-15 | 2013-05-30 | Sharp Corp | Image forming apparatus, ordering method for consumables of image forming apparatus |
| JP2014027488A (en) | 2012-07-26 | 2014-02-06 | Sharp Corp | Notification system |
| JP2016194904A (en) | 2015-03-31 | 2016-11-17 | ブラザー工業株式会社 | Information processing device |
| JP2016194903A (en) | 2015-03-31 | 2016-11-17 | ブラザー工業株式会社 | Information processing apparatus |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2023097676A (en) | 2023-07-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6582756B2 (en) | Image recording apparatus and control program | |
| US7280772B2 (en) | Method for detecting whether a cartridge installed in an imaging apparatus is potentially counterfeit | |
| JP2016194770A (en) | Server device and control program | |
| US12112083B2 (en) | Server, transfer method, and non-transitory computer-readable storage medium therefor | |
| US20160062293A1 (en) | Device Management Apparatus, Recording Medium and Device Management Method That Enables To Supply Replenishing or Replacement Efficiently | |
| JP7504591B2 (en) | Recording device, system, server system, control method for recording device, and program | |
| JP7673465B2 (en) | Recording device and recording system | |
| JP7037114B2 (en) | Information processing equipment and computer programs | |
| CN111629112B (en) | Image forming apparatus, control method thereof, image forming system, and storage medium | |
| JP7761874B2 (en) | Control device and computer program | |
| US20160291963A1 (en) | Image Processing Apparatus, Distribution Server, Management Server, and Computer Readable Storage Medium | |
| JP2008152419A (en) | Printing system, printing apparatus, and license management method for printing system | |
| US12001740B2 (en) | Printer, computer-readable medium, and method to properly perform user cleaning | |
| US11687295B2 (en) | Computer-readable medium, printing system, and method to perform printing while preventing insufficient amount of consumables | |
| US12003683B2 (en) | Server for device information management system for registering services, and non-transitory computer-readable recording medium therefor | |
| JP7783557B2 (en) | Print execution unit control device and computer program | |
| JP4992700B2 (en) | Printing system, print server, printing control method, computer program | |
| JP7047531B2 (en) | Programs and information processing equipment | |
| JP7037115B2 (en) | Printing equipment and system | |
| US12189998B2 (en) | Recording device configured to execute initial introduction including supplying coloring agent to an inkjet head to enable recording operation, recording system and control method therefor | |
| US20250292051A1 (en) | Consumable management system and consumable management apparatus | |
| JP2020166361A (en) | Servers and computer programs for servers | |
| JP7666077B2 (en) | Printing system, printing device, and server | |
| JP2019160335A (en) | Server device and control program | |
| US20220318734A1 (en) | Management program and management method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20241213 |
|
| A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20250902 |
|
| 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: 20250917 |
|
| A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20250930 |
|
| R150 | Certificate of patent or registration of utility model |
Ref document number: 7761874 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |