JP4120155B2 - Log data recording apparatus and log data recording method - Google Patents

Log data recording apparatus and log data recording method Download PDF

Info

Publication number
JP4120155B2
JP4120155B2 JP2000345773A JP2000345773A JP4120155B2 JP 4120155 B2 JP4120155 B2 JP 4120155B2 JP 2000345773 A JP2000345773 A JP 2000345773A JP 2000345773 A JP2000345773 A JP 2000345773A JP 4120155 B2 JP4120155 B2 JP 4120155B2
Authority
JP
Japan
Prior art keywords
log data
stop condition
stop
log
recording
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2000345773A
Other languages
Japanese (ja)
Other versions
JP2002149380A (en
Inventor
克将 宮井
公彦 佐々木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co Ltd
Fujifilm Business Innovation Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fuji Xerox Co Ltd, Fujifilm Business Innovation Corp filed Critical Fuji Xerox Co Ltd
Priority to JP2000345773A priority Critical patent/JP4120155B2/en
Publication of JP2002149380A publication Critical patent/JP2002149380A/en
Application granted granted Critical
Publication of JP4120155B2 publication Critical patent/JP4120155B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)
  • Control Or Security For Electrophotography (AREA)
  • Debugging And Monitoring (AREA)

Description

【0001】
【発明の属する技術分野】
本発明はログデータ記録装置に係り、特に、複写機やプリンタ等の画像形成装置における制御情報や印字情報等のログデータを記録するログデータ記録装置に関する。
【0002】
【従来の技術】
近年、プリンタ等の画像形成装置では高速化が著しく進んでいるが、このような高速な画像形成装置では、一般顧客向けの証書や請求書等の通知業務に使用される場合が多い。例えば、表に宛名を印刷し、裏面に請求金額等を印刷して請求書とするような場合である。
【0003】
このような場合において、複数の異なる顧客の請求書を連続して高速プリントする場合、用紙が重複したりすることにより宛名と金額が一致しなくなったり、宛名や請求金額等の印字情報が欠落したりした場合、顧客の信用問題に関わる大きな問題となりかねない。
【0004】
このような問題を解決するため、問題が発生した場合に原因を解析するため、プリンタを制御するコントローラからプリンタへ送信される制御コマンド等を含む通信情報、用紙の搬送情報、及び画像形成情報等の制御情報をログデータとして記録しておいたり、エラーが発生した時のエラー情報を記録しておいたりするのが一般的である(例えば特開平11−109806号公報、特開平5−107720号公報参照)。
【0005】
【発明が解決しようとする課題】
【0006】
題の原因が画像形成装置を制御するためのソフトウェアにあった場合、問題を解決するには記録したログデータを解析して原因を特定し、改めてソフトウェアを修正設計し、デバッグ、評価するといった手順が必要になるため時間がかかる、という問題があった。
【0007】
本発明は上記問題点を解消するために成されたものであり問題発生時に早急に対処が可能となるログデータ記録装置及びログデータ記録方法を提供することを目的とする。
【0008】
【課題を解決するための手段】
上記目的を達成するために、請求項1記載の発明は、記録用紙毎に画像を形成する画像形成装置における画像形成制御に関する複数の制御情報のログデータを記録するログデータ記録装置において、記録用紙毎に前記ログデータを記憶するためのメモリと、前記画像形成制御を停止させるログパターンを用いた停止条件を設定するための停止条件設定手段と、前記メモリに記録されたログデータを読み出し、読み出したログデータが前記停止条件を満たすか否かを判断する停止条件判断手段と、前記停止条件判断手段により前記読み出したログデータが前記停止条件を満たすと判断された場合に、前記画像形成制御を停止させる停止手段と、前記停止条件判断手段により前記停止条件を満たすと判断された場合の前記停止手段による前記画像形成制御の停止を行なうか、停止を行なわないかを前記停止条件毎選択可能な選択手段と、を備えたことを特徴とする。
【0009】
この発明によれば、画像形成装置における画像形成制御に関する複数の制御情報のログデータを記録用紙毎にするためのメモリを備えている。制御情報には、例えば画像形成装置をコントロールするためのコントローラと画像形成装置との間で通信される制御コマンド等の通信情報や、画像形成装置内の記録用紙の搬送経路に設けられたセンサからの検知信号等の搬送情報がある。メモリは、例えばリングバッファのように、最新の予め定めた所定量のログデータのみを記するような構成とすることができる。
【0010】
停止条件設定手段は、画像形成制御を停止させるログパターンを用いた停止条件を設定するためのものである。
【0011】
停止条件判断手段は、メモリに記録されたログデータを読み出し、読み出したログデータが停止条件を満たすか否かを判断する。
【0012】
停止手段は、停止条件判断手段により読み出したログデータが停止条件を満たすと判断された場合に、画像形成制御を停止させる。また、画像形成制御を停止させるだけでなく、これを報知するようにしてもよい。選択手段は、停止条件判断手段により前記停止条件を満たすと判断された場合の停止手段による画像形成制御の停止を行なうか、停止を行なわないかを停止条件毎選択可能なものである。
【0013】
また、停止条件設定手段は、停止手段による前記画像形成制御の停止、又は、無停止を選択するための入力ボックスを有する停止条件設定画面を備え、前記選択手段は、前記入力ボックスであってもよい。
【0014】
また、メモリに記録されたログデータを退避するための退避用メモリとメモリからログデータを読み出し、該読み出したログデータが停止条件と一致する場合に、ログデータを退避用メモリへ退避させる退避手段と、をさらに備えるようにしてもよい。
【0015】
すなわち、画像形成制御に関する制御情報を全て記録するとすると、メモリの容量が足りなくなる恐れがあるため、例えばメモリをリングバッファのように最新の予め定めた所定量のログデータのみを記憶するように構成する。そして、停止条件設定手段で設定されたログパターンを用いた停止条件のログデータとメモリから読み出したログデータとが一致する場合には、そのログデータを退避用メモリに退避させる。
【0016】
停止条件は、例えば予め定めた異常動作時のログパターン等を任意に設定することができる。これにより、異常動作時のログデータが退避用メモリに退避されるため、容易に異常の原因を分析することができる。また、退避手段は、退避用メモリに同一のログデータが既に記録されている場合には、ログデータの退避を行わないようにしてもよい。また、前記停止条件設定手段は、記録用紙を検知する第1センサから第2センサまでの記録用紙の搬送時間が予め定めた規定時間より長い場合のログパターンを用いた停止条件を、設定可能であってもよい。また、前記停止条件設定手段は、記録用紙を画像形成装置内部に給紙するためのトレイを開閉した場合のログパターンを用いた停止条件を、設定可能であってもよい。また、前記停止条件設定手段は、複数の条件を設定可能であると共に、第1の条件と第2の条件との論理和及び論理積の何れかの条件を設定可能であってもよい。また、前記制御情報は、画像形成装置を制御する制御コマンド、記録用紙の搬送情報、及び画像形成情報の何れか1つを含んでいてもよい。また、記録用紙毎に画像を形成する画像形成装置における画像形成制御に関する複数の制御情報のログデータを記録するログデータ記録方法において、記録用紙毎に前記ログデータを記するためのメモリに記録されたログデータを読み出し、読み出したログデータが予め設定された停止条件を満たすか否かを判断する停止条件判断ステップと、前記停止条件判断ステップにより前記読み出したログデータが予め設定された停止条件を満たすと判断された場合に、前記画像形成制御を停止させる停止ステップと、ログパターンを用いた前記停止条件を設定するための停止条件設定ステップと、前記停止条件判断ステップにより、前記停止条件を満たすと判断された場合の前記停止ステップによる前記画像形成制御の停止を行なうか、停止を行なわないかを前記停止条件毎選択する選択ステップと、を備えたことを特徴とするログデータ記録方法であってもよい。
【0017】
【発明の実施の形態】
以下、本発明の実施の形態について説明する。図1には、本実施の形態に係る画像形成装置の外観が示されている。
【0018】
図1に示すように、画像形成装置10は、プリンタ12及び該プリンタ12をコントロールするコントローラ14を備えている。
【0019】
プリンタ12は、プリンタ本体16、フィーダ18、及び後処理機20で構成されている。
【0020】
フィーダ18は給紙トレイ22A,22B,22Cを備えており、指定されたサイズの用紙をプリンタ本体16へ給紙する。
【0021】
プリンタ本体16は、コントローラ14と通信ケーブル23で接続され、コントローラ14から送信された印字情報に基づいて画像を形成する。
【0022】
プリンタ本体16は、例えば、図2に示すような画像形成部24を含んで構成されている。画像形成部24は、帯電装置26、感光体ドラム28、露光装置30、現像装置32、除電装置34、中間転写体36、1次転写装置38、2次転写装置40、剥離装置42、定着装置44等を含んで構成されている。
【0023】
なお、露光装置30は、例えば図示しない半導体レーザ等の光源や光源から射出された光ビームを感光体ドラム28の方へ偏向するためのポリゴンミラー、fθレンズ等を含んで構成される。
【0024】
このように構成された画像形成部24では、まず帯電装置26により図中矢印A方向へ定速回転する感光体ドラム28が一様に帯電される。そして、露光装置30が、帯電された感光体ドラム28上をコントローラ14から送信された印字情報に応じて変調された光ビームで走査する。これにより印字情報に応じた静電潜像が感光体ドラム28上に形成される。
【0025】
次に、感光体ドラム28上に形成された静電潜像を現像装置32でトナー現像し、感光体ドラム28上にトナー像を形成する。形成されたトナー像は1次転写装置38により中間転写体36に転写され、中間転写体36に転写されたトナー像は2次転写装置40により図中矢印B方向へ搬送される記録用紙46に転写される。これにより、記録用紙46上に印字情報に応じた画像が形成される。
【0026】
記録用紙46は、画像が転写された後、剥離装置42により中間転写体36から剥離され、定着装置44で定着処理が施される。これにより、記録用紙46上に形成されたトナー像が定着される。トナー像が定着された記録用紙46は、後処理機20へ搬送される。
【0027】
後処理機20は、排出トレイ48及びパージトレイ50を備えており、正常に画像形成された記録用紙46は排出トレイ48へ、不要な用紙はパージトレイ50へ排出される。
【0028】
また、プリンタ本体16には操作パネル52が設けられている。操作パネル52は、表示部及び操作キーで構成される。この表示部には操作メニューが表示され、該表示された操作メニューに従って操作キーを操作することによりプリンタ12が操作に従った動作をする。
【0029】
図3には、プリンタ本体16の概略ブロック図を示した。図3に示すように、プリンタ本体16は、制御部54、操作パネル52、メモリ53、画像形成部24、搬送機構56、ログ記録部58、タイマ60、常時記録メモリ62、ログパターン判別部64、退避記録メモリ66、ログパターン格納部68、プリント排出制御部70等を含んで構成されている。
【0030】
ログ記録部58では、コントローラ14と制御部54との間で通信される制御コマンドやシート番号等の通信情報、及び搬送機構56からの搬送情報を含む制御情報を常時モニタし、この制御情報とタイマ60からの時刻情報とに基づいてログデータを生成し、常時記録メモリ62へ順次格納する。
【0031】
上記制御コマンドは複数種類あり、例えば1枚の記録用紙に対してHintコマンド,Printコマンド,Requestコマンドの3種類の制御コマンドがコントローラ14と制御部54との間で通信される。なお、これらの制御コマンドは、正常動作時には例えばHintコマンド,Printコマンド,Requestコマンドの順序で発生する。
【0032】
また、搬送機構56は、複数のセンサ、例えばFeedセンサ、Skwセンサ、S8センサ、DGEセンサ、Deliverセンサの6種類のセンサを含んで構成されており、各センサは記録用紙を検知すると、これを搬送情報(検知信号)として制御部54へ通知する。すなわち、1枚の記録用紙に対して6種類の搬送情報が制御部54へ通知される。なお、これらの搬送情報は、正常動作時には例えばFeedセンサ、Skwセンサ、S8センサ、DGEセンサ、Deliverセンサの順序で発生する。
【0033】
制御部54では、この制御コマンド等の通信情報及び搬送情報を含む制御情報に基づいて画像形成部24及び搬送機構56を制御して記録用紙46へ画像を印刷する。
【0034】
なお、制御情報には、制御コマンド及び搬送情報の他、例えば給紙トレイ22A〜22Cの開閉を検知する開閉センサからの検知信号を特定I/F情報として制御情報に含めるようにしてもよい。
【0035】
また、制御コマンド及び搬送情報等の制御情報が発生した時刻を記録用紙毎にログデータとして記録しておくことにより、何らかの問題が発生した場合にログデータを参照することで問題の所在を容易に把握することができる。
【0036】
常時記録メモリ62は、所謂リングバッファとなっており、ログ記録部58では、常時記録メモリ62の最新のログデータが記録されたアドレスの次のアドレスにログデータを記録していく。そして、最後のアドレスまで到達した場合には、最初のアドレスに戻って同様にログデータを記録していく。これにより、常に最新のログデータが記録されると共に、最古のログデータが消去される。
【0037】
ログデータの記録形式としては、例えば図4に示す従来の形式のように、1つのログデータに対して時刻情報(Time Stamp)は6バイト(日、時、分、秒の各情報は各1バイト、1/1000秒の情報は2バイト)、制御コマンド(Command)は1バイト、シート(記録用紙)番号は2バイトの合計9バイトとしてもよいが、この場合、1枚の記録用紙当たり9バイト×9(制御コマンド3種類+搬送情報6種類=合計9種類)=81バイトも必要となり、ログデータが膨大となる。
【0038】
そこで、本実施形態では、以下のように1枚の記録用紙当たりのログデータをな記録形式としている。すなわち、図5に示すように、ログデータの情報をシート番号(Sheet No)と、3種類の制御コマンド及び6種類の搬送情報が発生した(受信した)時刻の時刻情報とにより構成する。すなわち、シート番号、3種類の制御コマンドの時刻情報、6種類の搬送情報の時刻情報の順に格納場所を予め定めておき、テーブルデータく。なお、制御コマンド及び搬送情報は例えば予め定められた発生順に格納場所を定めておく。
【0039】
これにより、図4の場合と比較して、制御コマンドの情報を削除することができるため、1枚の記録用紙当たりのログデータは、シート番号2バイト、時刻情報6バイト×9(制御コマンド3種類+搬送情報6種類=合計9種類)=54バイトの合計56バイトで足りる。
【0040】
このように、ログデータをテーブルデータとすることにより、ログデータの量を大幅に減らすことができ、メモリ容量を抑えることができる。
【0041】
なお、図6に示すように、Hintコマンドが発生した時刻を基準時刻とし、Hintコマンド以降の制御コマンド、搬送情報については、この基準時刻との差分時間を記録するようにしてもよい。
【0042】
すなわち、図6に示すように、Hintコマンドの時刻情報は上記と同様に6バイトとし、Printコマンドの時刻情報は、Hintコマンドの時刻情報との差分時間(1/1000秒単位)とし、Requestコマンドの時刻情報は、Printコマンドの時刻情報との差分時間とする。以下同様に、直前の制御コマンド又は搬送情報の時刻情報との差分時間を時刻情報として記録する。
【0043】
これにより、Hintコマンド以外の制御コマンドの時刻情報及び搬送情報の時刻情報は例えば2バイト程度あれば十分となるため、1枚の記録用紙当たりのログデータは、シート番号2バイト、時刻情報6バイト+時刻情報2バイト×8(制御コマンド2種類+搬送情報6種類=合計8種類)=16バイトの合計24バイトで足り、さらにログデータの量を減らすことができる。なお、時刻情報にさらに年、月の情報を含むようにしてもよい。
【0044】
次に、ログデータの流れを図7に示す概念図を参照して説明すると、ログパターン判別部64では、常時記録メモリ62に記録されたログデータを読み出し、読み出したログデータがログパターン格納部に格納された予め設定されたログストア条件を満たすか否かを判断する。そして、読み出したログデータがログパターン格納部に格納された予め設定されたログストア条件を満たす場合には、退避記録メモリ66へ退避すると共に、記録用紙46の排出を停止するか否かを指令するためのプリント排出制御指令信号をプリント排出制御部70を出力する。なお、退避記録メモリ66を複数の退避記録メモリ66A,66B,66Cに分け、空の退避記録メモリを検索し、検索した空の退避記録メモリに順次退避させるようにしてもよい。
【0045】
ログストア条件は、図8に示すような操作パネル52に表示されるログストア・停止条件設定画面72により設定することができる。図8に示すように、ログストア・停止条件設定画面72は、複数のログストア条件1、2を設定できるようになっている。このログストア・停止条件設定画面72で設定されたログストア条件データ(ログパターンデータ)は、制御部54によりログパターン格納部68へ格納される。
【0046】
このように、複数のログストア条件を設定できるため、図9に示すように、例えばS8センサからDGEセンサまでの記録用紙の搬送時間が予め定めた規定時間より長い場合をα設定としてログストア条件1に設定し、給紙トレイ22Cを開閉した場合をβ設定としてログストア条件2に設定することができる。そして、ログパターン判別部64では、常時記録メモリ62から読み出したログデータがα設定、β設定の条件の何れかに一致するか否かを判断し、一致する場合には退避記録メモリ66にログデータを退避させる。これにより、S8センサからDGEセンサまでの記録用紙の搬送時間が予め定めた規定時間より長い場合等の異常時のログデータが退避されるため、異常の原因の分析を容易に行うことができる。
【0047】
なお、退避記録メモリ66を図7に示すように複数設けた場合には、α設定用、β設定用で別々の退避記録メモリに記録するようにしてもよい。また、一方の設定のみ有効になっており、他方の設定が設定なしになっている場合には、設定なしの方の退避記録メモリも使用するようにしてもよい。さらに、退避記録メモリに同一のログデータが既に記録されている場合には、ログデータの退避を行わないようにしてもよい。
【0048】
図8に示すように、ログストア・停止条件設定画面72は、ログストア条件1設定フィールド73、ログストア条件2設定フィールド74、開始ボタン75、キャンセルボタン76が設けられている。ログストア条件1設定フィールド73、ログストア条件2設定フィールド74には、入力ボックス80〜94が設けられている。
【0049】
なお、ログストア条件1、ログストア条件2は、それぞれチェックボックス77、78をチェックすることにより有効となる。従って、ログストア条件1、2を両方設定したり、何れか一方を設定したりすることができる。また、3つ以上のログストア条件を設定できるようにしてもよい。
【0050】
入力ボックス80、82は、条件Aを設定するためのものであり、入力ボックス80は、例えば制御コマンドや搬送情報等の制御情報に対応する予め定めた数値が入力される。また、入力ボックス82は、さらに詳細な条件を入力するためのものであるが、ここでは説明の簡単のため省略する。なお、制御コマンドや搬送情報等の制御情報と、これに対応する予め定めた数値との対応関係は、例えばメモリ53に予め記憶される。
【0051】
入力ボックス88、90は、入力ボックス80、82と同様に条件Bを設定するためのものであり、入力ボックス88は、例えば制御コマンドや搬送情報等の制御情報に対応する予め定めた数値が入力される。また、入力ボックス90は、さらに詳細な条件を入力するためのものであるが、ここでは説明の簡単のため省略する。
【0052】
入力ボックス84は、条件A、条件Bの論理演算子を選択するためのものであり、or(論理和)、and(論理積)などを設定することができる。すなわち、(A or B),(A and B)等の条件を設定でき、また、(A and !B)等の条件も設定できる。
【0053】
入力ボックス86は、条件タイマ値Eを入力するためのものであり、例えば10msecを1単位とした数値が入力される(例えば最大65530msecまで設定可能)。これは、例えば入力ボックス84で「and」が選択された場合に有効となる。
【0054】
入力ボックス92は、ストアディレイタイマ値Gを入力するためのものであり、例えば10msecを1単位とした数値が入力される。
【0055】
入力ボックス94は、ログデータ退避後にプリンタ本体16の動作を停止させるか否かを選択するためのものであり、「無停止」又は「停止」を選択することができる。
【0056】
これらの条件が設定され、開始ボタン75が押下されると、ログパターン判別部64によるログストア条件の判断が開始される。一方、キャンセルボタン76が押下されると、設定された条件はクリアされる。
【0057】
ここで、(A and B)というログストア条件1が設定された場合、入力ボックス80に入力された数値に対応する制御情報が検出されてから、すなわち常時記録メモリ62に記録されてからE×10msecの間に入力ボックス88に入力された数値に対応する制御情報が検出された場合にログストア条件1が成立する。
【0058】
また、(A or B)というログストア条件1が設定された場合、入力ボックス80に入力された数値に対応する制御情報又は入力ボックス88に入力された数値に対応する制御情報の何れかが検出された場合にログストア条件1が成立する。
【0059】
さらに、(A and !B)というログストア条件1が設定された場合、入力ボックス80に入力された数値に対応する制御情報が検出されてからE×10msecの間に入力ボックス88に入力された数値に対応する制御情報が検出されない場合にログストア条件1が成立する。
【0060】
具体的な例を挙げて説明すると、例えば入力ボックス80に制御コマンドHintに対応する数値が入力され、入力ボックス84に「and」が選択され、入力ボックス86に「5」が入力され、入力ボックス88に制御コマンドPrintに対応する数値が入力され、入力ボックス92に「50」が入力され、入力ボックス94で「無停止」が選択された場合、制御コマンドHintが検出されてから5×10msec=50msecの間に制御コマンドPrintが検出された場合にログストア条件1が成立する。これにより、ログパターン判別部64は、常時記録メモリ62に記録されたログデータを50×10msec=500msec経過後に退避記録メモリ66へ退避させる。なお、ログデータ退避後の動作として「無停止」が選択されているため、プリンタ本体16は引き続き通常動作し、記録用紙は排出トレイ48へ排出される。
【0061】
次に、図10に示すログパターン判別部64におけるステートダイアグラムを参照してログパターン判別部64の状態遷移について説明する。
【0062】
ログパターン判別部64は、状態S1(LOG_NOT_READY)でログストア条件の設定待ち状態となる。この状態で図8に示すログストア・停止条件設定画面72でログストア条件が設定され開始ボタン75が押下されると、状態S2へ遷移する。
【0063】
状態S2(LOG_TRIGGER_WAIT)では、設定されたログストア条件における条件A又は条件Bに対応する情報を受信するか否かを判断する。ここで、ログストア条件が(A or B)の場合で条件A又は条件Bに対応する情報を受信した場合には状態S4へ遷移する。
【0064】
また、ログストア条件が(A and B)の場合で条件A又は条件Bに対応する情報を受信した場合、又はログストア条件が(A and !B)の場合で条件Aに対応する情報を受信した場合には、状態S3へ遷移する。
【0065】
状態S3(LOG_TRIGGER_B_WAIT)では、条件タイマ値E時間内に条件B又は条件Aに対応する情報を受信したか否かを判断する。ここで、ログストア条件が(A and B)の場合でタイムアウトした場合、すなわちE時間内に条件A又は条件Bに対応する情報を受信しなかった場合、又はログストア条件が(A and !B)の場合で条件Bに対応する情報を受信した場合には、状態S2へ戻る。
【0066】
一方、ログストア条件が(A and B)の場合でE時間内に条件B又は条件Aに対応する情報を受信した場合、又はログストア条件が(A and !B)の場合でタイムアウトした場合、すなわちE時間内に条件Bに対応する情報を受信しなかった場合には、状態S4へ遷移する。
【0067】
状態S4(LOG_TIMER_G_WAIT)では、ストアディレイタイマ値G経過後にプリンタ排出制御部70にプリント停止を指示し、状態S5へ遷移する。状態S5(LOG_STACKING)では、ログデータを上記記録メモリ62から退避記録メモリ66へ退避させ、状態S2へ遷移する。
【0068】
次に、本実施形態の作用について説明する。図11には本実施形態に係るデータフローダイアグラムが、図12にはログパターン判別部64におけるデータフローダイアグラムが示されている。なお、画像形成プロセスに関するログデータの記録については省略し、搬送機構56に含まれる複数の紙送りセンサからの搬送情報及びコントローラ14とプリンタ本体16の制御部54との間で通信される制御コマンドに関するログデータの記録についてのみ説明する。
【0069】
図11に示すように、ログ記録部58では、プロセス100でタイマ60に定期的にアクセスし、時刻情報(例えば日、時、分、秒、1/1000秒の情報)を時刻情報D1として図示しない内部のメモリに記憶する。
【0070】
また、ログ記録部58では、プロセス102で搬送機構56に含まれる紙送りセンサ96からの検知信号(搬送情報)を監視すると共に、プロセス104でコントローラ14とプリンタ本体16の制御部54との間で通信される制御コマンド等の通信情報を監視し、ログデータとして記録する必要のある通信情報を抽出する。
【0071】
そして、プロセス106で抽出した通信情報、搬送情報に記録用紙(シート)のシート番号を付加したシートテーブルを作成し、これをシートテーブル情報D2として図示しない内部のメモリに記憶する。
【0072】
プロセス108では、このシートテーブル情報D2に受信した搬送情報の時刻情報を付加してログデータとしプロセス112へ転送する。同様に、プロセス110では、シートテーブル情報D2に抽出した通信情報の時刻情報を付加してログデータとしプロセス112へ転送する。
【0073】
プロセス112では、搬送情報に関するログデータと通信情報に関するログデータとを合成してログデータD3として常時記録メモリ62へ格納すると共に、ログデータ記録の完了を示すログ完了情報をログパターン判別部64へ通知する。
【0074】
これにより、ログパターン判別部64では、プロセス120において、予め設定され、かつログパターン格納部68に格納されたログストア条件D4と常時記録メモリ62に記憶されたログデータD3とが一致するか否かを判断する。そして、一致する場合には、ログデータD3を退避記録メモリ66へ退避させると共に、ログストア条件D4でプリント停止が指示されている場合には、プリント排出制御部70に対してプリント停止を指示する。
【0075】
次に、プロセス120の詳細を図12に示すデータフローダイアグラムを参照して説明する。
【0076】
プロセス121では、ログストア条件D4と常時記録メモリ62に記憶されたログデータD3とが一致するか否かを判断し、判断結果をプロセス122、123へ通知する。プロセス122では、ログストア条件でストアディレイタイマが設定されている場合には、設定されたG時間経過後にプロセス124へ通知する。プロセス124では、常時記録メモリ62に記録されたログデータD3を退避記録メモリ66へ退避させる。
【0077】
また、プロセス123では、ログストア条件D4でプリント停止が指示されている場合には、プリント排出制御部70に対してプリント停止を指示する。
【0078】
このように、ログストア条件を任意に設定できるため、様々な条件のログデータを退避させることができ、例えば異常動作時の原因の分析を容易に行うことができる。
【0079】
【発明の効果】
本発明によれば問題発生時に問題の所在を早期に把握することができる、という効果を有する。
【図面の簡単な説明】
【図1】 画像形成装置の外観図である。
【図2】 画像形成部の概略構成図である。
【図3】 プリンタ本体のブロック図である。
【図4】 ログデータの記録形式を示す図である。
【図5】 ログデータの記録形式を示す図である。
【図6】 ログデータの記録形式を示す図である。
【図7】 ログデータの流れの概念について説明するための図である。
【図8】 ログストア条件の設定画面を示す図である。
【図9】 ログストア条件の判断の概念について説明するための図である。
【図10】 ログパターン判別部の状態を示すステートダイアグラムである。
【図11】 プリンタ本体における制御及びデータの流れを示すデータフローダイアグラムである。
【図12】 ログパターン判別部における制御及びデータの流れを示すデータフローダイアグラムである。
【符号の説明】
10 画像形成装置
12 プリンタ
14 コントローラ
16 プリンタ本体
18 フィーダ
20 後処理機
22A、22B、22C 給紙トレイ
23 通信ケーブル
24 画像形成部
48 排出トレイ
50 パージトレイ
52 操作パネル(設定手段)
53 メモリ
54 制御部
56 搬送機構
58 ログ記録部
60 タイマ(時刻情報取得手段)
62 常時記録メモリ(メモリ)
64 ログパターン判別部(退避手段)
66 退避記録メモリ(退避用メモリ)
68 ログパターン格納部
70 プリント排出制御部
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a log data recording apparatus, and more particularly to a log data recording apparatus that records log data such as control information and print information in an image forming apparatus such as a copying machine or a printer.
[0002]
[Prior art]
In recent years, image forming apparatuses such as printers have been remarkably increased in speed, but such high-speed image forming apparatuses are often used for notification work such as certificates and bills for general customers. For example, the address is printed on the front and the billing amount is printed on the back surface to make a bill.
[0003]
In such a case, when multiple invoices of different customers are continuously printed at high speed, the address and the amount of money do not match due to overlapping sheets, or the printing information such as the address and the amount of the charge is missing. If this happens, it can be a major problem related to customer credit issues.
[0004]
In order to solve such a problem, in order to analyze the cause when the problem occurs, communication information including a control command transmitted from the controller that controls the printer to the printer, paper conveyance information, image formation information, etc. In general, the control information is recorded as log data, or error information when an error occurs is recorded (for example, JP-A-11-109806 and JP-A-5-107720). See the official gazette).
[0005]
[Problems to be solved by the invention]
[0006]
  QIf the cause of the problem is in the software used to control the image forming device, the procedure to solve the problem is to analyze the recorded log data, identify the cause, redesign the software, debug, and evaluate There is a problem that it takes time because it is necessary.
