JP5523379B2 - Storage control device, image forming apparatus, and storage control method - Google Patents

Storage control device, image forming apparatus, and storage control method Download PDF

Info

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
Application number
JP2011052943A
Other languages
Japanese (ja)
Other versions
JP2011216082A (en
Inventor
明彦 伊ヶ崎
克玄 林
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.)
Kyocera Document Solutions Inc
Original Assignee
Kyocera Document Solutions 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 Kyocera Document Solutions Inc filed Critical Kyocera Document Solutions Inc
Priority to JP2011052943A priority Critical patent/JP5523379B2/en
Publication of JP2011216082A publication Critical patent/JP2011216082A/en
Application granted granted Critical
Publication of JP5523379B2 publication Critical patent/JP5523379B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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 patent document 1 has a flash EEPROM in which data can be erased in units of blocks, and various control information for specifying a function executed by the device is duplicated, and the first and second erasures of the flash EEPROM are performed. Means for writing the same control information in the block, and means for determining which control information of the first and second erase blocks is used as valid information and reading out the control information of the valid block, Even if a power interruption or some other error occurs during the update of one erase block, the control information of the other erase block is normally held.

特開平8−30515号公報JP-A-8-30515

しかしながら、上述した特許文献1は、データの読み出しが多発される環境下を想定しているものではなく、一般的な使用環境下の中で、書き込みエリアを多重化することで信頼性を確保しており、装置に搭載した記憶部に対してデータの書き直しを行っている状態の下で、データ書き込みを確保する根本的な改善にはなり難い。   However, Patent Document 1 described above does not assume an environment in which data is frequently read, and reliability is ensured by multiplexing write areas in a general use environment. Therefore, it is difficult to achieve a fundamental improvement to ensure data writing in a state where data is rewritten to the storage unit installed in the apparatus.

本発明はそのような課題を解決するためになされたもので、不揮発性の記憶部の記憶容量を細分化し、データの確実な書き込みを確保することが容易で信頼性を向上させた記憶制御装置、画像形成装置および記憶制御方法の提供を目的とする。   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 claim 1 of the present invention is a storage unit that has a divided storage area divided into a plurality of parts, and in which data is divided and stored in the divided storage area. A set of those divided storage areas is an invalid storage area and a non-volatile storage section in which the same divided data is stored as an effective storage area, a count section that counts the number of times the stored data is read from the storage section, and this When the count number by the counting 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 set. And a storage change control unit for storing and controlling the divided data of the effective storage area with respect to the invalid storage area in the set of divided storage areas.

本発明の請求項1に係る記憶制御装置は、上記記憶変更制御部が、そのカウント数が基準回数に達したとき、その無効記憶領域に設定された分割記憶領域に隣合う分割記憶領域を無効記憶領域として、順次、降順又は昇順に変更設定制御する構成である。   In the storage control device according to claim 1 of the present invention, the storage change control unit invalidates the divided storage area adjacent to the divided storage area set as the invalid storage area when the count reaches the reference number. The storage area is configured to perform change setting control sequentially, in descending order or ascending order.

本発明の請求項1に係る記憶制御装置は、上記記憶変更制御部が、降順又は昇順最後の分割記憶領域を無効記憶領域に設定し、次回の前記カウント数が基準回数に達したとき、順次、昇順又は降順に変更設定制御する構成である。   In the storage control device according to claim 1 of the present invention, the storage change control unit sets the last divided storage area in descending order or ascending order as an invalid storage area, and when the next count reaches the reference number, In this configuration, change setting control is performed in ascending or descending order.

本発明の請求項2に係る記憶制御装置は、上記記憶部が、当該記憶制御装置の電源オフ時にデータの記憶確保の可能な記憶容量を分割記憶領域として選定する構成である。 The storage control device according to claim 2 of the present invention is configured such that the storage unit selects a storage capacity capable of securing data storage as the divided storage area when the storage control device is powered off.

本発明の請求項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 claim 4 of the present invention is configured such that the counting unit re-counts from the count number that has reached the previous reference number as the dedicated count number handled by the storage change control unit. It is.

本発明の請求項5に係る記憶制御装置は、上記カウント部が、そのカウント数を初期値にリセットし直すよう形成された構成である。   The storage control device according to claim 5 of the present invention has a configuration in which the count unit is formed so as to reset the count number to an initial value.

