JP4321499B2 - Information collection technology from devices - Google Patents

Information collection technology from devices Download PDF

Info

Publication number
JP4321499B2
JP4321499B2 JP2005184354A JP2005184354A JP4321499B2 JP 4321499 B2 JP4321499 B2 JP 4321499B2 JP 2005184354 A JP2005184354 A JP 2005184354A JP 2005184354 A JP2005184354 A JP 2005184354A JP 4321499 B2 JP4321499 B2 JP 4321499B2
Authority
JP
Japan
Prior art keywords
information
job
processed
printer
recorded
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.)
Expired - Fee Related
Application number
JP2005184354A
Other languages
Japanese (ja)
Other versions
JP2007004515A (en
Inventor
敏博 島
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 JP2005184354A priority Critical patent/JP4321499B2/en
Publication of JP2007004515A publication Critical patent/JP2007004515A/en
Application granted granted Critical
Publication of JP4321499B2 publication Critical patent/JP4321499B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)
  • Record Information Processing For Printing (AREA)

Description

本発明は、デバイスからの情報収集技術に関し、特に、デバイスにおいて処理中のジョブに関する情報の収集に関する。   The present invention relates to a technique for collecting information from a device, and more particularly, to collecting information about a job being processed in a device.

近年、印刷装置をネットワークに接続して利用する利用形態が普及している。それに伴い、ネットワークを介した有料印刷サービスの提供も実用化されつつある。このようなサービスでは、印刷装置における印刷履歴をサービス提供者が正しく把握するための技術が重要である。例えば、印刷装置に不揮発性メモリを備え、印刷が異常終了された場合に、異常終了の履歴を不揮発性メモリに記録しておく技術が知られている(例えば、特許文献1)。上記技術では、印刷が異常終了、例えば、印刷の途中で用紙のジャムが発生した後に電源が切れてしまった場合等の履歴を把握することができる。   In recent years, a usage form in which a printing apparatus is connected to a network for use has become widespread. Along with this, provision of paid printing services via networks is also being put into practical use. In such a service, a technique for the service provider to correctly grasp the print history in the printing apparatus is important. For example, a technique is known in which a non-volatile memory is provided in a printing apparatus, and a history of abnormal termination is recorded in the nonvolatile memory when printing is terminated abnormally (for example, Patent Document 1). With the above technique, it is possible to grasp a history of abnormal termination of printing, for example, when the power is turned off after a paper jam occurs during printing.

特開2000−229461号公報JP 2000-229461 A

しかしながら、上記技術では異常終了の履歴を記録するにすぎず、異常終了前に既に終了された印刷分の履歴を把握できないおそれがあった。さらに上記技術では、印刷装置すべてに不揮発性メモリを搭載する必要があるため、印刷装置のコストアップを招くおそれがあり、また、揮発性メモリしか搭載していない既存の印刷装置を利用できないという問題があった。このような問題は印刷装置に限らず、所定のジョブを処理するデバイスに共通する課題であった。   However, the above technique only records the history of abnormal termination, and there is a possibility that the history of the print already completed before the abnormal termination cannot be grasped. Furthermore, in the above technique, since it is necessary to mount a non-volatile memory in all the printing apparatuses, there is a risk that the cost of the printing apparatus may be increased, and that an existing printing apparatus having only a volatile memory cannot be used. was there. Such a problem is not limited to the printing apparatus, but is a problem common to devices that process predetermined jobs.

本発明は、上記課題を解決するためになされたものであり、デバイスにおいて処理中のジョブ情報を収集する技術を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is to provide a technique for collecting job information being processed in a device.

上記課題の少なくとも一部を解決するために本発明の第1の態様は、所定のジョブを処理するデバイスであって、処理中のジョブに関する情報を含むジョブ情報を揮発性のメモリに記録する第1の記録手段を有する1または複数のデバイスと接続される情報収集装置を提供する。本発明の第1の態様に係る情報収集装置は、不揮発性の記憶手段と、前記デバイスの異常状態を検出する第1の検出手段と、前記デバイスがジョブを処理中であることを検出する第2の検出手段と、前記デバイスがジョブを処理中であり、かつ、異常状態である場合に、前記揮発性のメモリに記録されたジョブ情報の中から前記処理中のジョブに関する情報を取得する取得手段と、前記取得された処理中のジョブに関する情報を前記不揮発性の記憶手段に記録する第2の記録手段と、を備えることを特徴とする。   In order to solve at least a part of the above problem, a first aspect of the present invention is a device for processing a predetermined job, and records job information including information on a job being processed in a volatile memory. An information collecting apparatus connected to one or a plurality of devices having one recording means is provided. An information collection apparatus according to a first aspect of the present invention includes a nonvolatile storage unit, a first detection unit that detects an abnormal state of the device, and a first unit that detects that the device is processing a job. And obtaining information related to the job being processed from the job information recorded in the volatile memory when the device is processing a job and in an abnormal state And a second recording unit that records information on the acquired job being processed in the non-volatile storage unit.

本発明の第1の態様に係る情報収集装置によれば、デバイスがジョブを処理中であり、かつ、異常状態である場合に処理中のジョブに関する情報を不揮発性の記憶手段に記録するので、異常状態になった処理中のジョブに関する情報を保存しておくことができる。   According to the information collecting apparatus according to the first aspect of the present invention, when the device is processing a job and is in an abnormal state, the information about the job being processed is recorded in the nonvolatile storage means. It is possible to save information about a job being processed that has entered an abnormal state.

本発明の第1の態様に係る情報収集装置において、前記処理中のジョブに関する情報は、処理中のジョブのうち処理が終了した部分を特定するための情報を含んでも良い。こうすれば、不揮発性の記憶手段に記録された情報からデバイスが異常状態になる前までに処理されたジョブの部分を特定することができる。   In the information collecting apparatus according to the first aspect of the present invention, the information regarding the job being processed may include information for specifying a part of the job being processed that has been processed. In this way, it is possible to specify the part of the job processed before the device enters the abnormal state from the information recorded in the nonvolatile storage means.

本発明の第1の態様に係る情報収集装置において、前記第1の記録手段は、さらに、前記処理中のジョブに関する情報に対応するジョブが正常に終了した場合には、前記揮発性のメモリに記録された前記処理中のジョブに関する情報を、処理が終了したジョブに関する情報に更新し、前記取得手段は、さらに、前記揮発性のメモリに記録されたジョブ情報の中から前記処理が終了したジョブに関する情報を取得し、前記第2の記録手段は、前記記録された処理中のジョブに関する情報に対応するジョブについて前記処理が終了したジョブに関する情報が取得された場合には、前記記録された処理中のジョブに関する情報を消去し、前記取得された処理が終了したジョブに関する情報を記録しても良い。こうすれば、不揮発性の記憶手段の容量が無駄に使用されることを抑制することができる。   In the information collecting apparatus according to the first aspect of the present invention, the first recording unit further stores the information in the volatile memory when a job corresponding to the information on the job being processed is completed normally. The recorded information relating to the job being processed is updated to information relating to the job for which processing has been completed, and the acquisition means further includes a job for which processing has been completed from the job information recorded in the volatile memory. Information about the job that has been processed for the job corresponding to the information about the job being processed is acquired, the second recording means It is also possible to delete information related to the current job and record information related to the job for which the acquired processing has been completed. In this way, it is possible to prevent the capacity of the nonvolatile storage unit from being used wastefully.

本発明の第1の態様に係る情報収集装置は、さらに、前記不揮発性の記憶手段に記録された前記処理中のジョブに関する情報に対応するジョブが異常終了したことを検出する第3の検出手段を備えても良い。こうすれば、記録された処理中のジョブに関する情報が、そのジョブの最終的な情報であると判断することができる。   The information collecting apparatus according to the first aspect of the present invention further includes third detecting means for detecting that the job corresponding to the information on the job being processed recorded in the non-volatile storage means has ended abnormally. May be provided. In this way, it is possible to determine that the recorded information regarding the job being processed is the final information of the job.

本発明の第1の態様に係る情報収集装置において、前記第3の検出手段は、前記処理中のジョブが正常に終了される前に前記デバイスが電源をオフにされたことを検出する手段であっても良く、前記情報収集装置と前記デバイスとの電源が共有されている場合には、前記第3の検出手段は、前記情報収集装置が電源をオンされたときに前記不揮発性の記憶手段に記録された処理中のジョブに関する情報が存在する場合に、前記不揮発性の記憶手段に記録された処理中のジョブに関する情報に対応するジョブが異常終了したと判断しても良い。かかる場合には、処理中のジョブが異常終了したことを適切に検出することができる。   In the information collecting apparatus according to the first aspect of the present invention, the third detecting means is means for detecting that the device is turned off before the job being processed is normally terminated. If the information collecting device and the device have a common power source, the third detecting unit may be configured to store the nonvolatile storage unit when the information collecting device is turned on. May be determined that the job corresponding to the information regarding the job being processed recorded in the non-volatile storage means has ended abnormally. In such a case, it is possible to appropriately detect that the job being processed has ended abnormally.

本発明の第1の態様に係る情報収集装置において、前記第2の記録手段は、前記取得された処理中のジョブに関する情報を、更新され得る中間情報として記録し、前記処理中のジョブに関する情報に対応するジョブが異常終了した場合には、前記取得された処理中のジョブに関する情報を、更新されない最終情報として記録しても良い。こうすれば、不揮発性の記憶手段に記録されている処理中のジョブに関する情報が中間情報が更新され得る情報か否かを容易に判断することができる。   In the information collecting apparatus according to the first aspect of the present invention, the second recording unit records the acquired information on the job being processed as intermediate information that can be updated, and information on the job being processed If the job corresponding to is abnormally terminated, the acquired information on the job being processed may be recorded as final information that is not updated. In this way, it is possible to easily determine whether or not the information on the job being processed recorded in the nonvolatile storage means is information that can update the intermediate information.

本発明の第1の態様に係る情報収集装置において、前記第2の記録手段は、前記処理中のジョブに関する情報を、更新され得る中間情報として記録し、前記処理が終了したジョブに関する情報を、更新されない最終情報として記録しても良い。そして、前記中間情報は、前記中間情報であることを示す第1の識別子と関連付けられた情報であり、前記最終情報は、前記最終情報であることを示す第2の識別子と関連付けられた情報であっても良い。こうすれば、ジョブに関する情報が中間情報であるか最終情報であるかを容易に判断することができる。   In the information collecting apparatus according to the first aspect of the present invention, the second recording unit records information on the job being processed as intermediate information that can be updated, and information on the job for which the processing has been completed. It may be recorded as final information that is not updated. The intermediate information is information associated with a first identifier indicating the intermediate information, and the final information is information associated with a second identifier indicating the final information. There may be. In this way, it can be easily determined whether the information about the job is intermediate information or final information.

本発明の第1の態様に係る情報収集装置において、前記デバイスは、前記デバイスの異常状態および前記デバイスがジョブを処理中であることを含むステータス情報を記録しており、前記第1の検出部および前記第2の検出部による検出は、前記記録されたステータス情報を取得することによって実行されても良い。こうすれば、容易にデバイスの異常状態や、デバイスがジョブを処理中であることを検出することができる。   In the information collection apparatus according to the first aspect of the present invention, the device records status information including an abnormal state of the device and that the device is processing a job, and the first detection unit The detection by the second detection unit may be executed by acquiring the recorded status information. In this way, it is possible to easily detect an abnormal state of the device or that the device is processing a job.

本発明の第1の態様に係る情報収集装置において、前記第1の検出手段により検出される前記異常状態は、前記デバイスにエラーが発生したことにより、前記デバイスがジョブの処理を中断している状態を含んでも良く、前記デバイスが電源をオフされたことにより、前記デバイスがジョブの処理を継続できない状態を含んでも良い。   In the information collecting apparatus according to the first aspect of the present invention, the abnormal state detected by the first detecting means is that the device interrupts job processing because an error has occurred in the device. It may also include a state in which the device cannot continue job processing because the device is powered off.

