JP2010004293A - Image forming apparatus, and method for detecting write error of image forming apparatus - Google Patents

Image forming apparatus, and method for detecting write error of image forming apparatus Download PDF

Info

Publication number
JP2010004293A
JP2010004293A JP2008160895A JP2008160895A JP2010004293A JP 2010004293 A JP2010004293 A JP 2010004293A JP 2008160895 A JP2008160895 A JP 2008160895A JP 2008160895 A JP2008160895 A JP 2008160895A JP 2010004293 A JP2010004293 A JP 2010004293A
Authority
JP
Japan
Prior art keywords
power
hard disk
forming apparatus
image forming
error
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
JP2008160895A
Other languages
Japanese (ja)
Inventor
Tamotsu Hosono
保 細野
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 JP2008160895A priority Critical patent/JP2010004293A/en
Publication of JP2010004293A publication Critical patent/JP2010004293A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To easily discriminate whether a write error of a HDD is caused by power off performed by a normal procedure, and to normally restore a system. <P>SOLUTION: When a power supply of an apparatus body is turned ON by a main power switch, if there is a HDD failure or power interruption during HDD writing, a HDD error is detected (S101). When the HDD error is detected, a user goes to see whether a main power interruption flag of a power interruption detection circuit is raised. The main power interruption flag is default ON, and has a mechanism that the flag is cleared when depression of a power key of an operation part is performed and specified procedures are completed. The flag is recorded in a non-volatile memory. Thus, it is determined as the HDD error in step S105. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、データ蓄積にHDD装置を利用する画像形成装置に係り、特にHDD装置の書き込み中の電源オフによる書き込み不良を判断し、HDD装置に記憶されたデータに対するセキュリティや正当性を担保できる画像形成装置、この画像形成装置で実行される書き込みエラー検知方法、及びこの書き込みエラー検知方法をコンピュータで実行するためのコンピュータプログラムに関する。   The present invention relates to an image forming apparatus that uses an HDD device for data storage, and in particular, an image that can determine a writing failure due to power-off during writing of the HDD device and ensure security and validity of data stored in the HDD device. The present invention relates to a forming apparatus, a writing error detection method executed by the image forming apparatus, and a computer program for executing the writing error detection method by a computer.

従来、ハードディスク装置(Hard Disk Drive−以下、HDDと称す)等の大容量記憶装置を備えた画像形成装置として、複写機を基本とし、プリンタ、ファクシミリ等の機能を備えた複合機が普及している。このような複合機は、原稿の画像を光学的に読み取ってプリントアウトするコピー機能はもちろん、外部のコンピュータから送られた画像データを印刷するプリンタ機能、FAX送受信等のファクシミリ機能を備えるとともに、前記記憶手段に入力された画像データをユーザの指示に応じて読み出して、適宜印刷できるようになっている。   Conventionally, as an image forming apparatus equipped with a large-capacity storage device such as a hard disk drive (Hard Disk Drive—hereinafter referred to as HDD), a multi-function machine having a function of a printer, a facsimile machine, etc. has been widely used. Yes. Such a multi-function machine has a copy function for optically reading an image of a document and printing it out, as well as a printer function for printing image data sent from an external computer, a facsimile function such as FAX transmission / reception, and the like. The image data input to the storage means can be read in accordance with a user instruction and printed as appropriate.

ところが、上記のように記憶手段を搭載する場合、大容量のデータを蓄積できる利便性があると同時に、蓄積されたデータのセキュリティを担保できるか否かが問題となる。これは、データ蓄積にHDDを使用するシステムにおいて、そのデータ自体が暗号化されたとしても、例えば、第三者により勝手にHDDがすり替えられたり、接続経路途中にデータ漏洩目的で別のデバイスが接続されたり、書き込みが確実に行われていない場合でも、システムが起動すれば、そのシステムをそのまま使用することになるため、そのシステムと記憶データに対する正当性やセキュリティが保障できないということを意味する。   However, when the storage means is installed as described above, there is a problem that it is convenient to store a large amount of data and at the same time whether the security of the stored data can be secured. This is because in a system that uses an HDD for data storage, even if the data itself is encrypted, for example, the HDD may be replaced without permission by a third party, or another device may be used for data leakage in the connection path. This means that even if the connection or writing is not performed reliably, if the system starts up, the system will be used as it is, and the correctness and security of the system and stored data cannot be guaranteed. .

このような記憶データの正当性やセキュリティを保障する技術として、例えば、特許文献1ないし3に記載された発明が公知である。このうち、特許文献1には、停電などの瞬断でハードディスクの動作中にハードディスクの電源が止まってしまうとハードディスクの記憶領域が壊れてしまうことを防止するため、バックアップ電源と、ハードディスクがライトアクセスしているかどうか判定する判定手段を備えたハードディスクコントローラとAC電源遮断検知手段を持ち、前記AC電源遮断検知手段により遮断を検知すると、切り換え回路により、ハードディスク及びハードディスクコントローラの一部の電源を前記バックアップ電源に切り換え、前記ハードディスクコントローラは、HDDに接続している信号をハイインピーダンス状態する発明が記載されている。   As techniques for ensuring the validity and security of such stored data, for example, the inventions described in Patent Documents 1 to 3 are known. Among them, Patent Document 1 discloses that a backup power source and a hard disk are write-accessed in order to prevent a storage area of the hard disk from being damaged if the power of the hard disk is stopped during a hard disk operation due to a momentary interruption such as a power failure. A hard disk controller provided with a judging means for judging whether or not, and an AC power shutoff detecting means, and when the shutoff is detected by the AC power shutoff detecting means, a power supply for a part of the hard disk and the hard disk controller is backed up by a switching circuit. There is described an invention in which the hard disk controller is switched to a power source and a signal connected to the HDD is in a high impedance state.

