JPH10326227A - System for managing storage device using flash memory as storage medium - Google Patents

System for managing storage device using flash memory as storage medium

Info

Publication number
JPH10326227A
JPH10326227A JP14845597A JP14845597A JPH10326227A JP H10326227 A JPH10326227 A JP H10326227A JP 14845597 A JP14845597 A JP 14845597A JP 14845597 A JP14845597 A JP 14845597A JP H10326227 A JPH10326227 A JP H10326227A
Authority
JP
Japan
Prior art keywords
block
area
address
disk
writing
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
JP14845597A
Other languages
Japanese (ja)
Inventor
Atsushi Kara
淳 加羅
Fusanori Kumagai
総徳 熊谷
Junji Takahashi
純司 高橋
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.)
NEC Corp
NEC Telecom System Ltd
Original Assignee
NEC Corp
NEC Telecom System Ltd
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 NEC Corp, NEC Telecom System Ltd filed Critical NEC Corp
Priority to JP14845597A priority Critical patent/JPH10326227A/en
Publication of JPH10326227A publication Critical patent/JPH10326227A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a management system in which a storage device using a flash memory as a storage medium can be replaced with a hard disk device, and the long life of the storage device can be obtained. SOLUTION: A storage device is provided as an FEEPROM disk 104, and constituted of three areas, that is, a disk area 301, substitute page area 302, and substrate page management area 303. Also, this device is provided with a managing means 102 equipped with a file system 203 for managing this disk device by the same method as a hard disk device, and a device driver 204 for controlling the writing/reading of the disk device by the same interface is the file system of the hard disk device.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、フラッシュメモリ
を記憶媒体に使用する記憶装置において、この記憶装置
へのデータの書込/読出をファイルシステムで管理する
フラッシュメモリを記憶媒体とする記憶装置の管理方式
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage device using a flash memory as a storage medium, and using the flash memory for managing writing / reading of data to / from the storage device by a file system. Regarding the management method.

【0002】[0002]

【従来の技術】現在、データ伝送装置等においてデータ
を記憶する記憶媒体には、磁気ディスク装置(ハードデ
ィスク装置)が使用されているが、ハードディスクの寿
命は約2年(2万時間)と言われており、定期的な交換
が必要になると共に、ハードディスク自体の故障も多
く、その保守に手間がかかる。そこでハードディスクの
替わりに故障の少ないフラッシュEEPROM(本明細
書ではフラッシュメモリと称する)を使用し、保守の軽
減を図ることが考えられているが、ここで問題となるの
はフラッシュメモリの書込回数の制限である。
2. Description of the Related Art At present, a magnetic disk device (hard disk device) is used as a storage medium for storing data in a data transmission device or the like. The life of a hard disk is said to be about two years (20,000 hours). In addition to the need for periodic replacement, there are many failures of the hard disk itself, and its maintenance is troublesome. Therefore, it is considered to use a flash EEPROM (hereinafter referred to as a flash memory) having less failures in place of the hard disk to reduce maintenance. Is the limit.

【0003】周知のように不揮発性半導体メモリは、メ
モリ素子のフローティングゲートに電子を注入すること
によって書込(または消去)が行われるが、回数が多く
なるにつれフローティングゲート下の酸化膜が劣化し、
この領域内に書き込まれたデータの信頼性が得られなく
なる。従ってフラッシュメモリで磁気ディスクの機能を
無条件に代替させることがでない。
As is well known, in a nonvolatile semiconductor memory, writing (or erasing) is performed by injecting electrons into a floating gate of a memory element. However, as the number of times increases, an oxide film under the floating gate deteriorates. ,
The reliability of data written in this area cannot be obtained. Therefore, the function of the magnetic disk cannot be unconditionally substituted by the flash memory.

【0004】このフラッシュメモリの書込回数の制限の
問題を解決することを目的とした先行技術としては、例
えば特開平6−282484号公報がある(第1の先行
技術と言う)。この第1の先行技術は、ブロック書込検
出回路を用いてフラッシュメモリへのデータの書き込み
回数をカウントすることにより、書き込み制御を行うこ
ととしている。すなわち図7に示すように、フラッシュ
メモリのためのデータ書込管理装置であって、フラッシ
ュメモリ73の各ブロックについて書込(および消去)
が行われたことを検出するブロック書込検出回路72を
備える。CPU71は、各ブロックについて書込回数を
カウントしており、新たなデータの書込は、書込回数の
少ないブロックについて優先的に行う。従ってフラッシ
ュメモリの各ブロックについて平均的にデータ書込が行
われることになり、一部のブロックにデータ書込が集中
するのを防ぎ、フラッシュメモリの寿命を長くできると
いうものである。
As a prior art for solving the problem of the limitation of the number of times of writing of the flash memory, there is Japanese Patent Application Laid-Open No. 6-282484 (referred to as a first prior art). In the first prior art, write control is performed by counting the number of times data has been written to a flash memory using a block write detection circuit. That is, as shown in FIG. 7, a data write management device for a flash memory, in which writing (and erasing) of each block of the flash memory 73 is performed.
Block write detection circuit 72 for detecting that the operation has been performed. The CPU 71 counts the number of times of writing for each block, and writes new data preferentially for a block with a small number of times of writing. Therefore, data writing is performed on each block of the flash memory on average, so that data writing is not concentrated on some blocks, and the life of the flash memory can be extended.

