JP2012113382A - Image forming device - Google Patents

Image forming device Download PDF

Info

Publication number
JP2012113382A
JP2012113382A JP2010259760A JP2010259760A JP2012113382A JP 2012113382 A JP2012113382 A JP 2012113382A JP 2010259760 A JP2010259760 A JP 2010259760A JP 2010259760 A JP2010259760 A JP 2010259760A JP 2012113382 A JP2012113382 A JP 2012113382A
Authority
JP
Japan
Prior art keywords
storage medium
data
external storage
backup
backup data
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
JP2010259760A
Other languages
Japanese (ja)
Inventor
Takafumi Shimizu
貴文 清水
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2010259760A priority Critical patent/JP2012113382A/en
Publication of JP2012113382A publication Critical patent/JP2012113382A/en
Pending legal-status Critical Current

Links

Images

Abstract

PROBLEM TO BE SOLVED: To achieve simplification of a restoration process from an external storage medium.SOLUTION: An image forming device 1 capable of backing up and restoring setting information by using an external storage medium comprises: backup means 5 for copying the setting information as backup data for predetermined each data group to the external storage medium 4; and restoring means 6 for restoring the backup data copied to the external storage medium 4 for the each data group to the image forming device 1. In addition, the external storage medium 4 has an abnormal termination flag indicating whether or not a restoration process by the restoring means 6 is abnormally terminated. In the case where the restoration process is determined to be abnormally terminated based on the abnormal termination flag, the restoring means 6 determines normality of the backup data stored in the external storage medium 4 for the each data group and restores the backup data to the image forming device 1 based on a determination result.

Description

本発明は、画像形成装置に関する。さらに詳述すると、外部記憶媒体への設定情報のバックアップ、および外部記憶媒体からの設定情報のリストアを行う画像形成装置に関する。   The present invention relates to an image forming apparatus. More specifically, the present invention relates to an image forming apparatus that backs up setting information to an external storage medium and restores setting information from the external storage medium.

(技術用語)
本明細書において、「バックアップ」とは、コンピュータ(画像形成装置を含む)で扱うデータやプログラムの破壊、紛失、盗難に備え、あらかじめ複製をとっておくことをいう。
また、「リストア」とは、不具合が生じたコンピュータのファイルやディスクを修復、復元すること。また、バックアップをしたデータをコンピュータに戻して、元の状態にすることをいう。
(Technical terms)
In this specification, “backup” means copying in advance in preparation for destruction, loss, or theft of data and programs handled by a computer (including an image forming apparatus).
“Restore” means to repair or restore a computer file or disk in which a problem occurred. In addition, it means that the backed up data is returned to the computer and returned to the original state.

プリンタ、ファクシミリ、複写装置、これらの複合機等の画像形成装置として、例えば、液体吐出ヘッドで構成した記録ヘッドを含む装置を用いて、記録媒体(以下、用紙ともいうが材質を限定するものではなく、被記録媒体、記録用紙、転写材、記録紙なども同義で使用する)を搬送しながら、液体としてのインクを用紙に付着させて画像形成(記録、印刷、印写、印字も同義語で用いる)を行なう、いわゆるインクジェット方式の画像形成装置が知られている。   As an image forming apparatus such as a printer, a facsimile machine, a copying machine, and a multifunction machine of these, for example, an apparatus including a recording head composed of a liquid discharge head is used, and a recording medium (hereinafter also referred to as paper, although the material is not limited). In addition, while transporting the recording medium, recording paper, transfer material, recording paper, etc., the image is formed by attaching ink as a liquid to the paper (recording, printing, printing, printing is also synonymous) A so-called ink jet type image forming apparatus is known.

また、例えば、像担持体である感光ドラムの表面に静電潜像を形成し、感光ドラム上の静電潜像を現像剤であるトナー等によって現像して可視像化し、現像された画像を転写装置により記録紙に転写して画像を担持させ、圧力や熱等を用いる定着装置によって記録紙上のトナー画像を定着する電子写真方式の画像形成装置が知られている。   Further, for example, an electrostatic latent image is formed on the surface of a photosensitive drum as an image carrier, and the electrostatic latent image on the photosensitive drum is developed with a toner or the like as a developer to be a visible image. There is known an electrophotographic image forming apparatus in which an image is carried on a recording paper by a transfer device to carry an image, and a toner image on the recording paper is fixed by a fixing device using pressure or heat.

このような画像形成装置において、当該装置についての機器設定値やアドレス帳等の設定情報を、SDカードやUSBメモリなどの外部記憶媒体にバックアップし、画像形成装置の故障時等に、バックアップしておいた機器設定値やアドレス帳等を、故障等が発生していない他の画像形成装置にリストアすることで、効率よく画像形成装置の機器設定環境を復旧させるという技術が知られている。   In such an image forming apparatus, device setting values and setting information such as an address book for the apparatus are backed up to an external storage medium such as an SD card or a USB memory, and backed up when the image forming apparatus fails. A technique is known in which a device setting environment of an image forming apparatus is efficiently restored by restoring the set device settings, address book, and the like to another image forming apparatus in which no failure has occurred.

この技術に関して、例えば、特許文献1には、画像形成装置の設定情報とともに、設定項目毎に異なる機種間で共通の設定項目かどうか、同じ機種の異なる機器間で共通の設定項目かどうか、及び異なる機器間で共有不可の設定項目かどうかの付加情報を可搬性記憶媒体に書き込む可搬性記憶媒体書き込み手段を備え、この付加情報により、バックアップされた設定情報を、機種の違いを考慮しつつ、他の画像形成装置にリストアすることが可能な技術が開示されている。   With regard to this technology, for example, Patent Document 1 discloses, together with setting information of an image forming apparatus, whether a setting item is common between different models for each setting item, whether it is a common setting item between different devices of the same model, and A portable storage medium writing means for writing additional information on whether or not the setting item is sharable between different devices to a portable storage medium. With this additional information, the backed up setting information is considered in consideration of the difference between models. A technique that can be restored to another image forming apparatus is disclosed.