[0007]
  The present invention has been made to solve the above problems.,Log data recording device that can quickly cope with problemsAnd log data recording methodThe purpose is to provide.
[0008]
[Means for Solving the Problems]
  In order to achieve the above object, the invention described in claim 1 is a log data recording apparatus that records log data of a plurality of control information related to image formation control in an image forming apparatus that forms an image for each recording sheet.For each recording sheetStop the memory for storing the log data and the image formation controlUsing log patternStop condition setting means for setting a stop condition, stop condition determining means for reading the log data recorded in the memory, and determining whether the read log data satisfies the stop condition, and the stop condition determination Stopping means for stopping the image forming control when the read log data is determined by the means to satisfy the stop condition;Whether or not to stop the image forming control by the stopping unit when the stopping condition determining unit determines that the stop condition is satisfied.For each stop conditionInSelectable selection means.
[0009]
  According to the present invention, log data of a plurality of control information related to image formation control in the image forming apparatus is stored.For each recording sheetRecordRecordIt has a memory to do. The control information includes, for example, communication information such as a control command communicated between the controller for controlling the image forming apparatus and the image forming apparatus, and a sensor provided in a recording paper conveyance path in the image forming apparatus. There is transport information such as a detection signal. The memory stores only the latest predetermined amount of log data, such as a ring buffer.RecordIt can be set as such.
