[go: up one dir, main page]

JP2008004011A - Computer apparatus provided with data recovery method for nonvolatile memory - Google Patents

Computer apparatus provided with data recovery method for nonvolatile memory Download PDF

Info

Publication number
JP2008004011A
JP2008004011A JP2006175362A JP2006175362A JP2008004011A JP 2008004011 A JP2008004011 A JP 2008004011A JP 2006175362 A JP2006175362 A JP 2006175362A JP 2006175362 A JP2006175362 A JP 2006175362A JP 2008004011 A JP2008004011 A JP 2008004011A
Authority
JP
Japan
Prior art keywords
data
bus
area
controller
unit
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.)
Withdrawn
Application number
JP2006175362A
Other languages
Japanese (ja)
Inventor
Atsushi Hikichi
篤志 挽地
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 JP2006175362A priority Critical patent/JP2008004011A/en
Publication of JP2008004011A publication Critical patent/JP2008004011A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

【課題】 読み書き可能な不揮発メモリデバイス(HDD, SRAM, FRAM, FLASH等)へ書き込み中に電源断されることによって、データが壊れ、故障(エラーコード出力)することが問題になっています。しかし、書き込み途中だったデータをただ破棄しただけでは複数のデータ間の不整合が発生し、復旧できない可能性があります。
【解決手段】 (1)不揮発メモリの領域を細分化し、パリティ計算時間を短縮します。(2)実データ書き込み前に書き込み領域を退避して、電源断に備えます。(3)複数の領域にまたがるデータ書き込みが発生した場合に2つ以上の領域を同時にバックアップする仕組みを用い、データ不整合が起こらないようにします。
【選択図】 図1
[Problem] There is a problem that data is damaged and a failure (error code output) occurs when the power is turned off while writing to a readable / writable nonvolatile memory device (HDD, SRAM, FRAM, FLASH, etc.). However, simply discarding data that was in the middle of writing may cause inconsistencies among multiple data, and recovery may not be possible.
[Solution] (1) Subdivide the nonvolatile memory area and reduce the parity calculation time. (2) Save the write area before writing the actual data to prepare for power failure. (3) Use a mechanism that backs up two or more areas at the same time when data writing across multiple areas occurs to prevent data inconsistencies.
[Selection] Figure 1

Description

本発明は、不揮発性メモリの書き込み保障方法、特に不揮発性メモリに書き込み中に電源断された場合の復旧方法に関する。   The present invention relates to a nonvolatile memory write guarantee method, and more particularly to a recovery method in the case where power is cut off during writing to a nonvolatile memory.

読み書き可能な不揮発メモリデバイス(HDD, SRAM, FRAM, FLASH等)へ書き込み中に電源断されることによって、データが壊れ、故障(エラーコード出力)することが問題になっています。電源断によって故障する箇所は、階層に分けると下位層から順に、ハードウェア、デバイスドライバ、ファイルシステム、アプリケーション、に分かれます。デバイスドライバより上位層は一般的にソフトウェアによって作成されており、デバイスドライバは管理領域とビット単位の読み書き、ファイルシステムは管理領域とファイル単位のデータ読み書き、アプリケーションは複数のファイル単位のデータ読み書きに関わります。もちろんデバイスドライバは不揮発デバイス毎に管理方式が異なりますし、ファイルシステムを介在しないデバイスも存在します。上記の、ハードウェアの故障は物理的なもので対応が難しいですが、ソフトウェアの故障は方法によって回避可能です。しかし、電源断が発生したときに、単純に故障データを破棄しただけでは、複数ビット単位のデータや複数ファイル単位のデータで、データ間の不整合が発生し復旧できません。   There is a problem that data is damaged and a failure (error code output) occurs when the power is turned off while writing to a readable / writable nonvolatile memory device (HDD, SRAM, FRAM, FLASH, etc.). The parts that fail due to a power failure are divided into the hardware, device driver, file system, and application in order from the lower layer. The layer above the device driver is generally created by software, the device driver is read / write in the management area and bit unit, the file system is in data read / write in the management area and file unit, and the application is in data read / write in multiple file units The Of course, device drivers have different management methods for each non-volatile device, and some devices do not involve a file system. The above hardware failures are physical and difficult to handle, but software failures can be avoided by methods. However, when the power is cut off, simply discarding the failed data will cause inconsistency between the data in the multi-bit data or multi-file data and cannot be recovered.

読み書き可能な不揮発メモリデバイス(HDD, SRAM, FRAM, FLASH等)へ書き込み中に電源断された場合の復旧方法について、先行技術を説明します。   The following describes the prior art on how to recover from a power failure while writing to a readable / writable nonvolatile memory device (HDD, SRAM, FRAM, FLASH, etc.).

特開平06−180664(ブラザー工業)は、不揮発メモリ上の制御プログラムを揮発メモリにコピーし、揮発メモリ上の制御プログラムを更新し、揮発メモリ上の制御プログラムを不揮発メモリに書き戻すことで、不揮発メモリの一括消去と更新を可能にする方法に関する発明です。先行特許は、書き戻し中に電源断した場合はアドレス変換して復旧すると記載されていますが、結局データの整合性を保障できません。それに対して本提案は、アドレス変換は行っておらず、書き戻し中に電源断しても復旧できます。   Japanese Patent Laid-Open No. 06-180664 (Brother Industries) copies a control program on a nonvolatile memory to a volatile memory, updates the control program on the volatile memory, and writes the control program on the volatile memory back to the nonvolatile memory. It is an invention related to a method for enabling batch erasure and update of memory. The prior patent states that if the power is cut off during write-back, the address is converted and restored, but the data integrity cannot be guaranteed after all. In contrast, this proposal does not perform address translation and can be recovered even if the power is turned off during write-back.

特開平09−128156(日立製作所)は、キャッシュメモリを使って、ディスク間で可変長と固定長のデータ変換を行うディスク記録制御システムにおいて、各々のディスク上にバックアップ領域を持ち、電源断時に復旧する方法に関する発明です。本発明は固定可変長の変換は論点ではありません。   JP 09-128156 (Hitachi, Ltd.) has a backup area on each disk in a disk recording control system that performs variable length and fixed length data conversion between disks using cache memory, and recovers when power is cut off It is an invention related to the method to do. In the present invention, fixed variable length conversion is not an issue.

特開平09−305491(東芝)は、HDD書き込みする際にチェックコードを同時にSRAMに保存する方法に関する発明です。先行特許は、HDDとSRAMの書き込みタイミングによって毎回復旧が発生する可能性があります。また、本提案とは論点と復旧方法が異なります。   Japanese Patent Application Laid-Open No. 09-305491 (Toshiba) is an invention relating to a method of simultaneously storing a check code in an SRAM when writing to an HDD. Prior patents may be restored each time depending on the writing timing of HDD and SRAM. Also, the issue and the recovery method are different from this proposal.

特開平10−161938(東芝)は、HDDに揮発性キャッシュ領域だけでなく不揮発性キャッシュ領域を付け、ライトバックデータを不揮発性キャッシュ領域にも保存し、電源断時に復旧する方法に関する発明です。本提案は、コストと通信速度上で実用性に乏しいため先行特許の方法は用いていません。また、本提案とは論点と復旧方法が異なります。   Japanese Patent Application Laid-Open No. 10-161938 (Toshiba) is an invention relating to a method of attaching not only a volatile cache area but also a nonvolatile cache area to an HDD, storing write-back data in the nonvolatile cache area, and restoring it when the power is turned off. This proposal does not use the method of the prior patent because it is not practical in terms of cost and communication speed. Also, the issue and the recovery method are different from this proposal.

