JPH11259370A - Data writing device and method therefor - Google Patents

Data writing device and method therefor

Info

Publication number
JPH11259370A
JPH11259370A JP5559098A JP5559098A JPH11259370A JP H11259370 A JPH11259370 A JP H11259370A JP 5559098 A JP5559098 A JP 5559098A JP 5559098 A JP5559098 A JP 5559098A JP H11259370 A JPH11259370 A JP H11259370A
Authority
JP
Japan
Prior art keywords
data
block
writing
write
stored
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP5559098A
Other languages
Japanese (ja)
Inventor
Masaaki Kotokawa
容朗 琴川
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP5559098A priority Critical patent/JPH11259370A/en
Publication of JPH11259370A publication Critical patent/JPH11259370A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Memory System (AREA)
  • Read Only Memory (AREA)

Abstract

PROBLEM TO BE SOLVED: To effectively utilize a physical block for storing invalid data, to suppress the number of times of writing in a physical block for storing valid data and to average the number of times of the data writing in each physical block by writing data in a block whose number of times of writing is the smallest among blocks for storing invalid data. SOLUTION: When a receiving part 21 receives a write-request for data existing in a file system, a dividing part 22 divides write-data into the data size of each block. When the part 22 transfers data for one block to the buffer of a RAM 14, a write-block retrieving part 23 refers to the number of times of data writing and flag of each block stored in a management table of the RAM 14 and retrieves a block whose number of times of data writing is the smallest among blocks for storing invalid data. When the part 23 retrieves such a block among blocks of storing invalid data, a writing part 24 outputs a data write-command to a device driver.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】この発明は、フラッシュEE
PROMにデータを書き込むデータ書込装置及びデータ
書込方法に関するものである。
The present invention relates to a flash EE
The present invention relates to a data writing device and a data writing method for writing data to a PROM.

【0002】[0002]

【従来の技術】図21は例えば特開平8−16482号
公報に示された従来のデータ書込装置の処理内容を示す
ブロック図であり、図において、1は書込回数が少ない
論理ブロック、2は書込回数が多い論理ブロック、3は
書込回数が少ないフラッシュEEPROMの物理ブロッ
クのグループ、3aは論理ブロック1に割り当てられた
物理ブロック、3bはデータが消去された空き物理ブロ
ック、4は書込回数が多いフラッシュEEPROMの物
理ブロックのグループ、4aは論理ブロック2に割り当
てられた物理ブロック、4bはデータが消去された空き
物理ブロックである。
2. Description of the Related Art FIG. 21 is a block diagram showing the processing contents of a conventional data writing device disclosed in, for example, JP-A-8-16482. In FIG. Is a logical block having a large number of times of writing, 3 is a group of physical blocks of a flash EEPROM having a small number of times of writing, 3a is a physical block allocated to the logical block 1, 3b is a free physical block from which data has been erased, and 4 is a writing block. A group of physical blocks of the flash EEPROM having a large number of times of writing, 4a is a physical block allocated to the logical block 2, and 4b is a free physical block from which data has been erased.

【0003】次に動作について説明する。まず、不揮発
性半導体メモリであるフラッシュEEPROMは、デー
タの書込回数が増加するとデータの信頼性が低下するた
め、データの書込回数が制限される(データの消去処理
を書込処理と同一のものとして扱う)。また、フラッシ
ュEEPROM全体の書込回数が少ない場合でも、特定
のブロックの書込回数が増加すると、フラッシュEEP
ROMの全体が使用不可能になる性質がある。従って、
特定のブロックに対する書込処理の集中を回避し、各ブ
ロックの書込回数を平均化することが、フラッシュEE
PROM全体の書込回数を確保する上で重要である。
Next, the operation will be described. First, in a flash EEPROM which is a nonvolatile semiconductor memory, the reliability of data decreases as the number of times of data writing increases, so that the number of times of data writing is limited (the data erasing process is the same as the writing process). Treat it as something). Even when the number of times of writing of the entire flash EEPROM is small, if the number of times of writing of a specific block increases,
There is a property that the entire ROM cannot be used. Therefore,
Avoiding the concentration of write processing for a specific block and averaging the number of times of writing for each block is called flash EE.
This is important in securing the number of times of writing of the entire PROM.

