JP2016066214A - Log recording device, control method, and program - Google Patents

Log recording device, control method, and program Download PDF

Info

Publication number
JP2016066214A
JP2016066214A JP2014194275A JP2014194275A JP2016066214A JP 2016066214 A JP2016066214 A JP 2016066214A JP 2014194275 A JP2014194275 A JP 2014194275A JP 2014194275 A JP2014194275 A JP 2014194275A JP 2016066214 A JP2016066214 A JP 2016066214A
Authority
JP
Japan
Prior art keywords
log
log information
image processing
recording
history
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2014194275A
Other languages
Japanese (ja)
Inventor
杉山 秀樹
Hideki Sugiyama
秀樹 杉山
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP2014194275A priority Critical patent/JP2016066214A/en
Publication of JP2016066214A publication Critical patent/JP2016066214A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent the loss of the log history of a job executed by an image processor after the loss of a log history due to the replacement of a storage device or the like.SOLUTION: A log recording device includes: backup means for backing up the log information of an image processor recorded in a recording area to a storage device; acquisition means for acquiring log information corresponding to the log information backed up to the storage device from the image processor; detection means for, when the acquisition of the log information by the acquisition means fails, detecting the loss of the log information in the image processor; and recording means for, when the loss of the log information in the image processor is detected by the detection means, acquiring the log information generated by the image processor after the occurrence of the loss of the log information from the image processor, and for recording the log information in the recording area.SELECTED DRAWING: Figure 9

Description

本発明は、ログ記録装置、制御方法及びプログラムに関する。   The present invention relates to a log recording device, a control method, and a program.

従来の画像処理装置において、異常動作後に修理し復帰させる場合等、ログ記録装置により以下の処理が行われる。即ち、ログ記録装置は、画像処理装置の元の設定(各種設定値、印刷枚数のカウンタ値等)を外部記憶装置等に一旦退避させ、修理後、画像処理装置に前記設定を戻すリストア処理を行う。
このようなログ記録装置には、必要な情報が誤って上書きされてしまうのを防止できる機能を持つもの(例えば、特許文献1)がある。
In a conventional image processing apparatus, the following processing is performed by the log recording apparatus when repairing and returning after an abnormal operation. In other words, the log recording device temporarily restores the original settings of the image processing device (various setting values, counter value of the number of printed sheets, etc.) to an external storage device, etc., and restores the settings to the image processing device after repair. Do.
Such a log recording apparatus has a function (for example, Patent Document 1) that can prevent necessary information from being overwritten by mistake.

特開2011−194846号公報JP 2011-194446 A

特許文献1記載のログ記録装置は、画像処理装置の記憶部の記録状態を判定し、判定した結果に基づきリストア処理を行うか否かを決定する処理を行う。この処理により、ログ記録装置は、必要な情報をリストア処理によって上書きされることを防止することができる。しかし、特許文献1記載のログ記録装置では、リストア前の記憶部に記憶されている状態を残して、バックアップしてあるリストア対象データを追記することはできない。バックアップとは、データの写しを取って保存する処理である。つまり、特許文献1記載のログ記録装置は、修理後の画像処理装置で実行したジョブのログ履歴等の特定のデータを残したまま、修理前のバックアップデータを追加することができない。よって、リストア後、修理後の画像処理装置で実行したジョブのログ履歴等特定のデータは、バックアップされているリストア対象データによって上書きされて消失してしまう。例えば、画像処理装置の記憶装置が故障したとする。記憶装置を交換、修理すると、画像処理装置が保持しているログ履歴は、空になる。この状態からジョブを実行すると、画像処理装置は、記憶装置に交換修理後のジョブのログ履歴を順次格納していく。その後、ユーザーによって事前にバックアップしてあったデータがリストアされると、画像処理装置のログ履歴は、故障前のジョブのログ履歴で上書きされる。即ち、記憶装置の交換後に画像処理装置が実行したジョブのログ履歴は、消失してしまう問題があった。
そこで、本発明は、記憶装置の交換等によるログ履歴の消失後に画像処理装置が実行したジョブのログ履歴の消失を防止することを目的とする。
The log recording apparatus described in Patent Document 1 determines a recording state of a storage unit of an image processing apparatus, and performs a process of determining whether or not to perform a restore process based on the determined result. With this process, the log recording apparatus can prevent necessary information from being overwritten by the restore process. However, in the log recording device described in Patent Document 1, it is not possible to add the backup target data that has been backed up while leaving the state stored in the storage unit before the restoration. Backup is a process of taking a copy of data and storing it. In other words, the log recording device described in Patent Document 1 cannot add backup data before repair while leaving specific data such as a log history of a job executed by the image processing apparatus after repair. Therefore, after restoration, specific data such as a log history of a job executed by the image processing apparatus after repair is overwritten by the restoration target data being backed up and lost. For example, it is assumed that the storage device of the image processing apparatus has failed. When the storage device is replaced or repaired, the log history held by the image processing device becomes empty. When the job is executed from this state, the image processing apparatus sequentially stores the log history of the job after replacement repair in the storage device. Thereafter, when the data previously backed up by the user is restored, the log history of the image processing apparatus is overwritten with the log history of the job before the failure. That is, there is a problem that the log history of jobs executed by the image processing apparatus after replacement of the storage device is lost.
SUMMARY An advantage of some aspects of the invention is that it prevents a log history of a job executed by an image processing apparatus from being lost after a log history is lost due to replacement of a storage device or the like.

そこで、本発明のログ記録装置は、記録領域に記録されている画像処理装置のログ情報を記憶装置にバックアップするバックアップ手段と、前記記憶装置にバックアップされているログ情報に対応するログ情報を前記画像処理装置から取得する取得手段と、前記取得手段によるログ情報の取得が失敗した場合、前記画像処理装置におけるログ情報の消失を検知する検知手段と、前記検知手段により、前記画像処理装置におけるログ情報の消失が検知された場合、前記ログ情報の消失が起こった後に前記画像処理装置において生成されたログ情報を前記画像処理装置から取得し、前記記録領域に記録する記録手段と、を有する。   Therefore, the log recording apparatus of the present invention includes backup means for backing up the log information of the image processing apparatus recorded in the recording area to the storage device, and log information corresponding to the log information backed up in the storage device. An acquisition unit that acquires from the image processing device, a detection unit that detects loss of log information in the image processing device when log information acquisition by the acquisition unit fails, and a log in the image processing device by the detection unit And recording means for acquiring log information generated in the image processing apparatus after the loss of the log information has occurred from the image processing apparatus and recording it in the recording area.

本発明によれば、記憶装置の交換等によるログ履歴の消失後に画像処理装置が実行したジョブのログ履歴の消失を防止することができる。   According to the present invention, it is possible to prevent the log history of a job executed by the image processing apparatus after the log history is lost due to replacement of the storage device or the like.

複合機を備えるログ記録システムの構成の一例を示す図である。It is a figure which shows an example of a structure of the log recording system provided with a multifunction device. 印刷装置、管理PCのハードウェア構成等の一例を示す図である。FIG. 2 is a diagram illustrating an example of a hardware configuration of a printing apparatus and a management PC. ログ記録システムのソフトウェア構成の一例を示す図である。It is a figure which shows an example of the software structure of a log recording system. バックアップデータの一例を示す図である。It is a figure which shows an example of backup data. 印刷装置が作成するログ履歴の一例を示す図である。6 is a diagram illustrating an example of a log history created by the printing apparatus. FIG. 表示画面の一例を示す図である。It is a figure which shows an example of a display screen. ログ履歴の一例を示す図である。It is a figure which shows an example of log history. 設定情報の一例を示す図である。It is a figure which shows an example of setting information. リストア処理の一例を示すフローチャートである。It is a flowchart which shows an example of a restore process. ログ履歴消失検知処理の一例を示すフローチャートである。It is a flowchart which shows an example of log log loss detection processing. ログ履歴連結判定処理の一例を示すフローチャートである。It is a flowchart which shows an example of log log | history connection determination processing. 管理サーバーの受信済ログ履歴一覧の一例を示す図である。It is a figure which shows an example of the received log log | history list of a management server. 設定情報の一例を示す図である。It is a figure which shows an example of setting information. リストア処理の一例を示すフローチャートである。It is a flowchart which shows an example of a restore process. ログ記録システムのソフトウェア構成の一例を示す図である。It is a figure which shows an example of the software structure of a log recording system. 初期化処理の一例を示すフローチャートである。It is a flowchart which shows an example of an initialization process. 設定画面の一例を示す図である。It is a figure which shows an example of a setting screen. ログ履歴消失検知処理の一例を示すフローチャートである。It is a flowchart which shows an example of log log loss detection processing.

以下、本発明の実施形態について図面に基づいて説明する。
以下では、「ログ履歴」とは、印刷装置等の画像処理装置が生成する複数種類のログをログ種毎に蓄積した情報を意味する。「ログ履歴」は、ログ情報の一例である。「ジョブ履歴」とは、複数種類あるログ履歴のうち印刷ジョブのログ履歴を意味する。「ログ記録ソフトウェア」とは、印刷装置等の画像処理装置等にインストールされ、印刷装置等の前記画像処理装置からログ履歴を取得するソフトウェアを意味する。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
In the following, “log history” means information obtained by accumulating a plurality of types of logs generated by an image processing apparatus such as a printing apparatus for each log type. “Log history” is an example of log information. “Job history” means a log history of a print job among a plurality of types of log history. “Log recording software” means software that is installed in an image processing apparatus such as a printing apparatus and acquires a log history from the image processing apparatus such as a printing apparatus.

<実施形態1>
図1は、ログ記録システムのシステム構成の一例を示す図である。なお、本実施形態の機能が実行されるのであれば、ログ記録システムは、単体の機器で構成されていてもよいし、複数の機器から構成されていてもよい。
ログ記録システムは、印刷装置100と、管理PC110と、サーバー120と、クライアントPC140、141と、を含む。印刷装置100は、本実施形態では、印刷部、スキャナ部等の複数の機能を持つ複合機とする。管理PC110は、管理者が使う情報処理装置である。サーバー120は、外部にデータを蓄積する情報処理装置である。クライアントPC140、141は、ユーザーが使う情報処理装置である。更に、印刷装置100と管理PC110とサーバー120とクライアントPC140、141とは、ネットワーク130を介し、相互に接続されている。本実施形態において、前記ログ記録システムは、画像処理装置として1つの印刷装置を含むものとする。しかし、前記ログ記録システム内の画像処理装置は、1つに限定されない。前記ログ記録システムは、複数の印刷装置を含むこととしてもよいし、他の画像処理装置を含むこととしてもよい。
印刷装置100は、記憶部101、印刷制御部102、ジョブ管理部103等を機能構成として含む。記憶部101は、印刷やファクス等のジョブデータやログ、画面操作の履歴等を保存・蓄積する。印刷制御部102は、ネットワーク130を介し受信した画像データの印刷を制御する。ジョブ管理部103は、印刷やコピー、ファクス等のジョブの実行、中断、完了を管理し、ジョブの状態を適宜、記憶部101に記録する。印刷装置100は、画像処理装置の一例である。印刷装置100は、図1に示した機能構成以外に、FAX送受信部、ライセンス管理部、ネットワーク部等を有していてもよい。
<Embodiment 1>
FIG. 1 is a diagram illustrating an example of a system configuration of a log recording system. As long as the function of the present embodiment is executed, the log recording system may be configured by a single device or a plurality of devices.
The log recording system includes a printing apparatus 100, a management PC 110, a server 120, and client PCs 140 and 141. In the present embodiment, the printing apparatus 100 is a multifunction machine having a plurality of functions such as a printing unit and a scanner unit. The management PC 110 is an information processing apparatus used by an administrator. The server 120 is an information processing apparatus that accumulates data externally. The client PCs 140 and 141 are information processing apparatuses used by the user. Further, the printing apparatus 100, the management PC 110, the server 120, and the client PCs 140 and 141 are connected to each other via the network 130. In the present embodiment, the log recording system includes one printing apparatus as an image processing apparatus. However, the number of image processing devices in the log recording system is not limited to one. The log recording system may include a plurality of printing apparatuses or may include other image processing apparatuses.
The printing apparatus 100 includes a storage unit 101, a print control unit 102, a job management unit 103, and the like as functional configurations. The storage unit 101 stores and accumulates job data such as printing and fax, logs, screen operation history, and the like. The print control unit 102 controls printing of image data received via the network 130. The job management unit 103 manages execution, interruption, and completion of jobs such as printing, copying, and faxing, and records the job status in the storage unit 101 as appropriate. The printing apparatus 100 is an example of an image processing apparatus. The printing apparatus 100 may include a FAX transmitting / receiving unit, a license management unit, a network unit, and the like in addition to the functional configuration illustrated in FIG.