本発明の第1の態様に係る情報収集装置において、前記情報収集装置は、前記デバイスを管理する管理サーバと接続され、前記情報収集装置は、さらに、前記記録された処理中のジョブに関する情報を前記管理サーバに送信する通信部を備えても良い。こうすれば、管理サーバは、異常状態になったジョブについても情報を収集することができる。   In the information collection apparatus according to the first aspect of the present invention, the information collection apparatus is connected to a management server that manages the device, and the information collection apparatus further stores information about the recorded job being processed. You may provide the communication part transmitted to the said management server. In this way, the management server can collect information about a job in an abnormal state.

本発明の第1の態様に係る情報収集装置において、前記デバイスは、印刷装置であり、前記ジョブは、印刷ジョブであっても良い。かかる場合には、印刷ジョブが異常状態になった場合に印刷中の印刷ジョブに関する情報を保存しておくことができる。   In the information collection apparatus according to the first aspect of the present invention, the device may be a printing apparatus, and the job may be a print job. In such a case, when the print job is in an abnormal state, information regarding the print job being printed can be stored.

本発明の第2の態様は、デバイスを提供する。本発明の第2の態様に係るデバイスは、前記1または複数のデバイスのうちの1つのデバイスであって、上述した第1の態様に係る情報収集装置を内蔵することを特徴とする。こうすれば、情報収集装置を別体で設置することなく、簡易な構成で上述の効果を得ることができる。   A second aspect of the present invention provides a device. A device according to a second aspect of the present invention is one of the one or more devices, and includes the information collecting apparatus according to the first aspect described above. In this way, the above-described effects can be obtained with a simple configuration without installing the information collecting apparatus separately.

なお、本発明は、上記した情報収集装置や、デバイスとしての構成の他、その情報を収集する方法などの方法発明としての態様で実現することも可能である。さらには、それら方法や装置を構築するためのコンピュータプログラムとしての態様や、そのようなコンピュータプログラムを記録した記録媒体としての態様や、上記コンピュータプログラムを含み搬送波内に具現化されたデータ信号など、種々の態様で実現することも可能である。   Note that the present invention can be realized in the form of a method invention such as a method of collecting the information in addition to the above-described information collecting apparatus and device configuration. Further, aspects as a computer program for constructing those methods and apparatuses, aspects as a recording medium recording such a computer program, data signals embodied in a carrier wave including the computer program, etc. It can also be realized in various ways.

以下、本発明に係る印刷装置について、図面を参照しつつ、実施例に基づいて説明する。   DESCRIPTION OF EXEMPLARY EMBODIMENTS Hereinafter, a printing apparatus according to the invention will be described based on examples with reference to the drawings.

A.第1実施例:
・印刷システムの構成:
図1および図2を参照して、本発明の第1実施例における印刷システムの構成について説明する。図1は、第1実施例における印刷システムの概略構成を示す説明図である。図2は、第1実施例における印刷システムを構成する各機器の内部構成を示すブロック図である。
A. First embodiment:
・ Configuration of printing system:
The configuration of the printing system in the first embodiment of the present invention will be described with reference to FIGS. FIG. 1 is an explanatory diagram illustrating a schematic configuration of a printing system according to the first embodiment. FIG. 2 is a block diagram showing an internal configuration of each device constituting the printing system in the first embodiment.

この印刷システムは、図1に示すように、クライアントとしての計算機(以下、単にクライアントという。)CLと、複数のプリンタPRT1〜PRT3と、管理サーバSVを含む。クライアントCLと、プリンタPRT1〜PRT3は、ローカルエリアネットワーク1(LAN1)を介して互いに接続されている。LAN1は、ファイアウォールFWを介してインターネットINTに接続されている。一方、管理サーバSVは、ローカルエリアネットワーク2(LAN2)に接続されている。LAN2は、インターネットINTに接続されている。印刷システムを構成するプリンタおよびクライアントの数は、図1に示す例に限らず、任意の数とすることができる。以下において、各プリンタPRT1〜PRT3を区別する必要のない場合には、符号の末尾の数字を省略しプリンタPRTともいう。   As shown in FIG. 1, the printing system includes a computer (hereinafter simply referred to as a client) CL as a client, a plurality of printers PRT1 to PRT3, and a management server SV. The client CL and the printers PRT1 to PRT3 are connected to each other via the local area network 1 (LAN1). The LAN 1 is connected to the Internet INT via the firewall FW. On the other hand, the management server SV is connected to the local area network 2 (LAN2). The LAN 2 is connected to the Internet INT. The number of printers and clients constituting the printing system is not limited to the example shown in FIG. 1 and may be any number. In the following, when it is not necessary to distinguish the printers PRT1 to PRT3, numerals at the end of the reference numerals are omitted, and the printers are also referred to as printers PRT.

各機器間の通信は、TCP/IPプロトコルを用いて行われるため、各機器にはそれぞれIPアドレスが割り振られる。なお、厳密に言えば、これらIPアドレスは、クライアントCL、プリンタPRT1〜PRT3自体に設定されているわけではなく、TCP/IPのネットワークから見た場合のノード(すなわち、具体的には、TCP/IP通信を行うためにネットワークに接続されているネットワークボードなど)に設定されている。   Since communication between devices is performed using the TCP / IP protocol, each device is assigned an IP address. Strictly speaking, these IP addresses are not set in the client CL and the printers PRT1 to PRT3 themselves, but are nodes when viewed from the TCP / IP network (that is, specifically TCP / IP). For example, a network board connected to a network for performing IP communication).

これらプリンタのうち、プリンタPRT1には、カスタムネットワークボード100が取り付けられている。プリンタPRT2およびPRT3には、それぞれ、標準のネットワークボード200が取り付けられている。このカスタムネットワークボード100は、後述するように各プリンタPRTから様々な情報を収集する情報収集機能を備えており、請求項における情報収集装置に相当する。   Among these printers, a custom network board 100 is attached to the printer PRT1. A standard network board 200 is attached to each of the printers PRT2 and PRT3. As will be described later, the custom network board 100 has an information collecting function for collecting various information from each printer PRT, and corresponds to an information collecting device in claims.

プリンタPRT1は、図2に示すように、プリンタ本体PRBと、上述したカスタムネットワークボード100とを備えている。   As shown in FIG. 2, the printer PRT1 includes a printer main body PRB and the custom network board 100 described above.

プリンタ本体PRBは、主として、プリンタエンジン80と、プリンタコントローラ90とを備えている。プリンタエンジン80は、実際に印刷を行う機構部分であり、本実施例では、静電気によってトナー粉が付着する現象を利用して印刷用紙上に画像を形成するいわゆるレーザー式のプリンタエンジンである。プリンタコントローラ90は、カスタムネットワークボード100から印刷ジョブを受け取って、印刷ジョブに従ってプリンタエンジン80を制御し、印刷を実行する。   The printer main body PRB mainly includes a printer engine 80 and a printer controller 90. The printer engine 80 is a mechanism portion that actually performs printing. In this embodiment, the printer engine 80 is a so-called laser type printer engine that forms an image on printing paper by utilizing a phenomenon that toner powder adheres due to static electricity. The printer controller 90 receives a print job from the custom network board 100, controls the printer engine 80 according to the print job, and executes printing.

カスタムネットワークボード100は、主として、CPU20と、フラッシュメモリ30と、RAM40と、ROM50とを備えている。また、この他、実際にネットワーク通信を行うための通信用インタフェースなども備えているが、説明の便宜上、省略している。   The custom network board 100 mainly includes a CPU 20, a flash memory 30, a RAM 40, and a ROM 50. In addition, although a communication interface for actually performing network communication is also provided, it is omitted for convenience of explanation.

CPU20は、ROM50より、情報収集機能やデータ通信等を実行するためのプログラムを読み出して、実行することにより、図示した各機能ブロックをソフトウエア的に実現する。   The CPU 20 reads the program for executing the information collecting function, data communication, and the like from the ROM 50 and executes the program, thereby realizing each functional block shown in the figure as software.

CPU20によって実現される機能ブロックには、TCP/IP部10と、情報収集部60と、通信制御部70とが含まれる。TCP/IP部10は、TCP/IPプロトコルを解釈して、主としてネットワークを介して外部との通信を行う。TCP/IPプロトコルにおいてトランスポート層の処理を行うプロトコルとして、TCP(Transmission Control Protocol)とUDP(User Datagram Protocol)がある。TCPは、信頼性の高いコネクション型の通信を実現するプロトコルである。一方、UDPは、高速なコネクションレス型の通信を実現するプロトコルである。TCP/IP部10は、後述する印刷ジョブの通信をTCPを用いて行うと共に、後述するSNMPによる通信をUDPを用いて行う。   Functional blocks realized by the CPU 20 include a TCP / IP unit 10, an information collection unit 60, and a communication control unit 70. The TCP / IP unit 10 interprets the TCP / IP protocol and performs communication with the outside mainly via the network. TCP (Transmission Control Protocol) and UDP (User Datagram Protocol) are protocols that perform transport layer processing in the TCP / IP protocol. TCP is a protocol for realizing highly reliable connection-type communication. On the other hand, UDP is a protocol that realizes high-speed connectionless communication. The TCP / IP unit 10 performs communication of a print job to be described later using TCP, and performs communication by SNMP to be described later using UDP.

情報収集部60は、サーバ通信部62と、ジョブ情報記録部64と、SNMPマネージャ66とを備える。SNMPマネージャ66は、SNMPプロトコルを用いて後述するSNMPエージェント74と通信を行うことにより、例えば、各プリンタPRTに関する情報を取得することができる。ジョブ情報記録部64は、SNMPマネージャ66により取得された各プリンタPRTに関する情報のうちジョブ情報(後述)をジョブ情報格納部34(後述)に記録する。サーバ通信部62は、管理サーバSVとの通信を行う。例えば、サーバ通信部62は、ジョブ情報格納部34に記録された内容を管理サーバSVに送信する。   The information collection unit 60 includes a server communication unit 62, a job information recording unit 64, and an SNMP manager 66. The SNMP manager 66 can acquire information on each printer PRT, for example, by communicating with an SNMP agent 74 described later using the SNMP protocol. The job information recording unit 64 records job information (described later) among the information regarding each printer PRT acquired by the SNMP manager 66 in the job information storage unit 34 (described later). The server communication unit 62 communicates with the management server SV. For example, the server communication unit 62 transmits the content recorded in the job information storage unit 34 to the management server SV.

通信制御部70は、データ受信処理部72と、SNMPエージェント74とを備える。データ受信処理部72は、印刷ジョブデータを受信して、上述したプリンタコントローラ90に供給する。SNMPエージェント74は、上述したSNMPマネージャ66との通信を行う。なお、SNMPエージェント74とSNMPマネージャ66との通信についてはさらに後述する。   The communication control unit 70 includes a data reception processing unit 72 and an SNMP agent 74. The data reception processing unit 72 receives print job data and supplies it to the printer controller 90 described above. The SNMP agent 74 communicates with the SNMP manager 66 described above. Note that communication between the SNMP agent 74 and the SNMP manager 66 will be described later.

フラッシュメモリ30は、不揮発性、かつ、書き換え可能なメモリであり、OID情報格納部32およびジョブ情報格納部34を有している。OID情報格納部32は、後述するOIDを格納する領域である。ジョブ情報格納部34は、ジョブ情報をファイルとして格納するためのディレクトリである。RAM40は、揮発性のメモリであり、CPU20がプログラムを実行する際にデータ等を一時的に格納するために用いられる。ROM50は、主として、CPU20が各機能ブロックを含む機能を実現するためのプログラムが格納されている。   The flash memory 30 is a nonvolatile and rewritable memory, and includes an OID information storage unit 32 and a job information storage unit 34. The OID information storage unit 32 is an area for storing an OID described later. The job information storage unit 34 is a directory for storing job information as a file. The RAM 40 is a volatile memory and is used for temporarily storing data and the like when the CPU 20 executes a program. The ROM 50 mainly stores programs for the CPU 20 to realize functions including each functional block.

