KR100604029B1 - Method for writing data in an optical disk reader/writer - Google Patents

Method for writing data in an optical disk reader/writer Download PDF

Info

Publication number
KR100604029B1
KR100604029B1 KR1019990060134A KR19990060134A KR100604029B1 KR 100604029 B1 KR100604029 B1 KR 100604029B1 KR 1019990060134 A KR1019990060134 A KR 1019990060134A KR 19990060134 A KR19990060134 A KR 19990060134A KR 100604029 B1 KR100604029 B1 KR 100604029B1
Authority
KR
South Korea
Prior art keywords
data
recorded
recording
ecc block
ecc
Prior art date
Application number
KR1019990060134A
Other languages
Korean (ko)
Other versions
KR20010063165A (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 KR1019990060134A priority Critical patent/KR100604029B1/en
Priority to US09/735,645 priority patent/US6842411B2/en
Publication of KR20010063165A publication Critical patent/KR20010063165A/en
Application granted granted Critical
Publication of KR100604029B1 publication Critical patent/KR100604029B1/en

Links

Images

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/1866Error detection or correction; Testing, e.g. of drop-outs by interleaving
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B7/00Recording or reproducing by optical means, e.g. recording using a thermal beam of optical radiation by modifying optical properties or the physical structure, reproducing using an optical beam at lower power by sensing optical properties; Record carriers therefor
    • G11B7/002Recording, reproducing or erasing systems characterised by the shape or form of the carrier
    • G11B7/0037Recording, reproducing or erasing systems characterised by the shape or form of the carrier with discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B7/00Recording or reproducing by optical means, e.g. recording using a thermal beam of optical radiation by modifying optical properties or the physical structure, reproducing using an optical beam at lower power by sensing optical properties; Record carriers therefor
    • G11B7/004Recording, reproducing or erasing methods; Read, write or erase circuits therefor
    • G11B7/0045Recording
    • 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/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1217Formatting, e.g. arrangement of data block or words on the record carriers on discs
    • G11B2020/1218Formatting, e.g. arrangement of data block or words on the record carriers on discs wherein the formatting concerns a specific area of the disc
    • G11B2020/1222ECC block, i.e. a block of error correction encoded symbols which includes all parity data needed for decoding
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B2220/00Record carriers by type
    • G11B2220/20Disc-shaped record carriers
    • G11B2220/25Disc-shaped record carriers characterised in that the disc is based on a specific recording technology
    • G11B2220/2537Optical discs

Abstract

본 발명에 따른 광기록재생기의 데이터 기록 방법은, 데이터 기록 명령을 수신하는 단계와, 사용자 영역 블록에 기록할 데이터를 인코딩하는 단계와, 인코딩된 ECC 블록 단위의 데이터를 버퍼에 저장하는 단계 및 버퍼에 저장된 ECC 블록 수가 소정의 ECC 블록 수보다 커지면, ECC 블록의 데이터를 기록하는 단계를 포함한다.A data recording method of an optical recorder according to the present invention comprises the steps of: receiving a data recording command, encoding data to be recorded in a user area block, storing data in units of encoded ECC blocks in a buffer, and buffer And recording the data of the ECC block when the number of ECC blocks stored in the data is larger than the predetermined number of ECC blocks.

여기서, 기록할 데이터를 인코딩하는데 있어, 기록할 데이터가 섹터 단위의 데이터이면, 섹터에 대응되는 사용자 영역의 ECC 블록의 데이터를 재생하여, 새로 기록할 데이터를 재생된 ECC 블록의 데이터에 삽입하고, 그 처리된 ECC 블록을 인코딩하며, 기록할 데이터가 ECC 블록 단위의 데이터이면, 사용자 영역의 ECC 블록 데이터를 재생하지 아니하고, 기록할 ECC 블록을 인코딩한다.Here, in encoding the data to be recorded, if the data to be recorded is data in sector units, the data of the ECC block of the user area corresponding to the sector is reproduced, and the newly recorded data is inserted into the data of the reproduced ECC block, The processed ECC block is encoded. If the data to be recorded is data in units of ECC blocks, the ECC block to be recorded is encoded without reproducing ECC block data of the user area.

또한, 버퍼에 저장된 ECC 블록 데이터는, 데이터 기록 명령이 수신된 시각부터 소정의 일정 시간이 경과될 때까지 새로 수신되는 데이터 기록 명령이 없으면, 그 저장된 ECC 블록에 대한 기록이 수행된다.In addition, ECC block data stored in the buffer is recorded for the stored ECC block if there is no data recording command newly received from the time at which the data recording command is received until a predetermined time elapses.

이와 같은 본 발명에 의하면, 데이터를 기록함에 있어 기록할 데이터 블록을 인코딩하여 버퍼에 저장한 후에, 그 저장된 데이터의 크기가 일정 크기 이상이 되면 데이터 기록을 수행함으로써, 데이터 재생 과정과 데이터 기록 과정을 분리시키고, 서보의 시크 횟수를 줄여 데이터 기록 시간을 단축할 수 있는 장점이 있다.According to the present invention, in recording data, after encoding a data block to be recorded and storing it in a buffer, data recording is performed by performing data recording when the size of the stored data is larger than a predetermined size. There is an advantage in that the data recording time can be shortened by separating and reducing the number of seeks of the servo.

Description

광기록재생기의 데이터 기록 방법{Method for writing data in an optical disk reader/writer}Method for writing data in an optical disk reader / writer

도 1은 일반적인 광 디스크의 데이터 저장 상태를 개념적으로 나타낸 도면.1 is a diagram conceptually showing a data storage state of a general optical disc.

도 2는 본 발명에 따른 광기록재생기의 데이터 기록 방법의 구현을 위한 광기록재생 시스템의 개략적인 구성도.2 is a schematic configuration diagram of an optical recording and reproducing system for implementing a data recording method of an optical recording and reproducing apparatus according to the present invention.

도 3은 본 발명에 따른 광기록재생기의 데이터 기록 방법의 실행 과정을 나타낸 흐름도.3 is a flowchart showing an execution process of a data recording method of the optical recorder according to the present invention.

도 4는 연속으로 수신되는 데이터 기록 명령의 일부분을 나타낸 도면.4 illustrates a portion of a data write command that is received in succession.

도 5는 본 발명에 따른 광기록재생기의 데이터 기록 방법에 따라 도 4의 데이터 기록 명령을 수행하는데 있어서, 서보의 시크 순서와 데이터가 저장된 상태를 개념적으로 나타낸 도면.FIG. 5 is a diagram conceptually illustrating a seek order of servos and a state in which data is stored in the data recording command of FIG. 4 according to the data recording method of the optical recorder according to the present invention; FIG.

도 6은 본 발명에 따른 광기록재생기의 데이터 기록 방법에 따라 도 4의 데이터 기록 명령을 수행하는데 있어서, 버퍼의 데이터 저장 상태를 개념적으로 나타낸 도면.FIG. 6 is a diagram conceptually illustrating a data storage state of a buffer in executing the data recording command of FIG. 4 according to the data recording method of the optical recorder according to the present invention; FIG.

<도면의 주요 부분에 대한 부호의 설명><Explanation of symbols for the main parts of the drawings>

201... 디스크 202... 데이터 프로세서201 ... Disk 202 ... Data Processor

203... ECC 메모리부 204... 마이콤203 ... ECC memory section 204 ... Micom

205... 버퍼 206... 호스트205 ... Buffer 206 ... Host

본 발명은 광기록재생기에 관한 것으로서, 더 상세히는 광기록재생기의 데이터 기록 방법에 관한 것으로, 특히 데이터를 기록함에 있어 데이터 재생 과정과 데이터 기록 과정을 분리시키고, 서보(servo)의 시크(seek) 횟수를 줄여 데이터 기록 시간을 단축할 수 있는 광기록재생기의 데이터 기록 방법에 관한 것이다.BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an optical recorder, and more particularly, to a data recording method of an optical recorder. In particular, in recording data, a data seek process is separated from a data recorder and a servo seek is performed. The present invention relates to a data recording method of an optical recorder capable of shortening the data recording time by reducing the number of times.

일반적으로, 광기록 매체는 반복 기록의 가능 여부에 따라서 읽기 전용의 ROM(Read Only Memory)형과, 1회 기록 가능한 WORM(Write Once Read Many)형 및 반복적으로 기록할 수 있는 재기록 가능형 등으로 크게 3종류로 분류된다.Generally, optical recording media are read-only ROM (ROM) type, write once read many (WORM) type, rewritable type, and the like which can be repeatedly recorded depending on whether repeat recording is possible. It is classified into three kinds.

여기서, ROM형 광기록 매체는 컴팩트 디스크(CD:Compact Disc) ROM과 디지털 다기능 디스크(DVD:Digital Versatile Disc) ROM 등이 있으며, WORM형 광기록 매체는 1회 기록 가능한 컴팩트 디스크(CD-R:Recodable Compact Disc)와 1회 기록 가능한 디지털 다기능 디스크(DVD-R:Recodable Digital Versatile Disc) 등이 있다.Here, the ROM type optical recording medium includes a compact disc (CD) ROM and a digital versatile disc (DVD) ROM, and the WORM type optical recording medium is a write once compact disc (CD-R). Recodable Compact Discs and Recordable Digital Versatile Discs (DVD-R).

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

한편, DVD-RAM 드라이브는, 호스트(host)의 명령에 의해서 디스크에 기록된 사용자 데이터(user data)를 재생하거나, 상기 호스트로부터 전송된 사용자 데이터 를 디스크에 기록한다. 이때, 상기 호스트는 명령 코드와 함께 재생 또는 기록할 위치와 기록 섹터 수를 지정해서 명령을 전달한다. 이에 따라, 상기 드라이브는 그 수신된 명령을 해석하여, 데이터 재생 명령의 경우에는 상기 디스크에서 그 데이터를 재생하여 상기 호스트로 전송하며, 데이터 기록 명령의 경우에는 데이터를 전송받은 후, 명령을 수신하였음을 알리는 응답 신호를 상기 호스트에게 먼저 전달하고 시간이 허용되는 데로 그 데이터를 상기 디스크에 기록한다. On the other hand, the DVD-RAM drive reproduces user data recorded on the disc by a command of the host, or records user data transmitted from the host on the disc. At this time, the host transmits a command by designating a position to be reproduced or recorded together with the command code and the number of record sectors. Accordingly, the drive interprets the received command, reproduces the data from the disc in the case of the data reproducing command, and transmits the data to the host, and receives the command after receiving the data in the case of the data recording command. The host first sends a response signal to the host and writes the data to the disk as time permits.

따라서, 상기 호스트는 데이터 재생의 경우에는 상기 드라이브가 주는 데이터를 다 받은 후에 다음 명령을 전달하고, 데이터 기록의 경우에는 기록 데이터를 모두 전송한 후에 상기 드라이브로부터 응답 신호가 수신되면 다음 명령을 전달한다.Therefore, in case of data reproduction, the host transmits the next command after receiving the data given by the drive, and in case of data recording, transmits the next command when the response signal is received from the drive after transmitting all the recording data. .

한편, 연속되는 사용자 블록에 대한 데이터 기록 명령이 수신되는 경우에는, 데이터 기록 완료 시점에 다음 데이터 기록 명령이 수신되면, 픽업은 이미 현재 명령을 수행하고 나서 다음 명령을 수행할 부분을 지나가 버리는 경우가 발생된다. 따라서, 이런 경우에는 서보가 백 점프(back jump)를 수행하여 기록하고자 하는 부분을 다시 찾아 기록을 해야 한다. 이렇게 되면 데이터 기록 명령이 내려질 때마다 서보가 백 점프를 실시해야 하기 때문에 기록 성능을 상당히 저하시킨다. On the other hand, in the case where a data write command for a continuous user block is received, when the next data write command is received at the completion of data recording, the pickup has already passed the portion to execute the next command after executing the current command. Is generated. Therefore, in this case, the servo must perform a back jump to find and record the part to be recorded again. This significantly reduces the recording performance because the servo must perform a back jump each time a data write command is issued.

도 1은 일반적인 광 디스크의 데이터 저장 상태를 개념적으로 나타낸 도면이다.1 is a diagram conceptually illustrating a data storage state of a general optical disc.

도 1을 참조하면, 여기서 A-16, A, A+16, A+32 및 a는 광 디스크의 번지를 나타낸 것이다. 디스크는 제조된 이후에 0번 번지부터 이후 16의 배수에 해당하는 번지마다 가상의 경계가 나누어져 있다. 이 경계를 ECC(Error Correction Code) 블록 경계라 한다. 이 ECC 블록은 상기 디스크 내부에 저장되어 있는 데이터를 재생하거나, 또는 상기 디스크에 데이터를 기록할 때 데이터를 처리하는 단위가 된다. 예를 들어, 도 1의 a 번지부터 시작되는 x 부분의 데이터를 재생하라는 명령을 받으면, 이에 따라 호스트로 전송해 주는 데이터는 x 부분의 데이터에 불과하지만, 그 x 부분의 데이터를 재생하기 위해서는 X 전체의 데이터 즉, y1, x, y2 부분의 데이터를 읽어야 한다.1, where A-16, A, A + 16, A + 32 and a represent the address of an optical disk. After the disk is manufactured, virtual boundaries are divided for each address corresponding to a multiple of address 0 to 16 afterwards. This boundary is called an Error Correction Code (ECC) block boundary. This ECC block becomes a unit for processing data when reproducing data stored in the disk or recording data on the disk. For example, if a command to play the data of the x part starting from address a of FIG. 1 is received, the data transmitted to the host accordingly is only the data of the x part, but in order to play the data of the x part, You need to read the entire data, that is, the data in the y 1 , x and y 2 parts.

또한, 상기 디스크에 데이터를 기록할 때에도 x 부분에 데이터를 기록하라는 명령이 수신되면 x 부분의 데이터뿐만 아니라 y1, y2 부분의 데이터도 같이 인코딩 (encoding)하여 기록하여야 하며, 또한 ECC 블록 단위로 기록해야 한다.In addition, even when data is recorded on the disc, if a command to record data is received in the x part, not only the data of the x part but also the data of the y 1 and y 2 parts must be encoded and recorded together with the ECC block unit. It should be recorded as

이와 같이, DVD-RAM은 데이터를 기록하거나 재생을 할 때, 항상 ECC 블록 단위로 처리한다. 하지만, 호스트는 반드시 ECC 블록 단위로 기록이나 재생을 명하지 않는다. 이때, 상기 호스트로부터 섹터 단위의 데이터 기록 명령을 수신한 드라이브는 기록하라고 명 받은 섹터를 포함하는 ECC 블록을 먼저 재생하고, 상기 호스트에서 넘겨 받은 사용자 데이터를 그 ECC 블록 내의 지정 위치에 삽입한 후 인코딩하여 ECC 블록에 맞추어서 기록을 해야 한다. 이렇게 하지 않으면 ECC 블록 내에 존재하는 다른 섹터의 데이터가 손상되기 때문이다.In this way, the DVD-RAM always processes ECC blocks in recording or reproducing data. However, the host does not necessarily command recording or reproduction in units of ECC blocks. At this time, the drive receiving the data write command in units of sectors from the host first plays back the ECC block including the sector commanded to write, inserts the user data received from the host into the designated position in the ECC block, and then encodes it. Record in accordance with the ECC block. If you do not do this, data in other sectors existing in the ECC block will be corrupted.

그런데, 특히 ECC 블록 경계와 어긋나는 데이터 기록 명령이 연속적으로 수신되면 재생/기록 동작이 반복되기 때문에 그 기록 속도가 상당히 저하되는 단점이 있다.However, there is a disadvantage in that the recording speed is considerably lowered, because the reproduction / recording operation is repeated, in particular, when a data recording command that is continuously shifted from the ECC block boundary is received.

본 발명은 상기와 같은 여건을 감안하여 창출된 것으로서, 데이터를 기록함에 있어 데이터 재생 과정과 데이터 기록 과정을 분리시키고, 서보의 시크 횟수를 줄여 데이터 기록 시간을 단축할 수 있는 광기록재생기의 데이터 기록 방법을 제공함에 그 목적이 있다.The present invention has been made in view of the above-described conditions. In the recording of data, the data recording process of the optical recording and reproducing process can be separated from the data reproducing process and the data recording process, and the data recording time can be shortened by reducing the number of servo seeks. The purpose is to provide a method.

상기의 목적을 달성하기 위하여 본 발명에 따른 광기록재생기의 데이터 기록 방법은, In order to achieve the above object, the data recording method of the optical recorder according to the present invention,

(a) 데이터 기록 명령을 수신하는 단계와;(a) receiving a data write command;

(b) 상기 단계에서 수신된 데이터 기록 명령을 분석하여, 해당되는 사용자 영역 블록에 기록할 데이터를 인코딩하는 단계와;(b) analyzing the data write command received in the step to encode data to be recorded in the corresponding user area block;

(c) 상기 단계에서 인코딩된 ECC 블록 단위의 데이터를 버퍼에 저장하는 단계; 및(c) storing the data of the ECC block unit encoded in the step in a buffer; And

(d) 상기 단계에서 버퍼에 저장된 ECC 블록 수가 설정된 ECC 블록 수보다 커지면, 버퍼에 저장되어 있는 ECC 블록의 데이터를 기록하는 단계를 포함하는 점에 그 특징이 있다.and (d) recording the data of the ECC blocks stored in the buffer when the number of ECC blocks stored in the buffer is larger than the set number of ECC blocks in the above step.

여기서, 상기 단계 (b)에서 기록할 데이터를 인코딩하는데 있어, 기록할 데이터가 섹터 단위의 데이터이면, 상기 섹터에 대응되는 사용자 영역의 ECC 블록의 데이터를 재생하여, 새로 기록할 데이터를 재생된 ECC 블록의 데이터에 삽입하고, 그 처리된 ECC 블록을 인코딩하는 점에 그 특징이 있다.Here, in encoding the data to be recorded in the step (b), if the data to be recorded is data in sector units, the data of the ECC block in the user area corresponding to the sector is reproduced to reproduce the newly recorded data. The feature is that it inserts into the data of the block and encodes the processed ECC block.

또한, 상기 단계 (b)에서 기록할 데이터를 인코딩하는데 있어, 기록할 데이터가 ECC 블록 단위의 데이터이면, 사용자 영역의 ECC 블록 데이터를 재생하지 아니하고, 기록할 ECC 블록을 인코딩하는 점에 그 특징이 있다.Also, in encoding the data to be recorded in step (b), if the data to be recorded is data in units of ECC blocks, the feature is that the ECC block to be recorded is encoded without reproducing ECC block data of the user area. have.

또한, 상기 단계 (c)에서 버퍼에 저장된 ECC 블록 데이터는, 데이터 기록 명령이 수신된 시각부터 소정의 일정 시간이 경과될 때까지 새로 수신되는 데이터 기록 명령이 없으면, 그 저장된 ECC 블록에 대한 기록이 수행되는 점에 그 특징이 있다.In addition, the ECC block data stored in the buffer in the step (c), if there is no data recording command newly received until a predetermined time elapses from the time when the data recording command is received, the recording of the stored ECC block is performed. There is a characteristic in that it is performed.

이와 같은 본 발명에 의하면, 데이터를 기록함에 있어 기록할 데이터 블록을 인코딩하여 버퍼에 저장한 후에, 그 저장된 데이터의 크기가 일정 크기 이상이 되면 데이터 기록을 수행함으로써, 데이터 재생 과정과 데이터 기록 과정을 분리시키고, 서보의 시크 횟수를 줄여 데이터 기록 시간을 단축할 수 있는 장점이 있다.According to the present invention, in recording data, after encoding a data block to be recorded and storing it in a buffer, data recording is performed by performing data recording when the size of the stored data is larger than a predetermined size. There is an advantage in that the data recording time can be shortened by separating and reducing the number of seeks of the servo.

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

도 2는 본 발명에 따른 광기록재생기의 데이터 기록 방법의 구현을 위한 광기록재생 시스템의 개략적인 구성도이다.2 is a schematic configuration diagram of an optical recording and reproducing system for implementing a data recording method of an optical recording and reproducing apparatus according to the present invention.

도 2를 참조하면, 본 발명에 따른 광기록재생기의 데이터 기록 방법의 구현을 위한 광기록재생 시스템은, 디스크(201)와, 상기 디스크(201)로부터 독출한 데이터 및 디스크(201)에 기록할 데이터를 처리하는 데이터 프로세서(202)와, 상기 데이터 프로세서(202)가 데이터를 읽고/쓰는 ECC 블록 단위의 데이터가 저장되는 ECC 메모리부 (203)와, 상기 데이터 프로세서(202)를 제어하는 마이크로 컴퓨터(이 하, 마이콤으로 약칭)(204)와, 상기 데이터 프로세서(202)가 상기 디스크(201)에 기록하려는 데이터 블록을 인코딩하여 저장하는 버퍼(205) 및 상기 마이콤(204)에 데이터를 요청하는 호스트(206)를 포함한다.2, an optical recording / reproducing system for implementing a data recording method of an optical recording / reproducing apparatus according to the present invention includes a disk 201, data read out from the disk 201, and a disk 201 for recording. A data processor 202 for processing data, an ECC memory unit 203 for storing data in units of ECC blocks in which the data processor 202 reads / writes data, and a microcomputer for controlling the data processor 202. (Hereinafter abbreviated as micom) 204, and the data processor 202 requesting data to the buffer 205 and the micom 204 for encoding and storing the data block to be recorded on the disk 201. Host 206.

또한, 도 3은 본 발명에 따른 광기록재생기의 데이터 기록 방법의 실행 과정을 나타낸 흐름도이다. 3 is a flowchart showing an execution process of a data recording method of the optical recorder according to the present invention.

도 3을 참조하면, 본 발명에 따른 광기록재생기의 데이터 기록 방법에 따라, 먼저 호스트(206)로부터 데이터 기록 명령이 수신되면 (단계 301), 수신된 기록 명령을 분석하여, 해당되는 사용자 영역 블록에 기록할 데이터를 인코딩한다(단계 302).Referring to FIG. 3, according to the data recording method of the optical recorder according to the present invention, when a data recording command is first received from the host 206 (step 301), the received recording command is analyzed and the corresponding user area block is analyzed. The data to be written to is encoded (step 302).

여기서, 기록할 데이터가 섹터 단위의 데이터이면, 상기 섹터에 대응되는 사용자 영역의 ECC 블록의 데이터를 재생하여, 수신된 기록할 데이터를 재생된 ECC 블록의 데이터에 삽입하고, 그 처리된 ECC 블록을 인코딩한다.If the data to be recorded is data in sector units, the data of the ECC block of the user area corresponding to the sector is reproduced, the received data to be recorded is inserted into the data of the reproduced ECC block, and the processed ECC block is inserted. Encode

또한, 기록할 데이터가 ECC 블록 단위의 데이터이면, 사용자 영역의 ECC 블록 데이터를 재생하지 아니하고, 기록할 ECC 블록을 인코딩한다.If the data to be recorded is data in units of ECC blocks, the ECC block data to be recorded is encoded without reproducing ECC block data of the user area.

한편, 상기 단계 302에서 인코딩된 ECC 블록 단위의 데이터는 버퍼(205)에 저장되고(단계 303), 상기 버퍼(205)에 저장된 ECC 블록 수가 설정된 소정의 ECC 블록 수보다 큰 지를 판단한다(단계 304). Meanwhile, the data of the ECC block unit encoded in the step 302 is stored in the buffer 205 (step 303), and it is determined whether the number of ECC blocks stored in the buffer 205 is larger than the predetermined number of predetermined ECC blocks (step 304). ).