しかしながら、特許文献1のような従来の外部記憶媒体により機器設定値やアドレス帳等をリストアする装置では、リストア動作中に、外部記憶媒体が抜かれる、または、電源断等が発生すると、外部記憶媒体にバックアップされるデータが破損することがあり、このような外部記憶媒体を用いて、次回以降、正常なリストアができなくなるという問題が生じていた。   However, in a device that restores device setting values, address books, and the like using a conventional external storage medium such as Patent Document 1, if the external storage medium is removed or a power interruption occurs during the restore operation, the external storage medium Data backed up on the medium may be damaged, and there has been a problem that normal restoration cannot be performed from the next time using such an external storage medium.

そこで本発明は、外部記憶媒体を介して、装置の設定情報をバックアップおよびリストアする画像形成装置において、リストア処理中にバックアップデータに破損が生じた場合でも、外部記憶媒体に保存されたバックアップデータを可能な限り再利用することにより、ユーザが、再度、バックアップデータが保存されている他の外部記憶媒体を用意する作業等を省き、リストア処理の短時間化、簡略化を図ることができる画像形成装置を提供することを目的とする。   Therefore, according to the present invention, in an image forming apparatus that backs up and restores setting information of an apparatus via an external storage medium, backup data saved in the external storage medium can be stored even if the backup data is damaged during the restore process. By reusing as much as possible, image forming that allows the user to save time and simplify the restoration process by eliminating the need to prepare another external storage medium in which backup data is stored again An object is to provide an apparatus.

かかる目的を達成するため、請求項1に記載の画像形成装置は、外部記憶媒体を用いて設定情報のバックアップおよびリストアが可能な画像形成装置において、設定情報を所定のデータグループ単位で外部記憶媒体にバックアップデータとして複製するバックアップ手段と、外部記憶媒体に複製されたバックアップデータをデータグループ単位で画像形成装置に復元するリストア手段と、を有し、かつ、外部記憶媒体は、リストア手段による復元が異常終了したか否かを示す異常終了情報を有し、リストア手段は、異常終了情報に基づいて復元が異常終了したと判断した場合、外部記憶媒体内のバックアップデータについてデータグループごとに正常性を判断し、該判断結果に基づいて画像形成装置への復元を行うものである。   In order to achieve this object, an image forming apparatus according to claim 1 is an image forming apparatus capable of backing up and restoring setting information using an external storage medium. Backup means for copying as backup data to the external storage medium, and restore means for restoring the backup data copied to the external storage medium to the image forming apparatus in units of data groups, and the external storage medium is restored by the restore means If the restoration unit determines that the restoration has been terminated abnormally based on the abnormal termination information, the restoration unit has normality for each data group of the backup data in the external storage medium. Judgment is made, and restoration to the image forming apparatus is performed based on the judgment result.

また、請求項2に記載の発明は、請求項1に記載の画像形成装置において、正常と判断された正常データグループを選択可能に表示する表示手段を有し、リストア手段は、選択された正常データグループを画像形成装置に復元するものである。   The invention described in claim 2 further comprises display means for selectively displaying a normal data group determined to be normal in the image forming apparatus according to claim 1, wherein the restore means is selected normal The data group is restored to the image forming apparatus.

また、請求項3に記載の発明は、請求項1に記載の画像形成装置において、正常と判断された正常データグループを選択可能に表示する表示手段を有し、リストア手段は、選択された正常データグループに基づいてバックアップデータを再構築し、該再構築されたバックアップデータにより外部記憶媒体内のバックアップデータを更新するものである。   According to a third aspect of the present invention, in the image forming apparatus according to the first aspect of the present invention, the image forming apparatus further includes a display unit that displays a normal data group determined to be normal so that the restore unit can select the selected normal data. The backup data is reconstructed based on the data group, and the backup data in the external storage medium is updated with the reconstructed backup data.

また、請求項4に記載の発明は、請求項1に記載の画像形成装置において、リストア手段は、正常と判断された正常データグループと、正常でないと判断された破損データグループに相当する設定情報の初期値と、に基づいてバックアップデータを再構築し、該再構築されたバックアップデータにより外部記憶媒体内のバックアップデータを更新するものである。   According to a fourth aspect of the present invention, in the image forming apparatus according to the first aspect, the restore unit includes setting information corresponding to a normal data group determined to be normal and a damaged data group determined to be not normal. The backup data is reconstructed based on the initial value and the backup data in the external storage medium is updated with the reconstructed backup data.

また、請求項5に記載の発明は、請求項1に記載の画像形成装置において、バックアップ手段は、外部記憶媒体内のバックアップデータを複製して二重化バックアップデータとして外部記憶媒体に記憶させ、リストア手段は、二重化バックアップデータを用いてバックアップデータを復元して、該バックアップデータを用いて外部記憶媒体内のバックアップデータを更新するものである。   According to a fifth aspect of the present invention, in the image forming apparatus according to the first aspect, the backup unit duplicates the backup data in the external storage medium, stores the duplicated backup data in the external storage medium, and restores the backup data. Is to restore backup data using duplex backup data and update the backup data in the external storage medium using the backup data.

本発明によれば、外部記憶媒体を用いた設定情報のリストア処理の簡略化を図ることができる。   According to the present invention, it is possible to simplify the restoration processing of setting information using an external storage medium.

本発明に係る画像形成装置の一実施形態である印刷装置を示す機能ブロック図である。1 is a functional block diagram illustrating a printing apparatus that is an embodiment of an image forming apparatus according to the present invention. 第1のリストア処理を示すフローチャートである。It is a flowchart which shows a 1st restore process. 第2のリストア処理を示すフローチャートである。It is a flowchart which shows a 2nd restore process. 第3のリストア処理を示すフローチャートである。It is a flowchart which shows a 3rd restore process. 第4のリストア処理を示すフローチャートである。It is a flowchart which shows a 4th restore process.