プリンタPRT2とプリンタPRT3は、同一の構成を有しているので、プリンタPRT2のみについて説明する。プリンタPRT2は、図2に示すように、プリンタ本体PRBおよび上述したネットワークボード200を備えている。プリンタ本体PRBの構成は、上述したプリンタPRT1のプリンタ本体PRBと同一の構成を有しているので、各構成要素にプリンタPRT1のプリンタ本体PRBの構成要素と同一の符号を付しその説明を省略する。ネットワークボード200は、上述したカスタムネットワークボード100が有する機能のうち、通信制御部70とTCP/IP部10とを有している。これらの機能ブロックは、カスタムネットワークボード100の同名の機能ブロックと同一であるので、同一の符号を付し、その説明を省略する。   Since the printer PRT2 and the printer PRT3 have the same configuration, only the printer PRT2 will be described. As shown in FIG. 2, the printer PRT2 includes a printer main body PRB and the network board 200 described above. The configuration of the printer main body PRB has the same configuration as that of the printer main body PRB of the printer PRT1 described above. To do. The network board 200 includes the communication control unit 70 and the TCP / IP unit 10 among the functions of the custom network board 100 described above. Since these functional blocks are the same as the functional blocks having the same names in the custom network board 100, the same reference numerals are given and the description thereof is omitted.

ここで、上記説明から解るように、プリンタPRT1に搭載されたカスタムネットワークボード100は、プリンタPRT2およびプリンタPRT3に搭載されたネットワークボード200の備える機能を全て備えている。ここで、カスタムネットワークボード100の情報収集部60からみて、プリンタPRT1〜プリンタPRT3は、全て等価である。この結果、後述する情報収集処理において、情報収集部60は、プリンタPRT1〜プリンタPRT3を、監視対象プリンタとしてそれぞれ等価に扱うことができる。   Here, as will be understood from the above description, the custom network board 100 mounted on the printer PRT1 has all the functions of the network board 200 mounted on the printer PRT2 and the printer PRT3. Here, as viewed from the information collection unit 60 of the custom network board 100, the printers PRT1 to PRT3 are all equivalent. As a result, in the information collection process described later, the information collection unit 60 can treat the printers PRT1 to PRT3 as equivalent to the monitoring target printers.

クライアントCLおよび管理サーバSVは、周知の計算機である。クライアントCLのメモリには、プリンタドライバやアプリーションソフトが格納され、プリンタに印刷ジョブを送信する機能を有する。管理サーバSVのメモリには、上述したカスタムネットワークボード100と通信する機能を含むシステム管理プログラムが格納されている。これらの詳細については説明を省略する。   The client CL and the management server SV are well-known computers. The client CL memory stores a printer driver and application software, and has a function of transmitting a print job to the printer. A system management program including a function of communicating with the custom network board 100 described above is stored in the memory of the management server SV. Description of these details is omitted.

次に、図3〜図6を参照して、SNMPプロトコルを用いて実行される情報収集の仕組みについて簡単に説明する。図3は、プリンタに関する情報の収集を実現するための構成の概要を示す説明図である。図4〜図6は、MIBとして記録されている項目の一例を示すテーブルである。   Next, with reference to FIG. 3 to FIG. 6, a mechanism of information collection executed using the SNMP protocol will be briefly described. FIG. 3 is an explanatory diagram showing an outline of a configuration for realizing collection of information related to the printer. 4 to 6 are tables showing examples of items recorded as MIBs.

上述したプリンタコントローラ90は、CPU91と、ROM92と、RAM93を備えている。ROM92には、主としてプリンタエンジン80の制御機能を実現するための制御プログラム95が格納されている。制御プログラム95は、不揮発性の記憶手段であるRAM93に、MIB(Management Information Base)97を記録するMIB記録部96を含んでいる。   The printer controller 90 described above includes a CPU 91, a ROM 92, and a RAM 93. The ROM 92 mainly stores a control program 95 for realizing the control function of the printer engine 80. The control program 95 includes an MIB recording unit 96 that records an MIB (Management Information Base) 97 in a RAM 93 that is a nonvolatile storage unit.

MIB97には、プリンタ本体に関して予め規格で統一的に規定されている情報や、製造者によって独自に定義されている情報がオブジェクトごとに保存されている。このオブジェクトは、ツリー構造で管理され、それぞれにオブジェクトID(以下、OIDと呼ぶ。)が割り振られ、識別できるようになっている。このOIDは、「1.4.2.2.1.3」のようにピリオドで区切られた数字となっている。   The MIB 97 stores, for each object, information that is preliminarily standardized with respect to the printer body and information that is uniquely defined by the manufacturer. This object is managed in a tree structure, and an object ID (hereinafter referred to as OID) is assigned to each object so that they can be identified. This OID is a number delimited by periods such as “1.4.2.2.1.3”.

MIBに、オブジェクトとして記録される項目には、印刷ジョブに関する情報(以下、ジョブ情報という。)およびプリンタPRTに発生したエラーに関する情報(以下、エラー情報という。)が含まれる。ジョブ情報には、図4に示すように、印刷ジョブの進行状況に関する情報が含まれる。これらの情報は、印刷ジョブごとに記録され、図4で割り当てられているOID「1.3.6.1.4.1.2699.1.1.1.3.....a.b」のうち、下2桁目のID「a」は、印刷ジョブごとに割り当てられる番号であり、下1桁のID「b」は、各管理情報(項目)ごとに割り当てられる番号である。このようなOIDにより記録される情報は、例えば、ジョブインデックス、印刷ジョブの進行状況、終了したページ数、終了した部数が含まれる。ジョブインデックスは、印刷ジョブを識別するためのインデックスである。印刷ジョブの進行状況は、例えば、正常に印刷が終了したこと(正常終了)、プリンタエンジン80により印刷を実行中であること(印刷中)などが含まれる。終了したページ数および終了した部数は、印刷ジョブの処理の進行にあわせて、上述したMIB記録部96によって更新される。従って、これらの値を参照すれば、印刷ジョブにおいて、現在、どこまで印刷が終了しているかを特定することができる。例えば、図4に示すMIBには、ジョブ番号a=1の印刷ジョブは、現在印刷中であり、「3部目の2ページ目」まで印刷が終了していることを示している。   Items recorded as objects in the MIB include information relating to print jobs (hereinafter referred to as job information) and information relating to errors occurring in the printer PRT (hereinafter referred to as error information). As shown in FIG. 4, the job information includes information regarding the progress of the print job. These pieces of information are recorded for each print job, and in the OID “1.3.6.1.4.1.2699.1.1.1.3 ..... ab” assigned in FIG. "Is a number assigned to each print job, and the last one-digit ID" b "is a number assigned to each piece of management information (item). Information recorded by such an OID includes, for example, a job index, a progress status of a print job, the number of finished pages, and the number of finished copies. The job index is an index for identifying a print job. The progress status of the print job includes, for example, that printing has been completed normally (normal termination), printing is being executed by the printer engine 80 (printing), and the like. The number of finished pages and the number of finished copies are updated by the above-described MIB recording unit 96 as the print job process proceeds. Therefore, by referring to these values, it is possible to specify how far printing has been completed in the print job. For example, the MIB shown in FIG. 4 indicates that the print job with job number a = 1 is currently being printed and has been printed up to “second page of the third copy”.

さらに、ジョブ情報には、図5に示すように、印刷ジョブの送信者を特定するための情報が含まれる。これらの情報は、図4に示す情報と同様に印刷ジョブごとに記録され、図5で割り当てられているOID「1.3.6.1.4.1.2699.1.1.1.4.....a.b」のうち、ID「a」(下2桁目)「b」(下1桁目)は、図4に示す情報と同様の番号である。このようなOIDにより記録される情報は、例えば、ジョブインデックスに加え、クライアント名、ユーザー名が含まれる。クライアント名は、クライアントCLを特定するための情報であり、ユーザー名は、クライアントにログインしているユーザーを特定するための情報である。   Further, as shown in FIG. 5, the job information includes information for specifying the sender of the print job. These pieces of information are recorded for each print job in the same manner as the information shown in FIG. 4, and are assigned to the OID “1.3.6.1.4.1.2699.1.1.1.4 .... ab” assigned in FIG. ID “a” (second digit) “b” (first digit) is the same number as the information shown in FIG. Information recorded by such OID includes, for example, a client name and a user name in addition to a job index. The client name is information for specifying the client CL, and the user name is information for specifying the user who has logged into the client.

エラー情報は、例えば、図6に示すようにエラー状況の変化ごとに記録される。エラー状況の変化とは、エラーの発生やエラーの解消を含む。エラー情報について、図5で割り当てられているOID「1.3.6.1.2.1.43.18.1.1..a.b」のうち、下2桁目のID「a」は、エラー番号であり、下1桁のID「b」は、各管理情報(項目)ごとに割り当てられる番号である。このようなOIDにより記録される情報は、エラー番号に加え、エラー状況(例えば、発生、解消)、エラー内容(例えば、用紙切れ、用紙のジャム)が含まれる。   For example, the error information is recorded for each change in the error status as shown in FIG. The change in the error situation includes occurrence of an error and elimination of the error. Regarding the error information, in the OID “1.3.6.1.2.1.43.18.1.1..ab” assigned in FIG. 5, the lower second digit ID “a” is the error number, and the lower one digit ID. “B” is a number assigned to each management information (item). The information recorded by such OID includes an error status (for example, occurrence and resolution) and error contents (for example, out of paper, paper jam) in addition to the error number.

図3に戻って、説明を続ける。SNMPマネージャ66は、上述したOIDを特定して、SNMPエージェント74に対して問い合わせを行う。SNMPマネージャ66は、定期的に各プリンタPRTの状態に関して問い合わせを行い、各プリンタPRTの状態を監視することができる。また、SNMPマネージャ66は、必要に応じて、フラッシュメモリ30に記録すべきジョブ情報を取得するための問い合わせを行うことができる。OID情報格納部32には、上述したOIDが予め格納されており、SNMPマネージャ66が問い合わせのためにOIDを特定する際に、参照される。   Returning to FIG. 3, the description will be continued. The SNMP manager 66 specifies the above-described OID and makes an inquiry to the SNMP agent 74. The SNMP manager 66 can periodically inquire about the status of each printer PRT and monitor the status of each printer PRT. Further, the SNMP manager 66 can make an inquiry for acquiring job information to be recorded in the flash memory 30 as necessary. The OID information storage unit 32 stores the above-described OID in advance, and is referred to when the SNMP manager 66 specifies an OID for an inquiry.

SNMPエージェント74は、上述したSNMPマネージャ66からの問い合わせを処理するポーリング処理部77を備える。ポーリング処理部77は、SNMPマネージャ66から問い合わせを受信すると、特定されたOIDに対応するオブジェクトを、MIB97から読み出す。ポーリング処理部77は、読み出したオブジェクトの値(管理情報)を問い合わせに対する応答に記述し、その応答をSNMPマネージャ66に返信する。   The SNMP agent 74 includes a polling processing unit 77 that processes an inquiry from the SNMP manager 66 described above. When receiving an inquiry from the SNMP manager 66, the polling processing unit 77 reads an object corresponding to the specified OID from the MIB 97. The polling processing unit 77 describes the read object value (management information) in the response to the inquiry, and returns the response to the SNMP manager 66.