이때, 상기 단계 304의 판단 결과, 상기 버퍼(205)에 저장된 ECC 블록 수가 설정된 ECC 블록 수 N과 같거나 큰 경우에는, 상기 버퍼(205)에 저장되어 있는 ECC 블록의 데이터를 기록한다(단계 305).At this time, when the number of ECC blocks stored in the buffer 205 is equal to or greater than the set number of ECC blocks N, the determination result of step 304 records the data of the ECC blocks stored in the buffer 205 (step 305). ).

한편, 상기 단계 304의 판단 결과, 상기 버퍼(205)에 저장된 ECC 블록 수가 설정된 소정의 ECC 블록 수보다 크지 않은 경우에는, 상기 호스트(206)로부터 새로 수신되는 데이터 기록 명령이 있는지 확인하는 수신 대기 상태에 있게 된다.On the other hand, when the determination result of the step 304, if the number of ECC blocks stored in the buffer 205 is not greater than the predetermined number of predetermined ECC blocks, a reception waiting state for checking whether there is a data recording command newly received from the host 206. Will be in.

그런데, 상기와 같이 상기 버퍼(205)에 저장되는 ECC 블록 수가 설정된 ECC 블록의 수와 같거나 커진 후에 데이터 기록을 수행하게 되면, 새로 수신되는 데이터 기록 명령이 지연되거나 없는 경우에는 상기 버퍼(205)에 저장된 데이터는 기록되지 않고 계속 상기 버퍼(205)에 저장되어 있게 된다. However, if data recording is performed after the number of ECC blocks stored in the buffer 205 is equal to or larger than the set number of ECC blocks, when the newly received data write command is delayed or there is no buffer 205. The data stored in is not recorded but continues to be stored in the buffer 205.

