首页> 外国专利> Garbage collection method for a data storage apparatus by finding and cleaning a victim block

Garbage collection method for a data storage apparatus by finding and cleaning a victim block

机译:通过查找和清除受害块的数据存储设备的垃圾收集方法

摘要

A data storage apparatus executes a garbage collection method. The data storage apparatus includes a NAND flash memory including blocks each of which includes pages. In the garbage collection method, a destination block is selected from the blocks. Mapping tables and a relevance bitmap are built before writing user data into the destination block. Each bit in the relevance bitmap is related to one of the mapping tables. A victim block is selected from the blocks. At least one of the mapping tables are read according to the relevance bitmap for the victim block. It is determined whether the pages, one after another, of the victim block are in the read mapping tables. The page is set to be a valid page if a page of the victim block is in a read mapping table. Data in the valid pages is written into another block.
机译:数据存储设备执行垃圾收集方法。该数据存储设备包括NAND闪存,该NAND闪存包括块,每个块包括页。在垃圾收集方法中,从块中选择目标块。在将用户数据写入目标块之前,先构建映射表和相关性位图。相关位图中的每个位都与映射表之一相关。从块中选择受害者块。根据受害块的相关位图,读取至少一个映射表。确定受害者块的页面一个接一个地在读取映射表中。如果受害者块的页面在读取映射表中,则将该页面设置为有效页面。有效页中的数据将写入另一个块中。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号