管理PC110は、情報処理装置としての管理PCである。本実施形態のログ記録システムの管理者は、管理PC110に予め供えられている管理ツールを用いて、印刷装置100や他の印刷装置を管理する。
ネットワーク130は、インターネット、イントラネット等のネットワークである。
クライアントPC140、141は、情報処理装置としてのクライアントPCである。ユーザーは、クライアントPCに予め供えられたプリンタードライバーを用い、所望のドキュメントを印刷装置100が処理可能な画像データに変換し、ネットワーク130を介し、印刷装置100に送信することができる。
The management PC 110 is a management PC as an information processing apparatus. The administrator of the log recording system of this embodiment manages the printing apparatus 100 and other printing apparatuses using a management tool provided in advance in the management PC 110.
The network 130 is a network such as the Internet or an intranet.
The client PCs 140 and 141 are client PCs as information processing apparatuses. The user can convert a desired document into image data that can be processed by the printing apparatus 100 using a printer driver provided in advance in the client PC, and transmit the image data to the printing apparatus 100 via the network 130.

図2は、印刷装置100、管理PC110のハードウェア構成等の一例を示す図である。
管理PC110のハードウェア構成の詳細を説明する。
CPU200は、管理PC110における処理を制御する。CPU200は、ハードディスク装置(HD)205に格納されているアプリケーションプログラム、プリンタードライバープログラム、OSのプログラム、制御プログラム等を実行する。更に、CPU200は、RAM202にプログラムの実行に必要な情報、ファイル等を一時的に格納する制御を行う。
CPU200が、ROM201又はHD205に記憶されたプログラムに基づき処理を実行することによって、管理PCの機能が実現される。
ROM201は、記憶部である。ROM201は、内部に基本I/Oプログラム等のプログラム、文書処理に使用するフォントデータ、テンプレート用データ等の各種データを記憶する。
RAM202は、一時記憶部である。RAM202は、CPU200の主メモリ、ワーク領域等として機能する。
FIG. 2 is a diagram illustrating an example of the hardware configuration of the printing apparatus 100 and the management PC 110.
Details of the hardware configuration of the management PC 110 will be described.
The CPU 200 controls processing in the management PC 110. The CPU 200 executes an application program, a printer driver program, an OS program, a control program, and the like stored in the hard disk device (HD) 205. Further, the CPU 200 performs control to temporarily store information, files, and the like necessary for program execution in the RAM 202.
The function of the management PC is realized by the CPU 200 executing processing based on the program stored in the ROM 201 or the HD 205.
The ROM 201 is a storage unit. The ROM 201 stores various data such as a program such as a basic I / O program, font data used for document processing, and template data.
The RAM 202 is a temporary storage unit. The RAM 202 functions as a main memory, work area, and the like for the CPU 200.

FDドライブ203は、記憶媒体読み込み部であるフレキシブルディスクドライブである。CPU200は、FDドライブ203を介して、記憶媒体としてのフレキシブルディスク(FD)204に記憶されたプログラム等を管理PC110にロードすることができる。なお、記憶媒体は、FDに限らず、CD−ROM、CD−R、CD−RW、PCカード、DVD、ICメモリカード、MO、メモリスティック等、でもよい。FD204は、コンピュータによって読み取り可能なプログラムを格納する。
ハードディスク装置(HD)205は外部記憶部の一つであり、大容量メモリとして機能するハードディスクである。ハードディスク装置(HD)205は、アプリケーションプログラム、プリンタードライバープログラム、OS、制御プログラム、関連プログラム等を格納する。
キーボード(KBD)206は、ユーザーの入力を受け付ける入力部である。
表示部(CRT)207は、キーボード206から入力されたコマンドや、アプリケーションプログラムを表示するディスプレイ等の表示部である。
システムバス208は、管理PC110内のデータの流れを司るものである。
ポインティングデバイス(PD)209は、ユーザーの指示を受け付ける指示部である。
The FD drive 203 is a flexible disk drive that is a storage medium reading unit. The CPU 200 can load a program or the like stored in a flexible disk (FD) 204 as a storage medium into the management PC 110 via the FD drive 203. The storage medium is not limited to the FD, but may be a CD-ROM, CD-R, CD-RW, PC card, DVD, IC memory card, MO, memory stick, or the like. The FD 204 stores a computer-readable program.
A hard disk device (HD) 205 is one of external storage units, and is a hard disk that functions as a large-capacity memory. A hard disk device (HD) 205 stores an application program, a printer driver program, an OS, a control program, a related program, and the like.
A keyboard (KBD) 206 is an input unit that receives user input.
A display unit (CRT) 207 is a display unit such as a display that displays commands input from the keyboard 206 and application programs.
A system bus 208 controls the flow of data in the management PC 110.
A pointing device (PD) 209 is an instruction unit that receives a user instruction.

双方向インターフェィス211は、入出力部である。管理PC110は、双方向インターフェィス211を介して外部装置とのデータのやり取りを行う。
サーバー120、クライアントPC140、クライアントPC141は、管理PC110と同様なハードウェア構成である。
次に印刷装置100のハードウェア構成の詳細を説明する。印刷装置100は、ハードディスク装置(HD)228(以下、HD228)と、接続部226と、データ制御部225と、操作部224と、外部メモリ223と、CPU220と、RAM222と、ROM221と、を含む。印刷装置100のハードウェア構成要素は、システムバス227を介して互いに接続されている。
CPU220は、印刷装置100の全体制御を司る制御装置である。CPU220は、ROM221又は外部メモリ223に記憶された制御プログラムに基づいて、接続部226を介して受信した印刷制御コマンド(送信データ)から画像信号をデータ制御部225に送信する。
CPU220が、ROM221又はHD228に記憶されたプログラムに基づき処理を実行することによって、印刷装置100の機能が実現される。印刷装置100にログ記録ソフトウェアがインストールされている場合、CPU220が、ROM221又はHD228に記憶されたプログラムに基づき処理を実行することによって、ログ記録ソフトウェアの機能及び後述のフローチャートの処理が実現される。
HD228は、大容量の記憶装置である。HD228は、フォントデータや印刷ジョブ等のデータを記憶する。HD228は、複数のハードディスクで構成されていてもよい。印刷装置100は、印刷装置100がログ履歴の記録などに通常利用しているハードディスクとは別にバックアップデータの記憶用のハードディスクを別個に持つこととしてもよい。また、HD228は、外部装置である記憶装置と置き換えることができる。HD228を外部の記憶装置と置き換える場合、印刷装置100は、接続部226を介し、外部の記憶装置との間でデータの送受信を行う。
RAM222は、CPU220の主メモリとして、CPU220による制御実行の際、ワークデータエリアとして使用される一時記憶領域を備えている。
外部メモリ223は、オプションとしても接続され、フォントデータ、エミュレーションプログラム、フォームデータ等を記憶する。
ROM221は内部メモリであり、外部メモリと同様に、各種データや印刷装置を制御する制御プログラム等を記憶している。
The bidirectional interface 211 is an input / output unit. The management PC 110 exchanges data with an external device via the bidirectional interface 211.
The server 120, the client PC 140, and the client PC 141 have the same hardware configuration as the management PC 110.
Next, details of the hardware configuration of the printing apparatus 100 will be described. The printing apparatus 100 includes a hard disk device (HD) 228 (hereinafter, HD 228), a connection unit 226, a data control unit 225, an operation unit 224, an external memory 223, a CPU 220, a RAM 222, and a ROM 221. . Hardware components of the printing apparatus 100 are connected to each other via a system bus 227.
The CPU 220 is a control device that controls the entire printing apparatus 100. The CPU 220 transmits an image signal from a print control command (transmission data) received via the connection unit 226 to the data control unit 225 based on a control program stored in the ROM 221 or the external memory 223.
The function of the printing apparatus 100 is realized by the CPU 220 executing processing based on a program stored in the ROM 221 or the HD 228. When log recording software is installed in the printing apparatus 100, the CPU 220 executes processing based on a program stored in the ROM 221 or the HD 228, thereby realizing the function of the log recording software and the processing described in the flowcharts described later.
The HD 228 is a large capacity storage device. The HD 228 stores data such as font data and print jobs. The HD 228 may be composed of a plurality of hard disks. The printing apparatus 100 may have a separate hard disk for storing backup data in addition to the hard disk normally used by the printing apparatus 100 for recording log history. The HD 228 can be replaced with a storage device that is an external device. When replacing the HD 228 with an external storage device, the printing apparatus 100 transmits and receives data to and from the external storage device via the connection unit 226.
The RAM 222 includes a temporary storage area used as a work data area as a main memory of the CPU 220 when the CPU 220 executes control.
The external memory 223 is also connected as an option, and stores font data, an emulation program, form data, and the like.
The ROM 221 is an internal memory and stores various data, a control program for controlling the printing apparatus, and the like, similar to the external memory.

データ制御部225は、印刷エンジンであり、CPU220により制御され、ROM221、外部メモリ223等に記憶された制御プログラムにより、システムバス227を介して出力された画像信号を受信し、実際の印刷処理を行う。
操作部224は、操作パネルや操作スイッチ等の入力部、及びLED、液晶パネル等の表示部等から構成され、オペレータの操作を受け、結果を表示する。オペレータは、操作部224を介して印刷装置の設定情報の設定や、前記設定情報の確認等をすることができる。
接続部226は、双方向インターフェィス211を介して管理PCの接続部210に接続し、印刷制御コマンド(送信データ)の受信や、印刷装置内部の状態等の通知等を行う。
表示部(CRT)229は、ディスプレイ(表示部)であり、印刷装置100へのログイン画面や、印刷装置100にインストールされたアプリケーションプログラムの画面を表示する。
The data control unit 225 is a print engine, is controlled by the CPU 220, receives an image signal output via the system bus 227 by a control program stored in the ROM 221, the external memory 223, and the like, and performs an actual print process. Do.
The operation unit 224 includes an input unit such as an operation panel and an operation switch, and a display unit such as an LED and a liquid crystal panel. The operation unit 224 receives the operation of the operator and displays the result. The operator can set the setting information of the printing apparatus, check the setting information, and the like via the operation unit 224.
The connection unit 226 is connected to the connection unit 210 of the management PC via the bidirectional interface 211, and receives a print control command (transmission data), notifies the internal state of the printing apparatus, and the like.
A display unit (CRT) 229 is a display (display unit), and displays a login screen to the printing apparatus 100 and a screen of an application program installed in the printing apparatus 100.

図3は、ログ記録システムのソフトウェア構成の一例を示す図である。ログ記録ソフトウェアは、本実施形態において管理PC110又は印刷装置100にインストールされ実行される。本実施形態では、ログ記録ソフトウェアのプログラムは、RAM222、ROM221、HD228の何れかの記憶部に記憶され、CPU220により実行されるものとする。ログ記録ソフトウェアがインストールされている印刷装置100は、ログ記録装置の一例である。ログ記録ソフトウェアが管理PCにインストールされている場合、管理PC110は、ログ記録装置の一例となる。ログ記録ソフトウェアが印刷装置100にインストールされている場合、ログ記録装置は、印刷装置100と一体の装置となる。
管理部301は、ログ記録ソフトウェア全体の制御を行う。ログ記録ソフトウェアの機能毎に、各構成部を呼び出す。
初期化部302は、管理部301から呼ばれ、ログ記録ソフトウェア全体の初期化処理を実施する。初期化処理とは、例えば、ログ記録ソフトウェア起動に必要なメモリ領域をRAM222等の記憶装置に確保する等の処理である。
FIG. 3 is a diagram illustrating an example of a software configuration of the log recording system. The log recording software is installed and executed in the management PC 110 or the printing apparatus 100 in this embodiment. In this embodiment, the log recording software program is stored in any of the storage units of the RAM 222, the ROM 221, and the HD 228, and is executed by the CPU 220. The printing apparatus 100 in which the log recording software is installed is an example of the log recording apparatus. When the log recording software is installed in the management PC, the management PC 110 is an example of a log recording device. When log recording software is installed in the printing apparatus 100, the log recording apparatus is an apparatus integrated with the printing apparatus 100.
The management unit 301 controls the entire log recording software. Each component is called for each function of the log recording software.
The initialization unit 302 is called from the management unit 301 and performs initialization processing for the entire log recording software. The initialization process is, for example, a process of securing a memory area necessary for starting the log recording software in a storage device such as the RAM 222.

