KR100464410B1 - Reassignning method of defect sector and access method for defect sector therefor - Google Patents

Reassignning method of defect sector and access method for defect sector therefor Download PDF

Info

Publication number
KR100464410B1
KR100464410B1 KR10-2002-0018804A KR20020018804A KR100464410B1 KR 100464410 B1 KR100464410 B1 KR 100464410B1 KR 20020018804 A KR20020018804 A KR 20020018804A KR 100464410 B1 KR100464410 B1 KR 100464410B1
Authority
KR
South Korea
Prior art keywords
sector
defect
list
pulse information
reassignment
Prior art date
Application number
KR10-2002-0018804A
Other languages
Korean (ko)
Other versions
KR20030079621A (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 KR10-2002-0018804A priority Critical patent/KR100464410B1/en
Publication of KR20030079621A publication Critical patent/KR20030079621A/en
Application granted granted Critical
Publication of KR100464410B1 publication Critical patent/KR100464410B1/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
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0727Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a storage system, e.g. in a DASD or network based storage system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/0644Management of space entities, e.g. partitions, extents, pools

Abstract

대펙트 섹터 재할당 방법 및 이에 적합한 디펙트 섹터 액세스 방법에 관한 것이다.The present invention relates to a method for reallocating a defect sector and a method for accessing a defect sector suitable for the method.

본 발명에 따른 디펙트 섹터 재할당 방법은 헤더리스 ID 방식의 하드디스크 드라이브에서 디펙트 섹터를 처리하는 방법에 있어서, 상기 하드디스크 드라이브의 사용중에 디펙트 섹터가 발생하면 디펙트 섹터로부터 해당 트랙의 끝까지를 독출하여 버퍼에 저장하는 과정; 상기 버퍼에 저장된 내용을 디펙트된 섹터의 다음 섹터부터 순차로 저장하여 스페어 영역까지 저장하는 과정; 및 상기 디펙트 섹터의 섹터 펄스가 제거된 섹터 펄스 정보를 가지는 재할당 리스트를 작성하는 과정을 포함하는 것을 특징으로 한다.A defect sector reallocation method according to the present invention is a method for processing a defect sector in a headerless ID hard disk drive. Reading out to the end and storing it in a buffer; Storing the contents stored in the buffer sequentially from the next sector of the defective sector to the spare area; And creating a reassignment list having sector pulse information from which sector pulses of the defect sector have been removed.

본 발명에 따른 디펙트 섹터 재할당 방법에 따르면 재할당 섹터에 의한 실행 속도 저하를 최소화할 수 있는 효과가 있다.According to the defect sector reallocation method according to the present invention, there is an effect of minimizing the execution speed reduction by the reallocation sector.

Description

디펙트 섹터의 재할당 방법 및 이에 적합한 디펙트 섹터 액세스 방법{Reassignning method of defect sector and access method for defect sector therefor}Reassignning method of defect sector and access method for defect sector therefor}

본 발명은 하드 디스크 드라이브의 디펙트(defect 결함) 관리 방법에 관한 것으로서 특히 사용자에 의해 사용중이던 디스크에서 발생되는 디펙트 섹터를 처리하는 방법 및 이에 적합한 디펙트 섹터 액세스 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a defect management method of a hard disk drive, and more particularly, to a method for dealing with a defect sector generated in a disk that is being used by a user, and a method for accessing a defect sector suitable thereto.

디스크 드라이브는 정보 저장에 사용되는 마그네틱 기록 장치로서 동심원형의 디스크(통상 미디어(media)라 함)가 복수개 겹쳐진 형태를 가진다. 정보는 디스크의 표면에 형성된 동심원형의 트랙에 기록된다. 규칙적인 방법으로의 데이터 저장 및 검색을 도모하기 위하여 디스크의 트랙은 섹터라고 불려지는 블록들로 구획화된다. 이 섹터들의 위치 정보는 실린더(또는 트랙), 헤드(디스크의 각 표면을 액세스하기 위한 장치) 및 섹터 번호라 불리는 고유한 식별자들에 의해 표현된다.A disk drive is a magnetic recording device used for storing information, and has a form in which a plurality of concentric disks (commonly called media) are stacked. The information is recorded in concentric tracks formed on the surface of the disc. In order to facilitate data storage and retrieval in a regular manner, tracks on a disc are partitioned into blocks called sectors. The positional information of these sectors is represented by unique identifiers called cylinders (or tracks), heads (devices for accessing each surface of the disc) and sector numbers.

디스크는 스핀 모터에 장착되고, 정보는 액튜에이터 아암(actuator arm)에 장착되는 읽기/쓰기 헤드들에 의해 액세스된다.The disk is mounted to the spin motor and the information is accessed by read / write heads mounted to the actuator arm.

한편, 디스크에는 정보를 읽어내거나 써넣을 수 없는 디펙트(defect)라는 부분이 존재하게 된다. 디스크는 자체적으로 디펙트를 가지고 있거나 제품의 생산 과정 혹은 사용자에 의해 사용중인 과정에서 디펙트가 발생할 수도 있다.On the other hand, there is a defect portion in the disc which cannot read or write information. The disc may have its own defects, or defects may occur during production of the product or in use by the user.

하드 디스크 드라이브의 조립 과정 중 액튜에이터 어셈블리(actuator assembly)를 미디어(media)에 로딩(loading)하는 과정에서 긁힘(scratch)에 의해 미디어 상에 디펙트가 발생할 수 있다.In the process of assembling the actuator assembly to the media during the assembling of the hard disk drive, defects may occur on the media by scratching.

스크래치로 인한 미디어의 물리적 파손 형태는 데이터를 읽고 쓰는 기본 단위인 바이트(byte)단위의 손실을 초래한다. 한편, 디스크 드라이브의 제어 가능한 기본 단위는 섹터 및 트랙이기 때문에 스크래치로 인한 손실은 최소한 한 개의 섹터가 된다.The physical form of damage caused by scratching results in loss of bytes, the basic unit of reading and writing data. On the other hand, since the controllable basic units of the disk drive are sectors and tracks, the loss due to scratches is at least one sector.

이와 같은 불량 섹터(디펙트된 섹터)는 데이터의 기록 또는 판독시 사용할 수 없게 된다. 따라서, 디스크 드라이브의 생산 공정에서는 디펙트를 찾아내고, 이를 정상적인 영역으로 대치시킴으로서 사용자에게는 무결점의 디스크를 제공하게 된다.Such a bad sector (defected sector) becomes unusable when writing or reading data. Therefore, in the disc drive production process, the defect is found and replaced with the normal area, thereby providing the user with a flawless disc.

디스크 드라이브의 생산 공정 중에는 번-인 테스트(burn-in test)라는 것이 있다. 번-인 테스트는 데이터 패턴과 기록/독출 조건을 바꾸어 가면서 기록/독출 테스트를 반복적으로 실시하여 디펙트의 존재 여부 및 위치를 파악하는 것이다. 번-인 테스트를 통하여 파악된 디펙트의 위치(실린더, 헤드, 섹터) 및 에러 코드는 로그-인 리스트(log-in list)에 수록하여 이후 사용자가 접근하지 못하도록 한다.One production process for disk drives is the burn-in test. Burn-in tests are performed by repeatedly performing a recording / reading test while changing data patterns and recording / reading conditions to determine the presence and location of defects. Defect locations (cylinders, heads, sectors) and error codes identified through burn-in tests are stored in a log-in list to prevent users from accessing them later.

물론 디펙트는 디스크 드라이브가 출하된 후 사용자에 의해 사용되는 도중에도 발생할 수 있다.Defects can, of course, also occur during use by the user after the disk drive is shipped.

디펙트로 인한 섹터의 물리적 불연속성에도 불구하고, 외부에서 섹터를 액세스하기 위한 섹터 어드레스는 연속적인 것이 되어야 한다. 따라서, 디펙트된 섹터는 스페어 영역의 정상적인 섹터로 대체시켜주는 처리가 필요하며 이러한 처리를 디펙트 처리라 한다.Despite the physical discontinuity of the sector due to defects, the sector address for accessing the sector from the outside must be contiguous. Therefore, the defect sector needs to be replaced with a normal sector in the spare area. Such a process is called a defect process.

디펙트 처리에는 여러 가지 방식이 있지만 대표적인 것으로 슬립(slip) 방식과 재할당(reassign) 방식이 있다.There are various methods of defect processing, but there are slip methods and reassign methods.