【0005】また特開平6−332806号公報(第2
の先行技術という)には、半導体ディスク装置内に書き
込み制御を行う回路を用いて、フラッシュメモリの書き
込み制御を行うという技術が開示されている。すなわち
図8に示すように、半導体ディスク装置80内に書込制
御を行う半導体ディスク制御回路801を設け、フラッ
シュメモリの書込制御を行う構成としたものである。
Japanese Patent Laid-Open Publication No. Hei 6-332806 (second
Discloses a technique of performing write control of a flash memory by using a circuit for performing write control in a semiconductor disk device. That is, as shown in FIG. 8, a semiconductor disk control circuit 801 for performing a write control is provided in a semiconductor disk device 80 to perform a write control of a flash memory.

【0006】[0006]

【発明が解決しようとする課題】上記のように第1の先
行技術ではフラッシュメモリの書込回数をカウントする
ことによって書込制御を行うこととしているが、書き込
みエラーが発生するようになった場合の救済方法がな
い。すなわち代替メモリ領域を持たないため一部の領域
でエラーが発生するようになると、その時点で記憶装置
が寿命となる不都合がある。また第2の先行技術は、半
導体ディスク装置内での書き込み制御方法であるため、
既存のシステムの十分な活用が図れない。すなわち同じ
バスにハードディスクが接続されるような装置での制御
が考慮されておらず、また既設のハードディスクをフラ
ッシュメモリを記憶媒体とする記憶装置へ変更する場合
に特別な回路やソフトウェアレベルの再構築が必要とな
る等の問題点があった。本発明はかかる問題点を解決す
るためになされたものである。
As described above, in the first prior art, the write control is performed by counting the number of times of writing in the flash memory. However, when a write error occurs, There is no remedy. That is, if an error occurs in some area because there is no substitute memory area, there is a disadvantage that the storage device has a limited life at that point. The second prior art is a write control method in a semiconductor disk device.
Existing systems cannot be fully utilized. In other words, no consideration is given to control in a device in which a hard disk is connected to the same bus, and reconfiguration of a special circuit or software level when changing an existing hard disk to a storage device using flash memory as a storage medium Is required. The present invention has been made to solve such a problem.

【0007】[0007]

【課題を解決するための手段】本発明に係わるフラッシ
ュメモリを記憶媒体とする記憶装置の管理方式は、CP
Uバスに、フラッシュメモリを記憶媒体とする記憶装置
と、プログラムで構成した管理手段が記憶される記憶手
段とが接続され、前記管理手段で前記記憶装置へのデー
タの書込/読出を管理するフラッシュメモリを記憶媒体
とする記憶装置の管理方式において、前記記憶装置を、
フラッシュメモリを記憶媒体とするディスク装置とし、
前記管理手段に、前記ディスク装置のデータブロックを
管理するファイルシステム、前記ディスク装置の書込/
読出の制御を行うデバイスドライバ、前記ファイルシス
テムと前記デバイスドライバとを制御するオペレーティ
ングシステム、前記ファイルシステムが前記ディスク装
置の管理をハードディスク装置の管理と同一方法で管理
する手段、前記デバイスドライバはハードディスク装置
のファイルシステムと同じインタフェースで前記ディス
ク装置への書込/読出の制御を行う手段を備え、前記管
理手段で前記記憶装置へのデータの書込/読出を管理す
ることを特徴とする。
According to the present invention, there is provided a storage system using a flash memory as a storage medium according to the present invention.
A storage device using a flash memory as a storage medium and a storage device storing a management device configured by a program are connected to the U bus, and the management device manages writing / reading of data to / from the storage device. In a management method of a storage device using a flash memory as a storage medium, the storage device is
A disk device using a flash memory as a storage medium,
A file system that manages data blocks of the disk device;
A device driver for controlling reading; an operating system for controlling the file system and the device driver; a means for the file system to manage the disk device in the same manner as a hard disk device; and the device driver for the hard disk device. Means for controlling writing / reading to / from the disk device using the same interface as the file system of the above (1), wherein the management means manages writing / reading of data to / from the storage device.

【0008】また、前記インタフェースは、SCSI(s
mall computer system interface)であることを特徴と
する。
[0008] Further, the interface is a SCSI (s)
mall computer system interface).

【0009】また、前記記憶手段は、ROM(またはR
AM及びROM)であることを特徴とする。
The storage means may be a ROM (or R
AM and ROM).

【0010】また前記ディスク装置は、前記ファイルシ
ステムが管理するデータブロックをメモリアドレスを付
して格納するディスク領域と、前記ディスク領域の何れ
かのデータブロックの書込不良の場合、書き替えを行う
データブロックを前記データブロックと同じメモリアド
レスを付して書き込む代替ブロックを格納する代替ペー
ジ領域と、書き替えを行った前記ディスク領域のデータ
ブロックのメモリアドレスを書き込むアドレスブロック
を格納する代替ページ管理領域との3つの領域から構成
され、前記ファイルシステムから前記ディスク装置のデ
ィスク領域へのデータブロックの書込/読出要求に対し
て、前記デバイスドライバが前記代替ページ管理領域の
アドレスブロックを検索し、前記ディスク領域への書込
/読出か、または前記代替ページ領域への書込/読出か
を管理することを特徴とする。
[0010] Further, the disk device rewrites a disk area for storing a data block managed by the file system with a memory address attached thereto and a write failure in any of the data blocks in the disk area. A replacement page area for storing a replacement block for writing a data block with the same memory address as the data block, and a replacement page management area for storing an address block for writing a memory address of a data block in the rewritten disk area In response to a write / read request of a data block from the file system to the disk area of the disk device, the device driver searches for an address block of the alternative page management area. Write / read to / from disk area, or Characterized in that it managed or write / read to the serial alternative page area.

【0011】また前記ディスク領域へのデータブロック
の書込を実行する際に、前記ディスク領域への書き込み
がエラーとなった場合、前記デバイスドライバは代替ペ
ージ管理領域の未使用のアドレスブロックを検索し、未
使用のアドレスブロックが存在する場合には当該アドレ
スブロックに書込要求データブロックのアドレスを書き
込み、当該アドレスブロックと対応させた前記代替ペー
ジ領域の代替ブロックへ前記書込要求データブロックの
書き込みを行うことを特徴とする。
When writing a data block into the disk area results in an error in writing to the disk area, the device driver searches for an unused address block in the alternative page management area. If there is an unused address block, the address of the write request data block is written to the address block, and the write request data block is written to a replacement block of the replacement page area corresponding to the address block. It is characterized by performing.

【0012】また前記代替ページ領域へのデータブロッ
クの書込を実行する際に、前記代替ページ領域への書込
がエラーとなった場合、前記ディスクドライバは代替ペ
ージ管理領域の未使用のアドレスブロックを検索し、未
使用のアドレスブロックが存在する場合には、検索前に
書込要求データブロックのアドレスを書き込んであった
代替ページ管理領域のアドレスブロックに書込不可マー
クを書き込み、該当の未使用のアドレスブロックに前記
書込要求データブロックのアドレスを書き込み、当該ア
ドレスブロックと対応させた前記代替ページ領域の代替
ブロックへ前記書込要求データブロックの書き込みを行
うことを特徴とする。
When writing a data block to the replacement page area results in an error in writing to the replacement page area, the disk driver sets an unused address block in the replacement page management area. And if there is an unused address block, write an unwritable mark in the address block of the alternative page management area where the address of the write request data block was written before the search, and The address of the write request data block is written to the address block, and the write request data block is written to a substitute block of the substitute page area corresponding to the address block.