本発明の請求項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 claim 7 of the present invention, in the storage controller, the nonvolatile storage unit in which data has a divided memory area divided into a plurality is divided memory in the divided memory areas, the divided memory areas And storing the same divided data as a set of the divided storage areas as the invalid storage area and the effective storage area, and the number of times of reading the stored data from the storage unit. a counting step of counting, when the count number by the counting process reaches a reference number, changing setting a pair of divided memory areas other than the divided memory area set as the invalid storage area disable storage area and the effective storage area Control and storage control of the divided data in the effective storage area with respect to the invalid storage area in the set of changed divided storage areas. And comprising a change control step.

本発明の請求項7に係る記憶制御方法は、上記記憶変更制御工程が、そのカウント数が基準回数に達したとき、その無効記憶領域に設定された分割記憶領域に隣合う分割記憶領域を無効記憶領域として、順次、降順又は昇順に変更設定制御する構成である。   In the storage control method according to claim 7 of the present invention, when the storage change control step reaches the reference number, the divided storage area adjacent to the divided storage area set as the invalid storage area is invalidated. The storage area is configured to perform change setting control sequentially, in descending order or ascending order.

本発明の請求項7に係る記憶制御方法は、上記記憶変更制御工程が、降順又は昇順最後の分割記憶領域を無効記憶領域に設定し、次回のカウント数が基準回数に達したとき、順次、昇順又は降順に変更設定制御する構成である。   In the storage control method according to claim 7 of the present invention, the storage change control step sets the last divided storage area in descending order or ascending order as an invalid storage area, and when the next count reaches the reference number, In this configuration, change setting control is performed in ascending order or descending order.

本発明の請求項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 claim 11 of the present invention is such that the counting step resets the count number to an initial value.

このような本発明の請求項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 claims 1 and 7 of the present invention, when the count reaches the reference number, the divided storage area adjacent to the divided storage area set as the invalid storage area is invalid stored. Since the change setting control is performed as the area sequentially, in descending order or ascending order, in addition to the effects described above, the processing speed does not decrease and the continuity of stored data is easily maintained.

本発明の請求項1、7に係る記憶制御装置および記憶制御方法では、降順又は昇順最後の分割記憶領域が無効記憶領域に設定され、次回のカウント数が基準回数に達したとき、順次、昇順又は降順に変更設定制御するから、分割記憶領域への書き込み記憶を継続して実行可能である。   In the storage control device and storage control method according to claims 1 and 7 of the present invention, the last divided storage area in descending order or ascending order is set as an invalid storage area, and when the next count reaches the reference number, the ascending order Alternatively, since the change setting control is performed in descending order, the write storage to the divided storage area can be continued.

本発明の請求項2、8に係る記憶制御装置および記憶制御方法では、当該記憶制御装置の電源オフ時にデータの記憶確保の可能な記憶容量として選定された分割記憶領域に対して処理するから、記憶部に対して動作プログラム等の書き直しを行っている過程で種々の事態に起因して書き込みが不成立となり難く、装置の起動確保が可能である。 In the storage control device and the storage control method according to claims 2 and 8 of the present invention, when the storage control device is powered off, processing is performed on the divided storage area selected as the storage capacity capable of ensuring data storage. In the process of rewriting the operation program or the like on the storage unit, writing is unlikely to be unsuccessful due to various situations, and it is possible to ensure startup of the apparatus.

本発明の請求項3、9に係る記憶制御装置および記憶制御方法では、その記憶部に記憶されたデータがアップデートされて書き換え記憶されたとき、その基準回数でそのカウント数をカウントし直すから、不揮発性の記憶部の分割記憶領域への分割データ書き直しタイミングを先に延ばすことが可能で、データのアップデートがあっても、不揮発性の記憶部の信頼性を向上させることが容易である。   In the storage control device and the storage control method according to claims 3 and 9 of the present invention, when the data stored in the storage unit is updated and rewritten and stored, the count number is recounted by the reference number. The timing of rewriting the divided data in the divided storage area of the nonvolatile storage unit can be extended first, and it is easy to improve the reliability of the nonvolatile storage unit even if the data is updated.