슬립 방식은 번인 테스트에서 탐색된 디펙트를 처리하는 방식으로서 주로 사용되고, 재할당 방식은 사용중에 발생된 디펙트(이하 재할당 디펙트라 함)를 처리하는 방식으로 주로 사용된다.The sleep method is mainly used to deal with defects detected in the burn-in test, and the reassignment method is mainly used to deal with defects generated during use (hereinafter referred to as reallocation defects).

슬립 방식과 재할당 방식은 스페어 영역을 사용한다는 점에서는 공통되지만 슬립 방식이 디펙트된 섹터를 그에 연속된 섹터에 의해 대치하고 데이터 영역에서 디펙트된 섹터만큼 모자라는 섹터들을 스페어 영역의 섹터들로 대치하는 방식임에 비해 재할당 방식은 디펙트된 섹터를 단순히 스페어 영역의 섹터로 대치한다는 점에서 다르다.The sleep method and the reallocation method are common in that they use a spare area, but sectors in which the sleep method replaces a defective sector by a contiguous sector and are shorter than the defective sector in the data area are sectors in the spare area. The reassignment method differs from the replacement method in that the defective sector is simply replaced with a sector in the spare area.

슬립 방식은 디펙트된 섹터가 다음의 연속된 섹터에 의해 대치되므로 데이터 액세스 속도가 빠르지만 재할당 방식은 디펙트된 섹터가 스페어 영역의 섹터에 의해 대치되므로 데이터 액세스 속도가 느리다.The sleep method has a high data access rate because the defected sector is replaced by the next consecutive sector, but the reassignment method has a slow data access rate because the defected sector is replaced by the sector in the spare area.

최근의 디스크 드라이버는 점차로 고용량화되고 있고, 이에 맞추어 슬립할 수 있는 디펙트의 용량은 물론이고, 재할당할 수 있는 디펙트의 용량을 점차 증가시켜 데이터 손실을 최소화하고 있다.In recent years, disk drivers have become increasingly high in capacity, and as a result, the loss of defects as well as the capacity of reassignable defects are gradually increased to minimize data loss.

그러나, 슬립 방식과는 달리 재할당 방식에 있어서는 재할당된 섹터가 많아질수록 기록/독출시 잦은 섹터 탐색이 발생하기 때문에 처리 지연이 발생하게 된다.However, unlike the sleep method, in the reallocation method, as the number of reallocated sectors increases, more frequent sector searches occur during recording / reading, thereby causing processing delays.

더구나 현재 디스크 드라이버의 새로운 적용 영역으로 대두되고 있는 멀티미디어 환경에서는 이러한 처리 지연이 클레임을 발생시킬 만큼 중요한 요소가 되고 있다.Moreover, in the multimedia environment that is emerging as a new application area of the disk driver, such processing delay becomes an important factor enough to generate a claim.

본 발명은 상기의 요구에 부응하기 위하여 고안된 것으로서 사용중에 발생되는 재할당 디펙트를 처리함에 있어서 섹터 탐색을 최소화하여 데이터 처리 지연을 방지할 수 있는 새로운 디펙트 섹터 재할당 방법을 제공하는 것을 그 목적으로 한다.SUMMARY OF THE INVENTION The present invention is designed to meet the above requirements, and an object thereof is to provide a new defect sector reallocation method capable of minimizing sector search and preventing data processing delay in processing reallocation defects generated during use. It is done.

본 발명의 다른 목적은 상기의 디펙트 섹터 재할당 방법에 적합한 디펙트 섹터 액세스 방법을 제공하는 것에 있다.Another object of the present invention is to provide a defect sector access method suitable for the defect sector reallocation method described above.

본 발명의 또 다른 목적은 개선된 디펙트 섹터 리스트 작성 방법을 제공하는 것에 있다.Another object of the present invention is to provide an improved defect sector list generation method.

도 1은 스페어 영역을 사용하는 방식을 도식적으로 보이기 위한 것이다.1 is intended to schematically show how to use the spare area.

도 2는 슬립 방식을 도식적으로 보이기 위하여 도시된 것이다.2 is shown to schematically show a slip scheme.

도 3은 존별 스페어를 사용하는 재할당 방식을 도식적으로 보이기 위하여 도시된 것이다.3 is a diagram illustrating a reallocation scheme using zone-specific spares.

도 4은 실린더별 스페어를 사용하는 재할당 방식을 도식적으로 보이기 위하여 도시된 것이다.Figure 4 is shown to schematically illustrate the reassignment scheme using per-cylinder spares.

도 5는 실린더별 스페어 영역을 사용하는 재할당 방식에 있어서 재회전이 발생하는 것을 도식적으로 보이기 위한 것이다.FIG. 5 is a schematic view showing that re-rotation occurs in the reassignment method using the per-cylinder spare area.

도 6은 디스크 드라이브에 있어서 섹터 펄스의 역할을 도식적으로 보이기 위하여 도시된 것이다.6 is shown to schematically illustrate the role of sector pulses in a disk drive.

도 7은 slip list의 섹터 펄스 정보를 참조하는 동작을 도식적으로 보이기 위한 것이다.7 is a diagram schematically showing an operation of referring to sector pulse information of a slip list.

도 8은 재할당 수행 전의 read/write 동작을 도식적으로 보이기 위한 파형도이다.8 is a waveform diagram for schematically showing a read / write operation before performing reallocation.

도 9는 본 발명에 따른 디펙트 섹터 재할당 방법을 보이는 흐름도이다.9 is a flowchart illustrating a defect sector reallocation method according to the present invention.

도 10은 재할당 처리 이후의 동작을 도식적으로 보이기 위한 파형도이다.10 is a waveform diagram for schematically showing an operation after the reassignment process.

도 11은 본 발명에 따른 재할당 섹터의 엑세스 최적화 방법을 보이는 흐름도이다.11 is a flowchart illustrating an access optimization method of reallocation sectors according to the present invention.

상기의 목적을 달성하는 본 발명에 따른 디펙트 섹터 재할당 방법은Defect sector reallocation method according to the present invention to achieve the above object

헤더리스 ID 방식의 하드디스크 드라이브에서 디펙트 섹터를 처리하는 방법에 있어서,In the method of processing a defect sector in a headerless ID hard disk drive,

상기 하드디스크 드라이브의 사용중에 디펙트 섹터가 발생하면 디펙트 섹터로부터 해당 트랙의 끝까지를 독출하여 버퍼에 저장하는 과정;If a defect sector occurs while the hard disk drive is in use, reading from the defect sector to the end of the corresponding track and storing in a buffer;

상기 버퍼에 저장된 내용을 디펙트된 섹터의 다음 섹터부터 순차로 저장하여스페어 영역까지 저장하는 과정; 및Storing contents stored in the buffer sequentially from the next sector of the defect sector to the spare area; And

상기 디펙트 섹터의 섹터 펄스가 제거된 섹터 펄스 정보를 가지는 재할당 리스트를 작성하는 과정을 포함하는 것을 특징으로 한다.And generating a reassignment list having sector pulse information from which the sector pulses of the defect sector have been removed.

상기의 다른 목적을 달성하는 본 발명에 따른 디펙트 섹터 액세스 방법은The defect sector access method according to the present invention to achieve the above another object

헤더리스 ID 방식의 하드디스크 드라이브의 사용중에 디펙트 섹터가 발생하면 디펙트 섹터로부터 해당 트랙의 끝까지를 독출하여 버퍼에 저장하고, 상기 버퍼에 저장된 내용을 디펙트된 섹터의 다음 섹터부터 순차로 저장하여 스페어 영역까지 저장하며, 그리고 상기 디펙트 섹터의 섹터 펄스가 제거된 섹터 펄스 정보를 가지는 재할당 디펙트 리스트를 작성하는 과정;If a defect sector occurs while using a headerless ID hard disk drive, the defect sector is read from the defect sector to the end of the corresponding track and stored in the buffer, and the contents stored in the buffer are sequentially stored from the next sector of the defect sector. Creating a reallocation defect list having sector pulse information from which sector pulses of the defect sector are removed;

상기 하드디스크 드라이브의 출하 이전에 디펙트된 섹터의 섹터 펄스가 제거된 섹터 펄스 정보를 가지는 슬립 디펙트 리스트로부터 섹터 펄스 정보를 획득하는 과정;Acquiring sector pulse information from a sleep defect list having sector pulse information from which sector pulses of a defect sector are removed before shipment of the hard disk drive;

상기 슬립 디펙트 리스트로부터 획득된 섹터 펄스 정보를 상기 재할당 디펙트 리스트의 섹터 펄스 정보에 의해 갱신하는 과정; 및Updating sector pulse information obtained from the sleep defect list by sector pulse information of the reassignment defect list; And