【0004】そこで、従来は、上位装置(図示せず)か
ら論理ブロック2(書込回数が多い論理ブロック)に対
するデータの書込要求を受信すると、論理ブロック2に
対して物理ブロック4a(書込回数が多い物理ブロッ
ク)が割り当てられている場合、物理ブロック4aのデ
ータ書込回数の増加を抑制するため、まず、物理ブロッ
ク3a(書込回数が少ない物理ブロック)が記憶するデ
ータを物理ブロック4b(書込回数が多い物理ブロック
のグループ4に属する空き物理ブロック)にコピーす
る。
Therefore, conventionally, when a data write request for a logical block 2 (a logical block having a large number of write operations) is received from a higher-level device (not shown), the physical block 4a (write When a physical block with a large number of times is allocated, first, data stored in the physical block 3a (a physical block with a small number of writes) is stored in the physical block 4b in order to suppress an increase in the number of times of data writing in the physical block 4a. (Free physical block belonging to the physical block group 4 with a large number of write operations).

【0005】そして、データのコピーが完了すると、論
理ブロック2に対する物理ブロックの割り当てを物理ブ
ロック4a(書込回数が多い物理ブロック)から物理ブ
ロック3b(書込回数が少ない物理ブロックのグループ
3に属する空き物理ブロック)に変更する。これによ
り、以後、論理ブロック2に対するデータの書込要求が
あると、物理ブロック3bのデータが更新されることに
なる。
When the data copying is completed, the physical blocks are assigned to the logical block 2 from the physical block 4a (the physical block with a large number of write operations) to the physical block 3b (the physical block group 3 with a small number of write operations). (Free physical block). Thus, when there is a data write request to the logical block 2 thereafter, the data of the physical block 3b is updated.

【0006】[0006]

【発明が解決しようとする課題】従来のデータ書込装置
は以上のように構成されているので、各物理ブロックの
データ書込回数が平均化されるが、例えば、物理ブロッ
ク3aが記憶するデータが無効データ(既に、記憶して
おく必要性がなくなったデータ)の場合でも、物理ブロ
ック4bにコピーされるため、物理ブロック4bのデー
タ書込回数が増加してしまう課題があった。また、各物
理ブロックのデータ書込回数のみを考慮して平均化処理
を実行するため、無効データを記憶する物理ブロックを
有効活用することができず、有効データを記憶する物理
ブロックの書込回数が増加してしまう課題もあった。
Since the conventional data writing device is configured as described above, the number of times of writing data in each physical block is averaged. Is invalid data (data that no longer needs to be stored), the data is copied to the physical block 4b, so that the number of times of writing data in the physical block 4b increases. In addition, since the averaging process is performed in consideration of only the data write count of each physical block, the physical block storing invalid data cannot be effectively utilized, and the write count of the physical block storing valid data cannot be effectively used. There was also a problem that it increased.

【0007】この発明は上記のような課題を解決するた
めになされたもので、無効データを記憶する物理ブロッ
クを有効活用して、有効データを記憶する物理ブロック
の書込回数を抑制し、各物理ブロックのデータ書込回数
を平均化することができるデータ書込装置及びデータ書
込方法を得ることを目的とする。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problem, and effectively utilizes physical blocks for storing invalid data to suppress the number of times of writing of physical blocks for storing valid data. An object of the present invention is to provide a data writing device and a data writing method capable of averaging the number of times of writing data in a physical block.

【0008】[0008]

【課題を解決するための手段】この発明に係るデータ書
込装置は、各ブロックのデータ書込回数及びフラグを参
照して、無効なデータを記憶するブロックの中でデータ
書込回数が最小のブロックを検索し、そのブロックにデ
ータを書き込むようにしたものである。
A data writing apparatus according to the present invention refers to the number of times of data writing and a flag of each block to minimize the number of times of data writing among blocks storing invalid data. A block is searched and data is written to the block.

【0009】この発明に係るデータ書込装置は、フラッ
シュEEPROMに書き込むデータのデータサイズが各
ブロックのデータサイズより大きい場合には、フラッシ
ュEEPROMに書き込むデータを各ブロックのデータ
サイズに分割するようにしたものである。
In the data writing device according to the present invention, when the data size of the data to be written to the flash EEPROM is larger than the data size of each block, the data to be written to the flash EEPROM is divided into the data size of each block. Things.

【0010】この発明に係るデータ書込装置は、検索手
段により検索されたブロックのうち、データ書込回数が
最小のブロックが記憶するデータをデータ書込回数が最
大のブロックにコピーするようにしたものである。
[0010] In the data writing device according to the present invention, of the blocks searched by the search means, data stored in the block having the smallest data write count is copied to the block having the largest data write count. Things.

【0011】この発明に係るデータ書込装置は、データ
書込回数が最小のブロックを検索する際、データ書込時
刻から所定時間経過しているブロックを検索するように
したものである。
In the data writing device according to the present invention, when searching for a block having the minimum number of times of data writing, a block in which a predetermined time has elapsed from the data writing time is searched.

【0012】この発明に係るデータ書込装置は、データ
書込回数が最小のブロックを検索する際、データ書込回
数が基準回数以下のブロックを検索するようにしたもの
である。
In the data writing apparatus according to the present invention, when searching for a block having the minimum number of data writings, a block having a data writing number equal to or less than the reference number is searched.

【0013】この発明に係るデータ書込装置は、各ブロ
ックのデータ書込回数を考慮して基準回数を設定するよ
うにしたものである。
In the data writing apparatus according to the present invention, the reference number of times is set in consideration of the number of times of data writing of each block.

【0014】この発明に係るデータ書込装置は、コピー
手段のコピー処理を書込手段の書込処理と非同期に実施
するようにしたものである。
In the data writing apparatus according to the present invention, the copy processing of the copy means is performed asynchronously with the write processing of the write means.

【0015】この発明に係るデータ書込装置は、分割手
段により分割されたデータのうち、比較手段によりデー
タの同一性が認められないデータのみを当該ブロックに
書き込むようにしたものである。
In the data writing device according to the present invention, of the data divided by the dividing means, only data for which the data is not recognized to be identical by the comparing means is written in the block.

【0016】この発明に係るデータ書込装置は、各ブロ
ックが記憶するデータが無効のデータである場合にも、
そのデータのファイル名を格納するようにしたものであ
る。
According to the data writing device of the present invention, even when the data stored in each block is invalid data,
The file name of the data is stored.

【0017】この発明に係るデータ書込装置は、当該ブ
ロックが記憶するデータの種類及びデータ書込時刻を示
す情報を各ブロックに記憶し、その情報に基づいて情報
格納手段の格納内容を記憶するブロックを特定するよう
にしたものである。
The data writing device according to the present invention stores information indicating the type of data stored in the block and the data writing time in each block, and stores the storage contents of the information storage means based on the information. The block is specified.

【0018】この発明に係るデータ書込装置は、当該ブ
ロックのデータ書込回数,フラグ,データ書込時刻,フ
ァイル名及びデータ格納順を示す情報を各ブロックに記
憶し、その情報に基づいて情報格納手段の格納内容を再
現するようにしたものである。
The data writing device according to the present invention stores information indicating the number of times of data writing of the block, a flag, a data writing time, a file name, and a data storage order in each block, and stores information based on the information. The contents stored in the storage means are reproduced.

【0019】この発明に係るデータ書込方法は、各ブロ
ックのデータ書込回数及びデータの有効性を判別するフ
ラグを参照して、無効なデータを記憶するブロックの中
でデータ書込回数が最小のブロックを検索する検索処理
を実行するとともに、そのブロックにデータを書き込む
書込処理を実行ようにしたものである。
In the data writing method according to the present invention, the number of times of data writing among blocks storing invalid data is minimized by referring to the number of times of data writing of each block and a flag for determining validity of data. A search process for searching for the block is executed, and a write process for writing data to the block is executed.

【0020】この発明に係るデータ書込方法は、検索処
理により検索されたブロックのうち、データ書込回数が
最小のブロックが記憶するデータをデータ書込回数が最
大のブロックにコピーするコピー処理を実行するように
したものである。
[0020] The data writing method according to the present invention includes a copy process of copying data stored in a block having the smallest data write count among blocks searched by the search process to a block having the largest data write count. It is intended to be executed.

【0021】[0021]

【発明の実施の形態】以下、この発明の実施の一形態を
説明する。 実施の形態1.図1はこの発明の実施の形態1によるデ
ータ書込装置の概略構成を示す構成図であり、図におい
て、11はフラッシュEEPROM18に書き込むデー
タを記憶するファイルシステム、12はバス、13はフ
ァイルシステム11からフラッシュEEPROM18に
書き込むデータを受信すると、管理テーブル15に格納
された情報を参照して、そのデータを書き込むブロック
を選択し、そのブロックに対するデータの書込指令をデ
バイスドライバ17に出力するデータ書込装置、14は
管理テーブル15及びバッファ16から構成されたRA
M(情報格納手段)、15はフラッシュEEPROM1
8を構成する各ブロックのデータ書込回数,各ブロック
が記憶するデータの有効性を判別するフラグ及び各ブロ
ックのデータ書込時刻を格納する管理テーブル、16は
バッファ、17はデータ書込装置13から書込命令を受
けると、データをフラッシュEEPROM18に書き込
むデバイスドライバ、18はフラッシュEEPROMで
ある。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of the present invention will be described below. Embodiment 1 FIG. FIG. 1 is a configuration diagram showing a schematic configuration of a data writing device according to a first embodiment of the present invention. In FIG. 1, reference numeral 11 denotes a file system for storing data to be written in a flash EEPROM 18, reference numeral 12 denotes a bus, and reference numeral 13 denotes a file system 11. Receives data to be written to the flash EEPROM 18 from the device, refers to the information stored in the management table 15, selects a block in which to write the data, and outputs a data write command to the block to the device driver 17. The device 14 is an RA comprising a management table 15 and a buffer 16.
M (information storage means), 15 is a flash EEPROM 1
8, a management table for storing the number of times of data writing of each block, a flag for determining the validity of data stored in each block, and a data writing time of each block, 16 a buffer, 17 a data writing device 13 When a write command is received from the device driver, the device driver writes data to the flash EEPROM 18, and the device driver 18 is a flash EEPROM.

【0022】また、図2はこの発明の実施の形態1によ
るデータ書込装置の詳細構成を示す構成図であり、図に
おいて、21はファイルシステム11からデータの書込
要求及び書込データ(ファイル)を受信する受信部、2
2はフラッシュEEPROM18に書き込むデータのデ
ータサイズが各ブロックのデータサイズより大きい場合
には、フラッシュEEPROM18に書き込むデータを
各ブロックのデータサイズに分割する分割部(分割手
段)、23はフラッシュEEPROM18に対するデー
タの書込要求を受信すると、RAM14の管理テーブル
15が格納するデータ書込回数及びフラグを参照して、
無効なデータを記憶するブロックの中でデータ書込回数
が最小のブロックを検索する書込ブロック検索部(検索
手段)、24は書込ブロック検索部23により検索され
たブロックに対するデータの書込指令をデバイスドライ
バ17に出力する書込部(書込手段)、25は書込ブロ
ック検索部23により検索されたブロックのデータ書込
回数をインクリメントするとともに、そのブロックに係
るフラグの内容を反転する情報更新部(情報更新手段)
である。なお、図3はこの発明の実施の形態1によるデ
ータ書込方法を示すフローチャートである。
FIG. 2 is a block diagram showing a detailed configuration of the data writing device according to the first embodiment of the present invention. In FIG. 2, reference numeral 21 denotes a data write request from the file system 11 and write data (file data). ) Receiving unit, 2
Reference numeral 2 denotes a dividing unit (dividing means) for dividing the data to be written to the flash EEPROM 18 into the data size of each block when the data size of the data to be written to the flash EEPROM 18 is larger than the data size of each block. When a write request is received, referring to the data write count and the flag stored in the management table 15 of the RAM 14,
A write block search unit (search means) for searching for a block having the minimum number of data write operations among blocks storing invalid data, and a command 24 for writing data to the block searched by the write block search unit 23 (Writing means) which outputs the data to the device driver 17, increments the data write count of the block searched by the write block search unit 23, and inverts the contents of the flag related to the block. Update unit (information update means)
It is. FIG. 3 is a flowchart showing a data writing method according to the first embodiment of the present invention.

【0023】次に動作について説明する。まず、不揮発
性半導体メモリであるフラッシュEEPROM18は、
データの書込回数が増加するとデータの信頼性が低下す
るため、データの書込回数が制限される(データの消去
処理を書込処理と同一のものとして扱う)。また、フラ
ッシュEEPROM18全体の書込回数が少ない場合で
も、特定のブロックの書込回数が増加すると、フラッシ
ュEEPROM18の全体が使用不可能になる性質があ
る。従って、特定のブロックに対する書込処理の集中を
回避し、各ブロックの書込回数を平均化することが、フ
ラッシュEEPROM18全体の書込回数を確保する上
で重要である。
Next, the operation will be described. First, the flash EEPROM 18, which is a nonvolatile semiconductor memory,
When the number of times of data writing increases, the reliability of data decreases, so the number of times of data writing is limited (the data erasing process is treated as the same as the writing process). Further, even when the number of times of writing of the entire flash EEPROM 18 is small, if the number of times of writing of a specific block increases, the entirety of the flash EEPROM 18 becomes unusable. Therefore, it is important to avoid the concentration of the writing process for a specific block and to average the number of times of writing of each block in order to secure the number of times of writing of the entire flash EEPROM 18.

【0024】そこで、この実施の形態1では、受信部2
1がファイルシステム11にあるデータ(ファイル)の
書込要求を受信すると、その書込データをブロック単位
で書き込むことができるようにするため、分割部22
が、その書込データのデータサイズが各ブロックのデー
タサイズより大きい場合には、その書込データを各ブロ
ックのデータサイズに分割し(ステップST1)、1ブ
ロック分のデータをRAM14のバッファ16に転送す
る(ステップST2)。
Therefore, in the first embodiment, the receiving unit 2
1 receives a write request for data (file) in the file system 11, the dividing unit 22 writes the write data in blocks.
However, if the data size of the write data is larger than the data size of each block, the write data is divided into the data sizes of the blocks (step ST1), and the data for one block is stored in the buffer 16 of the RAM 14. Transfer (step ST2).

【0025】そして、分割部22が1ブロック分のデー
タをRAM14のバッファ16に転送すると、書込ブロ
ック検索部23が、RAM14の管理テーブル15が格
納する各ブロックのデータ書込回数及びフラグを参照し
て(図4を参照)、無効データ(既に、記憶しておく必
要性がなくなったデータ)を記憶するブロック(以下、
「空きブロック」という)の中でデータ書込回数が最小
のブロックを検索する(ステップST3)。
When the division unit 22 transfers the data of one block to the buffer 16 of the RAM 14, the write block search unit 23 refers to the data write count and the flag of each block stored in the management table 15 of the RAM 14. (See FIG. 4) to store invalid data (data that no longer needs to be stored) (hereinafter, block).
A block with the minimum number of times of data writing is searched for in "empty block") (step ST3).