以下、本発明に係る構成を図1から図5に示す実施の形態に基づいて詳細に説明する。本実施形態に係る画像形成装置(印刷装置1)は、外部記憶媒体(4)を用いて設定情報のバックアップおよびリストアが可能な画像形成装置において、設定情報を所定のデータグループ単位で外部記憶媒体にバックアップデータとして複製するバックアップ手段(5)と、外部記憶媒体に複製されたバックアップデータをデータグループ単位で画像形成装置に復元するリストア手段(6)と、を有し、かつ、外部記憶媒体は、リストア手段による復元が異常終了したか否かを示す異常終了情報(異常終了フラグ)を有し、リストア手段は、異常終了情報に基づいて復元が異常終了したと判断した場合、外部記憶媒体内のバックアップデータについてデータグループごとに正常性を判断し、該判断結果に基づいて画像形成装置への復元を行うものである。なお、「設定情報」とは、機器設定値に限られるものではなく、アドレス帳等の各種データ、バックアップに関する付属情報等を含むものである。   Hereinafter, the configuration according to the present invention will be described in detail based on the embodiment shown in FIGS. The image forming apparatus (printing apparatus 1) according to the present embodiment is an image forming apparatus capable of backing up and restoring setting information using an external storage medium (4). Backup means (5) for copying as backup data to the external storage medium, and restore means (6) for restoring the backup data copied to the external storage medium to the image forming apparatus in units of data groups, and the external storage medium is , Having abnormal end information (abnormal end flag) indicating whether or not the restoration by the restoring means has ended abnormally, and when the restoring means determines that the restoration has ended abnormally based on the abnormal end information, The normality of each backup data is determined for each data group, and restoration to the image forming apparatus is performed based on the determination result Than is. The “setting information” is not limited to the device setting value, but includes various data such as an address book, auxiliary information related to backup, and the like.

より詳しくは、例えば、リストア処理時に、前回のリストア処理において処理が中断(異常終了)されたと判断した場合は、外部記憶媒体に保存されているバックアップデータに対し、各グループ単位でのデータの破損状況を判断し、グループ単位でのデータの正常性を判断する。さらに、正常と判断されたデータをユーザに選択可能に表示し、そのうちユーザに指定されたデータに基づいてリストアするものである。また、外部記憶媒体内のバックアップデータを再構築して、この再構築されたバックアップデータに基づいて、リストアするものであっても良い。   More specifically, for example, when it is determined that the processing was interrupted (abnormally terminated) in the previous restoration processing during restoration processing, the data in each group is damaged with respect to the backup data saved on the external storage medium. Determine the situation and determine the normality of the data in groups. Further, the data judged to be normal is displayed to be selectable to the user, and the restoration is performed based on the data designated by the user. Further, the backup data in the external storage medium may be reconstructed and restored based on the reconstructed backup data.

また、破損していると判断されたグループのデータについて、装置の初期値等を用いて、外部記憶媒体のバックアップデータを再構築し、この再構築されたバックアップデータに基づいて、リストアするものであっても良い。さらに、外部記憶装置のバックアップデータについて、二重化してバックアップしておき、二重化されたバックアップデータに基づいて、外部記憶媒体のバックアップデータを再構築し、この再構築されたバックアップデータに基づいて、リストアするものであっても良い。   In addition, for the data of the group determined to be damaged, the backup data of the external storage medium is reconstructed using the initial value of the device, and the restoration is performed based on the reconstructed backup data. There may be. Furthermore, the backup data of the external storage device is duplicated and backed up, the backup data of the external storage medium is reconstructed based on the duplicated backup data, and the restore is performed based on the reconstructed backup data. It may be what you do.

(画像形成装置の構成・動作)
本発明に係る画像形成装置の一実施形態である印刷装置1の概略構成を示す機能ブロック図を図1に示す。図1に示すように、印刷装置1は、脱着不可の不揮発性記憶手段である内部記憶手段2、外部記憶媒体インターフェイス(IF)部3、脱着可能な不揮発性記憶手段である外部記憶媒体4、コントローラ部7内に構成されるバックアップ手段5およびリストア手段6、ホストインターフェイス(IF)部8、操作パネル9、ROM10、RAM11、印刷エンジン(Plotter Engine)12等を有し、ホストIF部8を介して、パーソナルコンピュータ等のホスト計算機13と接続されている。
(Configuration and operation of image forming apparatus)
FIG. 1 is a functional block diagram showing a schematic configuration of a printing apparatus 1 that is an embodiment of an image forming apparatus according to the present invention. As shown in FIG. 1, the printing apparatus 1 includes an internal storage unit 2 that is a non-removable non-volatile storage unit, an external storage medium interface (IF) unit 3, an external storage medium 4 that is a removable non-volatile storage unit, The controller unit 7 includes a backup unit 5 and a restore unit 6, a host interface (IF) unit 8, an operation panel 9, a ROM 10, a RAM 11, a print engine (Plotter Engine) 12, and the like. And connected to a host computer 13 such as a personal computer.

内部記憶手段2は、例えば、ハードディスクドライブやEEPROM、NVRAM等であり、また、外部記憶媒体4とそのIF部3は、IC−Card装置、USBメモリ、SDカード装置等である。   The internal storage unit 2 is, for example, a hard disk drive, EEPROM, NVRAM, or the like, and the external storage medium 4 and its IF unit 3 are an IC-Card device, a USB memory, an SD card device, or the like.

印刷装置1の動作について説明する。先ず、ユーザは、外字やフォーム等のデータを印刷装置1に登録する場合、ホスト計算機13からホストIF8を介してデータを印刷装置1に送信する。これを受けた印刷装置1は、受信データを内部記憶手段2内に保持する。   The operation of the printing apparatus 1 will be described. First, when registering data such as external characters and forms in the printing apparatus 1, the user transmits data from the host computer 13 to the printing apparatus 1 via the host IF 8. Receiving this, the printing apparatus 1 holds the received data in the internal storage means 2.

