KR20000025021A - Method for detecting recording/reproducing location - Google Patents

Method for detecting recording/reproducing location Download PDF

Info

Publication number
KR20000025021A
KR20000025021A KR1019980041894A KR19980041894A KR20000025021A KR 20000025021 A KR20000025021 A KR 20000025021A KR 1019980041894 A KR1019980041894 A KR 1019980041894A KR 19980041894 A KR19980041894 A KR 19980041894A KR 20000025021 A KR20000025021 A KR 20000025021A
Authority
KR
South Korea
Prior art keywords
sector number
zone
recording
data
physical sector
Prior art date
Application number
KR1019980041894A
Other languages
Korean (ko)
Other versions
KR100282344B1 (en
Inventor
정규화
강동철
Original Assignee
구자홍
엘지전자 주식회사
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 구자홍, 엘지전자 주식회사 filed Critical 구자홍
Priority to KR1019980041894A priority Critical patent/KR100282344B1/en
Priority to US09/219,118 priority patent/US6385736B1/en
Publication of KR20000025021A publication Critical patent/KR20000025021A/en
Application granted granted Critical
Publication of KR100282344B1 publication Critical patent/KR100282344B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1883Methods for assignment of alternate areas for defective areas
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers

Abstract

PURPOSE: A method for detecting a recording/reproducing location is provided to prevent an error of recording and reproducing data at a faulty location by exactly searching a physical sector number corresponding to a logical sector number transferred from a host. CONSTITUTION: A method for detecting a recording/reproducing location comprises the steps of: obtaining a zone, in which a logical sector number is changed, when the logical sector number is input; obtaining an option(zone) corresponding to the obtained zone; adding a start physical sector number of a data region to the logical sector number to then add the obtained option(zone) to the added result so as to obtain a temporary physical sector number; obtaining the number of registered defective sectors, which have a value less than the temporary physical sector number, in a zone, in which the temporary physical sector number belongs; and obtaining a final physical sector number by adding the obtained number of the registered defective sectors to the temporary physical sector number.

Description

광 기록매체의 기록/재생 위치 검출방법Method for detecting recording / playback position of optical record carrier

본 발명은 재기록 가능한 광기록 매체 시스템에 관한 것으로, 특히 유저 데이터에만 부여되는 논리적 섹터 번호(Logical sector number ; LSN)로부터 실제 광 기록 매체에 부여되는 물리적 섹터 번호(Physical sector number ; PSN)를 찾는 광기록 매체의 기록/재생 위치 검출방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a rewritable optical recording medium system, and more particularly to finding a physical sector number (PSN) assigned to an actual optical recording medium from a logical sector number (LSN) assigned only to user data. A recording / reproducing position detection method of a recording medium.

일반적으로, 광 기록 매체는 반복 기록의 가능여부에 따라 읽기 전용의 롬(ROM)형과, 1회 기록 가능한 웜(WORM)형 및 반복적으로 기록할 수 있는 재기록 가능형 등으로 크게 3종류로 나뉘어진다.In general, optical recording media are largely divided into three types: read-only ROM, write-once worm type, and rewritable rewritable type. Lose.

여기서, 롬형 광기록 매체는 컴팩트 디스크 롬(Compact Disc Read Only Memory ; CD-ROM)과 디지털 다기능 디스크 롬(Digital Versatile Disc Read Only Memory ; DVD-ROM) 등이 있으며, 웜형 광기록매체는 1회 기록가능한 컴펙트 디스크(Recordable Compact Disc ; CD-R)와 1회 기록가능한 디지털 다기능 디스크(Recordable Digital Versatile Disc ; DVD-R) 등이 있다.Here, the ROM type optical recording medium includes a compact disc read only memory (CD-ROM) and a digital versatile disc read only memory (DVD-ROM), and a worm type optical recording medium is written once. Recordable Compact Discs (CD-Rs) and Recordable Digital Versatile Discs (DVD-Rs).

또한, 자유롭게 반복적으로 재기록 가능한 디스크로는 재기록 가능한 컴펙트 디스크(Rewritable Compact Disc ; CD-RW)와 재기록 가능한 디지털 다기능 디스크(Rewritable Digital Versatile Disc ; DVD-RAM, DVD-RW) 등이 있다.In addition, freely and repeatedly rewritable discs include a rewritable compact disc (CD-RW) and a rewritable digital versatile disc (DVD-RAM, DVD-RW).

한편, 재기록 가능형 광기록 매체의 경우, 그 사용 특성상 정보의 기록/재생 작업이 반복적으로 수행되는데, 이로 인해 광기록 매체에 정보 기록을 위해 형성된 기록층을 구성하는 혼합물의 혼합 비율이 초기의 혼합 비율과 달라지게 되어 그 특성을 잃어 버림으로써 정보의 기록/재생시 오류가 발생된다.On the other hand, in the case of a rewritable optical recording medium, the recording / reproducing operation of information is repeatedly performed due to the use characteristics thereof, so that the mixing ratio of the mixture constituting the recording layer formed for recording information on the optical recording medium is initially mixed. It becomes different from the ratio and loses its characteristics, resulting in an error in recording / reproducing information.

이러한 현상을 열화라고 하는데, 이 열화된 영역은 광기록매체의 포맷, 기록, 재생 명령 수행시 결함 영역(Defect Area)으로 나타나게 된다.This phenomenon is called deterioration, and the deteriorated area appears as a defect area when the format, recording, and reproducing command of the optical recording medium is executed.

또한, 재기록 가능형 광기록매체의 결함 영역은 상기의 열화 현상 이외에도 표면의 긁힘, 먼지 등의 미진, 제작시의 오류 등에 의해 발생되기도 한다.In addition to the deterioration phenomenon, defect areas of the rewritable optical recording medium may be generated due to scratches on the surface, dust such as dust, errors in production, and the like.

그러므로, 상기와 같은 원인으로 형성된 결함 영역에 데이터를 기록/재생하는 것을 방지하기 위하여 이 결함 영역의 관리가 필요하게 되었다.Therefore, in order to prevent data from being recorded / reproduced in the defect area formed due to the above reasons, it is necessary to manage the defect area.

이를 위해 일반적인 재기록 가능한 광 기록 매체 즉, 재기록 가능한 광 디스크는 도 1에 도시된 바와 같이 리드-인 영역(lead-in area)과 리드-아웃 영역(lead-out area)에 결함 관리 영역(Defect Management Area ; 이하 DMA라 함)을 두어 광기록매체의 결함 영역을 관리하고 있다. 또한, 데이터 영역은 존별로 나누어 관리하는데, 각 존은 실제 데이터가 기록되는 유저 영역과 상기 유저 영역에 결함이 발생하였을 때 이용하기 위한 스페어(Spare) 영역으로 나뉘어진다. 그리고, 도 2와 같이 존과 존 사이에는 이들을 구별하기 위하여 보호 영역(guard area)이 할당되어 있다.To this end, a general rewritable optical recording medium, that is, a rewritable optical disc, has a defect management area in a lead-in area and a lead-out area as shown in FIG. Area (hereinafter referred to as DMA) is used to manage the defective area of the optical recording medium. The data area is divided and managed by zones, and each zone is divided into a user area in which actual data is recorded and a spare area for use when a defect occurs in the user area. As shown in FIG. 2, a guard area is allocated between zones to distinguish them.

상기 DMA에는 주결함 데이터 저장부를 의미하는 PDL(Primary Defect List)과 부결함 데이터 저장부를 의미하는 SDL(Secondary Defect List)을 포함한다.The DMA includes a PDL (Primary Defect List), which means a major defect data storage unit, and a SDL (Secondary Defect List), which means a defective data storage unit.

일반적으로 PDL은 디스크 제작 과정에서 생긴 결함 그리고, 디스크를 포맷 즉, 최초 포맷팅(Initialize)과 재포맷팅(Re-initialize)시 확인되는 모든 결함 섹터들의 엔트리들(entries)을 저장한다. 또한, SDL은 블록 단위로 리스트되는데, 포맷 후에 발생하는 결함 영역들이나 포맷동안 PDL에 저장할 수 없는 결함 영역들의 엔트리들을 저장한다.In general, the PDL stores entries created during the disc creation process and entries of all defective sectors identified during formatting, ie, initializing and re-initializing the disc. In addition, the SDL is listed in units of blocks, and stores entries of defect areas that occur after the format or defect areas that cannot be stored in the PDL during the format.

이러한 광 디스크에서는 각 섹터마다 LSN과 PSN을 가지고 있는데, LSN은 실제 데이터가 기록되어 있는 유저 영역에만 부여된 값이고 PSN은 디스크 제조 과정에서 디스크의 각 섹터마다 부여한 디스크 상의 물리적 위치를 나타내는 값이다.In such an optical disk, each sector has an LSN and a PSN, where the LSN is a value assigned only to a user area in which actual data is recorded, and the PSN is a value indicating a physical position on the disk assigned to each sector of the disk during the disc manufacturing process.

그러므로, 데이터 영역 내에 결함이 전혀 없다면 도 3a와 같이 PSN은 모든 영역에 걸쳐 부여되지만 LSN은 실제 데이터가 기록되는 유저 영역에만 부여된다.Therefore, if there are no defects in the data area at all, as shown in Fig. 3A, the PSN is given to all areas, but the LSN is given only to the user area in which actual data is recorded.

한편, 데이터 영역 내에 결함이 있으면 상기 데이터 영역내의 결함 영역들(즉, 결함 섹터 또는 결함 블록)은 정상적인 영역으로 대체되어지는데, 대체 방법으로는 통상 슬리핑 대체(slipping replacement) 방법과 리니어 대체(linear replacement) 방법이 있다.On the other hand, if there is a defect in the data area, the defective areas (i.e., defective sectors or defective blocks) in the data area are replaced with a normal area. As a replacement method, a slipping replacement method and a linear replacement method are usually performed. There is a way.

상기 슬리핑 대체방법은 결함 영역이 PDL에 등록되어 있는 경우에 적용되는 방법으로, 도 3b에 도시된 바와 같이 실제 데이터가 기록되는 유저 영역(user area)에 PDL에 리스트된 결함 섹터가 존재하면 그 결함 섹터를 건너뛰고 대신에 그 결함 섹터 다음에 오는 정상 섹터로 대체되어 데이터를 기록한다. 이때, 상기 PDL에 리스트된 결함 섹터에 PSN은 그대로 있지만 상기 결함 섹터에 데이터를 기록 또는 재생하지 않으므로 LSN은 없으며, 대신 결함 섹터의 수만큼 스페어 영역에 LSN이 할당된다. 여기서, LSN이 부여되는 스페어 영역은 포맷팅에 의해 유저 영역이 된다.The sleeping replacement method is applied when a defective area is registered in the PDL. If a defective sector listed in the PDL exists in a user area in which actual data is recorded, as shown in FIG. The sector is skipped and instead replaced by the normal sector following the defective sector to record the data. At this time, the PSN remains in the defect sectors listed in the PDL, but there is no LSN because data is not recorded or reproduced in the defect sectors. Instead, the LSN is allocated to the spare area by the number of defective sectors. Here, the spare area to which the LSN is assigned becomes a user area by formatting.

또한, 리니어 대체 방법은 결함 영역이 SDL에 등록되어 있는 경우에 적용되는 방법으로, 도 3c에 도시된 바와 같이 유저 영역이나 스페어 영역에 SDL에 리스트된 결함 블록(defect block)이 존재하면 스페어 영역에 할당된 블록 단위의 대체(replacement) 영역으로 대체되어 데이터를 기록한다. 이때, 상기 결함 블록의 각 섹터들에 할당된 PSN은 그대로 존재하지만 LSN은 데이터와 함께 대체 블록으로 함께 이동한다.In addition, the linear replacement method is applied when the defect area is registered in the SDL. If a defect block listed in the SDL exists in the user area or the spare area as shown in FIG. 3C, the linear replacement method is applied to the spare area. Data is recorded by being replaced with a replacement area of the allocated block unit. At this time, the PSNs allocated to the sectors of the defective block remain as they are, but the LSN moves together with the data to the replacement block.

도 4는 일반적인 광디스크 기록/재생 장치의 일예를 나타낸 블록도로서, 광디스크에 데이터를 기록하고 재생하기 위한 광픽업, 상기 광 픽업을 이송시키는 픽업 이송부, 입력되는 데이터를 처리하여 상기 광 픽업으로 전송하는 데이터 처리부, 인터페이스, 이들을 제어하는 마이콤 등으로 구성되고, 광디스크 기록/재생 장치의 인터페이스에는 호스트(host)가 연결되어 상호간에 명령어와 데이터가 전달되도록 구성된다. 여기서, 상기 호스트는 일종의 PC(Personal computer)로서, 광 디스크 기록장치가 상기 PC의 지원을 받는 경우이다.4 is a block diagram illustrating an example of a general optical disc recording / reproducing apparatus, comprising: an optical pickup for recording and reproducing data on an optical disc, a pickup transfer unit for transferring the optical pickup, and processing input data to the optical pickup; And a data processing unit, an interface, a microcomputer for controlling them, and the like, and a host is connected to an interface of the optical disc recording / reproducing apparatus so that commands and data are transmitted to each other. Here, the host is a kind of personal computer (PC), in which the optical disc recording apparatus is supported by the PC.

이와 같이 구성되는 도 4에서 기록해야 할 데이터가 발생되면 호스트는 기록 명령을 광디스크 기록장치에 보낸다. 상기 기록 명령은 기록 위치를 지정하는 논리적 블록 어드레스(Logical Block Address ; LBA)와 데이터의 크기를 알려주는 전송 길이(transfer length)를 포함한다. 이어서, 호스트는 기록할 데이터를 상기 광디스크 기록/재생 장치로 보낸다. 여기서, 상기 LBA는 LSN과 같은 의미이다.When data to be recorded in FIG. 4 configured as described above is generated, the host sends a recording command to the optical disc recording apparatus. The write command includes a logical block address (LBA) that specifies a write location and a transfer length that indicates the size of the data. The host then sends the data to be recorded to the optical disc recording / reproducing apparatus. Here, LBA has the same meaning as LSN.

상기 광디스크 기록/재생 장치는 호스트로부터 광디스크에 기록할 데이터가 전송되면 상기 시작 LBA로부터 해당 시작 PSN을 찾아 전송된 데이터를 기록하기 시작한다. 이는 상기 LBA가 실제 데이터가 기록되는 영역에만 부여되는 값이지 디스크 상의 실제 위치는 아니기 때문이다.When the data to be recorded on the optical disk is transmitted from the host, the optical disc recording / reproducing apparatus finds the corresponding starting PSN from the starting LBA and starts recording the transmitted data. This is because the LBA is a value given only to the area where the actual data is recorded, not the actual position on the disk.

이때, 상기 광디스크 기록/재생 장치는 광디스크의 결함을 표시하는 정보인 PDL과 SDL을 이용하여 결함이 있는 영역에는 데이터를 기록하지 않는다.At this time, the optical disc recording / reproducing apparatus does not record data in the defective area by using the PDL and the SDL which are information indicating a defect of the optical disc.

즉, PDL에 기록된 물리적 섹터(physical sector)는 건너뛰면서 기록하고, SDL에 기록된 물리적 블록(physical block)은 스페어 영역에 할당된 대체(replacement) 블록으로 대체해 가면서 기록하게 된다.That is, the physical sector recorded in the PDL is recorded while skipping, and the physical block recorded in the SDL is recorded by replacing with a replacement block allocated to the spare area.

또한, 기록이나 재생시에 SDL에 리스트되어 있지 않은 결함 블록 또는 에러 소지가 많은 블록이 있으면 데이터 보호를 위해 이 블록을 결함 블록으로 간주하고, 스페어 영역의 대체 블록을 찾아 상기 결함 블록의 데이터를 재기록한 후 상기 결함 블록의 위치 정보를 SDL 엔트리에 등록한다.In addition, if there are defective blocks or blocks with many errors that are not listed in the SDL during recording or playback, the blocks are regarded as defective blocks for data protection, and the replacement block of the spare area is found to rewrite the data of the defective blocks. The position information of the defective block is then registered in the SDL entry.

이와같이 데이터 기록 또는 재생시에 결함 영역이 있으면 그 위치에는 데이터를 기록하지 않으므로 그 결함 영역에는 LSN이 할당되지 않는다.In this way, if there is a defective area at the time of data recording or reproducing, no data is recorded at that position, so that the LSN is not assigned to the defective area.

그러므로, 호스트에서 전송하는 LBA에 해당하는 정확한 PSN을 찾는 것이 매우 중요하며, 만일 정확한 PSN을 찾지 못하면 잘못된 위치에 데이터를 기록하거나 재생하게 된다.Therefore, it is very important to find the exact PSN corresponding to the LBA transmitted from the host. If the exact PSN is not found, data is recorded or played back at the wrong position.

그런데, 결함이 존재하는 경우 그 결함이 있는 위치에는 LSN이 없으므로 시작 LBA에 해당하는 실제의 시작 PSN을 찾기가 어렵다. 특히, 스페어 영역이 존별로 나누어져 있는 경우에는 더욱 어렵게 된다. 이는 스페어 영역과 보호 영역에도 LSN이 할당되지 않기 때문이다.However, if a defect exists, it is difficult to find the actual starting PSN corresponding to the starting LBA since there is no LSN at the defective position. In particular, when the spare area is divided into zones, it becomes more difficult. This is because the LSN is not allocated to the spare area and the protected area.

본 발명은 상기와 같은 문제점을 해결하기 위한 것으로서, 본 발명의 목적은 테이블을 이용하여 호스트가 전송하는 LSN에 해당하는 PSN을 정확하게 찾도록 하는 광 기록매체의 기록/재생 위치 검출방법을 제공함에 있다.SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and an object of the present invention is to provide a recording / reproducing position detection method of an optical recording medium for accurately finding a PSN corresponding to an LSN transmitted by a host using a table. .

도 1은 일반적인 광 디스크의 구조를 보여주는 도면1 is a view showing the structure of a typical optical disk

도 2는 도 1의 데이터 영역의 상세 구조를 보여주는 도면FIG. 2 illustrates a detailed structure of the data area of FIG. 1. FIG.

도 3a는 결함이 없을 때의 PSN과 LSN의 관계를 보여주는 도면3A shows the relationship between the PSN and the LSN in the absence of a defect

도 3b는 일반적인 슬리핑 대체 방법과 이때의 PSN과 LSN의 관계를 보여주는 도면3b is a diagram illustrating a general sleeping replacement method and a relationship between PSN and LSN at this time

도 3c는 일반적인 리니어 대체 방법과 이때의 PSN과 LSN의 관계를 보여주는 도면3c is a diagram illustrating a general linear replacement method and a relationship between PSN and LSN at this time

도 4는 일반적인 광 디스크 기록/재생 장치의 구성 블록도4 is a block diagram of a general optical disc recording / reproducing apparatus;

도 5는 본 발명에 따른 광 기록매체의 기록/재생 위치 검출방법의 동작 흐름도5 is an operation flowchart of a recording / reproducing position detecting method of an optical recording medium according to the present invention.

도 6은 본 발명에 따른 광 기록매체의 기록/재생 위치 검출방법에서 물리적 존 영역을 나타내는 테이블6 is a table showing a physical zone area in a recording / reproducing position detection method of an optical record carrier according to the present invention.

도 7은 본 발명에 따른 광 기록매체의 기록/재생 위치 검출방법에서 시작 LSN이 속한 존을 찾기 위한 테이블7 is a table for finding a zone to which a starting LSN belongs in a method for detecting a recording / reproducing position of an optical recording medium according to the present invention.

도 8은 본 발명에 따른 광 기록매체의 기록/재생 위치 검출방법에서 PSN을 찾기 위한 옵셋 테이블8 is an offset table for finding a PSN in a recording / reproducing position detection method of an optical recording medium according to the present invention.

도 9a는 일반적인 데이터 유니트 1의 구조를 보인 도면9A shows the structure of a general data unit 1

도 9b는 도 9a의 데이터 ID의 구조를 보인 도면FIG. 9B illustrates the structure of the data ID of FIG. 9A

상기와 같은 목적을 달성하기 위한 본 발명에 따른 광 기록매체의 기록/재생 위치 검출방법은, 데이터의 기록/재생이 필요하면 데이터에 부여된 LSN을 전송하는 호스트로부터 LSN이 입력되면 상기 LSN이 속하는 존을 구하는 단계와, 상기 단계에서 구한 존에 해당하는 옵셋[존]을 구하는 단계와, 상기 LSN에 데이터 영역의 시작 PSN을 더한 후 상기 단계에서 구한 옵셋[존]을 더하여 임시 PSN을 구하는 단계와, 상기 임시 PSN이 속한 존 내에서 상기 임시 PSN보다 작은 값의 등록된 결함 섹터의 개수를 구하여 상기 임시 PSN에 더하여 최종 PSN을 구하는 단계를 포함하여 이루어지는 것을 특징으로 한다.In the recording / reproducing position detection method of the optical recording medium according to the present invention for achieving the above object, if the LSN is input from the host transmitting the LSN attached to the data, if the recording / reproducing of the data is required to belong to the LSN Obtaining a zone, obtaining an offset [zone] corresponding to the zone obtained in the above step, obtaining a temporary PSN by adding the starting PSN of the data area to the LSN, and then adding the offset [zone] obtained in the step; And obtaining the number of registered defective sectors having a value smaller than the temporary PSN in the zone to which the temporary PSN belongs to obtaining the final PSN in addition to the temporary PSN.

상기 입력된 LSN이 시작 LSN이면서 ECC 블록 단위의 배수가 아니면 상기 시작 LSN을 ECC 블록 단위의 배수로 하는 것을 특징으로 한다.If the input LSN is a starting LSN and not a multiple of an ECC block unit, the starting LSN is a multiple of an ECC block unit.

상기 존을 찾는 단계는 LSN에 따라 각 존을 구별할 수 있도록 테이블을 미리 맵핑시킨 후 상기 테이블을 이용하여 상기 LSN이 속한 존을 찾는 것을 특징으로 한다.The step of finding the zone may be a function of finding a zone to which the LSN belongs by using a table after mapping a table in advance so as to distinguish each zone according to the LSN.

상기 옵셋[존]을 구하는 단계는 스페어 영역과 보호 영역에 해당하는 섹터 개수를 각 존별로 테이블에 맵핑시킨 후 상기 테이블에 상기 단계에서 찾은 존을 적용하여 옵셋[존]을 구하는 것을 특징으로 한다.The calculating of the offset [zone] may be performed by mapping the number of sectors corresponding to the spare area and the protection area to a table for each zone, and then applying the zone found in the step to the table to obtain an offset [zone].

상기 최종 물리적 섹터 번호를 구하는 단계는 시작 PSN이 PDL에 등록된 결함 섹터 번호라면 상기 시작 PSN을 하나 증가시켜 최종 시작 PSN으로 하는 것을 특징으로 한다.The step of obtaining the final physical sector number is characterized in that if the starting PSN is a defective sector number registered in the PDL, the starting PSN is increased by one to be the final starting PSN.

본 발명의 다른 목적, 특징 및 잇점들은 첨부한 도면을 참조한 실시예들의 상세한 설명을 통해 명백해질 것이다.Other objects, features and advantages of the present invention will become apparent from the following detailed description of embodiments taken in conjunction with the accompanying drawings.

이하, 본 발명의 바람직한 실시예를 첨부도면을 참조하여 상세히 설명한다.Hereinafter, preferred embodiments of the present invention will be described in detail with reference to the accompanying drawings.

본 발명에서는 호스트가 전송한 시작 LBA에 해당하는 시작 PSN을 찾기 위하여 도 6 내지 도 8과 같은 테이블을 미리 맵핑시킨다.In the present invention, in order to find the starting PSN corresponding to the starting LBA transmitted by the host, the table shown in FIGS. 6 to 8 is pre-mapped.

예를 들어, 물리적 존을 나타내는 PSN이 도 2에서와 같이 A,C,F,...라고 하고, 각 존의 유저 영역을 A,D,G,...라고 가정할 때, 도 6은 물리적 존을 구별하기 위한 테이블이고, 도 7은 시작 LBA가 속한 존을 찾기위한 테이블이며, 도 8은 각 존과 존 사이의 스페어 영역과 보호 영역에 해당하는 섹터 개수를 존별로 기록한 옵셋 테이블이다. 여기서, 규격에 의해 광 디스크의 데이터 영역의 시작 PSN은 31000h이므로, 결함이 없다면 도 2의 A 위치가 PSN 31000h, LSN 00000h가 된다.For example, assuming that the PSN representing the physical zone is A, C, F, ... as in FIG. 2, and the user area of each zone is A, D, G, ..., FIG. 7 is a table for identifying physical zones, FIG. 7 is a table for finding a zone to which a starting LBA belongs, and FIG. 8 is an offset table for recording the number of sectors corresponding to a spare area and a protection area between zones and zones. Here, according to the specification, since the start PSN of the data area of the optical disc is 31000h, if there is no defect, the position A in Fig. 2 is PSN 31000h and LSN 00000h.

도 5는 이러한 테이블을 이용하여 광 기록매체의 기록/재생 위치를 찾는 본 발명의 동작 흐름도로서, 광 디스크에 기록할 데이터가 발생하거나 또는 기록된 내용을 재생할 때 호스트는 먼저, 시작 LBA를 기록 또는 재생 명령에 포함시켜 광 디스크 기록/재생 장치로 전송한다(단계 501).Fig. 5 is an operation flowchart of the present invention for finding the recording / reproducing position of the optical recording medium using such a table. When the data to be recorded on the optical disk is generated or the recorded contents are reproduced, the host first records or starts the LBA. It is included in the reproduction command and transmitted to the optical disc recording / reproducing apparatus (step 501).

상기 호스트로부터 시작 LBA가 입력되면 광 디스크 기록/재생 장치는 상기 시작 LBA가 16의 배수인지를 판별한다(단계 502). 만일, 시작 LBA가 16의 배수이면 바로 단계 504로 진행하고, 시작 LBA가 16의 배수가 아니라고 판별되면 시작 LBA보다 크지않은 16의 배수로 시작 LBA를 변환한 후 단계 504로 진행한다(단계 503). 예를 들어, 시작 LBA가 33이라면 32로 변환한다.When the start LBA is input from the host, the optical disc recording / reproducing apparatus determines whether the start LBA is a multiple of 16 (step 502). If the starting LBA is a multiple of 16, the process proceeds directly to step 504. If it is determined that the starting LBA is not a multiple of 16, the starting LBA is converted to a multiple of 16 that is not greater than the starting LBA, and the process proceeds to step 504 (step 503). For example, if the starting LBA is 33, convert it to 32.

이는 광 디스크에의 기록/재생은 에러정정코드(Error Correction Code ; ECC) 블록단위 즉, 16섹터 단위로 이루어지는데 호스트는 이를 모르고 시작 LBA를 발생하므로 시작 LBA를 ECC 블록의 첫 번째 섹터 번호와 매칭시키기 위해서이다.This means that recording / playback to the optical disc is made in units of Error Correction Code (ECC) blocks, or 16 sectors, which the host does not know about and generates a starting LBA, so matching the starting LBA with the first sector number of the ECC block. To do that.

상기 단계 504에서는 16의 배수가 되는 시작 LBA를 도 7과 같은 테이블에 적용하여 상기 시작 LBA가 속한 존을 찾는다.In step 504, the starting LBA, which is a multiple of 16, is applied to the table as shown in FIG. 7 to find the zone to which the starting LBA belongs.

즉, 시작 LBA(=LSN)가 0과 L_존[0] 사이에 있으면 시작 LBA는 존 0에 속한다고 판별하고, 시작 LBA(=LSN)가 L_존[0]과 L_존[1]사이에 있으면 시작 LBA는 존 1에 속한다고 판별한다.That is, if the starting LBA (= LSN) is between 0 and L_zone [0], the starting LBA is determined to belong to zone 0, and the starting LBA (= LSN) is between L_zone [0] and L_zone [1]. Between], the starting LBA is determined to belong to zone 1.

상기된 과정에 의해 시작 LBA가 속한 존이 판별되면 상기 존을 도 8의 테이블에 적용하여 옵셋[존]을 찾는다(단계 505). 이는 각 존과 존 사이에 있는 스페어 영역과 보호 영역에도 LSN이 부여되지 않기 때문이다. 만일, 상기 단계 504에서 판별된 존이 존 1이라고 판별되면 도 8의 테이블에서 존 1에 해당하는 옵셋 값을 읽어오면 된다. 상기 옵셋[존] 값은 존과 존 사이에 있는 스페어 영역과 보호 영역에 해당하는 섹터의 개수이다.If the zone to which the starting LBA belongs is determined by the above process, the zone is applied to the table of FIG. 8 to find an offset [zone] (step 505). This is because the spare area and the protection area between each zone are not given an LSN. If the zone determined in step 504 is determined to be zone 1, an offset value corresponding to zone 1 may be read from the table of FIG. 8. The offset [zone] value is the number of sectors corresponding to the spare area and the protection area between the zone and the zone.

상기 단계 505에서 해당 존의 옵셋 값이 결정되면 각 섹터마다 부여되는 데이터 필드 번호(Data field Number ; DFN)을 구한다(단계 506). 즉, DFN은 하기의 수학식 1과 같이 구할 수 있다.When the offset value of the corresponding zone is determined in step 505, a data field number (DFN) assigned to each sector is obtained (step 506). That is, DFN can be obtained as shown in Equation 1 below.