상기 갱신된 섹터 펄스 정보에 의해 디펙트 섹터를 액세스하는 과정을 포함하는 것을 특징으로 한다.And accessing a defect sector by the updated sector pulse information.

상기의 다른 목적을 달성하기 위한 본 발명에 따른 디펙트 리스트 작성 방법은Defect list creation method according to the present invention for achieving the above another object

헤더리스 ID 방식의 하드디스크 드라이버에서 디펙트 섹터에 관련된 정보를 가지는 디펙트 리스트를 작성하는 방법에 있어서,In the method for creating a defect list having information related to a defect sector in a headerless ID hard disk driver,

상기 하드디스크 드라이브의 사용중에 발생된 디펙트 섹터의 섹터 펄스를 제거한 섹터 펄스 정보를 가지는 재할당 디펙트 리스트를 작성하는 과정;Creating a reassignment defect list having sector pulse information from which sector pulses of defect sectors generated during use of the hard disk drive are removed;

상기 하드디스크 드라이브의 출하 이전에 발생되었던 디펙트 섹터의 섹터 펄스가 제거된 섹터 펄스 정보를 가지는 슬립 디펙트 리스트로부터 섹터 펄스 정보를 획득하는 과정;Acquiring sector pulse information from a sleep defect list having sector pulse information from which a sector pulse of a defect sector generated before shipment of the hard disk drive is removed;

상기 재할당 디펙트 리스트로부터 섹터 펄스 정보를 획득하는 과정; 및Obtaining sector pulse information from the reallocation defect list; And

상기 슬립 디펙트 리스트로부터 획득된 섹터 펄스 정보를 상기 재할당 디펙트 리스트로부터 획득된 섹터 펄스 정보에 의해 갱신하는 과정을 포함하는 것을 특징으로 한다.And updating the sector pulse information obtained from the sleep defect list by the sector pulse information obtained from the reassignment defect list.

이하 첨부된 도면을 참조하여 본 발명의 구성 및 동작을 상세히 설명하기로 한다.Hereinafter, the configuration and operation of the present invention will be described in detail with reference to the accompanying drawings.

도 1은 스페어 영역을 사용하는 방식을 도식적으로 보이기 위한 것이다.1 is intended to schematically show how to use the spare area.

스페어 영역(spare area)은 두 가지 중의 하나로 사용된다. 하나는 도 1a에 도시된 바와 같은 존별 스페어 영역이고, 다른 하나는 도 1b에 도시된 바와 같은 실린더(혹은 트랙)별 스페어 영역이다.The spare area is used in one of two ways. One is a zone-specific spare area as shown in FIG. 1A, and the other is a cylinder-specific (or track) spare area as shown in FIG. 1B.

존별 스페어 영역은 동심원형 트랙들을 반경 방향으로 몇 개의 영역들(존)로 분할하고 각 존마다 도 1a에서 빗금친 부분으로 도시된 바와 같은 스페어 영역을 두는 것이다. 따라서, 스페어 영역은 복수개의 트랙으로 구성되며, 액세스의 용이성을 위해서 각 존에서 가장 내주 쪽의 트랙들로 설정된다.The zone-specific spare area divides the concentric circular tracks into several areas (zones) in the radial direction and has a spare area as shown by hatched portions in FIG. 1A for each zone. Therefore, the spare area is composed of a plurality of tracks, and is set as the tracks on the innermost side in each zone for ease of access.

실린더별 스페어 영역은 실린더마다 도 1b에서 빗금친 부분으로 도시된 바와 같은 스페어 영역을 두는 것이다. 따라서, 스페어 영역은 복수 개의 섹터로 구성되며, 트랙마다 설정된다.Spare area per cylinder is to have spare area as shown by hatched in FIG. 1B per cylinder. Therefore, the spare area is composed of a plurality of sectors and is set for each track.

한편, 디펙트 처리 방식은 두 가지로 대별될 수 있다. 하나는 슬립 방식이고, 다른 하나는 재할당 방식이다.On the other hand, there are two types of defect processing methods. One is the slip method and the other is the reallocation method.

디펙트 처리 방법 및 스페어 영역 할당 방법에 따라 3가지의 스페어 영역별 디펙트 처리 방식이 존재한다. 슬립 방식은 그 속성상 스페어 영역이 데이터 영역에 인접할 것을 요구하므로 실린더별 스페어 영역에만 적용 가능하다.According to the defect processing method and the spare area allocation method, there are three defect processing methods for each spare area. The sleep method is applicable only to the spare area for each cylinder because the spare area requires that the spare area be adjacent to the data area.

이에 따라 실린더별 스페어 영역을 사용하는 슬립 방식, 존별 스페어 영역을 사용하는 재할당 방식, 그리고 실린더별 스페어 영역을 사용하는 재할당 방식이 존재한다.Accordingly, there is a slip method using a spare area for each cylinder, a reallocation method using a spare area for each zone, and a reallocation method using a spare area for each cylinder.

실린더별 스페어 영역을 사용하는 슬립 방식(이하 단순히 슬립 방식이라 함)은 디펙트 발생시 디펙트된 섹터 바로 뒤에 있는 섹터부터 스페어 영역까지 어드레스를 하나씩 슬립하여 디펙트된 섹터를 액세스하지 않게 한다.The slip method using a spare cylinder area (hereinafter, simply referred to as a sleep method) slips an address one by one from the sector immediately following the defect sector to the spare area when the defect occurs so that the defective sector is not accessed.

존별 스페어 영역을 사용하는 재할당 방식은 드라이브를 반경 방향으로 여러 개의 존으로 나누고, 각 존에는 스페어 영역(스페어 실린더)를 두게 되며, 디펙트 발생시 디펙트된 섹터를 스페어 실린더에 위치한 스페어 섹터로 대치하여 디펙트된 섹터를 액세스하지 않게 한다.The reallocation method using zone-specific spare areas divides the drive into multiple zones in the radial direction, each zone has a spare area (spare cylinder), and replaces the defective sector with a spare sector located in the spare cylinder when a defect occurs. So that the defect sector is not accessed.

그리고, 실린더별 스페어 영역을 사용하는 재할당 방식은 매 실린더마다 스페어 영역을 두게 되며, 디펙트 발생시 디펙트된 섹터를 스페어 영역에 위치한 스페어 섹터로 대치하여 디펙트된 섹터를 액세스하지 않게 한다.In the reallocation method using a spare area for each cylinder, a spare area is provided for each cylinder, and when a defect occurs, the defective sector is replaced with a spare sector located in the spare area so that the defective sector is not accessed.

도 2는 슬립 방식을 도식적으로 보이기 위하여 도시된 것으로서 상측은 슬립발생전의 상태를 보이는 것이고, 하측은 슬립 발생후의 상태를 보이는 것이다.Figure 2 is shown to show a slip scheme schematically, the upper side shows the state before the slip occurs, the lower side shows the state after the slip occurs.

도 2의 상측에 있어서 실제로는 동심원인 트랙을 직선상으로 펼쳐서 도시한 것이며, D0-D701은 데이터 섹터들을 나타내고, S0-S8은 스페어 섹터들을 나타낸다. 또한, 연속되는 일련번호는 섹터들이 바로 옆에 인접하고 있음을 나타낸다.On the upper side of Fig. 2, the tracks, which are actually concentric circles, are shown in a straight line, D0-D701 representing data sectors, and S0-S8 representing spare sectors. In addition, successive serial numbers indicate that the sectors are immediately adjacent to each other.

도 2의 상측에 있어서 빗금친 부분의 디펙트된 섹터 D1는 스페어 영역의 스페어 섹터에 의해 대치되어야 한다. 슬립 방식에 있어서 디펙트된 섹터 D1는 다음과 같은 과정을 통하여 대치된다.In the upper side of Fig. 2, the defective sector D1 of the hatched portion should be replaced by the spare sector of the spare area. In the sleep method, the defect sector D1 is replaced by the following process.

1) 디펙트된 섹터 D1는 인접한 섹터 D2에 의해 대치되고, D2에는 D1의 어드레스가 할당된다.1) Defected sector D1 is replaced by adjacent sector D2, and an address of D1 is assigned to D2.

2) D2는 다시 인접한 섹터 D3에 의해 대치되고, D3에는 D2의 어드레스가 할당된다. 이러한 방식을 데이터 영역의 모든 섹터들에 대해 수행한다.2) D2 is again replaced by an adjacent sector D3, and an address of D2 is assigned to D3. This approach is performed for all sectors of the data area.

