[go: up one dir, main page]

JP2004303095A - Peripheral equipment - Google Patents

Peripheral equipment Download PDF

Info

Publication number
JP2004303095A
JP2004303095A JP2003097445A JP2003097445A JP2004303095A JP 2004303095 A JP2004303095 A JP 2004303095A JP 2003097445 A JP2003097445 A JP 2003097445A JP 2003097445 A JP2003097445 A JP 2003097445A JP 2004303095 A JP2004303095 A JP 2004303095A
Authority
JP
Japan
Prior art keywords
time
date
time information
information
printing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2003097445A
Other languages
Japanese (ja)
Inventor
Hiromasa Uehara
啓方 植原
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.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP2003097445A priority Critical patent/JP2004303095A/en
Publication of JP2004303095A publication Critical patent/JP2004303095A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

【課題】本発明は、外部装置からの日付時刻情報に基づいて実時刻を生成する周辺機器装置に関し、カレンダ機能を有する時計ICを内蔵しない周辺機器装置が、外部装置から取得した日時情報に基づいて、日時情報の取得以前である電源投入起動時まで遡って実時刻を生成することを目的とする。
【解決手段】時計5−1〜5−nを内蔵するコンピュータ2−1〜2−nと、時計を内蔵しない印刷装置3とがネットワーク4を介して接続され、コンピュータ2−1〜2−nの少なくとも1つは印刷装置3からの日時情報要求に応じて日時情報を送出する日時情報送出手段6を備える日時基準のコンピュータ2−1である。印刷装置3は、日時基準のコンピュータ2−1に日時情報を要求して取得する日時情報取得手段7と、電源投入起動から経過時間を計測する経過時間計測手段8と、取得した日時情報の実時刻を基準として前記経過時間を実時刻に換算する時刻換算手段9とを備える構成とする。
【選択図】 図1
The present invention relates to a peripheral device that generates an actual time based on date and time information from an external device, and a peripheral device without a built-in clock IC having a calendar function, based on date and time information acquired from the external device. It is another object of the present invention to generate the real time retroactively to the time of power-on activation before acquisition of the date and time information.
Computers having built-in clocks 5-1 to 5-n and a printing device 3 having no built-in clock are connected via a network 4, and computers 2-1 to 2-n are provided. At least one of the computers is a date / time reference computer 2-1 including date / time information sending means 6 for sending date / time information in response to a date / time information request from the printing apparatus 3. The printing apparatus 3 includes a date and time information acquisition unit 7 that requests and acquires date and time information from the date and time reference computer 2-1, an elapsed time measurement unit 8 that measures elapsed time from power-on startup, and an actual time and date of the acquired date and time information. Time conversion means 9 for converting the elapsed time into actual time on the basis of time is provided.
[Selection diagram] Fig. 1

Description