【0013】さらに、前記代替ページ領域へのデータブ
ロックの書込を実行する際に、前記代替ページ領域への
書込がエラーとなった場合、前記ディスクドライバは代
替ページ管理領域の未使用のアドレスブロックを検索
し、未使用のアドレスブロックが存在しない場合には書
き込みエラーを前記オペレーティングシステムに通知す
る手段を備えたことを特徴とする。
[0013] Further, when writing the data block to the alternative page area when an error occurs during the writing of the data block to the alternative page area, the disk driver sets an unused address in the alternative page management area. The system further comprises means for searching for a block and notifying the operating system of a write error when there is no unused address block.

【0014】本発明は上述のような構成とすることで、
特別な回路を必要とせず、フラッシュメモリを記憶媒体
とする記憶装置をハードディスク装置に置き替えること
が可能となり、また装置に組み込まれたハードディスク
から該記憶装置への変更は、デバイスドライバを新たに
組み込むだけで行え、ソフトウェアレベルの再利用性が
高くなる。さらにフラッシュメモリを記憶媒体とするデ
ィスク装置に前記ディスク領域,前記代替ページ領域,
前記代替ページ管理領域の3つの領域を設けることによ
って、該記憶装置の長寿命化が図れる。
The present invention is configured as described above,
It is possible to replace a storage device using a flash memory as a storage medium with a hard disk device without requiring a special circuit, and to change from a hard disk incorporated in the device to the storage device, a device driver is newly installed. Can be done by itself, and the reusability at the software level is increased. Further, the disk area, the alternative page area,
By providing three areas of the alternative page management area, the life of the storage device can be extended.

【0015】[0015]

【発明の実施の形態】以下、本発明の実施形態を図面を
参照して説明する。図1は、本発明を説明するためのハ
ードウェアの構成の一実施形態を示すブロック図であ
る。図において、101はCPU、102はRAM、1
03はROMであり、本願明細書ではRAM102およ
びROM103を記憶手段とも言う。また104はフラ
ッシュメモリを記憶媒体とするディスク装置(以下、こ
れをFEEPROMと称する)、105はアドレスバ
ス、106はデータバスを示す。また図2は、電源ON
時にROM103から読み出されRAM102内に書き
込まれたプログラム(本願明細書ではこれをプログラム
で構成した管理手段とも言う)の構成を示す図であり、
図において、201はアプリケーションプログラム、2
02はファイルシステム203とデバイスドライバ20
4を制御するオペレーティングシステム、203はFE
EPROMのデータブロックをハードディスク装置の管
理と同一方法で管理するファイルシステム、204はハ
ードディスク装置のファイルシステムと同じインタフェ
ース(例えばSCSI(smallcomputer system interfac
e))を用いてFEEPROMからデータの読み書きを制
御するデバイスドライバを示す。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing an embodiment of a hardware configuration for explaining the present invention. In the figure, 101 is a CPU, 102 is a RAM, 1
Reference numeral 03 denotes a ROM. In this specification, the RAM 102 and the ROM 103 are also referred to as storage means. Reference numeral 104 denotes a disk device using a flash memory as a storage medium (hereinafter, referred to as FEEPROM); 105, an address bus; and 106, a data bus. Also, FIG.
FIG. 3 is a diagram showing a configuration of a program (also referred to as a management unit configured by a program in the specification of the present application) which is read from the ROM 103 and written into the RAM 102 at a time;
In the figure, 201 is an application program, 2
02 denotes the file system 203 and the device driver 20
4 is the operating system that controls the FE, 203 is the FE
A file system 204 that manages the data blocks of the EPROM in the same manner as that of the hard disk drive.
e) shows a device driver that controls reading and writing of data from and to the FEEPROM using (e)).

【0016】また図3は、図1に示すFEEPROM1
04の記憶領域を示す図で、図において、301はファ
イルシステム203が管理する所定の大きさのデータブ
ロックを格納するディスク領域、302は書き替えを行
ったディスク領域のデータブロックのアドレス(任意に
割り付けられたメモリアドレス)を書き込むアドレスブ
ロックを格納する代替ページ管理領域、303は書き替
えを行うデータブロックを書き込む代替ブロックを格納
する代替ページ領域を示す。なお代替ブロックのサイズ
は、ディスク領域のデータブロックと同じであり、その
アドレスは代替ページ管理領域302のアドレスブロッ
クに対応している。
FIG. 3 is a block diagram of the FEEPROM 1 shown in FIG.
04 shows a storage area, in which 301 is a disk area for storing a data block of a predetermined size managed by the file system 203, and 302 is the address (arbitrarily) of the data block in the rewritten disk area. An alternative page management area for storing an address block in which an allocated memory address is to be written, and an alternative page area 303 for storing an alternative block for writing a data block to be rewritten. The size of the replacement block is the same as that of the data block in the disk area, and its address corresponds to the address block in the replacement page management area 302.

【0017】図1に示すようにハードウェアの構成とし
ては、RAM102,ROM103及びFEEPROM
104が、アドレスバス105及びデータバス106を
介してCPU101に接続されており、またRAM10
2には、電源投入時にROM103から、アプリケーシ
ョンプログラム201、オペレーティングシステム20
2、ファイルシステム203、及びデバイスドライバ2
04が格納される。さらにFEEPROM104は、デ
ィスク領域301、代替ページ管理領域302及び代替
ページ領域303に分割して使用するように構成されて
いる。
As shown in FIG. 1, the hardware configuration includes a RAM 102, a ROM 103, and a FEEPROM.
104 is connected to the CPU 101 via an address bus 105 and a data bus 106;
2 includes an application program 201 and an operating system 20 stored in the ROM 103 when the power is turned on.
2. File system 203 and device driver 2
04 is stored. Further, the FEEPROM 104 is configured to be used by being divided into a disk area 301, an alternative page management area 302, and an alternative page area 303.