3) 데이터 영역에서의 인접한 섹터들에 의한 대치의 결과 데이터 영역의 마지막에서 가서는 할당할 섹터가 더 이상 없게 된다. 그에 따라 데이터 영역의 마지막 섹터 D701은 스페어 영역의 첫 번째 섹터 S1에 의해 대치된다.3) As a result of the substitution by adjacent sectors in the data area, at the end of the data area there are no more sectors to allocate. Accordingly, the last sector D701 of the data area is replaced by the first sector S1 of the spare area.

도 2의 하측은 실린더별 스페어 영역을 사용한 슬립이 발생한 후의 상태를 보이는 것이다. 도 2의 하측에 있어서 데이터 영역에 검은 블록으로 표시된 섹터는 디펙트 처리된 섹터로서 그것이 더 이상 사용되지 않음을 의미한다. 또한, 화살표는 디펙트된 섹터 D1가 인접된 섹터 D2에 의해 대치되며, D2는 D1의 어드레스에 의해 액세스되는 것을 의미한다.The lower side of FIG. 2 shows a state after the slip using the spare area for each cylinder occurs. In the lower part of Fig. 2, the sectors marked with black blocks in the data area means that they are no longer used as defected sectors. Further, the arrow means that the defective sector D1 is replaced by the adjacent sector D2, and D2 is accessed by the address of D1.

슬립 방식에 있어서는 디펙트된 섹터가 있더라도 섹터들이 연속적으로 위치하므로 한번의 seek 동작으로 모든 섹터들을 액세스할 수 있다.In the sleep method, even when there are defect sectors, since the sectors are continuously positioned, all sectors can be accessed by one seek operation.

도 3은 존별 스페어를 사용하는 재할당 방식을 도식적으로 보이기 위하여 도시된 것이다.3 is a diagram illustrating a reallocation scheme using zone-specific spares.

도 3에 있어서 데이터 영역에 검은 블록으로 표시된 섹터 D2는 디펙트 처리된 섹터로서 그것이 더이상 사용되지 않음을 의미한다. 또한, 화살표는 디펙트된 섹터 D2가 스페어 영역의 섹터 S1에 의해 대치되는 것을 의미한다.Sector D2, indicated by black blocks in the data area in FIG. 3, means that it is a decoded sector and that it is no longer used. Further, the arrow means that the defected sector D2 is replaced by the sector S1 of the spare area.

보통 스페어 실린더는 섹터는 각 존의 마지막 즉 가장 내주 쪽에 두게 되는 데 그 존에서 어떤 섹터가 디펙트되면 스페어 실린더의 섹터로 대체되며, 그 다음부느는 디펙트된 섹터를 액세스할때는 재할당에 의해 대체된 스페어 실린더의 섹터가 액세스되게 된다.Normally, spare cylinders are placed at the end, or innermost, end of each zone, and if any sector in that zone is defective, the spare cylinder is replaced with the sectors that are replaced by reallocation when accessing the defective sector. The sector of the spare cylinder is accessed.

최근 디스크 드라이브가 고용량화되어 한 존의 실린더수가 수천 개에 달하게 되었다. 만약 3000개의 실린더(트랙)을 가지는 존에서 첫 번째 트랙에서 재할당이 수행되었다면 즉, 첫번째 트랙에 디펙트된 섹터가 있고 이것이 스페어 실린더의 스페어 섹터로 대치되었다면, 디펙트된 섹터를 액세스할 때마다 드라이브는 3000트랙의 거래를 매번 seek하게 된다. seek는 트랙 탐색을 말하는 것으로서 이 경우 디펙트된 섹터를 액세스하기 위해서 스페어 실린더를 탐색하기 위한 seek와 다시 원래의 트랙으로 되돌아오기 위한 seek이 수행된다.In recent years, disk drives have grown in capacity to reach thousands of cylinders in a zone. If reallocation is performed on the first track in a zone with 3000 cylinders (tracks), that is, if there is a defect sector on the first track and it is replaced by a spare sector in the spare cylinder, each time the defective sector is accessed The drive seeks for 3000 tracks each time. seek refers to a track search, in which case a seek for searching a spare cylinder to access a defected sector and a seek for returning back to the original track are performed.

최악의 경우 재할당이 한 섹터씩 건너서 발생되면 매 섹터마다 3000 트랙을 액세스하여야 하므로 특정 위치에서 전송 속도가 현저히 느려지게 된다.In the worst case, when reallocation occurs across one sector, the transfer speed is significantly slowed at a specific location since 3000 tracks must be accessed every sector.

도 4은 실린더별 스페어를 사용하는 재할당 방식을 도식적으로 보이기 위하여 도시된 것이다. 도 4에 있어서 실제로는 동심원인 트랙을 직선상으로 펼쳐서 도시한 것이며, D0-D703은 데이터 섹터들을 나타내고, SPARE1과 SPARE2는 스페어 섹터들을 나타낸다. 또한, 연속되는 일련번호는 섹터들이 바로 옆에 인접하고 있음을 나타낸다.Figure 4 is shown to schematically illustrate the reassignment scheme using per-cylinder spares. In FIG. 4, the tracks, which are actually concentric circles, are shown in a straight line, D0-D703 representing data sectors, and SPARE1 and SPARE2 represent spare sectors. In addition, successive serial numbers indicate that the sectors are immediately adjacent to each other.

도 4에 있어서 데이터 영역에 검은 블록으로 표시된 섹터 D2는 디펙트 처리된 섹터로서 그것이 더이상 사용되지 않음을 의미한다. 또한, 화살표는 디펙트된 섹터 D2가 스페어 영역의 섹터 SPARE1에 의해 대치되는 것을 의미한다.Sector D2, indicated by black blocks in the data area in FIG. 4, means that it is a decoded sector and is no longer used. Further, the arrow means that the defected sector D2 is replaced by the sector SPARE1 of the spare area.

실린더별 스페어 섹터를 사용하는 재할당 방식에 있어서 트랙 탐색(track seek)는 발생하지 않지만 스페어 섹터가 실린더의 뒤쪽에 있기 때문에 액세스시 3번의 재회전(revolution)이 필요하다. 여기서, 재회전은 동일한 트랙내에 위치하는 트랙을 탐색하기 위하여 디스크가 1회전하는 것을 말한다.In the reassignment scheme using per-cylinder spare sectors, track seek does not occur, but three revolutions are required for access because the spare sector is behind the cylinder. Here, rerotation means that the disc is rotated once to search for tracks located in the same track.

도 5는 실린더별 스페어 영역을 사용하는 재할당 방식에 있어서 재회전이 발생하는 것을 도식적으로 보이기 위한 것이다. 도 5에 있어서 상측의 그림은 데이터 블록 D2(검은 블록)에서 디펙트가 발생한 것을 나타내고, 하측의 그림은 디펙트된 데이터 블록 D2가 스페터 섹터 SPARE 1에 의해 대치된 것을 나타낸다.FIG. 5 is a schematic view showing that re-rotation occurs in the reassignment method using the per-cylinder spare area. In FIG. 5, the upper figure shows that a defect has occurred in the data block D2 (black block), and the lower figure shows that the defective data block D2 is replaced by the spatter sector SPARE 1. FIG.

먼저, 데이터 섹터 D2를 액세스하기 위해 첫번째 재회전이 수행되고, 다음은 스페어 섹터 SPARE1을 액세스하기 위해 두번째 재회전이 수행되고, 마지막으로 다음의 데이터 섹터 D3를 액세스하기 위한 세번째 재회전이 수행된다.First, a first rerotation is performed to access the data sector D2, then a second rerotation is performed to access the spare sector SPARE1, and finally a third rerotation is performed to access the next data sector D3.

도 3 내지 도 5를 참조하여 설명한 바와 같이 종래의 재할당 방식에서는 디펙트된 섹터를 대신할 섹터(대체 섹터 alternate sector)의 위치가 디펙트된 데이터 섹터에 연속하지 않기 때문에 추가적인 seek(존별 스페어 실린더를 사용하는 경우) 및 재회전(실린더별 스페어 섹터를 사용하는 경우)를 수반한다.As described with reference to FIGS. 3 to 5, in the conventional reallocation scheme, an additional seek (zone-specific spare cylinder) is performed because the position of a sector (alternative sector alternate sector) to replace the defect sector is not continuous with the defective data sector. Is used) and re-rotation (when using a cylinder-specific spare sector).

추가적인 seek 및 재회전에 의해 야기되는 지연(delay)은 A/V(Audi/Video) 데이터를 사용하는 멀티미디어 환경에서는 치명적인 영향을 줄 수 있다.The delay caused by additional seek and re-rotation can have a fatal effect in multimedia environments using A / V (Audi / Video) data.