バックアップ部303は、管理部301から呼ばれ、ログ記録ソフトウェアのバックアップ処理を実行する。バックアップ処理とは、例えば、ログ記録ソフトウェアの内部データをアーカイブし、HD228等の記憶装置に保存する等の処理である。バックアップ処理においてHD228にバックアップデータを保存する場合、HD228は、複数のハードディスクで構成され、印刷装置100がログ履歴の記録等に通常使用するハードディスクとは別にバックアップデータ保存用のハードディスクを持つものとする。また、バックアップ部303は、前記ログ記録システムが印刷装置100以外の画像処理装置を含む場合、印刷装置100とは別の画像処理装置内の記憶装置に印刷装置100のログ履歴をバックアップすることとしてもよい。更に、バックアップ部303は、ネットワーク130を介し接続された外部の記憶装置等にバックアップデータをバックアップすることとしてもよい。
ログ履歴取得部304は、管理部301から呼ばれ、ログ履歴取得処理を行う。ログ履歴取得処理とは、印刷装置100が作成したログ履歴を印刷装置100に予め供えられているログ履歴を取得する機能を介して取得する処理である。例えば、ログ履歴取得部304は、定期的に印刷装置100にログ履歴数を問い合わせ、印刷装置100のログ履歴数を取得し、印刷装置100のログ履歴数とログ履歴取得部304が保持するログ履歴数とを比較する。ログ履歴取得部304は、比較の結果、新規のログ履歴が印刷装置100で生成されたと判断したときは、前記新規のログ履歴を印刷装置100から取得する。また、ログ履歴取得部304は、取得したログ履歴を、ユーザー毎や用紙サイズ毎等に集計し、集計結果を適宜保存する。ログ履歴には、印刷やFAX送信等のジョブの実行結果を記録したジョブ履歴、ユーザーによる印刷装置へのログイン、ログアウトを記録したアクセス履歴、印刷装置の設定変更等を記録した操作ログ等がある。以下では、ログ履歴は、ジョブ履歴であるとする。
The backup unit 303 is called from the management unit 301 and executes log recording software backup processing. The backup process is, for example, a process of archiving internal data of log recording software and saving it in a storage device such as HD 228. When backup data is stored in the HD 228 in the backup process, the HD 228 is composed of a plurality of hard disks, and has a hard disk for storing backup data separately from the hard disk that the printing apparatus 100 normally uses for recording log history and the like. . Further, when the log recording system includes an image processing apparatus other than the printing apparatus 100, the backup unit 303 backs up the log history of the printing apparatus 100 to a storage device in an image processing apparatus different from the printing apparatus 100. Also good. Further, the backup unit 303 may back up the backup data to an external storage device connected via the network 130.
The log history acquisition unit 304 is called from the management unit 301 and performs log history acquisition processing. The log history acquisition process is a process of acquiring a log history created by the printing apparatus 100 via a function of acquiring a log history provided in advance in the printing apparatus 100. For example, the log history acquisition unit 304 periodically inquires the printing device 100 about the number of log histories, acquires the number of log histories of the printing device 100, and the log history number of the printing device 100 and the log held by the log history acquisition unit 304 Compare the number of histories. When it is determined that a new log history has been generated by the printing apparatus 100 as a result of the comparison, the log history acquisition unit 304 acquires the new log history from the printing apparatus 100. The log history acquisition unit 304 totals the acquired log history for each user, each paper size, and the like, and appropriately stores the total result. The log history includes a job history that records the execution results of jobs such as printing and fax transmission, an access history that records login and logout by the user, an operation log that records settings changes of the printing device, etc. . In the following, it is assumed that the log history is a job history.

リストア部305は、管理部301から呼び出され、リストア処理を実行する。リストア処理とは、例えば、印刷装置100内の内部記憶装置又はネットワーク上の外部記憶装置に予め保存されたバックアップデータで、稼働中のログ記録ソフトウェアの内部データを上書きする等の処理である。
ログ履歴消失検知部306は、リストア部305から呼ばれ、図10で後述のログ履歴消失検知処理を行う。
ログ履歴連結判定部307は、リストア部305から呼ばれ、図11で後述のログ履歴連結判定処理を行う。
エクスポート部308は、管理部301から呼ばれ、エクスポート処理を行う。エクスポート処理とは、例えば、バックアップデータやログ履歴を定期的に外部記憶装置に送付する等の処理である。
データ管理部309は、管理部301から呼ばれ、データ管理処理を行う。データ管理処理とは、ログ履歴取得部304が取得したログ履歴や集計結果、設定値ファイル等を、HD228等の記憶装置内に予め確保した領域に適宜保存する等の処理である。
The restore unit 305 is called from the management unit 301 and executes a restore process. The restore process is, for example, a process of overwriting the internal data of the operating log recording software with backup data stored in advance in an internal storage device in the printing apparatus 100 or an external storage device on the network.
The log history loss detection unit 306 is called from the restore unit 305 and performs log history loss detection processing described later with reference to FIG.
The log history connection determination unit 307 is called from the restore unit 305 and performs log history connection determination processing described later with reference to FIG.
The export unit 308 is called from the management unit 301 and performs an export process. The export process is, for example, a process of regularly sending backup data and log history to an external storage device.
The data management unit 309 is called from the management unit 301 and performs data management processing. The data management process is a process of appropriately saving the log history, the total result, the setting value file, and the like acquired by the log history acquisition unit 304 in an area secured in advance in a storage device such as the HD 228.

図4は、バックアップデータの一例を示す図である。
バックアップデータ400は、アーカイブファイルであり、ジョブ履歴401と、集計結果402と、設定値403と、動作記録404と、バックアップ記録405と、を含む。
ジョブ履歴401は、ログ記録ソフトウェアが印刷装置100から取得したログ履歴を蓄積したファイルである。
集計結果402は、ログ記録ソフトウェアが印刷装置100から取得したログ履歴を、ユーザー毎、カラーモード毎、用紙タイプ毎に集計した結果を記録するファイルである。
設定値403は、ログ記録ソフトウェアが動作するうえで必要な各種設定値を記述するファイルである。
動作記録404は、ログ記録ソフトウェアの動作を遂次記録したファイルである。
バックアップ記録405は、バックアップファイルの記録を記載したファイルである。例えば、バックアップ記録405は、バックアップした日時、バックアップを実行した印刷装置のデバイスシリアルNo.、バックアップファイルのサイズ等を含む。デバイスシリアルNo.は、装置識別情報の一例である。図9で後述するリストア処理において、バックアップ記録405のデータをリストア対象データとして説明する。リストア処理では、リストア部305は、ジョブ履歴401、集計結果402、設定値403、動作記録404に記載されている情報で、ログ記録ソフトウェアの持つ各ファイルの内容を上書きする。
図4のバックアップデータは、HD228等に予め確保されるバックアップデータ記憶用の記憶領域に記憶されるものとする。
FIG. 4 is a diagram illustrating an example of backup data.
The backup data 400 is an archive file, and includes a job history 401, a total result 402, a setting value 403, an operation record 404, and a backup record 405.
The job history 401 is a file in which the log history acquired from the printing apparatus 100 by the log recording software is accumulated.
The tabulation result 402 is a file that records the result of tabulating the log history acquired by the log recording software from the printing apparatus 100 for each user, each color mode, and each paper type.
A setting value 403 is a file describing various setting values necessary for the operation of the log recording software.
The operation record 404 is a file in which the operation of the log recording software is sequentially recorded.
The backup record 405 is a file that describes the record of the backup file. For example, the backup record 405 includes the date and time of backup and the device serial number of the printing apparatus that executed the backup. , Including backup file size. Device serial No. Is an example of device identification information. In the restore process described later with reference to FIG. 9, the data of the backup record 405 will be described as restore target data. In the restore process, the restore unit 305 overwrites the contents of each file of the log recording software with the information described in the job history 401, the total result 402, the setting value 403, and the operation record 404.
The backup data in FIG. 4 is assumed to be stored in a storage area for storing backup data reserved in advance in the HD 228 or the like.

図5は、印刷装置100が作成するログ履歴の一例を示す図である。
ログ履歴番号501は、印刷装置100から取得したログ履歴の番号である。印刷装置100は、ログ履歴を生成する際に、ログ履歴を一意に識別する番号としてログ履歴に関連付けて設定する。ログ履歴番号501は、1から始まる数値とし、ログ履歴を1つ生成毎に1加算される。
出力デバイス502は、ジョブの出力先のデバイスを表す。つまり、出力デバイス502は、前記ジョブがどの印刷装置で処理されたかを示す情報である。出力デバイス502には、例えば「MFP−1」となる。
完了時刻503は、ジョブの完了時刻を表す。完了時刻503には、例えば「2014/1/1 16:11.35.221」が設定される。
用紙タイプ504は、排紙された用紙のタイプである。用紙タイプ504には、例えば「A4」が設定される。
FIG. 5 is a diagram illustrating an example of a log history created by the printing apparatus 100.
The log history number 501 is a log history number acquired from the printing apparatus 100. When generating the log history, the printing apparatus 100 sets the log history in association with the log history as a number for uniquely identifying the log history. The log history number 501 is a numerical value starting from 1, and one log history is added for each generation.
An output device 502 represents a job output destination device. That is, the output device 502 is information indicating which printing apparatus has processed the job. The output device 502 is, for example, “MFP-1”.
A completion time 503 represents the completion time of the job. For example, “2014/1/1 16: 11.35.221” is set as the completion time 503.
A paper type 504 is a type of discharged paper. For example, “A4” is set in the paper type 504.

ページ数505は、出力されたページ数である。ページ数505には、例えば「7」が設定される。
枚数506は、排紙された枚数である。枚数506には、例えば「4」が設定される。
発行者507は、ジョブの実行者のユーザー名を示す情報である。発行者507には、例えば「山田太郎」が設定される。
カラーモード508は、ジョブがカラー印刷かモノクロ印刷かを識別する情報である。カラーモード508には、例えば「カラー」が設定される。
ドキュメント名509は、印刷されたドキュメントの名前である。ドキュメント名509には、例えば「機密書類.doc」が設定される。
片面両面情報510は、片面印刷か両面印刷かを識別する情報である。片面両面情報510には、例えば「両面」が設定される。Nin1情報511は、印刷レイアウトとして1面に対し、何ページ分の情報を印刷するかを識別する情報である。Nin1情報511には、例えば「1」が設定される。
The page number 505 is the number of output pages. For example, “7” is set in the page number 505.
The number of sheets 506 is the number of discharged sheets. For example, “4” is set as the number of sheets 506.
The issuer 507 is information indicating the user name of the job executor. For example, “Taro Yamada” is set as the issuer 507.
The color mode 508 is information for identifying whether the job is color printing or monochrome printing. In the color mode 508, for example, “color” is set.
The document name 509 is the name of the printed document. For example, “confidential document.doc” is set in the document name 509.
Single-sided duplex information 510 is information for identifying single-sided printing or duplex printing. In the single-sided double-sided information 510, for example, “double-sided” is set. The Nin1 information 511 is information for identifying how many pages of information are to be printed on one page as a print layout. For example, “1” is set in the Nin1 information 511.

図6は、表示画面の一例を示す図である。ログ記録ソフトウェアは、ログ記録ソフトウェアが集計した集計結果402から、印刷装置100へログインしたユーザーに対応するカラーページ数、白黒ページ数、総出力枚数、カラー比率、両面比率、ページ集約比率の集計結果を取得する。ログ記録ソフトウェアは、前記集計結果を、表示部(CRT)207、229等の予め定められた表示位置に表示する。   FIG. 6 is a diagram illustrating an example of a display screen. The log recording software calculates the total number of color pages, black and white pages, total number of output pages, color ratio, duplex ratio, and page aggregation ratio corresponding to the user who has logged into the printing apparatus 100 from the total result 402 compiled by the log recording software. To get. The log recording software displays the counting result at a predetermined display position such as a display unit (CRT) 207, 229 or the like.

図7は、ログ履歴の一例を示す図である。図7は、ログ記録ソフトウェアがHD228等の記憶装置に予め確保したログ記録ソフトウェアのデータ領域に保存されているログ履歴の一例を示す。前記データ領域は、ログ記録装置の記録領域の一例である。
ログ履歴は、1つのファイルに1つのログ種を格納する。ログ履歴は、1行に1ログを記載するカンマ区切りのデータ形式である。1行分のデータには、先頭から、ログ履歴番号、ジョブの実行者のユーザー名、カラーモード、ドキュメント名、完了時刻について、印刷装置100から取得した各値が記載されている。図7(a)は、ログ履歴番号の値が10001〜10003のログ履歴が登録されている状態を示す例である。
FIG. 7 is a diagram illustrating an example of a log history. FIG. 7 shows an example of a log history stored in the data area of the log recording software that the log recording software has secured in advance in a storage device such as HD228. The data area is an example of a recording area of the log recording apparatus.
The log history stores one log type in one file. The log history is a comma-delimited data format in which one log is described in one line. In the data for one line, each value acquired from the printing apparatus 100 is described for the log history number, the user name of the job executor, the color mode, the document name, and the completion time from the top. FIG. 7A is an example showing a state where log histories having log history number values 10001 to 10003 are registered.

図8は、設定情報の一例を示す図である。図8は、予めRAM222等の記憶装置に確保された領域に格納されているログ記録ソフトウェアが保持する設定情報の例を示す。
自動エクスポート801は、自動でエクスポートを実行するかしないかの設定である。自動エクスポート801の設定値が「する」の場合、エクスポート実行時刻802の設定時刻になると、ログ記録ソフトウェアの管理部301は、エクスポート部308を呼び出し、自動エクスポート処理を実行する。
自動バックアップ803は、自動でバックアップを実行するかしないかの設定である。自動バックアップ803の設定値が、日毎にバックアップを実行することを意味する「毎日」の場合、バックアップ実行時刻804の設定時刻になると、ログ記録ソフトウェアの管理部301は、バックアップ部303を呼び出し、自動バックアップ処理を実行する。
取得済ログ履歴番号805は、ソフトウェアが印刷装置100から取得したログ履歴のうち、最も新しいログのログ履歴番号示すものである。
図8(a)の例は、自動エクスポートはしない、自動バックアップは毎日1:00に実行する、取得済ログ履歴番号805の値は10001であることを示している。取得済ログ履歴番号805の値は10001であることは、印刷装置100から取得したもっとも新しいログ履歴のログ履歴番号の値が10001であることを意味している。
FIG. 8 is a diagram illustrating an example of setting information. FIG. 8 shows an example of setting information held by log recording software stored in an area reserved in a storage device such as the RAM 222 in advance.
The automatic export 801 is a setting for whether to automatically execute export. When the set value of the automatic export 801 is “Yes”, when the set time of the export execution time 802 comes, the management unit 301 of the log recording software calls the export unit 308 and executes the automatic export process.
The automatic backup 803 is a setting for whether to execute backup automatically. When the setting value of the automatic backup 803 is “daily” which means that backup is executed every day, when the backup execution time 804 is reached, the management unit 301 of the log recording software calls the backup unit 303 to automatically Perform backup processing.
The acquired log history number 805 indicates the log history number of the newest log among the log histories acquired from the printing apparatus 100 by the software.
The example of FIG. 8A shows that automatic export is not performed, automatic backup is executed every day at 1:00, and the value of the acquired log history number 805 is 10001. The value of the acquired log history number 805 being 10001 means that the value of the log history number of the newest log history acquired from the printing apparatus 100 is 10001.