また、特許文献2には、読み書き可能な不揮発メモリデバイス(HDD, SRAM, FRAM, FLASH等)へ書き込み中に電源断されることによって、データが壊れ、故障(エラーコード出力)したときの復旧時にデータ不整合が起こらないようにするため、不揮発性記憶装置内のデータを固定長又は可変長の1つ以上の領域に細分化して管理する機能を持つコンピュータ装置において、該不揮発性記憶装置内の1つ以上の細分化された領域のデータ書き換えの際に、該細分化領域のデータを退避してから書き換えるようにした発明が記載されている。   Also, Patent Document 2 states that when power is turned off while writing to a readable / writable non-volatile memory device (HDD, SRAM, FRAM, FLASH, etc.), the data is corrupted and a failure (error code output) is restored. In order to prevent data inconsistency, in a computer device having a function of subdividing and managing data in a nonvolatile storage device into one or more areas of fixed length or variable length, in the nonvolatile storage device An invention is described in which, when data is rewritten in one or more subdivided areas, data in the subdivided areas is saved and then rewritten.

さらに、特許文献3には、データ蓄積にHDDを利用する画像処理装置において、第三者によって勝手にHDDが交換されたり、データ漏洩目的で別のデバイスが接続されたりしても、記憶データに対するセキュリティや正当性を保障するために、画像データを蓄積する記憶装置と不揮発性の内部メモリとを備える記憶装置ユニットと、前記記憶装置ユニットと接続され不揮発性の内部メモリを備えるメイン制御ユニットとを有する画像処理装置であって、前記記憶装置を起動するためのキーとして利用するコードで、生成されるたびに異なる不定のコードである起動コードを生成する起動コード生成手段と、前記起動コード生成手段により生成された起動コードを前記記憶装置ユニット及び前記メイン制御ユニットの内部メモリへ格納する起動コード格納手段と、前記起動コード格納手段により格納されたそれぞれの起動コードを参照して前記記憶装置及び画像処理装置の起動停止処理を制御する起動停止制御手段とを有する発明が記載されている。
特開2006−236235号公報 特開2008−004011号公報 特開2008−027060号公報
Further, Patent Document 3 discloses that in an image processing apparatus that uses an HDD for data storage, even if the HDD is replaced without permission by a third party or another device is connected for the purpose of data leakage, In order to ensure security and legitimacy, a storage device unit that includes a storage device that stores image data and a nonvolatile internal memory, and a main control unit that is connected to the storage device unit and includes a nonvolatile internal memory An activation code generation means for generating an activation code which is a code used as a key for activating the storage device and is an indefinite code each time it is generated; and the activation code generation means Is stored in the internal memory of the storage device unit and the main control unit. There is described an invention having a motion code storage means and a start / stop control means for controlling the start / stop processing of the storage device and the image processing device with reference to the respective start codes stored by the start code storage means. .
JP 2006-236235 A JP 2008-004011 A JP 2008-027060 A

特許文献1記載の発明では、ハードディスクコントローラの一部をバックアップ電源に切り換え、ハードディスクに接続している信号をハイインピーダンスに保持するのとの同時にハードディスクの内部バッファに蓄積された全てのデータの書き込みを終了させるまでハードディスクにリセットをかけ続けることでHDDのライトエラーを防止しようとしているが、バックアップ電源を使用するので、その分のコストが高くなる。   In the invention described in Patent Document 1, a part of the hard disk controller is switched to a backup power source, and all the data stored in the internal buffer of the hard disk is written at the same time that the signal connected to the hard disk is held at high impedance. While trying to prevent HDD write errors by continuing to reset the hard disk until it is finished, the backup power supply is used, which increases the cost.

特許文献2記載の発明では、不揮発性記憶装置内の1つ以上の細分化された領域のデータ書き換えの際に、該細分化領域のデータを退避してから書き換えるようにしており、この発明の実施が必要な条件として不揮発性記憶装置内のデータを固定長又は可変長の1つ以上の領域に細分化して管理する機能を持つ必要があり、このような機能を持たない装置には適用ことはできない。   In the invention described in Patent Document 2, when data is rewritten in one or more subdivided areas in the nonvolatile memory device, the data in the subdivided areas is saved and then rewritten. As a necessary condition, it is necessary to have a function to subdivide and manage data in a nonvolatile storage device into one or more areas of fixed length or variable length, and it is applicable to a device that does not have such a function. I can't.

特許文献3記載の発明では、第三者によって勝手にHDDが交換されたり、データ漏洩目的で別のデバイスが接続されたりしても、記憶データに対するセキュリティや正当性を保障することを対象としており、電源オフについて考慮されているわけではない。   The invention described in Patent Document 3 is intended to guarantee the security and legitimacy of stored data even if an HDD is replaced without permission by a third party or another device is connected for the purpose of data leakage. The power off is not considered.

そこで、本発明が解決しようとする課題は、HDDの書き込みエラーが正規手順でオフされた電源オフによるものか否かを簡単に判別し、システムを正常復帰できるようにすることにある。   Therefore, the problem to be solved by the present invention is to easily determine whether or not the HDD write error is caused by power-off that has been turned off by a normal procedure, so that the system can be returned to normal.