【0001】
【発明の属する技術分野】
本発明は、外部装置からの日付時刻情報に基づいて実時刻を生成する周辺機器装置に関し、特に、カレンダ機能を有する時計を内蔵しない周辺機器装置において、前記時計を内蔵する外部装置から取得した日付時刻情報を利用して周辺機器装置で使用される実時刻を生成する周辺機器装置に関するものである。
【0002】
【従来の技術】
カレンダ機能を有する時計ICが高価なことから、コストアップを避けるために、前記時計ICを内蔵しない周辺機器装置(ここでは以降、印刷装置として説明する)がある。そのような印刷装置は、印刷装置内での発生イベント(印刷関連情報受信、印刷実行、各種エラー発生など)の印刷ログ情報のために日付や時刻を含む日付時刻情報(以降、日時情報と称す)を必要とする場合、印刷装置にネットワークなどを介して接続されている前記時計ICを内蔵する外部装置(ここでは以降、コンピュータとして説明する)から少なくとも一度、日時情報を取得し、取得した日時情報を利用して実時刻(日付や時刻を含む日付時刻)を生成している。
【0003】
従来の技術では、印刷を要求するコンピュータが日時情報を印刷ジョブに付加して印刷装置へ送信し、印刷装置は前記コンピュータから受信した日時情報付き印刷ジョブから日時情報を抽出して実時刻とし、受信した印刷ジョブの印刷ログデータに前記抽出した実時刻を含めている(例えば、特許文献1参照)。
また、その他の従来の技術では、印刷装置は、印刷装置が電源投入された際にコンピュータへ日時情報を要求し、その応答であるコンピュータからの日時情報を取得した時点で印刷装置内に備えるカウンタを起動して前記カウンタで起動以降の経過時間を計測し、前記取得した日時情報を基準として、前記カウンタによる経過時間に基づき実時刻を生成している(例えば、特許文献2および特許文献3参照)。
【0004】
前記その他の従来の技術では更に、印刷装置は、コンピュータからの印刷指示の受信の際に既に日時情報を取得しているか否かを判定し、取得していない場合にはコンピュータへ改めて日時情報を要求して日時情報を取得している(例えば、特許文献2参照)。また、印刷装置は、印刷装置の電源投入起動後に定期的あるいは不定期にコンピュータへ日時情報を要求して日時情報を取得し直し、取得のたびに前記カウンタをクリヤして経過時間を再計測することで、前記カウンタとコンピュータ側の時計との精度差による累積時間差を最小限に抑えている(例えば、特許文献3参照)。
【0005】
【特許文献1】
特開2001−325083(段落番号0033〜0034、第4図)
【0006】
【特許文献2】
特開平10−86487(請求項3および6、段落番号0058〜0060、0078、0082、0083、第4図、第7図)
【0007】
【特許文献3】
特開2001−175354(段落番号0011、0029、第2図)
【0008】
【発明が解決しようとする課題】
したがって、従来のような、印刷装置がコンピュータからの日時情報付き印刷ジョブから日時情報を抽出して実時刻を求める方法では、印刷要求する全てのコンピュータに対して、日時情報付き印刷ジョブが発行できる機能を付加(例えば、専用プリンタドライバ・ソフトのインストール)しなければならない手間を生じる問題がある。
【0009】
また、印刷装置の電源投入起動時、または定期的あるいは不定期にコンピュータへ日時情報を要求し、コンピュータからの日時情報の取得にて起動されるカウンタによる経過時間と、取得した日時情報とで実時刻を生成する方法では、例えば、印刷装置の電源投入起動時に、日時情報要求に応答すべきコンピュータが応答不可能(電源未投入や電源投入起動中など)な状態になっている場合、前記コンピュータから日時情報を取得する以前に印刷装置内で生じた前記発生イベントの印刷ログ情報には時刻表示ができないという問題がある。
【0010】
そこで本発明は、カレンダ機能を有する時計ICを内蔵しない周辺機器装置において、外部装置からの日時情報に基づいて、日時情報の取得以前である周辺機器装置の電源投入起動時まで遡って実時刻を生成できる周辺機器装置を提供することを第1の目的としている。
本発明は更に、日時情報を周辺機器装置へ提供する機能を外部装置に付加する手間を低減させることを第2の目的としている。
【0011】
【課題を解決するための手段】
説明の都合上、前記請求項で記載した外部装置はコンピュータで、また、周辺機器装置(印刷装置、イメージスキャナ装置、外部記憶装置など)は印刷装置で説明する。図1は、本発明に係る印刷装置を備える印刷システムの原理構成図である。以下、図1を参照して説明する。
【0012】
第1の発明は、カレンダ機能を有する時計5−1〜5−nを内蔵する1以上のコンピュータ2−1〜2−nと、前記時計を内蔵しない印刷装置3とが例えばネットワーク4を介して接続されて、前記コンピュータ2−1〜2−nからの印刷情報(前記請求項で記載した制御情報に該当)によって印刷装置3にて印刷が行われる印刷システム1に使用される印刷装置3についてであり、前記コンピュータ2−1〜2−nの内の少なくとも1つは、印刷装置3からの日時情報要求に応じて、前記時計5−1〜5−nからの情報に基づいて生成した日時情報を前記要求のあった印刷装置3へ送出する日時情報送出手段6を備えるコンピュータ(図1ではコンピュータ2−1であり、以降、日時基準コンピュータ2−1と称す)である。
【0013】
本発明の印刷装置3は、印刷装置3の電源投入起動から経過時間を計測する経過時間計測手段8と、前記電源投入起動の際に、または電源投入起動後から定期的あるいは不定期に前記コンピュータ2−1〜2−nのいずれか(ここでは、前記日時基準コンピュータ2−1)に日時情報を要求し、要求に応じて送出された日時情報を取得して保持する日時情報取得手段7と、日時情報取得手段7からの日時情報を実時刻の基準として、経過時間計測手段8による前記電源投入起動以降の経過時間を実時刻に換算する時刻換算手段9とを備える構成とする。
【0014】
第1の発明によれば、印刷装置3の電源投入起動時から経過時間を計測し、その後に日時基準コンピュータ2−1から取得した日時情報を実時刻の基準として、前記計測した経過時間を実時刻に換算できることから、前記日時情報の取得以降の実時刻が生成できることに加えて、前記日時情報の取得以前である印刷装置3の電源投入起動時に遡った実時刻も生成できる。
【0015】
第2の発明は、前記第1の発明に記載の印刷装置3であって、前記コンピュータ2−1〜2−nが複数存在する場合、前記印刷装置3は、前記日時情報の要求先にするコンピュータを任意に設定(日時基準コンピュータ2−1)できる要求先設定手段を更に備える構成とする。
第2の発明によれば、日時情報の要求先とする日時基準コンピュータ2−1を印刷装置3側で設定できることから、印刷装置3に印刷要求する全てのコンピュータ2−1〜2−nに前記日時情報送出手段6を付加する必要がなくなり、日時基準コンピュータ2−1に設定されないその他のコンピュータ2−2〜2−nに対して、前記日時情報送出手段6を付加する手間を省くことができる。
【0016】
第3の発明は、カレンダ機能を有する時計5−1〜5−nを内蔵する1以上のコンピュータ2−1〜2−nと、前記時計を内蔵しない印刷装置3とが例えばネットワーク4を介して接続されて、前記コンピュータ2−1〜2−nからの印刷情報によって印刷装置3にて印刷が行われる印刷システム1に使用される印刷装置3についてであり、前記コンピュータ2−1〜2−nの内の少なくとも1つは、印刷装置3への印刷指示の際に、前記時計5−1〜5−nからの情報に基づいて生成した日時情報を印刷情報に付加(包含や付随などを含む)させた印刷包括情報を送出する図示しない印刷包括情報送出手段を備えるコンピュータ(以降、日時基準コンピュータと称す)である。
【0017】
本発明の印刷装置3は、印刷装置3の電源投入起動から経過時間を計測する経過時間計測手段8と、日時基準コンピュータから取得した前記印刷包括情報から日時情報を抽出して保持する日時情報抽出手段と、日時情報抽出手段からの日時情報を実時刻の基準として、経過時間計測手段8による前記電源投入起動以降の経過時間を実時刻に換算する時刻換算手段9とを備える構成とする。
【0018】
第3の発明によれば、前記第1の発明と同様の作用を得ることができる。
【0019】
【発明の実施の形態】
以下、本発明の実施の形態について、図面を参照して説明する。
<第1の実施例>
図2は、本発明の第1の実施例の構成図である。図2において、本発明による印刷システムは、印刷装置3a に印刷の指示を行うコンピュータ2a−1〜2a−nと、前記印刷の指示によって印刷を行う印刷装置3a とが、ネットワーク4などの通信回線を介して接続される。
【0020】
同図においては、コンピュータ2a−1は印刷装置3a が日時基準として日時情報を取得するコンピュータとし、一方、コンピュータ2a−1以外のコンピュータ2a−2〜2a−nは印刷装置3a が前記日時情報を取得しないコンピュータとする。それらコンピュータ2a−1〜2a−nのいずれか或いは全てが、例えばパーソナルコンピュータやサーバなどであっても良い。
【0021】
コンピュータ2a−1〜2a−nは、コンピュータ自身が使用するための日付や時刻を生成する例えば、カレンダ機能付き時計ICなどの日時タイマ21−1を備えるとともに、印刷のための所定の印刷情報を生成する印刷情報生成部23−1〜23−nと、生成した印刷情報を印刷装置3a に送出制御する印刷情報送出部24−1〜24−nと、ネットワーク4への接続と接続のためのインタフェース制御を行うインタフェース部25−1〜25−nなどを備える。因みに、印刷装置3a に印刷を指示しないコンピュータには、印刷情報生成部23−1〜23−nと印刷情報送出部24−1〜24−nを備えている必要はない。
【0022】
日時基準として指定されたコンピュータ2a−1(以降、日時基準コンピュータ2a−1と称す)においては更に、印刷装置3a からの日時情報の要求に応じて、日時タイマ21−1から取得した情報に基づいて少なくとも日付と時刻とを有する日時情報(以降、単に日時情報と称す)を生成し、作成した日時情報をインタフェース部25−1を介して印刷装置3a へ送出制御する日時情報送出部22を備える。
【0023】
印刷装置3a は、ネットワーク4への接続とそのインタフェース制御とを行うインタフェース部30と、インタフェース部30を介して日時基準コンピュータ2a−1へ日時情報を要求するとともに、その応答として送信されてきた日時情報を取得して保持する日時情報取得部31と、日時情報の要求先とする日時基準コンピュータを任意に設定できる要求先設定部32とを備える。
【0024】
日時情報取得部31は、要求先設定部32の設定に基づく要求先である日時基準コンピュータ2a−1に対して日時情報の要求を行う。要求先設定部32への日時基準コンピュータ2a−1の設定は通常、例えば運用管理者などによって、印刷システム1の利用開始前までに行われる。図示していないがその設定方法は、例えば、印刷装置3a の操作パネルからの設定や、いずれかのコンピュータ2a−1〜2a−nの入力手段(キーボードやマウスなど)で入力設定された設定情報の受信に基づく設定などがある。
【0025】
更に、印刷装置3a は、印刷装置3a の電源投入起動によって初期値設定(ゼロクリヤ、または所定値の設定)を行うとともにカウントを開始して電源投入起動からの経過時間を計測する経過カウンタ33と、日時情報取得部31からの日時情報を実時刻の基準として、経過カウンタ33のカウンタ値を実時刻に換算し、換算された換算実時刻をイベント・ログテーブル35に格納する時刻換算部34とを備える。
【0026】
イベント・ログテーブル35は、印刷装置3a での各種の発生イベントや、その発生イベントに対応させた経過カウンタ33のカウンタ値などを含み、イベント・ログテーブル35の一例を図9に示す(説明は後述する)。
また、印刷装置3a は、インタフェース部30を介してコンピュータ2a−1〜2a−nから送られてきた印刷情報を取得して保持する印刷情報取得部36と、印刷情報取得部36が保持した印刷情報およびイベント・ログテーブル35からのログ情報を必要に応じて所定の方法で画像展開処理(例えば、ビットイメージ化)する印刷情報処理部37と、印刷情報処理部37で処理された画像展開情報を所定の印刷方式で印刷する印刷部38とを備える。
<第2の実施例>
図3は、本発明の第2の実施例の構成図である。図3において、本発明による印刷システムは、印刷装置3b に印刷の指示を行うコンピュータ2b−1〜2b−nと、前記印刷指示によって印刷を行う印刷装置3b とが、ネットワーク4などの通信回線を介して接続される。
【0027】
同図においては、コンピュータ2b−1は印刷装置3b が日時基準として日時情報を取得するコンピュータとし、一方、コンピュータ2b−1以外のコンピュータ2b−2〜2b−nは印刷装置3b が前記日時情報を取得しないコンピュータとする。それらコンピュータ2b−1〜2b−nのいずれか或いは全てが、例えばパーソナルコンピュータやサーバなどであっても良い。
【0028】
日時基準にされないコンピュータ2b−2〜2b−nの構成と機能については、図2で説明したコンピュータ2a−2〜2a−nに同じであり、また、日時基準コンピュータとして指定されたコンピュータ2b−1(以降、日時基準コンピュータ2b−1と称す)内の日時タイマ21−1、印刷情報生成部23−1およびインタフェース部25−1については、図2で説明した日時基準コンピュータ2a−1内の同一記号番号の各部に同じであるため、ここでは説明を省略する。因みに、印刷装置3b に印刷を指示しないコンピュータには、印刷情報生成部23−1〜23−nと印刷情報送出部24−1〜24−nを備えている必要はない。
【0029】
日時基準コンピュータ2b−1においては、日時タイマ21−1から取得した情報に基づいて日時情報を生成して、印刷情報生成部23−1からの印刷情報に前記日時情報を付加させた印刷包括情報を生成し、印刷装置3b に送出制御する印刷包括情報送出部26を備える。印刷包括情報送出部26からの印刷包括情報は、印刷指示の際にインタフェース部25−1を介して印刷装置3b へ送出される。
【0030】
印刷装置3b の構成と機能については、印刷装置3b 内のインタフェース部30、経過カウンタ33、時刻換算部34、イベント・ログテーブル35、印刷情報取得部36、印刷情報処理部37および印刷部38の各部は、図2で説明した印刷装置3a 内の同一記号番号の各部に同じであるため、ここでは説明を省略する。但し、時刻換算部34については、ここでは、図2の日時情報取得部31に代わって後述の日時情報抽出部39から日時情報を取得する。
【0031】
印刷装置3b のその他の構成部分では、インタフェース部30を介して日時基準コンピュータ2b−1から送られてきた印刷包括情報から日時情報を抽出して保持する日時情報抽出部39を備える。また、日時情報抽出部39には、コンピュータ2b−1〜2b−n各々から印刷包括情報が送出されるような場合、図示しない有効先設定部からの設定情報に基づき、有効な日時情報として受け付ける日時基準コンピュータ2b−1を決定する機能を備えていても良い。
【0032】
次に、上記にて説明したそれぞれの実施例の動作について、図面を参照しながら説明する。図4および図5は、前記第1の実施例に対応する処理を示す図面であり、図4は、日時情報を要求取得する処理を示すフローチャート(印刷装置側)であり、図5は、日時情報を要求取得する処理を示すフローチャート(コンピュータ側)である。
【0033】
図4において、印刷装置3a は先ず、印刷装置3a の電源投入によって電源投入起動を行う(S11)とともに、経過カウンタ33を起動し、経過時間を計測するためのカウント動作を開始させる(S12)。ここでの電源投入起動の開始は、電源投入に限らず、同様の起動動作を開始させる再起動用スイッチの押下などであっても良い。また、経過カウンタ33の起動の際、経過カウンタ33のカウンタ値(以降、経過カウンタ値と称す)の初期値化を行うが、説明の都合上、ここではその初期値をゼロとする。
【0034】
前記ステップS11およびS12の起動動作が共に完了した後、日時情報取得部31は、要求先設定部32で設定した日時基準コンピュータ2a−1へ日時情報を要求し(S13)、日時基準コンピュータ2a−1から送出される日時情報の応答を監視する(S14)。
日時基準コンピュータ2a−1からの応答があった場合(S14で Yes判定)、日時情報取得部31は、その応答による日時情報を取得して保持し(S15)、時刻換算部34は、保持された日時情報からの取得日時すなわち実時刻と、日時情報を取得した時点の経過カウンタ値とを、イベント・ログテーブル35に格納する(S16)。なお、日時情報取得部31では、取得した日時情報を日時情報取得部31内に保持をせず、取得した日時情報による実時刻を直接、イベント・ログテーブル35に格納しても構わない。
【0035】
また、時刻換算部34では、イベント・ログテーブル35内の発生イベントを確認して、日時情報の取得時点以前に既に発生イベントが有ったか否かを判定し(S17)、もしも有ったならば(S17で Yes判定)、それら既発生の発生イベント全ての経過カウンタ値を実時刻に換算し(S18)、その換算実時刻をイベント・ログテーブル35に格納する(S19)。なお、経過カウンタ値を実時刻に換算する処理については、図10にて後述する。
【0036】
一方、前記ステップS14において、日時基準コンピュータ2a−1からの応答が無かった場合(S14でNo判定)、日時情報取得部31は、図示しないインターバル・タイマを起動し(S21)、そのタイマ値が所定値に到達か否かを監視する(S22)。もしも到達したならば(S22で Yes判定)、前記ステップS13に戻って再度、日時基準コンピュータ2a−1へ日時情報を要求する(S13)。
【0037】
ここでは、日時基準コンピュータ2a−1から日時情報が取得できるまで、前記ステップS21、S22、S13およびS14を繰り返し、定期的に日時情報を要求する。なお、前記タイマ値の所定値、つまり日時情報の要求繰返し時間は、印刷装置3a 内や日時基準コンピュータ2a−1内の処理負荷またはネットワーク4のトラフィックなどを考慮して決めれば良い。
【0038】
また、前記ステップS14にて日時基準コンピュータ2a−1からの応答が無かった場合(S14でNo判定)に前記ステップS13に戻って再度、日時基準コンピュータ2a−1へ日時情報を要求させる条件として、前記ステップS21とS22によるインターバル・タイマの所定値到達の他に、例えば図示していないが、イベント・ログテーブル35に格納される発生イベントの発生の都度とすることもできる。その場合、日時情報は不定期に要求されることになる。
【0039】
図5において、日時基準コンピュータ2a−1では、日時情報送出部22は、印刷装置3a からの日時情報の要求を監視し(S31)、もしも要求を受信したならば(S31で Yes判定)、日時タイマ21−1からタイマ情報を取得して、その情報に基づいて日時情報を生成し(S32)、要求に対する応答として日時情報を印刷装置3a へ送出する(S33)。なお、送出される日時情報の応答は、印刷装置3a での前記ステップS14で監視されている。
【0040】
図6および図7は、前記第2の実施例に対応する処理を示す図面であり、図6は、日時情報を印刷包括情報から抽出取得する処理を示すフローチャート(印刷装置側)であり、図7は、日時情報を印刷包括情報から抽出取得する処理を示すフローチャート(コンピュータ側)である。
図6において、破線で囲ったステップ(S43、S44)以外の各ステップによる処理は、前記図4で同様に破線で囲ったステップ(S13〜S15、S21、S22)以外の各ステップによる処理と同一であるため、説明の重複を避け、ここではそれら同一ステップの説明を省略する。なお、図4内と図6内での前記同一の処理部分のステップ記号番号は、S11とS41、S12とS42、S16とS46、S17とS47、S18とS48、S19とS49とが、それぞれ対応する。
【0041】
図6において、前記ステップS41とS42の起動動作が共に完了した後、日時情報抽出部39は、日時基準コンピュータ2b−1からの印刷包括情報の受信を監視し(S43)、もしも印刷包括情報を受信したならば(S43で Yes判定)、日時情報抽出部39は、印刷情報と日時情報とを含む印刷包括情報から日時情報を抽出して保持する(S44)。なお、日時情報抽出部39では、取得した日時情報を日時情報抽出部39内に保持をせず、抽出した日時情報による実時刻を直接、イベント・ログテーブル35に格納しても構わない。前述したように、ステップS46以降の処理の説明は、前記した図4の説明に同じため、ここでは省略する。
【0042】
図7において、日時基準コンピュータ2b−1では、或るアプリケーションなどから印刷起動が行われると(S51)、日時タイマ21−1からタイマ情報を取得し、そのタイマ情報に基づいて日時情報を生成する(S52)。前記印刷起動の中で既に作成されている印刷情報に、前記生成した日時情報を付加して印刷包括情報を生成し(S53)、印刷情報と日時情報とを含む印刷包括情報を印刷装置3b へ送出する(S54)。なお、送出される印刷包括情報は、印刷装置3b での前記ステップS43で監視されている。
【0043】
以上の説明は日時基準コンピュータを1台とした場合であるが、日時基準コンピュータを複数台とした場合では図示していないが上述した説明と同様の処理にて、第1の実施例においては、それぞれの日時基準コンピュータに対して所定の要求順位で日時情報を要求し、応答のあった日時基準コンピュータの日時情報を取得して採用し、それ以降の要求順位の日時基準コンピュータには要求をしない方法でも良いし、また、第2の実施例においては、一番最初に受信した日時基準コンピュータからの印刷包括情報の日時情報を採用し、それ以降のその他の日時基準コンピュータからの印刷包括情報の日時情報は無視などして取得しないようにしても良い。
【0044】
しかしながら、前記のように日時基準コンピュータを複数台とした場合、日時情報を取得する対象台数が増えることに伴って日時情報を取得できる可能性は高くなるものの、各コンピュータ2a−1〜2a−n,2b−1〜2b−nに搭載された日時タイマ21−1〜21−n間の時刻ズレの程度によって、イベント・ログテーブル35に格納される換算実時刻が相互で前後したり、また、換算の基準とする実時刻がその時の印刷システムの運用状況によって異なってしまい換算実時刻の時刻に一貫性がなくなるなどの問題が生じる。しかし、日時基準コンピュータを複数台とすることは、前記コンピュータ2a−1〜2a−n,2b−1〜2b−n相互にて時刻ズレが無い(コンピュータ相互間での統一時刻調整であっても良い)ような印刷システムでは、より功を奏するものとなる。
【0045】
図8は、イベント発生時のイベント・ログテーブルの処理を示すフローチャートであり、図9は、イベント・ログテーブルの一例を示す図である。図8において、印刷装置3a,3b では印刷装置3a,3b 内で生じる各種イベントの発生を、図示しないイベント監視部で監視しており(S61)、もしもイベントの発生を確認したならば(S61で Yes判定)、その発生イベント名やイベント発生時の経過カウンタ値、およびイベント関連情報などを含めてイベント・ログテーブル35に格納する(S62)。
【0046】
ここでいうイベントとは、イベント・ログテーブル35に格納する必要のある予め決められたイベントのことをいい、利用者や運用管理者などがそのイベントを知ることによって、装置利用履歴や装置状況履歴などを知ることができるもの(例えば、装置起動,日時情報取得,印刷開始,印刷完了,用紙ジャム,消耗品補給・交換要求,装置エラーなど)である。
【0047】
次に、日時基準コンピュータ2a−1,2b−1から既に日時情報を取得済みか否かを確認し(S63)、もしも取得済みならば(S63で Yes判定)、取得されている日時情報を基準として前記発生イベントの経過カウンタ値を実時刻に換算して(S64)、その換算実時刻をイベント・ログテーブル35に格納する(S65)。イベント発生ごとに上記の処理を行い、順次、イベント・ログテーブル35に格納していく。
【0048】
図9において、イベント・ログテーブル35は、イベント番号、受信ジョブ名、ジョブ発信元名、発生イベント名、カウンタ値、発生日時などの項目から成っている。これら項目設定や項目名などは説明の都合上で設定した一例であって、実際には装置運用や利用都合などに合わせて設定されるものである。
前記のイベント番号には発生イベントを時系列的に採番した数字を、受信ジョブ名にはコンピュータ2a−1〜2a−n,2b−1〜2b−nからのジョブ名を、ジョブ発信元名にはジョブ発信コンピュータ名を、発生イベント名には発生したイベント名を、カウンタ値にはイベント発生時の経過カウンタ値(説明の都合上、10進数表示とする)を、発生日時には発生イベントの発生日時を、それぞれ格納する。
【0049】
図10は、経過カウンタ値を実時刻に換算する処理を示すフローチャートである。なお、図10で示す処理は、時刻換算部34で行われる処理である。図10において、先ず、日時基準コンピュータ2a−1,2b−1から日時情報を取得した時点の経過カウンタ値(以降、基準カウンタ値と称す)を実時刻への換算基準とし、基準カウンタ値と、実時刻換算対象の発生イベントの経過カウンタ値(以降、対象カウンタ値と称す)との差分カウント数である基準差値を算出する(S71)。
【0050】
その際、対象カウンタ値が基準カウンタ値よりも小さい場合には、実時刻換算対象の発生イベントの発生時点が、基準の実時刻に対して過去であることが認識できるように、例えば負(マイナス)の値などにしておく。なお、ここでは説明の都合上、経過カウンタ33はカウントアップ動作とする。
次に、前記ステップS71で算出した前記基準差値のカウント数を、時間としての経過時間に換算する(S72)。具体的には、経過カウンタ33の1カウント時間は予め一定の時間に設定されているため、前記基準差値のカウント数に1カウント時間を乗算することによって、経過時間は算出できる。
【0051】
その後、前記ステップS72で換算した換算経過時間を、基準の実時刻すなわち、取得した日時に加算させて実時刻に換算し(S73)、その換算実時刻をイベント・ログテーブル35の発生日時に格納する(S74)。
図9に示すイベント・ログテーブル35の内容を参考にして、実時刻への換算の処理を更に具体的に説明する。日時基準コンピュータ2a−1からの「日時情報取得」を発生イベントとするイベント番号「8」の日時「10:30」(年月日は同一のため、省略する)が実時刻の基準であり、また、そのカウンタ値「5400」が基準カウンタ値となる。
【0052】
例えば、イベント番号「7」の「印刷完了」を実時刻換算対象の発生イベントとすると、基準カウンタ値「5400」を基準として対象カウンタ値「3000」の基準差値を算出して「−2400」を求める(S71の処理)。次に、前記基準差値「−2400」と、1カウント時間(説明の都合上、1秒とする)とを乗算して「−2400秒」の経過時間に換算する(S72の処理)。次に、前記換算経過時間「−2400秒」(=−40分)を基準の実時刻「10:30」に加算して「 9:50」の実時刻に換算し(S73の処理)、その換算実時刻「 9:50」をイベント番号「7」の発生日時に格納する(S74の処理)。
【0053】
前記の実時刻への換算の処理に倣って、全ての発生イベントについても同様に発生日時を求め、イベント・ログテーブル35に格納すれば良い。図10に示す実時刻への換算の処理は一例であって、いずれにしても、取得した日時情報すなわち、基準の実時刻から見て過去の発生イベントである経過カウンタ値が、基準の実時刻に基づいて正しく実時刻に換算できる処理であれば良い。
【0054】
以上の処理において、印刷装置3a,3b が日時基準コンピュータ2a−1,2b−1から日時情報を全く取得できないような場合、例えば日時基準コンピュータ2a−1,2b−1が利用者不在で電源未投入状態あるいは故障中などの場合、換算基準とする実時刻が無いことから経過カウンタ値を実時刻に換算できず、イベント・ログテーブル35の各発生イベントに対応する「発生日時」のいずれにも日時を格納できない。
【0055】
このような場合においては、印刷ログ情報の印刷出力指示またはパネル表示指示(例えば、印刷装置3a,3b の表示パネル上や、コンピュータ要求によるコンピュータ画面上などへの表示)に対して、日時情報が未取得の旨を表示して知らしめて、日時表示はしないものの、経過カウンタ値を含めた印刷ログ情報の印刷・表示を行う。このような経過カウンタ値が表示された印刷ログ情報出力から印刷装置3a,3b の利用者や運用管理者は、各発生イベント間の相対的時間関係や時間間隔などを知ることができる。
【0056】
以上の実施の説明は、周辺機器装置として印刷装置を用いて説明したが、他の周辺機器装置である例えばイメージスキャナ装置や外部記憶装置などにも、印刷装置と同様の処理にて実施が可能である。
【0057】
【発明の効果】
以上説明したように、第1および第3の発明によれば、周辺機器装置の電源投入起動時から経過時間を計測し、その後に外部装置から取得した日時情報を実時刻の基準として、前記計測した経過時間を実時刻に換算できることから、前記日時情報の取得以降の実時刻が生成できることに加えて、前記日時情報の取得以前である周辺機器装置の電源投入起動時に遡った実時刻も生成できる。
【0058】
したがって、カレンダ機能を有する時計ICを内蔵しない周辺機器装置の電源投入起動よりも後に、日時基準とする外部装置が電源投入起動されたとしても、それ以前に周辺機器装置で既に発生していたイベントのためのログ情報に実時刻を表示させることができ、更にそのことから、日時基準とする外部装置と周辺機器装置との間の電源投入時期の融通性が向上できる。特に、日時基準とする外部装置と周辺機器装置とがネットワークなどを介して地理的に離れた場所に設置されている場合、その相互利便性が向上する。
【0059】
第2の発明によれば、日時情報の要求先にする外部装置を周辺機器装置側で指定できることから、周辺機器装置を制御(例えば印刷要求)する全ての外部装置に前記日時情報送出手段を付加する必要がなくなることで、日時基準の外部装置に指定されないその他の外部装置では、前記日時情報送出手段を付加する手間を省くことができる。
【0060】
このことは、例えば日時基準とする外部装置を1台に限定設定した場合、ネットワークなどを介して接続されるその他の遠隔の外部装置では日時情報送出手段の搭載(例えば、周辺機器装置専用ドライバ・ソフトのインストールなど)が不要になり、前記遠隔の外部装置に対する利用・運用管理が容易になる。
【図面の簡単な説明】
【図1】本発明に係る印刷装置を備える印刷システムの原理構成図
【図2】本発明の第1の実施例の構成図
【図3】本発明の第2の実施例の構成図
【図4】日時情報を要求取得する処理を示すフローチャート(印刷装置側)
【図5】日時情報を要求取得する処理を示すフローチャート(コンピュータ側)
【図6】日時情報を印刷包括情報から抽出取得する処理を示すフローチャート(印刷装置側)
【図7】日時情報を印刷包括情報から抽出取得する処理を示すフローチャート(コンピュータ側)
【図8】イベント発生時のイベント・ログテーブルの処理を示すフローチャート
【図9】イベント・ログテーブルの一例を示す図
【図10】経過カウンタ値を実時刻に換算する処理を示すフローチャート
【符号の説明】
1 印刷システム
2−1,2−2,2−n コンピュータ
2a−1,2a−2,2a−n,2b−1,2b−2,2b−n コンピュータ
3,3a,3b 印刷装置
4 ネットワーク
5−1,5−2,5−n 時計
6 日時情報送出手段
7 日時情報取得手段
8 経過時間計測手段
9 時間換算手段
21−1,21−2,21−n 日時タイマ
22 日時情報送出部
23−1,23−2,23−n 印刷情報生成部
24−1,24−2,24−n 印刷情報送出部
25−1,25−2,25−n インタフェース部
26 印刷包括情報送出部
30 インタフェース部
31 日時情報取得部
32 要求先設定部
33 経過カウンタ
34 時刻換算部
35 イベント・ログテーブル
36 印刷情報取得部
37 印刷情報処理部
38 印刷部
39 日時情報抽出部
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a peripheral device that generates an actual time based on date and time information from an external device, and in particular, in a peripheral device that does not include a clock having a calendar function, a date obtained from an external device that includes the clock. The present invention relates to a peripheral device that generates actual time used by the peripheral device using time information.
[0002]
[Prior art]
Since a clock IC having a calendar function is expensive, there is a peripheral device (hereinafter, referred to as a printing device) that does not incorporate the clock IC in order to avoid an increase in cost. Such a printing apparatus includes date and time information including a date and time (hereinafter referred to as date and time information) for print log information of an event (such as reception of print-related information, execution of printing, and occurrence of various errors) in the printing apparatus. ) Is required, date and time information is acquired at least once from an external device (hereafter, referred to as a computer) incorporating the clock IC connected to the printing device via a network or the like, and the acquired date and time is acquired. The real time (date and time including date and time) is generated using the information.
[0003]
In the prior art, a computer requesting printing adds date and time information to a print job and sends it to a printing device, and the printing device extracts date and time information from a print job with date and time information received from the computer and sets it as real time, The extracted actual time is included in the print log data of the received print job (for example, see Patent Document 1).
Further, in another conventional technique, a printing apparatus requests date and time information from a computer when the printing apparatus is turned on, and a counter provided in the printing apparatus at the time of obtaining date and time information from the computer in response to the request. Is started, the elapsed time since the start is measured by the counter, and the real time is generated based on the elapsed time by the counter with reference to the acquired date and time information (for example, see Patent Documents 2 and 3). ).
[0004]
Further, in the other conventional techniques, the printing apparatus determines whether or not date and time information has already been acquired upon receiving a print instruction from the computer, and if not, the printing apparatus sends the date and time information to the computer again. The date and time information is obtained upon request (for example, see Patent Document 2). In addition, the printing apparatus periodically or irregularly requests date and time information from the computer after power-on of the printing apparatus, acquires the date and time information again, clears the counter each time it is acquired, and remeasures the elapsed time. This minimizes the accumulated time difference due to the accuracy difference between the counter and the clock on the computer side (for example, see Patent Document 3).
[0005]
[Patent Document 1]
JP-A-2001-325083 (paragraph numbers 0033 to 0034, FIG. 4)
[0006]
[Patent Document 2]
JP-A-10-86487 (Claims 3 and 6, paragraph numbers 0058 to 0060, 0078, 0082, 0083, FIGS. 4 and 7)
[0007]
[Patent Document 3]
JP-A-2001-175354 (paragraph numbers 0011, 0029, FIG. 2)
[0008]
[Problems to be solved by the invention]
Therefore, in a conventional method in which a printing apparatus extracts date and time information from a print job with date and time information from a computer to determine the actual time, a print job with date and time information can be issued to all computers that request printing. There is a problem in that it requires additional functions (for example, installation of dedicated printer driver software).
[0009]
In addition, when the printing apparatus is turned on, or when the printing apparatus is requested periodically or irregularly, date and time information is requested from the computer, and the elapsed time by the counter activated by acquiring the date and time information from the computer and the acquired date and time information are used. In the method of generating the time, for example, when the power supply of the printing apparatus is turned on and the computer that should respond to the date and time information request is in an unresponsive state (power is not turned on or the power is turned on), the computer There is a problem that the time cannot be displayed in the print log information of the event that has occurred in the printing apparatus before the date and time information is obtained from the printer.
[0010]
Accordingly, the present invention provides a peripheral device that does not incorporate a clock IC having a calendar function, based on date and time information from an external device, and sets the actual time retroactively to the power-on startup time of the peripheral device before acquiring the date and time information. A first object is to provide a peripheral device that can be generated.
A second object of the present invention is to reduce the trouble of adding a function of providing date and time information to a peripheral device to an external device.
[0011]
[Means for Solving the Problems]
For convenience of explanation, the external device described in the claims will be described as a computer, and the peripheral device (printing device, image scanner device, external storage device, etc.) will be described as a printing device. FIG. 1 is a principle configuration diagram of a printing system including a printing apparatus according to the present invention. Hereinafter, description will be made with reference to FIG.
[0012]
According to the first invention, one or more computers 2-1 to 2-n having built-in clocks 5-1 to 5-n having a calendar function and a printing device 3 having no built-in clock are connected via a network 4, for example. The printing device 3 used in the printing system 1 that is connected and is printed by the printing device 3 by printing information (corresponding to the control information described in the claims) from the computers 2-1 to 2-n. At least one of the computers 2-1 to 2-n responds to a date and time information request from the printing device 3 and generates the date and time generated based on the information from the clocks 5-1 to 5-n. It is a computer (the computer 2-1 in FIG. 1 and hereinafter referred to as the date / time reference computer 2-1) including the date / time information sending means 6 for sending the information to the printing apparatus 3 which has made the request.
[0013]
The printing apparatus 3 of the present invention includes an elapsed time measuring means 8 for measuring an elapsed time from the power-on startup of the printing apparatus 3 and the computer at the time of the power-on startup, or periodically or irregularly after the power-on startup. Date / time information acquisition means 7 for requesting date / time information from any of 2-1 to 2-n (here, the date / time reference computer 2-1), and acquiring and holding date / time information transmitted in response to the request; And a time conversion unit 9 for converting the elapsed time since the power-on and activation by the elapsed time measurement unit 8 to the actual time, using the date and time information from the date and time information acquisition unit 7 as the reference of the actual time.
[0014]
According to the first aspect, the elapsed time is measured from the time when the printing apparatus 3 is powered on, and thereafter, the measured elapsed time is used as the reference of the actual time using the date and time information acquired from the date and time reference computer 2-1. Since the time can be converted, the real time after the acquisition of the date and time information can be generated, and in addition, the actual time as far back as the time when the power of the printing apparatus 3 is turned on before the acquisition of the date and time information can be generated.
[0015]
A second invention is the printing device 3 according to the first invention, wherein when there are a plurality of the computers 2-1 to 2-n, the printing device 3 is a destination of the date and time information request. A request destination setting unit that can arbitrarily set a computer (date-and-time reference computer 2-1) is further provided.
According to the second invention, since the date and time reference computer 2-1 to which the date and time information is requested can be set on the printing device 3, the above-described method is applied to all the computers 2-1 to 2-n that request printing to the printing device 3. There is no need to add the date and time information sending means 6, and it is possible to save the time and effort of adding the date and time information sending means 6 to other computers 2-2 to 2-n that are not set in the date and time reference computer 2-1. .
[0016]
According to a third aspect of the present invention, one or more computers 2-1 to 2-n having built-in clocks 5-1 to 5-n having a calendar function and a printing device 3 having no built-in clock are connected via a network 4, for example. The printing device 3 used in the printing system 1 which is connected to the printing device 3 and performs printing by the printing information from the computers 2-1 to 2-n. At least one of them adds the date and time information generated based on the information from the clocks 5-1 to 5-n to the print information at the time of the print instruction to the printing device 3 (including the inclusion and the attachment). ) Is a computer (hereinafter, referred to as a date-and-time reference computer) provided with print comprehensive information transmitting means (not shown) for transmitting the comprehensive print information.
[0017]
The printing apparatus 3 of the present invention includes an elapsed time measuring unit 8 for measuring an elapsed time from the power-on activation of the printing apparatus 3 and a date and time information extraction for extracting and storing date and time information from the comprehensive print information acquired from the date and time reference computer. Means, and time conversion means 9 for converting the time elapsed since the power-on by the elapsed time measurement means 8 to the real time, using the date and time information from the date and time information extraction means as the reference of the actual time.
[0018]
According to the third aspect, the same operation as that of the first aspect can be obtained.
[0019]
BEST MODE FOR CARRYING OUT THE INVENTION
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
<First embodiment>
FIG. 2 is a configuration diagram of the first embodiment of the present invention. In FIG. 2, a printing system according to the present invention includes a computer 2a-1 to 2a-n that instructs a printing device 3a to perform printing, and a printing device 3a that performs printing in accordance with the printing instruction. Connected via
[0020]
In the figure, a computer 2a-1 is a computer from which the printing device 3a acquires date and time information on the basis of date and time, while computers 2a-2 to 2a-n other than the computer 2a-1 use the printing device 3a to output the date and time information. A computer that does not acquire it. Any or all of the computers 2a-1 to 2a-n may be, for example, personal computers or servers.
[0021]
Each of the computers 2a-1 to 2a-n includes, for example, a date / time timer 21-1 such as a clock IC with a calendar function for generating a date and time for use by the computer itself, and transmits predetermined print information for printing. Print information generation units 23-1 to 23-n to generate, print information transmission units 24-1 to 24-n to control transmission of the generated print information to the printing device 3a, and connection to the network 4 and connection to the network 4. Interface units 25-1 to 25-n that perform interface control are provided. Incidentally, the computer that does not instruct the printing device 3a to perform printing does not need to include the print information generation units 23-1 to 23-n and the print information transmission units 24-1 to 24-n.
[0022]
The computer 2a-1 designated as the date and time reference (hereinafter, referred to as the date and time reference computer 2a-1) further responds to the request for the date and time information from the printing device 3a based on the information acquired from the date and time timer 21-1. A date and time information having at least a date and a time (hereinafter simply referred to as date and time information), and a date and time information transmitting unit 22 for controlling transmission of the generated date and time information to the printing apparatus 3a via the interface unit 25-1. .
[0023]
The printing device 3a requests the date / time information from the date / time reference computer 2a-1 via the interface unit 30 for connection to the network 4 and interface control thereof, and the date / time transmitted as a response to the request. The system includes a date and time information acquisition unit 31 that acquires and retains information, and a request destination setting unit 32 that can arbitrarily set a date and time reference computer to which the date and time information is requested.
[0024]
The date / time information acquisition unit 31 requests date / time information from the date / time reference computer 2a-1 as the request destination based on the setting of the request destination setting unit 32. The setting of the date-and-time reference computer 2a-1 in the request destination setting unit 32 is usually performed before the use of the printing system 1 is started by, for example, an operation manager. Although not shown, the setting method includes, for example, setting from an operation panel of the printing apparatus 3a and setting information input and set by an input means (keyboard, mouse, or the like) of any of the computers 2a-1 to 2a-n. There is a setting based on the reception of a message.
[0025]
Further, the printing apparatus 3a performs an initial value setting (zero clear or setting of a predetermined value) upon power-on activation of the printing apparatus 3a, starts counting, and measures an elapsed time from the power-on activation; Using the date and time information from the date and time information acquisition unit 31 as a reference for the actual time, the time conversion unit 34 converts the counter value of the progress counter 33 to the actual time, and stores the converted actual time in the event log table 35. Prepare.
[0026]
The event log table 35 includes various kinds of occurrence events in the printing apparatus 3a, the counter value of the progress counter 33 corresponding to the occurrence events, and the like. An example of the event log table 35 is shown in FIG. See below).
The printing device 3a includes a print information acquisition unit 36 for acquiring and holding print information sent from the computers 2a-1 to 2a-n via the interface unit 30, and a print information acquisition unit 36 for holding the print information held by the print information acquisition unit 36. A print information processing unit 37 for performing image expansion processing (for example, bit image conversion) on the information and the log information from the event log table 35 according to a predetermined method as necessary, and image expansion information processed by the print information processing unit 37 And a printing unit 38 that prints the image by a predetermined printing method.
<Second embodiment>
FIG. 3 is a configuration diagram of a second embodiment of the present invention. Referring to FIG. 3, a printing system according to the present invention includes a computer 2b-1 to 2b-n that instructs a printing device 3b to perform printing, and a printing device 3b that performs printing in accordance with the printing instruction. Connected via.
[0027]
In the figure, a computer 2b-1 is a computer from which the printing device 3b acquires date and time information on the basis of date and time, while computers 2b-2 to 2b-n other than the computer 2b-1 use the printing device 3b to acquire the date and time information. A computer that does not acquire it. Any or all of the computers 2b-1 to 2b-n may be, for example, personal computers or servers.
[0028]
The configurations and functions of the computers 2b-2 to 2b-n which are not set as the date and time reference are the same as those of the computers 2a-2 to 2a-n described in FIG. 2, and the computer 2b-1 designated as the date and time reference computer. The date / time timer 21-1, print information generation unit 23-1 and interface unit 25-1 in the date / time reference computer 2b-1 (hereinafter referred to as date / time reference computer 2b-1) are the same as those in the date / time reference computer 2a-1 described in FIG. Since the same applies to each part of the symbol number, the description is omitted here. Incidentally, a computer that does not instruct the printing device 3b to perform printing does not need to include the print information generation units 23-1 to 23-n and the print information transmission units 24-1 to 24-n.
[0029]
The date / time reference computer 2b-1 generates date / time information based on the information acquired from the date / time timer 21-1, and adds the date / time information to the print information from the print information generation unit 23-1. And a print comprehensive information sending unit 26 for controlling sending to the printing device 3b. The comprehensive print information from the comprehensive print information sending unit 26 is sent to the printing device 3b via the interface unit 25-1 when a print instruction is issued.
[0030]
Regarding the configuration and functions of the printing device 3b, the interface unit 30, the progress counter 33, the time conversion unit 34, the event log table 35, the print information acquisition unit 36, the print information processing unit 37, and the printing unit 38 in the printing device 3b Since each unit is the same as each unit of the same symbol number in the printing apparatus 3a described in FIG. 2, the description is omitted here. However, the time conversion unit 34 acquires date and time information from a date and time information extraction unit 39 described later instead of the date and time information acquisition unit 31 in FIG.
[0031]
Other components of the printing device 3b include a date and time information extracting unit 39 that extracts and holds date and time information from comprehensive print information transmitted from the date and time reference computer 2b-1 via the interface unit 30. When print comprehensive information is sent from each of the computers 2b-1 to 2b-n, the date / time information extraction unit 39 accepts the information as valid date / time information based on setting information from a valid destination setting unit (not shown). A function to determine the date and time reference computer 2b-1 may be provided.
[0032]
Next, the operation of each embodiment described above will be described with reference to the drawings. 4 and 5 are diagrams showing processing corresponding to the first embodiment. FIG. 4 is a flowchart (printing apparatus side) showing processing for requesting acquisition of date and time information. FIG. It is a flowchart (computer side) showing a process of requesting and acquiring information.
[0033]
In FIG. 4, the printing apparatus 3a first activates the power by turning on the power of the printing apparatus 3a (S11), and also activates the elapsed counter 33 to start a counting operation for measuring the elapsed time (S12). The start of the power-on startup here is not limited to the power-on, but may be a depression of a restart switch for starting a similar startup operation. When the progress counter 33 is activated, the count value of the progress counter 33 (hereinafter, referred to as a progress counter value) is initialized. For convenience of explanation, the initial value is set to zero here.
[0034]
After the start-up operations in steps S11 and S12 are both completed, the date / time information acquisition unit 31 requests the date / time information from the date / time reference computer 2a-1 set by the request destination setting unit 32 (S13), and the date / time reference computer 2a- Then, the response of the date and time information transmitted from No. 1 is monitored (S14).
When there is a response from the date / time reference computer 2a-1 (Yes in S14), the date / time information acquisition unit 31 acquires and holds date / time information based on the response (S15), and the time conversion unit 34 holds the date / time information. The acquired date and time from the date and time information, that is, the actual time, and the elapsed counter value at the time of acquiring the date and time information are stored in the event log table 35 (S16). Note that the date and time information acquisition unit 31 may store the acquired date and time information directly in the event log table 35 without holding the acquired date and time information in the date and time information acquisition unit 31.
[0035]
In addition, the time conversion unit 34 checks the occurrence event in the event log table 35, and determines whether or not the occurrence event has already occurred before the date and time information acquisition time (S17). If (Yes in S17), the elapsed counter values of all of the generated events are converted to real time (S18), and the converted real time is stored in the event log table 35 (S19). The process of converting the elapsed counter value to the actual time will be described later with reference to FIG.
[0036]
On the other hand, in step S14, when there is no response from the date / time reference computer 2a-1 (No in S14), the date / time information acquisition unit 31 starts an interval timer (not shown) (S21), and the timer value is It is monitored whether it has reached the predetermined value (S22). If it has arrived (Yes in S22), the process returns to the step S13 and requests the date and time information from the date and time reference computer 2a-1 again (S13).
[0037]
Here, the steps S21, S22, S13 and S14 are repeated until the date and time information can be obtained from the date and time reference computer 2a-1, and the date and time information is requested periodically. The predetermined value of the timer value, that is, the required repetition time of the date and time information may be determined in consideration of the processing load in the printing device 3a or the date and time reference computer 2a-1, the traffic of the network 4, and the like.
[0038]
If there is no response from the date / time reference computer 2a-1 in step S14 (No in S14), the process returns to step S13 and requests the date / time reference computer 2a-1 again to request date / time information. In addition to reaching the predetermined value of the interval timer in steps S21 and S22, for example, although not shown, the interval timer may be generated each time an occurrence event stored in the event log table 35 occurs. In that case, the date and time information will be requested irregularly.
[0039]
5, in the date / time reference computer 2a-1, the date / time information sending unit 22 monitors a request for date / time information from the printing apparatus 3a (S31). If the request is received (Yes in S31), The timer information is acquired from the timer 21-1, the date and time information is generated based on the information (S32), and the date and time information is sent to the printing device 3a as a response to the request (S33). The response to the sent date and time information is monitored in step S14 in the printing device 3a.
[0040]
6 and 7 are diagrams showing processing corresponding to the second embodiment, and FIG. 6 is a flowchart (printing apparatus side) showing processing for extracting and acquiring date and time information from comprehensive printing information. 7 is a flowchart (computer side) showing a process of extracting and acquiring date and time information from comprehensive print information.
In FIG. 6, the processing in each step other than the steps (S43, S44) surrounded by the broken line is the same as the processing in each step except the steps (S13 to S15, S21, S22) similarly surrounded by the broken line in FIG. Therefore, duplicate description will be avoided, and description of those same steps will be omitted here. Note that the step symbol numbers of the same processing portions in FIGS. 4 and 6 correspond to S11 and S41, S12 and S42, S16 and S46, S17 and S47, S18 and S48, and S19 and S49, respectively. I do.
[0041]
In FIG. 6, after the start-up operations of steps S41 and S42 are both completed, the date and time information extraction unit 39 monitors the reception of the print comprehensive information from the date and time reference computer 2b-1 (S43). If received (Yes in S43), the date / time information extraction unit 39 extracts and holds date / time information from comprehensive print information including print information and date / time information (S44). The date and time information extracting unit 39 may store the acquired date and time information in the event log table 35 directly without storing the acquired date and time information in the date and time information extracting unit 39. As described above, the description of the processing after step S46 is the same as the above-described description of FIG.
[0042]
In FIG. 7, when printing is started from a certain application or the like (S51), the date / time reference computer 2b-1 acquires timer information from the date / time timer 21-1 and generates date / time information based on the timer information. (S52). The comprehensive print information is generated by adding the generated date and time information to the print information already created during the printing start (S53), and the comprehensive print information including the print information and the date and time information is sent to the printing apparatus 3b. It is sent (S54). The sent comprehensive print information is monitored in step S43 in the printing device 3b.
[0043]
Although the above description is based on the case where the number of date / time reference computers is one, it is not shown in the case where the number of date / time reference computers is plural, but in the same processing as described above, in the first embodiment, The date and time information is requested from each date and time reference computer in a predetermined request order, the date and time information of the responding date and time reference computer is acquired and adopted, and no request is made to the date and time reference computer of the subsequent request order. Alternatively, in the second embodiment, the date and time information of the print comprehensive information from the date and time reference computer received first is adopted, and the print comprehensive information from the other date and time reference computers after that is adopted. The date and time information may be ignored and not acquired.
[0044]
However, when a plurality of date and time reference computers are used as described above, the possibility that date and time information can be acquired increases as the number of target computers for which date and time information is acquired increases, but each computer 2a-1 to 2a-n , 2b-1 to 2b-n, the converted actual times stored in the event log table 35 fluctuate with each other depending on the degree of the time lag between the date / time timers 21-1 to 21-n mounted on the The actual time used as the reference for conversion differs depending on the operation status of the printing system at that time, causing a problem that the time of the converted real time becomes inconsistent. However, using a plurality of date / time reference computers means that there is no time lag among the computers 2a-1 to 2a-n and 2b-1 to 2b-n (even when unified time adjustment is performed between computers). A good printing system will do better.
[0045]
FIG. 8 is a flowchart showing the processing of the event log table when an event occurs, and FIG. 9 is a diagram showing an example of the event log table. In FIG. 8, in the printing apparatuses 3a and 3b, the occurrence of various events occurring in the printing apparatuses 3a and 3b is monitored by an event monitoring unit (not shown) (S61). If the occurrence of the event is confirmed (S61). (Yes determination), and stores the event name, the elapsed counter value at the time of event occurrence, and event-related information in the event log table 35 (S62).
[0046]
Here, the event refers to a predetermined event that needs to be stored in the event log table 35, and when a user or an operation manager knows the event, the device usage history or the device status history is obtained. (For example, apparatus startup, date and time information acquisition, printing start, printing completion, paper jam, supply / replacement request for consumables, apparatus error, etc.).
[0047]
Next, it is confirmed whether or not the date and time information has already been obtained from the date and time reference computers 2a-1 and 2b-1 (S63). If it has been obtained (Yes in S63), the obtained date and time information is used as a reference. Then, the elapsed counter value of the occurrence event is converted to an actual time (S64), and the converted actual time is stored in the event log table 35 (S65). The above-described processing is performed each time an event occurs, and is sequentially stored in the event log table 35.
[0048]
In FIG. 9, the event log table 35 includes items such as an event number, a received job name, a job source name, an occurred event name, a counter value, and an occurrence date and time. These item settings, item names, and the like are examples set for convenience of explanation, and are actually set in accordance with the operation of the apparatus and the convenience of use.
The event number is a number obtained by chronologically enumerating the occurrence event, the received job name is the job name from the computer 2a-1 to 2a-n, 2b-1 to 2b-n, the job source name Is the name of the computer that sent the job, the name of the event that occurred is the name of the event that occurred, the counter value that has elapsed when the event occurred (displayed in decimal for convenience of explanation) is the counter value, and the name of the event that occurred is the date and time that the event occurred. The date and time of occurrence are stored.
[0049]
FIG. 10 is a flowchart showing a process of converting the elapsed counter value into the actual time. Note that the process illustrated in FIG. 10 is a process performed by the time conversion unit 34. 10, first, an elapsed counter value (hereinafter, referred to as a reference counter value) at the time when date and time information is acquired from the date and time reference computers 2a-1, 2b-1 is used as a reference for conversion to real time, and a reference counter value; A reference difference value, which is a difference count number from the elapsed counter value of the occurrence event of the real time conversion target (hereinafter, referred to as a target counter value), is calculated (S71).
[0050]
At this time, if the target counter value is smaller than the reference counter value, for example, a negative value (minus ). Here, for convenience of explanation, the progress counter 33 is a count-up operation.
Next, the count number of the reference difference value calculated in the step S71 is converted into an elapsed time as a time (S72). Specifically, since one count time of the elapsed counter 33 is set to a fixed time in advance, the elapsed time can be calculated by multiplying the count number of the reference difference value by one count time.
[0051]
Thereafter, the conversion elapsed time converted in step S72 is added to the reference actual time, that is, the acquired date and time, and converted to an actual time (S73), and the converted actual time is stored in the occurrence date and time of the event log table 35. (S74).
With reference to the contents of the event log table 35 shown in FIG. 9, the process of conversion to actual time will be described more specifically. The date and time “10:30” of the event number “8” (“year / month / day is the same, so the description is omitted”), which is an event of “acquisition of date / time information” from the date / time reference computer 2a-1, is the reference of the actual time. Also, the counter value “5400” becomes the reference counter value.
[0052]
For example, assuming that “printing completed” of the event number “7” is an occurrence event to be converted into a real time, a reference difference value of the target counter value “3000” is calculated based on the reference counter value “5400” and “−2400” (Process of S71). Next, the reference difference value “−2400” is multiplied by one count time (1 second for convenience of explanation) and converted into an elapsed time of “−2400 seconds” (process of S72). Next, the conversion elapsed time “−2400 seconds” (= −40 minutes) is added to the reference actual time “10:30” and converted to the actual time “9:50” (the processing of S73). The converted actual time “9:50” is stored in the date and time of occurrence of the event number “7” (S74).
[0053]
Similar to the above-described conversion to the actual time, the date and time of occurrence of all occurrence events may be similarly obtained and stored in the event log table 35. The process of conversion to the actual time shown in FIG. 10 is an example, and in any case, the acquired date and time information, that is, the elapsed counter value that is an event that occurred in the past when viewed from the actual time of the standard is changed to the actual time of the standard Any processing can be used as long as the processing can be correctly converted to real time based on.
[0054]
In the above processing, when the printing apparatuses 3a and 3b cannot acquire the date and time information from the date and time reference computers 2a-1 and 2b-1 at all, for example, the date and time reference computers 2a-1 and 2b-1 are not present and the power is not supplied. In the case of a closed state or a failure, the elapsed counter value cannot be converted to the actual time because there is no actual time as a conversion reference, and any of the “occurrence date and time” corresponding to each generated event in the event log table 35 is not included. Date and time cannot be stored.
[0055]
In such a case, in response to a print output instruction or a panel display instruction of the print log information (for example, display on the display panel of the printing device 3a or 3b or display on the computer screen at the request of the computer), the date and time information is displayed. The print log information including the elapsed counter value is printed and displayed, although the date and time are not displayed, by displaying and notifying that the data has not been acquired. From the print log information output on which the progress counter value is displayed, the user or the operation manager of the printing apparatuses 3a and 3b can know the relative time relationship and the time interval between the occurrence events.
[0056]
In the above description, a printing device is used as a peripheral device. However, other peripheral devices, such as an image scanner and an external storage device, can be implemented in the same manner as the printing device. It is.
[0057]
【The invention's effect】
As described above, according to the first and third aspects of the present invention, the elapsed time is measured from the time when the peripheral device is turned on and the date and time information acquired from the external device is used as a reference for the actual time. Since the elapsed time can be converted to the actual time, in addition to generating the actual time after the acquisition of the date and time information, it is also possible to generate the actual time that is traced back to the time when the peripheral device is turned on and activated before the acquisition of the date and time information. .
[0058]
Therefore, even if the external device based on the date and time is powered on and activated after the power-on and activation of the peripheral device which does not include the clock IC having the calendar function, the event which has already occurred in the peripheral device before that. In this case, the actual time can be displayed in the log information, and the flexibility of the power-on timing between the external device and the peripheral device based on the date and time can be improved. In particular, when the external device and the peripheral device based on the date and time are installed at geographically separated places via a network or the like, the mutual convenience is improved.
[0059]
According to the second aspect of the present invention, since the external device to which the date / time information is requested can be specified on the peripheral device side, the date / time information sending means is added to all the external devices that control the peripheral device (for example, print request). This eliminates the need to perform the above operation, so that other external devices that are not designated as the external device based on the date and time can save the trouble of adding the date and time information transmitting means.
[0060]
This means that, for example, when the number of external devices based on the date and time is limited to one, other remote external devices connected via a network or the like are equipped with date / time information sending means (for example, a driver dedicated to a peripheral device). Software installation) becomes unnecessary, and the use and operation management of the remote external device becomes easy.
[Brief description of the drawings]
FIG. 1 is a principle configuration diagram of a printing system including a printing apparatus according to the present invention.
FIG. 2 is a configuration diagram of a first embodiment of the present invention.
FIG. 3 is a configuration diagram of a second embodiment of the present invention.
FIG. 4 is a flowchart illustrating a process of requesting and acquiring date and time information (printing device side).
FIG. 5 is a flowchart showing a process for requesting acquisition of date and time information (computer side).
FIG. 6 is a flowchart illustrating processing for extracting and acquiring date and time information from comprehensive print information (printing apparatus side).
FIG. 7 is a flowchart illustrating a process of extracting and acquiring date and time information from comprehensive print information (computer side);
FIG. 8 is a flowchart showing processing of an event log table when an event occurs.
FIG. 9 is a diagram showing an example of an event log table.
FIG. 10 is a flowchart showing a process for converting an elapsed counter value into an actual time;
[Explanation of symbols]
1 printing system
2-1, 2-2, 2-n computer
2a-1,2a-2,2a-n, 2b-1,2b-2,2b-n Computer
3,3a, 3b printing device
4 Network
5-1, 5-2, 5-n clock
6 Date and time information sending means
7 Date and time information acquisition means
8 Elapsed time measuring means
9 Time conversion means
21-1, 21-2, 21-n Date and time timer
22 Date and time information sending unit
23-1, 23-2, 23-n Print information generation unit
24-1, 24-2, 24-n print information sending unit
25-1, 25-2, 25-n interface unit
26 Comprehensive print information sending unit
30 Interface section
31 Date and time information acquisition unit
32 Request destination setting section
33 progress counter
34 Time conversion unit
35 Event Log Table
36 Print information acquisition unit
37 Print Information Processing Unit
38 Printing Department
39 Date and time information extraction unit