図9は、リストア処理の一例を示すフローチャートである。図9、及び図4、図7、図8を用い、本実施形態におけるリストア処理の一例を説明する。リストア処理は、リストア部305によって実行される処理である。リストア部305は、例えば表示部(CRT)207、229等に表示される画面を介したユーザーの操作に基づいて起動する。なお、リストア対象データは、図5に示すバックアップデータのうちジョブ履歴401と設定値403とであるとして説明する。リストア部305は、印刷装置100が図7(a)に示すログ履歴を保持しているタイミングで取得されたバックアップデータをリストア対象データとして渡されているとする。ログ記録ソフトウェアが保持するログ履歴は、図7(b)に示すログ履歴とする。図7(b)に示すように、ログ記録ソフトウェアのインストール後に実行されたジョブのログは、ログ履歴番号の値が3のログ履歴だけである。ログ履歴番号の値が1、2のログ履歴は、ログ記録ソフトウェアをインストール前に実行されたため、ログ記録ソフトウェアは、ログ履歴番号の値が1、2のログ履歴を取得していない。
S901において、リストア部305は、設定値を反映する。即ち、リストア部305は、ログ記録ソフトウェアが保持する各種設定値を、HD228等にバックアップされているリストア対象データに格納されている設定値で上書きする。図8(b)には、ログ記録ソフトウェアのインストール直後の設定情報を示す。図8(b)に示す設定情報の全ての項目は、デフォルト値になっている。図8(c)には、設定値反映後の例である。図8(c)に示す設定情報の全ての項目は、リストア対象データの値で上書きされている。リストア部305は、S901の処理を完了するとS902の処理へ進む。
FIG. 9 is a flowchart illustrating an example of the restore process. An example of restore processing according to this embodiment will be described with reference to FIGS. 9, 4, 7, and 8. The restore process is a process executed by the restore unit 305. The restore unit 305 is activated based on a user operation via a screen displayed on the display unit (CRT) 207, 229, for example. In the following description, it is assumed that the data to be restored is the job history 401 and the setting value 403 in the backup data shown in FIG. The restore unit 305 assumes that backup data acquired at a timing when the printing apparatus 100 holds the log history shown in FIG. The log history held by the log recording software is the log history shown in FIG. As shown in FIG. 7B, the log of the job executed after the log recording software is installed is only the log history having a log history number value of 3. Since the log history with the log history number value 1 or 2 is executed before the log recording software is installed, the log recording software has not acquired the log history with the log history number value 1 or 2.
In step S901, the restore unit 305 reflects the setting value. That is, the restore unit 305 overwrites various setting values held by the log recording software with the setting values stored in the restoration target data backed up to the HD 228 or the like. FIG. 8B shows setting information immediately after installation of the log recording software. All items of the setting information shown in FIG. 8B are default values. FIG. 8C shows an example after the set value is reflected. All items of the setting information shown in FIG. 8C are overwritten with the value of the data to be restored. When the restore unit 305 completes the process of S901, the restore unit 305 proceeds to the process of S902.

S902において、リストア部305は、ログ履歴消失検知部306を呼び出し、図10で後述するログ履歴消失検知処理を指示する。リストア部305は、S902の処理を完了するとS903の処理へ進む。
S903において、リストア部305は、S902でのログ履歴消失検出処理によって履歴消失フラグがONにセットされたか否かを判定する。リストア部305は、履歴消失フラグがONにセットされたと判定した場合、S904の処理へ進み、履歴消失フラグがONにセットされなかったと判定した場合、S909の処理へ進む。履歴消失フラグは、第1のフラグの一例である。フラグがONにセットされることは、フラグの有効化の一例であり、フラグがOFFにセットされることは、フラグの無効化の一例である。
本実施形態において、ログ記録ソフトウェアは、履歴が消失したか否かの情報をフラグとして保持するものとしている。しかし、ログ記録ソフトウェアは、例えば、予め確保されているテーブル等の内部のデータの値を書き換えることで、前記情報を保持するものとしてもよい。また、ログ記録ソフトウェアは、履歴が消失したか否かの情報を保持せずに、履歴が消失したか否かの判定結果に基づく条件分岐処理を行うようにしてもよい。
S904において、リストア部305は、印刷装置100からログ履歴を再取得する。即ち、リストア部305は、印刷装置100に予め供えられたログ履歴取得部を介し、印刷装置100が記録している全ログ履歴を取得し、ROM221、RAM222、HD228等の記憶装置に予め用意されたログ記録ソフトウェアのワーク領域に格納する。図8(e)は、前記全ログ履歴取得後の設定情報の例を示す。図8(e)の設定情報の取得済ログ履歴番号の値は、3になっている。取得済ログ履歴番号の値が3であることは、印刷装置100から取得した最も新しいログ履歴のログ履歴番号が3であることを意味している。リストア部305は、S904の処理を完了するとS905の処理へ進む。
S905において、リストア部305は、ログ履歴連結判定部307を呼び出し、図11で後述するログ履歴連結判定処理を指示する。リストア部305は、S905の処理を完了するとS906の処理へ進む。
S906において、リストア部305は、前記ログ履歴連結判定処理によって連結フラグがONにセットされたか否かを判定する。リストア部305は、連結フラグがONにセットされたと判定した場合、S907の処理へ進み、連結フラグがONにセットされなかったと判定した場合、S908の処理へ進む。
本実施形態において、ログ記録ソフトウェアは、ログ履歴の連結を行うか否かの情報をフラグとして保持するものとしている。しかし、ログ記録ソフトウェアは、例えば、予め確保されているテーブル等の内部のデータの値を書き換えることで、前記情報を保持するものとしてもよい。また、ログ記録ソフトウェアは、ログ履歴の連結を行うか否かの情報を保持せずに、ログ履歴の連結を行うか否かの判定結果に基づく条件分岐処理を行うようにしてもよい。
In step S902, the restore unit 305 calls the log history loss detection unit 306 and instructs log history loss detection processing described later with reference to FIG. When the restore unit 305 completes the process of S902, the restore unit 305 proceeds to the process of S903.
In S903, the restore unit 305 determines whether or not the history loss flag is set to ON by the log history loss detection process in S902. If the restoration unit 305 determines that the history disappearance flag is set to ON, the process proceeds to step S904. If the restoration unit 305 determines that the history disappearance flag is not set to ON, the process proceeds to step S909. The history disappearance flag is an example of a first flag. Setting the flag to ON is an example of flag validation, and setting the flag to OFF is an example of flag invalidation.
In the present embodiment, the log recording software holds information as to whether or not the history has been lost as a flag. However, the log recording software may hold the information by rewriting the value of internal data such as a table secured in advance. Further, the log recording software may perform conditional branching processing based on the determination result as to whether or not the history is lost without holding the information about whether or not the history is lost.
In step S <b> 904, the restore unit 305 reacquires the log history from the printing apparatus 100. That is, the restore unit 305 acquires all log histories recorded by the printing apparatus 100 via a log history acquisition unit provided in advance in the printing apparatus 100 and is prepared in advance in a storage device such as the ROM 221, RAM 222, and HD 228. Stored in the work area of the logged software. FIG. 8E shows an example of setting information after the acquisition of the entire log history. The value of the acquired log history number in the setting information in FIG. The acquired log history number value of 3 means that the log history number of the newest log history acquired from the printing apparatus 100 is 3. When the restore unit 305 completes the process of S904, the process proceeds to the process of S905.
In step S905, the restore unit 305 calls the log history connection determination unit 307 and instructs log history connection determination processing described later with reference to FIG. When the restore unit 305 completes the process of S905, the restore unit 305 proceeds to the process of S906.
In step S <b> 906, the restore unit 305 determines whether the connection flag is set to ON by the log history connection determination process. If the restoration unit 305 determines that the connection flag is set to ON, the process proceeds to step S907. If the restoration unit 305 determines that the connection flag is not set to ON, the process proceeds to step S908.
In the present embodiment, the log recording software holds information as to whether or not log histories are linked as a flag. However, the log recording software may hold the information by rewriting the value of internal data such as a table secured in advance. Further, the log recording software may perform conditional branching processing based on a determination result of whether or not to link log histories without holding information about whether or not to link log histories.

S907において、リストア部305は、データを連結する。即ち、リストア部305は、リストア対象データに含まれるジョブ履歴401とS904で再取得したログ履歴を連結する。リストア部305は、連結したデータをログ履歴として前記データ領域に保存する。図7(c)は、連結後のログ履歴を示す。S907の処理の後に前記データ領域に記録されているデータは、図7(c)のようになる。ログ履歴番号の値が10001、10002、10003であるログ履歴は、リストア対象データに含まれるジョブ履歴401からリストア部305により取得されたログ履歴である。ログ履歴番号の値が1、2、3のログ履歴は、S904で再取得されたログ履歴である。
S908において、リストア部305は、S904で再取得したログ履歴で前記データ領域に保存されているログ履歴を上書きする。図7(d)は、上書き後のログ履歴を示す。図7(d)において、前記データ領域に保存されているログ履歴には、ログ履歴番号の値が1、2、3のログ履歴のみ格納されている。
S909において、リストア部305は、リストア対象データに含まれているジョブ履歴401で、HD228等の記憶装置に予め確保した前記データ領域に保存されているログ履歴を上書きする。図7(a)は、上書き後のログ履歴を示す。
In S907, the restore unit 305 concatenates the data. That is, the restore unit 305 concatenates the job history 401 included in the restoration target data and the log history reacquired in S904. The restore unit 305 stores the concatenated data in the data area as a log history. FIG. 7C shows the log history after concatenation. The data recorded in the data area after the processing of S907 is as shown in FIG. Log histories whose log history number values are 10001, 10002, and 10003 are log histories acquired by the restore unit 305 from the job history 401 included in the data to be restored. Log histories whose log history number values are 1, 2, and 3 are log histories reacquired in S904.
In step S908, the restore unit 305 overwrites the log history stored in the data area with the log history reacquired in step S904. FIG. 7D shows a log history after overwriting. In FIG. 7D, the log history stored in the data area stores only log histories whose log history number values are 1, 2, and 3.
In step S909, the restore unit 305 overwrites the log history stored in the data area secured in advance in the storage device such as the HD 228 with the job history 401 included in the restoration target data. FIG. 7A shows the log history after overwriting.

図10は、ログ履歴消失検知処理の一例を示すフローチャートである。S902のログ履歴消失検知処理を、図10を用いて説明する。
図10のログ履歴消失検知処理では、ログ記録ソフトウェアが取得済のログ履歴と印刷装置100のログ履歴とを比較して、ログ履歴が消失したか否かを判定する。ログ記録ソフトウェアがリストア対象データとして保持している取得済の最新のログ履歴番号のログ履歴を印刷装置から取得するものとして説明する。
S1001において、ログ履歴消失検知部306は、取得済ログ履歴番号805で示されるログ履歴を印刷装置100から取得する。即ち、ログ履歴消失検知部306は、印刷装置100に予め供えられたログ履歴取得部を介し、図8(c)に図示する設定情報の取得済ログ履歴番号805に対応するログ履歴(図8(c)の例では履歴番号10003)を印刷装置100から取得する。そして、ログ履歴消失検知部306は、RAM222等の記憶装置に予め確保されたログ記録ソフトウェアのワーク領域に前記ログ履歴を格納する。ログ履歴消失検知部306は、S1001の処理を完了するとS1002の処理へ進む。
FIG. 10 is a flowchart illustrating an example of the log history loss detection process. The log history disappearance detection process in S902 will be described with reference to FIG.
In the log history loss detection process of FIG. 10, the log history acquired by the log recording software is compared with the log history of the printing apparatus 100 to determine whether or not the log history has been lost. In the following description, it is assumed that the log recording software acquires the log history of the latest acquired log history number held as restoration target data from the printing apparatus.
In step S <b> 1001, the log history loss detection unit 306 acquires the log history indicated by the acquired log history number 805 from the printing apparatus 100. That is, the log history disappearance detection unit 306 is connected to the log history corresponding to the acquired log history number 805 of the setting information illustrated in FIG. 8C via the log history acquisition unit provided in advance in the printing apparatus 100 (FIG. 8). In the example of (c), the history number 10003) is acquired from the printing apparatus 100. The log history loss detection unit 306 stores the log history in a work area of log recording software secured in advance in a storage device such as the RAM 222. When the log history disappearance detection unit 306 completes the process of S1001, the process proceeds to S1002.