【0026】そして、書込ブロック検索部23がデータ
書込回数が最小のブロックを検索すると、書込部24が
デバイスドライバ17にデータの書込指令を出力する。
これにより、デバイスドライバ17が、RAM14のバ
ッファ16に格納されたデータを読み込んで、その検索
された空きブロックに書き込む処理を実行する(ステッ
プST4)。そして、デバイスドライバ17がデータの
書込処理を完了すると、管理テーブル15に格納された
情報を現在の状況に合わせるため、情報更新部25が、
データの書込処理が行われたブロックのデータ書込回数
をインクリメントするとともに、そのブロックに係るフ
ラグの内容を反転する(ステップST5)。即ち、その
ブロックに係るフラグの内容を、無効データを記憶する
ブロックであることを示す内容から有効データを記憶す
るブロックであることを示す内容に変更する。
When the write block search unit 23 searches for a block having the minimum number of times of data writing, the writing unit 24 outputs a data write command to the device driver 17.
As a result, the device driver 17 executes a process of reading the data stored in the buffer 16 of the RAM 14 and writing the data into the found empty block (step ST4). When the device driver 17 completes the data writing process, the information updating unit 25 updates the information stored in the management table 15 to match the current situation.
The number of times of data writing of the block in which the data writing process has been performed is incremented, and the content of the flag related to the block is inverted (step ST5). That is, the content of the flag related to the block is changed from the content indicating that the block stores invalid data to the content indicating that the block stores valid data.

【0027】このようにして、1ブロック分のデータの
書込処理を完了すると(管理テーブル15の更新処理も
含む)、残りのデータも同様にして、他のブロックに書
き込む処理を実行し(ステップST6)、一連の処理を
終了する。
When the writing process of the data of one block is completed (including the updating process of the management table 15), the process of writing the remaining data in the other blocks is executed in the same manner (step S1). ST6), end the series of processing.

【0028】以上で明らかなように、この実施の形態1
によれば、各ブロックのデータ書込回数及びフラグを参
照して、無効なデータを記憶するブロックの中でデータ
書込回数が最小のブロックを検索し、そのブロックにデ
ータを書き込むように構成したので、有効データを記憶
するブロックの書込回数が抑制され、各ブロックのデー
タ書込回数を平均化することができる効果を奏する。
As is apparent from the above, the first embodiment
According to the configuration, the block in which the number of times of data writing is the smallest among the blocks storing invalid data is searched by referring to the number of times of data writing and the flag of each block, and data is written to the block. Therefore, the number of times of writing of blocks storing valid data is suppressed, and the number of times of writing data of each block can be averaged.

【0029】実施の形態2.図5はこの発明の実施の形
態2によるデータ書込装置の詳細構成を示す構成図であ
り、図において、図2と同一符号は同一または相当部分
を示すので説明を省略する。26は受信部21がデータ
の書込要求を受信すると、RAM14の管理テーブル1
5が格納するデータ書込回数,フラグ及びデータ書込時
刻を参照して、有効なデータを記憶するブロックの中で
データ書込回数が最小のブロックを検索するとともに、
無効なデータを記憶するブロックの中でデータ書込回数
が最大のブロックを検索する書換ブロック検索部(検索
手段)、27は書換ブロック検索部26により検索され
たブロックのうち、データ書込回数が最小のブロックが
記憶するデータをデータ書込回数が最大のブロックにコ
ピーするコピー部(コピー手段)、28は図2の情報更
新部25と同様の処理機能を有する他に、書換ブロック
検索部26により検索されたデータ書込回数が最大のブ
ロックのデータ書込回数をインクリメントするととも
に、書換ブロック検索部26により検索された各ブロッ
クに係るフラグの内容を反転する情報更新部(情報更新
手段)である。なお、図6はこの発明の実施の形態2に
よるデータ書込方法を示すフローチャートである。
Embodiment 2 FIG. 5 is a configuration diagram showing a detailed configuration of a data writing device according to a second embodiment of the present invention. In the figure, the same reference numerals as those in FIG. 26, when the receiving unit 21 receives the data write request, the management table 1 of the RAM 14
With reference to the data write count, flag and data write time stored in 5, a block having the minimum data write count among the blocks storing valid data is searched,
A rewrite block search unit (search means) for searching for a block having the largest number of data writes among blocks storing invalid data, and a block 27 having a data write count of 27 A copy unit (copy means) 28 for copying data stored in the smallest block to a block having the largest number of data writings has the same processing function as the information update unit 25 in FIG. The information updating unit (information updating means) which increments the data writing frequency of the block having the largest data writing frequency searched by the above and inverts the content of the flag relating to each block searched by the rewrite block searching unit 26 is there. FIG. 6 is a flowchart showing a data writing method according to the second embodiment of the present invention.

【0030】次に動作について説明する。フラッシュE
EPROM18に対するデータの書込処理は上記実施の
形態1と同様であるため説明を省略するが、受信部21
がファイルシステム11からデータの書込要求を受信す
ると、そのデータの書込処理を実施する前に、各ブロッ
クにおけるデータ書込回数の平均化処理を実施する。
Next, the operation will be described. Flash E
The process of writing data to the EPROM 18 is the same as that in the first embodiment, and a description thereof will be omitted.
Receives a data write request from the file system 11, before performing the data write process, it performs an averaging process on the number of data writes in each block.

【0031】即ち、受信部21がデータの書込要求を受
信すると、書換ブロック検索部26が、管理テーブル1
5が格納するフラグ及びデータ書込時刻を参照して、有
効なデータを記憶するブロックの中で、データ書込時刻
から例えば1ヶ月以上経過しているブロックを検索する
(ステップST11)。そして、書換ブロック検索部2
6は、複数のブロックを検索した場合には、それらのブ
ロックの中でデータ書込回数が最小のブロックを検索す
る。そして、書換ブロック検索部26は、そのブロック
のデータ書込回数を、フラッシュEEPROM18を構
成する各ブロックのデータ書込回数と比較し、そのブロ
ックが、データ書込回数が少ないブロックの上位10%
以内にあるか否かを判別する(ステップST12)。
That is, when the reception unit 21 receives a data write request, the rewrite block search unit 26 sets the management table 1
With reference to the flag and the data write time stored in 5, a block in which valid data is stored, for example, one month or more after the data write time is searched for (step ST <b> 11). Then, the rewrite block search unit 2
When a plurality of blocks are searched, the block 6 searches for a block having the minimum number of times of data writing among the blocks. Then, the rewrite block search unit 26 compares the number of times of data writing of the block with the number of times of data writing of each block constituting the flash EEPROM 18, and finds that the upper 10% of the block having the smaller number of times of data writing.
It is determined whether it is within the range (step ST12).

【0032】そして、書換ブロック検索部26は、その
ブロックが上位10%以内にある場合には、管理テーブ
ル15が格納するデータ書込回数及びフラグを参照し
て、無効なデータを記憶するブロックの中でデータ書込
回数が最大のブロックを検索する(ステップST1
3)。
When the block is within the upper 10%, the rewrite block search unit 26 refers to the number of times of data writing and the flag stored in the management table 15 to check the block storing invalid data. The block having the largest number of data write operations is searched for (step ST1).
3).

【0033】このようにして、書換ブロック検索部26
がデータ書込回数が最小のブロックと、データ書込回数
が最大のブロックを検索すると、コピー部27が、図7
に示すように、データ書込回数が最小のブロックが記憶
するデータをRAM14のバッファ16に転送したのち
(ステップST14)、そのデータの書込指令をデバイ
スドライバ17に出力する。これにより、デバイスドラ
イバ17がRAM14のバッファ16に格納されたデー
タを読み込んで、データ書込回数が最大のブロックに書
き込む処理を実行する(ステップST15)。
Thus, the rewrite block search section 26
When searching for a block with the smallest number of data writes and a block with the largest number of data writes, the copying unit 27
As shown in (1), after the data stored in the block having the smallest number of times of data writing is transferred to the buffer 16 of the RAM 14 (step ST14), a command to write the data is output to the device driver 17. As a result, the device driver 17 reads the data stored in the buffer 16 of the RAM 14 and executes a process of writing the data in the block having the largest number of data writes (step ST15).