本発明の請求項4、10に係る記憶制御装置および記憶制御方法では、記憶変更制御にて扱う専用のカウント数として、前回の基準回数に達したカウント数からカウントし直すから、上述した効果に加えて、その読み出す回数のカウントとは別個の専用のカウント数に基づき記憶変更制御可能であり、その読み出す回数のカウントを別の用途に使用可能である。   In the storage control device and the storage control method according to claims 4 and 10 of the present invention, the dedicated count number handled in the storage change control is re-counted from the count number that has reached the previous reference count. In addition, the memory change control can be performed based on a dedicated count number that is different from the count of the number of times of reading, and the count of the number of times of reading can be used for another purpose.

本発明の請求項5、11に係る記憶制御装置および記憶制御方法では、そのカウント数を初期値にリセットし直すから、上述した効果に加えて、カウント処理構成が簡単である。   In the storage control device and the storage control method according to claims 5 and 11 of the present invention, the count number is reset to the initial value, so that the count processing configuration is simple in addition to the effects described above.

本発明に係る記憶制御装置を含む画像形成装置の実施の形態を示す概略ブロック図である。1 is a schematic block diagram showing an embodiment of an image forming apparatus including a storage control device according to the present invention. 本発明に係る記憶制御装置の動作を説明する図である。It is a figure explaining operation | movement of the memory | storage control apparatus which concerns on this invention. 本発明に係る記憶制御装置の動作を説明する図である。It is a figure explaining operation | movement of the memory | storage control apparatus which concerns on this invention. 本発明に係る記憶制御装置の動作を説明する図である。It is a figure explaining operation | movement of the memory | storage control apparatus which concerns on this invention. 本発明に係る記憶制御装置の動作を説明するフローチャートである。4 is a flowchart for explaining the operation of the storage control device according to the present invention. 本発明に係る記憶制御装置を含む画像形成装置の他の実施の形態を示す概略ブロック図である。It is a schematic block diagram which shows other embodiment of the image forming apparatus containing the memory | storage control apparatus based on this invention. 図6に係る記憶制御装置の動作を説明するフローチャートである。7 is a flowchart illustrating an operation of the storage control device according to FIG. 6.

以下、本発明に係る記憶制御装置、画像形成装置および記憶制御方法の実施の形態を図面を参照して説明する。なお、本発明に係る記憶制御装置および記憶制御方法は画像形成装置を説明する過程で説明する。   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 image reading unit 3, a RAM (random access memory) 5, a non-volatile storage unit 7, an operation panel unit 9 and a printing unit 11 with the main control unit 1 as a center. It is composed. Although the image forming apparatus A has various configurations other than this, it is not a main part of the present invention, and thus the description and illustration are omitted.

主制御部1は、画像読取部3、RAM5、不揮発性の記憶部7、操作パネル部9および印刷部11を制御するものであるが、詳細は後述する。   The main control unit 1 controls the image reading unit 3, the RAM 5, the nonvolatile storage unit 7, the operation panel unit 9 and the printing unit 11, details of which will be described later.

画像読取部3は、例えば画像形成装置Aの図示しない本体ケースの上部に配置され、主制御部1の制御の下、原稿画像の表示された原稿用紙から当該紙面の画像状態を光学的に読み込み、フィルタ処理等をして電子的画像データを生成するスキャナ部としての機能を有し、画像データを例えばRAM5等に記憶する。   The image reading unit 3 is disposed, for example, in the upper part of a main body case (not shown) of the image forming apparatus A, and optically reads the image state of the paper surface from the original paper on which the original image is displayed under the control of the main control unit 1. It has a function as a scanner unit that generates electronic image data by performing filter processing or the like, and stores the image data in, for example, the RAM 5 or the like.

RAM5は、後述するように不揮発性の記憶部7に記憶された動作プログラム(データ)を読み出して記憶する他、主制御部1等の動作途中の処理データ等を一時的に記憶する機能を有する。   The RAM 5 has a function of reading out and storing an operation program (data) stored in the nonvolatile storage unit 7 as will be described later, and temporarily storing processing data during operation of the main control unit 1 and the like. .

