CN1155963C - Method for recovering damaged medium storage volume using reserved volume in storage medium - Google Patents

Method for recovering damaged medium storage volume using reserved volume in storage medium Download PDF

Info

Publication number
CN1155963C
CN1155963C CNB011095377A CN01109537A CN1155963C CN 1155963 C CN1155963 C CN 1155963C CN B011095377 A CNB011095377 A CN B011095377A CN 01109537 A CN01109537 A CN 01109537A CN 1155963 C CN1155963 C CN 1155963C
Authority
CN
China
Prior art keywords
sector
identification data
volume
disk
storage volume
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CNB011095377A
Other languages
Chinese (zh)
Other versions
CN1378210A (en
Inventor
陆怡全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Winbond Electronics Corp
Original Assignee
Winbond Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Winbond Electronics Corp filed Critical Winbond Electronics Corp
Priority to CNB011095377A priority Critical patent/CN1155963C/en
Publication of CN1378210A publication Critical patent/CN1378210A/en
Application granted granted Critical
Publication of CN1155963C publication Critical patent/CN1155963C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

The present invention relates to a method for recovering a damaged medium storage volume through a reserved volume in a storage medium, which comprises the following steps: re-writing a new format in the reserved volume normally not used in the storage medium (a disk sheet) via a special formatting program; labeling a damaged section with a special mark and duplicating the identifying data of the damaged section to the reserved volume. Thus, the damaged section is replaced with the reserved volume to repair the complete volume of the storage medium for complete reuse.

Description

Utilize the method for retention volume with recovering damaged storage volume
Technical field
The invention relates to a kind of method of utilizing retention volume with recovering damaged storage volume, and particularly use special formatted program relevant for a kind of, again write new form on storage medium, and utilize the replacing damaged sector of retention volume in the storage medium, to reach the method for repairing the storage medium entire volume.
Background technology
In the society of scientific and technical information prosperity now, because computing machine can be widely used in multimedia, network, stores data, the message transmission ... on many-side, make computing machine almost become all trades and professions one of indispensable basic tool, even reach the stage that every household all has a computing machine at least soon.
In addition, use the storage medium of the message that in computing machine, can be used for storing data, for example traditional magnetic disk sheet (Disk), discs (Compact Disk; CD) etc., also be the thing of indispensability.Below mentioned storage medium, be to be example with traditional 1.44M disk sheet.
On general storage medium, the block that part is necessarily arranged is can not arrived by access under normal operating position, and we can be considered as these zones the retention volume of this storage medium.Be example just with the compact disk sheet, in fact the capacity that can use is 1.44M byte/disk (bytes/disk), according to our result measured under the DOS/Windows environment, at least it is operable also having the block capacity of 320K byte, yet has not but slatterned because of being utilized.
In addition, disk sheet is under normal operating position, if certain sector (sector) on the disk is damaged, operating system can be marked in the disc format data with this damage sector in the process of format (format), from then on do not re-use this and damage the sector, cause disk size just therefore to reduce yet.But,, the full wafer disk can't be used if the sector of damaging is to be arranged in system documentation district fixing on the disk.
Summary of the invention
In view of this, the present invention proposes a kind of method of utilizing retention volume in the storage medium to reach recovering damaged medium storage volume.Above-mentioned storage medium comprises storage volume district and retention volume district.The storage volume district has most first sectors, and each first sector puts in order according to it and separately corresponding to an identification data, and described data according to corresponding first sector put in order for numeral continuous.The retention volume district has most second sectors, and each second sector has a blank sector identification data separately.This method comprises and at first scans all first sectors, and notes the correspondence identification data of the damage sector in first sector.Then, on the identification data position of damaging the sector, write blank sector identification data.At last, will damage respectively on the identification data position, blank sector that the corresponding identification data in sector writes on second sector.
The present invention proposes another kind and utilizes retention volume in the storage medium to reach the method for recovering damaged medium storage volume.Above-mentioned storage medium comprises storage volume district and retention volume district.The storage volume district has most first sectors, and each first sector arranges along separately corresponding to an identification data according to it, and described identification data according to corresponding each first sector put in order for numeral continuous.The retention volume district has most second sectors, and these second sectors have a blank sector identification data separately.This method comprises and at first scans all first sectors, and notes the correspondence identification data of the damage sector in first sector.Then, write blank sector identification data in this identification data position of damaging the sector.At last, rearrange the order that described identification data is sent, except that described damage sector, with described identification data according to order continuous write described first sector separately in order to the position of record identification data, and unnecessary described identification data is written to respectively in described second sector, data is discerned in the blank sector that substitutes quantity some second sectors identical with unnecessary described identification data quantity with described identification data.
In sum, the present invention system utilizes the retention volume that can not use in the storage medium under general operating position, use special formatted program, again write new form, a special mark is sticked as record in the sector of damaging, and replace with retention volume, so as to reaching the purpose of repairing the storage medium entire volume.
Description of drawings
Fig. 1 is that synoptic diagram is distributed in the sector of magnetic track after format of general disk sheet;
Fig. 2 distributes synoptic diagram according to the sector of magnetic track behind the professional format program scanning of preferred embodiment of the present invention;
Fig. 3 distributes synoptic diagram according to the sector of magnetic track after the professional format program rearranges of a preferred embodiment of the present invention; And
Fig. 4 distributes synoptic diagram according to the sector of magnetic track after the professional format program rearranges of another preferred embodiment of the present invention.
Description of reference numerals:
100: magnetic track
101~122: the sector
Embodiment
For above and other objects of the present invention, feature and advantage can be become apparent, preferred embodiment cited below particularly, and cooperate appended graphicly, be described in detail below:
Under the DOS/Windows environment, 1.44M byte compact disk sheet has the two sides, every face has 80 road magnetic tracks (track), every track format turns to 18 sectors, each sector-size is 512 bytes/sector (bytes/sector), and being converted into total volume is 2 (face/disk) * 80 (magnetic track/face) * 18 (sector/magnetic track) * 0.5K (byte/sector)=1440K (byte/disk).Find through our more deep measurement, please refer to Fig. 1, what it illustrated is the sector distribution synoptic diagram of magnetic track after format of general disk sheet, when the magnetic track 100 of disk sheet behind the operating system formatting procedure, magnetic track 100 can be divided into 22 sectors 101~122, and wherein preceding 18 sectors 101~118 are the storage volume district, normally the access data information, and back 4 sectors 119~122 are the retention volume district, can't any data of access.
When Windows operating system when formatting diskette, as mentioned above, in fact each magnetic track 100 can be marked off 22 sectors 101~122, wherein each sector 101~122 has an identification data (ID) respectively, but in order to allow disc driver distinguish which sector is normal access information data area.The identification data of the sector 101~118 in the storage volume district be continuous for example in regular turn for ID1, ID2 ..., ID18, normal access data information, then can be eliminated be 0 to the identification data of the sector 119~122 in the retention volume district in addition, so can't be by access.Therefore, generally we are when checking disc content or carry out the disk access action, in fact only can see that the identification data is the sector 101~118 of ID1~ID18 and carries out access thereon, and can't see and be 0 sector 119~122 enterprising line access in the identification information data area.
Retention volume (320K byte) for effective preceding mentioned storage medium that utilizes, avoid causing disk size and then to reduce because of damaging the sector, or be to be arranged in system documentation district fixing on the disk to cause the full wafer disk to use because of damaging the sector, we can design the formatted program of a special use, again write new form, special label (Tag) is sticked in the sector of damaging, and replace, reach the purpose of repairing the storage medium entire volume with retention volume.Therefore the present invention proposes a kind of method of utilizing retention volume in the storage medium to reach recovering damaged medium storage volume, and so as to reaching above-mentioned purpose, its explanation is with as described below.
Please be simultaneously with reference to Fig. 1, Fig. 2 and Fig. 3.Fig. 2 illustrates is to distribute synoptic diagram according to the sector of magnetic track behind the professional format program scanning of preferred embodiment of the present invention, and Fig. 3 illustrates is to distribute synoptic diagram according to the sector of magnetic track after the professional format program rearranges of a preferred embodiment of the present invention.
At first, please refer to Fig. 2, use the sector 101~122 on each magnetic track 100 of a professional format program scanning.If in scan period, find to have in the sector 101~122 sector of damage to exist, for example sector 103 is then noted for damaging the sector in advance.Because the identification data of each sector 101~122 is that program is sent out by program after the disc driver control interface is given in the format instruction down together on the magnetic track 100, in normal format flow process, these identification data be continuous (sector 101 identification data ID1, sector 102 identification data ID2 ..., sector 118 identification data ID18,4 blank sector ID 19~ID22 identification data 0).
Then, according to the result of previous sector scanning, the identification data ID3 that damages sector 103 is write blank sector identification data 0, the identification data ID3 that also is about to damage sector 103 changes to 0.Simultaneously, originally the identification data ID3 that damages sector 103 is write on originally on the sector that is taken by blank sector identification data 0, for example write on the sector 119, make the identification data of sector 119 become ID3 by 0, as shown in Figure 3, this moment sector 101~122 the identification data be in regular turn ID1, ID2,0, ID4 ..., ID18, ID3,0,0,0.Therefore, when operating system during at scanning disk, can find on magnetic track 100, to include equally 18 normally sectors 101,102,104~119 of access data information, and 4 can't any data of access sector 103,120~122, be completely not damage just so as disk for operating system.
In addition, as mentioned above, according to the result of previous sector scanning, we can use another kind of method, rearrange the order that sector identification data is sent.In other words, promptly be that the identification data ID3 that will damage sector 103 earlier writes blank sector identification data 0.Then, to discern in regular turn data ID1, ID2 ..., ID18 write on sector 101,102,104 ..., on 119, and 120~122 write blank sector identification data 0 in the sector, make sector 101~122 the identification data in regular turn for ID1, ID2,0, ID3 ..., ID17, ID18,0,0,0, as shown in Figure 4.Therefore, when operating system during at scanning disk, similarly, can find on magnetic track 100, to include 18 normally sectors 101,102,104~119 of access data information, and 4 can't any data of access sector 103,120~122, be completely not damage just so certainly as disk for operating system.
Therefore, in sum, advantage of the present invention, system utilizes the retention volume that can not use in the storage medium (disk sheet) under general operating position, formatted program with special use, a special mark is sticked as record in the sector of damaging, replace it, so just can intactly use this piece storage medium once again and in retention volume, duplicate this identification data of damaging the sector.
Though the present invention discloses as above with preferred embodiment, so it is not in order to limiting the present invention, anyly has the knack of this skill person, and without departing from the spirit and scope of the present invention, when can doing various improvement, so protection scope of the present invention is when being as the criterion with claims.

Claims (6)

1. method of utilizing retention volume in the 1.44M disk to reach recovering damaged medium storage volume, this 1.44M disk comprises a storage volume district and a retention volume district, described storage volume district has a plurality of first sectors, and each first sector puts in order and separately corresponding to an identification data according to it, and described data according to corresponding first sector put in order for numeral continuous, representative is the access data information normally, and described retention volume district has a plurality of second sectors, and each second sector has a blank sector identification data separately, representative can't any data information of access, and it is characterized in that: this method comprises the following steps:
Scan described first sector, and note the pairing identification data that the sector is damaged in one in described first sector;
The pairing identification data in described damage sector is replaced to described blank sector identification data; And
The former identification data of described damage sector correspondence is write on the sector that the blank sector identification of the former quilt data of described second sector takies.
2. the retention volume in the 1.44M of the utilization disk as claimed in claim 1 is reached the method for recovering damaged medium storage volume, it is characterized in that: the quantity of wherein said first sector is 18.
3. the retention volume in the 1.44M of the utilization disk as claimed in claim 1 is reached the method for recovering damaged medium storage volume, it is characterized in that: the quantity of wherein said second sector is 4.
4. method of utilizing retention volume in the 1.44M disk to reach recovering damaged medium storage volume, this 1.44M disk comprises a storage volume district and a retention volume district, described storage volume district has a plurality of first sectors, and described each first sector puts in order and separately corresponding to an identification data according to it, and described identification data according to corresponding each first sector put in order for numeral continuous, representative is the access data information normally, and described retention volume district has a plurality of second sectors, and each second sector has a blank sector identification data separately, representative can't any data information of access, and it is characterized in that: this method comprises the following steps:
Scan described first sector, and note the pairing identification data of at least one damage sector in described first sector;
The pairing identification data in described damage sector is replaced to described blank sector identification data; And
Rearrange the order that described identification data is sent, except that described damage sector, with described identification data according to order continuous write described first sector separately in order to the position of record identification data, and unnecessary described identification data is written to respectively in described second sector, data is discerned in the blank sector that substitutes quantity some second sectors identical with unnecessary described identification data quantity with described identification data.
5. the retention volume in the 1.44M of the utilization disk as claimed in claim 4 is reached the method for recovering damaged medium storage volume, it is characterized in that: the quantity of wherein said first sector is 18.
6. the retention volume in the 1.44M of the utilization disk as claimed in claim 4 is reached the method for recovering damaged medium storage volume, it is characterized in that: the quantity of wherein said second sector is 4.
CNB011095377A 2001-03-30 2001-03-30 Method for recovering damaged medium storage volume using reserved volume in storage medium Expired - Fee Related CN1155963C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011095377A CN1155963C (en) 2001-03-30 2001-03-30 Method for recovering damaged medium storage volume using reserved volume in storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011095377A CN1155963C (en) 2001-03-30 2001-03-30 Method for recovering damaged medium storage volume using reserved volume in storage medium

Publications (2)

Publication Number Publication Date
CN1378210A CN1378210A (en) 2002-11-06
CN1155963C true CN1155963C (en) 2004-06-30

Family

ID=4657984

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011095377A Expired - Fee Related CN1155963C (en) 2001-03-30 2001-03-30 Method for recovering damaged medium storage volume using reserved volume in storage medium

Country Status (1)

Country Link
CN (1) CN1155963C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7278053B2 (en) * 2003-05-06 2007-10-02 International Business Machines Corporation Self healing storage system
CN112558859A (en) * 2019-09-26 2021-03-26 杭州海康威视数字技术股份有限公司 Hard disk, storage system and hard disk capacity marking method

Also Published As

Publication number Publication date
CN1378210A (en) 2002-11-06

Similar Documents

Publication Publication Date Title
US5832526A (en) Method and apparatus using slack area of file storage structures for file reconstruction
CN1152381C (en) Recording medium for storaging attributive information and method for identifying data by using attributive information
CN1273419A (en) Recording medium for storing chaining type information and method for procesing defect zone using it
DE69323225T2 (en) Data handling in a processor system to control access to a plurality of data storage disks
DE69126067D1 (en) Method and device for managing condition identifiers for efficient recovery
JPH05313980A (en) Information recording method
CN1855245A (en) Information storage medium on which drive data is recorded, and method of recording information on the information storage medium
EP0507341B1 (en) Data recording method and data recording medium
JPH09213011A (en) Optical recording method
CN1155963C (en) Method for recovering damaged medium storage volume using reserved volume in storage medium
CN1271165A (en) Optic recording medium without storage data and method for treating defect area of medium
CN101750085B (en) Navigation e-map differential data generation method and device based on record information
CN1114209C (en) High-speed data recording method for digital versatile disk-random access memory
JPH02193335A (en) Card-type optical recording medium
WO2001031444A3 (en) Method for preventing repeating non-recoverable read errors at same physical location on data storage media
CN100399460C (en) Method for managing optical disk data
CN1977331A (en) Defect management for storage media
TW511079B (en) Method for using reserved capacity in storage medium to recover damaged medium storage capacity
JPS63206957A (en) Optical recording medium
JPS63131388A (en) Recording system of management information in optical recording medium
KR100296082B1 (en) How to exchange all electronic switch system file system with Unix file system
CN100390893C (en) Trans standard data storage method for optic storage medium
JPS6391887A (en) Data recording system
KR100300978B1 (en) Method for allocating sector
MY149257A (en) Method of recording temporary defect list on write-once recording medium, method of reproducing the temporary defect list, recording and/or reproducing apparatus, and the write-once recording medium

Legal Events

Date Code Title Description
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C06 Publication
PB01 Publication
C14 Grant of patent or utility model
GR01 Patent grant
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20040630