【0034】そして、デバイスドライバ17がデータの
書込処理を完了すると、管理テーブル15に格納された
情報を現在の状況に合わせるため、情報更新部28が、
データの書込処理が行われたブロック(データ書込回数
が最大のブロック)のデータ書込回数をインクリメント
するとともに、データ書込時刻を更新する。また、書換
ブロック検索部26により検索された各ブロックに係る
フラグの内容を反転する(ステップST16)。即ち、
データ書込回数が最小のブロックに係るフラグの内容
を、有効データを記憶するブロックであることを示す内
容から無効データを記憶するブロックであることを示す
内容に変更し(以後、このブロックに対するデータの書
込処理が可能になる(実施の形態1参照))、データ書
込回数が最大のブロックに係るフラグの内容を、無効デ
ータを記憶するブロックであることを示す内容から有効
データを記憶するブロックであることを示す内容に変更
する。
When the device driver 17 completes the data write processing, the information updating unit 28 updates the information stored in the management table 15 to match the current situation.
The number of times of data writing of the block in which the data writing process has been performed (the block with the largest number of times of data writing) is incremented, and the data writing time is updated. Further, the content of the flag relating to each block searched by the rewrite block search unit 26 is inverted (step ST16). That is,
The content of the flag relating to the block with the smallest number of data write operations is changed from the content indicating that it is a block storing valid data to the content indicating that it is a block storing invalid data (hereinafter, the data for this block will be described. (See Embodiment 1), the contents of the flag relating to the block with the largest number of data write operations are stored as valid data from the contents indicating that the block stores invalid data. Change the content to indicate that it is a block.

【0035】このようにして、データ書込回数が最小の
ブロックが記憶するデータのコピーを完了すると(管理
テーブル15の更新処理も含む)、その最小のブロック
を除外して、再度、同様の処理を繰り返し、上記の条件
(データ書込時刻、データ書込回数及びフラグの内容)
を具備する全てのブロックについて実行する(ステップ
ST17)。
When the copying of the data stored in the block with the smallest number of data writings is completed (including the updating of the management table 15), the same processing is performed again, excluding the smallest block. Is repeated, and the above conditions (data write time, data write count and flag contents) are repeated.
(Step ST17).

【0036】以上で明らかなように、この実施の形態2
によれば、書換ブロック検索部26により検索されたブ
ロックのうち、データ書込回数が最小のブロックが記憶
するデータをデータ書込回数が最大のブロックにコピー
するように構成したので、無効データを記憶するブロッ
クを有効に活用することができるようになり、その結
果、有効データを記憶するブロックの書込回数が抑制さ
れ、各ブロックのデータ書込回数を平均化することがで
きる効果を奏する。
As is clear from the above, this embodiment 2
According to the configuration, among the blocks searched by the rewrite block search unit 26, the data stored in the block with the smallest data write count is copied to the block with the largest data write count. This makes it possible to effectively use the blocks to be stored. As a result, the number of times of writing the blocks for storing the effective data is suppressed, and the number of times of writing the data of each block can be averaged.

【0037】なお、上記実施の形態2では、検索された
ブロックが、データ書込回数が少ないブロックの上位1
0%以内にあるか否かを判別するものについて示した
が、単に基準回数を例えば10万回とし、検索されたブ
ロックのデータ書込回数が、10万回以内であるか否か
を判別するようにしてもよいことは言うまでもない。
In the second embodiment, the searched block is the top one of the blocks having the smaller number of data write operations.
Although the case of determining whether or not the number is within 0% has been described, the reference number is simply set to, for example, 100,000, and whether or not the number of times of data writing of the searched block is within 100,000 is determined. Needless to say, this may be done.

【0038】実施の形態3.上記実施の形態2では、受
信部21がファイルシステム11からデータの書込要求
を受信すると、そのデータの書込処理を実施する前に、
各ブロックにおけるデータ書込回数の平均化処理を実施
するものについて示したが、図8及び図9に示すよう
に、受信部21がファイルシステム11から書込回数の
平均化要求を受信すると、各ブロックにおけるデータ書
込回数の平均化処理を実施するようにしてもよい。
Embodiment 3 In the second embodiment, when the receiving unit 21 receives a data write request from the file system 11, before performing the data write process,
Although the processing for averaging the number of times of data writing in each block has been described, as shown in FIGS. 8 and 9, when the receiving unit 21 receives a request for averaging the number of times of writing from the file system 11, The averaging process of the number of times of data writing in the block may be performed.

【0039】このように、データ書込回数の平均化処理
をデータの書込処理と非同期に実施するようにすれば、
データをフラッシュEEPROM18に書込処理を実施
する際に、データ書込回数の平均化処理を実施する必要
がなくなり、データの書込処理の高速化を図ることがで
きる効果を奏する。
As described above, if the process of averaging the number of times of writing data is performed asynchronously with the process of writing data,
When writing data to the flash EEPROM 18, it is not necessary to average the number of times of data writing, and the data writing process can be speeded up.

【0040】なお、受信部21がファイルシステム11
から書込回数の平均化要求を受信した場合に限らず、一
定時間毎に平均化処理を自動的に実施するようにしても
よいことは言うまでもない。
It should be noted that the receiving unit 21 is the file system 11
It is needless to say that the averaging process may be automatically executed at regular time intervals, not limited to the case where the request for averaging the number of writings is received from.

【0041】実施の形態4.図10はこの発明の実施の
形態4によるデータ書込装置の詳細構成を示す構成図で
あり、図において、図8と同一符号は同一または相当部
分を示すので説明を省略する。29は図8のRAM14
と同様の管理テーブルを格納する他に、各ブロックが記
憶するデータのファイル名を格納する管理テーブルを格
納するRAM(情報格納手段、ファイル名格納手段)、
30は図8の書込ブロック検索部23と同様の処理機能
を有する他に、受信部21がフラッシュEEPROM1
8に対するデータの書込要求を受信すると、そのデータ
のファイル名と同じファイル名がRAM29の管理テー
ブルに格納されているか否かを判別する判別処理と、そ
の判別処理の判別結果が同じファイル名の存在を示す場
合には、そのファイル名に係るデータを記憶するブロッ
クをそれぞれ検索し、各ブロックが記憶するデータと分
割部22により分割された1ブロック分のデータを比較
する比較処理を有する書込ブロック検索部(検索手段、
判別手段、比較手段)、31は図8の書込部24と同様
の処理機能を有する他に、分割部22により分割された
1ブロック分のデータのうち、書込ブロック検索部30
の比較処理がデータの相違を示すデータのみ当該ブロッ
クに書き込む書込部(書込手段)である。なお、図11
及び図12はこの発明の実施の形態4によるデータ書込
方法を示すフローチャートである。
Embodiment 4 FIG. FIG. 10 is a configuration diagram showing a detailed configuration of a data writing device according to a fourth embodiment of the present invention. In the figure, the same reference numerals as in FIG. 8 denote the same or corresponding parts, and a description thereof will not be repeated. 29 is the RAM 14 of FIG.
RAM (information storage means, file name storage means) for storing a management table for storing a file name of data stored in each block, in addition to storing the same management table as
Numeral 30 has the same processing function as the write block search unit 23 in FIG.
When a request to write data to the data file 8 is received, a determination process is performed to determine whether the same file name as the file name of the data is stored in the management table of the RAM 29, and the determination result of the determination process indicates that the same file name is used. In the case of indicating the existence, a write process having a comparison process of searching for blocks storing data relating to the file name, and comparing the data stored in each block with the data of one block divided by the dividing unit 22. Block search section (search means,
The discriminating means and the comparing means) and 31 have the same processing function as the writing unit 24 in FIG.
Is a writing unit (writing means) for writing only the data indicating the data difference into the block. Note that FIG.
FIG. 12 is a flowchart showing a data writing method according to the fourth embodiment of the present invention.

【0042】次に動作について説明する。まず、受信部
21がファイルシステム11からデータの書込要求,書
込データ及びファイル名を受信すると、上記実施の形態
1と同様に、その書込データをブロック単位で書き込む
ことができるようにするため、分割部22が、その書込
データのデータサイズが各ブロックのデータサイズより
大きい場合には、その書込データを各ブロックのデータ
サイズに分割し(ステップST1)、1ブロック分のデ
ータをRAM14のバッファ16に転送する(ステップ
ST2)。
Next, the operation will be described. First, when the receiving unit 21 receives a data write request, write data, and a file name from the file system 11, the write data can be written in block units as in the first embodiment. Therefore, when the data size of the write data is larger than the data size of each block, the dividing unit 22 divides the write data into the data size of each block (step ST1) and divides the data for one block. The data is transferred to the buffer 16 of the RAM 14 (step ST2).

【0043】そして、分割部22が1ブロック分のデー
タをRAM14のバッファ16に転送すると、書込ブロ
ック検索部30が、書込データのファイル名が、RAM
29の管理テーブル15に格納されているか否かを判別
する(ステップST21)。そして、RAM29の管理
テーブル15に同じファイル名が格納されていない場合
には、受信部21が受信したデータは新たなデータであ
ると判断し、上記実施の形態1と同様の方法で書込処理
を開始する。
When the dividing unit 22 transfers one block of data to the buffer 16 of the RAM 14, the write block search unit 30 determines that the file name of the write data is
Then, it is determined whether or not the information is stored in the management table 15 (step ST21). If the same file name is not stored in the management table 15 of the RAM 29, the data received by the receiving unit 21 is determined to be new data, and the writing process is performed in the same manner as in the first embodiment. To start.

【0044】即ち、書込ブロック検索部30が、RAM
29の管理テーブル15が格納する各ブロックのデータ
書込回数及びフラグを参照して(図13を参照)、無効
データを記憶する空きブロックの中でデータ書込回数が
最小のブロックを検索する(ステップST3)。
That is, the write block search unit 30
With reference to the data write count and the flag of each block stored in the 29 management table 15 (see FIG. 13), a block having the minimum data write count is searched for among the free blocks storing invalid data (see FIG. 13). Step ST3).

【0045】そして、書込ブロック検索部30がデータ
書込回数が最小のブロックを検索すると、書込部31が
デバイスドライバ17にデータの書込指令を出力する。
これにより、デバイスドライバ17が、RAM29のバ
ッファ16に格納されたデータを読み込んで、その検索
されたブロックに書き込む処理を実行する(ステップS
T4)。そして、デバイスドライバ17がデータの書込
処理を完了すると、管理テーブル15に格納された情報
を現在の状況に合わせるため、情報更新部28が、デー
タの書込処理が行われたブロックのデータ書込回数をイ
ンクリメントするとともに、そのデータのファイル名を
管理テーブル15に登録し、また、そのブロックに係る
フラグの内容を反転する(ステップST5)。即ち、そ
のブロックに係るフラグの内容を、無効データを記憶す
るブロックであることを示す内容から有効データを記憶
するブロックであることを示す内容に変更する。
When the write block search unit 30 searches for a block having the minimum number of times of data writing, the writing unit 31 outputs a data write command to the device driver 17.
Thus, the device driver 17 executes a process of reading the data stored in the buffer 16 of the RAM 29 and writing the data into the searched block (step S).
T4). When the device driver 17 completes the data writing process, the information updating unit 28 updates the data writing of the block in which the data writing process was performed in order to adjust the information stored in the management table 15 to the current situation. In addition to incrementing the number of times of loading, the file name of the data is registered in the management table 15, and the contents of the flag relating to the block are inverted (step ST5). That is, the content of the flag related to the block is changed from the content indicating that the block stores invalid data to the content indicating that the block stores valid data.