不揮発性の記憶部7は、主制御部1等を動作させる動作プログラムおよび操作パネル部9の動作画面(データ)等を記憶する読み書き可能な例えばフラッシュメモリ(商標)であり、図2および図3に示すように、複数に分割される分割記憶領域(ブロック)および個々の分割記憶領域の特徴を関連づけるフラグ領域を有している。   The nonvolatile storage unit 7 is a readable / writable flash memory (trademark) for storing an operation program for operating the main control unit 1 and the like, an operation screen (data) of the operation panel unit 9, and the like. As shown in FIG. 4, the image data has a divided storage area (block) divided into a plurality of areas and a flag area that associates the characteristics of the individual divided storage areas.

しかも、不揮発性の記憶部7は、動作プログラム等のデータがそれら複数の分割記憶領域に分割記憶されるとともに、2個で1組の分割記憶領域が無効記憶領域および有効記憶領域として同一の分割データが記憶されるようになっている。   In addition, the non-volatile storage unit 7 stores data such as operation programs in the plurality of divided storage areas, and two sets of divided storage areas have the same division as an invalid storage area and an effective storage area. Data is stored.

それら分割記憶領域は、当該画像形成装置の電源オフ時に電源供給が急激に低下する過程(ごく短期間)でも、分割データを記憶してその確保が可能な記憶容量に設定されている。   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 nonvolatile storage unit 7 from 1 to n, and a program as data is stored in each of the divided storage areas 1 to n. A divided program (simply abbreviated as a program in the figure) shows a state of being divided and stored in 1 to n−1, and n flag areas associated with each divided storage area 1 to n are valid storage areas and invalid. A storage area (abbreviated as valid or invalid in the figure) is set.

分割記憶領域1、2の2個で1組となっており、初期設定として分割記憶領域1が無効記憶領域に、分割記憶領域2が有効記憶領域に設定され、無効記憶領域の分割記憶領域1に対して有効記憶領域の分割記憶領域2の分割プログラム1も記憶されている。1組の分割記憶領域1、2には同一の分割プログラム1が記憶されている。   The divided storage areas 1 and 2 form one set. As an initial setting, the divided storage area 1 is set as an invalid storage area, the divided storage area 2 is set as a valid storage area, and the divided storage area 1 of the invalid storage area is set. On the other hand, the divided program 1 of the divided storage area 2 of the effective storage area is also stored. One set of divided storage areas 1 and 2 stores the same divided program 1.

操作パネル部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 main control unit 1.

印刷部11は、画像形成装置Aの本体ケース内に配置され、用紙のセットされる給紙段から当該用紙を給紙し、RAM5の画像データに基づき画像形成してトナー像をその用紙に転写する画像形成部等を有している。   The printing unit 11 is arranged in the main body case of the image forming apparatus A, feeds the paper from the paper feed stage where the paper is set, forms an image based on the image data in the RAM 5, and transfers the toner image onto the paper. An image forming unit or the like.

主制御部1は、CPU(central processing unit)、このCPUの起動プログラムを格納したメモリ部、入出力インターフェース(いずれも図示せず。)を有し、上述した画像読取部3、RAM5、不揮発性の記憶部7、操作パネル部9および印刷部11を制御する機能の他、以下の機能を有している。   The main control unit 1 includes a CPU (central processing unit), a memory unit that stores a startup program for the CPU, and an input / output interface (none of which are shown), and the image reading unit 3, the RAM 5, and the nonvolatile memory described above. In addition to the function of controlling the storage unit 7, the operation panel unit 9 and the printing unit 11, the following functions are provided.

すなわち、主制御部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 main control unit 1 controls supply of power to a startup component (not shown) necessary for restart, and controls the image reading unit 3, RAM 5, and nonvolatile storage unit 7. , A function for controlling the transition to the power saving mode for cutting off the supply of power to the operation panel unit 9 and the printing unit 11, and when there is an input instruction or the like to the activation component, the normal mode is resumed. In the process of starting, power is sequentially supplied to the image reading unit 3, the operation panel unit 9, the printing unit 11, and the like, the non-volatile storage unit 7 is started, and the divided programs 1 to n-1 are read to perform the entire operation. The program is stored in the RAM 5 and has a function of controlling restart.

不揮発性の記憶部7から分割プログラムを読み出すとき、主制御部1は、無効記憶領域に設定された分割記憶領域を読み飛ばし制御する。   When reading the divided program from the nonvolatile storage unit 7, the main control unit 1 controls to skip the divided storage area set as the invalid storage area.