【0018】図4はFEEPROM104へのデータブ
ロックの書込を示すフローチャート、図5はFEEPR
OM104からのデータ読出を示すフローチャートであ
り、図4,図5を参照して本実施形態の動作を説明す
る。 [ディスク領域への書込]FEEPROM104のディ
スク領域301へ書込を行う場合、アプリケーションプ
ログラム201からファイルの書込要求がファイルシス
テム203に通知されると、ファイルシステム203は
ファイルへの書込要求を分析し、FEEPROM104
のディスク領域301への書込要求をデバイスドライバ
204へ通知する。ファイルシステム203から通知を
受けたデバイスドライバ204は、図4のフローに従っ
てFEEPROM104に書込を実施する。
FIG. 4 is a flowchart showing the writing of a data block into the FEEPROM 104, and FIG.
6 is a flowchart showing data reading from the OM 104, and the operation of the present embodiment will be described with reference to FIGS. [Write to Disk Area] When writing to the disk area 301 of the FEEPROM 104, when a file write request is notified from the application program 201 to the file system 203, the file system 203 issues a file write request. Analyze, FEEPROM 104
Is notified to the device driver 204. The device driver 204, which has received the notification from the file system 203, executes writing to the FEEPROM 104 according to the flow of FIG.

【0019】すなわち、ファイルシステム203からデ
ィスク領域301に対して書込要求があった場合(ステ
ップ401)、デバイスドライバ204は先ず代替ペー
ジ管理領域302を検索し(ステップ402)、次のス
テップ403で代替ページ管理領域302に書込要求デ
ータブロックのアドレスが存在しなければ、ディスク領
域301の当該アドレスにデータブロックの内容を書き
込む(ステップ404)。またステップ403で書込要
求データブロックのアドレスが代替ページ管理領域30
2に存在すれば、代替ページ管理領域302の当該アド
レスブロックに対応した代替ページ領域303の当該代
替ブロックに、このデータブロックの内容を書き込む
(ステップ405)。
That is, when there is a write request from the file system 203 to the disk area 301 (step 401), the device driver 204 first searches the alternative page management area 302 (step 402), and in the next step 403 If the address of the write request data block does not exist in the substitute page management area 302, the contents of the data block are written to the address of the disk area 301 (step 404). In step 403, the address of the write request data block is changed to the replacement page management area 30.
If the data block exists in the replacement page management area 302, the contents of the data block are written to the replacement block of the replacement page area 303 corresponding to the address block of the replacement page management area 302 (step 405).

【0020】そしてステップ406で書き込みが成功す
れば、書込処理を終了するが(ステップ414)、書き
込みがエラーとなった場合には、ステップ407でディ
スク領域301への書込か否かを判断し、ディスク領域
301で書き込みエラーとなった場合には、代替ページ
管理領域302の未使用アドレスブロックを検索する
(ステップ409)。また代替ページ領域303で書き
込みエラーとなった場合には、代替ページ管理領域30
2の書込要求データブロックのアドレスが書き込まれて
いた当該アドレスブロックに、書込不可のマークを書き
込み(ステップ408)、代替ページ管理領域302の
未使用アドレスブロックを検索する(ステップ40
9)。
If the writing is successful in step 406, the writing process is terminated (step 414). If the writing is in error, it is determined in step 407 whether or not the writing is to the disk area 301. If a write error occurs in the disk area 301, an unused address block in the substitute page management area 302 is searched (step 409). If a write error occurs in the substitute page area 303, the substitute page management area 30
In the address block where the address of the write request data block No. 2 has been written, a non-writable mark is written (step 408), and an unused address block in the alternative page management area 302 is searched (step 40).
9).

【0021】そして次のステップ410で代替ページ管
理領域302に未使用アドレスブロックが存在すれば、
代替ページ管理領域302の未使用アドレスブロックに
書込要求データブロックのアドレスを書き込み(ステッ
プ412)、代替ページ管理領域302の書込要求デー
タブロックのアドレスを書き込んだアドレスブロックに
対応する代替ページ領域303の代替ブロックに、デー
タブロックの内容を書き込む(ステップ413)。また
ステップ409で行う代替ページ管理領域302の未使
用アドレスブロックの検索で、代替ページ管理領域30
2に未使用アドレスブロックが存在しなければ(ステッ
プ410)、オペレーティングシステム202に対して
書込不可能である旨のエラーを任意の方法で通知する。
If there is an unused address block in the alternative page management area 302 in the next step 410,
The address of the write request data block is written to an unused address block in the alternative page management area 302 (step 412), and the alternative page area 303 corresponding to the address block in which the address of the write request data block in the alternative page management area 302 has been written. The contents of the data block are written in the alternative block (step 413). Also, in the search for an unused address block in the alternative page management area 302 performed in step 409, the replacement page management area
If an unused address block does not exist in Step 2 (Step 410), an error indicating that writing is not possible is notified to the operating system 202 by an arbitrary method.

【0022】[ディスク領域からの読出]FEEPRO
M104のディスク領域301から読出しを行う場合、
アプリケーションプログラム201からファイルの読出
要求がファイルシステム203に通知されると、ファイ
ルシステム203はファイルへの読出要求を分析し、F
EEPROM104のディスク領域301からの読出要
求をデバイスドライバ204へ通知する。ファイルシス
テム203から通知を受けたデバイスドライバ204
は、図5のフローに従ってFEEPROM104からの
読出を実施する。
[Read from Disk Area] FEEPRO
When reading from the disk area 301 of M104,
When a file read request is notified from the application program 201 to the file system 203, the file system 203 analyzes the file read request and
A request to read data from the disk area 301 of the EEPROM 104 is sent to the device driver 204. Device driver 204 that has been notified from the file system 203
Performs reading from the FEEPROM 104 according to the flow of FIG.

【0023】ファイルシステム203からディスク領域
301に対して読出要求があった場合(ステップ50
1)、デバイスドライバ204は代替ページ管理領域3
02を検索し(ステップ502)、ステップ503で代
替ページ管理領域302に読出要求データブロックのア
ドレスが存在しなければ、ディスク領域301の当該ア
ドレスからデータブロックの内容を読み出す(ステップ
504)。またステップ503で代替ページ管理領域3
02に読出要求データブロックのアドレスが存在すれ
ば、代替ページ管理領域302の当該アドレスブロック
に対応した代替ページ領域303の当該代替ブロックか
らデータブロックの内容を読み出す(ステップ50
5)。読み出しが終了すると、デバイスドライバ204
はファイルシステム203に対し任意の方法で読出内容
を通知する(ステップ506)。
When there is a read request from the file system 203 to the disk area 301 (step 50)
1), the device driver 204 stores the alternative page management area 3
02 (step 502), and if the address of the read request data block does not exist in the substitute page management area 302 in step 503, the content of the data block is read from the address of the disk area 301 (step 504). In step 503, the alternative page management area 3
02, if the address of the read request data block exists, the content of the data block is read from the replacement block of the replacement page area 303 corresponding to the address block of the replacement page management area 302 (step 50).
5). When the reading is completed, the device driver 204
Notifies the file system 203 of the read content by an arbitrary method (step 506).