また、ユーザは、印刷装置1内の内部記憶手段2内に保持されている機器設定値等のデータを保存したい場合は、外部記憶媒体(例えば、USBメモリ、SDカード等)4を、印刷装置1が有する記憶媒体IF部(例えば、USBポート、SDカードスロット等)3に装着して、ホスト計算機13または印刷装置の操作パネル9等を介して、その旨の指示を与えることができる。   Further, when the user wants to save data such as device setting values held in the internal storage unit 2 in the printing apparatus 1, an external storage medium (for example, USB memory, SD card, etc.) 4 is stored in the printing apparatus. 1 is attached to a storage medium IF unit (for example, a USB port, an SD card slot, etc.) 3, and an instruction to that effect can be given via the host computer 13 or the operation panel 9 of the printing apparatus.

上記指示を受けた印刷装置1は、コントローラ部7上で動作するバックアップ手段5が呼び出されて以下の処理が実行される。   Upon receiving the instruction, the printing apparatus 1 calls the backup unit 5 that operates on the controller unit 7 and executes the following processing.

バックアップ手段5は、内部記憶手段2内に保持されている機器設定値等のデータを読み取り、記憶媒体IF部3を介して脱着可能な不揮発の記憶媒体4に、バックアップデータとして書き込む(複製する)。また、ユーザが、以前に外部記憶媒体4に保存したバックアップデータを、内部記憶手段2内に復元する場合は、以前にデータを保存しておいた外部記憶媒体4を記憶媒体IF部3に装着して、ホスト計算機13または印刷装置の操作パネル9等を介して、その旨の指示を与えることができる。   The backup unit 5 reads data such as device setting values held in the internal storage unit 2 and writes (duplicates) it as backup data in a non-volatile storage medium 4 that can be detached via the storage medium IF unit 3. . Further, when the user restores the backup data previously saved in the external storage medium 4 in the internal storage means 2, the external storage medium 4 in which the data has been saved before is attached to the storage medium IF unit 3. An instruction to that effect can be given via the host computer 13 or the operation panel 9 of the printing apparatus.

上記指示を受けた印刷装置1は、コントローラ部7上で動作するリストア手段6が呼び出されて以下の処理が実行される。   Upon receiving the instruction, the printing apparatus 1 calls the restore unit 6 operating on the controller unit 7 and executes the following processing.

リストア手段6は、バックアップ手段5により外部記憶媒体4内に書き込まれ保存されているバックアップデータを、外部記憶媒体IF部3を介して読み込んで、それを内部記憶手段2に復元させる。   The restore unit 6 reads the backup data written and stored in the external storage medium 4 by the backup unit 5 via the external storage medium IF unit 3 and restores it to the internal storage unit 2.

ここで、バックアップ手段5は、外部記憶媒体4に対して、画像形成装置の機器設定値を、所定のまとまりを持ったグループ単位として複製することが可能であり、リストア手段6は、バックアップデータをグループ単位で復元することが可能である。   Here, the backup unit 5 can copy the device setting values of the image forming apparatus to the external storage medium 4 as a group unit having a predetermined unit, and the restore unit 6 stores the backup data. It is possible to restore in groups.

また、リストア手段6は、外部記憶媒体4に対するリストア処理の開始時に記憶し(オンにして)、リストア処理が正常に完了した場合に消去する(オフにする)異常終了フラグ(異常終了情報)を定義する。この異常終了フラグを外部記憶媒体4が情報として有することで、異常終了フラグがオンの場合は、前回のリストア処理時に処理が中断したことを、判断することが可能となる。   Also, the restore means 6 stores an abnormal end flag (abnormal end information) that is stored (turned on) at the start of the restore process for the external storage medium 4 and erased (turned off) when the restore process is completed normally. Define. Since the external storage medium 4 has this abnormal end flag as information, when the abnormal end flag is on, it is possible to determine that the process has been interrupted during the previous restore process.

また、バックアップ手段5およびリストア手段6は、内部記憶手段2と外部記憶媒体4との間において、機器設定値等のデータの保存、あるいは回復の処理実行中にあっては、ホスト計算機13から送信されるデータの登録、あるいは既に登録されているデータの削除の指示に対して、その受け付けあるいは実行処理を同時に行わないように排他制御処理が行われる。   In addition, the backup unit 5 and the restore unit 6 transmit data from the host computer 13 while the internal storage unit 2 and the external storage medium 4 are saving or restoring data such as device setting values. In response to an instruction to register data to be registered or to delete data that has already been registered, exclusive control processing is performed so that the reception or execution processing is not performed simultaneously.

また、バックアップ手段5は、外部記憶媒体4に機器設定値等のデータの他に、バックアップのID、バックアップの日時、保存する総データ容量、保存するデータの総個数、保存対象データに関するチェックサム等の付属情報の書き込みも行う。   In addition to the data such as device setting values, the backup unit 5 stores backup ID, date and time of backup, total data capacity to be stored, total number of data to be stored, checksum related to data to be stored, etc. Also write the attached information.

また、リストア手段6は、バックアップ手段5によって書き込まれた外部記憶媒体4内の付属情報を読み取り、データの異常の有無、処理対象として適切な媒体かどうか、回復先の内部記憶手段2に十分な空き容量があるかなどを確認する。問題がある場合には、正常なデータを操作パネル9に表示し、ユーザに選択されたデータのみをリストア処理したり、同じくユーザに選択されたデータでバックアップデータを再構築し、それを外部記憶媒体4に上書き保存したり、適切な外部記憶媒体4との交換装着を促すメッセージ等をユーザに通知することを行う。   Further, the restore means 6 reads the attached information in the external storage medium 4 written by the backup means 5, and whether or not there is an abnormality in the data, whether the medium is appropriate as a processing target, is sufficient for the internal storage means 2 at the recovery destination. Check if there is free space. If there is a problem, normal data is displayed on the operation panel 9 and only the data selected by the user is restored, or backup data is reconstructed with the data selected by the user and stored externally. The user is overwritten on the medium 4 or notified to the user of a message for prompting replacement with an appropriate external storage medium 4.

