[go: up one dir, main page]

JP2020095562A - Information collection device, method for controlling information collection device, and program - Google Patents

Information collection device, method for controlling information collection device, and program Download PDF

Info

Publication number
JP2020095562A
JP2020095562A JP2018234131A JP2018234131A JP2020095562A JP 2020095562 A JP2020095562 A JP 2020095562A JP 2018234131 A JP2018234131 A JP 2018234131A JP 2018234131 A JP2018234131 A JP 2018234131A JP 2020095562 A JP2020095562 A JP 2020095562A
Authority
JP
Japan
Prior art keywords
information
expected value
printer
collected
control unit
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.)
Pending
Application number
JP2018234131A
Other languages
Japanese (ja)
Inventor
圭朗 川野
Keiro Kawano
圭朗 川野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2018234131A priority Critical patent/JP2020095562A/en
Publication of JP2020095562A publication Critical patent/JP2020095562A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

To collect information at an appropriate collection interval according to the frequency of variations in the information.SOLUTION: A PC 2 collects information indicating the state of a printer 1, sets an expectation value for variations in the information based on the frequency of variations in the information, after the setting of the expectation value, integrates the expectation values for every information collection timing, and provided that the a value obtained by integrating the expectation values exceeds a threshold, collects the information. After setting an initial expectation value that is an initial value of the expectation value, when the collected information varies, the PC 2 updates a current expectation value that is the currently-set expectation value, based on the number of information collection timings from when the current expectation value is set until when the information varies.SELECTED DRAWING: Figure 1

Description

本発明は、プリンターの状態を示す情報を収集する情報収集装置、情報収集装置の制御方法、およびプログラムに関するものである。 The present invention relates to an information collecting device that collects information indicating the status of a printer, a control method of the information collecting device, and a program.

従来、特許文献1に示すように、印刷機能およびスキャン機能を有する複合機から、各機能を実行した履歴を取得し、取得した履歴に応じて、各機能に予め関連づけられている情報の収集間隔を設定する情報収集装置が知られている。 Conventionally, as shown in Patent Document 1, a history of executing each function is acquired from a multi-function peripheral having a print function and a scan function, and according to the acquired history, a collection interval of information previously associated with each function. There is known an information collecting device for setting.

特開2014−149645号公報JP, 2014-149645, A

従来の情報収集装置では、例えば印刷機能に第1の情報が関連付けられている場合、印刷機能の実行履歴に応じて、第1の情報の収集間隔が設定される。したがって、印刷機能の実行頻度は高いが、第1の情報の変動頻度は少ない場合など、機能の実行頻度と情報の変動頻度とに差異が生じた場合、適切な収集間隔で情報を収集することができない。 In the conventional information collecting apparatus, for example, when the first information is associated with the print function, the collection interval of the first information is set according to the execution history of the print function. Therefore, when there is a difference between the function execution frequency and the information change frequency, such as when the print function is executed frequently, but the first information change frequency is low, information should be collected at an appropriate collection interval. I can't.

本発明の情報収集装置は、プリンターの状態を示す情報を収集する情報収集装置であって、情報の変動頻度に基づいて、情報が変動する期待値を設定し、期待値の設定後は、情報の収集タイミングごとに期待値を積算し、期待値を積算した値がしきい値を超えたことを条件として、情報を収集する制御部、を備える。 The information collecting apparatus of the present invention is an information collecting apparatus that collects information indicating the state of a printer, sets an expected value at which the information fluctuates based on the frequency of change of the information, and after setting the expected value, the information And a control unit that collects information on condition that the expected value is integrated at each collection timing and the value obtained by integrating the expected value exceeds a threshold value.

本発明の情報収集装置の制御方法は、プリンターの状態を示す情報を収集する情報収集装置の制御方法であって、情報の変動頻度に基づいて、情報が変動する期待値を設定し、期待値の設定後は、情報の収集タイミングごとに期待値を積算し、期待値を積算した値がしきい値を超えたことを条件として、情報を収集する。 The control method of the information collecting apparatus of the present invention is a control method of the information collecting apparatus that collects information indicating the status of the printer, and sets an expected value at which the information fluctuates based on the fluctuation frequency of the information. After setting, the expected value is integrated at each information collection timing, and information is collected on condition that the value obtained by integrating the expected values exceeds the threshold value.

本発明のプログラムは、プリンターの状態を示す情報を収集する情報収集装置の制御部に、情報の変動頻度に基づいて、情報が変動する期待値を設定し、期待値の設定後は、情報の収集タイミングごとに期待値を積算し、期待値を積算した値がしきい値を超えたことを条件として、情報を収集するステップ、を実行させる。 The program of the present invention sets, in the control unit of the information collecting apparatus that collects information indicating the status of the printer, an expected value at which the information fluctuates, based on the frequency of the information fluctuation. The expected value is integrated at each collection timing, and the step of collecting information is executed on condition that the value obtained by integrating the expected value exceeds a threshold value.

情報収集システムのシステム構成図である。It is a system configuration diagram of an information collecting system. プリンターのハードウェア構成を示すブロック図である。FIG. 3 is a block diagram showing a hardware configuration of a printer. PCのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of PC. サーバーのハードウェア構成を示すブロック図である。It is a block diagram which shows the hardware constitutions of a server. 第1実施形態に係る情報収集処理の流れを示すフローチャートである。It is a flow chart which shows a flow of information collection processing concerning a 1st embodiment. 図5に続くフローチャートである。It is a flowchart following FIG. 第2実施形態に係る収集条件テーブルの一例を示す図である。It is a figure which shows an example of the collection condition table which concerns on 2nd Embodiment. 第2実施形態に係る情報収集処理の流れを示すフローチャートである。It is a flow chart which shows a flow of information collection processing concerning a 2nd embodiment. 変形例3−1に係る情報収集システムのブロック図である。It is a block diagram of the information collection system concerning the modification 3-1. 変形例3−2に係る情報収集システムのブロック図である。It is a block diagram of the information gathering system concerning modification 3-2.

[第1実施形態]
以下、一実施形態に係る情報収集装置、情報収集装置の制御方法、およびプログラムについて、添付図面を参照して説明する。図1は、第1実施形態に係る情報収集システムSY1のシステム構成図である。情報収集システムSY1は、1台以上のプリンター1と、PC(Personal Computer)2と、サーバー3と、を備える。プリンター1は、「プリンター」の一例であり、PC2は、「情報収集装置」の一例である。
[First Embodiment]
Hereinafter, an information collecting device, a method of controlling the information collecting device, and a program according to an embodiment will be described with reference to the accompanying drawings. FIG. 1 is a system configuration diagram of an information collecting system SY1 according to the first embodiment. The information collecting system SY1 includes one or more printers 1, a PC (Personal Computer) 2, and a server 3. The printer 1 is an example of a “printer”, and the PC 2 is an example of an “information collection device”.

情報収集システムSY1の導入例としては、プリンター1の情報管理サービスを提供する情報管理会社が、サーバー3を運営および管理し、情報管理サービスの提供を受ける客先に、PC2が設置されることが考えられる。PC2は、客先が使用するプリンター1の情報を収集し、収集した情報をサーバー3に送信する。 As an introduction example of the information collection system SY1, an information management company that provides an information management service for the printer 1 operates and manages the server 3, and the PC 2 is installed at a customer who receives the information management service. Conceivable. The PC 2 collects information on the printer 1 used by the customer, and transmits the collected information to the server 3.

プリンター1とPC2は、第1のネットワークNW1を介して接続される。第1のネットワークNW1は、例えばLAN(Local Area Network)である。また、PC2とサーバー3は、第2のネットワークNW2を介して接続される。第2のネットワークNW2は、例えばインターネット通信網である。なお、第1のネットワークNW1と第2のネットワークNW2は、共通のネットワークでもよい。 The printer 1 and the PC 2 are connected via the first network NW1. The first network NW1 is, for example, a LAN (Local Area Network). Further, the PC 2 and the server 3 are connected via the second network NW2. The second network NW2 is, for example, an internet communication network. The first network NW1 and the second network NW2 may be a common network.

PC2は、プリンター1に対して印刷指示を行うと共に、プリンター1からプリンター1の状態を示す情報の収集を行う。プリンター1の状態を示す情報としては、例えば機器情報、消耗品情報および操作情報、などが考えられる。機器情報には、例えばプリンター1のハードウェア構成・ソフトウェア構成に関する情報、動作ログ、エラーや警告などのステータス情報、各種設定値などが含まれる。また、消耗品情報には、プリンター1が用いる着色剤に関する着色剤情報、プリンター1が用いる印刷媒体に関する印刷媒体情報、着色剤や印刷媒体などの消耗品の使用実績に応じたプリンター1の課金情報などが含まれる。さらに、着色剤情報には、プリンター1がインクジェットプリンターの場合、インクカートリッジに関する情報が含まれる。また、印刷媒体情報には、印刷媒体がコピー用紙の場合、用紙カセットに関する情報が含まれる。一方、操作情報には、ユーザー操作の履歴である操作ログなどが含まれる。 The PC 2 gives a print instruction to the printer 1 and collects information indicating the state of the printer 1 from the printer 1. The information indicating the state of the printer 1 may be, for example, device information, consumable information, and operation information. The device information includes, for example, information about the hardware and software configurations of the printer 1, operation logs, status information such as errors and warnings, various set values, and the like. The consumable item information includes colorant information about the colorant used by the printer 1, print medium information about the print medium used by the printer 1, and billing information of the printer 1 according to the usage record of the consumable item such as the colorant and the print medium. Etc. are included. Further, the colorant information includes information about the ink cartridge when the printer 1 is an inkjet printer. Further, the print medium information includes information about a paper cassette when the print medium is copy paper. On the other hand, the operation information includes an operation log that is a history of user operations.

PC2は、各プリンター1から収集した情報をサーバー3に送信する。サーバー3は、PC2から送信された情報をデータベースに保存し、情報を管理する。サーバー3は、データベースに保存された情報を利用して、プリンター1の保守および点検に関する指示、消耗品の配送計画作成、消耗品の消費量に応じた課金、などを行う。 The PC 2 transmits the information collected from each printer 1 to the server 3. The server 3 stores the information transmitted from the PC 2 in a database and manages the information. The server 3 uses the information stored in the database to give instructions regarding maintenance and inspection of the printer 1, prepare a delivery plan for consumables, and charge for the consumption of consumables.

図2は、プリンター1のハードウェア構成を示すブロック図である。プリンター1は、プリンター制御部11と、プリンター操作部12と、プリンター表示部13と、プリンターエンジン14と、プリンター通信部15と、プリンター記憶部16と、を備える。プリンター1の印刷方式は、特に限定しないが、例えばインクジェット方式、電子写真方式 、熱転写方式、感熱式などが考えられる。 FIG. 2 is a block diagram showing the hardware configuration of the printer 1. The printer 1 includes a printer control unit 11, a printer operation unit 12, a printer display unit 13, a printer engine 14, a printer communication unit 15, and a printer storage unit 16. The printing method of the printer 1 is not particularly limited, but, for example, an inkjet method, an electrophotographic method, a thermal transfer method, a heat-sensitive method and the like can be considered.

プリンター制御部11は、CPU(Central Processing Unit)等のプロセッサーの他、ROM(Read Only Memory)およびRAM(Random Access Memory)等を含み、プリンター1内の各部を制御する。プリンター操作部12は、ユーザーがプリンター1に対する各種操作を行うために用いられる。プリンター表示部13は、プリンター1の機器構成、消耗品情報および操作情報など、各種情報を表示する。 The printer control unit 11 includes a processor such as a CPU (Central Processing Unit), a ROM (Read Only Memory) and a RAM (Random Access Memory), and controls each unit in the printer 1. The printer operation unit 12 is used by the user to perform various operations on the printer 1. The printer display unit 13 displays various information such as the device configuration of the printer 1, consumable information, and operation information.