なお、入力指示としては、図示はしないが、省電力モード下でも動作可能になっている例えば電源スイッチのオン操作、ネットワークを介した印刷ジョブの入力、印刷ジョブを格納した外部記憶装置の接続等がある。   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 main control unit 1 has functions as a counting unit 13 and a memory change control unit 15.

カウント部13は、不揮発性の記憶部7から動作プログラム等のデータを読み出す回数をカウントし、カウント数を一次的に記憶する機能を有している。   The count unit 13 has a function of counting the number of times data such as an operation program is read from the nonvolatile storage unit 7 and temporarily storing the count number.

記憶変更制御部15は、予め設定された基準回数(m回例えば100回)を記憶しており、カウント部13によるカウント数が基準回数に達した都度、無効記憶領域として設定された分割記憶領域以外の2個1組の分割記憶領域の一方を無効記憶領域に変更設定制御するとともに、変更された1組の分割記憶領域において一方の無効記憶領域に対して他方の有効記憶領域の分割プログラムを記憶制御する機能を有している。   The storage change control unit 15 stores a preset reference number (m times, for example, 100 times), and a divided storage area set as an invalid storage area every time the count number by the count unit 13 reaches the reference number One of the two sets of divided storage areas other than the above is controlled to be changed to an invalid storage area, and the divided program of the other effective storage area is changed with respect to one invalid storage area in the changed set of divided storage areas. It has a memory control function.

すなわち、記憶変更制御部15は、カウント数が100回(基準回数)に達した都度(100回毎)、無効記憶領域に設定された分割記憶領域に隣合う分割記憶領域を無効記憶領域として降順に変更設定制御するとともに、これと降順に隣合って組を形成する分割記憶領域の分割プログラムを、無効記憶領域に設定された分割記憶領域に記憶制御し、それまで無効記憶領域であった分割記憶領域を有効記憶領域に変更設定制御する機能を有している。   That is, every time the count reaches 100 times (reference number) (every 100 times), the storage change control unit 15 sets the divided storage area adjacent to the divided storage area set as the invalid storage area in descending order as the invalid storage area. The divided storage area divided program that forms a pair adjacent to this in descending order is controlled to be stored in the divided storage area set as the invalid storage area, and the divided storage area until then is divided. It has a function to change and control the storage area as an effective storage area.

不揮発性の記憶部7が、例えば図2Aのように設定されている状況で再起動されると、同図Bに示すように、分割記憶領域2を無効記憶領域に変更設定し、分割記憶領域1を有効記憶領域に変更して分割プログラム1〜n−1を読み出す。この際、無効記憶領域の分割記憶領域2は読み飛ばされる。   For example, when the nonvolatile storage unit 7 is restarted in a state set as shown in FIG. 2A, the divided storage area 2 is changed to an invalid storage area as shown in FIG. 1 is changed to an effective storage area, and divided programs 1 to n-1 are read. At this time, the divided storage area 2 of the invalid storage area is skipped.

次いで、図2Cに示すように、分割記憶領域2、3を1組として、無効記憶領域に変更された分割記憶領域2に対して有効記憶領域である分割記憶領域3の分割プログラム2を記憶する。   Next, as shown in FIG. 2C, the divided storage areas 2 and 3 are taken as one set, and the divided program 2 of the divided storage area 3 that is an effective storage area is stored in the divided storage area 2 changed to the invalid storage area. .

以降、図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 RAM 5.

しかも、記憶変更制御部15は、図4Aに示すように、降順最後の分割記憶領域が無効記憶領域に設定され、次のカウント数が100回に達したとき、同図Bに示すように、昇順で隣合う分割記憶領域を無効記憶領域として変更設定制御するとともに、それまで無効記憶領域であった分割記憶領域を有効記憶領域に変更設定制御する機能を有し、以降、同図C、Dのように昇順で繰り返し制御する。   In addition, as shown in FIG. 4A, the storage change control unit 15 sets the last divided storage area in descending order as an invalid storage area, and when the next count reaches 100 times, as shown in FIG. The divided storage areas adjacent to each other in ascending order are changed and controlled as invalid storage areas, and the divided storage areas that were previously invalid storage areas are changed and changed to effective storage areas. Control is repeated in ascending order.

