Ways to clear storage space

A technology of memory and data storage, which is applied in the computer field and can solve problems such as taking a long time

Active Publication Date: 2021-07-06
SHENZHEN TIGO SEMICON
View PDF12 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It can be seen that the garbage collection operation will take a lot of time

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
  • Ways to clear storage space
  • Ways to clear storage space
  • Ways to clear storage space

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0062] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of this application, but not all of them. Based on the embodiments in the present application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present application.

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

[0064] S110. Obtain the number of channels connected to the memory and the controller...

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 present application relates to a method for clearing storage space, the method comprising: acquiring the number of channels connected to the memory and the controller and chip information corresponding to each channel, the chip information including data storage conditions of multiple data blocks; according to The chip information determines the data block to be recycled under each channel; judges whether there is valid data in the data block to be recycled; when there is valid data in the data block to be recycled, recycles the valid data; The data blocks to be reclaimed under the channels are erased. According to the above method, a unified method is adopted to determine the data blocks to be recycled under each channel, so that the difference in the amount of valid data in the data blocks to be recycled under each channel is small, reducing the number of times garbage collection is performed under each channel, and improving This improves the efficiency of freeing available space for data blocks.

Description

technical field [0001] The present application relates to the technical field of computers, in particular to a method for clearing storage space. Background technique [0002] Flash-based SSDs consist of 3 basic operations: read, write, and erase. Both reading and writing are performed in units of pages; erasing is performed in units of blocks. If a certain page has already stored valid data, it is impossible to overwrite the page directly. Therefore, the SSD does not support in-place update when processing the write request, but adopts the method of off-site update, that is, the data of the original data page is set to For invalidation, write new data to other free pages. [0003] Because the flash-based solid-state hard disk adopts the mechanism of remote update, with the operation of the system, more and more data are stored in the solid-state hard disk, but the storage space of the solid-state hard disk is limited. If the invalid data in the solid-state hard disk is no...

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
Patent Type & Authority Patents(China)
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