プリンターエンジン14は、コピー用紙等の印刷媒体に印刷を行う印刷機構である。例えば、プリンター1がインクジェットプリンターの場合、プリンターエンジン14には、インクジェットヘッド、ヘッド駆動機構、印刷媒体搬送機構などが含まれる。プリンター通信部15は、第1のネットワークNW1を介して、PC2と通信を行う。 The printer engine 14 is a printing mechanism that prints on a print medium such as copy paper. For example, when the printer 1 is an inkjet printer, the printer engine 14 includes an inkjet head, a head drive mechanism, a print medium transport mechanism, and the like. The printer communication unit 15 communicates with the PC 2 via the first network NW1.

プリンター記憶部16は、例えばフラッシュメモリーであり、ファームウェアなどを記憶する。ファームウェアは、プリンター1を制御するための制御プログラムである。プリンター制御部11は、このファームウェアに基づいて、PC2との通信制御およびプリンターエンジン14の印刷制御を行う。また、プリンター制御部11は、このファームウェアに基づいて、プリンター1の状態を示す情報の検出を行う。 The printer storage unit 16 is, for example, a flash memory and stores firmware and the like. The firmware is a control program for controlling the printer 1. The printer control unit 11 controls communication with the PC 2 and print control of the printer engine 14 based on this firmware. Further, the printer control unit 11 detects information indicating the state of the printer 1 based on this firmware.

なお、プリンター制御部11は、PC2からの情報要求に基づいて、情報を検出してもよいし、定期的に情報を検出しておき、検出した情報を、RAM等に一時的に記憶しておく構成でもよい。後者の場合、プリンター制御部11は、PC2からの情報要求に対して、RAM等から情報を読み出し、読み出した情報をPC2に提供する。 The printer control unit 11 may detect the information based on the information request from the PC 2, or may detect the information periodically and temporarily store the detected information in a RAM or the like. You may set it up. In the latter case, the printer control unit 11 reads the information from the RAM or the like in response to the information request from the PC 2 and provides the read information to the PC 2.

図3は、PC2のハードウェア構成を示すブロック図である。PC2は、PC制御部21と、PC計時部22と、PC操作部23と、PC表示部24と、PC第1通信部25と、PC第2通信部26と、PC記憶部27と、を備える。なお、PC制御部21は、「制御部」の一例である。 FIG. 3 is a block diagram showing the hardware configuration of the PC 2. The PC 2 includes a PC control unit 21, a PC clock unit 22, a PC operation unit 23, a PC display unit 24, a PC first communication unit 25, a PC second communication unit 26, and a PC storage unit 27. Prepare The PC control unit 21 is an example of a “control unit”.

PC制御部21は、CPU等のプロセッサー、ROMおよびRAM等を含み、PC2内の各部を制御する。PC計時部22は、プリンター1から情報を収集する収集タイミングを決定するため、情報を収集する時間間隔を計時する。なお、収集タイミングとは、情報を収集する通信セッションの開始タイミングを指す。本実施形態において、PC制御部21は、一定の時間間隔で通信セッションを開始するものとする。また、PC計時部22は、情報収集ログとして情報収集時刻を記録するため、現在時刻を計時する。 The PC control unit 21 includes a processor such as a CPU, a ROM and a RAM, and controls each unit in the PC 2. The PC clock unit 22 measures a time interval for collecting information in order to determine a collection timing for collecting information from the printer 1. The collection timing refers to the start timing of a communication session that collects information. In this embodiment, the PC control unit 21 starts a communication session at regular time intervals. Further, the PC clock unit 22 records the information collection time as an information collection log, and therefore measures the current time.

PC操作部23は、例えばキーボードやマウスであり、プリンター1に対する印刷指示や、情報収集に関する各種設定など、ユーザーが各種操作を行うために用いられる。PC表示部24は、例えば液晶ディスプレーであり、印刷データや、プリンター1から収集した情報など、各種情報を表示する。PC第1通信部25は、第1のネットワークNW1を介して、プリンター1と通信を行う。PC第2通信部26は、第2のネットワークNW2を介して、サーバー3と通信を行う。 The PC operation unit 23 is, for example, a keyboard or a mouse, and is used by the user to perform various operations such as print instructions for the printer 1 and various settings related to information collection. The PC display unit 24 is, for example, a liquid crystal display, and displays various information such as print data and information collected from the printer 1. The PC first communication unit 25 communicates with the printer 1 via the first network NW1. The second PC communication unit 26 communicates with the server 3 via the second network NW2.

PC記憶部27は、例えばHDD(Hard Disk Drive)であり、OS(Operating System)、印刷ドライバー、情報収集プログラム、情報収集設定ファイルおよび情報収集ログなどを記憶する。情報収集プログラムは、「プログラム」の一例である。OSは、情報収集プログラムなどのアプリケーションプログラムを動作させるための基本ソフトウェアである。印刷ドライバーは、プリンター1が読み取り可能なコマンド体系の印刷データを生成するなど、プリンター1の印刷制御を行うための制御プログラムである。情報収集プログラムは、プリンター1から情報を収集し、収集した情報をサーバー3に送信するエージェントプログラムである。PC制御部21は、この情報収集プログラムに基づいて、情報の収集頻度を変更したり収集する情報を絞り込んだり、などの制御を行う。詳細については、後述する。 The PC storage unit 27 is, for example, an HDD (Hard Disk Drive) and stores an OS (Operating System), a print driver, an information collection program, an information collection setting file, an information collection log, and the like. The information collection program is an example of a “program”. The OS is basic software for operating an application program such as an information collecting program. The print driver is a control program for performing print control of the printer 1, such as generating print data of a command system that the printer 1 can read. The information collection program is an agent program that collects information from the printer 1 and sends the collected information to the server 3. Based on this information collection program, the PC control unit 21 controls such as changing the information collection frequency and narrowing down the information to be collected. Details will be described later.

一方、情報収集設定ファイルは、収集対象となる情報の項目が設定されたファイルである。本実施形態では、情報収集設定ファイルとして、収集対象となる情報の項目と、しきい値と、が設定された情報しきい値テーブルが記憶される。ここで、「項目」とは、「カートリッジ製造番号」や「インク残量」などを指す。また、「情報」とは、例えば、項目「カートリッジ製造番号」については、「CA1234」などを指し、項目「インク残量」については、「多い」、「100ml」などを指す。PC制御部21は、情報収集設定ファイルに設定されている項目の情報を、プリンター1から収集する。一方、「しきい値」とは、対応する項目の情報を収集するか否かの判別基準となる値である。なお、情報収集設定ファイルは、PC表示部24に表示させ、PC操作部23の操作によって編集可能である。また、情報収集設定ファイルは、必ずしも、PC2内に記憶されていなくてもよく、PC2と通信可能な外部装置内に記憶されていてもよい。 On the other hand, the information collection setting file is a file in which items of information to be collected are set. In this embodiment, an information threshold table in which items of information to be collected and threshold values are set is stored as the information collection setting file. Here, "item" refers to "cartridge serial number", "ink remaining amount", and the like. Further, the "information" means, for example, "CA1234" or the like for the item "cartridge serial number", and "more" or "100 ml" or the like for the item "ink remaining amount". The PC control unit 21 collects, from the printer 1, information on items set in the information collection setting file. On the other hand, the "threshold value" is a value serving as a criterion for determining whether or not to collect information on the corresponding item. The information collection setting file can be displayed on the PC display unit 24 and edited by operating the PC operation unit 23. Further, the information collection setting file does not necessarily have to be stored in the PC 2, and may be stored in an external device that can communicate with the PC 2.

情報収集ログは、プリンター1から収集した情報と、情報収集時刻と、を対応付けて記録した情報である。なお、PC2が複数のプリンター1の情報を収集する場合、情報収集設定ファイルおよび情報収集ログは、プリンター1ごとに設定または記録される。 The information collection log is information in which information collected from the printer 1 and information collection time are recorded in association with each other. When the PC 2 collects the information of the plurality of printers 1, the information collection setting file and the information collection log are set or recorded for each printer 1.

図4は、サーバー3のハードウェア構成を示すブロック図である。サーバー3は、サーバー制御部31と、サーバー操作部32と、サーバー表示部33と、サーバー通信部34と、サーバー記憶部35と、を備える。 FIG. 4 is a block diagram showing the hardware configuration of the server 3. The server 3 includes a server control unit 31, a server operation unit 32, a server display unit 33, a server communication unit 34, and a server storage unit 35.

サーバー制御部31は、CPU等のプロセッサー、ROMおよびRAM等を含み、サーバー3内の各部を制御する。サーバー操作部32は、サーバー3を操作するユーザーが各種操作を行うために用いられる。サーバー表示部33は、PC2から送信された情報など、各種情報を表示する。サーバー通信部34は、第2のネットワークNW2を介して、PC2と通信を行う。 The server control unit 31 includes a processor such as a CPU, ROM and RAM, and controls each unit in the server 3. The server operation unit 32 is used by a user who operates the server 3 to perform various operations. The server display unit 33 displays various information such as the information transmitted from the PC 2. The server communication unit 34 communicates with the PC 2 via the second network NW2.

サーバー記憶部35は、OS、情報管理プログラムおよびデータベースなどを記憶する。OSは、情報管理プログラムなどのアプリケーションプログラムを動作させるための基本ソフトウェアである。情報管理プログラムは、PC2から送信された情報を管理するためのサーバープログラムである。データベースは、PC2から送信された情報が格納される。サーバー制御部31は、情報管理プログラムに基づき、データベースに保存された情報を利用して、プリンター1の保守や点検に関する情報の作成、保守や点検に関する外部装置への指示、消耗品の補充・配送計画作成、消耗品の補充・配送指示、消耗品の消費量に応じた課金料金の算出、算出した課金料金の請求など、各種処理を行う。 The server storage unit 35 stores an OS, an information management program, a database, and the like. The OS is basic software for operating an application program such as an information management program. The information management program is a server program for managing the information transmitted from the PC 2. Information transmitted from the PC 2 is stored in the database. Based on the information management program, the server control unit 31 uses information stored in the database to create information about maintenance and inspection of the printer 1, give instructions to external devices regarding maintenance and inspection, and replenish/deliver consumables. Various processes are performed such as planning, instructing replenishment/delivery of consumables, calculation of a charging fee according to the consumption amount of the consumable, and charging of the calculated charging fee.

以上の構成により、PC制御部21は、PC記憶部27に記憶された情報収集設定ファイルに基づき、収集対象となる項目の情報を、PC2に接続された各プリンター1から収集する。このとき、PC制御部21は、情報収集設定ファイルに規定された全ての項目について、収集タイミングごとに毎回情報を収集するのではなく、項目ごとに、情報の変動頻度に基づいて、情報の収集頻度を変更する。 With the above configuration, the PC control unit 21 collects the information of the items to be collected from each printer 1 connected to the PC 2 based on the information collection setting file stored in the PC storage unit 27. At this time, the PC control unit 21 does not collect the information for all the items defined in the information collection setting file every collection timing, but collects the information for each item based on the variation frequency of the information. Change the frequency.

より具体的には、PC制御部21は、計測時間の間、情報の変動頻度を計測し、その計測結果に基づいて、情報が変動する期待値を設定し、設定した期待値を用いて、収集タイミングごとに、情報の収集の要否を判定する。なお、情報の変動頻度を計測する計測時間は、情報ごとに異なる時間であってもよいし、全ての情報について共通する時間であってもよい。また、計測時間は、設定された時間であってもよいし、計測ごとに異なる時間であってもよい。 More specifically, the PC control unit 21 measures the variation frequency of information during the measurement time, sets an expected value at which the information varies based on the measurement result, and uses the set expected value, The necessity of information collection is determined for each collection timing. The measurement time for measuring the variation frequency of information may be different for each information, or may be a time common to all information. The measurement time may be a set time or may be a different time for each measurement.