次に、本発明に係る記憶制御装置の動作を簡単に説明する。   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 programs 1 to n-1 are divided and stored as divided data in the divided storage areas 1 to n in advance, and one set of divided storage areas 1 and 2 is initial. It is set as an invalid storage area and a valid storage area as a setting, and the same divided program 1 is stored (storage process), and the count unit 13 counts the number of readings every time it restarts (count process). To do.

画像形成装置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 main control unit 1 determines whether or not the start count is divisible by 100 times (m times) in step S2.

起動回数が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 change control unit 15 changes and sets the invalid storage area to the adjacent divided storage area along the determined descending order or ascending order and changes and sets the invalid storage area so far to the valid storage area, In step S5, the storage change control unit 15 stores and controls the divided data in the divided storage area adjacent to the changed invalid storage area, and waits for the next job in step S6 (storage change control process).

起動回数が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 nonvolatile storage unit 7 that stores the same divided program as a storage area, a count unit 13 that counts the number of times the stored program is read from the storage unit 7, and the count number by the count unit 13 reaches the reference number Then, a 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 invalid storage area is changed to the invalid storage area in the changed set of divided storage areas. On the other hand, a storage change control unit 15 for storing and controlling the divided program of the effective storage area is provided.

そのため、不揮発性の記憶部7のメモリ記憶容量を、n個の分割記憶領域に細分化し、機器の起動の都度、1個の分割記憶領域を降順に移動させながら分割プログラムを書き込むから、不揮発性の記憶部7に対する動作プログラム等データの書き直し期間が短くなり、記憶過程で種々の事態に起因して書き込みが不成立となり難く、データの確実な書き込みを確保することが容易で、信頼性も向上する。   Therefore, the memory storage capacity of the nonvolatile storage unit 7 is subdivided into n divided storage areas, and each time the device is started, the divided program is written while moving the one divided storage area in descending order. The rewriting period of the data such as the operation program for the storage unit 7 is shortened, writing is unlikely to be unsuccessful due to various situations in the storing process, it is easy to ensure reliable writing of data, and reliability is improved. .

しかも、無効記憶領域に設定された分割記憶領域に隣合う分割記憶領域を無効記憶領域として、順次、降順又は昇順に変更設定制御するから、変更する有効記憶領域および無効記憶領域が分散せずに処理速度が低下せず、記憶データの連続性も保持し易い。   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 non-volatile storage unit 7 is updated. In this case, the data is written in the non-volatile storage unit 7. From the viewpoint of ensuring the reliability of the unit 7, it is preferable to determine whether or not the above-described count number has reached every reference number in consideration of the writing.

なお、本発明において、アップデートは、バージョンアップ又はその他の名称で称呼される場合もあるが、本発明においては、いずれもデータやファイルの内容を最新のものに更新する用語として扱う。   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 external storage unit 17 is connected to the main control unit 1 as compared to the configuration of FIG. 1 described above, and the other image reading unit 3, RAM 5, and nonvolatile storage. The unit 7, the operation panel unit 9, and the printing unit 11 are the same as those in FIG.

外部記憶部17は、予め、記憶部7に記憶された動作プログラム等のデータを更新するアップデート版が記憶されたものであり、例えばハードディスク(HDD)やUSB(universal serial bus)メモリである。   The external storage unit 17 stores an update version for updating data such as an operation program stored in the storage unit 7 in advance, and is, for example, a hard disk (HDD) or a USB (universal serial bus) memory.

主制御部1は、外部記憶部17が接続されたとき、又は外部記憶部17が接続された状態でパネル操作部9からアップデート指示が入力されたとき、外部記憶部17内のアップデートデータを入力し、記憶部7に記憶されている動作プログラム等のデータを全て書き換え更新制御する機能を有している。   The main control unit 1 inputs update data in the external storage unit 17 when the external storage unit 17 is connected or when an update instruction is input from the panel operation unit 9 with the external storage unit 17 connected. In addition, all the data such as the operation program stored in the storage unit 7 is rewritten and updated.

カウント部13は、記憶部7の全領域がアップデートデータによって書き換えられたとき、読み出す回数のカウントに基づき、記憶変更制御部17にて扱う専用のカウント数として、前回の基準回数に達したカウント数からカウントし直すよう形成されている。   When the entire area of the storage unit 7 is rewritten by the update data, the count unit 13 is based on the count of the number of times of reading, and the count number that has reached the previous reference number as a dedicated count number handled by the storage change control unit 17 It is formed to start counting again.