【0024】次に本発明の実施例を図6を参照して説明
する。図6は、FEEPROM104の使用例を説明す
るための図である。図1に示すFEEPROM104に
は、例えば8MバイトのFEEPROMを64個備え
る。従って全体の記憶容量は512Mバイトとなる。こ
のうちディスク領域301には例えば461 Mバイトを
割り当て{アドレス00000000H 番地(H は16進表示を
表す)から1CDFFFFFH番地まで}、代替ページ管理領域
302には100kバイトを割り当て(アドレス1CE000
00H 番地から1CE18FFFH 番地まで)、代替ページ領域3
03には50Mバイト(アドレス1CE19000H番地から1FF
FFFFFH 番地まで)を割り当てる。また本実施例では、
FEEPROM104の1ページ当たりの書込単位は任
意とし、ファイルシステムからの1回当たりの書込要求
ブロックサイズは2048バイトとする。
Next, an embodiment of the present invention will be described with reference to FIG. FIG. 6 is a diagram for explaining a usage example of the FEEPROM 104. The FEEPROM 104 shown in FIG. 1 includes, for example, 64 8 Mbyte FEEPROMs. Therefore, the total storage capacity is 512 Mbytes. Of these, for example, 461 Mbytes are allocated to the disk area 301 (from address 00000000H (H represents hexadecimal notation) to 1 CDFFFFFH), and 100 kbytes are allocated to the alternative page management area 302 (address 1CE000
From address 00H to address 1CE18FFFH), alternative page area 3
03 has 50 MB (1FF from address 1CE19000H)
FFFFFH). In this embodiment,
The write unit per page of the FEEPROM 104 is arbitrary, and the write request block size per write from the file system is 2048 bytes.

【0025】代替ページ領域303への書込は、ファイ
ルシステムからの1回当たりの書込要求ブロックサイズ
単位で行うため、2048バイト単位で書込が行われ
る。例えば、2048バイト単位でブロックを管理する
ため、データブロック0は0000000H番地から000007FFH
番地、データブロック1は00000800H 番地から00000FFF
H 番地になる。従って書き込みエラー時に代替できる総
ブロック数は、25000ブロックとなる。
Since writing to the substitute page area 303 is performed in units of a write request block size per one time from the file system, writing is performed in units of 2048 bytes. For example, to manage blocks in units of 2048 bytes, data block 0 starts at address 000000H and ends with 000000FFH.
00000FFF from address 00000800H for data block 1
Address H Therefore, the total number of blocks that can be replaced at the time of a write error is 25000 blocks.

【0026】図6において、ファイルシステム203か
らディスク領域301のデータブロック0(アドレス00
000000H 番地)に対して書込要求があった場合、図4の
フローチャートに示す処理においては、デバイスドライ
バ204は代替ページ管理領域のアドレスブロックの内
容を検索し(ステップ402)、代替ページ管理領域3
02に書込要求データブロックのアドレス00000000H が
存在するか否かを判定する(ステップ403)。代替ペ
ージ管理領域302には、アドレス00000000H がアドレ
スブロック0に存在しているので、データブロックの書
込は代替ページ管理領域302のアドレスブロック0に
対応した代替ページ領域303の代替ブロック0に行わ
れる。またディスク領域301のデータブロック1(ア
ドレス00000800H 番地)に対して書込要求があった場
合、このデータブロック1は正常であり代替ページ管理
領域302にはこのアドレスブロック1は存在しないの
で、ディスク領域301のデータブロック1に対して書
き込みが行われる。
In FIG. 6, data block 0 (address 00) of the disk area 301 is transmitted from the file system 203.
When a write request is issued to the address 000000H, in the processing shown in the flowchart of FIG. 4, the device driver 204 searches the contents of the address block in the alternative page management area (step 402), and
It is determined whether or not the address 00000000H of the write request data block exists in 02 (step 403). Since the address 00000000H exists in the address block 0 in the replacement page management area 302, the writing of the data block is performed to the replacement block 0 of the replacement page area 303 corresponding to the address block 0 of the replacement page management area 302. . When a write request is issued to data block 1 (address 00000800H) of the disk area 301, the data block 1 is normal and the address block 1 does not exist in the alternative page management area 302. Writing is performed to the data block 1 of 301.

【0027】またディスク領域301のデータブロック
2(アドレス00001000H 番地)に対して書込要求があっ
た場合、デバイスドライバ204は代替ページ管理領域
302のアドレスブロックにこのデータブロック2が存
在していることを検索し(ステップ403)、代替ペー
ジ領域303の代替ブロック2に書込を行うが、書き込
みがエラーの場合、代替ページ管理領域302のアドレ
スブロック2に、書込不可マークFFFFFFFFH を書き込み
(ステップ408)、代替ページ管理領域302の未使
用アドレスブロックを検索し(ステップ409)、例え
ば代替ページ管理領域302のアドレスブロック3が未
使用の場合、このアドレスブロック3に図6に示すよう
に書き込み要求データブロックのアドレス00001000H を
書き込み(ステップ412)、代替ページ管理領域30
2のアドレスブロック3に対応した代替ページ領域30
3の代替ブロック3に、書込要求データブロックの内容
を書き込む(ステップ413)。
When a write request is issued to data block 2 (address 00001000H) of the disk area 301, the device driver 204 determines that the data block 2 exists in the address block of the alternative page management area 302. (Step 403), and writing is performed in the replacement block 2 of the replacement page area 303. If the writing fails, the write disable mark FFFFFFFFH is written in the address block 2 of the replacement page management area 302 (step 408). ), And searches for an unused address block in the replacement page management area 302 (step 409). For example, when the address block 3 in the replacement page management area 302 is unused, the write request data is stored in this address block 3 as shown in FIG. Write block address 00001000H (step 412) Alternate page management area 30
Replacement page area 30 corresponding to address block 3 of address 2
Then, the contents of the write request data block are written into the third alternative block 3 (step 413).