[0010]
  The stop condition setting unit stops the image forming control.Using log patternThis is for setting a stop condition.
[0011]
  Stop condition judgment meansThe log data recorded in the memory is read, and it is determined whether or not the read log data satisfies the stop condition.
[0012]
  The stop unit stops the image forming control when it is determined that the log data read by the stop condition determining unit satisfies the stop condition. In addition to stopping the image formation control, this may be notified. The selection means isWhether or not to stop the image formation control by the stop means when the stop condition determination means determines that the stop condition is satisfied.For each stop conditionInIt is selectable.
[0013]
  Also,The stop condition setting unit may include a stop condition setting screen having an input box for selecting whether the image forming control is stopped or not stopped by the stop unit, and the selection unit may be the input box.
[0014]
  A save memory for saving log data recorded in the memory,Log data is read from the memory, and the read log data isStop conditionAnd a saving unit that saves the log data to the saving memory when the two data coincide with each other.
[0015]
  That is, if all the control information related to image formation control is recorded, the capacity of the memory may become insufficient. For example, the memory is configured to store only the latest predetermined amount of log data such as a ring buffer. To do. And set by the stop condition setting meansUsing log patternStop conditionLog dataAnd memoryFromIf the read log data matches, the log data is saved in the save memory.
[0016]
  As the stop condition, for example, a predetermined log pattern at the time of abnormal operation can be arbitrarily set. As a result, the log data at the time of abnormal operation is saved in the save memory, so that the cause of the abnormality can be easily analyzed. The saving unit may not save the log data when the same log data is already recorded in the saving memory. The stop condition setting means may be configured such that the conveyance time of the recording paper from the first sensor that detects the recording paper to the second sensor is longer than a predetermined time.Stop conditions using the log pattern ofIt may be configurable. The stop condition setting unit opens and closes a tray for feeding recording paper into the image forming apparatus.Stop conditions using the log pattern ofIt may be configurable. Further, the stop condition setting means may be capable of setting a plurality of conditions and setting either a logical sum or a logical product of the first condition and the second condition. The control information may include any one of a control command for controlling the image forming apparatus, recording sheet conveyance information, and image formation information. Further, in a log data recording method for recording log data of a plurality of control information related to image formation control in an image forming apparatus that forms an image for each recording sheet,For each recording sheetRecord the log dataRecordThe log data recorded in the memory for reading is read, and the read log data is read by the stop condition determining step for determining whether the read log data satisfies a preset stop condition, and the stop condition determining step. A stop step of stopping the image forming control when it is determined that a preset stop condition is satisfied;Using log patternA stop condition setting step for setting the stop condition;Whether the image forming control is to be stopped or not to be stopped by the stop step when it is determined by the stop condition determining step that the stop condition is satisfied.For each stop conditionInA log data recording method characterized by comprising a selection step of selecting.