따라서, 상기 버퍼(205)에 저장된 ECC 블록 데이터는, 데이터 기록 명령이 수신된 시각부터 소정의 일정 시간이 경과될 때까지, 새로 수신되는 데이터 기록 명령이 없으면, 그 저장된 ECC 블록에 대한 기록을 수행한다. Therefore, the ECC block data stored in the buffer 205 performs recording on the stored ECC block if no new data recording command is received from the time at which the data recording command is received until a predetermined time elapses. do.

한편, 도 4는 연속으로 수신되는 데이터 기록 명령의 일부분을 나타낸 도면이고, 도 5는 본 발명에 따른 광기록재생기의 데이터 기록 방법에 따라 도 4의 데이터 기록 명령을 수행하는데 있어서, 서보의 시크 순서와 데이터가 저장된 상태를 개념적으로 나타낸 도면이고, 도 6은 본 발명에 따른 광기록재생기의 데이터 기록 방법에 따라 도 4의 데이터 기록 명령을 수행하는데 있어서, 버퍼의 데이터 저장 상태를 개념적으로 나타낸 도면이다.On the other hand, Figure 4 is a view showing a part of the data recording command received continuously, Figure 5 is a seek sequence of the servo in performing the data recording command of Figure 4 according to the data recording method of the optical recorder according to the present invention Is a conceptual diagram showing a state where data is stored, and FIG. 6 is a diagram conceptually illustrating a data storage state of a buffer in executing the data recording command of FIG. 4 according to the data recording method of the optical recorder according to the present invention. .

