Unlock instant, AI-driven research and patent intelligence for your innovation.

Bad block marking method, device, equipment and readable storage medium

A marking method and bad block technology, applied in static memory, memory address/allocation/relocation, instruments, etc., can solve the problems of wasted storage space, reduced storage space of solid-state hard disks, and data blocks cannot be used normally, so as to avoid storage problems. Waste of space, effect of improving accuracy

Active Publication Date: 2021-06-11
LANGCHAO ELECTRONIC INFORMATION IND CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, only by setting a threshold to judge whether the operation fails, and thereby determine whether the corresponding data block is a bad block, there may be a case of misjudgment; and after marking a data block as a bad block, the data block will be If it cannot be used normally, if there are frequent misjudgments, the storage space of the solid state drive will be reduced, resulting in a waste of storage space

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
  • Bad block marking method, device, equipment and readable storage medium
  • Bad block marking method, device, equipment and readable storage medium
  • Bad block marking method, device, equipment and readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. 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.

[0047] The embodiment of the invention discloses a bad block marking method, device, equipment and readable storage medium, so as to improve the reporting efficiency and accuracy of IP addresses.

[0048] see figure 1 , a bad block marking method provided by an embodiment of the present invention, comprising:

[0049] S101. Obtain the execution time of the target operation;

[0050] S102. Determine whether the execution time exceeds the preset first threshol...

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 discloses a bad block marking method, comprising: obtaining the execution time of the target operation; judging whether the execution time exceeds a preset first threshold; if so, judging whether the target operation is completed, and polling when the target operation is not completed The state of the target operation is detected, and when the number of detections exceeds a preset second threshold, the data block corresponding to the target operation is marked as a bad block. When the execution time of the target operation exceeds the first threshold and the target operation is not completed, the method does not mark the data block corresponding to the target operation as a bad block, but polls and detects the status of the target operation until the number of detections exceeds the second threshold , the data block corresponding to the target operation is marked as a bad block, thereby allowing sufficient execution time for the target operation, thereby improving the accuracy of bad block marking and avoiding waste of storage space. Correspondingly, a bad block marking device, device, and readable storage medium disclosed in the present invention also have the above-mentioned technical effects.

Description

technical field [0001] The present invention relates to the technical field of data storage, and more specifically, to a bad block marking method, device, equipment and a readable storage medium. Background technique [0002] SSD (Solid State Drives), also known as solid disk, is a hard disk made of solid-state electronic memory chip array, which includes multiple data blocks (blocks) for storing data, and each data block is preset with a corresponding storage space . [0003] Generally, when a write operation or a read operation fails, the data block corresponding to the operation will be marked as a bad block, and the bad block needs to be dealt with before it can be used normally. The method of marking bad blocks in the prior art is: preset a corresponding execution time threshold for an operation, and when the execution time of a write operation or a read operation exceeds the preset threshold, mark the data block corresponding to the operation as a bad block. [0004]...

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
CPCG11C29/12015
Inventor 苏军
Owner LANGCHAO ELECTRONIC INFORMATION IND CO LTD