まず、PC制御部21は、計測時間の間、情報の変動頻度を計測して、期待値の初期値である初回期待値を設定する。初回期待値は、計測時間中において、前回収集した情報から今回収集した情報が変動した回数を、計測時間中の収集回数で割った商として算出される。例えば、計測時間中の収集回数が30回で、前回収集した情報から今回収集した情報が変動した回数が6回の場合、初回期待値を20%とする。このとき、PC制御部21は、予め設定された最低期待値以下とならないように初回期待値を設定する。最低期待値は、ゼロより大きい値である。つまり、PC制御部21は、上記の計算式によって算出された初回期待値が、最低期待値以下となった場合、初回期待値を最低期待値に設定する。これにより、初回期待値が極端に小さい値に設定されることを防止できる。 First, the PC control unit 21 measures the variation frequency of information during the measurement time and sets the initial expected value, which is the initial value of the expected value. The initial expected value is calculated as the quotient of the number of times the information collected this time has changed from the information collected last time divided by the number of collections during the measurement time during the measurement time. For example, when the number of times of collection during the measurement time is 30 and the number of times the information collected this time has changed from the information collected last time is 6, the initial expected value is set to 20%. At this time, the PC control unit 21 sets the initial expected value so as not to be less than or equal to the preset minimum expected value. The lowest expected value is a value greater than zero. That is, the PC control unit 21 sets the initial expected value to the minimum expected value when the initial expected value calculated by the above calculation formula is less than or equal to the minimum expected value. This can prevent the initial expected value from being set to an extremely small value.

なお、計測時間は、情報収集プログラムの起動時、プリンター1の起動時、若しくは、ユーザーによる情報収集開始操作時を開始点とした時間である。この計測時間の間は、プリンター1の使用実績に適した収集頻度を設定するため、収集する情報の制限は行わない。また、PC制御部21は、設定した初回期待値を、PC制御部21内のRAM等に設けられた、不図示の現在期待値記憶領域に記憶する。現在期待値記憶領域は、現在設定されている期待値である現在期待値を記憶する領域である。初回期待値の設定時は、初回期待値が現在設定値となる。 The measurement time is a time starting from the time when the information collection program is started, the time when the printer 1 is started, or the time when the user starts the information collection operation. During this measurement time, the collection frequency suitable for the usage record of the printer 1 is set, and thus the information to be collected is not limited. Further, the PC control unit 21 stores the set initial expected value in a current expected value storage area (not shown) provided in the RAM or the like in the PC control unit 21. The current expected value storage area is an area for storing a current expected value, which is the currently set expected value. When setting the initial expected value, the initial expected value becomes the current set value.

PC制御部21は、計測時間の経過後、すなわち初回期待値の設定後、情報の収集タイミングごとに期待値を積算し、期待値を積算した値がしきい値を超えたことを条件として、情報を収集する。例えば、初回期待値が20%と設定された場合であって、しきい値が50%の場合、3回目の収集タイミングのときに情報を収集する。なお、収集タイミングごとに積算される期待値の積算値は、PC制御部21内のRAM等に設けられた、不図示の積算期待値記憶領域に記憶される。以下、「期待値の積算値」を積算期待値という。なお、しきい値は、情報収集設定ファイルにて、情報の項目ごとに設定された値である。 The PC control unit 21 integrates the expected value at each information collection timing after the elapse of the measurement time, that is, after setting the initial expected value, and on the condition that the value obtained by integrating the expected values exceeds the threshold value. Collect information. For example, when the initial expected value is set to 20% and the threshold value is 50%, information is collected at the third collection timing. The integrated value of the expected value integrated for each collection timing is stored in an integrated expected value storage area (not shown) provided in the RAM or the like in the PC control unit 21. Hereinafter, the “expected value integrated value” is referred to as an integrated expected value. The threshold value is a value set for each information item in the information collection setting file.

また、PC制御部21は、初回期待値の設定後、情報が変動したとき、期待値を更新する。より具体的には、PC制御部21は、初回期待値の設定後、収集した情報が変動したとき、現在期待値が設定されてから情報が変動するまでの情報の収集タイミングの数に基づいて、現在期待値を更新する。つまり、最新の期待値を考慮して、現在期待値記憶領域を書き換える。最新の期待値は、「現在期待値が設定されてから情報が変動するまでの情報の収集タイミングの数」の逆数により算出される。このように、期待値を更新することにより、より適切な収集間隔で情報を収集することができる。 In addition, the PC control unit 21 updates the expected value when the information changes after setting the initial expected value. More specifically, when the collected information fluctuates after setting the initial expected value, the PC control unit 21 is based on the number of information collection timings from when the currently expected value is set to when the information fluctuates. , Update the current expected value. That is, the current expected value storage area is rewritten in consideration of the latest expected value. The latest expected value is calculated by the reciprocal of "the number of information collection timings from when the current expected value is set to when the information changes". In this way, by updating the expected value, it is possible to collect information at a more appropriate collection interval.

例えば、現在期待値記憶領域に記憶されている現在期待値が20%で、しきい値が50%の場合、3回の収集タイミングのうち1回の割合で情報を収集することになるが、PC制御部21は、現在期待値の設定後、3回目の収集タイミングのときに、情報が変動した場合、最新の期待値が「1回/3回」で33%となるため、現在期待値の20%と、最新の期待値33%と、を平均して、新しい現在期待値を26%とする。一方、この3回目の収集タイミングのときに、情報が変動しなかった場合は、現在期待値を更新しない。また、例えば、現在期待値の設定後、3回目の収集タイミングのときには情報が変動せず、6回目の収集タイミングのときに情報が変動した場合、最新の期待値が「1回/6回」で16%となるため、現在期待値の20%と、最新の期待値16%と、を平均して、新しい現在期待値を18%とする。 For example, if the current expected value stored in the current expected value storage area is 20% and the threshold value is 50%, information will be collected at a rate of once in three collection timings. If the information changes at the third collection timing after setting the current expected value, the PC control unit 21 determines that the latest expected value is “1/3 times”, which is 33%. 20% and the latest expected value 33% are averaged, and the new current expected value is set to 26%. On the other hand, when the information does not change at the third collection timing, the current expected value is not updated. Further, for example, if the information does not change at the third collection timing after setting the current expected value and the information changes at the sixth collection timing, the latest expected value is “1/6 times”. Therefore, the new expected value is 18% by averaging 20% of the current expected value and 16% of the latest expected value.

なお、現在期待値の更新は、現在期待値記憶領域に記憶されている現在期待値と、最新の期待値と、を平均する方法に限らず、現在期待値記憶領域に記憶されている現在期待値と、最新の期待値と、をパラメーターとした所定のアルゴリズムに基づいて行ってもよい。 The update of the current expected value is not limited to the method of averaging the current expected value stored in the current expected value storage area and the latest expected value, and the current expected value stored in the current expected value storage area is not limited to this method. It may be performed based on a predetermined algorithm using the value and the latest expected value as parameters.

なお、PC制御部21は、複数のプリンター1から情報を収集する場合、プリンター1ごとに期待値を設定および更新する。また、PC制御部21は、情報収集設定ファイルに収集対象となる項目が複数設定されており、複数の項目について情報を収集する場合、項目ごとに期待値を設定および更新する。 When collecting information from a plurality of printers 1, the PC control unit 21 sets and updates expected values for each printer 1. Further, the PC control unit 21 sets a plurality of items to be collected in the information collection setting file, and when collecting information on a plurality of items, sets and updates the expected value for each item.

PC制御部21は、プリンター1から情報を収集すると、収集した情報を、PC制御部21内のRAM等に設けられた、不図示の情報記憶領域に一時的に記憶する。PC制御部21は、情報記憶領域に記憶した情報を読み出して、PC記憶部27内の情報収集ログに、収集時刻と共に記録する。また、PC制御部21は、収集した情報をサーバー3に送信する。なお、PC2からサーバー3への情報の送信は、PC2が情報記憶領域に情報を記憶するたびに行う構成でもよいし、計測時間内に収集した情報を、情報収集ログとは別にPC記憶部27内に格納しておき、格納しておいた情報を計測時間経過後に送信する構成でもよい。また、収集した情報をPC記憶部27内に格納しておき、サーバー3から情報送信要求があったとき、若しくはPC操作部23により情報送信操作が行われたときに、PC2からサーバー3へ、格納しておいた情報を送信する構成でもよい。 When the PC control unit 21 collects the information from the printer 1, the PC control unit 21 temporarily stores the collected information in an information storage area (not shown) provided in the RAM or the like in the PC control unit 21. The PC control unit 21 reads out the information stored in the information storage area and records it in the information collection log in the PC storage unit 27 together with the collection time. The PC control unit 21 also transmits the collected information to the server 3. Information may be transmitted from the PC 2 to the server 3 each time the PC 2 stores the information in the information storage area, or the information collected within the measurement time may be stored in the PC storage unit 27 separately from the information collection log. A configuration may be employed in which the stored information is stored inside and the stored information is transmitted after the measurement time has elapsed. In addition, the collected information is stored in the PC storage unit 27, and when the server 3 issues an information transmission request or when the PC operation unit 23 performs an information transmission operation, the PC 2 transfers to the server 3. The configuration may be such that the stored information is transmitted.

図5および図6は、第1実施形態に係る情報収集処理の流れを示すフローチャートである。図5は、初回期待値を設定するまでの処理の流れを示し、図6は、初回期待値を設定した後の処理の流れを示すフローチャートである。情報収集処理は、「情報収集装置の制御方法」の一例である。PC制御部21は、情報収集プログラムの起動、プリンター1の起動、若しくは、ユーザーによる情報収集開始操作をトリガーとして、情報収集処理を開始する。 5 and 6 are flowcharts showing the flow of the information collecting process according to the first embodiment. FIG. 5 shows the flow of processing until the initial expected value is set, and FIG. 6 is a flowchart showing the flow of processing after setting the initial expected value. The information collecting process is an example of “a method of controlling the information collecting device”. The PC control unit 21 starts the information collection process by using the information collection program start-up, the printer 1 start-up, or the user's information collection start operation as a trigger.

PC制御部21は、PC計時部22の計時に基づいて、収集タイミングであるか否かを判別する(S01)。PC制御部21は、収集タイミングではないと判定した場合(S01:NO)、S01を繰り返す。また、PC制御部21は、収集タイミングであると判定した場合(S01:YES)、収集タイミングの回数を計数するためのタイミングカウンターをカウントアップし(S02)、プリンター1から、プリンター1の状態を示す情報を収集する(S03)。このように、初回期待値を設定するまでは、タイミングカウンターの値と情報収集回数とは等しい値となる。なお、S03では、情報収集設定ファイルに複数の情報が設定されている場合、PC2から、それぞれの情報の送信を要求する要求コマンドをプリンター1に送信し、プリンター1が、それらの要求コマンドに対して個々に応答する形で情報を収集する。つまり、それぞれの要求コマンドには、情報の項目を指定するデータが含まれる。後述する、図6のS13の工程についても同様である。また、特に図示しないが、PC制御部21は、S03においてプリンター1から情報を収集できなかった場合、情報収集ログにエラーを記録し、複数回連続して情報を収集できなかった場合、ユーザーに対してエラーを通知する。 The PC control unit 21 determines whether or not it is the collection timing based on the timing of the PC clock unit 22 (S01). When the PC control unit 21 determines that it is not the collection timing (S01: NO), S01 is repeated. When the PC control unit 21 determines that it is the collection timing (S01: YES), the PC control unit 21 counts up the timing counter for counting the number of collection timings (S02), and the status of the printer 1 is changed from the printer 1. The information shown is collected (S03). In this way, the value of the timing counter and the number of times of information collection are equal until the initial expected value is set. In S03, when a plurality of information is set in the information collection setting file, the PC 2 transmits a request command requesting transmission of each information to the printer 1, and the printer 1 responds to the request commands. And collect information in the form of individual responses. That is, each request command includes data designating an item of information. The same applies to the step S13 of FIG. 6, which will be described later. Further, although not particularly shown, the PC control unit 21 records an error in the information collection log when the information cannot be collected from the printer 1 in S03, and when the information cannot be collected continuously a plurality of times, the PC control unit 21 notifies the user. Notify the user of the error.