【0046】一方、RAM29の管理テーブル15に同
じファイル名が格納されている場合には、データの再書
込であると判断し、書込ブロック検索部30が、有効な
データを記憶するブロックの中で、そのファイル名に係
るデータを記憶するブロックをそれぞれ検索する(図1
1のステップST22,図12のステップST31)。
具体的には、受信部21が受信したデータのファイル名
が、例えば”aaa”である場合には、図13に示すよ
うに、ファイル名が”aaa”であるデータを記憶する
ブロックが2個存在するので、2個のブロックが検索さ
れる。
On the other hand, if the same file name is stored in the management table 15 of the RAM 29, it is determined that the data is to be rewritten, and the write block search unit 30 determines whether or not a valid data is stored in the block. In each of them, a block for storing data relating to the file name is searched (FIG. 1).
Step ST22 of FIG. 1 and Step ST31 of FIG. 12).
Specifically, when the file name of the data received by the receiving unit 21 is, for example, “aaa”, as shown in FIG. 13, two blocks storing the data having the file name “aaa” are provided. Since it exists, two blocks are searched.

【0047】このようにして、2個のブロックを検索す
ると、書込ブロック検索部30は、最初に、その2個の
ブロックのうち、格納ブロック順が”1”のブロックが
記憶するデータと、分割部22から最初に出力された1
ブロック分のデータを比較する(ステップST32)。
そして、両者のデータが一致する場合には、格納ブロッ
ク順が”1”のブロックに対するデータの書込処理を実
施せずに終了する。
When the two blocks are searched in this way, the write block search unit 30 firstly stores the data stored in the block whose storage block order is “1” among the two blocks, 1 which is first output from the dividing unit 22
The data for the blocks are compared (step ST32).
If the two data match, the process ends without executing the data write process for the block whose storage block order is “1”.

【0048】次に、書込ブロック検索部30は、格納ブ
ロック順が”2”のブロックが記憶するデータと、分割
部22から次に出力された1ブロック分のデータを比較
する(ステップST32)。そして、両者のデータが一
致しない場合には、同じファイル名が存在しない場合と
同様であるため詳細な説明は省略するが、データ書込回
数が最小のブロックを検索して、そのブロックにデータ
を書き込む処理を実施する(ステップST3〜ST
5)。
Next, the write block search unit 30 compares the data stored in the block whose storage block order is "2" with the data of one block output next from the division unit 22 (step ST32). . If the two data do not match, it is the same as the case where the same file name does not exist. Therefore, the detailed description is omitted. Perform writing processing (steps ST3 to ST3).
5).

【0049】以上で明らかなように、この実施の形態4
によれば、分割部22により分割されたデータのうち、
書込ブロック検索部30が比較処理を実施した結果、デ
ータの同一性が認められないデータのみを当該ブロック
に書き込むように構成したので、同一性が認められたデ
ータを記憶するブロックに対するデータの書込処理が実
施されないようになり、その結果、そのブロックに対す
るデータ書込回数の増加を抑制することができるととも
に、データ書込処理の高速化を図ることができる効果を
奏する。
As is apparent from the above, the fourth embodiment
According to the data of the data divided by the dividing unit 22,
As a result of the comparison process performed by the write block search unit 30, only the data whose identity is not recognized is written to the block, so that the data writing to the block storing the data whose identity is recognized is performed. As a result, it is possible to suppress an increase in the number of times of writing data to the block and to increase the speed of the data writing process.

【0050】実施の形態5.上記実施の形態4では、有
効なデータを記憶するブロックの中で、同一のファイル
名に係るデータを記憶するブロックを検索するものにつ
いて示したが、図16に示すように、管理テーブル15
に、無効データのファイル名を登録して、無効データを
記憶するブロックの中で、同一のファイル名に係るデー
タを記憶するブロックを検索するようにしてもよい。こ
れにより、ブロックが記憶するデータが無効データであ
っても、書込データと一致する場合には、その書込デー
タの書込処理を実施する必要がなくなり、その結果、デ
ータ書込回数の増加を抑制することができるとともに、
データ書込処理の高速化を図ることができる効果を奏す
る。なお、図14及び図15はこの発明の実施の形態5
によるデータ書込方法を示すフローチャートである。
Embodiment 5 In the fourth embodiment, the search for the block storing the data having the same file name among the blocks storing the valid data is described. However, as shown in FIG.
Then, a file name of invalid data may be registered, and a block storing data relating to the same file name may be searched for among blocks storing invalid data. As a result, even if the data stored in the block is invalid data, if the data matches the write data, it is not necessary to execute the write processing of the write data, and as a result, the number of times of data writing increases Can be suppressed,
This has the effect of speeding up the data writing process. 14 and 15 show a fifth embodiment of the present invention.
Is a flowchart showing a data writing method according to the first embodiment.

【0051】実施の形態6.上記実施の形態1から実施
の形態5では、管理テーブル15が最初からRAM1
4,29に格納されていることを前提にして説明した
が、管理テーブル15をフラッシュEEPROM18の
何れかのブロックに記憶し、そのブロックから読み出し
てRAM14,29にコピーするようにしてもよい。た
だし、管理テーブル15を記憶するブロックを同一のブ
ロックに固定すると、ブロックに対するデータの書込処
理が実施される毎に管理テーブル15の内容を更新する
必要があるので、管理テーブル15を記憶するブロック
のデータ書込回数が増加する不具合を生じる。
Embodiment 6 FIG. In the first to fifth embodiments, the management table 15 is stored in the RAM 1 from the beginning.
Although the description has been made on the premise that the management table 15 is stored in the flash EEPROM 18, the management table 15 may be stored in any block of the flash EEPROM 18, read from the block, and copied to the RAM 14 or 29. However, if the block storing the management table 15 is fixed to the same block, it is necessary to update the contents of the management table 15 every time data writing processing is performed on the block. Causes a problem that the number of times of writing data increases.

【0052】そこで、この実施の形態6では、図18に
示すように、当該ブロックが記憶するデータの種類及び
データ書込時刻を示す情報を各ブロックに記憶する。そ
して、ファイル書込装置が管理テーブルの読込命令を受
けると、図示せぬテーブル管理部が、デバイスドライバ
17を起動して、最初に任意のブロックからデータの種
類を示す情報をバッファ16に転送する処理を実施する
(図17のステップST61)。
Therefore, in the sixth embodiment, as shown in FIG. 18, information indicating the type of data stored in the block and the data write time is stored in each block. When the file writing device receives a command to read the management table, a table management unit (not shown) activates the device driver 17 and first transfers information indicating the type of data from an arbitrary block to the buffer 16. The processing is performed (step ST61 in FIG. 17).

【0053】そして、テーブル管理部は、データの種類
を示す情報がバッファ16に格納されると、その情報に
基づいて当該ブロックが記憶するデータは管理テーブル
であるか否かを判断する(ステップST62)。そし
て、かかる処理を全てのブロックに対して実行し、管理
テーブルを格納していると考えられるブロックが複数存
在する場合には、各ブロックのデータ書込時刻を比較
し、データ書込時刻が最も新しいブロックに管理テーブ
ルが記憶されていると判断する(ステップST63〜S
T65)。管理テーブルはデータの書込処理が実施され
るごとに更新されるので、管理テーブルを記憶するブロ
ックのデータ書込時刻は常に最新の時刻となるからであ
る。
When the information indicating the type of data is stored in the buffer 16, the table management unit determines whether the data stored in the block is a management table based on the information (step ST62). ). Then, this process is executed for all the blocks, and when there are a plurality of blocks that are considered to store the management table, the data write time of each block is compared, and the data write time is It is determined that the management table is stored in the new block (steps ST63 to ST63)
T65). This is because the management table is updated every time data writing processing is performed, and thus the data writing time of the block storing the management table is always the latest time.

【0054】このようにして、管理テーブルを記憶する
ブロックを特定すると、テーブル管理部は、デバイスド
ライバ17を起動して、そのブロックから管理テーブル
をRAM14,29に転送する処理を実行する。
When the block that stores the management table is specified in this way, the table management unit starts the device driver 17 and executes processing for transferring the management table from that block to the RAMs 14 and 29.

【0055】以上で明らかなように、この実施の形態6
によれば、当該ブロックが記憶するデータの種類及びデ
ータ書込時刻を示す情報を各ブロックに記憶し、その情
報に基づいて管理テーブル15を記憶するブロックを特
定するように構成したので、管理テーブル15をフラッ
シュEEPROM18に記憶するようにしても、特定の
ブロックのデータ書込回数だけが増加する不具合を解消
することができる効果を奏する。
As is apparent from the above, the sixth embodiment
According to the configuration, the information indicating the type of data stored in the block and the data write time is stored in each block, and the block storing the management table 15 is specified based on the information. Even if 15 is stored in the flash EEPROM 18, an effect that the problem that only the number of times of writing data of a specific block increases can be solved.

【0056】実施の形態7.上記実施の形態6では、デ
ータの種類及びデータ書込時刻を示す情報に基づいて管
理テーブル15を記憶するブロックを特定するものにつ
いて示したが、図20に示すように、当該ブロックのデ
ータ書込回数,フラグ,データ書込時刻,ファイル名及
び格納ブロック順を示す情報を各ブロックに記憶し、そ
の情報に基づいて管理テーブル15を再現するようにし
てもよい。
Embodiment 7 FIG. In the sixth embodiment, the block for storing the management table 15 is specified based on the information indicating the type of data and the data write time. However, as shown in FIG. Information indicating the number of times, the flag, the data writing time, the file name, and the storage block order may be stored in each block, and the management table 15 may be reproduced based on the information.

【0057】即ち、ファイル書込装置が管理テーブルの
読込命令を受けると、図示せぬテーブル管理部が、デバ
イスドライバ17を起動して、任意のブロックからデー
タの書込回数等を示す情報をバッファ16に転送する処
理を実施する(図19のステップST71,72)。そ
して、テーブル管理部は、これらの情報に基づいて管理
テーブル15を再現する。
That is, when the file writing device receives a command to read the management table, a table management unit (not shown) activates the device driver 17 to buffer information indicating the number of times data has been written from an arbitrary block. 16 (steps ST71 and ST72 in FIG. 19). Then, the table management unit reproduces the management table 15 based on the information.