なお、図3において破線でしめすUPS99、および、トラップ処理部78は、第2実施例において必要な構成であるので、第2実施例の説明において詳述する。   Note that the UPS 99 and the trap processing unit 78 indicated by broken lines in FIG. 3 are necessary configurations in the second embodiment, and will be described in detail in the description of the second embodiment.

・MIB記録処理
次に、図7を参照して、プリンタコントローラ90において上述したMIB97を記録する処理(MIB記録処理という。)について説明する。図7は、MIB記録処理の処理ルーチンを示すフローチャートである。
MIB Recording Process Next, a process for recording the above-described MIB 97 in the printer controller 90 (referred to as MIB recording process) will be described with reference to FIG. FIG. 7 is a flowchart showing a processing routine of the MIB recording process.

プリンタコントローラ90は、電源が投入されている間、クライアントCLから印刷ジョブが送信されてくるのを待っている(ステップS102)。印刷ジョブを受信すると(ステップS102:YES)、プリンタコントローラ90のMIB記録部96は、受信された印刷ジョブについてMIBデータを作成し、MIB97に記録する(ステップS104)。具体的には、図4および図5を参照して説明した印刷ジョブに関する情報を記録するMIBデータが作成される。   The printer controller 90 is waiting for a print job to be transmitted from the client CL while the power is on (step S102). When a print job is received (step S102: YES), the MIB recording unit 96 of the printer controller 90 creates MIB data for the received print job and records it in the MIB 97 (step S104). Specifically, MIB data for recording information related to the print job described with reference to FIGS. 4 and 5 is created.

MIB記録部96は、印刷ジョブの処理の進行や、プリンタの状態に応じて、各種MIBデータを更新する(ステップS106)。例えば、1ページ分の印刷が終了される度に、印刷が終了したページ数の値(図4)を更新し、1部の印刷が終了される度に、印刷が終了した部数の値(図5)を更新する。また、プリンタにおいて用紙切れが発生すると、エラー情報を記録したMIBデータ(図6)に、そのエラー情報を追加する。   The MIB recording unit 96 updates various MIB data in accordance with the progress of the print job processing and the status of the printer (step S106). For example, each time printing for one page is completed, the value of the number of pages for which printing has been completed (FIG. 4) is updated, and each time printing for one copy is completed, the value for the number of copies for which printing has been completed (see FIG. 4). Update 5). When the printer runs out of paper, the error information is added to the MIB data (FIG. 6) in which the error information is recorded.

MIB記録部96は、印刷ジョブが終了するまで本ステップを繰り返し実行し、印刷ジョブが終了すると(ステップS108:YES)、その印刷ジョブの進行状況を示すMIBデータの項目(図4:項目番号b=2の項目)を、「正常終了」に更新し(ステップS110)、本印刷ジョブについてのMIB記録処理を終了する。   The MIB recording unit 96 repeatedly executes this step until the print job is completed, and when the print job is completed (step S108: YES), an item of MIB data indicating the progress of the print job (FIG. 4: item number b). = 2) is updated to “normal end” (step S110), and the MIB recording process for this print job is terminated.

このMIB記録処理が、各印刷ジョブについて実行されることにより、MIB97には、印刷処理が終了していない処理中の印刷ジョブについてのジョブ情報に加えて、印刷処理が終了した印刷ジョブについてのジョブ情報が蓄積されていく。蓄積されたジョブ情報は、所定の個数以上になった場合に、先に処理された印刷ジョブに関するジョブ情報から順次消去されても良いし、印刷処理が終了した時点から所定期間が経過した場合に消去されても良い。   By executing this MIB recording process for each print job, the MIB 97 includes a job for a print job for which the print process has been completed, in addition to job information for a print job being processed for which the print process has not been completed. Information is accumulated. The accumulated job information may be deleted sequentially from the job information relating to the previously processed print job when the number exceeds a predetermined number, or when a predetermined period has elapsed since the end of the print processing It may be erased.

・情報収集処理
次に図8〜図11を参照して、カスタムネットワークボード100の情報収集部60が実行する処理(以下、情報収集処理という。)について説明する。図8は、プリンタ監視処理の処理ルーチンを示すフローチャートである。図9は、ジョブ監視処理の処理ルーチンを示すフローチャートである。図10は、フラッシュメモリ30に記録されたジョブ情報の一例を示す説明図である。図11は、電源投入時に実行される処理の処理ルーチンを示すフローチャートである。
Information Collection Processing Next, processing (hereinafter referred to as information collection processing) executed by the information collection unit 60 of the custom network board 100 will be described with reference to FIGS. FIG. 8 is a flowchart showing the processing routine of the printer monitoring process. FIG. 9 is a flowchart illustrating a processing routine for job monitoring processing. FIG. 10 is an explanatory diagram showing an example of job information recorded in the flash memory 30. FIG. 11 is a flowchart showing a processing routine of processing executed when the power is turned on.

情報収集処理は、プリンタ監視処理、ジョブ監視処理、電源投入時に実行される処理の3つの処理を含む。まず、図8を参照して、カスタムネットワークボード100が起動されている場合に常時行われているプリンタ監視処理について説明する。情報収集部60は、各監視対象プリンタのIPアドレスを取得する(ステップS202)。本実施例では、図1に示すプリンタPRT1〜PRT3を監視対象プリンタとする。情報収集部60のSNMPマネージャ66が、LAN1内にブロードキャストを用いた問い合わせを行い、問い合わせに対する応答として各プリンタPRTのIPアドレスを取得する。   The information collection process includes three processes: a printer monitoring process, a job monitoring process, and a process executed when the power is turned on. First, a printer monitoring process that is always performed when the custom network board 100 is activated will be described with reference to FIG. The information collection unit 60 acquires the IP address of each monitored printer (step S202). In this embodiment, the printers PRT1 to PRT3 shown in FIG. The SNMP manager 66 of the information collection unit 60 makes an inquiry using broadcast in the LAN 1 and acquires the IP address of each printer PRT as a response to the inquiry.

続いて、情報収集部60は、各監視対象プリンタのステータスを監視する。具体的には、情報収集部60のSNMPマネージャ66は、ステップS202で取得されたIPアドレスを用いたマルチキャストにより、各監視対象プリンタに問い合わせを行う。各監視対象プリンタのMIB97には、上述したMIBデータに加えて、プリンタのステータスを示すMIBデータが記録されている。プリンタのステータスには、印刷ジョブの着信を待つ待機状態、印刷ジョブを受信中である受信状態、プリンタエンジン80が印刷を実行中である印刷状態が含まれる。問い合わせを受信した各監視対象プリンタでは、SNMPエージェント74のポーリング処理部77が、プリンタのステータスを示すオブジェクトを応答として返信する。情報収集部60は、このような問い合わせを、定期的に実行することにより各監視対象プリンタのステータスを監視することができる。   Subsequently, the information collection unit 60 monitors the status of each monitored printer. Specifically, the SNMP manager 66 of the information collection unit 60 makes an inquiry to each monitored printer by multicast using the IP address acquired in step S202. In addition to the MIB data described above, MIB data indicating the printer status is recorded in the MIB 97 of each monitored printer. The printer status includes a standby state for waiting for an incoming print job, a reception state for receiving a print job, and a print state for which the printer engine 80 is executing printing. In each monitored printer that has received the inquiry, the polling processing unit 77 of the SNMP agent 74 returns an object indicating the printer status as a response. The information collection unit 60 can monitor the status of each monitored printer by periodically executing such an inquiry.

情報収集部60は、次に、監視対象プリンタのいずれかが新たな印刷ジョブを受信したか否かを判断する(ステップS206)。具体的には、ステップS204において取得されるプリンタのステータスが受信状態になった場合に、情報収集部60は、そのプリンタは新たな印刷ジョブを受信したと判断する。   Next, the information collection unit 60 determines whether any of the monitoring target printers has received a new print job (step S206). Specifically, when the printer status acquired in step S204 is in the receiving state, the information collecting unit 60 determines that the printer has received a new print job.

監視対象プリンタのいずれも新たな印刷ジョブを受信していないと判断した場合には(ステップS206:NO)、情報収集部60は、ステップS204に戻って、再び各監視対象プリンタの監視を実行する。一方、監視対象プリンタのいずれかが新たな印刷ジョブを受信したと判断した場合には(ステップS206:YES)、情報収集部60は、新たに受信された印刷ジョブを監視対象に追加する(ステップS208)。その後、情報収集部60は、ステップS204に戻って、再び各監視対象プリンタの監視を実行する。   If it is determined that none of the monitoring target printers has received a new print job (step S206: NO), the information collecting unit 60 returns to step S204 and again monitors each monitoring target printer. . On the other hand, if any of the monitoring target printers determines that a new print job has been received (step S206: YES), the information collection unit 60 adds the newly received print job to the monitoring target (step S206). S208). Thereafter, the information collection unit 60 returns to step S204 and again monitors each monitored printer.

次に、図9を参照して、ジョブ監視処理について説明する。ジョブ監視処理は、各監視対象プリンタのいずれかに、上述のステップS208において監視対象とされた印刷ジョブがある場合に実行される処理である。まず、情報収集部60は、監視対象の印刷ジョブがあるか否かを判断し(ステップS302)、監視対象の印刷ジョブがある場合(ステップS302:YES)に、ステップS304以降の処理を開始する。   Next, the job monitoring process will be described with reference to FIG. The job monitoring process is a process executed when any of the monitoring target printers has a print job that is a monitoring target in step S208 described above. First, the information collection unit 60 determines whether or not there is a print job to be monitored (step S302), and when there is a print job to be monitored (step S302: YES), starts the processing from step S304 onward. .

監視対象の印刷ジョブがあると、情報収集部60は、監視対象の印刷ジョブおよびその印刷ジョブを処理しているプリンタのエラー状態を監視する(ステップS304)。具体的には、SNMPマネージャ66は、監視対象の印刷ジョブを受信したプリンタPRT(以下、印刷ジョブの受信プリンタという。)のSNMPエージェント74に対して、図4を参照して説明した印刷ジョブの進行状況に関する情報の問い合わせを、定期的に実行する。印刷ジョブの受信プリンタが複数ある場合には、マルチキャストにより各受信プリンタに問い合わせを行う。これにより、SNMPマネージャ66は、応答としてこれらの情報を取得することができる。取得される情報は、図4に示すすべての項目であっても良いし、図4に示す一部の項目であっても良いが、少なくとも、図4において項目番号b=2に示す進行状況については、取得する必要がある。この進行状況を参照することにより監視対象の印刷ジョブが印刷中か否かを検出することができる。また、SNMPマネージャ66は、印刷ジョブの進行状況に関する情報の問い合わせと同時に、図6を参照して説明したエラー情報を、印刷ジョブの処理プリンタに対して問い合わせる。これによりSNMPマネージャ66は、エラー情報を定期的に取得し、印刷ジョブの受信プリンタがオフライン状態にあるかオンライン状態であるかを検出することができる。   If there is a print job to be monitored, the information collection unit 60 monitors the print job to be monitored and the error status of the printer that is processing the print job (step S304). Specifically, the SNMP manager 66 sends the print job described with reference to FIG. 4 to the SNMP agent 74 of the printer PRT that has received the print job to be monitored (hereinafter referred to as a print job reception printer). Regularly inquire about progress information. When there are a plurality of receiving printers for the print job, an inquiry is made to each receiving printer by multicast. Thereby, the SNMP manager 66 can acquire such information as a response. The acquired information may be all items shown in FIG. 4 or a part of the items shown in FIG. 4, but at least the progress status shown in item number b = 2 in FIG. Need to get. By referring to the progress status, it is possible to detect whether the print job to be monitored is being printed. Also, the SNMP manager 66 inquires of the print job processing printer about the error information described with reference to FIG. Thus, the SNMP manager 66 can periodically acquire error information and detect whether the receiving printer of the print job is in an offline state or an online state.

