KR100190289B1 - Apparatus and method for data buffering and error correction of cd-rom - Google Patents

Apparatus and method for data buffering and error correction of cd-rom Download PDF

Info

Publication number
KR100190289B1
KR100190289B1 KR1019960027827A KR19960027827A KR100190289B1 KR 100190289 B1 KR100190289 B1 KR 100190289B1 KR 1019960027827 A KR1019960027827 A KR 1019960027827A KR 19960027827 A KR19960027827 A KR 19960027827A KR 100190289 B1 KR100190289 B1 KR 100190289B1
Authority
KR
South Korea
Prior art keywords
data
error correction
synchronization signal
buffering
external memory
Prior art date
Application number
KR1019960027827A
Other languages
Korean (ko)
Other versions
KR980011311A (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 KR1019960027827A priority Critical patent/KR100190289B1/en
Publication of KR980011311A publication Critical patent/KR980011311A/en
Application granted granted Critical
Publication of KR100190289B1 publication Critical patent/KR100190289B1/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
    • 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
    • G11B2220/2545CDs

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

본 발명은 CD-ROM의 데이터 버퍼링과 에러 정정 장치 및 그 방법에 관한 것으로, 보다 상세하게는 CD-ROM(Compact Disk Read Only Memory)으로부터 발생된 섹터 데이터의 디코딩시 에러 정정을 위한 동기 신호를 호스트 컴퓨터가 외부 메모리로부터 데이터를 고속으로 읽을 수 있도록 발생하여 에러 정정 작업을 수행하는 CD-ROM의 데이터 버퍼링과 에러 정정 장치 및 그 방법에 관한 것이다.The present invention relates to a data buffering and error correction apparatus of a CD-ROM and a method thereof. More particularly, the present invention relates to a synchronization signal for error correction when decoding sector data generated from a compact disk read only memory (CD-ROM). The present invention relates to a data buffering and error correction apparatus of a CD-ROM which generates a computer to read data from an external memory at high speed, and performs an error correction operation.

이를 위한 본 발명은 디스크로부터 읽어들인 데이터를 프레임 포맷에 의하여 디코딩하는 프레임 디코더와, 상기 프레임 디코더에 의하여 디코딩된 데이터로부터 동기 패턴을 검출하여 버퍼링용 동기 신호를 출력하는 동기신호 검출부와, 상기 프레임 디코더로 부터 출력된 데이터를 입력받아 섹터 데이터 형태로 재구성하여 동기신호 검출부로부터 발생된 동기 신호에 따라 버퍼링 작업을 수행하는 섹터 데이터 버퍼링부와, 상기 섹터 데이터 버퍼링부로부터 전송된 데이터를 저장하는 외부 메모리와, 상기 외부 메모리에 저장된 블록의 버퍼링 블록 포인터와 에러 정정 블록 포인터를 비교하여 같지 않을 때 에러 정정용 동기 신호를 발생하는 동기 신호 발생부와, 상기 동기 신호 발생부로부터 발생되는 동기 신호에 따라 상기 외부 메모리에 저장된 이전 데이터를 읽어들여 에러정정후 상기 외부 메모리에 다시 저장하는 에러 정정부와, 데이터 전송 명령 인가시 상기 외부메모리에 저장된 데이터를 호스트 컴퓨터로 전송하는 데이터 전송부로 구성한다.To this end, the present invention provides a frame decoder for decoding data read from a disc by a frame format, a sync signal detector for detecting a sync pattern from the data decoded by the frame decoder, and outputting a buffering sync signal, and the frame decoder. A sector data buffering unit configured to receive data output from the data stream and reconstruct the data into sector data, and perform a buffering operation according to the synchronization signal generated from the synchronization signal detecting unit; an external memory storing data transmitted from the sector data buffering unit; And a synchronization signal generator for generating an error correction synchronization signal when the buffering block pointer and the error correction block pointer of the block stored in the external memory are not equal to each other, and the external memory according to the synchronization signal generated from the synchronization signal generator. Stored in Read all data after error correction is composed of a data transmission and error correction that again stored in the external memory, it transmits the data stored in the external memory when applying the data transfer command to the host computer.

Description

CD-ROM의 데이터 버퍼링과 에러 정정 장치 및 그 방법CD-ROM data buffering and error correction device and method

본 발명은 CD-ROM의 데이터 버퍼링과 에러 정정 장치 및 그 방법에 관한 것으로, 보다 상세하게는 CD-ROM(Compact Disk Read Only Memory)으로부터 발생된 섹터 데이터의 디코딩시 에러 정정을 위한 동기 신호를 호스트 컴퓨터가 외부 메모리로부터 데이터를 고속으로 읽을 수 있도록 발생하여 에러 정정 작업을 수행하는 CD-ROM의 데이터 버퍼링과 에러 정정 장치 및 그 방법에 관한 것이다.The present invention relates to a data buffering and error correction apparatus of a CD-ROM and a method thereof. More particularly, the present invention relates to a synchronization signal for error correction when decoding sector data generated from a compact disk read only memory (CD-ROM). The present invention relates to a data buffering and error correction apparatus of a CD-ROM which generates a computer to read data from an external memory at high speed, and performs an error correction operation.

도 1은 종래 기술에 따른 CD-ROM의 데이터 버퍼링 및 에러 정정 장치의 구성을 나타낸 블록도로서, 디스크로부터 읽어들인 데이터를 프레임 포맷에 따라 디코딩하는 프레임 디코더(1)와, 상기 프레임 디코더(1)에 의하여 디코딩된 데이터로부터 동기 패턴을 검출하여 동기 신호를 발생하는 동기신호 검출부(2)와, 상기 프레임 디코더(1)로 부터 발생된 데이터를 입력받아 섹터 데이터 형태로 재구성하여 동기신호 검출부(2)로부터 발생된 동기 신호에 따라 버퍼링 및 에러정정 작업을 수행하는 섹터 디코더(3)와, 상기 섹터 디코더(3)로부터 전송된 데이터를 저장하는 외부 메모리(4)로 구성된다.1 is a block diagram showing the configuration of a data buffering and error correction apparatus of a CD-ROM according to the prior art, which includes a frame decoder 1 for decoding data read from a disc according to a frame format, and the frame decoder 1. The synchronization signal detector 2 generates a synchronization signal by detecting the synchronization pattern from the data decoded by the decoder, and receives the data generated from the frame decoder 1 and reconstructs the data into sector data to generate the synchronization signal. And a sector decoder 3 for performing buffering and error correction operations in accordance with the synchronization signal generated from the external memory 4, and an external memory 4 for storing data transmitted from the sector decoder 3, respectively.

여기서, 상기 섹터 디코더(3)는 상기 프레임 디코더(1)에서 바이트 단위로출력되는 데이터를 상기 동기신호 검출부(2)로부터 발생된 동기 신호에 동기시켜 블록 단위로 상기 외부 메모리(4)에 저장하는 섹터 데이터 버퍼링부(5)와, 상기 섹터 데이터 버퍼링부(5)에 의하여 상기 외부 메모리(4)에 저장된 데이터를 읽어들여 에러정정 작업을 수행한후 정정된 데이터를 상기 외부 메모리(4)에 다시 저장하는 에러 정정부(6)와, 사용자에 의하여 데이터 전송 명령이 입력되면 상기 외부 메모리(4)에 저장된 에러 정정된 데이터를 호스트 컴퓨터(미도시)로 전송하는 데이터 전송부(7)로 구성된다.Here, the sector decoder 3 stores the data output in the unit of byte in the frame decoder 1 in the external memory 4 in block units in synchronization with the synchronization signal generated from the synchronization signal detector 2. The data stored in the external memory 4 is read by the sector data buffering unit 5 and the sector data buffering unit 5 to perform an error correction operation, and the corrected data is returned to the external memory 4 again. An error correction unit 6 for storing and a data transmission unit 7 for transmitting the error corrected data stored in the external memory 4 to a host computer (not shown) when a data transmission command is input by a user. .

이와같이 구성된 종래의 CD-ROM의 데이터 버퍼링 및 에러 정정 장치에 대한 버퍼링 및 에러 정정 과정을 설명하면 다음과 같다.A buffering and error correction process for the data buffering and error correction apparatus of the conventional CD-ROM configured as described above will be described.

CD-ROM의 디스크(미도시)로부터 프레임 디코더(1)가 데이터를 읽어들이면 동기 신호 검출부(2)는 상기 프레임 디코더(1)로부터 발생된 데이터로부터 동기신호를 검출한다. 즉, 프레임 디코더(1)로부터 바이트 단위로 구성된 데이터가 클럭 신호에 동기되어 동기 신호 검출부(2)로 입력되는 데 이때, 선두의 12 바이트가 동기 신호이며 보통 동기 신호는 2352바이트마다 반복되어 얻어진다.When the frame decoder 1 reads data from the disc (not shown) of the CD-ROM, the synchronization signal detection unit 2 detects the synchronization signal from the data generated from the frame decoder 1. That is, data composed of byte units from the frame decoder 1 is input to the synchronization signal detection unit 2 in synchronization with a clock signal. At this time, the first 12 bytes are a synchronization signal and a normal synchronization signal is obtained by repeating every 2352 bytes. .

또한, 상기 검출된 동기신호에 동기하여 섹터 데이타 버퍼링부(5)는 상기 프레임 디코더(1)로부터 출력된 데이터를 2352바이트의 블록 단위로 외부 메모리(4)에 저장하는 동시에 버퍼링 블록 포인터를 1씩 증가시키는 버퍼링 동작을 수행한다.In addition, in synchronization with the detected synchronization signal, the sector data buffering unit 5 stores the data output from the frame decoder 1 in the external memory 4 in block units of 2352 bytes, and simultaneously buffers a buffering block pointer by one. Perform an incremental buffering operation.

즉, 버퍼링 블록 포인터는 2352바이트로 구성된 블록단위로 지정되어 외부 메모리(4)에 저장되며 특정 블록의 지정 또한 블록 포인터에 의하여 이루어진다.That is, the buffering block pointer is designated in block units composed of 2352 bytes and stored in the external memory 4, and the designation of a specific block is also made by the block pointer.

또한, 상기 섹터 디코더(3)의 에러 정정부(6)는 상기 외부 메모리(4)에 저장된 데이터를 다시 읽어들여 에러 정정후 외부 메모리(4)에 다시 저장한다.In addition, the error correction unit 6 of the sector decoder 3 reads data stored in the external memory 4 again and stores the data again in the external memory 4 after error correction.

이때, 데이터의 저장 및 에러정정은 섹터 데이터 버퍼링부(5)에 입력되는 동기 신호와 동일한 동기 신호에 의하여 블록 단위인 2352바이트 단위로 수행되기 때문에 섹터 데이터 버퍼링부(5)에서 1 블록의 데이터를 상기 외부 메모리(4)에 저장한 후 상기 저장된 블록의 그 이전 블록 데이터를 에러 정정부(6)에서 읽어 들여 에러 정정 작업을 수행한 후 외부 메모리(4)에 다시 저장한다.At this time, since data storage and error correction are performed in units of 2352 bytes, which are block units, by the same synchronization signal input to the sector data buffering unit 5, the sector data buffering unit 5 stores one block of data. After the data is stored in the external memory 4, the previous block data of the stored block is read by the error correction unit 6, the error correction operation is performed, and stored in the external memory 4 again.

도 3은 이러한 과정을 도시하기 위한 타임차트이다. 동기 신호 검출부(2)로부터 발생된 동기 펄스신호가 출력될 때마다 섹타 데이터 버퍼링부(5)에 의하여 외부 메모리(4)에 블록 단위로 데이터를 저장하여 버퍼링 블록 포인터가 1씩 증가되고 동시에 에러 정정을 위한 블록 포인터도 1씩 증가되어 저장된 블록의 그 이전 블록이 에러정정부(6)에 의하여 읽어들여 에러 정정작업을 수행하게 됨으로써, 외부 메모리(4)에 저장하는 버퍼링 동작과 에러 정정 동작이 동시에 1 블록만큼의 차이를 가지면서 순차적으로 수행된다.3 is a time chart for illustrating this process. Whenever the synchronous pulse signal generated from the synchronous signal detector 2 is output, the sector data buffering unit 5 stores data in the unit of the external memory 4 in block units so that the buffering block pointer is incremented by 1 and at the same time, error correction is performed. The block pointer is also incremented by 1 so that the previous block of the stored block is read by the error correction unit 6 to perform an error correction operation, so that the buffering operation and the error correction operation stored in the external memory 4 are simultaneously performed. It is performed sequentially with a difference of one block.

즉, 버퍼링 블록 포인터가 0,1,2……로 증가될 때 에러 정정 블록 포인터는 -1,0,1,2……로 두 개의 블록 포인터가 서로 대응되어 증가된다.That is, the buffering block pointer is 0, 1, 2... … The error correction block pointer is incremented by -1,0,1,2... … The two block pointers are incremented corresponding to each other.

또한, 사용자에 의하여 데이터 전송 명령이 입력되면 데이터 전송부(7)는 상기 외부 메모리(4)에 저장된 에러 정정된 데이터를 동기 신호 검출부(2)에서 발생된 동기 신호에 동기하여 호스트 컴퓨터로 전송한다.In addition, when a data transmission command is input by the user, the data transmission unit 7 transmits the error corrected data stored in the external memory 4 to the host computer in synchronization with the synchronization signal generated by the synchronization signal detection unit 2. .

여기서, 데이터의 버퍼링과 에러 정정 및 호스트 컴퓨터로의 데이터 전송은 동기 신호 검출부(2)에서 검출되는 동기 신호의 매 1주기마다 그 1주기의 소정의 구간이내에서 동시에 수행되며, 그 수행 시간은 에러 정정 작업이 수행되는 시간이 버퍼링 및 데이터 전송을 수행하는 전송 시간에 비하여 길게 된다. 즉, 동기 신호의 1 주기마다에 있어서 수행되는 에러 정정 작업이 가장 많은 시간을 소비한다는 것을 의미한다.Here, buffering and error correction of data and data transmission to the host computer are simultaneously performed within a predetermined period of one cycle for every one cycle of the synchronization signal detected by the synchronization signal detector 2, and the execution time is an error. The time for which the correction operation is performed is longer than the transmission time for performing buffering and data transfer. In other words, it means that the error correction operation performed in each cycle of the synchronization signal consumes the most time.

그러나 이와같은 종래의 CD-ROM 장치에 있어서의 버퍼링 및 에러 정정 작업은 동기 신호에 의하여 1블록의 차이를 가지고 대응되어 순차적으로 수행됨으로써, 동기 신호의 1주기 이내에서 데이터의 버퍼링과 에러 정정 및 데이터 전송 명령 인가시 호스트 컴퓨터로의 데이터 전송이 완료되어야 하기 때문에 메모리의 데이터 엑세스(Access)시간이 제한되어 호스트 컴퓨터에서 외부 메모리로부터 데이터를 읽어들이는 시간이 한정되므로 외부 메모리에 저장된 데이터를 연속하여 읽어들이는 고속의 호스트 컴퓨터에 대응할 수 없게 되는 문제점이 있었다.However, the buffering and error correction operations in the conventional CD-ROM apparatus are sequentially performed in correspondence with the difference of one block by the synchronization signal, thereby buffering the data, correcting the error, and correcting the data within one period of the synchronization signal. Since the data transfer to the host computer must be completed when the transfer command is applied, the data access time of the memory is limited and the time to read data from the external memory in the host computer is limited. Therefore, data stored in the external memory is continuously read. There was a problem that it could not cope with a high speed host computer.

따라서, 본 발명의 목적은 이와같은 종래의 문제점을 감안하여 버퍼링용 동기 신호와 에러정정용 동기신호를 분리하여 고속으로 데이터의 에러 정정 작업을 수행함으로써 고속의 호스트 컴퓨터에서 고속의 데이터 전송 요구가 있을 경우 이에 대응하여 데이터를 전송하고 데이터의 전송요구가 없을 경우 에러 정정을 에러 정정용 동기 신호에 동기하여 매 주기마다 빈구간 없이 에러 정정용 동기 신호의 전구간에서 연속하여 수행함으로써 섹터 데이터의 에러 정정을 고속으로 수행하는 CD-ROM의 데이터 버퍼링과 에러 정정 장치 및 그 방법을 제공함에 있다.Accordingly, an object of the present invention is to provide a high speed data transmission request in a high speed host computer by separating a buffered synchronization signal and an error correction synchronization signal and performing data error correction at high speed in view of such a conventional problem. In response to this, when data is transmitted and there is no request for data transmission, error correction of sector data is performed at high speed by continuously performing error correction in all periods of the error correction synchronization signal without a blank period every period in synchronization with the error correction synchronization signal. The present invention provides a data buffering and error correction apparatus for a CD-ROM, and a method thereof.

도 1은 종래 기술에 따른 CD-ROM의 데이터 버퍼링 및 에러 정정 장치의 구성을 나타낸 블록도,1 is a block diagram showing the configuration of a data buffering and error correction apparatus of a CD-ROM according to the prior art;

도 2는 본 발명에 따른 CD-ROM의 데이터 버퍼링 및 에러 정정 장치의 구성을 나타낸 블록도,2 is a block diagram showing the configuration of a data buffering and error correction apparatus of a CD-ROM according to the present invention;

도 3은 종래 기술에 따른 CD-ROM의 데이터 버퍼링 및 에러 정정 장치의 동작을 도시한 타임 차트,3 is a time chart illustrating an operation of a data buffering and error correction apparatus of a CD-ROM according to the prior art;

도 4는 본 발명에 따른 CD-ROM의 데이터 버퍼링 및 에러 정정 장치의 동작을 도시한 타임 차트이다.4 is a time chart showing the operation of the data buffering and error correction apparatus of the CD-ROM according to the present invention.

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

1 : 프레임 디코더 2 : 동기 신호 검출부1 frame decoder 2 sync signal detector

3 : 섹터 디코더 4 : 외부 메모리3: sector decoder 4: external memory

5 : 섹터 데이터 버퍼링부 6 : 에러 정정부5: sector data buffering unit 6: error correction unit

7 : 데이터 전송부 8 : 에러 정정용 동기 신호 발생부7: Data transmission unit 8: Synchronization signal generator for error correction

A : 사용자에 의한 전송 명령 인가시 외부 메모리에 저장된 데이터가 호스트 컴퓨터로 전송되는 구간A: Section where data stored in external memory is transferred to host computer when the transfer command is authorized by user

이와같은 본 발명의 목적을 달성하기 위한 CD-ROM의 데이터 버퍼링 및 에러 정정 장치는 디스크로부터 읽어들인 데이터를 프레임 포맷에 의하여 디코딩하는 프레임 디코더와, 상기 프레임 디코더에 의하여 디코딩된 데이터로부터 동기 패턴을 검출하여 버퍼링용 동기 신호를 출력하는 동기신호 검출부와, 상기 프레임 디코더로 부터 출력된 데이터를 입력받아 섹터 데이터 형태로 재구성하여 상기 동기신호 검출부로부터 발생된 동기 신호에 동기시켜 블록 단위로 버퍼링 작업을 수행하는 섹터 데이터 버퍼링부와, 상기 섹터 데이터 버퍼링부로부터 전송된 데이터를 블록 단위로 저장하는 외부 메모리와, 상기 외부 메모리에 저장된 블록의 버퍼링 블록 포인터와 에러 정정 블록 포인터를 비교하여 같지 않을 때 에러 정정용 동기 신호를 발생하는 에러 정정용 동기 신호 발생부와, 상기 에러정정용 동기 신호 발생부로부터 발생되는 동기 신호에 따라 상기 외부 메모리에 저장된 이전의 블록 데이터를 읽어들여 에러정정 작업후 상기 외부 메모리에 다시 저장하는 에러 정정부와, 데이터 전송 명령 인가시 상기 외부메모리에 저장된 데이터를 호스트 컴퓨터로 전송하는 데이터 전송부를 포함하는 것을 특징으로 한다.In order to achieve the object of the present invention, a data buffering and error correction apparatus of a CD-ROM includes a frame decoder for decoding data read from a disc by a frame format, and a synchronization pattern from the data decoded by the frame decoder. A synchronization signal detector for outputting a buffered synchronization signal and a data output from the frame decoder and reconstructed into sector data to perform buffering operations in units of blocks in synchronization with the synchronization signal generated from the synchronization signal detector. A sector data buffering unit, an external memory for storing data transmitted from the sector data buffering unit, in block units, and an error correction synchronization signal when the buffering block pointer and the error correction block pointer of the block stored in the external memory are not equal to each other. Error that causes An error correction unit for reading previous block data stored in the external memory according to a synchronization signal generated from the error correction synchronization signal generator and the data stored in the external memory after an error correction operation; And a data transmitter for transmitting the data stored in the external memory to the host computer when the transfer command is applied.

또한, 본 발명의 목적을 달성하기위한 CD-ROM의 데이터 버퍼링과 에러 정정 방법은 디스크로부터 읽어들인 데이터를 프레임 포맷에 따라 디코딩하는 프레임 디코딩 단계와, 상기 디코딩 단계 수행후 디코딩된 데이터로부터 동기 패턴을 검출하여 동기 신호를 발생하는 동기신호 검출 단계와, 상기 프레임 디코딩 단계로 부터 발생된 데이터를 입력받아 섹터 데이터 형태로 재구성하여 동기신호 검출 단계로부터 발생된 동기 신호에 따라 외부 메모리에 버퍼링하는 섹터 데이터 버퍼링 단계와, 버퍼링 블록 포인터와 에러 정정용 블록 포인터를 비교하여 에러 정정용 블록포인터가 버퍼링 블록 포인터보다 작을 때 에러 정정용 동기 신호를 발생하는 에러 정정용 동기 신호 발생 단계와, 상기 에러 정정용 동기 신호 발생 단계로부터 발생된 에러 정정용 동기 신호에 동기하여 외부 메모리에 저장된 데이터를 읽어들여 에러 정정 작업 수행후 다시 외부 메모리에 저장하는 에러 정정 수행 단계와, 사용자에 의한 데이터 전송 명령 인가시 상기 에러 정정 수행 단계를 일시 중단하고 상기 외부 메모리에 저장된 데이터를 호스트 컴퓨터로 전송하는 데이터 전송 단계를 포함하는 것을 특징으로 한다.In addition, the data buffering and error correction method of the CD-ROM for achieving the object of the present invention is a frame decoding step of decoding the data read from the disc in accordance with the frame format, and after performing the decoding step a synchronization pattern from the decoded data A synchronization signal detection step of detecting and generating a synchronization signal, and sector data buffering which receives data generated from the frame decoding step and reconstructs the data into sector data and buffers the external memory according to the synchronization signal generated from the synchronization signal detection step. An error correction synchronization signal generation step of generating an error correction synchronization signal when the error correction block pointer is smaller than the buffering block pointer by comparing the buffering block pointer and the error correction block pointer, and the error correction synchronization signal generation step generated from the error correction synchronization signal generation step. Error correction copper An error correction step of reading data stored in an external memory in synchronization with a signal and storing the data in an external memory after performing an error correction operation; and temporarily suspending the error correction operation step when a data transfer command is applied by a user and And a data transmission step of transmitting the stored data to the host computer.

이하 본 발명에 따른 CD-ROM의 데이터 버퍼링 및 에러 정정 장치를 상세히 설명하면 다음과 같다.Hereinafter, a data buffering and error correction apparatus of a CD-ROM according to the present invention will be described in detail.

도 2는 본 발명에 따른 CD-ROM의 데이터 버퍼링 및 에러 정정 장치의 구성을 나타낸 블록도로서, 외견상으로는 별도의 에러 정정용 동기 신호 발생부(8)가 추가되는 것을 제외하면 도 1의 구성과 동일하며 동일 부분에 대하여는 부호 또한 동일하다.FIG. 2 is a block diagram showing the configuration of a data buffering and error correction apparatus of a CD-ROM according to the present invention, which is apparently identical to the configuration of FIG. 1 except that an additional error correction synchronization signal generator 8 is added. And the same reference numerals for the same parts.

이와같이 구성된 본 발명에 따른 CD-ROM의 데이터 버퍼링과 에러 정정 장치 및 그 방법을 상세히 설명하면 다음과 같다.An apparatus and method for data buffering and error correction of a CD-ROM according to the present invention configured as described above will be described in detail.

CD-ROM의 디스크로부터 프레임 디코더(1)가 데이터를 읽어들이면 동기 신호 검출부(2)는 상기 프레임 디코더(1)로부터 발생된 바이트 단위의 데이터로부터 버퍼링용 동기신호(BSYNC)를 검출하며 그 동기신호에 동기하여 섹터 디코더(3)의 섹터 데이타 버퍼링부(5)는 상기 프레임 디코더(1)로부터 출력된 데이터를 입력받아 블록 단위로 외부 메모리(4)에 저장하는 버퍼링 동작을 수행한다. 상기 섹터 디코더(3)의 에러 정정부(6)는 에러 정정용 동기 신호 발생부(8)에 의하여 발생된 동기 신호(ESYNC)에 동기하여 외부 메모리(4)에 저장된 데이터 가운데 에러 정정되지 않은 첫 번째 블록의 데이터부터 순차적으로 읽어들여 에러정정 작업을 수행한 후 다시 외부 메모리(4)에 저장한다.When the frame decoder 1 reads data from the disc of the CD-ROM, the synchronization signal detecting unit 2 detects the buffering synchronization signal BSYNC from the byte unit data generated from the frame decoder 1, and the synchronization signal. In synchronization with each other, the sector data buffering unit 5 of the sector decoder 3 performs a buffering operation of receiving data output from the frame decoder 1 and storing the data output in the block unit in the external memory 4. The error correction unit 6 of the sector decoder 3 is the first uncorrected data among the data stored in the external memory 4 in synchronization with the synchronization signal ESYNC generated by the error correction synchronization signal generator 8. The data is read sequentially from the block data, and error correction is performed. The data is stored in the external memory 4 again.

이때, 상기 에러 정정용 동기 신호 발생부(8)에 의한 에러 정정용 동기 신호의 발생은 마이컴(미도시)의 상태 레지스터에 저장된 버퍼링 블록 포인터와 에러 정정용 블록 포인터를 비교하여 에러 정정용 블록 포인터가 버퍼링 블록 포인터보다 작고, 사용자에 의한 데이터 전송 명령이 인가되지 않으면 에러 정정용 동기 신호를 발생하게 된다.At this time, the generation of the error correction synchronization signal by the error correction synchronization signal generator 8 compares the buffering block pointer stored in the status register of the microcomputer with the error correction block pointer, and the error correction block pointer is the buffering block pointer. It is smaller and generates an error correction synchronization signal if a data transmission command by the user is not applied.

도 4는 버퍼링 동기 신호와 에러 정정 동기 신호와의 동작 관계를 도시한 타임 차트이다. 버퍼링 동기 신호가 하나 출력될 때마다 버퍼링 블록 포인터를 0,1,2……로 1씩 증가시키면서 외부 메모리(4)에 상기 프레임 디코더(1)로부터 읽어들인 데이터를 블록 단위로 저장하고 마이컴의 상태 레지스터에 지정된 에러 정정 명령이 실행되면 에러 정정용 동기 신호를 하나 출력시킬 때마다 에러 정정용 블록 포인터를 -1,0,1,2……로 1씩 증가시키면서 상기 외부 메모리(4)에 저장된 데이터 가운데 에러 정정되지 않은 첫 블록의 데이터부터 순차적으로 읽어들여 에러 정정 작업을 수행한 후 다시 외부 메모리(4)에 저장하는 것이다.4 is a time chart showing an operation relationship between a buffering synchronization signal and an error correction synchronization signal. Whenever one buffering synchronization signal is output, the buffering block pointer is set to 0,1,2... … Whenever the error correction command specified in the status register of the microcomputer is executed, the data read from the frame decoder 1 is stored in the external memory 4 in increments of 1 by 1, and each time an error correction synchronization signal is outputted. The block pointer for correction is -1,0,1,2... … In order to increase the value by 1 and read the data of the first block which is not error corrected among the data stored in the external memory 4 sequentially, the error correction operation is performed and stored in the external memory 4 again.

이때, 블록 단위의 데이터에 대한 에러 정정 작업은 발생된 에러 정정 동기 신호의 매 1주기마다 빈 구간없이 1주기의 전구간에서 수행되기 때문에 고속으로 수행된다.At this time, the error correction operation on the data in the block unit is performed at high speed because all the periods of one cycle of the generated error correction synchronization signal are performed in every period without a blank section.

도 4의 구간 A는 사용자에 의한 호스트 컴퓨터로의 데이터 전송 명령이 입력되면 에러 정정용 동기 신호의 발생이 일시 정지되면서 외부 메모리(4)에 기저장된 에러 정정이 완료된 데이터가 호스트 컴퓨터로 전송이 시작되어, 에러 정정된 데이터의 전송이 모두 완료되면 다시 에러 정정용 동기 신호가 발생되어 소정의 데이터 블록만큼 에러 정정 작업을 수행하며 호스트 컴퓨터로의 데이터 전송은 일시 중단됨을 의미한다.In section A of FIG. 4, when a data transmission command is input by a user to the host computer, generation of an error correction synchronization signal is paused, and data for which error correction previously stored in the external memory 4 is completed is started to the host computer. When the transmission of the error-corrected data is completed, an error correction synchronization signal is generated again to perform an error correction operation by a predetermined data block, and the data transmission to the host computer is suspended.

이상에서 상세히 설명한 바와 같이, 본 발명에 따르면 메모리에 저장된 데이터를 고속의 호스트 컴퓨터로 원할하게 전송할 수 있도록 에러정정 작업을 버퍼링 동기 신호에 동기시켜 수행하지 않고 에러 정정용 동기 신호를 개별적으로 발생시켜 그 동기 신호의 전영역에서 필요한 경우 에러 정정 작업을 고속으로 수행할 수 있도록 하여 에러 정정용 동기 신호의 전구간내에서 빈 구간없이 에러 정정 작업을 수행함으로써 고속의 호스트 컴퓨터에 대응할 수 있다.As described in detail above, according to the present invention, the error correction operation is not performed in synchronization with the buffering synchronization signal so that the data stored in the memory can be smoothly transmitted to the high speed host computer. It is possible to cope with a high speed host computer by performing an error correction operation without a blank section in all sections of the error correction synchronization signal by allowing the error correction operation to be performed at high speed if necessary in the entire area of the signal.

Claims (3)

디스크로부터 읽어들인 데이터를 프레임 포맷에 의하여 디코딩하는 프레임 디코더와, 상기 프레임 디코더에 의하여 디코딩된 데이터로부터 동기 패턴을 검출하여 버퍼링용 동기 신호를 출력하는 동기신호 검출부와, 상기 프레임 디코더로 부터 출력된 데이터를 입력받아 섹터 데이터 형태로 재구성하여 상기 동기신호 검출부로부터 발생된 동기 신호에 동기시켜 블록 단위로 버퍼링 작업을 수행하는 섹터 데이터 버퍼링부와, 상기 섹터 데이터 버퍼링부로부터 전송된 데이터를 블록 단위로 저장하는 외부 메모리와, 상기 외부 메모리에 저장된 데이터를 블록 단위로 에러정정 작업을 수행하기 위한 에러 정정용 동기 신호를 발생하는 에러 정정용 동기 신호 발생부와, 상기 에러정정용 동기 신호 발생부로부터 발생되는 동기 신호에 따라 상기 외부 메모리에 저장된 이전의 블록 데이터를 읽어들여 에러정정 작업후 상기 외부 메모리에 다시 저장하는 에러 정정부와, 데이터 전송 명령 인가시 상기 외부메모리에 저장된 데이터를 호스트 컴퓨터로 전송하는 데이터 전송부를 포함하는 것을 특징으로 하는 CD-ROM의 데이터 버퍼링 및 에러 정정 장치.A frame decoder for decoding the data read from the disc by a frame format, a sync signal detector for detecting a sync pattern from the data decoded by the frame decoder, and outputting a buffer sync signal, and data output from the frame decoder; A sector data buffering unit configured to perform a buffering operation on a block-by-block basis in synchronization with the synchronization signal generated from the synchronization signal detection unit, and to store data transmitted from the sector data buffering unit in block units. An error correction synchronization signal generator for generating an error correction synchronization signal for performing an error correction operation for performing an error correction operation on a block-by-block basis with data stored in the external memory and a synchronization signal generated from the error correction synchronization signal generator; The outer shell An error correction unit for reading the previous block data stored in the memory and storing the data again in the external memory after an error correction operation, and a data transmission unit for transmitting the data stored in the external memory to a host computer when a data transfer command is applied. CD-ROM data buffering and error correction device. 제 1 항에 있어서, 상기 에러 정정용 동기 신호 발생부는 버퍼링용 블록 포인터와 에러 정정용 블록 포인터를 비교하여 에러 정정용 블록 포인터가 버퍼링용 블록 포인터보다 작고 데이터 전송 명령이 인가되지 않으면 에러 정정용 동기 신호를 발생함을 특징으로 하는 CD-ROM의 데이터 버퍼링 및 에러 정정 장치.The method of claim 1, wherein the error correction synchronization signal generator compares the buffering block pointer with the error correction block pointer and generates an error correction synchronization signal when the error correction block pointer is smaller than the buffering block pointer and a data transfer command is not applied. CD-ROM data buffering and error correction device characterized in that. 디스크로부터 읽어들인 데이터를 프레임 포맷에 따라 디코딩하는 프레임 디코딩 단계와, 상기 디코딩 단계 수행후 디코딩된 데이터로부터 동기 패턴을 검출하여 동기 신호를 발생하는 동기신호 검출 단계와, 상기 프레임 디코딩 단계로 부터 발생된 데이터를 입력받아 섹터 데이터 형태로 재구성하여 동기신호 검출 단계로부터 발생된 동기 신호에 따라 외부 메모리에 버퍼링하는 섹터 데이터 버퍼링 단계와, 버퍼링 블록 포인터와 에러 정정용 블록 포인터를 비교하여 에러 정정용 블록포인터가 버퍼링 블록 포인터보다 작고 데이터 전송 명령이 입력되지 않으면 에러 정정용 동기 신호를 발생하는 에러 정정용 동기 신호 발생 단계와, 상기 에러 정정용 동기 신호 발생 단계로부터 발생된 에러 정정용 동기 신호에 동기하여 외부 메모리에 저장된 데이터를 읽어들여 에러 정정 작업 수행후 다시 외부 메모리에 저장하는 에러 정정 수행 단계와, 사용자에 의한 데이터 전송 명령 인가시 상기 에러 정정 수행 단계를 일시 중단하고 상기 외부 메모리에 저장된 데이터를 호스트 컴퓨터로 전송하는 데이터 전송 단계를 포함하는 것을 특징으로 하는 CD-ROM의 데이터 버퍼링 및 에러 정정 방법.A frame decoding step of decoding data read from the disc according to a frame format, a synchronization signal detection step of generating a synchronization signal by detecting a synchronization pattern from the decoded data after performing the decoding step, and the frame decoding step A sector data buffering step of receiving data and reconstructing the data into sector data to buffer the external memory according to the synchronization signal generated from the synchronization signal detection step, and comparing the buffering block pointer and the error correction block pointer to determine an error correction block pointer. Data stored in the external memory in synchronization with the error correction synchronization signal generating step of generating an error correction synchronization signal and an error correction synchronization signal generated from the error correction synchronization signal generation step if the data transmission command is smaller than the pointer. An error correction step of reading an error correction operation and storing the error correction operation again in an external memory, and suspending the error correction operation step when a data transmission command is applied by a user and transferring data stored in the external memory to a host computer. A data buffering and error correction method of a CD-ROM comprising the step of transmitting.
KR1019960027827A 1996-07-10 1996-07-10 Apparatus and method for data buffering and error correction of cd-rom KR100190289B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960027827A KR100190289B1 (en) 1996-07-10 1996-07-10 Apparatus and method for data buffering and error correction of cd-rom

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960027827A KR100190289B1 (en) 1996-07-10 1996-07-10 Apparatus and method for data buffering and error correction of cd-rom

Publications (2)

Publication Number Publication Date
KR980011311A KR980011311A (en) 1998-04-30
KR100190289B1 true KR100190289B1 (en) 1999-06-01

Family

ID=19465918

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960027827A KR100190289B1 (en) 1996-07-10 1996-07-10 Apparatus and method for data buffering and error correction of cd-rom

Country Status (1)

Country Link
KR (1) KR100190289B1 (en)

Also Published As

Publication number Publication date
KR980011311A (en) 1998-04-30

Similar Documents

Publication Publication Date Title
KR100456250B1 (en) Cd player
CA1318004C (en) Single track orthogonal error correction system
KR20010080966A (en) Signal processor for correcting and detecting errors
US4841513A (en) Sequential buffer device
US6216201B1 (en) Data processing apparatus using paged buffer memory for efficiently processing data of a compact digital disk
US5586127A (en) Apparatus and method for correcting error in data read from recording medium
KR100190289B1 (en) Apparatus and method for data buffering and error correction of cd-rom
KR20010072912A (en) Transmitter, receiver and method in a telecommunication system for generating pn sequences for a plurality of user channels
JP2952198B2 (en) Memory control circuit and method for CD-ROM drive system
KR100494252B1 (en) Information reproduction apparatus
US4885750A (en) Method and apparatus for error correction
JP2639012B2 (en) Image processing device
US6038692A (en) Error correcting memory system
US5440571A (en) Circuit of addressing a memory buffer for error correction in a digital audio tape recorder
KR0176586B1 (en) External memory control method of cd-rom decorder
JP2823831B2 (en) Data output interface circuit of optical disk drive recording device
JPH09330181A (en) Method and circuit for selector data decoding of cd-rom driver
JP2817803B2 (en) Sync generation method
JPS63285778A (en) Disk recording system
JPS58225779A (en) Decoding system for picture signal
KR100230423B1 (en) Subcode queue channel interface in a digital multi-functional disc system
KR0154990B1 (en) Address generator for cd-rom data
KR0185936B1 (en) Data input control circuit in a/v decoder
JPH01236735A (en) Error detecting and correcting system
JP2586072B2 (en) Storage device

Legal Events

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

Payment date: 20031230

Year of fee payment: 6

LAPS Lapse due to unpaid annual fee