Method and device for prolonging service life of hard disk, computer equipment and storage medium

A computer program and hard disk technology, applied in the field of information processing, can solve the problems of hard disk unusable, hard disk elimination, hard disk early elimination, etc., so as to avoid occupation and improve the service life

Pending Publication Date: 2022-07-19
ZHEJIANG DAHUA TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, when the spare sectors are used up, if a faulty sector occurs again, it will always return read and write failure. When there are too many faulty sectors that cannot be remapped, the hard disk will be unusable
Furthermore, even if there are only a small number of faulty sectors that cannot be remapped, the hard disk will be unusable if the faulty sectors store and process key data, and thus cause the hard disk to be eliminated in advance
[0004] In the related technology, when using the spare sector of the hard disk to repair the faulty sector, the hard disk is eliminated in advance due to the unreasonable allocation of the spare sector, and no effective solution has been proposed yet.

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 and device for prolonging service life of hard disk, computer equipment and storage medium
  • Method and device for prolonging service life of hard disk, computer equipment and storage medium
  • Method and device for prolonging service life of hard disk, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0047] In order to make the objectives, technical solutions and advantages of the present application more clear, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, but not to limit the present application.

[0048] In the existing method for increasing the service life of a hard disk, the status of each sector in each mechanical hard disk can be obtained, and whether it is in a faulty sector can be determined, and if the number of faulty sectors is less than a preset value, it is a fault The sector sets the fault flag, triggers the faulty sector repair operation, and isolates the faulty sector from other sectors in the same mechanical hard disk. When a data read / write request located in the faulty sector is received, an error reminder message is issued. It can effectively reduce th...

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 and device for prolonging the service life of a hard disk, computer equipment and a storage medium. The method comprises the following steps: acquiring fault information, determining a fault sector according to the fault information, and identifying a sector number of the fault sector; judging the sector type of the fault sector according to the sector number; and if the sector type is a first type of sector, performing sector repair on the fault sector by using a standby sector. By adopting the method, the problem that the hard disk is eliminated in advance due to unreasonable distribution of the standby sectors when the standby sectors of the hard disk are used for repairing the fault sectors can be solved.

Description

technical field [0001] The present application relates to the technical field of information processing, and in particular, to a method, apparatus, computer equipment and storage medium for extending the life of a hard disk. Background technique [0002] During the use of a hard disk, faulty sectors are often affected by device aging or environmental factors. When sending a data read / write request to the hard disk, if the sector corresponding to the read / write request is a faulty sector, normal read / write operations cannot be performed, and an alarm message indicating read / write failure will be returned directly. [0003] In order to solve the problem of inability to read and write after the faulty sector is damaged, hard disk manufacturers usually pre-set a small number of spare sectors during hard disk production. It is mapped to an unused spare sector, and the spare sector replaces the faulty sector for data request processing. However, when the spare sector is used up,...

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 Applications(China)
IPC IPC(8): G06K9/62G06F11/22G06F11/07
CPCG06F11/2205G06F11/079G06F11/0793G06F18/241
Inventor 滕开恩魏齐良马东星
Owner ZHEJIANG DAHUA TECH CO LTD
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