ここで、オフライン状態とは、プリンタが、エラーの発生によって印刷ジョブについての印刷処理を実行できない状態をいう。逆にオンライン状態とは、プリンタが、正常であり印刷を継続できる状態をいう。印刷中にプリンタがオフライン状態になると、印刷中の印刷ジョブの処理は中断される。   Here, the offline state refers to a state in which the printer cannot execute print processing for a print job due to an error. Conversely, the online state means a state in which the printer is normal and printing can be continued. If the printer goes offline during printing, the processing of the print job being printed is interrupted.

情報収集部60は、問い合わせの結果、印刷ジョブの受信プリンタの中に、オフライン状態のプリンタがあるか否かを判断する(ステップS306)。情報収集部60は、ステップS304において、印刷ジョブの受信プリンタのいずれかから、オフライン状態の原因となるエラーの発生を示す情報(例えば、図6におけるエラー番号a=2に示す情報)が取得され、そのエラーの解消を示す情報(例えば、図6におけるエラー番号a=3に示す情報)が取得されない場合に、その受信プリンタはオフライン状態であると判断する。オフライン状態のプリンタがあると判断された場合には(ステップS306:YES)、情報収集部60はそのオフライン状態のプリンタにおける監視対象の印刷ジョブが印刷中であるか否かを判断する(ステップS308)。具体的には、情報収集部60は、ステップS304において、その監視対象の印刷ジョブについて取得された進行状況の項目(図4における項目番号b=2の項目)が「印刷中」であるか否かによって判断する。   As a result of the inquiry, the information collection unit 60 determines whether there is an offline printer among the printers that have received the print job (step S306). In step S304, the information collection unit 60 acquires information indicating the occurrence of an error that causes an offline state (for example, information indicated by error number a = 2 in FIG. 6) from any of the receiving printers of the print job. If the information indicating that the error has been resolved (for example, the information indicated by error number a = 3 in FIG. 6) is not acquired, it is determined that the receiving printer is offline. If it is determined that there is an offline printer (step S306: YES), the information collection unit 60 determines whether the monitored print job in the offline printer is being printed (step S308). ). Specifically, in step S304, the information collection unit 60 determines whether the progress status item (item number b = 2 in FIG. 4) acquired for the monitored print job is “printing”. Judgment by

オフライン状態のプリンタにおける監視対象の印刷ジョブが印刷中であると判断された場合には(ステップS308:YES)、すなわち、印刷ジョブの受信プリンタが、印刷ジョブを印刷中であり、かつ、オフライン状態にあると判断された場合には、情報収集部60は、該当する印刷ジョブについてジョブ情報を取得する(ステップS310)。取得されるジョブ情報は、図4に示す印刷ジョブの進行状況に関する情報、および、図5に示す印刷ジョブの送信者を特定するための情報を含む。ジョブ情報の取得は、情報収集部60のSNMPマネージャ66が、オフライン状態のプリンタのSNMPエージェント74に対して問い合わせを行うことによって実行される。ここで、ステップS304において、図4に示す印刷ジョブの進行状況に関する情報をすべて取得している場合には、本ステップでは、図4に示す情報は取得せず、既に取得された情報を用いても良い。   If it is determined that the print job to be monitored in the offline printer is printing (step S308: YES), that is, the printer receiving the print job is printing the print job and is offline. If the information collection unit 60 determines that the print job is present, the information collection unit 60 acquires job information for the corresponding print job (step S310). The acquired job information includes information related to the progress status of the print job shown in FIG. 4 and information for specifying the sender of the print job shown in FIG. The job information is acquired by the SNMP manager 66 of the information collecting unit 60 inquiring of the SNMP agent 74 of the printer in the offline state. If all the information related to the progress of the print job shown in FIG. 4 is acquired in step S304, the information shown in FIG. 4 is not acquired in this step, and the already acquired information is used. Also good.

情報収集部60のジョブ情報記録部64は、取得されたジョブ情報を中間ファイルとしてジョブ情報格納部34に記録する(ステップS312)。中間ファイルは、更新され得る中間情報であることを示す識別子と関連付けられたファイルを指し、本実施例では、ファイル名の末尾に拡張子「.tmp」が付されたファイルをいう。図10には、本ステップにおいてジョブ情報格納部34に記録されるジョブ情報のファイルの一例が示されている。図10に示すジョブ情報のファイル500には、そのジョブ情報に対応する印刷ジョブを受信したプリンタを特定するためのID(以下、プリンタIDという。)と共に、ステップS310において取得されたジョブ情報が格納されていることが解る。   The job information recording unit 64 of the information collecting unit 60 records the acquired job information as an intermediate file in the job information storage unit 34 (step S312). The intermediate file refers to a file associated with an identifier indicating intermediate information that can be updated. In this embodiment, the intermediate file refers to a file with an extension “.tmp” at the end of the file name. FIG. 10 shows an example of a job information file recorded in the job information storage unit 34 in this step. The job information file 500 shown in FIG. 10 stores the job information acquired in step S310 together with an ID for identifying the printer that has received the print job corresponding to the job information (hereinafter referred to as a printer ID). I understand that it is.

ステップS306において、オフライン状態のプリンタがないと判断された場合(ステップS306:NO)、あるいは、ステップS308において、オフライン状態のプリンタにおいて印刷ジョブは印刷中でないと判断された場合(ステップS308:NO)、あるいは、ステップS312終了後、情報収集部60は、監視対象の印刷ジョブの中に終了された印刷ジョブはあるか否かを判断する(ステップS314)。印刷ジョブの終了があれば、印刷ジョブの終了が正常終了であるか、異常終了であるかも同時に判断される。具体的には、ステップS304において、取得された印刷ジョブの進行状況の項目(図4:項目番号b=2の項目)が、正常終了である場合には、情報収集部60は、その印刷ジョブが正常終了されたと判断する。ステップS304において、ジョブ情報を取得するために問い合わせをしたにも関わらず、所定期間内に何ら応答がない場合には、情報収集部60は、その問い合わせをされたプリンタPRTは印刷ジョブが正常終了される前に電源をオフにされたと判断できる。かかる場合には、情報収集部60は、そのプリンタPRTにおける印刷ジョブは異常終了したと判断する。正常終了された印刷ジョブも異常終了された印刷ジョブもないと判断すると(ステップS314:NO)、情報収集部60は、ステップS304に戻って、上述したステップS306〜S312までの処理を繰り返す。   If it is determined in step S306 that there is no offline printer (step S306: NO), or if it is determined in step S308 that the offline printer is not printing (step S308: NO). Alternatively, after step S312, the information collection unit 60 determines whether there is a completed print job among the print jobs to be monitored (step S314). If the print job ends, it is simultaneously determined whether the print job ends normally or abnormally. Specifically, in step S304, when the item of the progress status of the acquired print job (the item of FIG. 4: item number b = 2) is normal completion, the information collection unit 60 determines that the print job Is determined to have been successfully completed. If there is no response within a predetermined period in spite of making an inquiry to obtain job information in step S304, the information collecting unit 60 will end the print job normally for the inquired printer PRT. It can be determined that the power was turned off before being turned on. In such a case, the information collection unit 60 determines that the print job in the printer PRT has ended abnormally. If it is determined that there is no print job that has ended normally and no print job that has ended abnormally (step S314: NO), the information collection unit 60 returns to step S304 and repeats the processing from steps S306 to S312 described above.

正常終了された印刷ジョブがあると判断すると、情報収集部60は、ステップS316に移行し、終了された印刷ジョブについてジョブ情報を取得する。本ステップにおいて取得されるジョブ情報の項目は、ステップS310において取得されるジョブ情報の項目と同じである。続いて、取得されたジョブ情報を最終ファイルとしてジョブ情報格納部34に記録する(ステップS318)。最終ファイルは、更新されない最終情報であることを示す識別子と関連付けられたファイルを指し、本実施例では、ファイル名の末尾に拡張子「.xml」が付されたファイルをいう。この際、同じ印刷ジョブについてのジョブ情報を記録した中間ファイルが、ジョブ情報格納部34に既に記録されている場合には、本ステップにおいて最終ファイルをその中間ファイルに上書きする。すなわち、既に記録されている印刷中のジョブ情報を消去して、印刷終了後のジョブ情報を記録として残す。  If it is determined that there is a normally ended print job, the information collecting unit 60 proceeds to step S316 and acquires job information for the completed print job. The job information items acquired in this step are the same as the job information items acquired in step S310. Subsequently, the acquired job information is recorded as a final file in the job information storage unit 34 (step S318). The final file indicates a file associated with an identifier indicating that the final information is not updated. In this embodiment, the final file is a file with an extension “.xml” at the end of the file name. At this time, if an intermediate file in which job information for the same print job is recorded is already recorded in the job information storage unit 34, the final file is overwritten on the intermediate file in this step. In other words, the already-recorded job information being printed is erased, and the job information after printing is left as a record.

異常終了された印刷ジョブがあると判断すると、情報収集部60は、ステップS320に移行し、異常終了された印刷ジョブのジョブ情報が記録された中間ファイルがある場合には、その中間ファイルを最終ファイルに変更する。すなわち、そのジョブ情報が記録されたファイルに対して、更新され得る中間情報であることを示す識別子に代えて、更新されない最終情報であることを示す識別子を関連付ける。本実施例では、ファイル名の末尾の拡張子を、「.tmp」から「.xml」に変更する。   If it is determined that there is an abnormally terminated print job, the information collecting unit 60 proceeds to step S320, and if there is an intermediate file in which the job information of the abnormally ended print job is recorded, the intermediate file is finalized. Change to a file. That is, an identifier indicating that the information is final information that is not updated is associated with the file in which the job information is recorded, instead of an identifier indicating that the information is intermediate information that can be updated. In this embodiment, the extension at the end of the file name is changed from “.tmp” to “.xml”.

ステップS318またはS320の処理が終了すると、情報収集部60は、正常終了または異常終了された印刷ジョブを監視対象から除外する。その後、情報収集部60は、ステップS302に戻る。すなわち、他に監視対象の印刷ジョブがある場合には、上述の処理(ステップS304〜)を繰り返し、監視対象の印刷ジョブが無くなった場合には、監視対象の印刷ジョブが追加される(図8参照)まで待機する。   When the process of step S318 or S320 is completed, the information collection unit 60 excludes a print job that has been normally or abnormally terminated from the monitoring target. Thereafter, the information collecting unit 60 returns to step S302. That is, if there are other print jobs to be monitored, the above-described processing (step S304 and subsequent steps) is repeated, and if there are no more print jobs to be monitored, the print job to be monitored is added (FIG. 8). Wait until see).

次に、図11を参照して、カスタムネットワークボード100を備えるプリンタPRT1が電源をオンにされたとき、すなわち、カスタムネットワークボード100が起動されたときに実行される処理について説明する。   Next, processing executed when the printer PRT1 including the custom network board 100 is turned on, that is, when the custom network board 100 is activated will be described with reference to FIG.