S1002において、ログ履歴消失検知部306は、S1001でログ履歴の取得に成功したか否かを判定する。即ち、ログ履歴消失検知部306は、S1001でログ履歴の取得に成功した場合、取得成功と判定し、S1001でログ履歴の取得に成功しなかった場合、取得成功ではないと判定する。例えば、図8(c)に図示する設定情報の取得済ログ履歴番号805のログ履歴が印刷装置100に存在しない場合、ログ履歴消失検知部306は、ログ履歴の取得に失敗する。即ち、印刷装置100は、記憶装置の交換後に、図8(c)に図示する設定情報の取得済ログ履歴番号805までログ履歴が生成されていないことを意味する。ログ履歴消失検知部306は、取得成功と判定した場合、S1003の処理へ進み、取得成功でないと判定した場合、S1005の処理へ進む。
S1003において、ログ履歴消失検知部306は、S1001で取得し前記ワーク領域に格納したログ履歴と、図7(a)に示すリストア対象データの中の最新のログ履歴と比較し、両者が同一であるか否かを判定する。リストア対象データの中の最新のログ履歴は、図7(a)の例ではログ履歴番号の値が10003のログ履歴である。ログ履歴消失検知部306は、ドキュメント名、完了時刻等全ての項目が一致した場合は、S1001で取得し前記ワーク領域に格納したログ履歴と、図7(a)に示すリストア対象データの中の最新のログ履歴とは同一であると判定する。ログ履歴消失検知部306は、1つでも異なる項目がある場合は、S1001で取得し前記ワーク領域に格納したログ履歴と、図7(a)に示すリストア対象データの中の最新のログ履歴とは同一ではないと判定する。ログ履歴消失検知部306は、S1001で取得し前記ワーク領域に格納したログ履歴と、図7(a)に示すリストア対象データの中の最新のログ履歴とは同一であると判定した場合、S1004の処理へ進む。ログ履歴消失検知部306は、S1001で取得し前記ワーク領域に格納したログ履歴と、図7(a)に示すリストア対象データの中の最新のログ履歴とは同一ではないと判定した場合、S1005の処理へ進む。S1003の処理においてS1001で取得し前記ワーク領域に格納されたログ履歴と、ログ記録ソフトウェアが取得した最新のログ履歴とが同一ではないと判定される場合とは、例えば次のような状況である。印刷装置100が記憶装置の交換等の後、バックアップされているログ履歴のうち最新のログ履歴のログ履歴番号まで新たにログ履歴を取得した状況等が例に挙げられる。
In step S1002, the log history loss detection unit 306 determines whether the log history has been successfully acquired in step S1001. That is, the log history loss detection unit 306 determines that the acquisition is successful if the log history is successfully acquired in S1001, and determines that the acquisition is not successful if the acquisition of the log history is not successful in S1001. For example, if the log history of the acquired log history number 805 of the setting information illustrated in FIG. 8C does not exist in the printing apparatus 100, the log history loss detection unit 306 fails to acquire the log history. That is, the printing apparatus 100 means that no log history has been generated up to the acquired log history number 805 of the setting information illustrated in FIG. When it is determined that the acquisition is successful, the log history disappearance detection unit 306 proceeds to the process of S1003, and when it is determined that the acquisition is not successful, the process proceeds to S1005.
In step S1003, the log history loss detection unit 306 compares the log history acquired in step S1001 and stored in the work area with the latest log history in the restoration target data illustrated in FIG. It is determined whether or not there is. The latest log history in the data to be restored is a log history having a log history number value of 10003 in the example of FIG. When all items such as the document name and the completion time match, the log history disappearance detection unit 306 acquires the log history acquired in S1001 and stored in the work area, and the restoration target data shown in FIG. It is determined that the latest log history is the same. If there is even one different item, the log history loss detection unit 306 acquires the log history acquired in S1001 and stored in the work area, the latest log history in the restoration target data shown in FIG. Are not identical. If the log history loss detection unit 306 determines that the log history acquired in S1001 and stored in the work area is the same as the latest log history in the restoration target data shown in FIG. Proceed to the process. If the log history loss detection unit 306 determines that the log history acquired in S1001 and stored in the work area is not the same as the latest log history in the restoration target data illustrated in FIG. Proceed to the process. The case where it is determined in the processing of S1003 that the log history acquired in S1001 and stored in the work area is not the same as the latest log history acquired by the log recording software is as follows, for example. . An example is a situation in which the printing apparatus 100 newly acquires a log history up to the log history number of the latest log history among the backed up log histories after the storage device is replaced.

S1004において、ログ履歴消失検知部306は、履歴消失フラグをOFFに設定する。即ち、ログ履歴消失検知部306は、前記ワーク領域に確保された履歴消失フラグの領域にOFFを設定し、保存する。
S1005において、ログ履歴消失検知部306は、履歴消失フラグをONにする。即ち、ログ履歴消失検知部306は、前記ワーク領域に確保された履歴消失フラグの領域にONを設定し、保存する。ログ履歴消失検知部306は、S1005の処理を完了するとS1006の処理へ進む。
S1006において、ログ履歴消失検知部306は、ログ記録ソフトウェアが保持する各種設定値の取得済ログ履歴番号805の値を0に設定する。図8(d)は、設定情報の例を示す。
In S1004, the log history disappearance detection unit 306 sets the history disappearance flag to OFF. That is, the log history disappearance detection unit 306 sets OFF in the history disappearance flag area secured in the work area and stores it.
In step S1005, the log history disappearance detection unit 306 turns on the history disappearance flag. That is, the log history disappearance detection unit 306 sets ON in the history disappearance flag area secured in the work area and stores it. When the log history disappearance detection unit 306 completes the process of S1005, the process proceeds to S1006.
In step S1006, the log history disappearance detection unit 306 sets the value of the acquired log history number 805 of various setting values held by the log recording software to 0. FIG. 8D shows an example of setting information.

図11は、ログ履歴連結判定処理の一例を示すフローチャートである。S905のログ履歴連結判定処理を、図11を用いて説明する。
S1101において、ログ履歴連結判定部307は、バックアップ記録405に格納されているデバイスシリアルNo.と、印刷装置100のデバイスシリアルNo.と、を比較する。ログ履歴連結判定部307は、印刷装置100に予め供えられているデバイスシリアルNo.取得部により印刷装置100のデバイスシリアルNo.を取得する。ログ履歴連結判定部307は、バックアップ記録405に格納されているデバイスシリアルNo.と印刷装置100のデバイスシリアルNo.とが一致した場合は、デバイスシリアルNo.が一致したと判定する。ログ履歴連結判定部307は、バックアップ記録405に格納されているデバイスシリアルNo.と印刷装置100のデバイスシリアルNo.とが一致しない場合は、デバイスシリアルNo.が一致しないと判定する。デバイスシリアルNo.は、印刷装置を一意に決める文字列であり、記憶装置やファームウェアを交換しても変更されないことを保証する。デバイスシリアルNo.が一致するということは、バックアップしたログ履歴を生成した印刷装置と、リストア処理の対象である印刷装置と、が同一であるとことを意味する。デバイスシリアルNo.が一致しないということは、別の印刷装置においてバックアップしたデータで、リストア処理をしようとしていることを意味する。ログ履歴連結判定部307は、デバイスシリアルNo.が一致したと判定した場合、S1102の処理へ進み、デバイスシリアルNo.が一致していないと判定した場合、S1003の処理へ進む。
S1102において、ログ履歴連結判定部307は、連結フラグをONに設定する。即ち、ログ履歴連結判定部307は、前記ワーク領域に確保された連結フラグの領域にONを設定し、保存する。
S1103において、ログ履歴連結判定部307は、連結フラグをOFFに設定する。即ち、ログ履歴連結判定部307は、前記ワーク領域に確保された連結フラグの領域にOFFを設定し、保存する。
FIG. 11 is a flowchart illustrating an example of a log history connection determination process. The log history connection determination process in S905 will be described with reference to FIG.
In step S <b> 1101, the log history connection determination unit 307 determines the device serial number stored in the backup record 405. And the device serial number of the printing apparatus 100. And compare. The log history connection determination unit 307 includes a device serial number provided in advance in the printing apparatus 100. A device serial number of the printing apparatus 100 is acquired by the acquisition unit. To get. The log history connection determination unit 307 includes a device serial number stored in the backup record 405. And the device serial number of the printing apparatus 100. Matches the device serial number. Is determined to match. The log history connection determination unit 307 includes a device serial number stored in the backup record 405. And the device serial number of the printing apparatus 100. Does not match the device serial number. Are determined not to match. Device serial No. Is a character string that uniquely determines the printing device, and guarantees that it will not change even if the storage device or firmware is replaced. Device serial No. If the two match, it means that the printing apparatus that generated the backed up log history is the same as the printing apparatus that is the target of the restoration process. Device serial No. If the two do not match, it means that the restoration process is being performed with data backed up by another printing apparatus. The log history connection determination unit 307 includes a device serial number. If the device serial number is determined to match, the process proceeds to S1102, and the device serial No. If it is determined that they do not match, the process proceeds to S1003.
In S1102, the log history connection determination unit 307 sets the connection flag to ON. That is, the log history connection determination unit 307 sets ON in the connection flag area secured in the work area and stores it.
In S1103, the log history connection determination unit 307 sets the connection flag to OFF. That is, the log history connection determination unit 307 sets OFF in the connection flag area secured in the work area and stores it.

以上、本実施形態の処理により、ログ記録ソフトウェアは、記憶装置の交換等でログ履歴の消失が発生し、リストア処理を行う際、前記記憶装置の交換等の後に印刷装置100において発生した印刷装置100のログ履歴を取得する。即ち、印刷装置100を復旧する際に必要な情報が誤って上書きされることはない。
また、ログ記録ソフトウェアは、リストア処理を行う際、印刷装置100と、バックアップされているログ履歴に対応する装置とが同一である場合、以下の処理を行う。即ち、ログ記録ソフトウェアは、前記記憶装置の交換等の後に印刷装置100において発生した印刷装置100のログ履歴と、バックアップされているログ履歴と、を連結して取得する。よって、ログ記録ソフトウェアは、前記記憶装置の交換等の前のログ履歴と前記記憶装置の交換等の後のログ履歴とを連結した形で記録できる。
また、ログ記録ソフトウェアは、印刷装置100の記憶装置の交換等で印刷装置100のログ履歴が空になったとしても、記憶装置の交換前に取得したログ履歴ソフトウェアのバックアップデータをリストアすることで、ログ履歴の欠落を防ぐことができる。
更に、ログ記録ソフトウェアは、バックアップデータの取得忘れ等のエラーにより、記憶装置を交換した印刷装置とは異なる印刷装置のバックアップデータをリストアする場合、記憶装置を交換した印刷装置には設定値だけを反映することができる。ログ記録ソフトウェアは、誤って、別の印刷装置のログ履歴による上書きや、別の印刷装置のログ履歴との連結等を防ぐことができる。
As described above, according to the processing of this embodiment, the log recording software causes the log history to be lost due to replacement of the storage device and the printing device generated in the printing device 100 after replacement of the storage device when performing the restore processing. 100 log histories are acquired. That is, information necessary for restoring the printing apparatus 100 is not erroneously overwritten.
In addition, when performing the restore process, the log recording software performs the following process if the printing apparatus 100 and the apparatus corresponding to the log history being backed up are the same. In other words, the log recording software concatenates and acquires the log history of the printing apparatus 100 generated in the printing apparatus 100 after the storage device replacement or the like and the log history being backed up. Therefore, the log recording software can record the log history before the storage device exchange or the like and the log history after the storage device exchange or the like in a connected form.
In addition, even if the log history of the printing apparatus 100 becomes empty due to replacement of the storage device of the printing apparatus 100, the log recording software restores the backup data of the log history software acquired before replacement of the storage apparatus. , Log history loss can be prevented.
Furthermore, when the backup data of a printing device that is different from the printing device whose storage device has been replaced is restored due to an error such as forgetting to acquire backup data, the log recording software only sets the setting value to the printing device whose storage device has been replaced. Can be reflected. The log recording software can erroneously prevent overwriting with a log history of another printing apparatus, connection with a log history of another printing apparatus, and the like.