【0028】また図6において、ファイルシステム20
3からディスク領域301のデータブロック0(アドレ
ス00000000H 番地)に対して読出要求があった場合、図
5のフローチャートに示す処理においては、デバイスド
ライバ204は代替ページ管理領域302のアドレスブ
ロックの内容を検索し(ステップ502)、読出要求デ
ータブロックのアドレス00000000H が代替ページ管理領
域302のアドレスブロック0に存在するので(ステッ
プ503)、データブロックの読出は代替ページ管理領
域302のアドレスブロック0に対応した代替ページ領
域303の代替ブロック0から行う(ステップS50
5)。同様にして、ディスク領域301のデータブロッ
ク1(アドレス00000800H 番地)に対して読出要求があ
った場合、このデータブロック1は正常であり代替ペー
ジ管理領域302にはこのデータブロック1のアドレス
は存在しないので、ディスク領域301のデータブロッ
ク1から読出が行われる。
In FIG. 6, the file system 20
When a read request is issued from 3 to data block 0 (address 00000000H) of the disk area 301, the device driver 204 searches the contents of the address block of the alternative page management area 302 in the processing shown in the flowchart of FIG. Then, since the address 00000000H of the read request data block exists in the address block 0 of the alternative page management area 302 (step 503), the data block is read in accordance with the address corresponding to the address block 0 of the alternative page management area 302. The processing is performed from the substitute block 0 of the page area 303 (step S50).
5). Similarly, when a read request is issued for data block 1 (address 00000800H) of the disk area 301, this data block 1 is normal and the address of this data block 1 does not exist in the alternative page management area 302. Therefore, the data is read from the data block 1 in the disk area 301.

【0029】[0029]

【発明の効果】以上説明したように本発明のフラッシュ
メモリを記憶媒体とする記憶装置の管理方式は、該記憶
装置をフラッシュメモリを記憶媒体とするディスク装置
とし、このディスク装置の管理をハードディスク装置の
管理と同一方法で管理するファイルシステム,ハードデ
ィスク装置のファイルシステムと同じインタフェースで
このディスク装置への書込/読出の制御を行うデバイス
ドライバを備えた管理手段を設けることにより、特別な
回路を必要とせず、フラッシュメモリを記憶媒体とする
記憶装置をハードディスク装置に置き替えることが可能
となり、また装置に組み込まれたハードディスクから該
記憶装置への変更は、デバイスドライバを新たに組み込
むだけで行えるため、ソフトウェアレベルの再利用性が
高い管理方式を提供できる。
As described above, the method for managing a storage device using a flash memory as a storage medium according to the present invention is a disk device using the flash memory as a storage medium, and the management of the disk device is performed using a hard disk device. A special circuit is required by providing a management means having a device driver for controlling writing / reading to / from this disk device with the same interface as the file system managed in the same manner as the management of the file system and the file system of the hard disk device. Instead, it is possible to replace a storage device using a flash memory as a storage medium with a hard disk device, and change from a hard disk incorporated in the device to the storage device can be performed only by newly installing a device driver, Provide management method with high reusability at software level It can be.

【0030】また、フラッシュメモリを記憶媒体とする
ディスク装置をディスク領域と、代替ページ領域と、代
替ディスク領域へ書き替えを行ったメモリアドレスを書
き込む代替ページ管理領域との3つの領域で構成するこ
とで、該記憶装置の長寿命化が図れる等の効果がある。
Further, a disk device using a flash memory as a storage medium is composed of three areas: a disk area, an alternative page area, and an alternative page management area for writing a rewritten memory address to the alternative disk area. Thus, there is an effect that the life of the storage device can be extended.

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

【図1】本発明を説明するためのハードウェアの構成の
一実施形態を示すブロック図である。
FIG. 1 is a block diagram showing an embodiment of a hardware configuration for explaining the present invention.

【図2】プログラムで構成された管理手段の構成の一実
施形態を説明するための図である。
FIG. 2 is a diagram for describing an embodiment of a configuration of a management unit configured by a program.

【図3】図1に示すFEEPROM104の記憶領域を
示す図である。
FIG. 3 is a diagram showing a storage area of a FEEPROM 104 shown in FIG.

【図4】FEEPROM104へのデータブロックの書
込動作を示すフローチャートである。
FIG. 4 is a flowchart showing an operation of writing a data block to the FEEPROM 104;

【図5】FEEPROM104からのデータ読出動作を
示すフローチャートである。
FIG. 5 is a flowchart showing an operation of reading data from the EEPROM 104;

【図6】FEEPROM104の使用例を説明するため
の図である。
FIG. 6 is a diagram for explaining a usage example of the FEEPROM 104;

【図7】第1の先行技術を説明するための図である。FIG. 7 is a diagram for explaining a first prior art.

【図8】第2の先行技術を説明するための図である。FIG. 8 is a diagram for explaining a second prior art.

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

101 CPU 102 RAM 103 ROM 104 フラッシュメモリを記憶媒体とするディスク装
置(FEEPROM) 105 アドレスバス 106 データバス 201 アプリケーションプログラム 202 オペレーティングシステム 203 ファイルシステム 204 デバイスドライバ 301 ディスク領域 302 代替ページ管理領域 303 代替ページ領域 S401〜S413 データブロックの書込を示す動作
ステップ S501〜506 データ読出を示す動作ステップ
101 CPU 102 RAM 103 ROM 104 Disk device (FEEPROM) using flash memory as a storage medium 105 Address bus 106 Data bus 201 Application program 202 Operating system 203 File system 204 Device driver 301 Disk area 302 Alternative page management area 303 Alternative page area S401 To S413 Operation steps indicating data block writing S501 to 506 Operation steps indicating data reading