カスタムネットワークボード100が起動されると、まず、情報収集部60は、ジョブ情報格納部34に、ジョブ情報が記録された中間ファイルが存在するか否かを判断する(ステップS402)。具体的には、情報収集部60は、ジョブ情報格納部34の中から、拡張子「.tmp」が付されたファイルを検索する。この結果、中間ファイルが存在する場合には(ステップS404:YES)、その中間ファイルを最終ファイルに変更する(ステップS404)。具体的には、拡張子「.tmp」が付されたファイルの拡張子を、「.xml」に変更する。このような処理を実行するのは、カスタムネットワークボード100が内蔵されているプリンタPRT1は、カスタムネットワークボード100と電源が共有されているためである。すなわち、プリンタPRT1が電源をオフにされると、カスタムネットワークボード100の電源もオフにされてしまうため、プリンタPRT1が電源をオフにされたことは検出できない。従って、他のプリンタPRT2およびPRT3の場合と異なり、電源をオフにされたことを検出することによって、印刷ジョブが異常終了されたか否かを判断できない。しかし、プリンタPRT1が電源をオンにされた時に、ジョブ情報の中間ファイルが存在することは、プリンタPRT1が前回起動されていた時に、印刷ジョブが正常終了される前に、プリンタPRT1が電源をオフにされたことを示している。従って、電源オン時に存在する中間ファイルに記録されたジョブ情報に対応する印刷ジョブは、異常終了されたと判断することができる。このため、上述した図9:ステップS320と同様に、その中間ファイルを最終ファイルに変更しているのである。   When the custom network board 100 is activated, the information collection unit 60 first determines whether or not an intermediate file in which job information is recorded exists in the job information storage unit 34 (step S402). Specifically, the information collection unit 60 searches the job information storage unit 34 for a file with the extension “.tmp”. As a result, when the intermediate file exists (step S404: YES), the intermediate file is changed to the final file (step S404). Specifically, the extension of the file with the extension “.tmp” is changed to “.xml”. The reason why such a process is executed is that the printer PRT1 incorporating the custom network board 100 shares the power supply with the custom network board 100. That is, when the printer PRT1 is turned off, the custom network board 100 is also turned off, so that it cannot be detected that the printer PRT1 is turned off. Therefore, unlike the case of the other printers PRT2 and PRT3, it cannot be determined whether or not the print job has been terminated abnormally by detecting that the power has been turned off. However, when the printer PRT1 is turned on, the intermediate file of job information exists because the printer PRT1 is turned off before the print job is normally completed when the printer PRT1 was previously activated. It has been shown that. Accordingly, it can be determined that the print job corresponding to the job information recorded in the intermediate file existing when the power is turned on is abnormally terminated. For this reason, the intermediate file is changed to the final file as in FIG. 9: Step S320 described above.

情報収集部60のサーバ通信部62は、ジョブ情報格納部34に格納されたジョブ情報の最終ファイルを、一定時間ごとに、例えば、30分ごとに、管理サーバSVに送信する。ジョブ情報記録部64は、管理サーバSVに送信されたジョブ情報の最終ファイルを、ジョブ情報格納部34から消去する。管理サーバSVは、送信されてきたジョブ情報の最終ファイルを参照することによって、管理している各プリンタPRTにおける印刷履歴を把握することができる。このような印刷履歴は、例えば、有料印刷サービスの課金額や、課金対象者を決定するために利用される。   The server communication unit 62 of the information collection unit 60 transmits the final file of job information stored in the job information storage unit 34 to the management server SV at regular intervals, for example, every 30 minutes. The job information recording unit 64 deletes the final file of job information transmitted to the management server SV from the job information storage unit 34. The management server SV can grasp the print history of each managed printer PRT by referring to the final file of the transmitted job information. Such a print history is used, for example, to determine a charge amount for a paid print service and a charge target person.

以上の説明から解るように、本実施例におけるSNMPマネージャ66は、請求項における第1の検出手段と第2の検出手段と第3の検出手段と取得手段とに相当する。また、本実施例におけるMIB記録部96は、請求項における第1の記録手段に相当する。さらに、本実施例におけるジョブ情報記録部64は、請求項における第2の記録手段に相当する。   As can be understood from the above description, the SNMP manager 66 in this embodiment corresponds to the first detection means, the second detection means, the third detection means, and the acquisition means in the claims. Further, the MIB recording unit 96 in this embodiment corresponds to the first recording means in the claims. Further, the job information recording unit 64 in the present embodiment corresponds to a second recording unit in the claims.

以上説明した印刷システムにおいて、カスタムネットワークボード100は、オフライン状態になったプリンタにおいて印刷中であった印刷ジョブのジョブ情報を保存しておくことができる。また、このジョブ情報は不揮発性のフラッシュメモリ30に保存されるので、その後、オフライン状態のプリンタが電源をオフにされて印刷ジョブが異常終了された場合に、オフライン状態のプリンタのMIB97は消滅するが、カスタムネットワークボード100にその印刷ジョブのジョブ情報を残しておくことができる。   In the printing system described above, the custom network board 100 can store job information of a print job that is being printed by a printer that is in an offline state. Further, since this job information is stored in the nonvolatile flash memory 30, when the printer in the offline state is turned off and the print job is terminated abnormally, the MIB 97 of the printer in the offline state disappears. However, job information of the print job can be left in the custom network board 100.

さらに、ジョブ情報が記録されたファイルには、印刷が終了したページ数や部数が含まれているため、このファイルを参照すればプリンタPRTがオフライン状態になる前までの印刷履歴を特定することができる。   Furthermore, since the file in which the job information is recorded includes the number of pages and the number of copies that have been printed, the print history before the printer PRT goes offline can be specified by referring to this file. it can.

さらに、印刷中のジョブ情報が記録された中間ファイルは、対応する印刷ジョブが正常終了したときに、印刷終了後のジョブ情報に更新されるので、ジョブ情報格納部34に大量の中間ファイルが格納されることはない。   Further, since the intermediate file in which the job information being printed is recorded is updated to the job information after completion of printing when the corresponding print job is normally completed, a large amount of intermediate files are stored in the job information storage unit 34. It will never be done.

さらに、印刷中のジョブ情報が記録された中間ファイル(拡張子.tmp)は、対応する印刷ジョブが異常終了した場合に、最終ファイル(拡張子.xml)に変更される。この結果、記録されたファイルが更新され得る中間情報であるか、更新されない最終情報であるかを、拡張子によって判定することができる。   Furthermore, the intermediate file (extension .tmp) in which the job information being printed is recorded is changed to the final file (extension .xml) when the corresponding print job ends abnormally. As a result, it can be determined from the extension whether the recorded file is intermediate information that can be updated or final information that is not updated.

さらに、問い合わせに対する応答の有無によってプリンタPRTが電源をオフにされたことを検出することにより、印刷中の印刷ジョブが異常終了したことを適切に検出することができる。また、カスタムネットワークボード100と電源が共有されているプリンタPRT1については、プリンタPRT1の電源オン時に、中間ファイルが存在するか否かによって、印刷中の印刷ジョブが異常終了したことを適切に検出することができる。   Furthermore, by detecting that the printer PRT has been turned off based on the presence or absence of a response to the inquiry, it is possible to appropriately detect that the print job being printed has ended abnormally. For the printer PRT1 sharing the power supply with the custom network board 100, when the printer PRT1 is turned on, it is appropriately detected that the print job being printed has ended abnormally depending on whether or not an intermediate file exists. be able to.

さらに、カスタムネットワークボード100は、印刷システムを構成するプリンタPRTの一つであるプリンタPRT1に内蔵されているので、情報収集装置を別体で設置することなく、簡易な構成で上述の効果を得ることができる。   Furthermore, since the custom network board 100 is built in the printer PRT1, which is one of the printers PRT constituting the printing system, the above-described effects can be obtained with a simple configuration without installing a separate information collecting device. be able to.

さらに、各プリンタPRTごとに、不揮発性メモリを備える必要がないため、各プリンタPRTの製造コストの増大や、部品点数の増加を抑制しつつ、上述の効果を得ることができる。また、不揮発性メモリを備えていない既存のプリンタを用いて、上述の効果を得ることができる。   Further, since it is not necessary to provide a non-volatile memory for each printer PRT, the above-described effects can be obtained while suppressing an increase in manufacturing cost of each printer PRT and an increase in the number of parts. In addition, the above-described effects can be obtained by using an existing printer that does not include a nonvolatile memory.

B.第2実施例:
図3および図12を参照して、第2実施例について説明する。図12は、電源オフ通知を受信した場合の割り込み処理の処理ルーチンを示すフローチャートである。
B. Second embodiment:
A second embodiment will be described with reference to FIGS. FIG. 12 is a flowchart illustrating a processing routine for interrupt processing when a power-off notification is received.

第2実施例の構成において、第1実施例と異なる点は、第1実施例の構成に加えて、図3において波線で示す構成を備える点である。すなわち、各プリンタPRTの電源にUPS(Uninterruptible Power System)99が備えられている。また、SNMPエージェント74はトラップ処理部78を備えている。UPS99は、バックアップ用の電池(または発電機)を内部に備え、プリンタPRTが電源をオフにされた後も、所定時間(例えば、数秒〜数分)、プリンタPRTに電力を供給する装置である。トラップ処理部78は、所定のイベントが発生した場合に、SNMPマネージャ66からの問い合わせとは無関係に、所定のイベントが発生したことをSNMPマネージャ66に非同期に通知する機能ブロックである。本実施例では、トラップ処理部78は、プリンタPRTが電源をオフにされた場合に、SNMPマネージャ66に対して、当該プリンタPRTが電源をオフにされたことを通知する。この通知を以下、電源オフ通知と呼ぶ。SNMPマネージャ66は、電源オフ通知を受信することにより、監視対象プリンタが電源をオフにされたことを検出することができる。監視対象プリンタが電源をオフにされた場合とは、例えば、監視対象プリンタの電源スイッチがオフにされた場合や監視対象プリンタの電源コンセントが引き抜かれた場合が含まれる。印刷中のプリンタが電源をオフにされると、当然であるが、プリンタは印刷ジョブの処理を継続できない状態になる。印刷システムおよびシステムの各構成機器の他の構成は、第1実施例と同じであるので、その説明を省略する。   The configuration of the second embodiment is different from the first embodiment in that the configuration shown by the wavy line in FIG. 3 is provided in addition to the configuration of the first embodiment. That is, a UPS (Uninterruptible Power System) 99 is provided for the power source of each printer PRT. The SNMP agent 74 includes a trap processing unit 78. The UPS 99 is a device that includes a backup battery (or generator) inside and supplies power to the printer PRT for a predetermined time (for example, several seconds to several minutes) even after the printer PRT is turned off. . The trap processing unit 78 is a functional block that asynchronously notifies the SNMP manager 66 that a predetermined event has occurred regardless of an inquiry from the SNMP manager 66 when a predetermined event occurs. In this embodiment, when the printer PRT is turned off, the trap processing unit 78 notifies the SNMP manager 66 that the printer PRT has been turned off. This notification is hereinafter referred to as a power off notification. The SNMP manager 66 can detect that the power of the monitored printer has been turned off by receiving the power-off notification. The case where the power of the monitoring target printer is turned off includes, for example, the case where the power switch of the monitoring target printer is turned off or the case where the power outlet of the monitoring target printer is pulled out. When the printer that is printing is turned off, it is natural that the printer cannot continue processing the print job. Since the other configurations of the printing system and the components of the system are the same as those in the first embodiment, description thereof is omitted.

第2実施例において、情報収集部60が実行する処理について第1実施例と異なる点は、ジョブ監視処理(図9)において、SNMPマネージャ66が上述する電源オフ通知を受信した場合に、図12に示す割り込み処理が実行されることである。   In the second embodiment, the processing executed by the information collecting unit 60 is different from the first embodiment in that when the SNMP manager 66 receives the above-mentioned power off notification in the job monitoring process (FIG. 9), FIG. The interrupt process shown in FIG.

図12を参照して、かかる割り込み処理について説明する。割り込み処理が開始されると、情報収集部60は、電源をオフにされたプリンタPRTにおける監視対象の印刷ジョブは印刷中であるか否かを判断する(ステップS502)。ジョブ監視処理では、監視対象の印刷ジョブを常に監視しているので、割り込み処理が開始される直前に実行された監視処理(図9:ステップS304参照)において取得された印刷ジョブの進行状況を示す項目(図4:項目番号b=2の項目)を参照することにより、図9:ステップS308における判断と同様にして、監視対象の印刷ジョブが印刷中であるか否かを判断することができる。   Such interrupt processing will be described with reference to FIG. When the interrupt process is started, the information collecting unit 60 determines whether the print job to be monitored in the printer PRT whose power is turned off is being printed (step S502). In the job monitoring process, since the monitored print job is constantly monitored, the progress status of the print job acquired in the monitoring process (see step S304 in FIG. 9) executed immediately before the interrupt process is started is shown. By referring to the item (FIG. 4: item number b = 2), it is possible to determine whether or not the print job to be monitored is being printed in the same manner as the determination in FIG. 9: Step S308. .