【0058】これにより、特定のブロックのデータ書込
回数だけが増加する不具合を解消することができるとと
もに、フラッシュEEPROM18に故障が発生して
も、その故障の影響を1ブロックに限定することができ
るようになり、その結果、データの損失を最小限に抑制
することができる効果を奏する。
As a result, it is possible to solve the problem that only the number of times of writing data in a specific block is increased, and even if a failure occurs in the flash EEPROM 18, the influence of the failure can be limited to one block. As a result, there is an effect that data loss can be suppressed to a minimum.

【0059】[0059]

【発明の効果】以上のように、この発明によれば、各ブ
ロックのデータ書込回数及びフラグを参照して、無効な
データを記憶するブロックの中でデータ書込回数が最小
のブロックを検索し、そのブロックにデータを書き込む
ように構成したので、有効データを記憶するブロックの
書込回数が抑制され、各ブロックのデータ書込回数を平
均化することができる効果がある。
As described above, according to the present invention, by referring to the data write count and the flag of each block, a block having the minimum data write count among the blocks storing invalid data is searched. However, since the data is written in the block, the number of times of writing in the block storing the valid data is suppressed, and the number of times of writing data in each block can be averaged.

【0060】この発明によれば、フラッシュEEPRO
Mに書き込むデータのデータサイズが各ブロックのデー
タサイズより大きい場合には、フラッシュEEPROM
に書き込むデータを各ブロックのデータサイズに分割す
るように構成したので、書き込むデータのデータサイズ
が大きくても、ブロック単位で書込処理を実施すること
ができる効果がある。
According to the present invention, flash EEPROM
If the data size of the data to be written to M is larger than the data size of each block, the flash EEPROM
Is configured to divide the data to be written into the data size of each block, so that even if the data size of the data to be written is large, there is an effect that the writing process can be performed in block units.

【0061】この発明によれば、検索手段により検索さ
れたブロックのうち、データ書込回数が最小のブロック
が記憶するデータをデータ書込回数が最大のブロックに
コピーするように構成したので、無効データを記憶する
ブロックを有効に活用することができるようになり、そ
の結果、有効データを記憶するブロックの書込回数が抑
制され、各ブロックのデータ書込回数を平均化すること
ができる効果がある。
According to the present invention, of the blocks searched by the search means, the data stored in the block with the smallest number of data writes is copied to the block with the largest number of data writes. As a result, it is possible to effectively utilize the blocks for storing data. As a result, the number of times of writing of the blocks for storing valid data is suppressed, and the number of times of writing data for each block can be averaged. is there.

【0062】この発明によれば、データ書込回数が最小
のブロックを検索する際、データ書込時刻から所定時間
経過しているブロックを検索するように構成したので、
頻繁に更新されないデータを記憶するブロックを有効に
活用することができるようになり、その結果、有効デー
タを記憶するブロックの書込回数が抑制され、各ブロッ
クのデータ書込回数を平均化することができる効果があ
る。
According to the present invention, when searching for a block having the minimum number of data write operations, a block which has passed a predetermined time from the data write time is searched.
Blocks that store data that is not updated frequently can be effectively used. As a result, the number of times of writing of blocks that store valid data is suppressed, and the number of times of data writing of each block is averaged. There is an effect that can be.

【0063】この発明によれば、データ書込回数が最小
のブロックを検索する際、データ書込回数が基準回数以
下のブロックを検索するように構成したので、頻繁に更
新されないデータを記憶するブロックを有効に活用する
ことができるようになり、その結果、有効データを記憶
するブロックの書込回数が抑制され、各ブロックのデー
タ書込回数を平均化することができる効果がある。
According to the present invention, when searching for a block having the minimum number of data writings, a block having a number of data writings equal to or smaller than the reference number is searched, so that a block for storing data that is not updated frequently is stored. Can be effectively utilized, and as a result, the number of times of writing of blocks storing valid data can be suppressed, and the number of times of writing data of each block can be averaged.

【0064】この発明によれば、各ブロックのデータ書
込回数を考慮して基準回数を設定するように構成したの
で、平均化処理を効率よく実施することができる効果が
ある。
According to the present invention, since the reference number is set in consideration of the number of times of writing data in each block, the averaging process can be efficiently performed.

【0065】この発明によれば、コピー手段のコピー処
理を書込手段の書込処理と非同期に実施するように構成
したので、データをフラッシュEEPROMに書込処理
を実施する際に、データ書込回数の平均化処理を実施す
る必要がなくなり、その結果、データの書込処理の高速
化を図ることができる効果がある。
According to the present invention, since the copying process of the copying device is performed asynchronously with the writing process of the writing device, the data writing to the flash EEPROM is performed when the data is written to the flash EEPROM. It is not necessary to perform the averaging process of the number of times, and as a result, there is an effect that the speed of the data writing process can be increased.

【0066】この発明によれば、分割手段により分割さ
れたデータのうち、比較手段によりデータの同一性が認
められないデータのみを当該ブロックに書き込むように
構成したので、同一性が認められたデータを記憶するブ
ロックに対するデータの書込処理が実施されないように
なり、その結果、そのブロックに対するデータ書込回数
の増加を抑制することができるとともに、データ書込処
理の高速化を図ることができる効果がある。
According to the present invention, of the data divided by the dividing means, only the data of which the data identity is not recognized by the comparing means is written in the corresponding block. Data is not written to the block storing the data, and as a result, an increase in the number of times of writing data to the block can be suppressed, and the speed of the data writing process can be increased. There is.

【0067】この発明によれば、各ブロックが記憶する
データが無効のデータである場合にも、そのデータのフ
ァイル名を格納するように構成したので、ブロックが記
憶するデータが無効データであっても、書込データと一
致する場合には、その書込データの書込処理を実施する
必要がなくなり、その結果、データ書込回数の増加を抑
制することができるとともに、データ書込処理の高速化
を図ることができる効果がある。
According to the present invention, even when the data stored in each block is invalid data, the file name of the data is stored, so that the data stored in the block is invalid data. However, if the write data coincides with the write data, it is not necessary to execute the write processing of the write data. As a result, it is possible to suppress an increase in the number of data write operations and to increase the speed of the data write processing. There is an effect that can be achieved.

【0068】この発明によれば、当該ブロックが記憶す
るデータの種類及びデータ書込時刻を示す情報を各ブロ
ックに記憶し、その情報に基づいて情報格納手段の格納
内容を記憶するブロックを特定するように構成したの
で、情報格納手段の格納内容をフラッシュEEPROM
に記憶するようにしても、特定のブロックのデータ書込
回数だけが増加する不具合を解消することができる効果
がある。また、複数のブロックに情報格納手段の格納内
容と思われる情報が記憶されていても、データ書込時刻
を示す情報から情報格納手段の格納内容を記憶するブロ
ックを特定することができる効果もある。
According to the present invention, information indicating the type of data stored in the block and the data writing time is stored in each block, and the block storing the storage contents of the information storage means is specified based on the information. The information stored in the information storage means is stored in a flash EEPROM.
The effect of eliminating the problem that only the number of times of writing data in a specific block increases can be eliminated. Further, even if information that is considered to be the storage content of the information storage means is stored in a plurality of blocks, there is an effect that the block storing the storage content of the information storage means can be specified from the information indicating the data writing time. .

【0069】この発明によれば、当該ブロックのデータ
書込回数,フラグ,データ書込時刻,ファイル名及びデ
ータ格納順を示す情報を各ブロックに記憶し、その情報
に基づいて情報格納手段の格納内容を再現するように構
成したので、特定のブロックのデータ書込回数だけが増
加する不具合を解消することができるとともに、フラッ
シュEEPROMに故障が発生しても、その故障の影響
を1ブロックに限定することができるようになり、その
結果、データの損失を最小限に抑制することができる効
果がある。
According to the present invention, information indicating the number of times of data writing of the block, the flag, the data writing time, the file name, and the data storage order are stored in each block, and the information storage means stores the information based on the information. Since the contents are reproduced, it is possible to solve the problem that only the number of times of writing data in a specific block increases, and to limit the influence of the failure to one block even if a failure occurs in the flash EEPROM. As a result, there is an effect that data loss can be minimized.

【0070】この発明によれば、各ブロックのデータ書
込回数及びデータの有効性を判別するフラグを参照し
て、無効なデータを記憶するブロックの中でデータ書込
回数が最小のブロックを検索する検索処理を実行すると
ともに、そのブロックにデータを書き込む書込処理を実
行するように構成したので、無効データを記憶するブロ
ックを有効に活用することができるようになり、その結
果、有効データを記憶するブロックの書込回数が抑制さ
れ、各ブロックのデータ書込回数を平均化することがで
きる効果がある。
According to the present invention, a block having the minimum number of times of data writing among blocks storing invalid data is searched for by referring to the number of times of data writing of each block and a flag for determining the validity of data. In addition to executing a search process for writing data to the block and executing a write process for writing data to the block, the block for storing invalid data can be effectively used, and as a result, The number of times of writing of blocks to be stored is suppressed, and the number of times of writing data of each block can be averaged.

【0071】この発明によれば、検索処理により検索さ
れたブロックのうち、データ書込回数が最小のブロック
が記憶するデータをデータ書込回数が最大のブロックに
コピーするコピー処理を実行するように構成したので、
無効データを記憶するブロックを有効に活用することが
できるようになり、その結果、有効データを記憶するブ
ロックの書込回数が抑制され、各ブロックのデータ書込
回数を平均化することができる効果がある。
According to the present invention, of the blocks searched by the search processing, the copy processing of copying the data stored in the block with the smallest data write count to the block with the largest data write count is executed. Because we configured
Blocks for storing invalid data can be effectively used. As a result, the number of times of writing of blocks for storing valid data can be suppressed, and the number of times of data writing of each block can be averaged. There is.