본 발명은 재할당할 디펙트가 발생할 경우 디펙트된 섹터부터 해당 트랙의 마지막 섹터까지 읽어들인 후 이들을 디펙트된 섹터의 다음 섹터부터 재기록하고, 해당 트랙의 마지막에서 남는 섹터는 스페어 섹터에 기록하게 함으로써 디펙트된 섹터를 액세스할 때 발생되는 지연을 최소화하는 것을 특징으로 한다.In the present invention, when a defect to be reassigned occurs, the defective sector is read from the last sector of the track and then rewritten from the next sector of the defect sector, and the remaining sector at the end of the track is recorded in the spare sector. Thereby minimizing the delay incurred when accessing the defect sector.

도 6은 디스크 드라이브에 있어서 섹터 펄스의 역할을 도식적으로 보이기 위하여 도시된 것이다.6 is shown to schematically illustrate the role of sector pulses in a disk drive.

도 6의 상측의 그림은 실제로는 동심원인 트랙을 일직선으로 펼친 것을 보인다. D0-D701은 데이터 섹터이고, spare1과 spare2는 스페어 섹터이다.The figure on the upper side of FIG. 6 shows that the tracks, which are actually concentric circles, unfold in a straight line. D0-D701 are data sectors, and spare1 and spare2 are spare sectors.

각 섹터는 섹터 펄스(sector pulse)에 동기하여 기록 및 독출된다. 섹터 펄스는 slip 정보를 기록한 slip list에 저장되며, 기록 및 독출 동작에서 참조된다.Each sector is written and read out in synchronization with a sector pulse. Sector pulses are stored in a slip list that records slip information and are referenced in write and read operations.

도 6의 가운데의 파형도는 해당 트랙에 디펙트된 섹터가 없을 경우의 섹터 펄스를 보이고, 도 6의 하측의 파형도는 해당 트랙에서 디펙트된 섹터(그림의 D2)가 있을 경우의 섹터 펄스를 보인다. 도 6의 가운데 파형도와 하측의 파형도를 비교하면 정상적인 섹터에서는 섹터 펄스가 발생하는 것에 비해 디펙트된 섹터 D2에서는 섹터 펄스가 발생하지 않는 것을 알 수 있다. 여기서, 섹터 펄스를 발생하기 위해 참조되는 섹터 펄스 정보는 slip list에 있다.The waveform diagram in the center of FIG. 6 shows a sector pulse when there are no defects in the track, and the waveform diagram below in FIG. 6 shows a sector pulse when there are defects in the track (D2 in the figure). Seems. Comparing the middle and lower waveforms of FIG. 6, it can be seen that sector pulses do not occur in the defected sector D2 as compared with sector sectors in the normal sector. Here, sector pulse information referred to to generate sector pulses is in a slip list.

도 7은 slip list의 섹터 펄스 정보를 참조하는 동작을 도식적으로 보이기 위한 것이다. 디스크 드라이브가 초기화될 때 마이크로 프로세서(72)는 slip list(74)를 독출하여 내부의 버퍼(76)에 적재(load)한다. slip list(74)는 사용자에 의해서는 액세스될 수 없는 관리 실린더(maintenance cylinder)에 기록되어 있다.7 is a diagram schematically showing an operation of referring to sector pulse information of a slip list. When the disk drive is initialized, the microprocessor 72 reads the slip list 74 and loads it into the internal buffer 76. The slip list 74 is recorded in a maintenance cylinder which is not accessible by the user.

각 트랙을 액세스함에 있어서 마이크로 프로세서는 버퍼(76)으로부터 타겟 트랙의 섹터 펄스 정보를 독출하여 시퀀서(sequencer)의 내부 SRAM(78)에 로딩시킨다. 시퀀서는 트랙마다의 섹터 펄스들을 발생하기 위한 장치를 말한다. 시퀀서는 그것의 내부 SRAM(78)에 로딩된 섹터 펄스 정보를 참조하여 도 6의 가운데 파형도에 도시된 바와 같이 각 섹터의 선두에서 섹터 펄스를 발생시킨다. 만일 디펙트된 섹터가 있으면 도 6의 하측 파형도에 도시된 바와 같이 섹터 펄스를 발생시키지 않게 된다. 이에 따라 섹터의 기록 및 독출은 섹터 펄스에 동기하여 수행되며, 디펙트된 섹터에서는 섹터 펄스가 발생하지 않으므로 디펙트된 섹터에서는 기록 및 독출 동작이 수행되지 않게 된다.In accessing each track, the microprocessor reads the sector pulse information of the target track from the buffer 76 and loads it into the internal SRAM 78 of the sequencer. The sequencer refers to an apparatus for generating sector pulses per track. The sequencer generates sector pulses at the head of each sector as shown in the center waveform diagram of FIG. 6 with reference to sector pulse information loaded into its internal SRAM 78. If there is a defected sector, it will not generate a sector pulse as shown in the lower waveform diagram of FIG. Accordingly, the writing and reading of the sector is performed in synchronization with the sector pulse, and since the sector pulse does not occur in the defective sector, the writing and reading operation is not performed in the defective sector.

한편, 디스크의 write/read(선 write 후 read)동작처럼 seek를 하게 되면 항상 slip list에서 타겟 트랙에 slip이 있는 지를 먼저 확인한 다음에 그 내용을 시퀀서의 내부 SRAM(76)에 적재하게 된다.On the other hand, when a seek is performed like a disk write / read (line write and read) operation, the slip list always checks whether there is slip on the target track, and then loads the contents into the internal SRAM 76 of the sequencer.

본 발명의 동작을 재할당 수행전과 재할당 수행 후로 나누어 설명하기로 한다.The operation of the present invention will be described after dividing into before and after reassignment.

1) 재할당 수행전의 동작1) Operation before reassignment

(1) read/writ 동작(1) read / writ operation

재할당의 원인들은 read error, write error 등 여러 가지가 있을 수 있는데, 이들 중에서 read error일 경우처럼 해당 트랙에서 다시 write하는 데 문제가 없는 지를 확인한다. 만일, 해당 트랙을 다시 write하는 데 문제가 없으면 디펙트된 섹터부터 디펙트된 섹터가 속한 트랙의 마지막 섹터까지 읽어서 버퍼에 저장한다. 버퍼에 저장된 내용을 디펙트된 섹터의 다음 섹터부터 차례로 기록한다. 이에 따라 디펙트된 섹터의 내용은 디펙트된 섹터의 다음 섹터에 기록되고, 이를 마지막 섹터까지 반복한다. 여기서, 버퍼에 저장되었던 마지막 섹터의 내용은 스페어 영역의 스페어 섹터에 기록되게 된다.There can be various causes of reallocation such as read error and write error. Among them, make sure that there is no problem in rewriting on the track as in the case of read error. If there is no problem in rewriting the corresponding track, the decoded sector is read and stored in the buffer from the last sector of the track to which the defected sector belongs. The contents stored in the buffer are recorded in order from the next sector of the defect sector. The contents of the defect sector are thus recorded in the next sector of the defect sector, and this is repeated until the last sector. Here, the contents of the last sector stored in the buffer are recorded in the spare sector of the spare area.

headerless ID 방식에서는 index로부터 sector 펄스의 수를 세어서 현재의 섹터 번호를 계산하고, 시퀀서에서는 write/read 동작시 디펙트된 섹터를 만나면 그 때의 섹터 펄스에서부터 상술한 바와 같은 read/write 동작을 수행한다.In the headerless ID method, the current sector number is calculated by counting the number of sector pulses from the index, and the sequencer performs the read / write operation as described above from the sector pulses at the time when the defective sector is encountered during the write / read operation. do.

(2) reassign list 작성 동작(2) reassign list creation operation

디스크 드라이브가 write/read 동작으로 seek를 하게 되면 항상 slip list에서 target sector에 slip이 있는 지를 먼저 확인한다. 그리고나서 시퀀서에서 섹터 펄스를 발생시킬 때 이용할 수 있도록 그 내용을 시퀀서의 내부 SRAM(76)에 로드한다.When a disk drive seeks through a write / read operation, it always checks whether there is a slip in the target sector in the slip list. The contents are then loaded into the sequencer's internal SRAM 76 for use in generating sector pulses.

slip list는 디스크 드라이브가 출하되기 전에 존재하던 디펙트에 관련된 정보를 가질 뿐 디스크 드라이브의 사용중에 발생된 디펙트에 대한 정보는 가지지 않는다.The slip list contains information about defects that existed before the disk drive was shipped, but does not contain information about defects that occurred while the disk drive was in use.