<実施形態2>
印刷装置にインストールされたソフトウェアには、前記印刷装置から取得したログ履歴を定期的に外部サーバーに送付するネットワークシステム構成ソフトウェアがある。外部サーバーは、複数の印刷装置のログ履歴を受信し、そのログ履歴を解析した結果をジョブ実行の分析に用いたり、集計した結果をユーザー毎の課金に用いたり、更に、集計した結果を印刷物等の監査に用いたりする。前記ネットワークシステムにおいて、前記外部サーバーは、集計対象の印刷装置を管理し、対象となる印刷装置のソフトウェアにログ履歴の送付の開始・停止を指示するのが一般的である。前記外部サーバーの管理者は、前記外部サーバーにインストールされた管理ソフトウェアから、集計対象となる印刷装置を選択し、前記印刷装置にログ履歴の送付を指示する。そして、前記印刷装置にインストールされたソフトウェアは、前記外部サーバーにログ履歴の送付を開始する。以下の説明において、印刷装置が外部サーバーによりログ履歴の送付開始の指示がなされた状態のことを「連携」とする。修理のため交換された記憶装置を有する印刷装置に再インストールされたソフトウェアも、外部サーバーにより連携されるまでログ履歴の送付は行わない。外部サーバーは、一般者の出入りが禁止されたサーバールームに設置される場合が多く、印刷装置は、一般者の入出が許された部屋に設置されることが多い。また、インターネットの普及に伴い、外部サーバーは、印刷装置の設置場所に対して遠隔地に設置されることが一般的となっている。記憶装置の交換等の修理を担当するサービスマンとサーバーを管理する管理者とは別人物であることが一般的であり、印刷装置の修理完了後に、再度連携するまでに時間を要する。前記印刷装置のソフトウェアが外部サーバーによる連携の指示を待っている間に、一般ユーザーからの印刷データ等が印刷装置に送信され、前記印刷装置は、印刷ジョブ等の処理を実行してしまうことがある。前記印刷ジョブ等の処理のログ履歴は、前記外部サーバーの管理者による再連携の指示後も、前記ソフトウェアからサーバーに対して送信されないこととなってしまう。また、前記ソフトウェアは、リストア処理によって連携状態の設定がログ記録ソフトウェアに反映されても、リストア処理完了後に連携状態となるため、リストア処理完了後に生成されたログ履歴のみを送付する。よって、リストア処理前に発生したログ履歴は、サーバーに送信されないものとなってしまうという問題がある。
<Embodiment 2>
The software installed in the printing apparatus includes network system configuration software that periodically sends a log history acquired from the printing apparatus to an external server. The external server receives the log histories of multiple printing devices, uses the results of analyzing the log histories for job execution analysis, uses the tabulated results for billing for each user, and prints the tabulated results. It is used for auditing. In the network system, the external server generally manages the printing device to be counted and instructs the software of the printing device to start / stop sending log history. The administrator of the external server selects a printing device to be counted from management software installed on the external server, and instructs the printing device to send a log history. Then, the software installed in the printing apparatus starts sending log history to the external server. In the following description, a state where the printing apparatus is instructed to start sending log history by an external server is referred to as “cooperation”. Software that has been reinstalled in a printing device having a storage device that has been replaced for repair will not send log history until linked by an external server. In many cases, the external server is installed in a server room where general users are prohibited from entering and exiting, and the printing apparatus is often installed in a room where general users are allowed to enter and exit. In addition, with the spread of the Internet, it is common for an external server to be installed at a location remote from the installation location of the printing apparatus. In general, a service person in charge of repair such as replacement of a storage device and an administrator who manages the server are different persons, and it takes time to cooperate again after completing the repair of the printing apparatus. While the software of the printing apparatus is waiting for an instruction for cooperation from an external server, print data or the like from a general user is transmitted to the printing apparatus, and the printing apparatus may execute processing such as a print job. is there. The log history of the processing such as the print job is not transmitted from the software to the server even after the re-cooperation instruction from the administrator of the external server. Further, even if the linkage state setting is reflected in the log recording software by the restoration process, the software enters the linkage state after the restoration process is completed, and therefore only the log history generated after the restoration process is completed is sent. Therefore, there is a problem that the log history generated before the restoration process is not transmitted to the server.

本実施形態において、前記問題を解決するための改良を説明する。説明の簡便のため、実施形態1と異なる点を説明する。実施形態1とは、ソフトウェアのリストア処理が異なる。また、外部サーバーは、複数の印刷装置からのログ履歴を収集するのが普通であるが、本実施形態の説明では、単数の印刷装置からのログ履歴を取得するサーバーとして説明する。しかし、外部サーバーと連携を行う印刷装置は単数に限られず、複数であってもよい。本実施形態において、ログ記録ソフトウェアは、サーバー120と連携することができる機能を持つものとする。
図1のサーバー120は、前記外部サーバーの一例である。サーバー120は、管理ソフトウェアを有する。前記管理ソフトウェアは、サーバー120の管理者の指示に従い、印刷装置100にインストール済のログ記録ソフトウェアに対しログ履歴送信の開始・停止を指示する。
In the present embodiment, an improvement for solving the above problem will be described. For the sake of simplicity of explanation, differences from the first embodiment will be described. The software restoration process is different from the first embodiment. The external server normally collects log histories from a plurality of printing apparatuses. However, in the description of this embodiment, the external server will be described as a server that acquires log histories from a single printing apparatus. However, the number of printing apparatuses that cooperate with the external server is not limited to one, and may be plural. In the present embodiment, it is assumed that the log recording software has a function capable of cooperating with the server 120.
The server 120 in FIG. 1 is an example of the external server. The server 120 has management software. The management software instructs the log recording software installed in the printing apparatus 100 to start / stop log history transmission in accordance with an instruction from the administrator of the server 120.

図12は、管理サーバーの受信済ログ履歴一覧の一例を示す図である。図12は、サーバー120が受信した受信ログ履歴を示す。サーバー120は、印刷装置100にインストール済のログ記録ソフトウェアから、ネットワーク130を介し、送付されるログ履歴を受信し、記録装置121に予め確保した領域に前記ログ履歴を保存する。受信ログ履歴は、1つのファイルに1つのログ種を格納する。受信ログ履歴のデータ形式は、1行に1ログを記載するカンマ区切りのデータ形式である。受信ログ履歴は、データの先頭から、受信番号、受信日、ログ履歴番号、ジョブの実行者のユーザー名、カラーモード、ドキュメント名、完了時刻を含む。受信番号、受信日以外は、印刷装置100から送信されたログ履歴が持つ各値が記載されている。図12(a)の例では、受信ログ履歴には、受信番号600201から連続して計3件のログ履歴が登録されている。   FIG. 12 is a diagram illustrating an example of a received log history list of the management server. FIG. 12 shows a reception log history received by the server 120. The server 120 receives the log history sent from the log recording software installed in the printing apparatus 100 via the network 130, and stores the log history in an area reserved in advance in the recording apparatus 121. The reception log history stores one log type in one file. The data format of the reception log history is a comma-delimited data format in which one log is described in one line. The reception log history includes a reception number, a reception date, a log history number, a user name of a job executor, a color mode, a document name, and a completion time from the top of the data. Other than the reception number and the reception date, each value of the log history transmitted from the printing apparatus 100 is described. In the example of FIG. 12A, a total of three log histories are registered in the reception log history continuously from the reception number 600201.

図13は、設定情報の一例を示す図である。図13(a)は、予めRAM222等の記憶装置に確保された領域に格納されているログ記録ソフトウェアが保持する設定情報の例である。設定項目1301〜1305は、実施形態1における図8の設定項目801〜805と同じである。連携1306は、サーバー120と連携済か否かを示す項目である。ログ記録ソフトウェアは、連携1306の項目に、サーバー120によりログ履歴送付開始の指示を受け付けると、「する」を設定する。ログ記録ソフトウェアは、履歴送付開始の指示を受け付けてない場合、又はログ履歴の送付停止の指示を受け付ける場合、「しない」を連携1306の項目に設定する。
サーバー1307の項目は、サーバー120を示す項目である。サーバー1307の項目は、サーバー120のIPアドレスを示す。例えば、サーバー1307には、IPアドレス 192.10.10.10 が格納される。ログ記録ソフトウェアは、サーバー120と連携する場合はサーバー1307の項目のアドレスにログ履歴を送付する。ログ記録ソフトウェアがサーバー120と未連携なら、サーバー1307の項目は、空欄である。
送信済ログ履歴番号1308は、送信済ログ履歴番号を示す項目である。送信済ログ履歴番号1308の項目は、サーバーに送信したログ履歴番号のうち最も新しいログ履歴のログ履歴番号を格納する。送信済ログ履歴番号1308の項目は、ログ記録ソフトウェアがサーバー120と未連携のときは0を格納する。
FIG. 13 is a diagram illustrating an example of setting information. FIG. 13A shows an example of setting information held by log recording software stored in an area secured in advance in a storage device such as the RAM 222. The setting items 1301 to 1305 are the same as the setting items 801 to 805 in FIG. The cooperation 1306 is an item indicating whether or not the cooperation with the server 120 has been completed. The log recording software sets “Yes” in the item of cooperation 1306 when the server 120 receives an instruction to start sending log history. When the log recording software has not received an instruction to start sending history or receives an instruction to stop sending log history, the log recording software sets “No” to the item of cooperation 1306.
The item of the server 1307 is an item indicating the server 120. The item of the server 1307 indicates the IP address of the server 120. For example, the server 1307 stores an IP address 192.168.10.10. When the log recording software cooperates with the server 120, the log recording software sends the log history to the address of the item of the server 1307. If the log recording software is not linked to the server 120, the item of the server 1307 is blank.
The transmitted log history number 1308 is an item indicating a transmitted log history number. The item of the transmitted log history number 1308 stores the log history number of the newest log history among the log history numbers transmitted to the server. The item of the transmitted log history number 1308 stores 0 when the log recording software is not linked to the server 120.

図14は、リストア処理の一例を示すフローチャートである。図14を用いて、本実施形態におけるリストア処理の一例について説明する。S1401〜S1404及び、S1407〜S1411は、それぞれ図9のS901〜S904及び、S905〜S909と同一である。図9の処理と異なる点を説明する。
図13(b)は、S1401の処理後の設定情報の例である。図13(b)は、ログ記録ソフトウェアの取得したログ履歴がログ履歴番号の値が3のログ履歴であり、ログ記録ソフトウェアがサーバー120と連携をしていることを意味している。
S1405において、リストア部305は、ログ記録ソフトウェアがサーバー120と連携済か否かを判定する。即ち、リストア部305は、図13(b)に示す設定情報を読み込み、サーバー120と連携済か否かを示す項目の連携1306の設定値が「する」になっている場合は連携済と判定する。「しない」になっているときは連携済ではないと判定する。リストア部305は、連携済みと判定した場合、S1406の処理へ進み、連携済みではないと判定した場合、S1407の処理へ進む。S1405の処理は、連携判定処理の一例である。
S1406において、リストア部305は、S1404で取得したログ履歴を、予め定めた方法に基づきサーバー120に送付する。
図13(c)は、S1406の処理後の設定情報の例である。図13(c)で、取得済ログ履歴番号1305は、3になっており、サーバーに送付したログ履歴のうち最も新しいログ履歴がログ履歴番号の値が3のログ履歴であることを意味する。図12(b)は、S1406の処理後のサーバー120が受信した受信ログ履歴である。図12(b)は、ログ履歴番号の値が1、2、3のログ履歴を受信したことを示す。即ち、ログ記録ソフトウェアは、S1406の処理で、ログ履歴番号の値が1、2、3のログ履歴をサーバーに送信した。
FIG. 14 is a flowchart illustrating an example of the restore process. An example of the restore process in this embodiment will be described with reference to FIG. S1401 to S1404 and S1407 to S1411 are the same as S901 to S904 and S905 to S909 of FIG. 9, respectively. Differences from the processing of FIG. 9 will be described.
FIG. 13B is an example of setting information after the processing of S1401. FIG. 13B indicates that the log history acquired by the log recording software is a log history having a log history number value of 3, and the log recording software is linked to the server 120.
In step S <b> 1405, the restore unit 305 determines whether the log recording software has been linked with the server 120. That is, the restore unit 305 reads the setting information shown in FIG. 13B, and determines that the link has been completed when the setting value of the link 1306 of the item indicating whether or not the link with the server 120 is “Yes”. To do. When “No” is set, it is determined that the link is not completed. The restore unit 305 proceeds to the process of S1406 when it is determined that the cooperation has been completed, and proceeds to the process of S1407 when it is determined that the cooperation has not been completed. The process of S1405 is an example of a cooperation determination process.
In S1406, the restore unit 305 sends the log history acquired in S1404 to the server 120 based on a predetermined method.
FIG. 13C is an example of setting information after the processing in S1406. In FIG. 13C, the acquired log history number 1305 is 3, which means that the newest log history among the log histories sent to the server is a log history having a log history number value of 3. . FIG. 12B shows a reception log history received by the server 120 after the process of S1406. FIG. 12B shows that log histories whose log history number values are 1, 2, and 3 have been received. That is, the log recording software transmits log histories whose log history number values are 1, 2, and 3 to the server in the process of S1406.

本実施形態の処理によれば、ログ記録ソフトウェアは、印刷装置100の記憶装置の交換等によりサーバー120との連携が切れても、管理者のログ履歴送付開始の指示なしにログ履歴の送信を再開することができる。更に、ログ記録ソフトウェアは、送付するログ履歴の中に印刷装置100の記憶装置の交換後に発生したログ履歴も含めることができる。つまり、ログ記録ソフトウェアは、送付するログ履歴に欠落がないようにすることができる。   According to the processing of the present embodiment, even if the log recording software is disconnected from the server 120 due to replacement of the storage device of the printing apparatus 100 or the like, the log recording software transmits the log history without an instruction from the administrator to start sending log history. You can resume. Further, the log recording software can include a log history generated after replacement of the storage device of the printing apparatus 100 in the log history to be sent. That is, the log recording software can prevent the log history to be sent from being missing.

