首页> 外国专利> STL MAPPING TABLE MANAGEMENT METHOD BASED ON ONDEMAND ALGORITHM

STL MAPPING TABLE MANAGEMENT METHOD BASED ON ONDEMAND ALGORITHM

机译:基于按需算法的STL映射表管理方法

摘要

An STL mapping table management method based on an Ondemand algorithm. When a read operation is needed, a cache table LPT_stack is inquired by means of an LBA; if a corresponding mapping entry exists in the cache table, a corresponding PBA is obtained, and data is directly read after an actual physical block number is obtained by inquiring a BMT table; if no corresponding mapping item is found in a cache, all mapping entries in a sector where the mapping entry is located need to be put in the cache by looking up a mapping table in a disk. When a write operation is needed, an LBN where the LBA is located is calculated first, and a PBN is obtained by looking up a BMT table by using the LBN as an index; if no PBN exists, a data strip is directly allocated; otherwise, whether a corresponding data strip has a space for writing a data block is checked; if yes, direct writing is performed; otherwise, an erase operation is performed on the data strip to release invalid data blocks, and data is written into the corresponding strip; after the data is written, a corresponding mapping entry is modified.
机译:一种基于Ondemand算法的STL映射表管理方法。当需要读操作时,通过LBA查询高速缓存表LPT_stack。如果缓存表中存在对应的映射表项,则获取对应的PBA,并通过查询BMT表获取实际的物理块号后直接读取数据;如果在高速缓存中未找到对应的映射项,则需要通过在磁盘中查找映射表,将映射项所在的扇区中的所有映射项都放入高速缓存中。当需要进行写操作时,首先计算出LBA所在的LBN,通过以LBN为索引查找BMT表来获得PBN。如果不存在PBN,则直接分配数据条;否则,检查对应的数据条是否具有用于写入数据块的空间;如果是,则直接写;否则,对数据条执行擦除操作以释放无效的数据块,并将数据写入相应的条中。写入数据后,将修改相应的映射条目。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号