前記課題を解決するため、第1の手段は、情報を大量に記憶可能なハードディスクと、主電源スイッチ及び操作部電源キーの2つの電源断接手段とを有する画像形成装置において、前記操作部電源キー押下より電源断したのか前記主電源スイッチより電源断したのかを識別する手段と、前記ハードディスクエラーを検出する手段と、電源ONによる装置の起動時に前記ハードディスクエラーを検出した場合、前回の電源断が前記操作部電源キー押下によるものか前記主電源スイッチによるものかを判別する手段とを備え、前記判別手段の判別結果に基づいて、発生したエラーが前記ハードディスクエラーか書き込み不良かを判断することを特徴とする。   In order to solve the above-mentioned problem, the first means is an image forming apparatus having a hard disk capable of storing a large amount of information and two power connection / disconnection means including a main power switch and an operation part power key. Means for identifying whether the power is turned off by pressing the key or the main power switch; means for detecting the hard disk error; and if the hard disk error is detected at the time of starting the device by turning on the power, Determining whether the generated error is caused by pressing the operation unit power key or the main power switch, and determining whether the error that has occurred is the hard disk error or the writing failure based on the determination result of the determination unit It is characterized by.

第2の手段は、第1の手段において、前記ハードディスクエラーとなっている箇所を特定し、識別する手段と、前記ハードディスクエラーとなっている箇所がテンポラリ領域である場合には前記ハードディスクに対して再書き込みを行う手段とを備えていることを特徴とする。   The second means is the first means for identifying and identifying the location causing the hard disk error, and for the hard disk if the location causing the hard disk error is a temporary area. And means for performing rewriting.

第3の手段は、第1の手段において、前記ハードディスクエラーとなっている箇所を特定し、識別する手段と、ファイルシステム領域を2重化によりバックアップする手段と、前記ハードディスク装置のエラーとなっている箇所がファイルシステム領域である場合にはハードディスクに対して前回正常起動時のバックアップ領域からの読み出しを行う手段とを備えていることを特徴とする。   According to a third means, in the first means, a means for identifying and identifying the location causing the hard disk error, a means for backing up the file system area by duplication, and an error of the hard disk device. And a means for reading from the backup area at the time of normal startup last time to the hard disk.

第4の手段は、第2の手段において、前記主電源スイッチによる電源断を操作部に表示する手段を有し、前記ハードディスクエラーとなっている箇所がテンポラリ領域である場合には前記操作部に前回主電源スイッチによる電源断があったこと、及びリカバリー処理を行っている旨を表示することを特徴とする。   The fourth means includes means for displaying, on the operation section, power-off by the main power switch in the second means, and if the hard disk error is in a temporary area, the operation section It is characterized by displaying that the power was cut off by the main power switch last time and that recovery processing is being performed.

第5の手段は、第3の手段において、前記主電源スイッチによる電源断を操作部に表示する手段を有し、前記ハードディスクエラーとなっている箇所がファイルシステム領域である場合には操作部に前回主電源スイッチによる電源断があったこと、及び前回正常起動時の状態にリカバリー処理を行っても良いかの確認ボタンを表示させることを特徴とする。   The fifth means includes means for displaying, on the operation unit, power-off by the main power switch in the third means, and if the hard disk error is in the file system area, It is characterized in that a confirmation button is displayed for confirming that the power was cut off by the main power switch last time and that the recovery processing may be performed in the state at the time of the previous normal start.

第6の手段は、第5の手段において、前記表示された確認ボタンが押下された場合にはリカバリー処理を行うことを特徴とする。   A sixth means is characterized in that, in the fifth means, a recovery process is performed when the displayed confirmation button is pressed.

第7の手段は、第4又は第6の手段において、前記操作部に表示する手段は、前記リカバリー処理を行っているとき、前記操作部に主電源スイッチによる電源断を行わないように警告表示することを特徴とする。   The seventh means is the fourth or sixth means, wherein the means for displaying on the operation section displays a warning so as not to turn off the power by the main power switch when the recovery process is being performed. It is characterized by doing.

第8の手段は、第1ないし第7のいずれかの手段において、前記主電源スイッチより電源断した場合に電源断日時を記録する手段を備えていることを特徴とする。   The eighth means is characterized in that, in any one of the first to seventh means, means for recording a power-off date and time when the power is cut off from the main power switch.

第9の手段は、情報を大量に記憶可能なハードディスクと、主電源スイッチ及び操作部電源キーの2つの電源断接手段とを有する画像形成装置の書き込みエラー検知方法において、前記操作部電源キー押下より電源断したのか前記主電源スイッチより電源断したのかを識別し、電源ONによる装置の起動時に前記ハードディスクエラーを検出した場合、前回の電源断が前記操作部電源キー押下によるものか前記主電源スイッチによるものかを判別し、前記判別結果に基づいて前記ハードディスクエラーか書き込み不良かを判断することを特徴とする。   A ninth means is a method for detecting a writing error in an image forming apparatus having a hard disk capable of storing a large amount of information and two power connection / disconnection means including a main power switch and an operation unit power key. If the hard disk error is detected when the device is started by turning on the power, whether the previous power cut is due to pressing of the operation unit power key or the main power switch It is determined whether it is due to a switch, and it is determined whether the hard disk error or writing failure based on the determination result.

第10の手段は、情報を大量に記憶可能なハードディスクと、主電源スイッチ及び操作部電源キーの2つの電源断接手段とを有する画像形成装置の書き込みエラー検知をコンピュータによって実行するためのコンピュータプログラムにおいて、前記操作部電源キー押下より電源断したのか前記主電源スイッチより電源断したのかを識別する手順と、電源ONによる装置の起動時に前記ハードディスクエラーを検出した場合、前回の電源断が前記操作部電源キー押下によるものか前記主電源スイッチによるものかを判別する手順と、前記判別結果に基づいて前記ハードディスクエラーか書き込み不良かを判断する手順と、を備えていることを特徴とする。   A tenth means is a computer program for causing a computer to execute a write error detection of an image forming apparatus having a hard disk capable of storing a large amount of information and two power connection / disconnection means including a main power switch and an operation unit power key. The procedure of identifying whether the power is turned off by pressing the power key of the operation unit or the main power switch, and when the hard disk error is detected when the device is started by turning on the power, And a procedure for determining whether the main power switch is pressed or a procedure for determining whether the hard disk error or writing failure is based on the determination result.