また、バックアップ手段5は、機器設定値等のデータを外部記憶媒体4に二重化して書き込む処理を行うことも好ましい。この場合、リストア手段6は、データの破損を検知すると、バックアップ手段5によって、外部記憶媒体4に二重化して書き込まれたデータを読み取り、そのデータから破損したデータを復元して外部記憶媒体4および内部記憶手段2に書き込みを行う(後述する第4のリストア処理)。   The backup unit 5 also preferably performs a process of duplicating and writing data such as device setting values in the external storage medium 4. In this case, when the restoration unit 6 detects the data corruption, the backup unit 5 reads the data written in duplicate on the external storage medium 4 and restores the damaged data from the data to restore the external storage medium 4 and Writing to the internal storage means 2 (fourth restore process described later).

(第1のリストア処理)
図2は、印刷装置1が実行するリストア処理の一例を示すフローチャートである。図2に示すリストア処理は、リストア処理時に前回のリストア処理が正常終了していなかった場合において、正常にリストアされたデータグループ(設定値グループ)をユーザが選択的にリストアする場合の処理(第1のリストア処理という)を示している。
(First restoration process)
FIG. 2 is a flowchart illustrating an example of restore processing executed by the printing apparatus 1. The restore process shown in FIG. 2 is a process in which the user selectively restores a data group (set value group) that has been restored successfully if the previous restore process did not end normally during the restore process. 1 restore process).

先ず、外部記憶媒体による機器設定値等のバックアップおよびリストアが可能な印刷装置1に、機器設定値等のバックアップデータが保存された外部記憶媒体4が装着され、ユーザにより機器設定値等のリストアの実行開始が要求される(S101)。   First, an external storage medium 4 in which backup data such as device setting values is stored is loaded in the printing apparatus 1 that can backup and restore device setting values and the like using an external storage medium, and the user restores device setting values and the like. An execution start is requested (S101).

外部記憶媒体4に、前回のリストア処理における異常終了を示す異常終了フラグが立っているか否かを確認し(S102)、前回のリストア処理が正常に終了していると判定される場合(S103:yes)は、上述のような通常のリストア処理を実行する(S104)。   It is confirmed whether or not an abnormal end flag indicating abnormal end in the previous restore process is set in the external storage medium 4 (S102), and when it is determined that the previous restore process has ended normally (S103: yes) executes the normal restoration process as described above (S104).

一方、異常終了フラグがオンである場合、前回のリストア処理が異常終了と判定される(S103:no)。この場合、外部記憶媒体4のバックアップデータに対し、各データグループ単位で破損したデータを有するデータグループ(破損データグループという)がないかどうかを確認する(S105)。破損データの確認手法は、特に限られるものではないが、例えば、各データグループ単位で計算され、バックアップ時にバックアップデータと共に記憶されているチェックサム値と、リストア時に読み込んだ設定値から計算するチェックサム値を比較し、同じであるならデータ破損はないと判断する方法や、各設定値の上下限値の確認等をすることにより、破損状況を確認するものである。   On the other hand, when the abnormal end flag is on, it is determined that the previous restoration process ended abnormally (S103: no). In this case, it is checked whether or not there is a data group (referred to as a damaged data group) having damaged data for each data group with respect to the backup data of the external storage medium 4 (S105). The method for checking damaged data is not particularly limited. For example, the checksum is calculated from the checksum value calculated for each data group and stored with the backup data at the time of backup, and the checksum value read at the time of restoration. By comparing the values and determining that there is no data corruption if they are the same, the status of corruption is confirmed by checking the upper and lower limit values of each set value.

確認の結果、破損データグループがない場合(S106:no)は、通常のリストア処理を実行する(S104)。これに対し、破損データグループがある場合(S106:yes)は、操作パネル9またはホスト計算機13の表示部に、破損データグループ以外の正常と判断されたデータグループ(正常データグループという)を表示する(S107)。   If there is no damaged data group as a result of the confirmation (S106: no), normal restore processing is executed (S104). On the other hand, when there is a damaged data group (S106: yes), a data group determined to be normal other than the damaged data group (referred to as a normal data group) is displayed on the display unit of the operation panel 9 or the host computer 13. (S107).

これに対し、ユーザは、表示された正常データグループから、リストアを行いたいデータグループを選択する(S108)ことにより、選択されたデータグループに対するリストア処理が実行される(S104)。   On the other hand, the user selects a data group to be restored from the displayed normal data group (S108), thereby executing a restore process for the selected data group (S104).

第1のリストア処理によれば、以前にリストア処理に失敗しており、外部記憶媒体4のバックアップデータの一部に破損(破損データグループ)がある場合でも、ユーザは、それ以外の正常データを選択的にリストアすることができる。よって、正常データのみのリストアで十分である場合には、再度、バックアップデータが保存されている外部記憶媒体を用意する必要がなく、リストア処理の簡略化を図ることができる。   According to the first restore process, even if the restore process has previously failed and the backup data of the external storage medium 4 is partially damaged (damaged data group), the user can store other normal data. It can be restored selectively. Therefore, when restoration of only normal data is sufficient, it is not necessary to prepare an external storage medium in which backup data is stored again, and the restore process can be simplified.

(第2のリストア処理)
図3は、印刷装置1が実行するリストア処理の他の例を示すフローチャートである。図3に示すリストア処理は、リストア処理時に前回のリストア処理が正常終了していなかった場合において、ユーザに選択された正常にリストアされたデータグループからバックアップデータを再構築してリストアする場合の処理を示している(第2のリストア処理という)。なお、図3中のS201〜S208は、それぞれS101〜S108に相当し、重複する説明については省略する。
(Second restoration process)
FIG. 3 is a flowchart illustrating another example of the restore process executed by the printing apparatus 1. The restore process shown in FIG. 3 is a process when the backup data is reconstructed and restored from the normally restored data group selected by the user when the previous restore process did not end normally during the restore process. (Referred to as second restore processing). Note that S201 to S208 in FIG. 3 correspond to S101 to S108, respectively, and redundant description is omitted.