[0017]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below. FIG. 1 shows the appearance of the image forming apparatus according to the present embodiment.
[0018]
As shown in FIG. 1, the image forming apparatus 10 includes a printer 12 and a controller 14 that controls the printer 12.
[0019]
The printer 12 includes a printer main body 16, a feeder 18, and a post-processing device 20.
[0020]
The feeder 18 includes paper feed trays 22 </ b> A, 22 </ b> B, and 22 </ b> C, and feeds paper of a specified size to the printer main body 16.
[0021]
The printer main body 16 is connected to the controller 14 via a communication cable 23 and forms an image based on print information transmitted from the controller 14.
[0022]
For example, the printer main body 16 includes an image forming unit 24 as shown in FIG. The image forming unit 24 includes a charging device 26, a photosensitive drum 28, an exposure device 30, a developing device 32, a charge eliminating device 34, an intermediate transfer member 36, a primary transfer device 38, a secondary transfer device 40, a peeling device 42, and a fixing device. 44 etc. are comprised.
[0023]
The exposure apparatus 30 includes, for example, a light source such as a semiconductor laser (not shown), a polygon mirror for deflecting a light beam emitted from the light source toward the photosensitive drum 28, an fθ lens, and the like.
[0024]
In the image forming section 24 configured as described above, first, the photosensitive drum 28 that rotates at a constant speed in the direction of arrow A in the drawing is uniformly charged by the charging device 26. Then, the exposure device 30 scans the charged photosensitive drum 28 with a light beam modulated according to the print information transmitted from the controller 14. As a result, an electrostatic latent image corresponding to the print information is formed on the photosensitive drum 28.
[0025]
Next, the electrostatic latent image formed on the photosensitive drum 28 is developed with toner by the developing device 32 to form a toner image on the photosensitive drum 28. The formed toner image is transferred to the intermediate transfer member 36 by the primary transfer device 38, and the toner image transferred to the intermediate transfer member 36 is transferred to the recording paper 46 conveyed in the direction of arrow B in the figure by the secondary transfer device 40. Transcribed. As a result, an image corresponding to the print information is formed on the recording paper 46.
[0026]
After the image is transferred, the recording paper 46 is peeled off from the intermediate transfer member 36 by the peeling device 42 and subjected to fixing processing by the fixing device 44. As a result, the toner image formed on the recording paper 46 is fixed. The recording paper 46 on which the toner image is fixed is conveyed to the post-processor 20.
[0027]
The post-processing machine 20 includes a discharge tray 48 and a purge tray 50, and the recording paper 46 on which normal image formation has been performed is discharged to the discharge tray 48, and unnecessary paper is discharged to the purge tray 50.
[0028]
The printer body 16 is provided with an operation panel 52. The operation panel 52 includes a display unit and operation keys. An operation menu is displayed on the display unit, and the printer 12 operates according to the operation by operating the operation key according to the displayed operation menu.
[0029]
FIG. 3 shows a schematic block diagram of the printer main body 16. As shown in FIG. 3, the printer main body 16 includes a control unit 54, an operation panel 52, a memory 53, an image forming unit 24, a transport mechanism 56, a log recording unit 58, a timer 60, a constant recording memory 62, and a log pattern determination unit 64. , A save recording memory 66, a log pattern storage unit 68, a print discharge control unit 70, and the like.
[0030]
The log recording unit 58 constantly monitors communication information such as control commands and sheet numbers communicated between the controller 14 and the control unit 54, and control information including conveyance information from the conveyance mechanism 56. Log data is generated based on the time information from the timer 60 and sequentially stored in the continuous recording memory 62.
[0031]
There are a plurality of types of control commands. For example, three types of control commands, a Hint command, a Print command, and a Request command, are communicated between the controller 14 and the control unit 54 for one recording sheet. These control commands are generated in the order of, for example, a Hint command, a Print command, and a Request command during normal operation.
[0032]
The transport mechanism 56 includes a plurality of sensors, for example, a feed sensor, a Skw sensor, an S8 sensor, a DGE sensor, and a Deliver sensor. When each sensor detects a recording sheet, The controller 54 is notified as conveyance information (detection signal). That is, six types of conveyance information are notified to the control unit 54 for one recording sheet. Note that these pieces of conveyance information are generated in the order of, for example, a Feed sensor, a Skw sensor, an S8 sensor, a DGE sensor, and a Deliver sensor during normal operation.
[0033]
The control unit 54 prints an image on the recording paper 46 by controlling the image forming unit 24 and the conveyance mechanism 56 based on the control information including the communication information such as the control command and the conveyance information.
[0034]
In addition to the control command and the conveyance information, for example, a detection signal from an opening / closing sensor that detects opening / closing of the sheet feeding trays 22A to 22C may be included in the control information as specific I / F information.
[0035]
In addition, by recording the time when control information such as control commands and transport information occurs as log data for each recording sheet, it is easy to locate the problem by referring to the log data when any problem occurs. I can grasp it.
[0036]
The constant recording memory 62 is a so-called ring buffer, and the log recording unit 58 records log data at an address next to the address where the latest log data of the constant recording memory 62 is recorded. When the last address is reached, the log data is recorded in the same manner after returning to the first address. As a result, the latest log data is always recorded and the oldest log data is erased.
[0037]
As the log data recording format, for example, the time information (Time Stamp) is 6 bytes (one day, hour, minute and second information is 1 each for one log data as in the conventional format shown in FIG. 1 byte for 1/1000 second information), 1 byte for the control command (Command), and 2 bytes for the sheet (recording paper) number. In this case, 9 bytes per recording paper may be used. Bytes × 9 (3 types of control commands + 6 types of conveyance information = 9 types in total) = 81 bytes are required, and the log data becomes enormous.
[0038]
Therefore, in the present embodiment, the log data per recording sheet is set as a recording format as follows. That is, as shown in FIG. 5, the log data information is composed of a sheet number (Sheet No) and time information of the time when three types of control commands and six types of conveyance information are generated (received). That is, the storage location is determined in advance in the order of the sheet number, the time information of the three types of control commands, and the time information of the six types of conveyance information. For example, the storage location of the control command and the conveyance information is determined in the order of occurrence.
[0039]
As a result, the control command information can be deleted as compared with the case of FIG. 4, so the log data per recording sheet has a sheet number of 2 bytes, time information of 6 bytes × 9 (control command 3 A total of 56 bytes (type + conveyance information 6 types = total 9 types) = 54 bytes is sufficient.
[0040]
Thus, by using log data as table data, the amount of log data can be greatly reduced, and the memory capacity can be reduced.
[0041]
As shown in FIG. 6, the time at which the Hint command is generated may be used as the reference time, and the control command and the conveyance information after the Hint command may be recorded with a difference time from this reference time.
[0042]
That is, as shown in FIG. 6, the time information of the Hint command is 6 bytes as described above, the time information of the Print command is the time difference (1/1000 second unit) from the time information of the Hint command, and the Request command Is the difference time from the time information of the Print command. Similarly, the time difference from the previous control command or the time information of the conveyance information is recorded as time information.
[0043]
As a result, it is sufficient that the time information of the control command other than the Hint command and the time information of the conveyance information are, for example, about 2 bytes. Therefore, the log data per recording sheet has a sheet number of 2 bytes and time information of 6 bytes. + Time information 2 bytes × 8 (2 types of control command + 6 types of transport information = 8 types in total) = 16 bytes in total, which is sufficient, and the amount of log data can be further reduced. The time information may further include year and month information.
[0044]
Next, the flow of the log data will be described with reference to the conceptual diagram shown in FIG. 7. The log pattern determination unit 64 reads the log data recorded in the constant recording memory 62, and the read log data is stored in the log pattern storage unit. It is determined whether or not a preset log store condition stored in is satisfied. If the read log data satisfies the preset log store condition stored in the log pattern storage unit, the command is to save to the save recording memory 66 and to stop the discharge of the recording paper 46. A print discharge control command signal is output from the print discharge control unit 70. The save record memory 66 may be divided into a plurality of save record memories 66A, 66B, and 66C, empty save record memories may be searched, and the saved save record memories may be sequentially saved.
[0045]
The log store conditions can be set on a log store / stop condition setting screen 72 displayed on the operation panel 52 as shown in FIG. As shown in FIG. 8, the log store / stop condition setting screen 72 can set a plurality of log store conditions 1 and 2. The log store condition data (log pattern data) set on the log store / stop condition setting screen 72 is stored in the log pattern storage unit 68 by the control unit 54.
[0046]
Since a plurality of log store conditions can be set in this way, as shown in FIG. 9, for example, when the transport time of the recording paper from the S8 sensor to the DGE sensor is longer than a predetermined time, the log store condition is set as α. The log store condition 2 can be set as β setting when 1 is set and the paper feed tray 22C is opened and closed. Then, the log pattern discriminating unit 64 determines whether or not the log data read from the constant recording memory 62 matches either of the α setting or β setting conditions. Save the data. As a result, the log data at the time of abnormality such as when the conveyance time of the recording paper from the S8 sensor to the DGE sensor is longer than a predetermined time is saved, so that the cause of the abnormality can be easily analyzed.
[0047]
In the case where a plurality of save recording memories 66 are provided as shown in FIG. 7, recording may be performed in separate save recording memories for α setting and β setting. If only one setting is valid and the other setting is not set, the saving recording memory without setting may be used. Further, when the same log data is already recorded in the save recording memory, the log data may not be saved.
[0048]
As shown in FIG. 8, the log store / stop condition setting screen 72 includes a log store condition 1 setting field 73, a log store condition 2 setting field 74, a start button 75, and a cancel button 76. Input boxes 80 to 94 are provided in the log store condition 1 setting field 73 and the log store condition 2 setting field 74.
[0049]
Note that log store condition 1 and log store condition 2 are validated by checking check boxes 77 and 78, respectively. Therefore, both log store conditions 1 and 2 can be set, or either one can be set. Also, three or more log store conditions may be set.
[0050]
The input boxes 80 and 82 are for setting the condition A. In the input box 80, for example, predetermined numerical values corresponding to control information such as control commands and conveyance information are input. The input box 82 is for inputting more detailed conditions, but is omitted here for the sake of simplicity. The correspondence relationship between control information such as control commands and conveyance information and predetermined numerical values corresponding to the control information is stored in advance in the memory 53, for example.
[0051]
The input boxes 88 and 90 are for setting the condition B in the same manner as the input boxes 80 and 82. For the input box 88, for example, predetermined numerical values corresponding to control information such as control commands and conveyance information are input. Is done. The input box 90 is for inputting more detailed conditions, but is omitted here for the sake of simplicity.
[0052]
The input box 84 is used to select a logical operator of the condition A and the condition B, and or (logical sum), and (logical product), etc. can be set. That is, conditions such as (A or B) and (A and B) can be set, and conditions such as (A and! B) can also be set.
[0053]
The input box 86 is used to input the condition timer value E. For example, a numerical value with 10 msec as one unit is input (for example, a maximum of 65530 msec can be set). This is effective, for example, when “and” is selected in the input box 84.
[0054]
The input box 92 is for inputting a store delay timer value G, and a numerical value with 10 msec as one unit is input, for example.
[0055]
The input box 94 is for selecting whether or not to stop the operation of the printer main body 16 after saving the log data, and can select “non-stop” or “stop”.
[0056]
When these conditions are set and the start button 75 is pressed, determination of the log store condition by the log pattern determination unit 64 is started. On the other hand, when the cancel button 76 is pressed, the set condition is cleared.
[0057]
Here, when the log store condition 1 of (A and B) is set, the control information corresponding to the numerical value input in the input box 80 is detected, that is, after being always recorded in the recording memory 62, E × The log store condition 1 is satisfied when control information corresponding to the numerical value input in the input box 88 is detected for 10 msec.
[0058]
When the log store condition 1 (A or B) is set, either control information corresponding to the numerical value input in the input box 80 or control information corresponding to the numerical value input in the input box 88 is detected. Log store condition 1 is satisfied.
[0059]
Furthermore, when the log store condition 1 of (A and! B) is set, the control information corresponding to the numerical value input in the input box 80 is detected and input in the input box 88 during E × 10 msec. Log store condition 1 is satisfied when control information corresponding to the numerical value is not detected.
[0060]
To explain with a specific example, for example, a numerical value corresponding to the control command Hint is input to the input box 80, “and” is selected to the input box 84, “5” is input to the input box 86, and the input box When a numerical value corresponding to the control command Print is input to 88, “50” is input to the input box 92, and “non-stop” is selected in the input box 94, 5 × 10 msec = after the control command Hint is detected Log store condition 1 is satisfied when the control command Print is detected within 50 msec. Thereby, the log pattern determination unit 64 saves the log data recorded in the constant recording memory 62 to the save recording memory 66 after 50 × 10 msec = 500 msec has elapsed. Since “non-stop” is selected as the operation after saving the log data, the printer main body 16 continues to operate normally, and the recording paper is discharged to the discharge tray 48.
[0061]
Next, state transition of the log pattern determination unit 64 will be described with reference to a state diagram in the log pattern determination unit 64 shown in FIG.
[0062]
The log pattern discriminating unit 64 enters a log store condition setting waiting state in the state S1 (LOG_NOT_READY). In this state, when the log store condition is set on the log store / stop condition setting screen 72 shown in FIG. 8 and the start button 75 is pressed, the state transitions to the state S2.
[0063]
In the state S2 (LOG_TRIGGER_WAIT), it is determined whether or not information corresponding to the condition A or the condition B in the set log store condition is received. Here, when the log store condition is (A or B) and information corresponding to the condition A or the condition B is received, the state transitions to the state S4.
[0064]
When the log store condition is (A and B) and information corresponding to the condition A or B is received, or when the log store condition is (A and! B), information corresponding to the condition A is received. If so, the flow goes to the state S3.
[0065]
In the state S3 (LOG_TRIGGER_B_WAIT), it is determined whether information corresponding to the condition B or the condition A is received within the condition timer value E time. Here, when the log store condition is (A and B) and time-out occurs, that is, when information corresponding to the condition A or condition B is not received within the E time, or the log store condition is (A and! B). ), If the information corresponding to the condition B is received, the process returns to the state S2.
[0066]
On the other hand, when the log store condition is (A and B) and information corresponding to the condition B or condition A is received within E time, or when the log store condition is (A and! B) and time-out occurs, That is, when the information corresponding to the condition B is not received within the E time, the flow goes to the state S4.
[0067]
In the state S4 (LOG_TIMER_G_WAIT), after the store delay timer value G elapses, the printer discharge control unit 70 is instructed to stop printing, and the state transitions to the state S5. In the state S5 (LOG_STACKING), the log data is saved from the recording memory 62 to the save recording memory 66, and the state transitions to the state S2.
[0068]
Next, the operation of this embodiment will be described. FIG. 11 shows a data flow diagram according to the present embodiment, and FIG. 12 shows a data flow diagram in the log pattern determination unit 64. Note that recording of log data relating to the image forming process is omitted, and conveyance information from a plurality of paper feed sensors included in the conveyance mechanism 56 and a control command communicated between the controller 14 and the control unit 54 of the printer main body 16. Only log data recording will be described.
[0069]
As shown in FIG. 11, in the log recording unit 58, the process 60 periodically accesses the timer 60, and time information (for example, date, hour, minute, second, 1/1000 second information) is illustrated as time information D1. Do not store in internal memory.
[0070]
The log recording unit 58 monitors a detection signal (conveyance information) from the paper feed sensor 96 included in the conveyance mechanism 56 in the process 102, and between the controller 14 and the control unit 54 of the printer main body 16 in the process 104. The communication information such as the control command communicated in the monitoring is monitored, and the communication information that needs to be recorded as log data is extracted.
[0071]
Then, a sheet table is created by adding the sheet number of the recording paper (sheet) to the communication information and conveyance information extracted in the process 106, and this is stored in an internal memory (not shown) as sheet table information D2.
[0072]
In the process 108, the time information of the received conveyance information is added to the sheet table information D2 and transferred to the process 112 as log data. Similarly, in the process 110, the time information of the extracted communication information is added to the sheet table information D2 and transferred to the process 112 as log data.
[0073]
In the process 112, the log data related to the conveyance information and the log data related to the communication information are combined and stored in the recording memory 62 as log data D3, and log completion information indicating completion of log data recording is sent to the log pattern determination unit 64. Notice.
[0074]
As a result, the log pattern discriminating unit 64 determines whether or not the log store condition D4 set in advance and stored in the log pattern storage unit 68 matches the log data D3 stored in the constant recording memory 62 in the process 120. Determine whether. If they match, the log data D3 is saved in the save recording memory 66, and if the print stop is instructed by the log store condition D4, the print discharge control unit 70 is instructed to stop printing. .
[0075]
Details of the process 120 will now be described with reference to the data flow diagram shown in FIG.
[0076]
In the process 121, it is determined whether or not the log store condition D4 matches the log data D3 stored in the constant recording memory 62, and the determination result is notified to the processes 122 and 123. In the process 122, when the store delay timer is set in the log store condition, the process 124 is notified after the set G time elapses. In the process 124, the log data D3 recorded in the constant recording memory 62 is saved in the save recording memory 66.
[0077]
Further, in the process 123, when the print stop is instructed by the log store condition D4, the print discharge control unit 70 is instructed to stop the print.
[0078]
As described above, since the log store condition can be arbitrarily set, log data of various conditions can be saved, and for example, the cause of the abnormal operation can be easily analyzed.
[0079]
【The invention's effect】
  According to the present invention,It has the effect that the location of the problem can be grasped at an early stage when the problem occurs.
