JP4026591B2 - Electronics - Google Patents
Electronics Download PDFInfo
- Publication number
- JP4026591B2 JP4026591B2 JP2003422299A JP2003422299A JP4026591B2 JP 4026591 B2 JP4026591 B2 JP 4026591B2 JP 2003422299 A JP2003422299 A JP 2003422299A JP 2003422299 A JP2003422299 A JP 2003422299A JP 4026591 B2 JP4026591 B2 JP 4026591B2
- Authority
- JP
- Japan
- Prior art keywords
- block
- write information
- written
- usage time
- blocks
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- For Increasing The Reliability Of Semiconductor Memories (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Read Only Memory (AREA)
Description
本発明は、データの書込が可能な不揮発性メモリを有する電子機器に関するものである。 The present invention relates to an electronic device having a nonvolatile memory capable of writing data.
従来のこの種の技術としては、不揮発性メモリの寿命改善のためのデータ書込管理装置であって、不揮発性メモリの各ブロックについて書込(及び消去)が行われたことを検出するブロック書込検出回路を備え、CPUが各ブロックについて書込回数をカウントし、新たなデータの書込が書込回数の少ないブロックについて優先的に行われるように構成したものが知られている(例えば、特許文献1参照。)。
しかしながら、上記のようなデータ書込管理装置においては、各ブロックの書込回数を管理し、それら書込回数についてソーティング処理を実行し、最小の書込回数を有するブロックを検出する手段が必要であるので、データの書込における制御が複雑であるという問題点がある。 However, the data write management apparatus as described above requires means for managing the number of writes of each block, performing a sorting process on the number of writes, and detecting a block having the minimum number of writes. Therefore, there is a problem that control in data writing is complicated.
本発明は、以上のような問題点に鑑みてなされたものであり、簡単な制御で不揮発性メモリの寿命を延ばすことができる電子機器を提供することを目的とする。 The present invention has been made in view of the above problems, and an object of the present invention is to provide an electronic device that can extend the life of a nonvolatile memory with simple control.
上記目的を達成するための請求項1の発明は、データの書込が可能な複数のブロックに分けられた不揮発性メモリを有する電子機器であって、更新頻度の異なる複数のグループに分類される書込情報に対応付けられて、ブロック使用期限を記憶する記憶手段と、複数の書込情報が書き込まれるブロックの使用時間を前記グループ毎に計測する手段と、前記使用時間が前記ブロックの使用期限に達したときは、前記ブロック使用期限に達したグループの書込情報を他のブロックに書き込んで使用ブロックを前記他のブロックに変更し、前記ブロック使用期限に達したグループの使用時間をリセットする手段と、を備えたものである。
To achieve the above object, the invention of
請求項2の発明は、前記記憶手段に前記複数の書込情報と対応付けて記憶されたブロック数は、前記電子機器の機器寿命をブロック使用期限で除したものであることを特徴としている。
The invention of
請求項3の発明においては、前記使用時間が前記ブロック使用期限に達したときは、前記ブロックのブロック番号に1を加算する手段と、前記加算後のブロック番号が記憶手段に前記複数の書込情報と対応付けて記載されたブロック数を超えていないときは、前記ブロック上の複数の書込情報を他のブロックに書き込んで使用ブロックを前記他のブロックに変更し、前記使用時間をリセットする手段と、前記加算後のブロック番号が前記ブロック数を超えているときは、前記ブロック番号をリセットし、前記ブロック上の複数の書込情報をこれらが書き込まれていた最初のブロックに書き込んで使用ブロックを前記最初のブロックに変更し、前記使用時間をリセットする手段と、を備えたものである。 According to a third aspect of the present invention, when the usage time reaches the block usage time limit, the means for adding 1 to the block number of the block, and the block number after the addition are stored in the storage means When the number of blocks described in association with information is not exceeded, a plurality of writing information on the block is written to another block, the used block is changed to the other block, and the used time is reset. If the block number after the addition exceeds the number of blocks, the block number is reset, and a plurality of write information on the block is written to the first block in which they are written. And a means for changing the block to the first block and resetting the usage time.
請求項1の発明によれば、更新頻度の異なる複数のグループに分類される書込情報に対応付けられて、ブロック使用期限が記憶されており、前記ブロック使用期限により使用ブロックの変更をグループごとに行うことができるので、前記使用ブロックにおける書込回数が不揮発性メモリの書込可能回数に達するのを防止でき、簡単な制御で不揮発性メモリの寿命を延ばすことができる。また、不揮発性メモリは記憶内容の保持に電池等を必要としないので、電子機器の構成を単純化できると共に、環境に対しても優しい。
According to the invention of
請求項2の発明によれば、電子機器の機器寿命をブロック使用期限で除することにより、不揮発性メモリの寿命を確実に延ばすことができる。
According to the invention of
請求項3の発明によれば、不揮発性メモリの各ブロックの2回以上の使用が可能であるので、電子機器を長時間使用することができる。
According to the invention of
以下、本発明の実施形態を図面に基づいて説明する。
本実施形態に係る画像記録装置(電子機器)1は、図1に示すように、CPU(Central Processing Unit,中央処理装置)2、RAM(Random Access Memory,随時書き込み読み出しメモリ)3、ROM(Read Only Memory,読み出し専用メモリ)4、コーデック(CODEC)5、モデム6、NCU(Network Control Unit,回線網制御装置)7、読取部8、プリント部9、表示部10、操作部11、計時部12、フラッシュメモリ(不揮発性メモリ)13、及びLAN(Local Area Network)インターフェース(I/F)14等を備えたものであり、各部2〜14はバス15を介して互いに通信可能に接続されている。
Hereinafter, embodiments of the present invention will be described with reference to the drawings.
As shown in FIG. 1, an image recording apparatus (electronic device) 1 according to the present embodiment includes a CPU (Central Processing Unit) 2, a RAM (Random Access Memory), and a ROM (Read Only Memory (Read-Only Memory) 4, Codec (CODEC) 5,
ROM4は、CPU2により各部3〜14の動作を制御するための各種制御プログラムや表1のようなブロック使用期限テーブル等を記憶した記憶部として機能する。CPU2は、ROM4等に格納された制御プログラムに従って各部3〜14の動作を制御する制御部として機能する。RAM3は、読取部8により読み取られる原稿の画像データ等を記憶する記憶部として機能する。
The
読取部8は、原稿の画像を読み取り、白黒2値化等した画像データを出力する。プリント部9は、電子写真方式等により、RAM3に記憶された画像データ等を用紙にプリントする。
The reading unit 8 reads an image of a document and outputs image data that has been converted into black and white. The
表示部10は、操作部11等に併設されたLCD(Liquid Crystal Display,液晶ディスプレイ)等で構成されており、各種の画面情報を表示する。操作部11は、コピーのスタートやコピー部数等の各種情報・操作の入力・選択をするための入力キーや選択キー等を備えている。画像記録装置1に対するオペレータによる各種操作は、この操作部11を通じて行われる。
The
フラッシュメモリ13は、ライフ情報(プリント枚数、読取枚数等)、通信履歴情報(送信履歴情報、受信履歴情報等)、操作部により入力される機器設定情報(発信元名、発信元番号、短縮番号等)等の書込情報を記憶する記憶部として機能する。このフラッシュメモリ13は、表2〜表5に示すように、データの書込が可能な複数(例えばn個)のブロックB1〜Bnに分けられている。複数の書込情報は最初に例えばブロックB1に書き込まれ、このブロックB1が最初に使用される。ブロックBi(ブロック番号i:1〜n)の使用中における複数の書込情報の更新は、その使用中のブロックBiにおいて行われる。なお、不揮発性メモリはフラッシュメモリ13に限定されるものではなく、その他に例えば、EEPROM(Electrically Erasable and Programmable ROM)やNVRAM(Nonvolatile RAM)等であってもよい。また、上記の書込や更新には、データの書き換えや消去等が含まれる。
The
計時部12は、複数の書込情報が書き込まれるブロックBiの使用時間を計測する。表1のようなブロック使用期限テーブルは、書込情報とブロック使用期限とを対応付けたものであり、ROM4に格納されている。なお、ブロック使用期限は、書込情報の更新頻度に応じて使用ブロックの書込回数がフラッシュメモリ13等の不揮発性メモリの書込可能回数を超えないように設定しておけばよい。また、書込情報と対応付けられたブロック数nは特に限定されるものではないが、画像記録装置1等の電子機器の機器寿命をブロック使用期限で除したもの(n=電子機器の機器寿命/ブロック使用期限)としておけば、不揮発性メモリの寿命を確実に延ばすことができる。
The
ここで、表1に示すように、複数の書込情報を更新頻度に応じて複数(例えば2つ)のグループに分類しておけば、更新頻度の異なる書込情報の各使用ブロックの変更をグループごとに別々に行うことができるので、不揮発性メモリの寿命を更に延ばすことができるという利点がある。なお、本実施形態のように、複数の書込情報を更新頻度に応じて2つのグループに分類した場合は、(プリント枚数や読取枚数等の更新頻度の高い書込情報のブロック使用期限T1)<(発信元名や発信元番号等の更新頻度の低い書込情報のブロック使用期限T2)となるように、かつ、ブロック数n=画像記録装置1等の電子機器の機器寿命/T1となるように設定しておけばよい。
Here, as shown in Table 1, if a plurality of write information is classified into a plurality of (for example, two) groups according to the update frequency, each used block of the write information having a different update frequency is changed. Since it can be performed separately for each group, there is an advantage that the lifetime of the nonvolatile memory can be further extended. When a plurality of pieces of write information are classified into two groups according to the update frequency as in the present embodiment, the block use time limit T 1 of the write information having a high update frequency such as the number of printed sheets and the number of read sheets. ) <(Block usage period T 2 of writing information whose update frequency is low, such as a transmission source name and a transmission source number), and the number of blocks n = the device life of an electronic device such as the
コーデック5は、画像データを送信のためにMH(Modified Huffman)方式、MR(Modified READ)方式、MMR(Modified Modified READ)方式等により符号化したり、受信した画像データを復号化したりする。また、コーデック5は、電子メールの添付ファイル形式として一般的に利用されている画像フォーマットであるTIFF(Tagged Image File Format)形式にも対応して画像データを符号化及び復号化する。
The
モデム6は、例えばITU−T(国際電気通信連合−電気通信標準化部門)の勧告V.34規格又はこれと同様のものに従った送信データの変調及び受信データの復調を行う。NCU7は、PSTN(Public Switched Telephone Network,公衆電話交換網)16に接続されており、電話回線を制御して電話をかけたり切ったりする。
The
LANインターフェース14は、LAN17と画像記録装置1とを通信可能に接続するインターフェースである。LAN17にはクライアントPC(Personal Computer)(図示せず)が設置されており、画像記録装置1が有する各種機能をクライアントPCからLAN17を通じて利用できるようになっている。また、LAN17にはメールサーバ(図示せず)や、インターネットに接続されたルータ(図示せず)等も設置されており、画像記録装置1はメールサーバやルータ等を通じてインターネット上の他の電子メール端末装置とインターネットファクシミリ通信を行うことができるようになっている。
The
上記のように構成された画像記録装置1は、コピー機の他、ネットワークプリンタ、ネットワークスキャナ、ファクシミリ通信機能・インターネットファクシミリ通信機能・Fコード通信機能等を有する通信機等としても機能する複合機である。ここで、Fコード通信とはITU−Tの規格に従ったサブアドレスやパスワードを利用して行う通信であり、サブアドレス等と配信先とを対応付けて記憶したFコードボックスに基づいて、受信した画像データの配信先が決定されるようになっている。なお、電子機器はこのような画像記録装置1に限定されるものではなく、フラッシュメモリ13等の不揮発性メモリを有する各種のものを採用することができる。
The
次に、フラッシュメモリ13における使用ブロックの変更処理の手順例を図2に示すフローチャートに基づいて説明する。なお、この処理は、ROM4に格納された制御プログラムに基づいてCPU2が発行する命令に従って行われる。
Next, an example of a procedure for changing the used block in the
この処理において、最初のブロックB1の使用が開始されれば(ステップS1)、計時部12によりブロックB1の使用時間が計測される。ブロックB1には、表2に示すように、更新頻度の高い書込情報や更新頻度の低い書込情報が書き込まれる。
In this process, when the use of the first block B1 is started (step S1), the time spent in the block B1 is measured by the
次いで、ブロックB1の使用時間がブロック使用期限T1に達していないときは(ステップS2でNO)ステップS2に戻るが、ブロック使用期限T1に達したときは(ステップS2でYES)ブロック番号i(=1)に1が加算される(ステップS3)。 Then, when the use time of the block B1 does not reach the block expiration date T 1 returns to the step S2 (NO in step S2), and when it reaches the block expiration date T 1 (YES at step S2) block number i 1 is added to (= 1) (step S3).
ブロック番号i(=2)がブロック数nを超えていないときは(ステップS4でNO)、表3に示すように、ブロックB1上の更新頻度の高い書込情報がコピーされて2番目のブロックB2に書き込まれ(ステップS5)、使用ブロックがブロックB2に変更される(ステップS6)。この変更により使用時間がリセットされ(ステップS7)、ステップS2に戻る。 When the block number i (= 2) does not exceed the block number n (NO in step S4), as shown in Table 3, the frequently updated write information on the block B1 is copied and the second block It is written in B2 (step S5), and the used block is changed to block B2 (step S6). The use time is reset by this change (step S7), and the process returns to step S2.
ブロックBiについても上記と同じ処理が行われ、ブロックBiの使用時間がブロック使用時間T1に達したときは(ステップS2でYES)ブロック番号iに1が加算され(ステップS3)、加算後のブロック番号iがブロック数nを超えていないときは(ステップS4でNO)、表4に示すように、ブロックB(i−1)上の更新頻度の高い書込情報がコピーされてブロックBiに書き込まれ(ステップS5)、使用ブロックがブロックBiに変更される(ステップS6)。この変更により使用時間がリセットされ(ステップS7)、ステップS2に戻る。 The same processing as described above is performed for the block Bi. When the usage time of the block Bi reaches the block usage time T 1 (YES in step S2), 1 is added to the block number i (step S3). When the block number i does not exceed the block number n (NO in step S4), as shown in Table 4, the frequently updated write information on the block B (i-1) is copied to the block Bi. Data is written (step S5), and the used block is changed to the block Bi (step S6). The use time is reset by this change (step S7), and the process returns to step S2.
このように、画像記録装置1によれば、ブロック使用期限により使用ブロックを変更するように構成し、使用ブロックにおける書込回数がフラッシュメモリ13の書込可能回数に達するのを防止できるので、簡単な制御でフラッシュメモリ13の寿命を延ばすことができるという利点がある。また、従来から多く使用されているSRAM(Static Random Access Memory)等とは異なり、フラッシュメモリ13は記憶内容の保持に電池等を必要としないので、画像記録装置1の構成を単純化できると共に、環境に対しても優しいという利点がある。
As described above, according to the
ここで、ステップS4において、更新後のブロック番号iがブロック数nを超えているときは(ステップS4でYES)、ブロック番号iがリセットされ(ステップS8)、ブロックBn上の更新頻度の高い書込情報がコピーされて最初のブロックB1に書き込まれ(ステップS9)、使用ブロックがブロックB1に変更される(ステップS6)ように構成しておけば、フラッシュメモリ13の各ブロックB1〜Bnの2回以上の使用が可能であるので、画像記録装置1を長期間使用できるという利点がある。
Here, when the updated block number i exceeds the block number n in step S4 (YES in step S4), the block number i is reset (step S8), and the update frequency on the block Bn is high. Information is copied and written to the first block B1 (step S9), and the used block is changed to the block B1 (step S6), 2 blocks B1 to Bn of the
更新頻度の低い書込情報についても上記と同じ処理が行われ、例えばブロックB1の使用時間がブロック使用時間T2に達したときは(ステップS2でYES)ブロック番号i(=1)に1が加算され(ステップS3)、更新後のブロック番号i(=2)がブロック数nを超えていないときは(ステップS4でNO)、表5に示すように、ブロックB1上の更新頻度の低い書込情報がコピーされてブロックB2に書き込まれ(ステップS5)、使用ブロックがブロックB2に変更される(ステップS6)。この変更により使用時間がリセットされ(ステップS7)、ステップS2に戻る。このように、複数の書込情報を更新頻度に応じて複数のグループに分類した場合、計時部12による使用ブロックの使用時間の計測は、書込情報のグループごとに行うように構成しておけばよい。
The same procedure as in also low update frequency writing information is performed, for example, when the use time of the block B1 has reached the block use time T 2 are 1 (YES in step S2) the block number i (= 1) When the updated block number i (= 2) does not exceed the number of blocks n (NO in step S4), as shown in Table 5, the update frequency of the block B1 is low. Information is copied and written to block B2 (step S5), and the used block is changed to block B2 (step S6). The use time is reset by this change (step S7), and the process returns to step S2. As described above, when a plurality of pieces of writing information are classified into a plurality of groups according to the update frequency, it is possible to configure that the usage time of the used blocks by the
以上のように、本発明に係る電子機器は、データの書込が可能な不揮発性メモリを有する場合に有用であり、特に、その不揮発性メモリの寿命を延ばすのに適している。 As described above, the electronic device according to the present invention is useful when a nonvolatile memory capable of writing data is provided, and is particularly suitable for extending the lifetime of the nonvolatile memory.
1 画像記録装置(電子機器)
13 フラッシュメモリ(不揮発性メモリ)
1 Image recording device (electronic equipment)
13 Flash memory (nonvolatile memory)
Claims (3)
更新頻度の異なる複数のグループに分類される書込情報に対応付けられて、ブロック使用期限を記憶する記憶手段と、
複数の書込情報が書き込まれるブロックの使用時間を前記グループ毎に計測する手段と、
前記使用時間が前記ブロックの使用期限に達したときは、前記ブロック使用期限に達したグループの書込情報を他のブロックに書き込んで使用ブロックを前記他のブロックに変更し、前記ブロック使用期限に達したグループの使用時間をリセットする手段と、
を備えたことを特徴とする電子機器。 An electronic device having a non-volatile memory divided into a plurality of blocks in which data can be written,
Storage means for storing a block expiration date in association with write information classified into a plurality of groups having different update frequencies;
Means for measuring the usage time of a block in which a plurality of write information is written for each group ;
When the usage time has reached the expiration date of the block, the write information of the group has reached the block expiration and change the writing is used block to another block to the other block, the block expiration date A means to reset the usage time of the reached group ,
An electronic device characterized by comprising:
前記加算後のブロック番号が記憶手段に前記複数の書込情報と対応付けて記載されたブロック数を超えていないときは、前記ブロック上の複数の書込情報を他のブロックに書き込んで使用ブロックを前記他のブロックに変更し、前記使用時間をリセットする手段と、
前記加算後のブロック番号が前記ブロック数を超えているときは、前記ブロック番号をリセットし、前記ブロック上の複数の書込情報をこれらが書き込まれていた最初のブロックに書き込んで使用ブロックを前記最初のブロックに変更し、前記使用時間をリセットする手段と、
を備えた請求項1又は2記載の電子機器。 Means for adding 1 to the block number of the block when the usage time reaches the block expiration date;
When the block number after addition does not exceed the number of blocks described in association with the plurality of write information in the storage means, the plurality of write information on the block is written to another block and used blocks Means for changing to another block and resetting the usage time;
When the block number after the addition exceeds the number of blocks, the block number is reset, and a plurality of pieces of write information on the block are written to the first block in which these are written, and the used block is changed to the block used. Means for changing to the first block and resetting said usage time;
Claim 1 or 2 electronic apparatus according equipped with.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003422299A JP4026591B2 (en) | 2003-12-19 | 2003-12-19 | Electronics |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2003422299A JP4026591B2 (en) | 2003-12-19 | 2003-12-19 | Electronics |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2005182913A JP2005182913A (en) | 2005-07-07 |
JP4026591B2 true JP4026591B2 (en) | 2007-12-26 |
Family
ID=34783217
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2003422299A Expired - Fee Related JP4026591B2 (en) | 2003-12-19 | 2003-12-19 | Electronics |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP4026591B2 (en) |
-
2003
- 2003-12-19 JP JP2003422299A patent/JP4026591B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2005182913A (en) | 2005-07-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP4305520B2 (en) | Data management apparatus, data management method, and data management program | |
US7589855B2 (en) | Image forming apparatus | |
US20080158598A1 (en) | Data processing apparatus suitable for passing data among plurality of users, data processing method, and data processing program embodied on a computer readable medium | |
JP4026591B2 (en) | Electronics | |
JP2006100974A (en) | Image forming apparatus, program for allowing computer for controlling image forming apparatus to execute print notice function, and recording medium | |
JP4624945B2 (en) | Image processing device | |
JP2007081483A (en) | Electronic equipment | |
JP2006229832A (en) | Original image reading/recording apparatus | |
JP4174397B2 (en) | Communication terminal device | |
JP2009005295A (en) | Facsimile driver, program, and recording medium | |
JP2009182908A (en) | Composite machine | |
JP2006217513A (en) | Document image reader/recorder | |
JP4367291B2 (en) | Document processing device | |
US8493608B2 (en) | Image forming apparatus capable of managing job history, computer-readable recording medium storing job history management program code, and job history management method in the image forming apparatus | |
US20210352183A1 (en) | Electronic device, computer-readable non-temporary recording medium storing operation screen control program, and information processing system | |
JP4055079B2 (en) | Image forming apparatus | |
JP4419061B2 (en) | Image forming apparatus | |
JP2006033688A (en) | Communication terminal | |
JP2005101759A (en) | Communication apparatus | |
JP2006227989A (en) | Original image reading/recording device | |
US20070047007A1 (en) | Facsimile apparatus | |
JP3832461B2 (en) | Image recording device | |
JP2008109345A (en) | Image recording apparatus and recording medium managing method | |
CN118214806A (en) | Display device and control method of display device | |
JP2005217706A (en) | Communication apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20061017 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20070731 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20070824 |
|
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: 20070918 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20071001 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20101019 Year of fee payment: 3 |
|
R150 | Certificate of patent or registration of utility model |
Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111019 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20111019 Year of fee payment: 4 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20121019 Year of fee payment: 5 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131019 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20131019 Year of fee payment: 6 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20141019 Year of fee payment: 7 |
|
LAPS | Cancellation because of no payment of annual fees |