前回のリストア処理が異常終了と判定されると(S203:no)、外部記憶媒体4のバックアップデータに対し、各データグループ単位で破損データがないかどうかを確認し(S205)、確認の結果、破損データグループがない場合(S206:no)は、通常のリストア処理を実行する(S204)。   If it is determined that the previous restore process has ended abnormally (S203: no), the backup data of the external storage medium 4 is checked to see if there is any corrupted data in units of data groups (S205). If there is no damaged data group (S206: no), normal restore processing is executed (S204).

一方、破損データグループがある場合(S206:yes)は、正常データグループを表示する(S207)。次に、ユーザが、表示された正常データグループからリストアを行いたいデータグループを選択すると(S208)、選択された正常データグループからバックアップデータを再構築し(S209)、外部記憶媒体4内のバックアップデータを上書き保存した後(S210)、再構築したバックアップデータによりリストア処理が実行される(S204)。   On the other hand, if there is a damaged data group (S206: yes), the normal data group is displayed (S207). Next, when the user selects a data group to be restored from the displayed normal data group (S208), the backup data is reconstructed from the selected normal data group (S209), and the backup in the external storage medium 4 is performed. After the data is overwritten (S210), a restore process is executed with the reconstructed backup data (S204).

第2のリストア処理によれば、以前にリストア処理に失敗しており、外部記憶媒体4のバックアップデータの一部に破損がある場合でも、ユーザがリストア対象として選択した正常データグループでバックアップデータを再構築して、外部記憶媒体に保存することにより、次回以降のリストア処理時に、バックアップデータの再構築が不要となる。また、同じ外部記憶媒体で違う機器をリストアする際に、ユーザによるリストア対象データの選択も不要となる。よって、リストア処理の簡略化を図ることができる。   According to the second restore process, even if the restore process has failed before and the backup data on the external storage medium 4 is partially damaged, the backup data is stored in the normal data group selected as the restore target by the user. By reconstructing and saving in the external storage medium, it is not necessary to reconstruct the backup data during the next and subsequent restore processing. Further, when restoring a different device on the same external storage medium, the user does not need to select data to be restored. Therefore, the restore process can be simplified.

(第3のリストア処理)
図4は、印刷装置1が実行するリストア処理の他の例を示すフローチャートである。図4に示すリストア処理は、リストア処理時に前回のリストア処理が正常終了していなかった場合において、ユーザに選択された正常にリストアされたデータグループと、破損データに相当するデータの初期設定値とからバックアップデータを再構築してリストアする場合の処理を示している(第3のリストア処理という)。なお、図4中のS301〜S306は、それぞれS101〜S106に相当し、重複する説明については省略する。
(Third restore processing)
FIG. 4 is a flowchart illustrating another example of the restore process executed by the printing apparatus 1. The restore process shown in FIG. 4 is performed when the previous restore process is not normally completed during the restore process, and the data group restored by the user and the initial setting value of the data corresponding to the damaged data 3 shows a process when the backup data is reconstructed and restored from the beginning (referred to as a third restore process). Note that S301 to S306 in FIG. 4 correspond to S101 to S106, respectively, and redundant descriptions are omitted.

前回のリストア処理が異常終了と判定されると(S303:no)、外部記憶媒体4のバックアップデータに対し、各データグループ単位で破損データがないかどうかを確認し(S305)、確認の結果、破損データグループがない場合(S306:no)は、通常のリストア処理を実行する(S304)。   If it is determined that the previous restore process has ended abnormally (S303: no), the backup data of the external storage medium 4 is checked for damaged data in units of each data group (S305). If there is no damaged data group (S306: no), normal restore processing is executed (S304).

一方、破損データグループがある場合(S306:yes)は、リストア対象となっている機器(印刷装置1)より破損データグループに該当する設定値の初期設定値を取得(S307)する。この初期設定値の取得に成功した場合(S308:yes)は、再構築バックアップデータとして揮発性メモリ(RAM11)上に保持しておき(S309)、取得に失敗した場合(S308:no)は、該当設定値を再構築バックアップデータの対象外とする。   On the other hand, if there is a damaged data group (S306: yes), an initial setting value corresponding to the damaged data group is acquired from the device to be restored (printing apparatus 1) (S307). When acquisition of this initial setting value is successful (S308: yes), it is stored on the volatile memory (RAM 11) as reconstructed backup data (S309), and when acquisition fails (S308: no), The corresponding setting value is excluded from the reconstructed backup data.

破損データグループ全てに対し、初期設定値の取得を行った後(S310:yes)、正常データグループと、初期設定値の取得に成功し揮発性メモリ上に保持されているデータグループで設定値バックアップデータを再構築し(S311)、外部記憶媒体4内のバックアップデータを上書き保存した後(S312)、再構築したバックアップデータによりリストア処理が実行される(S304)。   After acquiring the initial setting values for all damaged data groups (S310: yes), backup the setting values with the normal data group and the data groups that have been successfully acquired and stored in the volatile memory. The data is reconstructed (S311), the backup data in the external storage medium 4 is overwritten and saved (S312), and a restore process is executed with the reconstructed backup data (S304).

なお、第3のリストア処理において、破損データグループが存在すると判別された時点(S306:yes)で、ユーザに正常データグループと、破損データグループの初期設定値によるバックアップデータの再構築を実行するか否かを確認することも好ましい。   In the third restoration process, when it is determined that a damaged data group exists (S306: yes), whether to reconstruct the backup data based on the normal data group and the initial setting value of the damaged data group to the user It is also preferable to check whether or not.

