Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A solid-state hard disk garbage collection method, system, electronic device and storage medium

A technology of solid-state hard drives and recovery methods, applied in memory systems, electrical digital data processing, memory address/allocation/relocation, etc., can solve problems such as low efficiency and affect the overall efficiency of garbage collection, and achieve the effect of improving garbage collection efficiency

Active Publication Date: 2022-07-22
INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In order to improve random write performance, garbage collection efficiency needs to be improved. From the perspective of the efficiency of each stage of garbage collection, the read efficiency of garbage collection is lower than the write efficiency of garbage collection, which affects the overall efficiency of garbage collection.

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
  • A solid-state hard disk garbage collection method, system, electronic device and storage medium
  • A solid-state hard disk garbage collection method, system, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] 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 described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0042] see below figure 1 , figure 1 This is a flowchart of a solid-state hard disk garbage collection method provided by an embodiment of the present application.

[0043] Specific steps can include:

[0044] S101: Determine the block to be recovered of the solid state disk, and determine the valid data bitmap of the ...

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 discloses a solid-state hard disk garbage collection method. The solid-state hard disk garbage collection method includes: determining a solid-state hard disk block to be recycled, and determining a valid data bitmap of the to-be-recycled block; reading the valid data bitmap Get the local array, and set the index value as the default value; scan the local array according to the preset order, and determine whether the current data is valid data; if so, initiate a garbage collection read operation on the valid data, and according to the The index value is updated with the address of the valid data; the current read position of the local array is determined according to the updated index value, and the local array is continued to be scanned from the current read position in a preset order. The present application can improve the garbage collection efficiency of the solid state disk. The present application also discloses a solid-state hard disk garbage collection system, an electronic device and a storage medium, which have the above beneficial effects.

Description

technical field [0001] The present application relates to the technical field of data storage, and in particular, to a solid-state hard disk garbage collection method, system, electronic device, and storage medium. Background technique [0002] When the allocated space in the solid state disk is no longer used, the space is usually reclaimed based on a garbage collection (Garbage Collection, GC) mechanism. In order to improve the random write performance, it is necessary to improve the efficiency of garbage collection. From the perspective of the efficiency of each stage of garbage collection, the read efficiency of garbage collection is lower than the write efficiency of garbage collection, which affects the overall efficiency of garbage collection. [0003] Therefore, how to improve the garbage collection efficiency of the solid state disk is a technical problem that needs to be solved by those skilled in the art. SUMMARY OF THE INVENTION [0004] The purpose of this ap...

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): G06F12/02
CPCG06F12/0261
Inventor 郑善龙
Owner INSPUR SUZHOU INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products