Claims (3)

カレンダ機能を有する時計を内蔵する外部装置から日時情報を取得するとともに、外部装置からの制御情報によって制御される周辺機器装置において、
前記周辺機器装置は、
電源投入起動から経過時間を計測する経過時間計測手段と、
外部装置に日時情報を要求し、該要求に応じて送出された日時情報を取得して保持する日時情報取得手段と、
該日時情報取得手段からの日時情報を実時刻の基準として、前記経過時間計測手段による電源投入起動以降の経過時間を実時刻に換算する時刻換算手段と、
を備えることを特徴とする周辺機器装置。
Along with obtaining date and time information from an external device incorporating a clock having a calendar function, in a peripheral device controlled by control information from the external device,
The peripheral device,
An elapsed time measuring means for measuring an elapsed time from power-on startup,
Date and time information requesting means for requesting date and time information from an external device, obtaining and holding date and time information transmitted in response to the request,
Time conversion means for converting the elapsed time since power-on activation by the elapsed time measurement means to real time, using the date and time information from the date and time information acquisition means as a reference for real time,
A peripheral device, comprising:
請求項1記載の周辺機器装置であって、
前記外部装置が複数存在する場合、
前記周辺機器装置は、
前記日時情報の要求先にする外部装置を任意に設定できる要求先設定手段を備えることを特徴とする周辺機器装置。
The peripheral device according to claim 1,
When there are a plurality of the external devices,
The peripheral device,
A peripheral device, comprising: a request destination setting unit that can arbitrarily set an external device to be a request destination of the date and time information.
カレンダ機能を有する時計を内蔵する外部装置から日時情報を取得するとともに、外部装置からの制御情報によって制御される周辺機器装置において、
前記周辺機器装置は、
電源投入起動から経過時間を計測する経過時間計測手段と、
外部装置からの制御情報に付加された日時情報を抽出して保持する日時情報抽出手段と、
該日時情報抽出手段からの日時情報を実時刻の基準として、前記経過時間計測手段による電源投入起動以降の経過時間を実時刻に換算する時刻換算手段と、
を備えることを特徴とする周辺機器装置。
Along with obtaining date and time information from an external device incorporating a clock having a calendar function, in a peripheral device controlled by control information from the external device,
The peripheral device,
An elapsed time measuring means for measuring an elapsed time from power-on startup,
Date and time information extracting means for extracting and holding date and time information added to control information from an external device,
Time conversion means for converting the elapsed time since the power-on by the elapsed time measurement means into real time, using the date and time information from the date and time information extraction means as a reference for real time,
A peripheral device, comprising:
JP2003097445A 2003-03-31 2003-03-31 Peripheral equipment Pending JP2004303095A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003097445A JP2004303095A (en) 2003-03-31 2003-03-31 Peripheral equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003097445A JP2004303095A (en) 2003-03-31 2003-03-31 Peripheral equipment