電源をオフにされたプリンタPRTにおける監視対象の印刷ジョブは印刷中でないと判断された場合(ステップS502:NO)には、そのまま割り込み処理を終了する。一方、電源をオフにされたプリンタPRTにおける監視対象の印刷ジョブは印刷中であると判断された場合(ステップS502:YES)には、該当する印刷ジョブについてジョブ情報を取得する(ステップS504)。取得されるジョブ情報は、図9:ステップS310において取得される情報と同一である。また、ジョブ情報の取得は、図9:ステップS310におけるジョブ情報の取得と同様に、SNMPマネージャ66による問い合わせによって行われる。電源をオフにされたプリンタPRTは、電源をオフにされた後も、UPS99の機能によって所定時間に亘り電力が供給される。このため、電源をオフにされたプリンタPRTのSNMPエージェント74は、SNMPマネージャ66からの問い合わせに対して応答を返信することができる。   If it is determined that the print job to be monitored in the printer PRT whose power has been turned off is not being printed (step S502: NO), the interruption process is ended as it is. On the other hand, if it is determined that the print job to be monitored in the printer PRT whose power is turned off is being printed (step S502: YES), job information is acquired for the corresponding print job (step S504). The acquired job information is the same as the information acquired in FIG. 9: Step S310. Also, the acquisition of job information is performed by an inquiry by the SNMP manager 66, similar to the acquisition of job information in FIG. 9: Step S310. The printer PRT whose power is turned off is supplied with power for a predetermined time by the function of the UPS 99 even after the power is turned off. For this reason, the SNMP agent 74 of the printer PRT whose power is turned off can return a response to the inquiry from the SNMP manager 66.

情報収集部60のジョブ情報記録部64は、取得されたジョブ情報を最終ファイルとしてジョブ情報格納部34に記録する(ステップS506)。ここで、取得されたジョブ情報を、図9:ステップ312と異なり、最終ファイルとして記録するのは、このジョブ情報に対応する印刷ジョブは、所定時間の経過後、UPS99による電力の供給が終了した時点で異常終了されることが明らかであるからである。その後、割り込み処理は終了される。   The job information recording unit 64 of the information collecting unit 60 records the acquired job information as a final file in the job information storage unit 34 (step S506). Here, unlike FIG. 9: Step 312, the acquired job information is recorded as a final file because the print job corresponding to this job information has been supplied with power by UPS 99 after a predetermined time has elapsed. This is because it is clear that the process is abnormally terminated at that time. Thereafter, the interrupt process is terminated.

第2実施例における情報収集部60による処理は、上述した割り込み処理が追加されること以外は、第1実施例と同様であるので、他の処理については説明を省略する。   The processing performed by the information collection unit 60 in the second embodiment is the same as that in the first embodiment except that the above-described interrupt processing is added, and thus description of other processing is omitted.

以上説明した第2実施例によれば、第1実施例における作用・効果に加えて次の作用・効果が得られる。すなわち、プリンタPRTが、オフライン状態になることなく、電源をオフにされた場合であっても、プリンタPRTにおいて印刷中であった印刷ジョブのジョブ情報を保存しておくことができる。なお、以上の説明から解るように、第1および第2実施例におけるオフライン状態および電源をオフにされた状態は、請求項における異常状態に相当する。   According to the second embodiment described above, the following actions / effects can be obtained in addition to the actions / effects of the first embodiment. That is, even when the printer PRT is turned off without going offline, the job information of the print job being printed in the printer PRT can be saved. As can be understood from the above description, the offline state and the power-off state in the first and second embodiments correspond to the abnormal state in the claims.

C.変形例:
上記実施例は、所定のジョブを処理するデバイスとしてプリンタPRTを例に説明したが、これに限られるものではない。例えば、ネットワークを介して管理される有料コピー機などに適用しても、同様の効果を奏すことができる。
C. Variations:
In the above embodiment, the printer PRT has been described as an example of a device for processing a predetermined job. However, the present invention is not limited to this. For example, the same effect can be obtained even when applied to a pay copier managed via a network.

上記実施例において、プリンタPRTおよび管理サーバSVの各部は、ソフトウェア的に構成されているものを、ハードウェア的に構成するようにしてもよいし、ハードウェア的に構成されているものを、ソフトウェア的に構成するようにしてもよい。   In the above embodiment, each part of the printer PRT and the management server SV may be configured as hardware instead of being configured as software, or may be configured as software. You may make it comprise.

上記実施例におけるプリンタエンジン80は、種々のタイプのものが用いられ得る。例えば、レーザー式に限らず、インクジェット式、昇華型、ドットインパクト式、熱転写型など、あらゆるタイプのプリンタエンジンが用いられ得る。   Various types of printer engine 80 in the above embodiment can be used. For example, not only a laser type but also any type of printer engine such as an ink jet type, a sublimation type, a dot impact type, and a thermal transfer type can be used.

カスタムネットワークボード100に備えられるフラッシュメモリ30は、不揮発性の記憶手段であれば良い。例えば、フラッシュメモリ30に代えて、他のEEPROM、あるいは、ハードディスク装置に代表される磁気ディスク装置を用いることができる。   The flash memory 30 provided in the custom network board 100 may be a non-volatile storage unit. For example, instead of the flash memory 30, another EEPROM or a magnetic disk device represented by a hard disk device can be used.

上記実施例において、OIDは、予めOID情報格納部32に格納されていたが、これに限られるものではない。例えば、管理サーバSVが、情報収集部60からの問い合わせに対する応答として、OIDを情報収集部60へ送信しても良い。かかる場合は、情報収集部60は、それを受信し、予め格納されているOIDを更新してOID情報格納部32に格納するようにすれば良い。このようにすれば、OIDが規格の更新などにより変更された場合であっても、変更後のOIDに対応することが可能である。   In the above embodiment, the OID is stored in the OID information storage unit 32 in advance, but the present invention is not limited to this. For example, the management server SV may transmit the OID to the information collection unit 60 as a response to the inquiry from the information collection unit 60. In such a case, the information collection unit 60 may receive it, update the previously stored OID, and store it in the OID information storage unit 32. In this way, even if the OID is changed due to a standard update or the like, it is possible to deal with the changed OID.

上記実施例においては、正常終了した場合であっても、異常終了した場合であっても、ジョブ情報の最終ファイルの拡張子は「.xml」を用いているが、異常終了した場合には、異なる拡張子を付すこととしても良い。こうすれば、ファイル名を調べるだけで、直ちに、そのジョブ情報のファイルに対応する印刷ジョブが正常終了したか異常終了したかを判別することができる。   In the above embodiment, the extension of the final file of job information uses `` .xml '' regardless of whether it ended normally or abnormally. A different extension may be attached. In this way, it is possible to immediately determine whether the print job corresponding to the file of the job information has ended normally or abnormally by simply examining the file name.

以上、本発明の実施例および変形例について説明したが、本発明はこれらの実施例および変形例になんら限定されるものではなく、その要旨を逸脱しない範囲内において種々の態様での実施が可能である。   As mentioned above, although the Example and modification of this invention were demonstrated, this invention is not limited to these Example and modification at all, and implementation in a various aspect is possible within the range which does not deviate from the summary. It is.

第1実施例における印刷システムの概略構成を示す説明図。1 is an explanatory diagram illustrating a schematic configuration of a printing system according to a first embodiment. 第1実施例における印刷システムを構成する各機器の内部構成を示すブロック図。FIG. 2 is a block diagram illustrating an internal configuration of each device that configures the printing system according to the first embodiment. プリンタに関する情報の収集を実現するための構成の概要を示す説明図。FIG. 3 is an explanatory diagram illustrating an outline of a configuration for realizing collection of information regarding a printer. MIBとして記録されている項目の一例を示す第1のテーブル。The 1st table which shows an example of the item currently recorded as MIB. MIBとして記録されている項目の一例を示す第2のテーブル。The 2nd table which shows an example of the item currently recorded as MIB. MIBとして記録されている項目の一例を示す第3のテーブル。The 3rd table which shows an example of the item currently recorded as MIB. MIB記録処理の処理ルーチンを示すフローチャート。The flowchart which shows the processing routine of MIB recording processing. プリンタ監視処理の処理ルーチンを示すフローチャート。7 is a flowchart illustrating a processing routine for printer monitoring processing. ジョブ監視処理の処理ルーチンを示すフローチャート。6 is a flowchart illustrating a processing routine for job monitoring processing. フラッシュメモリに記録されたジョブ情報の一例を示す説明図。FIG. 3 is an explanatory diagram illustrating an example of job information recorded in a flash memory. 電源投入時に実行される処理の処理ルーチンを示すフローチャート。The flowchart which shows the process routine of the process performed at the time of power activation. 電源オフ通知を受信した場合の割り込み処理の処理ルーチンを示すフローチャート。The flowchart which shows the process routine of the interruption process at the time of receiving a power-off notification.

符号の説明Explanation of symbols

10...TCP/IP部
20...CPU
30...フラッシュメモリ
32...OID情報格納部
34...ジョブ情報格納部
40...RAM
50...ROM
60...情報収集部
62...サーバ通信部
64...ジョブ情報記録部
66...SNMPマネージャ
70...通信制御部
72...データ受信処理部
74...SNMPエージェント
77...ポーリング処理部
78...トラップ処理部
80...プリンタエンジン
90...プリンタコントローラ
91...CPU
92...ROM
93...RAM
95...制御プログラム
96...MIB記録部
97...MIB
99...UPS
100...カスタムネットワークボード
200...ネットワークボード
PRT...プリンタ
CL...クライアント
SV...管理サーバ
FW...ファイアウォール
PRB...プリンタ本体
10 ... TCP / IP part 20 ... CPU
30 ... Flash memory 32 ... OID information storage unit 34 ... Job information storage unit 40 ... RAM
50 ... ROM
60 ... Information collection unit 62 ... Server communication unit 64 ... Job information recording unit 66 ... SNMP manager 70 ... Communication control unit 72 ... Data reception processing unit 74 ... SNMP agent 77 ... Polling processing unit 78 ... Trap processing unit 80 ... Printer engine 90 ... Printer controller 91 ... CPU
92 ... ROM
93 ... RAM
95 ... Control program 96 ... MIB recording part 97 ... MIB
99 ... UPS
100 ... Custom network board 200 ... Network board PRT ... Printer CL ... Client SV ... Management server FW ... Firewall PRB ... Printer body

Claims (10)

