JP2004157833A - Peripheral equipment - Google Patents

Peripheral equipment Download PDF

Info

Publication number
JP2004157833A
JP2004157833A JP2002323816A JP2002323816A JP2004157833A JP 2004157833 A JP2004157833 A JP 2004157833A JP 2002323816 A JP2002323816 A JP 2002323816A JP 2002323816 A JP2002323816 A JP 2002323816A JP 2004157833 A JP2004157833 A JP 2004157833A
Authority
JP
Japan
Prior art keywords
job
information
command
log
processing
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
JP2002323816A
Other languages
Japanese (ja)
Inventor
Takashi Inoue
敬史 井上
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP2002323816A priority Critical patent/JP2004157833A/en
Publication of JP2004157833A publication Critical patent/JP2004157833A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To surely grasp the processing condition or processing result of a job even after information associated with a job requested from a user to peripheral equipment is not the target of management of the peripheral equipment any more without imposing any load on a system resource. <P>SOLUTION: When a job is requested by an external device, job identification information which can be uniquely specified in a system is set in a job request command. Peripheral equipment a01 extracts job discrimination information according to the job request, and manages it in a job queue since job execution until job completion, and manages it in log information in the peripheral equipment a01 after the job completion. Also, a log management server a05 for managing the log information of the peripheral equipment a01 exists, and the log management server a05 acquires and manages a log from the peripheral equipment a01. When confirming the processing result of the job for the peripheral equipment a01, the inside of the job queue or log information of the peripheral equipment a01 is searched, and when any desired job is not found out in either of them, the inside of the log management server is further searched. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
本発明は、外部から送信される制御コマンドを解析して所定のジョブ要求およびジョブ管理要求を処理する周辺機器の制御に関するものである。
【0002】
【従来の技術】
従来、プリンタ、スキャナ、複写機、FAX等の周辺機器においては、ユーザが依頼したジョブの処理状況を確認するコマンドが用意されており、それを利用して、ユーザは投入したジョブの処理状況や処理結果を知ることができるように構成されている。
【0003】
また、周辺機器から自主的にジョブの処理状況や処理結果を通知することができるように構成されている。
【0004】
さらに、記録媒体(ハードディスク装置などを利用)を周辺機器に実装することで、ジョブ処理の完了後、その処理結果や諸処の情報をログ情報として書き込むことが可能に構成され、ユーザはそのログ情報を取得することで、ジョブの処理結果などを確認することができるように構成されている。
【0005】
【発明が解決しようとする課題】
従来の周辺機器は上記のように構成されているので、周辺機器内のジョブ管理資源は有限であり、多数のジョブを永続して管理することはできない。
【0006】
よって、周辺機器内におけるジョブ管理は、そのジョブの受付後からジョブが完了するまでの間だけである。そのため、ジョブの処理状況の確認も、ジョブの受付後からジョブが完了するまでの間のみが有効であり、ジョブ処理完了後は処理状況を確認できなくなってしまう。
【0007】
また、周辺機器から自主的にジョブの処理状況や処理結果を伝えるとしても、ネットワークやユーザ側の装置の不具合などによって、一時的に情報を引き渡せない場合もある。
【0008】
さらに、ログとして記録される情報は、大量のデータとなっている場合が多い。そのため、取得には長い時間を要し、ネットワーク資源にも負荷をかけることになる。周辺機器では、複数のユーザからのジョブを受付けることが可能なので、これら複数のユーザがログ取得を行なおうとすれば、周辺機器やネットワークの負担は倍加する。
【0009】
さらに、周辺機器が保持できるログの容量も有限であり、周辺機器内で実行されたジョブすべての情報を記録しておくことはできない。
【0010】
通常、一定量のログが記録されると、最も古いログが消去され、新たなログが書き込まれていく。そのため、大量のジョブが一時に処理される場合などには、特定ジョブの処理結果を得ようとしても、ログの上書きが発生してしまい、必要な情報を取りこぼしてしまう可能性もある等の幾多の問題点があった。
【0011】
本発明は、上記の問題点を解決するためになされたもので、本発明の目的は、所定のジョブ処理を要求する制御コマンドの受付に応じて、該ジョブの管理情報を記憶装置内に一時的に生成し、ジョブ処理を要求する制御コマンドより、周辺機器外で付与されたジョブ識別情報および機能設定情報を取り出し、ジョブの管理情報内に記録し、ジョブ処理を要求する制御コマンドに応じてジョブ処理を行ない、ジョブの開始から終了までの一連の処理状況をジョブ受付手段で生成されるジョブの管理情報内に管理し、ジョブ処理の完了に伴い、ジョブのログ情報を記憶装置内に生成し、ジョブ識別情報および機能設定情報、処理結果をログ情報内に記録し、周辺機器と接続可能な、ログ情報を外部で永続管理するサーバ装置を設定し、設定されたサーバ装置にログ情報をアップロードし、ジョブ管理を要求する制御コマンドに基づき、管理情報あるいはログ情報より指定のジョブ識別情報を探索し、管理情報より指定のジョブ識別情報を探索できた場合に、該当するジョブの機能設定情報および処理状況を取得して、ジョブ探索要求元に返信し、ログ情報より指定のジョブ識別情報を探索できた場合に、該当するジョブの機能設定情報および処理結果を取得して、ジョブ探索要求元に返信し、管理情報およびログ情報いずれからも指定のジョブ識別情報を探索できなかった場合に、サーバ装置に対して指定のジョブ識別情報に基づくログ情報の取得を要求し、該当するジョブの機能設定情報および処理結果を取得して、ジョブ探索要求元に返信することにより、システム資源に負荷をかけることなく、また、ネットワーク上のトラフィック負担を強いることなく、ユーザが周辺機器に依頼したジョブに関する情報が周辺機器の管理対象外となった後でも、ジョブの処理状況や処理結果を確実に把握可能なジョブ処理管理環境を自在に構築できる周辺機器を提供することである。
【0012】
【課題を解決するための手段】
本発明に係る第1の発明は、外部から送信される制御コマンドを解析して所定のジョブ処理要求、ジョブ管理要求、ログ管理要求を処理する周辺機器であって、
前記所定のジョブ処理を要求する制御コマンドの受付に応じて、該ジョブの管理情報を記憶装置内に一時的に生成するジョブ受付手段(例えば図1に示す周辺機器a01内のコントローラによるジョブ受付機能に相当)と、前記ジョブ処理を要求する制御コマンドより、前記周辺機器外で付与されたジョブ識別情報および機能設定情報を取り出し、前記ジョブ受付手段で生成される該ジョブの管理情報内に記録するジョブ属性設定手段(例えば図1に示す周辺機器a01内のコントローラによるジョブ属性設定機能に相当)と、前記ジョブ処理を要求する制御コマンドに応じてジョブ処理を行ない、該ジョブの開始から終了までの一連の処理状況を前記ジョブ受付手段で生成される該ジョブの管理情報内に管理するジョブ管理手段(例えば図1に示す周辺機器a01内のコントローラによるジョブ管理機能に相当)と、前記ジョブ処理の完了に伴い、該ジョブのログ情報を前記記憶装置内に生成し、該ジョブの前記ジョブ識別情報および機能設定情報、該ジョブの処理結果をログ情報内に記録するログ記録手段(例えば図1に示す周辺機器a01内のコントローラによるログ記録機能に相当)と、前記周辺機器と接続可能な、前記ログ情報を外部で永続管理するサーバ装置を設定するサーバ設定手段(例えば図1に示す周辺機器a01内のコントローラによるサーバ設定機能に相当)と、前記サーバ設定手段で設定されたサーバ装置に、前記ログ情報をアップロードするアップロード手段(例えば図1に示す周辺機器a01内のコントローラによるログアップロード機能に相当)と、前記ジョブ管理を要求する制御コマンドに基づき、前記管理情報あるいは前記ログ情報より指定のジョブ識別情報を探索する探索手段(例えば図1に示す周辺機器a01内のコントローラによるジョブ探索機能に相当)と、前記探索手段において、前記管理情報より指定のジョブ識別情報を探索できた場合に、前記管理情報より該当するジョブの機能設定情報および処理状況を取得して、ジョブ探索要求元に返信する管理情報返信手段(例えば図1に示す周辺機器a01内のコントローラによる管理情報返信機能に相当)と、前記探索手段において、前記ログ情報より指定のジョブ識別情報を探索できた場合に、前記ログ情報より該当するジョブの機能設定情報および処理結果を取得して、ジョブ探索要求元に返信するログ情報返信手段(例えば図1に示す周辺機器a01内のコントローラによるログ情報返信機能に相当)と、前記探索手段において、前記管理情報および前記ログ情報いずれからも指定のジョブ識別情報を探索できなかった場合に、前記サーバ装置に対して指定のジョブ識別情報に基づくログ情報の取得を要求し、該当するジョブの機能設定情報および処理結果を取得して、ジョブ探索要求元に返信するサーバログ情報返信手段(例えば図1に示す周辺機器a01内のコントローラによるサーバログ情報返信機能に相当)と、を有することを特徴とする。
【0013】
【発明の実施の形態】
図1は、本発明の一実施形態を示す周辺機器を適用可能なデータ処理システムの一例を示す構成図である。
【0014】
図1において、a01は周辺機器で、例えばプリントやスキャン、コピー、FAX送受信といったジョブ処理を行なう機器である。a02〜a04はPC(パーソナルコンピュータ)で、ネットワークa10経由で周辺機器a01と接続される。a05はログ管理サーバであり、ネットワークa10経由で周辺機器a01と接続されている。ログ管理サーバa05は、定期的に周辺機器a01からログ情報を読み出し、ログ管理サーバ内の記憶装置内でログ情報を永続的に管理する。ログ管理サーバa05が複数の周辺機器a01のログ情報を管理するよう構成してもよい。ネットワークa10による接続には、LANやWANによる接続、IEEE1284/1394やUSBなどによる接続が考えられる。
【0015】
図1では、周辺機器a01とLANを介して接続されたPCa02の例、同WANを介して接続されたPCa03の例、同IEEE1284/1394やUSBなどを介して接続されたPCa04の例を示している。また、周辺機器a01と接続されるのは、PCのほか、ワークステーションや他の周辺機器、その他の機器であってもよい。
【0016】
周辺機器a01内には、コントローラと呼ばれる制御ソフトウエアが動作しており、プリントやスキャン、コピー、FAX送受信といったジョブ処理や、周辺機器a01の属性情報の問い合わせを処理する。また、本発明によるジョブ受付機能、ジョブ属性設定機能、ジョブ管理機能、ログ記録機能、サーバ設定機能、ログアップロード機能、ジョブ探索機能、管理情報返信機能、ログ情報返信機能、サーバログ情報返信機能は、このコントローラの処理する機能である。
【0017】
周辺機器a01内もしくはPCa02〜a04内で動作するジョブ発行ソフトウエアは、周辺機器a01内のコントローラに対して、プリントやスキャン、コピー、もしくはFAX送受信といったジョブ処理を依頼する。また同様に、周辺機器a01内もしくはPCa02〜a04内で動作するジョブ監視ソフトウエアは、周辺機器a01内のコントローラに依頼したジョブ処理の状況や結果の監視を行なう。なお、ジョブ発行ソフトウエアとジョブ監視ソフトウエアとを一体化し、一つのソフトウエアとして構成してもよい。
【0018】
ログ管理サーバa05内で動作するログ管理ソフトウエアは、定期的に周辺機器a01にアクセスし、周辺機器a01内のログ情報を取得する。ネットワークa10内に複数の周辺機器a01が接続されている場合、ログ管理ソフトウエアはこれら複数の周辺機器のログ情報を管理できるようになっている。また、周辺機器a01より指定のジョブ識別情報に基づくログ情報の取得が要求された場合、ログ管理ソフトウエアは該当するジョブのログ情報を周辺機器a01に返信する。あるいは、周辺機器a01を経由させることなく、ジョブ探索を依頼したジョブ監視ソフトウエアの動作するPCa02〜a04に、直接ログ情報を返信するよう構成してもよい。
【0019】
図2は、図1に示した周辺機器a01のハードウエア構成を示した概略図である。
【0020】
図2において、周辺機器a01では、CPUb01、RAMb02、ROMb03、DISKb04、LCDb05、キーボードb06、通信インタフェースb07、スキャナエンジンb08、プリンタエンジンb09、FAXボードb10が、システムバスb20を介して相互に接続されている。
【0021】
CPUb01は、コントローラあるいはジョブ発行/監視ソフトウエアを実行する主体であり、周辺機器a01を構成する各ユニットb02〜b10は、特に断らない限り、CPUb01によって制御される。コントローラあるいはジョブ発行/監視ソフトウエアのプログラムは、ROMb03もしくはDISKb04に記憶されており、必要に応じてRAMb02に読み出され、CPUb01が実行する。
【0022】
また、これらのプログラムは、LCDb05を通じて情報を表示する、キーボードb06からユーザの指示を受ける、通信インタフェースb07を通じて外部と通信する、といった処理を行なう。
【0023】
ROMb03、DISKb04には、コントローラやジョブ発行/監視ソフトウエアのプログラム以外に、周辺機器a01の能力を示す属性情報、当該周辺機器a01で処理されるジョブの能力を示す属性情報を記憶している。
【0024】
また、RAMb02、DISKb04には、周辺機器a01の状態を示す属性情報、当該周辺機器a01のログ情報を管理するログ管理サーバa05を示す属性情報、当該周辺機器a01で処理されるジョブの状態を示す属性情報、ジョブ処理に伴って指定された機能を示す属性情報、処理対象となるジョブデータ、処理完了したジョブのログ情報を記憶管理している。
【0025】
さらに、RAMb02には、ジョブの実行順序や、ジョブの属性情報および処理対象となるジョブデータを管理するジョブキューを記憶している。
【0026】
通信インタフェースb07は、例えばイーサネット(登録商標)やIEEE1284によるインタフェース、もしくはその他の媒体による通信インタフェースが考えられる。
【0027】
スキャナエンジンb08、プリンタエンジンb09、FAXボードb10は、コントローラによって制御され、スキャンジョブ処理、プリントジョブ処理、FAX送受信処理を行なう。
【0028】
以上のような構成を有する周辺機器a01は、スキャナエンジンb08によりスキャンジョブ処理を、プリンタエンジンb09によりプリントジョブ処理を、スキャナエンジンb08とプリンタエンジンb09によりコピージョブ処理を、スキャナエンジンb08とプリンタエンジンb09とFAXボードb10によりFAX受信ジョブ処理及びFAX送信ジョブ処理を可能にする。
【0029】
図3は、図1に示したPCa02〜a04およびログ管理サーバa05のハードウエア構成を示した概略図である。
【0030】
図3において、PCa02〜a04およびログ管理サーバa05では、CPUc01、RAMc02、ROMc03、DISKc04、CRTc05、キーボードc06、ポインティングデバイスc07、通信インタフェースc08が、システムバスc20を介して相互に接続されている。
【0031】
CPUc01は、PCa02〜a04およびログ管理サーバa05を制御するオペレーションシステム(以下OS)あるいはジョブ発行/監視ソフトウエア、ログ管理ソフトウエアを実行する主体であり、PCa02〜a04およびログ管理サーバa05を構成する各ユニットc02〜c08は、特に断らない限り、CPUc01によって制御される。OSあるいはジョブ発行/監視ソフトウエア、ログ管理ソフトウエアのプログラムは、ROMc03もしくはDISKc04に記憶されており、必要に応じてRAMc02に読み出され、CPUc01によって実行される。
【0032】
また、これらのプログラムは、CRTc05を通じて情報を表示する、キーボードc06およびポインティングデバイスc07からユーザの指示を受ける、通信インタフェースc08を通じて外部と通信する、といった処理を行なう。
【0033】
ログ管理サーバa05のDISKc04には、周辺機器a01から取得したログ情報が記録されている。ログ管理ソフトウエアが複数の周辺機器a01を管理している場合は、その管理している周辺機器ごとにログ情報も管理されている。
【0034】
図4は、本発明に係る情報処理装置におけるジョブ処理を指示するコマンド群(ジョブ実行依頼コマンド)の一例を示す図である。
【0035】
本コマンド群は、後述する図11に示す処理フローによって生成され、ジョブ発行ソフトウエアから周辺機器a01内のコントローラに送付される。ジョブ発行ソフトウエアが周辺機器a01内で動作する場合、同じくPCa02〜a04で動作する場合、いずれも本発明の適用範囲である。また、これらのコマンド群は、周辺機器a01内で図6および図8の処理フローによって処理される。
【0036】
図4において、ジョブ処理を指示するコマンド群は、ジョブ投入開始コマンドd01、ジョブ属性設定コマンドd02、ジョブデータ送信コマンドd03、ジョブ投入完了コマンドd04により構成される。
【0037】
ジョブ投入開始コマンドd01は、コントローラにジョブ投入の開始を通知するコマンドである。コントローラは、ジョブ投入開始コマンドd01の受け取りにより、ジョブ処理を行なうための準備を開始する。
【0038】
ジョブ属性設定コマンドd02は、ジョブを識別するための情報や、ジョブの機能を決定付けるジョブ属性d11〜d1nを設定するためのコマンドである。本コマンドでは複数のジョブ属性を連続して設定することができる。図4では、ジョブ属性として、ジョブ名d11、ジョブ識別情報d12、データ形式d13を挙げているが、この他にも、ジョブ種別、用紙選択、コピー部数などといった情報がある。
【0039】
ジョブデータ送信コマンドd03は、画像データなどジョブ処理の対象となるデータを送信するコマンドである。ただし、ジョブの内容によっては、処理対象となるデータを必要としない場合もあるので、その場合は本コマンドを省略してもよい。
【0040】
ジョブ投入完了コマンドd04は、ジョブ処理を指示するコマンド群がすべて送付されたことを示すためのコマンドである。
【0041】
なお、ジョブ投入開始コマンドd01からジョブ投入完了コマンドd04までの一連のコマンド群が1つのジョブ実行依頼コマンドとして解釈される。
【0042】
図5は、図1に示した周辺機器a01のRAMb02内に確保されるジョブの管理情報(以下ジョブキュー)の一例を示す図である。
【0043】
図5において、e01〜e0nの各レコードは、周辺機器内で処理中のジョブそれぞれに対応しており、周辺機器a01がジョブ投入開始コマンドd01を受け取った際、図8に示す処理フローにより周辺機器a01のRAMb02内にジョブキューの1レコードが追加される。また、ジョブ処理が完了すると、ジョブキュー内の対応するレコードは消去される。
【0044】
ジョブキューの1レコードには、ジョブ属性エントリe04とジョブデータエントリe05が含まれている。
【0045】
ジョブ属性エントリe04は、そのジョブに関するさまざまな属性の実体を保持するテーブルへのエントリである。このテーブルには、ジョブ発行ソフトウエアがジョブ属性設定コマンドd02によって指示したジョブ属性(e11〜e1n)や、ジョブ処理に伴って変化していくジョブ属性(e21〜e2n)が記憶されている。図中、前者の例としてジョブ名e11、ジョブ識別情報e12、データ形式e13を、後者の例としてジョブの処理状況e21、ジョブの投入時間e22、ジョブ処理の開始時間e23をあげているが、この他にもさまざまなジョブ属性が考えられる。なお、テーブル内のジョブ属性の実体は、周辺機器a01のRAMb02に記憶するようにしてもよいし、DISKb04に記憶するようにしてもよい。あるいは、ジョブ属性エントリe04内にジョブ属性の実体を記憶しておき、アクセスしやすいように構成してもよい。
【0046】
ジョブデータエントリe05は、ジョブ発行ソフトウエアがジョブデータ送信コマンドにより送ったジョブデータe31の記憶領域へのエントリである。なお、ジョブデータe31の記憶領域は、周辺機器a01のRAMb02に持ってもよいし、DISKb04に持つようにしてもよい。
【0047】
図6は、本発明に係る周辺機器における第1のデータ処理手順の一例を示すフローチャートであり、図1に示した周辺機器a01内で処理されるコマンドの処理手順に対応する。なお、これらのコマンドはジョブ発行/監視ソフトウエアおよびログ管理ソフトウエアが発行するものであり、本処理フローは周辺機器a01内のコントローラが処理する。また、(1)〜(14)は各ステップを示す。
【0048】
まず、ステップ(1)では、受信したコマンド及びそのパラメータの解析を行い、受信コマンドが属性アクセスコマンドであると判断された場合は、ステップ(4)以降へ進み、詳細は後述する属性アクセスコマンド処理を実行して(5)、返信コマンドを送信して(14)、処理を終了する。
【0049】
一方、ステップ(1)の解析により、受信コマンドがジョブ実行依頼コマンドであると判断された場合は、ステップ(6)以降へ進み、詳細は後述するジョブ実行依頼コマンド処理を実行して(7)、返信コマンドを送信して(14)、処理を終了する。
【0050】
一方、ステップ(1)の解析により、受信コマンドがジョブ一覧取得コマンドであると判断された場合は、ステップ(8)以降へ進み、詳細は後述するジョブ一覧取得コマンド処理を実行して(9)、返信コマンドを送信して(14)、処理を終了する。
【0051】
一方、ステップ(1)の解析により、受信コマンドがジョブ探索コマンドであると判断された場合は、ステップ(10)以降へ進み、詳細は後述するジョブ探索コマンド処理を実行して(11)、返信コマンドを送信して(14)、処理を終了する。
【0052】
一方、ステップ(1)の解析により、受信コマンドがログ取得コマンドであると判断された場合は、ステップ(12)以降へ進み、詳細は後述するログ取得コマンド処理を実行して(13)、返信コマンドを送信して(14)、処理を終了する。
【0053】
一方、ステップ(1)の解析により、受信コマンドが上記コマンド以外の他のコマンドであると判断された場合は、ステップ(2)以降へ進み、その他のコマンド処理を実行して(3)、返信コマンドを送信して(14)、処理を終了する。その他のコマンド処理については、本発明と直接関わるものではないので、ここでは詳述しない。
【0054】
図7は、本発明に係る周辺機器における第2のデータ処理手順の一例を示すフローチャートであり、図1に示した周辺機器a01内で処理される属性アクセスコマンドの処理手順に対応する。本処理手順は、図6に示したステップ(5)を詳細に説明するものであり、周辺機器a01内のコントローラが処理する。なお、(21)〜(28)は各ステップを示す。
【0055】
ステップ(21)以降の各ステップは、図6に示したステップ(1)の解析の結果、受信コマンドが属性アクセスコマンドであると判断された場合の処理であり、まず、ステップ(21)では、図6に示したステップ(1)と同様に、コマンド及びそのパラメータを解析して、受け取ったコマンドが属性取得コマンドであるか、それとも属性変更コマンドであるかを判断する。受信コマンドがジョブ実行依頼コマンドであると判断された場合(22)、ステップ(23)で、指定された属性が取得可能なものであるかを判断して、指定された属性が取得可能なものであると判断した場合は、ステップ(24)へと進み、指定された属性が取得可能なものでないと判断した場合は、ステップ(25)へと進む。
【0056】
そして、ステップ(24)では、指定された属性に応じて、周辺機器a01のRAMb02、ROMb03、DISKb04を適宜アクセスし、指定された属性値を取得する。ここで取得できる属性には、周辺機器a01の能力を示す属性情報、当該周辺機器a01で処理されるジョブの能力を示す属性情報、周辺機器a01の状態を示す属性情報、当該周辺機器a01で処理されるジョブの状態を示す属性情報、ジョブ処理に伴って指定された機能を示す属性情報などが含まれる。また、図5に示したジョブ識別情報e12やジョブの処理状況e21、図13に示す周辺機器の状態h01やログ管理サーバ情報h02も取得可能な属性として含まれていることは言うまでもない。その後、取得した属性値を設定した返信コマンドを生成し、本処理フローを終了する。
【0057】
一方、ステップ(21)の解析の結果、受信コマンドが属性変更コマンドであると判断された場合(26)、ステップ(27)で、指定された属性が変更可能なもの(ジョブ名e11、ログ管理サーバ情報h02など)であるかを判断して、指定された属性が変更可能なものであると判断した場合は、ステップ(28)へと進み、指定された属性が変更可能なものでないと判断した場合は、ステップ(25)へと進む。
【0058】
そして、ステップ(28)では、指定された属性に応じて、周辺機器a01のRAMb02、DISKb04を適宜アクセスし、指定された属性値に変更する。ここで変更できる属性には、図5で説明したさまざまなジョブ属性のうち変更が可能なもの(ジョブ名e11など)や、図13で説明するさまざまな管理用属性のうち変更が可能なもの(ログ管理サーバ情報h02など)が含まれていることは言うまでもない。その後、変更結果を設定した返信コマンドを生成し、本処理フローを終了する。
【0059】
一方、ステップ(25)は、指定された属性が取得不可能、あるいは変更不可能なものであった場合のエラー処理を行なう。ここでは、エラーを示す返信コマンドを生成し、本処理フローを終了する。
【0060】
本処理フロー終了後は、図6に示したステップ(14)へと進み、返信コマンドを送信する。以上で、周辺機器a01におけるコマンド処理フローが完了する。
【0061】
図8は、本発明に係る周辺機器における第3のデータ処理手順の一例を示すフローチャートであり、図1に示した周辺機器a01内で処理されるジョブ実行依頼コマンドの処理フローに対応する。本処理フローは、図6に示したステップ(7)の詳細手順に対応するものであり、周辺機器a01内のコントローラが処理する。なお、(31)〜(47)は各ステップを示す。
【0062】
ここでジョブ実行依頼コマンドは、ジョブ投入開始コマンドd01、ジョブ属性設定コマンドd02、ジョブデータ送信コマンドd03、ジョブ投入完了コマンドd04という複数のコマンド群によって構成されており、それぞれのコマンドについて処理が行なわれる。
【0063】
まず、ステップ(31)では、最初のコマンド及びそのパラメータを取り出して、その解析を行なう。そして、ステップ(32)では、ステップ(31)で取り出したコマンドがジョブ投入開始コマンドd01であるかどうかを判断して、該コマンドがジョブ投入開始コマンドd01であると判断した場合は、ステップ(33)へと進み、該コマンドがジョブ投入開始コマンドd01でないと判断した場合は、ステップ(47)へと進む。
【0064】
そして、ステップ(33)では、ジョブ投入開始コマンドd01に関する処理を行なう。ここでは、新たなジョブ用にジョブキューのレコードを追加し、ジョブ属性エントリe04やジョブデータエントリe05、ジョブ属性の実体を格納するテーブルなどの初期化処理などを行なう。
【0065】
次に、ステップ(34)では、ジョブ投入開始コマンドd01に続く次のコマンドおよびそのパラメータを取り出し、その解析を行なう。なお、ジョブ投入開始コマンドd01に続くコマンドは、1個以上のジョブ属性設定コマンドd02でなければならない。
【0066】
そして、ステップ(35)では、ステップ(34)で取り出したコマンドが1個以上のジョブ属性設定コマンドd02であるかどうかを判断して、コマンドがジョブ属性設定コマンドd02であると判断した場合は、ステップ(36)へと進み、コマンドがジョブ属性設定コマンドd02でないと判断した場合は、ステップ(47)へと進む。
【0067】
なお、ステップ(36)からステップ(38)までは、受け取った複数個のジョブ属性設定コマンドd02それぞれについて処理を繰り返し行なう。
【0068】
ここで、ステップ(36)は、上記繰り返し処理の開始を示し、ステップ(37)では、ジョブ属性設定コマンドd02に関する処理を行なう。ここでは、指定された属性を周辺機器a01のRAMb02あるいはDISKb04内のジョブ属性テーブルに記憶する。このジョブ属性テーブルは、ジョブに対応するジョブキューの属性エントリe04から参照される。また、指定された属性値にしたがって、必要なジョブ機能を準備する。ここで記憶される属性には、ジョブ識別情報e12も含まれていることは言うまでもない。
【0069】
次に、ステップ(38)は、上記繰り返し処理の終了を示す。ここでは、さらにジョブ設定コマンドd02があるかどうかをチェックし、さらにジョブ設定コマンドd02があると判断した場合は、ステップ(36)に戻り、ジョブ設定コマンドd02がないと判断した場合は、ステップ(39)へと進む。
【0070】
そして、ステップ(39)では、ジョブ属性設定コマンドd02に続く次のコマンドおよびそのパラメータを取り出し、その解析を行なう。
【0071】
なお、ジョブ属性設定コマンドd02に続くコマンドは、ジョブデータ送信コマンドd03でなければならない。
【0072】
ただし、ジョブの種類に応じて、ジョブデータ送信を省略してもよい。その場合、ジョブ属性設定コマンドd02の後、ジョブ投入完了コマンドd04が続く。
【0073】
次に、ステップ(40)では、ステップ(39)で取り出したコマンドがジョブデータ送信コマンドd03であるかどうかを判断して、コマンドがジョブデータ送信コマンドd03であると判断した場合は、ステップ(41)へと進み、コマンドがジョブデータ送信コマンドd03でないと判断した場合は、ステップ(43)へと進む。
【0074】
そして、ステップ(41)では、ジョブデータ送信コマンドd03に関する処理を行なう。ここでは、送信されたジョブデータを周辺機器a01のRAMb02あるいはDISKb04内の記憶領域に記憶する。この記憶領域は、ジョブに対応するジョブキューのジョブデータエントリe05から参照される。また、指定されたジョブデータにしたがって、必要なジョブの機能を準備する。
【0075】
次に、ステップ(42)では、ジョブデータ送信コマンドd03に続く次のコマンドおよびそのパラメータを取り出し、その解析を行なう。
【0076】
そして、ステップ(43)では、ステップ(39)あるいはステップ(42)で取り出したコマンドがジョブ投入完了コマンドd04であるかどうかを判断して、コマンドがジョブ投入完了コマンドd04であると判断した場合は、ステップ(44)へと進み、コマンドがジョブ投入完了コマンドd04でないと判断した場合は、ステップ(47)へと進む。
【0077】
そして、ステップ(44)では、ジョブ投入完了コマンドd04に関する処理を行なう。ここでは、指定されたジョブ機能やジョブデータにしたがって、周辺機器a01内でジョブ実行に必要な各種の資源を確保し、実行順序の決定などジョブ処理を行なうための準備を行なう。
【0078】
なお、ジョブ処理を行なうための準備については、処理を効率よく進めるため、必要な資源が決定できた段階(ステップ(36)以降)で逐次行なうように構成してもよい。
【0079】
次に、ステップ(45)では、指定されたジョブ機能やジョブデータにしたがって、周辺機器a01内でジョブ実行処理を行なう。
【0080】
なお、ジョブのスケジューリングに関する属性指定や、ジョブキューにおける他のジョブの待ち状態によっては、本ステップがすぐに処理されず、実行可能な段階になってから処理される場合もある。あるいは、処理を効率よく進めるため、必要な資源が確保できた段階(ステップ(36)以降)で、本ステップを先行して行なうように構成してもよい。
【0081】
次に、ステップ(46)では、ジョブ完了処理後のさまざまな後処理を行なう。まず、ジョブ処理に利用した各種の資源を解放する。その後、ジョブの終了結果や、ジョブを特定するために必要な属性値などが、周辺機器a01のRAMb02あるいはDISKb04内に設けられたログ情報として記録される。ここで記録される情報には、図16に示すログ情報で説明するジョブ識別情報216やジョブの処理結果214も含まれていることは言うまでもない。さらに、完了したジョブに対応するジョブキューのレコードが削除され、ジョブ属性エントリe04やジョブデータエントリe05、ジョブ属性の実体を格納するテーブル、ジョブデータの記憶領域などの解放処理を行なう。これらの処理を行なった後、本処理フローを終了する。
【0082】
ステップ(47)では、コマンドが正しい順序で送られなかった場合のエラー処理を行なう。
【0083】
この場合、エラーを示す返信コマンドを生成し、ジョブ処理を行なわずに本処理フローを終了する。なお、正しいコマンドが得られるまで、以降のコマンド受信をスキップするよう構成してもよい。
【0084】
なお、ステップ(33)以降、それぞれの処理にしたがってジョブの処理状態が変化していくが、それにしたがって、ジョブキューのジョブ属性テーブル内に記憶されているジョブの処理状況e21、ジョブの投入時間e22、ジョブ処理の開始時間e23などが逐次更新されていくことは言うまでもない。
【0085】
本処理フロー終了後は、図6に示したステップ(14)へと進み、返信コマンドを送信する。以上で、周辺機器a01におけるコマンド処理フローが完了する。
【0086】
図9は、本発明に係る周辺機器における第4のデータ処理手順の一例を示すフローチャートであり、図1に示した周辺機器a01内で処理されるジョブ一覧取得コマンドの処理フローに対応する。本処理フローは、図6に示したステップ(9)を詳細に説明するものであり、周辺機器a01内のコントローラが処理する。なお、(51)〜(53)は各ステップを示す。また、ステップ(51)からステップ(53)までは、周辺機器a01のRAMb02内のジョブキューにおいて、実行中あるいは実行待ち状態のジョブすべてについて処理を繰り返し行なうものとする。
【0087】
まず、ステップ(51)は、上記繰り返し処理の開始を示す。
【0088】
次に、ステップ(52)では、ジョブ一覧取得コマンドで指定されたジョブ属性の取得処理を行なう。ここでは、ジョブキュー内の実行中あるいは実行待ちのジョブに関するレコードにアクセスし、指定されたジョブ属性の値をジョブ属性データエントリe04を通じて取り出し、返信コマンドに設定する。ここで取得できる属性には、ジョブ識別情報e12やジョブの処理状況e21も含まれていることは言うまでもない。
【0089】
なお、ジョブ一覧取得コマンドでは、複数の属性を取得できるよう構成してもよい。また、指定された属性が取得できないものであった場合は、図7の属性アクセスコマンド処理にて説明したように、エラーを示す返信コマンドを生成するよう構成してもよい。さらに、指定された複数の属性の中で一部の属性のみが取得できないものであった場合は、その一部の属性のみを除き、属性値を取得できるよう構成してもよい。
【0090】
次に、ステップ(53)は、上記繰り返し処理の終了を示す。ここでは、ジョブキュー内に実行中あるいは実行待ちのジョブに対応するレコードがまだあるかどうかをチェックし、ジョブに対応するレコードがまだあると判断した場合は、ステップ(51)に戻り、なければ本処理フローを終了する。
【0091】
本処理フロー終了後は、図6のステップ(14)へと進み、返信コマンドを送信する。以上で、周辺機器a01におけるコマンド処理フローが完了する。
【0092】
図10は、本発明に係る周辺機器における第5のデータ処理手順の一例を示すフローチャートであり、図1に示した周辺機器a01内で処理されるジョブ探索コマンドの処理フローに対応する。本処理フローは、図6に示したステップ(11)を詳細に説明するものであり、周辺機器a01内のコントローラが処理する。なお、(61)〜(67)は各ステップを示す。
【0093】
まず、ステップ(61)では、ジョブ探索コマンドで指定されたジョブ識別情報が設定されているジョブを、周辺機器a01内のジョブキューより探索する。コントローラは、ジョブキュー内の実行中あるいは実行待ちのジョブに関するジョブキューの各レコードをアクセスし、ジョブ属性エントリe04を通じてジョブ識別情報e12を取得する。
【0094】
次に、ステップ(62)では、ステップ(61)で取得したジョブ識別情報e12と、コマンドで指定されたジョブ識別情報と一致するものがあるかどうかをチェックして、一致したものがあると判断した場合はステップ(63)へと進み、一致したものがないと判断した場合はステップ(64)へと進む。
【0095】
そして、ステップ(63)では、指定されたジョブ識別情報を持つジョブが、まだ周辺機器a01のジョブキュー内に管理されている旨と、およびそのジョブの処理状況(ジョブ属性e21)を返信コマンドに設定し、本処理フローを終了する。
【0096】
一方、ステップ(64)では、ジョブ探索コマンドで指定されたジョブ識別情報が設定されているジョブを、周辺機器a01内のログ情報より探索する。コントローラは、ログ情報の全レコードをアクセスし、図16に示す情報テーブル204を通じてジョブ識別情報216を取得する。
【0097】
次に、ステップ(65)では、ステップ(64)で取得したジョブ識別情報216と、コマンドで指定されたジョブ識別情報と一致するものがあるかどうかをチェックして、一致したものがあると判断した場合は、ステップ(66)へと進み、一致したものがないと判断した場合は、ステップ(67)へと進む。
【0098】
そして、ステップ(66)では、指定されたジョブ識別情報を持つジョブが、ログ情報内で見つかった旨と、ログ情報のレコード番号、およびそのジョブの処理結果214を返信コマンドに設定し、本処理フローを終了する。
【0099】
一方、ステップ(67)では、図13に示す属性情報テーブル内のログ管理サーバ情報h02に設定されたログ管理サーバa05に対して、ジョブ探索を依頼し、その結果を返信コマンドに設定して、本処理を終了する。このジョブ探索を依頼するコマンドには、周辺機器a01自身を示す情報と、ジョブ探索コマンドで指定されたジョブ識別情報が指定されている。指定されたジョブ識別情報をもつジョブのログ情報が、ログ管理サーバa05内で見つかれば、ログ管理サーバa05内でジョブが見つかった旨と、その処理結果214を返信コマンドに設定する。一方、指定されたジョブ識別情報をもつジョブのログ情報が、ログ管理サーバa05内で見つからなければ、その旨を示すエラー情報を返信コマンドに設定する。
【0100】
本処理フロー終了後は、図6に示したステップ(14)へと進み、返信コマンドを送信する。以上で、周辺機器a01におけるコマンド処理フローが完了する。
【0101】
なお、ステップ(67)において、ジョブ探索依頼の際、ジョブ探索コマンドの結果を待っているPCa02〜a04に関する情報を含めるよう構成し、ジョブ探索コマンドの返信をログ管理サーバa05を通じてPCa02〜a04に直接送るようにしてもよい。この場合、図6に示したステップ(14)での返信コマンドに該当する処理がログ管理サーバによって行なわれる。
【0102】
図11は、本発明に係る周辺機器における第6のデータ処理手順の一例を示すフローチャートであり、図1に示した周辺機器a01内で処理されるログ取得コマンドの処理フローに対応する。また、本処理フローは、図6に示したステップ(13)の詳細手順であり、周辺機器a01内のコントローラが処理する。なお、(81)〜(83)は各ステップを示し、ステップ(81)〜(83)は、ログ取得コマンドによって指定された複数のレコードすべてについて処理を繰り返し行なう。
【0103】
まず、ステップ(81)は、上記繰り返し処理の開始を示す。
【0104】
次に、ステップ(82)で、ログ取得コマンドでレコードの取得処理を行なう。ここでは、周辺機器a01内のRAM b02あるいはDISKb04に記録されたログ情報にアクセスし、指定されたレコードを取り出して返信コマンドに設定する。
【0105】
そして、ステップ(83)は、上記繰り返し処理の終了を示す。ここでは、指定されたレコードがまだあるかどうかをチェックし、あればステップ(81)に戻り、なければ本処理フローを終了する。
【0106】
本処理フロー終了後は、図6に示したステップ(14)へと進み、返信コマンドを送信する。以上で、周辺機器a01におけるコマンド処理フローが完了する。
【0107】
図12は、本発明に係る情報処理装置における第1のデータ処理手順の一例を示すフローチャートであり、図1に示した周辺機器a01あるいはPCa02からPCa04内で処理されるジョブ投入の処理フローに対応する。ジョブ投入の処理は、ジョブ発行ソフトウエアによって行なわれ、本処理フローはジョブ発行ソフトウエアが処理する。ジョブ発行ソフトウエアが周辺機器a01内で動作する場合、同じくPCa02〜a04で動作する場合、いずれも本発明の適用範囲である。なお、(71)〜(79)は各ステップを示す。
【0108】
まず、ステップ(71)では、ジョブ投入開始コマンドに指定可能なモードや、ジョブ属性設定コマンドに指定可能なジョブ属性など、周辺機器a01のジョブ処理能力に関する情報を取得する。ここで、能力情報の取得は、周辺機器a01に対して、属性取得コマンドを送付することで行なう。なお、ジョブ発行処理を行なうたびごとにすべての能力情報を取得するのではなく、ジョブ発行ソフトウエアの起動時などに何らかの手段によってあらかじめ能力情報を得ておくようにし、本ステップでは機器の能力に変更がないかなど最低限の確認を行なうように構成してもよい。
【0109】
次に、ステップ(72)では、ステップ(71)で得られた能力情報をユーザに提示し、ジョブ投入に必要なモードや機能などをユーザに設定させる。ここで設定する機能には、ジョブの名称、実行優先度、用紙選択、コピー部数などがあり、それぞれジョブ属性に対応している。また、ジョブ投入コマンドのパラメータがあれば、それもここで設定することができる。
【0110】
また、ステップ(73)では、図4に示したジョブ識別情報を生成する。この情報は、周辺機器a01に対してジョブ投入を依頼するユーザ側でジョブの識別を行なうために用いられるものであり、以降のステップ(76)において、ジョブ属性(図5のe12)として設定される。
【0111】
そして、ステップ(74)では、ステップ(72)で設定されたパラメータとともにジョブ投入開始コマンドを周辺機器a01のコントローラに送付する。
【0112】
次に、ステップ(75)からステップ(77)までは、ユーザの所望するジョブ処理に必要な機能設定(属性設定)が完了するまで処理を繰り返し行なう。
【0113】
ここで、ステップ(75)は、上記繰り返し処理の開始を示す。次に、ステップ(76)では、ステップ(72)で設定されたジョブ属性、およびステップ(73)で生成されたジョブ識別情報を伴うジョブ属性設定コマンドを周辺機器a01のコントローラに対して送信する。ステップ(77)は、上記繰り返し処理の終了を示す。ここでは、設定するジョブ属性がまだあるかどうかをチェックし、設定するジョブ属性がまだあると判断した場合は、ステップ(75)に戻り、設定するジョブ属性がないと判断した場合は、ステップ(78)へと進む。
【0114】
そして、ステップ(78)では、ジョブデータ送信コマンドにより、アプリケーションが作成した画像データなどジョブ処理の対象となるデータを周辺機器a01のコントローラに送信する。
【0115】
ただし、ジョブの内容によっては、ジョブデータを必要としないので、その場合は本ステップを省略してもよい。
【0116】
そして、ステップ(79)では、ジョブ実行を依頼するコマンド群の送信完了を示すジョブ投入完了コマンドを送信して、処理フローを終了する。
【0117】
上記処理フローにより、図4で示したコマンド群が周辺機器a01のコントローラに送信される。
【0118】
図13は、図1に示した周辺機器a01で管理する属性情報テーブルの一例を示す図であり、図1に示した周辺機器a01に関する能力や状態、管理用の設定といった属性情報を記憶している。
【0119】
なお、本情報テーブルは、周辺機器a01のRAMb02、ROMb03、DISKb04に設けられており、属性取得コマンドや属性設定コマンドによってアクセスされる。
【0120】
ここでは、周辺機器の状態h01、ログ管理サーバ情報h02が例としてあげられているが、この他にも機器のユニット構成や利用可能なネットワークに関する情報など、さまざまな情報が保持されている。
【0121】
周辺機器の状態h01は、周辺機器a01の動作状態を示す情報である。例えば、ジョブの受付可能、ジョブ受付不可、メンテナンス中、ドア・オープンや紙詰まり発生など、さまざまな機器の状態を表す。
【0122】
ログ管理サーバ情報h02は、この周辺機器a01を管理しているログ管理サーバa05に関する情報であり、ログ管理サーバa05の所在(ネットワーク上のアドレス情報など)が記録されている。
【0123】
図14は、本発明に係るサーバ装置における第1のデータ処理手順の一例を示すフローチャートであり、図1に示したログ管理サーバa05上で動作するログ管理ソフトウエアによる処理手順に対応する。なお、(501)はステップを示す。
【0124】
ステップ(501)で、上記ログ管理サーバ情報h02を周辺機器a01のRAM等に設定して、処理を終了する。
【0125】
これにより、周辺機器a01内のコントローラは、図10に示した処理フローで示したジョブ探索コマンドの処理において、ログ管理サーバa05にジョブ探索を依頼する際、この情報を参照する。
【0126】
なお、ログ管理サーバ情報h02には、ログ管理サーバa05自身の所在(アドレス情報など)が指定されている。これにより、周辺機器a01では、周辺機器a01自身を管理するログ管理サーバa05の所在を知ることができる。
【0127】
なお、ログ管理サーバa05の登録処理は、ログ管理ソフトウエアの起動時などに、その管理対象となる周辺機器(複数も可)に対して一斉に行なわれる。また、ログ管理ソフトウエアの起動後も、新たな周辺機器の増設や、周辺機器の電源再投入などによって管理対象となる周辺機器の追加が検知できた場合にも、本処理フローが実行される。
【0128】
図15は、図4に示したジョブ識別情報d12の内容の一例を示す図である。
【0129】
図15において、ジョブ識別情報の内容は、ジョブ属性として記憶されるジョブ識別情報e12、ログ情報として記録されるジョブ識別情報216に該当し、また、属性設定コマンド、属性取得コマンド、ジョブ属性設定コマンド、ジョブ一覧取得コマンド、ジョブ探索コマンドのパラメータとしても利用される。
【0130】
ジョブ識別情報は、周辺機器a01に対してジョブ投入を依頼するユーザ側でジョブの識別を行なうために用いられるものであり、ジョブ発行ソフトウエアが生成する。
【0131】
ここで、周辺機器a01を利用するジョブ発行ソフトウエアには、複数種類に渡る可能性がある。また、その中の特定のジョブ発行ソフトウエアを利用するユーザも複数人数に渡る可能性がある。さらに、その特定ユーザの発行したジョブも複数個に渡る可能性がある。
【0132】
よって、周辺機器a01を利用するシステム上において、ジョブを投入したジョブ発行ソフトウエアと、ジョブ投入を依頼したユーザ(あるいはユーザが利用するPC)、および当該ジョブ発行ソフトウエアが投入したジョブ自身を特定、識別するための情報が必要である。
【0133】
ジョブ発行ソフトウエア固有の識別情報101は、ジョブ発行ソフトウエア自身を特定、識別する情報である。これは、ジョブ発行ソフトウエアの開発者によって決定される。他開発者によるジョブ発行ソフトウエアを識別するためには、IPアドレスや時刻情報を用いて生成されるUUID(Universal Unique IDentifier)などの利用が考えられる。
【0134】
ユーザ固有の識別情報102は、ジョブ発行ソフトウエアを利用したユーザ自身を特定、識別する情報である。これは、ジョブ発行ソフトウエアの稼動するプラットフォームによって決定される。他ユーザとの識別のためには、システム内でユーザ1人1人を識別できるように割り当てたユーザIDの利用や、ジョブ発行ソフトウエアの稼動するプラットフォームのIPアドレスや時刻情報を用いて生成されるUUIDなどの利用が考えられる。
【0135】
ジョブ固有の識別情報103は、特定のジョブ発行ソフトウエア内で投入された複数のジョブを特定、識別する情報である。これは、ジョブ発行ソフトウエア自身によって決定される。他ジョブとの識別のためには、単純なシーケンシャル番号や、ジョブ発行を行なった時刻情報などの利用が考えられる。
【0136】
図16は、図1に示した周辺機器a01内で発生した特定のイベントの発生やそれに伴う情報を記録するログ情報の一例を示す図である。
【0137】
なお、本実施形態において、ログとは、周辺機器a01内で発生した特定のイベントの発生やそれに伴う情報を記録するための仕組みである。特定のイベントとして、ジョブの完了、ジャムやエラーの発生などがあり、それらの発生ごとに1レコードを費やし、情報が記録される。なお、ここでは本発明に関連するジョブの完了に関するログについて説明する。
【0138】
図16において、ログ情報のレコード1〜n(201〜20n)は、周辺機器a01内のRAMb02もしくはDISKb04内に用意された有限個の領域である。また、ログ管理サーバa05のDISKc04内にも、管理している周辺機器それぞれに対応して、ログ情報の記憶領域が確保されている。
【0139】
周辺機器a01内でジョブ処理が完了すると、図8に示した処理フローにより、そのジョブに関する情報が1レコードに書き込まれる。レコードは有限個であるため、ある一定数のレコードが書き込まれると、最も古くに書き込まれたレコードに追記されていく。
【0140】
一方、ログ管理サーバa05では、図20に示す処理フローにより、ログ管理ソフトウエアが一定の周期で周辺機器a01のログを取得し、その取得した情報を1レコードごとに追記していく。ただし、ログ管理サーバa05のDISKc04に設けられたログ情報の領域は、周辺機器a01に比べて充分に大きいものであり、レコードの上書きが発生することはほぼありえない。
【0141】
情報テーブル204は、ログ情報の1レコード内に記録された情報のテーブルである。ここでは記録される情報の一例として、ログの記録日時211、ジョブの投入時間212、ジョブ完了時間213、ジョブの処理結果214、ジョブ名215、ジョブ識別情報216をあげているが、その他にもジョブが使用した資源の量、ジョブ依頼者など、さまざまな情報の記録が考えられる。また、ジョブ名215、ジョブ識別情報216などは、図5の同名のジョブ属性であるジョブ名e11、ジョブ識別情報e12などが対応していることは言うまでもない。
【0142】
図17は、本発明に係る情報処理装置における第2のデータ処理手順の一例を示すフローチャートであり、図1に示した周辺機器a01あるいはPCa02からPCa04内で処理されるジョブ処理結果の確認処理フローに対応する。ジョブ処理結果の確認は、ジョブ監視ソフトウエアから行なわれ、本処理フローはジョブ監視ソフトウエアが処理する。ジョブ監視ソフトウエアが周辺機器a01内で動作する場合、同じくPCa02〜a04で動作する場合、いずれも本発明の適用範囲である。なお、(801)〜(805)は各ステップを示す。
【0143】
まず、ステップ(801)では、ジョブ監視の対象となる周辺機器a01に対して、ジョブ一覧取得コマンドを送信する。このジョブ一覧取得コマンドには、ジョブ属性のジョブ識別情報e12を取得するよう指定されている。これにより、周辺機器a01内で動作しているジョブとそのジョブ識別情報の一覧を得ることができる。
【0144】
なお、ジョブ発行ソフトウエアと連携し、ジョブ発行ソフトウエアが発行したジョブのジョブ識別情報を一覧として得るように構成してもよい。また、ジョブ一覧の取得の際、ジョブ名e11やジョブの処理状況e21などの属性をジョブ識別情報e12と共に取得するようにしてもよい。
【0145】
次に、ステップ(802)からステップ(804)までは、ステップ(801)で取得したジョブ識別情報それぞれについて処理を繰り返し行なう。なお、ステップ(802)は、上記繰り返し処理の開始を示す。
【0146】
そして、ステップ(803)では、ステップ(801)で取得したジョブ識別情報をパラメータ指定したジョブ探索コマンドを周辺機器a01に送付する。周辺機器a01は、図6および図10で説明した処理フローに従い、ジョブ探索コマンドの結果を返す。ジョブ監視ソフトウエアは、その探索結果を保持し、各ジョブの処理結果や処理状況を記憶する。
【0147】
なお、ステップ(804)は、上記繰り返し処理の終了を示す。ここでは、ステップ(801)で取得したジョブ識別情報のうち、未確認のものがまだあるかどうかをチェックし、未確認のものがまだあると判断した場合はステップ(802)に戻り、未確認のものがもうないと判断した場合は、ステップ(805)へと進む。
【0148】
そして、ステップ(805)では、ステップ(803)で得られた各ジョブの処理結果、処理状況を図18に示す形式で表示装置に画面表示する。この表示は、ジョブ監視ソフトウエアが周辺機器a01内で動作するのであればLCDb05上に、PCa02〜a04内で動作するのであればCRTc05上にて行なわれる。これらの処理を行なった後、本処理フローを終了する。
【0149】
図18は、本発明に係る情報処理装置におけるジョブの処理結果および処理状況を表示する画面の一例を示す図である。
【0150】
なお、本画面は、ジョブ監視ソフトウエアがジョブの処理結果、処理状況を表示する際に利用するものである。また、ジョブ監視ソフトウエアが周辺機器a01内で動作する場合、同じくPCa02〜a04で動作する場合、いずれも本発明の適用範囲である。
【0151】
本画面は、周辺機器a01のLCDb05もしくはPCa02〜a04のCRTc05に表示される。
【0152】
また、各種ユーザ入力(ボタンの押下、リストのスクロールなど)は、周辺機器a01のキーボードb06、もしくはPC a02〜a04のキーボードc06およびポインティングデバイスc07を通じて行なわれる。
【0153】
図18において、401はタイトルで、当該画面の簡単な説明を表し、当該画面が「ジョブの処理状況/結果」を表示するためのものであることを示している。
【0154】
402はリストボックスで、ジョブ監視ソフトウエアが監視している周辺機器a01が受付けたジョブのリストを表示したり、あるいは、当該ジョブ監視ソフトウエアと連携して動作するジョブ発行ソフトウエアが、周辺機器a01に投入したすべてのジョブのリストを表示したりするように構成してもよい。403はOKボタンで、当該表示画面を消去し、他の処理画面に復帰するボタンである。
【0155】
ここでは、周辺機器a01におけるジョブ番号(ジョブ1〜ジョブ7)、それぞれのジョブに設定されたジョブ名(図5に示したジョブ属性のジョブ名e11あるいは図16に示したログ情報のジョブ名215)、ジョブの処理結果(完了「OK」、完了「NG」)あるいはジョブの処理状況(実行中、実行待ち)、ログ情報内で見つかったことを示すマーク(L)およびログ管理サーバ内で見つかったことを示すマーク(S)を表示している。
【0156】
この表示内容は、ジョブ監視ソフトウエアの要求仕様や、取得/設定可能なジョブ属性あるいはログ情報に合わせて、適宜調整してよい。取得/設定可能なジョブ属性あるいはログ情報は、周辺機器a01の能力を示す属性から得ることができる。
【0157】
図19は、本発明に係るサーバ装置における第2のデータ処理手順の一例を示すフローチャートであり、図1に示したログ管理サーバa05内で処理されるジョブ探索依頼の処理フローに対応する。なお、ジョブ探索依頼は、周辺機器a01におけるジョブ探索コマンドの処理中、指定されたジョブ識別情報を持つジョブが見つからなかった場合にログ管理サーバa05に対して依頼される。本処理フローは、ログ管理サーバa05内のログ管理ソフトウエアが処理する。また、(601)〜(605)は各ステップを示す。
【0158】
まず、ステップ(601)では、ジョブ探索依頼で指定されたジョブ識別情報が設定されているジョブを、ログ管理サーバa02内のログ情報より探索する。このとき、ジョブ探索依頼で指定された周辺機器a01に関するログ情報内が探索される。ログ管理ソフトウエアは、該当するログ情報の全レコードをアクセスし、情報テーブル204を通じてジョブ識別情報216を取得する。
【0159】
そして、ステップ(602)では、取得したジョブ識別情報216と、ジョブ探索依頼で指定されたジョブ識別情報と一致するものがあるかどうかをチェックする。一致したものがあればステップ(603)へと進み、なければステップ(604)へと進む。
【0160】
そして、ステップ(603)では、指定されたジョブ識別情報を持つジョブが、ログ管理サーバa05のログ情報内で見つかった旨と、ログ情報のレコード番号、およびそのジョブの処理結果215を返信として設定する。
【0161】
一方、ステップ(604)では、指定されたジョブ識別情報を持つジョブが見つからなかった旨を返信として設定する。
【0162】
そして、ステップ(605)では、ステップ(603)あるいはステップ(604)で設定された返信を、周辺機器a01に対して送信し、本処理フローを終了する。
【0163】
なお、周辺機器a01によるジョブ探索依頼の際、元々のジョブ探索コマンドを送信したPCa02〜a04に関する情報も指定することで、ステップ(603)あるいはステップ(604)で設定した返信を、直接、PCa02〜a04に送付するよう構成してもよい。この場合、ジョブ探索依頼の返信は、ジョブ探索コマンドの返信コマンドと同等の形式となっており、ジョブ探索コマンドを送信したPCa02〜a04は、ジョブ探索依頼の返信を、ジョブ探索コマンドの返信コマンドとして受け取ることができる。
【0164】
図20は、本発明に係るサーバ装置における第3のデータ処理手順の一例を示すフローチャートであり、ログ取得処理フローに対応する。ログ取得は、ログ管理ソフトウエアから行なわれ、本処理フローはログ管理ソフトウエアが処理する。なお、(701),(702)は各ステップを示す。
【0165】
まず、ステップ(701)では、ログ管理の対象となる周辺機器a01に対して、ログ取得コマンドを送信する。ログ取得コマンドでは、取得を所望するレコード番号(複数個)を指定することができ、対応する周辺機器a01内の複数レコードが返される。
【0166】
そして、ステップ(702)では、取得したログ情報のレコードを、取得対象となった周辺機器ごとに分類し、ログ管理サーバa05内のDISKc04のログ情報内に記録して、本処理フローを終了する。
【0167】
なお、ログ取得処理は、一定時間ごと、一定数のレコードの記録ごとなど、さまざまなタイミングで行なわれることが考えられるが、ログ管理ソフトウエアが未取得のレコードについて上書きが発生しないタイミングで随時行なわれるよう構成すればよい。また、管理対象となる周辺機器が複数ある場合は、それぞれについてログの取得が行なわれ、各周辺機器ごとに設けられたログ情報の領域に記録が行なわれる。
【0168】
以下、図21,図22、図23に示すメモリマップを参照して本発明に係る周辺機器、ログ管理サーバ装置、情報処理装置で読み出し可能なデータ処理プログラムの構成について説明する。
【0169】
図21は、本発明に係る周辺機器a01で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。一方、図22は、本発明に係るログ管理サーバa05で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。さらに、図23は、本発明に係るPCa02〜a04で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【0170】
なお、特に図示しないが、記憶媒体に記憶されるプログラム群を管理する情報、例えばバージョン情報,作成者等も記憶され、かつ、プログラム読み出し側のOS等に依存する情報、例えばプログラムを識別表示するアイコン等も記憶される場合もある。
【0171】
さらに、各種プログラムに従属するデータも上記ディレクトリに管理されている。また、各種プログラムをコンピュータにインストールするためのプログラムや、インストールするプログラムが圧縮されている場合に、解凍するプログラム等も記憶される場合もある。
【0172】
図21においては、本実施形態における図6〜図12および図17に示す機能が、外部からインストールされるプログラムによって、周辺機器a01内のCPUb01により遂行されていてもよい。また、図22においては、本実施形態における図14、図19、図20に示す機能が、外部からインストールされるプログラムによって、ログ管理サーバa05内のCPUc01により遂行されていてもよい。さらに、図23においては、本実施形態における図12、図17に示す機能が、外部からインストールされるプログラムによって、PCa02〜a04内のCPUc01により遂行されていてもよい。そして、その場合、CD−ROMやフラッシュメモリやFD等の記憶媒体により、あるいはネットワークを介して外部の記憶媒体から、プログラムを含む情報群を出力装置に供給される場合でも本発明は適用されるものである。
【0173】
以上のように、前述した実施形態の機能を実現するソフトウエアのプログラムコードを記録した記憶媒体を、システムあるいは装置に供給し、そのシステムあるいは装置のコンピュータ(またはCPUやMPU)が記憶媒体に格納されたプログラムコードを読出し実行することによっても、本発明の目的が達成されることは言うまでもない。
【0174】
この場合、記憶媒体から読み出されたプログラムコード自体が本発明の新規な機能を実現することになり、そのプログラムコードを記憶した記憶媒体は本発明を構成することになる。
【0175】
プログラムコードを供給するための記憶媒体としては、例えば、フレキシブルディスク,ハードディスク,光ディスク,光磁気ディスク,CD−ROM,CD−R,磁気テープ,不揮発性のメモリカード,ROM,EEPROM等を用いることができる。
【0176】
また、コンピュータが読み出したプログラムコードを実行することにより、前述した実施形態の機能が実現されるだけでなく、そのプログラムコードの指示に基づき、コンピュータ上で稼働しているOS(オペレーティングシステム)等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0177】
さらに、記憶媒体から読み出されたプログラムコードが、コンピュータに挿入された機能拡張ボードやコンピュータに接続された機能拡張ユニットに備わるメモリに書き込まれた後、そのプログラムコードの指示に基づき、その機能拡張ボードや機能拡張ユニットに備わるCPU等が実際の処理の一部または全部を行い、その処理によって前述した実施形態の機能が実現される場合も含まれることは言うまでもない。
【0178】
本発明は上記実施形態に限定されるものではなく、本発明の趣旨に基づき種々の変形が可能であり、それらを本発明の範囲から排除するものではない。
【0179】
本発明の様々な例と実施形態を示して説明したが、当業者であれば、本発明の趣旨と範囲は、本明細書内の特定の説明に限定されるのではなく、以下の実施態様も含まれることはいうまでもない。以下、その実施態様1〜8について説明する。
【0180】
第1実施態様は、外部から送信される制御コマンドを解析して所定のジョブ処理要求、ジョブ管理要求、ログ管理要求を処理する周辺機器であって、
前記所定のジョブ処理を要求する制御コマンドの受付に応じて、該ジョブの管理情報を記憶装置内に一時的に生成するジョブ受付手段(周辺機器a01内のコントローラによるジョブ受付機能に相当)と、
前記ジョブ処理を要求する制御コマンドより、前記周辺機器外で付与されたジョブ識別情報および機能設定情報を取り出し、前記ジョブ受付手段で生成される該ジョブの管理情報内に記録するジョブ属性設定手段(周辺機器a01内のコントローラによるジョブ属性設定機能に相当)と、
前記ジョブ処理を要求する制御コマンドに応じてジョブ処理を行ない、該ジョブの開始から終了までの一連の処理状況を前記ジョブ受付手段で生成される該ジョブの管理情報内に管理するジョブ管理手段(周辺機器a01内のコントローラによるジョブ管理機能に相当)と、
前記ジョブ処理の完了に伴い、該ジョブのログ情報を前記記憶装置内に生成し、該ジョブの前記ジョブ識別情報および機能設定情報、該ジョブの処理結果をログ情報内に記録するログ記録手段(周辺機器a01内のコントローラによるログ記録機能に相当)と、
前記周辺機器と接続可能な、前記ログ情報を外部で永続管理するサーバ装置を設定するサーバ設定手段(周辺機器a01内のコントローラによるサーバ設定機能に相当)と、
前記サーバ設定手段で設定されたサーバ装置に、前記ログ情報をアップロードするアップロード手段(周辺機器a01内のコントローラによるログアップロード機能に相当)と、
前記ジョブ管理を要求する制御コマンドに基づき、前記管理情報あるいは前記ログ情報より指定のジョブ識別情報を探索する探索手段(周辺機器a01内のコントローラによるジョブ探索機能に相当)と、
前記探索手段において、前記管理情報より指定のジョブ識別情報を探索できた場合に、前記管理情報より該当するジョブの機能設定情報および処理状況を取得して、ジョブ探索要求元に返信する管理情報返信手段(周辺機器a01内のコントローラによる管理情報返信機能に相当)と、
前記探索手段において、前記ログ情報より指定のジョブ識別情報を探索できた場合に、前記ログ情報より該当するジョブの機能設定情報および処理結果を取得して、ジョブ探索要求元に返信するログ情報返信手段(周辺機器a01内のコントローラによるログ情報返信機能に相当)と、
前記探索手段において、前記管理情報および前記ログ情報いずれからも指定のジョブ識別情報を探索できなかった場合に、前記サーバ装置に対して指定のジョブ識別情報に基づくログ情報の取得を要求し、該当するジョブの機能設定情報および処理結果を取得して、ジョブ探索要求元に返信するサーバログ情報返信手段(周辺機器a01内のコントローラによるサーバログ情報返信機能に相当)と、
を有することを特徴とする。
【0181】
実施態様2は、前記ログ記録手段は、所定量のログ情報を管理し、最新のジョブ終了時、前記記憶装置に管理されているログ情報数が所定量に達していた場合は、もっとも古いログ情報の内容を最新のジョブに関するログ情報に更新することを特徴とする。
【0182】
実施態様3は、前記制御コマンドは、前記記憶装置に記録される情報を取得するための情報取得コマンド、前記記憶装置に記録される情報を設定する情報設定コマンド、ジョブ実行依頼を指示するジョブ実行依頼コマンド、前記記憶装置に記録されている複数個のジョブに関するジョブ管理情報を一覧表示するためのジョブ一覧コマンド、前記サーバからログ情報の取得を指示するログアップロードコマンド、前記記憶装置に記録されているジョブ管理情報およびログ情報を前記ジョブ識別情報をキーとして探索するジョブ探索コマンドを含むことを特徴とする。
【0183】
実施態様4は、外部から送信される制御コマンドを解析して所定のジョブ処理要求、ジョブ管理要求、ログ管理要求を処理する周辺機器におけるジョブ管理方法であって、
前記所定のジョブ処理を要求する制御コマンドの受付に応じて、該ジョブの管理情報を記憶装置内に一時的に生成するジョブ受付ステップ(図8に示すステップ(33))と、
前記ジョブ処理を要求する制御コマンドより、前記周辺機器外で付与されたジョブ識別情報および機能設定情報を取り出し、前記ジョブ受付ステップで生成される該ジョブの管理情報内に記録するジョブ属性設定ステップ(図8に示すステップ(37))と、
前記ジョブ処理を要求する制御コマンドに応じてジョブ処理を行ない、該ジョブの開始から終了までの一連の処理状況を前記ジョブ受付ステップで生成される該ジョブの管理情報内に管理するジョブ管理ステップ(図8に示すステップ(33)以降)と、
前記ジョブ処理の完了に伴い、該ジョブのログ情報を前記記憶装置内に生成し、該ジョブの前記ジョブ識別情報および機能設定情報、該ジョブの処理結果をログ情報内に記録するログ記録ステップ(図8に示すステップ(46))と、
前記周辺機器と接続可能な、前記ログ情報を外部で永続管理するサーバ装置を設定するサーバ設定ステップ(図7に示すステップ(28))と、
前記サーバ設定ステップで設定されたサーバ装置に、前記ログ情報をアップロードするアップロードステップ(図11に示すステップ(81)から(83))と、
前記ジョブ管理を要求する制御コマンドに基づき、前記管理情報あるいは前記ログ情報より指定のジョブ識別情報を探索する探索ステップ(図10に示すステップ(61))と、
前記探索ステップにおいて、前記管理情報より指定のジョブ識別情報を探索できた場合に、前記管理情報より該当するジョブの機能設定情報および処理状況を取得して、ジョブ探索要求元に返信する管理情報返信ステップ(図10に示すステップ(63))と、
前記探索ステップにおいて、前記ログ情報より指定のジョブ識別情報を探索できた場合に、前記ログ情報より該当するジョブの機能設定情報および処理結果を取得して、ジョブ探索要求元に返信するログ情報返信ステップ(図10に示すステップ66))と、前記探索ステップにおいて、前記管理情報および前記ログ情報いずれからも指定のジョブ識別情報を探索できなかった場合に、前記サーバ装置に対して指定のジョブ識別情報に基づくログ情報の取得を要求し、該当するジョブの機能設定情報および処理結果を取得して、ジョブ探索要求元に返信するサーバログ情報返信ステップ(図10に示すステップ(67))と、を有することを特徴とする。
【0184】
実施態様5は、前記ログ記録ステップは、所定量のログ情報を管理し、最新のジョブ終了時、前記記憶装置に管理されているログ情報数が所定量に達していた場合は、もっとも古いログ情報の内容を最新のジョブに関するログ情報に更新することを特徴とする。
【0185】
実施態様6は、前記制御コマンドは、前記記憶装置に記録される情報を取得するための情報取得コマンド、前記記憶装置に記録される情報を設定する情報設定コマンド、ジョブ実行依頼を指示するジョブ実行依頼コマンド、前記記憶装置に記録されている複数個のジョブに関するジョブ管理情報を一覧表示するためのジョブ一覧コマンド、前記サーバからログ情報の取得を指示するログアップロードコマンド、前記記憶装置に記録されているジョブ管理情報およびログ情報を前記ジョブ識別情報をキーとして探索するジョブ探索コマンドを含むことを特徴とする。
【0186】
実施態様7は、請求項4〜6のいずれかに記載のジョブ管理方法を実現するプログラムをコンピュータが読み取り可能な記憶媒体に記憶したことを特徴とする。
【0187】
実施態様8は、請求項4〜6のいずれかに記載のジョブ管理方法を実現するプログラムであることを特徴とする。
【0188】
【発明の効果】
以上説明したように、本発明によれば、所定のジョブ処理を要求する制御コマンドの受付に応じて、該ジョブの管理情報を記憶装置内に一時的に生成し、
ジョブ処理を要求する制御コマンドより、周辺機器外で付与されたジョブ識別情報および機能設定情報を取り出し、ジョブの管理情報内に記録し、ジョブ処理を要求する制御コマンドに応じてジョブ処理を行ない、ジョブの開始から終了までの一連の処理状況をジョブ受付手段で生成されるジョブの管理情報内に管理し、ジョブ処理の完了に伴い、ジョブのログ情報を記憶装置内に生成し、ジョブ識別情報および機能設定情報、処理結果をログ情報内に記録し、周辺機器と接続可能な、ログ情報を外部で永続管理するサーバ装置を設定し、設定されたサーバ装置にログ情報をアップロードし、ジョブ管理を要求する制御コマンドに基づき、管理情報あるいはログ情報より指定のジョブ識別情報を探索し、管理情報より指定のジョブ識別情報を探索できた場合に、該当するジョブの機能設定情報および処理状況を取得して、ジョブ探索要求元に返信し、ログ情報より指定のジョブ識別情報を探索できた場合に、該当するジョブの機能設定情報および処理結果を取得して、ジョブ探索要求元に返信し、管理情報およびログ情報いずれからも指定のジョブ識別情報を探索できなかった場合に、サーバ装置に対して指定のジョブ識別情報に基づくログ情報の取得を要求し、該当するジョブの機能設定情報および処理結果を取得して、ジョブ探索要求元に返信する、ことにより、システム資源に負荷をかけることなく、また、ネットワーク上のトラフィック負担を強いることなく、ユーザが周辺機器に依頼したジョブに関する情報が周辺機器の管理対象外となった後でも、ジョブの処理状況や処理結果を確実に把握可能なジョブ処理管理環境を自在に構築できるという効果を奏する。
【図面の簡単な説明】
【図1】本発明の一実施形態を示す周辺機器を適用可能なデータ処理システムの一例を示す構成図である。
【図2】図1に示した周辺機器のハードウエア構成を示した概略図である。
【図3】図1に示したPCのハードウエア構成を示した概略図である。
【図4】本発明に係る情報処理装置におけるジョブ処理を指示するコマンド群の一例を示す図である。
【図5】図1に示した周辺機器のRAM内に確保されるジョブキューの一例を示す図である。
【図6】本発明に係る周辺機器における第1のデータ処理手順の一例を示すフローチャートである。
【図7】本発明に係る周辺機器における第2のデータ処理手順の一例を示すフローチャートである。
【図8】本発明に係る周辺機器における第3のデータ処理手順の一例を示すフローチャートである。
【図9】本発明に係る周辺機器における第4のデータ処理手順の一例を示すフローチャートである。
【図10】本発明に係る周辺機器における第5のデータ処理手順の一例を示すフローチャートである。
【図11】本発明に係る周辺機器における第6のデータ処理手順の一例を示すフローチャートである。
【図12】本発明に係る情報処理装置における第1のデータ処理手順の一例を示すフローチャートである。
【図13】図1に示した周辺機器内で管理する属性情報テーブルの一例を示す図である。
【図14】本発明に係るサーバ装置における第1のデータ処理手順の一例を示すフローチャートである。
【図15】図4に示したジョブ識別情報の内容の一例を示す図である。
【図16】図1に示した周辺機器内で発生した特定のイベントの発生やそれに伴う情報を記録するログ情報の一例、あるいは図1に示したサーバ装置内で管理するログ情報の一例を示す図である。
【図17】本発明に係る情報処理装置における第2のデータ処理手順の一例を示すフローチャートである。
【図18】本発明に係る情報処理装置におけるジョブの処理結果および処理状況を表示する画面の一例を示す図である。
【図19】本発明に係るサーバ装置における第2のデータ処理手順の一例を示すフローチャートである。
【図20】本発明に係るサーバ装置における第3のデータ処理手順の一例を示すフローチャートである。
【図21】本発明に係る周辺機器で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【図22】本発明に係るサーバ装置で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【図23】本発明に係る情報処理装置(PC)で読み出し可能な各種データ処理プログラムを格納する記憶媒体のメモリマップを説明する図である。
【符号の説明】
b01 CPU
b02 RAM
b03 ROM
b04 DISK
b05 LCD
b06 キーボード
b07 通信インタフェース
b08 スキャナエンジン
b09 プリンタエンジン
b10 ファックスボード
b20 システムバス
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to control of a peripheral device that analyzes a control command transmitted from the outside and processes a predetermined job request and a job management request.
[0002]
[Prior art]
Conventionally, in peripheral devices such as a printer, a scanner, a copier, and a facsimile, a command for confirming the processing status of a job requested by a user has been prepared. The processing result is configured to be known.
[0003]
In addition, the configuration is such that the peripheral device can voluntarily notify the job processing status and processing result.
[0004]
Further, by mounting a recording medium (using a hard disk device or the like) on a peripheral device, it is possible to write the processing result and information of various processes as log information after the completion of the job processing, and the user can store the log information in the log information. , The processing result of the job and the like can be confirmed.
[0005]
[Problems to be solved by the invention]
Since the conventional peripheral device is configured as described above, the job management resources in the peripheral device are limited, and a large number of jobs cannot be permanently managed.
[0006]
Therefore, job management in the peripheral device is performed only after the reception of the job until the job is completed. Therefore, the confirmation of the processing status of the job is effective only during the period from the reception of the job to the completion of the job, and the processing status cannot be confirmed after the completion of the job processing.
[0007]
Further, even if the peripheral device voluntarily reports the processing status and processing result of the job, it may not be possible to temporarily deliver the information due to a failure of the network or the device on the user side.
[0008]
Further, information recorded as a log is often a large amount of data. Therefore, it takes a long time to obtain the data, and a load is imposed on network resources. Peripheral devices can accept jobs from a plurality of users, and if these users try to acquire logs, the load on the peripheral devices and the network is doubled.
[0009]
Further, the capacity of the log that can be held by the peripheral device is also limited, and it is not possible to record information on all jobs executed in the peripheral device.
[0010]
Normally, when a certain amount of logs are recorded, the oldest logs are deleted and new logs are written. Therefore, when a large number of jobs are processed at one time, even if an attempt is made to obtain the processing result of a specific job, the log may be overwritten and necessary information may be missed. There was a problem.
[0011]
SUMMARY An advantage of some aspects of the invention is to temporarily store management information of a job in a storage device in response to reception of a control command requesting a predetermined job process. The job identification information and the function setting information given outside the peripheral device are extracted from the control command for requesting the job processing, and are recorded in the management information of the job. Performs job processing, manages a series of processing status from the start to the end of the job in the management information of the job generated by the job receiving unit, and generates the log information of the job in the storage device when the job processing is completed Then, record the job identification information, function setting information, and processing result in the log information, and set a server device that can be connected to peripheral devices and that permanently manages the log information externally. When the log information is uploaded to the server device and the specified job identification information is searched from the management information or the log information based on the control command requesting job management, and the specified job identification information can be searched from the management information, Obtain the function setting information and processing status of the relevant job, return it to the job search request source, and obtain the function setting information and processing result of the corresponding job when the specified job identification information can be searched from the log information Reply to the job search request source, and when the specified job identification information cannot be searched from both the management information and the log information, request the server device to acquire log information based on the specified job identification information. Then, by acquiring the function setting information and the processing result of the corresponding job and returning it to the job search request source, the load on the system resources is reduced. The status of job processing and the processing results can be grasped even after the information on the job requested by the user from the peripheral device is not managed by the peripheral device, without complicating the traffic burden on the network. An object of the present invention is to provide a peripheral device that can freely construct a possible job processing management environment.
[0012]
[Means for Solving the Problems]
A first invention according to the present invention is a peripheral device that analyzes a control command transmitted from the outside and processes a predetermined job processing request, job management request, and log management request,
Job receiving means for temporarily generating management information of the job in a storage device in response to receiving a control command requesting the predetermined job processing (for example, a job receiving function by a controller in the peripheral device a01 shown in FIG. 1) ), The job identification information and the function setting information given outside the peripheral device are extracted from the control command requesting the job processing, and are recorded in the management information of the job generated by the job receiving unit. Job attribute setting means (e.g., equivalent to a job attribute setting function by a controller in the peripheral device a01 shown in FIG. 1), and performs job processing in response to a control command requesting the job processing. A job management unit (for example, FIG. 3) that manages a series of processing status in management information of the job generated by the job reception unit. And the log information of the job is generated in the storage device upon completion of the job processing, and the job identification information and the function setting information of the job are generated. A log recording unit (for example, equivalent to a log recording function of a controller in the peripheral device a01 shown in FIG. 1) for recording the processing result of the job in log information, and the log information connectable to the peripheral device. A server setting unit for setting a server device to be permanently managed by the server (for example, equivalent to a server setting function of a controller in the peripheral device a01 shown in FIG. 1), and uploading the log information to the server device set by the server setting unit Uploading means (e.g., corresponding to a log upload function by a controller in the peripheral device a01 shown in FIG. 1) and Searching means (for example, corresponding to a job searching function of a controller in the peripheral device a01 shown in FIG. 1) for searching for specified job identification information from the management information or the log information based on the control command requesting the job management; When the search means is able to search for the specified job identification information from the management information, obtains the function setting information and the processing status of the corresponding job from the management information and returns a management information reply to a job search request source Means (for example, equivalent to a management information return function by a controller in the peripheral device a01 shown in FIG. 1) and the search means, when the specified job identification information can be searched for from the log information, the job information corresponds to the log information. A log information return unit that acquires the function setting information and the processing result of the job and returns it to the job search request source (example For example, this corresponds to a log information return function by a controller in the peripheral device a01 shown in FIG. 1), and the search unit fails to search for the specified job identification information from any of the management information and the log information. A server log information return unit that requests the server device to acquire log information based on the specified job identification information, acquires the function setting information and the processing result of the corresponding job, and returns it to the job search request source (for example, FIG. (Corresponding to a server log information return function by a controller in the peripheral device a01 shown in FIG. 1).
[0013]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 is a configuration diagram illustrating an example of a data processing system to which a peripheral device according to an embodiment of the present invention can be applied.
[0014]
In FIG. 1, reference numeral a01 denotes a peripheral device that performs job processing such as printing, scanning, copying, and facsimile transmission / reception. Reference numerals a02 to a04 denote PCs (personal computers) which are connected to the peripheral device a01 via the network a10. Reference numeral a05 denotes a log management server, which is connected to the peripheral device a01 via the network a10. The log management server a05 periodically reads out the log information from the peripheral device a01, and permanently manages the log information in a storage device in the log management server. The log management server a05 may be configured to manage log information of a plurality of peripheral devices a01. The connection by the network a10 may be a connection by a LAN or a WAN, a connection by IEEE1284 / 1394, a USB, or the like.
[0015]
FIG. 1 shows an example of a PCa02 connected to the peripheral device a01 via a LAN, an example of a PCa03 connected via the WAN, and an example of a PCa04 connected via the IEEE1284 / 1394, USB, or the like. I have. In addition to the PC, a workstation, other peripheral devices, and other devices may be connected to the peripheral device a01.
[0016]
Control software called a controller operates in the peripheral device a01, and performs job processing such as printing, scanning, copying, and facsimile transmission and reception, and inquires about attribute information of the peripheral device a01. Further, the job receiving function, job attribute setting function, job management function, log recording function, server setting function, log upload function, job search function, management information return function, log information return function, server log information return function according to the present invention This is the function that this controller processes.
[0017]
The job issuing software operating in the peripheral device a01 or the PCs a02 to a04 requests the controller in the peripheral device a01 to perform a job process such as printing, scanning, copying, or facsimile transmission / reception. Similarly, the job monitoring software operating in the peripheral device a01 or the PCs a02 to a04 monitors the status and results of the job processing requested to the controller in the peripheral device a01. Note that the job issuing software and the job monitoring software may be integrated into one piece of software.
[0018]
The log management software operating in the log management server a05 periodically accesses the peripheral device a01 and acquires log information in the peripheral device a01. When a plurality of peripheral devices a01 are connected to the network a10, the log management software can manage log information of the plurality of peripheral devices. When the peripheral device a01 requests acquisition of log information based on the specified job identification information, the log management software returns the log information of the corresponding job to the peripheral device a01. Alternatively, the log information may be directly sent back to the PCs a02 to a04 on which the job monitoring software that requested the job search operates without passing through the peripheral device a01.
[0019]
FIG. 2 is a schematic diagram showing a hardware configuration of the peripheral device a01 shown in FIG.
[0020]
2, in a peripheral device a01, a CPU b01, a RAM b02, a ROM b03, a DISK b04, an LCD b05, a keyboard b06, a communication interface b07, a scanner engine b08, a printer engine b09, and a FAX board b10 are interconnected via a system bus b20. I have.
[0021]
The CPU b01 is a controller or an entity that executes job issuing / monitoring software, and the units b02 to b10 constituting the peripheral device a01 are controlled by the CPU b01 unless otherwise specified. The program of the controller or the job issuing / monitoring software is stored in the ROMb03 or DISKb04, read out to the RAMb02 as needed, and executed by the CPUb01.
[0022]
In addition, these programs perform processing such as displaying information through the LCD b05, receiving a user instruction from the keyboard b06, and communicating with the outside through the communication interface b07.
[0023]
The ROMb03 and the DISKb04 store attribute information indicating the capability of the peripheral device a01 and attribute information indicating the capability of the job processed by the peripheral device a01, in addition to the programs of the controller and the job issuing / monitoring software.
[0024]
The RAMb02 and the DISKb04 indicate attribute information indicating the state of the peripheral device a01, attribute information indicating the log management server a05 that manages log information of the peripheral device a01, and the state of a job processed by the peripheral device a01. It stores and manages attribute information, attribute information indicating a function specified in association with job processing, job data to be processed, and log information of a job that has been processed.
[0025]
Further, the RAM b02 stores a job execution order, job attribute information, and a job queue for managing job data to be processed.
[0026]
The communication interface b07 may be, for example, an interface using Ethernet (registered trademark) or IEEE 1284, or a communication interface using another medium.
[0027]
The scanner engine b08, the printer engine b09, and the FAX board b10 are controlled by a controller, and perform scan job processing, print job processing, and FAX transmission / reception processing.
[0028]
The peripheral device a01 having the above configuration performs scan job processing by the scanner engine b08, print job processing by the printer engine b09, copy job processing by the scanner engine b08 and the printer engine b09, and the scanner engine b08 and the printer engine b09. And the FAX board b10 to enable FAX reception job processing and FAX transmission job processing.
[0029]
FIG. 3 is a schematic diagram showing a hardware configuration of the PCs a02 to a04 and the log management server a05 shown in FIG.
[0030]
3, in the PCs a02 to a04 and the log management server a05, the CPU c01, the RAM c02, the ROM c03, the DISK c04, the CRT c05, the keyboard c06, the pointing device c07, and the communication interface c08 are interconnected via a system bus c20.
[0031]
The CPU c01 is an operating system (hereinafter referred to as OS) for controlling the PCs a02 to a04 and the log management server a05 or a main body executing job issuing / monitoring software and log management software, and constitutes the PCa02 to a04 and the log management server a05. The units c02 to c08 are controlled by the CPU c01 unless otherwise specified. The programs of the OS, job issuing / monitoring software, and log management software are stored in the ROM c03 or DISK c04, read out to the RAM c02 as needed, and executed by the CPU c01.
[0032]
In addition, these programs perform processes such as displaying information through the CRT c05, receiving user instructions from the keyboard c06 and the pointing device c07, and communicating with the outside through the communication interface c08.
[0033]
The log information acquired from the peripheral device a01 is recorded in the DISKc04 of the log management server a05. When the log management software manages a plurality of peripheral devices a01, log information is also managed for each of the managed peripheral devices.
[0034]
FIG. 4 is a diagram showing an example of a command group (job execution request command) for instructing job processing in the information processing apparatus according to the present invention.
[0035]
This command group is generated by the processing flow shown in FIG. 11 described later, and is sent from the job issuing software to the controller in the peripheral device a01. The present invention is applicable to both cases where the job issuing software operates in the peripheral device a01 and also operates in the PCs a02 to a04. These command groups are processed in the peripheral device a01 according to the processing flows of FIGS.
[0036]
In FIG. 4, a command group instructing job processing includes a job submission start command d01, a job attribute setting command d02, a job data transmission command d03, and a job submission completion command d04.
[0037]
The job submission start command d01 is a command for notifying the controller of the start of job submission. Upon receiving the job submission start command d01, the controller starts preparations for performing job processing.
[0038]
The job attribute setting command d02 is a command for setting information for identifying a job and job attributes d11 to d1n for determining a job function. With this command, a plurality of job attributes can be set continuously. In FIG. 4, job attributes d11, job identification information d12, and data format d13 are listed as job attributes, but there are other information such as job type, paper selection, and number of copies.
[0039]
The job data transmission command d03 is a command for transmitting data to be subjected to job processing such as image data. However, depending on the content of the job, there is a case where the data to be processed is not required. In this case, this command may be omitted.
[0040]
The job submission completion command d04 is a command for indicating that all commands for instructing job processing have been sent.
[0041]
A series of commands from the job submission start command d01 to the job submission completion command d04 is interpreted as one job execution request command.
[0042]
FIG. 5 is a diagram showing an example of job management information (hereinafter, job queue) secured in the RAM b02 of the peripheral device a01 shown in FIG.
[0043]
In FIG. 5, records e01 to e0n correspond to respective jobs being processed in the peripheral device. When the peripheral device a01 receives the job input start command d01, the peripheral device executes the processing flow shown in FIG. One record of the job queue is added to the RAM b02 of a01. When the job processing is completed, the corresponding record in the job queue is deleted.
[0044]
One record in the job queue includes a job attribute entry e04 and a job data entry e05.
[0045]
The job attribute entry e04 is an entry in a table that holds various attributes of the job. This table stores job attributes (e11 to e1n) specified by the job issuing software by the job attribute setting command d02 and job attributes (e21 to e2n) that change with job processing. In the figure, the former example shows a job name e11, job identification information e12, and data format e13, and the latter example shows a job processing status e21, a job submission time e22, and a job processing start time e23. Various other job attributes are also conceivable. The entity of the job attribute in the table may be stored in the RAM b02 of the peripheral device a01, or may be stored in the DISK b04. Alternatively, the entity of the job attribute may be stored in the job attribute entry e04 so that the job attribute can be easily accessed.
[0046]
The job data entry e05 is an entry in the storage area of the job data e31 sent by the job issuing software according to the job data transmission command. The storage area of the job data e31 may be stored in the RAM b02 of the peripheral device a01 or in the DISK b04.
[0047]
FIG. 6 is a flowchart showing an example of the first data processing procedure in the peripheral device according to the present invention, and corresponds to the processing procedure of the command processed in the peripheral device a01 shown in FIG. Note that these commands are issued by the job issuing / monitoring software and the log management software, and this processing flow is processed by the controller in the peripheral device a01. (1) to (14) show each step.
[0048]
First, in step (1), the received command and its parameters are analyzed, and when it is determined that the received command is an attribute access command, the process proceeds to step (4) and thereafter, the details of the attribute access command processing described later. Is executed (5), a reply command is transmitted (14), and the process ends.
[0049]
On the other hand, if it is determined by the analysis in step (1) that the received command is a job execution request command, the process proceeds to step (6) and thereafter, and executes a job execution request command process described in detail later (7). Then, a reply command is transmitted (14), and the process ends.
[0050]
On the other hand, if it is determined by the analysis in step (1) that the received command is a job list acquisition command, the process proceeds to step (8) and thereafter, and a job list acquisition command process described in detail later is executed (9). Then, a reply command is transmitted (14), and the process ends.
[0051]
On the other hand, if it is determined by the analysis in step (1) that the received command is a job search command, the process proceeds to step (10) and thereafter, the job search command processing described in detail later is executed (11), and the reply A command is transmitted (14), and the process ends.
[0052]
On the other hand, if it is determined by the analysis in step (1) that the received command is a log acquisition command, the process proceeds to step (12) and thereafter, the log acquisition command processing described in detail later is executed (13), and the reply A command is transmitted (14), and the process ends.
[0053]
On the other hand, if it is determined by the analysis in step (1) that the received command is another command other than the above-mentioned command, the process proceeds to step (2) and thereafter, executes other command processing (3), and returns A command is transmitted (14), and the process ends. Other command processing is not directly related to the present invention, and will not be described in detail here.
[0054]
FIG. 7 is a flowchart showing an example of the second data processing procedure in the peripheral device according to the present invention, and corresponds to the processing procedure of the attribute access command processed in the peripheral device a01 shown in FIG. This processing procedure describes step (5) shown in FIG. 6 in detail, and is performed by the controller in the peripheral device a01. Note that (21) to (28) indicate each step.
[0055]
Each step after step (21) is processing when it is determined that the received command is an attribute access command as a result of the analysis of step (1) shown in FIG. 6. First, in step (21), As in step (1) shown in FIG. 6, the command and its parameters are analyzed to determine whether the received command is an attribute acquisition command or an attribute change command. If it is determined that the received command is a job execution request command (22), it is determined in step (23) whether the specified attribute is obtainable, and the specified attribute is obtainable. If it is determined that the attribute is not, the process proceeds to step (24). If it is determined that the designated attribute is not obtainable, the process proceeds to step (25).
[0056]
Then, in step (24), according to the specified attribute, the RAMb02, ROMb03, and DISKb04 of the peripheral device a01 are appropriately accessed to obtain the specified attribute value. The attributes that can be acquired here include attribute information indicating the capability of the peripheral device a01, attribute information indicating the capability of the job processed by the peripheral device a01, attribute information indicating the state of the peripheral device a01, and processing by the peripheral device a01. Attribute information indicating the status of the job to be performed, attribute information indicating a function specified in association with the job processing, and the like. It goes without saying that the job identification information e12 and the job processing status e21 shown in FIG. 5, the peripheral device status h01 and the log management server information h02 shown in FIG. 13 are also included as obtainable attributes. Thereafter, a reply command in which the acquired attribute value is set is generated, and the processing flow ends.
[0057]
On the other hand, as a result of the analysis in step (21), if it is determined that the received command is an attribute change command (26), in step (27), the specified attribute can be changed (job name e11, log management Server information h02), and if it is determined that the specified attribute is changeable, the process proceeds to step (28), where it is determined that the specified attribute is not changeable. If so, the process proceeds to step (25).
[0058]
Then, in step (28), the RAMb02 and DISKb04 of the peripheral device a01 are appropriately accessed according to the specified attribute, and are changed to the specified attribute value. The attributes that can be changed here include those that can be changed among the various job attributes described in FIG. 5 (such as the job name e11) and those that can be changed among the various management attributes that are described in FIG. Needless to say, the log management server information h02). Thereafter, a reply command in which the change result is set is generated, and the present processing flow ends.
[0059]
On the other hand, in step (25), an error process is performed when the specified attribute cannot be acquired or cannot be changed. Here, a reply command indicating an error is generated, and this processing flow ends.
[0060]
After the end of this processing flow, the process proceeds to step (14) shown in FIG. 6, and transmits a reply command. Thus, the command processing flow in the peripheral device a01 is completed.
[0061]
FIG. 8 is a flowchart illustrating an example of a third data processing procedure in the peripheral device according to the present invention, and corresponds to a processing flow of a job execution request command processed in the peripheral device a01 illustrated in FIG. This processing flow corresponds to the detailed procedure of step (7) shown in FIG. 6, and is processed by the controller in the peripheral device a01. Note that (31) to (47) indicate each step.
[0062]
Here, the job execution request command is composed of a plurality of command groups such as a job submission start command d01, a job attribute setting command d02, a job data transmission command d03, and a job submission completion command d04, and each command is processed. .
[0063]
First, in step (31), the first command and its parameters are extracted and analyzed. In step (32), it is determined whether or not the command extracted in step (31) is the job submission start command d01. If it is determined that the command is the job submission start command d01, the process proceeds to step (33). ), And if it is determined that the command is not the job submission start command d01, the process proceeds to step (47).
[0064]
Then, in a step (33), processing relating to the job submission start command d01 is performed. Here, a record of the job queue is added for a new job, and initialization processing of a job attribute entry e04, a job data entry e05, a table for storing the actual job attributes, and the like are performed.
[0065]
Next, in step (34), the next command following the job submission start command d01 and its parameters are extracted and analyzed. The command following the job submission start command d01 must be one or more job attribute setting commands d02.
[0066]
Then, in step (35), it is determined whether or not the command extracted in step (34) is one or more job attribute setting commands d02. If it is determined that the command is job attribute setting command d02, The process proceeds to step (36), and if it is determined that the command is not the job attribute setting command d02, the process proceeds to step (47).
[0067]
From step (36) to step (38), the process is repeated for each of the received job attribute setting commands d02.
[0068]
Here, step (36) indicates the start of the above-described repetitive processing, and in step (37), processing relating to the job attribute setting command d02 is performed. Here, the specified attribute is stored in the RAM b02 of the peripheral device a01 or the job attribute table in the DISKb04. This job attribute table is referenced from the attribute entry e04 of the job queue corresponding to the job. Also, a necessary job function is prepared according to the designated attribute value. Needless to say, the attributes stored here also include the job identification information e12.
[0069]
Next, step (38) shows the end of the above-mentioned repetitive processing. Here, it is checked whether or not there is a job setting command d02. If it is determined that there is a job setting command d02, the process returns to step (36). If it is determined that there is no job setting command d02, the process returns to step (36). Proceed to 39).
[0070]
Then, in a step (39), the next command following the job attribute setting command d02 and its parameters are taken out and analyzed.
[0071]
The command following the job attribute setting command d02 must be a job data transmission command d03.
[0072]
However, transmission of job data may be omitted depending on the type of job. In that case, a job submission completion command d04 follows the job attribute setting command d02.
[0073]
Next, in step (40), it is determined whether or not the command extracted in step (39) is the job data transmission command d03. If it is determined that the command is the job data transmission command d03, the process proceeds to step (41). ), And if it is determined that the command is not the job data transmission command d03, the process proceeds to step (43).
[0074]
Then, in a step (41), processing relating to the job data transmission command d03 is performed. Here, the transmitted job data is stored in the storage area in the RAMb02 or the DISKb04 of the peripheral device a01. This storage area is referenced from the job data entry e05 of the job queue corresponding to the job. Further, necessary job functions are prepared according to the designated job data.
[0075]
Next, in step (42), the next command following the job data transmission command d03 and its parameters are extracted and analyzed.
[0076]
Then, in a step (43), it is determined whether or not the command extracted in the step (39) or the step (42) is a job submission completion command d04, and if it is determined that the command is the job submission completion command d04, If it is determined that the command is not the job submission completion command d04, the process proceeds to step (47).
[0077]
Then, in a step (44), processing relating to the job submission completion command d04 is performed. Here, various resources necessary for job execution are secured in the peripheral device a01 in accordance with the designated job function and job data, and preparations for job processing such as determination of the execution order are made.
[0078]
It should be noted that the preparation for performing the job processing may be configured to be performed sequentially at the stage where the necessary resources have been determined (step (36) and thereafter) in order to efficiently proceed with the processing.
[0079]
Next, in step (45), a job execution process is performed in the peripheral device a01 according to the designated job function and job data.
[0080]
Note that this step may not be processed immediately, but may be performed at an executable stage, depending on the attribute designation related to job scheduling and the waiting state of another job in the job queue. Alternatively, the configuration may be such that this step is performed in advance at the stage when the necessary resources have been secured (from step (36)) in order to efficiently proceed with the processing.
[0081]
Next, in step (46), various post-processes after the job completion process are performed. First, various resources used for job processing are released. After that, the end result of the job, attribute values necessary for specifying the job, and the like are recorded as log information provided in the RAMb02 or DISKb04 of the peripheral device a01. It goes without saying that the information recorded here includes the job identification information 216 and the job processing result 214 described in the log information shown in FIG. Further, the record of the job queue corresponding to the completed job is deleted, and the job attribute entry e04, the job data entry e05, the table storing the entity of the job attribute, the job data storage area, and the like are released. After performing these processes, the present process flow ends.
[0082]
In step (47), error processing is performed when the commands are not sent in the correct order.
[0083]
In this case, a reply command indicating an error is generated, and the processing flow ends without performing the job processing. Note that the configuration may be such that subsequent command reception is skipped until a correct command is obtained.
[0084]
After step (33), the processing state of the job changes in accordance with each processing, and accordingly, the processing status e21 of the job stored in the job attribute table of the job queue and the job submission time e22 Needless to say, the job processing start time e23 and the like are sequentially updated.
[0085]
After the end of this processing flow, the process proceeds to step (14) shown in FIG. 6, and transmits a reply command. Thus, the command processing flow in the peripheral device a01 is completed.
[0086]
FIG. 9 is a flowchart showing an example of the fourth data processing procedure in the peripheral device according to the present invention, and corresponds to the processing flow of the job list acquisition command processed in the peripheral device a01 shown in FIG. This processing flow describes step (9) shown in FIG. 6 in detail, and is processed by a controller in the peripheral device a01. (51) to (53) indicate each step. From step (51) to step (53), it is assumed that the processing is repeatedly performed for all the jobs that are being executed or are waiting to be executed in the job queue in the RAM b02 of the peripheral device a01.
[0087]
First, step (51) indicates the start of the above-described repetitive processing.
[0088]
Next, in step (52), a process of acquiring the job attribute specified by the job list acquisition command is performed. Here, a record relating to a job being executed or waiting to be executed in the job queue is accessed, the value of the specified job attribute is fetched through the job attribute data entry e04, and is set as a reply command. It goes without saying that the attributes that can be acquired here include the job identification information e12 and the job processing status e21.
[0089]
Note that the job list acquisition command may be configured to acquire a plurality of attributes. If the designated attribute cannot be acquired, a reply command indicating an error may be generated as described in the attribute access command processing of FIG. Furthermore, when only some of the specified attributes cannot be obtained, the attribute value may be obtained by removing only some of the attributes.
[0090]
Next, step (53) indicates the end of the repetitive processing. Here, it is checked whether there is a record corresponding to the job being executed or waiting to be executed in the job queue. If it is determined that there is still a record corresponding to the job, the process returns to step (51). This processing flow ends.
[0091]
After the end of this processing flow, the process proceeds to step (14) in FIG. 6, and a reply command is transmitted. Thus, the command processing flow in the peripheral device a01 is completed.
[0092]
FIG. 10 is a flowchart showing an example of the fifth data processing procedure in the peripheral device according to the present invention, and corresponds to the processing flow of the job search command processed in the peripheral device a01 shown in FIG. This processing flow describes step (11) shown in FIG. 6 in detail, and is processed by the controller in the peripheral device a01. Note that (61) to (67) indicate each step.
[0093]
First, in step (61), a job in which the job identification information specified by the job search command is set is searched from the job queue in the peripheral device a01. The controller accesses each record in the job queue relating to the job being executed or waiting for execution in the job queue, and acquires the job identification information e12 through the job attribute entry e04.
[0094]
Next, in step (62), it is checked whether there is any job identification information e12 obtained in step (61) that matches the job identification information specified by the command, and it is determined that there is a match. If so, the process proceeds to step (63), and if it is determined that there is no match, the process proceeds to step (64).
[0095]
Then, in the step (63), the fact that the job having the designated job identification information is still managed in the job queue of the peripheral device a01 and the processing status of the job (job attribute e21) are sent to the reply command. Is set, and this processing flow ends.
[0096]
On the other hand, in step (64), a job in which the job identification information specified by the job search command is set is searched from the log information in the peripheral device a01. The controller accesses all records of the log information and acquires the job identification information 216 through the information table 204 shown in FIG.
[0097]
Next, in step (65), it is checked whether there is any job identification information 216 obtained in step (64) that matches the job identification information specified by the command, and it is determined that there is a match. If so, the process proceeds to step (66), and if it is determined that there is no match, the process proceeds to step (67).
[0098]
Then, in step (66), the fact that a job having the specified job identification information has been found in the log information, the record number of the log information, and the processing result 214 of the job are set in the return command. End the flow.
[0099]
On the other hand, in step (67), a job search is requested to the log management server a05 set in the log management server information h02 in the attribute information table shown in FIG. 13, and the result is set in a reply command. This processing ends. The command for requesting the job search specifies information indicating the peripheral device a01 itself and job identification information specified by the job search command. If the log information of the job having the designated job identification information is found in the log management server a05, the fact that the job is found in the log management server a05 and the processing result 214 are set in the reply command. On the other hand, if the log information of the job having the specified job identification information is not found in the log management server a05, error information indicating that fact is set in the reply command.
[0100]
After the end of this processing flow, the process proceeds to step (14) shown in FIG. 6, and transmits a reply command. Thus, the command processing flow in the peripheral device a01 is completed.
[0101]
In step (67), when a job search request is issued, information on PCa02 to a04 waiting for the result of the job search command is included, and a reply to the job search command is sent directly to PCa02 to a04 via log management server a05. You may send it. In this case, a process corresponding to the reply command in step (14) shown in FIG. 6 is performed by the log management server.
[0102]
FIG. 11 is a flowchart showing an example of the sixth data processing procedure in the peripheral device according to the present invention, and corresponds to the processing flow of the log acquisition command processed in the peripheral device a01 shown in FIG. This processing flow is a detailed procedure of step (13) shown in FIG. 6, and is processed by the controller in the peripheral device a01. Note that (81) to (83) indicate each step, and steps (81) to (83) repeatedly perform the processing for all of the plurality of records specified by the log acquisition command.
[0103]
First, step (81) indicates the start of the above-described repetitive processing.
[0104]
Next, in step (82), record acquisition processing is performed using a log acquisition command. Here, log information recorded in the RAM b02 or DISKb04 in the peripheral device a01 is accessed, a specified record is taken out, and set as a reply command.
[0105]
Then, step (83) indicates the end of the repetitive processing. Here, it is checked whether or not the designated record still exists. If there is, the process returns to step (81), and if not, the processing flow ends.
[0106]
After the end of this processing flow, the process proceeds to step (14) shown in FIG. 6, and transmits a reply command. Thus, the command processing flow in the peripheral device a01 is completed.
[0107]
FIG. 12 is a flowchart illustrating an example of a first data processing procedure in the information processing apparatus according to the present invention. The flowchart corresponds to the processing flow of job submission from the peripheral device a01 or PCa02 illustrated in FIG. I do. The job submission process is performed by the job issuing software, and this processing flow is processed by the job issuing software. The present invention is applicable to both cases where the job issuing software operates in the peripheral device a01 and also operates in the PCs a02 to a04. Note that (71) to (79) indicate each step.
[0108]
First, in step (71), information on the job processing capability of the peripheral device a01 is acquired, such as a mode that can be specified in a job submission start command and a job attribute that can be specified in a job attribute setting command. Here, acquisition of the capability information is performed by sending an attribute acquisition command to the peripheral device a01. Note that instead of acquiring all the capability information every time the job issuance process is performed, the capability information is acquired in advance by some means such as when the job issuance software is started. You may be comprised so that minimum confirmation, such as whether there is a change, may be performed.
[0109]
Next, in step (72), the capability information obtained in step (71) is presented to the user, and the user is allowed to set a mode, a function, and the like necessary for job input. The functions set here include a job name, execution priority, paper selection, number of copies, and the like, each corresponding to a job attribute. If there is a parameter of the job submission command, it can be set here.
[0110]
In step (73), the job identification information shown in FIG. 4 is generated. This information is used for identifying the job on the side of the user who requests the peripheral device a01 to submit the job, and is set as the job attribute (e12 in FIG. 5) in the following step (76). You.
[0111]
Then, in a step (74), a job submission start command is sent to the controller of the peripheral device a01 together with the parameters set in the step (72).
[0112]
Next, from step (75) to step (77), the processing is repeated until the function setting (attribute setting) necessary for the job processing desired by the user is completed.
[0113]
Here, step (75) indicates the start of the above-described repetitive processing. Next, in step (76), the job attribute set command accompanying the job attribute set in step (72) and the job identification information generated in step (73) is transmitted to the controller of the peripheral device a01. Step (77) indicates the end of the repetitive processing. Here, it is checked whether or not there is still a job attribute to be set, and if it is determined that there is still a job attribute to be set, the process returns to step (75). Go to 78).
[0114]
Then, in step (78), data to be subjected to job processing, such as image data created by the application, is transmitted to the controller of the peripheral device a01 by a job data transmission command.
[0115]
However, since job data is not required depending on the contents of the job, this step may be omitted in that case.
[0116]
Then, in a step (79), a job submission completion command indicating completion of transmission of the command group for requesting job execution is transmitted, and the processing flow ends.
[0117]
According to the above processing flow, the command group shown in FIG. 4 is transmitted to the controller of the peripheral device a01.
[0118]
FIG. 13 is a diagram illustrating an example of an attribute information table managed by the peripheral device a01 illustrated in FIG. 1. The attribute information table stores the attribute information such as the capability and status regarding the peripheral device a01 illustrated in FIG. I have.
[0119]
This information table is provided in the RAMb02, ROMb03, and DISKb04 of the peripheral device a01, and is accessed by an attribute acquisition command and an attribute setting command.
[0120]
Here, the status h01 of the peripheral device and the log management server information h02 are given as examples, but various other information such as information on the unit configuration of the device and available networks are also stored.
[0121]
The state h01 of the peripheral device is information indicating the operation state of the peripheral device a01. For example, it indicates the status of various devices such as a job can be accepted, a job cannot be accepted, a maintenance is in progress, a door is opened, and a paper jam occurs.
[0122]
The log management server information h02 is information on the log management server a05 that manages the peripheral device a01, and records the location of the log management server a05 (eg, address information on a network).
[0123]
FIG. 14 is a flowchart showing an example of a first data processing procedure in the server device according to the present invention, and corresponds to a processing procedure by log management software operating on the log management server a05 shown in FIG. (501) indicates a step.
[0124]
In step (501), the log management server information h02 is set in the RAM or the like of the peripheral device a01, and the process ends.
[0125]
Thus, the controller in the peripheral device a01 refers to this information when requesting the log management server a05 to perform a job search in the processing of the job search command illustrated in the processing flow illustrated in FIG.
[0126]
In the log management server information h02, the location (such as address information) of the log management server a05 itself is specified. Thus, the peripheral device a01 can know the location of the log management server a05 that manages the peripheral device a01 itself.
[0127]
Note that the registration process of the log management server a05 is performed simultaneously for peripheral devices (a plurality of peripheral devices to be managed) when the log management software is started. Further, even after the log management software is started, this processing flow is executed even when the addition of a new peripheral device or the addition of the peripheral device to be managed is detected by turning on / off the power of the peripheral device. .
[0128]
FIG. 15 is a diagram illustrating an example of the content of the job identification information d12 illustrated in FIG.
[0129]
In FIG. 15, the contents of the job identification information correspond to the job identification information e12 stored as the job attribute, the job identification information 216 recorded as the log information, and an attribute setting command, an attribute acquisition command, a job attribute setting command. , A job list acquisition command, and a job search command.
[0130]
The job identification information is used by the user who requests the peripheral device a01 to submit the job to identify the job, and is generated by the job issuing software.
[0131]
Here, there is a possibility that there are a plurality of types of job issuing software using the peripheral device a01. Further, there is a possibility that a plurality of users use specific job issuing software among them. Further, there is a possibility that the job issued by the specific user may be plural.
[0132]
Therefore, on the system using the peripheral device a01, the job issuing software that has submitted the job, the user who has requested the job submission (or the PC used by the user), and the job itself that has been submitted by the job issuing software are specified. , Information for identification is required.
[0133]
The identification information 101 unique to the job issuing software is information for specifying and identifying the job issuing software itself. This is determined by the developer of the job issuing software. In order to identify job issuing software by another developer, use of a UUID (Universal Unique Identifier) generated using an IP address or time information may be considered.
[0134]
The user-specific identification information 102 is information for identifying and identifying a user who uses the job issuing software. This is determined by the platform on which the job issuing software runs. In order to identify the user from other users, a user ID assigned to identify each user in the system is used, and the IP is generated using the IP address and time information of the platform on which the job issuing software runs. UUID and the like can be considered.
[0135]
The job-specific identification information 103 is information for specifying and identifying a plurality of jobs submitted in specific job issuing software. This is determined by the job issuing software itself. In order to identify the job from other jobs, it is conceivable to use a simple sequential number or information on the time when the job is issued.
[0136]
FIG. 16 is a diagram illustrating an example of log information that records occurrence of a specific event that has occurred in the peripheral device a01 illustrated in FIG. 1 and information accompanying the event.
[0137]
In the present embodiment, the log is a mechanism for recording the occurrence of a specific event that has occurred in the peripheral device a01 and information associated therewith. Specific events include the completion of a job, the occurrence of a jam or an error, and for each occurrence, one record is spent and information is recorded. Here, a log related to the completion of a job related to the present invention will be described.
[0138]
In FIG. 16, records 1 to n (201 to 20n) of log information are a finite number of areas prepared in RAMb02 or DISKb04 in the peripheral device a01. Also, a storage area for log information is secured in the DISK c04 of the log management server a05, corresponding to each of the managed peripheral devices.
[0139]
When the job processing is completed in the peripheral device a01, information on the job is written in one record by the processing flow shown in FIG. Since there are a finite number of records, when a certain number of records are written, they are added to the oldest written record.
[0140]
On the other hand, in the log management server a05, according to the processing flow shown in FIG. 20, the log management software acquires the log of the peripheral device a01 at a constant cycle, and adds the acquired information for each record. However, the area of the log information provided in the DISK c04 of the log management server a05 is sufficiently large as compared with the peripheral device a01, and it is almost impossible for the record to be overwritten.
[0141]
The information table 204 is a table of information recorded in one record of log information. Here, as an example of information to be recorded, a log recording date / time 211, a job submission time 212, a job completion time 213, a job processing result 214, a job name 215, and job identification information 216 are given. Various information such as the amount of resources used by the job and the job requester can be recorded. Further, it goes without saying that the job name 215, the job identification information 216, and the like correspond to the job name e11, the job identification information e12, and the like, which are the job attributes of the same name in FIG.
[0142]
FIG. 17 is a flowchart illustrating an example of a second data processing procedure in the information processing apparatus according to the present invention, and a confirmation processing flow of a job processing result processed in the peripheral device a01 or the PCa02 to the PCa04 illustrated in FIG. Corresponding to Confirmation of the job processing result is performed from the job monitoring software, and the processing flow is processed by the job monitoring software. The present invention is applicable to both cases where the job monitoring software operates in the peripheral device a01 and when the job monitoring software operates in the PCa02 to a04. Note that (801) to (805) indicate each step.
[0143]
First, in step (801), a job list acquisition command is transmitted to the peripheral device a01 to be monitored. The job list acquisition command specifies to acquire the job identification information e12 of the job attribute. As a result, a list of jobs operating in the peripheral device a01 and their job identification information can be obtained.
[0144]
Note that, in cooperation with the job issuing software, the configuration may be such that the job identification information of the jobs issued by the job issuing software is obtained as a list. When acquiring the job list, attributes such as the job name e11 and the job processing status e21 may be acquired together with the job identification information e12.
[0145]
Next, from step (802) to step (804), the processing is repeated for each of the job identification information acquired in step (801). Step (802) indicates the start of the repetitive processing.
[0146]
Then, in a step (803), a job search command in which the job identification information acquired in the step (801) is designated as a parameter is sent to the peripheral device a01. The peripheral device a01 returns the result of the job search command according to the processing flow described with reference to FIGS. The job monitoring software holds the search results and stores the processing results and processing status of each job.
[0147]
Step (804) indicates the end of the repetitive processing. Here, it is checked whether or not there is any unconfirmed information among the job identification information acquired in step (801). If it is determined that there is still unconfirmed information, the process returns to step (802), and the unconfirmed information is determined. If it is determined that there is no more, the process proceeds to step (805).
[0148]
Then, in step (805), the processing result and processing status of each job obtained in step (803) are displayed on the screen of the display device in the format shown in FIG. This display is performed on the LCDb05 if the job monitoring software operates in the peripheral device a01, and is displayed on the CRTc05 if the job monitoring software operates in the PCa02 to a04. After performing these processes, the present process flow ends.
[0149]
FIG. 18 is a diagram illustrating an example of a screen that displays a job processing result and a processing status in the information processing apparatus according to the present invention.
[0150]
This screen is used when the job monitoring software displays the processing result and the processing status of the job. The present invention is applicable to both cases where the job monitoring software operates in the peripheral device a01 and when the job monitoring software operates in the PCa02 to a04.
[0151]
This screen is displayed on the LCDb05 of the peripheral device a01 or the CRTc05 of the PCs a02 to a04.
[0152]
Various user inputs (pressing a button, scrolling a list, and the like) are performed via the keyboard b06 of the peripheral device a01 or the keyboard c06 and the pointing device c07 of the PCs a02 to a04.
[0153]
In FIG. 18, reference numeral 401 denotes a title, which represents a brief description of the screen, and indicates that the screen is for displaying “job processing status / result”.
[0154]
Reference numeral 402 denotes a list box which displays a list of jobs accepted by the peripheral device a01 monitored by the job monitoring software, or includes a job issuing software operating in cooperation with the job monitoring software. Alternatively, a list of all jobs submitted to a01 may be displayed. An OK button 403 is a button for deleting the display screen and returning to another processing screen.
[0155]
Here, the job number (job 1 to job 7) in the peripheral device a01, the job name set for each job (job name e11 of the job attribute shown in FIG. 5 or job name 215 of the log information shown in FIG. 16) ), Job processing result (completion “OK”, completion “NG”) or job processing status (in execution, waiting for execution), mark (L) indicating that it was found in log information, and found in log management server Is displayed.
[0156]
This display content may be appropriately adjusted according to the required specifications of the job monitoring software, the job attributes that can be obtained / set, or the log information. The job attribute or log information that can be obtained / set can be obtained from the attribute indicating the capability of the peripheral device a01.
[0157]
FIG. 19 is a flowchart illustrating an example of a second data processing procedure in the server device according to the present invention, and corresponds to a processing flow of a job search request processed in the log management server a05 illustrated in FIG. Note that the job search request is sent to the log management server a05 when a job having the specified job identification information is not found during the processing of the job search command in the peripheral device a01. This processing flow is processed by the log management software in the log management server a05. (601) to (605) indicate each step.
[0158]
First, in step (601), a job in which the job identification information specified in the job search request is set is searched from the log information in the log management server a02. At this time, the log information relating to the peripheral device a01 specified in the job search request is searched. The log management software accesses all the records of the corresponding log information and acquires the job identification information 216 through the information table 204.
[0159]
Then, in step (602), it is checked whether there is any acquired job identification information 216 that matches the job identification information specified in the job search request. If there is a match, the process proceeds to step (603); otherwise, the process proceeds to step (604).
[0160]
In step (603), the fact that the job having the specified job identification information is found in the log information of the log management server a05, the record number of the log information, and the processing result 215 of the job are set as a reply. I do.
[0161]
On the other hand, in step (604), the fact that no job having the specified job identification information was found is set as a reply.
[0162]
Then, in step (605), the reply set in step (603) or step (604) is transmitted to peripheral device a01, and this processing flow ends.
[0163]
At the time of the job search request by the peripheral device a01, by specifying the information about the PCa02 to a04 to which the original job search command was transmitted, the reply set in the step (603) or the step (604) can be directly sent to the PCa02 to PCa02. The information may be sent to a04. In this case, the reply of the job search request is in the same format as the reply command of the job search command, and the PCa02 to a04 that transmitted the job search command return the reply of the job search request as a reply command of the job search command. You can receive.
[0164]
FIG. 20 is a flowchart illustrating an example of a third data processing procedure in the server device according to the present invention, and corresponds to a log acquisition processing flow. The log acquisition is performed from the log management software, and this processing flow is processed by the log management software. Note that (701) and (702) indicate each step.
[0165]
First, in step (701), a log acquisition command is transmitted to the peripheral device a01 to be subjected to log management. In the log acquisition command, record numbers (plural numbers) desired to be acquired can be specified, and a plurality of records in the corresponding peripheral device a01 are returned.
[0166]
Then, in step (702), the records of the acquired log information are classified for each peripheral device to be acquired, recorded in the log information of DISKc04 in the log management server a05, and the present processing flow ends. .
[0167]
Note that the log acquisition processing may be performed at various timings, such as every fixed time or every time a fixed number of records are recorded. What is necessary is just to comprise. When there are a plurality of peripheral devices to be managed, a log is obtained for each of them, and recording is performed in a log information area provided for each of the peripheral devices.
[0168]
Hereinafter, the configuration of the data processing program readable by the peripheral device, the log management server device, and the information processing device according to the present invention will be described with reference to the memory maps shown in FIGS. 21, 22, and 23.
[0169]
FIG. 21 is a diagram illustrating a memory map of a storage medium that stores various data processing programs readable by the peripheral device a01 according to the present invention. FIG. 22 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the log management server a05 according to the present invention. FIG. 23 is a diagram illustrating a memory map of a storage medium that stores various data processing programs readable by PCa02 to PC04 according to the present invention.
[0170]
Although not shown, information for managing a group of programs stored in the storage medium, for example, version information, a creator, and the like are also stored, and information dependent on the OS or the like on the program reading side, for example, a program is identified and displayed. Icons and the like may also be stored.
[0171]
Further, data dependent on various programs is also managed in the directory. In addition, a program for installing various programs on a computer or a program for decompressing a program to be installed when the program to be installed is compressed may be stored.
[0172]
In FIG. 21, the functions shown in FIGS. 6 to 12 and FIG. 17 in this embodiment may be performed by the CPU b01 in the peripheral device a01 by a program installed from the outside. In FIG. 22, the functions shown in FIGS. 14, 19, and 20 in this embodiment may be performed by the CPU c01 in the log management server a05 by a program installed from the outside. Further, in FIG. 23, the functions shown in FIGS. 12 and 17 in this embodiment may be performed by the CPU c01 in the PCa02 to a04 by a program installed from the outside. In this case, the present invention is applied even when a group of information including a program is supplied to the output device from a storage medium such as a CD-ROM, a flash memory, or an FD, or from an external storage medium via a network. Things.
[0173]
As described above, the storage medium storing the program codes of the software for realizing the functions of the above-described embodiments is supplied to the system or the apparatus, and the computer (or CPU or MPU) of the system or the apparatus stores the storage medium in the storage medium. It goes without saying that the object of the present invention is also achieved by reading and executing the program code thus obtained.
[0174]
In this case, the program code itself read from the storage medium implements the novel function of the present invention, and the storage medium storing the program code constitutes the present invention.
[0175]
As a storage medium for supplying the program code, for example, a flexible disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, nonvolatile memory card, ROM, EEPROM, or the like may be used. it can.
[0176]
When the computer executes the readout program code, not only the functions of the above-described embodiments are realized, but also an OS (Operating System) running on the computer based on the instruction of the program code. It goes without saying that a part or all of the actual processing is performed and the functions of the above-described embodiments are realized by the processing.
[0177]
Further, after the program code read from the storage medium is written into a memory provided on a function expansion board inserted into the computer or a function expansion unit connected to the computer, the function expansion is performed based on the instruction of the program code. It goes without saying that a CPU or the like provided in the board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.
[0178]
The present invention is not limited to the above embodiments, and various modifications are possible based on the spirit of the present invention, and they are not excluded from the scope of the present invention.
[0179]
Although various examples and embodiments of the present invention have been shown and described, those skilled in the art will recognize that the spirit and scope of the present invention is not limited to the specific description herein, but rather includes the following embodiments. Needless to say, this is also included. Hereinafter, Embodiments 1 to 8 will be described.
[0180]
A first embodiment is a peripheral device that analyzes a control command transmitted from the outside and processes a predetermined job processing request, job management request, and log management request,
A job receiving unit (corresponding to a job receiving function of a controller in the peripheral device a01) for temporarily generating management information of the job in a storage device in response to receiving a control command requesting the predetermined job processing;
A job attribute setting unit that extracts job identification information and function setting information provided outside the peripheral device from a control command requesting the job processing, and records the extracted information in management information of the job generated by the job receiving unit. (Equivalent to a job attribute setting function by a controller in the peripheral device a01), and
Job management means for performing job processing according to a control command requesting the job processing, and managing a series of processing statuses from the start to the end of the job in management information of the job generated by the job receiving means ( (Corresponding to a job management function by a controller in the peripheral device a01)
Log recording means for generating log information of the job in the storage device upon completion of the job processing, and recording the job identification information and function setting information of the job, and the processing result of the job in the log information ( (Corresponding to the log recording function of the controller in the peripheral device a01)
Server setting means (corresponding to a server setting function by a controller in the peripheral device a01) for setting a server device that can be connected to the peripheral device and permanently manages the log information externally;
Uploading means for uploading the log information to the server device set by the server setting means (corresponding to a log upload function by a controller in the peripheral device a01);
Searching means (corresponding to a job searching function by a controller in the peripheral device a01) for searching for the specified job identification information from the management information or the log information based on the control command requesting the job management;
When the search means is able to search for the specified job identification information from the management information, obtains the function setting information and the processing status of the corresponding job from the management information and returns a management information reply to a job search request source Means (corresponding to a management information return function by a controller in the peripheral device a01);
When the search means is able to search for the specified job identification information from the log information, it obtains the function setting information and the processing result of the corresponding job from the log information and returns a log information to a job search request source Means (corresponding to a log information return function by a controller in the peripheral device a01);
In the search unit, when the specified job identification information cannot be searched from any of the management information and the log information, the search unit requests the server device to acquire log information based on the specified job identification information. Server log information returning means (corresponding to a server log information returning function by a controller in the peripheral device a01) for acquiring function setting information and a processing result of a job to be sent and returning the job setting request source;
It is characterized by having.
[0181]
In a second embodiment, the log recording unit manages a predetermined amount of log information, and when the number of log information managed in the storage device reaches a predetermined amount at the end of the latest job, the oldest log information is stored. It is characterized in that the information content is updated to log information relating to the latest job.
[0182]
In a third embodiment, the control command includes an information acquisition command for acquiring information recorded in the storage device, an information setting command for setting information recorded in the storage device, and a job execution requesting a job execution request. A request command, a job list command for displaying a list of job management information relating to a plurality of jobs recorded in the storage device, a log upload command for instructing acquisition of log information from the server, A job search command for searching for job management information and log information using the job identification information as a key.
[0183]
A fourth embodiment is a job management method in a peripheral device that analyzes a control command transmitted from the outside and processes a predetermined job processing request, job management request, and log management request.
A job receiving step (step (33) shown in FIG. 8) for temporarily generating management information of the job in a storage device in response to receiving a control command requesting the predetermined job processing;
A job attribute setting step of extracting job identification information and function setting information given outside the peripheral device from a control command requesting the job processing, and recording the information in management information of the job generated in the job receiving step ( Step (37) shown in FIG. 8),
A job management step of performing job processing according to a control command requesting the job processing, and managing a series of processing statuses from start to end of the job in management information of the job generated in the job receiving step ( Step (33) and subsequent steps shown in FIG.
A log recording step of generating log information of the job in the storage device upon completion of the job processing, and recording the job identification information and function setting information of the job, and the processing result of the job in log information ( Step (46) shown in FIG. 8),
A server setting step (step (28) shown in FIG. 7) for setting a server device that can be connected to the peripheral device and permanently manages the log information externally;
An uploading step of uploading the log information to the server device set in the server setting step (steps (81) to (83) shown in FIG. 11);
A search step (step (61) shown in FIG. 10) of searching for the specified job identification information from the management information or the log information based on the control command requesting the job management;
In the search step, when the specified job identification information can be searched from the management information, the function setting information and the processing status of the corresponding job are obtained from the management information, and the management information reply to the job search request source is returned. Step (step (63) shown in FIG. 10);
In the search step, when the specified job identification information can be searched from the log information, the function setting information and the processing result of the corresponding job are obtained from the log information, and the log information is returned to the job search request source In step (step 66 shown in FIG. 10)) and when the specified job identification information cannot be searched for from both the management information and the log information in the search step, the specified job identification A server log information return step (step (67) shown in FIG. 10) for requesting acquisition of log information based on the information, acquiring function setting information and a processing result of a corresponding job, and returning the result to a job search request source; It is characterized by having.
[0184]
In a fifth embodiment, the log recording step manages a predetermined amount of log information. When the number of log information managed in the storage device reaches the predetermined amount at the end of the latest job, the oldest log is It is characterized in that the information content is updated to log information relating to the latest job.
[0185]
In a sixth embodiment, the control command is an information acquisition command for acquiring information recorded in the storage device, an information setting command for setting information recorded in the storage device, and a job execution requesting a job execution request. A request command, a job list command for displaying a list of job management information relating to a plurality of jobs recorded in the storage device, a log upload command for instructing acquisition of log information from the server, A job search command for searching for job management information and log information using the job identification information as a key.
[0186]
A seventh embodiment is characterized in that a program for implementing the job management method according to any one of claims 4 to 6 is stored in a computer-readable storage medium.
[0187]
Embodiment 8 is a program for realizing the job management method according to any one of claims 4 to 6.
[0188]
【The invention's effect】
As described above, according to the present invention, in response to reception of a control command requesting a predetermined job process, management information of the job is temporarily generated in the storage device,
From the control command requesting the job processing, the job identification information and the function setting information given outside the peripheral device are extracted, recorded in the management information of the job, and the job processing is performed according to the control command requesting the job processing. A series of processing status from the start to the end of the job is managed in the job management information generated by the job receiving unit, and when the job processing is completed, the log information of the job is generated in the storage device, and the job identification information is generated. Set up a server device that records information and function setting information and processing results in log information, and that can be connected to peripheral devices and that permanently manages log information externally, uploads log information to the set server device, and manages jobs Search for the specified job identification information from the management information or log information based on the control command that requests If it is found, the function setting information and processing status of the relevant job are obtained and returned to the job search request source, and if the specified job identification information can be searched from the log information, the function setting of the relevant job The information and the processing result are obtained and returned to the job search request source, and when the specified job identification information cannot be searched from any of the management information and the log information, the server device is determined based on the specified job identification information. By requesting the acquisition of log information, acquiring the function setting information and processing results of the corresponding job, and returning it to the source of the job search request, without imposing a load on the system resources and the traffic load on the network Even if the information on the job requested by the user to the peripheral device is not managed by the peripheral device, the processing status of the job and the An effect that the management results can build a reliable prehensible job processing management environment freely.
[Brief description of the drawings]
FIG. 1 is a configuration diagram illustrating an example of a data processing system to which a peripheral device according to an embodiment of the present invention can be applied.
FIG. 2 is a schematic diagram showing a hardware configuration of the peripheral device shown in FIG.
FIG. 3 is a schematic diagram showing a hardware configuration of the PC shown in FIG. 1;
FIG. 4 is a diagram illustrating an example of a command group for instructing job processing in the information processing apparatus according to the present invention.
FIG. 5 is a diagram illustrating an example of a job queue secured in a RAM of the peripheral device illustrated in FIG. 1;
FIG. 6 is a flowchart illustrating an example of a first data processing procedure in the peripheral device according to the present invention.
FIG. 7 is a flowchart illustrating an example of a second data processing procedure in the peripheral device according to the present invention.
FIG. 8 is a flowchart showing an example of a third data processing procedure in the peripheral device according to the present invention.
FIG. 9 is a flowchart illustrating an example of a fourth data processing procedure in the peripheral device according to the present invention.
FIG. 10 is a flowchart illustrating an example of a fifth data processing procedure in the peripheral device according to the present invention.
FIG. 11 is a flowchart illustrating an example of a sixth data processing procedure in the peripheral device according to the present invention.
FIG. 12 is a flowchart illustrating an example of a first data processing procedure in the information processing apparatus according to the present invention.
FIG. 13 is a diagram illustrating an example of an attribute information table managed in the peripheral device illustrated in FIG. 1;
FIG. 14 is a flowchart illustrating an example of a first data processing procedure in the server device according to the present invention.
FIG. 15 is a diagram illustrating an example of the content of job identification information illustrated in FIG. 4;
16 shows an example of log information for recording the occurrence of a specific event occurring in the peripheral device shown in FIG. 1 and information accompanying the event, or an example of log information managed in the server device shown in FIG. 1. FIG.
FIG. 17 is a flowchart illustrating an example of a second data processing procedure in the information processing apparatus according to the present invention.
FIG. 18 is a diagram illustrating an example of a screen displaying a job processing result and a processing status in the information processing apparatus according to the present invention.
FIG. 19 is a flowchart illustrating an example of a second data processing procedure in the server device according to the present invention.
FIG. 20 is a flowchart illustrating an example of a third data processing procedure in the server device according to the present invention.
FIG. 21 is a diagram illustrating a memory map of a storage medium that stores various data processing programs readable by a peripheral device according to the present invention.
FIG. 22 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the server device according to the present invention.
FIG. 23 is a diagram illustrating a memory map of a storage medium that stores various data processing programs that can be read by the information processing device (PC) according to the present invention.
[Explanation of symbols]
b01 CPU
b02 RAM
b03 ROM
b04 DISK
b05 LCD
b06 keyboard
b07 Communication interface
b08 Scanner engine
b09 Printer Engine
b10 fax board
b20 system bus

Claims (1)

外部から送信される制御コマンドを解析して所定のジョブを処理する周辺機器であって、
前記ジョブの処理を要求するジョブ処理要求に応じて、該ジョブの管理情報を記憶装置内に生成するジョブ受付手段と、
前記周辺機器外で付与されたジョブ識別情報を、前記ジョブ受付手段で生成される該ジョブの管理情報内に記録するジョブ属性設定手段と、
前記ジョブの処理の開始から終了までの一連の処理状況又は該ジョブの機能設定情報を前記ジョブ受付手段で生成される該ジョブの管理情報内に管理するジョブ管理手段と、
前記ジョブの処理の完了に伴い、該ジョブのログ情報を記憶装置内に生成し、該ジョブの前記ジョブ識別情報と、該ジョブの機能設定情報又は処理結果とをログ情報内に記録するログ記録手段と、
前記周辺機器と接続可能な、前記ログ情報を外部で永続管理するサーバ装置を設定するサーバ設定手段と、
前記サーバ設定手段で設定されたサーバ装置に、前記ログ情報をアップロードするアップロード手段と、
前記ジョブ管理を要求するコマンドに基づき、前記管理情報あるいは前記ログ情報より指定のジョブ識別情報を探索する探索手段と、
前記探索手段において、前記管理情報より指定のジョブ識別情報を探索できた場合に、前記管理情報より該当するジョブの機能設定情報又は処理状況を取得して、前記コマンドの送信元に返信する管理情報返信手段と、
前記探索手段において、前記ログ情報より指定のジョブ識別情報を探索できた場合に、前記ログ情報より該当するジョブの機能設定情報又は処理結果を取得して、前記コマンドの送信元に返信するログ情報返信手段と、
前記探索手段において、前記管理情報および前記ログ情報いずれからも指定のジョブ識別情報を探索できなかった場合に、前記サーバ装置に対して指定のジョブ識別情報に基づくログ情報の取得を要求し、該当するジョブの機能設定情報又は処理結果を取得して、前記コマンドの送信元に返信するサーバログ情報返信手段と、
を有することを特徴とする周辺機器。
A peripheral device that processes a predetermined job by analyzing a control command transmitted from the outside,
A job reception unit that generates management information of the job in a storage device in response to a job processing request that requests the processing of the job;
Job attribute setting means for recording job identification information given outside the peripheral device in management information of the job generated by the job receiving means,
Job management means for managing a series of processing status from the start to end of the processing of the job or function setting information of the job in management information of the job generated by the job receiving means,
A log record that generates log information of the job in a storage device when the processing of the job is completed, and records the job identification information of the job and the function setting information or the processing result of the job in the log information. Means,
Server setting means for setting a server device that can be connected to the peripheral device and that permanently manages the log information externally;
Uploading means for uploading the log information to the server device set by the server setting means;
Searching means for searching for the specified job identification information from the management information or the log information based on a command requesting the job management;
When the search means is able to search for the specified job identification information from the management information, obtains the function setting information or processing status of the corresponding job from the management information, and returns the management information to the transmission source of the command. Reply means,
When the search means is able to search for the specified job identification information from the log information, obtains the function setting information or the processing result of the corresponding job from the log information and returns the log information to the transmission source of the command Reply means,
In the search unit, when the specified job identification information cannot be searched from any of the management information and the log information, the search unit requests the server device to acquire log information based on the specified job identification information. Server log information returning means for obtaining function setting information or a processing result of a job to be performed, and for returning to a transmission source of the command,
A peripheral device comprising:
JP2002323816A 2002-11-07 2002-11-07 Peripheral equipment Pending JP2004157833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002323816A JP2004157833A (en) 2002-11-07 2002-11-07 Peripheral equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002323816A JP2004157833A (en) 2002-11-07 2002-11-07 Peripheral equipment

Publications (1)

Publication Number Publication Date
JP2004157833A true JP2004157833A (en) 2004-06-03

Family

ID=32803590

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002323816A Pending JP2004157833A (en) 2002-11-07 2002-11-07 Peripheral equipment

Country Status (1)

Country Link
JP (1) JP2004157833A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007081771A (en) * 2005-09-14 2007-03-29 Fuji Xerox Co Ltd Job processor and job requesting device
JP2008158560A (en) * 2006-12-20 2008-07-10 Canon Inc Printing management device, printing management method and computer program
JP2012134606A (en) * 2010-12-20 2012-07-12 Ricoh Co Ltd Image formation device, information processing system, information processing method, program, and recording medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007081771A (en) * 2005-09-14 2007-03-29 Fuji Xerox Co Ltd Job processor and job requesting device
JP2008158560A (en) * 2006-12-20 2008-07-10 Canon Inc Printing management device, printing management method and computer program
JP2012134606A (en) * 2010-12-20 2012-07-12 Ricoh Co Ltd Image formation device, information processing system, information processing method, program, and recording medium
US8964217B2 (en) 2010-12-20 2015-02-24 Ricoh Company, Ltd. Information processing system and method for acquiring workflow from management apparatus using user terminal address

Similar Documents

Publication Publication Date Title
JP4164280B2 (en) Peripheral device, job management method, computer-readable storage medium and program
JP5665437B2 (en) Network device management system, network device management device, client device and method thereof
US20070091361A1 (en) Printer, print control method, and program for executing print control method
US20020105671A1 (en) Printing system
JP2009009493A (en) Print control unit, print control method, and program
US8488140B2 (en) Image forming apparatus and processing method for the same
US11029899B2 (en) Maintenance system including information processing device that performs maintenance operation on image forming device
JP4114315B2 (en) Image processing device
JP2007233860A (en) Print control system, print attribute information management server, print controller and print control method
US8301807B2 (en) Device management apparatus, device management method, and recording medium
US20090033975A1 (en) Information processing apparatus for processing print data, method thereof and media in storage of control program of executing such method
JP6579013B2 (en) Information processing system, information processing apparatus, information processing method, and program
JP2004070494A (en) Network system
JP4164279B2 (en) Peripheral device, job management method, computer-readable storage medium and program
JP2004157833A (en) Peripheral equipment
JP4136449B2 (en) Image processing apparatus, resource information management method, and program
JP2004151994A (en) Data processor
JP4781199B2 (en) Information processing apparatus, information processing system, information processing method, and program
JP2008152428A (en) Management device, management method, storage medium and program
JP2010218352A (en) Device management apparatus, image forming apparatus, and device management program
JP3798710B2 (en) Image information processing apparatus, process information acquisition method, and program causing computer to execute the method
JP5446820B2 (en) Image processing apparatus and image processing method
JP2002273985A (en) Printing controller, data processing method and storage medium
JP2004178205A (en) Peripheral equipment managing method
JP2002287939A (en) Image output device