すなわち、カウント部13は、カウント数を「(現在のカウント数)/m)×m」で演算して更新する機能を有している。   That is, the count unit 13 has a function of calculating and updating the count number by “(current count number) / m) × m”.

カウント部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 count unit 13 updates “250” to “100” when the data in the storage unit 7 is updated and stored. A value “200” obtained by rounding off the decimal point and multiplying by “100” among the values “2.5” divided by “2.5” is used as a dedicated count number, and the count number “200” is re-counted. .

上述した記憶変更制御部15は、専用のカウント数が「300」になって基準回数に達したとき、無効記憶領域として設定された分割記憶領域以外の2個1組の分割記憶領域の一方を無効記憶領域に変更設定制御するとともに、変更された1組の分割記憶領域において一方の無効記憶領域に対して他方の有効記憶領域の分割プログラムを記憶制御する機能を有している。以降、基準回数毎に記憶制御される。   When the dedicated count number reaches “300” and reaches the reference count, the storage change control unit 15 described above selects one of the two divided storage areas other than the divided storage area set as the invalid storage area. In addition to controlling the change setting to the invalid storage area, it has the function of storing and controlling the divided program of the other effective storage area with respect to one invalid storage area in the changed set of divided storage areas. Thereafter, storage control is performed for each reference number.

次に、図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 main control unit 1 determines whether or not the entire area of the nonvolatile storage unit 7 is designated as an update target. If all the areas are designated and step S12 is YES, the process proceeds to step S13. If all the areas are not specified and step S12 is NO, the process ends and waits for a job.

ステップS13では、カウント部13がカウント数を「(現在のカウント数)/m)×m」に更新して終了する(カウント工程)。小数点以下は切り捨てられる。   In step S13, the count unit 13 updates the count number to “(current count number) / m) × m” and ends (counting step). The decimal part is rounded down.

その後、記憶変更制御部15は、図1の構成と同様に、更新された専用のカウント数に基づき、無効記憶領域として設定された分割記憶領域以外の1組の分割記憶領域を無効記憶領域および有効記憶領域に変更設定制御するとともに、変更設定された1組の分割記憶領域において無効記憶領域に対して有効記憶領域の分割データを記憶制御する。   Thereafter, similarly to the configuration of FIG. 1, the storage change control unit 15 sets one set of divided storage areas other than the divided storage area set as the invalid storage area based on the updated dedicated count number and the invalid storage area and The change setting control is performed on the effective storage area, and the divided data of the effective storage area is stored and controlled with respect to the invalid storage area in the set of the divided storage areas.

このような図6に係る構成では、カウント数が基準回数の途中において記憶部7のデータがアップデートされても、カウント部13によるカウント数が基準回数に戻されて数え直されるから、アップデートされて直ぐに基準回数に到達することが少なくなる。   In such a configuration according to FIG. 6, even if the data in the storage unit 7 is updated while the count number is in the middle of the reference number, the count number by the count unit 13 is reset to the reference number and is counted again. It is less likely that the reference number will be reached soon.

そのため、記憶部7への読み出しタイミングを先に延ばすことが可能で、データのアップデートがあっても、不揮発性の記憶部7の信頼性を向上させることが容易である。   Therefore, it is possible to extend the read timing to the storage unit 7 first, and it is easy to improve the reliability of the nonvolatile storage unit 7 even when data is updated.

なお、上述した実施例において、カウント数が基準回数で割られた時に余りがあれば、その切り捨てられた回数分、実際の読み出し回数は少なくなる。   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 count unit 13 can be formed to reset the count number to the initial value “0”. In such a configuration, the count processing configuration is simple. Become.

最初から読み出す回数のカウントによる累積カウント数を別の用途に使用する場合もあるから、累積カウント数とは別個に、前回の基準回数に達したカウント数から記憶変更制御専用にカウントし直し、基準回数に達する毎に無効記憶領域をシフトさせて分割データを記憶制御する構成の方が好ましいかもしれない。   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 storage unit 7 is updated and rewritten and stored, the count unit 13 is formed so as to recount the reference number, which is the timing interval for changing the storage setting, based on the count of the number of times of reading. Then, the object of the present invention can be achieved.