PC制御部21は、プリンター1から情報を収集すると、前回収集した情報から今回収集した情報が変動したか否かを判別する(S04)。PC制御部21は、情報が変動したと判定した場合(S04:YES)、変動回数を計数するための変動カウンターをカウントアップする(S05)。なお、PC制御部21は、S03が、情報収集処理の開始後、最初の情報収集である場合、S04では、情報が変動していないと判定する。また、PC制御部21は、情報が変動していないと判定した場合(S04:NO)、S05を省略する。その後、PC制御部21は、情報収集処理の開始から計測時間が経過したか否かを判別し(S06)、計測時間が経過していないと判定した場合(S06:NO)、S01に戻る。また、PC制御部21は、計測時間が経過したと判定した場合(S06:YES)、タイミングカウンターの値と、変動カウンターの値と、に基づいて初回期待値を算出し、算出した初回期待値を、現在期待値記憶領域に記憶する(S07)。また、PC制御部21は、タイミングカウンターおよび変動カウンターをリセットする(S08)。 After collecting the information from the printer 1, the PC control unit 21 determines whether the information collected this time has changed from the information collected last time (S04). When determining that the information has changed (S04: YES), the PC control unit 21 counts up the change counter for counting the number of changes (S05). If S03 is the first information collection after the start of the information collection process, the PC control unit 21 determines that the information has not changed in S04. Further, when the PC control unit 21 determines that the information has not changed (S04: NO), S05 is omitted. After that, the PC control unit 21 determines whether or not the measurement time has elapsed from the start of the information collection processing (S06), and when determining that the measurement time has not elapsed (S06: NO), returns to S01. When the PC control unit 21 determines that the measurement time has elapsed (S06: YES), the PC control unit 21 calculates the initial expected value based on the value of the timing counter and the value of the fluctuation counter, and the calculated initial expected value. Is stored in the current expected value storage area (S07). Further, the PC control unit 21 resets the timing counter and the fluctuation counter (S08).

図6に示すように、PC制御部21は、初回期待値を設定した後、収集タイミングであるか否かを判別し(S09)、収集タイミングではないと判定した場合(S09:NO)、S09を繰り返す。また、PC制御部21は、収集タイミングであると判定した場合(S09:YES)、タイミングカウンターをカウントアップする(S10)。また、PC制御部21は、現在期待値記憶領域にされている期待値を積算し(S11)、積算期待値記憶領域に記憶される積算期待値を更新する。PC制御部21は、積算期待値が、予め設定されたしきい値より大きいか否かを判別し(S12)、大きくないと判定した場合は(S12:NO)、S09に戻る。また、PC制御部21は、積算期待値が、予め設定されたしきい値より大きいと判定した場合は(S12:YES)、プリンター1から情報を収集し、積算期待値をリセットする(S13)。 As shown in FIG. 6, after setting the initial expected value, the PC control unit 21 determines whether it is the collection timing (S09), and when it is determined not to be the collection timing (S09: NO), S09. repeat. In addition, when the PC control unit 21 determines that it is the collection timing (S09: YES), the PC control unit 21 increments the timing counter (S10). In addition, the PC control unit 21 integrates the expected values currently stored in the expected value storage area (S11) and updates the integrated expected value stored in the integrated expected value storage area. The PC control unit 21 determines whether or not the expected integrated value is larger than a preset threshold value (S12), and when it is determined not to be larger (S12: NO), returns to S09. Further, when the PC control unit 21 determines that the integrated expected value is larger than the preset threshold value (S12: YES), the PC control unit 21 collects information from the printer 1 and resets the integrated expected value (S13). ..

その後、PC制御部21は、前回収集した情報から今回収集した情報が変動したか否かを判別する(S14)。PC制御部21は、情報が変動したと判定した場合(S14:YES)、現在期待値記憶領域に記憶されている現在期待値と、最新の期待値と、に基づき、期待値を更新する(S15)。また、PC制御部21は、タイミングカウンターをリセットし(S16)、S09に戻る。また、PC制御部21は、情報が変動していないと判定した場合(S14:NO)、期待値を更新することなく、S09に戻る。なお、図6に示す各工程は、情報収集プログラムの終了時、プリンター1の電源切断時、若しくは、ユーザーによる情報収集終了操作時まで、繰り返し実行される。 After that, the PC control unit 21 determines whether the information collected this time has changed from the information collected last time (S14). When determining that the information has changed (S14: YES), the PC control unit 21 updates the expected value based on the current expected value stored in the current expected value storage area and the latest expected value ( S15). Further, the PC control unit 21 resets the timing counter (S16) and returns to S09. If the PC control unit 21 determines that the information has not changed (S14: NO), the PC control unit 21 returns to S09 without updating the expected value. Note that each step shown in FIG. 6 is repeatedly executed until the information collection program ends, the printer 1 is powered off, or the user ends the information collection operation.

以上説明したとおり、第1実施形態によれば、プリンター1の状態を示す情報を収集するPC2が、情報の変動頻度に基づいて初回期待値を設定し、初回期待値の設定後は、情報の収集タイミングごとに期待値を積算した値がしきい値を超えたことを条件として情報を収集するため、情報の変動頻度に見合った、適切な収集間隔で情報を収集することができる。これにより、収集タイミングごとに毎回情報を収集する場合と比較して、情報の収集頻度が少なくなり、PC2とプリンター1とを接続する第1のネットワークNW1の圧迫を軽減できると共に、PC2の電力消費を抑えることができる。 As described above, according to the first embodiment, the PC 2 that collects the information indicating the state of the printer 1 sets the initial expected value based on the frequency of change of the information, and after setting the initial expected value, Since the information is collected on condition that the value obtained by integrating the expected values exceeds the threshold value at each collection timing, the information can be collected at an appropriate collection interval corresponding to the frequency of information fluctuation. As a result, the frequency of information collection is reduced as compared with the case where information is collected every collection timing, and the pressure on the first network NW1 that connects the PC 2 and the printer 1 can be reduced and the power consumption of the PC 2 can be reduced. Can be suppressed.

また、PC2は、予め設定された最低期待値より大きい値となるように初回期待値を設定するため、情報の変動頻度が少ない場合に、情報の収集頻度が極端に少なくなることを防止できる。また、PC2は、初回期待値の設定後、収集した情報が変動したときに、期待値を更新するため、情報の変動頻度が変わった場合でも、適切な収集間隔で情報を収集することができる。 Further, since the PC 2 sets the initial expected value to be a value larger than the preset minimum expected value, it is possible to prevent the information collection frequency from becoming extremely low when the information change frequency is low. Further, since the PC 2 updates the expected value when the collected information fluctuates after setting the initial expected value, it is possible to collect information at an appropriate collection interval even when the fluctuation frequency of information changes. ..

また、PC2は、複数の項目について情報を収集する場合、項目ごとに期待値を設定し、項目ごとに設定した期待値に基づいて項目ごとに情報を収集するため、各項目の情報の変動頻度に見合った、適切な収集間隔で情報を収集することができる。また、PC2は、複数のプリンター1の情報を収集する場合、プリンター1ごとに期待値を設定し、プリンター1ごとに設定した期待値に基づいてプリンター1ごとに情報を収集するため、各プリンター1における情報の変動頻度に見合った、適切な収集間隔で情報を収集することができる。さらに、PC2は、プリンター1から収集した情報を、情報を管理するサーバー3に送信するため、サーバー3において、情報を有効活用することができる。 Further, when collecting information about a plurality of items, the PC 2 sets an expected value for each item, and collects information for each item based on the expected value set for each item. Information can be collected at an appropriate collection interval commensurate with. Further, when collecting information of a plurality of printers 1, the PC 2 sets an expected value for each printer 1 and collects information for each printer 1 based on the expected value set for each printer 1. It is possible to collect information at an appropriate collection interval corresponding to the frequency of change of information in. Furthermore, since the PC 2 transmits the information collected from the printer 1 to the server 3 that manages the information, the server 3 can effectively utilize the information.

なお、第1実施形態では、以下の変形例を採用可能である。
[変形例1−1]
第1実施形態において、情報を収集するか否かの判別基準となるしきい値は、情報収集設定ファイルにて、項目ごとに設定された値であるものとしたが、全ての項目について共通する値であってもよい。また、情報収集設定ファイルは、プリンター1ごとに設定してもよい。
In addition, in the first embodiment, the following modified examples can be adopted.
[Modification 1-1]
In the first embodiment, the threshold value serving as a criterion for determining whether or not to collect information is the value set for each item in the information collection setting file, but is common to all items. It may be a value. The information collection setting file may be set for each printer 1.

[変形例1−2]
第1実施形態において、PC2は、情報収集処理の開始時に計測時間を設けて初回期待値を設定したが、初回期待値を設定しない構成としてもよい。この場合、予め定められた初回期待値を用いて、収集タイミングごとに情報を収集し、期待値を更新していけばよい。また、初回期待値は、情報収集設定ファイルにて、項目ごとに設定された値でもよいし、プリンター1ごとに設定された値でもよい。
[Modification 1-2]
In the first embodiment, the PC 2 sets the initial expected value by setting the measurement time at the start of the information collection process, but the initial expected value may not be set. In this case, a predetermined initial expected value may be used to collect information at each collection timing and update the expected value. The initial expected value may be a value set for each item in the information collection setting file or a value set for each printer 1.

[第2実施形態]
第2実施形態について説明する。第2実施形態は、情報間の関係性を考慮し、収集する情報の絞り込みを行うことを特徴とする。以下、第1実施形態と異なる点を中心に説明する。なお、本実施形態において、第1実施形態と同様の構成部分については同様の符号を付し、詳細な説明を省略する。また、第1実施形態と同様の構成部分について適用される変形例は、本実施形態についても同様に適用される。なお、本実施形態のプリンター1は、コピー用紙を印刷媒体とするインクジェットプリンターであり、両面印刷が可能な構成であるものとする。
[Second Embodiment]
The second embodiment will be described. The second embodiment is characterized in that the information to be collected is narrowed down in consideration of the relationship between the information. Hereinafter, the points different from the first embodiment will be mainly described. In addition, in this embodiment, the same components as those in the first embodiment are designated by the same reference numerals, and detailed description thereof will be omitted. In addition, the modification applied to the same components as the first embodiment is similarly applied to the present embodiment. The printer 1 of the present embodiment is an inkjet printer that uses copy paper as a print medium, and has a configuration capable of double-sided printing.

本実施形態のシステム構成、並びに、プリンター1、PC2およびサーバー3のハードウェア構成は、第1実施形態と略同様である。但し、本実施形態では、PC記憶部27に記憶される情報収集設定ファイルとして、収集条件テーブルTが記憶される。 The system configuration of this embodiment and the hardware configurations of the printer 1, the PC 2, and the server 3 are substantially the same as those of the first embodiment. However, in the present embodiment, the collection condition table T is stored as the information collection setting file stored in the PC storage unit 27.

図7は、収集条件テーブルTの一例を示す図である。収集条件テーブルTは、第1の情報と、第1の条件と、第2の情報と、第2の条件と、第3の情報と、を対応付けたテーブルである。ここで、第1の条件は、第2の情報の収集条件であり、第2の条件は、第3の情報の収集条件である。また、第1の情報は、情報を収集する通信セッションにおいて、最初に収集される情報である。また、第2の情報は、第1の情報が第1の条件を満たしたとき変動の可能性がある情報であり、第3の情報は、第2の情報が第2の条件を満たしたとき変動の可能性がある情報である。 FIG. 7 is a diagram showing an example of the collection condition table T. The collection condition table T is a table in which the first information, the first condition, the second information, the second condition, and the third information are associated with each other. Here, the first condition is a collection condition of the second information, and the second condition is a collection condition of the third information. Further, the first information is information first collected in the communication session for collecting information. Also, the second information is information that may change when the first information satisfies the first condition, and the third information is when the second information satisfies the second condition. This is information that may fluctuate.