所定のジョブを処理すると共に処理中のジョブに関する情報を含むジョブ情報を揮発性のメモリに記録する第1の記録手段を有する1または複数のデバイスとネットワークを介して接続される情報収集装置であって、
不揮発性の記憶手段と、
前記デバイスからエラー情報を取得して前記デバイスのエラーを検出する第1の検出手段と、
前記デバイスがジョブを処理中であることを検出する第2の検出手段と、
前記デバイスがジョブを処理中であり、かつ、第1の検出手段で前記デバイスのエラーが検出された場合に、当該デバイスの前記揮発性のメモリに記録されたジョブ情報の中から前記処理中のジョブに関する情報を取得する取得手段と、
前記取得された処理中のジョブに関する情報を前記不揮発性の記憶手段に記録する第2の記録手段と、
前記処理中のジョブが正常に終了される前に前記デバイスが電源をオフにされたことを前記デバイスの電源が再びオンにされる前に異常終了として検出する第3の検出手段と、
を備え、
前記第2の記録手段は、前記取得された処理中のジョブに関する情報を、更新され得る中間情報として記録し、前記第3の検出手段で前記異常終了を検出した場合に、前記処理中のジョブに関する情報に対応するジョブが異常終了したと判断し、前記中間情報として記録された前記処理中のジョブに関する情報を、更新されない最終情報に変更する、情報収集装置。
An information collecting apparatus connected to one or a plurality of devices having a first recording unit that processes a predetermined job and records job information including information about the job being processed in a volatile memory via a network. And
Non-volatile storage means;
First detecting means for acquiring error information from the device and detecting an error of the device ;
Second detection means for detecting that the device is processing a job;
When the device is processing a job and an error of the device is detected by the first detection unit, the processing is being performed from the job information recorded in the volatile memory of the device. An acquisition means for acquiring information about the job;
A second recording unit that records information about the acquired job being processed in the nonvolatile storage unit;
Third detecting means for detecting that the device has been turned off before the job being processed normally is terminated abnormally before the device is turned on again;
With
The second recording unit records the acquired information on the job being processed as intermediate information that can be updated, and when the third detection unit detects the abnormal end, the job being processed An information collection device that determines that the job corresponding to the information related to the information has ended abnormally and changes the information related to the job being processed recorded as the intermediate information to the final information that is not updated.
請求項1に記載の情報収集装置において、
前記処理中のジョブに関する情報は、処理中のジョブのうち処理が終了した部分を特定するための情報を含む情報収集装置。
In the information gathering device according to claim 1,
The information about the job being processed includes an information collection device including information for identifying a portion of the job being processed that has been processed.
請求項1または請求項2に記載の情報収集装置において、
前記第1の記録手段は、さらに、前記処理中のジョブに関する情報に対応するジョブが正常に終了した場合には、前記揮発性のメモリに記録された前記処理中のジョブに関する情報を、処理が終了したジョブに関する情報に更新し、
前記取得手段は、さらに、前記揮発性のメモリに記録されたジョブ情報の中から前記処理が終了したジョブに関する情報を取得し、
前記第2の記録手段は、さらに、前記不揮発性の記憶手段に記録された処理中のジョブに関する情報に対応するジョブについて前記処理が終了したジョブに関する情報が取得された場合には、該処理中のジョブに関する情報を消去し、前記取得された処理が終了したジョブに関する情報を前記不揮発性の記憶手段に前記最終情報として記録する情報収集装置。
In the information gathering device according to claim 1 or 2,
When the job corresponding to the information related to the job being processed has been completed normally, the first recording unit can further process the information related to the job being processed recorded in the volatile memory. Update to information about finished jobs,
The acquisition unit further acquires information on the job for which the processing has been completed from the job information recorded in the volatile memory,
The second recording means is further in the process of acquiring information related to a job for which processing has been completed for a job corresponding to information relating to the job being processed recorded in the nonvolatile storage means. An information collecting apparatus that erases information about a job and records information about the job for which the acquired processing is completed as the final information in the nonvolatile storage unit.
請求項1ないし請求項3のいずれかに記載の情報収集装置において、
前記中間情報は、前記中間情報であることを示す第1の識別子と関連付けられた情報であり、
前記最終情報は、前記最終情報であることを示す第2の識別子と関連付けられた情報である情報収集装置。
The information collection device according to any one of claims 1 to 3,
The intermediate information is information associated with a first identifier indicating the intermediate information,
The information collection device, wherein the final information is information associated with a second identifier indicating the final information.
請求項1ないし請求項4のいずれかに記載の情報収集装置において、
前記デバイスは、前記デバイスの異常状態および前記デバイスがジョブを処理中であることを含むステータス情報を記録しており、
前記第1の検出手段および前記第2の検出手段による検出は、前記記録されたステータス情報を取得することによって実行される情報収集装置。
The information collection device according to any one of claims 1 to 4,
The device records status information including an abnormal state of the device and that the device is processing a job,
Detection by the first detection unit and the second detection unit is an information collection device that is executed by acquiring the recorded status information.
請求項1ないし請求項5のいずれかに記載の情報収集装置において、
前記情報収集装置は、前記デバイスを管理する管理サーバと接続され、
前記情報収集装置は、さらに、
前記最終情報を前記管理サーバに送信する通信部を備える情報収集装置。
The information collection device according to any one of claims 1 to 5,
The information collection device is connected to a management server that manages the device,
The information collecting device further includes:
An information collection device comprising a communication unit that transmits the final information to the management server.
請求項1ないし請求項6のいずれかに記載の情報収集装置において、
前記デバイスは、印刷装置であり、
前記ジョブは、印刷ジョブである情報収集装置。
The information collection device according to any one of claims 1 to 6,
The device is a printing apparatus;
The information collecting apparatus, wherein the job is a print job.
前記1または複数のデバイスのうちの1つのデバイスであって、
請求項1ないし請求項7のいずれかに記載の情報収集装置を内蔵するデバイス。
One of the one or more devices,
A device incorporating the information collecting apparatus according to claim 1.
所定のジョブを処理するデバイスであって、処理中のジョブに関する情報を含むジョブ情報を揮発性のメモリに記録している1または複数のデバイスからネットワークを介して情報を収集する方法であって、
前記デバイスからエラー情報を取得して前記デバイスのエラーを検出し、
前記デバイスがジョブを処理中であることを検出し、
前記デバイスが前記処理中であり、かつ、前記エラー情報の取得により前記デバイスのエラーが検出された場合に、当該デバイスの前記揮発性のメモリに記録されたジョブ情報の中から前記処理中のジョブに関する情報を取得し、
前記取得された処理中のジョブに関する情報を不揮発性の記憶手段に記録し、
前記処理中のジョブが正常に終了される前に前記デバイスが電源をオフにされたことを前記デバイスの電源が再びオンにされる前に異常終了として検出し、
前記取得された処理中のジョブに関する情報を、更新され得る中間情報として記録し、
前記異常終了を検出した場合に、前記処理中のジョブに関する情報に対応するジョブが異常終了したと判断し、
前記中間情報として記録された前記処理中のジョブに関する情報を、更新されない最終情報に変更する、
方法。
A device for processing a predetermined job, a method for collecting information via a network from one or more devices that record job information including information about a job being processed in a volatile memory,
Obtain error information from the device to detect errors in the device ,
Detects that the device is processing a job,
When the device is being processed and an error of the device is detected by acquiring the error information, the job being processed from the job information recorded in the volatile memory of the device Information about
Record the acquired information about the job being processed in a nonvolatile storage means,
Detecting that the device has been powered off before the job being processed is terminated normally as an abnormal termination before the device is powered on again;
Recording the acquired information about the job being processed as intermediate information that can be updated,
When the abnormal end is detected, it is determined that the job corresponding to the information regarding the job being processed has ended abnormally,
Changing the information related to the job being processed recorded as the intermediate information to final information that is not updated;
Method.
所定のジョブを処理するデバイスであって、処理中のジョブに関する情報を含むジョブ情報を揮発性のメモリに記録している1または複数のデバイスから情報をネットワークを介して収集するコンピュータプログラムであって、
前記デバイスからエラー情報を取得して前記デバイスのエラーを検出する第1の機能と、
前記デバイスがジョブを処理中であることを検出する第2の機能と、
前記デバイスが前記処理中であり、かつ、前記第1の機能で前記デバイスのエラーが検出された場合に、当該デバイスの前記揮発性のメモリに記録されたジョブ情報の中から前記処理中のジョブに関する情報を取得する第3の機能と、
前記取得された処理中のジョブに関する情報を不揮発性の記憶手段に記録する第4の機能と、
前記処理中のジョブが正常に終了される前に前記デバイスが電源をオフにされたことを前記デバイスの電源が再びオンにされる前に異常終了として検出する第5の機能と、
をコンピュータに実現させ、
前記第4の機能は、前記取得された処理中のジョブに関する情報を、更新され得る中間情報として記録し、前記第5の機能で前記異常終了を検出した場合に、前記処理中のジョブに関する情報に対応するジョブが異常終了したと判断し、前記中間情報として記録された前記処理中のジョブに関する情報を、更新されない最終情報に変更することを、前記コンピュータに実現させるコンピュータプログラム。
A computer program that collects information from one or more devices that process a predetermined job and that records job information including information about the job being processed in a volatile memory via a network. ,
A first function of acquiring error information from the device and detecting an error of the device ;
A second function for detecting that the device is processing a job;
When the device is being processed and an error of the device is detected by the first function, the job being processed from the job information recorded in the volatile memory of the device A third function to obtain information about,
A fourth function for recording information on the acquired job being processed in a nonvolatile storage unit;
A fifth function for detecting that the device has been turned off before the job being processed normally ends as an abnormal end before the device is turned on again;
Is realized on a computer,
The fourth function records information about the acquired job being processed as intermediate information that can be updated, and information about the job being processed when the abnormal end is detected by the fifth function. A computer program that causes the computer to realize that the job corresponding to is abnormally terminated and change the information related to the job being processed recorded as the intermediate information to final information that is not updated.
JP2005184354A 2005-06-24 2005-06-24 Information collection technology from devices Expired - Fee Related JP4321499B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005184354A JP4321499B2 (en) 2005-06-24 2005-06-24 Information collection technology from devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005184354A JP4321499B2 (en) 2005-06-24 2005-06-24 Information collection technology from devices

Publications (2)

Publication Number Publication Date
JP2007004515A JP2007004515A (en) 2007-01-11
JP4321499B2 true JP4321499B2 (en) 2009-08-26

Family

ID=37690081

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005184354A Expired - Fee Related JP4321499B2 (en) 2005-06-24 2005-06-24 Information collection technology from devices

Country Status (1)

Country Link
JP (1) JP4321499B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5293467B2 (en) * 2009-07-10 2013-09-18 コニカミノルタ株式会社 Image forming apparatus
JP6444174B2 (en) * 2015-01-08 2018-12-26 キヤノン株式会社 Image forming apparatus, image forming apparatus control method, and program

Also Published As

Publication number Publication date
JP2007004515A (en) 2007-01-11

Similar Documents

Publication Publication Date Title
US7325054B2 (en) System for notifying destination user when status of consumable products of printing devices meets user selected notification condition
US8782202B2 (en) Monitor control of devices connected to network
US20050018241A1 (en) Network print system and printer
US8381232B2 (en) Information processing apparatus and computer usable medium therefor
JP4455411B2 (en) Information processing apparatus, information notification method thereof, and control program
JP2009176202A (en) Print processing system
US8400666B2 (en) Information processing apparatus and information processing method
US7827220B2 (en) Image log recording system, control method therefor, and storage medium storing a control program therefor, that store image logs and control transfer settings for transmitting image logs to an image processing server
JP2005001128A (en) Printer and network printing system
US8953193B2 (en) Management system, monitoring apparatus and management
JP4561254B2 (en) Device management system
JP2006215741A (en) Content information output device
US8379246B2 (en) Information processing apparatus and computer usable medium therefor
US8204963B2 (en) Download control of information from server connected to network
JP4321499B2 (en) Information collection technology from devices
JP4978047B2 (en) Monitored device and control method of monitored device
JP4487485B2 (en) Network printer system, backup program, and network printer
JP4821441B2 (en) Management device, management method, and computer program for managing device monitoring device
JP4455523B2 (en) Information processing system, information processing method, program, and storage medium
JP2007072740A (en) Device monitoring control
JP2007018392A (en) Technology for collecting information from device
JP4725066B2 (en) Printing device monitoring system, network board, and printing device monitoring method
JP4775087B2 (en) Network device monitoring
JP5163352B2 (en) Management device, device management system, device management method, program, and recording medium
JP4376811B2 (en) Remote management system and its management device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080331

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080916

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081031

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090217

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090409

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090512

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090525

R150 Certificate of patent or registration of utility model

Ref document number: 4321499

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120612

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130612

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130612

Year of fee payment: 4

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees