CN101499306A - Defect management data access method - Google Patents

Defect management data access method Download PDF

Info

Publication number
CN101499306A
CN101499306A CNA2008100014992A CN200810001499A CN101499306A CN 101499306 A CN101499306 A CN 101499306A CN A2008100014992 A CNA2008100014992 A CN A2008100014992A CN 200810001499 A CN200810001499 A CN 200810001499A CN 101499306 A CN101499306 A CN 101499306A
Authority
CN
China
Prior art keywords
defect management
data
management data
buffer zone
block
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.)
Pending
Application number
CNA2008100014992A
Other languages
Chinese (zh)
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.)
Quanta Storage Inc
Original Assignee
Quanta Storage Inc
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 Quanta Storage Inc filed Critical Quanta Storage Inc
Priority to CNA2008100014992A priority Critical patent/CN101499306A/en
Publication of CN101499306A publication Critical patent/CN101499306A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention provides an access method of defect management data, comprising the following specific steps: a disk drive accepts an instruction to read the required block, then the disk drive reads the required block of the disk and stores the data at a first buffer zone, then the disk drive caches the required defect management data from a caching buffer zone or reads the required defect management data from the defect management zone of the disk, and stores the required defect management data at a second buffer zone, then the disk drive inspects whether the required defect management data are popular data and copies the data to the caching buffer zone if the answer is yes, then replaces the defect data of the blocks in the first buffer zone with the defect management data, and outputs the replaced block data in the first buffer zone to accelerate the accessing process.

Description

Defect management data access method
Technical field
The present invention relates to a kind of CD-ROM drive, when especially relating to CD-ROM drive and reading discs, handle and the access method of the stored defect management data of displacement discs.
Background technology
Because discs is utilized small and intensive mark, increase storage volume, as long as be infected with spot, dust or scratch, will cover small mark, and influence correct interpretation mark.CD-ROM drive provides the mechanism of defect management, makes the data of flaw block can be stored in the displacement zone on the discs, during the CD-ROM drive reading of data, and with replacement data replace defective data, writable disc sheet smoothly.
As shown in Figure 1, it is the access procedure of known optical disc sheet defect management data, and discs D to the outer ring, is divided into Lead-In Area, displacement zone 1, data field, displacement zone 2 and leading-out zone by inner ring in regular turn.When CD-ROM drive reads discs D, at first mobile read head H is to the required block that reads, if reading the zone, discovery comprises the defective data block in reading, then mobile read head H is to the displacement zone 1 or the displacement zone 2 of defect management, carry out reading of replacement data block, after carrying out the reformation of buffer data again, will comprise the data passback host side of displacement, finish reading of discs data.
As shown in Figure 2, it is the access method of known defect management data, step P1 is when CD-ROM drive reception host command, after reading a certain block data, enter step P2, CD-ROM drive moves the position that read head is searched the required block of discs, and required block data is read one by one, is stored in first buffer zone of CD-ROM drive storer.Enter step P3 again, mobile read head is searched the defect management data of displacement zone 1 or displacement zone 2 stored required blocks to defect management, reads and be stored to second buffer zone of CD-ROM drive storer.Then, enter step P4, utilize the defect management data of second buffer zone to replace the defective of the first buffer zone block data.At last, enter step P5, the block data with displacement back first buffer zone exports main frame to, finishes reading operation.
Yet, the access method of known defect management data, behind the each reading of data block of CD-ROM drive, essential mobile read head is to defect management, displacement zone 1 or displacement zone 2 before and after discs, search and read required defect management data, mobile again read head is back to the data field after finishing, and reads the block data of next instruction.When causing CD-ROM drive to read discs, the read head that moves around in data field and defect management interval increases the time of reading, and reduces the usefulness of CD-ROM drive integral body.Therefore, CD-ROM drive still has problem to need to be resolved hurrily in the access of defect management data.
Summary of the invention
The object of the present invention is to provide a kind of defect management data access method, get buffer zone soon, store popular defect management data, get the defect management data of required block soon, quicken displacement and correction zone blocks of data, the efficient that reads with raising by setting up.
Another object of the present invention is to provide a kind of defect management data access method, by the defect management data access procedure, assessment defect management data characteristic, filter out popular defect management data, be stored in data and get buffer zone soon, reduce the number of times that moves around and read, to shorten time for reading.
In order to reach the purpose of aforementioned invention, defect management data access method of the present invention, CD-ROM drive is accepted instruction and is read block data required on the discs, read required block data, and be stored in first buffer zone, preferentially get the defect management data of required block soon by getting buffer zone soon, otherwise read the defect management data of required block to the disk defect managing district, the defect management data of required block is stored in second buffer zone, the defect management data of checking second buffer zone is a hot data, get buffer zone soon as then being copied to for hot data, replace the defective data of the first buffer zone block again with defect management data, export the block data after first buffer zone is replaced.
Description of drawings
Fig. 1 is the synoptic diagram of known optical disc sheet defect management data access procedure.
Fig. 2 is the process flow diagram of known defect management data access method.
Fig. 3 is the synoptic diagram of discs data structure.
Fig. 4 (a)-(e) forms the synoptic diagram that data are got district's process soon for the present invention.
Fig. 5 (a)-(c) get the synoptic diagram of defect management data process soon for the present invention.
Fig. 6 is the process flow diagram of defect management data access method of the present invention.
The reference numeral explanation
The block data step is read in the S1 instruction
S2 reads block data to the first buffer zone step
S3 checks whether the 3rd buffer zone has required caching data step
S4 reads defect management defect management data to the second buffer zone step
S5 checks whether defect management data is the hot data step
S6 replication defective management data to the three buffer zone steps
S7 replaces the first buffer zone block defective data step with defect management data
S8 exports the first buffer zone block data step
Embodiment
Relevant the present invention is for achieving the above object, and technological means that is adopted and effect thereof are now lifted preferred embodiment, and are illustrated as follows in conjunction with the accompanying drawings.
Defect management data access method of the present invention, when CD-ROM drive reads discs, at first draw three buffer zones such as establishing first buffer zone, second buffer zone and the 3rd buffer zone at the CD-ROM drive storer, remove the block data that first buffer zone is read in order to storage, the defect management data that second buffer zone is read in order to storage is kept outside the former memory function, draws the 3rd buffer zone of establishing in addition, get buffer zone soon as data, in order to store popular defect management data.Popular defect management data is according to the standard of the conduct classification such as position, classification and access times of data.And when the discs block data is read in CD-ROM drive acceptance instruction, in access defect management data process, assess the popular degree of defect management data in passing, with standard compliant defect management data, be stored in the 3rd buffer zone of CD-ROM drive storer one by one.
Owing to when CD-ROM drive reads block data, only can be overwritten in first buffer zone and second buffer zone, the deleted again and again and renewal of the data that first buffer zone and second buffer zone are stored at every turn.And the 3rd buffer zone is established for drawing in addition, the data that discs reads can't directly be stored into the 3rd buffer zone, change the original storing state of the 3rd buffer zone, and through assessing the defect management data that meets popular standard, then order continues and is stored in after the former storage data of the 3rd buffer zone, and building up increases popular defect management data storage capacity.
When CD-ROM drive receives instruction, after reading block data to the first buffer zone required on the discs, search the defect management data of the 3rd this block of buffer zone earlier, if search the defect management data of this block, then get the defect management data of this block soon at the 3rd buffer zone, replace the defective of the first buffer zone block immediately, the first buffer zone block data output after will replacing again, and can reduce the defect management data time of reading the disk defect managing district.If do not search the defect management data of this block at the 3rd buffer zone, then again to the disk defect managing district, read the defect management data of this block, be stored in second buffer zone, does and the assessment defect management data meet popular standard? the defect management data of popular standard will be met in second buffer zone, change being copied to the 3rd buffer zone, form new caching data.Other replaces the defective of the first buffer zone block, and the first buffer zone block data output after will replacing is again read to finish block.
Illustrate, please also refer to Fig. 3 and Fig. 4, Fig. 3 is the data structure of discs, and Fig. 4 (a)-(e) forms the process that data are got the district soon for defect management data access method of the present invention.As shown in Figure 3, the data structure of this discs D shows that a block A is arranged in the data field, and block A comprises 1,2,3,4,5 data serials (Cluster), wherein defective appears in 2,4 data serials, and revised defect management data 2 ' and 4 ' is stored in the displacement zone 1 in regular turn.Shown in Fig. 4 (a), when CD-ROM drive reception host command reads discs D block data A, at first draw three buffer zones such as establishing first buffer zone, second buffer zone and the 3rd buffer zone at the CD-ROM drive storer.In Fig. 4 (b), CD-ROM drive reads the data that discs D goes up block A, and 1,2,3,4,5 data serials are stored in first buffer zone in regular turn.
Then enter Fig. 4 (c), search the defect management data 2 ' and 4 ' of block A in the 3rd buffer zone earlier, if do not search the defect management data 2 ' and 4 ' of block A, again to discs D defect management, search displacement zone 1 and displacement zone 2, read the defect management data 2 ' and 4 ' of block A by displacement zone 1, be stored in second buffer zone.Again to Fig. 4 (d), assess the second buffer zone defect management data 2 ' and 4 ' and meet popular standard? if defect management data 2 ' and 4 ' meets popular standard, then change replication defective management data 2 ' and 4 ' to the 3rd buffer zone, form new caching data.At last to Fig. 4 (e), defective 2,4 data serials with defect management data 2 ' and 4 ' displacement, the first buffer zone block A, comprise the block A data output of 1,2 ', 3,4 ', 5 data serials in first buffer zone after will replacing again, read to finish block A.
Please also refer to Fig. 3 and Fig. 5, be the process of defect management data access method caching data of the present invention as Fig. 5 (a)-(c).Shown in Fig. 5 (a), when CD-ROM drive reception host command read discs D block data A again, in three buffer zones of CD-ROM drive storer, the 3rd buffer zone still kept caching data.Then enter Fig. 5 (b), CD-ROM drive reads the data that discs D goes up block A, and 1,2,3,4,5 data serials are stored in first buffer zone in regular turn.Then enter Fig. 5 (c), search the defect management data 2 ' and 4 ' of block A in the 3rd buffer zone earlier, if search the defect management data 2 ' and 4 ' of block A, get defect management data 2 ' and 4 ' soon by the 3rd buffer zone, replace defective 2,4 data serials of the first buffer zone block A, comprise the block A data output of 1,2 ', 3,4 ', 5 data serials in first buffer zone after will replacing again, read block A to finish fast.
As shown in Figure 6, it is for the process flow diagram of defect management data access method of the present invention.Utilization of the present invention is offered the 3rd buffer zone at storer, get the district soon as what store popular defect management data, the detailed step of accelerating reading speed is as follows: at first being given an order by main frame at step S1 requires CD-ROM drive to read the data of a certain block, enter step S2, CD-ROM drive reads the data of required block, and is stored in first buffer zone.Enter step S3 again, does the caching data of checking the 3rd buffer zone have the defect management data of required block? if the 3rd buffer zone has the defect management data of required block, then enter step S7, get the defective data of this defect management data direct replacement first buffer zone block soon, be modified to correct block data, the right area blocks of data of first buffer zone exports main frame to after will being replaced by step S8 again, finishes reading of block data fast.
If do not search the defect management data of required block at the 3rd buffer zone, then enter step S4, defect management to the discs, search the defect management data of required block, and read this defect management data, be stored in second buffer zone, be stored in the defect management data of second buffer zone again to step S5 inspection, the standard that meets hot data? if the non-genus hot data of defect management data, then enter step S7, defective data with this defect management data direct replacement first buffer zone block, be modified to correct block data, the right area blocks of data of first buffer zone exports main frame to after will being replaced by step S8 again, finishes reading of block data.If defect management data belongs to hot data, then enter step S6, the defect management data of second buffer zone will be stored in, be copied to the 3rd buffer zone, form caching data, enter step S7 then, defective data with this defect management data direct replacement first buffer zone block, be modified to correct block data, the right area blocks of data of first buffer zone exports main frame to after will being replaced by step S8 again, finishes reading of block data.
By aforesaid defect management data access step, defect management data access method of the present invention, in the time of can reading discs by CD-ROM drive, in the defect management data access procedure, assess the characteristic of defect management data in passing, filter out popular defect management data, and in storer, offer the 3rd buffer zone, in order to store popular defect management data, form the caching data district of defect management data, preferentially get the defective data of the required block of displacement soon, reduce the moving number of times that reads of travelling backwards, shorten time for reading, reach the purpose that improves reading efficiency.
Only in order to convenient explanation preferred embodiment of the present invention, scope of the present invention is not limited to described preferred embodiment, and is all according to any change that the present invention did, and under the prerequisite that does not break away from spirit of the present invention, all belongs to the scope of claim of the present invention for the above.

Claims (6)

1. a defect management data access method is used for CD-ROM drive and reads the discs data, and CD-ROM drive comprises storer, and storer is established a plurality of buffer zones, and this access method comprises following steps:
(1) block data required on the discs is read in instruction;
(2) read required block data, and be stored in first buffer zone;
(3) get the defect management data of required block soon by getting buffer zone soon;
(4) replace the defective data of the first buffer zone block with defect management data; And
(5) block data after the displacement of output first buffer zone.
2. according to the described defect management data access method of claim 1, is wherein this step (3) got soon and is checked earlier before the defect management data of required block and get the defect management data that buffer zone has required block soon? if have the defect management data of required block, enter step (4) after getting this defect management data soon, if do not search the defect management data of required block, then read the defect management data of required block, enter step (4) again to the disk defect managing district.
3. according to the described defect management data access method of claim 2, further comprised step after wherein this read required block defect management data to the disk defect managing district:
(3-1) defect management data with required block is stored in second buffer zone.
4. according to the described defect management data access method of claim 3, wherein further comprise step after this step (3-1):
Is (3-2) defect management data of inspection second buffer zone a hot data? if be hot data, then be copied to and get buffer zone soon, enter step (4) again, if non-be hot data, then directly enter step (4).
5. according to the described defect management data access method of claim 4, wherein this hot data is according to access times, position or the classification of the defect management data standard as classification.
6. according to the described defect management data access method of claim 4, defect management data that wherein should hot topic continues to be stored in and gets buffer zone soon, to accumulate popular defect management data.
CNA2008100014992A 2008-01-29 2008-01-29 Defect management data access method Pending CN101499306A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100014992A CN101499306A (en) 2008-01-29 2008-01-29 Defect management data access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100014992A CN101499306A (en) 2008-01-29 2008-01-29 Defect management data access method