따라서, 만일 디펙트된 섹터에 관련된 섹터 펄스 정보를 slip list loading 이후 수정할 수 있다면 slip list를 수정하지 않고도 sector pulse timing을 자유롭게 조정할 수 있다.Therefore, if sector pulse information related to the defective sector can be modified after slip list loading, sector pulse timing can be freely adjusted without modifying the slip list.

즉, (1)에서와 같이 디펙트된 섹터로부터 해당 트랙의 마지막 섹터의 내용들을 디펙트된 섹터의 다음 섹터부터 스페어 섹터까지 기록시킨 이후에, 디펙트된 섹터에서 섹터 펄스가 발생되지 않도록 섹터 펄스 정보를 수정하면 slip 방식에서와 마찬가지로 seek 및 재회전 없이 재할당 디펙트된 섹터를 액세스할 수 있다.That is, after recording the contents of the last sector of the track from the defected sector as in (1) from the next sector to the spare sector of the defected sector, the sector pulse is not generated in the defected sector. Modifying the information allows access to reallocated defect sectors without seek and re-rotation as in the slip method.

그러나, slip list는 관리 실린더에 저장되며 디스크 드라이브가 출하된 이후에는 갱신될 수 없다.However, the slip list is stored in the management cylinder and cannot be updated after the disk drive is shipped.

본 발명에서는 사용중에 발생된 디펙트 섹터의 섹터 펄스를 제거한 섹터 펄스 정보를 가지는 재할당 리스트를 마련하고, 디펙트된 섹터를 포함하는 트랙을 액세스할 때 slip list 및 재할당 리스트를 참조하여 섹터 펄스를 발생하게 한다.According to the present invention, a reassignment list having sector pulse information obtained by removing sector pulses of a defect sector generated during use is provided, and a sector pulse is referred to with reference to a slip list and a reassignment list when a track including a defective sector is accessed. To generate.

즉, 섹터 펄스를 발생함에 있어서 slip list뿐만 아니라 재할당 리스트를 참조하게 한다.That is, in generating sector pulses, not only the slip list but also the reassignment list are referred to.

도 8은 재할당 수행 전의 read/write 동작을 도식적으로 보이기 위한 파형도이다.8 is a waveform diagram for schematically showing a read / write operation before performing reallocation.

도 8의 (a)는 데이터 섹터 D2(검은 블록)에서 재할당 디펙트가 발생된 것을 보이는 것이다.FIG. 8A shows that reallocation defects have occurred in the data sector D2 (black block).

도 8의 (b)는 재할당 디펙트가 발생된 데이터 섹터 D2부터 해당 트랙의 마지막 섹터까지를 읽어내는 것을 보이는 것이다. 여기서, RG/WG(ReadGate/WriteGate)는 read/write 동작을 제어하는 게이트 신호이다. 디펙트가 발생된 데이터 섹터 D2부터 해당 트랙의 마지막 섹터까지의 내용들은 버퍼에 저장된다.8B shows reading from the data sector D2 where the reallocation defect occurred to the last sector of the track. Here, RG / WG (ReadGate / WriteGate) is a gate signal that controls read / write operations. The contents from the defected data sector D2 to the last sector of the track are stored in the buffer.

도 8의 (c)는 버퍼에 저장된 내용들을 디펙트가 발생된 데이터 섹터 D2의 다음 섹터 D3부터 스페어 섹터 spare1까지에 기록하는 것을 보이는 것이다.FIG. 8C shows that the contents stored in the buffer are recorded from the next sector D3 to the spare sector spare1 of the defective data sector D2.

이러한 기록 동작의 결과 도 8의 (c)의 상측에 도시되는 바와 같이 디펙트가 발생된 데이터 섹터 D2로부터 마지막 섹터까지의 내용들이 1섹터씩 슬립되어 기록된다.As a result of such a recording operation, as shown in the upper side of Fig. 8C, contents from the defect-produced data sector D2 to the last sector are recorded by one sector.

도 9는 본 발명에 따른 디펙트 처리 방법을 보이는 흐름도이다.9 is a flowchart showing a defect processing method according to the present invention.

먼저, 타겟 섹터(target sector)를 독출한다.(s902)First, a target sector is read (s902).

타겟 섹터에서 error가 있는지의 여부를 검사한다.(s904) 에러가 없으면 이후의 재할당 디펙트 처리 동작을 스킵하고 다음 동작 예를 들어 다음 섹터를 독출하는 동작을 수행한다.It is checked whether there is an error in the target sector (s904). If there is no error, the next reallocation defect processing operation is skipped and the next operation, for example, the operation of reading the next sector is performed.

에러가 있으면 데이터가 복구 가능한 것인지를 검사한다.(s906)If there is an error, check whether the data is recoverable (s906).

만일 데이터가 복구 가능한 것이라면 다음의 섹터들 즉, 타겟 섹터의 다음 섹터부터 스페어 섹터까지 기록가능한 것인지를 검사한다.(s908)If the data is recoverable, it is checked whether the next sectors, that is, from the next sector to the spare sector of the target sector, are writable.

만일 데이터가 복구 가능한 것이 아니거나 타겟 섹터의 다음 섹터부터 스페어 섹터까지 기록가능한 것이 아니라면 에러 코드 처리 과정(s918)으로 분기한다.(s908)If the data is not recoverable or not writable from the next sector to the spare sector of the target sector, the process branches to the error code process (s918) (s908).

만일 데이터가 복구 가능하고 또한, 타겟 섹터의 다음 섹터부터 스페어 섹터까지 기록가능한 것이라면 디펙트가 발생한 것으로 판단하여 타겟 섹터부터 마지막 섹터까지를 독출한다. 독출한 데이터들은 버퍼에 저장된다.(s910)If the data is recoverable and recordable from the next sector to the spare sector of the target sector, it is determined that a defect has occurred and the data is read from the target sector to the last sector. The read data is stored in the buffer (s910).

슬립 리스트로부터 독출된 섹터 펄스 정보를 수정한다. 슬립 리스트로부터 독출된 섹터 펄스 정보는 디스크 드라이브의 내부 RAM 및 시퀀서의 내부 RAM에 저장되어 있다. 이들 중에서 내부 RAM에 저장된 섹터 펄스 정보에서 디펙트 섹터의 섹터 펄스를 지운다.(s912)The sector pulse information read from the sleep list is corrected. Sector pulse information read from the sleep list is stored in the internal RAM of the disk drive and the internal RAM of the sequencer. Among them, the sector pulse of the defect sector is erased from the sector pulse information stored in the internal RAM (s912).

버퍼에 저장된 데이터 즉, 타겟 섹터부터 마지막 섹터까지의 데이터를 디펙트 섹터의 다음 섹터부터 스페어 섹터까지에 기록한다.(s914)Data stored in the buffer, that is, data from the target sector to the last sector, are recorded from the next sector to the spare sector of the defect sector (s914).

s912과정에서 작성된 섹터 펄스 정보를 재할당 리스트에 기록한다.(s916)The sector pulse information created in step s912 is recorded in the reassignment list (s916).

s912과정의 결과 재할당 이후의 read/write 동작에서 참조될 재할당 리스트가 작성된다.The reassignment list to be referred to in the read / write operation after the reallocation of the result of s912 is created.

2) 재할당 이후의 동작2) Actions after reassignment

위에서 언급한 바와 같이 write/read 동작시 먼저 slip list를 참조해서 섹터 펄스 정보를 시퀀서의 RAM에 저장시킨다.As mentioned above, during the write / read operation, sector pulse information is first stored in the sequencer's RAM by referring to the slip list.

다음으로 재할당 리스트를 읽어서 RAM에 저장된 섹터 펄스 정보에서 디펙트된 섹터의 섹터 펄스를 없애준다.Next, the reallocation list is read to remove sector pulses of the defect sectors from the sector pulse information stored in RAM.

이에 따라 read 혹은 write시 디펙트된 섹터를 더이상 액세스하지 않게 된다.As a result, the defective sector is no longer accessed when read or written.

도 10은 재할당 처리 이후의 동작을 도식적으로 보이기 위한 파형도이다.10 is a waveform diagram for schematically showing an operation after the reassignment process.

도 10의 (a)는 디스크 드라이브의 내부 RAM에 적재된 슬립 리스트로부터 독출된 섹터 펄스 정보에 의해 발생된 섹터 펄스를 보이는 것이다. 도 10의 (a)에 도시된 것처럼 슬립 리스트에 의해 발생된 섹터 펄스는 디펙트 섹터에서도 발생한다. 이는 슬립 리스트는 재할당된 디펙트 색터에 관한 섹터 펄스 정보를 가지지 않기 때문이다.FIG. 10A shows a sector pulse generated by sector pulse information read from a sleep list loaded in an internal RAM of a disk drive. As shown in Fig. 10A, the sector pulse generated by the slip list also occurs in the defect sector. This is because the slip list does not have sector pulse information for the reallocated defect vector.