第3のリストア処理によれば、以前にリストア処理に失敗しており、外部記憶媒体4のバックアップデータの一部に破損がある場合でも、正常データグループと、装置が有する破損データグループの各機器設定値の初期設定値(デフォルト値)でバックアップデータを再構築して外部記憶媒体に保存することにより、次回以降のリストア処理時に、バックアップデータの再構築が不要となり、リストア処理の簡略化を図ることができる。さらに、同じ外部記憶媒体を用いて他の装置についてリストア処理を実行する際に、破損したデータが誤って装置に書き込まれるといった不具合を防止することができる。   According to the third restore process, each device of the normal data group and the damaged data group that the apparatus has even if the restore process has previously failed and the backup data of the external storage medium 4 is partially damaged. By reconstructing the backup data with the initial setting value (default value) and saving it to the external storage medium, it is not necessary to reconstruct the backup data at the next and subsequent restore processing, and simplifies the restore processing. be able to. Furthermore, it is possible to prevent a problem that damaged data is erroneously written to the apparatus when the restore process is executed for another apparatus using the same external storage medium.

(第4のリストア処理)
図5は、印刷装置1が実行するリストア処理の他の例を示すフローチャートである。図5に示すリストア処理は、リストア処理時に前回のリストア処理が正常終了していなかった場合において、外部記憶媒体4に記憶されたバックアップデータのバックアップからバックアップデータを再構築してリストアする場合の処理を示している(第4のリストア処理という)。なお、図5中のS401〜S406は、それぞれS101〜S106に相当し、重複する説明については省略する。
(Fourth restoration process)
FIG. 5 is a flowchart illustrating another example of the restore process executed by the printing apparatus 1. The restore process shown in FIG. 5 is a process when the backup data is reconstructed and restored from the backup of the backup data stored in the external storage medium 4 when the previous restore process was not normally completed during the restore process. (Referred to as a fourth restore process). Note that S401 to S406 in FIG. 5 correspond to S101 to S106, respectively, and redundant description is omitted.

前回のリストア処理が異常終了と判定されると(S403:no)、外部記憶媒体4のバックアップデータに対し、各データグループ単位で破損データがないかどうかを確認し(S405)、確認の結果、破損データグループがない場合(S406:no)は、通常のリストア処理を実行する(S304)。   If it is determined that the previous restore process has ended abnormally (S403: no), the backup data of the external storage medium 4 is checked to see if there is any corrupted data in each data group (S405). If there is no damaged data group (S406: no), normal restore processing is executed (S304).

一方、破損データグループがある場合(S406:yes)は、外部記憶媒体4にバックアップデータの二重化処理によるバックアップが存在するかどうかを確認する(S407)。この二重化処理によるバックアップ(二重化バックアップデータ)は、上述のように、機器設定値等を外部記憶媒体4へバックアップする際に、二重化して保存したものである。   On the other hand, if there is a damaged data group (S406: yes), it is confirmed whether or not a backup by backup data duplication processing exists in the external storage medium 4 (S407). This backup (duplex backup data) by duplication processing is duplicated and saved when backing up the device setting values and the like to the external storage medium 4 as described above.

二重化処理によるバックップが存在する場合(S407:yes)は、当該二重化処理によるバックアップを用いて、バックアップデータを復元する(S408)。一方、二重化によるバックアップが存在しない場合(S407:no)は、第2、または第3のリストア処理と同様に、バックアップデータの再構築を行う(S409)。   If there is a backup by the duplexing process (S407: yes), the backup data is restored using the backup by the duplexing process (S408). On the other hand, if there is no backup by duplication (S407: no), the backup data is reconstructed as in the second or third restore process (S409).

このようにして、復元、または再構築を行ったバックアップデータを外部記憶媒体4に保存した後(S410)、リストア処理を実行する(S404)。   After the backup data restored or reconstructed in this way is stored in the external storage medium 4 (S410), a restore process is executed (S404).

第4のリストア処理によれば、以前にリストア処理に失敗しており、外部記憶媒体4のバックアップデータの一部に破損がある場合でも、バックアップデータのバックアップ(二重化処理によるバックアップ)により、破損したバックアップデータを復元することにより、ユーザは、再びバックアップデータが保存された外部記憶媒体を用意する必要がなくなり、リストア処理の簡略化を図ることができる。   According to the fourth restore process, the restore process has failed before, and even if a part of the backup data of the external storage medium 4 is damaged, the backup data is damaged due to backup (backup by duplication process). By restoring the backup data, the user does not need to prepare an external storage medium in which the backup data is stored again, and the restore process can be simplified.

尚、上述の実施形態は本発明の好適な実施の例ではあるがこれに限定されるものではなく、本発明の要旨を逸脱しない範囲において種々変形実施可能である。   The above-described embodiment is a preferred embodiment of the present invention, but is not limited thereto, and various modifications can be made without departing from the gist of the present invention.

1 印刷装置(画像形成装置)
2 内部記憶手段
3 外部記憶媒体IF部
4 外部記憶媒体
5 バックアップ手段
6 リストア手段
7 コントローラ部
8 ホストIF部
9 操作パネル
10 ROM
11 RAM
12 印刷エンジン
13 ホスト計算機
1 Printing device (image forming device)
2 Internal storage means 3 External storage medium IF section 4 External storage medium 5 Backup means 6 Restore means 7 Controller section 8 Host IF section 9 Operation panel 10 ROM
11 RAM
12 Print engine 13 Host computer

特開2007−128493号公報JP 2007-128493 A

Claims (5)