なお、後述の実施形態において、ハードディスクは第1ないし第4のHDD100〜103に、主電源スイッチは符号109に操作部電源キーは電源キー117に、操作部電源キー押下より電源断したのか主電源スイッチより電源断したのかを識別する手段は電源断検知回路112に、ハードディスクエラーを検出する手段はHDDエラー検知回路113に、前回の電源断が操作部電源キー押下によるものか主電源スイッチによるものかを判別する手段は電源断検知回路112に、再書き込みを行う手段はCPU104と制御ASICに、ファイルシステム領域を2重化によりバックアップする手段はハードディスクに設けられたバックアップ領域に、バックアップ領域からの読み出しを行う手段はCPU104に制御ASICに、それぞれ対応し、判別手段の判別結果に基づいて、発生したエラーがハードディスクエラーか書き込み不良かの判断、及びリカバリー処理はCPU104によって行われる。   In the following embodiments, the hard disk is in the first to fourth HDDs 100 to 103, the main power switch is denoted by reference numeral 109, the operation unit power key is in the power key 117, or whether the power is cut off by pressing the operation unit power key. A means for identifying whether the power is cut off from the switch is in the power-off detection circuit 112, a means for detecting a hard disk error is in the HDD error detection circuit 113, and whether the previous power-off is due to pressing of the operation unit power key or the main power switch. Is a means for determining whether the power is cut off, the means for performing rewriting is in the CPU 104 and the control ASIC, the means for backing up the file system area by duplication is in the backup area provided in the hard disk, The means for reading out is sent to the control ASIC in the CPU 104, respectively. And response, based on the discrimination result of the discriminating means, the error is judged whether or writing failure hard disk errors, and recovery process performed by the CPU 104.

本発明によれば、HDDの書き込みエラーが正規手順でオフされた電源オフによるものか否かを簡単に判別し、システムを正常復帰できるようにすることができる。   According to the present invention, it is possible to easily determine whether or not an HDD write error is caused by power-off that has been turned off in a regular procedure, and the system can be returned to normal.

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

図1は本発明の実施形態に係る画像形成装置の制御構成を示すブロックである。同図において、画像形成装置のメインコントローラCTRは、4台のHDD1ないし4(100〜103)、CPU104、不揮発メモリ105、画像形成装置制御ASIC106、及びRTC回路108を備え、画像形成装置制御ASIC106には、操作部107及び主電源スイッチ109が接続されている。また、ホストPC110が前記画像形成装置制御ASIC106のホストI/F回路116を介して当該画像形成装置制御ASIC106に接続されている。   FIG. 1 is a block diagram showing a control configuration of an image forming apparatus according to an embodiment of the present invention. In the figure, the main controller CTR of the image forming apparatus includes four HDDs 1 to 4 (100 to 103), a CPU 104, a nonvolatile memory 105, an image forming apparatus control ASIC 106, and an RTC circuit 108. The image forming apparatus control ASIC 106 includes The operation unit 107 and the main power switch 109 are connected. A host PC 110 is connected to the image forming apparatus control ASIC 106 via the host I / F circuit 116 of the image forming apparatus control ASIC 106.

第1ないし第4のHDD100〜103は画像形成装置に内蔵されたHDDであり、HDDには主に画像データ、各アプリソフト、ログデータ、アドレス帳等の個人データが格納される。CPU104は、画像形成装置を制御するメイン回路の制御を行う集中演算装置である。不揮発メモリ105は、課金データ、ログデータ、各種パラメータ情報、履歴等の情報を保管する。制御ASIC106には画像形成装置の制御に必要な各回路が設けられている。操作部107は画像形成装置の操作に必要なキー及び表示部で構成されている。   First to fourth HDDs 100 to 103 are HDDs built in the image forming apparatus, and mainly store personal data such as image data, application software, log data, and address book. The CPU 104 is a centralized arithmetic device that controls a main circuit that controls the image forming apparatus. The nonvolatile memory 105 stores information such as billing data, log data, various parameter information, and history. The control ASIC 106 is provided with each circuit necessary for controlling the image forming apparatus. The operation unit 107 includes keys and a display unit necessary for operating the image forming apparatus.

また、操作部上には電源キー117が配置されており、電源OFF時はこの電源キー押下で電源を落とすようになっている。RTC回路108は現在時刻を保存する回路である。主電源スイッチ109は、図示しないPSUより本体に供給される電源のON/OFF制御を行うスイッチとなっている。   A power key 117 is arranged on the operation unit. When the power is turned off, the power is turned off by pressing the power key. The RTC circuit 108 is a circuit that stores the current time. The main power switch 109 is a switch for performing ON / OFF control of power supplied to the main body from a PSU (not shown).

制御ASIC106には、HDD制御回路111、電源段検知回路112、HDDエラー検知回路113、HDDエラー箇所検知回路114、及びHDD領域識別回路115、その他の回路が設けられている。図示した回路は、本実施形態に係る制御で必要な機能に関するものだけである。HDD制御回路111はHDD100〜103に対してコマンドを発行し、リード/ライト動作等の制御を実行する。電源断検知回路112は、電源キー117が押下されたのか主電源スイッチ109が押下されたのかを判別する。HDDエラー検知回路113はHDDアクセス時にHDDより返されるステータスを元にHDDにエラーが発生しているかいないかを判別する。HDDエラー箇所検知回路114はHDDエラー発生時にアクセスしたLBA(Logical Block Addressing)を記憶しておき、どの箇所でエラーが発生したかを知る。HDD領域識別回路115は予め設定されたHDD領域仕様を元にエラーが発生した領域がどの領域にあたるかを識別する。ホストI/F回路116はNIC、USB等のI/Fにより110のホストPCを接続する回路である。   The control ASIC 106 includes an HDD control circuit 111, a power supply stage detection circuit 112, an HDD error detection circuit 113, an HDD error location detection circuit 114, an HDD area identification circuit 115, and other circuits. The illustrated circuit is only related to functions necessary for the control according to the present embodiment. The HDD control circuit 111 issues commands to the HDDs 100 to 103 to execute control such as read / write operations. The power-off detection circuit 112 determines whether the power key 117 is pressed or the main power switch 109 is pressed. The HDD error detection circuit 113 determines whether an error has occurred in the HDD based on the status returned from the HDD when accessing the HDD. The HDD error location detection circuit 114 stores an LBA (Logical Block Addressing) accessed when an HDD error occurs, and knows where the error has occurred. The HDD area identification circuit 115 identifies which area corresponds to the area in which an error has occurred based on a preset HDD area specification. The host I / F circuit 116 is a circuit for connecting 110 host PCs through I / Fs such as NIC and USB.