도 4와, 도 5 및 도 6을 참조하여, 도 4와 같은 데이터 기록 명령이 수신되는 경우에 본 발명에 따른 광기록재생기의 데이터 기록 방법에 따른 데이터 기록 과정에 대해 설명을 부연해 보기로 한다.4, 5 and 6, a description will be given of the data recording process according to the data recording method of the optical recorder according to the present invention when a data recording command as shown in FIG. 4 is received. .

먼저, 도 4의 명령 n을 수행하기 위해서는 호스트(206)로부터 데이터를 받고 그 데이터를 인코딩한다. 그리고 인코딩이 끝난 데이터는 기록하라고 지정받은 위치에 기록하면 된다. First, in order to perform command n of FIG. 4, data is received from the host 206 and the data is encoded. The encoded data is then recorded in the designated location for recording.

그런데, 도 6에 나타낸 바와 같이, 명령 n을 수행하기 위하여 버퍼(205)에 저장되어 있는 ECC 블록 수는 설정된 N 블록 수보다 작다. 이에 따라, 데이터 기록을 수행하지 않고, 새로 수신되는 데이터 기록 명령을 처리한다. 또한, 명령 n+1에 의해 수신되는 데이터도 인코딩되어 상기 버퍼(205)에 저장된다.However, as shown in FIG. 6, the number of ECC blocks stored in the buffer 205 to perform the command n is smaller than the set number of N blocks. In this way, the data recording command is newly received without performing data recording. In addition, data received by command n + 1 is also encoded and stored in the buffer 205.