<実施形態3>
ファームウェアの格納領域の故障等の理由による印刷装置の記憶装置を交換する際のデータの復旧方法には、次のものがある。即ち、ソフトウェア格納領域を含むデータ領域を外部記憶装置等にコピーし、前記印刷装置の記憶装置の交換後、前記ファームウェアをインストールした前記印刷装置の記憶装置に、前記外部記憶装置等から前記データ領域のデータを取得しなおす復旧方法である。前記方法には、複数のソフトウェア毎に再インストールやライセンス等の複雑な再設定、及びリストア処理等をしないで済むという利点がある。前記ファームウェアと同じ領域に保存された印刷装置のログ履歴は、前記ファームウェアの更新処理の中でログ履歴数が0になるが、ソフトウェアのデータ領域に保存したログ履歴は故障前のログ履歴数を保持する。ソフトウェアは、ログ履歴の重複取得を防ぐため、前記ソフトウェアが取得済のログ履歴番号より大きなログ履歴番号のログが発生するまで、ログ履歴を取得しないようにするのが一般的である。したがって、前記復旧方法では、印刷装置のソフトウェアが保持するログ履歴数と前記ファームウェアが保持するログ履歴数とが異なるため、前記ソフトウェアは、誤ってログ履歴を取得しないということがある。
上記問題を解決するための改良を説明する。実施形態1と異なる点を説明する。実施形態1とは、初期化の処理が異なる。
<Embodiment 3>
There are the following data recovery methods when the storage device of the printing apparatus is replaced due to a failure in the storage area of the firmware. That is, a data area including a software storage area is copied to an external storage device or the like, and after the storage device of the printing apparatus is replaced, the data area is transferred from the external storage device or the like to the storage device of the printing apparatus in which the firmware is installed. This is a recovery method to re-acquire data. The method has an advantage that it is not necessary to perform complicated reconfiguration such as re-installation or license for each of a plurality of pieces of software, and restore processing. The log history of the printing device stored in the same area as the firmware becomes 0 in the firmware update process, but the log history stored in the software data area indicates the log history number before the failure. Hold. In order to prevent duplicate acquisition of log history, software generally does not acquire log history until a log having a log history number larger than the log history number acquired by the software is generated. Therefore, in the recovery method, the number of log histories held by the software of the printing apparatus is different from the number of log histories held by the firmware, and therefore the software may not erroneously acquire the log history.
The improvement for solving the said problem is demonstrated. Differences from the first embodiment will be described. The initialization process is different from that of the first embodiment.

図15は、ログ記録システムのソフトウェア構成の一例を示す図である。図15は、本実施形態におけるログ記録ソフトウェア構成を示す。図15の構成要素は、図3の構成要素と同一である。図15は、図3とログ履歴消失検知部の呼び出し元が異なる。図15において、ログ履歴消失検知部1506は、リストア部1505からだけでなく、初期化部1502からも呼び出される。   FIG. 15 is a diagram illustrating an example of a software configuration of the log recording system. FIG. 15 shows a log recording software configuration in the present embodiment. The components in FIG. 15 are the same as the components in FIG. FIG. 15 differs from FIG. 3 in the call source of the log history loss detection unit. In FIG. 15, the log history disappearance detection unit 1506 is called not only from the restore unit 1505 but also from the initialization unit 1502.

図16は、初期化処理の一例を示すフローチャートである。図16を用いて、本実施形態におけるログ記録ソフトウェアの初期化処理を説明する。
初期化処理は、初期化部1502によって実行される処理である。初期化部1502は、ログ記録ソフトウェアの起動の際に、管理部1501から呼び出される。
S1601において、初期化部1502は、ソフトウェア起動における一般的な初期化処理を行う。即ち、初期化部1502は、ログ記録ソフトウェア起動に必要なメモリ領域をRAM222等の記憶装置に対して確保する、設定値の変更を読取り、ログ記録ソフトウェアが保持している設定値を書き換える等の、処理を実行する。初期化部1502は、S1601の処理を完了すると、S1602の処理へ進む。
S1602において、初期化部1502は、ログ履歴消失検知部1506を呼び出す。ログ履歴消失検知部1506は、ログ履歴消失検知処理を実行する。ログ履歴消失検知処理は、図10の処理と同一である。初期化部1502は、S1602の処理を完了すると、S1603の処理へ進む。
FIG. 16 is a flowchart illustrating an example of the initialization process. The log recording software initialization process according to the present embodiment will be described with reference to FIG.
The initialization process is a process executed by the initialization unit 1502. The initialization unit 1502 is called from the management unit 1501 when the log recording software is activated.
In step S1601, the initialization unit 1502 performs a general initialization process in starting the software. That is, the initialization unit 1502 secures a memory area necessary for starting the log recording software in the storage device such as the RAM 222, reads a change in the setting value, rewrites the setting value held by the log recording software, etc. Execute the process. When the initialization unit 1502 completes the process of S1601, the process proceeds to the process of S1602.
In step S1602, the initialization unit 1502 calls the log history loss detection unit 1506. The log history loss detection unit 1506 executes log history loss detection processing. The log history disappearance detection process is the same as the process of FIG. When the initialization unit 1502 completes the process of S1602, the process proceeds to the process of S1603.

S1603において、初期化部1502は、前記ログ履歴消失検出処理によって履歴消失フラグがONにセットされたか否かを判定する。
S1603において、初期化部1502は、履歴消失フラグがONにセットされたと判定した場合、S1604の処理へ進み、履歴消失フラグがONにセットされなかったと判定した場合、図16に示す処理を終了する。
S1604において、初期化部1502は、印刷装置100からログ履歴を再取得する。即ち、初期化部1502は、印刷装置100に予め供えられたログ履歴取得部を介し、印刷装置100が記録している全ログ履歴を取得し、HD228等の記憶装置に予め確保したログ記録ソフトウェアのデータ領域に保存されているログ履歴を上書きする。
本実施形態の処理によれば、以下の効果が得られる。即ち、印刷装置100は、ソフトウェア格納領域を含む前記データ領域のデータを外部記憶装置等にコピーする。そして、印刷装置100は、印刷装置100の記憶装置を交換しファームウェアをインストールした後に、前記外部記憶装置等から前記データ領域のデータを取得しても、ログ履歴の欠落が発生しない。
In step S1603, the initialization unit 1502 determines whether or not a history loss flag is set to ON by the log history loss detection process.
In S1603, if the initialization unit 1502 determines that the history disappearance flag is set to ON, the process proceeds to S1604. If it is determined that the history disappearance flag is not set to ON, the processing illustrated in FIG. .
In step S <b> 1604, the initialization unit 1502 reacquires the log history from the printing apparatus 100. That is, the initialization unit 1502 acquires all log histories recorded by the printing apparatus 100 via a log history acquisition unit provided in advance in the printing apparatus 100, and logs recording software secured in a storage device such as the HD 228 in advance. Overwrite the log history stored in the data area.
According to the processing of this embodiment, the following effects can be obtained. That is, the printing apparatus 100 copies data in the data area including the software storage area to an external storage device or the like. Further, even if the printing apparatus 100 acquires data in the data area from the external storage device or the like after replacing the storage device of the printing device 100 and installing the firmware, the log history is not lost.

<実施形態4>
実施形態1で説明した印刷装置100の記憶装置の交換からソフトウェアの再インストールの間に実行されるジョブは、ファームの更新や印刷装置のネットワーク設定等の再設定が正常に設定されたかを確認するサービスマンによるテスト印刷である可能性が高い。印刷装置100のログ履歴を取得、集計し、集計したデータをユーザー毎の課金に用いるユースケースにおいて、サービスマンのテスト印刷は、ログ履歴に含めたくない要望がある。
上記問題を解決するための改良を説明する。実施形態1と異なる点を説明する。実施形態1とは、ログ履歴消失検知の処理が異なる。
<Embodiment 4>
The job executed between the replacement of the storage device of the printing apparatus 100 and the re-installation of the software described in the first embodiment confirms whether re-setting such as firmware update or network setting of the printing apparatus is normally set. There is a high possibility of test printing by a service person. In a use case where the log history of the printing apparatus 100 is acquired and aggregated, and the aggregated data is used for charging for each user, there is a demand that the test print of the service person is not included in the log history.
The improvement for solving the said problem is demonstrated. Differences from the first embodiment will be described. The log history disappearance detection process is different from the first embodiment.

図17、図18を用いて本実施形態の処理を説明する。
図17は、設定画面の一例を示す図である。ログ記録ソフトウェアは、図17の画面を、ログ記録ソフトウェアによって印刷装置100のCRT229等の表示装置に表示する。ユーザーは、前記画面を用い、ログ記録ソフトウェアの設定を変更することができる。例えば、ユーザーの操作に基づき自動エクスポートの設定が「する」に変更されると、実行日時指定画面が前記表示装置に表示され、ユーザーは、日時を指定することができるようになる。ユーザーの操作に基づき「ハードディスク交換時に、ログ履歴を再取得する」チェックボックスがONに変更されると、ログ記録ソフトウェアは、ハードディスク交換を検知すると印刷装置100からログ履歴を再取得する。ユーザーの操作に基づき「ハードディスク交換時に、ログ履歴を再取得する」チェックボックスがOFFに変更されると、ログ記録ソフトウェアは、ハードディスクの交換を検知しても、印刷装置100からログ履歴を再取得しない。ユーザーによって「OK」ボタンを押下されると、ログ記録ソフトウェアは、図17の画面の設定をHD228等の記憶装置に予め確保したログ記録ソフトウェアのデータ領域に保存する。ログ記録ソフトウェアの次回起動の際の初期化処理において、ログ記録ソフトウェアは、前記データ領域に保存した設定を読み込みログ記録ソフトウェアに反映する。ユーザーによって「キャンセル」ボタンを押下されると、図17の画面における設定の変更は、破棄され、ログ記録ソフトウェアの動作は、変更されない。
図17の画面から設定できる各項目は、ログ記録ソフトウェアの初期化部302による初期化処理によって適宜読み込まれ、ログ記録ソフトウェアに適用されているものとする。「ハードディスク交換時に、ログ履歴を再取得する」チェックボックスがONの場合、初期化部302は、RAM222等の記憶装置に予め用意されたワーク領域に確保された再取得フラグをONに設定する。「ハードディスク交換時に、ログ履歴を再取得する」チェックボックスがOFFの場合、初期化部302は、前記ワーク領域に確保された再取得フラグをOFFに設定する。再取得フラグは、再取得指示情報の一例である。
The processing of this embodiment will be described with reference to FIGS.
FIG. 17 is a diagram illustrating an example of the setting screen. The log recording software displays the screen of FIG. 17 on a display device such as the CRT 229 of the printing apparatus 100 by the log recording software. The user can change the setting of the log recording software using the screen. For example, when the automatic export setting is changed to “Yes” based on the user's operation, the execution date / time designation screen is displayed on the display device, and the user can designate the date / time. When the “Re-acquire log history at hard disk replacement” check box is changed to ON based on the user's operation, the log recording software re-acquires the log history from the printing apparatus 100 when the hard disk replacement is detected. If the “Re-acquire log history when hard disk is replaced” check box is changed to OFF based on the user's operation, the log recording software re-acquires the log history from the printing apparatus 100 even if the hard disk replacement is detected. do not do. When the user presses the “OK” button, the log recording software saves the setting of the screen of FIG. 17 in the data area of the log recording software secured in advance in a storage device such as the HD228. In the initialization process at the next activation of the log recording software, the log recording software reads the settings stored in the data area and reflects them in the log recording software. When the user presses the “Cancel” button, the setting change on the screen of FIG. 17 is discarded, and the operation of the log recording software is not changed.
It is assumed that each item that can be set from the screen of FIG. 17 is appropriately read by the initialization process by the initialization unit 302 of the log recording software and applied to the log recording software. When the “Re-acquire log history when hard disk is replaced” check box is ON, the initialization unit 302 sets a re-acquisition flag reserved in a work area prepared in advance in a storage device such as the RAM 222 to ON. When the “Re-acquire log history at hard disk replacement” check box is OFF, the initialization unit 302 sets the re-acquisition flag reserved in the work area to OFF. The reacquisition flag is an example of reacquisition instruction information.