図2はCPUの制御手順を示すフローチャートである。なお、CPU104は図示しないROMに格納されたプログラムを、RAMをワークエリアとして使用しながら実行する。   FIG. 2 is a flowchart showing the control procedure of the CPU. The CPU 104 executes a program stored in a ROM (not shown) while using the RAM as a work area.

このフローチャートは、電源ONでの起動時にHDDエラーを検出した場合、前回の電源断が操作部電源キー押下によるものか主電源スイッチによるものかを判別することによってHDDエラーか書込み不良かを判別する手順を示している。そこで、このフローチャートでは、まず、電源ONでの起動時にHDDエラーが検出されると(ステップS101−YES)、電源断が電源キー117で行われたものか、主電源スイッチ109で行われたものかを判断する(ステップS102)。電源キー117で電源が断にされていれば、主電源スイッチ109はオン状態であり、第1ないし第4のHDD100〜103には通電されているので、HDDエラーと判断する(ステップS105)。   In this flowchart, when an HDD error is detected at the time of start-up with the power ON, it is determined whether the previous power cut is due to pressing of the operation unit power key or the main power switch, thereby determining whether the HDD error or writing failure. The procedure is shown. Therefore, in this flowchart, first, when an HDD error is detected when the power is turned on (step S101-YES), the power is turned off with the power key 117 or the main power switch 109. (Step S102). If the power is turned off with the power key 117, the main power switch 109 is on and the first to fourth HDDs 100 to 103 are energized, so it is determined that there is an HDD error (step S105).

一方、電源スイッチ109で電源が断にされていれば、HDD書き込み中の電源断と判断し(ステップS103)、主電源断の履歴を不揮発メモリ105に記録し(ステップS104)、処理を終える。   On the other hand, if the power is turned off by the power switch 109, it is determined that the power is being written during HDD writing (step S103), the main power-off history is recorded in the nonvolatile memory 105 (step S104), and the process is finished.

これをさらに詳しく説明すると、マルチファンクション(コピー、プリンタ、スキャナ機能)を有した画像形成装置において、主電源スイッチ109より本体電源をONした際、通常は何もエラーが表示されずに起動するが、HDD故障もしくはHDD書き込み中の電源断があった場合にはHDDエラーを検出する(ステップS101)。HDDエラーを検知したら、次に電源断検知回路112の主電源断フラグが立っているか立っていないかを見に行く。主電源断フラグは前回の電源断時、操作部電源キー押下により電源断を行ったのか、主電源スイッチにより電源断を行ったのかの検知によりフラグのON/OFFを決定している。主電源断フラグはデフォルトONとなっており、操作部電源キー117押下を行い、規定の手順を踏んだ場合にはフラグがクリアされる仕組みとなっている。フラグは不揮発メモリ106に記録される。これにより、ステップS105でHDDエラーと判断することができる。   More specifically, in an image forming apparatus having a multi-function (copy, printer, scanner function), when the main power is turned on by the main power switch 109, it is normally started without displaying any error. If there is an HDD failure or power interruption during HDD writing, an HDD error is detected (step S101). If an HDD error is detected, it is next checked whether the main power-off flag of the power-off detection circuit 112 is set or not. The main power-off flag determines whether the power was turned off by pressing the operation unit power key or the main power switch was turned off at the previous power-off. The main power-off flag is ON by default, and the flag is cleared when the operation unit power key 117 is pressed and a prescribed procedure is performed. The flag is recorded in the nonvolatile memory 106. As a result, it can be determined in step S105 that an HDD error has occurred.

図3はHDDエラーとなっている箇所を特定し、及び識別する制御手順を示すフローチャートである。   FIG. 3 is a flowchart showing a control procedure for identifying and identifying the location where the HDD error has occurred.

ステップS102の判断で主電源断フラグが立っている(主電源スイッチ断)場合には図3のフローチャートに進み、HDDエラー箇所を検知する(ステップS201)。まず、発生箇所がテンポラリ領域かどうかを判断し(ステップS202)、テンポラリ領域であった場合にはHDDエラーが発生している箇所に対して上書きによるリカバリー処理を実施する(ステップS203)。リカバリー処理を実施することで次回のHDDアクセス時にHDDエラーが表示されないようになる。   If it is determined in step S102 that the main power-off flag is set (main power switch off), the process proceeds to the flowchart of FIG. 3 to detect the HDD error location (step S201). First, it is determined whether or not the occurrence location is a temporary area (step S202). If the occurrence location is a temporary area, recovery processing by overwriting is performed on the location where the HDD error has occurred (step S203). By executing the recovery process, an HDD error is not displayed at the next HDD access.