特開平11−085629(富士通)は、フラッシュメモリの書き換え消去回数を少なくして寿命を延長させる方法で、フラッシュメモリの書き込み最小単位を管理領域とデータ領域に細分化し、入れ替え等による書き換え回数平均化を行う方法です。先行特許は、併用する揮発メモリ上のデータ書き換えがあった場合に復元できない可能性があります。   Japanese Patent Laid-Open No. 11-085629 (Fujitsu) is a method of extending the life by reducing the number of times of flash memory rewriting and erasing, and subdividing the minimum writing unit of the flash memory into a management area and a data area, and averaging the number of times of rewriting by replacement, etc. How to do. Prior patents may not be able to be restored if data is rewritten on the volatile memory used together.

特開平11−154058(東芝)は、複数のディスク装置を用いて、データ書き込み中に電源断した場合に復元する方法に関する発明です。先行特許に対して本発明は、複数の保存装置は用いません。   Japanese Patent Application Laid-Open No. 11-154058 (Toshiba) is an invention relating to a method of restoring data when a power is cut off during data writing using a plurality of disk devices. In contrast to prior patents, the present invention does not use multiple storage devices.

特開2000−132464(キヤノン)は、不揮発性記憶装置にデータを記録する際に、どこまで書き込んだかを示すマーカービットとチェックサムを用いて、電源断時の復旧を容易にする方法に関する発明です。先行発明は、データが大きくなるとチェックサムの計算量が増大する、書き込み中のデータ復元が出来ない、書き込み中のデータが領域をまたがったデータの場合に結局不整合が発生する、といった問題があります。   Japanese Patent Laid-Open No. 2000-132464 (Canon) is an invention relating to a method for facilitating recovery when power is cut off by using a marker bit and a checksum indicating how much data has been written when recording data in a nonvolatile storage device. The prior invention has problems such as the amount of checksum calculation increases as the data becomes large, data restoration during writing cannot be performed, and inconsistency eventually occurs when the data being written crosses areas .

特開2000−305862(三菱電機)は、フラッシュメモリの書き換えに際して、消去領域を他の不揮発性メモリにバックアップして消去する方法に関する発明です。先行発明は、電源断時に復旧することが可能になりますが、フラッシュメモリの消去単位以上の領域を他の不揮発装置に持つ必要があり、またフラッシュメモリの消去回数は減りますが、他の不揮発性メモリの書き換え回数が増えてしまいます。   Japanese Patent Laid-Open No. 2000-305862 (Mitsubishi Electric) is an invention relating to a method of erasing data by backing up the erase area to another nonvolatile memory when rewriting the flash memory. The prior invention can be recovered when the power is turned off. However, it is necessary to have an area larger than the erase unit of the flash memory in another nonvolatile device, and the number of times the flash memory is erased is reduced. This will increase the number of rewrites of volatile memory.

特開2001−154926(静岡日本電気)は、フラッシュメモリの復旧方法に関し、第一不揮発面を書き消去中に第二不揮発面を読み出すことが可能なフラッシュメモリにおいて、さらにバックアップ面を用いて電源断した場合に復旧する方法に関する発明です。先行特許は、本提案とは論点が異なる上、領域がまたがったデータの場合は結局不整合が発生するといった問題があります。   Japanese Patent Laid-Open No. 2001-154926 (Shizuoka NEC) relates to a method for restoring a flash memory. In a flash memory capable of reading a second nonvolatile surface while writing and erasing the first nonvolatile surface, the power supply is cut off using the backup surface. It is an invention related to a method of recovering in case of failure. Prior patents have different issues from this proposal, and there is a problem that inconsistencies occur in the case of cross-domain data.

特開2002−312147(コニカ)は、不揮発メモリ領域の書き込み回数を増やす方法に関し、揮発性記憶領域Nと、Nのn倍の不揮発記憶領域Mを作り、MをNで分割して循環使用することで、局所書き込みをなくす方法に関する発明です。不揮発性記憶装置のデータ記録消去中に電源断があった場合の対応は可能ですが、書き込み中のデータ領域を保障できないことは変わりません。   Japanese Patent Application Laid-Open No. 2002-312147 (Konica) relates to a method for increasing the number of times of writing to a nonvolatile memory area, creates a volatile storage area N and a nonvolatile storage area M that is n times N, and divides M by N and circulates it. This is an invention related to a method for eliminating local writing. Although it is possible to cope with the power failure while erasing the data record of the non-volatile storage device, the data area being written cannot be guaranteed.

特開2002−358248(パイオニア)は、HDDへデータ記録中に電源断があった場合の復旧方法に関し、FATファイルシステムの管理領域を2重持ちして復旧する方法に関する発明です。先行特許に対し本発明は、電源断の復旧に関していますが、ファイルシステムの管理領域を用いた方法ではありません。   Japanese Patent Application Laid-Open No. 2002-358248 (Pioneer) relates to a recovery method in the event of power interruption while data is being recorded on the HDD, and is an invention related to a method of recovering by double holding the FAT file system management area. In contrast to the prior patent, the present invention relates to recovery from power failure, but it is not a method using the management area of the file system.

特開2003−122647(三菱電機)は、揮発メモリの電源断対応に関し、主記憶装置に一定時間電力を供給する電源システムを備えた情報処理装置において、電源断が発生した後に主記憶装置上のデータを二時記憶装置に保存する方法に関する発明です。先行特許の方法は、電源断した後に主記憶装置と二次記憶装置を動かすための小容量バッテリを必要としており、コストの面で現実的ではないことと、本提案の論点とは異なります。   Japanese Unexamined Patent Application Publication No. 2003-122647 (Mitsubishi Electric Corp.) relates to a power-off response of a volatile memory, and in an information processing apparatus including a power supply system that supplies power to the main storage device for a predetermined time, It is an invention related to a method for storing data in a binary storage device. The method of the prior patent requires a small capacity battery to move the main storage device and the secondary storage device after the power is cut off, which is not practical in terms of cost and differs from the point of the proposal.

特開2004−021811(日立製作所)は、フラッシュメモリ等の不揮発メモリデバイスを並列に使用し、故障があった場合にパリティデータ、保護コードから復元可能にすることで、耐故障性を向上させる方法に関する発明です。先行特許は、複数のメモリデバイスを持ちますが、本発明は一つのデバイスで完結する点が異なります。   JP 2004-021811 (Hitachi, Ltd.) relates to a method for improving fault tolerance by using nonvolatile memory devices such as flash memory in parallel and enabling restoration from parity data and a protection code when a failure occurs. It is an invention. Prior patents have multiple memory devices, except that the present invention is completed with a single device.

特開2005−025401(シャープ)は、ICカード内のフラッシュメモリの電源断対応に関し、ICカード内のデータ領域書き込みの進捗を、ICカード内の管理領域で管理する方法に関する発明です。管理領域で進捗管理する点は、特開2000−132464(キヤノン)と同様の方法です。それに対して本発明は、進捗管理は対象にしていません。   Japanese Patent Laid-Open No. 2005-025401 (Sharp) is an invention related to a method for managing the progress of data area writing in the IC card in the management area in the IC card, in response to power-off of the flash memory in the IC card. Progress management in the management area is the same method as in JP 2000-132464 (Canon). In contrast, the present invention does not cover progress management.

特開2005−056144(NECビューテクノロジー)は、フラッシュメモリの電源断対応に関し、管理領域でデータ書き込み進捗を管理する方法に関する発明です。管理領域で進捗管理する点は、特開2000−132464(キヤノン)、特開2005−025401(シャープ)、と同様の方法です。それに対して本発明は、進捗管理は対象にしていません。   Japanese Patent Application Laid-Open No. 2005-056144 (NEC View Technology) is an invention relating to a method for managing the progress of data writing in a management area in relation to power-off of a flash memory. Progress management in the management area is the same method as disclosed in JP 2000-132464 (Canon) and JP 2005-025401 (Sharp). In contrast, the present invention does not cover progress management.