한편, 명령 n+2는 섹터 단위의 데이터 기록 명령이기 때문에 데이터 재생이 필요하다. 이에 따라 서보는 A 번지로 이동되고, A 번지부터 16 섹터의 데이터가 재생된다. 그런데, 상기 명령 n+2에 따른 데이터의 재생이 종료되기 전에, 명령 n+3의 섹터 단위의 데이터 기록 명령이 수신됨에 따라서, 명령 n+3에 따른 데이터 재생이 연속적으로 수행된다. 그리고, a 번지부터 1 섹터에 상기 호스트(206)로부터 수신된 데이터가 인코딩되고, b 번지부터 2 섹터에 상기 호스트(206)로부터 수신된 데이터가 인코딩 되어 상기 버퍼(205)에 저장된다. On the other hand, since the command n + 2 is a sector write command, data reproduction is necessary. Accordingly, the servo is moved to address A, and data of 16 sectors is reproduced from address A. By the way, before the reproduction of the data according to the command n + 2 is finished, as the data recording command in the sector unit of the command n + 3 is received, the data reproduction according to the command n + 3 is continuously performed. Data received from the host 206 is encoded in one sector from address a, and data received from the host 206 in two sectors from address b is encoded and stored in the buffer 205.

또한, 명령 n+4와 명령 n+5에 따라 상기 호스트(206)로부터 데이터를 받고 그 데이터를 인코딩하여 상기 버퍼(205)에 저장한다. 이에 따라, 도 6에 도시된 바와 같이, 상기 버퍼(205)에 저장된 ECC 블록 수가 설정된 N 블록 수와 같아지게 된다. 이에 따라, 상기 수신된 명령들에 대한 데이터 기록이 수행된다.Further, data is received from the host 206 according to the command n + 4 and the command n + 5, and the data is encoded and stored in the buffer 205. Accordingly, as shown in FIG. 6, the number of ECC blocks stored in the buffer 205 is equal to the set number of N blocks. Accordingly, data recording of the received commands is performed.