도 10의 (b)는 재할당 리스트를 참조하여 발생된 섹터 펄스를 보이는 것이다. 도 10의 (a)와 비교해 보면 디펙트 섹터 D2의 위치에서 섹터펄스가 발생하지 않고 있음을 알 수 있다. 이것은 도 10의 (a)에 도시된 바의 섹터 펄스를 재할당 리스트에 기록된 섹터 펄스 정보를 참조하여 수정한 결과이다.10B illustrates sector pulses generated by referring to the reassignment list. As compared with FIG. 10A, it can be seen that no sector pulse is generated at the defect sector D2. This is the result of modifying the sector pulse as shown in Fig. 10A with reference to the sector pulse information recorded in the reassignment list.

도 11은 본 발명에 따른 재할당 섹터의 엑세스 방법을 보이는 흐름도이다.11 is a flowchart illustrating a method of accessing a reallocation sector according to the present invention.

먼저, read/write 명령이 발생된다.(s1102)First, a read / write command is generated (s1102).

타겟 트랙을 탐색한다.(s1104)The target track is searched (s1104).

타겟 트랙이 탐색되면 슬립 리스트를 독출한다.(s1106)When the target track is found, the slip list is read (s1106).

시퀀서의 내부 RAM에 섹터 펄스 정보를 적재한다.(s1008) 즉, 시퀀서의 내부 RAM에 저장된 이전의 섹터 펄스 정보를 삭제하고 타겟 트랙에 적합한 섹터 펄스 정보를 적재한다.(s1108)The sector pulse information is loaded into the sequencer's internal RAM (s1008). That is, the previous sector pulse information stored in the sequencer's internal RAM is deleted, and the sector pulse information suitable for the target track is loaded (s1108).

재할당 리스트를 독출한다.(s1110)Read the reallocation list (s1110).

재할당 리스트의 색터 펄스 정보를 참조하여 시퀀서의 내부 SRAM(76)에 저장된 섹터 펄스 정보를 수정한다. 즉, 재할당 디펙트된 섹터에 해당하는 섹터 펄스를 지운다. 이후 갱신된 섹터 펄스 정보에 의해 디펙트 섹터를 액세스한다.(s1012)The sector pulse information stored in the internal SRAM 76 of the sequencer is corrected with reference to the colorant pulse information of the reassignment list. That is, the sector pulse corresponding to the reallocated defect sector is erased. Thereafter, the defect sector is accessed by the updated sector pulse information (s1012).

본 발명에 따른 디펙트 리스트 작성 방법은Defect list creation method according to the present invention

재할당 디펙트 리스트 작성 과정과 작성된 재할당 디펙트 리스트에 의해 슬립 디펙트 리스트를 갱신하는 과정을 포함하며, 그 실질적 내용은 도 11을 참조하여 설명된 디텍트 섹터 액세스 방법에 개시되므로 그 상세한 설명은 생략하기로 한다.A process of creating a reallocation defect list and updating a sleep defect list by the created reallocation defect list, the actual contents of which are disclosed in the detection sector access method described with reference to FIG. Will be omitted.

먼저, 재할당 디펙트 리스트를 작성한다.First, create a reallocation defect list.

다음으로 슬립 디펙트 리스트로부터 섹터 펄스 정보를 획득한다. 슬립 디펙트 리스트는 하드 디스크의 출하 이전에 발생되었던 디펙트 섹터의 섹터 펄스가 제거된 섹터 펄스 정보를 가지고 있다.Next, sector pulse information is obtained from the sleep defect list. The sleep defect list contains sector pulse information in which the sector pulses of the defect sectors generated before the shipment of the hard disk are removed.

다음으로 재할당 디펙트 리스트로부터 섹터 펄스 정보를 획득한다. 재할당 디펙트 리스트는 본 발명의 디펙트 섹터 재할당 방법에 의해 재할당된 디펙트 섹터의 섹터 펄스가 제거된 섹터 펄스 정보를 가지고 있다.Next, sector pulse information is obtained from the reallocation defect list. The reassignment defect list has sector pulse information from which sector pulses of the defect sectors reallocated by the defect sector reallocation method of the present invention are removed.

마지막으로 슬립 디펙트 리스트로부터 획득된 섹터 펄스 정보를 재할당 디펙트 리스트로부터 획득된 섹터 펄스 정보에 의해 갱신한다.Finally, the sector pulse information obtained from the sleep defect list is updated by the sector pulse information obtained from the reallocation defect list.

즉, 슬립 디펙트 리스트로부터 얻어진 섹터 펄스 정보에서 재할당 디펙트 섹터에 해당하는 섹터 펄스를 지운다.That is, the sector pulse corresponding to the reallocated defect sector is erased from the sector pulse information obtained from the sleep defect list.

상술한 바와 같은 본 발명에 따른 디펙트 섹터 재할당 방법에 의하면 재할당 디펙트된 섹터를 액세스함에 있어서 트랙 탐색 및 재회전이 필요없기 때문에 데이터의 처리 지연을 방지할 수 있다.According to the defect sector reallocation method according to the present invention as described above, since access to the reallocated defect sector is not required for track search and re-rotation, processing delay of data can be prevented.

또한, PVR(Personal Video Recorder)등에서 하드 디스크 드라이브를 이용하여 동영상을 기록/저장함에 있어서 본 발명의 디펙트 섹터 재할당 방법을 적용하면 디펙트로 인한 데이터 처리 지연 때문에 화면 끊김이 발생하는 것을 방지할 수 있다.In addition, when the defect sector reallocation method of the present invention is applied to recording / storing a video using a hard disk drive in a personal video recorder (PVR) or the like, screen interruption may be prevented due to data processing delay due to defects. Can be.

또한, DVDR/CD-R 등에 데이터를 기록할 때에도 원본 데이터는 하드 디스크 드라이브에 저장하는 경우가 대부분인데 하드 디스크 드라이브로부터의 데이터 스트림이 일정하지 않을 경우 기록 오류가 발생할 수 있다. 본 발명을 적용하면, 이러한 데이터 스트림이 일정하지 않은 것을 개선할 수 있기 때문에 기록 오류를 방지할 수 있다.In addition, even when data is recorded on a DVDR / CD-R or the like, original data is often stored in a hard disk drive, but a recording error may occur when the data stream from the hard disk drive is not constant. By applying the present invention, it is possible to prevent such data streams from being inconsistent, thereby preventing writing errors.

상술한 바와 같이 본 발명에 따른 재할당 디펙트 처리 방법에 따르면 재할당 디펙트에 의한 실행 속도 저하를 최소화할 수 있는 효과가 있다.As described above, the reassignment defect processing method according to the present invention has an effect of minimizing the execution speed reduction due to the reassignment defect.

또한, 최근의 PVR(Personal Video Recorder)등에서 HDD(Hard Disk Drive)로 동영상등을 저장 및 독출할 경우 재할당 디펙트에 의한 화면 끊김이 발생하는 것을 방지할 수 있는 장점이 있다.In addition, when storing and reading a video from a recent PVR (Personal Video Recorder) such as a hard disk drive (HDD), there is an advantage that can be prevented from screen interruption due to reassignment defect.

더우기, DVDR/CD-R 등의 광학 기록 매체에 의해 데이터를 기록할 경우 통상 원본 데이터를 HDD에 기록하는 바 HDD로부터의 데이터 스트림이 일정하기 않을 경우에 발생하는 기록 오류를 줄일 수 있는 장점이 있다.Furthermore, when data is recorded by an optical recording medium such as DVDR / CD-R, original data is usually recorded on the HDD, which reduces the recording error that occurs when the data stream from the HDD is not constant. .

Claims (3)