特開2005−149291(日立ハイテクノロジーズ)は、ファイルシステムの電源断対応に関し、管理領域と二つのデータ領域A・Bを持ち、データを更新するときは、元データAに書き込むデータをマージして領域Bに書き込み、管理領域が指し示すデータ領域をAからBに変更する、方法に関する発明です。先行特許は、管理領域変更中に電源断した場合は復旧できない上、本提案とは論点が異なります。   JP 2005-149291 (Hitachi High-Technologies Corporation) has a management area and two data areas A and B in response to the power failure of the file system. When updating data, merge the data to be written into the original data A This invention relates to a method of writing to area B and changing the data area indicated by the management area from A to B. Prior patents cannot be recovered if the power is cut off while the management area is changed, and the point of argument differs from this proposal.

本提案はこのような状況に鑑みて実施される、コンピュータ装置の不揮発性メモリ復旧に関する発明です。
特開平06−180664号公報 特開平09−128156号公報 特開平09−305491号公報 特開平10−161938号公報 特開平11−085629号公報 特開平11−154058号公報 特開2000−132464号公報 特開2000−305862号公報 特開2001−154926号公報 特開2002−312147号公報 特開2002−358248号公報 特開2003−122647号公報 特開2004−021811号公報 特開2005−025401号公報 特開2005−056144号公報 特開2005−149291号公報
This proposal is an invention related to the restoration of non-volatile memory of a computer device implemented in view of such a situation.
Japanese Patent Laid-Open No. 06-180664 Japanese Patent Laid-Open No. 09-128156 JP 09-305491 A Japanese Patent Laid-Open No. 10-161938 Japanese Patent Laid-Open No. 11-085629 Japanese Patent Laid-Open No. 11-154058 JP 2000-132464 A JP 2000-305862 A JP 2001-154926 A Japanese Patent Laid-Open No. 2002-312147 JP 2002-358248 A JP 2003-122647 A JP 2004-021811 A JP 2005-025401 A JP 2005-056144 A JP 2005-149291 A

上記より問題は、読み書き可能な不揮発メモリデバイス(HDD, SRAM, FRAM, FLASH等)へ書き込み中に電源断されることによって、データが壊れ、故障(エラーコード出力)することです。しかし、書き込み途中だったデータをただ破棄しただけでは複数のデータ間の不整合が発生し、復旧できない可能性があります。また、既存なメモリ復旧方法を適用して不揮発メモリ全体を一つの領域と考えて誤り検出と訂正を行う場合、大容量のデータのパリティ計算に時間がかかり、実際のデータを書くタイミングとパリティビットを計算して書き込むタイミングが大きくずれてしまい、電源OFFしたときに書き込んだデータとパリティビットの不整合が発生し、復旧できない可能性があります。   From the above, the problem is that the power is cut while writing to a readable / writable non-volatile memory device (HDD, SRAM, FRAM, FLASH, etc.), causing data corruption and failure (error code output). However, simply discarding data that was in the middle of writing may cause inconsistencies among multiple data, and recovery may not be possible. Also, when error detection and correction is performed by applying the existing memory recovery method to the entire nonvolatile memory as one area, it takes time to calculate the parity of large-capacity data, and the actual data writing timing and parity bit There is a possibility that the data written and the parity bit will be inconsistent when the power is turned off, and the data cannot be recovered.

(1)不揮発メモリの領域を細分化し、パリティ計算時間を短縮します。(2)実データ書き込み前に書き込み領域を退避して、電源断に備えます。(3)複数の領域にまたがるデータ書き込みが発生した場合に2つ以上の領域を同時にバックアップする仕組みを用い、データ不整合が起こらないようにします。   (1) Subdivide the nonvolatile memory area and reduce the parity calculation time. (2) Save the write area before writing the actual data to prepare for power failure. (3) Use a mechanism that backs up two or more areas at the same time when data writing across multiple areas occurs to prevent data inconsistencies.

前記方法により、不揮発保存装置への書き込み中に電源断することでソフトウェアの不整合が発生していた問題を解決できます。   By the above method, you can solve the problem of software inconsistency by turning off the power while writing to the nonvolatile storage device.

以下、本発明とその他の特徴について適宜図面を参照しながら解説する。   The present invention and other features will be described below with reference to the drawings as appropriate.

(1)ハードウェア構成
本発明の実施例にかかわる画像入出力システムのハードウェア全体構成を、図1を参照しながら説明する。
(1) Hardware Configuration The overall hardware configuration of the image input / output system according to the embodiment of the present invention will be described with reference to FIG.

リーダー部(画像入力装置)200は、原稿画像を光学的に読み取り、画像データに変換する。リーダー部200は、原稿を読取るための機能を持つスキャナユニット210と、原稿用紙を搬送するための機能を持つ原稿給紙ユニット250(以下フィーダと呼ぶ)とで構成される。   A reader unit (image input device) 200 optically reads a document image and converts it into image data. The reader unit 200 includes a scanner unit 210 having a function for reading a document, and a document feeding unit 250 (hereinafter referred to as a feeder) having a function for conveying a document sheet.

プリンタ部(画像出力装置)300は、記録紙を搬送し、その上に画像データを可視画像として印字して装置外に排紙する。プリンタ部300は、複数種類の記録紙カセットを持つ給紙ユニット310と、画像データを記録紙に転写、定着させる機能を持つマーキングユニット320と、印字された記録紙をソート、ステイプルして機外へ出力する機能を持つ排紙ユニット330とで構成される。   A printer unit (image output device) 300 conveys recording paper, prints image data as a visible image thereon, and discharges the recording paper out of the device. The printer unit 300 includes a paper feed unit 310 having a plurality of types of recording paper cassettes, a marking unit 320 having a function of transferring and fixing image data onto the recording paper, and sorting and stapling the printed recording papers. And a paper discharge unit 330 having a function of outputting to

制御装置110は、リーダー部200、プリンタ部300、FAXモデム510、HDD(ハードディスクドライブ)520と電気的に接続され、さらにネットワーク400を介して、ホストコンピュータ401,402と画像入出力システム101、及び、FAXモデム510、電話回線500を介してFAX501,502と接続されている。   The control device 110 is electrically connected to the reader unit 200, the printer unit 300, the FAX modem 510, and the HDD (hard disk drive) 520, and further via the network 400, the host computers 401 and 402, the image input / output system 101, and the FAX It is connected to FAX 501,502 via a modem 510 and a telephone line 500.

制御装置110は、リーダー部200を制御して、原稿の画像データを読込み、プリンタ部300を制御して画像データを記録用紙に出力してコピー機能を提供する。また、リーダー部200から読取った画像データを、コードデータに変換し、ネットワーク400を介してホストコンピュータへ送信するスキャナ機能、ホストコンピュータからネットワーク400を介して受信したコードデータを画像データに変換し、プリンタ部300に出力するプリンタ機能、入力された画像データをFAXモデム510と電話回線500を介して送受信するFAX機能、送受信した画像データをHDD520に蓄積するボックス機能を提供する。   The control device 110 controls the reader unit 200 to read image data of a document, and controls the printer unit 300 to output the image data to a recording sheet to provide a copy function. In addition, the image data read from the reader unit 200 is converted into code data and transmitted to the host computer via the network 400, the code data received from the host computer via the network 400 is converted into image data, A printer function for outputting to the printer unit 300, a FAX function for transmitting and receiving input image data via the FAX modem 510 and the telephone line 500, and a box function for storing the transmitted and received image data in the HDD 520 are provided.

続いて図2を用いて操作部150について説明する。   Next, the operation unit 150 will be described with reference to FIG.

操作部150は、制御装置110に接続され、液晶タッチパネルで構成され、画像入出力システムを操作するためのユーザI/Fを提供する。   The operation unit 150 is connected to the control device 110, is configured with a liquid crystal touch panel, and provides a user I / F for operating the image input / output system.

600はLCDタッチパネルであり、主なモード設定、状況表示はここで行われる。601は0〜9までの数値を入力するためのテンキーである。602はIDキーであり、装置が部門管理されている場合に部門番号と暗礁モードを入力する際に使用されるものである。   600 is an LCD touch panel, and the main mode setting and status display are performed here. Reference numeral 601 denotes a numeric keypad for inputting numerical values from 0 to 9. Reference numeral 602 denotes an ID key, which is used when a department number and a reef mode are input when the apparatus is under department management.

