[go: up one dir, main page]

JP2009043238A - Storage area management method and information processing apparatus - Google Patents

Storage area management method and information processing apparatus Download PDF

Info

Publication number
JP2009043238A
JP2009043238A JP2008161131A JP2008161131A JP2009043238A JP 2009043238 A JP2009043238 A JP 2009043238A JP 2008161131 A JP2008161131 A JP 2008161131A JP 2008161131 A JP2008161131 A JP 2008161131A JP 2009043238 A JP2009043238 A JP 2009043238A
Authority
JP
Japan
Prior art keywords
storage area
management
storage
data
page
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
JP2008161131A
Other languages
Japanese (ja)
Inventor
Daisuke Ito
大輔 伊藤
Shinji Fujiwara
真二 藤原
Kazuo Otsuga
一雄 大津賀
Shinya Kajiyama
新也 梶山
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.)
Hitachi Ltd
Original Assignee
Hitachi 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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP2008161131A priority Critical patent/JP2009043238A/en
Priority to US12/219,051 priority patent/US20090024810A1/en
Publication of JP2009043238A publication Critical patent/JP2009043238A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Memory System (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

【課題】ストレージ機器において、消去済みイレースブロックが少なくなった際の領域縮退に伴うデータ消失の危険性や、書き込み速度が大幅な低下などを防止する。
【解決手段】新規ページ確保処理において、使用済みページリストの長さが、任意のnページより長いかを判断し、長い場合、使用済みページリストから1ページを確保する。短い場合、容量不足エラーを返して処理を終了する。消去済みページリストのファイル削除は、処理されるページが、ファイル削除によって空になるかを判断し、空にならない場合、該ページからファイルを削除する。空になる場合、使用中ページの最末尾のページの内容を該ページにコピーし、最末尾のページに消去用データを書き込み、最末尾のページに含まれるイレースブロックを消去対象とする。続いて、最末尾のページを使用中ページリストから削除し、消去済みページリストに追加し、処理を終える。
【選択図】図1
In a storage device, it is possible to prevent the risk of data loss due to area degeneration when the number of erased erase blocks decreases, and a significant decrease in writing speed.
In a new page securing process, it is determined whether the length of a used page list is longer than an arbitrary n page. If it is longer, one page is secured from the used page list. If it is shorter, a capacity shortage error is returned and the process is terminated. For deleting a file in the erased page list, it is determined whether a page to be processed becomes empty due to file deletion. When it becomes empty, the content of the last page of the used page is copied to the page, erase data is written to the last page, and the erase block included in the last page is to be erased. Subsequently, the last page is deleted from the in-use page list, added to the erased page list, and the process ends.
[Selection] Figure 1

Description

本発明は、ストレージ装置に関するデータ管理技術に関し、特に、ファイルシステム領域やデータベース領域によるデータ管理に関するもので、特に、ストレージ装置が有するファイルシステム領域やデータベース領域の管理に関するものである。   The present invention relates to a data management technique related to a storage apparatus, and more particularly to data management using a file system area or a database area, and more particularly to management of a file system area or a database area of a storage apparatus.

たとえば、ハードディスクドライブなどに例示されるストレージデバイス上で効率よくデータを管理する方法として、ファイルシステム技術やデータベース技術が知られている。   For example, file system technology and database technology are known as methods for efficiently managing data on a storage device exemplified by a hard disk drive.

ファイルシステム技術は、主に数KB以上のサイズのファイルを大量に扱うための技術である。ストレージ上にファイルシステム領域と呼ばれる管理構造を作成し、このファイルシステム領域を主にオペレーティングシステムの一部として動作するファイルシステム処理部を介して操作する。ファイルシステム領域とファイルシステム処理部によってデータを管理するシステムをファイルシステムと呼ぶ。   The file system technology is a technology for mainly handling a large number of files having a size of several KB or more. A management structure called a file system area is created on the storage, and this file system area is operated mainly through a file system processing unit that operates as a part of the operating system. A system that manages data by a file system area and a file system processing unit is called a file system.

また、データベース技術は、主に数十B程度のサイズのレコードを大量に扱うための技術である。ストレージ上にはデータベース領域と呼ばれる管理構造を作成し、このデータベース領域を主にオペレーティングシステム上で動作するデータベース管理プログラムを介して操作する。データベース領域とデータベース管理プログラムによってデータを管理するシステムをデータベース管理システムと呼ぶ。   The database technology is a technology for mainly handling a large number of records having a size of about several tens of B. A management structure called a database area is created on the storage, and this database area is operated via a database management program that operates mainly on the operating system. A system that manages data using a database area and a database management program is called a database management system.

さらに、ファイルシステム領域上にデータベース領域を作ったり、逆にデータベース領域上にファイルシステム領域を作ったりといった階層化が可能なことも多い。   Furthermore, it is often possible to create a hierarchy such as creating a database area on the file system area or conversely creating a file system area on the database area.

これらファイルシステム技術やデータベース技術は主にハードディスクドライブ上で動作させることを念頭において開発されてきた。ハードディスクドライブの特性として記憶素子である磁性体の書き換え可能回数が事実上無制限であることが挙げられる。   These file system technologies and database technologies have been developed mainly with the intention of operating them on hard disk drives. One characteristic of a hard disk drive is that the number of rewritable times of a magnetic material that is a storage element is virtually unlimited.

このため、ファイルシステム技術やデータベース技術では、領域全体の管理情報であるメタデータを領域の先頭や末尾といった箇所に固定し、繰り返し上書きすることが多い。   For this reason, in file system technology and database technology, metadata, which is management information for the entire area, is often fixed at a location such as the beginning or end of the area and repeatedly overwritten.

一方、近年、フラッシュメモリなどの不揮発性半導体メモリに代表されるシリコンストレージによるハードディスクドライブの置き換えが進んでいる。   On the other hand, in recent years, replacement of hard disk drives by silicon storage represented by nonvolatile semiconductor memories such as flash memories has been advanced.

ここで、不揮発性半導体メモリは、記憶素子の最小単位であるメモリセルの書き換え可能回数が105 回程度とハードディスクドライブと比べて少ないため、ストレージ用途に用いる場合は、図11に示す仮想化技術を用いたウェアレベリング2001(書き換え回数均一化)や不良イレースブロックの再割り当て2002といった管理を行う必要がある。   Here, the nonvolatile semiconductor memory has a memory cell, which is the minimum unit of the memory element, that has a rewrite count of about 105 times, which is smaller than that of a hard disk drive. It is necessary to perform management such as used wear leveling 2001 (equalizing the number of rewrites) and reassignment 2002 of defective erase blocks.

一方で、一般にパリティを用いてデータを保護するため、一度書いたデータが読めなくなることはない。また、パリティやウェアレベリングの論理アドレスを保持するため、実データに加えてこれらパリティやウェアレベリングの論理アドレスをメモリセル上に保存する。   On the other hand, since data is generally protected using parity, once written data does not become unreadable. Further, in order to hold the parity and wear leveling logical addresses, the parity and wear leveling logical addresses are stored in the memory cells in addition to the actual data.

不揮発性半導体メモリでは、メモリセルの書き換え可能回数がハードディスクドライブと比べて少なく、また不良イレースブロックの存在や発生を前提とした使い方が要求され非常に扱い難いため、不揮発性半導体メモリを用いて構成されたメモリカードなどを用いることが近年の主流である。   In nonvolatile semiconductor memory, the number of times that memory cells can be rewritten is less than that of hard disk drives, and it is very difficult to handle because it requires usage based on the presence and occurrence of defective erase blocks. The use of such a memory card has been the mainstream in recent years.

ここで、イレースブロックとは、不揮発性半導体メモリにおける消去の最小単位を指す。不揮発性半導体メモリのメモリセルは、1セルごとの書き込み操作は’1’→’0’の方向にしか行えず、’0’→’1’の方向への変化はイレースブロック単位の消去操作でしか行えない。   Here, the erase block refers to the minimum unit of erasure in the nonvolatile semiconductor memory. In the memory cell of the nonvolatile semiconductor memory, the write operation for each cell can be performed only in the direction of “1” → “0”, and the change in the direction of “0” → “1” is performed by an erase operation in units of erase blocks. It can only be done.

不揮発性半導体メモリの大容量化が進むにつれ、イレースブロックのサイズも巨大化しており、現在のNAND型フラッシュメモリにおいては128KBや、それ以上のサイズとなっている。   As the capacity of the non-volatile semiconductor memory is increased, the size of the erase block is also increased, and the current NAND flash memory has a size of 128 KB or more.

また、メモリカードは、一般に不揮発性半導体メモリとメモリ制御部とがパッケージ化された構成からなる。不揮発性半導体メモリの寿命(105 回程度は、メモリベンダの推奨パリティビット長や予備イレースブロック数を守らないと達成できないが、これらのパラメータはメモリベンダ間や同一ベンダ内でも部品の世代間で異なる。   A memory card generally has a configuration in which a nonvolatile semiconductor memory and a memory control unit are packaged. The lifetime of non-volatile semiconductor memory (about 105 times can not be achieved without adhering to the recommended parity bit length of the memory vendor and the number of spare erase blocks, but these parameters vary between memory vendors and within the same vendor and between parts generations. .

さらに、不揮発性半導体メモリのモデルサイクルは1年だがCPU(Central Processing Unit)/チップセットは2年程度であるため、最終製品のモデルサイクルを通して最新のビット単価が安い不揮発性半導体メモリを使い続けるにはメモリカードを用いるのが簡単かつ効果的である。   Furthermore, since the model cycle of the nonvolatile semiconductor memory is one year but the CPU (Central Processing Unit) / chipset is about two years, the nonvolatile semiconductor memory with the latest bit unit price is low throughout the model cycle of the final product. Is simple and effective to use a memory card.

一般に、メモリ制御部を介して、ROM(Read Only Memory)やUSB(Universal Serial Bus)マスストレージといった汎用的なストレージのI/Oインタフェースをエミュレートし、既存のCPU、およびチップセットとの接続性を高めている。   In general, I / O interfaces of general-purpose storage such as ROM (Read Only Memory) and USB (Universal Serial Bus) mass storage are emulated via a memory control unit, and connectivity with existing CPUs and chipsets Is increasing.

さらに、予備イレースブロックとは不良イレースブロックの再割り当ての際に用いられるイレースブロックを指す。一般に、予備イレースブロックは不良イレースブロック再割り当てにのみ用いられるように設計する必要があり、更新時の代替イレースブロックに用いてはならない。   Further, the spare erase block refers to an erase block used when reassigning a defective erase block. In general, it is necessary to design the spare erase block so as to be used only for reassignment of a defective erase block, and it should not be used as a replacement erase block at the time of update.

イレースブロックの物理的な状態としては、データが書き込まれているか否かの2通りだが、論理的には、図12に示すように、消去済み→使用中→使用済み(→消去済み)という3つの状態で管理される。   There are two physical states of the erase block, ie, whether data is written or not. Logically, as shown in FIG. 12, there are 3 erased → in use → used (→ erased). Managed in one state.

ここで、図12に示す消去済みイレースブロック(状態3001)とは、データが全て’1’に初期化されたイレースブロックを指す。メモリカードにおいては、消去済みイレースブロックは一般にリスト構造で管理され、新規セグメント確保や既存データ更新の際に用いられる。   Here, the erased erase block (state 3001) shown in FIG. 12 indicates an erase block in which all data is initialized to '1'. In a memory card, erased erase blocks are generally managed in a list structure, and are used for securing a new segment or updating existing data.

ただし、メタデータ部分には書き換え回数など、’1’以外のデータが書かれている場合がある。さらに、使用中イレースブロックの割り当たっていない論理アドレス内のデータは’0’という前提の元で、全ての内包するセグメントのデータがたまたま’0’になった使用中イレースブロックは消去の対象とできる。   However, data other than “1”, such as the number of rewrites, may be written in the metadata portion. Furthermore, the data in the logical address to which the used erase block is not assigned is assumed to be “0”, and the used erase block in which all the data of the included segment happens to be “0” is to be erased. it can.

また、図12の使用中イレースブロック(状態3002)とはデータが書き込まれ、論理アドレスに割り当てられたイレースブロックを指す。メモリカード上のデータを外部から上書き更新する場合には、実際には別の消去済みイレースブロックにデータを書き込み、使用中イレースブロックを使用済みイレースブロック列に加えるという操作が行われる。   The in-use erase block (state 3002) in FIG. 12 indicates an erase block in which data is written and assigned to a logical address. When data on the memory card is overwritten and updated from the outside, an operation is actually performed in which data is written to another erased erase block and an in-use erase block is added to a used erase block sequence.

使用済みイレースブロック(状態3003)とは、使用中イレースブロックへの上書き更新操作によって生じたデータが書かれているがどの論理アドレスにも割り当てられていないイレースブロックのことを指す。   The used erase block (state 3003) refers to an erase block in which data generated by an overwrite update operation on the used erase block is written but not assigned to any logical address.

メモリ制御部によってアイドル時間に消去され、消去済みイレースブロックのリストに加えられる。また、例外的に全ての内包するセグメントのデータが’0’であったイレースブロックは論理アドレスに割り当たっていた場合でも使用済みイレースブロックとして扱うことが可能(3004)であり、消去の対象として扱うことも可能である。   It is erased at idle time by the memory controller and added to the list of erased erase blocks. In addition, an erase block in which all of the included segment data is exceptionally “0” can be treated as a used erase block even if it is assigned to a logical address (3004). It can also be handled.

ただし、メモリカードにおいては、パッケージ内にカプセル化され、外部向けの汎用ストレージI/Oインタフェースから状態変化を制御することはできないことがある。また、メモリカード製品によっては、汎用I/Oインタフェースを拡張し、イレースブロックが消去可能であることを伝える消去命令を特別に持つ場合がある。   However, in a memory card, it may be encapsulated in a package and state change may not be controlled from an external general-purpose storage I / O interface. Depending on the memory card product, the general-purpose I / O interface may be extended to have a special erasure command that indicates that the erase block can be erased.

このように、メモリカードを用いると、不揮発性半導体メモリに固有の雑多な管理を隠蔽し、一般的な汎用ストレージインタフェースを用いたストレージ操作が可能になる。   As described above, when the memory card is used, the miscellaneous management inherent to the nonvolatile semiconductor memory is concealed, and a storage operation using a general general-purpose storage interface becomes possible.

ところが、上記のような不揮発性半導体メモリを用いたストレージデバイスのデータ管理技術では、次のような問題点があることが本発明者により見い出された。   However, the present inventors have found that the storage device data management technology using the nonvolatile semiconductor memory as described above has the following problems.

すなわち、メモリセルの書き換え可能回数などは完全に隠蔽することはできないため、メモリカードなどの記憶媒体を用いる場合でもハードディスク向けに開発されてきたファイルシステム技術やデータベース技術をそのまま適用すると問題が生じる場合がある。   In other words, the number of rewritable times of memory cells cannot be completely concealed, and even when using a storage medium such as a memory card, there is a problem if the file system technology and database technology developed for hard disks are applied as they are There is.

メモリカード内部で消去済みイレースブロックが少なくなった時に、領域縮退に伴うデータ消失の危険性が高まったり、書き込み速度が大幅に低下したりといった問題が生じてしまう。   When the number of erased erase blocks in the memory card is reduced, there is a problem that the risk of data loss due to the area degeneration increases or the writing speed is greatly reduced.

ここで、領域縮退とはメモリカードを用いる環境において、予備イレースブロックがなくなった状態で不良イレースブロックが生じた際に、ストレージ領域の物理長が小さくなって見える現象をさす。   Here, area degeneration refers to a phenomenon in which the physical length of a storage area appears to be small when a defective erase block occurs in a state where a memory card is used and there are no spare erase blocks.

また、ここで書き込み速度の低下とは、メモリカードを用いる環境において、消去済みイレースブロックがなくなった状態でデータの更新や挿入を行う場合に生じる。この場合は、まず使用済みイレースブロックを消去して消去済みイレースブロックを作成し、その消去済みイレースブロックにデータの更新や挿入を行う必要があるため、速度が低下してしまうことになる。   Here, the decrease in the writing speed occurs when data is updated or inserted in an environment where a memory card is used, with no erased erase blocks. In this case, it is necessary to first erase the used erase block to create an erased erase block, and to update or insert data into the erased erase block, so that the speed is reduced.

本発明の目的は、メモリカードなどのストレージデバイスにおいて、消去済みイレースブロックが少なくなっても、領域縮退に伴うデータ消失や書き込み速度の大幅な低下などを防止することのできる技術を提供することにある。   An object of the present invention is to provide a technology capable of preventing data loss or a significant decrease in writing speed due to area degeneration even in a storage device such as a memory card even if the number of erased erase blocks decreases. is there.

本発明の前記ならびにそのほかの目的と新規な特徴については、本明細書の記述および添付図面から明らかになるであろう。   The above and other objects and novel features of the present invention will be apparent from the description of this specification and the accompanying drawings.

本願において開示される発明のうち、代表的なものの概要を簡単に説明すれば、次のとおりである。   Of the inventions disclosed in the present application, the outline of typical ones will be briefly described as follows.

たとえば、アプリケーションが利用するデータを格納可能な複数の記憶領域で構成される記憶領域群を含むストレージ装置を管理するための記憶領域管理方法である。すなわち、ある記憶領域に格納されるデータをアプリケーションが利用しなくなった場合、記憶領域群の他の領域のうち、アプリケーションで利用されているデータが格納されている末尾の記憶領域からデータを当該ある記憶領域に移動し、移動元の記憶領域からデータを消去する。その移動元の記憶領域を消去済み記憶領域に設定する。そして、アプリケーションに記憶領域の割り当てを行う場合は、消去済み記憶領域数が、所定の記憶領域数より大きいか否か判断し、判断結果、大きい場合、消去済み記憶領域の末尾から所定の記憶領域数より前の消去済み記憶領域から記憶領域をアプリケーションに割り当て、小さい場合は、前記アプリケーションに対して割り当て不可通知を行う。   For example, there is a storage area management method for managing a storage apparatus including a storage area group composed of a plurality of storage areas capable of storing data used by an application. That is, when an application no longer uses data stored in a certain storage area, the data from the end storage area where the data used by the application is stored is stored in the other storage area group. Move to the storage area and erase the data from the source storage area. The source storage area is set as an erased storage area. Then, when allocating a storage area to an application, it is determined whether or not the number of erased storage areas is larger than a predetermined number of storage areas. If the determination result is large, a predetermined storage area is determined from the end of the erased storage area. A storage area is allocated to an application from erased storage areas before the number.

また、本発明は、排他制御マネージャを有した論理的なデータ管理層によってストレージ装置のデータ管理を行う記憶領域管理方法であって、該排他制御マネージャからデータ管理層全体の書き込み排他制御権を取得するステップと、排他制御権を取得したデータ管理層のセグメント管理構造体を取得するステップと、取得した該セグメント管理構造体によって管理された全ての記憶領域を取得し、その中から取得可能なものをリストアップするステップと、該リストアップしたリストに基づき、取得不可能な記憶領域の有無を判断するステップと、取得不可能な記憶領域があったと判断された場合に、リストアップされたリストに基づいてセグメント管理構造体を再構成するステップとを有し、データ管理層への初回アクセス時にデータ管理層をマウントする際に、ストレージ装置中の記憶容量が変更されていた際にデータ管理層において記憶容量を変更するものである。   The present invention also relates to a storage area management method for managing data in a storage apparatus by a logical data management layer having an exclusive control manager, and obtains write exclusive control rights for the entire data management layer from the exclusive control manager. A step of acquiring, a step of acquiring a segment management structure of the data management layer from which the exclusive control right has been acquired, and acquiring all storage areas managed by the acquired segment management structure and acquiring from among them And when determining whether there is a storage area that cannot be acquired based on the listed list, and when it is determined that there is a storage area that cannot be acquired, the list is displayed. Reconfiguring the segment management structure based on the data management layer upon initial access to the data management layer. When mounting the layer, and changes the storage capacity in the data management layer when the storage capacity in the storage apparatus has been changed.

さらに、本発明は、排他制御マネージャを有した論理的なデータ管理層によってストレージ装置のデータ管理を行う記憶領域管理方法であって、該排他制御マネージャから最後尾の記憶領域全体の書き込み排他制御権を取得するステップと、排他制御権を取得した記憶領域のセグメント管理構造体を取得するステップと、取得したセグメント管理構造体によって管理された全ての記憶領域を取得し、実際に取得可能なものをリストアップするステップと、リストアップされたリストに基づいて、取得不可能な記憶領域の有無を判断するステップと、取得不可能なセグメントがあったと判断された際に、リストアップされたリストに基づいて、セグメント管理構造体を再構成するステップと、再構成したセグメント管理構造体が利用可能な記憶領域を含まない場合に、排他制御マネージャからデータ管理層全体の書き込み排他制御権を取得するステップと、排他制御権を取得したデータ管理層のセグメント管理構造体を取得するステップと、取得したセグメント管理構造体から、排他制御マネージャから最後尾の記憶領域全体の書き込み排他制御権を取得したセグメントを取り除くステップとを有し、ストレージ装置の容量が変更されたことを検出した場合にはデータ管理層において記憶容量の変更を処理するものである。   Furthermore, the present invention provides a storage area management method for managing data in a storage apparatus by a logical data management layer having an exclusive control manager, wherein the exclusive control right of the entire storage area is written from the exclusive control manager. A step of acquiring the segment management structure of the storage area for which the exclusive control right has been acquired, and acquiring all the storage areas managed by the acquired segment management structure, A step of listing, a step of determining whether there is a storage area that cannot be obtained based on the listed list, and a step based on the listed list when it is determined that there is a segment that cannot be obtained. Reconfiguring the segment management structure and storage available for the reconfigured segment management structure If the area is not included, the step of acquiring the write exclusive control right of the entire data management layer from the exclusive control manager, the step of acquiring the segment management structure of the data management layer that acquired the exclusive control right, and the acquired segment management A step of removing a segment from the structure that has acquired exclusive write control of the entire storage area from the exclusive control manager, and when detecting that the capacity of the storage device has changed, in the data management layer It handles changes in storage capacity.

また、本願のその他の発明の概要を簡単に示す。   Moreover, the outline | summary of the other invention of this application is shown briefly.

予め定義される任意の自然数nを用いて、メモリカードなどのストレージ機器における仮想ストレージ領域中の末尾nイレースブロックを消去済みとなるよう管理する。   An arbitrary natural number n defined in advance is used to manage the last n erase blocks in the virtual storage area in a storage device such as a memory card to be erased.

しかし、ストレージ機器の種類によっては外部からイレースブロックを操作するインタフェースがない場合がある。そのような場合には、m個の記憶領域がnイレースブロックと等しい容量になるように定義される自然数mを用いて、ファイルシステム領域やデータベース領域の末尾m個の記憶領域を消去済み記憶領域とし、対応するイレースブロックが消去可能であることをメモリカードに伝える。   However, depending on the type of storage device, there may be no interface for operating the erase block from the outside. In such a case, the last m storage areas of the file system area and database area are erased using the natural number m defined so that the m storage areas have the same capacity as n erase blocks. And informs the memory card that the corresponding erase block can be erased.

ここで、予め自然数pが与えられた場合はn=pとし、そうでない場合はファイルシステム処理部、もしくはデータベース管理プログラム、またはOS(Operating System)やその他のミドルウエアによって定義される自然数qを用いてn=qとする。   Here, when a natural number p is given in advance, n = p, and otherwise, a natural number q defined by a file system processing unit, a database management program, OS (Operating System) or other middleware is used. N = q.

上記本願発明の一態様により、記憶領域群において、末尾から所定の記憶領域数が消去済みであることを保証することができる。また、ストレージ機器の性能を低下させることなく、信頼性を向上させることができる   According to one aspect of the present invention, it can be ensured that a predetermined number of storage areas have been erased from the end in the storage area group. In addition, reliability can be improved without degrading storage device performance.

以下、本発明の実施の形態を図面に基づいて詳細に説明する。なお、実施の形態を説明するための全図において、同一の部材には原則として同一の符号を付し、その繰り返しの説明は省略する。   Hereinafter, embodiments of the present invention will be described in detail with reference to the drawings. Note that components having the same function are denoted by the same reference symbols throughout the drawings for describing the embodiment, and the repetitive description thereof will be omitted.

(実施の形態1)
図9は本実施例における情報処理システムを実現する装置5020の構成を示す。該装置はCPU5001、RAM (Random Access Memory) などの主記憶装置5002、および二次記憶装置としてメモリカード5003を備える計算機である。メモリカード5003とは、ストレージインターフェース5100を介して接続される。
CPU5001は主記憶装置5002上のオペレーティングシステム5004、ファイルシステム処理プログラム5005、およびAP実行部5019を実行することで、メモリカード5003上のデータ管理を行う。
AP実行部5019は、本実施例における情報処理システムの機能を実行し、その際にメモリカード5003へのアクセスが必要になった場合にファイルシステム処理プログラム5005に処理を委譲する。
ファイルシステム処理プログラム5005は、第1のファイル削除モジュール5006、新規セグメント確保モジュール5007、使用済みセグメントの消去モジュール5008、ファイルシステムメタデータ再編成モジュール5009モジュール5009、セグメントメタデータ再編成モジュール5010、使用中セグメントリスト5011、および消去済みセグメントリスト5012を有する。
第1のファイル削除モジュール5006は、図3に示すフローチャートに従ってファイルの削除処理を行う。
新規セグメント確保モジュール5007は図2に示すフローチャートに従って新規セグメント確保処理を行う。
ファイルシステムメタデータ再編成モジュール5009モジュール5009は図7に示すフローチャートに従ってをファイルシステムメタデータ再編成処理行う。
セグメントメタデータ再編成モジュール5010は図8に示すフローチャートに従ってセグメントメタデータ再編成処理を行う。
使用中セグメントリスト5011、消去済みセグメントリスト5012はそれぞれ使用中および消去済みセグメントの番号をリストで管理する。
メモリカード5003は不揮発性半導体メモリ5013とメモリ制御部5014を備える。不揮発性半導体メモリ5013とメモリ制御部5014は、接続されている。
不揮発性半導体メモリ5013の内部はn個のイレースブロック5015に分割されている。イレースブロック5014とは不揮発性半導体メモリ5013の消去可能な管理単位であり、それぞれ固有の番号で識別される。
メモリ制御部5014は使用中イレースブロックリスト5016、使用済みイレースブロックリスト5017、および消去済みイレースブロックリスト5018を管理することで、図12に示した不揮発性半導体メモリにおける状態遷移を管理する。
使用中イレースブロックリスト5016、使用済みイレースブロックリスト5017、および消去済みイレースブロックリスト5018は、それぞれイレースブロック5014の番号をリストで管理する。なお、メモリカード5003は、装置5020の外部にあっても内部にあっても構わない。
図1は、本発明の実施の形態1による情報処理システムのブロック図、図2は、図1の情報処理システムによる新規セグメント確保処理の一例を示すフローチャート、図3は、図1の情報処理システムによるファイルの削除処理の一例を示すフローチャートである。
(Embodiment 1)
FIG. 9 shows the configuration of an apparatus 5020 that implements the information processing system in this embodiment. The apparatus is a computer including a CPU 5001, a main storage device 5002 such as a RAM (Random Access Memory), and a memory card 5003 as a secondary storage device. The memory card 5003 is connected via the storage interface 5100.
The CPU 5001 manages the data on the memory card 5003 by executing the operating system 5004, the file system processing program 5005, and the AP execution unit 5019 on the main storage device 5002.
The AP execution unit 5019 executes the function of the information processing system in the present embodiment, and delegates the processing to the file system processing program 5005 when access to the memory card 5003 becomes necessary at that time.
The file system processing program 5005 includes a first file deletion module 5006, a new segment allocation module 5007, a used segment deletion module 5008, a file system metadata reorganization module 5009 module 5009, a segment metadata reorganization module 5010, and in use. It has a segment list 5011 and an erased segment list 5012.
The first file deletion module 5006 performs file deletion processing according to the flowchart shown in FIG.
The new segment securing module 5007 performs a new segment securing process according to the flowchart shown in FIG.
File system metadata reorganization module 5009 The module 5009 performs file system metadata reorganization processing according to the flowchart shown in FIG.
The segment metadata reorganization module 5010 performs segment metadata reorganization processing according to the flowchart shown in FIG.
The in-use segment list 5011 and the erased segment list 5012 manage the numbers of in-use and erased segments, respectively.
The memory card 5003 includes a nonvolatile semiconductor memory 5013 and a memory control unit 5014. The nonvolatile semiconductor memory 5013 and the memory control unit 5014 are connected.
The inside of the nonvolatile semiconductor memory 5013 is divided into n erase blocks 5015. An erase block 5014 is an erasable management unit of the nonvolatile semiconductor memory 5013, and is identified by a unique number.
The memory control unit 5014 manages state transitions in the nonvolatile semiconductor memory shown in FIG. 12 by managing the used erase block list 5016, the used erase block list 5017, and the erased erase block list 5018.
The in-use erase block list 5016, the used erase block list 5017, and the erased erase block list 5018 each manage the number of the erase block 5014 in a list. Note that the memory card 5003 may be outside or inside the device 5020.
1 is a block diagram of an information processing system according to Embodiment 1 of the present invention, FIG. 2 is a flowchart showing an example of a new segment securing process by the information processing system of FIG. 1, and FIG. 3 is an information processing system of FIG. 5 is a flowchart showing an example of a file deletion process by.

本実施の形態1において、情報処理システムは、たとえば、パーソナルコンピュータなどの計算機システムからなる。情報処理システムには、図1に示すように、メインボード4001が設けられている。   In the first embodiment, the information processing system includes a computer system such as a personal computer, for example. As shown in FIG. 1, the information processing system is provided with a main board 4001.

メインボード4001は、メモリ、およびCPUや拡張スロットなどの基本的な電子部品が搭載されるボードである。メインボード4001には、たとえば、SD(Secure Digital)カードなどに代表されるメモリカード4005が、たとえば、ATAやUSBマスストレージといった標準的な汎用ストレージインタフェース4004を介してメインボード4001に接続されている。   The main board 4001 is a board on which basic electronic components such as a memory and a CPU and an expansion slot are mounted. For example, a memory card 4005 typified by an SD (Secure Digital) card is connected to the main board 4001 via a standard general-purpose storage interface 4004 such as ATA or USB mass storage. .

ここでは、ファイルシステムやデータベース管理システムによってストレージ上の区画が管理される。一般にファイルシステムやデータベース管理システムでは、セグメントと呼ばれる単位でストレージ上の区画を管理する。セグメントはストレージ上の最小のアクセス単位であるページを複数個並べた構造である。   Here, a partition on the storage is managed by a file system or a database management system. In general, a file system or a database management system manages partitions on a storage in units called segments. A segment has a structure in which a plurality of pages, which are the smallest access units on the storage, are arranged.

また、一般にファイルシステムやデータベースでは、使用中セグメントと使用済みセグメントとがそれぞれ管理されるが、本システムでは、使用済みセグメントの代わりに消去済みセグメントを管理することを特徴とする。   In general, a file system and a database manage a used segment and a used segment, respectively, but this system is characterized by managing an erased segment instead of a used segment.

使用中セグメントは、有意なデータの保存に使用されているセグメントであり、消去済みセグメントは、有意なデータの保存に使用されておらず、さらに消去命令や消去用データの書き込みによって消去されたセグメントである。使用済みセグメントは、有意なデータの保存に使用されていないが、消去命令や消去用データが書き込まれていないため消去済みセグメントには含まれないセグメントのことである。   In-use segments are segments that are used to store significant data. Erased segments are segments that are not used to store significant data, and have been erased by writing erase commands or erasure data. It is. A used segment is a segment that is not used for storing significant data but is not included in the erased segment because no erase command or data for erasure is written.

これら使用中セグメント、使用済みセグメント、および消去済みセグメントや、その他記憶領域の管理情報を纏めてセグメント管理構造体やスーパーブロックと呼ばれる記憶領域中の特別な場所に保存する。セグメント管理構造体は記憶領域の先頭付近におかれることが多い。   These used segments, used segments, erased segments, and other storage area management information are collectively stored in a special location in a storage area called a segment management structure or super block. The segment management structure is often placed near the beginning of the storage area.

メインボード4001で動作するファイルシステム処理部は、使用中セグメントのリストである使用中セグメントリスト4002と消去済みセグメントのリストからなる消去済みセグメントリスト4003の管理を行う。   A file system processing unit that operates on the main board 4001 manages an in-use segment list 4002 that is a list of in-use segments and an erased segment list 4003 that includes an erased segment list.

ストレージ装置となるメモリカード4005は、該メモリカード4005の制御を司るメモリ制御部4006、ならびにフラッシュメモリに例示される不揮発性半導体メモリ4007を含む。メモリカード4005は、たとえば、ATA(Advanced Technology Attachment)やUSBマスストレージといった標準的なストレージI/Oインタフェースによってアクセス可能なものであれば特に制約はない。   A memory card 4005 serving as a storage device includes a memory control unit 4006 that controls the memory card 4005 and a nonvolatile semiconductor memory 4007 exemplified by a flash memory. The memory card 4005 is not particularly limited as long as it can be accessed by a standard storage I / O interface such as ATA (Advanced Technology Attachment) or USB mass storage.

また、メモリ制御部4006では、使用中イレースブロックリスト4008、使用済みイレースブロックリスト4009、および消去済みイレースブロックリスト4010をそれぞれ管理している。つまり、メモリ制御部4006は、不揮発性半導体メモリの記憶領域の使用状況を管理している。   Further, the memory control unit 4006 manages the in-use erase block list 4008, the used erase block list 4009, and the erased erase block list 4010, respectively. That is, the memory control unit 4006 manages the usage status of the storage area of the nonvolatile semiconductor memory.

ここで、イレースブロックとは不揮発性半導体メモリ4007における消去の最小単位である。また、使用済みイレースブロックは、使用中イレースブロックへの上書き更新操作によって生じたデータが書かれているがどの論理アドレスにも割り当てられていないイレースブロックである。   Here, the erase block is a minimum unit of erasure in the nonvolatile semiconductor memory 4007. The used erase block is an erase block in which data generated by an overwrite update operation on the used erase block is written but not assigned to any logical address.

さらに、消去済みイレースブロックは、データが全て’1’に初期化されたイレースブロックであり、使用中イレースブロックは、データが書き込まれ、論理アドレスに割り当てられたイレースブロックである。   Further, the erased erase block is an erase block in which data is all initialized to “1”, and the in-use erase block is an erase block in which data is written and assigned to a logical address.

メモリカード4005が提供するストレージ領域上には、主に数KB以上のサイズのファイルを管理するファイルシステム領域4011が構成される。ファイルシステム領域4011は、前述したファイルシステム処理部によってデータ管理を行う。また、メモリ制御部4006は、全てのデータが’0’である使用中イレースブロックを消去の対象とみなす機能を持つ。   On the storage area provided by the memory card 4005, a file system area 4011 for mainly managing files having a size of several KB or more is configured. The file system area 4011 performs data management by the file system processing unit described above. Further, the memory control unit 4006 has a function of regarding a currently used erase block whose data is “0” as an erasure target.

次に、本実施の形態1における情報処理システムによるセグメント管理技術について説明する。   Next, a segment management technique by the information processing system in the first embodiment will be described.

まず、AP実行部5019がファイルの作成や更新をファイルシステム処理プログラム5005に委譲した際に新規セグメントが必要になった際の新規セグメント確保処理について、図2のフローチャートを用いて説明する。   First, a new segment securing process when a new segment is required when the AP execution unit 5019 delegates file creation or update to the file system processing program 5005 will be described with reference to the flowchart of FIG.

新規セグメント確保処理が開始されると、消去済みセグメントリスト4003の長さが、予め任意に設定されたn(自然数)セグメントより長いか否かを判断し(ステップS5001)、長かった場合には消去済みセグメントリスト4003から1セグメントを確保して(ステップS5002)処理を終える。一方、ステップS5001の処理において、長くなかった場合には容量不足エラーを返し(ステップS5003)、処理が終了となる。
次にAP実行部5019がファイルの削除をファイルシステム処理プログラム5005に委譲した際のファイル削除処理について、図3のフローチャートを用いて説明する。
When the new segment securing process is started, it is determined whether or not the length of the erased segment list 4003 is longer than an arbitrarily set n (natural number) segment (step S5001). One segment is secured from the completed segment list 4003 (step S5002), and the process ends. On the other hand, if it is not long in the process of step S5001, an insufficient capacity error is returned (step S5003), and the process ends.
Next, file deletion processing when the AP execution unit 5019 delegates file deletion to the file system processing program 5005 will be described with reference to the flowchart of FIG.

ファイル削除処理が開始されると、ここで処理されるファイルを含むセグメントが、ファイル削除によって空になるか否か判断し(ステップS6001)、空にならない場合には該セグメントからファイルを削除し(ステップS6002)、処理を終了する。   When the file deletion process is started, it is determined whether or not the segment including the file to be processed becomes empty due to the file deletion (step S6001). If the segment is not empty, the file is deleted from the segment ( Step S6002), the process is terminated.

ファイルの削除方法として、たとえば、実際にファイルが使用していたセグメントに’0’を書き込む方法や、セグメントの管理情報だけを操作してファイルが使用していたセグメントにはデータが割り当たっていないと見なすものなどがある。   As a file deletion method, for example, a method of writing “0” to a segment actually used by the file, or a segment used by the file by operating only the management information of the segment is not assigned data. There are things to consider.

一方、ステップS6001の処理において、該セグメントが空になった場合には、使用中セグメントのうち最末尾のセグメントaの内容を該セグメントにコピーし(ステップS6003)、セグメントaに消去用データとして全て’0’を書き込む(ステップS6004)。   On the other hand, when the segment becomes empty in the process of step S6001, the contents of the last segment a among the used segments are copied to the segment (step S6003), and all the erase data is stored in the segment a. “0” is written (step S6004).

この操作によって、セグメントaに含まれるイレースブロックは、メモリ制御部4006の消去対象となる。続いて、セグメントaを使用中セグメントリスト4002から削除し(ステップS6005)、セグメントaを消去済みセグメントリスト4003に追加し(ステップS6006)、処理を終える。   By this operation, the erase block included in the segment a becomes an erasure target of the memory control unit 4006. Subsequently, the segment a is deleted from the in-use segment list 4002 (step S6005), the segment a is added to the erased segment list 4003 (step S6006), and the process ends.

ここで、使用しているメモリカード4006がブロック消去命令を有する場合は、ステップS6004の処理においてセグメントaに該当する箇所に消去命令を発行する。   If the memory card 4006 being used has a block erase command, the erase command is issued to the location corresponding to segment a in the process of step S6004.

なお、本実施の形態を実施する場合、セグメントのサイズをイレースブロックのサイズと等しいかより大きく取ると、空になったセグメントに全て’0’を書き込む操作(ステップS6004)によって、確実に該セグメントに含まれるイレースブロックを消去の対象とすることができる。   When the present embodiment is implemented, if the size of the segment is set to be equal to or larger than the size of the erase block, the operation of writing all “0” in the empty segment (step S6004) is surely performed. The erase block included in the can be erased.

それにより、本実施の形態1によれば、不揮発性半導体メモリ4007への書き込み時の不良イレースブロック発生に伴う領域縮退が生じても、nイレースブロック以内の不良であればデータロストを防ぐ効果が得られる。   As a result, according to the first embodiment, even if the area degeneration accompanying the generation of a defective erase block at the time of writing to the nonvolatile semiconductor memory 4007 occurs, there is an effect of preventing data loss if the defect is within n erase blocks. can get.

また、書き込み時におおいて、消去済みイレースブロックが準備されているので、書き込み性能の低下を防止することができる。   In addition, since erased erase blocks are prepared at the time of writing, it is possible to prevent a decrease in writing performance.

なお、ここでは、セグメント単位の管理について触れたが、小規模ストレージなどでページの数が少ない場合にはページを管理単位とする場合がある。   Although the management in units of segments has been described here, the page may be used as the management unit when the number of pages is small in a small storage or the like.

この場合には記憶領域中の特別な場所にはページ管理構造体が置かれ、使用中ページ、使用済みページおよび消去済みページが管理される。   In this case, a page management structure is placed at a special location in the storage area, and used pages, used pages, and erased pages are managed.

さらに、将来的に複数のセグメントを纏めた上位の管理単位や、更に上位の管理単位を導入することも考えられるが、本発明はこれらすべての管理単位に対しても適用可能である。   Furthermore, it is conceivable to introduce a higher management unit in which a plurality of segments are combined in the future, or a higher management unit, but the present invention is also applicable to all these management units.

(実施の形態2)
図10は本実施例における情報処理システムを実現する装置の構成のうち、図9との差分を示す。該装置はCPU5001、RAMなどの主記憶装置5002、および二次記憶装置としてメモリカード5003を備える。
本実施例におけるファイルシステム処理プログラム5005は使用済みセグメントリスト6013を有する。使用済みセグメントリスト6013は使用済みセグメントの番号をリストで管理する。
また第2のファイル削除モジュール6006は図5に示すフローチャートに従ってファイル削除処理を行う
さらに使用済みセグメントの消去モジュール6008は図6に示すフローチャートに従って使用済みセグメントの消去処理を行う。
図4は、本発明の実施の形態2による情報処理システムの構成例を示すブロック図、図5は、図4の情報処理システムによるファイル削除処理例を示すフローチャート、図6は、図4の情報処理システムによる使用済みセグメントの消去処理例を示すフローチャートである。
(Embodiment 2)
FIG. 10 shows the difference from FIG. 9 in the configuration of the apparatus for realizing the information processing system in the present embodiment. The apparatus includes a CPU 5001, a main storage device 5002 such as a RAM, and a memory card 5003 as a secondary storage device.
The file system processing program 5005 in this embodiment has a used segment list 6013. The used segment list 6013 manages the numbers of used segments in a list.
The second file deletion module 6006 performs file deletion processing according to the flowchart shown in FIG. 5. Further, the used segment deletion module 6008 performs used segment deletion processing according to the flowchart shown in FIG.
4 is a block diagram showing a configuration example of an information processing system according to the second embodiment of the present invention, FIG. 5 is a flowchart showing an example of file deletion processing by the information processing system of FIG. 4, and FIG. 6 is the information of FIG. It is a flowchart which shows the example of a deletion process of the used segment by a processing system.

本実施の形態2において、情報処理システムは、図4に示すように、前記実施の形態1と同様の構成からなり、異なる点は、メインボード4001上で動作するファイルシステム処理部によって、使用中セグメントリスト4012、使用済みセグメントリスト4013、および消去済みセグメントリスト4014が管理されるところである。   In the second embodiment, as shown in FIG. 4, the information processing system has the same configuration as that of the first embodiment except that a file system processing unit operating on the main board 4001 is in use. A segment list 4012, a used segment list 4013, and an erased segment list 4014 are managed.

この場合、情報処理システムは、メモリカード4005のストレージ上にページとセグメントとからなる管理構造を有している。   In this case, the information processing system has a management structure including pages and segments on the storage of the memory card 4005.

ここで、使用中セグメントは、有意なデータの保存に使用されているものであり、消去済みセグメントは、有意なデータの保存に使用されておらず、さらに消去命令や消去用データの書き込みによって消去されたものである。また、使用済みページは、有意なデータの保存に使用されておらず、消去済みページには含まれないセグメントである。   Here, the in-use segment is used for storing significant data, and the erased segment is not used for storing significant data, and is erased by writing an erasing command or erasing data. It has been done. A used page is a segment that is not used for storing significant data and is not included in an erased page.

メモリカード4005のストレージ領域上には、前記実施の形態1と同様に、ファイルシステム領域4011が構成される。また、メモリ制御部4008は、全てのデータが’0’である使用中イレースブロックは消去の対象とみなす機能を有している。   A file system area 4011 is configured on the storage area of the memory card 4005 as in the first embodiment. Further, the memory control unit 4008 has a function of considering an in-use erase block whose data is “0” as an erasure target.

本実施の形態2においても、ファイルの作成や更新の際に新規セグメントが必要になった際には、前記実施の形態1の図2に示した処理を実行する。   Also in the second embodiment, when a new segment becomes necessary when creating or updating a file, the processing shown in FIG. 2 of the first embodiment is executed.

一方、ファイルを削除する場合の処理は、前記実施の形態1と異なり、図5、および図6に示すフローチャートに従って処理を進める。   On the other hand, the process for deleting a file is different from the first embodiment, and the process proceeds according to the flowcharts shown in FIGS.

まず、図5において、ファイル削除処理が開始されると、ここで処理されるファイルを含むセグメントが、ファイル削除によって空になるか否か判断し(ステップS8001)、空にならない場合には該セグメントからファイルを削除(ステップS8002)して処理を終える。   First, in FIG. 5, when the file deletion process is started, it is determined whether or not the segment including the file to be processed becomes empty due to the file deletion (step S8001). The file is deleted (step S8002), and the process ends.

また、ステップS8001の処理において、セグメントが空になった場合には、該セグメントを使用中セグメントリスト4012から削除し(ステップS8003)、該セグメントを消去済みセグメントリスト4014に追加(ステップS8004)して処理が終了となる。   If the segment becomes empty in the process of step S8001, the segment is deleted from the in-use segment list 4012 (step S8003), and the segment is added to the erased segment list 4014 (step S8004). The process ends.

続いて、図5の処理により使用済みセグメントリスト4013に追加されたセグメントを、図6に示すフローチャートによって適宜消去し、消去済みセグメントリスト4014に移す。   Subsequently, the segment added to the used segment list 4013 by the processing of FIG. 5 is appropriately deleted according to the flowchart shown in FIG.

図6において、使用済みセグメントの消去処理が開始されると、使用済みセグメントリスト4013からセグメントを1つ取り出し(ステップS9001)、使用中セグメントのうち最末尾のセグメントaの内容を該セグメントにコピーし(ステップS9002)、セグメントaに全て0を書き込み(ステップS9003)、セグメントaを消去済みセグメントリスト4014に追加し(ステップS9004)、処理を終える。   In FIG. 6, when the used segment erasing process is started, one segment is extracted from the used segment list 4013 (step S9001), and the content of the last segment a among the used segments is copied to the segment. (Step S9002), all 0s are written in the segment a (step S9003), the segment a is added to the erased segment list 4014 (step S9004), and the process is terminated.

なお、図6に示す使用済みセグメント消去処理の開始タイミングとしては、たとえば、一定時間処理がなかった場合や、使用済みセグメントリスト4014が一定の長さを超えた場合、新規セグメント確保処理で容量不足エラー(図2、ステップS5003の処理)が出た場合などがある。   As the start timing of the used segment erasure process shown in FIG. 6, for example, when there is no processing for a certain period of time, or when the used segment list 4014 exceeds a certain length, the new segment securing process has insufficient capacity. There is a case where an error (the process of FIG. 2, step S5003) occurs.

それにより、本実施の形態2においても、不揮発性半導体メモリ4007への書き込み時の不良イレースブロック発生に伴う領域縮退が生じても、nイレースブロック以内の不良であればデータロストを防ぐ効果が得られる。   As a result, even in the second embodiment, even if the area degeneration accompanying the generation of a defective erase block at the time of writing to the nonvolatile semiconductor memory 4007 occurs, the effect of preventing data loss is obtained if the defect is within n erase blocks. It is done.

また、書き込み時において、消去済みイレースブロックが準備されているので、書き込み性能の低下を防止することができる。   Further, since erased erase blocks are prepared at the time of writing, it is possible to prevent a decrease in writing performance.

さらに、使用済みセグメントと消去済みセグメントとを厳密に分けて管理することで全般的な処理応答時間を改善することができる。   Furthermore, the overall processing response time can be improved by strictly managing the used segment and the erased segment.

また、セグメントに相当する管理単位を持たないシステムにおいて使用済みページと消去済みページを分けて管理しても同様の効果を得ることができる。   Further, even if a used page and an erased page are managed separately in a system that does not have a management unit corresponding to a segment, the same effect can be obtained.

(実施の形態3)
図7は、本発明の実施の形態3による情報処理システムによるファイルシステム領域のメタデータ再構成処理例を示すフローチャート、図8は、本発明の実施の形態3による情報処理システムによるセグメントのメタデータ再構成処理例を示すフローチャートである。
(Embodiment 3)
FIG. 7 is a flowchart showing an example of metadata reconstruction processing of the file system area by the information processing system according to the third embodiment of the present invention, and FIG. 8 is segment metadata by the information processing system according to the third embodiment of the present invention. It is a flowchart which shows the example of a reconstruction process.

本実施の形態3では、前記実施の形態1,2と同様の構成情報処理システムにおいて、不揮発性半導体メモリ4007のイレースブロック故障に伴い、ストレージ領域の縮退が発生した場合の対処技術例を示す。   In the third embodiment, in the configuration information processing system similar to the first and second embodiments, an example of a countermeasure technique when the storage area is degenerated due to the erase block failure of the nonvolatile semiconductor memory 4007 will be described.

ファイルシステムのマウント時や書き込み時などにストレージ領域長の縮退が検出されることがある。その場合、図7に示すファイルシステム領域のメタデータ再構成処理を実施し、その後、図8に示すセグメントのメタデータ再構成処理を実施することで縮退に対処する。   Deterioration of the storage area length may be detected when a file system is mounted or written. In this case, the metadata reconstruction process for the file system area shown in FIG. 7 is performed, and then the segment metadata reconstruction process shown in FIG. 8 is performed to cope with the degeneration.

まず、ファイルシステム領域のメタデータ再構成処理が開始されると、ファイルシステム処理部における排他制御マネージャ(図示せず)がファイルシステム領域全体の書き込み排他権を取得し(ステップS10001)、現在のメタデータを取得する(ステップS10002)。   First, when the metadata reconfiguration process of the file system area is started, an exclusive control manager (not shown) in the file system processing unit acquires the write exclusive right of the entire file system area (step S10001), and the current meta Data is acquired (step S10002).

続いて、メタデータからリンクされた各セグメントを取得し、取得可能なもののリストAを作成し(ステップS10003)、取得不可のセグメントが存在したか否か判断する(ステップS10004)。   Subsequently, each segment linked from the metadata is acquired, a list A of those that can be acquired is created (step S10003), and it is determined whether there is a segment that cannot be acquired (step S10004).

このステップS10003の処理において、全てのセグメントが取得可能であった場合には、現在のファイルシステム領域の状態とファイルシステム領域のメタデータは整合性が取れていると判断できるため、ファイルシステム領域全体の書き込み排他権を開放し(ステップS10005)、処理を終える。   If all segments can be acquired in the process of step S10003, it can be determined that the current state of the file system area and the metadata of the file system area are consistent. Is released (step S10005), and the process ends.

一方、ステップS10003の処理において、取得不可のセグメントがあった場合には、リストAからメタデータを再構成する(ステップS10006)。   On the other hand, if there is a segment that cannot be acquired in the process of step S10003, the metadata is reconstructed from the list A (step S10006).

続いて、図8に示すセグメントのメタデータ再構成処理では、領域縮退の影響を受けるセグメントは最後尾に限られるため、まず最後尾セグメント全体の書き込み排他権を取得し(ステップS11001)、現在のメタデータを取得する(ステップS11002)。   Subsequently, in the segment metadata reconstruction process shown in FIG. 8, since the segment affected by the region degeneration is limited to the tail, first, the write exclusive right of the entire tail segment is acquired (step S11001). Metadata is acquired (step S11002).

その後、メタデータからリンクされた各ページを取得し取得可能なもののリストBを作成し(ステップS11003)、取得不可のページが存在したか否かを判断する(ステップS11004)。   After that, each page linked from the metadata is acquired and a list B of those that can be acquired is created (step S11003), and it is determined whether there is a page that cannot be acquired (step S11004).

全てのページが取得可能であった場合には、セグメントの現状とセグメントのメタデータは整合性が取れていると判断できるため、最後尾セグメント全体の書き込み排他権を開放し(ステップS11005)して処理を終える。   If all pages can be acquired, it can be determined that the current state of the segment and the metadata of the segment are consistent, so the write exclusive right for the entire last segment is released (step S11005). Finish the process.

一方、ステップS11004の処理において、取得不可のページがあった場合には、リストBからメタデータを再構成し(ステップS11006)し、最後尾セグメントのページが全滅しているか否かを判断する(ステップS11007)。   On the other hand, if there is a page that cannot be acquired in the process of step S11004, the metadata is reconstructed from the list B (step S11006), and it is determined whether or not the page of the last segment is completely destroyed (step S11006). Step S11007).

全滅していなかった場合には、メタデータを上書きする(ステップS11008)。また、ステップS11007の処理で全滅していた場合には、最後尾セグメント全体の書き込み排他権を開放し(ステップS11009)、ファイルシステム領域全体の書き込み排他権を取得する(ステップS11010)。   If not completely destroyed, the metadata is overwritten (step S11008). If the processing in step S11007 has been completely destroyed, the write exclusive right for the entire last segment is released (step S11009), and the write exclusive right for the entire file system area is acquired (step S11010).

そして、ファイルシステム領域のメタデータから最後尾セグメントを削除し(ステップS11011)、ファイルシステム領域全体の書き込み排他権を開放し(ステップS11012)、新たな最後尾セグメントに不良がないか確認するためにステップS11001の処理に戻る。   Then, the tail segment is deleted from the metadata of the file system area (step S11011), the write exclusive right of the entire file system area is released (step S11012), and the new tail segment is checked for defects. The processing returns to step S11001.

なお、ここでは粒度の小さい順にページ、セグメント、ファイルシステム全体と階層化されたファイルシステムを例に挙げるが、より階層の深いファイルシステム、およびデータベース管理システムに対しても同様の手順を適宜繰り返し適用することで対処可能である。   In this example, the file system is hierarchized with pages, segments, and the entire file system in ascending order of granularity. However, the same procedure is repeatedly applied to deeper file systems and database management systems as appropriate. This can be dealt with.

それにより、本実施の形態3によっても、不揮発性半導体メモリ4007への書き込み時の不良イレースブロック発生に伴う領域縮退が生じても、nイレースブロック以内の不良であればデータロストを防ぐ効果が得られる。   As a result, even according to the third embodiment, even if the area degeneration accompanying the generation of a defective erase block at the time of writing to the nonvolatile semiconductor memory 4007 occurs, the effect of preventing data loss can be obtained if the defect is within n erase blocks. It is done.

また、書き込み時におおいて、消去済みイレースブロックが準備されているので、書き込み性能の低下を防止することができる。   In addition, since erased erase blocks are prepared at the time of writing, it is possible to prevent a decrease in writing performance.

以上説明した実施例のうち、代表的なものによって得られる効果を簡単に説明すれば以下のとおりである。
(1)書き込み時の不良イレースブロック発生に伴う領域縮退が生じても、ストレージ機器におけるデータロストを防止することができる。
(2)また、ストレージ機器における書き込み性能の低下を防止することができる。
(3) データ格納領域における末尾から所定の記憶領域数が常に消去済みであることを保証する。
The effects obtained by the representative ones of the embodiments described above will be briefly described as follows.
(1) Data loss in the storage device can be prevented even if area degeneration occurs due to the occurrence of a defective erase block during writing.
(2) Further, it is possible to prevent a decrease in write performance in the storage device.
(3) It is ensured that a predetermined number of storage areas are always erased from the end in the data storage area.

本発明者によってなされた発明を実施の形態に基づき具体的に説明したが、本発明は前記実施の形態に限定されるものではなく、その要旨を逸脱しない範囲で種々変更可能であることはいうまでもない。   Although the invention made by the present inventor has been specifically described based on the embodiments, the present invention is not limited to the above-described embodiments, and various modifications can be made without departing from the scope of the invention. Not too long.

本明細書で開示される実施例は、メモリカードなどのストレージデバイスにおけるデータ管理層によるデータ格納領域の管理技術に適している。     The embodiment disclosed in this specification is suitable for a data storage area management technique by a data management layer in a storage device such as a memory card.

本発明の実施の形態1による情報処理システムのブロック図である。It is a block diagram of the information processing system by Embodiment 1 of this invention. 図1の情報処理システムによる新規ページ確保処理の一例を示すフローチャートである。3 is a flowchart illustrating an example of a new page securing process by the information processing system of FIG. 1. 図1の情報処理システムによるファイルの削除処理の一例を示すフローチャートである。3 is a flowchart illustrating an example of file deletion processing by the information processing system of FIG. 1. 本発明の実施の形態2による情報処理システムの構成例を示すブロック図である。It is a block diagram which shows the structural example of the information processing system by Embodiment 2 of this invention. 図4の情報処理システムによるファイル削除処理例を示すフローチャートである。5 is a flowchart illustrating an example of file deletion processing by the information processing system of FIG. 4. 図4の情報処理システムによる使用済みセグメントの消去処理例を示すフローチャートである。6 is a flowchart illustrating an example of a used segment erasing process by the information processing system of FIG. 4. 本発明の実施の形態3による情報処理システムによるファイルシステム領域のメタデータ再構成処理例を示すフローチャートである。It is a flowchart which shows the metadata reconstruction process example of the file system area | region by the information processing system by Embodiment 3 of this invention. 本発明の実施の形態3による情報処理システムによるセグメントのメタデータ再構成処理例を示すフローチャートである。It is a flowchart which shows the metadata reconstruction process example of the segment by the information processing system by Embodiment 3 of this invention. 実施の形態1の情報処理システムの構成図でさる。The configuration diagram of the information processing system according to the first embodiment. 実施の形態2の情報処理システムの構成図である。FIG. 3 is a configuration diagram of an information processing system according to a second embodiment. 本発明者が検討した記憶素子の不良発生を考慮したオンライン記憶領域管理方式の構成概要を示した説明図である。It is explanatory drawing which showed the structure outline | summary of the online storage area management system which considered the generation | occurrence | production of the defect of the memory element which this inventor considered. 本発明者が検討した不揮発性半導体メモリにおける状態遷移の説明図である。It is explanatory drawing of the state transition in the non-volatile semiconductor memory which this inventor examined.

符号の説明Explanation of symbols

4001 メインボード
4002 使用中ページリスト
4003 消去済みページリスト
4004 汎用ストレージインタフェース
4005 メモリカード
4006 メモリ制御部
4007 不揮発性半導体メモリ
4008 使用中イレースブロックリスト
4009 使用済みイレースブロックリスト
4010 消去済みイレースブロックリスト
4011 ファイルシステム領域
4012 使用中セグメントリスト
4013 使用済みセグメントリスト
4014 消去済みセグメントリスト
2001 ウェアレベリング
2002 不良イレースブロックの再割り当て
4001 Main board 4002 Used page list 4003 Deleted page list 4004 General-purpose storage interface 4005 Memory card 4006 Memory controller 4007 Non-volatile semiconductor memory 4008 Used erase block list 4009 Used erase block list 4010 Deleted erase block list 4011 File system Area 4012 Used segment list 4013 Used segment list 4014 Erased segment list 2001 Wear leveling 2002 Reassign bad erase block

Claims (13)

アプリケーションが利用するデータを格納可能な複数の記憶領域で構成される記憶領域群を含むストレージ装置を管理するための記憶領域管理方法であって、
第1の記憶領域に格納されるデータが前記アプリケーションで利用されなくなる場合、前記記憶領域群の他の領域のうち、前記アプリケーションで利用されているデータが格納される末尾の記憶領域を特定し、
前記特定された記憶領域に格納されているデータを前記第1の記憶領域に移動し、前記特定された記憶領域からデータを消去し、
前記特定された記憶領域を消去済み記憶領域に設定し、
前記設定された消去済み記憶領域を含む消去済み記憶領域数が、所定の記憶領域数より大きいか否か判断し、判断結果、大きい場合、消去済み記憶領域の末尾から所定の記憶領域数より前の消去済み記憶領域から記憶領域をアプリケーションに割り当て、
小さい場合は、前記アプリケーションに対して割り当て不可通知を行うこと
を特徴とする記憶領域管理方法。
A storage area management method for managing a storage device including a storage area group composed of a plurality of storage areas capable of storing data used by an application,
When the data stored in the first storage area is no longer used by the application, among the other areas of the storage area group, specify the last storage area in which the data used by the application is stored,
Move the data stored in the specified storage area to the first storage area, erase the data from the specified storage area,
Set the identified storage area as an erased storage area,
It is determined whether or not the number of erased storage areas including the set erased storage area is larger than a predetermined number of storage areas. Allocate storage from your erased storage to your application,
A storage area management method characterized by notifying that the application cannot be assigned if the size is small.
請求項1記載の記憶領域管理方法において、
前記記憶領域の管理単位は、
前記ストレージ装置における最小のアクセス単位であるページからなる第1の管理単位、複数のページを纏めたセグメントからなる第2の管理単位、または前記第1の管理層、前記第2の管理層を含む複数の管理層に階層化された第3の管理単位のいずれかであることを特徴とする記憶領域管理方法。
In the storage area management method according to claim 1,
The management unit of the storage area is
A first management unit comprising a page as a minimum access unit in the storage device; a second management unit comprising a segment in which a plurality of pages are grouped; or the first management layer and the second management layer. A storage area management method, wherein the storage area management method is one of a third management unit hierarchized into a plurality of management layers.
請求項1記載の記憶領域管理方法において、
前記使用済みの記憶領域の内容を消去する際に前記ストレージ装置に見合った消去命令を発行することを特徴とする記憶領域管理方法。
In the storage area management method according to claim 1,
A storage area management method, wherein an erase command corresponding to the storage apparatus is issued when erasing the contents of the used storage area.
請求項1記載の記憶領域管理方法において、
前記使用済みの記憶領域の内容を消去する際は、
前記使用済み記憶領域に対して、消去用データを書き込むことを特徴とする記憶領域管理方法。
The storage area management method according to claim 1, wherein:
When erasing the contents of the used storage area,
A storage area management method, wherein erasure data is written to the used storage area.
排他制御マネージャを有した論理的なデータ管理層によってストレージ装置のデータ管理を行う記憶領域管理方法であって、
前記排他制御マネージャからデータ管理層全体の書き込み排他制御権を取得するステップと、
前記排他制御権を取得したデータ管理層のページ管理構造体を取得するステップと、
取得した前記ページ管理構造体によって管理された全ての記憶領域を取得し、その中から取得可能なものをリストアップするステップと、
前記リストアップしたリストに基づき、取得不可能な記憶領域の有無を判断するステップと、
取得不可能な記憶領域があったと判断された場合に、前記リストアップされたリストに基づいて前記ページ管理構造体を再構成するステップとを有し、
前記データ管理層への初回アクセス時に前記データ管理層をマウントする際に、前記ストレージ装置中の記憶容量が変更されていた際に前記データ管理層において記憶容量を変更することを特徴とする記憶領域管理方法。
A storage area management method for managing data of a storage device by a logical data management layer having an exclusive control manager,
Obtaining write exclusive control rights for the entire data management layer from the exclusive control manager;
Acquiring a page management structure of the data management layer that acquired the exclusive control right;
Acquiring all the storage areas managed by the acquired page management structure, and listing what can be acquired from among them,
Determining the presence or absence of a storage area that cannot be acquired based on the listed list;
Reconstructing the page management structure based on the listed list when it is determined that there is an unacquirable storage area, and
When the data management layer is mounted at the first access to the data management layer, the storage capacity is changed in the data management layer when the storage capacity in the storage device is changed Management method.
請求項5記載の記憶領域管理方法において、
前記記憶領域の管理単位は、
前記ストレージ装置における最小のアクセス単位であるページからなる第1の管理単位、複数のページを纏めたセグメントからなる第2の管理単位、または前記第1の管理層、前記第2の管理層を含む複数の管理層に階層化された第3の管理単位のいずれかであることを特徴とする記憶領域管理方法。
The storage area management method according to claim 5, wherein
The management unit of the storage area is
A first management unit comprising a page as a minimum access unit in the storage device; a second management unit comprising a segment in which a plurality of pages are grouped; or the first management layer and the second management layer. A storage area management method, wherein the storage area management method is one of a third management unit hierarchized into a plurality of management layers.
排他制御マネージャを有した論理的なデータ管理層によってストレージ装置のデータ管理を行う記憶領域管理方法であって、
前記排他制御マネージャから最後尾の記憶領域全体の書き込み排他制御権を取得するステップと、
前記排他制御権を取得した記憶領域のページ管理構造体を取得するステップと、
取得した前記ページ管理構造体によって管理された全ての記憶領域を取得し、実際に取得可能なものをリストアップするステップと、
前記リストアップされたリストに基づいて、取得不可能な記憶領域の有無を判断するステップと、
取得不可能なページがあったと判断された際に、前記リストアップされたリストに基づいて、ページ管理構造体を再構成するステップと、
再構成した前記ページ管理構造体が利用可能な記憶領域を含まない場合に、前記排他制御マネージャからデータ管理層全体の書き込み排他制御権を取得するステップと、
前記排他制御権を取得したデータ管理層のセグメント管理構造体を取得するステップと、
取得した前記セグメント管理構造体から、前記排他制御マネージャから最後尾の記憶領域全体の書き込み排他制御権を取得したセグメントを取り除くステップとを有し、
前記ストレージ装置の容量が変更されたことを検出した場合には前記データ管理層において記憶容量の変更を処理することを特徴とする記憶領域管理方法。
A storage area management method for managing data of a storage device by a logical data management layer having an exclusive control manager,
Obtaining exclusive write control of the entire storage area from the exclusive control manager;
Obtaining a page management structure of the storage area from which the exclusive control right has been obtained;
Acquiring all storage areas managed by the acquired page management structure, and listing what can actually be acquired;
Determining whether there is an unacquireable storage area based on the listed list; and
Reconstructing a page management structure based on the listed list when it is determined that there is an unacquirable page; and
When the reconfigured page management structure does not include an available storage area, obtaining a write exclusive control right for the entire data management layer from the exclusive control manager; and
Obtaining a segment management structure of the data management layer that has acquired the exclusive control right;
Removing from the acquired segment management structure a segment that has acquired the write exclusive control right of the entire storage area from the exclusive control manager;
A storage area management method characterized in that, when it is detected that the capacity of the storage device has been changed, a change in storage capacity is processed in the data management layer.
請求項7記載の記憶領域管理方法において、
前記記憶領域の管理単位は、
前記ストレージ装置における最小のアクセス単位であるページからなる第1の管理単位、複数のページを纏めたセグメントからなる第2の管理単位、または前記第1の管理層、前記第2の管理層を含む複数の管理層に階層化された第3の管理単位のいずれかであることを特徴とする記憶領域管理方法。
The storage area management method according to claim 7, wherein
The management unit of the storage area is
A first management unit comprising a page as a minimum access unit in the storage device; a second management unit comprising a segment in which a plurality of pages are grouped; or the first management layer and the second management layer. A storage area management method, wherein the storage area management method is one of a third management unit hierarchized into a plurality of management layers.
情報処理装置であって、
アプリケーションが利用するデータを格納可能な複数の記憶領域で構成される記憶領域群を含む記憶媒体が接続される外部インターフェースと、
外部インターフェースに接続されるメインボードと、を備え、
前記メインボードは、前記アプリケーションが実行されるプロセッサとメモリとを有し、
前記プロセッサは、第1の記憶領域に格納されるデータが前記アプリケーションで利用されなくなる場合、前記記憶領域群の他の領域のうち、前記アプリケーションで利用されているデータが格納される末尾の記憶領域を特定し、
前記特定された記憶領域に格納されているデータを前記第1の記憶領域に移動し、前記特定された記憶領域からデータを消去し、
前記特定された記憶領域を消去済み記憶領域に設定し、
消去済み記憶領域数が、所定の記憶領域数より大きいか否か判断し、判断結果、大きい場合、消去済み記憶領域の末尾から所定の記憶領域数より前の消去済み記憶領域から記憶領域をアプリケーションに割り当て、
小さい場合は、前記アプリケーションに対して割り当て不可通知を行うこと、を特徴とする情報処理装置。
An information processing apparatus,
An external interface to which a storage medium including a storage area group composed of a plurality of storage areas capable of storing data used by an application is connected;
A main board connected to an external interface,
The main board includes a processor on which the application is executed and a memory,
When the data stored in the first storage area is no longer used by the application, the processor stores the last storage area in which data used by the application is stored among other areas of the storage area group Identify
Move the data stored in the specified storage area to the first storage area, erase the data from the specified storage area,
Set the identified storage area as an erased storage area,
Determine whether the number of erased storage areas is greater than the predetermined number of storage areas. If the determination result is large, the storage area is deleted from the end of the erased storage area. Assigned to
An information processing apparatus characterized in that if it is small, an assignment impossible notification is sent to the application.
請求項9記載の情報処理装置であって、
前記記憶領域の管理単位は、
前記記憶媒体における最小のアクセス単位であるページからなる第1の管理単位、複数のページを纏めたセグメントからなる第2の管理単位、または前記第1の管理層、前記第2の管理層を含む複数の管理層に階層化された第3の管理単位のいずれかであることを特徴とする情報処理装置。
An information processing apparatus according to claim 9,
The management unit of the storage area is
A first management unit comprising a page as a minimum access unit in the storage medium; a second management unit comprising a segment in which a plurality of pages are combined; or the first management layer and the second management layer. An information processing apparatus that is one of third management units hierarchized into a plurality of management layers.
請求項9記載の情報処理装置であって、
前記プロセッサは、前記使用済みの記憶領域の内容を消去する際に前記記憶媒体が認識可能な消去命令を前記記憶媒体に前記外部インターフェースを介して発行する、ことを特徴とする情報処理装置。
An information processing apparatus according to claim 9,
The information processing apparatus, wherein the processor issues an erasure command that can be recognized by the storage medium to the storage medium via the external interface when erasing the contents of the used storage area.
請求項9記載の情報処理装置において、
前記プロセッサは、前記使用済みの記憶領域の内容を消去する際、前記使用済み記憶領域に対して、消去用データを書き込む指示を前記外部インターフェースを介して前記記憶媒体に発行する、ことを特徴とする情報処理装置。
The information processing apparatus according to claim 9.
When erasing the contents of the used storage area, the processor issues an instruction to write erasure data to the used storage area to the storage medium via the external interface. Information processing apparatus.
請求項9記載の情報処理装置であって、
前記プロセッサは、
前記記憶媒体の記憶領域への書き込み排他制御権を取得し、
前記排他制御権を取得したデータ管理層のページ管理構造体を取得し、
取得した前記ページ管理構造体によって管理された全ての記憶領域を取得し、その中から取得可能なものをリストアップし、
前記リストアップしたリストに基づき、取得不可能な記憶領域の有無を判断し、
取得不可能な記憶領域があったと判断された場合に、前記リストアップされたリストに基づいて前記ページ管理構造体を再構成し、
前記データ管理層への初回アクセス時に前記データ管理層をマウントする際に、前記記憶媒体中の記憶容量が変更されていた際に前記データ管理層において記憶容量を変更することを特徴とする情報処理装置。
An information processing apparatus according to claim 9,
The processor is
Acquire write exclusive control right to the storage area of the storage medium,
Acquire the page management structure of the data management layer that acquired the exclusive control right,
Acquire all the storage areas managed by the acquired page management structure, list what can be acquired from among them,
Based on the listed list, determine whether there is a storage area that cannot be obtained,
When it is determined that there is a storage area that cannot be obtained, the page management structure is reconfigured based on the listed list,
When the data management layer is mounted at the first access to the data management layer, the storage capacity is changed in the data management layer when the storage capacity in the storage medium is changed apparatus.
JP2008161131A 2007-07-19 2008-06-20 Storage area management method and information processing apparatus Pending JP2009043238A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2008161131A JP2009043238A (en) 2007-07-19 2008-06-20 Storage area management method and information processing apparatus
US12/219,051 US20090024810A1 (en) 2007-07-19 2008-07-15 Memory area management method

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2007188169 2007-07-19
JP2008161131A JP2009043238A (en) 2007-07-19 2008-06-20 Storage area management method and information processing apparatus

Publications (1)

Publication Number Publication Date
JP2009043238A true JP2009043238A (en) 2009-02-26

Family

ID=40443879

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008161131A Pending JP2009043238A (en) 2007-07-19 2008-06-20 Storage area management method and information processing apparatus

Country Status (1)

Country Link
JP (1) JP2009043238A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9619154B2 (en) 2013-01-18 2017-04-11 Hitachi, Ltd. Computer system, data management method, and host computer
WO2017126096A1 (en) * 2016-01-22 2017-07-27 株式会社日立製作所 Storage device and storage device control method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9619154B2 (en) 2013-01-18 2017-04-11 Hitachi, Ltd. Computer system, data management method, and host computer
WO2017126096A1 (en) * 2016-01-22 2017-07-27 株式会社日立製作所 Storage device and storage device control method
JPWO2017126096A1 (en) * 2016-01-22 2018-08-30 株式会社日立製作所 Storage device and storage device control method

Similar Documents

Publication Publication Date Title
US10783071B2 (en) Data storage device and operating method thereof, wherein mapping table for valid data of source block that has not been copied to destination block has a higher priority than mapping information collected by reverse scanning from end of the destination block
US10908847B2 (en) Volatility management for non-volatile memory device
US9361044B2 (en) Power-safe data management system
JP3712231B2 (en) Improved flash file system
DE102018105854B4 (en) Dynamic resizing of logical memory blocks
KR102663661B1 (en) Apparatus and method for controlling data stored in memory system
US9645894B2 (en) Data storage device and flash memory control method
US7146455B2 (en) System and method for optimized access to memory devices requiring block writing
EP1909184B1 (en) Mapping information managing apparatus and method for non-volatile memory supporting different cell types
US11301331B2 (en) Storage device and operating method of storage device
CN118885114A (en) Memory device for allocating variable media types in a memory system
KR20180002259A (en) Structure and design method of flash translation layer
CN103729262A (en) Operating system hot backup method and device and file system reconstruction method
JP4301301B2 (en) Nonvolatile semiconductor memory device and management method thereof
JP2010267290A (en) Method and apparatus for resolving physical blocks associated with a common logical block
CN117369715A (en) System, method and device for using recycling unit based on reference update in storage device
US8886875B2 (en) Systems and methods for handling non-volatile memory operating at a substantially full capacity
US11782828B2 (en) Efficiently purging non-active blocks in NVM regions using virtblock arrays
US20090024810A1 (en) Memory area management method
CN117555478A (en) Flash memory-based EEPROM (electrically erasable programmable read-Only memory) simulation read-write method
CN109388520B (en) Data backup method, data recovery method and storage controller
JP2009043238A (en) Storage area management method and information processing apparatus
JP5996129B2 (en) Method, computer system, and computer program for securely erasing nonvolatile semiconductor mass memory
JP2001101071A (en) Data storage device using flash type memory and data managing method for the same memory
CN111949212B (en) File system and file management method based on self-defined open channel SSD

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110523

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121120

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130402