헤더리스 ID 방식의 하드 디스크 드라이브에서 디펙트 섹터를 처리하는 방법에 있어서,In the method for processing a defect sector in a headerless ID hard disk drive, 상기 하드디스크 드라이브의 사용중에 디펙트 섹터가 발생하면 디펙트 섹터로부터 해당 트랙의 끝까지를 독출하여 버퍼에 저장하는 과정;If a defect sector occurs while the hard disk drive is in use, reading from the defect sector to the end of the corresponding track and storing in a buffer; 상기 버퍼에 저장된 내용을 디펙트된 섹터의 다음 섹터부터 순차로 저장하여 스페어 영역까지 저장하는 과정; 및Storing the contents stored in the buffer sequentially from the next sector of the defective sector to the spare area; And 상기 디펙트 섹터의 섹터 펄스가 제거된 섹터 펄스 정보를 가지는 재할당 리스트를 작성하는 과정을 포함하는 하드 디스크 드라이브의 디펙트 섹터 재할당 방법.And creating a reassignment list having sector pulse information from which the sector pulses of the defect sectors have been removed. 헤더리스 ID 방식의 하드 디스크 드라이브의 사용중에 디펙트 섹터가 발생하면 디펙트 섹터로부터 해당 트랙의 끝까지를 독출하여 버퍼에 저장하고, 상기 버퍼에 저장된 내용을 디펙트된 섹터의 다음 섹터부터 순차로 저장하여 스페어 영역까지 저장하며, 그리고 상기 디펙트 섹터의 섹터 펄스가 제거된 섹터 펄스 정보를 가지는 재할당 리스트를 작성하는 과정;If a defect sector occurs while using a headerless ID hard disk drive, the defect sector is read from the defect sector to the end of the corresponding track and stored in the buffer, and the contents stored in the buffer are sequentially stored from the next sector of the defect sector. Generating a reassignment list having sector pulse information from which sector pulses of the defect sector have been removed; 상기 하드디스크 드라이브의 출하 이전에 디펙트된 섹터의 섹터 펄스가 제거된 섹터 펄스 정보를 가지는 슬립 디펙트 리스트로부터 섹터 펄스 정보를 획득하는 과정;Acquiring sector pulse information from a sleep defect list having sector pulse information from which sector pulses of a defect sector are removed before shipment of the hard disk drive; 상기 슬립 디펙트 리스트로부터 획득된 섹터 펄스 정보를 상기 재할당 디펙트 리스트의 섹터 펄스 정보에 의해 갱신하는 과정; 및Updating sector pulse information obtained from the sleep defect list by sector pulse information of the reassignment defect list; And 상기 갱신된 섹터 펄스 정보에 의해 디펙트 섹터를 액세스하는 과정을 포함하는 디펙트 섹터 액세스 방법.And accessing a defect sector by the updated sector pulse information. 헤더리스 ID 방식의 하드디스크 드라이버에서 디펙트 섹터에 관련된 정보를 가지는 디펙트 리스트를 작성하는 방법에 있어서,In the method for creating a defect list having information related to a defect sector in a headerless ID hard disk driver, 상기 하드디스크 드라이브의 사용중에 발생된 디펙트 섹터의 섹터 펄스를 제거한 섹터 펄스 정보를 가지는 재할당 디펙트 리스트를 작성하는 과정;Creating a reassignment defect list having sector pulse information from which sector pulses of defect sectors generated during use of the hard disk drive are removed; 상기 하드디스크 드라이브의 출하 이전에 발생되었던 디펙트 섹터의 섹터 펄스가 제거된 섹터 펄스 정보를 가지는 슬립 디펙트 리스트로부터 섹터 펄스 정보를 획득하는 과정;Acquiring sector pulse information from a sleep defect list having sector pulse information from which a sector pulse of a defect sector generated before shipment of the hard disk drive is removed; 상기 재할당 디펙트 리스트로부터 섹터 펄스 정보를 획득하는 과정; 및Obtaining sector pulse information from the reallocation defect list; And 상기 슬립 디펙트 리스트로부터 획득된 섹터 펄스 정보를 상기 재할당 디펙트 리스트로부터 획득된 섹터 펄스 정보에 의해 갱신하는 과정을 포함하는 하드 디스크 드라이버의 디펙트 리스트 작성 방법.And updating the sector pulse information obtained from the sleep defect list by the sector pulse information obtained from the reassignment defect list.
KR10-2002-0018804A 2002-04-06 2002-04-06 Reassignning method of defect sector and access method for defect sector therefor KR100464410B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR10-2002-0018804A KR100464410B1 (en) 2002-04-06 2002-04-06 Reassignning method of defect sector and access method for defect sector therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2002-0018804A KR100464410B1 (en) 2002-04-06 2002-04-06 Reassignning method of defect sector and access method for defect sector therefor

Publications (2)

Publication Number Publication Date
KR20030079621A KR20030079621A (en) 2003-10-10
KR100464410B1 true KR100464410B1 (en) 2005-01-03

Family

ID=32378025

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2002-0018804A KR100464410B1 (en) 2002-04-06 2002-04-06 Reassignning method of defect sector and access method for defect sector therefor

Country Status (1)

Country Link
KR (1) KR100464410B1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100699877B1 (en) * 2005-11-15 2007-03-28 삼성전자주식회사 Method for preserving data of the defect sector and disc drive using the same

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0845192A (en) * 1994-07-28 1996-02-16 Sony Corp Recording and reproducing device using disk-shaped recording medium and method therefor
KR970060046A (en) * 1996-01-09 1997-08-12 김광호 Defect handling method of hard disk
KR19990069723A (en) * 1998-02-12 1999-09-06 윤종용 Sector reallocation method when search error occurs
JP2000242438A (en) * 1999-02-19 2000-09-08 Matsushita Electric Ind Co Ltd Disk array system capable of executing reassign processing
JP2001195835A (en) * 2000-01-06 2001-07-19 Internatl Business Mach Corp <Ibm> Method for allocating alternate sector, method for reading out data, disk drive assembly and device for reading out and writing av data
KR20030073289A (en) * 2002-03-09 2003-09-19 주식회사 엘지이아이 Method for managing a defect of optical disk reader/writer

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0845192A (en) * 1994-07-28 1996-02-16 Sony Corp Recording and reproducing device using disk-shaped recording medium and method therefor
KR970060046A (en) * 1996-01-09 1997-08-12 김광호 Defect handling method of hard disk
KR19990069723A (en) * 1998-02-12 1999-09-06 윤종용 Sector reallocation method when search error occurs
JP2000242438A (en) * 1999-02-19 2000-09-08 Matsushita Electric Ind Co Ltd Disk array system capable of executing reassign processing
JP2001195835A (en) * 2000-01-06 2001-07-19 Internatl Business Mach Corp <Ibm> Method for allocating alternate sector, method for reading out data, disk drive assembly and device for reading out and writing av data
KR20030073289A (en) * 2002-03-09 2003-09-19 주식회사 엘지이아이 Method for managing a defect of optical disk reader/writer

Also Published As

Publication number Publication date
KR20030079621A (en) 2003-10-10

Similar Documents

Publication Publication Date Title
JP5395228B2 (en) Write-once information recording medium, information recording method, information reproducing method, information recording apparatus, and information reproducing apparatus
US7421639B2 (en) Information storage medium on which drive data is recorded, and method of recording information on the information storage medium
US7961569B2 (en) Information recording device capable of high speed physical reformatting and recording
JPH02263362A (en) Method for accessing data on recording medium and data recorder using this method
US6279118B1 (en) Recording medium storing additional information for defect management and method for managing defects
JP2003308663A (en) Method for managing defect area of optical recording medium
JP4224391B2 (en) Write-once information recording medium, information recording method, information reproducing method, information recording apparatus, and information reproducing apparatus
US7155640B2 (en) HDD defect list searching method
KR20040027259A (en) Method for managing a defect area on optical disc write once
KR100464410B1 (en) Reassignning method of defect sector and access method for defect sector therefor
KR19990075796A (en) Optical disc
KR100689577B1 (en) Recording medium and method for recording/reproducing
US7821894B2 (en) Method and apparatus for recording information onto and reproducing information from a recording medium and managing a defective area in a recording medium
US7451364B2 (en) Method and apparatus for managing disc defects using updateable DMA, and disc thereof
KR20110102867A (en) Information recording medium, information recording device, information recording method, information reproducing device, and information reproducing method
RU2319226C1 (en) Method for controlling processing of disk defects and device for its realization, and also disk for said device
KR100660853B1 (en) Hard disk drive with position-changed spare cylinder including reassign sector
CN100520948C (en) Method for managing defect of recording media
KR100656995B1 (en) Recovery Method of Recording Error for Optical Writing Media
JPS63863A (en) Optical disk recording method
JPH04238163A (en) Information recording and reproducing device
WO2005096303A2 (en) Data recording and reproducing apparatus, data recording and reproducing method and recording medium
KR20010002478A (en) Method for initializing digital video disc-RAM considering defect
JPH02240869A (en) Information recording and reproducing device
JPS6344362A (en) Disk memory device

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
LAPS Lapse due to unpaid annual fee