603は設定されたモードをリセットするためのリセットキー、604は各モードについての説明画面を表示するためのガイドキー、605はユーザーモード画面に入るためのユーザーモードキー、606は割り込みコピーを行うための割り込みキーになっている。   603 is a reset key for resetting the set mode, 604 is a guide key for displaying an explanation screen for each mode, 605 is a user mode key for entering the user mode screen, and 606 is for performing interrupt copying It is an interrupt key.

607はコピー動作をスタートさせるためのスタートキー、608は実行中のコピージョブを中止させるためのストップキーである。   Reference numeral 607 denotes a start key for starting a copy operation, and reference numeral 608 denotes a stop key for stopping a copy job being executed.

609はソフト電源SWであり、押下することによりLCD600のバックライトが消え装置は低電力状態に落ちる。610は節電キーであり、これを押下することで節電状態に入り、再度押下することで節電状態から復帰する。   609 is a soft power switch, and when pressed, the backlight of the LCD 600 is extinguished and the device falls into a low power state. Reference numeral 610 denotes a power saving key, which is pressed to enter a power saving state and is pressed again to return from the power saving state.

611、612、613、614はコピー、送信、ボックス、拡張に移行させるためのファンクションキーである。図2ではコピーの標準画面が表示された状態であり、他のファンクションキー612、613、614を押下することでそれぞれの機能の標準画面が表示される。   Reference numerals 611, 612, 613, and 614 denote function keys for shifting to copy, transmission, box, and expansion. In FIG. 2, the standard screen for copying is displayed, and by pressing the other function keys 612, 613, 614, the standard screen for each function is displayed.

615はLCDタッチパネルのコントラストを調整するための調整キーである。   Reference numeral 615 denotes an adjustment key for adjusting the contrast of the LCD touch panel.

616はカウンタ確認キーであり、このキーを押下することでそれまでに仕様したコピー枚数の集計を表示するカウント画面がLCD上に表示される。   Reference numeral 616 denotes a counter confirmation key. When this key is pressed, a count screen for displaying the total number of copies specified so far is displayed on the LCD.

617はジョブの実行中、画像メモリへの画像蓄積中を示すLED、618がジャム、ドアオープン等装置がエラー状態にあることを示すエラーLED、619は装置のメインスイッチがONになっていることを示す電源LEDになっている。   617 is an LED indicating that the job is being executed and the image is being stored in the image memory, 618 is an error LED indicating that the device is in an error state such as a jam or door open, and 619 is that the main switch of the device is ON. The power LED indicates.

図3はリーダー部200及びプリンタ部300の断面図である。リーダー部の原稿給送ユニット250は原稿を先頭順に1枚ずつプラテンガラス211上へ給送し、原稿の読み取り動作終了後、プラテンガラス211上の原稿を排出トレイ219に排出するものである。原稿がプラテンガラス211上に搬送されると、ランプ212を点灯し、そして光学ユニット213の移動を開始させて、原稿を露光走査する。この時の原稿からの反射光は、ミラー214、215、216、及びレンズ217によってCCDイメージセンサ(以下CCDと呼ぶ)218へ導かれる。このように、走査された原稿の画像はCCD218によって読み取られる。CCD218から出力される画像データは、所定の処理が施された後、制御装置110へ転送される。   FIG. 3 is a cross-sectional view of the reader unit 200 and the printer unit 300. The document feeding unit 250 of the reader unit feeds the documents one by one onto the platen glass 211 in order from the top, and discharges the documents on the platen glass 211 to the discharge tray 219 after the document reading operation is completed. When the document is conveyed onto the platen glass 211, the lamp 212 is turned on, and the movement of the optical unit 213 is started to expose and scan the document. Reflected light from the original at this time is guided to a CCD image sensor (hereinafter referred to as CCD) 218 by mirrors 214, 215, 216 and lens 217. In this way, the scanned image of the document is read by the CCD 218. Image data output from the CCD 218 is transferred to the control device 110 after being subjected to predetermined processing.

プリンタ部300のレーザドライバ321はレーザ発光部322を駆動するものであり、制御装置110から出力された画像データに応じたレーザ光をレーザ発光部322に発光させる。このレーザ光は感光ドラム323に照射され、感光ドラム323にはレーザ光に応じた潜像が形成される。この感光ドラム323の潜像の部分には現像器324によって現像剤が付着される。   The laser driver 321 of the printer unit 300 drives the laser light emitting unit 322, and causes the laser light emitting unit 322 to emit laser light corresponding to the image data output from the control device 110. The laser beam is irradiated on the photosensitive drum 323, and a latent image corresponding to the laser beam is formed on the photosensitive drum 323. A developer is attached to the latent image portion of the photosensitive drum 323 by a developing device 324.

そして、レーザ光の照射開始と同期したタイミングで、カセット311、カセット312、カセット313、カセット314、手差し給紙段315のいずれかから記録紙を給紙し、転写部325へ搬送路331によって導かれ、感光ドラム323に付着された現像剤を記録紙に転写する。現像剤の乗った記録紙は搬送ベルト326によって、定着部327に搬送され、定着部327の熱と圧力により現像剤は記像紙に定着される。その後、定着部327を通過した記録紙は搬送路325、搬送路324を通り、排紙ビン328に排出される。あるいは、印字面を反転して排紙ビン328に排出する場合には、搬送路336、搬送路338まで導かれ、そこから記録紙を逆方向に搬送し、搬送路337、搬送路324を通る。   The recording paper is fed from one of the cassette 311, the cassette 312, the cassette 313, the cassette 314, and the manual paper feed stage 315 at the timing synchronized with the start of laser light irradiation, and guided to the transfer unit 325 by the transport path 331. Then, the developer attached to the photosensitive drum 323 is transferred to the recording paper. The recording paper on which the developer is placed is conveyed to the fixing unit 327 by the conveyance belt 326, and the developer is fixed to the recording paper by the heat and pressure of the fixing unit 327. Thereafter, the recording paper that has passed through the fixing unit 327 passes through the transport path 325 and the transport path 324 and is discharged to the paper discharge bin 328. Alternatively, when the printing surface is reversed and discharged to the paper discharge bin 328, the recording paper is guided to the transport path 336 and the transport path 338, and then the recording paper is transported in the reverse direction and passes through the transport path 337 and the transport path 324. .

また、両面記録が設定されている場合は、定着部327を通過したあと、搬送路336からフラッパ329によって、搬送路333に記録紙は導かれ、その後記録紙を逆方向に搬送し、フラッパ329によって、搬送路338、再給紙搬送路332へ導かれる。再給紙搬送路332へ導かれた記録紙は上述したタイミングで搬送路331を通り、転写部325へ給紙される。   If double-sided recording is set, after passing through the fixing unit 327, the recording paper is guided from the conveyance path 336 to the conveyance path 333 by the flapper 329, and then the recording paper is conveyed in the reverse direction. Thus, the sheet is guided to the conveyance path 338 and the refeed conveyance path 332. The recording sheet guided to the refeed conveyance path 332 passes through the conveyance path 331 at the timing described above and is fed to the transfer unit 325.

以下、制御装置の詳細について述べる。   Details of the control device will be described below.

(1−1)制御装置の説明
制御装置110の機能を、図4に示すブロック図をもとに説明する。
(1-1) Description of Control Device The function of the control device 110 will be described based on the block diagram shown in FIG.

メインコントローラ111は、主にCPU112と、バスコントローラ113、各種I/Fコントローラ回路とから構成される。   The main controller 111 mainly includes a CPU 112, a bus controller 113, and various I / F controller circuits.

CPU112とバスコントローラ113は制御装置110全体の動作を制御するものであり、CPU112はROM114からROM I/F115を経由して読込んだプログラムに基いて動作する。また、ホストコンピュータから受信したPDL(ページ記述言語)コードデータを解釈し、ラスターイメージデータに伸張する動作も、このプログラムに記述されており、ソフトウェアによって処理される。バスコントローラ113は各I/Fから入出力されるデータ転送を制御するものであり、バス競合時の調停やDMAデータ転送の制御を行う。   The CPU 112 and the bus controller 113 control the overall operation of the control device 110, and the CPU 112 operates based on a program read from the ROM 114 via the ROM I / F 115. The operation of interpreting PDL (page description language) code data received from the host computer and decompressing it into raster image data is also described in this program and processed by software. The bus controller 113 controls data transfer input / output from each I / F, and performs arbitration at the time of bus contention and control of DMA data transfer.

DRAM116はDRAM I/F117によってメインコントローラ111と接続されており、CPU112が動作するためのワークエリアや、画像データを蓄積するためのエリアとして使用される。   The DRAM 116 is connected to the main controller 111 by a DRAM I / F 117, and is used as a work area for operating the CPU 112 and an area for storing image data.

Network Contorller121はI/F123によってメインコントローラ111と接続され、コネクタ122によって外部ネットワークと接続される。ネットワークとしては一般的にLAN及びFAXモデム510を介した電話回線500があげられる。   The network controller 121 is connected to the main controller 111 by an I / F 123 and is connected to an external network by a connector 122. A network generally includes a telephone line 500 via a LAN and a FAX modem 510.

汎用高速バス125には、拡張ボードを接続するための拡張コネクタ124とI/O制御部126とが接続される。汎用高速バスとしては、一般的にPCIバスがあげられる。   An expansion connector 124 for connecting an expansion board and an I / O control unit 126 are connected to the general-purpose high-speed bus 125. A general-purpose high-speed bus is a PCI bus.

I/O制御部126には、リーダー部200、プリンタ部300の各CPUと制御コマンドを送受信するための調歩同期シリアル通信コントローラ127が2チャンネル装備されており、I/Oバス128によって外部I/F回路140,145に接続されている。   The I / O control unit 126 is equipped with two channels of an asynchronous serial communication controller 127 for transmitting and receiving control commands to and from the CPUs of the reader unit 200 and the printer unit 300. F circuits 140 and 145 are connected.

パネルI/F132は、LCDコントローラ131に接続され、操作部150上の液晶画面600に表示を行うためのI/Fと、ハードキーやタッチパネルキーの入力を行うためのキー入力I/F130とから構成される。   The panel I / F 132 is connected to the LCD controller 131 and includes an I / F for displaying on the liquid crystal screen 600 on the operation unit 150 and a key input I / F 130 for inputting hard keys and touch panel keys. Composed.

操作部150は液晶表示部と液晶表示部上に張り付けられたタッチパネル入力装置と、複数個のハードキーを有する。タッチパネルまたはハードキーにより入力された信号は前述したパネルI/F132を介してCPU112に伝えられ、液晶表示部はパネルI/F132から送られてきた画像データを表示するものである。液晶表示部には、本画像表示装置の操作における機能表示や画像データ等を表示する。   The operation unit 150 includes a liquid crystal display unit, a touch panel input device attached on the liquid crystal display unit, and a plurality of hard keys. A signal input from the touch panel or hard key is transmitted to the CPU 112 via the panel I / F 132 described above, and the liquid crystal display unit displays image data sent from the panel I / F 132. The liquid crystal display unit displays function display, image data, and the like in the operation of the image display apparatus.

リアルタイムクロックモジュール133は、機器内で管理する日付と時刻を更新/保存するためのもので、バックアップ電池134によってバックアップされている。   The real-time clock module 133 is for updating / saving the date and time managed in the device, and is backed up by a backup battery 134.

E-IDEインタフェース161は、外部記憶装置を接続するためのものである。このI/Fを介してハードディスクやCD-ROM ドライブを接続し、プログラムや画像データを書き込んだり読み込んだりすることができる。   The E-IDE interface 161 is for connecting an external storage device. A hard disk or CD-ROM drive can be connected via this I / F, and programs and image data can be written and read.

コネクタ142と147は、それぞれリーダー部200とプリンタ部300とに接続され、同調歩同期シリアルI/F(143,148)とビデオI/F(144,149)とから構成される。   The connectors 142 and 147 are connected to the reader unit 200 and the printer unit 300, respectively, and are composed of a synchronized step serial I / F (143, 148) and a video I / F (144, 149).

スキャナI/F140は、コネクタ142を介してリーダー部200と接続され、また、スキャナバス141によってメインコントローラ111と接続されており、リーダー部200から受け取った画像を、その後の過程における処理の内容によって、最適な2値化を行ったり、主走査・副走査の変倍処理を行ったりする機能を有し、さらに、リーダー部200から送られたビデオ制御信号をもとに生成した制御信号を、スキャナバス141に出力する機能も有する。   The scanner I / F 140 is connected to the reader unit 200 via the connector 142, and is also connected to the main controller 111 via the scanner bus 141, and the image received from the reader unit 200 is processed according to the contents of processing in the subsequent process. , Have the function of performing the optimal binarization, scaling processing of the main scanning and sub scanning, and further, the control signal generated based on the video control signal sent from the reader unit 200, It also has a function of outputting to the scanner bus 141.

スキャナバス141からDRAM116へのデータ転送は、バスコントローラ113によって制御される。   Data transfer from the scanner bus 141 to the DRAM 116 is controlled by the bus controller 113.

プリンタI/F145は、コネクタ147を介してプリンタ部300と接続され、また、プリンタバス146によってメインコントローラ111と接続されており、メインコントローラ111から出力された画像データにスムージング処理をして、プリンタ部300へ出力する機能を有し、さらに、プリンタ部300から送られたビデオ制御信号をもとに生成した制御信号を、プリンタバス146に出力する機能も有する。   The printer I / F 145 is connected to the printer unit 300 via the connector 147, and is also connected to the main controller 111 via the printer bus 146. The printer I / F 145 performs smoothing processing on the image data output from the main controller 111, and And a function of outputting a control signal generated based on the video control signal sent from the printer unit 300 to the printer bus 146.

DRAM116上に伸張されたラスターイメージデータのプリンタ部への転送は、バスコントローラ113によって制御され、プリンタバス146、ビデオI/F149を経由して、プリンタ部300へDMA転送される。   Transfer of raster image data expanded on the DRAM 116 to the printer unit is controlled by the bus controller 113 and DMA-transferred to the printer unit 300 via the printer bus 146 and the video I / F 149.

(1−2)メインコントローラの説明
図5にメインコントローラのブロック図を示す。
(1-2) Description of Main Controller FIG. 5 shows a block diagram of the main controller.

プロセッサコア401は、64ビットのプロセッサバス(SCバス)を介して、システム・バス・ブリッジ(SBB)402に接続される。SBB402は4×4の64ビットクロスバスイッチであり、プロセッサコア401の他に、キャッシュメモリを備えたSDRAMやROMを制御するメモリコントローラ403と専用のローカルバス(MCバス)で接続されており、さらに、グラフィックバスであるGバス404、IOバスであるBバス405と接続され、全部で4つのバスに接続される。SBB402は、これら4モジュール間を、可能な限り、同時平行接続を確保することができるように設計されている。   The processor core 401 is connected to a system bus bridge (SBB) 402 via a 64-bit processor bus (SC bus). The SBB402 is a 4 × 4 64-bit crossbar switch, connected to the processor core 401, the memory controller 403 that controls the SDRAM and ROM with cache memory, and a dedicated local bus (MC bus). The G bus 404, which is a graphic bus, and the B bus 405, which is an IO bus, are connected to a total of four buses. The SBB402 is designed to ensure simultaneous parallel connection between these four modules as much as possible.

また、データの圧縮伸張ユニット(codec)418とも、 codec I/F を介して接続されている。   The data compression / decompression unit (codec) 418 is also connected via a codec I / F.

Gバス404はGバスアービタ(GBA)406により協調制御されており、スキャナやプリンタと接続するためのスキャナ/プリンタコントローラ(SPC)408に接続される。また、Bバス405は、Bバスアービタ(BBA)407により協調制御されており、SPC408のほか、電力管理ユニット(PMU)409、インタラプトコントローラ(IC)410、UARTを用いたシリアルインタフェースコントローラ(SIC)411、USBコントローラ412、IEEE1284を用いたパラレルインタフェースコントローラ(PIC)413、 LANコントローラ(LANC)414、LCDパネル、キー、汎用入出力コントローラ(PC)415、PCIバスインタフェース(PCIC)416にも接続されている。   The G bus 404 is cooperatively controlled by a G bus arbiter (GBA) 406, and is connected to a scanner / printer controller (SPC) 408 for connecting to a scanner or a printer. The B bus 405 is cooperatively controlled by a B bus arbiter (BBA) 407. In addition to the SPC 408, a power management unit (PMU) 409, an interrupt controller (IC) 410, and a serial interface controller (SIC) 411 using a UART , USB controller 412, parallel interface controller (PIC) 413 using IEEE1284, LAN controller (LANC) 414, LCD panel, key, general purpose input / output controller (PC) 415, PCI bus interface (PCIC) 416 Yes.

PC415には、表示パネルやキーボードを備えた操作パネル417が接続される。   An operation panel 417 having a display panel and a keyboard is connected to the PC 415.

(1−2−1)インタラプトコントローラの説明
インタラプトコントローラ410は、Bバス405に接続され、メインコントローラチップ内の各機能ブロック及び、チップ外部からのインタラプトを集積し、CPUコア401がサポートする、6レベルの外部インタラプト及び、ノンマスカブルインタラプト(NMI)に再分配する。各機能ブロックとは、電力管理ユニット409、シリアルインタフェースコントローラ411、USBコントローラ412、パラレルインタフェースコントローラ413、LANコントローラ414、汎用IOコントローラ415、PCIインタフェースコントローラ416、スキャナ/プリンタコントローラ408などである。
(1-2-1) Description of Interrupt Controller The interrupt controller 410 is connected to the B bus 405, integrates each functional block in the main controller chip and interrupts from outside the chip, and is supported by the CPU core 401. Redistribute level external interrupts and non-maskable interrupts (NMI). Each functional block includes a power management unit 409, a serial interface controller 411, a USB controller 412, a parallel interface controller 413, a LAN controller 414, a general-purpose IO controller 415, a PCI interface controller 416, a scanner / printer controller 408, and the like.

(1−2−2)メモリコントローラの説明
メモリコントローラ403は、メモリコントローラ専用のローカルバスであるMCバスに接続され、シンクロナスDRAM(SDRAM)やフラッシュROMやROMを制御する。
(1-2-2) Description of Memory Controller The memory controller 403 is connected to the MC bus, which is a local bus dedicated to the memory controller, and controls synchronous DRAM (SDRAM), flash ROM, and ROM.

(1−3)システムバスブリッジの説明
図6はシステムバスのブロック図を示す。
(1-3) Description of System Bus Bridge FIG. 6 is a block diagram of the system bus.

SBB402は、Bバス(入出力バス)、Gバス(グラフィックバス)、SCバス(プロセッサローカルバス)及びMCバス間の相互接続をクロスバスイッチを用いて提供する、マルチチャネル双方向バスブリッジである。クロスバススイッチにより、2系統の接続を同時に確立することが出来、並列性の高い高速データ転送を実現出来る。   The SBB 402 is a multi-channel bidirectional bus bridge that provides interconnections between the B bus (input / output bus), the G bus (graphic bus), the SC bus (processor local bus), and the MC bus using a crossbar switch. With the cross bus switch, two systems can be established at the same time, and high-speed data transfer with high parallelism can be realized.

SBB402は、Bバス405と接続するためのBバスインタフェース2009と、Gバス404と接続するためのGバスインタフェース2006と、プロセッサコア401と接続するためのCPUインタフェーススレーブポート2002と、メモリコントローラ403と接続するためのメモリインタフェースマスターポート2001と、 圧縮伸張ユニット418と接続するためのCODECバスインタフェース2014を備えるほか、アドレスバスを接続するアドレススイッチ2003、データバスを接続するデータスイッチ2004を含む。また、プロセッサコアのキャッシュメモリを無効化するキャッシュ無効化ユニット2005を備えている。   The SBB 402 includes a B bus interface 2009 for connecting to the B bus 405, a G bus interface 2006 for connecting to the G bus 404, a CPU interface slave port 2002 for connecting to the processor core 401, a memory controller 403, In addition to a memory interface master port 2001 for connection and a CODEC bus interface 2014 for connection to the compression / decompression unit 418, an address switch 2003 for connecting an address bus and a data switch 2004 for connecting a data bus are included. Further, a cache invalidation unit 2005 that invalidates the cache memory of the processor core is provided.

(1−3−1)PCIバスインタフェースの説明
PCIバスインタフェース416は、メインコントローラ内部汎用IOバスであるBバスと、チップ外部IOバスであるPCIバスの間をインタフェースするブロックである。
(1-3-1) Description of PCI bus interface
The PCI bus interface 416 is a block that interfaces between the B bus, which is a general-purpose IO bus inside the main controller, and the PCI bus, which is an external IO bus on the chip.

(1−3−2)Gバスアービタ、Bバスアービタの説明
Gバスのアービトレーションは、中央アービトレーション方式であり、各バスマスタに対して専用のリクエスト信号とグラント信号を持つ。このアービタは制御方法をプログラミングすることが出来る。また、バスマスタへの優先権の与え方として、すべてのバスマスタを同じ優先権として、公平にバス権を与える公平アービトレーションモードと、いずれかひとつのバスマスタの優先権を上げ、優先的にバスを使用させる優先アービトレーションモード、のどちらかを指定できる。
(1-3-2) Explanation of G bus arbiter and B bus arbiter
The arbitration of the G bus is a central arbitration method, and each bus master has a dedicated request signal and grant signal. This arbiter can program the control method. Also, as a method of giving priority to the bus master, all bus masters have the same priority, the fair arbitration mode in which the bus right is given fairly, and the priority of any one bus master is raised, and the bus is used preferentially. You can specify either the priority arbitration mode.

Bバスアービタ407は、IO汎用バスであるBバス405のバス使用要求を受け付け、調停の後、使用許可を選択された一つのマスタに対して与え、同時に2つ以上のマスタがバスアクセスを行う事を禁止する。アービトレーション方式は、3段階のプライオリティを持ち、それぞれのプライオリティに複数のマスタをプログラマブルに割り当てられる構成になっている。   The B bus arbiter 407 receives a bus use request for the B bus 405, which is an IO general-purpose bus, and after arbitration, gives a use permission to one selected master, and two or more masters simultaneously access the bus. Is prohibited. The arbitration method has three levels of priority, and a plurality of masters can be assigned to each priority in a programmable manner.

(1−4)スキャナコントローラ/プリンタコントローラ
図7はスキャナコントローラ、プリンタコントローラのブロック図である。
(1-4) Scanner Controller / Printer Controller FIG. 7 is a block diagram of the scanner controller and printer controller.

スキャナ/プリンタコントローラ408は、VideoI/Fによってスキャナおよびプリンタと接続され、内部バスGバスおよびBバスにインタフェースするブロックである。大別して以下の3つのブロックから構成される。   The scanner / printer controller 408 is a block that is connected to the scanner and printer by Video I / F and interfaces with the internal bus G bus and B bus. Broadly divided into the following three blocks.

(1−4−1)スキャナコントローラ
スキャナとビデオI/Fで接続され、動作制御およびデータ転送制御を行なう。Gバス/BバスI/Fユニット(GBI)4301Aとは、IFバスで接続され、データ転送およびレジスタのリード/ライトが行なわれる。
(1-4-1) Scanner controller The scanner controller is connected to the scanner through a video I / F, and performs operation control and data transfer control. The G bus / B bus I / F unit (GBI) 4301A is connected by an IF bus to perform data transfer and register read / write.

(1−4−2)プリンタコントローラ
プリンタとビデオI/Fで接続され、動作制御およびデータ転送制御を行なう。GBI 4301Bとは、IFバスで接続され、データ転送およびレジスタのリード/ライトが行なわれる。
(1-4-2) Printer controller The printer controller is connected to the printer through a video I / F, and performs operation control and data transfer control. The GBI 4301B is connected by an IF bus to perform data transfer and register read / write.

CPバスは、スキャナとプリンタの画像データおよび水平垂直同期のための同期信号を直結するためのバスである。   The CP bus is a bus for directly connecting the image data of the scanner and the printer and a synchronization signal for horizontal and vertical synchronization.

(1−4−3)Gバス/Bバス I/Fユニット(GBI)
スキャナコントローラ4302およびプリンタコントローラ4303をGバスまたはBバスに接続するためのユニットである。スキャナコントローラ4302とプリンタコントローラ4303にそれぞれ独立して接続され、GバスとBバスの両方に接続されている。
(1-4-3) G bus / B bus I / F unit (GBI)
This is a unit for connecting the scanner controller 4302 and the printer controller 4303 to the G bus or B bus. The scanner controller 4302 and the printer controller 4303 are independently connected to each other, and are connected to both the G bus and the B bus.

(1−5)電力管理ユニットの説明
メインコントローラ111は、CPUを内蔵した大規模なASICである。このため、内部のロジックが全部同時に動作してしまうと、大量の熱を発生し、チップ自体が破壊されてしまう恐れがある。これを防ぐために、メインコントローラは、ブロック毎の電力の管理、すなわちパワーマネジメントを行ない、更にチップ全体の消費電力量の監視を行なう。
(1-5) Description of Power Management Unit The main controller 111 is a large-scale ASIC with a built-in CPU. For this reason, if all the internal logics operate simultaneously, a large amount of heat is generated and the chip itself may be destroyed. In order to prevent this, the main controller performs power management for each block, that is, power management, and further monitors the power consumption of the entire chip.

パワーマネージメントは、それぞれのブロックが各自個別に行なう。各ブロックの消費電力量の情報は、パワーマネージメントレベルとして、電力管理ユニット(PMU)409に集められる。PMU409では、各ブロックの消費電力量を合計し、その値が限界消費電力を超えないように、メインコントローラの各ブロックの消費電力量を一括して監視する。   Each block performs power management individually. Information on the power consumption of each block is collected in a power management unit (PMU) 409 as a power management level. In the PMU 409, the power consumption of each block is totaled, and the power consumption of each block of the main controller is collectively monitored so that the value does not exceed the limit power consumption.

前記ハードウェアを用いた不揮発メモリの復旧方法について、実施例を用いて以下で説明します。   The following explains how to restore non-volatile memory using the above hardware using examples.

図12のフローチャートを用いて、不揮発記憶装置のデータ書き込みの基本パターンを説明します。   The basic pattern of data writing in the nonvolatile memory device will be described using the flowchart in FIG.

作業中ビットを走査して作業中ビットが立ったままだった場合(F11)、電源断等によって前回作業が中断したと判断して、バックアップ領域から作業中ビットが立ったままの領域へデータを戻し(F12)、作業中ビットを落とします(F13)。次に書き換え領域からバックアップ領域へデータを退避し(F14)、書き換え領域のデータ終端が領域間を跨いでいるかどうかを判断し(F15)、跨いでいれば退避を継続、跨いでいなければ退避を完了します。次に書き換え領域の作業中ビットを立て(F16)、データを書き換え(F17)、パリティを計算書き換えし(F18)、作業中ビットを落とします(F19)。   When the working bit is scanned and the working bit remains standing (F11), it is determined that the previous work was interrupted due to a power failure or the like, and the data is transferred from the backup area to the area where the working bit is kept. Return (F12), drop the working bit (F13). Next, the data is saved from the rewrite area to the backup area (F14), and it is determined whether the data end of the rewrite area straddles the areas (F15). Complete Next, the working bit in the rewriting area is set (F16), the data is rewritten (F17), the parity is calculated and rewritten (F18), and the working bit is dropped (F19).

図8、図9、図10、図11は、不揮発記憶領域の領域管理図です。図を説明しますと、データ領域(A01,Z01,X01)、パリティ領域(A11,Z02,X02)、書き換え作業中ビット(A02,A04,Z03,X03)、バックアップ領域(A03,A13,Z04,X04)、領域跨ぎデータ例(A05,Z21,X21)、領域跨ぎパリティ例(A15)、領域跨ぎのパリティ計算例(Z22,X22)、となります。図8はデータ・パリティ・バックアップ領域を有する一般的な領域管理図、図9は書き換え領域サイズが大きくなったときのためにバックアップ領域を変更した領域管理図、図10は全領域データでパリティ無しの領域管理図、図11は全領域パリティでデータは別に計算する領域管理図です。   8, 9, 10, and 11 are non-volatile storage area management charts. When explaining the figure, a data area (A01, Z01, X01), a parity area (A11, Z02, X02), a rewriting work bit (A02, A04, Z03, X03), a backup area (A03, A13, Z04, X04), cross-region data example (A05, Z21, X21), cross-region parity example (A15), cross-region parity calculation example (Z22, X22). FIG. 8 is a general area management diagram having a data, parity, and backup area, FIG. 9 is an area management chart in which the backup area is changed when the rewrite area size becomes large, and FIG. 10 is all area data without parity. Fig. 11 is an area management chart in which data is calculated separately for all area parity data.

図8、図9の不揮発記憶領域の領域管理図を用いて、データが領域間を跨いだ場合について説明します。領域をまたがるデータ配置だった場合(Z21,X21)、複数の領域を結合してパリティを再計算し、領域間のパリティを無効にします。また、書き換え作業中ビットをデータの領域間跨ぎが発生していることを示すフラグとして使用します。領域をまたがるパリティ計算をすることによって、領域毎に退避しても、二つの領域のデータ整合性を保障することができるようになります。   The case where the data straddles the area will be explained using the area management chart of the non-volatile storage area in FIGS. If the data arrangement is across the areas (Z21, X21), combine the multiple areas and recalculate the parity to invalidate the parity between the areas. In addition, the rewriting work bit is used as a flag to indicate that a data area crossing has occurred. By performing parity calculation across areas, even if data is saved for each area, data consistency between the two areas can be guaranteed.

図10、図11の不揮発記憶領域の領域管理図を用いて、データのみ、パリティのみの書き込みについて説明します。図12のフローチャートから、パリティ計算と書き換え(F18)を除いたフローを実行します。これによって、パリティ計算無しのケースの書き込み保障が可能になります。   Writing data only and parity only will be explained using the non-volatile storage area management charts shown in Figs. Execute the flow excluding the parity calculation and rewriting (F18) from the flowchart in Fig.12. This makes it possible to guarantee writing in the case of no parity calculation.

以下は説明しませんが、明示的なものとします。   The following is not explained, but is explicit.

(1) 書き換え作業中フラグは、不揮発性記憶装置の小さな各領域の最後のビットだけでなく、同じデバイス上のデバイス管理領域や、他のデバイス上などで管理することも可能です。また、書き換え作業中フラグは、不揮発記憶領域上のバイナリセマフォで置き換えることも可能です。   (1) The rewriting flag can be managed not only in the last bit of each small area of the nonvolatile storage device but also in the device management area on the same device or on another device. In addition, the rewriting flag can be replaced with a binary semaphore in the nonvolatile storage area.

(2) 不揮発性記憶装置上でパリティだけを管理して、データ領域は他のデバイスで計算し生成する場合は、パリティをデータと考えることも可能です。   (2) If only parity is managed on a non-volatile storage device and the data area is calculated and generated by another device, the parity can be considered as data.

(3) 不揮発デバイスへ書き込むたびにチェックするのは時間がかかるため、また本方法は主に電源断の復旧対応のため、等の理由から、書き換え作業中フラグは起動時のみのチェックにすることも可能です。   (3) Since it takes time to check each time data is written to the non-volatile device, and this method is mainly for recovery from power failure, the rewriting work flag should be checked only at startup. Is also possible.

(4) 不揮発席記憶装置の小さな各領域で管理するデータがパリティ無しのデータの場合はパリティ計算をしないことも可能です。   (4) If the data managed in each small area of the non-volatile seat storage device is data without parity, it is possible not to calculate the parity.

(5) 不揮発席記憶装置の小さな各領域をまたがったデータ書き込みの場合、領域結合してパリティ計算することも、各々の領域のパリティ計算することも、可能です。   (5) When writing data across each small area of the non-volatile seat storage device, it is possible to combine the areas and calculate the parity, or to calculate the parity of each area.

(6) 不揮発記憶装置の固定長の領域書き換えについて説明しましたが、可変長でも可能です。   (6) Although fixed area rewriting of non-volatile memory has been explained, variable length is also possible.

(7) バックアップ領域は、サイズ固定・変更どちらも可能です。また、他の不揮発記憶装置に領域を確保することも可能です。   (7) The backup area can be fixed or changed in size. It is also possible to reserve the area in other nonvolatile storage devices.

(8) 不揮発記憶装置のデータ列を単なるビットの並びと判断することで、不揮発記憶装置の書き換え領域が常に終端を跨いでいない(F15)と判断することも可能です。   (8) By determining the data string of the nonvolatile memory device as just a bit sequence, it is possible to determine that the rewrite area of the nonvolatile memory device does not always straddle the end (F15).

本実施例に係わる画像入出力システムの全体構成の説明図Explanatory drawing of the whole structure of the image input / output system concerning a present Example 操作部150となるユーザI/FUser I / F to be the operation unit 150 リーダー部およびプリンタ部の断面図Cross section of leader and printer 制御装置のブロック図Block diagram of control device メインコントローラのブロック図Main controller block diagram システムバスブリッジのブロック図System bus bridge block diagram スキャナコントローラ、プリンタコントローラのブロック図Block diagram of scanner controller and printer controller 不揮発メモリ領域のデータ構成図Data structure diagram of nonvolatile memory area 不揮発メモリ領域のデータ構成図Data structure diagram of nonvolatile memory area 不揮発メモリ領域のデータ構成図Data structure diagram of nonvolatile memory area 不揮発メモリ領域のデータ構成図Data structure diagram of nonvolatile memory area 実施例1のフローチャート図Flowchart diagram of the first embodiment

符号の説明Explanation of symbols

331 搬送路
335 搬送路
336 搬送路
338 搬送路
333 搬送路
332 再給紙搬送路
325 定着部
323 感光ドラム
331 Conveying path 335 Conveying path 336 Conveying path 338 Conveying path 333 Conveying path 332 Refeeding conveying path 325 Fixing unit 323 Photosensitive drum

Claims (3)

不揮発性記憶装置内のデータを固定長又は可変長の1つ以上の領域に細分化して管理する機能、
を持つコンピュータ装置において、
該不揮発性記憶装置内の1つ以上の細分化された領域のデータ書き換えの際に、該細分化領域のデータを退避してから書き換える機能、
を有することを特徴とする、コンピュータ装置。
A function of subdividing and managing data in a nonvolatile storage device into one or more areas of fixed length or variable length;
In a computer device having
A function of rewriting data after saving data in the subdivision area when rewriting data in one or more subdivision areas in the nonvolatile memory device;
A computer apparatus comprising:
該不揮発性記憶装置に書き込むデータが、該細分化領域間で連続するデータならば、2つ以上の該細分化領域のデータを退避してから書き換える機能、
を有することを特徴とする、請求項1記載のコンピュータ装置。
If the data to be written in the nonvolatile storage device is continuous data between the subdivision areas, a function of rewriting data after saving two or more subdivision areas;
The computer apparatus according to claim 1, further comprising:
不揮発性記憶装置内への書き込み動作が完了しなかった際に、該退避させたデータを該書き換え中のデータに上書きして復旧する機能
を有することを特徴とする、請求項1記載のコンピュータ装置。
2. The computer apparatus according to claim 1, further comprising a function of overwriting the saved data by overwriting the data being rewritten when the writing operation into the nonvolatile storage device is not completed. .
JP2006175362A 2006-06-26 2006-06-26 Computer apparatus provided with data recovery method for nonvolatile memory Withdrawn JP2008004011A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006175362A JP2008004011A (en) 2006-06-26 2006-06-26 Computer apparatus provided with data recovery method for nonvolatile memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006175362A JP2008004011A (en) 2006-06-26 2006-06-26 Computer apparatus provided with data recovery method for nonvolatile memory

Publications (1)

Publication Number Publication Date
JP2008004011A true JP2008004011A (en) 2008-01-10

Family

ID=39008314

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006175362A Withdrawn JP2008004011A (en) 2006-06-26 2006-06-26 Computer apparatus provided with data recovery method for nonvolatile memory

Country Status (1)

Country Link
JP (1) JP2008004011A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016101225A1 (en) * 2014-12-25 2016-06-30 华为技术有限公司 Data backup method, apparatus and system
US9690642B2 (en) 2012-12-18 2017-06-27 Western Digital Technologies, Inc. Salvaging event trace information in power loss interruption scenarios
JP2023136807A (en) * 2022-03-17 2023-09-29 Necプラットフォームズ株式会社 Information processing circuit, communication system, and information processing method

Cited By (3)

* 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
WO2016101225A1 (en) * 2014-12-25 2016-06-30 华为技术有限公司 Data backup method, apparatus and system
JP2023136807A (en) * 2022-03-17 2023-09-29 Necプラットフォームズ株式会社 Information processing circuit, communication system, and information processing method

Similar Documents

Publication Publication Date Title
US9075705B2 (en) Information processing apparatus capable of appropriately providing notification of storage unit failure prediction, control method therefor, and storage medium
US8643888B2 (en) Image forming apparatus and method for controlling the same
JP2008004011A (en) Computer apparatus provided with data recovery method for nonvolatile memory
JP2008148226A (en) Image forming apparatus performing degeneration operation using HDD self-diagnosis function
JP4143381B2 (en) Image processing apparatus, restart method, program, and storage medium
US9336463B2 (en) Image forming apparatus capable of changing partitions of storage unit, and control method and storage medium therefor
JP4054503B2 (en) Image processing device
JP2006201932A (en) Computer startup device, computer startup method, and computer startup program
JP2007038580A (en) Computer evacuation / restoration acceleration method
JP2014138265A (en) Image forming apparatus
JP5932511B2 (en) Information processing apparatus, software update method, and computer program
JP2008023780A (en) Image processing apparatus and control method thereof
JP2008004012A (en) Computer device with device automatic stop method
JP2004058499A (en) Control method of image forming apparatus
JP4510231B2 (en) Image processing apparatus, image processing apparatus control method, and storage medium
JP4454874B2 (en) Printing apparatus and printing apparatus control method
JP2006222581A (en) Image forming apparatus, control method therefor, computer program, and storage medium
JP4534843B2 (en) Image forming apparatus and control program for image forming apparatus
JP4630939B2 (en) Printing apparatus and printing apparatus control method
JP2008140191A (en) File system
JP4945655B2 (en) Information processing apparatus, image processing apparatus, information processing method, computer program, and recording medium
JP2018063499A (en) Information processing apparatus, control method therefor, and program
JP2004142216A (en) Image forming apparatus, control method therefor, and program
JP2001211276A (en) Image processing apparatus and control method thereof
JP2002297391A (en) Method and device for starting computer and control program

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20090901