外部記憶媒体を用いて設定情報のバックアップおよびリストアが可能な画像形成装置において、
前記設定情報を所定のデータグループ単位で前記外部記憶媒体にバックアップデータとして複製するバックアップ手段と、
前記外部記憶媒体に複製された前記バックアップデータを前記データグループ単位で画像形成装置に復元するリストア手段と、を有し、
かつ、前記外部記憶媒体は、前記リストア手段による復元が異常終了したか否かを示す異常終了情報を有し、
前記リストア手段は、前記異常終了情報に基づいて復元が異常終了したと判断した場合、前記外部記憶媒体内の前記バックアップデータについて前記データグループごとに正常性を判断し、該判断結果に基づいて画像形成装置への復元を行うことを特徴とする画像形成装置。
In an image forming apparatus capable of backing up and restoring setting information using an external storage medium,
Backup means for copying the setting information as backup data to the external storage medium in a predetermined data group unit;
Restoring means for restoring the backup data copied to the external storage medium to the image forming apparatus in units of the data group;
And the external storage medium has abnormal termination information indicating whether or not the restoration by the restoration means has been abnormally terminated,
When the restoration unit determines that the restoration has ended abnormally based on the abnormal end information, the restoration unit determines normality for each of the data groups of the backup data in the external storage medium, and an image based on the determination result An image forming apparatus that performs restoration to a forming apparatus.
正常と判断された正常データグループを選択可能に表示する表示手段を有し、
前記リストア手段は、選択された正常データグループを画像形成装置に復元することを特徴とする請求項1に記載の画像形成装置。
Having a display means for selectively displaying a normal data group determined to be normal,
The image forming apparatus according to claim 1, wherein the restoration unit restores the selected normal data group to the image forming apparatus.
正常と判断された正常データグループを選択可能に表示する表示手段を有し、
前記リストア手段は、選択された正常データグループに基づいてバックアップデータを再構築し、該再構築されたバックアップデータにより前記外部記憶媒体内の前記バックアップデータを更新することを特徴とする請求項1に記載の画像形成装置。
Having a display means for selectively displaying a normal data group determined to be normal,
The restore unit reconstructs backup data based on the selected normal data group, and updates the backup data in the external storage medium with the reconstructed backup data. The image forming apparatus described.
前記リストア手段は、正常と判断された正常データグループと、正常でないと判断された破損データグループに相当する設定情報の初期値と、に基づいてバックアップデータを再構築し、該再構築されたバックアップデータにより前記外部記憶媒体内の前記バックアップデータを更新することを特徴とする請求項1に記載の画像形成装置。   The restore unit reconstructs backup data based on a normal data group determined to be normal and an initial value of setting information corresponding to a damaged data group determined to be not normal, and the reconstructed backup The image forming apparatus according to claim 1, wherein the backup data in the external storage medium is updated with data. 前記バックアップ手段は、前記外部記憶媒体内の前記バックアップデータを複製して二重化バックアップデータとして前記外部記憶媒体に記憶させ、
前記リストア手段は、前記二重化バックアップデータを用いて前記バックアップデータを復元して、該バックアップデータを用いて前記外部記憶媒体内の前記バックアップデータを更新することを特徴とする請求項1に記載の画像形成装置。
The backup means replicates the backup data in the external storage medium and stores it in the external storage medium as duplex backup data,
2. The image according to claim 1, wherein the restoration unit restores the backup data using the duplex backup data and updates the backup data in the external storage medium using the backup data. Forming equipment.
JP2010259760A 2010-11-22 2010-11-22 Image forming device Pending JP2012113382A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010259760A JP2012113382A (en) 2010-11-22 2010-11-22 Image forming device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010259760A JP2012113382A (en) 2010-11-22 2010-11-22 Image forming device

Publications (1)

Publication Number Publication Date
JP2012113382A true JP2012113382A (en) 2012-06-14

Family

ID=46497562

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010259760A Pending JP2012113382A (en) 2010-11-22 2010-11-22 Image forming device

Country Status (1)

Country Link
JP (1) JP2012113382A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021073542A (en) * 2020-12-15 2021-05-13 キヤノン株式会社 Information processing unit, information processing method, and program
CN113229827A (en) * 2021-04-30 2021-08-10 南京伟思医疗科技股份有限公司 Data protection and recovery method for abnormal exit of electroencephalogram measuring instrument

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021073542A (en) * 2020-12-15 2021-05-13 キヤノン株式会社 Information processing unit, information processing method, and program
JP7171685B2 (en) 2020-12-15 2022-11-15 キヤノン株式会社 Information processing device, information processing method and program
CN113229827A (en) * 2021-04-30 2021-08-10 南京伟思医疗科技股份有限公司 Data protection and recovery method for abnormal exit of electroencephalogram measuring instrument

Similar Documents

Publication Publication Date Title
JP5163408B2 (en) Information processing device
JP5224800B2 (en) Information processing apparatus and data recovery method
JP5506568B2 (en) Data processing apparatus, data processing method for data processing apparatus, and program
JP2008200943A (en) Image forming apparatus
JP6011272B2 (en) Storage device, recovery method, and recovery program
US9772905B2 (en) Updating control firmware of information processing apparatus, method of controlling the same, and storage medium
JP2012113382A (en) Image forming device
JP5939896B2 (en) Image forming apparatus
JP4962727B2 (en) Data storage device
JP2007328438A (en) Information processor, its data backup, and restoration method
US20060182417A1 (en) Image processor and file data management therein
JP7214381B2 (en) IMAGE FORMING APPARATUS, IMAGE FORMING APPARATUS CONTROL METHOD AND PROGRAM
JP7246869B2 (en) IMAGE FORMING APPARATUS, IMAGE FORMING APPARATUS CONTROL METHOD AND PROGRAM
JP2013103411A (en) Image forming apparatus, image forming system, and image forming program
JP5251543B2 (en) Image processing apparatus, performance improvement preventing method and program for image processing apparatus
JP2020171002A (en) Information processing apparatus and method of controlling the same
JP6001020B2 (en) Image forming apparatus
JP6365341B2 (en) Image forming apparatus
JP5707870B2 (en) Information processing apparatus and storage medium
US10942810B2 (en) Start-up processing for information processing apparatus and method, and storage medium
JP3812281B2 (en) Printing device
JP6213438B2 (en) Image forming apparatus
JP2005327003A (en) Disk recovery method
JP2016139252A (en) Image forming device and control program therefor
JP2022108624A (en) Information processing apparatus, control method thereof, and program