Method for cleaning storage space

A memory and data storage technology, applied in the computer field, can solve the problem of spending a lot of time

Active Publication Date: 2020-04-28
SHENZHEN TIGO SEMICON
View PDF13 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that the garbage collec

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for cleaning storage space
  • Method for cleaning storage space
  • Method for cleaning storage space

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] In order to make the purpose, technical solutions and advantages of the embodiments of this application clearer, the technical solutions in the embodiments of this application will be described clearly and completely in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments These are a part of the embodiments of this application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.

[0063] figure 1 This is a schematic flow chart of a method for clearing storage space in an embodiment. In the embodiment of the present invention, refer to figure 1 , This application provides a method for clearing storage space, the method includes:

[0064] S110. Acquire the number of channels connected between the memory and the controller and chip information corresp...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method for cleaning a storage space, and the method comprises the steps: obtaining the number of channels, connected with a controller, of a memory and chip information corresponding to each channel, wherein the chip information comprises data storage conditions of a plurality of data blocks; determining a to-be-recycled data block under each channel according to the chip information; judging whether the to-be-recycled data block has valid data or not; when the valid data exists in the to-be-recycled data block, recycling the valid data; and carrying out erasing processing on the to-be-recycled data block under each channel. According to the method, the to-be-recovered data block under each channel is determined by adopting a unified method, so that the difference of effective data volume in the to-be-recovered data block under each channel is relatively small, the garbage recovery frequency under each channel is reduced, and the efficiency of releasing available space for the data block is improved.

Description

Technical field [0001] This application relates to the field of computer technology, and in particular to a method for cleaning up storage space. Background technique [0002] Flash-based solid-state drives contain three basic operations: read, write and erase. Read and write operations are performed in units of pages; erase operations are performed in units of blocks. If a page has stored valid data, the page cannot be directly overwritten. Therefore, the SSD does not support in-place update when processing the write request. Instead, it uses a remote update method, which is to set the data of the original data page. To be invalid, write new data to other free pages. [0003] Because flash-based solid state drives use a remote update mechanism, as the system runs, more and more data are stored in the solid state drive, but the storage space of the solid state drive is limited. If the invalid data in the solid state drive is not cleaned up Sooner or later, the storage space of t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F3/06
CPCG06F3/0608G06F3/0652G06F3/0679
Inventor 李创锋陈柏轩
Owner SHENZHEN TIGO SEMICON
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products