이와 같은 수행에 따른, 서보의 시크 순서와 데이터의 저장 상태는 도 5에 나타낸 바와 같다. 첫 번째 시크는 명령 n+2의 수행을 위해 서보가 A 번지로 이동해서 명령 n+2와 명령 n+3에 따른 데이터 재생을 수행하였으며, 나머지 세 번의 시 크는 상기 버퍼(205)에 저장된 데이터를 기록하기 위하여 서보가 데이터를 기록할 번지로 이동한 것이다. As a result, the seek sequence of the servo and the storage state of the data are as shown in FIG. 5. In the first seek, the servo moves to address A to perform the command n + 2 and the data regeneration is performed according to the command n + 2 and the command n + 3, and the remaining three seeks store the data stored in the buffer 205. In order to record, the servo moved to the address to record data.

이와 같이, 본 발명에 따른 광기록재생기의 데이터 기록 방법의 실행에 의하면, 데이터 재생 과정과 데이터 기록 과정이 분리되어 수행된다.As described above, according to the execution of the data recording method of the optical recorder according to the present invention, the data reproduction process and the data recording process are performed separately.

이상의 설명에서와 같이 본 발명에 따른 광기록재생기의 데이터 기록 방법은, 데이터를 기록함에 있어 기록할 데이터 블록을 인코딩하여 버퍼에 저장한 후에, 그 저장된 데이터의 크기가 일정 크기 이상이 되면 데이터 기록을 수행함으로써, 데이터 재생 과정과 데이터 기록 과정을 분리시키고, 서보의 시크 횟수를 줄여 데이터 기록 시간을 단축할 수 있는 장점이 있다.As described above, in the data recording method of the optical recorder according to the present invention, in recording data, after encoding a data block to be recorded and storing it in a buffer, the data recording is performed when the size of the stored data becomes larger than a predetermined size. By doing this, there is an advantage in that the data reproducing process and the data recording process are separated, and the number of servo seeks is reduced to shorten the data recording time.