[Brief description of the drawings]
FIG. 1 is an external view of an image forming apparatus.
FIG. 2 is a schematic configuration diagram of an image forming unit.
FIG. 3 is a block diagram of a printer main body.
FIG. 4 is a diagram showing a recording format of log data.
FIG. 5 is a diagram illustrating a recording format of log data.
FIG. 6 is a diagram showing a recording format of log data.
FIG. 7 is a diagram for explaining the concept of the flow of log data.
FIG. 8 is a diagram showing a log store condition setting screen.
FIG. 9 is a diagram for explaining a concept of determining a log store condition.
FIG. 10 is a state diagram showing a state of a log pattern discrimination unit.
FIG. 11 is a data flow diagram showing control and data flow in the printer main body.
FIG. 12 is a data flow diagram showing a flow of control and data in a log pattern discrimination unit.
[Explanation of symbols]
10 Image forming apparatus
12 Printer
14 Controller
16 Printer body
18 Feeder
20 Post-processing machine
22A, 22B, 22C Paper tray
23 Communication cable
24 Image forming unit
48 discharge tray
50 Purge tray
52 Operation panel (setting means)
53 memory
54 Control unit
56 Transport mechanism
58 Log recording part
60 timer (time information acquisition means)
62 Continuous recording memory (memory)
64 Log pattern discriminating unit (evacuation means)
66 Evacuation Recording Memory (Evacuation Memory)
68 Log pattern storage
70 Print Discharge Control Unit