図18は、ログ履歴消失検知処理の一例を示すフローチャートである。図18を用いて、本実施形態におけるログ履歴消失検知処理の一例について説明する。S1801〜S1804及び、S1806〜S1807の処理は、それぞれ図10におけるS1001〜S1004及び、S1005〜S1006の処理と同一である。図10の処理と異なる点を説明する。
S1805において、ログ履歴消失検知部306は、再取得フラグがONに設定されているか否かを判定する。即ち、ログ履歴消失検知部306は、前記ワーク領域に確保された再取得フラグにONを意味する値が設定されていれば、再取得フラグがONに設定されていると判定する。ログ履歴消失検知部306は、再取得フラグにONを意味する値が設定されていないときは、再取得フラグがONに設定されているとは判定しない。ログ履歴消失検知部306は、再取得フラグがONに設定されていると判定した場合、S1806の処理へ進み、再取得フラグがONに設定されていないと判定した場合、S1804の処理へ進む。ログ履歴消失検知部306は、S1804の処理を実行する場合、未取得のログ履歴が存在するが、S1804で履歴消失フラグがOFFにされるため、S1804以降の後続の処理においてログ履歴を再取得しない。
本実施形態において、ログ記録ソフトウェアは、ログ履歴の再取得を行うか否かの情報をフラグとして保持するものとしている。しかし、ログ記録ソフトウェアは、例えば、予め確保されているテーブル等の内部のデータの値を書き換えることで、前記情報を保持するものとしてもよい。また、ログ記録ソフトウェアは、ログ履歴の再取得を行うか否かの情報を保持せずに、ログ履歴の再取得を行うか否かの判定結果に基づく条件分岐処理を行うようにしてもよい。
FIG. 18 is a flowchart illustrating an example of the log history loss detection process. An example of the log history disappearance detection process in this embodiment will be described with reference to FIG. The processes of S1801 to S1804 and S1806 to S1807 are the same as the processes of S1001 to S1004 and S1005 to S1006 in FIG. Differences from the processing of FIG. 10 will be described.
In step S1805, the log history disappearance detection unit 306 determines whether the reacquisition flag is set to ON. In other words, the log history disappearance detection unit 306 determines that the reacquisition flag is set to ON if the value indicating ON is set in the reacquisition flag secured in the work area. The log history disappearance detection unit 306 does not determine that the reacquisition flag is set to ON when the value indicating ON is not set in the reacquisition flag. When it is determined that the reacquisition flag is set to ON, the log history disappearance detection unit 306 proceeds to the processing of S1806, and when it is determined that the reacquisition flag is not set to ON, the processing proceeds to S1804. When executing the processing of S1804, the log history loss detection unit 306 reacquires the log history in the subsequent processing after S1804 because the history loss flag is turned OFF in S1804, although there is an unacquired log history. do not do.
In the present embodiment, the log recording software holds information as to whether or not to reacquire log history as a flag. However, the log recording software may hold the information by rewriting the value of internal data such as a table secured in advance. Further, the log recording software may perform conditional branch processing based on the determination result of whether or not to reacquire the log history without holding information about whether or not to reacquire the log history. .

本実施形態の処理によれば、図17の画面の「ハードディスク交換時に、ログ履歴を再取得する」チェックボックスをONに設定しておくことで、ログ記録ソフトウェアは、記憶装置の交換を検知するとログ履歴を再取得する。そのため、ログ履歴には、欠落が発生しない。図17の画面の「ハードディスク交換時に、ログ履歴を再取得する」チェックボックスをOFFに設定しておくと、ログ記録ソフトウェアは、必要のないログ履歴を取得することがない。よって、ユーザーの使用目的にあったログ履歴の取得方法を設定することができる。   According to the processing of this embodiment, the log recording software detects that the storage device has been replaced by setting the “Re-acquire log history when replacing hard disk” check box on the screen of FIG. 17 to ON. Re-acquire log history. Therefore, there is no omission in the log history. If the “Re-acquire log history at hard disk replacement” check box on the screen of FIG. 17 is set to OFF, the log recording software does not acquire unnecessary log history. Therefore, it is possible to set a log history acquisition method suitable for the user's purpose of use.

<その他の実施形態>
本発明は、上述の実施形態の1以上の機能を実現するプログラムを、ネットワーク又は記憶媒体を介してシステム又は装置に供給し、そのシステム又は装置のコンピュータにおける1つ以上のプロセッサがプログラムを読み出し実行する処理でも実現可能である。また、1以上の機能を実現する回路(例えば、ASIC)によっても実現可能である。
<Other embodiments>
The present invention supplies a program that realizes one or more functions of the above-described embodiments to a system or apparatus via a network or a storage medium, and one or more processors in the computer of the system or apparatus read and execute the program This process can be realized. It can also be realized by a circuit (for example, ASIC) that realizes one or more functions.

100 印刷装置、110 管理PC、220 CPU、305 リストア部 100 printing device, 110 management PC, 220 CPU, 305 restore unit

Claims (9)

記録領域に記録されている画像処理装置のログ情報を記憶装置にバックアップするバックアップ手段と、
前記記憶装置にバックアップされているログ情報に対応するログ情報を前記画像処理装置から取得する取得手段と、
前記取得手段によるログ情報の取得が失敗した場合、前記画像処理装置におけるログ情報の消失を検知する検知手段と、
前記検知手段により、前記画像処理装置におけるログ情報の消失が検知された場合、前記ログ情報の消失が起こった後に前記画像処理装置において生成されたログ情報を前記画像処理装置から取得し、前記記録領域に記録する記録手段と、
を有するログ記録装置。
Backup means for backing up the log information of the image processing apparatus recorded in the recording area to a storage device;
Acquisition means for acquiring log information corresponding to log information backed up in the storage device from the image processing device;
When the acquisition of log information by the acquisition unit fails, a detection unit that detects loss of log information in the image processing device;
When the detection means detects the loss of log information in the image processing device, the log information generated in the image processing device after the loss of the log information has occurred is acquired from the image processing device, and the recording Recording means for recording in the area;
A log recording device.
前記検知手段は、前記取得手段によるログ情報の取得が成功した場合であっても、前記取得手段により取得されたログ情報と前記記憶装置にバックアップされているログ情報とが異なる場合、前記画像処理装置におけるログ情報の消失を検知する請求項1記載のログ記録装置。   Even if the acquisition of the log information by the acquisition unit is successful, the detection unit may perform the image processing if the log information acquired by the acquisition unit is different from the log information backed up in the storage device. The log recording device according to claim 1, wherein loss of log information in the device is detected. 前記検知手段により前記画像処理装置におけるログ情報の消失が検知された場合、前記ログ情報の消失が起こった後に前記画像処理装置において生成されたログ情報と前記記憶装置にバックアップされているログ情報とを連結するか否かを判定する判定手段を更に有し、
前記記録手段は、前記判定手段により連結すると判定された場合、前記ログ情報の消失が起こった後に前記画像処理装置において生成されたログ情報と前記記憶装置にバックアップされているログ情報とを連結して、連結したログ情報を前記記録領域に記録する請求項1又は2記載のログ記録装置。
When loss of log information in the image processing device is detected by the detection means, log information generated in the image processing device after the loss of log information has occurred and log information backed up in the storage device; And determining means for determining whether to connect
When the determination unit determines that the recording unit is connected, the recording unit connects the log information generated in the image processing apparatus after the loss of the log information and the log information backed up in the storage device. The log recording apparatus according to claim 1, wherein the connected log information is recorded in the recording area.
前記判定手段は、前記記憶装置にバックアップされているログ情報に含まれる装置識別情報と前記画像処理装置の装置識別情報とが対応する場合、前記ログ情報の消失が起こった後に前記画像処理装置において生成されたログ情報と前記記憶装置にバックアップされているログ情報とを連結すると判定する請求項3記載のログ記録装置。   In the case where the device identification information included in the log information backed up in the storage device and the device identification information of the image processing device correspond to each other, the determination unit determines whether the log information disappears in the image processing device. The log recording device according to claim 3, wherein the generated log information and the log information backed up in the storage device are determined to be linked. 前記ログ情報の消失が起こった後に前記画像処理装置において生成されたログ情報を前記記録領域に記録するか否かを設定する設定手段を更に有し、
前記記録手段は、前記設定手段により前記ログ情報の消失が起こった後に前記画像処理装置において生成されたログ情報を前記記録領域に記録すると設定された場合、前記ログ情報を前記記録領域に記録する請求項1乃至4何れか1項記載のログ記録装置。
Further comprising setting means for setting whether or not to record log information generated in the image processing apparatus after the loss of the log information has occurred in the recording area;
The recording unit records the log information in the recording area when the setting unit is set to record the log information generated in the image processing apparatus after the loss of the log information has occurred in the recording area. The log recording device according to any one of claims 1 to 4.
前記ログ記録装置は、前記画像処理装置と一体の装置である請求項1乃至5何れか1項記載のログ記録装置。   The log recording apparatus according to claim 1, wherein the log recording apparatus is an apparatus integrated with the image processing apparatus. 前記記憶装置は、前記画像処理装置とは別の画像処理装置内の記憶装置、又は、ネットワーク上の外部記憶装置である請求項1乃至6何れか1項記載のログ記録装置。   The log recording device according to claim 1, wherein the storage device is a storage device in an image processing device different from the image processing device or an external storage device on a network. ログ記録装置の制御方法であって、
記録領域に記録されている画像処理装置のログ情報を記憶装置にバックアップするバックアップステップと、
前記記憶装置にバックアップされているログ情報に対応するログ情報を前記画像処理装置から取得する取得ステップと、
前記取得ステップによるログ情報の取得が失敗した場合、前記画像処理装置におけるログ情報の消失を検知する検知ステップと、
前記検知ステップにより、前記画像処理装置におけるログ情報の消失が検知された場合、前記ログ情報の消失が起こった後に前記画像処理装置において生成されたログ情報を前記画像処理装置から取得し、前記記録領域に記録する記録ステップと、
を含む制御方法。
A method of controlling a log recording device,
A backup step of backing up the log information of the image processing apparatus recorded in the recording area to a storage device;
Obtaining log information corresponding to log information backed up in the storage device from the image processing device;
When acquisition of log information by the acquisition step fails, a detection step of detecting loss of log information in the image processing device;
When the loss of log information in the image processing apparatus is detected by the detection step, log information generated in the image processing apparatus after the loss of the log information has occurred is acquired from the image processing apparatus, and the recording A recording step for recording in the area;
Control method.
コンピュータを、請求項1乃至7何れか1項記載のログ記録装置の各手段として機能させるためのプログラム。   The program for functioning a computer as each means of the log recording apparatus in any one of Claims 1 thru | or 7.
JP2014194275A 2014-09-24 2014-09-24 Log recording device, control method, and program Pending JP2016066214A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2014194275A JP2016066214A (en) 2014-09-24 2014-09-24 Log recording device, control method, and program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2014194275A JP2016066214A (en) 2014-09-24 2014-09-24 Log recording device, control method, and program

Publications (1)

Publication Number Publication Date
JP2016066214A true JP2016066214A (en) 2016-04-28

Family

ID=55805554

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2014194275A Pending JP2016066214A (en) 2014-09-24 2014-09-24 Log recording device, control method, and program

Country Status (1)

Country Link
JP (1) JP2016066214A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018028739A (en) * 2016-08-15 2018-02-22 富士通株式会社 Information processor, information processing system, information processing method, and program
CN112596941A (en) * 2020-12-28 2021-04-02 凌云光技术股份有限公司 Tool result judgment method and device of industrial image processing software

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018028739A (en) * 2016-08-15 2018-02-22 富士通株式会社 Information processor, information processing system, information processing method, and program
CN112596941A (en) * 2020-12-28 2021-04-02 凌云光技术股份有限公司 Tool result judgment method and device of industrial image processing software
CN112596941B (en) * 2020-12-28 2023-10-03 凌云光技术股份有限公司 Tool result judging method and device of industrial image processing software

Similar Documents

Publication Publication Date Title
US8014007B2 (en) Information processing apparatus, substitute print job management method, information processing program, and recording medium
US10656889B2 (en) Image processing apparatus, control method, and storage medium for managing transmission job history information
US8264728B2 (en) Log collecting system, computer apparatus and log collecting program
US8902458B2 (en) Information processing apparatus, job processing system, and job processing method
JP6257170B2 (en) Image forming system, image forming apparatus, and control method thereof
US8947721B2 (en) Image forming apparatus, backup and restore processing method
US8755074B2 (en) Updating a job list in a server after shutdown when the server is rebooted
US10594879B2 (en) Information processing apparatus, information processing system, method for controlling information processing system, and storage medium
US20070035638A1 (en) Information processing apparatus and information processing method
US20180232263A1 (en) Information processing apparatus, method, and medium
US20200379695A1 (en) Image forming apparatus, control method of image forming apparatus, and program
US8699069B2 (en) Information processing apparatus, information processing method, and storage medium for processing job data stored in a folder
US10908851B2 (en) Communication system and information processing apparatus that manage log information about an external apparatus, and control method therefor
JP5381059B2 (en) Device, log recording control method, and program
JP6349733B2 (en) Information processing apparatus, recovery support method, recovery support program, recovery support system, and recovery support server
JP2016066214A (en) Log recording device, control method, and program
US9924064B2 (en) Information processing apparatus, method of controlling the same, and storage medium
US9423992B2 (en) Management system and control method
US10572182B2 (en) Image forming apparatus, image forming system, control method, and recording medium
JP6743546B2 (en) Information processing apparatus, information processing system, information processing method, and program
US20190387107A1 (en) Image processing device, self-diagnostic method and non-transitory recording medium
JP7309349B2 (en) Information processing device, its control method, and program
JP4773195B2 (en) Information device and computer-readable recording medium
US20190102127A1 (en) Image forming apparatus, control method, and storage medium
JP6950392B2 (en) Information processing systems, information processing equipment and programs