一方、HDDエラー領域がテンポラリ領域でなく(ステップS202−NO)、ファイルシステム領域であった場合(ステップS206−YES)、単なる上書き消去だけではシステムとして起動ができないので、HDDに2重化しておいたバックアップ領域からデータを読み出して起動及びバックアップ領域データをHDDエラー領域に書き込むリカバリー処理を実施する(ステップS207)。リカバリー処理を実施することで次回のアクセス時にHDDエラーが表示されないようになる。   On the other hand, if the HDD error area is not a temporary area (step S202—NO) and is a file system area (step S206—YES), the system cannot be started up by simple overwrite erasure. A recovery process is performed in which data is read from the backup area that has been started, and the startup and backup area data are written to the HDD error area (step S207). By executing the recovery process, the HDD error is not displayed at the next access.

なお、ステップS203及びステップS207でリカバリー処理を実施する際、リカバリー処理を実施している旨を表示させ(ステップS204、S208)、電源断しないように注意を促す。さらに主電源スイッチ109による電源断があったことを操作部に表示させ(ステップS205,s209)、主電源スイッチ109による電源断を行わないようにユーザに対して警告を表示させる。   Note that when performing the recovery process in step S203 and step S207, the fact that the recovery process is being performed is displayed (steps S204 and S208), and attention is urged not to turn off the power. Further, the fact that the main power switch 109 has been turned off is displayed on the operation unit (steps S205 and s209), and a warning is displayed to the user so that the main power switch 109 is not turned off.

なお、ステップS203及びS207でリカバリー処理を実施する際、リカバリー処理を行うかどうかの確認ボタンを操作部107に表示させ、確認ボタンが押下された場合にはリカバリー処理を実施する。   When the recovery process is performed in steps S203 and S207, a confirmation button for performing the recovery process is displayed on the operation unit 107, and when the confirmation button is pressed, the recovery process is performed.

また、ステップS102で主電源スイッチ109による電源断か、操作部電源キー117による電源断かの判別を行った際、主電源スイッチ109による電源断と判断した場合には不揮発メモリ106に主電源断のあった履歴を記録する。また、併せて主電源スイッチ109による電源断後の電源ON時間も履歴として残し、その際、サービスコールが記録されていた場合には併せてその情報も履歴として出力する。システムレポートの履歴表示例を表1に示す。

Figure 2010004293
In step S102, when it is determined whether the main power switch 109 is turned off or the operation unit power key 117 is turned off, the main power switch 109 determines that the main power switch 109 is turned off. Record the history that occurred. In addition, the power ON time after the power is turned off by the main power switch 109 is also recorded as a history. If a service call is recorded at that time, the information is also output as a history. Table 1 shows an example of system report history display.
Figure 2010004293

以上のように本実施形態によれば、
1)規定の手順を踏んで電源をOFFしたのかそれとも手順を踏まずに電源をOFFしたのかを判別しているので、HDD不良か書き込み不良か判断することができる。
2)HDDエラー箇所が特定されたときには、HDD書き込み中の電源断発生箇所に対して上書きを行っているので、HDDエラーを解消することができる。
3)ファイルシステムを2重化しているので、HDD書き込み中の電源断発生時に正常起動時のファイルシステムを読み込むことにより正常起動時の状態に戻すことができる。
4)テンポラリ領域をリカバリーする場合、テンポラリ領域のリカバリー中に操作部に表示を行うので、リカバリー処理中の電源断禁止を促すとともに、主電源スイッチによる電源断の禁止を促すことができる。
5)ファイルシステム領域をリカバリーする場合、ファイルシステム領域のリカバリー中に操作部に表示を行うので、リカバリー処理中の電源断禁止を促すとともに、主電源スイッチによる電源断の禁止を促すことができる。
6)電源断の履歴を記録する際、規定の手順を踏まずに電源をOFFしたときの日時を履歴として残すので、異常発生時に早急な原因の見極めが可能となる。
7)本実施形態では、大容量記憶装置をHDDに特化し、電源断フラグ及びHDDエラー検出により書き込み中の電源断の有無を判別し、データの不整合を上書きにより解消し、システムを正常復旧させることができる。
8)本実施形態ではバックアップ電源が不要なので、安価なシステムで構成することができる。
等の効果を奏する。
As described above, according to this embodiment,
1) Since it is determined whether the power is turned off by following the prescribed procedure or the power is turned off without following the procedure, it can be judged whether the HDD is defective or the writing is defective.
2) When the HDD error location is specified, the HDD error location can be eliminated because the location where the power interruption occurred during HDD writing is overwritten.
3) Since the file system is duplicated, it is possible to return to the normal startup state by reading the file system at the normal startup when the power interruption occurs during HDD writing.
4) When recovering the temporary area, since the display is performed on the operation unit during the recovery of the temporary area, it is possible to prompt the prohibition of power-off during the recovery process and the prohibition of the power-off by the main power switch.
5) When recovering the file system area, display is made on the operation unit during the recovery of the file system area, so that it is possible to prompt the prohibition of power-off during the recovery process and the prohibition of power-off by the main power switch.
6) When recording the power-off history, the date and time when the power was turned off is recorded as a history without following the prescribed procedure, so that it is possible to quickly determine the cause when an abnormality occurs.
7) In this embodiment, the mass storage device is specialized for the HDD, the power interruption flag and HDD error detection are used to determine whether there is a power interruption during writing, data inconsistency is eliminated by overwriting, and the system is restored to normal Can be made.
8) Since this embodiment does not require a backup power supply, it can be configured with an inexpensive system.
There are effects such as.

なお、本発明は本実施形態に限定されるものではなく、特許請求の範囲に記載された技術思想に含まれる技術的事項の全てが対象となる。   In addition, this invention is not limited to this embodiment, All the technical matters contained in the technical thought described in the claim are object.