Claims (9)

記録用紙毎に画像を形成する画像形成装置における画像形成制御に関する複数の制御情報のログデータを記録するログデータ記録装置において、
記録用紙毎に前記ログデータを記録するためのメモリと、
前記画像形成制御を停止させるログパターンを用いた停止条件を設定するための停止条件設定手段と、
前記メモリに記録されたログデータを読み出し、読み出したログデータが前記停止条件を満たすか否かを判断する停止条件判断手段と、
前記停止条件判断手段により前記読み出したログデータが前記停止条件を満たすと判断された場合に、前記画像形成制御を停止させる停止手段と、
前記停止条件判断手段により前記停止条件を満たすと判断された場合の、前記停止手段による前記画像形成制御の停止を行なうか、停止を行なわないかを前記停止条件毎選択可能な選択手段と、
を備えたことを特徴とするログデータ記録装置。
In a log data recording apparatus that records log data of a plurality of control information related to image formation control in an image forming apparatus that forms an image for each recording sheet,
A memory for recording the log data for each recording sheet ;
Stop condition setting means for setting a stop condition using a log pattern for stopping the image formation control;
Stop condition determining means for reading log data recorded in the memory and determining whether the read log data satisfies the stop condition;
Stop means for stopping the image forming control when the read log data is determined by the stop condition determining means to satisfy the stop condition;
, Or a stop of the image forming control by the stop means, and selectable selection means whether or not to perform stop for each of the stop condition when it is determined that the stop condition is satisfied by the stop condition determination means,
A log data recording apparatus comprising:
前記停止条件設定手段は、前記停止手段による前記画像形成制御の停止、又は、無停止を選択するための入力ボックスを有する停止条件設定画面を備え、
前記選択手段は、前記入力ボックスであることを特徴とする請求項1記載のログデータ記録装置。
The stop condition setting means includes a stop condition setting screen having an input box for selecting stop of the image formation control by the stop means or no stop,
The log data recording apparatus according to claim 1, wherein the selection unit is the input box.
前記メモリに記録されたログデータを退避するための退避用メモリと、
前記メモリから前記ログデータを読み出し、該読み出したログデータが前記停止条件と一致する場合に、前記ログデータを前記退避用メモリへ退避させる退避手段と、
をさらに備えたことを特徴とする請求項1又は請求項2記載のログデータ記録装置。
A save memory for saving log data recorded in the memory;
Saving means for reading the log data from the memory and saving the log data to the saving memory when the read log data matches the stop condition;
The log data recording device according to claim 1, further comprising:
前記退避手段は、前記退避用メモリに同一のログデータが既に記録されている場合には、ログデータの退避を行わないことを特徴とする請求項3記載のログデータ記録装置。4. The log data recording apparatus according to claim 3 , wherein the save unit does not save the log data when the same log data is already recorded in the save memory. 前記停止条件設定手段は、記録用紙を検知する第1センサから第2センサまでの記録用紙の搬送時間が予め定めた規定時間より長い場合のログパターンを用いた停止条件を、設定可能なことを特徴とする請求項1乃至請求項4の何れか1項に記載のログデータ記録装置。The stop condition setting means can set a stop condition using a log pattern when the conveyance time of the recording sheet from the first sensor for detecting the recording sheet to the second sensor is longer than a predetermined time. The log data recording device according to claim 1, wherein the log data recording device is a log data recording device. 前記停止条件設定手段は、記録用紙を画像形成装置内部に給紙するためのトレイを開閉した場合のログパターンを用いた停止条件を、設定可能なことを特徴とする請求項1乃至請求項5の何れか1項に記載のログデータ記録装置。6. The stop condition setting unit can set a stop condition using a log pattern when a tray for feeding recording paper into an image forming apparatus is opened and closed. The log data recording device according to any one of the above. 前記停止条件設定手段は、複数の条件を設定可能であると共に、第1の条件と第2の条件との論理和及び論理積の何れかの条件を設定可能なことを特徴とする請求項1乃至請求項6の何れか1項に記載のログデータ記録装置。  2. The stop condition setting unit can set a plurality of conditions and can set either a logical sum or a logical product of a first condition and a second condition. The log data recording device according to any one of claims 6 to 6. 前記制御情報は、画像形成装置を制御する制御コマンド、記録用紙の搬送情報、及び画像形成情報の何れか1つを含むことを特徴とする請求項1乃至請求項7の何れか1項に記載のログデータ記録装置。  8. The control information according to claim 1, wherein the control information includes any one of a control command for controlling the image forming apparatus, recording sheet conveyance information, and image formation information. Log data recording device. 記録用紙毎に画像を形成する画像形成装置における画像形成制御に関する複数の制御情報のログデータを記録するログデータ記録方法において、
記録用紙毎に前記ログデータを記するためのメモリに記録されたログデータを読み出し、読み出したログデータが予め設定された停止条件を満たすか否かを判断する停止条件判断ステップと、
前記停止条件判断ステップにより前記読み出したログデータが予め設定された停止条件を満たすと判断された場合に、前記画像形成制御を停止させる停止ステップと、
ログパターンを用いた前記停止条件を設定するための停止条件設定ステップと、
前記停止条件判断ステップにより、前記停止条件を満たすと判断された場合の前記停止ステップによる前記画像形成制御の停止を行なうか、停止を行なわないかを前記停止条件毎選択する選択ステップと、
を備えたことを特徴とするログデータ記録方法。
In a log data recording method for recording log data of a plurality of control information related to image formation control in an image forming apparatus that forms an image for each recording sheet,
Reading the log data recorded the log data for each recording sheet in a memory for recorded, and stop condition determining step read log data to determine whether a preset stop condition is satisfied,
A stop step of stopping the image forming control when it is determined by the stop condition determining step that the read log data satisfies a preset stop condition;
A stop condition setting step for setting the stop condition using a log pattern ;
A selection step for selecting, for each stop condition, whether to stop the image forming control by the stop step when it is determined by the stop condition determining step that the stop condition is satisfied ;
A log data recording method comprising:
JP2000345773A 2000-11-13 2000-11-13 Log data recording apparatus and log data recording method Expired - Fee Related JP4120155B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2000345773A JP4120155B2 (en) 2000-11-13 2000-11-13 Log data recording apparatus and log data recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2000345773A JP4120155B2 (en) 2000-11-13 2000-11-13 Log data recording apparatus and log data recording method