Publications (1)

Publication Number Publication Date
JP2004303095A true JP2004303095A (en) 2004-10-28

Family

ID=33409228

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003097445A Pending JP2004303095A (en) 2003-03-31 2003-03-31 Peripheral equipment

Country Status (1)

Country Link
JP (1) JP2004303095A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007293861A (en) * 2006-04-25 2007-11-08 Seagate Technology Llc Hybrid computer security clock
US7692819B2 (en) 2004-12-09 2010-04-06 Konica Minolta Business Technologies, Inc. Image processing method and image processing apparatus
US7925894B2 (en) 2001-07-25 2011-04-12 Seagate Technology Llc System and method for delivering versatile security, digital rights management, and privacy services
US8028166B2 (en) 2006-04-25 2011-09-27 Seagate Technology Llc Versatile secure and non-secure messaging
US8429724B2 (en) 2006-04-25 2013-04-23 Seagate Technology Llc Versatile access control system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7925894B2 (en) 2001-07-25 2011-04-12 Seagate Technology Llc System and method for delivering versatile security, digital rights management, and privacy services
US7692819B2 (en) 2004-12-09 2010-04-06 Konica Minolta Business Technologies, Inc. Image processing method and image processing apparatus
JP2007293861A (en) * 2006-04-25 2007-11-08 Seagate Technology Llc Hybrid computer security clock
US8028166B2 (en) 2006-04-25 2011-09-27 Seagate Technology Llc Versatile secure and non-secure messaging
US8281178B2 (en) 2006-04-25 2012-10-02 Seagate Technology Llc Hybrid computer security clock
US8429724B2 (en) 2006-04-25 2013-04-23 Seagate Technology Llc Versatile access control system

