JP4692359B2 - Log management device, log management system, log management method and program thereof - Google Patents
Log management device, log management system, log management method and program thereof Download PDFInfo
- Publication number
- JP4692359B2 JP4692359B2 JP2006101314A JP2006101314A JP4692359B2 JP 4692359 B2 JP4692359 B2 JP 4692359B2 JP 2006101314 A JP2006101314 A JP 2006101314A JP 2006101314 A JP2006101314 A JP 2006101314A JP 4692359 B2 JP4692359 B2 JP 4692359B2
- Authority
- JP
- Japan
- Prior art keywords
- job
- time
- image processing
- log
- dummy
- 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
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Facsimiles In General (AREA)
Description
本発明は、ログ管理装置、ログ管理方法及びそのプログラムに関し、詳しくは画像処理を伴う画像処理用ジョブに基づいて画像処理を実行し少なくとも所定の基準時からの経過時間によって特定される相対時刻を計測可能な相対時刻計測機能を有する画像処理装置とネットワークを介して接続され該画像処理装置のログを管理するログ管理装置、ログ管理方法及びそのプログラムに関する。 The present invention relates to a log management apparatus, a log management method, and a program thereof, and more particularly, to execute relative image processing based on an image processing job involving image processing and to specify a relative time specified by at least an elapsed time from a predetermined reference time. The present invention relates to a log management apparatus, a log management method, and a program thereof, which are connected to an image processing apparatus having a measurable relative time measurement function via a network and manage logs of the image processing apparatus.
従来より、印刷装置などのログを管理するシステムが知られている。例えば特許文献1では、印刷装置が現在時刻を計測可能な時計用ICを実装している場合には、その時計用ICから読み取った現在時刻を印刷ジョブの受信時刻情報として取得し、ログとして印刷装置内に記憶しておく。一方、印刷装置が時計用ICを実装していない場合には、印刷ジョブのデータ内に含まれているホストコンピュータからの送信日時情報を印刷ジョブの受信時刻情報として取得し、ログとして印刷装置内に記憶しておく。したがって、印刷装置が時計用ICを実装していなくても、ログとして各印刷ジョブの時間情報を印刷ジョブを受信した際の現在時刻として記憶され、印刷処理の管理やエラー処理の管理などを効率よく行うことができる。
ところで、印刷装置とは別の装置でログ管理を行う場合、そのログ管理装置は、印刷装置で作成された利用状況に関する情報(例えば、印刷開始時刻や印刷終了時刻といった時間情報など)を取得してこれを管理する。一般に、印刷装置においては、コスト面等の理由から、電源断の状態でも現在時刻を計測可能な時計(リアルタイムクロック)ではなく、起動時からの経過時間を計測可能なタイマ(システムクロック)を内蔵していることが多い。したがって、ログを管理する際には、印刷装置の保有する相対時刻としての時間情報を統一した時間軸で合わせることが必要になる。その方法としては、例えば、ジョブ管理装置から取得した絶対時刻に基づいて印刷装置を起動した絶対時刻を算出し、この起動時間からの経過時間によって印刷処理時刻を算出することが考えられる。しかしながら、ログ管理装置がプリントサーバなどを介してプリンタと接続されている場合には、ログ管理装置はプリンタの時刻を直接に取得することができないため、ログ管理装置でプリンタの正確な処理時刻を管理することができない。つまり、プリントサーバがログ管理装置から基準時刻を取得し、この取得した基準時刻に対しプリントサーバの有するシステムクロックで計測された経過時間を加味した時刻をプリンタの時刻として用いる場合、プリンタで作成されたログの時間情報は、プリントサーバのシステムクロックとプリンタのシステムクロックとの計測誤差が含まれたものになる。一般に、システムクロックの精度は低いため、このような構成においてプリンタで作成されたログの時間情報は、プリントサーバとプリンタとの計測誤差により実際の時刻よりも大きくずれていることがあった。 By the way, when log management is performed by a device different from the printing device, the log management device acquires information on the usage status created by the printing device (for example, time information such as printing start time and printing end time). Manage this. In general, the printer has a built-in timer (system clock) that can measure the elapsed time since startup, instead of a clock (real-time clock) that can measure the current time even when the power is off, for reasons such as cost. Often doing. Therefore, when managing logs, it is necessary to match time information as relative time held by the printing apparatus on a unified time axis. As the method, for example, it is conceivable to calculate the absolute time when the printing apparatus is activated based on the absolute time acquired from the job management apparatus, and to calculate the print processing time based on the elapsed time from the activation time. However, when the log management device is connected to the printer via a print server or the like, the log management device cannot directly acquire the printer time. It cannot be managed. In other words, when the print server obtains the reference time from the log management device and uses the time obtained by adding the elapsed time measured by the system clock of the print server as the obtained reference time as the printer time, it is created by the printer. The log time information includes measurement errors between the system clock of the print server and the system clock of the printer. In general, since the accuracy of the system clock is low, the time information of the log created by the printer in such a configuration sometimes deviates from the actual time due to a measurement error between the print server and the printer.
本発明は、このような課題を解決するためになされたものであり、画像処理装置から取得したログに含まれる時刻を統一した時間軸で管理することができるログ管理装置、ログ管理方法及びそのプログラムを提供することを目的とする。 The present invention has been made to solve such a problem, and a log management apparatus, a log management method, and a log management apparatus capable of managing a time included in a log acquired from an image processing apparatus on a unified time axis The purpose is to provide a program.
本発明は、上述の目的を達成するために以下の手段を採った。 The present invention adopts the following means in order to achieve the above-mentioned object.
すなわち、本発明のログ管理装置は、
画像処理を伴う画像処理用ジョブに基づいて画像処理を実行し少なくとも所定の基準時からの経過時間によって特定される相対時刻を計測可能な相対時刻計測機能を有する画像処理装置とネットワークを介して接続され該画像処理装置のログを管理するログ管理装置であって、
基準時刻を計測する基準時刻計測手段と、
前記画像処理用ジョブを模したダミージョブを前記画像処理装置に送信するダミージョブ送信手段と、
前記ダミージョブ送信手段から前記ダミージョブを送信したときの基準時刻である送信基準時刻に関する情報を記憶する送信時刻記憶手段と、
前記画像処理装置が前記ダミージョブを処理したときの相対時刻に関する情報を含む前記ダミージョブのログと前記画像処理用ジョブを処理したときの相対時刻に関する情報を含む前記画像処理用ジョブのログとを取得するログ取得手段と、
前記送信基準時刻に関する情報と前記ダミージョブのログとに基づいて前記画像処理用ジョブのログのうち相対時刻に関する情報を前記基準時刻の時間軸に合うように補正する時刻補正手段と、
前記時刻補正手段によって補正された情報を前記画像処理装置のログとして記憶するログ記憶手段と、
を備えたものである。
That is, the log management apparatus of the present invention is
Connected via an image processing device with a relative time measurement function capable of measuring image processing based on an image processing job involving image processing and measuring at least the relative time specified by the elapsed time from a predetermined reference time A log management device for managing a log of the image processing device,
A reference time measuring means for measuring the reference time;
Dummy job transmitting means for transmitting a dummy job imitating the image processing job to the image processing apparatus;
A transmission time storage means for storing information relating to a transmission reference time that is a reference time when the dummy job is transmitted from the dummy job transmission means;
A log of the dummy job including information on relative time when the image processing apparatus processes the dummy job, and a log of the image processing job including information on relative time when the image processing job is processed. Log acquisition means to acquire;
Time correction means for correcting the information on the relative time in the log of the image processing job based on the information on the transmission reference time and the log of the dummy job so as to match the time axis of the reference time;
Log storage means for storing information corrected by the time correction means as a log of the image processing device;
It is equipped with.
このログ管理装置では、画像処理用ジョブを模したダミージョブを画像処理装置に送信し、この画像処理装置のログとして、画像処理装置がダミージョブを処理したときの相対時刻に関する情報を画像処理装置から取得する。そして、画像処理装置のログとして、画像処理装置が画像処理用ジョブを処理したときの相対時刻に関する情報を取得すると、ダミージョブの送信基準時刻に関する情報とダミージョブのログとに基づいて、画像処理用ジョブを処理したときの相対時刻に関する情報を基準時刻の時間軸に合うように補正する。つまり、ログ管理装置が画像処理装置にダミージョブを送信することにより、ログ管理装置と画像処理装置との間で時刻同期を行うための特別な手段がなくても、ログ管理装置側の時刻と画像処理装置側の時刻とを関係づけ、画像処理装置で把握した画像処理用ジョブの処理相対時刻をログ管理装置の時間軸に合わせた時刻に置き換えることが可能になる。したがって、画像処理装置から取得したログに含まれる時刻をログ管理装置が有する時刻に合わせることで統一した時間軸でログを管理することができる。 In this log management apparatus, a dummy job imitating an image processing job is transmitted to the image processing apparatus, and information relating to the relative time when the image processing apparatus processes the dummy job is used as a log of the image processing apparatus. Get from. When the information regarding the relative time when the image processing apparatus processes the image processing job is acquired as the log of the image processing apparatus, the image processing is performed based on the information regarding the transmission reference time of the dummy job and the log of the dummy job. The information regarding the relative time when the job for processing is processed is corrected so as to match the time axis of the reference time. That is, the log management device transmits a dummy job to the image processing device, so that there is no special means for performing time synchronization between the log management device and the image processing device. It is possible to relate the time on the image processing apparatus side and replace the relative processing time of the image processing job grasped by the image processing apparatus with a time that matches the time axis of the log management apparatus. Therefore, the log can be managed on a unified time axis by matching the time included in the log acquired from the image processing apparatus with the time of the log management apparatus.
ここで、所定の基準時は、例えば画像処理装置の起動時としてもよいし、任意の時刻としてもよい。このとき、所定の基準時の時刻は、例えばゼロとしてもよいし、別の外部装置から通信により入力した時刻としてもよい。 Here, the predetermined reference time may be, for example, when the image processing apparatus is activated, or may be an arbitrary time. At this time, the time at the predetermined reference time may be zero, for example, or may be a time input by communication from another external device.
本発明のログ管理装置において、前記ダミージョブは画像処理を伴わないものであり、前記ログ取得手段は、前記画像処理装置が前記ダミージョブを処理したときの相対時刻に関する情報として、前記画像処理装置が前記ダミージョブを受信したときの相対時刻に関する情報を取得するとしてもよい。こうすれば、本来行うべき画像処理がダミージョブによって妨げられるのを防ぐことができる。また、画像処理装置がダミージョブを受信した時刻を用いて画像処理用ジョブの処理相対時刻の補正を行うため、画像処理装置がダミージョブの処理を開始した時刻を用いて補正を行う場合に比べて、処理相対時刻の補正をより正確に行うことができる。 In the log management apparatus according to the present invention, the dummy job does not involve image processing, and the log acquisition unit uses the image processing apparatus as information regarding a relative time when the image processing apparatus processes the dummy job. May acquire information relating to the relative time when the dummy job is received. In this way, it is possible to prevent the image processing that should be originally performed from being hindered by the dummy job. In addition, since the image processing apparatus corrects the processing relative time of the image processing job using the time when the dummy job is received, compared with the case where the image processing apparatus corrects using the time when the dummy job processing is started. Thus, the processing relative time can be corrected more accurately.
本発明のログ管理装置において、前記ダミージョブ送信手段は、前記ダミージョブを1回送信し、前記時刻補正手段は、前記ダミージョブ送信手段により送信された1回のダミージョブにつき、前記相対時刻計測機能により計測された相対時刻と前記基準時刻計測手段により計測される基準時刻との関係に基づいて前記画像処理用ジョブのログのうち相対時刻に関する情報を前記基準時刻の時間軸に合うように補正するとしてもよい。こうすれば、ダミージョブを必要以上に送信することなく画像処理装置で計測された処理相対時刻をログ管理装置の時間軸に合わせた時刻に補正することができる。 In the log management apparatus of the present invention, the dummy job transmission unit transmits the dummy job once, and the time correction unit performs the relative time measurement for one dummy job transmitted by the dummy job transmission unit. Based on the relationship between the relative time measured by the function and the reference time measured by the reference time measuring means, the information related to the relative time in the log of the image processing job is corrected to match the time axis of the reference time. You may do that. In this way, it is possible to correct the processing relative time measured by the image processing apparatus to a time that matches the time axis of the log management apparatus without transmitting dummy jobs more than necessary.
本発明のログ管理装置において、前記時刻補正手段は、前記相対時刻計測機能での計測誤差を考慮して前記画像処理用ジョブのログのうち相対時刻に関する情報を前記基準時刻の時間軸に合うように補正するとしてもよい。こうすれば、画像処理装置の相対時刻計測機能の精度が低いときにも、より正確な時刻をログとして管理することができる。このとき、前記ダミージョブ送信手段は、前記ダミージョブを2回送信し、前記時刻補正手段は、前記ダミージョブ送信手段により送信された2回のダミージョブにつき、前記相対時刻計測機能により計測された相対時刻と前記基準時刻計測手段により計測される基準時刻との関係を算出し、該算出した関係に基づいて前記画像処理用ジョブのログのうち相対時刻に関する情報を前記基準時刻の時間軸に合うように補正することにより前記相対時刻計測機能での計測誤差を考慮するとしてもよい。こうすれば、処理相対時刻を補正する際に、相対計測機能の計測誤差を比較的容易に反映させることができる。 In the log management apparatus according to the present invention, the time correction unit is configured so that information relating to the relative time in the log of the image processing job matches the time axis of the reference time in consideration of a measurement error in the relative time measurement function. You may correct to. In this way, even when the accuracy of the relative time measurement function of the image processing apparatus is low, more accurate time can be managed as a log. At this time, the dummy job transmission unit transmits the dummy job twice, and the time correction unit measures the two dummy jobs transmitted by the dummy job transmission unit by the relative time measurement function. A relationship between the relative time and the reference time measured by the reference time measuring unit is calculated, and information on the relative time in the log of the image processing job is aligned with the time axis of the reference time based on the calculated relationship. By correcting as described above, a measurement error in the relative time measurement function may be taken into consideration. In this way, when the processing relative time is corrected, the measurement error of the relative measurement function can be reflected relatively easily.
本発明のログ管理装置において、前記ダミージョブ送信手段は、所定間隔ごとに前記ダミージョブを送信するとしてもよい。こうすれば、画像処理装置において所定の基準時の時刻が変わったりダミージョブに関する過去の情報が消去されたりした場合にも、新たなダミージョブのログを用いて画像処理用ジョブの処理相対時刻を補正することができる。 In the log management apparatus of the present invention, the dummy job transmission unit may transmit the dummy job at predetermined intervals. In this way, even when the predetermined reference time changes in the image processing apparatus or past information related to the dummy job is deleted, the processing time of the image processing job can be set using the new dummy job log. It can be corrected.
本発明のログ管理装置において、前記所定の基準時は、前記画像処理装置の起動時であり、前記ダミージョブ送信手段は、前記画像処理装置が起動されたのちに再起動されたときには該再起動後に前記ダミージョブを少なくとも1回送信するとしてもよい。こうすれば、画像処理装置の再起動によって所定の基準時の時刻が変わった場合にも、画像処理用ジョブの処理相対時刻の補正を正確に行うことができる。 In the log management apparatus according to the present invention, the predetermined reference time is a time when the image processing apparatus is started, and the dummy job transmission unit restarts the image processing apparatus when the image processing apparatus is restarted. The dummy job may be transmitted at least once later. By doing this, it is possible to accurately correct the processing relative time of the image processing job even when the time of the predetermined reference time is changed by restarting the image processing apparatus.
本発明のログ管理装置おいて、前記画像処理装置は、前記画像処理用ジョブ及び前記ダミージョブを受信し該受信した前記画像処理用ジョブ及び前記ダミージョブを該画像処理装置に送信するジョブ管理装置を介在して前記ログ管理装置に接続され、前記ジョブ管理装置の有する時刻計測機能によって特定される相対時刻を時間軸にした相対時刻をログとして前記ログ管理装置に送信するとしてもよい。こうすれば、ジョブ管理装置での時刻を時間軸に用いて表した相対時刻をログ管理装置を時間軸とした時刻に補正することができる。この場合には、ジョブ管理装置での計測誤差を加味した補正を行うことができ、本発明を適用する意義が高い。このとき、前記ジョブ管理装置に前記画像処理用ジョブが蓄積されているか否かを判定するジョブ判定手段、を備え、前記ダミージョブ送信手段は、前記ジョブ判定手段によって前記ジョブ管理装置に前記画像処理用ジョブが蓄積されていないと判定されたときに前記ダミージョブを送信するとしてもよい。こうすれば、ダミージョブが画像処理装置に送信されるまでのジョブ管理装置での待ち時間を考慮する必要がないため、ログ管理装置側の時刻と画像処理装置側の時刻とを正確に関係づけることができ、処理相対時刻をより正確な時刻に補正することができる。 In the log management apparatus of the present invention, the image processing apparatus receives the image processing job and the dummy job, and transmits the received image processing job and the dummy job to the image processing apparatus. The log management device may be connected to the log management device, and a relative time having a relative time specified by the time measurement function of the job management device as a time axis may be transmitted to the log management device as a log. By doing so, it is possible to correct the relative time represented by using the time at the job management apparatus as the time axis to the time using the log management apparatus as the time axis. In this case, it is possible to carry out correction taking account of measurement errors in the job management apparatus, and it is highly significant to apply the present invention. At this time, the job management device includes a job determination unit that determines whether or not the image processing job is stored in the job management device, and the dummy job transmission unit causes the job management device to perform the image processing on the job management device. The dummy job may be transmitted when it is determined that no job is stored. In this way, since it is not necessary to consider the waiting time in the job management apparatus until the dummy job is transmitted to the image processing apparatus, the time on the log management apparatus side and the time on the image processing apparatus side are accurately related. The processing relative time can be corrected to a more accurate time.
本発明のログ管理システムは、上述したログ管理装置と、画像データを含む画像処理用ジョブに基づいて画像処理を実行し少なくとも所定の基準時からの経過時間によって特定される相対時刻を計測可能な相対時刻計測機能を有する画像処理装置と、を備えたものである。本発明のログ管理装置は、ダミージョブを用いることにより、ログ管理装置と画像処理装置との間で時刻同期を行うための特別な手段がなくても画像処理装置で把握した画像処理用ジョブの処理相対時刻をログ管理装置の時間軸に合わせた時刻に置き換えることができ、その結果、画像処理装置から取得したログに含まれる時刻をログ管理装置が有する時刻に合わせることで統一した時間軸でログを管理することができるから、これを備えたログ管理システムも同様の効果を奏するものとなる。 The log management system of the present invention can measure relative time specified by at least an elapsed time from a predetermined reference time by executing image processing based on the log management apparatus described above and an image processing job including image data. And an image processing apparatus having a relative time measurement function. The log management apparatus according to the present invention uses a dummy job, so that the image processing job grasped by the image processing apparatus can be obtained without special means for performing time synchronization between the log management apparatus and the image processing apparatus. The processing relative time can be replaced with a time that matches the time axis of the log management device, and as a result, the time included in the log acquired from the image processing device matches the time that the log management device has, with a unified time axis Since the log can be managed, the log management system including the log also has the same effect.
本発明のログ管理方法は、
基準時刻を計測する基準時刻計測手段を備え、画像処理を伴う画像処理用ジョブに基づいて画像処理を実行し少なくとも所定の基準時からの経過時間によって特定される相対時刻を計測可能な相対時刻計測機能を有する画像処理装置とネットワークを介して接続され該画像処理装置のログを管理するログ管理装置であって、
(a)前記画像処理用ジョブを模した画像処理を伴わないダミージョブを前記画像処理装置に送信するステップと、
(b)前記ステップ(b)で前記ダミージョブを送信したときの基準時刻である送信基準時刻に関する情報を記憶するステップと、
(c)前記画像処理装置が前記ダミージョブを処理したときの相対時刻に関する情報を含む前記ダミージョブのログと前記画像処理用ジョブを処理したときの相対時刻に関する情報を含む前記画像処理用ジョブのログとを取得するステップと、
(d)前記ステップ(b)で記憶した前記送信基準時刻に関する情報と前記ステップ(c)で取得した前記ダミージョブのログとに基づいて前記ステップ(c)で取得した前記画像処理用ジョブを処理したときの相対時刻に関する情報を前記基準時刻の時間軸に合うように補正するステップと、
(e)前記ステップ(d)で補正した情報を前記画像処理装置のログとして記憶するステップと、
を含むものである。
The log management method of the present invention includes:
Relative time measurement that includes a reference time measurement means for measuring a reference time, and that can execute image processing based on an image processing job that accompanies image processing and can measure at least a relative time specified by an elapsed time from a predetermined reference time A log management device connected to an image processing device having a function via a network and managing a log of the image processing device,
(A) transmitting a dummy job without image processing imitating the image processing job to the image processing apparatus;
(B) storing information relating to a transmission reference time, which is a reference time when the dummy job is transmitted in the step (b);
(C) a log of the dummy job including information regarding a relative time when the image processing apparatus processes the dummy job and an image processing job including information regarding a relative time when the image processing job is processed; A step to get logs and
(D) Process the image processing job acquired in step (c) based on the information related to the transmission reference time stored in step (b) and the log of the dummy job acquired in step (c). Correcting the information related to the relative time to match the time axis of the reference time;
(E) storing the information corrected in step (d) as a log of the image processing apparatus;
Is included.
このログ管理方法では、画像処理用ジョブを模したダミージョブを画像処理装置に送信し、この画像処理装置のログとして、画像処理装置がダミージョブを処理したときの相対時刻に関する情報を画像処理装置から取得する。そして、画像処理装置のログとして、画像処理装置が画像処理用ジョブを処理したときの相対時刻に関する情報を取得すると、ダミージョブの送信基準時刻に関する情報とダミージョブのログとに基づいて、画像処理用ジョブを処理したときの相対時刻に関する情報を基準時刻の時間軸に合うように補正する。つまり、ログ管理装置が画像処理装置にダミージョブを送信することにより、ログ管理装置と画像処理装置との間で時刻同期を行うための特別な手段がなくても、ログ管理装置側の時刻と画像処理装置側の時刻とを関係づけ、画像処理装置で把握した画像処理用ジョブの処理相対時刻をログ管理装置の時間軸に合わせた時刻に置き換えることが可能になる。したがって、画像処理装置から取得したログに含まれる時刻をログ管理装置が有する時刻に合わせることで統一した時間軸でログを管理することができる。なお、本発明のログ管理方法に、上述したログ管理装置のいずれかの機能を実現するステップを追加してもよい。 In this log management method, a dummy job imitating an image processing job is transmitted to the image processing apparatus, and information relating to the relative time when the image processing apparatus processes the dummy job is used as a log of the image processing apparatus. Get from. When the information regarding the relative time when the image processing apparatus processes the image processing job is acquired as the log of the image processing apparatus, the image processing is performed based on the information regarding the transmission reference time of the dummy job and the log of the dummy job. The information regarding the relative time when the job for processing is processed is corrected so as to match the time axis of the reference time. That is, the log management device transmits a dummy job to the image processing device, so that there is no special means for performing time synchronization between the log management device and the image processing device. It is possible to relate the time on the image processing apparatus side and replace the relative processing time of the image processing job grasped by the image processing apparatus with a time that matches the time axis of the log management apparatus. Therefore, the log can be managed on a unified time axis by matching the time included in the log acquired from the image processing apparatus with the time of the log management apparatus. Note that a step of realizing any of the functions of the log management apparatus described above may be added to the log management method of the present invention.
本発明のログ管理プログラムは、1又は複数のコンピュータに、上述したログ管理方法の各ステップを実行させるためのプログラムである。このプログラムは、コンピュータが読み取り可能な記録媒体(例えばハードディスク、ROM、FD、CD、DVDなど)に記録されていてもよいし、伝送媒体(インターネットやLANなどの通信網)を介してあるコンピュータから別のコンピュータへ配信されてもよいし、その他どのような形で授受されてもよい。このプログラムを一つのコンピュータに実行させるか又は複数のコンピュータに各ステップを分担して実行させれば、上述したログ管理方法と同様の効果が得られる。 The log management program of the present invention is a program for causing one or a plurality of computers to execute each step of the log management method described above. This program may be recorded on a computer-readable recording medium (for example, hard disk, ROM, FD, CD, DVD, etc.), or from a computer via a transmission medium (communication network such as the Internet or LAN). It may be distributed to another computer, or may be exchanged in any other form. If this program is executed by one computer, or if each step is shared and executed by a plurality of computers, the same effect as the log management method described above can be obtained.
図1は本発明の一実施形態であるログ管理システム10の構成の概略を示す構成図である。本実施形態のログ管理システム10は、図1に示すように、本発明のログ管理装置としての管理サーバ20と、この管理サーバ20とLAN(Local Area Network)12を介して接続されたプリントサーバ30と、プリントサーバ30にローカル接続されたプリンタ40と、管理サーバ20やプリントサーバ30とLAN12を介して接続されたクライアントコンピュータ(以下、クライアントPCという)50とから構成されている。
FIG. 1 is a configuration diagram showing an outline of the configuration of a
管理サーバ20は、各種制御を実行するCPU21と、各種制御プログラムを記憶するROM22と、データを一時記憶するRAM23と、各種アプリケーションプログラムや各種データファイルを記憶する大容量メモリであるHDD24と、外部機器との間で信号の送受信が可能なネットワークインタフェース(I/F)26と、管理サーバ20の基準時刻を計時するRTC25とを備え、これらはバス27を介して電気的に接続され、情報のやり取りが可能になっている。この管理サーバ20は、所定時間(例えば10秒)毎にプリンタ40を監視し、プリンタ40から印刷ジョブの印刷処理内容や印刷処理を行った時刻などの情報を取得してHDD24の所定領域に保存・管理する。この管理サーバ20は、LAN12を介してプリントサーバ30やクライアントPC50とデータを送受信する際には、RAM23の所定領域に設けられた受信バッファ及び送信バッファを利用してデータの送受信を行う。HDD24には、アプリケーションプログラムであるログ管理プログラム24aや、プリンタ40の過去の印刷処理に関する情報であるログ24bなどが記憶されている。RTC25は、水晶発振子からの発信クロックを分周してクロック周波数を生成するものであり、内部システムクロックと異なり、電源が切られている間も図示しないバッテリから電源供給を受けて動作する。
The
プリントサーバ30は、CPU31を中心とするマイクロプロセッサとして構成されており、各種処理プログラムや各種データを記憶するROM32と、一時的にデータを記憶するRAM33と、プリンタ40とデータのやり取りを行うための外部通信I/F34と、ネットワークを介して管理サーバ20と通信可能なネットワークI/F35とを備え、これらはバス36で接続されている。CPU31は内部システムクロック31aを有しており、この内部システムクロック31aは水晶発振子からの発信クロックを分周してクロック周波数を生成する。
The
プリンタ40は、インクジェット方式の印刷機構45を有しており、CPU41を中心とするマイクロプロセッサとして構成されており、各種処理プログラムや各種データを記憶するROM42と、一時的にデータを記憶するRAM43と、プリントサーバ30とデータのやり取りを行うための外部通信I/F44とを備え、これらはバス46で接続されている。CPU41は内部システムクロック41aを有しており、この内部システムクロック41aは水晶発振子からの発信クロックを分周してクロック周波数を生成する。また、ROM42には、アプリケーションプログラムであるジョブ情報管理プログラム42aが記憶されている。このジョブ情報管理プログラム42aが実行されることにより、クライアントPC50から受信した印刷ジョブの印刷処理内容や印刷処理を行った時刻がジョブ情報としてRAM43の所定領域に記憶される。
The
クライアントPC50は、周知の汎用パソコンであり、インストールされたプログラムによりファイルの印刷指令をLAN12を介してプリントサーバ30に送信したり、プリントサーバ30からの応答を受信したりする。クライアントPC50は、各種情報を画面表示するディスプレイ51や、ユーザが各種指令を入力するキーボード等の入力装置52などを備え、ディスプレイ51に表示されたカーソル等をユーザが入力装置52を介して入力することにより、その入力操作に応じた動作を実行する。
The
次に、本実施形態のログ管理システム10を構成するデバイスの動作のうち、まず、管理サーバ20がプリントサーバ30を経由してプリンタ40にダミージョブを送信する動作について説明する。ここで、ダミージョブとは、画像処理用の印刷ジョブの形式を模しているため管理サーバ20からプリントサーバ30を経由してプリンタ40に印刷ジョブとして送信されるものの、印刷枚数がゼロに設定されているために印刷の実行を伴わないジョブをいう。図2は、管理サーバ20のCPU21により実行されるダミージョブ送信ルーチンのフローチャートである。このルーチンは、管理サーバ20が起動されたあと所定タイミングごと(例えば数十secや数minごと)に実行される。
Next, among the operations of the devices constituting the
このルーチンが実行されると、管理サーバ20のCPU21は、プリントサーバ30を介してプリンタ40にダミージョブを送信し(ステップS100)、このときのRTC25の時刻をダミージョブ送信時刻としてダミージョブ送受信テーブルに記憶する(ステップS105)。図3は、ダミージョブ送受信テーブルの一例を示す説明図である。ダミージョブ送受信テーブルとは、ダミージョブを送信した際にRTC25が示すサーバ送信時刻tsdとダミージョブをプリンタ40が受信したときのジョブ受信時刻tpaと印刷ジョブ番号とをテーブルとして表したものであり、RAM23の所定領域に保存されている。ここで、ダミージョブ番号とは、管理サーバ20からダミージョブが送信されるときにCPU21により各ダミージョブに付与されるものである。また、印刷ジョブ番号とは、プリンタ40が印刷ジョブ又はダミージョブをプリントサーバ30から受信したときにプリンタのCPU41によって付される番号である。なお、サーバ送信時刻tsdは、RTC25で計測された時刻であるため、送信時の現在時刻として表される。
When this routine is executed, the
続いて、CPU21は、プリンタ40がダミージョブを受信したジョブ受信時刻tpaと印刷ジョブ番号とを返信するようプリントサーバ30に要求する(ステップS110)。これにより、プリントサーバ30やプリンタ40が起動しているときには、プリントサーバ30がジョブ受信時刻tpaと印刷ジョブ番号とを返信するようプリンタ40に要求し、この要求を受けたプリンタ40がプリントサーバ30にジョブ受信時刻tpaと印刷ジョブ番号とを返信する。そして、ジョブ受信時刻tpaと印刷ジョブ番号とを受信したプリントサーバ30がこれを管理サーバ20に返信する。ここで、ジョブ受信時刻tpaは、内部システムクロック41aで計測された時刻であり、プリンタを起動したときからの経過時間として表される。続いて、所定時間内にプリンタ40からジョブ受信時刻tpaと印刷ジョブ番号とを受信したか否かを判定し(ステップS115)、所定時間内にジョブ受信時刻tpaと印刷ジョブ番号とを受信しなかったときには、プリントサーバ30又はプリンタ40が起動していないと判断し、そのまま本ルーチンを終了する。一方、所定時間内にジョブ受信時刻tpaと印刷ジョブ番号とを受信したときには、そのジョブ受信時刻tpaと印刷ジョブ番号とをダミージョブ送受信テーブルのうちダミージョブ番号に対応したセルに記憶し(ステップS120)、本ルーチンを終了する。本ルーチンを終了した後は、管理サーバ20が電源断になるまでこのルーチンを繰り返し実行する。
Subsequently, the
次に、プリンタ40の印刷処理に関するログの作成及び保存の動作について説明する。図4はログ作成保存ルーチンのフローチャートである。このルーチンは、プリンタ40が起動したあと所定タイミングごと(例えば数msecごと)にプリンタ40のCPU41によって実行される。
Next, a description will be given of operations for creating and storing a log related to the printing process of the
このルーチンが実行されると、CPU21は、プリントサーバ30から印刷ジョブを受信したか否かを判定し(ステップS200)、印刷ジョブを受信していないときにはそのままこのルーチンを終了する。一方、印刷ジョブを受信したときには、その印刷ジョブにつき、印刷ジョブを送信したユーザ名や印刷枚数などといった印刷処理内容やその印刷ジョブの印刷開始時刻をプリンタ用ログテーブルの対応する各セルに保存する(ステップS210)。図5にプリンタ用ログテーブルの一例を示す。プリンタ用ログテーブルとは、プリントサーバ30からプリンタ40に送信された印刷ジョブの印刷処理内容や処理時刻をテーブルとして表したものであり、RAM43の所定領域に保存されている。具体的には、プリンタ用ログテーブルには、図5に示すように、印刷ジョブを受信したときにCPU41により付与される印刷ジョブ番号と、印刷ジョブを受信したときの内部システムクロック41aの時刻であるジョブ受信時間tpaと、印刷処理を開始したときの内部システムクロック41aの時刻である印刷開始時刻tpsと、印刷処理が終了したときの内部システムクロック41aの時刻である印刷終了時刻tpeと、印刷を指示したユーザ名と、印刷枚数との対応関係が表される。このうち、印刷開始時刻tps及び印刷終了時刻tpeは、本実施形態では、プリンタ40の起動時を時刻ゼロとし、内部システムクロック41aで計測された起動時からの経過時間で表される。この印刷開始時刻tps及び印刷終了時刻tpeについては、印刷ジョブがダミージョブである場合には印刷が実行されないため、これらのセルはヌルとなる。なお、ステップS210では、印刷は未だ終了していないため、このときには印刷終了時刻tpeの情報については保存されない。また、印刷を指示したユーザ名については、印刷ジョブには送信元がいずれであるかを示す送信者情報が含まれているものとし、CPU41はこの送信者情報に基づいてユーザ名を判別する。本実施形態では、送信元がクライアントPC50である場合には、各クライアントPC50に割り当てられたIPアドレスが印刷ジョブに含まれるようにしてこのIPアドレスをクライアントPCのユーザ名として利用し、送信元が管理サーバ20の場合には、管理サーバ20が接続されているネットワークインタフェース26のI/F番号が印刷ジョブに含まれるようにしてこのI/F番号を管理サーバ20のユーザ名として利用する。
When this routine is executed, the
続いて、CPU21は、印刷が終了したか否かを判定し(ステップS220)、印刷が終了していないときには印刷が終了するまでそのまま待機する。一方、印刷が終了したときには、内部システムクロック41aの時刻を読み出して印刷終了時刻tpeとし、対応する印刷ジョブ番号の「印刷終了時刻」のセルにその時刻を保存し(ステップS230)、本ルーチンを終了する。
Subsequently, the
次に、管理サーバ20がプリンタ40のRAM43からログを取得して保存する動作について説明する。図6は、管理サーバ20のCPU21により実行されるログ管理ルーチンのフローチャートである。このルーチンは、管理サーバ20が起動されたのち所定タイミングごと(例えば10secごと)に実行される。
Next, an operation in which the
このルーチンが実行されると、CPU21は、まず、誤差係数α及び起動時刻tsoを設定したか否かを判定する(ステップS300)。この誤差係数αについては後述する。そして、誤差係数α及び起動時刻tsoが未だ設定されていないときには、上述のダミージョブ送受信ルーチンの実行により管理サーバ20が起動後にダミージョブを2回送信したか否かを判定する(ステップS305)。ここで、管理サーバ40が起動後にダミージョブを2回送信したか否かは、ダミージョブ送受信テーブルに記憶されたダミージョブ番号に基づいて判定する。そして、管理サーバ20が起動後にダミージョブを未だ2回送信していないときにはそのまま待機し、管理サーバ20が起動後にダミージョブを2回送信しているときには、ダミージョブ送受信テーブルから2つのダミージョブのサーバ送信時刻tsd及びジョブ受信時刻tpaを読み出す(ステップS310)。
When this routine is executed, the
続いて、読み出したそれぞれ2つのサーバ送信時刻tsd及びジョブ受信時刻tpaを用いて、RTC25に対する内部システムクロック41aの計測誤差を補正するための誤差係数αを算出し、算出した誤差係数αを用いて下記の式(1)によりプリンタ40の起動時刻tsoを推定し、誤差係数α及び起動時刻tsoをRAMに記憶する(ステップS315)。ここで、誤差係数αは、2つのダミージョブにおけるサーバ送信時刻tsd1,tsd2の差分をジョブ受信時刻tpd1,tpd2の差分で除することにより算出されたものであり、下記式(2)により表される。つまり、誤差係数αは、ジョブ受信時刻tpd1,tpd2間の時間をサーバ送信時刻tsd1,tsd2間の時間に合わせるための比である。例えば、プリンタ40の内部システムクロック41aの精度が低く時間の誤差が大きいときには時刻のズレも大きくなるため、この時間の誤差による時刻のズレを誤差係数αにより補正するのである。なお、これらの算出式は、HDD24に記憶されている。図7に、サーバ送信時刻tsd1,tsd2と、ジョブ受信時刻tpd1,tpd2と、誤差係数αと、プリンタ起動時間tsoとの関係を示す。
Subsequently, an error coefficient α for correcting the measurement error of the
tso=tsd1-α・tpd1 ・・・(1)
α=(tsd2-tsd1)/(tpd2-tpd1) ・・・(2)
tso = tsd1-α ・ tpd1 (1)
α = (tsd2-tsd1) / (tpd2-tpd1) (2)
さて、ステップS315で誤差係数α及び起動時刻tsoを算出したあと又はステップS300で誤差係数α及び起動時刻tsoが既に設定済みと判定されたときには、CPU21は、プリンタ40のRAM43に保存されたプリンタ用ログテーブルの中から、未だログを受信していない印刷ジョブのうちダミージョブ以外のジョブであって最も小さい印刷ジョブ番号を有するログを返信するようプリントサーバ30に要求し(ステップS320)、このログを受信したか否かを判定し(ステップS325)、ログを受信したときにはそのログに含まれる各情報のうちジョブ受信時刻tpa以外の情報をログ管理テーブルの対応する各セルにそれぞれ保存する(ステップS330)。すなわち、管理サーバ20のCPU21がプリントサーバ30にログを返信するよう要求すると、まず、プリントサーバ30がプリンタ40にログを送信するよう要求する。この要求を受けたプリンタ40がプリンタ用ログテーブルの中に未送信であってユーザ名として管理サーバ20以外のユーザ名が記されたログが記憶されているか否かを調べ、プリンタ用ログテーブルにこのログが記憶されているときには、その中から最も小さい印刷ジョブ番号のログをプリントサーバ30に返信する。そして、ログを受信したプリントサーバ30が管理サーバ20に返信し、これを管理サーバ20が受信してログ管理テーブルの対応する各セルに保存する。
Now, after calculating the error coefficient α and the activation time tso in step S315, or when it is determined in step S300 that the error coefficient α and the activation time tso have already been set, the
ログ管理テーブルについて説明する。図8にログ管理テーブルの一例を示す。ログ管理テーブルとは、プリンタ40で印刷が実行された印刷ジョブの印刷処理内容や処理時刻をテーブルとして表したものであり、HDD24の所定領域に保存されている。具体的には、ログ管理テーブルには、図8に示すように、印刷ジョブ番号と、印刷処理を開始したときの時刻をRTC25の時刻として表した印刷開始ログ時刻tssと、印刷処理が終了したときの時刻をRTC25の時刻として表した印刷終了ログ時刻tseと、印刷を指示したユーザ名と、印刷枚数との対応関係が表される。このうち、印刷開始ログ時刻tss及び印刷終了ログ時刻tseは、ステップS330では、プリントサーバ30から受信したログのうち、印刷開始時刻tps及び印刷終了時刻tpeがそれぞれ保存される。
The log management table will be described. FIG. 8 shows an example of the log management table. The log management table is a table representing the print processing content and processing time of a print job executed by the
印刷ジョブのログを保存すると、CPU21は、プリンタ40の再起動があったか否かを判定する(ステップS335)。プリンタ40の再起動があったか否かは、印刷ジョブのジョブ受信時刻tpaに基づいて判断する。すなわち、今回受信した印刷ジョブの印刷ジョブ番号と今回受信した印刷ジョブよりも値1だけ小さい印刷ジョブ番号を有する印刷ジョブとのジョブ受信時刻tpaをプリンタ用ログテーブルから読み出して比較し、今回受信した印刷ジョブのジョブ受信時刻tpaの方が小さい場合にはプリンタ40の再起動があったと判定する。そして、プリンタ40の再起動があったときには、今回受信した印刷ジョブのジョブ番号よりも大きい印刷ジョブ番号を有するダミージョブがあるか否かを判定する(ステップS340)。今回受信した印刷ジョブの印刷ジョブ番号よりも大きい印刷ジョブ番号を有するダミージョブがあるか否かは、ダミージョブ送受信テーブルの印刷ジョブ番号によって判断する。そして、今回受信した印刷ジョブの印刷ジョブ番号よりも大きい印刷ジョブ番号を有するダミージョブがダミージョブ送受信テーブルにないときには、ダミージョブ送受信テーブルに保存されるまでそのまま待機する。一方、今回受信した印刷ジョブのジョブ番号よりも大きい印刷ジョブ番号を有するダミージョブがあるときには、そのダミージョブのログをダミージョブ送受信テーブルから読み出し(ステップS345)、プリンタ起動時刻tsoを再設定する(ステップS350)。具体的には、ステップS315で算出した誤差係数αと、ステップS345で読み出したサーバ送信時刻tsd及びジョブ受信時刻tpaと、上記式(1)とを用いてプリンタ起動時刻tsoを再計算する。これにより、プリンタを再起動したときの時刻がRTC25の時刻として算出される。
After saving the print job log, the
ステップS335でプリンタ40の再起動がないと判定されたとき又はステップS350でプリンタ40の起動時刻tsoを再設定した後は、CPU21は、ステップS330で保存したログのうち、印刷開始ログ時刻tssのセルに保存した印刷開始時刻tpsと印刷終了ログ時刻tseのセルに保存した印刷終了時刻tpeとをHDD24から読み出し、これらの時刻を管理サーバ20のRTC25で計測される時刻に相当する時刻にそれぞれ補正する(ステップS355)。つまり、印刷開始時刻tpsを印刷開始ログ時刻tssに変換し、印刷終了時刻tpeを印刷終了ログ時刻tseに変換する。この印刷開始時刻tpsから印刷開始ログ時刻tssへの変換及び印刷終了時刻tpeから印刷終了ログ時刻tseへの変換は、プリンタ起動時刻tsoと誤差係数αとを用いてそれぞれ下記式(3)及び式(4)により行う。
When it is determined in step S335 that the
tss=tso+α・tps ・・・(3)
tse=tso+α・tpe ・・・(4)
tss = tso + α ・ tps (3)
tse = tso + α ・ tpe (4)
印刷開始ログ時刻tss及び印刷終了ログ時刻tseを算出すると、CPU21は、ログ管理テーブルのうち、対応する印刷ジョブ番号の印刷開始ログ時刻及び印刷終了ログ時刻として保存されている時刻を算出した時刻に更新し(ステップS360)、本ルーチンを終了する。これにより、HDD24のログ管理テーブルに含まれる印刷処理の時刻は、管理サーバ20のRTC25の時刻に合うように統一されて管理される。なお、本ルーチンを終了した後は、管理サーバ20が電源断になるまでこのルーチンを繰り返し実行する。
When the print start log time tss and the print end log time tse are calculated, the
ここで、プリンタ40の内部システムクロック41aで計測された時刻を管理サーバ20のRTC25で計測された時刻になるよう補正する動作について、図3,図5,図7及び図8を用いて具体的に説明する。まず、CPU21は、ダミージョブ送受信テーブル(図3参照)に記憶されたダミージョブのうちダミージョブ番号が値1のログの内容に含まれる時刻情報(サーバ送信時刻tsd1:9時00分00秒、ジョブ受信時刻tpa1:01分00秒)とダミージョブ番号が値2のログの内容に含まれる時刻情報(サーバ送信時刻tsd2:9時05分00秒、ジョブ受信時刻tpa2:05分30秒)とをすべて読み出す。続いて、サーバ送信時刻tsd2(9時05分00秒)とサーバ送信時刻tsd1(9時00分00秒)との差分(5分00秒)と、ジョブ受信時刻tpd2(05分30秒)とジョブ受信時刻tpd1(01分00秒)との差分(4分30秒)とを算出し、両者の差分比としての誤差係数α(5分00秒/4分30秒)を求める。次に、誤差係数αにジョブ受信時刻tpd1(01分00秒)を乗じ、この値をサーバ送信時刻tsd1(9時00分00秒)から減ずることによりプリンタ起動時刻tso(8時58分53秒)を算出する。今、印刷ジョブ番号が値3の印刷ジョブの印刷開始ログ時間tssを求めるとする(図5及び図8参照)。この印刷ジョブは、プリンタ40から受信したログの内容に含まれる印刷開始時刻tpsが10分00秒である(図5及び図8参照)。この時刻をRTC25の時間軸に合うように補正するには、上記式(3)を用いることにより行う。つまり、誤差係数αに印刷開始時刻tps(10分00秒)を乗じ、この値をプリンタ起動時刻tso(8時58分53秒)に足すことにより印刷開始ログ時刻(9時9分59秒)を算出する。なお、印刷終了ログ時間tseについても同様にして算出することができる。
Here, the operation for correcting the time measured by the
次に、管理サーバ20によるプリンタ40の監視が継続している最中にプリンタ40が再起動された場合を考える。例えば、印刷ジョブ番号6の印刷ジョブがプリンタ40に送信される前にプリンタ40の再起動があったとする。この場合、先に求めた誤差係数αと印刷ジョブ番号6の後にプリンタ40に送信されたダミージョブ(ここではダミージョブ番号が値5のもの)とを用いて、上記式(1)によりプリンタ起動時間tsoを再設定する。つまり、誤差係数αにジョブ受信時刻tpd(03分00秒)を乗じ、この値をサーバ送信時刻tsd(9時20分00秒)から減ずることによりプリンタ起動時刻tso(9時16分42秒)を算出する。そして、印刷ジョブ番号6の印刷開始時刻tps(01分00秒)に誤差係数αを乗じ、この値をプリンタ起動時刻tso(9時16分42秒)に足すことにより印刷開始ログ時刻(9時17分48秒)を算出する。
Next, consider a case where the
ここで、本実施形態の構成要素と本発明の構成要素との対応関係を明らかにする。本実施形態のプリンタ40が本発明の画像処理装置に相当し、プリンタ40の内部システムクロック41aが相対時刻計測機能に相当し、管理サーバ20がログ管理装置に相当する。また、RTC25が基準時刻計測手段に相当し、管理サーバ20のCPU21がダミージョブ送信手段、ログ取得手段及び時刻補正手段に相当し、RAM23が送信時間記憶手段に相当する。また、HDD24がログ記憶手段に相当し、プリントサーバ30がジョブ管理装置に相当する。なお、本実施形態では、管理サーバ20及びプリンタ40の動作を説明すると同時に、本発明のログ管理方法やそのプログラムについても併せて説明した。
Here, the correspondence between the components of the present embodiment and the components of the present invention will be clarified. The
以上詳述した本実施形態のログ管理システム10によれば、管理サーバ20からプリンタ40にダミージョブを送信した後にこのダミージョブのログをプリンタ40から取得することにより管理サーバ20のRTC25の時刻とプリンタ40の内部システムクロック41aの時刻とを関係づける。このように、管理サーバ20からプリンタ40にダミージョブを送信することにより、管理サーバ20とプリンタ40との間で特別に時刻同期を行わなくても、プリンタ40で計測された印刷開始時刻tpsと印刷終了時刻tpeを管理サーバ20の時間軸に合わせた時刻に補正することができる。したがって、プリンタ40から取得したログに含まれる時刻を管理サーバ20のRTC25を時間軸として統一して管理することができる。
According to the
また、ダミージョブは印刷枚数がゼロに設定されているため、本来行うべき印刷を妨げることがないし、印刷用紙や着色剤(インクやトナーなど)を無駄にしない。また、プリンタ40がダミージョブを受信した時刻を用いて印刷開始時刻tpsや印刷終了時刻tpeの補正を行うため、より正確に補正を行うことができる。
In addition, since the number of printed sheets of the dummy job is set to zero, printing that should be performed is not hindered, and printing paper and colorant (ink, toner, etc.) are not wasted. Further, since the print start time tps and the print end time tpe are corrected using the time when the
更に、誤差係数αを用いて印刷開始時刻tpsや印刷終了時刻tpeの補正を行うため、プリンタ40の内部システムクロック41aの精度が低いときにも、より正確な時刻をログとして管理することができる。また、誤差係数αは、2つのダミージョブから算出するため、比較的容易に算出することができる。
Furthermore, since the printing start time tps and the printing end time tpe are corrected using the error coefficient α, more accurate time can be managed as a log even when the accuracy of the
更にまた、所定間隔ごとにダミージョブを送信するため、プリンタ40の再起動によってプリンタ40の内部システムクロック41aの基準が変わったときにも新たなダミージョブのログを用いて印刷開始時刻tpsや印刷終了時刻tpeの補正を正確に行うことができる。
Furthermore, since a dummy job is transmitted at predetermined intervals, even when the standard of the
なお、本発明は上述した実施形態に何ら限定されることはなく、本発明の技術的範囲に属する限り種々の態様で実施し得ることはいうまでもない。 It should be noted that the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modes as long as it belongs to the technical scope of the present invention.
例えば、上述した実施形態では、内部システムクロック41aでの計測誤差つまり誤差係数αを考慮して印刷開始時刻tpsや印刷終了時刻tpeの補正を行ったが、誤差係数αを考慮しないで補正を行うとしてもよい。つまり、図6の代わりに図9のログ管理ルーチンを実行するとしてもよい。図9において、図6と同じ処理については図6と同じステップ番号を付してその説明を省略する。図9のルーチンが開始されると、CPU21は、まず、ステップS320〜S330の処理を実行したあと、RAM23のダミージョブ送受信テーブルからダミージョブ番号が最も大きいダミージョブのログを読み出す(ステップS410)。続いて、このダミージョブのログを用いて、ステップS330で受信したログのうち印刷開始時刻tps及び印刷終了時刻tpeの補正を行う(ステップS420)。この補正は、図10に示すように、印刷開始時刻tps又は印刷終了時刻tpeとダミージョブのジョブ受信時刻tpaとの差分を求め、ダミージョブのサーバ送信時刻tsdにこの差分を足した時刻を印刷開始ログ時刻tss又は印刷終了ログ時刻tseとすることにより行う。ここで、印刷ジョブ番号3(図5参照)とダミージョブ番号2(図3参照)とを用いて印刷ジョブ番号3の印刷開始時刻tpsを補正する動作について具体的に説明する。印刷ジョブ番号3の印刷開始時刻tps(10分00秒)を印刷開始ログ時刻tssに補正するには、まず、印刷ジョブ番号3の印刷開始時刻tps(10分00秒)からダミージョブ番号2のジョブ受信時刻tpa(05分30秒)の差分を求める。続いて、この差分(4分30秒)をサーバ送信時刻tsd(9時05分)に足す。このようにして求めた時刻つまり9時9分35秒が印刷開始ログ時刻tssになる。なお、印刷終了ジョブ時刻tseについても同様にして求めることができる。さて、ステップS420で印刷開始時刻tps及び印刷終了時刻tpeの補正を行うと、印刷開始時刻tps及び印刷終了時刻tpeを補正後の値に更新し(ステップS360)、本ルーチンを終了する。この場合にも、プリンタ40から取得したログに含まれる時刻を管理サーバ20のRTC25に合わせることで、統一した時間軸でログを管理することができる。このとき、管理サーバ20からプリンタ40へダミージョブを送信する頻度を上げることが好ましい。こうすれば、誤差係数αを算出しなくてもログ時刻の正確性を確保することができる。
For example, in the embodiment described above, the print start time tps and the print end time tpe are corrected in consideration of the measurement error in the
上述した実施形態において、誤差係数αを算出する際、管理サーバ20のHDD24に記憶されたログ管理テーブルの中から読み出したログと1回のダミージョブのログとを用いて算出するとしてもよい。すなわち、ログ管理テーブルとして印刷ジョブの印刷開始時刻tpsを記憶しておくセルを設け、この印刷ジョブの印刷開始時刻tps,印刷開始ジョブ時刻tss及びダミージョブのジョブ受信時刻tpa,サーバ送信時刻tsdから誤差係数αを算出してもよい。具体的には、印刷開始ジョブ時刻tssとサーバ送信時刻tsdとの差分を印刷開始時刻tpsとジョブ受信時刻tpaとの差分で除した値を誤差係数αとする。
In the embodiment described above, when calculating the error coefficient α, the error coefficient α may be calculated using a log read from the log management table stored in the
上述した実施形態では、プリンタ起動時刻tsoを算出してプリンタ起動時刻tsoからの経過時間によってプリンタ40の処理時刻を求めたが、ダミージョブを送信した時刻であるサーバ送信時刻tsdからの時間によってプリンタ40の処理時刻を求めるとしてもよい。具体的には、ダミージョブのジョブ受信時刻tpaとプリンタ40の処理時刻tps,tpeとの差分に誤差係数αを乗じ、この値にサーバ送信時刻tsdを足すことによってプリンタ40の処理時刻を算出するとしてもよい。
In the above-described embodiment, the printer activation time tso is calculated and the processing time of the
上述した実施形態では、プリンタ40と管理サーバ20とがプリントサーバ30を介して接続される構成としたが、プリンタ40と管理サーバ20とが直接接続される構成をしていてもよい。この場合にも、上述した実施形態と同様の効果が得られる。なお、プリントサーバ30を介してプリンタ40と管理サーバ20とが接続される構成においては、プリントサーバ30の有する内部システムクロック31aを時間軸としてプリンタ40がログを作成する場合がある。この場合に本発明を適用することにより、プリンタ40の内部システムクロック41aでの計測誤差だけでなく、プリントサーバ30の有する内部システムクロック31aでの計測誤差を加味した補正を行うことができる。したがって、プリントサーバ30を介して接続される構成であってプリントサーバ30の有する内部システムクロック31aを時間軸としてプリンタ40がログを作成する場合には、本発明を適用する意義が高い。
In the above-described embodiment, the
上述した実施形態において、管理サーバ20はプリントサーバ30に印刷ジョブが蓄積されていないときにダミージョブを送信するとしてもよい。こうすれば、ダミージョブがプリントサーバ30からプリンタ40に送信されるまでの待ち時間がないため、サーバ送信時刻tsdとジョブ受信時刻tpaとをより正確に関係づけることができる。したがって、プリンタ40での処理時刻をより正確に補正することができる。
In the embodiment described above, the
上述した実施形態では、画像処理装置としてプリンタ40を用いたが、ダミージョブを受信可能な画像処理装置であればこれに限定されるものではなく、例えばファクシミリ装置やコピー機、複合機などのような電子機器に本発明を適用してもよい。
In the above-described embodiment, the
10 ログ管理システム、20 管理サーバ、21 CPU、22 ROM、23 RAM、24 HDD、24a ログ管理プログラム、24b ログ、25 RTC、26 ネットワークインタフェース、27 バス、30 プリントサーバ、31 CPU、31a 内部システムクロック、32 ROM、33 RAM、34 外部通信インタフェース、35 ネットワークインタフェース、36 バス、40 プリンタ、41 CPU、41a 内部システムクロック、42 ROM、42a ジョブ情報管理プログラム、43 RAM、44 外部通信インタフェース、45 印刷機構、46 バス、50 クライアントPC、51 ディスプレイ、52 入力装置。
10 log management system, 20 management server, 21 CPU, 22 ROM, 23 RAM, 24 HDD, 24a log management program, 24b log, 25 RTC, 26 network interface, 27 bus, 30 print server, 31 CPU, 31a
Claims (12)
基準時刻を計測する基準時刻計測手段と、
前記画像処理用ジョブを模したダミージョブを前記画像処理装置に送信するダミージョブ送信手段と、
前記ダミージョブ送信手段から前記ダミージョブを送信したときの基準時刻である送信基準時刻に関する情報を記憶する送信時刻記憶手段と、
前記画像処理装置が前記ダミージョブを処理したときの相対時刻に関する情報を含む前記ダミージョブのログと前記画像処理用ジョブを処理したときの相対時刻に関する情報を含む前記画像処理用ジョブのログとを取得するログ取得手段と、
前記送信基準時刻に関する情報と前記ダミージョブのログとに基づいて前記画像処理用ジョブのログのうち相対時刻に関する情報を前記基準時刻の時間軸に合うように補正する時刻補正手段と、
前記時刻補正手段によって補正された情報を前記画像処理装置のログとして記憶するログ記憶手段と、
を備えたログ管理装置。 Connected via an image processing device with a relative time measurement function capable of measuring image processing based on an image processing job involving image processing and measuring at least the relative time specified by the elapsed time from a predetermined reference time A log management device for managing a log of the image processing device,
A reference time measuring means for measuring the reference time;
Dummy job transmitting means for transmitting a dummy job imitating the image processing job to the image processing apparatus;
A transmission time storage means for storing information relating to a transmission reference time that is a reference time when the dummy job is transmitted from the dummy job transmission means;
A log of the dummy job including information on relative time when the image processing apparatus processes the dummy job, and a log of the image processing job including information on relative time when the image processing job is processed. Log acquisition means to acquire;
Time correction means for correcting the information on the relative time in the log of the image processing job based on the information on the transmission reference time and the log of the dummy job so as to match the time axis of the reference time;
Log storage means for storing information corrected by the time correction means as a log of the image processing device;
Log management device with
前記ログ取得手段は、前記画像処理装置が前記ダミージョブを処理したときの相対時刻に関する情報として、前記画像処理装置が前記ダミージョブを受信したときの相対時刻に関する情報を取得する、
請求項1に記載のログ管理装置。 The dummy job does not involve image processing,
The log acquisition unit acquires information on a relative time when the image processing apparatus receives the dummy job as information on a relative time when the image processing apparatus processes the dummy job.
The log management apparatus according to claim 1.
前記時刻補正手段は、前記ダミージョブ送信手段により送信された1回のダミージョブにつき、前記相対時刻計測機能により計測された相対時刻と前記基準時刻計測手段により計測される基準時刻との関係に基づいて前記画像処理用ジョブのログのうち相対時刻に関する情報を前記基準時刻の時間軸に合うように補正する、
請求項1又は2に記載のログ管理装置。 The dummy job transmission means transmits the dummy job once,
The time correction means is based on the relationship between the relative time measured by the relative time measurement function and the reference time measured by the reference time measurement means for one dummy job transmitted by the dummy job transmission means. Correct the information related to the relative time in the log of the image processing job so that it matches the time axis of the reference time,
The log management apparatus according to claim 1 or 2.
請求項1〜3のいずれかに記載のログ管理装置。 The time correction means corrects the information related to the relative time in the log of the image processing job so as to match the time axis of the reference time in consideration of the measurement error in the relative time measurement function;
The log management apparatus according to claim 1.
前記時刻補正手段は、前記ダミージョブ送信手段により送信された2回のダミージョブにつき、前記相対時刻計測機能により計測された相対時刻と前記基準時刻計測手段により計測される基準時刻との関係を算出し、該算出した関係に基づいて前記画像処理用ジョブのログのうち相対時刻に関する情報を前記基準時刻の時間軸に合うように補正することにより前記相対時刻計測機能での計測誤差を考慮する、
請求項4に記載のログ管理装置。 The dummy job transmission means transmits the dummy job twice,
The time correction means calculates the relationship between the relative time measured by the relative time measurement function and the reference time measured by the reference time measurement means for the two dummy jobs transmitted by the dummy job transmission means. And taking into account the measurement error in the relative time measurement function by correcting the information related to the relative time in the log of the image processing job based on the calculated relationship so as to match the time axis of the reference time.
The log management apparatus according to claim 4.
請求項1〜5のいずれかに記載のログ管理装置。 The dummy job transmission means transmits the dummy job at predetermined intervals.
The log management apparatus according to claim 1.
前記ダミージョブ送信手段は、前記画像処理装置が起動されたのちに再起動されたときには該再起動後に前記ダミージョブを少なくとも1回送信する、
請求項1〜6のいずれかに記載のログ管理装置。 The predetermined reference time is when the image processing apparatus is activated,
The dummy job transmission means transmits the dummy job at least once after the restart when the image processing apparatus is restarted after being started.
The log management apparatus according to claim 1.
請求項1〜7のいずれかに記載のログ管理装置。 The image processing apparatus receives the image processing job and the dummy job, and sends the received image processing job and the dummy job to the log management apparatus via a job management apparatus that transmits the image processing job and the dummy job to the image processing apparatus. Connected to the log management device as a log relative time with the relative time specified by the time measurement function of the job management device as a time axis,
The log management apparatus according to claim 1.
前記ジョブ管理装置に前記画像処理用ジョブが蓄積されているか否かを判定するジョブ判定手段、
を備え、
前記ダミージョブ送信手段は、前記ジョブ判定手段によって前記ジョブ管理装置に前記画像処理用ジョブが蓄積されていないと判定されたときに前記ダミージョブを送信する、
ログ管理装置。 The log management device according to claim 8,
Job determination means for determining whether or not the image processing job is stored in the job management apparatus;
With
The dummy job transmission unit transmits the dummy job when the job determination unit determines that the image processing job is not stored in the job management apparatus;
Log management device.
画像データを含む画像処理用ジョブに基づいて画像処理を実行し少なくとも所定の基準時からの経過時間によって特定される相対時刻を計測可能な相対時刻計測機能を有する画像処理装置と、
を備えたログ管理システム。 A log management device according to claim 1;
An image processing apparatus having a relative time measurement function capable of performing image processing based on an image processing job including image data and measuring a relative time specified by at least an elapsed time from a predetermined reference time;
Log management system with
(a)前記画像処理用ジョブを模した画像処理を伴わないダミージョブを前記画像処理装置に送信するステップと、
(b)前記ステップ(b)で前記ダミージョブを送信したときの基準時刻である送信基準時刻に関する情報を記憶するステップと、
(c)前記画像処理装置が前記ダミージョブを処理したときの相対時刻に関する情報を含む前記ダミージョブのログと前記画像処理用ジョブを処理したときの相対時刻に関する情報を含む前記画像処理用ジョブのログとを取得するステップと、
(d)前記ステップ(b)で記憶した前記送信基準時刻に関する情報と前記ステップ(c)で取得した前記ダミージョブのログとに基づいて前記ステップ(c)で取得した前記画像処理用ジョブを処理したときの相対時刻に関する情報を前記基準時刻の時間軸に合うように補正するステップと、
(e)前記ステップ(d)で補正した情報を前記画像処理装置のログとして記憶するステップと、
を含むログ管理方法。 Relative time measurement that includes a reference time measurement means for measuring a reference time, and that can execute image processing based on an image processing job that accompanies image processing and can measure at least a relative time specified by an elapsed time from a predetermined reference time A log management method for managing a log of an image processing apparatus connected to an image processing apparatus having a function via a network,
(A) transmitting a dummy job without image processing imitating the image processing job to the image processing apparatus;
(B) storing information relating to a transmission reference time, which is a reference time when the dummy job is transmitted in the step (b);
(C) a log of the dummy job including information regarding a relative time when the image processing apparatus processes the dummy job and an image processing job including information regarding a relative time when the image processing job is processed; A step to get logs and
(D) Process the image processing job acquired in step (c) based on the information related to the transmission reference time stored in step (b) and the log of the dummy job acquired in step (c). Correcting the information related to the relative time to match the time axis of the reference time;
(E) storing the information corrected in step (d) as a log of the image processing apparatus;
Log management method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006101314A JP4692359B2 (en) | 2006-04-03 | 2006-04-03 | Log management device, log management system, log management method and program thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006101314A JP4692359B2 (en) | 2006-04-03 | 2006-04-03 | Log management device, log management system, log management method and program thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2007279781A JP2007279781A (en) | 2007-10-25 |
JP4692359B2 true JP4692359B2 (en) | 2011-06-01 |
Family
ID=38681199
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2006101314A Expired - Fee Related JP4692359B2 (en) | 2006-04-03 | 2006-04-03 | Log management device, log management system, log management method and program thereof |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4692359B2 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5676950B2 (en) * | 2009-08-20 | 2015-02-25 | キヤノン株式会社 | Image forming apparatus |
JP7188145B2 (en) * | 2019-01-31 | 2022-12-13 | ブラザー工業株式会社 | Time adjustment device, printing device, time adjustment method, and time adjustment program |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000242618A (en) * | 1999-02-18 | 2000-09-08 | Nec Corp | Network system and time synchronization method therefor |
JP2000285038A (en) * | 1999-03-30 | 2000-10-13 | Hitachi Software Eng Co Ltd | Method for setting time |
JP2005327053A (en) * | 2004-05-13 | 2005-11-24 | Ricoh Co Ltd | Log information management device, log information generation device, log information management program and recording medium |
JP2006195538A (en) * | 2005-01-11 | 2006-07-27 | Konica Minolta Business Technologies Inc | Information processing apparatus, time information correcting method, time information correcting program, and recording medium with the program recorded thereon |
JP2006344020A (en) * | 2005-06-09 | 2006-12-21 | Seiko Epson Corp | Log information management device, log information management system, log information management method, log information production management method and program |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2658962B2 (en) * | 1995-03-15 | 1997-09-30 | 日本電気株式会社 | Network time information synchronization method |
-
2006
- 2006-04-03 JP JP2006101314A patent/JP4692359B2/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2000242618A (en) * | 1999-02-18 | 2000-09-08 | Nec Corp | Network system and time synchronization method therefor |
JP2000285038A (en) * | 1999-03-30 | 2000-10-13 | Hitachi Software Eng Co Ltd | Method for setting time |
JP2005327053A (en) * | 2004-05-13 | 2005-11-24 | Ricoh Co Ltd | Log information management device, log information generation device, log information management program and recording medium |
JP2006195538A (en) * | 2005-01-11 | 2006-07-27 | Konica Minolta Business Technologies Inc | Information processing apparatus, time information correcting method, time information correcting program, and recording medium with the program recorded thereon |
JP2006344020A (en) * | 2005-06-09 | 2006-12-21 | Seiko Epson Corp | Log information management device, log information management system, log information management method, log information production management method and program |
Also Published As
Publication number | Publication date |
---|---|
JP2007279781A (en) | 2007-10-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6355330B2 (en) | Network device, network device control method and program thereof | |
JP2000148434A (en) | Print system | |
JP2023168372A (en) | application program | |
JP5699731B2 (en) | Image processing apparatus and program | |
JP4420053B2 (en) | Information management apparatus, information management method and program thereof | |
JP2006344020A (en) | Log information management device, log information management system, log information management method, log information production management method and program | |
JP4692359B2 (en) | Log management device, log management system, log management method and program thereof | |
US20060007487A1 (en) | Printer, control method, program and recording medium | |
JP5979944B2 (en) | Printing system, printing apparatus used in printing system, printing method, and program | |
JP2005327053A (en) | Log information management device, log information generation device, log information management program and recording medium | |
JP3933018B2 (en) | Printer and information processing apparatus | |
JP2007048303A (en) | Printer, printing system and program | |
JP2000215019A (en) | Device and method for image formation | |
JP2010140286A (en) | Information processing apparatus, printing system and program | |
JP2007278873A (en) | Time synchronizer, time synchronization method, and program thereof | |
JP2006227731A (en) | Data output system and connection method | |
JP2010039879A (en) | Power management system and program | |
JP6605077B2 (en) | Information processing apparatus, information processing apparatus control method, and program thereof | |
US20200341710A1 (en) | Job transmission device, job processing device, program, and job transmission method performed by job transmission device | |
JP2009076003A (en) | Printing system, printer and printer monitoring program | |
US8860985B2 (en) | Image forming apparatus for reducing power consumption using a commonly accessible shared memory | |
JP4071587B2 (en) | Peripheral equipment management system | |
JP2007245634A (en) | Image forming device | |
JP2002304268A (en) | Printing system, printer, and print control device | |
JP5088399B2 (en) | Printing system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20090327 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20110113 |
|
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: 20110125 |
|
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: 20110207 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20140304 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 4692359 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
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 |