DFN = 시작 LBA + XDFN = start LBA + X

여기서, X는 데이터 영역의 시작 PSN 값으로서, 결함이 없다면 데이터 영역의 시작 PSN은 31000h가 된다.Here, X is a starting PSN value of the data area, and if there is no defect, the starting PSN of the data area is 31000h.

즉, 각 섹터는 헤더 필드(header field), 미러 필드(mirror field), 기록 필드(recoding field)로 구분되고, 상기 기록 필드에는 데이터 필드가 포함되어 있는데, 상기 데이터 필드에 기록되는 데이터는 신호 처리의 단계에 따라 데이터 유니트 1, 데이터 유니트 2, 데이터 유니트 3로 칭한다. 이 중 데이터 유니트 1의 구성을 보면, 도 9a와 같이 데이터 ID 영역과 실제 데이터가 기록되는 메인 데이터 영역을 포함하며, 상기 데이터 ID의 구성은 도 9b와 같이 데이터 필드 정보와 DFN으로 구성된다. 상기 DFN은 상기 수학식 1과 같이 LSN + 데이터 영역의 시작 PSN 값이 되는데, LSN과 마찬가지로 스페어 영역과 보호 영역에는 부여되지 않는다.That is, each sector is divided into a header field, a mirror field, and a recording field, and the recording field includes a data field, and the data recorded in the data field is processed by a signal. Follow the steps to call Data Unit 1, Data Unit 2, and Data Unit 3. As shown in FIG. 9A, the data unit 1 includes a data ID area and a main data area in which actual data is recorded. The data ID is composed of data field information and DFN as shown in FIG. 9B. The DFN becomes the starting PSN value of the LSN + data region as shown in Equation 1, but like the LSN, it is not given to the spare region and the protection region.

그러므로, 상기 DFN이 실제 데이터를 기록하거나 재생할 시작 PSN은 아니다. 즉, DFN이 할당되지 않은 해당 존의 스페어 영역과 보호 영역의 섹터 개수를 고려해 주어야 하며, 이를 위해 단계 507에서는 상기 DFN에 상기 단계 505에서 구한 해당 존의 옵셋 값을 더하여 임시 시작 PSN(Pre_PSN)을 구한다.Therefore, the DFN is not the starting PSN to record or play the actual data. That is, the number of spare areas and protected area sectors of the corresponding zone to which the DFN has not been allocated should be considered. For this purpose, in step 507, the temporary starting PSN (Pre_PSN) is added to the DFN by adding the offset value of the corresponding zone obtained in step 505. Obtain

그리고나서, 옵셋_PDL을 구하는데(단계 508), 옵셋_PDL은 PDL 리스트 중에서 도 6의 테이블에 의한 해당 존 내에 있는 결함 중 Pre_PSN보다 작은 값의 개수가 된다. 예를 들어, Pre_PSN이 존 1에 해당하고 그 값이 45000h이며, PDL에 리스트된 결함 섹터의 수가 존 1에서 10개인데, 존 1의 영역 내에서 45000h보다 작은 결함 섹터의 수가 5라면 옵셋_PDL은 5가 된다. 만일, 45000h보다 작은 존 1의 영역에서 PDL에 리스트된 결함 섹터의 수가 없다면 옵셋_PDL은 0이 된다. 즉, PDL에 리스트된 결함 섹터에 LSN은 부여되지 않으나 PSN은 가지고 있으므로 상기 옵셋_PDL도 시작 PSN에 고려해 주어야 한다.Then, the offset_PDL is obtained (step 508), and the offset_PDL is the number of values smaller than Pre_PSN among defects in the corresponding zone by the table of FIG. 6 in the PDL list. For example, if Pre_PSN corresponds to zone 1 and its value is 45000h, and the number of defective sectors listed in the PDL is 10 in zone 1 and the number of defective sectors less than 45000h in the zone of zone 1 is offset_PDL Becomes five. If the number of defective sectors listed in the PDL in the zone 1 zone smaller than 45000h is offset_PDL is zero. That is, since the LSN is not assigned to the defective sectors listed in the PDL, but the PSN is present, the offset_PDL should also be considered in the starting PSN.

그러므로, 단계 509에서는 Pre_PSN에 상기 옵셋_PDL을 더하여 시작 PSN을 구한다. 그리고, 시작 PSN이 PDL에 있는지를 판별한다(단계 510).Therefore, in step 509, the start PSN is obtained by adding the offset_PDL to Pre_PSN. Then, it is determined whether the starting PSN is in the PDL (step 510).

이때, 시작 PSN이 PDL에 없으면 상기 단계 509에서 구한 시작 PSN이 실제 데이터를 기록 또는 재생하려는 최종 시작 PSN이 되고, 시작 PSN이 PDL에 있으면 이 부분에는 데이터를 쓰거나 읽을 수 없으므로 시작 PSN에 1을 더하여 최종적인 시작 PSN으로 한다(단계 511). 만일, 1 증가된 위치의 시작 PSN도 PDL에 있다면 다시 시작 PSN을 1 증가시키며 이 과정을 시작 PSN이 PDL에 없을 때까지 반복한다.In this case, if the starting PSN is not in the PDL, the starting PSN obtained in step 509 becomes the final starting PSN to record or play the actual data. If the starting PSN is in the PDL, data cannot be written or read in this part, so that 1 is added to the starting PSN. A final starting PSN is taken (step 511). If the starting PSN of the increased position is also in the PDL, the starting PSN is increased by one and the process is repeated until the starting PSN is not in the PDL.

이상에서와 같이 본 발명에 따른 광 기록매체의 기록/재생 위치 검출방법에 의하면, 시작 LSN에 해당하는 존을 찾기 위한 테이블과 각 존과 존 사이의 스페어 영역과 보호 영역에 해당하는 섹터 개수를 기록한 옵셋 테이블을 미리 맵핑한 후 상기 테이블들을 이용하여 호스트에서 전송하는 시작 LSN에 해당하는 시작 PSN을 정확히 찾음으로써, 잘못된 위치에서 데이터를 기록하거나 재생하는 오류가 발생하지 않는다. 또한, 존 별로 스페어 영역이 할당되어 있어도 테이블에 의해 편리하게 PSN을 찾을 수 있게된다.As described above, according to the method of detecting the recording / reproducing position of the optical recording medium according to the present invention, a table for finding a zone corresponding to a starting LSN, a number of spare areas between each zone and the zone, and the number of sectors corresponding to the protection area are recorded. By mapping the offset table in advance and accurately finding the starting PSN corresponding to the starting LSN transmitted from the host using the tables, an error of recording or reproducing data at the wrong position does not occur. In addition, even if a spare area is allocated for each zone, the PSN can be easily found by the table.

Claims (6)

데이터의 기록/재생이 필요하면 데이터에 부여된 논리적 섹터 번호를 전송하는 제어부와, 상기 제어부가 전송하는 논리적 섹터 번호에 해당하는 물리적 섹터 번호에 데이터를 기록하거나 재생하는 광 기록매체 기록/재생 장치를 이용한 광 기록매체의 기록/재생 위치 검출방법에 있어서,A control unit for transmitting a logical sector number assigned to the data and an optical recording medium recording / reproducing apparatus for recording or reproducing data at a physical sector number corresponding to the logical sector number transmitted by the control unit, if data recording / reproducing is necessary. In the recording / playback position detection method of the optical recording medium used, 상기 논리적 섹터 번호가 입력되면 상기 논리적 섹터 번호가 속하는 존을 구하는 단계와,Obtaining a zone to which the logical sector number belongs when the logical sector number is input; 상기 단계에서 구한 존에 해당하는 옵셋[존]을 구하는 단계와,Obtaining an offset [zone] corresponding to the zone obtained in the above step; 상기 논리적 섹터 번호에 데이터 영역의 시작 물리적 섹터 번호를 더한 후 상기 단계에서 구한 옵셋[존]을 더하여 임시 물리적 섹터 번호를 구하는 단계와,Obtaining a temporary physical sector number by adding the starting physical sector number of the data area to the logical sector number and adding the offset [zone] obtained in the above step; 상기 임시 물리적 섹터 번호가 속한 존 내에서 상기 임시 물리적 섹터 번호보다 작은 값의 등록된 결함 섹터의 개수를 구하여 상기 임시 물리적 섹터 번호에 더하여 최종 물리적 섹터 번호를 구하는 단계를 포함하여 이루어지는 것을 특징으로 하는 광 기록매체의 기록/재생 위치 검출방법.Obtaining a number of registered defective sectors having a value smaller than the temporary physical sector number in the zone to which the temporary physical sector number belongs, and obtaining a final physical sector number in addition to the temporary physical sector number. Method for detecting recording / playback position of recording medium. 제 1 항에 있어서, 상기 입력된 논리적 섹터 번호가 시작 논리적 섹터 번호이면서 ECC 블록 단위의 배수가 아니면 상기 시작 논리적 섹터 번호를 ECC 블록 단위의 배수로 하는 것을 특징으로 하는 광 기록매체의 기록/재생 위치 검출방법.The recording / reproducing position detection of the optical recording medium according to claim 1, wherein if the input logical sector number is a starting logical sector number and not a multiple of ECC block units, the starting logical sector number is a multiple of ECC block units. Way. 제 1 항에 있어서, 상기 존을 찾는 단계는The method of claim 1, wherein the step of finding the zone is 논리적 섹터 번호에 따라 각 존을 구별할 수 있도록 테이블을 미리 맵핑시킨 후 상기 테이블을 이용하여 상기 논리적 섹터 번호가 속한 존을 찾는 것을 특징으로 하는 광 기록매체의 기록/재생 위치 검출방법.And mapping a table in advance so as to distinguish each zone according to a logical sector number, and then finding a zone to which the logical sector number belongs by using the table. 제 1 항에 있어서, 상기 옵셋[존]을 구하는 단계는The method of claim 1, wherein the obtaining of the offset [zone] 스페어 영역과 보호 영역에 해당하는 섹터 개수를 각 존별로 테이블에 맵핑시킨 후 상기 테이블에 상기 단계에서 찾은 존을 적용하여 옵셋[존]을 구하는 것을 특징으로 하는 광 기록매체의 기록/재생 위치 검출방법.A method of detecting a recording / reproducing position of an optical recording medium, wherein the number of sectors corresponding to a spare area and a protection area is mapped to a table for each zone, and then an offset [zone] is obtained by applying the zone found in the step to the table. . 제 1 항에 있어서, 상기 최종 물리적 섹터 번호를 구하는 단계는2. The method of claim 1, wherein obtaining the final physical sector number is 시작 물리적 섹터 번호가 등록된 결함 섹터 번호라면 상기 시작 물리적 섹터 번호를 하나 증가시켜 최종 시작 물리적 섹터 번호로 하는 것을 특징으로 하는 광 기록매체의 기록/재생 위치 검출방법.And if the starting physical sector number is a registered defective sector number, the starting physical sector number is increased by one to be the final starting physical sector number. 제 5 항에 있어서, 상기 결함 섹터는 주결함 데이터 저장부(PDL)에 저장된 결함 섹터인 것을 특징으로 하는 광 기록매체의 기록/재생 위치 검출방법.6. A method according to claim 5, wherein the defective sector is a defective sector stored in a main defect data storage (PDL).
KR1019980041894A 1997-12-23 1998-10-07 Method for detecting recording / playback position of optical record carrier KR100282344B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1019980041894A KR100282344B1 (en) 1998-10-07 1998-10-07 Method for detecting recording / playback position of optical record carrier
US09/219,118 US6385736B1 (en) 1997-12-23 1998-12-23 Method and apparatus for managing defect areas of recording medium using sector number comparison techniques

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019980041894A KR100282344B1 (en) 1998-10-07 1998-10-07 Method for detecting recording / playback position of optical record carrier

