JP2005165524A - Print server, printer monitoring method and printer monitoring program - Google Patents
Print server, printer monitoring method and printer monitoring program Download PDFInfo
- Publication number
- JP2005165524A JP2005165524A JP2003401542A JP2003401542A JP2005165524A JP 2005165524 A JP2005165524 A JP 2005165524A JP 2003401542 A JP2003401542 A JP 2003401542A JP 2003401542 A JP2003401542 A JP 2003401542A JP 2005165524 A JP2005165524 A JP 2005165524A
- Authority
- JP
- Japan
- Prior art keywords
- printer
- monitoring
- response
- inquiry
- predetermined
- 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.)
- Withdrawn
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/0213—Standardised network management protocols, e.g. simple network management protocol [SNMP]
Abstract
Description
本発明は、ネットワーク接続されたプリンタの状態を管理する技術に関し、特に、監視中に生じる瞬間的なプリンタオフラインによるジョブの停留等を防止するプリントサーバおよびプリンタ監視方法およびプリンタ監視プログラムに関する。 The present invention relates to a technique for managing the status of a printer connected to a network, and more particularly to a print server, a printer monitoring method, and a printer monitoring program for preventing a job stoppage or the like due to an instantaneous printer offline that occurs during monitoring.
従来、プリンタを含むネットワーク接続された装置の状態を監視する技術において、応答時間を考慮したネットワーク経由での状態問い合わせに関する技術として特許文献1記載の「状態監視方法」が開示されている。 Conventionally, in a technique for monitoring the status of a network-connected device including a printer, a “status monitoring method” disclosed in Patent Document 1 is disclosed as a technology related to status inquiry via a network in consideration of response time.
この特許文献1の発明は、ネットワークのトラフィック量の増加によってさらに生じるトラフィック状況の悪化を防止することを目的とし、クライアントは、サーバに対して状態監視要求を行うと同時に、その時刻を記憶する。その後、サーバから状態監視の結果を受信すると、その時刻と状態監視要求の時刻とに基づき状態監視の応答時間を算出し、応答時間が長かった場合は、状態監視の起動時間の間隔を長くするといったように、状態監視の時間間隔を変化させるものである。 The invention of Patent Document 1 aims to prevent a further deterioration of the traffic situation caused by an increase in the traffic volume of the network, and the client stores the time at the same time as making a status monitoring request to the server. After that, when the status monitoring result is received from the server, the status monitoring response time is calculated based on the time and the status monitoring request time, and if the response time is long, the status monitoring start time interval is lengthened. As described above, the time interval of state monitoring is changed.
また、監視状況を記憶手段のキャッシュ情報に記憶する技術として、特許文献2記載の「情報提供装置及びその情報提供装置での処理をコンピュータに行なわせるためのプログラムを格納した記憶媒体」が開示されている。 Further, as a technique for storing the monitoring status in the cache information of the storage means, an “information providing apparatus and a storage medium storing a program for causing a computer to perform processing in the information providing apparatus” disclosed in Patent Document 2 are disclosed. ing.
この特許文献2の発明は、ネットワークの通信性能に応じてキャッシュデータの有効期間を動的に変更することを可能とし、要求元への無応答状態を回避するようにした情報提供装置を提供することを目的し、ネットワークを経由して情報提供をする少なくとも一つの情報提供元サーバと接続し、情報提供元サーバのプロキシサーバとしてキャッシュデータを用いて複数のクライアントへ情報を提供する情報提供装置であり、各クライアントからの情報提供要求を蓄積する着信要求蓄積手段と、着信要求蓄積手段に蓄積された情報提供要求の着信から発行する間の発行待ち状態を判定する情報提供要求状態判定手段と、情報提供要求状態判定手段の判定結果に基づいてキャッシュデータの有効期間を決定するキャッシュデータ有効期間決定手段とを有し、上記キャッシュデータ有効期間決定手段によって有効となったキャッシュデータを利用し、各クライアントの情報提供要求に応答するものである。
ところで、上記特許文献1の発明は、ネットワーク接続された装置の状態監視を所定の間隔で長時間連続して装置を監視する場合においては有効である。 By the way, the invention of the above-mentioned patent document 1 is effective in the case of monitoring devices continuously for a long period of time at predetermined intervals.
しかし、監視対象となる装置に対して何らかの処理要求を行う特定のタイミングでの一時的な状態確認においては有効でないといった問題点がある。 However, there is a problem in that it is not effective in temporary status confirmation at a specific timing when a certain processing request is made to a device to be monitored.
また、同様に、上記特許文献2の発明は、ネットワークの通信性能に応じてキャッシュデータの有効期間を動的に変更するが、応答時間が極端に長い場合は、キャッシュデータの信頼性が低下したり、応答時間が短期間で激しく変動する場合は、最適な有効期間が設定されないといった問題がある。 Similarly, the invention of Patent Document 2 dynamically changes the valid period of the cache data according to the communication performance of the network. However, if the response time is extremely long, the reliability of the cache data decreases. Or when the response time fluctuates violently in a short period, there is a problem that the optimum effective period is not set.
そこで本発明は、プリンタの状態確認をネットワーク経由で行う際、プリンタ本体のハードウェア的なエラーによる長期間による応答遅延と、プリンタ本体以外の要因として、プリンタの応答性能、トラフィック量の増加による応答遅延の両方に対し、不要なリトライ処理、リトライ間隔の調整処理、印刷処理の停止の発生を極力抑えて稼動率の低下を防止するプリントサーバおよびプリンタ監視方法およびプリンタ監視プログラムを提供することを目的とする。 Therefore, according to the present invention, when checking the status of a printer via a network, the response delay due to a hardware error of the printer main body is caused by a long period of time, and the response performance of the printer and the response due to an increase in traffic volume are factors other than the printer main body. An object of the present invention is to provide a print server, a printer monitoring method, and a printer monitoring program that can prevent unnecessary retry processing, retry interval adjustment processing, and print processing stoppage as much as possible to prevent a reduction in operating rate. And
上記目的を達成するために、請求項1の発明は、ネットワークを介してプリンタが接続されるプリントサーバにおいて、プリンタが記憶手段に記憶して管理する所定の診断項目をネットワーク監視プロトコルによる所定のコマンドにて問い合わせる状態問い合わせ手段と、状態問い合わせ手段による問い合わせに対するプリンタからの応答を解析し、解析した結果を所定の診断項目に対応づけて記憶管理する応答検出手段と、応答検出手段は、状態問い合わせ手段による問い合わせ後の応答時間を所定のタイマ値にて監視する応答監視手段と、応答監視手段がタイムアウトを検知した場合、所定の診断項目を暫定的に更新して管理する暫定登録手段とを具備することを特徴とする。 In order to achieve the above object, according to a first aspect of the present invention, in a print server to which a printer is connected via a network, predetermined diagnostic items stored in the storage means and managed by the printer are stored in a predetermined command using a network monitoring protocol. Inquiry with the status inquiry means, the response detection means for analyzing the response from the printer to the inquiry by the status inquiry means, and storing and managing the analysis result in association with a predetermined diagnosis item, the response detection means, the status inquiry means A response monitoring unit that monitors a response time after an inquiry by a predetermined timer value, and a provisional registration unit that temporarily updates and manages a predetermined diagnosis item when the response monitoring unit detects a timeout. It is characterized by that.
また、請求項2の発明は、請求項1の発明において、所定の項目は、所定の診断項目を所定の順にて段階的に監視される複数の診断項目を具備し、状態問い合わせ手段は、各診断項目の問い合わせを所定の順にて分割して行い、タイマ監視手段は、分割した問い合わせ毎の応答タイムアウトを監視し、暫定登録手段は、タイマ監視手段がタイムアウトを検出した問い合わせ処理の診断項目を含む未問い合わせの診断項目を、予め記憶した所定の内容にてそれぞれ暫定的に更新することを特徴とする。 The invention of claim 2 is the invention of claim 1, wherein the predetermined item comprises a plurality of diagnostic items that are monitored in stages in a predetermined order. The inquiry of the diagnostic items is divided in a predetermined order, the timer monitoring unit monitors the response timeout for each divided inquiry, and the provisional registration unit includes the diagnostic item of the inquiry process in which the timer monitoring unit detects the timeout An uninquired diagnostic item is provisionally updated with predetermined contents stored in advance.
また、請求項3の発明は、ネットワークを介してプリンタが接続されるプリントサーバにおけるプリンタ監視方法において、プリントサーバは、状態問い合わせ手段によりプリンタが記憶手段に記憶して管理する所定の診断項目をネットワーク監視プロトコルによる所定のコマンドにて問い合わせをし、応答検出手段により状態問い合わせ手段による問い合わせに対するプリンタからの応答を解析し、解析した結果を所定の診断項目に対応づけて記憶管理し、応答監視手段により応答検出手段は、状態問い合わせ手段による問い合わせ後の応答時間を所定のタイマ値にて監視し、応答監視手段がタイムアウトを検知した場合、暫定登録手段により所定の診断項目を暫定的に更新して管理することを特徴とする。 According to a third aspect of the present invention, there is provided a printer monitoring method in a print server to which a printer is connected via a network. An inquiry is made with a predetermined command according to the monitoring protocol, a response detection means analyzes the response from the printer to the inquiry by the state inquiry means, and stores and manages the analysis result in association with a predetermined diagnosis item, and the response monitoring means The response detection unit monitors the response time after the inquiry by the state inquiry unit with a predetermined timer value, and when the response monitoring unit detects a timeout, the temporary registration unit temporarily updates and manages the predetermined diagnosis item It is characterized by doing.
また、請求項4の発明は、ネットワークを介してプリンタが接続されるプリントサーバにおけるプリンタ監視プログラムにおいて、状態問い合わせ手段によりプリンタが記憶手段に記憶して管理する所定の診断項目をネットワーク監視プロトコルによる所定のコマンドにて問い合わせをする第1のステップと、応答検出手段により状態問い合わせ手段による問い合わせに対するプリンタからの応答を解析し、解析した結果を所定の診断項目に対応づけて記憶管理する第2のステップと、応答監視手段により応答検出手段は、状態問い合わせ手段による問い合わせ後の応答時間を所定のタイマ値にて監視する第3のステップと、応答監視手段がタイムアウトを検知した場合、暫定登録手段により所定の診断項目を暫定的に更新して管理する第4のステップとをコンピュータに実行させることを特徴とする。 According to a fourth aspect of the present invention, in a printer monitoring program in a print server to which a printer is connected via a network, predetermined diagnostic items which are stored and managed by the printer in the storage means by the status inquiry means are predetermined according to the network monitoring protocol. A first step of inquiring with the command of the above, and a second step of analyzing the response from the printer to the inquiry by the state inquiry means by the response detection means, and storing and managing the analysis result in association with a predetermined diagnosis item Then, the response monitoring means causes the response detection means to monitor the response time after the inquiry by the state inquiry means with a predetermined timer value, and when the response monitoring means detects a timeout, the provisional registration means Tentatively update and manage the diagnostic items of the fourth Characterized in that to perform the steps on a computer.
本発明によれば、ネットワーク監視中に生じる瞬間的なオフライン状態が発生しても、オフライン時における不要なタイムアウト処理の発生を防止し、プリンタに対するジョブの停留を防止することができる。 According to the present invention, even if an instantaneous offline state that occurs during network monitoring occurs, it is possible to prevent unnecessary time-out processing during offline and to prevent a job from being stopped for the printer.
以下、本発明のプリントサーバおよびプリンタ監視方法およびプリンタ監視プログラムの実施例について、添付図面を参照しながら詳細に説明する。 Embodiments of a print server, a printer monitoring method, and a printer monitoring program according to the present invention will be described below in detail with reference to the accompanying drawings.
図1は、本発明に係るプリンタ監視方法を適用したプリントサーバ1と、ネットワーク2を介して接続されたプリンタ3の構成例および各装置の主要な制御構成を概略的に示すブロック図である。 FIG. 1 is a block diagram schematically showing a configuration example of a print server 1 to which a printer monitoring method according to the present invention is applied and a printer 3 connected via a network 2 and main control configurations of each apparatus.
図1において、プリントサーバ1は、ネットワーク2を介して接続されるプリンタ3に対する印刷データの生成出力機能および、ネットワーク監視機能を利用して、プリンタ3の状態を監視する機能を有する。 In FIG. 1, the print server 1 has a function of monitoring the status of the printer 3 using a print data generation / output function for a printer 3 connected via a network 2 and a network monitoring function.
ここで、ネットワーク監視機能は、SNMP(Simple Network Management Protocol)等のネットワーク監視プロトコルによって、プリンタ3のオンライン、オフラインを始め、オンライン中におけるプリンタ3の詳細な状態を保持するプリンタ記憶部32のMIB321(Message Information Base)からネットワーク2を介して問い合わせることによって処理される。 Here, the network monitoring function is an MIB 321 (in the printer storage unit 32) that holds the detailed status of the printer 3 in the online state, including the online state and the offline state of the printer 3, using a network monitoring protocol such as SNMP (Simple Network Management Protocol). It is processed by inquiring via the network 2 from Message Information Base).
プリントサーバ1は、プリントサーバ1全体を制御する制御部11に、プリンタ管理部13、オフライン用パラメータ設定管理部14、通信制御部15、プリントサーバ記憶部12がそれぞれ相互に接続された制御構成を具備する。
The print server 1 has a control configuration in which a
プリンタ管理部13は、プリントサーバ1がネットワーク2を介して接続して管理するプリンタ3の識別情報(ID)をプリントサーバ記憶部12のプリンタ管理テーブル123に登録して管理する。
The
また、プリンタ管理テーブル123に登録されたプリンタ3の状態をプリントサーバ1側からの状態確認処理や、プリンタ3側から不定期に通知されるエラー情報の検出に基づいてプリンタのオフライン、オンライン状態をプリンタ管理テーブル123に記録して監視する。 In addition, the printer's offline status and online status are determined based on status confirmation processing from the print server 1 side and status of error information notified irregularly from the printer 3 side. It is recorded in the printer management table 123 and monitored.
さらに、プリンタ管理部13は、オンライン状態にあるプリンタ3の詳細な状態を確認し、例えば、装着されているトレイの状態、フィニッシャの状態をトレイ管理テーブル125、フィニッシャ管理テーブル126に記録して監視する。
Further, the
オフライン用パラメータ設定管理部14は、出力先プリンタがオフライン状態となった場合に生成されるオフライン用印刷データに設定するパラメータをオフライン用設定情報124に登録し、登録後は、プリントサーバ制御部11の指示に基づいて、オフライン用設定情報124のメンテナンスを行う。
The offline parameter
通信制御部15は、プリントプロトコル、SNMPに基づくネットワーク2を介しての印刷データの通信制御、ネットワーク監視コマンドの生成出力、データ通信制御を行う。
The
特に、SNMPにおいては、プリンタ3に具備されるSNMPエージェントと、プリントサーバ1側に設定されたSNMPマネージャの間でやり取りされる所定の問い合わせコマンドをやり取りしながら、プリンタ3のSNMPエージェントを介してMIB321の取得して、プリンタ状態の監視を行う。
In particular, in the SNMP,
プリントサーバ記憶部12は、プリントサーバ1を制御するための各種プログラム、パラメータを始め、ネットワーク監視中のプリンタ状態をキャッシュデータとして一時的に保持するキャッシュ情報121、プリンタ管理テーブル123、オフライン用設定情報124、トレイ管理テーブル125、フィニッシャ管理テーブル126とを設定して管理する。
The print
キャッシュ情報121は、プリンタ管理部13によって監視されたプリンタの状態を、キャッシュメモリとしての一時記憶領域に記憶して管理する情報である。
The
監視用パラメータ122は、ネットワーク経由でのプリンタ管理処理において、タイムプリンタ毎のタイムアウト発生時刻、プリンタ監視処理インターバル時間や、プリンタの記憶部に記録されるMIB321の内容を参照する際に、予め定義された識別情報を予め記憶して管理する情報である。
The
プリンタ管理テーブル123は、ネットワーク経由でプリンタを監視するために必要な情報として、監視するプリンタの識別情報、ネットワークアドレス等を記憶して管理する。 The printer management table 123 stores and manages identification information, network addresses, and the like of the printer to be monitored as information necessary for monitoring the printer via the network.
オフライン用設定情報124は、ネットワークプリンタに対して印刷処理を行う場合に、プリンタがオフラインのときに、クライアントからプリントサーバに対して印刷指示を出すために必要な情報を応答するためのプリンタ設定に関する情報である。
The off-
トレイ管理テーブル125は、プリンタ管理テーブル123で監視される各プリンタが具備するトレイ識別子、トレイにセットされた用紙の種類、サイズ、トレイの状態等、ネットワーク経由で監視した結果を格納して記憶する情報である。 The tray management table 125 stores and stores the results of monitoring via the network, such as the tray identifier of each printer monitored by the printer management table 123, the type of paper set in the tray, the size, and the state of the tray. Information.
フィニッシャ管理テーブル126は、ネットワーク経由で接続するプリンタがフィニッシャを具備する場合に、フィニッシャの識別子と、その識別子に対応するフィニッシャの種別名称と状態をネットワーク経由で監視した結果に記録するテーブルである。 The finisher management table 126 is a table for recording a finisher identifier, a finisher type name corresponding to the identifier, and a status monitored via the network when a printer connected via the network includes the finisher.
なお、図1に示したオフライン用設定情報124は、オペレータによって編集可能なユーザインタフェースを表示する操作表示部をプリントサーバ1に追加して、プリンタ監視状況に応じて適宜編集する構成にしてもよい。
The
次に、図1のプリントサーバ1に記憶される、プリンタ管理テーブル123、トレイ管理テーブル125、フィニッシャ管理テーブル126に設定される情報について説明する。 Next, information set in the printer management table 123, the tray management table 125, and the finisher management table 126 stored in the print server 1 in FIG. 1 will be described.
図2は、図1に示したプリントサーバ1の記憶部に記憶されるプリンタ管理テーブル123、トレイ管理テーブル125、フィニッシャ管理テーブル126の一例を示すテーブルレイアウト図である。 FIG. 2 is a table layout diagram showing an example of the printer management table 123, tray management table 125, and finisher management table 126 stored in the storage unit of the print server 1 shown in FIG.
図2(A)において、プリンタ管理テーブル123にて登録されて記憶される項目は、プリンタID1231、アドレス1232、プリンタ状態1233がある。
In FIG. 2A, items registered and stored in the printer management table 123 include a
プリンタID1231は、ネットワーク経由で監視するプリンタをユニークに特定する為の識別である。
The
アドレス1232は、ネットワーク経由でプリンタ3との通信制御を行うためのIPアドレスである。
An
プリンタ状態1233は、監視対象となるプリンタが現在どの状態であるを予め設定したステータスを設定して管理する情報である。
The
図2(B)において、トレイ管理テーブル125に登録して管理される項目は、プリンタID1251、トレイID1252、用紙サイズ1253、トレイ状態1254がある。
In FIG. 2B, items registered and managed in the tray management table 125 include a
プリンタID1251は、プリンタ管理テーブル123にて登録管理されているプリンタID1231で特定されるプリンタIDが設定される項目である。
The
トレイID1252は、各プリンタID1251が具備するトレイを特定する為の識別子が設定される項目である。
The
用紙サイズ1253は、トレイID1252にて特定されるトレイにセットされている用紙サイズが設定される項目である。
The
トレイ状態1254は、トレイID1252にて特定されるトレイの状態を、予め定義されたステータス情報で識別して管理する項目である。
The
図2(C)において、フィニッシャ管理テーブル126にて管理される項目は、プリンタID1261、フィニッシャID1262、フィニッシャ種別1263、フィニッシャ状態1264がある。
In FIG. 2C, items managed in the finisher management table 126 include a printer ID 1261, a
プリンタID1261は、図2(A)のプリンタID1231、図2(B)のプリンタID1251と同様に、プリンタを識別する為の識別情報である。
The printer ID 1261 is identification information for identifying a printer, like the
フィニッシャID1262は、プリンタID1261にて特定されるプリンタが具備するフィニッシャ部の識別情報を特定して管理される項目である。
The
フィニッシャ種別1263は、フィニッシャID1262にて特定されるフィニッシャ部がどのような処理を行うか(ホチキス止め、スタッカ、折り機、穴あけ機など)を判断するための情報が設定される項目である。
The
フィニッシャ状態1264は、ネットワーク監視されるフィニッシャID1262にて特定されるフィニッシャの状態を、フィニッシャ種別1263毎に予め定義されたステータス情報にて設定して管理する項目である。
The
再度図1に戻り、プリンタ3の制御構成について説明する。 Returning to FIG. 1 again, the control configuration of the printer 3 will be described.
プリンタ3は、プリンタ制御部31を中心に、プリンタ記憶部32、プリンタ通信制御部33、フィニッシャ管理部34、トレイ管理部35の各制御要素が相互に接続して制御される構成を具備する。
The printer 3 has a configuration in which the control elements of the
プリンタ記憶部32は、プリンタによる印刷処理に必要な各種制御プログラムを始め、本発明に係わる記憶情報として、プリンタの各部の状態を監視して記録するMIB321を具備する。
The
なお、このMIB321に記録して管理される項目の識別子および構成においては、プリンタを管理する側としてのプリントサーバ1との間において取り決められた構成となる。
Note that the identifiers and configurations of the items recorded and managed in the
さらに、MIB321に記憶される自機の情報は、設定された変数、あるいは、変数からの相対番号などによって記憶場所を特定してデータの設定、読み出しが行われる。
Further, the information of the own device stored in the
プリンタ通信制御部33は、SNMP、プリント制御用のプロトコル、TCP/IP(Transmission Control Protocol/Internet Protocol)等のプロトコルに基づいて、ネットワーク2を介して接続する他の端末との通信制御、印刷データの送受信制御、データ通信制御、ネットワーク監視制御を行う。
The printer
特に、SNMPに関しては、SNMPエージェントの機能を具備し、ネットワーク2経由で接続する他のSNMPマネージャからの要求に応じて、MIB321の情報を抽出して応答処理を行う。
In particular, with respect to SNMP, an SNMP agent function is provided, and
フィニッシャ管理部34は、フィニッシャ部37に接続してフィニッシャ部37の状態を監視し、監視結果をプリンタ記憶部32のMIB321に設定する。
The
トレイ管理部35は、トレイ部36に接続してトレイ部36の状態を監視し、監視結果をプリンタ記憶部32のMIB321に設定する。
The
次に、本発明のプリンタ状態監視方法について説明する。 Next, the printer status monitoring method of the present invention will be described.
図3は、図1に示したプリントサーバがネットワーク接続されたプリンタを監視する処理の手順を示したフローチャートである。 FIG. 3 is a flowchart showing a procedure of processing in which the print server shown in FIG. 1 monitors a printer connected to the network.
図3において、プリンタ管理部13は、ネットワーク2、通信制御部15を介して印刷要求のイベント、或いは、プリントサーバ1自身におけるプリンタ監視イベントの発生に伴うプリンタ監視の指示をプリントサーバ制御部11から受信する。
In FIG. 3, the
そして、プリンタ管理部13は、プリントサーバ記憶部12の監視用パラメータ122に記憶される監視対象プリンタにおける前回のオフライン発生時刻、インターバル時間を取得し、現在時刻が、前回のオフライン発生時刻からインタバール時間以上経過しているかを判断する(ステップS101)。
Then, the
ステップS101において、前回のオフライン発生時刻からインタバール時間以上経過している場合(ステップS101でYES)、プリンタ管理部13は、監視対象となるプリンタがオンラインであるかを、通信制御部15に対してネットワーク経由で監視することを指示する(ステップS102)。 プリンタ管理部13は、通信制御部15にて状態を問い合わせたプリンタ3からの応答タイムアウト監視する(ステップS103)。
In step S101, if the interval time has elapsed since the previous offline occurrence time (YES in step S101), the
ステップS103において、応答タイムアウトが発生しなかった場合(ステップS103でNO)、プリンタ管理部13は、プリンタ3の稼動状態をプリンタ管理テーブル123のプリンタ状態1233に登録する(ステップS104)。
If no response timeout has occurred in step S103 (NO in step S103), the
プリンタの状態登録が完了すると、プリンタ管理部13は、プリンタ3の各部における詳細な状態を問い合せせるべく第2の問い合わせフェーズとして、トレイ状態の問い合わせを通信制御部15に対して指示する(ステップS105)。
When the printer status registration is completed, the
プリンタ管理部13は、プリンタ3に対する第2の問い合わせに対する応答タイムアウトを監視し(ステップS106)、タイムアウト監視時刻以内に応答を検出すると、プリンタ管理部13は、プリンタ3から通知された応答内容を解析し、解析したトレイ状態をトレイ管理テーブル125のトレイ状態1254を更新する(ステップS107)。
The
トレイ状態の登録が完了すると、プリンタ管理部13は、プリンタ3に対して、第3の問い合わせフェーズとしての、フィニッシャ状態の問い合わせを通信制御部15に指示する(ステップS108)。
When the registration of the tray state is completed, the
プリンタ管理部13は、第3の問い合わせフェーズにおける応答タイムアウトを監視する(ステップS109)。
The
タイムアウト監視中にプリンタ3からの応答を検出した場合(ステップS109でNO)、プリンタ管理部13は、プリンタ3から通知されたフィニッシャの状態をフィニッシャ管理テーブル126に設定する(ステップS110)。
If a response from the printer 3 is detected during timeout monitoring (NO in step S109), the
そして、第2、第3におけるプリンタの詳細状態の問い合わせ処理が完了すると、プリンタ管理部13は、トレイ管理テーブル125にて設定したトレイ状態、フィニッシャ管理テーブル126に登録したフィニッシャ状態をキャッシュ情報121に登録し、次のプリンタ管理要求イベント発生待ちに遷移する(ステップS111)。
When the second and third printer detailed status inquiry processing is completed, the
ここまでの処理が、本発明のおけるプリンタ監視処理のメインパスであり、プリンタの状態を、一回の問い合わせフェーズで、全ての診断項目の問い合わせを実施せずに、最初にプリンタ本体の状態のみ問い合わせ、以後、詳細な監視項目の単位に分割した問い合わせシーケンスを設けてプリンタ監視制御を行うことを特徴としている。 The process up to this point is the main path of the printer monitoring process according to the present invention, and the printer status is checked only in the printer main state first without inquiring all diagnostic items in one inquiry phase. After the inquiry, the printer monitoring control is performed by providing an inquiry sequence divided into detailed monitoring item units.
次に、ステップS101における、プリンタ状態の監視時刻に到達しない状態でのプリンタ状態の監視要求が発生した場合の処理、ステップS103、ステップS106、ステップS109における各問い合わせフェーズにおいて応答タイムアウトを検出した場合の処理についてそれぞれ説明する。 Next, processing in the case where a printer status monitoring request is generated in a state where the printer status monitoring time has not been reached in step S101, and a case where a response timeout is detected in each inquiry phase in steps S103, S106, and S109. Each process will be described.
ステップS101の処理において、プリンタ状態の監視要求イベントが前回発生したイベント発生時刻から所定のインターバル時間経過以前に発生した場合(ステップS101でNO)、プリンタ管理部13は、状態監視対象となるプリンタ3が以前としてオフラインであるとみなし、オフライン用設定情報124から「オフライン用トレイ情報」、「オフライン用フィニッシャ情報」の読み取り処理を行う(ステップS112)。
In the process of step S101, if a printer status monitoring request event occurs before the elapse of a predetermined interval time from the event occurrence time that occurred last time (NO in step S101), the
オフライン用設定情報124の読み取り処理が完了すると、プリンタ管理部13は、プリンタ管理テーブル123のプリンタ状態1233をオフラインに設定し、トレイ管理テーブル125の、各トレイに対応するトレイ状態1254、および、フィニッシャ管理テーブル126の各フィニッシャに対応するフィニッシャ状態1264を、(ステップS112)で取得したオフライン用設定情報124から読み取った内容で更新する(ステップS113)。
When the reading processing of the
さらに、監視用パラメータ122に記憶されているオフライン発生時刻を現在時刻にて更新してプリンタ監視処理を終了する(ステップS114)。
Further, the offline occurrence time stored in the
なお、上記ステップS112、ステップS113、上記ステップS114にて示したオフラインとみなしたときの処理は、ステップS103の応答タイムアウト検出時(ステップS103でYES)のケースにおいても同様に処理する。 It should be noted that the processing when it is regarded as offline shown in step S112, step S113, and step S114 is similarly performed in the case of response time-out detection in step S103 (YES in step S103).
次に、ステップS106におけるトレイ状態問い合わせフェーズにおける応答タイムアウトを検出した場合(ステップS106でYES)、プリンタ管理部13は、プリンタ3から通知されるトレイ情報の替わりに、キャッシュ情報121から問い合わせ先プリンタ3の「トレイ状態キャッシュ」を読み込み(ステップS115)、読み込んだ「トレイ状態キャッシュ」にて、トレイ管理テーブル125のトレイID1252毎のトレイ状態1254を更新する(ステップS116)。
Next, when a response timeout is detected in the tray status inquiry phase in step S106 (YES in step S106), the
ステップS116の処理にて、トレイ管理テーブル125の更新が完了した場合、或いは、ステップS109の応答タイムアウトを検出した場合(ステップS109でYES)、プリンタ管理部13は、キャッシュ情報121から問い合わせ先プリンタ3の「フィニッシャ状態キャッシュ」を読み込み(ステップS117)、読み込んだ「フィニッシャ状態キャッシュ」にて、フィニッシャ管理テーブル126のフィニッシャID1262毎のフィニッシャ状態1264を更新する(ステップS118)。
When the update of the tray management table 125 is completed in the process of step S116, or when the response time-out of step S109 is detected (YES in step S109), the
なお、図3では図示していないが、プリントサーバ1の初期化時に「トレイ状態キャッシュ」には「オフライン用トレイ情報」を、「フィニッシャ状態キャッシュ」には「オフライン用フィニッシャ情報」を設定する。 Although not shown in FIG. 3, when the print server 1 is initialized, “offline tray information” is set in the “tray status cache”, and “offline finisher information” is set in the “finisher status cache”.
これにより、プリントサーバ起動直後の初期処理において、プリンタ状態確認処理を起動し、S101をYESで通過し、S103の判定処理をNOで通過した場合、ステップS106の判定処理でYES(タイムアウト発生)で通過したときのステップS115におけるトレイ情報キャッシュ、あるいは、ステップS109の判定処理でYES(タイムアウト発生)で通過したときのステップS117におけるフィニッシャ情報キャッシュの取得処理を行って処理を継続することができる。 As a result, in the initial process immediately after the print server is activated, the printer status confirmation process is activated. If S101 is passed through YES and the determination process of S103 is passed through NO, the determination process of step S106 is YES (timeout occurs). The process can be continued by performing the acquisition process of the tray information cache at step S115 when it passes or the finisher information cache at step S117 when it passes through YES (timeout occurrence) in the determination process of step S109.
以上が、本発明のプリンタ状態監視方法を適用した場合の実施の形態の説明である。 The above is the description of the embodiment when the printer status monitoring method of the present invention is applied.
なお、図1から図3に示したプリンタ情報の管理項目は、トレイ状態、フィニッシャに限定されず、プリンタの状態監視に必要な診断項目を適宜、追加・変更して監視する構成にしてもよい。 The management items of the printer information shown in FIGS. 1 to 3 are not limited to the tray status and the finisher, but may be configured to monitor by appropriately adding / changing diagnostic items necessary for printer status monitoring. .
このとき、図3のプリンタの状態監視処理においては、ステップS105、ステップS108に示した問い合わせ処理と同様の処理を、追加した項目に対する問い合わせシーケンスとして追加した構成にしてプリンタ状態を監視する。 At this time, in the printer status monitoring process of FIG. 3, the printer status is monitored by adopting the same process as the query process shown in steps S105 and S108 as a query sequence for the added item.
また、図3に示したプリントサーバ1におけるプリンタ管理処理プログラムは、プリントサーバ1以外に、ネットワーク2に接続して印刷処理を行う他の器機にインストールして利用する構成にすることも可能である。 In addition to the print server 1, the printer management processing program in the print server 1 shown in FIG. 3 can be configured to be installed and used in another device that is connected to the network 2 and performs print processing. .
本発明のプリントサーバおよびプリンタ監視方法およびプリンタ監視プログラムは、ネットワークプリンタに対して印刷処理を行う印刷システムにおいて、印刷データの出力に先立って、プリンタの状態を確認する印刷システムに利用可能であり、特に、ネットワークプリンタの状態を詳細な管理項目を設けて高度なプリンタ監視を行う印刷システムにおいて特に有効である。 The print server, the printer monitoring method, and the printer monitoring program of the present invention can be used in a printing system that performs a printing process on a network printer, and that confirms the status of the printer prior to output of print data. This is particularly effective in a printing system that performs advanced printer monitoring by providing detailed management items for the status of network printers.
1 プリントサーバ
11 プリントサーバ制御部
12 プリントサーバ記憶部
121 キャッシュ情報
122 監視用パラメータ
123 プリンタ管理テーブル
1231 プリンタID
1232 アドレス
1233 プリンタ状態
1251 プリンタID
1252 トレイID
1253 用紙サイズ
1254 トレイ状態
1261 プリンタID
1262 フィニッシャID
1263 フィニッシャ種別
1264 フィニッシャ状態
124 オフライン用設定情報
125 トレイ管理テーブル
126 フィニッシャ管理テーブル
13 プリンタ管理部
14 オフライン用パラメータ設定管理部
15 通信制御部
2 ネットワーク
3 プリンタ
31 プリンタ制御部
32 プリンタ記憶部
321 MIB
33 プリンタ通信制御部
34 フィニッシャ管理部
35 トレイ管理部
36 トレイ部
37 フィニッシャ部
DESCRIPTION OF SYMBOLS 1 Print server 11 Print
1232
1252 Tray ID
1253
1262 Finisher ID
1263
33 Printer
Claims (4)
前記プリンタが記憶手段に記憶して管理する所定の診断項目をネットワーク監視プロトコルによる所定のコマンドにて問い合わせる状態問い合わせ手段と、
前記状態問い合わせ手段による問い合わせに対するプリンタからの応答を解析し、該解析した結果を前記所定の診断項目に対応づけて記憶管理する応答検出手段と、
前記応答検出手段は、前記状態問い合わせ手段による問い合わせ後の応答時間を所定のタイマ値にて監視する応答監視手段と、
前記応答監視手段がタイムアウトを検知した場合、前記所定の診断項目を暫定的に更新して管理する暫定登録手段と
を具備する
ことを特徴とするプリントサーバ。 In a print server to which a printer is connected via a network,
Status inquiry means for inquiring a predetermined diagnostic item stored in the storage means by the printer using a predetermined command based on a network monitoring protocol;
Response detection means for analyzing a response from the printer to the inquiry by the state inquiry means, and storing and managing the analysis result in association with the predetermined diagnosis item;
The response detection means is a response monitoring means for monitoring a response time after the inquiry by the state inquiry means with a predetermined timer value;
And a provisional registration means for provisionally updating and managing the predetermined diagnosis item when the response monitoring means detects a timeout.
所定の順にて段階的に監視される複数の診断項目を具備し、
前記状態問い合わせ手段は、
前記各診断項目の問い合わせを前記所定の順にて分割して行い、
前記タイマ監視手段は、
前記分割した問い合わせ毎の応答タイムアウトを監視し、
前記暫定登録手段は、
前記タイマ監視手段がタイムアウトを検出した問い合わせ処理の診断項目を含む未問い合わせの診断項目を、予め記憶した所定の内容にてそれぞれ暫定的に更新する
ことを特徴とする請求項1のプリントサーバ。 The predetermined diagnostic item is:
A plurality of diagnostic items monitored in stages in a predetermined order,
The state inquiry means includes
The inquiry of each diagnosis item is divided and performed in the predetermined order,
The timer monitoring means includes
Monitor the response timeout for each of the divided inquiries,
The provisional registration means includes
The print server according to claim 1, wherein the timer monitoring unit tentatively updates uninquired diagnostic items including a diagnostic item of inquiry processing in which a timeout has been detected, with predetermined content stored in advance.
前記プリントサーバは、状態問い合わせ手段により前記プリンタが記憶手段に記憶して管理する所定の診断項目をネットワーク監視プロトコルによる所定のコマンドにて問い合わせをし、
応答検出手段により前記状態問い合わせ手段による問い合わせに対するプリンタからの応答を解析し、該解析した結果を前記所定の診断項目に対応づけて記憶管理し、
応答監視手段により前記応答検出手段は、前記状態問い合わせ手段による問い合わせ後の応答時間を所定のタイマ値にて監視し、
前記応答監視手段がタイムアウトを検知した場合、暫定登録手段により前記所定の診断項目を暫定的に更新して管理する
ことを特徴とするプリンタ監視方法。 In a printer monitoring method in a print server to which a printer is connected via a network,
The print server inquires about a predetermined diagnosis item stored and managed by the printer in a storage unit by a state inquiry unit using a predetermined command based on a network monitoring protocol,
Analyzing the response from the printer to the inquiry by the status inquiry means by the response detection means, storing and managing the analysis result in association with the predetermined diagnostic item,
The response detection means by the response monitoring means monitors the response time after the inquiry by the state inquiry means with a predetermined timer value,
A printer monitoring method, wherein when the response monitoring unit detects a timeout, the predetermined diagnostic item is provisionally updated and managed by a temporary registration unit.
状態問い合わせ手段により前記プリンタが記憶手段に記憶して管理する所定の診断項目をネットワーク監視プロトコルによる所定のコマンドにて問い合わせをする第1のステップと、
応答検出手段により前記状態問い合わせ手段による問い合わせに対するプリンタからの応答を解析し、該解析した結果を前記所定の診断項目に対応づけて記憶管理する第2のステップと、
応答監視手段により前記応答検出手段は、前記状態問い合わせ手段による問い合わせ後の応答時間を所定のタイマ値にて監視する第3のステップと、
前記応答監視手段がタイムアウトを検知した場合、暫定登録手段により前記所定の診断項目を暫定的に更新して管理する第4のステップと
をコンピュータに実行させる
ことを特徴とするプリンタ監視プログラム。 In a printer monitoring program in a print server to which a printer is connected via a network,
A first step of inquiring a predetermined diagnostic item stored in the storage unit by the status inquiry unit and managed by a predetermined command based on a network monitoring protocol;
A second step of analyzing a response from the printer to the inquiry by the state inquiry unit by a response detection unit, and storing and managing the analysis result in association with the predetermined diagnosis item;
A third step of monitoring the response time after the inquiry by the state inquiry means with a predetermined timer value by the response monitoring means;
When the response monitoring unit detects a timeout, the computer executes a fourth step of temporarily updating and managing the predetermined diagnostic item by a temporary registration unit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003401542A JP2005165524A (en) | 2003-12-01 | 2003-12-01 | Print server, printer monitoring method and printer monitoring program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003401542A JP2005165524A (en) | 2003-12-01 | 2003-12-01 | Print server, printer monitoring method and printer monitoring program |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005165524A true JP2005165524A (en) | 2005-06-23 |
Family
ID=34725445
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003401542A Withdrawn JP2005165524A (en) | 2003-12-01 | 2003-12-01 | Print server, printer monitoring method and printer monitoring program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005165524A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009276998A (en) * | 2008-05-14 | 2009-11-26 | Canon Inc | Device monitoring apparatus and its control method, device monitoring system and program |
JP2017043096A (en) * | 2015-08-26 | 2017-03-02 | 株式会社リコー | Adaptive polling of printer providing snmp requirement |
-
2003
- 2003-12-01 JP JP2003401542A patent/JP2005165524A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2009276998A (en) * | 2008-05-14 | 2009-11-26 | Canon Inc | Device monitoring apparatus and its control method, device monitoring system and program |
JP2017043096A (en) * | 2015-08-26 | 2017-03-02 | 株式会社リコー | Adaptive polling of printer providing snmp requirement |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4440107B2 (en) | Methods and configurations for using shared resources in a network | |
EP1679825B1 (en) | Method and system for monitoring of a network device | |
US6301012B1 (en) | Automatic configuration of a network printer | |
JP5159071B2 (en) | COMMUNICATION SYSTEM, COMMUNICATION DEVICE, AND ITS CONTROL METHOD | |
US20120246297A1 (en) | Agent based monitoring for saas it service management | |
US6559965B1 (en) | Method and apparatus for establishing two-way communication with a remote printer | |
EP1150471B1 (en) | Method and system for recommending an available network protocol | |
JP2000215128A (en) | Automatic installation method and device for shared printer by means of network | |
EP1265417A2 (en) | Device management system and method | |
EP1624616A1 (en) | Information processing apparatus and information notification method therefor, and control program | |
US8676967B2 (en) | Event proxy notification apparatus and method of controlling the same and program | |
JP6012332B2 (en) | Device management apparatus, device management method, and program | |
US20050268176A1 (en) | Information processing apparatus and device | |
JP2005309982A (en) | Port setting changing device and method, and port setting changing control program | |
JP2005165524A (en) | Print server, printer monitoring method and printer monitoring program | |
JP2000172474A (en) | Automatic power-off device, network printer, and automatic power-off method | |
JP2007053688A (en) | Network management system | |
JP2000112854A (en) | Information processor | |
JP2006168063A (en) | Image forming apparatus | |
JP4007325B2 (en) | Notification timing control for network devices connected to the network | |
JPH07334462A (en) | Client/server system having quick monitoring function for action state of server | |
JP2000357135A (en) | Supervisory control method for network equipment | |
JP2006113932A (en) | Restarting device and method | |
JP2007065706A (en) | Print controller, print system, and program | |
JP2017220045A (en) | Network device and method for controlling the same, monitoring system, and program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061127 |
|
A761 | Written withdrawal of application |
Free format text: JAPANESE INTERMEDIATE CODE: A761 Effective date: 20081020 |