Hard disk management method and device

A management method and management device technology, applied in the field of hard disk management methods and management devices, can solve problems such as inability to perform read and write operations, and achieve the effect of reducing the probability of error reporting

Active Publication Date: 2011-05-18
HANGZHOU HIKVISION DIGITAL TECH
View PDF5 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0010] To sum up, when there are bad sectors in the data area of ​​the hard disk, no

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
  • Hard disk management method and device
  • Hard disk management method and device
  • Hard disk management method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to make the object, technical solution, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and examples.

[0052] Since there are two index files in the data area of ​​the basic partition in the hard disk, one index file is used by the user, and the other index file is used for backup. In order to express clearly, the index file used by the user is called the first index file, and the The index file used for backup is called the second index file.

[0053] The method and device of the present invention are actually a method and device for managing the data area of ​​the hard disk.

[0054] figure 2 It is a flow chart of the hard disk management method of the present invention. Combine now figure 2 , the method for hard disk management of the present invention is described:

[0055] The hard disk management method of the present invention is only expla...

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 provides a hard disk management method which is used for managing hard disk data fields and comprises the steps of: A, judging the type of a file to be read-written according to the attribute of the file to be read-written, determining the file as a first index file, executing the step B, determining the first index file as a data file and executing the step C, wherein the first index file is an index file used by a user; B, after the presence of a bad track in the sector of the first index file to be read-written is determined, selecting the alternative sector from a second index file to read and write, wherein the second index file is a vacant index file for backup; and C, after the presence of the bad track in the sector of the data file to be read-written is determined, performing read-write operation on the next section of the sector having the bad track. The invention further provides a hard disk management device. By adopting the method and the device provided by the invention, normal read-write can be performed on a hard disk under the situation that the hard disk has the bad track and is not formatted.

Description

technical field [0001] The invention relates to computer technology, in particular to a hard disk management method and management device. Background technique [0002] At present, hard disks are widely used in electronic products such as computers and video recorders as the main storage medium. The hard disk must be formatted before use; figure 1 As an example, briefly explain the structure of a hard disk using a file allocation table (File Allocation Table, FAT) file system, as follows: [0003] A hard disk formatted with the FAT file system includes: primary boot sector, first reserved sector, basic partition 1, second basic partition 2, basic partition 3 and basic partition 4. Wherein, the master boot sector stores a master boot program (MBR) and a partition table; the partition table stores entries of the above four partitions. Each basic partition includes a boot sector and a data area for storing file content; wherein, the boot sector stores an operating system boo...

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): G06F3/06
Inventor 周文省陈礼进冀建成胡扬忠邬伟琪
Owner HANGZHOU HIKVISION DIGITAL TECH
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