【図面の簡単な説明】[Brief description of the drawings]

【図1】 この発明の実施の形態1によるデータ書込装
置の概略構成を示す構成図である。
FIG. 1 is a configuration diagram illustrating a schematic configuration of a data writing device according to a first embodiment of the present invention;

【図2】 この発明の実施の形態1によるデータ書込装
置の詳細構成を示す構成図である。
FIG. 2 is a configuration diagram showing a detailed configuration of the data writing device according to the first embodiment of the present invention;

【図3】 この発明の実施の形態1によるデータ書込方
法を示すフローチャートである。
FIG. 3 is a flowchart showing a data writing method according to the first embodiment of the present invention.

【図4】 管理テーブルの格納内容を説明する説明図で
ある。
FIG. 4 is an explanatory diagram illustrating the contents stored in a management table.

【図5】 この発明の実施の形態2によるデータ書込装
置の詳細構成を示す構成図である。
FIG. 5 is a configuration diagram showing a detailed configuration of a data writing device according to a second embodiment of the present invention.

【図6】 この発明の実施の形態2によるデータ書込方
法を示すフローチャートである。
FIG. 6 is a flowchart showing a data writing method according to a second embodiment of the present invention.

【図7】 この発明の実施の形態2によるデータ書込装
置の処理内容を説明する説明図である。
FIG. 7 is an explanatory diagram illustrating processing contents of a data writing device according to a second embodiment of the present invention;

【図8】 この発明の実施の形態3によるデータ書込装
置の詳細構成を示す構成図である。
FIG. 8 is a configuration diagram showing a detailed configuration of a data writing device according to a third embodiment of the present invention.

【図9】 この発明の実施の形態3によるデータ書込装
置の処理内容を説明する説明図である。
FIG. 9 is an explanatory diagram illustrating processing contents of a data writing device according to a third embodiment of the present invention.

【図10】 この発明の実施の形態4によるデータ書込
装置の詳細構成を示す構成図である。
FIG. 10 is a configuration diagram showing a detailed configuration of a data writing device according to a fourth embodiment of the present invention.

【図11】 この発明の実施の形態4によるデータ書込
方法を示すフローチャートである。
FIG. 11 is a flowchart showing a data writing method according to a fourth embodiment of the present invention.

【図12】 この発明の実施の形態4によるデータ書込
方法を示すフローチャートである。
FIG. 12 is a flowchart showing a data writing method according to a fourth embodiment of the present invention.

【図13】 この発明の実施の形態4によるデータ書込
装置の処理内容を説明する説明図である。
FIG. 13 is an explanatory diagram illustrating processing contents of a data writing device according to a fourth embodiment of the present invention.

【図14】 この発明の実施の形態5によるデータ書込
方法を示すフローチャートである。
FIG. 14 is a flowchart showing a data writing method according to a fifth embodiment of the present invention.

【図15】 この発明の実施の形態5によるデータ書込
方法を示すフローチャートである。
FIG. 15 is a flowchart showing a data writing method according to a fifth embodiment of the present invention.

【図16】 この発明の実施の形態5によるデータ書込
装置の処理内容を説明する説明図である。
FIG. 16 is an explanatory diagram illustrating processing contents of a data writing device according to a fifth embodiment of the present invention.

【図17】 この発明の実施の形態6によるデータ書込
方法を示すフローチャートである。
FIG. 17 is a flowchart showing a data writing method according to a sixth embodiment of the present invention.

【図18】 この発明の実施の形態6によるデータ書込
装置の処理内容を説明する説明図である。
FIG. 18 is an explanatory diagram illustrating processing contents of a data writing device according to a sixth embodiment of the present invention.

【図19】 この発明の実施の形態7によるデータ書込
方法を示すフローチャートである。
FIG. 19 is a flowchart showing a data writing method according to a seventh embodiment of the present invention.

【図20】 この発明の実施の形態7によるデータ書込
装置の処理内容を説明する説明図である。
FIG. 20 is an explanatory diagram illustrating processing contents of a data writing device according to a seventh embodiment of the present invention.

【図21】 従来のデータ書込装置を示す構成図であ
る。
FIG. 21 is a configuration diagram showing a conventional data writing device.

【符号の説明】[Explanation of symbols]

14 RAM(情報格納手段)、22 分割部(分割手
段)、23 書込ブロック検索部(検索手段)、24,
31 書込部(書込手段)、25,28 情報更新部
(情報更新手段)、26 書換ブロック検索部(検索手
段)、27 コピー部(コピー手段)、29 RAM
(情報格納手段、ファイル名格納手段)、30 書込ブ
ロック検索部(検索手段、判別手段、比較手段)。
14 RAM (information storage unit), 22 division unit (division unit), 23 write block search unit (search unit), 24,
31 writing unit (writing unit), 25, 28 information updating unit (information updating unit), 26 rewriting block searching unit (searching unit), 27 copying unit (copying unit), 29 RAM
(Information storage means, file name storage means), 30 write block search section (search means, determination means, comparison means).

Claims (13)

【特許請求の範囲】[Claims] 【請求項1】 フラッシュEEPROMを構成する各ブ
ロックのデータ書込回数を格納するとともに、各ブロッ
クが記憶するデータの有効性を判別するフラグを格納す
る情報格納手段と、フラッシュEEPROMに対するデ
ータの書込要求を受信すると、上記情報格納手段が格納
するデータ書込回数及びフラグを参照して、無効なデー
タを記憶するブロックの中でデータ書込回数が最小のブ
ロックを検索する検索手段と、上記検索手段により検索
されたブロックにデータを書き込む書込手段と、上記検
索手段により検索されたブロックのデータ書込回数をイ
ンクリメントするとともに、そのブロックに係るフラグ
の内容を反転する情報更新手段とを備えたデータ書込装
置。
1. An information storage means for storing the number of times of data writing of each block constituting a flash EEPROM, a flag for determining validity of data stored in each block, and writing data to the flash EEPROM. When the request is received, a search unit for searching for a block having the minimum number of data writes among blocks storing invalid data with reference to the number of data writes and a flag stored in the information storage unit; Writing means for writing data to the block searched by the means, and information updating means for incrementing the number of times of data writing of the block searched by the searching means and inverting the contents of a flag relating to the block. Data writer.
【請求項2】 フラッシュEEPROMに書き込むデー
タのデータサイズが各ブロックのデータサイズより大き
い場合には、フラッシュEEPROMに書き込むデータ
を各ブロックのデータサイズに分割する分割手段を設け
たことを特徴とする請求項1記載のデータ書込装置。
2. The data processing apparatus according to claim 1, further comprising a dividing unit configured to divide the data to be written into the flash EEPROM into the data size of each block when the data size of the data to be written into the flash EEPROM is larger than the data size of each block. Item 2. The data writing device according to Item 1.
【請求項3】 情報格納手段が格納するデータ書込回数
及びフラグを参照して、有効なデータを記憶するブロッ
クの中でデータ書込回数が最小のブロックを検索すると
ともに、無効なデータを記憶するブロックの中でデータ
書込回数が最大のブロックを検索する検索手段と、上記
検索手段により検索されたブロックのうち、データ書込
回数が最小のブロックが記憶するデータをデータ書込回
数が最大のブロックにコピーするコピー手段と、上記検
索手段により検索されたデータ書込回数が最大のブロッ
クのデータ書込回数をインクリメントするとともに、上
記検索手段により検索された各ブロックに係るフラグの
内容を反転する情報更新手段とを設けたことを特徴とす
る請求項1または請求項2記載のデータ書込装置。
3. A block which has the minimum number of times of data writing among blocks storing valid data with reference to the number of times of data writing and a flag stored in the information storage means, and stores invalid data. Searching means for searching for a block having the largest number of data writing times among blocks to be written, and, among blocks searched by the searching means, data stored in a block having the smallest number of data writing times is assigned a maximum number of data writing times. And a copy unit for copying to a block of the same type, and incrementing the data write count of the block having the largest data write count searched by the search means, and inverting the content of a flag relating to each block searched by the search means. 3. The data writing device according to claim 1, further comprising an information updating unit that performs the operation.
【請求項4】 検索手段は、データ書込回数が最小のブ
ロックを検索する際、データ書込時刻から所定時間経過
しているブロックを検索することを特徴とする請求項3
記載のデータ書込装置。
4. A search unit according to claim 3, wherein, when searching for a block having the minimum number of times of writing data, searching for a block after a predetermined time has elapsed from the data writing time.
The data writing device according to the above.
【請求項5】 検索手段は、データ書込回数が最小のブ
ロックを検索する際、データ書込回数が基準回数以下の
ブロックを検索することを特徴とする請求項3記載のデ
ータ書込装置。
5. The data writing apparatus according to claim 3, wherein the search means searches for a block having a data write count equal to or less than a reference count when searching for a block having the minimum data write count.
【請求項6】 検索手段は、各ブロックのデータ書込回
数を考慮して基準回数を設定することを特徴とする請求
項5記載のデータ書込装置。
6. The data writing device according to claim 5, wherein the search means sets the reference number of times in consideration of the number of times of data writing of each block.
【請求項7】 コピー手段のコピー処理を書込手段の書
込処理と非同期に実施することを特徴とする請求項3記
載のデータ書込装置。
7. The data writing device according to claim 3, wherein the copy processing of the copy means is performed asynchronously with the write processing of the write means.
【請求項8】 各ブロックが記憶するデータのファイル
名を格納するファイル名格納手段と、フラッシュEEP
ROMに対するデータの書込要求を受信すると、そのデ
ータのファイル名と同じファイル名が上記ファイル名格
納手段に格納されているか否かを判別する判別手段と、
上記判別手段の判別結果が同じファイル名の存在を示す
場合には、そのファイル名に係るデータを記憶するブロ
ックをそれぞれ検索し、各ブロックが記憶するデータと
分割手段により分割されたデータを比較する比較手段と
を設け、書込手段は上記分割手段により分割されたデー
タのうち、上記比較手段によりデータの同一性が認めら
れないデータのみを当該ブロックに書き込むことを特徴
とする請求項2から請求項7のうちのいずれか1項記載
のデータ書込装置。
8. File name storage means for storing a file name of data stored in each block, and a flash EEP
Upon receiving a request to write data to the ROM, determining means for determining whether or not the same file name as the file name of the data is stored in the file name storing means;
If the result of the determination by the determination means indicates the existence of the same file name, the respective blocks that store the data associated with the file name are searched, and the data stored in each block is compared with the data divided by the division means. 3. A comparison means, wherein the writing means writes only data, of the data divided by the division means, whose data is not recognized to be identical by the comparison means, to the block. Item 8. The data writing device according to any one of items 7.
【請求項9】 ファイル名格納手段は、各ブロックが記
憶するデータが無効のデータである場合にも、そのデー
タのファイル名を格納することを特徴とする請求項8記
載のデータ書込装置。
9. The data writing device according to claim 8, wherein the file name storage means stores the file name of the data even when the data stored in each block is invalid data.
【請求項10】 当該ブロックが記憶するデータの種類
及びデータ書込時刻を示す情報を各ブロックに記憶し、
その情報に基づいて情報格納手段の格納内容を記憶する
ブロックを特定することを特徴とする請求項1から請求
項9のうちのいずれか1項記載のデータ書込装置。
10. Information indicating the type of data stored in the block and the data write time is stored in each block.
The data writing device according to any one of claims 1 to 9, wherein a block for storing contents stored in the information storage means is specified based on the information.
【請求項11】 当該ブロックのデータ書込回数,フラ
グ,データ書込時刻,ファイル名及びデータ格納順を示
す情報を各ブロックに記憶し、その情報に基づいて情報
格納手段の格納内容を再現することを特徴とする請求項
1から請求項9のうちのいずれか1項記載のデータ書込
装置。
11. Information indicating the number of times of data writing, a flag, a data writing time, a file name, and a data storage order of the block is stored in each block, and the storage content of the information storage means is reproduced based on the information. The data writing device according to any one of claims 1 to 9, wherein:
【請求項12】 フラッシュEEPROMに対するデー
タの書込要求を受信すると、各ブロックのデータ書込回
数及びデータの有効性を判別するフラグを参照して、無
効なデータを記憶するブロックの中でデータ書込回数が
最小のブロックを検索する検索処理を実行するととも
に、そのブロックにデータを書き込む書込処理を実行
し、その書込処理が完了すると、そのブロックのデータ
書込回数をインクリメントするとともに、そのブロック
に係るフラグの内容を反転するデータ書込方法。
12. When a data write request to a flash EEPROM is received, a data write request is written in a block storing invalid data by referring to a data write count of each block and a flag for determining validity of data. A search process for searching for a block having the smallest number of write operations is performed, and a write process for writing data to the block is performed. When the write process is completed, the number of data write operations for the block is incremented, and A data writing method for inverting the contents of a flag relating to a block.
【請求項13】 各ブロックのデータ書込回数及びフラ
グを参照して、有効なデータを記憶するブロックの中で
データ書込回数が最小のブロックを検索するとともに、
無効なデータを記憶するブロックの中でデータ書込回数
が最大のブロックを検索する検索処理を実行する一方、
その検索処理により検索されたブロックのうち、データ
書込回数が最小のブロックが記憶するデータをデータ書
込回数が最大のブロックにコピーするコピー処理を実行
し、そのコピー処理が完了すると、上記検索処理により
検索されたデータ書込回数が最大のブロックのデータ書
込回数をインクリメントするとともに、上記検索処理に
より検索された各ブロックに係るフラグの内容を反転す
ることを特徴とする請求項12記載のデータ書込方法。
13. A block which has the minimum number of times of data writing among blocks storing valid data with reference to the number of times of data writing and a flag of each block, and
While performing a search process of searching for a block having the largest number of data writes among blocks storing invalid data,
Among the blocks searched by the search process, a copy process of copying data stored in the block with the smallest data write count to a block with the largest data write count is executed, and when the copy process is completed, the above search is performed. 13. The method according to claim 12, wherein the number of times of data writing of a block having the largest number of times of data writing searched by the processing is incremented, and the content of a flag relating to each block searched by the searching is inverted. Data writing method.
JP5559098A 1998-03-06 1998-03-06 Data writing device and method therefor Pending JPH11259370A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5559098A JPH11259370A (en) 1998-03-06 1998-03-06 Data writing device and method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5559098A JPH11259370A (en) 1998-03-06 1998-03-06 Data writing device and method therefor