Publications (1)

Publication Number Publication Date
CN101499306A true CN101499306A (en) 2009-08-05

Family

ID=40946338

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100014992A Pending CN101499306A (en) 2008-01-29 2008-01-29 Defect management data access method

Country Status (1)

Country Link
CN (1) CN101499306A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111785306A (en) * 2019-04-03 2020-10-16 光宝电子(广州)有限公司 Control method for failed write-in of optical disc in optical disc drive system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111785306A (en) * 2019-04-03 2020-10-16 光宝电子(广州)有限公司 Control method for failed write-in of optical disc in optical disc drive system
CN111785306B (en) * 2019-04-03 2021-06-08 光宝电子(广州)有限公司 Control method for failed writing of optical disk in optical disk drive system

Similar Documents

Publication Publication Date Title
CN1689100A (en) Method of and apparatus for managing disc defects in disc, and disc on which defects are managed
US6279118B1 (en) Recording medium storing additional information for defect management and method for managing defects
CN1689082A (en) Method of and apparatus for managing disc defects using temporary defect management information (TDFL) and temporary defect management information (TDDS), and disc having the TDFL and TDDS
US7362676B2 (en) Method for defect management of an optical storage medium with a sorting process
CN101685642B (en) Recording/ reproducing apparatus, and recording/ reproducing method
CN1860547B (en) Recording device, reproduction device, recording method, reproduction method and operation method
CN101826361B (en) Recording and reproducing apparatus and method
CN1808604B (en) Hologram recording/reproducing device, and recording method, reproduction method and hologram recording medium thereof
US8077567B2 (en) Recording and reproducing apparatus and recording and reproducing method
US7817513B2 (en) Record and reproduction apparatus for reading or writing data during reproducing of stream data
CN101499306A (en) Defect management data access method
CN101089975B (en) Recording method and optical disk recording device
US20090285067A1 (en) Back-up method for defective data
US7697387B2 (en) Information recording medium, and information recording apparatus and method
CN101944379A (en) Medium recording transcriber and medium recording reproducting method
CN101325079B (en) Method for recovering management information of a recording medium and apparatus thereof
CN101211626A (en) Optic disc device data recording control method
CN101013594B (en) System and method for controlling access of multi-functional digital disc
JPS59113509A (en) Disc processing device
US20070166015A1 (en) Recording device and method
CN100541618C (en) Infromation recording/reproducing apparatus and information recording/reproducing method
US7080296B2 (en) Method for managing defects on an optical disk
CN100562937C (en) The data record method of Write-once optical disc and device
CN101145371A (en) Optical storage device and data storage method thereof
US7102971B2 (en) Method for reducing the number of read and write operations during Mt. Rainier defect processing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Open date: 20090805