本発明の実施形態に係る画像形成装置の制御構成を示すブロックである。3 is a block diagram illustrating a control configuration of an image forming apparatus according to an embodiment of the present invention. 本実施形態におけるHDDエラーか書き込みエラーかを判定する制御手順を示すフローチャートである。It is a flowchart which shows the control procedure which determines whether it is a HDD error or a write error in this embodiment. HDDエラーとなっている箇所を特定し、及び識別する制御手順を示すフローチャートである。It is a flowchart which shows the control procedure which identifies and identifies the location which becomes HDD error.

符号の説明Explanation of symbols

100〜103 HDD
104 CPU
105 不揮発メモリ
106 制御ASIC
107 操作部
108 RTC回路
109 主電源スイッチ
111 HDD制御回路
112 電源断検知回路
113 HDDエラー検知回路
114 HDDエラー箇所検知回路
115 HDD領域識別回路
100 to 103 HDD
104 CPU
105 Nonvolatile memory 106 Control ASIC
DESCRIPTION OF SYMBOLS 107 Operation part 108 RTC circuit 109 Main power switch 111 HDD control circuit 112 Power-off detection circuit 113 HDD error detection circuit 114 HDD error location detection circuit 115 HDD area | region identification circuit

Claims (10)

情報を大量に記憶可能なハードディスクと、
主電源スイッチ及び操作部電源キーの2つの電源断接手段と、
を有する画像形成装置において、
前記操作部電源キー押下より電源断したのか前記主電源スイッチより電源断したのかを識別する手段と、
前記ハードディスクエラーを検出する手段と、
電源ONによる装置の起動時に前記ハードディスクエラーを検出した場合、前回の電源断が前記操作部電源キー押下によるものか前記主電源スイッチによるものかを判別する手段と、を備え、
前記判別手段の判別結果に基づいて、発生したエラーが前記ハードディスクエラーか書き込み不良かを判断することを特徴とする画像形成装置。
A hard disk capable of storing large amounts of information,
Two power connection / disconnection means of a main power switch and an operation unit power key;
In an image forming apparatus having
Means for identifying whether the power is turned off by pressing the operation unit power key or from the main power switch;
Means for detecting the hard disk error;
Means for determining whether the previous power cut is caused by pressing the operation unit power key or the main power switch when the hard disk error is detected at the time of starting the device by turning on the power,
An image forming apparatus comprising: determining whether an error that has occurred is a hard disk error or a write failure based on a determination result of the determination unit.
請求項1に記載の画像形成装置において、
前記ハードディスクエラーとなっている箇所を特定し、識別する手段と、
前記ハードディスクエラーとなっている箇所がテンポラリ領域である場合には前記ハードディスクに対して再書き込みを行う手段と、
を備えていることを特徴とする画像形成装置。
The image forming apparatus according to claim 1.
Means for identifying and identifying the location of the hard disk error;
Means for rewriting the hard disk if the hard disk error location is a temporary area;
An image forming apparatus comprising:
請求項1に記載の画像形成装置において、
前記ハードディスクエラーとなっている箇所を特定し、識別する手段と、
ファイルシステム領域を2重化によりバックアップする手段と、
前記ハードディスクエラーとなっている箇所がファイルシステム領域である場合にはハードディスクに対して前回、正常起動時のバックアップ領域からの読み出しを行う手段と、
を備えていることを特徴とする画像形成装置。
The image forming apparatus according to claim 1.
Means for identifying and identifying the location of the hard disk error;
Means for backing up the file system area by duplication;
Means for reading from the backup area at the time of normal startup to the hard disk last time when the hard disk error location is a file system area;
An image forming apparatus comprising:
請求項2に記載の画像形成装置において、
前記主電源スイッチによる電源断を操作部に表示する手段を有し、
前記ハードディスクエラーとなっている箇所がテンポラリ領域である場合には前記操作部に前回主電源スイッチによる電源断があったこと、及び、リカバリー処理を行っている旨を表示することを特徴とする画像形成装置。
The image forming apparatus according to claim 2.
Means for displaying on the operation unit power-off due to the main power switch;
In the case where the hard disk error is in a temporary area, the operation unit displays that the main power switch was previously turned off and that recovery processing is being performed. Forming equipment.
請求項3に記載の画像形成装置において、
前記主電源スイッチによる電源断を操作部に表示する手段を有し、
前記ハードディスクエラーとなっている箇所がファイルシステム領域である場合には操作部に前回主電源スイッチによる電源断があったこと、及び前回正常起動時の状態にリカバリー処理を行っても良いかの確認ボタンを表示させることを特徴とする画像形成装置。
The image forming apparatus according to claim 3.
Means for displaying on the operation unit power-off due to the main power switch;
If the hard disk error location is in the file system area, confirm that the previous main power switch was turned off in the operation unit and whether recovery processing can be performed in the previous normal startup state An image forming apparatus that displays a button.
請求項5に記載の画像形成装置において、
前記表示された確認ボタンが押下された場合にはリカバリー処理を行うことを特徴とする画像形成装置。
The image forming apparatus according to claim 5.
An image forming apparatus, wherein a recovery process is performed when the displayed confirmation button is pressed.
請求項4又は6に記載の画像形成装置において、
前記操作部に表示する手段は、前記リカバリー処理を行っているとき、前記操作部に主電源スイッチによる電源断を行わないように警告表示することを特徴とする画像形成装置。
The image forming apparatus according to claim 4 or 6,
The means for displaying on the operation unit displays a warning on the operation unit so as not to turn off the power by a main power switch when the recovery process is being performed.
請求項1ないし7のいずれか1項に記載の画像形成装置において、
前記主電源スイッチより電源断した場合に電源断日時を記録する手段を備えていることを特徴とする画像形成装置。
The image forming apparatus according to any one of claims 1 to 7,
An image forming apparatus comprising: means for recording a power-off date and time when power is cut off from the main power switch.
情報を大量に記憶可能なハードディスクと、
主電源スイッチ及び操作部電源キーの2つの電源断接手段と、
を有する画像形成装置の書き込みエラー検知方法において、
前記操作部電源キー押下より電源断したのか前記主電源スイッチより電源断したのかを識別し、
電源ONによる装置の起動時に前記ハードディスクエラーを検出した場合、前回の電源断が前記操作部電源キー押下によるものか前記主電源スイッチによるものかを判別し、
前記判別結果に基づいて前記ハードディスクエラーか書き込み不良かを判断すること
を特徴とする画像形成装置の書き込みエラー検知方法。
A hard disk capable of storing large amounts of information,
Two power connection / disconnection means of a main power switch and an operation unit power key;
In the writing error detection method of the image forming apparatus having
Identify whether the power was turned off by pressing the operation unit power key or the main power switch,
When the hard disk error is detected at the time of starting the apparatus by turning on the power, it is determined whether the previous power cut is caused by pressing the operation unit power key or the main power switch,
A writing error detection method for an image forming apparatus, wherein the hard disk error or writing failure is determined based on the determination result.
情報を大量に記憶可能なハードディスクと、
主電源スイッチ及び操作部電源キーの2つの電源断接手段と、
を有する画像形成装置の書き込みエラー検知をコンピュータによって実行するためのコンピュータプログラムにおいて、
前記操作部電源キー押下より電源断したのか前記主電源スイッチより電源断したのかを識別する手順と、
電源ONによる装置の起動時に前記ハードディスクエラーを検出した場合、前回の電源断が前記操作部電源キー押下によるものか前記主電源スイッチによるものかを判別する手順と、
前記判別結果に基づいて前記ハードディスクエラーか書き込み不良かを判断する手順と、
を備えていることを特徴とするコンピュータプログラム。
A hard disk capable of storing large amounts of information,
Two power connection / disconnection means of a main power switch and an operation unit power key;
In a computer program for executing a writing error detection of an image forming apparatus having a computer by a computer,
A procedure for identifying whether the power is turned off by pressing the operation unit power key or whether the power is turned off from the main power switch;
When the hard disk error is detected at the time of starting the device by turning on the power, a procedure for determining whether the previous power cut is caused by pressing the operation unit power key or the main power switch;
A procedure for determining whether the hard disk error or writing failure based on the determination result;
A computer program comprising:
JP2008160895A 2008-06-19 2008-06-19 Image forming apparatus, and method for detecting write error of image forming apparatus Pending JP2010004293A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008160895A JP2010004293A (en) 2008-06-19 2008-06-19 Image forming apparatus, and method for detecting write error of image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008160895A JP2010004293A (en) 2008-06-19 2008-06-19 Image forming apparatus, and method for detecting write error of image forming apparatus