Publications (2)

Publication Number Publication Date
KR20000025021A true KR20000025021A (en) 2000-05-06
KR100282344B1 KR100282344B1 (en) 2001-04-02

Family

ID=19553259

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019980041894A KR100282344B1 (en) 1997-12-23 1998-10-07 Method for detecting recording / playback position of optical record carrier

Country Status (1)

Country Link
KR (1) KR100282344B1 (en)

Also Published As

Publication number Publication date
KR100282344B1 (en) 2001-04-02

Similar Documents

Publication Publication Date Title
KR100421845B1 (en) optical recording medium and method for managing a defective area
KR100442236B1 (en) Method for searching available good spare block of optical recording medium
JP4191853B2 (en) Recording / reproducing method of optical recording medium
US7539103B2 (en) Method for real time recording/playback of data to/from and optical recording medium and method for managing files thereof
JP2004234859A (en) Data structure of defect management information in optical recording medium
JP2007052925A (en) Optical recording medium and formatting method of optical recording medium
KR100429179B1 (en) Apparatus for managing defect area of optical recording medium and method for managing defect area using the same
KR20010046919A (en) Method for recording data of optical record medium
KR100539509B1 (en) method for defect area management in data recording/playback
KR100459148B1 (en) Optical record medium and method and apparatus for managing it's defect area
KR100689577B1 (en) Recording medium and method for recording/reproducing
KR100282344B1 (en) Method for detecting recording / playback position of optical record carrier
KR100418871B1 (en) Method for real time recording/playback and file managemant of optical recording medium
KR100609856B1 (en) Method for managing defect area of optical recording medium
KR20000026784A (en) Method for managing and initializing defect area of optical recoding medium
KR100672543B1 (en) Optical recording medium and method of managing defective area
KR100421844B1 (en) Method for managing a defective area of information record medium
KR20010063164A (en) Method for managing defect area in an optical disk reader/writer
KR100606977B1 (en) Formatting and Defect Area Management of Optical Recording Media
KR100418870B1 (en) Optical recording media and method for real time data recording/playback and method of file management the same
KR100546570B1 (en) Method for formating and managing defect area of optical recording medium
KR100648352B1 (en) Method for managing defect area in an optical disk reader/writer
KR100546569B1 (en) Method for formating and managing defect area of optical recording medium
KR100447157B1 (en) Method for managing defect area of optical recording medium
KR20040075824A (en) Optical record medium and defect area managing method

Legal Events

Date Code Title Description
A201 Request for examination
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121026

Year of fee payment: 13

FPAY Annual fee payment

Payment date: 20131024

Year of fee payment: 14

FPAY Annual fee payment

Payment date: 20141024

Year of fee payment: 15

FPAY Annual fee payment

Payment date: 20151023

Year of fee payment: 16

LAPS Lapse due to unpaid annual fee