PC制御部21は、第1の情報を収集すると、収集条件テーブルTを参照し、収集した第1の情報が、対応する第1の条件を満たすとき、対応する第2の情報を収集すると判定し、対応する第1の条件を満たさないとき、対応する第2の情報を収集しないと判定する。また、PC制御部21は、第2の情報を収集すると、収集条件テーブルTを参照し、収集した第2の情報が、対応する第2の条件を満たすとき、対応する第3の情報を収集すると判定し、対応する第2の条件を満たさないとき、対応する第3の情報を収集しないと判定する。なお、第1の情報に第1の条件が対応付けられていない場合、第2の情報は収集されない。また、第2の情報に第2の条件が対応付けられていない場合、第3の情報は収集されない。 When the PC control unit 21 collects the first information, it refers to the collection condition table T, and when the collected first information satisfies the corresponding first condition, determines that the corresponding second information is collected. Then, when the corresponding first condition is not satisfied, it is determined that the corresponding second information is not collected. Further, when the PC control unit 21 collects the second information, it refers to the collection condition table T, and when the collected second information satisfies the corresponding second information, collects the corresponding third information. Then, when the corresponding second condition is not satisfied, it is determined that the corresponding third information is not collected. If the first information is not associated with the first condition, the second information is not collected. If the second information is not associated with the second condition, the third information is not collected.

例えば、図7に示すように、PC制御部21は、第1の情報として項目「カートリッジ製造番号」の情報を収集すると、収集した情報が、第1の条件である「変動」を満たすか否かを判別する。ここで、「変動」とは、収集した第1の情報が、前回収集した第1の情報から変動したこと、を指す。 For example, as shown in FIG. 7, when the PC control unit 21 collects the information of the item “cartridge manufacturing number” as the first information, whether the collected information satisfies the first condition “fluctuation” or not. Determine whether. Here, "variation" refers to the fact that the collected first information has changed from the previously collected first information.

PC制御部21は、「カートリッジ製造番号」の情報が、第1の条件を満たす場合、すなわち、今回収集したカートリッジ製造番号が、前回収集したカートリッジ製造番号から変動した場合、第2の情報として項目「カートリッジ交換回数」および「カートリッジ型番」の情報を収集する。ここで、「カートリッジ交換回数」とは、プリンター1で記録されているカートリッジ交換回数の累計値である。累計値は、色ごとに記録される構成でもよいし、色に関係なく全色のカートリッジを対象として記録される構成でもよい。また、累計値は、プリンター1において、累計値のリセットができる構成であれば、前回リセット時から情報収集時までの累計値であり、リセットができない構成であれば、工場出荷時から情報収集時までの累計値である。 When the information of “cartridge serial number” satisfies the first condition, that is, when the cartridge serial number collected this time is changed from the cartridge serial number collected last time, the PC control unit 21 sets the item as the second information. Collect information on "number of cartridge replacements" and "cartridge model number". Here, “the number of times of cartridge replacement” is a cumulative value of the number of times of cartridge replacement recorded in the printer 1. The cumulative value may be recorded for each color, or may be recorded for all color cartridges regardless of color. In addition, the cumulative value is the cumulative value from the time of the previous reset to the time of collecting information in the printer 1 if the structure can reset the cumulative value. Is the cumulative value up to.

また、PC制御部21は、「カートリッジ型番」の情報が、第2の条件である「変動」を満たす場合、第3の情報として項目「カートリッジ色情報」および「カートリッジ容量」の情報を収集する。ここで、「カートリッジ色情報」は、インクカートリッジに収容されているインクの色を指し、「カートリッジ容量」とは、インクカートリッジの未使用状態におけるインク収容量を指す。なお、第2の情報の一つである項目「カートリッジ交換回数」の情報については、第2の条件が対応付けられていないため、第2の条件を満たすか否かの判別は行われない。 Further, when the information of the “cartridge model number” satisfies the second condition of “variation”, the PC control unit 21 collects the information of the items “cartridge color information” and “cartridge capacity” as the third information. .. Here, "cartridge color information" refers to the color of the ink contained in the ink cartridge, and "cartridge capacity" refers to the amount of ink contained in the unused state of the ink cartridge. It should be noted that the second condition is not associated with the information of the item “number of times of cartridge replacement” which is one of the second information, and therefore it is not determined whether or not the second condition is satisfied.

このように、項目「カートリッジ製造番号」の情報を、第1の情報として収集するのは、サーバー3において、消耗品の補充・配送計画作成や、消耗品の補充・配送指示を行う場合、用いられる情報だからである。また、「カートリッジ製造番号」は、インクカートリッジに割り当てられた一意の情報であり、インクカートリッジが交換されない限り変動しないためである。また、項目「カートリッジ交換回数」および「カートリッジ型番」の情報を、第2の情報として収集するのは、「カートリッジ製造番号」の変動に伴って、項目「カートリッジ交換回数」の情報および「カートリッジ型番」の情報が変動している可能性が高いためである。また、項目「カートリッジ色情報」および「カートリッジ容量」の情報を、第3の情報として収集するのは、「カートリッジ型番」ごとに、色情報および容量が決まっているため、「カートリッジ型番」の変動に伴って、項目「カートリッジ色情報」および「カートリッジ容量」の情報が変動している可能性が高いためである。 As described above, the information of the item “cartridge serial number” is collected as the first information, which is used when the server 3 makes a replenishment/delivery plan of consumables or gives a replenishment/delivery instruction of consumables. This is because the information is available. This is also because the "cartridge manufacturing number" is unique information assigned to the ink cartridge and does not change unless the ink cartridge is replaced. Further, the information of the items “cartridge replacement number” and “cartridge model number” is collected as the second information because the information of the item “cartridge replacement number” and the “cartridge model number” are changed as the “cartridge serial number” changes. This is because there is a high possibility that the information in “” is fluctuating. The information of the items "cartridge color information" and "cartridge capacity" is collected as the third information because the color information and the capacity are determined for each "cartridge model number". This is because there is a high possibility that the information of the items “cartridge color information” and “cartridge capacity” will change with the change.

一方、PC制御部21は、第1の情報として項目「インク残量」の情報を収集すると、収集した情報が、第1の条件である「増加」を満たすか否かを判別する。ここで、「増加」とは、収集した第1の情報の値が、前回収集した第1の情報値から増加したこと、を指す。PC制御部21は、収集した第1の情報が、第1の条件を満たす場合、項目「カートリッジ製造番号」の情報を収集した場合と同様に、第2の情報を収集する。第2の条件と、第3の情報については、第1の情報が「カートリッジ製造番号」の場合と同様である。 On the other hand, when the information of the item “ink remaining amount” is collected as the first information, the PC control unit 21 determines whether the collected information satisfies the first condition “increase”. Here, "increase" means that the value of the collected first information is increased from the value of the first information collected last time. When the collected first information satisfies the first condition, the PC control unit 21 collects the second information as in the case of collecting the information of the item “cartridge serial number”. The second condition and the third information are the same as in the case where the first information is the "cartridge serial number".

このように、項目「インク残量」の情報を、第1の情報として収集するのは、サーバー3において、インク使用量に応じて課金料金を算出する場合、用いられる情報だからである。また、「インク残量」が「増加」した場合に、第2の情報として、項目「カートリッジ交換回数」および「カートリッジ型番」を収集するのは、「インク残量」が増加した場合、インクカートリッジが交換された可能性が高いためである。なお、項目「インク残量」の情報に対応付けられる第1の条件は、「増加」ではなく、「増加」の上位概念にあたる「変動」としてもよい。 In this way, the information of the item “ink remaining amount” is collected as the first information because it is the information used when the server 3 calculates the charging fee according to the ink usage amount. Further, when the "ink remaining amount" is "increased", the items "cartridge replacement frequency" and "cartridge model number" are collected as the second information when the "ink remaining amount" is increased. Is likely to have been replaced. The first condition associated with the information of the item “ink remaining amount” may be “variation” which is a superordinate concept of “increase” instead of “increase”.

また、PC制御部21は、第1の情報として項目「起動後経過時間」の情報を収集すると、収集した情報が、第1の条件「起動後経過時間が前回情報収集時刻からの経過時間より短い」を満たすか否かを判別する。これは、第1の情報を前回収集した後にプリンター1が起動したか否かを判別するためである。PC制御部21は、収集した第1の情報が、第1の条件を満たす場合、第2の情報として、項目「用紙カセットの数」および「両面ユニットの有無」の情報を収集する。ここで、「用紙カセットの数」とは、印刷媒体であるコピー用紙をプリンターエンジン14に供給するパーツである用紙カセットがプリンター1に装着されている数を指す。また、「両面ユニットの有無」とは、コピー用紙の両面に印刷を行うためのパーツである両面ユニットがプリンター1に装着されているか否かを指す。
なお、項目「用紙カセットの数」および「両面ユニットの有無」の情報には、第2の条件が対応付けられていないため、第2の情報が第2の条件を満たすか否かの判別は行われない。
Further, when the PC control unit 21 collects the information of the item “elapsed time after activation” as the first information, the collected information indicates that the first condition “elapsed time after activation is more than the elapsed time from the previous information collection time”. It is determined whether "short" is satisfied. This is to determine whether or not the printer 1 has been started after the first information was collected last time. When the collected first information satisfies the first condition, the PC control unit 21 collects the information of the items “number of paper cassettes” and “presence/absence of duplex unit” as the second information. Here, the “number of paper cassettes” refers to the number of paper cassettes, which are parts that supply copy paper, which is a print medium, to the printer engine 14, mounted in the printer 1. Further, “presence/absence of double-sided unit” indicates whether or not the double-sided unit, which is a part for printing on both sides of copy paper, is attached to the printer 1.
Since the second condition is not associated with the information of the items “number of paper cassettes” and “presence/absence of duplex unit”, it is not possible to determine whether the second information satisfies the second condition. Not done

このように、項目「用紙カセットの数」および「両面ユニットの有無」の情報を、項目「起動後経過時間」の下位情報として収集するのは、プリンター1の電源が切断された状態で、用紙カセットや両面ユニットなどのパーツ交換が行われること、すなわち、電源オン状態では、パーツの構成に変化が生じないことが前提となっているためである。 In this manner, the information of the items “number of paper cassettes” and “presence/absence of duplex unit” is collected as subordinate information of the item “elapsed time after startup” when the power of the printer 1 is turned off. This is because it is premised that parts such as a cassette and a double-sided unit will be replaced, that is, there will be no change in the configuration of parts when the power is on.

なお、図7に示した情報のうち、項目「カートリッジ製造番号」、「カートリッジ交換回数」、「カートリッジ型番」、「カートリッジ色情報」、「カートリッジ容量」、「インク残量」の情報は、着色剤情報に含まれる。また、項目「用紙カセットの数」の情報は、印刷媒体情報に含まれる。これら着色剤情報および印刷媒体情報は、「プリンターが用いる消耗品に関する情報」の一例である。一方、項目「用紙カセットの数」の情報は、「プリンターの装置構成に関する情報」の一例である。 In the information shown in FIG. 7, items “cartridge serial number”, “cartridge replacement frequency”, “cartridge model number”, “cartridge color information”, “cartridge capacity”, and “ink remaining amount” are colored. It is included in the drug information. The information on the item “number of paper cassettes” is included in the print medium information. The colorant information and the print medium information are examples of “information regarding consumable items used by the printer”. On the other hand, the information on the item “number of paper cassettes” is an example of “information on the device configuration of the printer”.

図8は、第2実施形態に係る情報収集処理の流れを示すフローチャートである。情報収集処理は、「情報収集装置の制御方法」の一例である。PC制御部21は、情報収集プログラムの起動、プリンター1の起動、若しくは、ユーザーによる情報収集開始操作をトリガーとして、情報収集処理を開始する。なお、このフローチャートは、第1の情報ごとに実行されるものである。 FIG. 8 is a flowchart showing the flow of information collection processing according to the second embodiment. The information collecting process is an example of “a method of controlling the information collecting device”. The PC control unit 21 starts the information collection process by using the information collection program start-up, the printer 1 start-up, or the user's information collection start operation as a trigger. It should be noted that this flowchart is executed for each first information.