Publications (1)

Publication Number Publication Date
JP2010004293A true JP2010004293A (en) 2010-01-07

Family

ID=41585622

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008160895A Pending JP2010004293A (en) 2008-06-19 2008-06-19 Image forming apparatus, and method for detecting write error of image forming apparatus

Country Status (1)

Country Link
JP (1) JP2010004293A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160138576A (en) * 2014-06-05 2016-12-05 아이신에이더블류 가부시키가이샤 Stator assembly method and stator assembly device
US9690642B2 (en) 2012-12-18 2017-06-27 Western Digital Technologies, Inc. Salvaging event trace information in power loss interruption scenarios
KR20180003604A (en) * 2015-07-23 2018-01-09 아이신에이더블류 가부시키가이샤 Manufacturing method of stator and stator

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9690642B2 (en) 2012-12-18 2017-06-27 Western Digital Technologies, Inc. Salvaging event trace information in power loss interruption scenarios
KR20160138576A (en) * 2014-06-05 2016-12-05 아이신에이더블류 가부시키가이샤 Stator assembly method and stator assembly device
KR20160138575A (en) * 2014-06-05 2016-12-05 아이신에이더블류 가부시키가이샤 Stator assembly method and stator assembly device
KR20180003604A (en) * 2015-07-23 2018-01-09 아이신에이더블류 가부시키가이샤 Manufacturing method of stator and stator

Similar Documents

Publication Publication Date Title
JP5081076B2 (en) Memory management apparatus, image forming apparatus, and memory management method
US7558904B2 (en) Controller, data memory system, data rewriting method, and computer program product
US7555602B2 (en) Data processing apparatus and method for restoring a file system
US8310698B2 (en) Image forming apparatus and activating method thereof
US9930207B2 (en) Information processing apparatus, method of initializing a non-volatile storage device, and storage medium
US8140836B2 (en) Information processing apparatus and program
JP2010004293A (en) Image forming apparatus, and method for detecting write error of image forming apparatus
JP4962727B2 (en) Data storage device
JP2008146514A (en) Information processor, control method of information processor, and control program of information processor
JP4648097B2 (en) Registry information repair method and information processing apparatus
JP2013103411A (en) Image forming apparatus, image forming system, and image forming program
JP2011051258A (en) Image forming apparatus
JP2004341783A (en) Data storage method and data storage device
JP5470124B2 (en) Electronic device and program for electronic device
JP2005313568A (en) Printer, erasing method of data in printer, program and recording medium
JP2010134822A (en) Semiconductor memory device
JP5860381B2 (en) Information processing apparatus and program for information processing apparatus
JP2020004134A (en) Image forming device, method of controlling image forming device, and program
JP2006127268A (en) Information processor
JP2009010756A (en) Image processing apparatus, self-diagnosis method, self-diagnosis program, and recording medium
JP2007083456A (en) Image processor
JP2006127554A (en) Information processing device and image formation device
JP2006127287A (en) Information processor
JP2022126549A (en) Information processing apparatus
JP2020145583A (en) Information processing device, control method thereof, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110302

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120723

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120807

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130108