Claims (4)

(a) 데이터 기록 명령을 수신하는 단계와;(a) receiving a data write command; (b) 상기 단계에서 수신된 데이터 기록 명령을 분석하여, 해당되는 사용자 영역 블록에 기록할 데이터를 인코딩하는 단계와;(b) analyzing the data write command received in the step to encode data to be recorded in the corresponding user area block; (c) 상기 단계에서 인코딩된 ECC 블록 단위의 데이터를 버퍼에 저장하는 단계; 및(c) storing the data of the ECC block unit encoded in the step in a buffer; And (d) 상기 단계에서 버퍼에 저장된 ECC 블록 수가 설정된 ECC 블록 수보다 커지면, 버퍼에 저장되어 있는 ECC 블록의 데이터를 기록하는 단계를 포함하는 것을 특징으로 하는 광기록재생기의 데이터 기록 방법.and (d) recording the data of the ECC blocks stored in the buffer when the number of ECC blocks stored in the buffer becomes larger than the set number of ECC blocks in the step. 제 1항에 있어서,The method of claim 1, 상기 단계 (b)에서 기록할 데이터를 인코딩하는데 있어, 기록할 데이터가 섹터 단위의 데이터이면, 상기 섹터에 대응되는 사용자 영역의 ECC 블록의 데이터를 재생하여, 새로 기록할 데이터를 재생된 ECC 블록의 데이터에 삽입하고, 그 처리된 ECC 블록을 인코딩하는 것을 특징으로 하는 광기록재생기의 데이터 기록 방법.In encoding the data to be recorded in the step (b), if the data to be recorded is data in sector units, the data of the ECC block in the user area corresponding to the sector is reproduced, and the newly recorded data is stored in the reproduced ECC block. Inserting data and encoding the processed ECC block. 제 1항에 있어서,The method of claim 1, 상기 단계 (b)에서 기록할 데이터를 인코딩하는데 있어, 기록할 데이터가 ECC 블록 단위의 데이터이면, 사용자 영역의 ECC 블록 데이터를 재생하지 아니하 고, 기록할 ECC 블록을 인코딩하는 것을 특징으로 하는 광기록재생기의 데이터 기록 방법.In encoding the data to be recorded in step (b), if the data to be recorded is data in units of ECC blocks, the ECC block data to be recorded is encoded without reproducing ECC block data of the user area. Data recording method of record player. 제 1항에 있어서,The method of claim 1, 상기 단계 (c)에서 버퍼에 저장된 ECC 블록 데이터는, 데이터 기록 명령이 수신된 시각부터 소정의 일정 시간이 경과될 때까지 새로 수신되는 데이터 기록 명령이 없으면, 그 저장된 ECC 블록에 대한 기록이 수행되는 것을 특징으로 하는 광기록재생기의 데이터 기록 방법.In the step (c), the ECC block data stored in the buffer, if there is no data recording command newly received until a predetermined time elapses from the time when the data recording command is received, recording of the stored ECC block is performed. A data recording method of an optical recorder, characterized in that.
KR1019990060134A 1999-12-22 1999-12-22 Method for writing data in an optical disk reader/writer KR100604029B1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
KR1019990060134A KR100604029B1 (en) 1999-12-22 1999-12-22 Method for writing data in an optical disk reader/writer
US09/735,645 US6842411B2 (en) 1999-12-22 2000-12-14 Optical disc driver and data recording method therefor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990060134A KR100604029B1 (en) 1999-12-22 1999-12-22 Method for writing data in an optical disk reader/writer

