Storage device and control method and apparatus thereof

A technology of a storage device and a control method, applied in the storage field, can solve the problems of occupying user reading and writing operation time, reducing system performance, and increasing waiting time, and achieving the effect of reducing operation waiting time and improving system performance.

Pending Publication Date: 2020-11-17
GIGADEVICE SEMICON (BEIJING) INC
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, wear leveling involves the movement of data and the erasure of physical blocks, which will take up the user's read and write operation time, resulting in longer waiting time and reduced system performance.

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
  • Storage device and control method and apparatus thereof
  • Storage device and control method and apparatus thereof

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions of the present invention will be clearly and completely described through implementation with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are the embodiment of the present invention. Some, but not all, embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0024] Such as figure 1 As shown, it is a flowchart of a control method for a storage device provided by an embodiment of the present invention. The storage device can be any chip or device integrated with a storage module, such as a solid-state hard disk integrated with flash memory particles. In other embodiments Alternatively, the storage device may ...

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 embodiment of the invention discloses a storage device and a control method and apparatus thereof. The storage device comprises a storage module, the storage module comprises a plurality of physical blocks and an event queue, and the control method comprises the following steps: if detecting that the erasure frequency of the physical blocks is greater than or equal to a first erasure threshold, adding a wear balance operation into the event queue; and in the operation blank stage, if detecting that the wear balance operation exists in the event queue, executing the wear balance operation.In the embodiment of the invention, the method of executing the wear balance operation in the background is adopted, so that the wear balance operation and the read-write-erase operation command of the storage device cannot be carried out simultaneously, the erase time of a user cannot be occupied, and after the user finishes the normal read-write-erase operation, the control device finishes all the wear balance operations through automatic detection and processing; and the user operation waiting time is reduced, and the system performance of the storage device is improved.

Description

technical field [0001] Embodiments of the present invention relate to storage technologies, and in particular, to a storage device and a control method and device thereof. Background technique [0002] Wear leveling Wear leveling is one of the FTL algorithms of the flash translation layer that most SSD products will implement. Its core idea is to balance the erasing times of all physical blocks on the device side. [0003] Wear leveling Wear leveling includes dynamic wear leveling Dynamic wear leveling. The existing dynamic wear leveling technology is completed during the user's erasing or writing operation. For example, when the user performs an erasing operation, the address of the physical block corresponding to the erasing operation is obtained according to the mapping table, and it is judged whether the number of erasing times of the physical block is greater than a given threshold. If this condition is met, Dynamic wear leveling is triggered. [0004] However, wear...

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): G06F12/02
CPCG06F12/0246G06F2212/7211
Inventor 庄开锋王硕
Owner GIGADEVICE SEMICON (BEIJING) INC
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