Publications (1)

Publication Number Publication Date
JPH11259370A true JPH11259370A (en) 1999-09-24

Family

ID=13002977

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5559098A Pending JPH11259370A (en) 1998-03-06 1998-03-06 Data writing device and method therefor

Country Status (1)

Country Link
JP (1) JPH11259370A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009011266A1 (en) * 2007-07-13 2009-01-22 Kabushiki Kaisha Toshiba Semiconductor memory information accumulation device and its write-in control method
JP2009087173A (en) * 2007-10-02 2009-04-23 Mitsubishi Electric Corp Apparatus and method for managing flash memory, and program
JP2011086181A (en) * 2009-10-16 2011-04-28 Fanuc Ltd Information processor including nonvolatile memory protection function
CN102047230A (en) * 2008-05-28 2011-05-04 美光科技公司 Hybrid memory management
JP2012033002A (en) * 2010-07-30 2012-02-16 Toshiba Corp Memory management device and memory management method
JP2012221338A (en) * 2011-04-12 2012-11-12 Hitachi Ltd Semiconductor device and method of controlling nonvolatile memory device
WO2013025083A2 (en) * 2011-08-18 2013-02-21 영남대학교 산학협력단 Electronic device for saving data on pram and method for controlling memory of same
JP2016212712A (en) * 2015-05-12 2016-12-15 東芝情報システム株式会社 Storage device using nand type flash memory and method for using nand type flash memory
CN111989646A (en) * 2018-04-20 2020-11-24 美光科技公司 Apparatus and method for counter update operation

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8352674B2 (en) 2007-06-13 2013-01-08 Kabushiki Kaisha Toshiba Semiconductor memory information storage apparatus and method of controlling writing
WO2009011266A1 (en) * 2007-07-13 2009-01-22 Kabushiki Kaisha Toshiba Semiconductor memory information accumulation device and its write-in control method
JP2009087173A (en) * 2007-10-02 2009-04-23 Mitsubishi Electric Corp Apparatus and method for managing flash memory, and program
US8751733B2 (en) 2008-05-28 2014-06-10 Round Rock Research, Llc Hybrid memory management
CN102047230A (en) * 2008-05-28 2011-05-04 美光科技公司 Hybrid memory management
JP2011522350A (en) * 2008-05-28 2011-07-28 マイクロン テクノロジー, インク. Hybrid memory management
US9390004B2 (en) 2008-05-28 2016-07-12 Round Rock Research, Llc Hybrid memory management
JP2011086181A (en) * 2009-10-16 2011-04-28 Fanuc Ltd Information processor including nonvolatile memory protection function
JP2012033002A (en) * 2010-07-30 2012-02-16 Toshiba Corp Memory management device and memory management method
JP2012221338A (en) * 2011-04-12 2012-11-12 Hitachi Ltd Semiconductor device and method of controlling nonvolatile memory device
WO2013025083A3 (en) * 2011-08-18 2013-05-30 영남대학교 산학협력단 Electronic device for saving data on pram and method for controlling memory of same
WO2013025083A2 (en) * 2011-08-18 2013-02-21 영남대학교 산학협력단 Electronic device for saving data on pram and method for controlling memory of same
JP2016212712A (en) * 2015-05-12 2016-12-15 東芝情報システム株式会社 Storage device using nand type flash memory and method for using nand type flash memory
CN111989646A (en) * 2018-04-20 2020-11-24 美光科技公司 Apparatus and method for counter update operation
JP2021522567A (en) * 2018-04-20 2021-08-30 マイクロン テクノロジー,インク. Equipment and method for counter update operation

Similar Documents

Publication Publication Date Title
US5043871A (en) Method and apparatus for database update/recovery
US20010049755A1 (en) DMA doorbell
US20080120488A1 (en) Apparatus and method of managing nonvolatile memory
US20140156881A1 (en) Memory system having high data transfer efficiency and host controller
US7664900B2 (en) Multiprocessor system and method for processing memory access
JP4046877B2 (en) Batch erase nonvolatile memory and mobile phone
US7664906B2 (en) Flash memory access apparatus and method
JPH11259370A (en) Data writing device and method therefor
US7191284B1 (en) Method and system for performing periodic replication using a log and a change map
EP1335290A2 (en) A memory device with an error correction function
US5241639A (en) Method for updating data from a cache address location to main memory and maintaining the cache address in registration memory
EP1510924A1 (en) Apparatus and method for handling transactions with writes and reads to EEPROM or Flash memories
CN116150043A (en) File reading method and device
CN111506458B (en) Method, module and system for improving F2FS transaction performance
US5386553A (en) Disk file updating control device and method using updating data stored in a first-in-first-out queue
JP4122968B2 (en) Common resource access method, common resource access method, and program
JPH0816881B2 (en) Database update method
JP4195822B2 (en) IC card and IC card program
JP4060639B2 (en) Data management device
CN112162950B (en) Data processing method and device based on file system and computer equipment
JP2000163294A (en) Method and device for managing database and machine- readable recording medium with program recorded thereon
US11150940B2 (en) System and method for recording transaction associated with a page-oriented non-volatile memory
JPH03271841A (en) Recovery system for data base
JP2850857B2 (en) Data storage area management system
JP3092663B2 (en) Main memory swapping method