Publications (2)

Publication Number Publication Date
KR20010063165A KR20010063165A (en) 2001-07-09
KR100604029B1 true KR100604029B1 (en) 2006-07-24

Family

ID=19627904

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990060134A KR100604029B1 (en) 1999-12-22 1999-12-22 Method for writing data in an optical disk reader/writer

Country Status (1)

Country Link
KR (1) KR100604029B1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09259532A (en) * 1996-03-22 1997-10-03 Toshiba Corp Data-processing system
JPH09274769A (en) * 1996-02-09 1997-10-21 Sony Corp Device and method for generating recording data, device and method for reproducing recording medium and recording medium
JPH10208380A (en) * 1997-01-24 1998-08-07 Matsushita Electric Ind Co Ltd Optical disk reproducing method and optical disk device
JPH11296996A (en) * 1998-04-15 1999-10-29 Ricoh Co Ltd Information recording method for information recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09274769A (en) * 1996-02-09 1997-10-21 Sony Corp Device and method for generating recording data, device and method for reproducing recording medium and recording medium
JPH09259532A (en) * 1996-03-22 1997-10-03 Toshiba Corp Data-processing system
JPH10208380A (en) * 1997-01-24 1998-08-07 Matsushita Electric Ind Co Ltd Optical disk reproducing method and optical disk device
JPH11296996A (en) * 1998-04-15 1999-10-29 Ricoh Co Ltd Information recording method for information recording medium

Also Published As

Publication number Publication date
KR20010063165A (en) 2001-07-09

Similar Documents

Publication Publication Date Title
JP3995747B2 (en) Information file recording method and recording apparatus
US6661758B2 (en) High speed data recording and/or reproducing method and apparatus with increased sector access speed
JP5160988B2 (en) Hard disk drive including multiple data sectors and hard disk drive controller for controlling the same
US20060146675A1 (en) Methods, systems and computer program products for recording data on and/or reproducing data from an optical disk
JP3908967B2 (en) Information recording device
KR100604029B1 (en) Method for writing data in an optical disk reader/writer
KR100609164B1 (en) Method for writing data in an optical disk reader/writer
US6842411B2 (en) Optical disc driver and data recording method therefor
KR100268386B1 (en) Recording and controlling method of a dvd-ram drive
JP4015544B2 (en) Information processing device
JP3892729B2 (en) Program and recording medium
JP2630001B2 (en) Music player
JP4218662B2 (en) Recording apparatus and recording medium
JP3941771B2 (en) Recording method of disc-shaped recording medium
JP3941834B2 (en) Method for reproducing disc-shaped recording medium
JPH05174386A (en) Optical disk reproducing method
JP3016265B2 (en) Optical disc recording method
JP4079803B2 (en) Optical disc information recording / reproducing apparatus and disc management information acquisition method thereof
JP3954636B2 (en) Recording system
JP2002216426A (en) Information recording system
KR100200214B1 (en) Play-back position control device &amp; the method of a disc
KR20010063164A (en) Method for managing defect area in an optical disk reader/writer
JP4957149B2 (en) Information processing apparatus, information recording medium, information processing method, and computer program
KR100217752B1 (en) Bad sectar processing method of optical disc surface
JPH09270172A (en) Direct read after write type optical disk device

Legal Events

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

Payment date: 20130624

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20140624

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20150624

Year of fee payment: 10

LAPS Lapse due to unpaid annual fee