JP2008162168A - Log data recording apparatus, log data recording method and log data recording program - Google Patents

Log data recording apparatus, log data recording method and log data recording program Download PDF

Info

Publication number
JP2008162168A
JP2008162168A JP2006355536A JP2006355536A JP2008162168A JP 2008162168 A JP2008162168 A JP 2008162168A JP 2006355536 A JP2006355536 A JP 2006355536A JP 2006355536 A JP2006355536 A JP 2006355536A JP 2008162168 A JP2008162168 A JP 2008162168A
Authority
JP
Japan
Prior art keywords
log data
image forming
stored
storage unit
forming apparatus
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.)
Granted
Application number
JP2006355536A
Other languages
Japanese (ja)
Other versions
JP4830853B2 (en
Inventor
Jun Wakamatsu
潤 若松
Kentaro Ikeda
健太郎 池田
Yoshie Kawabata
喜栄 川端
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
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 filed Critical Fuji Xerox Co Ltd
Priority to JP2006355536A priority Critical patent/JP4830853B2/en
Publication of JP2008162168A publication Critical patent/JP2008162168A/en
Application granted granted Critical
Publication of JP4830853B2 publication Critical patent/JP4830853B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a log data recording apparatus capable of recording log data with an inexpensive constitution without decreasing printing speed, a log data recording method, and a log data recording program. <P>SOLUTION: An image forming apparatus 10 is equipped with a non-volatile HDD 20 and a volatile RAM 22 which can write data at a higher speed than the HDD 20. During image forming operation of the image forming apparatus 10, the log data generated in a parent process and in a child process are stored in the RAM 22. When the image forming apparatus 10 is stopped in such cases as a case where power source off for the image forming apparatus 10 is indicated and a case where an obstacle is generated, the log data stored in the RAM 22 are stored in the HDD 20. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、ログデータ記録装置、ログデータ記録方法、及びログデータ記録プログラムに係り、より詳しくは、画像形成装置の動作に関する各種ステータス等を含むログデータを記録するログデータ記録装置、ログデータ記録方法、及びログデータ記録プログラムに関する。   The present invention relates to a log data recording device, a log data recording method, and a log data recording program. More specifically, the present invention relates to a log data recording device for recording log data including various statuses relating to the operation of an image forming apparatus, and log data recording. The present invention relates to a method and a log data recording program.

従来、プリンタやファクシミリ等の画像形成装置の動作中に障害等が発生した場合に、その状況が確認できるように、画像形成中の動作等に関する各種ステータス等を含むログデータを記憶装置に記録する装置が提案されている(例えば特許文献1参照)。   Conventionally, log data including various statuses relating to operations during image formation is recorded in a storage device so that the situation can be confirmed when a failure or the like occurs during the operation of an image forming apparatus such as a printer or a facsimile. An apparatus has been proposed (see, for example, Patent Document 1).

また、ログデータを記憶するための記憶装置としては、例えばハードディスクドライブ等があるが、例えば電子写真方式で連帳紙に画像を印刷する高速カラー連帳紙プリンタ等のような生産性の高い高速な装置となると、ログデータの量も多くなり、ログデータの記録動作が思わぬ負荷となって印刷速度が低下してしまう、という問題があった。
特開2004−122448号公報
As a storage device for storing log data, for example, there is a hard disk drive or the like. For example, a high-speed and high-productivity high-speed color continuous paper printer that prints images on continuous paper by an electrophotographic method is used. In such a case, there is a problem in that the amount of log data increases, and the printing operation of the log data becomes an unexpected load and the printing speed decreases.
JP 2004-122448 A

不揮発性のメモリでハードディスクドライブよりも高速な記憶装置は存在するが、同じ記憶容量で比較した場合、非常に高価になってしまう。また、ログデータをRAM等の揮発性のメモリに記憶すれば装置のコストを抑えることができるが、装置の電源を切った際にログデータが消失してしまうため、障害時の状況を知るためには装置の電源が切れる前に記録用紙に印刷する等の処理が必要となってしまう。   Although there is a non-volatile memory and a storage device that is faster than a hard disk drive, it is very expensive when compared with the same storage capacity. In addition, if log data is stored in a volatile memory such as a RAM, the cost of the apparatus can be reduced. However, since the log data is lost when the apparatus is turned off, the situation at the time of failure is known. Requires a process such as printing on a recording sheet before the apparatus is turned off.

本発明は、上記問題を解決すべく成されたものであり、安価な構成で印刷速度を低下させることなくログデータを記録することができるログデータ記録装置、ログデータ記録方法、及びログデータ記録プログラムを提供することを目的とする。   The present invention has been made to solve the above problems, and is a log data recording apparatus, log data recording method, and log data recording capable of recording log data without reducing the printing speed with an inexpensive configuration. The purpose is to provide a program.

上記目的を達成するために、請求項1記載の発明のログデータ記録装置は、不揮発性の第1の記憶手段と、前記第1の記憶手段よりも高速にデータを書き込み可能な揮発性の第2の記憶手段と、画像形成装置に関するログデータを生成するログデータ生成手段と、前記画像形成装置の画像形成動作中は、前記ログデータを前記第2の記憶手段に記憶させ、前記画像形成動作中以外の所定タイミングで、前記第2の記憶手段に記憶されたログデータを前記第1の記憶手段に記憶させる制御手段と、を備えたことを特徴とする。   In order to achieve the above object, a log data recording apparatus according to a first aspect of the present invention is a non-volatile first storage unit and a volatile first unit capable of writing data faster than the first storage unit. 2 storage means, log data generation means for generating log data relating to the image forming apparatus, and during the image forming operation of the image forming apparatus, the log data is stored in the second storage means, and the image forming operation is performed. Control means for storing the log data stored in the second storage means in the first storage means at a predetermined timing other than the inside.

この発明によれば、制御手段は、画像形成装置の画像形成動作中は、ログデータ生成手段で生成されるログデータを不揮発性の第1の記憶手段よりも高速にデータを書き込み可能な揮発性の第2の記憶手段に記憶させ、画像形成動作中以外の所定タイミングで、第2の記憶手段に記憶されたログデータを第1の記憶手段に記憶させる。   According to the present invention, the control means is volatile so that the log data generated by the log data generation means can be written at higher speed than the nonvolatile first storage means during the image forming operation of the image forming apparatus. The log data stored in the second storage unit and stored in the second storage unit at a predetermined timing other than during the image forming operation is stored in the first storage unit.

これにより、ログデータの記録動作によって画像形成動作の速度が低下するのを防ぐことができる。   Accordingly, it is possible to prevent the speed of the image forming operation from being lowered by the log data recording operation.

なお、請求項2に記載したように、前記所定タイミングは、前記画像形成装置の電源オフが指示された時又は前記画像形成装置の障害発生時である構成とすることができる。   According to a second aspect of the present invention, the predetermined timing may be configured when an instruction to turn off the power of the image forming apparatus is given or when a failure occurs in the image forming apparatus.

また、請求項3に記載したように、前記制御手段は、前記ログデータ生成手段によるログデータの生成を停止させた後に、前記第2の記憶手段に記憶されたログデータを前記第1の記憶手段に記憶させるようにしてもよい。これにより、ログデータの消失を防ぐことができる。   According to a third aspect of the present invention, the control unit stops the log data generation by the log data generation unit, and then stores the log data stored in the second storage unit in the first storage. You may make it memorize | store in a means. Thereby, loss of log data can be prevented.

また、請求項4に記載したように、前記制御手段は、前記画像形成装置の起動時に、前記第1の記憶手段に記憶されたログデータの少なくとも一部を前記第2の記憶手段に記憶させるようにしてもよい。   According to a fourth aspect of the present invention, the control unit causes the second storage unit to store at least a part of log data stored in the first storage unit when the image forming apparatus is activated. You may do it.

この場合、請求項5に記載したように、前記制御手段は、前記画像形成装置の起動時に、前記第1の記憶手段に記憶されたログデータの少なくとも一部を前記第2の記憶手段に記憶させた後に、前記ログデータ生成手段によるログデータの生成を開始させるようにしてもよい。これにより、ログデータの消失を防ぐことができる。   In this case, as described in claim 5, the control unit stores at least a part of the log data stored in the first storage unit in the second storage unit when the image forming apparatus is activated. Then, generation of log data by the log data generation means may be started. Thereby, loss of log data can be prevented.

また、請求項6に記載したように、前記制御手段は、前記画像形成装置の起動時は、当該制御手段の制御に関するログデータを前記第1の記憶手段に記憶させ、前記第1の記憶手段に記憶されたログデータの少なくとも一部を前記第2の記憶手段に記憶させた後に、前記制御に関するログデータを前記第2の記憶手段に記憶させるようにしてもよい。   According to a sixth aspect of the present invention, when the image forming apparatus is activated, the control unit stores log data related to the control of the control unit in the first storage unit, and the first storage unit After storing at least a part of the log data stored in the second storage means, the log data related to the control may be stored in the second storage means.

また、制御手段の制御に関するログデータの量が少ない場合には、請求項7に記載したように、前記制御手段は、当該制御手段の制御に関するログデータを常に前記第1の記憶手段に記憶させるようにしてもよい。   Further, when the amount of log data related to the control of the control means is small, as described in claim 7, the control means always stores the log data related to the control of the control means in the first storage means. You may do it.

また、制御手段の制御に関するログデータを第1の記憶手段に保存しておく必要がない場合には、請求項8に記載したように、前記制御手段は、当該制御手段の制御に関するログデータを前記第1の記憶手段に記憶させないようにしてもよい。   In addition, when there is no need to store log data related to the control of the control means in the first storage means, the control means, as described in claim 8, the log data related to the control of the control means. You may make it not memorize | store in the said 1st memory | storage means.

請求項9記載の発明のログデータ記録方法は、画像形成装置に関するログデータを生成し、前記画像形成装置の画像形成動作中は、前記ログデータを不揮発性の第1の記憶手段よりも高速にデータを書き込み可能な揮発性の第2の記憶手段に記憶させ、前記画像形成動作中以外の所定タイミングで、前記第2の記憶手段に記憶されたログデータを前記第1の記憶手段に記憶させることを特徴とする。   According to a ninth aspect of the present invention, there is provided a log data recording method for generating log data relating to an image forming apparatus, and during the image forming operation of the image forming apparatus, the log data is faster than the nonvolatile first storage means. Data is stored in a writable second storage device, and log data stored in the second storage device is stored in the first storage device at a predetermined timing other than during the image forming operation. It is characterized by that.

この発明によれば、画像形成装置の画像形成動作中は、生成されたログデータを不揮発性の第1の記憶手段よりも高速にデータを書き込み可能な揮発性の第2の記憶手段に記憶させ、画像形成動作中以外の所定タイミングで、第2の記憶手段に記憶されたログデータを第1の記憶手段に記憶させるので、ログデータの記録動作によって画像形成動作の速度が低下するのを防ぐことができる。   According to the present invention, during the image forming operation of the image forming apparatus, the generated log data is stored in the volatile second storage unit capable of writing data faster than the nonvolatile first storage unit. Since the log data stored in the second storage unit is stored in the first storage unit at a predetermined timing other than during the image forming operation, the speed of the image forming operation is prevented from being reduced by the log data recording operation. be able to.

請求項10記載の発明のログデータ記録プログラムは、画像形成装置に関するログデータを生成するステップと、前記画像形成装置の画像形成動作中は、前記ログデータを不揮発性の第1の記憶手段よりも高速にデータを書き込み可能な揮発性の第2の記憶手段に記憶させ、前記画像形成動作中以外の所定タイミングで、前記第2の記憶手段に記憶されたログデータを前記第1の記憶手段に記憶させるステップと、を含む処理をコンピュータに実行させるためのログデータ記録プログラムであることを特徴とする。   According to a tenth aspect of the present invention, there is provided a log data recording program for generating log data relating to an image forming apparatus, and storing the log data in a non-volatile first storage unit during an image forming operation of the image forming apparatus. The data is stored in a volatile second storage means capable of writing data at high speed, and the log data stored in the second storage means is stored in the first storage means at a predetermined timing other than during the image forming operation. A log data recording program for causing a computer to execute processing including the step of storing.

この発明によれば、画像形成装置の画像形成動作中は、生成されたログデータを不揮発性の第1の記憶手段よりも高速にデータを書き込み可能な揮発性の第2の記憶手段に記憶させ、画像形成動作中以外の所定タイミングで、第2の記憶手段に記憶されたログデータを第1の記憶手段に記憶させるので、ログデータの記録動作によって画像形成動作の速度が低下するのを防ぐことができる。   According to the present invention, during the image forming operation of the image forming apparatus, the generated log data is stored in the volatile second storage unit capable of writing data faster than the nonvolatile first storage unit. Since the log data stored in the second storage unit is stored in the first storage unit at a predetermined timing other than during the image forming operation, the speed of the image forming operation is prevented from being reduced by the log data recording operation. be able to.

以上説明したように、本発明によれば、安価な構成で印刷速度を低下させることなくログデータを記録することができる、という効果を有する。   As described above, according to the present invention, it is possible to record log data without reducing the printing speed with an inexpensive configuration.

以下、図面を参照しながら本発明の実施形態について説明する。   Hereinafter, embodiments of the present invention will be described with reference to the drawings.

図1には、本実施形態に係る画像形成装置10のハードウェア構成の概略構成を示すブロック図を示した。同図に示すように、画像形成装置10は、制御部12、UI(ユーザーインターフェース)パネル14、及び画像出力部16等を含んで構成されている。   FIG. 1 is a block diagram showing a schematic configuration of the hardware configuration of the image forming apparatus 10 according to the present embodiment. As shown in FIG. 1, the image forming apparatus 10 includes a control unit 12, a UI (user interface) panel 14, an image output unit 16, and the like.

制御部12は、ホストコンピュータ40からの指示により、又はユーザーのUIパネル14の操作による指示により、印刷データを画像出力部16へ出力して印刷動作を制御する。   The control unit 12 controls the printing operation by outputting print data to the image output unit 16 according to an instruction from the host computer 40 or according to an instruction by a user operation on the UI panel 14.

画像出力部16は、本実施形態では、一例として例えば電子写真方式による印刷を行うが、これに限られるものではない。電子写真方式では、画像に応じて変調されたレーザービームにより感光体上を走査すること等によって画像に応じた潜像を感光体上に形成させ、これをトナー現像して記録用紙に転写する。   In the present embodiment, for example, the image output unit 16 performs printing by electrophotography, for example, but is not limited thereto. In the electrophotographic system, a latent image corresponding to an image is formed on the photosensitive member by scanning the photosensitive member with a laser beam modulated according to the image, and this is developed with toner and transferred to a recording sheet.

制御部12は、CPU18、HDD(ハードディスクドライブ)20、RAM22、UI制御部24、IOT(画像出力部)制御部26、及び通信制御部28等を含んで構成されている。これらの各部は、バス30を介して相互に接続されている。   The control unit 12 includes a CPU 18, an HDD (hard disk drive) 20, a RAM 22, a UI control unit 24, an IOT (image output unit) control unit 26, a communication control unit 28, and the like. These units are connected to each other via a bus 30.

不揮発性の記憶装置であるHDD20は、一例としてスプール領域20A、ログデータ保存領域20B、及びシステム領域20C等の記憶領域を備えている。HDD20は、少なくともRAM22よりも記憶容量が大きいものが用いられる。   As an example, the HDD 20 that is a non-volatile storage device includes storage areas such as a spool area 20A, a log data storage area 20B, and a system area 20C. The HDD 20 has a storage capacity that is at least larger than that of the RAM 22.

スプール領域20Aは、通信制御部28を介してホストコンピュータ40から入力された印刷データ等を一時的に記憶する領域である。   The spool area 20A is an area for temporarily storing print data or the like input from the host computer 40 via the communication control unit 28.

ログデータ保存領域20Bは、詳細は後述するが、画像形成動作等に関して生成されるログデータを記憶する領域である。   Although details will be described later, the log data storage area 20B is an area for storing log data generated for an image forming operation or the like.

システム領域20Cは、画像形成動作を制御するためのオペレーティングシステムや当該オペレーティングシステム上で動作する各種プログラムが記憶される領域である。なお、本実施形態では、一例として、オペレーティングシステムとして複数のプロセス(タスク)を同時並行的に実行可能なマルチタスクオペレーティングシステムを用いて画像形成処理を実行する場合について説明する。   The system area 20C is an area in which an operating system for controlling the image forming operation and various programs operating on the operating system are stored. In the present embodiment, as an example, a case will be described in which image forming processing is executed using a multitask operating system capable of simultaneously executing a plurality of processes (tasks) as an operating system.

揮発性の記憶装置であるRAM22は、一例としてログデータ書込領域22A、ワーク領域22B、及びプログラムロード領域22C等の記憶領域を備えている。RAM22は、少なくともHDD20よりもデータの書き込み速度が速いものが用いられる。   The RAM 22, which is a volatile storage device, includes storage areas such as a log data writing area 22A, a work area 22B, and a program load area 22C as an example. The RAM 22 has a data writing speed faster than at least the HDD 20.

ログデータ書込領域22Aは、例えば画像形成の動作中等に生成された各種ログデータが書き込まれる領域である。   The log data writing area 22A is an area in which various log data generated during, for example, an image forming operation is written.

ワーク領域22Bは、後述する各プロセスの実行に際して使用される領域である。   The work area 22B is an area used when each process described later is executed.

プログラムロード領域22Cは、オペレーティングシステムや各プロセスを実行するためのプログラムが読み込まれる領域である。CPU18は、プログラムロード領域22Cに読み込まれたプログラムに従って処理を実行する。   The program load area 22C is an area into which an operating system and a program for executing each process are read. The CPU 18 executes processing in accordance with the program read into the program load area 22C.

なお、RAM22としては、例えばDRAM (DynamicRAM)を用いることができるが、これに限らず、SRAM(StaticRAM)、SDRAM(SynchronousDRAM)等の他の揮発性のメモリを用いてもよい。   The RAM 22 may be a DRAM (Dynamic RAM), for example, but is not limited thereto, and other volatile memories such as an SRAM (Static RAM) and an SDRAM (Synchronous DRAM) may be used.

図2には、制御部12の機能ブロック図を示した。同図に示すように、制御部12は、プリンタステータス管理部50、GUI管理部52、入力制御部54、印刷データ生成部56、出力制御部58、及びIOT管理部60等の機能ブロックを含んで構成され、各々が相互に接続された構成である。これらの各部は、本実施形態ではマルチタスクオペレーティングシステム上で各プロセスを実行する機能部である。   FIG. 2 shows a functional block diagram of the control unit 12. As shown in the figure, the control unit 12 includes functional blocks such as a printer status management unit 50, a GUI management unit 52, an input control unit 54, a print data generation unit 56, an output control unit 58, and an IOT management unit 60. And each is connected to each other. Each of these units is a functional unit that executes each process on the multitask operating system in this embodiment.

プリンタステータス管理部50は、プリンタステータス管理処理を行うプロセスを実行する機能部であり、例えば画像出力部16の状態や、当該画像出力部16で実行される画像形成動作において発生する用紙切れやトナー等の消耗品の消耗度合い等のステータス情報を管理し、これをログデータとして出力する。なお、本実施形態では、一例として、このプリンタステータス管理処理を行うプロセスを親プロセスとし、他の子プロセスを管理する処理も行う場合について説明するが、親プロセスを実行する機能部を別に設けても良い。   The printer status management unit 50 is a functional unit that executes a process for performing printer status management processing. For example, the status of the image output unit 16, the out of paper or toner that occurs in the image forming operation executed by the image output unit 16. Status information such as the degree of wear of consumables is managed and output as log data. In this embodiment, as an example, a case where the process for performing the printer status management process is set as a parent process and the process for managing other child processes is also performed, but a function unit for executing the parent process is provided separately. Also good.

GUI管理部52は、GUI管理処理を行うプロセスを実行する機能部であり、例えばユーザーによるUIパネル14の操作等に関するステータス情報を管理し、これをログデータとして出力する。   The GUI management unit 52 is a functional unit that executes a process for performing GUI management processing. For example, the GUI management unit 52 manages status information related to the operation of the UI panel 14 by a user and outputs it as log data.

入力制御部54は、入力制御処理を行うプロセスを実行する機能部であり、例えばホストコンピュータ40から入力された印刷データの受信等に関するステータス情報を管理し、これをログデータとして出力する。   The input control unit 54 is a functional unit that executes a process for performing input control processing. For example, the input control unit 54 manages status information related to reception of print data input from the host computer 40 and outputs it as log data.

印刷データ生成部56は、印刷データ生成処理を行うプロセスを実行する機能部であり、入力制御部54から入力された例えばページ記述言語で記述された印刷データをラスタデータ等に変換した印刷データを生成する場合のような印刷データの生成等に関するステータス情報を管理し、これをログデータとして出力する。   The print data generation unit 56 is a functional unit that executes a process for performing print data generation processing, and print data obtained by converting print data described in, for example, a page description language input from the input control unit 54 into raster data or the like. Status information relating to generation of print data as in the case of generation is managed, and this is output as log data.

出力制御部58は、出力制御処理を行うプロセスを実行する機能部であり、例えば印刷データ生成部56で生成した印刷データのうち何ページ目をIOT管理部60に出力したか等の印刷データの出力等に関するステータス情報を管理し、これをログデータとして出力する。   The output control unit 58 is a functional unit that executes a process for performing output control processing. For example, the page of the print data generated by the print data generation unit 56, such as how many pages have been output to the IOT management unit 60, is displayed. Manages status information related to output and outputs it as log data.

IOT管理部60は、画像出力制御処理を行うプロセスを実行する機能部であり、例えば画像出力部16による一連の画像形成動作や画像出力部16で発生した異常等に関するステータス情報を管理し、これをログデータとして出力する。   The IOT management unit 60 is a functional unit that executes a process for performing image output control processing. For example, the IOT management unit 60 manages status information about a series of image forming operations by the image output unit 16 and abnormalities that have occurred in the image output unit 16, and the like. Is output as log data.

なお、本実施形態では、一例として、GUI管理部52、入力制御部54、印刷データ生成部56、出力制御部58、及びIOT管理部60の各部で実行されるプロセスを子プロセスとした場合について説明する。   In the present embodiment, as an example, a case where a process executed by each unit of the GUI management unit 52, the input control unit 54, the print data generation unit 56, the output control unit 58, and the IOT management unit 60 is a child process. explain.

また、親プロセス及び子プロセスは、各機能部においてログデータを出力すべき事象が発生する毎に、ログデータを出力する。   The parent process and the child process output log data each time an event for which log data should be output occurs in each functional unit.

次に、本実施形態の作用として、画像形成装置10の起動時及び停止時に制御部12において実行される処理について、図3、4に示すフローチャートを参照して説明する。   Next, as an operation of the present embodiment, processing executed by the control unit 12 when the image forming apparatus 10 is started and stopped will be described with reference to flowcharts shown in FIGS.

まず、画像形成装置10の起動時に実行される処理について図3に示すフローチャートを参照して説明する。なお、この処理は、画像形成装置10の電源がオンされると親プロセスによって実行される。   First, processing executed when the image forming apparatus 10 is started will be described with reference to a flowchart shown in FIG. This process is executed by the parent process when the image forming apparatus 10 is powered on.

ステップ100では、親プロセスであるプリンタステータス管理処理が起動される。ステップ102では、親プロセスの実行によりログデータが発生した場合には、それをHDD20のログデータ保存領域20Bに記録する。   In step 100, the printer status management process as the parent process is started. In step 102, if log data is generated by the execution of the parent process, it is recorded in the log data storage area 20B of the HDD 20.

ステップ104では、親プロセスのログデータのHDD20への書き込みを一時停止し、ステップ106において、HDD20のログデータ保存領域20Bに記録されたログデータを読み出して、RAM22のログデータ書込領域22Aに書き込む。なお、ログデータの書き込みを一時停止した後に親プロセスで発生したログデータについては、内部に一次記憶しておくことが好ましい。   In step 104, the writing of the log data of the parent process to the HDD 20 is temporarily stopped. In step 106, the log data recorded in the log data storage area 20B of the HDD 20 is read and written to the log data writing area 22A of the RAM 22. . Note that log data generated in the parent process after pausing writing of log data is preferably temporarily stored internally.

ステップ108では、HDD20のログデータ保存領域20Bに記録されたログデータの全てがRAM22のログデータ書込領域22Aに書き込まれたか否かを判断し、全て終了していない場合には、全て終了するまでログデータのコピーを行う。   In step 108, it is determined whether or not all of the log data recorded in the log data storage area 20B of the HDD 20 has been written in the log data writing area 22A of the RAM 22. If not all of the log data has been completed, the process ends. Copy log data up to.

HDD20のログデータ保存領域20Bに記録されたログデータの全てがRAM22のログデータ書込領域22Aに書き込まれた場合には、ステップ110において、子プロセスを起動する。すなわち、GUI管理部52、入力制御部54、印刷データ生成部56、出力制御部58、及びIOT管理部60の各部で実行される子プロセスを順次起動していく。   If all of the log data recorded in the log data storage area 20B of the HDD 20 has been written to the log data write area 22A of the RAM 22, the child process is started in step 110. That is, the child processes executed by the GUI management unit 52, the input control unit 54, the print data generation unit 56, the output control unit 58, and the IOT management unit 60 are sequentially activated.

ステップ112では、全ての子プロセスを起動したか否かを判断し、全ての子プロセスを起動していない場合には、ステップ110へ戻って起動していない子プロセスを起動する。なお、全ての子プロセスが起動されると印刷処理を実行可能な状態となり、ホストコンピュータ40から印刷データが入力された場合には、印刷処理が実行される。   In step 112, it is determined whether or not all the child processes have been activated. If all the child processes have not been activated, the process returns to step 110 to activate the unactivated child processes. When all the child processes are activated, the print process can be executed. When print data is input from the host computer 40, the print process is executed.

全ての子プロセスが起動した場合には、ステップ114において、親プロセスで発生するログデータの書き込み対象をRAMに変更する。このとき、ステップ104でログデータの書き込みを一時停止した以降に発生したログデータを内部に一次記憶していた場合には、そのログデータをRAM22のログデータ書込領域22Aに書き込む。   If all the child processes are started, in step 114, the log data write target generated in the parent process is changed to RAM. At this time, if the log data generated after the temporary stop of the writing of the log data in step 104 is temporarily stored therein, the log data is written in the log data writing area 22 A of the RAM 22.

以降、親プロセス及び子プロセスは、各々のプロセスの実行により発生したログデータをRAM22のログデータ書込領域22Aに書き込む。   Thereafter, the parent process and the child process write the log data generated by the execution of each process into the log data writing area 22 </ b> A of the RAM 22.

このように、本実施形態では、全ての子プロセスが起動して画像形成動作が可能になった後は、高速にデータを書き込み可能なRAM22にログデータを書き込んでいる。このため、例えば連帳紙に画像を印刷する高速カラー連帳紙プリンタ等のような画像形成装置でログデータを記録する場合でも、印刷速度の低下を抑えることができ、生産性が低下するのを防ぐことができる。   As described above, in this embodiment, after all the child processes are activated and the image forming operation is enabled, the log data is written in the RAM 22 in which data can be written at high speed. For this reason, for example, even when log data is recorded by an image forming apparatus such as a high-speed color continuous paper printer that prints images on continuous paper, it is possible to suppress a reduction in printing speed and reduce productivity. Can be prevented.

また、本実施形態では、画像形成装置10の起動時にHDD20のログデータ保存領域20Bに記憶されたログデータをRAM22のログデータ書込領域22Aにコピーしてから子プロセスを起動しているので、例えばログデータをコピーする際にログデータ書込領域22Aの先頭から書き込むような処理にしていた場合に、すでに子プロセスによってログデータ書込領域22Aに書き込まれていたログデータを消失してしまう(上書きしてしまう)のを防ぐことができる。   In this embodiment, since the log data stored in the log data storage area 20B of the HDD 20 is copied to the log data writing area 22A of the RAM 22 when the image forming apparatus 10 is started, the child process is started. For example, when the log data is copied from the beginning of the log data writing area 22A, the log data already written in the log data writing area 22A by the child process is lost ( Overwriting) can be prevented.

次に、画像形成装置10の停止時に実行される処理について図4に示すフローチャートを参照して説明する。なお、この処理は、画像形成装置10の電源がオンされると親プロセスによって実行される。   Next, processing executed when the image forming apparatus 10 is stopped will be described with reference to a flowchart shown in FIG. This process is executed by the parent process when the image forming apparatus 10 is powered on.

まず、ステップ200では、親プロセスが子プロセスから装置を停止すべき旨を示す停止信号を受信したか否かを判断する。なお、停止信号は、例えばユーザーがUIパネルを操作することにより電源オフが指示された場合にGUI管理部52から出力されたり、画像出力部16において紙詰まりやトナー切れ等の装置を停止せざるを得ない障害が発生した場合にIOT管理部60から出力されたりするが、これに限らず、装置を停止すべき状態が発生した時に親プロセスに出力される。   First, in step 200, it is determined whether or not the parent process has received a stop signal indicating that the apparatus should be stopped from the child process. The stop signal is output from the GUI management unit 52, for example, when the user gives an instruction to turn off the power by operating the UI panel, or the image output unit 16 does not stop a device such as a paper jam or out of toner. However, the present invention is not limited to this, and is output to the parent process when a state in which the apparatus should be stopped occurs.

そして、親プロセスが停止信号を受信した場合には、ステップ202へ移行する。ステップ202では、子プロセスを停止させ、ステップ204では全ての子プロセスを停止したか否かを判断する。全ての子プロセスを停止していない場合には、ステップ202へ戻って停止されていない子プロセスを停止させる。   If the parent process receives a stop signal, the process proceeds to step 202. In step 202, the child process is stopped, and in step 204, it is determined whether all the child processes are stopped. If all the child processes have not been stopped, the process returns to step 202 to stop the child processes that have not been stopped.

このように、順次子プロセスを停止させた後は、ステップ206において、親プロセスのログデータのRAM22への書き込みを一時停止し、ステップ208において、RAM22のログデータ書込領域22Aに記録されたログデータを読み出して、HDD20のログデータ保存領域20Bに書き込む。なお、ログデータの書き込みを一時停止した後に親プロセスで発生したログデータについては、内部に一次記憶しておくことが好ましい。   As described above, after the child processes are sequentially stopped, in step 206, writing of the log data of the parent process to the RAM 22 is temporarily stopped, and in step 208, the log recorded in the log data writing area 22A of the RAM 22 is recorded. Data is read out and written to the log data storage area 20B of the HDD 20. Note that log data generated in the parent process after pausing writing of log data is preferably temporarily stored internally.

ステップ210では、RAM22のログデータ書込領域22Aに記録されたログデータの全てがHDD20のログデータ保存領域20Bに書き込まれたか否かを判断し、全て終了していない場合には、全て終了するまでログデータのコピーを行う。   In step 210, it is determined whether or not all the log data recorded in the log data writing area 22A of the RAM 22 has been written in the log data storage area 20B of the HDD 20. Copy log data up to.

RAM22のログデータ書込領域22Aに記録されたログデータの全てがHDD20のログデータ保存領域20Bに書き込まれた場合には、ステップ212において、親プロセスで発生するログデータの書き込み対象をHDDに変更する。このとき、ステップ206でログデータの書き込みを一時停止した以降に発生したログデータを内部に一次記憶していた場合には、そのログデータをHDD20のログデータ保存領域20Bに書き込む。 そして、ステップ214において、親プロセスを停止して本ルーチンを終了する。   When all of the log data recorded in the log data writing area 22A of the RAM 22 has been written to the log data storage area 20B of the HDD 20, the write target of log data generated in the parent process is changed to the HDD in step 212. To do. At this time, if the log data generated after the suspension of writing log data in step 206 is temporarily stored therein, the log data is written in the log data storage area 20B of the HDD 20. In step 214, the parent process is stopped and this routine is terminated.

このように、本実施形態では、画像形成装置10の停止時に、子プロセスを全て停止させてから、RAM22に記憶していたログデータをHDD20にコピーするので、ログデータの消失を防ぐことができる。   As described above, in this embodiment, when the image forming apparatus 10 is stopped, all the child processes are stopped and then the log data stored in the RAM 22 is copied to the HDD 20, so that loss of the log data can be prevented. .

なお、本実施形態では装置を電源オフ時や異常発生時等の装置を停止すべき状態が発生した時にログデータをRAM22からHDD20へコピーしているが、画像形成動作の合間に休止期間がある場合には、その期間にログデータをコピーするようにしてもよい。   In the present embodiment, the log data is copied from the RAM 22 to the HDD 20 when a state in which the apparatus should be stopped occurs, such as when the apparatus is turned off or when an abnormality occurs. However, there is a pause period between image forming operations. In some cases, log data may be copied during that period.

また、本実施形態では、親プロセスで発生するログデータもRAM22に記憶するようにしているが、発生するログデータの量が印刷速度の低下を及ぼさない程度である場合には、常にHDD20にログデータを記録するようにしてもよい。また、HDD20に記録しておく必要がないログデータの場合には、ログデータをHDD20に書き込まないようにしても良い。これは子プロセスについても同様である。   In this embodiment, log data generated in the parent process is also stored in the RAM 22. However, when the amount of generated log data is such that the print speed does not decrease, the log data is always stored in the HDD 20. Data may be recorded. In the case of log data that does not need to be recorded in the HDD 20, the log data may not be written in the HDD 20. The same applies to the child process.

また、本実施形態では、オペレーティングシステムとして複数のタスクを同時並行的に実行可能なマルチタスクオペレーティングシステムを用いて画像形成処理を実行する場合について説明したが、これに限られるものではなく、シングルタスクにより画像形成処理を実行する場合にも本発明を適用可能である。   In the present embodiment, the case where the image forming process is executed using a multitask operating system capable of executing a plurality of tasks simultaneously in parallel as the operating system has been described. However, the present invention is not limited to this. The present invention can also be applied to the case where the image forming process is executed by the above.

画像形成装置のハードウェア構成の概略構成を示すブロック図である。2 is a block diagram illustrating a schematic configuration of a hardware configuration of the image forming apparatus. FIG. 画像形成装置の機能構成を示すブロック図である。2 is a block diagram illustrating a functional configuration of the image forming apparatus. FIG. 画像形成装置の起動時に実行される処理のフローチャートである。6 is a flowchart of processing executed when the image forming apparatus is activated. 画像形成装置の停止時に実行される処理のフローチャートである。5 is a flowchart of processing executed when the image forming apparatus is stopped.

符号の説明Explanation of symbols

10 画像形成装置
12 制御部(ログデータ記録装置)
14 UIパネル
16 画像出力部
18 RAM
20 RAM
20A スプール領域
20B ログデータ保存領域(第1の記憶手段)
20C システム領域
22 HDD
22A ログデータ書込領域(第2の記憶手段)
22B ワーク領域
22C プログラムロード領域
24 UI制御部
26 IOT制御部
28 通信制御部
40 ホストコンピュータ
50 プリンタステータス管理部(制御手段)
52 GUI管理部(ログデータ生成手段)
54 入力制御部(ログデータ生成手段)
56 印刷データ生成部(ログデータ生成手段)
58 出力制御部(ログデータ生成手段)
60 IOT管理部(ログデータ生成手段)
10 Image forming apparatus 12 Control unit (log data recording apparatus)
14 UI panel 16 Image output unit 18 RAM
20 RAM
20A Spool area 20B Log data storage area (first storage means)
20C system area 22 HDD
22A Log data writing area (second storage means)
22B Work area 22C Program load area 24 UI control unit 26 IOT control unit 28 Communication control unit 40 Host computer 50 Printer status management unit (control means)
52 GUI management unit (log data generation means)
54 Input control unit (log data generating means)
56 Print data generation unit (log data generation means)
58 Output control unit (log data generation means)
60 IOT management unit (log data generation means)

Claims (10)

不揮発性の第1の記憶手段と、
前記第1の記憶手段よりも高速にデータを書き込み可能な揮発性の第2の記憶手段と、
画像形成装置に関するログデータを生成するログデータ生成手段と、
前記画像形成装置の画像形成動作中は、前記ログデータを前記第2の記憶手段に記憶させ、前記画像形成動作中以外の所定タイミングで、前記第2の記憶手段に記憶されたログデータを前記第1の記憶手段に記憶させる制御手段と、
を備えたログデータ記録装置。
Non-volatile first storage means;
Volatile second storage means capable of writing data faster than the first storage means;
Log data generating means for generating log data relating to the image forming apparatus;
During the image forming operation of the image forming apparatus, the log data is stored in the second storage unit, and the log data stored in the second storage unit is stored at the predetermined timing other than during the image forming operation. Control means for storing in the first storage means;
A log data recording device.
前記所定タイミングは、前記画像形成装置の電源オフが指示された時又は前記画像形成装置の障害発生時であることを特徴とする請求項1記載のログデータ記録装置。   The log data recording apparatus according to claim 1, wherein the predetermined timing is when a power-off instruction is given to the image forming apparatus or when a failure occurs in the image forming apparatus. 前記制御手段は、前記ログデータ生成手段によるログデータの生成を停止させた後に、前記第2の記憶手段に記憶されたログデータを前記第1の記憶手段に記憶させることを特徴とする請求項1又は請求項2記載のログデータ記録装置。   The control means stores log data stored in the second storage means in the first storage means after stopping the generation of log data by the log data generation means. The log data recording apparatus according to claim 1 or 2. 前記制御手段は、前記画像形成装置の起動時に、前記第1の記憶手段に記憶されたログデータの少なくとも一部を前記第2の記憶手段に記憶させることを特徴とする請求項1乃至請求項3の何れか1項に記載のログデータ記録装置。   2. The control unit according to claim 1, wherein when the image forming apparatus is activated, at least a part of log data stored in the first storage unit is stored in the second storage unit. 4. The log data recording device according to any one of items 3. 前記制御手段は、前記画像形成装置の起動時に、前記第1の記憶手段に記憶されたログデータの少なくとも一部を前記第2の記憶手段に記憶させた後に、前記ログデータ生成手段によるログデータの生成を開始させることを特徴とする請求項4記載のログデータ記録装置。   The control unit stores at least part of the log data stored in the first storage unit in the second storage unit when the image forming apparatus is activated, and then logs data generated by the log data generation unit. The log data recording apparatus according to claim 4, wherein generation of the log data is started. 前記制御手段は、前記画像形成装置の起動時は、当該制御手段の制御に関するログデータを前記第1の記憶手段に記憶させ、前記第1の記憶手段に記憶されたログデータの少なくとも一部を前記第2の記憶手段に記憶させた後に、前記制御に関するログデータを前記第2の記憶手段に記憶させることを特徴とする請求項4又は請求項5記載のログデータ記録装置。   When the image forming apparatus is activated, the control unit stores log data relating to the control of the control unit in the first storage unit, and at least a part of the log data stored in the first storage unit is stored. 6. The log data recording apparatus according to claim 4, wherein log data relating to the control is stored in the second storage unit after being stored in the second storage unit. 前記制御手段は、当該制御手段の制御に関するログデータを常に前記第1の記憶手段に記憶させることを特徴とする請求項1乃至請求項5の何れか1項に記載のログデータ記録装置。   6. The log data recording apparatus according to claim 1, wherein the control unit always stores log data related to the control of the control unit in the first storage unit. 前記制御手段は、当該制御手段の制御に関するログデータを前記第1の記憶手段に記憶させないことを特徴とする請求項1乃至請求項5の何れか1項に記載のログデータ記録装置。   The log data recording apparatus according to claim 1, wherein the control unit does not store log data related to the control of the control unit in the first storage unit. 画像形成装置に関するログデータを生成し、
前記画像形成装置の画像形成動作中は、前記ログデータを不揮発性の第1の記憶手段よりも高速にデータを書き込み可能な揮発性の第2の記憶手段に記憶させ、前記画像形成動作中以外の所定タイミングで、前記第2の記憶手段に記憶されたログデータを前記第1の記憶手段に記憶させる
ログデータ記録方法。
Generate log data about the image forming device,
During the image forming operation of the image forming apparatus, the log data is stored in a volatile second storage unit capable of writing data at a higher speed than the nonvolatile first storage unit, and other than during the image forming operation A log data recording method for storing log data stored in the second storage unit in the first storage unit at a predetermined timing.
画像形成装置に関するログデータを生成するステップと、
前記画像形成装置の画像形成動作中は、前記ログデータを不揮発性の第1の記憶手段よりも高速にデータを書き込み可能な揮発性の第2の記憶手段に記憶させ、前記画像形成動作中以外の所定タイミングで、前記第2の記憶手段に記憶されたログデータを前記第1の記憶手段に記憶させるステップと、
を含む処理をコンピュータに実行させるためのログデータ記録プログラム。
Generating log data relating to the image forming apparatus;
During the image forming operation of the image forming apparatus, the log data is stored in a volatile second storage unit capable of writing data at a higher speed than the nonvolatile first storage unit, and other than during the image forming operation Storing the log data stored in the second storage means in the first storage means at a predetermined timing of:
Log data recording program for causing a computer to execute processing including
JP2006355536A 2006-12-28 2006-12-28 Log data recording apparatus, log data recording method, and log data recording program Expired - Fee Related JP4830853B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006355536A JP4830853B2 (en) 2006-12-28 2006-12-28 Log data recording apparatus, log data recording method, and log data recording program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006355536A JP4830853B2 (en) 2006-12-28 2006-12-28 Log data recording apparatus, log data recording method, and log data recording program

Publications (2)

Publication Number Publication Date
JP2008162168A true JP2008162168A (en) 2008-07-17
JP4830853B2 JP4830853B2 (en) 2011-12-07

Family

ID=39692279

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006355536A Expired - Fee Related JP4830853B2 (en) 2006-12-28 2006-12-28 Log data recording apparatus, log data recording method, and log data recording program

Country Status (1)

Country Link
JP (1) JP4830853B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008302578A (en) * 2007-06-07 2008-12-18 Konica Minolta Business Technologies Inc Image forming device
JP2010036498A (en) * 2008-08-06 2010-02-18 Canon Inc Recorder and method for controlling the same
JP2011016318A (en) * 2009-07-10 2011-01-27 Konica Minolta Business Technologies Inc Image forming apparatus
JP2012056230A (en) * 2010-09-10 2012-03-22 Ricoh Co Ltd Image forming apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0887213A (en) * 1994-09-16 1996-04-02 Konica Corp Image forming device
JP2001184269A (en) * 1999-12-24 2001-07-06 Canon Inc Backup storage device, backup data restoring method, and storage medium
JP2001232906A (en) * 2000-02-24 2001-08-28 Canon Inc Image output unit and its control method, and image output system
JP2005022099A (en) * 2003-06-30 2005-01-27 Konica Minolta Business Technologies Inc Image formation device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0887213A (en) * 1994-09-16 1996-04-02 Konica Corp Image forming device
JP2001184269A (en) * 1999-12-24 2001-07-06 Canon Inc Backup storage device, backup data restoring method, and storage medium
JP2001232906A (en) * 2000-02-24 2001-08-28 Canon Inc Image output unit and its control method, and image output system
JP2005022099A (en) * 2003-06-30 2005-01-27 Konica Minolta Business Technologies Inc Image formation device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008302578A (en) * 2007-06-07 2008-12-18 Konica Minolta Business Technologies Inc Image forming device
JP2010036498A (en) * 2008-08-06 2010-02-18 Canon Inc Recorder and method for controlling the same
JP2011016318A (en) * 2009-07-10 2011-01-27 Konica Minolta Business Technologies Inc Image forming apparatus
JP2012056230A (en) * 2010-09-10 2012-03-22 Ricoh Co Ltd Image forming apparatus

Also Published As

Publication number Publication date
JP4830853B2 (en) 2011-12-07

Similar Documents

Publication Publication Date Title
JP2011161774A (en) Printer and method of controlling the same
US8860997B2 (en) Image output apparatus, preview image generating method, and storage medium
JP4830853B2 (en) Log data recording apparatus, log data recording method, and log data recording program
US9411401B2 (en) Information processing apparatus, control method for information processing apparatus, and storage medium
JP4416603B2 (en) Image processing apparatus and image processing apparatus control method
JP5482946B1 (en) Image output system and program
US20220311900A1 (en) Image processing apparatus, image processing method, and non-transitory computer-readable storage medium for generating intermediate data based on print data
US8970906B2 (en) Information processing apparatus, recording medium, and control method
US20090100442A1 (en) Information processing apparatus and control method thereof
JP6590890B2 (en) Image forming apparatus, control method therefor, and program
JP6406219B2 (en) Communication apparatus and image forming apparatus
JP2008023785A (en) Image forming apparatus, image forming control method, image forming control program, and record medium
JP2006279539A (en) Image storage device and image storage method
US20140362405A1 (en) Information processing apparatus, recording medium, and control method
JP4760235B2 (en) Image forming system, image forming apparatus, and image reading apparatus
JP2014138265A (en) Image forming apparatus
JP5651963B2 (en) Printing system, control method therefor, and program
JP2008262439A (en) Information processor, print document adjustment processing program and storage medium
JP5949642B2 (en) Information processing apparatus and program
JP4945655B2 (en) Information processing apparatus, image processing apparatus, information processing method, computer program, and recording medium
JP5088399B2 (en) Printing system
US20150062619A1 (en) Image forming apparatus, method for controlling image forming apparatus, and program
JP2007004474A (en) Information processor and information processing method
JP5677705B2 (en) Image forming apparatus
JP2020172070A (en) Image forming device, image forming system, processing selection method and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20091124

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110526

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110531

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20110801

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: 20110823

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20110905

R150 Certificate of patent or registration of utility model

Ref document number: 4830853

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20140930

Year of fee payment: 3

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees