JP5523379B2 - Storage control device, image forming apparatus, and storage control method - Google Patents
Storage control device, image forming apparatus, and storage control method Download PDFInfo
- Publication number
- JP5523379B2 JP5523379B2 JP2011052943A JP2011052943A JP5523379B2 JP 5523379 B2 JP5523379 B2 JP 5523379B2 JP 2011052943 A JP2011052943 A JP 2011052943A JP 2011052943 A JP2011052943 A JP 2011052943A JP 5523379 B2 JP5523379 B2 JP 5523379B2
- Authority
- JP
- Japan
- Prior art keywords
- storage
- divided
- storage area
- unit
- invalid
- 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.)
- Active
Links
Images
Landscapes
- Techniques For Improving Reliability Of Storages (AREA)
Description
本発明は記憶制御装置、画像形成装置および記憶制御方法に係り、例えば電子写真方式の複写機、ファクシミリ機、プリンタ又はこれらの機能を搭載した複合機(MFP:Multi Function Peripheral)等の画像形成装置に用いて好適する記憶制御装置、当該画像形成装置および記憶制御方法の改良に関する。 The present invention relates to a storage control device, an image forming apparatus, and a storage control method. For example, an image forming apparatus such as an electrophotographic copying machine, a facsimile machine, a printer, or a multi-function peripheral (MFP) equipped with these functions. The present invention relates to an improvement in a storage control device suitable for use in the present invention, the image forming apparatus, and a storage control method.
この種の画像形成装置にあっては、一般に、原稿上の画像情報から画像データを光学的に読み取り、その画像データに基づきトナー像を形成して用紙に転写定着させて印刷する印刷(印字)機能の他、画像データをファクシミリ送受信するファクシミリ機能、その他種々の画像データ処理機能を有している。 In this type of image forming apparatus, printing (printing) is generally performed in which image data is optically read from image information on a document, a toner image is formed based on the image data, and is transferred and fixed onto a sheet. In addition to the functions, it has a facsimile function for transmitting and receiving image data by facsimile and various other image data processing functions.
近年、画像形成装置に対する省電力化の要請から、所定期間動作させないとき、再起動に必要な構成要素へ電源電力を供給し続ける一方、それ以外の構成要素に対して電源電力の供給を遮断する省電力モードを搭載する例が多い。 In recent years, due to a demand for power saving for an image forming apparatus, when operation is not performed for a predetermined period, supply power is continuously supplied to components necessary for restarting, while supply of power to other components is cut off. There are many examples equipped with a power saving mode.
このような構成では、一層の省電力化を進めるために、動作プログラムを記憶した記憶部を含めて殆どの構成要素に対する電源電力供給を遮断する構成が求められている。 In such a configuration, in order to promote further power saving, a configuration that cuts off power supply to most components including a storage unit that stores an operation program is required.
このような構成においては、省電力モードから印刷ジョブの入力等によって通常モードに再起動する過程で、動作プログラム等が記憶部から読み出されるが、記憶部からの読み出し(リード)回数が大幅に増加する傾向にある。 In such a configuration, the operation program is read from the storage unit in the process of restarting from the power saving mode to the normal mode by inputting a print job or the like, but the number of times of reading (reading) from the storage unit is greatly increased. Tend to.
他方、動作プログラム等を記憶する記憶部として例えば不揮発性の半導体メモリを用いる場合、繰り返しリードを行うと不揮発メモリの記憶状況が劣化するため、一定のリード回数、例えば1000回に1回の書き込み(ライト)を行うことが必要になり易い。 On the other hand, when a non-volatile semiconductor memory is used as a storage unit for storing an operation program or the like, since the storage state of the non-volatile memory deteriorates when repeated reading is performed, writing is performed at a fixed number of times, for example, once every 1000 times ( It is likely to be necessary to perform (write).
ところが、記憶部に対して動作プログラム等の書き直しを行っている最中に、停電やその他予期せぬ事態に起因して書き込みが不成立となると、最悪の場合、装置が2度と起動しなくなる心配があり、対策が望まれている。 However, if the writing fails due to a power failure or other unexpected situation while rewriting the operation program or the like to the storage unit, in the worst case, the device may not start again. There is a need for countermeasures.
そこで、例えば特開平8−30515号公報(特許文献1)のようなデータ処理装置が提案されている。 Therefore, for example, a data processing apparatus as disclosed in JP-A-8-30515 (Patent Document 1) has been proposed.
この特許文献1は、ブロック単位でデータ消去可能なフラッシュEEPROMを有し、当該装置によって実行される機能を特定するための各種制御情報を2重化し、そのフラッシュEEPROMの第1および第2の消去ブロックに同一の制御情報を書き込む手段と、それら第1および第2の消去ブロックのどちらの制御情報を有効情報として使用するかを判断し、有効ブロックの制御情報を読み出す手段とを具備し、一方の消去ブロックの更新中に電源遮断や他の何らかのエラーなどが発生しても、他方の消去ブロックの制御情報が正常に保持されるようにしたものである。
This
しかしながら、上述した特許文献1は、データの読み出しが多発される環境下を想定しているものではなく、一般的な使用環境下の中で、書き込みエリアを多重化することで信頼性を確保しており、装置に搭載した記憶部に対してデータの書き直しを行っている状態の下で、データ書き込みを確保する根本的な改善にはなり難い。
However,
本発明はそのような課題を解決するためになされたもので、不揮発性の記憶部の記憶容量を細分化し、データの確実な書き込みを確保することが容易で信頼性を向上させた記憶制御装置、画像形成装置および記憶制御方法の提供を目的とする。 The present invention has been made to solve such a problem, and a storage control device which is easy to ensure reliable writing of data by subdividing the storage capacity of a nonvolatile storage unit and improving reliability. An object of the present invention is to provide an image forming apparatus and a storage control method.
そのような課題を解決するために本発明の請求項1に係る記憶制御装置は、複数に分割される分割記憶領域を有しデータがその分割記憶領域に分割記憶される記憶部であって、1組のそれら分割記憶領域が無効記憶領域および有効記憶領域として同一の分割データが記憶される不揮発性の記憶部と、記憶されたデータをその記憶部から読み出す回数をカウントするカウント部と、このカウント部によるカウント数が基準回数に達したとき、その無効記憶領域として設定された分割記憶領域以外の1組の分割記憶領域を無効記憶領域および有効記憶領域に変更設定制御するとともに、変更設定された1組の分割記憶領域において無効記憶領域に対して有効記憶領域の分割データを記憶制御する記憶変更制御部と、を具備している。
In order to solve such a problem, the storage control device according to
本発明の請求項1に係る記憶制御装置は、上記記憶変更制御部が、そのカウント数が基準回数に達したとき、その無効記憶領域に設定された分割記憶領域に隣合う分割記憶領域を無効記憶領域として、順次、降順又は昇順に変更設定制御する構成である。
In the storage control device according to
本発明の請求項1に係る記憶制御装置は、上記記憶変更制御部が、降順又は昇順最後の分割記憶領域を無効記憶領域に設定し、次回の前記カウント数が基準回数に達したとき、順次、昇順又は降順に変更設定制御する構成である。
In the storage control device according to
本発明の請求項2に係る記憶制御装置は、上記記憶部が、当該記憶制御装置の電源オフ時にデータの記憶確保の可能な記憶容量を分割記憶領域として選定する構成である。
The storage control device according to
本発明の請求項3に係る記憶制御装置は、上記カウント部が、その記憶部に記憶されたデータがアップデートされて書き換え記憶されたとき、その基準回数でカウントし直すよう形成された構成である。 According to a third aspect of the present invention, the storage control device is configured such that when the data stored in the storage unit is updated and rewritten and stored, the counting unit recounts at the reference number of times. .
本発明の請求項4に係る記憶制御装置は、上記カウント部が、記憶変更制御部にて扱う専用のそのカウント数として、前回の基準回数に達したカウント数からカウントし直すよう形成された構成である。
The storage control device according to
本発明の請求項5に係る記憶制御装置は、上記カウント部が、そのカウント数を初期値にリセットし直すよう形成された構成である。
The storage control device according to
本発明の請求項6に係る画像形成装置は、それら請求項1〜5いずれか1項記載の記憶制御装置と、画像データを画像形成する画像形成部とを有する構成である。 An image forming apparatus according to a sixth aspect of the present invention includes the storage control device according to any one of the first to fifth aspects and an image forming unit that forms an image of image data.
本発明の請求項7に係る記憶制御方法は、記憶制御装置において、複数に分割される分割記憶領域を有しデータが分割記憶領域に分割記憶される不揮発性の記憶部について、その分割記憶領域を有効記憶領域としてデータを分散記憶するとともに、1組のそれら分割記憶領域を無効記憶領域および有効記憶領域として同一の分割データを記憶する記憶工程と、記憶されたデータを記憶部から読み出す回数をカウントするカウント工程と、このカウント工程によるカウント数が基準回数に達したとき、その無効記憶領域として設定された分割記憶領域以外の1組の分割記憶領域を無効記憶領域および有効記憶領域に変更設定制御し、変更設定された1組の分割記憶領域において無効記憶領域に対して有効記憶領域の分割データを記憶制御する記憶変更制御工程と、を具備している。
Storage control method according to
本発明の請求項7に係る記憶制御方法は、上記記憶変更制御工程が、そのカウント数が基準回数に達したとき、その無効記憶領域に設定された分割記憶領域に隣合う分割記憶領域を無効記憶領域として、順次、降順又は昇順に変更設定制御する構成である。
In the storage control method according to
本発明の請求項7に係る記憶制御方法は、上記記憶変更制御工程が、降順又は昇順最後の分割記憶領域を無効記憶領域に設定し、次回のカウント数が基準回数に達したとき、順次、昇順又は降順に変更設定制御する構成である。
In the storage control method according to
本発明の請求項8に係る記憶制御方法は、上記記憶工程および記憶変更制御工程が、当該記憶制御装置の電源オフ時にデータの記憶確保の可能な記憶容量として選定された分割記憶領域に対して処理する構成である。 In the storage control method according to claim 8 of the present invention, the storage step and the storage change control step are performed on a divided storage area selected as a storage capacity capable of ensuring data storage when the storage control device is powered off. It is the structure to process.
本発明の請求項9に係る記憶制御方法は、上記カウント工程が、その記憶部に記憶されたデータがアップデートされて書き換え記憶されたとき、その基準回数でカウントし直す構成である。 The storage control method according to claim 9 of the present invention is configured such that when the data stored in the storage unit is updated and rewritten and stored, the counting step re-counts at the reference number.
本発明の請求項10に係る記憶制御方法は、上記カウント工程が、その記憶変更制御工程で扱う専用のそのカウント数として、前回の基準回数に達したカウント数からカウントし直す構成である。 In the storage control method according to claim 10 of the present invention, the counting step re-counts from the count number that reached the previous reference number as the dedicated count number handled in the storage change control step.
本発明の請求項11に係る記憶制御方法は、上記カウント工程が、そのカウント数を初期値にリセットし直す構成である。
The storage control method according to
このような本発明の請求項1、7に係る記憶制御装置および記憶制御方法では、記憶されたデータを記憶部から読み出す回数をカウントし、そのカウント数が基準回数に達したとき、無効記憶領域として設定された分割記憶領域以外の1組の分割記憶領域を無効記憶領域および有効記憶領域に変更設定制御し、変更設定された1組の分割記憶領域において無効記憶領域に対して有効記憶領域の分割データを記憶制御するから、不揮発性メモリの記憶容量を細分化し、不揮発性の記憶部の記憶領域を細分化した分割記憶領域に分割データを書き直すことにより、データの確実な書き込みを確保することが容易で信頼性も向上可能である。 In the storage control device and the storage control method according to the first and seventh aspects of the present invention, the number of times of reading stored data from the storage unit is counted, and when the count reaches the reference number, the invalid storage area A set of divided storage areas other than the divided storage area set as is changed to an invalid storage area and an effective storage area, and the effective storage area of the set of divided storage areas is changed with respect to the invalid storage area. Since storage control of the divided data is performed, the storage capacity of the nonvolatile memory is subdivided, and the divided data is rewritten in the divided storage area obtained by subdividing the storage area of the nonvolatile storage unit, thereby ensuring the reliable writing of data. And reliability can be improved.
本発明の請求項1、7に係るに記憶制御装置および記憶制御方法では、そのカウント数が基準回数に達したとき、無効記憶領域に設定された分割記憶領域に隣合う分割記憶領域を無効記憶領域として、順次、降順又は昇順に変更設定制御するから、上述した効果に加えて、処理速度が低下せず、記憶データの連続性も保持し易い。
In the storage control device and the storage control method according to
本発明の請求項1、7に係る記憶制御装置および記憶制御方法では、降順又は昇順最後の分割記憶領域が無効記憶領域に設定され、次回のカウント数が基準回数に達したとき、順次、昇順又は降順に変更設定制御するから、分割記憶領域への書き込み記憶を継続して実行可能である。
In the storage control device and storage control method according to
本発明の請求項2、8に係る記憶制御装置および記憶制御方法では、当該記憶制御装置の電源オフ時にデータの記憶確保の可能な記憶容量として選定された分割記憶領域に対して処理するから、記憶部に対して動作プログラム等の書き直しを行っている過程で種々の事態に起因して書き込みが不成立となり難く、装置の起動確保が可能である。
In the storage control device and the storage control method according to
本発明の請求項3、9に係る記憶制御装置および記憶制御方法では、その記憶部に記憶されたデータがアップデートされて書き換え記憶されたとき、その基準回数でそのカウント数をカウントし直すから、不揮発性の記憶部の分割記憶領域への分割データ書き直しタイミングを先に延ばすことが可能で、データのアップデートがあっても、不揮発性の記憶部の信頼性を向上させることが容易である。
In the storage control device and the storage control method according to
本発明の請求項4、10に係る記憶制御装置および記憶制御方法では、記憶変更制御にて扱う専用のカウント数として、前回の基準回数に達したカウント数からカウントし直すから、上述した効果に加えて、その読み出す回数のカウントとは別個の専用のカウント数に基づき記憶変更制御可能であり、その読み出す回数のカウントを別の用途に使用可能である。
In the storage control device and the storage control method according to
本発明の請求項5、11に係る記憶制御装置および記憶制御方法では、そのカウント数を初期値にリセットし直すから、上述した効果に加えて、カウント処理構成が簡単である。
In the storage control device and the storage control method according to
以下、本発明に係る記憶制御装置、画像形成装置および記憶制御方法の実施の形態を図面を参照して説明する。なお、本発明に係る記憶制御装置および記憶制御方法は画像形成装置を説明する過程で説明する。 Embodiments of a storage control device, an image forming apparatus, and a storage control method according to the present invention will be described below with reference to the drawings. The storage control device and the storage control method according to the present invention will be described in the process of describing the image forming apparatus.
まず、本発明に係る記憶制御装置を含む本発明の画像形成装置Aを説明する。 First, the image forming apparatus A of the present invention including the storage control apparatus according to the present invention will be described.
図1は本発明の画像形成装置Aの実施の一形態を示す概略ブロック図である。 FIG. 1 is a schematic block diagram showing an embodiment of an image forming apparatus A of the present invention.
画像形成装置Aは、主制御部1を中心にして画像読取部3、RAM(random access memory)5、不揮発性の記憶部7、操作パネル部9および印刷部11を有し、例えば複合機を構成している。なお、画像形成装置Aとしてはこれ以外にも種々の構成を有するが、本発明の要部ではないので説明および図示を省略する。
The image forming apparatus A has an
主制御部1は、画像読取部3、RAM5、不揮発性の記憶部7、操作パネル部9および印刷部11を制御するものであるが、詳細は後述する。
The
画像読取部3は、例えば画像形成装置Aの図示しない本体ケースの上部に配置され、主制御部1の制御の下、原稿画像の表示された原稿用紙から当該紙面の画像状態を光学的に読み込み、フィルタ処理等をして電子的画像データを生成するスキャナ部としての機能を有し、画像データを例えばRAM5等に記憶する。
The
RAM5は、後述するように不揮発性の記憶部7に記憶された動作プログラム(データ)を読み出して記憶する他、主制御部1等の動作途中の処理データ等を一時的に記憶する機能を有する。
The
不揮発性の記憶部7は、主制御部1等を動作させる動作プログラムおよび操作パネル部9の動作画面(データ)等を記憶する読み書き可能な例えばフラッシュメモリ(商標)であり、図2および図3に示すように、複数に分割される分割記憶領域(ブロック)および個々の分割記憶領域の特徴を関連づけるフラグ領域を有している。
The
しかも、不揮発性の記憶部7は、動作プログラム等のデータがそれら複数の分割記憶領域に分割記憶されるとともに、2個で1組の分割記憶領域が無効記憶領域および有効記憶領域として同一の分割データが記憶されるようになっている。
In addition, the
それら分割記憶領域は、当該画像形成装置の電源オフ時に電源供給が急激に低下する過程(ごく短期間)でも、分割データを記憶してその確保が可能な記憶容量に設定されている。 These divided storage areas are set to have a storage capacity capable of storing divided data and securing the divided data even in a process (a very short period) in which the power supply rapidly decreases when the image forming apparatus is powered off.
フラグ領域は、個々の分割記憶領域の特徴、すなわち個々の分割記憶領域が有効記憶領域か無効記憶領域かの情報を設定する領域であり、いずれかの分割記憶領域にもデータの読み書きが可能であるが、無効記憶領域に設定された分割記憶領域は読み飛ばされるようになっている。分割記憶領域およびフラグ領域についての詳細は後述する。 The flag area is an area for setting the characteristics of each divided storage area, that is, information indicating whether each divided storage area is an effective storage area or an invalid storage area. Data can be read from and written to any of the divided storage areas. However, the divided storage area set as the invalid storage area is skipped. Details of the divided storage area and the flag area will be described later.
図2Aは、不揮発性の記憶部7について分割記憶領域(図では単に記憶領域と略す。)を1〜nまでn個確保するとともに、個々の分割記憶領域1〜nにはデータとしてのプログラムが分割プログラム(図では単にプログラムと略す。)1〜n−1に分割されて記憶された状態を示し、個々の分割記憶領域1〜nに関連づけたn個のフラグ領域には有効記憶領域と無効記憶領域(図では有効又は無効と略す。)が設定されている。
2A shows n divided storage areas (simply abbreviated as “storage areas” in the figure) for the
分割記憶領域1、2の2個で1組となっており、初期設定として分割記憶領域1が無効記憶領域に、分割記憶領域2が有効記憶領域に設定され、無効記憶領域の分割記憶領域1に対して有効記憶領域の分割記憶領域2の分割プログラム1も記憶されている。1組の分割記憶領域1、2には同一の分割プログラム1が記憶されている。
The divided
操作パネル部9は、画像形成装置Aの図示しない本体ケースの上部に配置され、当該装置Aの動作状態を表示する表示部と、当該装置Aに対する操作指示および後述するアップデート指示の入力を受ける入力部であり、主制御部1によって制御される。
The operation panel unit 9 is disposed on an upper portion of a main body case (not shown) of the image forming apparatus A, and displays an operation state of the apparatus A and an input for receiving an operation instruction for the apparatus A and an update instruction to be described later. And is controlled by the
印刷部11は、画像形成装置Aの本体ケース内に配置され、用紙のセットされる給紙段から当該用紙を給紙し、RAM5の画像データに基づき画像形成してトナー像をその用紙に転写する画像形成部等を有している。
The
主制御部1は、CPU(central processing unit)、このCPUの起動プログラムを格納したメモリ部、入出力インターフェース(いずれも図示せず。)を有し、上述した画像読取部3、RAM5、不揮発性の記憶部7、操作パネル部9および印刷部11を制御する機能の他、以下の機能を有している。
The
すなわち、主制御部1は、所定期間動作がないとき、再起動に必要な起動構成要素(図示せず。)へ電源電力を供給制御し、画像読取部3、RAM5、不揮発性の記憶部7、操作パネル部9および印刷部11に対して電源電力の供給を遮断する省電力モードへの移行を制御する機能、更に、起動構成要素に対して入力指示等があったとき、通常モードに再起動する過程で、順次、画像読取部3、操作パネル部9および印刷部11等に電源を供給し、不揮発性の記憶部7を起動させて分割プログラム1〜n−1を読み出して全体の動作プログラムをRAM5に記憶させ、再起動制御する機能を有している。
That is, when there is no operation for a predetermined period, the
不揮発性の記憶部7から分割プログラムを読み出すとき、主制御部1は、無効記憶領域に設定された分割記憶領域を読み飛ばし制御する。
When reading the divided program from the
なお、入力指示としては、図示はしないが、省電力モード下でも動作可能になっている例えば電源スイッチのオン操作、ネットワークを介した印刷ジョブの入力、印刷ジョブを格納した外部記憶装置の接続等がある。 Although not shown in the figure, the input instruction is operable even in the power saving mode. For example, the power switch is turned on, the print job is input via the network, the external storage device storing the print job is connected, etc. There is.
さらに、主制御部1は、カウント部13および記憶変更制御部15としての機能を有している。
Further, the
カウント部13は、不揮発性の記憶部7から動作プログラム等のデータを読み出す回数をカウントし、カウント数を一次的に記憶する機能を有している。
The
記憶変更制御部15は、予め設定された基準回数(m回例えば100回)を記憶しており、カウント部13によるカウント数が基準回数に達した都度、無効記憶領域として設定された分割記憶領域以外の2個1組の分割記憶領域の一方を無効記憶領域に変更設定制御するとともに、変更された1組の分割記憶領域において一方の無効記憶領域に対して他方の有効記憶領域の分割プログラムを記憶制御する機能を有している。
The storage
すなわち、記憶変更制御部15は、カウント数が100回(基準回数)に達した都度(100回毎)、無効記憶領域に設定された分割記憶領域に隣合う分割記憶領域を無効記憶領域として降順に変更設定制御するとともに、これと降順に隣合って組を形成する分割記憶領域の分割プログラムを、無効記憶領域に設定された分割記憶領域に記憶制御し、それまで無効記憶領域であった分割記憶領域を有効記憶領域に変更設定制御する機能を有している。
That is, every time the count reaches 100 times (reference number) (every 100 times), the storage
不揮発性の記憶部7が、例えば図2Aのように設定されている状況で再起動されると、同図Bに示すように、分割記憶領域2を無効記憶領域に変更設定し、分割記憶領域1を有効記憶領域に変更して分割プログラム1〜n−1を読み出す。この際、無効記憶領域の分割記憶領域2は読み飛ばされる。
For example, when the
次いで、図2Cに示すように、分割記憶領域2、3を1組として、無効記憶領域に変更された分割記憶領域2に対して有効記憶領域である分割記憶領域3の分割プログラム2を記憶する。
Next, as shown in FIG. 2C, the divided
以降、図3A〜Fに示すように、分割記憶領域nまでそれらが降順で繰り返される。 Thereafter, as shown in FIGS. 3A to 3F, they are repeated in descending order up to the divided storage area n.
なお、1組の分割記憶領域において無効記憶領域に対して記憶する分割プログラムは、例えば読み出されてRAM5に記憶された分割プログラムを用いてなされる。
Note that the division program stored in the invalid storage area in one set of division storage areas is performed by using, for example, a division program read and stored in the
しかも、記憶変更制御部15は、図4Aに示すように、降順最後の分割記憶領域が無効記憶領域に設定され、次のカウント数が100回に達したとき、同図Bに示すように、昇順で隣合う分割記憶領域を無効記憶領域として変更設定制御するとともに、それまで無効記憶領域であった分割記憶領域を有効記憶領域に変更設定制御する機能を有し、以降、同図C、Dのように昇順で繰り返し制御する。
In addition, as shown in FIG. 4A, the storage
次に、本発明に係る記憶制御装置の動作を簡単に説明する。 Next, the operation of the storage control device according to the present invention will be briefly described.
ここで、予め、図2Aに示すように、分割記憶領域1〜nに分割データとして分割プログラム1〜n−1が分割記憶されており、2個で1組の分割記憶領域1、2が初期設定として無効記憶領域と有効記憶領域に設定されるとともに同じ分割プログラム1が記憶されており(記憶工程)、カウント部13が再起動の都度、読み出し回数をカウントしている(カウント工程)として説明する。
Here, as shown in FIG. 2A, the divided
画像形成装置Aの動作中に、ステップS1にて当該装置の再起動が完了すると、ステップS2にて当該起動回数が100回(m回)で割り切れるか否か主制御部1が判別する。
If the restart of the apparatus is completed in step S1 during the operation of the image forming apparatus A, the
起動回数が100回で割り切れてステップS2がYESであれば、ステップS3にて書込回数から無効記憶領域が降順か昇順かを判別する。 If the activation count is divisible by 100 and step S2 is YES, it is determined in step S3 whether the invalid storage area is in descending order or ascending order from the write count.
続くステップS4では、記憶変更制御部15が、判別された降順又は昇順に沿って無効記憶領域を隣合う分割記憶領域に変更設定するとともにそれまでの無効記憶領域を有効記憶領域に変更設定し、ステップS5にて、記憶変更制御部15が、変更した無効記憶領域に対し隣合う分割記憶領域の分割データを記憶制御し、ステップS6にて次のジョブを待つ(記憶変更制御工程)。
In the subsequent step S4, the storage
起動回数が100回で割り切れずにステップS2がNOであれば、ステップS6のジョブ待ちに移り、所定の処理によって処理ループを抜ける。これらの処理が再起動の都度、実行される。 If the number of activations is 100 and the result is NO and step S2 is NO, the process goes to step S6 to wait for a job and exits the processing loop by a predetermined process. These processes are executed at every restart.
このような主要な処理が本発明の記憶制御方法を構成する。 Such main processing constitutes the storage control method of the present invention.
このように本発明の記憶制御装置は、複数に分割される分割記憶領域を有しプログラムが分割記憶領域に分割記憶される記憶部であって、1組の分割記憶領域が無効記憶領域および有効記憶領域として同一の分割プログラムが記憶される不揮発性の記憶部7と、記憶されたプログラムを記憶部7から読み出す回数をカウントするカウント部13と、このカウント部13によるカウント数が基準回数に達したとき、無効記憶領域として設定された分割記憶領域以外の1組の分割記憶領域を無効記憶領域および有効記憶領域に変更設定制御するとともに、変更された1組の分割記憶領域において無効記憶領域に対して有効記憶領域の分割プログラムを記憶制御する記憶変更制御部15とを具備している。
As described above, the storage control device of the present invention is a storage unit having a divided storage area divided into a plurality of divided storage areas, and a set of divided storage areas includes an invalid storage area and an effective storage area. A
そのため、不揮発性の記憶部7のメモリ記憶容量を、n個の分割記憶領域に細分化し、機器の起動の都度、1個の分割記憶領域を降順に移動させながら分割プログラムを書き込むから、不揮発性の記憶部7に対する動作プログラム等データの書き直し期間が短くなり、記憶過程で種々の事態に起因して書き込みが不成立となり難く、データの確実な書き込みを確保することが容易で、信頼性も向上する。
Therefore, the memory storage capacity of the
しかも、無効記憶領域に設定された分割記憶領域に隣合う分割記憶領域を無効記憶領域として、順次、降順又は昇順に変更設定制御するから、変更する有効記憶領域および無効記憶領域が分散せずに処理速度が低下せず、記憶データの連続性も保持し易い。 In addition, since the divided storage area adjacent to the divided storage area set as the invalid storage area is set as the invalid storage area, the change setting control is sequentially performed in descending order or ascending order, so that the effective storage area and the invalid storage area to be changed are not dispersed. The processing speed does not decrease and the continuity of stored data is easily maintained.
また、本発明の記憶制御装置では、降順最後の分割記憶領域が無効記憶領域に設定され、次回のカウント数が基準回数に達したとき、順次、昇順に変更設定制御する構成も可能であり、分割記憶領域への書き込み記憶をエンドレスで継続実行可能である。 Further, in the storage control device of the present invention, the last divided storage area in descending order is set as an invalid storage area, and when the next count number reaches the reference number, it can be configured to change and control sequentially in ascending order, It is possible to continuously execute endless writing and writing to the divided storage area.
そして、本発明において、当該装置の電源オフ時にデータの記憶確保の可能な記憶容量として選定された分割記憶領域に対して処理をなす構成であるから、特に、記憶部7に対して動作プロラム等の書き直しを行っている過程で種々の事態に起因して書き込みが不成立となり難く、装置の起動確保が可能である。 In the present invention, the processing is performed on the divided storage area selected as the storage capacity capable of securing data storage when the apparatus is powered off. In the process of rewriting, writing is unlikely to be unsuccessful due to various situations, and the start-up of the apparatus can be ensured.
そして、上述した本発明の記憶制御装置では、隣合う2個の分割記憶領域を1組として順次変更設定する構成を説明したが、本発明では隣合う分割記憶領域を1組とする構成に限定されず、任意の分割記憶領域を1組として構成可能であり、上述したように処理速度を低下させ難い。 In the storage control device of the present invention described above, the configuration in which two adjacent divided storage areas are sequentially changed and set as one set has been described. However, the present invention is limited to the configuration in which the adjacent divided storage areas are set as one set. However, it is possible to configure an arbitrary divided storage area as one set, and it is difficult to reduce the processing speed as described above.
ところで、画像形成装置Aにおいては、不揮発性の記憶部7に記憶された動作プログラム等のデータをアップデートする場合が多々あり、この場合にはデータが不揮発性の記憶部7に書き込まれるから、記憶部7の信頼性を確保する観点から、その書き込みを考慮して上述したカウント数が基準回数毎に達したか否か判別することが好ましい。
By the way, in the image forming apparatus A, there are many cases where data such as operation programs stored in the
なお、本発明において、アップデートは、バージョンアップ又はその他の名称で称呼される場合もあるが、本発明においては、いずれもデータやファイルの内容を最新のものに更新する用語として扱う。 In the present invention, the update may be referred to as version upgrade or other names, but in the present invention, all are handled as terms for updating the contents of data and files to the latest.
このような構成に係る記憶制御装置、画像形成装置および記憶制御方法を、他の実施の形態として図6を参照して説明する。 A storage control device, an image forming apparatus, and a storage control method according to such a configuration will be described as another embodiment with reference to FIG.
この構成の画像形成装置Aは、上述した図1の構成に比べて主制御部1に外部記憶部17が接続された点に特徴があり、その他の画像読取部3、RAM5、不揮発性の記憶部7、操作パネル部9および印刷部11は図1と同様である。
The image forming apparatus A having this configuration is characterized in that an
外部記憶部17は、予め、記憶部7に記憶された動作プログラム等のデータを更新するアップデート版が記憶されたものであり、例えばハードディスク(HDD)やUSB(universal serial bus)メモリである。
The
主制御部1は、外部記憶部17が接続されたとき、又は外部記憶部17が接続された状態でパネル操作部9からアップデート指示が入力されたとき、外部記憶部17内のアップデートデータを入力し、記憶部7に記憶されている動作プログラム等のデータを全て書き換え更新制御する機能を有している。
The
カウント部13は、記憶部7の全領域がアップデートデータによって書き換えられたとき、読み出す回数のカウントに基づき、記憶変更制御部17にて扱う専用のカウント数として、前回の基準回数に達したカウント数からカウントし直すよう形成されている。
When the entire area of the
すなわち、カウント部13は、カウント数を「(現在のカウント数)/m)×m」で演算して更新する機能を有している。
That is, the
カウント部13は、例えば基準回数が「100」で、当初からの累積カウント数が「250」の時点で記憶部7のデータがアップデートデータされて書き換え記憶されたとき、「250」を「100」で割った値「2.5」のうち小数点以下を切り捨てて「100」を掛けて得た値「200」を専用のカウント数とし、このカウント数「200」からカウントし直すよう形成されている。
For example, when the reference count is “100” and the accumulated count from the beginning is “250”, the
上述した記憶変更制御部15は、専用のカウント数が「300」になって基準回数に達したとき、無効記憶領域として設定された分割記憶領域以外の2個1組の分割記憶領域の一方を無効記憶領域に変更設定制御するとともに、変更された1組の分割記憶領域において一方の無効記憶領域に対して他方の有効記憶領域の分割プログラムを記憶制御する機能を有している。以降、基準回数毎に記憶制御される。
When the dedicated count number reaches “300” and reaches the reference count, the storage
次に、図6の構成に係る記憶制御装置の動作を図7のフローチャートを参照して簡単に説明する。 Next, the operation of the storage control device according to the configuration of FIG. 6 will be briefly described with reference to the flowchart of FIG.
画像形成装置Aの動作中に、ステップS10にてアップデート処理がなされると、ステップS11にてアップデート成功したか否か判別され、処理が成功してステップS11がYESであればステップS12に移り、処理が不成功でステップS11がNOであれば終了してジョブを待つ。 When the update process is performed in step S10 during the operation of the image forming apparatus A, it is determined whether or not the update is successful in step S11. If the process is successful and step S11 is YES, the process proceeds to step S12. If the process is unsuccessful and step S11 is NO, the process ends and waits for a job.
ステップS12では、アップデート対象に不揮発性の記憶部7の全域領域が指定されているか否か主制御部1が判別し、全領域が指定されていてステップS12がYESであればステップS13に移り、全領域が指定されないでステップS12がNOであれば終了してジョブを待つ。
In step S12, the
ステップS13では、カウント部13がカウント数を「(現在のカウント数)/m)×m」に更新して終了する(カウント工程)。小数点以下は切り捨てられる。
In step S13, the
その後、記憶変更制御部15は、図1の構成と同様に、更新された専用のカウント数に基づき、無効記憶領域として設定された分割記憶領域以外の1組の分割記憶領域を無効記憶領域および有効記憶領域に変更設定制御するとともに、変更設定された1組の分割記憶領域において無効記憶領域に対して有効記憶領域の分割データを記憶制御する。
Thereafter, similarly to the configuration of FIG. 1, the storage
このような図6に係る構成では、カウント数が基準回数の途中において記憶部7のデータがアップデートされても、カウント部13によるカウント数が基準回数に戻されて数え直されるから、アップデートされて直ぐに基準回数に到達することが少なくなる。
In such a configuration according to FIG. 6, even if the data in the
そのため、記憶部7への読み出しタイミングを先に延ばすことが可能で、データのアップデートがあっても、不揮発性の記憶部7の信頼性を向上させることが容易である。
Therefore, it is possible to extend the read timing to the
なお、上述した実施例において、カウント数が基準回数で割られた時に余りがあれば、その切り捨てられた回数分、実際の読み出し回数は少なくなる。 In the above-described embodiment, if there is a remainder when the count number is divided by the reference number, the actual number of readings is reduced by the rounded-down number.
そして、本発明に係る図6の構成において、カウント部13は、カウント数を初期値「0」にリセットし直すよう形成することも可能であり、このような構成では、カウント処理構成が簡単となる。
In the configuration of FIG. 6 according to the present invention, the
最初から読み出す回数のカウントによる累積カウント数を別の用途に使用する場合もあるから、累積カウント数とは別個に、前回の基準回数に達したカウント数から記憶変更制御専用にカウントし直し、基準回数に達する毎に無効記憶領域をシフトさせて分割データを記憶制御する構成の方が好ましいかもしれない。 Since the cumulative number of counts read from the beginning may be used for other purposes, it is counted separately from the count that reached the previous reference number separately from the cumulative count number and dedicated to memory change control. It may be preferable to shift the invalid storage area every time the number of times is reached and to control the storage of the divided data.
要は、記憶部7に記憶されたデータがアップデートされて書き換え記憶されたとき、読み出す回数のカウントに基づき、記憶設定変更のタイミング間隔である基準回数をカウントし直すようカウント部13が形成されていれば、本発明の目的達成が可能である。
In short, when the data stored in the
また、本発明に係る画像形成装置および記憶制御方法は、上述した記憶制御装置と同様の効果を有し、複写機、ファクシミリ機、複合機等の画像形成装置の他、種々の電子機器において実施可能である。 The image forming apparatus and storage control method according to the present invention have the same effects as the storage control apparatus described above, and are implemented in various electronic devices in addition to image forming apparatuses such as copiers, facsimile machines, and multifunction peripherals. Is possible.
1 主制御部
3 画像読取部
5 RAM
7 不揮発性の記憶部
9 操作パネル部(入力部、画面表示部)
11 印刷部(画像形成部)
13 カウント部
15 記憶変更制御部
17 外部記憶装置
A 画像形成装置
1
7 Non-volatile storage unit 9 Operation panel unit (input unit, screen display unit)
11 Printing section (image forming section)
13
Claims (11)
記憶された前記データを前記記憶部から読み出す回数をカウントするカウント部と、
このカウント部によるカウント数が基準回数に達したとき、無効記憶領域として設定された前記分割記憶領域以外の1組の前記分割記憶領域を無効記憶領域および有効記憶領域に変更設定制御するとともに、変更設定された1組の前記分割記憶領域において無効記憶領域に対して有効記憶領域の前記分割データを記憶制御する記憶変更制御部と、
を具備し、
前記記憶変更制御部は、前記カウント数が基準回数に達したとき、無効記憶領域に設定された前記分割記憶領域に隣合う前記分割記憶領域を無効記憶領域として、順次、降順又は昇順に変更設定制御し、降順又は昇順最後の前記分割記憶領域が前記無効記憶領域に設定され、次回の前記カウント数が基準回数に達したとき、順次、昇順又は降順に変更設定制御することを特徴とする記憶制御装置。 A non-volatile storage unit having a divided storage area divided into a plurality of divided storage areas and storing data in the divided storage area, wherein one set of the divided storage areas is the same divided as an invalid storage area and an effective storage area A nonvolatile storage unit for storing data;
A count unit that counts the number of times the stored data is read from the storage unit;
When the count by the count unit reaches the reference number, the set of the divided storage areas other than the divided storage area set as the invalid storage area is changed to the invalid storage area and the valid storage area, and the change is controlled. A storage change control unit for storing and controlling the divided data in the effective storage area with respect to the invalid storage area in the set of the divided storage areas;
Comprising
When the count reaches the reference number, the storage change control unit sequentially sets the divided storage area adjacent to the divided storage area set as the invalid storage area as an invalid storage area, and sets the change in descending order or ascending order. Control, the last divided storage area in descending order or ascending order is set as the invalid storage area, and when the next count number reaches the reference number, the change setting control is performed sequentially, in ascending order or descending order. Control device.
記憶された前記データを前記記憶部から読み出す回数をカウントするカウント工程と、
前記カウント工程によるカウント数が基準回数に達したとき、無効記憶領域として設定された前記分割記憶領域以外の1組の前記分割記憶領域を無効記憶領域および有効記憶領域に変更設定制御し、変更設定された1組の前記分割記憶領域において無効記憶領域に対して有効記憶領域の前記分割データを記憶制御する記憶変更制御工程と、
を具備し、
前記記憶変更制御工程は、前記カウント数が基準回数に達したとき、無効記憶領域に設定された前記分割記憶領域に隣合う前記分割記憶領域を無効記憶領域として、順次、降順又は昇順に変更設定制御し、降順又は昇順最後の前記分割記憶領域を前記無効記憶領域に設定し、次回の前記カウント数が基準回数に達したとき、順次、昇順又は降順に変更設定制御することを特徴とする記憶制御方法。 In the storage control unit, the nonvolatile storage unit in which data has a divided memory area divided into a plurality are divided stored in the divided memory areas, as well as distributed storage the data of the divided memory areas as an active memory area A storage step of storing the same divided data as one set of the divided storage areas as an invalid storage area and an effective storage area;
A counting step of counting the number of times the stored data is read from the storage unit;
When the number of counts in the counting step reaches the reference number, the set of the divided storage areas other than the divided storage area set as the invalid storage area is changed to the invalid storage area and the valid storage area, and the change setting is performed. A storage change control step of storing and controlling the divided data in the effective storage area with respect to the invalid storage area in the set of divided storage areas,
Comprising
In the storage change control step, when the count number reaches the reference number, the divided storage area adjacent to the divided storage area set as the invalid storage area is set as an invalid storage area, and sequentially changed in descending order or ascending order. Control, set the last divided storage area in descending order or ascending order as the invalid storage area, and when the next number of counts reaches a reference number, change setting control sequentially, in ascending order or descending order Control method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011052943A JP5523379B2 (en) | 2010-03-18 | 2011-03-10 | Storage control device, image forming apparatus, and storage control method |
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010061860 | 2010-03-18 | ||
JP2010061860 | 2010-03-18 | ||
JP2011052943A JP5523379B2 (en) | 2010-03-18 | 2011-03-10 | Storage control device, image forming apparatus, and storage control method |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011216082A JP2011216082A (en) | 2011-10-27 |
JP5523379B2 true JP5523379B2 (en) | 2014-06-18 |
Family
ID=44945693
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011052943A Active JP5523379B2 (en) | 2010-03-18 | 2011-03-10 | Storage control device, image forming apparatus, and storage control method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5523379B2 (en) |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH07287672A (en) * | 1994-04-18 | 1995-10-31 | Rinnai Corp | Equipment controller |
JP3268130B2 (en) * | 1994-07-20 | 2002-03-25 | 株式会社東芝 | Data processing device using flash EEPROM |
FR2787601A1 (en) * | 1998-12-22 | 2000-06-23 | Gemplus Card Int | Memory system with anti-wear memory management and method of managing an anti-wear memory so as to increase duration life of memory |
JP2000298626A (en) * | 1999-04-13 | 2000-10-24 | Nec Corp | System and method for activating flash memory circuit |
JP2008181380A (en) * | 2007-01-25 | 2008-08-07 | Toshiba Corp | Memory system, and method for controlling the same |
JP5661227B2 (en) * | 2007-02-07 | 2015-01-28 | 株式会社メガチップス | Memory controller |
JP2009031928A (en) * | 2007-07-25 | 2009-02-12 | Kyocera Mita Corp | Electronic apparatus |
KR20090014036A (en) * | 2007-08-03 | 2009-02-06 | 삼성전자주식회사 | Memory system protected from errors due to read disturbance and method thereof |
-
2011
- 2011-03-10 JP JP2011052943A patent/JP5523379B2/en active Active
Also Published As
Publication number | Publication date |
---|---|
JP2011216082A (en) | 2011-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
NL2007975C2 (en) | Information processing apparatus capable of appropriately executing shutdown processing, method of controlling the information processing apparatus, and storage medium. | |
JP2008087353A (en) | Electronic device with power saving function | |
JP2012168937A (en) | Memory control apparatus for controlling data writing into storage, control method therefor, storage medium, and image forming apparatus | |
JP2013126717A (en) | Image forming apparatus and image forming method | |
JP2013115524A (en) | Image formation device | |
JP5984326B2 (en) | Information processing apparatus, program update method, and program | |
JP2016110642A (en) | Information processing device, restart execution method and restart execution program | |
JP2017130071A (en) | Image processing apparatus, memory control device, and memory control method | |
JP6226243B2 (en) | Image forming apparatus, operation control method, and operation control program | |
JP5523379B2 (en) | Storage control device, image forming apparatus, and storage control method | |
JP2008097169A (en) | Data saving device and data saving method | |
JP6528952B2 (en) | Electronic device and processing execution program | |
JP2013050835A (en) | Storage control device, image forming device, and storage control method | |
JP6459543B2 (en) | Image forming apparatus, job processing control method, and job processing control program | |
JP2019204209A (en) | Information processing apparatus and power supply control method | |
JP6234885B2 (en) | Image processing device | |
JP2020021985A (en) | Image processing device, method of controlling the same, and program | |
JP2016103160A (en) | Image processing device and method of updating program | |
JP7505315B2 (en) | Image processing device and setting data management system | |
JP2012064142A (en) | Image processing device and image formation device | |
JP2012160112A (en) | Information processing device and control method thereof | |
JP7508345B2 (en) | COMMUNICATION DEVICE, CONTROL METHOD, AND PROGRAM | |
JP7298442B2 (en) | Electronic control device, control method by main processor of electronic control device, and control program executed by main processor of electronic control device | |
JP2022143497A (en) | Information processing apparatus and power supply control method | |
JP2013101451A (en) | Firmware update system and firmware update method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20130222 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20131029 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20131112 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20131209 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20140121 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20140218 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20140311 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20140408 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5523379 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 |