PC制御部21は、PC計時部22の計時に基づいて、収集タイミングであるか否かを判別する(S21)。PC制御部21は、収集タイミングではないと判定した場合(S21:NO)、S21に戻り、収集タイミングであると判定した場合(S21:YES)、収集条件テーブルTを参照し、プリンター1から、第1の情報を収集する(S22)。 The PC control unit 21 determines whether or not it is the collection timing based on the timing of the PC timing unit 22 (S21). When the PC control unit 21 determines that it is not the collection timing (S21: NO), the process returns to S21, and when it is determined that it is the collection timing (S21: YES), the PC control unit 21 refers to the collection condition table T and The first information is collected (S22).

S22では、収集条件テーブルTに複数の第1の情報が設定されている場合、PC2から、それぞれの情報の送信を要求する要求コマンドをプリンター1に送信し、プリンター1が、それらの要求コマンドに対して個々に応答する形で情報を収集する。つまり、それぞれの要求コマンドには、第1の情報の項目を指定するデータが含まれる。また、特に図示しないが、PC制御部21は、S22においてプリンター1から情報を収集できなかった場合、情報収集ログにエラーを記録し、複数回連続して情報を収集できなかった場合、ユーザーに対してエラーを通知する。また、PC制御部21は、S22において情報を収集できた場合、収集した情報を、PC制御部21内のRAMに記憶すると共に、PC記憶部27内の情報収集ログに記録する。S22における情報収集の詳細については、後述する、S25およびS28の工程についても同様である。 In S22, when a plurality of pieces of first information are set in the collection condition table T, the PC 2 sends a request command requesting the transmission of each piece of information to the printer 1, and the printer 1 sends the request command to those request commands. Information is collected in the form of individual responses. That is, each request command includes data designating the item of the first information. Further, although not particularly shown, the PC control unit 21 records an error in the information collection log when the information cannot be collected from the printer 1 in S22, and when the information cannot be collected continuously a plurality of times, the PC control unit 21 prompts the user to do so. Notify the user of the error. If the information can be collected in S22, the PC control unit 21 stores the collected information in the RAM in the PC control unit 21 and records it in the information collection log in the PC storage unit 27. The details of the information collection in S22 are the same in the steps of S25 and S28 described later.

PC制御部21は、第1の情報を収集すると、収集条件テーブルTを参照し、収集した第1の情報に、第1の条件が対応付けられているか否かを判別する(S23)。PC制御部21は、収集した第1の情報に第1の条件が対応付けられていると判定した場合(S23:YES)、収集した第1の情報が第1の条件を満たしているか否かを判定する(S24)。PC制御部21は、収集した第1の情報に第1の条件が対応付けられていないと判定した場合(S23:NO)、および収集した第1の情報が第1の条件を満たしていないと判定した場合(S24:NO)、S21に戻る。また、PC制御部21は、収集した第1の情報が第1の条件を満たしていると判定した場合(S24:YES)、収集条件テーブルTを参照し、プリンター1から、第1の情報に対応する第2の情報を収集する(S25)。 After collecting the first information, the PC control unit 21 refers to the collection condition table T and determines whether the collected first information is associated with the first condition (S23). When the PC control unit 21 determines that the collected first information is associated with the first condition (S23: YES), whether or not the collected first information satisfies the first condition. Is determined (S24). The PC control unit 21 determines that the collected first information is not associated with the first condition (S23: NO), and that the collected first information does not satisfy the first condition. When it determines (S24:NO), it returns to S21. In addition, when the PC control unit 21 determines that the collected first information satisfies the first condition (S24: YES), the PC control unit 21 refers to the collection condition table T to change the printer 1 to the first information. The corresponding second information is collected (S25).

PC制御部21は、第2の情報を収集すると、収集条件テーブルTを参照し、収集した第2の情報に、第2の条件が対応付けられているか否かを判別する(S26)。PC制御部21は、収集した第2の情報に第2の条件が対応付けられていると判定した場合(S26:YES)、収集した第2の情報が第2の条件を満たしているか否かを判定する(S27)。PC制御部21は、収集した第2の情報に第2の条件が対応付けられていないと判定した場合(S26:NO)、および収集した第2の情報が第2の条件を満たしていないと判定した場合(S27:NO)、S21に戻る。また、PC制御部21は、収集した第2の情報が第2の条件を満たしていると判定した場合(S27:YES)、収集条件テーブルTを参照し、プリンター1から、第2の情報に対応する第3の情報を収集する(S28)。本実施形態の収集条件テーブルTでは、第1の情報の下位情報は、第2の情報および第3の情報だけであるため、PC制御部21は、第3の情報を収集すると(S28)、S21に戻る。 Upon collecting the second information, the PC control unit 21 refers to the collection condition table T and determines whether the collected second information is associated with the second condition (S26). When the PC control unit 21 determines that the collected second information is associated with the second condition (S26: YES), whether or not the collected second information satisfies the second condition. Is determined (S27). When the PC control unit 21 determines that the collected second information is not associated with the second condition (S26: NO), and the collected second information does not satisfy the second condition. When it determines (S27:NO), it returns to S21. In addition, when the PC control unit 21 determines that the collected second information satisfies the second condition (S27: YES), the PC control unit 21 refers to the collection condition table T to change the printer 1 to the second information. The corresponding third information is collected (S28). In the collection condition table T of this embodiment, since the lower information of the first information is only the second information and the third information, the PC control unit 21 collects the third information (S28), Return to S21.

以上説明したとおり、第2実施形態によれば、PC2は、プリンター1から第1の情報を取集し、収集した第1の情報が、対応する第1の条件を満たすときのみ、対応する第2の情報を収集すると判定するため、第1の情報と比較して第2の情報の収集頻度を少なくすることができる。つまり、第1の情報と同頻度で第2の情報を収集する場合と比較して、1回の通信セッションにおける情報収集回数を少なくすることができる。これにより、PC2とプリンター1とを接続する第1のネットワークNW1の圧迫を軽減できると共に、PC2の電力消費を抑えることができる。 As described above, according to the second embodiment, the PC 2 collects the first information from the printer 1, and only when the collected first information satisfies the corresponding first condition, the corresponding first information is collected. Since it is determined that the second information is collected, the collection frequency of the second information can be reduced as compared with the first information. That is, the number of times information is collected in one communication session can be reduced as compared with the case where the second information is collected at the same frequency as the first information. As a result, the pressure on the first network NW1 that connects the PC 2 and the printer 1 can be reduced, and the power consumption of the PC 2 can be suppressed.

同様に、PC2は、プリンター1から第2の情報を取集すると、収集した第2の情報が、対応する第2の条件を満たすときのみ、対応する第3の情報を収集すると判定するため、第2の情報と比較して第3の情報の収集頻度をさらに少なくすることができる。これにより、PC2とプリンター1とを接続する第1のネットワークNW1の圧迫をさらに軽減できると共に、PC2の電力消費をさらに抑えることができる。また、PC2は、プリンター1から収集した情報を、情報を管理するサーバー3に送信するため、サーバー3において、情報を有効活用することができる。 Similarly, when the PC 2 collects the second information from the printer 1, the PC 2 determines to collect the corresponding third information only when the collected second information satisfies the corresponding second information. The collection frequency of the third information can be further reduced as compared with the second information. As a result, the pressure on the first network NW1 that connects the PC 2 and the printer 1 can be further reduced, and the power consumption of the PC 2 can be further reduced. Moreover, since the PC 2 transmits the information collected from the printer 1 to the server 3 that manages the information, the server 3 can effectively utilize the information.

なお、第2実施形態では、以下の変形例を採用可能である。
[変形例2−1]
第2実施形態では、収集条件テーブルTにおいて設定される条件として「変動」、「増加」などを例示したが、これ以外の条件も設定可能である。例えば、収集した情報が、何らかの現象を示すものである場合、下位の情報を収集する構成としてもよい。
また、収集した情報と指定値との比較結果に基づいて、下位の情報を収集するか否かを判定する構成としてもよい。例えば、収集した情報が指定値と同じ値を示すとき、収集した情報が指定値と異なる値を示すとき、収集した情報が指定値より大きい値を示すとき、収集した情報が指定値より小さい値を示すとき、収集した情報が指定範囲内の値を示すとき、または、収集した情報が指定範囲外の値を示すとき、に下位の情報を収集する構成としてもよい。なお、「より大きい」および「より小さい」は、「以上」および「以下」に置き換えてもよい。
また、収集した情報と別の情報との比較結果に基づいて、下位の情報を収集するか否かを判定する構成としてもよい。例えば、収集した情報が別の情報と同じ値を示すとき、収集した情報が別の情報と異なる値を示すとき、収集した情報が別の情報より大きい値を示すとき、収集した情報が別の情報より小さい値を示すとき、収集した情報が別の情報に基づく範囲内の値を示すとき、または、収集した情報が別の情報に基づく範囲外の値を示すとき、に下位の情報を収集する構成としてもよい。なお、「別の情報」とは、収集した情報と同じ項目について、過去に収集した情報でもよいし、収集した情報と別の項目について、過去に収集した情報でもよい。また、「別の情報」は、プリンター1から収集した情報以外に、PC2で管理している各種情報を用いてもよい。例えば、PC2が複数台のプリンター1の情報を収集している場合、情報を収集したプリンター1以外のプリンター1から収集した情報であってもよい。また、「別の情報」は、PC2で管理している現在時刻であってもよい。
また、収集した情報をパラメーターとする計算式の計算結果に基づいて、下位の情報を収集するか否かを判定する構成としてもよい。例えば、計算式の計算結果が「真」のとき、または、計算式の計算結果が「偽」のとき、に下位の情報を収集する構成としてもよい。
In addition, in the second embodiment, the following modified examples can be adopted.
[Modification 2-1]
In the second embodiment, “variation”, “increase”, etc. are exemplified as the conditions set in the collection condition table T, but other conditions can also be set. For example, when the collected information indicates some kind of phenomenon, the lower information may be collected.
Further, it may be configured to determine whether or not to collect lower level information, based on the comparison result of the collected information and the designated value. For example, when the collected information shows the same value as the specified value, when the collected information shows a value different from the specified value, when the collected information shows a value larger than the specified value, and when the collected information shows a value smaller than the specified value. When, the collected information indicates a value within the specified range, or the collected information indicates a value outside the specified range, the lower information may be collected. Note that "greater than" and "less than" may be replaced with "greater than or equal to" and "less than or equal to."
Further, it may be configured to determine whether or not to collect lower level information, based on a comparison result of the collected information and another information. For example, when the collected information shows the same value as another information, when the collected information shows a different value from another information, when the collected information shows a larger value than another information, the collected information shows another value. Collect lower information when it shows a value smaller than the information, when the collected information shows a value within the range based on another information, or when the collected information shows a value outside the range based on another information It may be configured to. The "different information" may be information collected in the past for the same item as the collected information, or may be information collected in the past for items different from the collected information. Further, as the “other information”, various information managed by the PC 2 may be used in addition to the information collected from the printer 1. For example, when the PC 2 collects the information of the plurality of printers 1, it may be the information collected from the printer 1 other than the printer 1 that collected the information. The “other information” may be the current time managed by the PC 2.
Further, it may be configured to determine whether to collect lower level information based on the calculation result of the calculation formula using the collected information as a parameter. For example, when the calculation result of the calculation formula is “true” or when the calculation result of the calculation formula is “false”, the lower information may be collected.