Similar Documents

Publication Publication Date Title
US6631407B1 (en) Device management network system, management server, and computer readable medium
US8553244B2 (en) Notification method, management apparatus and client apparatus
JP5539043B2 (en) Information transmitting apparatus, information transmitting apparatus control method, and computer program
US8223365B2 (en) Apparatus and method for metering and monitoring print usage at non-network printers
US9588722B2 (en) Printer with a web browser for sending status information to a server
US20040141201A1 (en) Device management method
JP2005001128A (en) Printer and network printing system
JP2011076308A (en) Image forming system and image forming apparatus
JP5001844B2 (en) POS terminal device and driving method of POS peripheral device
JP2004303095A (en) Peripheral equipment
CN100524193C (en) Information processing system and information processing method
JP2006155367A (en) Image forming apparatus, data processing method, image forming method, and program
JP5862011B2 (en) Device management apparatus, device setting method, and device setting program
JP3933018B2 (en) Printer and information processing apparatus
JP2015052900A (en) Schedule-linked print service device, schedule-linked print service system, and schedule-linked print program
JP2004280212A (en) Processing device connected to network, processing device setting method, and network processing system
JP2000222316A (en) Method for managing execution of tool and integral operation management system
JP4690798B2 (en) Network equipment
JP5442498B2 (en) Image forming apparatus system
JP2013127775A (en) Analysis system and method thereof
JP4142361B2 (en) Device management system, management device, and managed device
KR100583459B1 (en) State information management system of network image forming apparatus and its management method
JP2005100348A (en) Print processing apparatus, image processing apparatus, print processing apparatus control method, print processing apparatus control program, and recording medium
JP6016740B2 (en) Schedule-linked printing service device, schedule-linked printing service system, and schedule-linked printing program
JP5863690B2 (en) Device management system, device management method, and device management program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060223

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080702

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090120

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090623