Publications (2)

Publication Number Publication Date
JP2002149380A JP2002149380A (en) 2002-05-24
JP4120155B2 true JP4120155B2 (en) 2008-07-16

Family

ID=18819742

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2000345773A Expired - Fee Related JP4120155B2 (en) 2000-11-13 2000-11-13 Log data recording apparatus and log data recording method

Country Status (1)

Country Link
JP (1) JP4120155B2 (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004148690A (en) 2002-10-31 2004-05-27 Brother Ind Ltd Image forming apparatus
JP2006107217A (en) 2004-10-06 2006-04-20 Ricoh Co Ltd Image forming apparatus, log transfer method and log transfer system
JP2008071085A (en) * 2006-09-13 2008-03-27 Ricoh Co Ltd Image processor and log transfer method
JP5316272B2 (en) * 2009-07-10 2013-10-16 富士ゼロックス株式会社 Information processing apparatus, image forming apparatus, failure recovery support system, and program
CN103348332A (en) * 2011-02-09 2013-10-09 三菱电机株式会社 Log recording apparatus
JP6164944B2 (en) * 2013-06-13 2017-07-19 キヤノン株式会社 Measuring method
JP6458356B2 (en) * 2014-05-21 2019-01-30 富士ゼロックス株式会社 History storage device, image forming apparatus, and program
US20180127558A1 (en) * 2015-04-21 2018-05-10 Mitsubishi Gas Chemical Company, Inc. Fiber-reinforced thermoplastic resin composition
US11129320B2 (en) * 2015-10-28 2021-09-21 Fuji Corporation Feeder trace log saving system
JP7298207B2 (en) 2019-03-12 2023-06-27 株式会社リコー Network equipment, network communication system and network control program

Also Published As

Publication number Publication date
JP2002149380A (en) 2002-05-24

Similar Documents

Publication Publication Date Title
EP1256851B1 (en) Image forming apparatus capable of determining type of recording sheet to prevent sheet jam
US4167322A (en) Electrostatic copying system having monitoring devices
US6011936A (en) Image forming apparatus having recovery process for jammed sheets
JPS58136473A (en) Printer
JP4120155B2 (en) Log data recording apparatus and log data recording method
CN101497404B (en) Sheet feeding apparatus, image forming device and sheet feeding method
JPH0337185B2 (en)
JP2002302300A (en) Recording sheet managing device
JPH08267851A (en) Recording apparatus
JP4101112B2 (en) Image forming medium feeding device
JP2000307786A (en) Image forming device
JP3242791B2 (en) Slip processing unit of transfer payment slip classification and aggregation machine
JPH09240086A (en) Printer
JP2584736B2 (en) Copier
JP3014269B2 (en) Receipt issuing device
JPH02257155A (en) Information collecting system for image forming device
JP2823213B2 (en) Image forming device
JPH05158295A (en) Recorder
JPH02259666A (en) Information collecting system for image forming device
JPH07271128A (en) Image forming device
JP3002435B2 (en) Inspection method for image forming system
JPH0877321A (en) Document counter
JPH01127369A (en) Printing information counter controller
JPH02257156A (en) Information collecting system for image forming device
JP2549797B2 (en) Image forming device

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040713

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20061019

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061121

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070122

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070605

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070730

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20080401

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20080414

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

Free format text: PAYMENT UNTIL: 20110509

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20110509

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20120509

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20130509

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20140509

Year of fee payment: 6

LAPS Cancellation because of no payment of annual fees