[変形例2−2]
第2実施形態では、収集条件テーブルTにおいて、第1の情報に対応付けられる情報が、第2の情報および第3の情報だけであったが、第3の情報よりもさらに下位の情報を設定してもよい。また、収集条件テーブルTにおいて、必ずしも第1の条件が設定される必要はなく、第1の情報だけ設定されていてもよい。また、収集条件テーブルTは、PC表示部24に表示させ、PC操作部23の操作によって編集可能としてもよい。
[Modification 2-2]
In the second embodiment, in the collection condition table T, the information associated with the first information is only the second information and the third information, but the information lower than the third information is set. You may. In the collection condition table T, the first condition does not necessarily have to be set, and only the first information may be set. Further, the collection condition table T may be displayed on the PC display unit 24 so that it can be edited by operating the PC operation unit 23.

なお、第1実施形態および第2実施形態では、以下の変形例を採用可能である。
[変形例3−1]
上記の各実施形態では、PC2において情報を収集したが、サーバーにおいて情報を収集してもよい。図9は、変形例3−1に係る情報収集システムSY2のブロック図である。情報収集システムSY2は、1台以上のプリンター1と、第2サーバー50と、を備える。第2サーバー50は、「情報収集装置」の一例である。また、プリンター1と第2サーバー50は、インターネット通信網などの第2のネットワークNW2を介して接続される。
In addition, in the first embodiment and the second embodiment, the following modified examples can be adopted.
[Modification 3-1]
In each of the above-described embodiments, the PC 2 collects the information, but the server may collect the information. FIG. 9 is a block diagram of an information collection system SY2 according to Modification 3-1. The information collecting system SY2 includes one or more printers 1 and a second server 50. The second server 50 is an example of an “information collection device”. Further, the printer 1 and the second server 50 are connected via a second network NW2 such as an internet communication network.

第2サーバー50は、第2サーバー制御部51と、第2サーバー計時部52と、第2サーバー操作部53と、第2サーバー表示部54と、第2サーバー通信部55と、第2サーバー記憶部56と、を備える。なお、第2サーバー制御部51は、「制御部」の一例である。第2サーバー制御部51、第2サーバー計時部52、第2サーバー操作部53、および第2サーバー表示部54は、それぞれ上記の実施形態の、PC制御部21、PC計時部22、PC操作部23、およびPC表示部24と、同様に機能する(図3参照)。また、第2サーバー通信部55は、第2のネットワークNW2を介してプリンター1と通信する。 The second server 50 includes a second server control unit 51, a second server clock unit 52, a second server operation unit 53, a second server display unit 54, a second server communication unit 55, and a second server storage. And a portion 56. The second server control unit 51 is an example of a “control unit”. The second server control unit 51, the second server clock unit 52, the second server operation unit 53, and the second server display unit 54 are the PC control unit 21, the PC clock unit 22, and the PC operation unit of the above-described embodiment, respectively. 23 and the PC display unit 24 (see FIG. 3). Further, the second server communication unit 55 communicates with the printer 1 via the second network NW2.

第2サーバー記憶部56は、PC記憶部27(図3参照)に記憶される各情報の他、サーバー記憶部35に記憶される情報管理プログラムを記憶する。つまり、第2サーバー50は、情報収集プログラムに基づいて、情報収集を行うと共に、情報管理プログラムに基づいて、収集した情報の管理を行う。 The second server storage unit 56 stores each information stored in the PC storage unit 27 (see FIG. 3) and an information management program stored in the server storage unit 35. That is, the second server 50 collects information based on the information collection program and manages the collected information based on the information management program.

このように、変形例3−1の構成によれば、PCレスにより、情報収集システムSY2のシステム構成を簡素化することができる。なお、変形例3−1のさらなる変形例として、第2サーバー50では、情報収集のみを行い、他のサーバーで、情報管理を行う構成としてもよい。 As described above, according to the configuration of the modification example 3-1, the system configuration of the information collecting system SY2 can be simplified without the PC. As a further modification of Modification 3-1, the second server 50 may only collect information and the other servers may manage information.

[変形例3−2]
プリンター1に取り付け可能な外付けボックス60を用いて情報を収集してもよい。図9は、変形例3−2に係る情報収集システムSY3のブロック図である。情報収集システムSY3は、プリンター1´と、外付けボックス60と、第2PC70と、サーバー3と、を備える。外付けボックス60は、「情報収集装置」の一例である。プリンター1´と第2PC70は、LAN等の第1のネットワークNW1を介して接続される。また、外付けボックス60とサーバー3は、インターネット通信網などの第2のネットワークNW2を介して接続される。また、プリンター1´と外付けボックス60は、赤外線通信やブルートゥース(登録商標)通信による通信網など、第3のネットワークNW3を介して接続される。なお、プリンター1´と外付けボックス60は、1対1の関係となるように、専用回線で接続してもよい。
[Modification 3-2]
Information may be collected using an external box 60 that can be attached to the printer 1. FIG. 9 is a block diagram of an information collection system SY3 according to Modification 3-2. The information collecting system SY3 includes a printer 1′, an external box 60, a second PC 70, and a server 3. The external box 60 is an example of an “information collection device”. The printer 1'and the second PC 70 are connected via a first network NW1 such as a LAN. Further, the external box 60 and the server 3 are connected via a second network NW2 such as an internet communication network. Further, the printer 1'and the external box 60 are connected via a third network NW3 such as a communication network by infrared communication or Bluetooth (registered trademark) communication. The printer 1'and the external box 60 may be connected by a dedicated line so as to have a one-to-one relationship.

プリンター1´は、図2に示したプリンター1の構成に、プリンターボックス用通信部18を追加した構成となっている。プリンターボックス用通信部18は、第3のネットワークNW3を介してプリンター1´と通信する。また、変形例3−2に係るプリンター通信部15は、第2PC70から印刷データを受信する。なお、第2PC70としては、一般的なPCの構成を採用可能であるため、説明を省略する。 The printer 1'has a configuration in which a printer box communication unit 18 is added to the configuration of the printer 1 shown in FIG. The printer box communication unit 18 communicates with the printer 1′ via the third network NW3. Further, the printer communication unit 15 according to the modified example 3-2 receives the print data from the second PC 70. Note that a general PC configuration can be adopted as the second PC 70, and a description thereof will be omitted.

外付けボックス60は、ボックス制御部61と、ボックス計時部62と、ボックス第1通信部63と、ボックス第2通信部64と、ボックス記憶部65と、を備える。なお、ボックス制御部61は、「制御部」の一例である。ボックス制御部61およびボックス計時部62は、第1実施形態および第2実施形態の、PC制御部21およびPC計時部22と、同様に機能する(図3参照)。ボックス第1通信部63は、第3のネットワークNW3を介してプリンター1´と通信する。また、ボックス第2通信部64は、第2のネットワークNW2を介してサーバー3と通信する。 The external box 60 includes a box control unit 61, a box clock unit 62, a box first communication unit 63, a box second communication unit 64, and a box storage unit 65. The box control unit 61 is an example of a “control unit”. The box control unit 61 and the box timing unit 62 function similarly to the PC control unit 21 and the PC timing unit 22 of the first and second embodiments (see FIG. 3). The box first communication unit 63 communicates with the printer 1′ via the third network NW3. In addition, the box second communication unit 64 communicates with the server 3 via the second network NW2.

ボックス記憶部65は、PC記憶部27(図3参照)に記憶される各情報のうちOS以外を記憶する。つまり、本変形例の情報収集プログラムは、OS不要のプログラムを想定しているが、OS上で動作するプログラムであってもよい。 The box storage unit 65 stores information other than the OS out of the information stored in the PC storage unit 27 (see FIG. 3). That is, although the information collecting program of this modification is assumed to be a program that does not require an OS, it may be a program that runs on the OS.

このように、変形例3−2の構成によれば、プリンター1´に外付けボックス60を取り付けることにより、上記の各実施形態と同様の効果を奏することができる。なお、変形例3−2のさらなる変形例として、プリンターの中に、外付けボックス60の構成を組み込んでもよい。また、さらなる変形例として、プリンター1´ごとに外付けボックス60を設けるのではなく、複数のプリンター1´の情報収集を、1台の外付けボックス60で行う構成としてもよい。 As described above, according to the configuration of Modification 3-2, by attaching the external box 60 to the printer 1′, it is possible to achieve the same effects as those of the above-described embodiments. As a further modification of Modification 3-2, the configuration of the external box 60 may be incorporated in the printer. Further, as a further modified example, the external box 60 may not be provided for each printer 1 ′, but the information of a plurality of printers 1 ′ may be collected by one external box 60.

[変形例3−3]
上記の各実施形態において、PC2は、一定の時間間隔で情報を収集したが、項目ごと、またはプリンター1ごとに、情報を収集する時間間隔を異ならせてもよい。すなわち、情報を収集する収集タイミングは、情報ごとに異なるタイミングでもよい。
[Modification 3-3]
In each of the above-described embodiments, the PC 2 collects information at fixed time intervals, but the time interval for collecting information may be different for each item or for each printer 1. That is, the collection timing for collecting information may be different for each information.

[変形例3−4]
上記の第1実施形態および第2実施形態を組み合わせた構成としてもよい。例えば、第1実施形態のように、情報の収集タイミングごとに期待値を積算し、期待値を積算した積算期待値がしきい値を超えたことを条件として情報を収集する。また、この収集した情報を、第2実施形態の収集条件テーブルTにおける第1の情報として、収集した情報が、第1の条件を満たすか否かを判別し、その判別結果に応じて、下位の情報を収集するか否かを判別してもよい。
[Modification 3-4]
A configuration in which the above-described first and second embodiments are combined may be adopted. For example, as in the first embodiment, the expected value is integrated at each information collection timing, and the information is collected on the condition that the integrated expected value obtained by integrating the expected values exceeds the threshold value. The collected information is used as the first information in the collection condition table T of the second embodiment, and it is determined whether the collected information satisfies the first condition. It may be determined whether or not to collect the information.

[変形例3−5]
上記の各実施形態および各変形例に示したPC2、第2サーバー50および外付けボックス60の各処理を実行する方法、PC2、第2サーバー50および外付けボックス60の各処理を実行するためのプログラム、またそのプログラムを記録したコンピューター読み取り可能な記録媒体も、発明の権利範囲に含まれる。また、各実施形態と各変形例を組み合わせた構成としてもよい。
[Modification 3-5]
A method for executing each process of the PC 2, the second server 50, and the external box 60 shown in the above-described respective embodiments and modified examples, and a method for executing each process of the PC 2, the second server 50, and the external box 60. The program, and a computer-readable recording medium recording the program are also included in the scope of the invention. Further, a configuration in which each embodiment and each modification are combined may be adopted.

[変形例3−6]
上記の各実施形態では、プリンター1またはプリンター1´の情報収集について説明したが、プリンター以外の各種電子機器の情報収集を行う場合に、上記の各実施形態および各変形例を適用してもよい。また、PC2に代えて、各種タブレット端末やスマートフォンなど、各種情報処理端末を用いてもよい。その他、PC2、第2サーバー50および外付けボックス60の各処理をハードウェアとソフトウェアの協働により実現するなど、発明の要旨を逸脱しない範囲で、適宜変更が可能である。
[Modification 3-6]
In each of the above embodiments, the information collection of the printer 1 or the printer 1'has been described, but when collecting information of various electronic devices other than the printer, each of the above embodiments and each modification may be applied. .. Further, various information processing terminals such as various tablet terminals and smartphones may be used instead of the PC 2. Other than that, the respective processes of the PC 2, the second server 50, and the external box 60 are realized by the cooperation of hardware and software, and appropriate changes can be made without departing from the scope of the invention.

[付記]
以下、情報収集装置、情報収集装置の制御方法、およびプログラムについて付記する。
PC2は、プリンター1の状態を示す情報を収集するPC2であって、情報の変動頻度に基づいて、情報が変動する期待値を設定し、期待値の設定後は、情報の収集タイミングごとに期待値を積算し、期待値を積算した値がしきい値を超えたことを条件として、情報を収集するPC制御部21、を備える。
[Appendix]
Hereinafter, the information collecting device, the control method of the information collecting device, and the program will be additionally described.
The PC 2 is a PC 2 that collects information indicating the state of the printer 1, and sets an expected value at which the information fluctuates based on the fluctuation frequency of the information, and after setting the expected value, expects at each information collection timing. A PC control unit 21 is provided that collects information on the condition that the value is integrated and the value obtained by integrating the expected value exceeds a threshold value.

