JP2005275722A - Electronic device - Google Patents

Electronic device Download PDF

Info

Publication number
JP2005275722A
JP2005275722A JP2004087034A JP2004087034A JP2005275722A JP 2005275722 A JP2005275722 A JP 2005275722A JP 2004087034 A JP2004087034 A JP 2004087034A JP 2004087034 A JP2004087034 A JP 2004087034A JP 2005275722 A JP2005275722 A JP 2005275722A
Authority
JP
Japan
Prior art keywords
data
unit
sector
flash memory
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.)
Granted
Application number
JP2004087034A
Other languages
Japanese (ja)
Other versions
JP4485231B2 (en
Inventor
Yukio Ueno
幸男 上野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP2004087034A priority Critical patent/JP4485231B2/en
Publication of JP2005275722A publication Critical patent/JP2005275722A/en
Application granted granted Critical
Publication of JP4485231B2 publication Critical patent/JP4485231B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Memory System (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic device having a flush memory capable of efficiently writing data into the flush memory. <P>SOLUTION: The electronic device comprises: the flush memory consisting of a plurality of data units for accessing data on a sector unit basis and a data management unit storing entry information on the data stored on the data units; and a control means selecting one data unit for writing the data based on the empty size of each of the data units obtained by referring to the entry information stored on the data management unit in writing the data into any one of the data units and writing the data. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、フラッシュメモリを備えた電子機器に関する。   The present invention relates to an electronic device including a flash memory.

従来からセクタ管理情報とブロック管理情報とに基づいてブロック単位でのデータの書き込み及びセクタ単位でのデータの一括消去を含むアクセス制御を行ない、セクタ消去回数に基づいてデータの書き込み対象のセクタを選択するフラッシュメモリ制御方法が知られている。これは、セクタ消去回数の最も少ないセクタを選択してデータ書き込みを行うものである(例えば、特許文献1参照)。
特開2000−330850号公報
Conventionally, access control including data writing in block units and batch erase of data in sector units is performed based on sector management information and block management information, and a sector to which data is to be written is selected based on the number of sector erasures A flash memory control method is known. In this method, data is written by selecting the sector having the smallest number of sector erases (see, for example, Patent Document 1).
JP 2000-330850 A

しかしながら、特許文献1に示す制御方法にあっては、書き込みをするとき、必ずしもセクタ消去回数が少ないセクタが空き容量の多いセクタとは限らないため、このセクタに空きが少ないにもかかわらず書き込みを実行し、容量が足りない場合、他の領域を見ることなしにこのセクタをガーベッジコレクションしなければならないため、このガーベッジコレクションを実行することにより処理速度が遅くなるという問題がある。特に、特許文献1に示す制御方法は、書き込み時にガーベッジコレクションを実行する可能性が高いため、データ書き込みの処理時間が長くなるという問題がある。   However, in the control method shown in Patent Document 1, when writing, a sector with a small number of sector erasures is not necessarily a sector with a large free space. If this is executed and the capacity is insufficient, this sector must be garbage collected without looking at other areas. Therefore, there is a problem that the processing speed is reduced by executing this garbage collection. In particular, the control method disclosed in Patent Document 1 has a problem that the processing time of data writing becomes long because the possibility of executing garbage collection at the time of writing is high.

本発明は、このような事情に鑑みてなされたもので、フラッシュメモリに対して、効率よくデータの書き込みを行うことができるフラッシュメモリを備えた電子機器を提供することを目的とする。   The present invention has been made in view of such circumstances, and an object thereof is to provide an electronic apparatus including a flash memory that can efficiently write data to the flash memory.

請求項1に記載の発明は、セクタ単位毎にデータをアクセスする複数のデータユニットと、該データユニットに記憶されているデータのエントリ情報を記憶するデータ管理ユニットとから構成されるフラッシュメモリと、前記データユニットのいずれかにデータを書き込む場合に、前記データ管理ユニットに記憶されているエントリ情報を参照して得られる各データユニットの空きサイズに基づいて、該データを書き込むデータユニットを選択し、データの書き込みを行う制御手段とを備えたことを特徴とする。   The invention according to claim 1 is a flash memory comprising a plurality of data units that access data for each sector unit, and a data management unit that stores entry information of data stored in the data units; When writing data to any of the data units, based on the free size of each data unit obtained by referring to the entry information stored in the data management unit, select the data unit to write the data, And a control means for writing data.

請求項2に記載の発明は、キャッシュメモリと、前記フラッシュメモリの指定アドレスに対して、データ書き込み要求があった場合に、該指定アドレスで示される領域を含むセクタを前記キャッシュメモリへ読み込み、前記キャッシュメモリに対して、前記データ書き込み要求のデータの書き込みを行い、新たなデータ書き込み要求のデータを書き込みする領域を含むセクタが、前記キャッシュメモリに読み込まれているセクタと異なった場合に、キャッシュメモリに記憶されているデータを前記フラッシュメモリの読み出しを行ったセクタと異なるセクタへ書き込みを行うキャッシュ制御手段とをさらに備えたことを特徴とする。   The invention according to claim 2 reads a sector including an area indicated by the designated address into the cache memory when there is a data write request for the designated address of the cache memory and the flash memory, When the data including the area for writing the data for the new data write request is written to the cache memory and the sector including the area for writing the new data write request data is different from the sector read into the cache memory, the cache memory And cache control means for writing data stored in the flash memory to a sector different from the sector from which the flash memory was read.

請求項3に記載の発明は、前記フラッシュメモリ内に、スペアユニットを有し、前記制御手段は、前記データ管理ユニットに記憶されているエントリ情報を参照して、無効セクタ数が所定のしきい値を超えているデータユニットの有効セクタのみを前記スペアユニットにコピーし、コピー元のデータユニット内を消去して、新たなスペアユニットとするガーベッジコレクションを実行することを特徴とする。   According to a third aspect of the present invention, the flash memory has a spare unit, and the control means refers to entry information stored in the data management unit, and the number of invalid sectors has a predetermined threshold. Only the valid sector of the data unit exceeding the value is copied to the spare unit, the inside of the data unit of the copy source is erased, and garbage collection as a new spare unit is executed.

請求項4に記載の発明は、前記ガーベッジコレクションは、待機時に起動することを特徴とする。   The invention according to claim 4 is characterized in that the garbage collection is activated during standby.

請求項5に記載の発明は、前記フラッシュメモリ内に、スペアユニットを有し、前記制御手段は、前記データ管理ユニットと前記データユニットそれぞれの消去回数のうち最大消去回数と最小消去回数を求め、最大消去回数と最小消去回数との差が所定のしきい値を超えている場合に、最小消去回数のデータユニットまたはデータ管理ユニットの有効セクタ等を前記スペアユニットにコピーし、コピー元のデータユニット内またはデータ管理ユニット内を消去して、新たなスペアユニットとするウエアレベリングを実行することを特徴とする。   The invention according to claim 5 has a spare unit in the flash memory, and the control means obtains a maximum erase count and a minimum erase count among the erase counts of the data management unit and the data unit, When the difference between the maximum erase count and the minimum erase count exceeds a predetermined threshold value, the data sector of the minimum erase count or the valid sector of the data management unit is copied to the spare unit, and the copy source data unit The wear leveling is performed by deleting the inside or the data management unit and making a new spare unit.

請求項6に記載の発明は、前記ウエアレベリングは、待機時に起動することを特徴とする。   The invention according to claim 6 is characterized in that the wear leveling is activated during standby.

本発明によれば、フラッシュメモリのブロックイレーズの単位を一つのユニットとして扱い、データユニット、データ管理ユニット、及びスペアユニットを有するフラッシュメモリシステムとし、データ書き込み時にデータユニットの空きサイズに基づいて書き込み対象のユニットを決定するようにしたため、書き込みの直前にガーベッジコレクションが実行されることがないため、書き込み時の実行速度を向上させることができるという効果が得られる。   According to the present invention, a flash memory block erase unit is handled as a single unit, and a flash memory system having a data unit, a data management unit, and a spare unit is used. Since the unit is determined, garbage collection is not executed immediately before writing, so that the execution speed at the time of writing can be improved.

以下、本発明の一実施形態による電子機器を図面を参照して説明する。図1は同実施形態の構成を示すブロック図である。ここでは、電子機器の一例として、携帯電話端末を例にして説明する。図1において、符号1は、基地局との間で通信回線を確立して通信をする無線部である。符号2は、携帯電話端末の動作を統括して制御を行う制御部である。符号3は、ユーザ特有の情報やデータを一時的に記憶するRAMである。符号4は、携帯電話端末を動作させるためのプログラム等が予め記憶されたROMである。符号5は、通話音声を集音するマイクと通話音声を発音させるスピーカである。符号6は、ダイヤルキーやファンクションキー等から構成される操作部である。符号7は、液晶のディスプレイで構成される表示部である。符号8は、フラッシュメモリ9に対してデータのアクセスを行うフラッシュメモリドライバである   Hereinafter, an electronic apparatus according to an embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of the embodiment. Here, a mobile phone terminal will be described as an example of an electronic device. In FIG. 1, reference numeral 1 denotes a wireless unit that establishes a communication line with a base station and performs communication. Reference numeral 2 denotes a control unit that performs overall control of the operation of the mobile phone terminal. Reference numeral 3 denotes a RAM that temporarily stores user-specific information and data. Reference numeral 4 denotes a ROM in which a program for operating the mobile phone terminal is stored in advance. Reference numeral 5 denotes a microphone that collects the call voice and a speaker that generates the call voice. Reference numeral 6 denotes an operation unit including dial keys, function keys, and the like. Reference numeral 7 denotes a display unit composed of a liquid crystal display. Reference numeral 8 denotes a flash memory driver for accessing data to the flash memory 9.

ここで、図2を参照して、図1に示すフラッシュメモリ9における記憶領域の構成を説明する。図2は、図1に示すフラッシュメモリ9の記憶領域の構成を示す説明図である。フラッシュメモリ9内は、ブロック消去単位毎にユニットに分かれている。ここでは、6つのデータユニットと、1つのデータ管理ユニット及び1つのスペアユニットから構成され、各ユニットは8kバイトの容量を有しているものとして説明する。データユニットは、名称のとおりデータを格納するユニットであり、各データユニットは64バイトで区切られたセクタを有している。このセクタがデータとしての書き込み単位となる。   Here, the configuration of the storage area in the flash memory 9 shown in FIG. 1 will be described with reference to FIG. FIG. 2 is an explanatory diagram showing the configuration of the storage area of the flash memory 9 shown in FIG. The flash memory 9 is divided into units for each block erase unit. Here, it is assumed that each unit is composed of six data units, one data management unit, and one spare unit, and each unit has a capacity of 8 kbytes. The data unit is a unit for storing data as the name indicates, and each data unit has sectors separated by 64 bytes. This sector is a writing unit as data.

データ管理ユニットは、データユニットを管理するユニットであり、8バイト単位としてエントリ情報を有する。また、各ユニットの先頭1セクタ分にユニットヘッダを設けてある。このユニットヘッダには、ユニット識別マーク、ブロックイレーズカウンタを設ける。ユニット識別マークは、そのユニットがデータ管理ユニットかスペアユニットか、あるいはデータユニットかを識別するために使用する。所定のブロックがその時点での用途により、このマークはその都度書き換えられる。フォーマット時には、データ管理ユニットは先頭ブロック、スペアユニットは末尾ブロックに割り当てられる。ブロックイレーズカウンタは、そのブロックが消去された回数を記録しておくものであり、フォーマット時は00hにする。各ユニットヘッダには、00hからFFhの値が格納され、制御によりFFhの次には00hに戻る。   The data management unit is a unit that manages data units and has entry information in units of 8 bytes. In addition, a unit header is provided for the first one sector of each unit. This unit header is provided with a unit identification mark and a block erase counter. The unit identification mark is used to identify whether the unit is a data management unit, a spare unit, or a data unit. This mark is rewritten each time a predetermined block is used depending on the use at that time. At the time of formatting, the data management unit is assigned to the first block, and the spare unit is assigned to the last block. The block erase counter records the number of times the block has been erased, and is set to 00h during formatting. Each unit header stores a value from 00h to FFh, and returns to 00h after FFh by control.

スペアユニットは、ガーベッジコレクションやウエアレベリングの実行の際に使用するユニットである。データ管理ユニットのエントリ情報には、64バイトセクタの先頭アドレス、ユニット番号(データ格納のブロック番号)、セクタ番号、有効/無効の判別部、無効エントリのdirty/clean判別部を有する。有効/無効の判別部は、データ削除されたときに00hに上書きする。データは無効であるが、この時点では無効エントリのdirty/cleanの判別部がまだdirtyである。すなわち、フラッシュメモリシステム9上、管理された無効セクタを示す。dirty/cleanの判別部は、ガーベッジコレクションされたときに00hに上書きする。すなわち、データは無効であり、かつ、cleanである。データ管理上、完全に削除された状態になる。エントリの更新は、新エントリを空き領域に書き込み、旧エントリを無効にすることにより行う。エントリ情報を含むデータ管理ユニットをガーベッジコレクションするときは、dirtyのエントリはスペアユニットにコピーするが、cleanのエントリのユニットは既にガーベッジコレクション済みであるためcleanのエントリはコピーしない。   The spare unit is a unit used when executing garbage collection or wear leveling. The entry information of the data management unit has a 64-byte sector start address, unit number (block number for data storage), sector number, valid / invalid determination unit, and invalid entry dirty / clean determination unit. The valid / invalid determination unit overwrites 00h when data is deleted. Although the data is invalid, at this point, the dirty / clean discriminator of the invalid entry is still dirty. That is, the invalid sector managed on the flash memory system 9 is shown. The dirty / clean discriminating unit overwrites 00h when garbage is collected. That is, the data is invalid and clean. For data management, it is completely deleted. The entry is updated by writing the new entry into the empty area and invalidating the old entry. When the data management unit including the entry information is garbage collected, the dirty entry is copied to the spare unit, but the clean entry unit is already garbage collected, so the clean entry is not copied.

次に、ガーベッジコレクションについて説明する。ガーベッジコレクションとは、データを削除/編集等することによりデータユニットに無効セクタが生じ、それを除いて有効セクタのみをスぺアユニットにコピーして、コピー元のユニットはブロックイレーズして、このイレーズしたユニットが次のスペアユニットとすることである。コピーすると同時に、新エントリ情報を書き込んで旧エントリ情報を無効化することにより、データ管理ユニットのエントリ情報も更新する。ガーベッジコレクションの対象ユニットは、最も無効セクタの多いユニットである。また、ガーベッジコレクションの起動条件は、書き込み時(書き込み前)にどのユニットも空きがないと判断したとき、あるいは、書き込み終了時/待機時に無効セクタ数が所定の閾値を超えたときである。データ管理ユニットもガーベッジコレクションの対象になり、起動条件は、無効エン卜リーのdirty/clean判別部のclean部が閾値以上になったと判定したときである。動作は、エントリ上の有効/無効セクタをスぺアユニットヘコピーし、clean部はコピーしない。そして、不要となった元のエントリのブロックを消去し、次のスぺアユニットとする。   Next, garbage collection will be described. Garbage collection means that invalid sectors are created in the data unit by deleting / editing data, etc., except that only valid sectors are copied to the spare unit, and the source unit is block erased. The erased unit becomes the next spare unit. At the same time as copying, the entry information of the data management unit is also updated by writing new entry information and invalidating the old entry information. The target unit for garbage collection is the unit with the most invalid sectors. Also, the garbage collection start condition is when it is determined that no unit is empty at the time of writing (before writing), or when the number of invalid sectors exceeds a predetermined threshold at the time of completion of writing / waiting. The data management unit is also subject to garbage collection, and the activation condition is when it is determined that the clean part of the dirty / clean discriminating part of the invalid entry exceeds the threshold. The operation copies the valid / invalid sector on the entry to the spare unit and does not copy the clean part. Then, the block of the original entry that is no longer needed is erased and used as the next spare unit.

次に、ウエアレベリングについて説明する。ウエアレベリングは、消去回数が制限されるフラッシュメモリ9において、全てのブロックを平均的に使用するように管理することで、特定のブロックのみを繰り返し消去して先に寿命が尽きてしまうようなことがないように、メモリ全体を有効に活用するものである。ウエアレベリングの起動については、各ブロックイレーズカウンタをチェックし、ウエアレベリング起動の閾値以上になっていたら、そのカウンタ値が最小であるブロックを選定する。そして、このブロックの全データをスペアユニットにコピーすると同時に、新エントリ情報を書き込み、旧エントリ情報を無効化して、最後に、コピー元をブロック消去し、次のスぺアユニットとする。各ブロックイレーズカウンタの値(最小と最大)が、ウエアレベリング起動の閾値以上に差が開くまでウエアレベリングを実行しない。   Next, wear leveling will be described. Wear leveling means that in the flash memory 9 in which the number of erasures is limited, all the blocks are managed so as to be used on average, so that only a specific block is erased repeatedly and the lifetime ends first. In order to avoid this, the entire memory is effectively used. For activation of wear leveling, each block erase counter is checked, and if it is equal to or greater than the threshold for wear leveling activation, the block having the smallest counter value is selected. Then, all the data in this block is copied to the spare unit, and at the same time, new entry information is written, the old entry information is invalidated, and finally the copy source is erased as a block to be the next spare unit. Wear leveling is not executed until the difference between each block erase counter value (minimum and maximum) exceeds the threshold for starting wear leveling.

書き込み終了時/待機時に起動する、ガーベッジコレクションまたはウエアレベリングには、優先順位を設け、第一はデータ管理ユニットのガーベッジコレクション、第二はデータユニットのガーベッジコレクション、第三はウエアレベリングとする。一回の起動では、優先順位に従っていずれか一つを実行する。   Priorities are set for garbage collection or wear leveling that is activated at the end of writing / standby. The first is garbage collection of the data management unit, the second is garbage collection of the data unit, and the third is wear leveling. In one activation, one of them is executed according to the priority order.

次に、図3を参照して、図1に示すフラッシュメモリドライバ8の構成を説明する。図3は、図1に示すフラッシュメモリドライバ8の構成を示すブロック図である。符号81は、アプリケーション側からの書き込み/読み出し要求等を受け付け、要求を振り分けて送るアプリケーションI/F部である。符号82は、セクタサイズと同サイズのキャッシュメモリ83を有し、後述する制御動作を行うキャッシュ制御部である。符号84は、フラッシュメモリに対して実行したい操作、すなわち、アプリケーション側からの要求操作を順に手順を踏んでアクセス部を実行制御するシーケンス制御部である。符号85は、ユニットヘッダに対して、ユニット識別マーク、ブロックイレーズカウンタを書き込み/読み出しするユニットへッダアクセス部である。符号86は、ユニット番号、セクタ番号、有効/無効の判別部等を書き込み/読み出しするエントリアクセス部である。符号87は、64バイトセクタのデータを書き込み/読み出しするセクタデータアクセス部である。符号88は、データ管理ユニットを検索して無効セクタ数が最大のユニットを取得したり、dirty/clean判別部におけるcleanの数を取得するエントリ検索部である。符号89は、直接フラッシュメモリに対して書き込み/読み出し等を実行するデバイスI/F部である。   Next, the configuration of the flash memory driver 8 shown in FIG. 1 will be described with reference to FIG. FIG. 3 is a block diagram showing a configuration of the flash memory driver 8 shown in FIG. Reference numeral 81 denotes an application I / F unit that accepts a write / read request from the application side and distributes and sends the request. Reference numeral 82 denotes a cache control unit that has a cache memory 83 having the same size as the sector size and performs a control operation to be described later. Reference numeral 84 denotes a sequence control unit that executes and controls the access unit by sequentially performing an operation desired to be performed on the flash memory, that is, a request operation from the application side. Reference numeral 85 denotes a unit header access unit for writing / reading a unit identification mark and a block erase counter to / from the unit header. Reference numeral 86 denotes an entry access unit for writing / reading a unit number, sector number, valid / invalid discrimination unit, and the like. Reference numeral 87 denotes a sector data access unit for writing / reading data of a 64-byte sector. Reference numeral 88 denotes an entry search unit that searches the data management unit to acquire a unit having the maximum number of invalid sectors, or acquires the number of clean in the dirty / clean discrimination unit. Reference numeral 89 denotes a device I / F unit that directly executes writing / reading with respect to the flash memory.

次に、図3を参照して、キャッシュ制御部82の動作を説明する。アプリケーション側からサイズ指定でデータ書き込み要求があった場合、キャッシュ制御部82は、指定アドレスを含むセクタをフラッシュメモリ9からキャッシュメモリ83ヘリードする。このとき、キャッシュ制御部82は、指定アドレスを基にユニット番号、セクタ番号を求めてデータをリードする。そして、このデータをキャッシュメモリ83に指定サイズ分、上書きし、キャッシュ保持中フラグをONにする。キャッシュメモリ83のサイズ超過分のデータがあれば、後で別のセクタにライトする。続いて、キャッシュメモリ83のデータをフラッシュメモリ9へ書き込み、ライト後、キャッシュ保持中フラグをOFFにする。   Next, the operation of the cache control unit 82 will be described with reference to FIG. When there is a data write request for size specification from the application side, the cache control unit 82 reads the sector including the specified address from the flash memory 9 to the cache memory 83. At this time, the cache control unit 82 obtains the unit number and sector number based on the designated address and reads the data. Then, this data is overwritten in the cache memory 83 by the designated size, and the cache holding flag is turned ON. If there is data exceeding the size of the cache memory 83, it is written to another sector later. Subsequently, the data in the cache memory 83 is written into the flash memory 9, and after writing, the cache holding flag is turned OFF.

一方、アプリケーション側からサイズ指定なしで1バイトデータの書き込み要求があった場合、キャッシュ制御部82は、指定アドレスを含むセクタをフラッシュメモリ9からキャッシュメモリ83ヘリードする。そしてデータをキャッシュメモリ83に上書きし、キャッシュ保持中フラグをONにする。さらに、アドレス、データ指定で1バイトデータ書き込み要求を受ける場合、次のふたつのいずれかの処理を行う。要求の対象が同一セクタであれば、データをキャッシュメモリ83に上書きし、別セクタアドレスであれば、現在のキャッシュメモリ83内に記憶されているデータをフラッシュメモリ9へライトし、キャッシュ保持中フラグをOFFにする。そして、指定アドレスを含むセクタをフラッシュメモリ9からキャッシュメモリ83へリードして、このデータをキャッシュメモリ83に上書きし、キャッシュ保持中フラグをONにする。   On the other hand, when there is a write request for 1-byte data from the application side without specifying the size, the cache control unit 82 reads the sector including the specified address from the flash memory 9 to the cache memory 83. Then, the data is overwritten in the cache memory 83, and the cache holding flag is turned ON. Furthermore, when a 1-byte data write request is received by address and data designation, one of the following two processes is performed. If the request target is the same sector, the data is overwritten in the cache memory 83, and if it is another sector address, the data stored in the current cache memory 83 is written to the flash memory 9, and the cache holding flag Set to OFF. Then, the sector including the designated address is read from the flash memory 9 to the cache memory 83, this data is overwritten in the cache memory 83, and the cache holding flag is turned ON.

そして、アプリケーション側は最終データの書き込み要求を行った後、キャッシュデータのフラッシュ要求を行う必要がある。これによりキャッシュメモリ83に最後に残ったデータをフラッシュメモリ9に書き込むことができる。キャッシュ制御部82がフラッシュ要求を受け取ったら、キャッシュ保持中フラグONのときだけフラッシュメモリ9にライトする。また、リード要求があれば、基本的にはフラッシュメモリ9から直接データリードする。但し、キャッシュメモリ83にあるデータがまだフラッシュメモリ9にライトされていない時に、リード要求があればキャッシュメモリ83内のデータを読み出す。   The application side needs to make a cache data flush request after making a final data write request. As a result, the last remaining data in the cache memory 83 can be written into the flash memory 9. When the cache control unit 82 receives the flush request, the cache control unit 82 writes to the flash memory 9 only when the cache holding flag is ON. If there is a read request, data is read directly from the flash memory 9 basically. However, if there is a read request when the data in the cache memory 83 has not yet been written to the flash memory 9, the data in the cache memory 83 is read.

このように、比較的サイズの小さなデータ及び1バイトデータを高い頻度で書換える場合、データ管理ユニットやデータユニットに無効エントリ/セクタが多く発生するという負担が大きいものとなってしまうが、キャッシュ制御部82を設けることによりこの問題を解決することができる。   As described above, when data having a relatively small size and 1-byte data are rewritten at a high frequency, the burden of generating many invalid entries / sectors in the data management unit or the data unit becomes large. By providing the part 82, this problem can be solved.

次に、図4を参照して、フォーマット処理の動作を説明する。フォーマット処理は、フラッシュメモリ9を読み書きできる状態に初期化することであり、すなわち各ユニットにユニットへッダを付加する処理のことである。アプリケーションからの要求をアプリケーションI/F部81が受信し、シーケンス制御部84へ渡す。これを受けてシーケンス制御部84は、デバイスI/F部89を介して全てのユニットをイレーズする(ステップS1)。次いで、シーケンス制御部84は、ユニットへッダを生成する(ステップS2)。このフォーマット処理後は、ユニットへッダを除いて全てFFhとなる。   Next, the format processing operation will be described with reference to FIG. The formatting process is to initialize the flash memory 9 so that it can be read and written, that is, to add a unit header to each unit. The application I / F unit 81 receives a request from the application and passes it to the sequence control unit 84. In response to this, the sequence control unit 84 erases all the units via the device I / F unit 89 (step S1). Next, the sequence control unit 84 generates a unit header (step S2). After this formatting process, all FFh except for the unit header is obtained.

次に、図5を参照して、書き込み処理の動作を説明する。書き込み処理は、1セクタ分のデータの書き込みを行う処理であり、複数セクタの書き込みの場合はこの処理の繰り返し行うことになる。まず、書き込み要求を受けると、エントリ検索部88がデータ管理ユニットのエントリ情報を検索し、ライトするための空き領域のあるユニット番号を決定する(ステップS3)。このとき、エントリ検索部88は空きの最も多いユニットを選択する。具体的には、データ管理ユニットのエントリ情報を先頭から末尾まで検索し、エントリアドレスが書かれていないFFFFhが末尾となる。dirty/clean判別部がcleanでないもの、すなわちエントリとして意味をなすものを抽出することで有効、無効セクタのユニット毎の総数を取得する。有効/無効セクタ数が最小のユニットが空きの最も多いユニットとなる。続いて、そのユニットの空きセクタ番号を取得し(ステップS4)、フラッシュメモリ9上の物理アドレスを決定する(ステップS5)。そして、データ管理ユニットに対してエントリアクセス部86を介してエントリ情報を書き込み(ステップS6)、セクタデータアクセス部87を介して1セクタデータを書き込む(ステップS7)。もし、旧エントリが存在すれば、エントリアクセス部86によりこの旧エントリを無効化する(ステップS8,S9)。あるエントリの最初の書き込みでは、それが新規になるので対応する旧エントリは存在しない。   Next, the operation of the writing process will be described with reference to FIG. The writing process is a process for writing data for one sector. In the case of writing for a plurality of sectors, this process is repeated. First, when a write request is received, the entry search unit 88 searches the entry information of the data management unit and determines a unit number having a free area for writing (step S3). At this time, the entry search unit 88 selects the unit with the most free space. Specifically, the entry information of the data management unit is searched from the beginning to the end, and FFFFh in which no entry address is written is the end. The dirty / clean discriminating unit extracts the ones that are not clean, that is, the ones that make sense as entries, thereby obtaining the total number of valid and invalid sectors per unit. The unit with the smallest number of valid / invalid sectors is the unit with the most free space. Subsequently, an empty sector number of the unit is acquired (step S4), and a physical address on the flash memory 9 is determined (step S5). Then, entry information is written to the data management unit via the entry access unit 86 (step S6), and one sector data is written via the sector data access unit 87 (step S7). If there is an old entry, the entry access unit 86 invalidates the old entry (steps S8 and S9). At the first write of an entry, it becomes new and there is no corresponding old entry.

次に、図6を参照して、読み出し処理の動作を説明する。読み出し処理は、キャッシュメモリ83内に読み出し対象のセクタデータがあれば、それを読み出すだけでよい。キャッシュメモリ83内に対象のセクタデータがないとき、エントリ検索部88によりエントリデータを読み出す(ステップS10)。そして、アプリケーション側からの指定アドレスデータが格納されているユニット番号、セクタ番号を取得し(ステップS11)、物理アドレスを決定する(ステップS12)。このアドレスのデータをデバイスI/F部89を介して読み出す(ステップS13)。   Next, the operation of the reading process will be described with reference to FIG. If the read-out sector data exists in the cache memory 83, the read process only needs to be read out. When there is no target sector data in the cache memory 83, the entry search unit 88 reads the entry data (step S10). Then, a unit number and a sector number in which designated address data from the application side is stored are acquired (step S11), and a physical address is determined (step S12). Data at this address is read out via the device I / F unit 89 (step S13).

次に、図7を参照して、エントリ検索部88が書き込む対象のユニットを決定する処理の詳細動作を説明する。まず、エントリ検索部88は、各ユニットの空き容量を算出する(ステップS21)。空き容量は、有効セクタ数(有効/無効の判別部がFFh)と管理を必要とする無効セクタ数(有効/無効の判別部が00h、かつdirty/clean判別部がFFh)との和をユニットサイズ(8kバイト)から減算した値となる。   Next, with reference to FIG. 7, the detailed operation of the process of determining the unit to be written by the entry search unit 88 will be described. First, the entry search unit 88 calculates the free capacity of each unit (step S21). The free space is the sum of the number of valid sectors (valid / invalid discriminator is FFh) and the number of invalid sectors that require management (valid / invalid discriminator is 00h and dirty / clean discriminator is FFh). This is a value obtained by subtracting from the size (8 kbytes).

次に、エントリ検索部88は、空き容量が最大値となるユニットが複数あるかを判定する(ステップS22)。この判定の結果、空き容量が最大値となるユニットが1つである場合は、このユニットを書き込み対象のユニットに決定する(ステップS23)。   Next, the entry search unit 88 determines whether there are a plurality of units having the maximum free capacity (step S22). If the result of this determination is that there is one unit with the maximum free space, this unit is determined as the unit to be written (step S23).

一方、空き容量が最大値となるユニットが複数ある(空き容量が最大で容量値が同じ値のものがある)場合、エントリ検索部88は、空き容量が最大値となるユニット間で有効セクタ数を比較する(ステップS24)。そして、エントリ検索部88は、有効セクタ数が最大値となるユニットが複数あるかを判定する(ステップS25)。この判定の結果、有効セクタ数が最大値となるユニットが1つである場合は、このユニットを書き込み対象のユニットに決定する(ステップS26)。   On the other hand, when there are a plurality of units with the maximum free capacity (there are some with the maximum free capacity and the same capacity value), the entry search unit 88 determines the number of valid sectors between the units with the maximum free capacity. Are compared (step S24). Then, the entry search unit 88 determines whether there are a plurality of units having the maximum number of effective sectors (step S25). If the result of this determination is that there is one unit with the maximum number of valid sectors, this unit is determined as the unit to be written (step S26).

次に、有効セクタ数が最大値となるユニットが複数ある(有効セクタ数が最大で同じ値のものがある)場合、エントリ検索部88は、有効セクタ数が最大値となるユニット間でブロック消去回数を取得する(ステップS27)。そして、ステップS22及びS25の条件を満たし、かつ消去回数が最小値であるユニットのいずれかのユニットを選択して書き込み対象のユニットに決定する(ステップS28)。   Next, when there are a plurality of units with the maximum number of effective sectors (the number of effective sectors is the same with the maximum number of effective sectors), the entry search unit 88 performs block erasure between the units with the maximum number of effective sectors. The number of times is acquired (step S27). Then, one of the units satisfying the conditions of steps S22 and S25 and having the minimum erase count is selected and determined as a unit to be written (step S28).

このように、従来の制御方法のように書き込み時において各ユニットのイレーズ回数で判断せずに、ユニットの空きサイズで書き込み対象のユニットを決定するようにしたため、このユニットに対しては必ず書き込みが可能であり、書き込む直前にガーベッジコレクションが実行されることがないようにすることができる。   As described above, since the unit to be written is determined based on the free size of the unit without determining the number of erases of each unit at the time of writing as in the conventional control method, writing to this unit is always performed. It is possible to prevent garbage collection from being performed immediately before writing.

また、1バイト毎の連続書き込み要求に対しては、キャッシュメモリ83を設けることによりセクタの更新を操り返すことはなく、ガーベッジコレクションの増加を防ぐことが可能となる。キャッシュメモリ83を設けることにより、高速化することができるとともに、効率の悪いフラッシュメモリ9への書き込みを避けることができる。すなわち、キャッシュメモリ83に存在するセクタデータがアプリケーションからの書き込み要求のデータアドレスを含んでいる場合は、キャッシュメモリ83に上書きするだけで、その都度フラッシュメモリ9に書き込みを行わずに済む。1バイトデータの書き込みの度に64バイトセクタデータをフラッシュメモリ9に書き込むと無効セクタが増大することになるが、それが避けられる利点は大きい。また、ガーベッジコレクションの対象ユニットを使用頻度が最低のユニットとするのではなく、無効セクタ数が最大のユニットとすることにより、最も効率のよいガーベッジコレクションを実現することができる。さらに、待機時にガーベッジコレクションまたはウエアレベリングを実行することにより、ユーザが意識しないときにフラッシュメモリ9内のガーベッジ量を少なくし、また、偏ったブロックイレーズを避けることが可能となる。
また、FATを使わないことによりシンプルなシステムを提供でき、FATを使用しないのでFAT破壊等で復旧が困難となる事態が避けることができるとともに、ファイルの概念を持たないため、システム構成を簡略化することが可能となる。
In addition, by providing the cache memory 83 for continuous write requests for each byte, the sector update is not repeated, and an increase in garbage collection can be prevented. By providing the cache memory 83, the speed can be increased and writing to the flash memory 9 with low efficiency can be avoided. That is, when the sector data existing in the cache memory 83 includes the data address of the write request from the application, it is only necessary to overwrite the cache memory 83 and not write to the flash memory 9 each time. If 64-byte sector data is written to the flash memory 9 each time 1-byte data is written, the number of invalid sectors increases. However, there is a great advantage that this can be avoided. Further, the most efficient garbage collection can be realized by setting the target unit of garbage collection not to be the unit with the lowest use frequency but to the unit with the largest number of invalid sectors. Furthermore, by executing garbage collection or wear leveling during standby, it is possible to reduce the amount of garbage in the flash memory 9 when the user is not conscious, and to avoid uneven block erase.
In addition, a simple system can be provided by not using FAT, and since it does not use FAT, it is possible to avoid a situation where recovery is difficult due to FAT destruction, etc., and since there is no file concept, the system configuration is simplified. It becomes possible to do.

また、アプリケーション側は、フラッシュメモリ9上のセクタ配置を意識しないで単純に0からの連続アドレスを指定するだけで、フラッシュメモリ9に対する書き込み/読み出しを行うことができる。このように、アプリケーション側から論理アドレスを指定されると、フラッシュメモリドライバ8は目標の物理アドレスに変換し、書き込み/読み出しを実行することができる。これは、連続アドレスを有するメモリ管理を実施するあらゆる電子機器に適用することができ、例えば移動通信を使用した携帯電話機や移動通信機能を有した携帯情報端末(PDA)などに適用可能である。   Further, the application side can perform writing / reading to / from the flash memory 9 simply by designating a continuous address from 0 without being aware of the sector arrangement on the flash memory 9. In this way, when a logical address is designated by the application side, the flash memory driver 8 can convert it to a target physical address and execute writing / reading. This can be applied to any electronic device that performs memory management having continuous addresses, and can be applied to, for example, a mobile phone using mobile communication or a personal digital assistant (PDA) having a mobile communication function.

また、図1における処理部の機能を実現するためのプログラムをコンピュータ読み取り可能な記録媒体に記録して、この記録媒体に記録されたプログラムをコンピュータシステムに読み込ませ、実行することによりフラッシュメモリ9制御処理を行ってもよい。なお、ここでいう「コンピュータシステム」とは、OSや周辺機器等のハードウェアを含むものとする。また、「コンピュータ読み取り可能な記録媒体」とは、フレキシブルディスク、光磁気ディスク、ROM、CD−ROM等の可搬媒体、コンピュータシステムに内蔵されるハードディスク等の記憶装置のことをいう。さらに「コンピュータ読み取り可能な記録媒体」とは、インターネット等のネットワークや電話回線等の通信回線を介してプログラムが送信された場合のサーバやクライアントとなるコンピュータシステム内部の揮発性メモリ(RAM)のように、一定時間プログラムを保持しているものも含むものとする。   Further, the program for realizing the function of the processing unit in FIG. 1 is recorded on a computer-readable recording medium, and the program recorded on the recording medium is read into the computer system and executed to control the flash memory 9. Processing may be performed. Here, the “computer system” includes an OS and hardware such as peripheral devices. The “computer-readable recording medium” refers to a storage device such as a flexible medium, a magneto-optical disk, a portable medium such as a ROM and a CD-ROM, and a hard disk incorporated in a computer system. Further, the “computer-readable recording medium” refers to a volatile memory (RAM) in a computer system that becomes a server or a client when a program is transmitted via a network such as the Internet or a communication line such as a telephone line. In addition, those holding programs for a certain period of time are also included.

また、上記プログラムは、このプログラムを記憶装置等に格納したコンピュータシステムから、伝送媒体を介して、あるいは、伝送媒体中の伝送波により他のコンピュータシステムに伝送されてもよい。ここで、プログラムを伝送する「伝送媒体」は、インターネット等のネットワーク(通信網)や電話回線等の通信回線(通信線)のように情報を伝送する機能を有する媒体のことをいう。また、上記プログラムは、前述した機能の一部を実現するためのものであっても良い。さらに、前述した機能をコンピュータシステムにすでに記録されているプログラムとの組み合わせで実現できるもの、いわゆる差分ファイル(差分プログラム)であっても良い。   The program may be transmitted from a computer system storing the program in a storage device or the like to another computer system via a transmission medium or by a transmission wave in the transmission medium. Here, the “transmission medium” for transmitting the program refers to a medium having a function of transmitting information, such as a network (communication network) such as the Internet or a communication line (communication line) such as a telephone line. The program may be for realizing a part of the functions described above. Furthermore, what can implement | achieve the function mentioned above in combination with the program already recorded on the computer system, and what is called a difference file (difference program) may be sufficient.

本発明の一実施形態の構成を示すブロック図である。It is a block diagram which shows the structure of one Embodiment of this invention. 図1に示すフラッシュメモリ9の記憶領域の構成を示す説明図である。FIG. 2 is an explanatory diagram showing a configuration of a storage area of the flash memory 9 shown in FIG. 1. 図1に示すフラッシュメモリドライバ8の構成を示すブロック図である。FIG. 2 is a block diagram showing a configuration of a flash memory driver 8 shown in FIG. 図1に示すフラッシュメモリドライバ8の動作を示すフローチャートである。3 is a flowchart showing the operation of the flash memory driver 8 shown in FIG. 図1に示すフラッシュメモリドライバ8の動作を示すフローチャートである。3 is a flowchart showing the operation of the flash memory driver 8 shown in FIG. 図1に示すフラッシュメモリドライバ8の動作を示すフローチャートである。3 is a flowchart showing the operation of the flash memory driver 8 shown in FIG. 図1に示すフラッシュメモリドライバ8の動作を示すフローチャートである。3 is a flowchart showing the operation of the flash memory driver 8 shown in FIG.

符号の説明Explanation of symbols

1・・・無線部、2・・・制御部、3・・・RAM、4・・・ROM、5・・・マイク/スピーカ、6・・・操作部、7・・・表示部、8・・・フラッシュメモリドライバ、9・・・フラッシュメモリ、81・・・アプリケーションI/F部、82・・・キャッシュ制御部、83・・・キャッシュメモリ、84・・・シーケンス制御部、85・・・ユニットヘッダアクセス部、86・・・エントリアクセス部、87・・・セクタデータアクセス部、88・・・エントリ検索部、89・・・デバイスI/F部
DESCRIPTION OF SYMBOLS 1 ... Wireless part, 2 ... Control part, 3 ... RAM, 4 ... ROM, 5 ... Microphone / speaker, 6 ... Operation part, 7 ... Display part, 8 * ..Flash memory driver, 9 ... flash memory, 81 ... application I / F unit, 82 ... cache control unit, 83 ... cache memory, 84 ... sequence control unit, 85 ... Unit header access unit, 86 ... entry access unit, 87 ... sector data access unit, 88 ... entry search unit, 89 ... device I / F unit

Claims (6)

セクタ単位毎にデータをアクセスする複数のデータユニットと、該データユニットに記憶されているデータのエントリ情報を記憶するデータ管理ユニットとから構成されるフラッシュメモリと、
前記データユニットのいずれかにデータを書き込む場合に、前記データ管理ユニットに記憶されているエントリ情報を参照して得られる各データユニットの空きサイズに基づいて、該データを書き込むデータユニットを選択し、データの書き込みを行う制御手段と
を備えたことを特徴とする電子機器。
A flash memory comprising a plurality of data units that access data for each sector unit, and a data management unit that stores entry information of data stored in the data units;
When writing data to any of the data units, based on the free size of each data unit obtained by referring to the entry information stored in the data management unit, select the data unit to write the data, An electronic device comprising: control means for writing data.
キャッシュメモリと、
前記フラッシュメモリの指定アドレスに対して、データ書き込み要求があった場合に、該指定アドレスで示される領域を含むセクタを前記キャッシュメモリへ読み込み、前記キャッシュメモリに対して、前記データ書き込み要求のデータの書き込みを行い、新たなデータ書き込み要求のデータを書き込みする領域を含むセクタが、前記キャッシュメモリに読み込まれているセクタと異なった場合に、キャッシュメモリに記憶されているデータを前記フラッシュメモリの読み出しを行ったセクタと異なるセクタへ書き込みを行うキャッシュ制御手段と
をさらに備えたことを特徴とする請求項1に記載の電子機器。
Cache memory,
When there is a data write request for the designated address of the flash memory, the sector including the area indicated by the designated address is read into the cache memory, and the data of the data write request is read into the cache memory. When the sector including the area where the data for the new data write request is written is different from the sector read into the cache memory, the data stored in the cache memory is read from the flash memory. The electronic device according to claim 1, further comprising: cache control means for writing to a sector different from the performed sector.
前記フラッシュメモリ内に、スペアユニットを有し、
前記制御手段は、前記データ管理ユニットに記憶されているエントリ情報を参照して、無効セクタ数が所定のしきい値を超えているデータユニットの有効セクタのみを前記スペアユニットにコピーし、コピー元のデータユニット内を消去して、新たなスペアユニットとするガーベッジコレクションを実行することを特徴とする請求項1に記載の電子機器。
The flash memory has a spare unit,
The control means refers to the entry information stored in the data management unit, and copies only valid sectors of data units in which the number of invalid sectors exceeds a predetermined threshold to the spare unit. The electronic device according to claim 1, wherein the garbage collection is performed by erasing the data unit in order to make a new spare unit.
前記ガーベッジコレクションは、待機時に起動することを特徴とする請求項3に記載の電子機器。   The electronic device according to claim 3, wherein the garbage collection is activated during standby. 前記フラッシュメモリ内に、スペアユニットを有し、
前記制御手段は、前記データ管理ユニットと前記データユニットそれぞれの消去回数のうち最大消去回数と最小消去回数を求め、最大消去回数と最小消去回数との差が所定のしきい値を超えている場合に、最小消去回数のデータユニットまたはデータ管理ユニットの有効セクタ等を前記スペアユニットにコピーし、コピー元のデータユニット内またはデータ管理ユニット内を消去して、新たなスペアユニットとするウエアレベリングを実行することを特徴とする請求項1に記載の電子機器。
The flash memory has a spare unit,
The control means obtains the maximum erase count and the minimum erase count among the erase counts of the data management unit and the data unit, and the difference between the maximum erase count and the minimum erase count exceeds a predetermined threshold value In addition, the data sector of the minimum erase count or the valid sector of the data management unit is copied to the spare unit, the data unit in the copy source or the data management unit is erased, and wear leveling as a new spare unit is executed. The electronic device according to claim 1, wherein:
前記ウエアレベリングは、待機時に起動することを特徴とする請求項5に記載の電子機器。
The electronic apparatus according to claim 5, wherein the wear leveling is activated during standby.
JP2004087034A 2004-03-24 2004-03-24 Electronics Expired - Fee Related JP4485231B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004087034A JP4485231B2 (en) 2004-03-24 2004-03-24 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004087034A JP4485231B2 (en) 2004-03-24 2004-03-24 Electronics

Publications (2)

Publication Number Publication Date
JP2005275722A true JP2005275722A (en) 2005-10-06
JP4485231B2 JP4485231B2 (en) 2010-06-16

Family

ID=35175348

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004087034A Expired - Fee Related JP4485231B2 (en) 2004-03-24 2004-03-24 Electronics

Country Status (1)

Country Link
JP (1) JP4485231B2 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007323212A (en) * 2006-05-30 2007-12-13 Kyocera Corp Flash memory system, electronic apparatus and portable terminal device
JP2012053553A (en) * 2010-08-31 2012-03-15 Toshiba Corp Storage control unit, storage device and data movement control method
WO2015173966A1 (en) * 2014-05-16 2015-11-19 富士通株式会社 Information processing device, write control circuit, write control method, and write control program
US9703495B2 (en) 2014-03-27 2017-07-11 Tdk Corporation Memory controller, memory system, and memory control method
US11256432B2 (en) 2018-11-21 2022-02-22 Tdk Corporation Memory controller and memory system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007323212A (en) * 2006-05-30 2007-12-13 Kyocera Corp Flash memory system, electronic apparatus and portable terminal device
JP2012053553A (en) * 2010-08-31 2012-03-15 Toshiba Corp Storage control unit, storage device and data movement control method
US8583859B2 (en) 2010-08-31 2013-11-12 Kabushiki Kaisha Toshiba Storage controller for wear-leveling and compaction and method of controlling thereof
US9703495B2 (en) 2014-03-27 2017-07-11 Tdk Corporation Memory controller, memory system, and memory control method
WO2015173966A1 (en) * 2014-05-16 2015-11-19 富士通株式会社 Information processing device, write control circuit, write control method, and write control program
JP5943153B2 (en) * 2014-05-16 2016-06-29 富士通株式会社 Information processing apparatus, write control circuit, write control method, and write control program
US11256432B2 (en) 2018-11-21 2022-02-22 Tdk Corporation Memory controller and memory system

Also Published As

Publication number Publication date
JP4485231B2 (en) 2010-06-16

Similar Documents

Publication Publication Date Title
KR100365725B1 (en) Ranked Cleaning Policy and Error Recovery Method for File Systems Using Flash Memory
KR100453053B1 (en) Flash memory file system
US20080195799A1 (en) Systems, methods and computer program products for operating a data processing system in which a file delete command is sent to an external storage device for invalidating data thereon
JP2008033788A (en) Nonvolatile storage device, data storage system, and data storage method
JP2004318940A (en) Storage device
JP3595073B2 (en) Computer system and file management method used in the system
EP1523711A1 (en) Memory device, memory managing method and program
JP2007133487A (en) File management method, device, and program
JP2011530133A (en) Cache content storage management
JPWO2006120938A1 (en) Memory card, application program holding method, and holding program
KR0185954B1 (en) Memory management method
JP5874525B2 (en) Control device, storage device, and storage control method
JP5267052B2 (en) Non-volatile memory driver
JP4485231B2 (en) Electronics
JP4175881B2 (en) Nonvolatile memory storage method and storage device
JP5376551B2 (en) Flash memory system, electronic device, and portable terminal device
JP2006350633A (en) Data management method and data management system
JP2006126919A (en) Data management device for flash memory and control method of flash memory
JPWO2005041050A1 (en) Recording medium, data processing apparatus, and data processing method
CN112181275A (en) Data processor and data processing method
JP2006344177A (en) Data erasing system and data erasing program
JP2004078902A (en) Storage device, memory management method, and program thereof
JP2008257584A (en) Ram disk processing method and system
JP2008191797A (en) File system
KR100319254B1 (en) Restoring method for non-velatile data region using flash memory

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20070213

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20091013

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091020

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091218

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100309

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100324

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130402

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130402

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140402

Year of fee payment: 4

LAPS Cancellation because of no payment of annual fees