───────────────────────────────────────────────────── フロントページの続き (72)発明者 熊谷 総徳 東京都港区芝五丁目7番1号 日本電気株 式会社内 (72)発明者 高橋 純司 神奈川県川崎市中原区小杉町一丁目403番 地 日本電気テレコムシステム株式会社内 ────────────────────────────────────────────────── ─── Continuing on the front page (72) Inventor Sotoku Kumagai 5-7-1 Shiba, Minato-ku, Tokyo Within NEC Corporation (72) Inventor Junji Takahashi 1-403 Kosugi-cho, Nakahara-ku, Kawasaki City, Kanagawa Prefecture Address: NEC Telecom System Corporation

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】 CPUバスに、フラッシュメモリを記憶
媒体とする記憶装置と、プログラムで構成した管理手段
が記憶される記憶手段とが接続され、前記管理手段で前
記記憶装置へのデータの書込/読出を管理するフラッシ
ュメモリを記憶媒体とする記憶装置の管理方式におい
て、 前記記憶装置を、フラッシュメモリを記憶媒体とするデ
ィスク装置とし、 前記管理手段に、 前記ディスク装置のデータブロックを管理するファイル
システム、 前記ディスク装置の書込/読出の制御を行うデバイスド
ライバ、 前記ファイルシステムと前記デバイスドライバとを制御
するオペレーティングシステム、 前記ファイルシステムが前記ディスク装置の管理をハー
ドディスク装置の管理と同一方法で管理する手段、 前記デバイスドライバはハードディスク装置のファイル
システムと同じインタフェースで前記ディスク装置への
書込/読出の制御を行う手段を備え、 前記管理手段で前記記憶装置へのデータの書込/読出を
管理することを特徴とするフラッシュメモリを記憶媒体
とする記憶装置の管理方式。
1. A storage device using a flash memory as a storage medium and a storage device storing a management unit configured by a program are connected to a CPU bus, and the management unit writes data to the storage device. In a management method of a storage device using a flash memory as a storage medium for managing read / write, the storage device is a disk device using a flash memory as a storage medium, and the management unit includes a file for managing a data block of the disk device. System, a device driver for controlling writing / reading of the disk device, an operating system for controlling the file system and the device driver, and the file system manages the management of the disk device in the same manner as the management of the hard disk device. The device driver is a hard disk drive. A flash memory comprising means for controlling writing / reading to / from the disk device through the same interface as a file system of the device, and wherein the management means manages writing / reading of data to / from the storage device. Management method of a storage device using a storage medium.
【請求項2】 前記インタフェースは、SCSI(small
computer systeminterface)であることを特徴とする請
求項1記載のフラッシュメモリを記憶媒体とする記憶装
置の管理方式。
2. The interface comprises a SCSI (small
2. The management method for a storage device using a flash memory as a storage medium according to claim 1, wherein the storage device is a computer system interface.
【請求項3】 前記記憶手段は、ROM(またはRAM
及びROM)であることを特徴とする請求項1記載のフ
ラッシュメモリを記憶媒体とする記憶装置の管理方式。
3. The storage means according to claim 1, wherein said storage means is a ROM (or a RAM).
And a storage device using a flash memory as a storage medium.
【請求項4】 前記ディスク装置は、 前記ファイルシステムが管理するデータブロックをメモ
リアドレスを付して格納するディスク領域と、 前記ディスク領域の何れかのデータブロックの書込不良
の場合、書き替えを行うデータブロックを前記データブ
ロックと同じメモリアドレスを付して書き込む代替ブロ
ックを格納する代替ページ領域と、 書き替えを行った前記ディスク領域のデータブロックの
メモリアドレスを書き込むアドレスブロックを格納する
代替ページ管理領域との3つの領域から構成され、 前記ファイルシステムから前記ディスク装置のディスク
領域へのデータブロックの書込/読出要求に対して、 前記デバイスドライバが前記代替ページ管理領域のアド
レスブロックを検索し、前記ディスク領域への書込/読
出か、または前記代替ページ領域への書込/読出かを管
理することを特徴とする請求項1記載のフラッシュメモ
リを記憶媒体とする記憶装置の管理方式。
4. A disk area for storing a data block managed by the file system with a memory address attached thereto, and rewriting when any of the data blocks in the disk area has a write failure. A replacement page area for storing a replacement block in which a data block to be written is written with the same memory address as the data block, and a replacement page management for storing an address block for writing the memory address of the data block in the rewritten disk area The device driver searches for an address block of the alternative page management area in response to a write / read request of a data block from the file system to the disk area of the disk device. Writing / reading to / from the disk area, or Management method of a storage device using a flash memory according to claim 1, wherein the managing or write / read to the serial alternative page area and the storage medium.
【請求項5】 前記ディスク領域へのデータブロックの
書込を実行する際に、前記ディスク領域への書き込みが
エラーとなった場合、前記デバイスドライバは代替ペー
ジ管理領域の未使用のアドレスブロックを検索し、未使
用のアドレスブロックが存在する場合には当該アドレス
ブロックに書込要求データブロックのアドレスを書き込
み、 当該アドレスブロックと対応させた前記代替ページ領域
の代替ブロックへ前記書込要求データブロックの書き込
みを行うことを特徴とする請求項4記載のフラッシュメ
モリを記憶媒体とする記憶装置の管理方式。
5. When writing a data block to the disk area when an error occurs in writing to the disk area, the device driver searches for an unused address block in an alternative page management area. If there is an unused address block, the address of the write request data block is written to the address block, and the write request data block is written to a substitute block of the substitute page area corresponding to the address block. 5. The management method for a storage device using a flash memory as a storage medium according to claim 4, wherein:
【請求項6】 前記代替ページ領域へのデータブロック
の書込を実行する際に、前記代替ページ領域への書込が
エラーとなった場合、前記ディスクドライバは代替ペー
ジ管理領域の未使用のアドレスブロックを検索し、未使
用のアドレスブロックが存在する場合には、検索前に書
込要求データブロックのアドレスを書き込んであった代
替ページ管理領域のアドレスブロックに書込不可マーク
を書き込み、 該当の未使用のアドレスブロックに前記書込要求データ
ブロックのアドレスを書き込み、 当該アドレスブロックと対応させた前記代替ページ領域
の代替ブロックへ前記書込要求データブロックの書き込
みを行うことを特徴とする請求項4記載のフラッシュメ
モリを記憶媒体とする記憶装置の管理方式。
6. When writing a data block to the replacement page area and writing to the replacement page area results in an error, the disk driver sets an unused address in the replacement page management area. The block is searched, and if there is an unused address block, a write disable mark is written in the address block of the alternative page management area where the address of the write request data block was written before the search, and The address of the write request data block is written into a use address block, and the write request data block is written into a substitute block of the substitute page area corresponding to the address block. Management method for a storage device using a flash memory as a storage medium.
【請求項7】 前記代替ページ領域へのデータブロック
の書込を実行する際に、前記代替ページ領域への書込が
エラーとなった場合、前記ディスクドライバは代替ペー
ジ管理領域の未使用のアドレスブロックを検索し、未使
用のアドレスブロックが存在しない場合には書き込みエ
ラーを前記オペレーティングシステムに通知する手段を
備えたことを特徴とする請求項6記載のフラッシュメモ
リを記憶媒体とする記憶装置の管理方式。
7. When writing a data block to the alternative page area and executing an error in writing to the alternative page area, the disk driver sets an unused address in the alternative page management area. 7. The management of a storage device using a flash memory as a storage medium according to claim 6, further comprising means for searching for a block and notifying the operating system of a write error when there is no unused address block. method.
JP14845597A 1997-05-23 1997-05-23 System for managing storage device using flash memory as storage medium Pending JPH10326227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP14845597A JPH10326227A (en) 1997-05-23 1997-05-23 System for managing storage device using flash memory as storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP14845597A JPH10326227A (en) 1997-05-23 1997-05-23 System for managing storage device using flash memory as storage medium

Publications (1)

Publication Number Publication Date
JPH10326227A true JPH10326227A (en) 1998-12-08

Family

ID=15453157

Family Applications (1)

Application Number Title Priority Date Filing Date
JP14845597A Pending JPH10326227A (en) 1997-05-23 1997-05-23 System for managing storage device using flash memory as storage medium

Country Status (1)

Country Link
JP (1) JPH10326227A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1304959C (en) * 2003-09-16 2007-03-14 深圳市格林耐特通信技术有限责任公司 Method of reading -writing data using disk file virtual flash
CN100419714C (en) * 2002-06-10 2008-09-17 三星电子株式会社 Flash memory file system
JP2009503735A (en) * 2005-08-03 2009-01-29 サンディスク コーポレイション Free up data storage capacity of flash memory system
JP2009503746A (en) * 2005-08-03 2009-01-29 サンディスク コーポレイション Data integration and garbage collection in direct data file storage memory
JP2009503729A (en) * 2005-08-03 2009-01-29 サンディスク コーポレイション Interface system that operates with logical address space and direct data file method
JP2009503745A (en) * 2005-08-03 2009-01-29 サンディスク コーポレイション Nonvolatile memory with block management
US7669003B2 (en) 2005-08-03 2010-02-23 Sandisk Corporation Reprogrammable non-volatile memory systems with indexing of directly stored data files
JP2010515162A (en) * 2006-12-26 2010-05-06 サンディスク コーポレイション Use of direct data file system with continuous logical address space interface
US7814262B2 (en) 2005-10-13 2010-10-12 Sandisk Corporation Memory system storing transformed units of data in fixed sized storage blocks
US7949845B2 (en) 2005-08-03 2011-05-24 Sandisk Corporation Indexing of file data in reprogrammable non-volatile memories that directly store data files
US8024508B2 (en) 2006-03-21 2011-09-20 Lg Electronics Inc. Computer storage control
KR101128255B1 (en) * 2006-03-21 2012-03-23 엘지전자 주식회사 Storage controller for computer system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100419714C (en) * 2002-06-10 2008-09-17 三星电子株式会社 Flash memory file system
CN1304959C (en) * 2003-09-16 2007-03-14 深圳市格林耐特通信技术有限责任公司 Method of reading -writing data using disk file virtual flash
JP2009503745A (en) * 2005-08-03 2009-01-29 サンディスク コーポレイション Nonvolatile memory with block management
JP2009503746A (en) * 2005-08-03 2009-01-29 サンディスク コーポレイション Data integration and garbage collection in direct data file storage memory
JP2009503729A (en) * 2005-08-03 2009-01-29 サンディスク コーポレイション Interface system that operates with logical address space and direct data file method
JP2009503738A (en) * 2005-08-03 2009-01-29 サンディスク コーポレイション Data manipulation in flash memory using direct data file storage
JP2009503735A (en) * 2005-08-03 2009-01-29 サンディスク コーポレイション Free up data storage capacity of flash memory system
US7669003B2 (en) 2005-08-03 2010-02-23 Sandisk Corporation Reprogrammable non-volatile memory systems with indexing of directly stored data files
US7949845B2 (en) 2005-08-03 2011-05-24 Sandisk Corporation Indexing of file data in reprogrammable non-volatile memories that directly store data files
US8055832B2 (en) 2005-08-03 2011-11-08 SanDisk Technologies, Inc. Management of memory blocks that directly store data files
US7814262B2 (en) 2005-10-13 2010-10-12 Sandisk Corporation Memory system storing transformed units of data in fixed sized storage blocks
US8024508B2 (en) 2006-03-21 2011-09-20 Lg Electronics Inc. Computer storage control
KR101128255B1 (en) * 2006-03-21 2012-03-23 엘지전자 주식회사 Storage controller for computer system
JP2010515162A (en) * 2006-12-26 2010-05-06 サンディスク コーポレイション Use of direct data file system with continuous logical address space interface

Similar Documents

Publication Publication Date Title
US8533391B2 (en) Storage device and user device including the same
US7480760B2 (en) Rotational use of memory to minimize write cycles
US7350044B2 (en) Data move method and apparatus
US6865658B2 (en) Nonvolatile data management system using data segments and link information
JP4837731B2 (en) Flash memory with programmable durability
US8041991B2 (en) System and method for recovering solid state drive data
US6172906B1 (en) Increasing the memory performance of flash memory devices by writing sectors simultaneously to multiple flash memory devices
US6571312B1 (en) Data storage method and data processing device using an erasure block buffer and write buffer for writing and erasing data in memory
JP4268396B2 (en) Non-volatile memory device file management that can be programmed once
KR20040038712A (en) Power management block for use in a non-volatile memory system
JPH05282889A (en) Nonvolatile semiconductor memory
WO2006067923A1 (en) Memory controller, nonvolatile storage, nonvolatile storage system, and memory control method
JPH11126488A (en) Method and device for storing and controlling data of external memory using plural flash memories
KR102585883B1 (en) Operating method of memory system and memory system
JP2010020586A (en) Data processing device
JPH10326227A (en) System for managing storage device using flash memory as storage medium
KR20010037155A (en) Flash file system
CN1701300B (en) Method and apparatus for resolving physical blocks associated with a common logical block
US20180052635A1 (en) Electronic control apparatus and information storage method for the same
JPH11282765A (en) External storage device using flash memory
JPH11272569A (en) Data restoration system for outer storage device using flash memory
JP2022136962A (en) Method and system for time synchronization between host device and storage device
JPH1031611A (en) File system for nonvolatile memory storage medium
JP3934659B1 (en) Memory controller and flash memory system
JPH06332795A (en) Electrically erasable nonvolatile memory controlling method and system therefor