PC2の制御方法は、プリンター1の状態を示す情報を収集するPC2の制御方法であって、情報の変動頻度に基づいて、情報が変動する期待値を設定し、期待値の設定後は、情報の収集タイミングごとに期待値を積算し、期待値を積算した値がしきい値を超えたことを条件として、情報を収集する。 The control method of the PC 2 is a control method of the PC 2 that collects information indicating the state of the printer 1, and sets an expected value at which the information fluctuates based on the frequency of change of the information. The expected value is added up at each collection timing and the information is collected on condition that the value obtained by adding up the expected value exceeds the threshold value.

プログラムは、プリンター1の状態を示す情報を収集するPC2のPC制御部21に、情報の変動頻度に基づいて、情報が変動する期待値を設定し、期待値の設定後は、情報の収集タイミングごとに期待値を積算し、期待値を積算した値がしきい値を超えたことを条件として、情報を収集するステップ、を実行させる。 The program sets an expected value at which the information fluctuates on the PC control unit 21 of the PC 2 that collects the information indicating the state of the printer 1 based on the frequency of the information change, and after setting the expected value, the information collection timing. The expected value is summed up for each, and the step of collecting information is executed on condition that the value obtained by summing the expected value exceeds the threshold value.

この構成によれば、情報の変動頻度に基づいて期待値を設定し、期待値の設定後は、情報の収集タイミングごとに期待値を積算した値がしきい値を超えたことを条件として情報を収集するため、情報の変動頻度に見合った、適切な収集間隔で情報を収集することができる。 According to this configuration, the expected value is set based on the frequency of change of the information, and after setting the expected value, the information is provided on condition that the value obtained by accumulating the expected value at each information collection timing exceeds the threshold value. Since the information is collected, it is possible to collect the information at an appropriate collection interval corresponding to the frequency of change of the information.

上記のPC2において、PC制御部21は、予め設定された最低期待値以下とならないように、期待値を設定することが好ましい。 In the PC 2 described above, it is preferable that the PC control unit 21 sets an expected value so as not to be less than or equal to a preset minimum expected value.

この構成によれば、情報の収集頻度が極端に少なくなることを防止できる。 With this configuration, it is possible to prevent the information collection frequency from becoming extremely low.

上記のPC2において、PC制御部21は、期待値の初期値である初回期待値の設定後、収集した情報が変動したとき、現在設定されている期待値である現在期待値が設定されてから情報が変動するまでの情報の収集タイミングの数に基づいて、現在期待値を更新することが好ましい。 In the above-described PC 2, the PC control unit 21 sets the initial expected value, which is the initial value of the expected value, and then sets the current expected value, which is the currently set expected value, when the collected information fluctuates. It is preferable to update the current expected value based on the number of information collection timings until the information changes.

この構成によれば、最新の情報の変動頻度に基づいて、適切な期待値を設定することができる。また、これにより、より適切な収集間隔で情報を収集することができる。 With this configuration, it is possible to set an appropriate expected value based on the latest information change frequency. Further, this makes it possible to collect information at a more appropriate collection interval.

上記のPC2において、複数の項目について情報を収集する場合、PC制御部21は、項目ごとに設定した期待値に基づいて、項目ごとに情報を収集することが好ましい。 When collecting information about a plurality of items in the PC 2 described above, it is preferable that the PC control unit 21 collects information for each item based on the expected value set for each item.

この構成によれば、項目ごとに、適切な収集間隔で情報を収集することができる。 With this configuration, it is possible to collect information for each item at an appropriate collection interval.

上記のPC2において、複数のプリンター1の情報を収集する場合、PC制御部21は、プリンター1ごとに設定した期待値に基づいて、プリンター1ごとに情報を収集することが好ましい。 When collecting information of a plurality of printers 1 in the PC 2 described above, the PC control unit 21 preferably collects information for each printer 1 based on the expected value set for each printer 1.

この構成によれば、プリンター1ごとに、適切な収集間隔で情報を収集することができる。 With this configuration, it is possible to collect information for each printer 1 at appropriate collection intervals.

上記のPC2において、PC制御部21は、プリンター1から収集した情報を、情報を管理するサーバー3に送信することが好ましい。 In the PC 2 described above, the PC control unit 21 preferably transmits the information collected from the printer 1 to the server 3 that manages the information.

この構成によれば、プリンター1から収集した情報を、サーバー3で管理し、有効活用することができる。 According to this configuration, the information collected from the printer 1 can be managed by the server 3 and effectively utilized.

1…プリンター、2…PC、3…サーバー、NW1…第1のネットワーク、NW2…第2のネットワーク。 1... Printer, 2... PC, 3... Server, NW1... First network, NW2... Second network.

Claims (8)

プリンターの状態を示す情報を収集する情報収集装置であって、
前記情報の変動頻度に基づいて、前記情報が変動する期待値を設定し、前記期待値の設定後は、前記情報の収集タイミングごとに前記期待値を積算し、前記期待値を積算した値がしきい値を超えたことを条件として、前記情報を収集する制御部、を備えることを特徴とする情報収集装置。
An information collection device that collects information indicating the status of the printer,
Based on the change frequency of the information, set the expected value that the information changes, after setting the expected value, the expected value is integrated at each collection timing of the information, the value obtained by integrating the expected value is An information collecting apparatus, comprising: a control unit that collects the information on condition that a threshold value is exceeded.
前記制御部は、予め設定された最低期待値以下とならないように、前記期待値を設定することを特徴とする請求項1に記載の情報収集装置。 The information collecting apparatus according to claim 1, wherein the control unit sets the expected value so as not to be less than or equal to a preset minimum expected value. 前記制御部は、前記期待値の初期値である初回期待値の設定後、収集した前記情報が変動したとき、現在設定されている前記期待値である現在期待値が設定されてから前記情報が変動するまでの前記情報の収集タイミングの数に基づいて、前記現在期待値を更新することを特徴とする請求項1または2に記載の情報収集装置。 The control unit, after setting the initial expected value, which is the initial value of the expected value, when the collected information fluctuates, the information is changed after the current expected value, which is the currently set expected value, is set. The information collecting apparatus according to claim 1 or 2, wherein the current expected value is updated based on the number of collection timings of the information until it changes. 複数の項目について前記情報を収集する場合、
前記制御部は、前記項目ごとに設定した前記期待値に基づいて、前記項目ごとに前記情報を収集することを特徴とする請求項1ないし3のいずれか1項に記載の情報収集装置。
When collecting the above information for multiple items,
The information collecting device according to claim 1, wherein the control unit collects the information for each item based on the expected value set for each item.
複数の前記プリンターの前記情報を収集する場合、
前記制御部は、前記プリンターごとに設定した前記期待値に基づいて、前記プリンターごとに前記情報を収集することを特徴とする請求項1ないし4のいずれか1項に記載の情報収集装置。
When collecting the information of multiple printers,
The information collecting apparatus according to claim 1, wherein the control unit collects the information for each printer based on the expected value set for each printer.
前記制御部は、前記プリンターから収集した前記情報を、前記情報を管理するサーバーに送信することを特徴とする請求項1ないし5のいずれか1項に記載の情報収集装置。 The information collecting apparatus according to claim 1, wherein the control unit transmits the information collected from the printer to a server that manages the information. プリンターの状態を示す情報を収集する情報収集装置の制御方法であって、
前記情報の変動頻度に基づいて、前記情報が変動する期待値を設定し、前記期待値の設定後は、前記情報の収集タイミングごとに前記期待値を積算し、前記期待値を積算した値がしきい値を超えたことを条件として、前記情報を収集することを特徴とする情報収集装置の制御方法。
A method for controlling an information collecting device that collects information indicating the status of a printer,
Based on the change frequency of the information, set the expected value that the information changes, after setting the expected value, the expected value is integrated at each collection timing of the information, the value obtained by integrating the expected value is A method of controlling an information collecting device, characterized in that the information is collected on condition that a threshold value is exceeded.
プリンターの状態を示す情報を収集する情報収集装置の制御部に、
前記情報の変動頻度に基づいて、前記情報が変動する期待値を設定し、前記期待値の設定後は、前記情報の収集タイミングごとに前記期待値を積算し、前記期待値を積算した値がしきい値を超えたことを条件として、前記情報を収集するステップ、を実行させることを特徴とするプログラム。
In the control unit of the information collection device that collects information indicating the status of the printer,
Based on the change frequency of the information, set the expected value that the information changes, after setting the expected value, the expected value is integrated at each collection timing of the information, the value obtained by integrating the expected value is A program for executing the step of collecting the information on condition that the threshold value is exceeded.
JP2018234131A 2018-12-14 2018-12-14 Information collection device, method for controlling information collection device, and program Pending JP2020095562A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018234131A JP2020095562A (en) 2018-12-14 2018-12-14 Information collection device, method for controlling information collection device, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018234131A JP2020095562A (en) 2018-12-14 2018-12-14 Information collection device, method for controlling information collection device, and program

Publications (1)

Publication Number Publication Date
JP2020095562A true JP2020095562A (en) 2020-06-18

Family

ID=71083970

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018234131A Pending JP2020095562A (en) 2018-12-14 2018-12-14 Information collection device, method for controlling information collection device, and program

Country Status (1)

Country Link
JP (1) JP2020095562A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2024051631A (en) * 2022-09-30 2024-04-11 サイレックス・テクノロジー株式会社 COLLECTION DEVICE, CONTROL METHOD, AND PROGRAM

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2024051631A (en) * 2022-09-30 2024-04-11 サイレックス・テクノロジー株式会社 COLLECTION DEVICE, CONTROL METHOD, AND PROGRAM
JP7759058B2 (en) 2022-09-30 2025-10-23 サイレックス・テクノロジー株式会社 Collection device, control method, and program

Similar Documents

Publication Publication Date Title
JP5868230B2 (en) Actuator and computer program
JP6620985B2 (en) Information processing device
JP3697247B2 (en) Information processing apparatus, monitoring method, program, and storage medium
JP2009023187A (en) Print system
JP7037114B2 (en) Information processing equipment and computer programs
CN110303771B (en) Information processing apparatus and non-transitory computer-readable storage medium
JP7229726B2 (en) IMAGE FORMING APPARATUS, IMAGE FORMING APPARATUS CONTROL METHOD, AND COMPUTER PROGRAM
JP2001228760A (en) Image forming apparatus and its control method, information processing apparatus and its control method, inventory management system, inventory management method, and memory medium
US11023193B2 (en) Processing apparatus, medium storing program executable by processing apparatus, and printing material ordering system
JP2020095562A (en) Information collection device, method for controlling information collection device, and program
JP2020095541A (en) Information collection device, method for controlling information collection device, and program
JP2015018008A (en) Consumables management apparatus and consumables management program
US11200010B2 (en) System and method for increasing page yield of a replaceable toner cartridge
US12147718B2 (en) System and method for processing consumable delivery
JP7118787B2 (en) Management system and management method
CN112005174A (en) Image forming apparatus for guiding refilling operation of toner
JP7401844B2 (en) Computer program, management device, and management method
JP7323862B2 (en) Computer program, management device and management method
CN112346314A (en) Information management system, information management method, and box
JP2011150589A (en) Information processing apparatus and method thereof
JP7328619B2 (en) Computer program, management device and management method
JP2023085403A (en) Computer program for information processing equipment
JP6074810B2 (en) Image processing apparatus, image processing system, power saving mode shift control method, computer program, and recording medium
JP2011104812A (en) Management device of printer, accounting processing method and program
WO2022154800A1 (en) Printing device consumable item end of life prediction

Legal Events

Date Code Title Description
RD07 Notification of extinguishment of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7427

Effective date: 20200810