また、本発明に係る画像形成装置および記憶制御方法は、上述した記憶制御装置と同様の効果を有し、複写機、ファクシミリ機、複合機等の画像形成装置の他、種々の電子機器において実施可能である。   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 Main control unit 3 Image reading unit 5 RAM
7 Non-volatile storage unit 9 Operation panel unit (input unit, screen display unit)
11 Printing section (image forming section)
13 Count unit 15 Storage change control unit 17 External storage device A Image forming apparatus

Claims (11)

複数に分割される分割記憶領域を有しデータが前記分割記憶領域に分割記憶される不揮発性の記憶部であって、1組の前記分割記憶領域が無効記憶領域および有効記憶領域として同一の分割データが記憶される不揮発性の記憶部と、
記憶された前記データを前記記憶部から読み出す回数をカウントするカウント部と、
このカウント部によるカウント数が基準回数に達したとき、無効記憶領域として設定された前記分割記憶領域以外の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記載の記憶制御装置。 The storage control device according to claim 1, wherein the storage unit is configured such that a storage capacity capable of securing storage of the data is selected as the divided storage area when the storage control device is powered off. 前記カウント部は、前記記憶部に記憶された前記データがアップデートされて書き換え記憶されたとき、前記基準回数でカウントし直すよう形成された請求項1又は2記載の記憶制御装置。   3. The storage control device according to claim 1, wherein the counting unit is configured to count again at the reference number when the data stored in the storage unit is updated and rewritten and stored. 前記カウント部は、前記記憶変更制御部にて扱う専用の前記カウント数として、前回の基準回数に達したカウント数からカウントし直すよう形成された請求項3記載の記憶制御装置。   The storage control device according to claim 3, wherein the count unit is configured to recount from the count number that has reached the previous reference number as the dedicated count number handled by the storage change control unit. 前記カウント部は、前記カウント数を初期値にリセットし直すよう形成された請求項3記載の記憶制御装置。   The storage control device according to claim 3, wherein the count unit is configured to reset the count number to an initial value. 前記請求項1〜5いずれか1項記載の記憶制御装置と、画像データを画像形成する画像形成部とを有する画像形成装置。   6. An image forming apparatus comprising: the storage control device according to claim 1; and an image forming unit that forms image data. 記憶制御装置において、複数に分割される分割記憶領域を有しデータが前記分割記憶領域に分割記憶される不揮発性の記憶部について、前記分割記憶領域を有効記憶領域として前記データを分散記憶するとともに、1組の前記分割記憶領域を無効記憶領域および有効記憶領域として同一の分割データを記憶する記憶工程と、
記憶された前記データを前記記憶部から読み出す回数をカウントするカウント工程と、
前記カウント工程によるカウント数が基準回数に達したとき、無効記憶領域として設定された前記分割記憶領域以外の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.
前記記憶工程および前記記憶変更制御工程は、当該記憶制御装置の電源オフ時に前記データの記憶確保の可能な記憶容量として選定された前記分割記憶領域に対して処理する請求項7記載の記憶制御方法。 8. The storage control method according to claim 7, wherein the storage step and the storage change control step process the divided storage area selected as a storage capacity capable of ensuring storage of the data when the storage control device is powered off. . 前記カウント工程は、前記記憶部に記憶された前記データがアップデートされて書き換え記憶されたとき、前記基準回数でカウントし直す請求項7又は8記載の記憶制御方法。   The storage control method according to claim 7 or 8, wherein the counting step re-counts at the reference number when the data stored in the storage unit is updated and rewritten and stored. 前記カウント工程は、前記記憶変更制御工程で扱う専用の前記カウント数として、前回の基準回数に達したカウント数からカウントし直す請求項9記載の記憶制御方法。   10. The storage control method according to claim 9, wherein the counting step re-counts from the count number that has reached the previous reference number as the dedicated count number handled in the storage change control step. 前記カウント工程は、前記カウント数を初期値にリセットし直す請求項9記載の記憶制御方法。   The storage control method according to claim 9, wherein in the counting step, the count number is reset to an initial value.
JP2011052943A 2010-03-18 2011-03-10 Storage control device, image forming apparatus, and storage control method Active JP5523379B2 (en)

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)

* Cited by examiner, † Cited by third party
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

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