KR19980065723A - Method and apparatus for processing data in digital video disc system - Google Patents

Method and apparatus for processing data in digital video disc system Download PDF

Info

Publication number
KR19980065723A
KR19980065723A KR1019970000836A KR19970000836A KR19980065723A KR 19980065723 A KR19980065723 A KR 19980065723A KR 1019970000836 A KR1019970000836 A KR 1019970000836A KR 19970000836 A KR19970000836 A KR 19970000836A KR 19980065723 A KR19980065723 A KR 19980065723A
Authority
KR
South Korea
Prior art keywords
error
data
buffer memory
descrambling
calculating
Prior art date
Application number
KR1019970000836A
Other languages
Korean (ko)
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 KR1019970000836A priority Critical patent/KR19980065723A/en
Publication of KR19980065723A publication Critical patent/KR19980065723A/en

Links

Abstract

디지탈 비디오 디스크 시스템의 데이타 처리 방법 및 장치가 개시된다. 버퍼 메모리를 갖는 디지탈 비디오 디스크 시스템에서 수행되는 이 방법은, 디스크로부터 데이타를 독출하여 EFM 복조하는 단계와, 복조된 데이타를 버퍼 메모리에 기입하는 단계와, 기입된 데이타를 독출하여 신드롬을 계산하고, 식별 데이타를 검출하는 단계와, 신드롬을 이용하여 에러의 위치 및 에러 크기를 계산하는 단계와, 체인를 서치하는 단계와, 에러 정정을 수행하는 단계와, 신드롬을 계산하고, 디스크램블링하고, 에러 검출 코드를 체크하는 단계 및 데이타를 버퍼 메모리에 기입하는 단계를 구비하는 것을 특징으로 하고, 한번의 DRAM 엑세스에 의해 ECC, EDC 및 디스크램블링이 수행되기 때문에, DRAM에 엑세스하는 경우의 수가 줄어들어 한 번의 엑세스에 의해 되도록 많은 데이타를 독출 할 수 있어 데이타 처리 속도가 향상되는 효과가 있다.Disclosed are a data processing method and apparatus of a digital video disc system. The method performed in a digital video disc system having a buffer memory includes the steps of reading data from the disc and demodulating the EFM, writing the demodulated data to the buffer memory, reading the written data, and calculating syndromes. Detecting identification data, calculating the location and error size of the error using a syndrome, searching the chain, performing error correction, calculating, descrambles the syndrome, and error detection code And a step of writing data into the buffer memory, and since ECC, EDC, and descrambling are performed by one DRAM access, the number of cases of accessing the DRAM is reduced and one access is performed. As a result, as much data can be read as possible, thereby improving the data processing speed.

Description

디지탈 비디오 디스크 시스템의 데이타 처리 방법 및 장치Method and apparatus for processing data in digital video disc system

본 발명은 디지탈 비디오 디스크(DVD:Digital Video Disk 또는 Digital Versatile Disk) 시스템에 관한 것으로서, 특히, DVD 시스템의 데이타 처리 방법 및 장치에 관한 것이다.The present invention relates to a digital video disk (DVD) system, and more particularly, to a data processing method and apparatus of a DVD system.

도 1은 DVD 데이타 섹터를 나타내는 도면으로서, 식별(ID) 데이타(10), 예약(RSV:reserved) 데이타(12), 에러 검출 코드(14) 및 주 데이타(16)로 구성된다.FIG. 1 shows a DVD data sector, which is composed of identification (ID) data 10, reserved (RSV: reserved) data 12, error detection code 14, and main data 16. As shown in FIG.

도 2는 DVD 에러 정정 코드(ECC:Error Correction Code) 블럭을 나타내는 도면으로서, 정보 필드(20) 및 패러티 비트(P0 및 PI)로 구성된다.FIG. 2 is a diagram showing a DVD Error Correction Code (ECC) block, which is composed of an information field 20 and parity bits P0 and PI.

DVD 시스템에서, 데이타 처리는 도 1 및 도 2에 각각 도시된 바와 같이, 섹터 및 블럭을 기준 단위로 하여 진행된다.In the DVD system, data processing proceeds on the basis of sectors and blocks, as shown in Figs. 1 and 2, respectively.

도 2에 도시된 바와 같이, 도 1에 도시된 섹터 단위의 데이타 16개가 하나의 정보 데이타 영역(20)을 이루고, 이러한 정보 데이타의 신뢰성을 높이기 위해 외부 패러티 및 내부 패러티(P0 및 PI)가 가로와 세로로 1블럭 단위로 부가되어 있으며, 에러 검출 부호(EDC:Error Detection Code)는 1섹터 단위로 부가되어 있다. 여기서, ECC는 에러 위치, 에러값 및 에러 정정을 위해 사용되는 코드이고, EDC는 에러 유무를 검출하기 위해 사용되는 코드이다.As shown in FIG. 2, 16 data in sector units shown in FIG. 1 form one information data area 20, and external and internal parities P0 and PI are transverse to increase the reliability of such information data. Are added in units of one block vertically, and an Error Detection Code (EDC) is added in units of one sector. Here, ECC is a code used for error location, error value and error correction, EDC is a code used to detect the presence or absence of an error.

종래의 일반적인 DVD 시스템의 데이타처리 방법은, 디스크로부터 읽혀진 변조된 데이타를 EFM(Eight to Fourteen Modulation) 플러스(plus) 복조를 통해 메모리에 저장하고, 동기 보호를 위해서 식별 데이타에 대한 에러 정정을 진행한다. EFM 복조후에는 주 데이타(16)에 대한 ECC과정을 통해 데이타 전체의 에러 유무를 판단하여 에러를 정정하며, 최종적으로 에러 정정을 끝낸 데이타는 디스크램블링 및 에러 검출 코드 처리 과정을 통해 에러의 유무를 검사한 후 DVD 시스템에 따라 해당 부분 예를 들면 오디오/비디오(A/V) 디코더 또는 ATAPI로 전송하게 된다. 버퍼 메모리를 제어하기 위해서는 전술한 일련의 데이타 처리등이 동시에 이루어져야 하며, 이들을 우선순위에 따라 처리하기 위해 우선순위 제어를 한다.In the conventional data processing method of the DVD system, the modulated data read from the disk is stored in the memory through EFM (Eight to Fourteen Modulation) plus demodulation, and error correction of identification data is performed for synchronous protection. . After the EFM demodulation, the ECC process on the main data 16 determines whether there is an error in the entire data and corrects the error. Finally, the data that has been corrected has been checked for error through descrambling and error detection code processing. After the inspection, it is transmitted to the corresponding part, such as an audio / video (A / V) decoder or ATAPI, depending on the DVD system. In order to control the buffer memory, the above-described series of data processing must be performed at the same time, and priority control is performed to process them according to the priority.

전술한 일련의 데이타 처리 과정에서, 필요한 버퍼 메모리의 엑세스는 EFM 복조 데이타의 기입, ECC 데이타의 독출, ECC 데이타 기입, 디스클램블링 EDC를 위한 독출, 디스클램블링 EDC 된 데이타 기입, A/V 디코더 또는 ATAPI 디코더로의 데이타 전송을 위한 독출, DRAM의 리프레쉬와 같은 여러가지 형태가 존재한다. 그러므로, 이들 엑세스의 형태가 많으면 많을수록 버퍼 메모리의 사용 효율이 저하되는 문제점이 있었다.In the above-described series of data processing procedures, access to the required buffer memory includes writing EFM demodulated data, reading ECC data, writing ECC data, reading for descrambling EDC, writing descrambling EDC data, and A / V decoder. Alternatively, there are various forms such as reading for data transfer to the ATAPI decoder and refreshing the DRAM. Therefore, the more types of these accesses, the lower the efficiency of using the buffer memory.

본 발명이 이루고자 하는 기술적 과제는, DVD에서의 데이타 처리시에 에러 정정, 디스클램블링 및 에러 검출을 한번의 DRAM 엑세스에 의해 수행하는 DVD 시스템의 데이타 처리 방법을 제공하는데 있다.SUMMARY OF THE INVENTION The present invention has been made in an effort to provide a data processing method of a DVD system which performs error correction, descrambling, and error detection by one DRAM access during data processing on a DVD.

본 발명이 이루고자 하는 다른 기술적 과제는, 상기 DVD 시스템의 데이타 처리 방법을 수행하는 DVD시스템의 데이타 처리 장치를 제공하는데 있다.Another object of the present invention is to provide a data processing apparatus of a DVD system which performs the data processing method of the DVD system.

도 1은 DVD 데이타 섹터를 나타내는 도면이다.1 shows a DVD data sector.

도 2는 DVD 에러 정정 코드 블럭을 나타내는 도면이다.2 is a diagram illustrating a DVD error correction code block.

도 3은 본 발명에 의한 DVD시스템의 데이타 처리 방법을 설명하기 위한 플로우차트이다.3 is a flowchart for explaining a data processing method of the DVD system according to the present invention.

도 4는 도 3에 도시된 방법이 수행되는 본 발명에 의한 데이타 처리 장치의 블럭도이다.4 is a block diagram of a data processing apparatus according to the present invention in which the method shown in FIG. 3 is performed.

도 5는 도 4에 도시된 디스크램블링부의 블럭도이다.FIG. 5 is a block diagram of the descrambling unit shown in FIG. 4.

상기 과제를 이루기 위해, 버퍼 메모리를 갖는 디지탈 비디오 디스크(DVD) 시스템에서 수행되는 본 발명에 의한 DVD 시스템의 데이타 처리 방법은, 디스크로부터 데이타를 독출하여 EFM 복조하는 단계와, 상기 복조된 데이타를 상기 버퍼 메모리에 기입하는 단계와, 상기 기입된 데이타를 독출하여 신드롬을 계산하고, 식별 데이타를 검출하는 단계와, 상기 신드롬을 이용하여 에러의 위치 및 에러 크기를 계산하는 단계와, 체인를 서치하는 단계와, 에러 정정을 수행하는 단계와, 상기 신드롬을 계산하고, 디스크램블링하고, 에러 검출 코드를 체크하는 단계 및 상기 데이타를 상기 버퍼 메모리에 기입하는 단계로 이루어지는 것이 바람직하다.In order to achieve the above object, a data processing method of a DVD system according to the present invention carried out in a digital video disk (DVD) system having a buffer memory comprises the steps of: reading data from a disk and performing EFM demodulation; Writing to a buffer memory, reading the written data to calculate a syndrome, detecting identification data, calculating a position and error size of the error using the syndrome, searching for a chain, and , Performing error correction, calculating the syndrome, descrambles, checking an error detection code, and writing the data to the buffer memory.

상기 다른 과제를 이루기 위해, DVD 시스템에서 수행되는 본 발명에 의한 DVD 시스템의 데이타 처리 장치는, 디스크로부터 독출된 데이타를 EFM복조하는 EFM 복조수단과, 상기 EFM복조수단으로부터 출력되는 데이타를 저장하는 버퍼 메모리와, 상기 버퍼 메모리의 데이타 기입/독출을 제어하는 메모리 제어수단과, 상기 버퍼 메모리에 저장된 데이타 및 에러 정정된 데이타의 신드롬을 각각 계산하는 신드롬 계산수단과, 상기 신드롬 계산수단으로부터 출력되는 신드롬을 이용하여 에러 위치 및 에러값을 게산하는 에러 위치 및 에러값 계산수단과, 상기 에러 위치 및 에러값을 이용하여 체인 서치하는 체인 서치수단과, 상기 체인 서치된 데이타의 에러를 정정하여 상기 에러 정정된 데이타로서 출력하는 에러 정정 수단과, 상기 에러 정정된 데이타 및 식별 데이타를 입력하여 디스크램블링하는 디스크램블링 수단과, 상기 디스크램블링 수단 및 상기 에러 정정된 데이타를 입력하여 에러 유무를 검출하는 에러 검출수단과, 상기 에러 검출수단의 출력에 응답하여 에러 유무에 상응하여 에러 유무 플래크를 발생하는 에러 플래그 발생수단과, 상기 에러 검출수단의 출력 및 상기 에러 유무 플래그를 전송하기 전에 임시 저장하는 버퍼 및 상기 버퍼 메모리에 저장된 식별 데이타를 임시 저장하여 상기 디스크램블링수단으로 출력하는 식별 데이타용 레지스터로 구성되는 것이 바람직하다.In order to achieve the above object, a data processing apparatus of a DVD system according to the present invention, which is performed in a DVD system, includes an EFM demodulation means for EFM demodulating data read from a disc, and a buffer for storing data output from the EFM demodulation means. A memory, memory control means for controlling data writing / reading of the buffer memory, syndrome calculation means for calculating syndromes of data stored in the buffer memory and error corrected data, and a syndrome output from the syndrome calculation means. Error position and error value calculation means for calculating an error position and an error value using the same, chain search means for chain searching using the error position and error value, and errors in the chain searched data to correct the error correction. Error correction means for outputting as data, said error corrected data and identification Descrambling means for inputting and descrambling the input, error detecting means for inputting the descrambling means and the error-corrected data to detect an error, and an error corresponding to the presence or absence of an error in response to the output of the error detecting means. Error flag generating means for generating a presence or absence plaque, a buffer for temporarily storing before outputting the error detection means and the error presence flag, and identification data stored in the buffer memory are temporarily stored and outputted to the descrambling means. It is preferable that it is comprised of the register for identification data.

이하, 본 발명에 의한 디지탈 비디오 디스크 시스템의 데이타 처리 방법을 첨부한 도면을 참조하여 다음과 같이 설명한다.Hereinafter, a data processing method of a digital video disc system according to the present invention will be described with reference to the accompanying drawings.

도 3은 본 발명에 의한 DVD시스템의 데이타 처리 방법을 설명하기 위한 플로우차트로서, 디스크로부터 복조된 데이타의 에러 위치 및 에러 크기를 계산하는 단계(제40∼46단계) 및 에러 정정한 데이타를 디스크램블링하여 메모리에 기입하는 단계(제48∼54단계)로 이루어진다.FIG. 3 is a flowchart for explaining a data processing method of a DVD system according to the present invention, comprising calculating error positions and error sizes of data demodulated from a disk (steps 40 to 46) and deciding error corrected data. Scrambling and writing to the memory (steps 48 to 54).

도 4는 도 3에 도시된 방법이 수행되는 본 발명에 의한 데이타 처리 장치의 블럭도로서, 디스크로부터 독출된 데이타를 EFM복조하는 EFM복조부(60), EFM복조부(60)로부터 출력되는 데이타를 저장하는 버퍼 메모리(62), 버퍼 메모리(62)의 데이타 기입/독출을 제어하는 메모리 제어부(64), 데이타 전송부(66), 버퍼 메모리(62)에 저장된 데이타 및 에러 정정된 데이타의 신드롬을 각각 계산하는 신드롬 계산부(70), 신드롬 계산부(70)로부터 출력되는 신드롬을 이용하여 에러 위치 및 에러값을 게산하는 에러 위치 및 에러값 계산부(72), 에러 위치 및 에러값을 이용하여 체인 서치하는 체인 서치부(74), 체인 서치된 데이타의 에러를 정정하여 에러 정정된 데이타로서 출력하는 에러 정정부(76)로 구성되는 주 에러 정정부(68)와, 에러 정정된 데이타 및 식별 데이타를 입력하여 디스크램블링하는 디스크램블링부(78), 디스크램블링부(78) 및 에러 정정된 데이타를 입력하여 에러 유무를 검출하는 에러 검출부(80), 에러 검출부(80)의 출력 및 에러 유무 플래그를 전송하기 전에 임시 저장하는 버퍼(82), 에러 검출부(80)의 출력에 응답하여 에러 유무에 상응하여 에러 유무 플래크를 발생하는 에러 플래그 발생부(84) 및 버퍼 메모리(62)에 저장된 식별 데이타를 임시 저장하여 디스크램블링부(78)로 출력하는 식별 데이타용 레지스터(86)로 구성된다.FIG. 4 is a block diagram of a data processing apparatus according to the present invention in which the method shown in FIG. 3 is performed. The EFM demodulator 60 and the data output from the EFM demodulator 60 perform EFM demodulation of data read from a disk. Buffer memory 62 for storing data, memory controller 64 for controlling data write / read of buffer memory 62, data transfer unit 66, syndromes of data stored in buffer memory 62 and error corrected data; The error calculation unit 70 calculates the error position and the error value by using the syndrome output unit 70 and the syndrome calculation unit 70 calculates the error position and error value using the error position and error value. A main error correction unit 68 comprising a chain search unit 74 for performing a chain search, an error correction unit 76 for correcting errors in the chain searched data, and outputting the data as error corrected data; Enter identification data Before transmitting the output of the descrambling unit 78, the descrambling unit 78, and the error-corrected data to detect the presence or absence of the error detection unit 80, the error detection unit 80, and the error presence flag Temporarily stores identification data stored in the buffer 82 for temporarily storing, the error flag generator 84 for generating an error presence flag in response to the presence of an error, and the buffer memory 62 in response to the output of the error detector 80. And an identification data register 86 which is output to the descrambling section 78.

도 5는 도 4에 도시된 디스크램블링부(78)의 블럭도로서, 제1멀티플렉서(MUX) (100), 카운터(102), 롬(ROM)(104), 제2멀티플렉서(106), 디스프램블링 레지스터(108) 및 합성기(110)로 구성된다.FIG. 5 is a block diagram of the descrambling unit 78 illustrated in FIG. 4, wherein the first multiplexer (MUX) 100, the counter 102, the ROM 104, the second multiplexer 106, and the disc are shown in FIG. 4. It consists of a scrambling register 108 and a synthesizer 110.

먼저, 디스크로부터 데이타를 독출하여 EFM 복조한다(제40단계). 제40단계후에, EFM복조가 종료된 데이타가 버퍼 메모리(62)에 기입된다(제42단계). 제42단계후에, 에러 정정을 위한 신드롬 계산을 위해서 데이타를 독출하며, 이 때, 디스크램블링을 위해 섹터의 고유 데이타를 패치하여 디스크램블링 레지스터의 도 5에 도시된 디스크램블링 레지스터(108)의 초기값을 세팅한다. 즉 제42단계후에, 신드롬 계산부(70)에서는 신드롬을 계산하고, 식별 데이타가 검출된다(제44단계). 제44단계후에, 도 4에 도시된 에러 위치 및 에러값 계산부(72)는 에러 위치 및 에러값을 계산한다(제46단계). 제46단계후에, 체인 서치부(74)는 체인을 서치한다(제48단계). 제48단계후에, 에러 정정부(76)는 에러를 정정한다(제50단계). 여기서, 에러 정정은 블럭단위로 수행되므로 블럭의 최초의 섹터의 고유 데이타에 의해 세팅되어진 초기값은 이후 16섹터의 데이타에 대한 스크램블링에서 동일하다.First, data is read from the disk and subjected to EFM demodulation (step 40). After the forty-second step, the EFM demodulated data is written to the buffer memory 62 (step 42). After the forty-second step, the data is read for the syndrome calculation for error correction, and at this time, the original data of the descrambling register 108 shown in FIG. 5 of the descrambling register is fetched by patching the unique data of the sector for descrambling. Set. That is, after step 42, the syndrome calculating unit 70 calculates the syndrome and the identification data is detected (step 44). After step 44, the error position and error value calculation unit 72 shown in Fig. 4 calculates the error position and error value (step 46). After the forty sixth step, the chain search portion 74 searches for the chain (step 48). After step 48, the error correction unit 76 corrects an error (step 50). Here, since the error correction is performed in units of blocks, the initial value set by the unique data of the first sector of the block is the same in the next scrambling of data of 16 sectors.

디스크램블링 레지스터(108)는 세팅된 초기값을 갖은 채, 주 데이타에 대한 에러 정정이 끝날 때까지 대기한다. 에러 정정에 있어서, 내부 패러티를 이용하여 데이타의 에러를 정정한 후, 외부 패러티를 이용하여 데이타의 에러를 정정하고, 다시 내부 패러터를 이용하여 에러를 정정했을 경우, 마지막의 내부 패러티 정정시의 데이타 확인을 위해서 데이타를 신드롬 계산부(70)로 입력시킬 때, 디스크램블링부(78) 및 에러 검출부(80)에도 함께 입력되므로, 신드롬 계산과, 디스클램블링과 에러 검출 코드의 체크가 동시에 이루어진다(제52단계). 단, 에러 정정 코드를 독출시에는 주 데이타와 내부 및 외부 패러티들 부호의 패러티도 함께 독출되므로, 디스크램블러(78) 및 에러 검출부(80)에서는 주 데이타에 해당하는 데이타만을 독출할 필요가 있다. 이는 디스크램블러 및 에러 검출 코드 체크시에 카운터(102)에 의해 제어가 가능하며, 에러 검출부(80)의 경우는 섹터의 선두 바이트로부터 전체의 2064바이트를 독출하고, 디스크램블링부(78)의 경우는 주 데이타(2048바이트)만을 독출한다.제52단계후에, 데이타를 메모리에 기입한다(제54단계).The descrambling register 108 has the initial value set and waits until the error correction for the main data is completed. In error correction, when the error of the data is corrected using the internal parity, the error of the data is corrected using the external parity, and when the error is corrected again using the internal parity, the data at the last internal parity correction When data is input to the syndrome calculation unit 70 for confirmation, it is also input to the descrambling unit 78 and the error detection unit 80, so that the syndrome calculation, the descrambling, and the error detection code are simultaneously checked ( Step 52). However, when the error correction code is read, the parity of the main data and the internal and external parity codes are also read. Therefore, only the data corresponding to the main data needs to be read by the descrambler 78 and the error detector 80. This can be controlled by the counter 102 at the time of checking the descrambler and the error detection code. In the case of the error detection unit 80, the entire 2064 bytes are read from the head byte of the sector, and in the case of the descrambling unit 78. Reads only main data (2048 bytes). After step 52, data is written into memory (step 54).

결국, 본 발명에 의한 데이타 처리 방법 및 장치에서는 최종 에러 정정후에 데이타를 그대로 디스크램블링 및 에러 검출 코드 체크의 입력 데이타로서 사용한다. 즉, 도 4에 도시된 바와 같이, 에러 정정을 위해, 독출된 데이타는 에러의 위치 및 크기를 판정하여 에러 정정을 수행하고, 정정된 데이타가 올바르게 정정되었는지의 여부를 판단하기 위해, 신드롬 값을 다시 한번 계산하기 위해 궤환된다.As a result, in the data processing method and apparatus according to the present invention, after the final error correction, the data is used as it is as input data for descrambling and error detection code check. That is, as shown in FIG. 4, for error correction, the read data is subjected to error correction by determining the position and size of the error, and to determine whether the corrected data is corrected or not. It is fed back to calculate.

또한, 이 때의 정정된 데이타는 디스크램블링부(78) 쪽으로 동시에 입력되어, EFM 블럭에서 이미 에러 정정 처리를 마친 고유 데이타에 의해 설정된 디스크램블링 레지스터(108)의 초기값을 베이스로 하여 2048바이트에 대한 디스크램블링을 시작한다.Further, the corrected data at this time is simultaneously inputted to the descrambling section 78, and is stored in 2048 bytes based on the initial value of the descrambling register 108 set by the unique data which has already completed the error correction processing in the EFM block. Start descrambling for

디스크램블링 처리와 동시에 에러 검출 코드 처리도 동시에 이루어지며, 에러 검출 코드는 1섹터에 대한 에러 검출 코드 체크를 수행한다. DVD에서는 다음 수학식 1과 같이 에러 검출 코드 패러티를 생성한다.At the same time as the descrambling process, the error detection code process is performed at the same time. The DVD generates an error detection code parity as shown in Equation 1 below.

[수학식 1][Equation 1]

G(X) = X32+ X31+ X4+ 1G (X) = X 32 + X 31 + X 4 + 1

에러 검출부(80)는 일반적인 에러 검출 알고리즘으로서 X32를 G(X)로 나누는 제산회로로서 구현될 수 있다.The error detector 80 may be implemented as a division circuit for dividing X 32 by G (X) as a general error detection algorithm.

버퍼 메모리(64)는 블럭단위로 데이타를 저장하며, DVD용의 데이타의 경우, 메모리 크기로서 4MDRAM을 사용할 경우, 약 13블럭분의 데이타를 저장할 수 있다. 에러 정정을 위해 데이타를 독출할 때는 DRAM의 경우 컬럼 방향으로 독출하는 경우(내부 패러티를 이용하는 에러 정정)와 행 방향으로 독출하는 경우(외부 패러티를 이용하여 에러 정정)가 공존하므로, 버퍼 메모리(62)로서 DRAM을 사용한 경우에는 에러 정정의 반복 정정시 반드시 마지막의 정정은 내부 패러티로 종료되어야 한다는 것이 전제 조건이다.The buffer memory 64 stores data in units of blocks, and in the case of data for DVD, when 4MDRAM is used as the memory size, about 13 blocks of data can be stored. When reading data for error correction, in case of DRAM, reading in the column direction (error correction using internal parity) and in the row direction (error correction using external parity) coexist. When DRAM is used as 62, the precondition is that the last correction must be terminated by internal parity at the time of repeated correction of error correction.

이는 외부 패러티를 정정하는 경우, 행 방향으로 데이타를 독출하므로, 1섹터분의 데이타를 순차적으로 읽지를 않으므로 디스크램블링 및 에러 검출 코드 처리가 불가능하기 때문이다. DVD의 경우, 일반적으로 최종의 반복 정정은 내부 패러티 정정이다.This is because, when correcting the external parity, data is read in the row direction, and thus data for one sector is not read sequentially, and thus descrambling and error detection code processing are impossible. In the case of DVD, the final iterative correction is generally an internal parity correction.

도 5에 도시된 제1MUX(100)는 입력단자 IN1을 통해 입력한 고유 데이타 및 카운터의 출력을 고유 에러 정정 코드 플래크(flag)에 응답하여 선택적으로 ROM(104)으로 출력한다. 고유 데이타로서 디스크램블링부(78)의 초기값을 세팅하고, 레지스터(108)의 쉬프팅을 통하여 차례로 디스크램블링되는 과정을 구현한다. 에러 검출부(80)는 G(X)에 의해서 형성되는 일반적인 형태의 에러 검출 코드 체크를 위한 장치이다.The first MUX 100 shown in FIG. 5 selectively outputs the output of the unique data and the counter input through the input terminal IN1 to the ROM 104 in response to a unique error correction code flag. The initial value of the descrambling unit 78 is set as the unique data, and the process of descrambling is sequentially implemented through the shifting of the register 108. The error detector 80 is a device for checking an error detection code of a general type formed by G (X).

전술한 본 발명에 의한 데이타 처리 방법 및 장치에서는, ECC에 의해 독출된 데이타를 일련의 ECC 과정을 거쳐서 정정된 데이타를 기입하기 전에 디스클램블링 및 EDC를 수행하여 모든 데이타 처리 과정이 끝난 후에 기입함으로서, 디스클램블링 및 EDC에 의한 메모리 엑세스를 제거한다.In the data processing method and apparatus according to the present invention described above, the data read out by the ECC is performed by performing descrambling and EDC before writing the corrected data through a series of ECC processes, and then writing the data after all data processing processes are completed. Eliminates descrambling, memory access by EDC.

이상에서 설명한 바와 같이, 본 발명에 의한 디지탈 비디오 디스크 시스템의 데이타 처리 방법 및 장치는 DVD 시스템에서의 데이타 처리시에 통상 ECC와 디스클램블링 및 EDC의 우선순위를 하나로 통합함으로서, 한번의 DRAM 엑세스에 의해 ECC, EDC 및 디스크램블링이 수행되기 때문에, DRAM에 엑세스하는 경우의 수가 줄어들어 한 번의 엑세스에 의해 되도록 많은 데이타를 독출 할 수 있어 데이타 처리 속도가 향상되는 효과가 있다.As described above, the data processing method and apparatus of the digital video disc system according to the present invention integrates the priority of ECC, descrambling and EDC into one during the data processing in the DVD system. Since ECC, EDC, and descrambling are performed, the number of accesses to the DRAM is reduced, and as much data can be read as possible by one access, thereby improving the data processing speed.

Claims (2)

버퍼 메모리를 갖는 디지탈 비디오 디스크(DVD) 시스템에서 수행되는 DVD 시스템의 데이타 처리 방법에 있어서, 디스크로부터 데이타를 독출하여 EFM 복조하는 단계; 상기 복조된 데이타를 상기 버퍼 메모리에 기입하는 단계; 상기 기입된 데이타를 독출하여 신드롬을 계산하고, 식별 데이타를 검출하는 단계; 상기 신드롬을 이용하여 에러의 위치 및 에러 크기를 계산하는 단계; 체인를 서치하는 단계; 에러 정정을 수행하는 단계; 상기 신드롬을 계산하고, 디스크램블링하고, 에러 검출 코드를 체크하는 단계; 및 상기 데이타를 상기 버퍼 메모리에 기입하는 단계를 구비하는 것을 특징으로 하는 디지탈 비디오 디스크 시스템의 데이타 처리 방법.A data processing method of a DVD system performed in a digital video disk (DVD) system having a buffer memory, comprising: reading data from a disk and performing EFM demodulation; Writing the demodulated data to the buffer memory; Reading the written data to calculate a syndrome and detecting identification data; Calculating a location and an error magnitude of an error using the syndrome; Searching the chain; Performing error correction; Calculating, descrambling, and checking an error detection code; And writing the data into the buffer memory. 디지탈 비디오 디스크(DVD) 시스템에서 수행되는 DVD 시스템의 데이타 처리 장치에 있어서, 디스크로부터 독출된 데이타를 EFM복조하는 EFM 복조수단; 상기 EFM복조수단으로부터 출력되는 데이타를 저장하는 버퍼 메모리; 상기 버퍼 메모리의 데이타 기입/독출을 제어하는 메모리 제어수단; 상기 버퍼 메모리에 저장된 데이타 및 에러 정정된 데이타의 신드롬을 각각 계산하는 신드롬 계산수단; 상기 신드롬 계산수단으로부터 출력되는 신드롬을 이용하여 에러 위치 및 에러값을 게산하는 에러 위치 및 에러값 계산수단; 상기 에러 위치 및 에러값을 이용하여 체인 서치하는 체인 서치수단; 상기 체인 서치된 데이타의 에러를 정정하여 상기 에러 정정된 데이타로서 출력하는 에러 정정 수단; 상기 에러 정정된 데이타 및 식별 데이타를 입력하여 디스크램블링하는 디스크램블링 수단; 상기 디스크램블링 수단 및 상기 에러 정정된 데이타를 입력하여 에러 유무를 검출하는 에러 검출수단; 상기 에러 검출수단의 출력에 응답하여 에러 유무에 상응하여 에러 유무 플래크를 발생하는 에러 플래그 발생수단; 상기 에러 검출수단의 출력 및 상기 에러 유무 플래그를 전송하기 전에 임시 저장하는 버퍼; 및 상기 버퍼 메모리에 저장된 식별 데이타를 임시 저장하여 상기 디스크램블링수단으로 출력하는 식별 데이타용 레지스터를 구비하는 것을 특징으로 하는 DVD 시스템의 데이타 처리 장치.A data processing apparatus of a DVD system performed in a digital video disk (DVD) system, comprising: EFM demodulation means for EFM demodulating data read from a disk; A buffer memory for storing data output from the EFM demodulation means; Memory control means for controlling data write / read of the buffer memory; Syndrome calculation means for calculating syndromes of data stored in the buffer memory and error corrected data, respectively; Error position and error value calculating means for calculating an error position and an error value using a syndrome outputted from the syndrome calculating means; Chain search means for chain search using the error position and error value; Error correction means for correcting an error of the chain searched data and outputting the error corrected data; Descrambling means for inputting and descrambling the error corrected data and identification data; Error detecting means for detecting the presence or absence of an error by inputting the descrambling means and the error corrected data; Error flag generating means for generating an error-free plaque corresponding to the presence or absence of an error in response to the output of the error detecting means; A buffer for temporarily storing the output of the error detecting means and before transmitting the error presence flag; And a register for identification data which temporarily stores identification data stored in the buffer memory and outputs the identification data to the descrambling means.
KR1019970000836A 1997-01-14 1997-01-14 Method and apparatus for processing data in digital video disc system KR19980065723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970000836A KR19980065723A (en) 1997-01-14 1997-01-14 Method and apparatus for processing data in digital video disc system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970000836A KR19980065723A (en) 1997-01-14 1997-01-14 Method and apparatus for processing data in digital video disc system

Publications (1)

Publication Number Publication Date
KR19980065723A true KR19980065723A (en) 1998-10-15

Family

ID=65952768

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970000836A KR19980065723A (en) 1997-01-14 1997-01-14 Method and apparatus for processing data in digital video disc system

Country Status (1)

Country Link
KR (1) KR19980065723A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100397095B1 (en) * 1999-01-21 2003-09-06 인터내셔널 비지네스 머신즈 코포레이션 Error-detecting device and method thereof
KR100430657B1 (en) * 1999-09-10 2004-05-10 마츠시타 덴끼 산교 가부시키가이샤 Signal processor for correcting and detecting errors
KR100482939B1 (en) * 2000-12-12 2005-04-15 가부시끼가이샤 도시바 Data processing method using error-correcting code and an apparatus using the same method
KR100499878B1 (en) * 2001-09-29 2005-07-07 주식회사 씨엔에스 An error correction circuit for pid in dvd ram
KR100505210B1 (en) * 2002-03-12 2005-08-04 엘지전자 주식회사 Apparatus and method for correcting error
KR100546268B1 (en) * 1998-02-23 2006-04-06 삼성전자주식회사 Data transmission method of compact disk ROM using error detection code
KR100654017B1 (en) * 1999-12-09 2006-12-04 엘지전자 주식회사 Method for correcting errors of digital data

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100546268B1 (en) * 1998-02-23 2006-04-06 삼성전자주식회사 Data transmission method of compact disk ROM using error detection code
KR100397095B1 (en) * 1999-01-21 2003-09-06 인터내셔널 비지네스 머신즈 코포레이션 Error-detecting device and method thereof
KR100430657B1 (en) * 1999-09-10 2004-05-10 마츠시타 덴끼 산교 가부시키가이샤 Signal processor for correcting and detecting errors
US6912682B1 (en) 1999-09-10 2005-06-28 Matsushita Electric Industrial Co., Ltd. Signal processor for correcting and detecting errors
KR100654017B1 (en) * 1999-12-09 2006-12-04 엘지전자 주식회사 Method for correcting errors of digital data
KR100482939B1 (en) * 2000-12-12 2005-04-15 가부시끼가이샤 도시바 Data processing method using error-correcting code and an apparatus using the same method
KR100499878B1 (en) * 2001-09-29 2005-07-07 주식회사 씨엔에스 An error correction circuit for pid in dvd ram
KR100505210B1 (en) * 2002-03-12 2005-08-04 엘지전자 주식회사 Apparatus and method for correcting error

Similar Documents

Publication Publication Date Title
US4881232A (en) Method and apparatus for error correction
US6553533B2 (en) Method and apparatus for detecting and correcting errors and erasures in product ECC-coded data arrays for DVD and similar storage subsystems
JP3239863B2 (en) Data decoding processing apparatus and method
KR100430657B1 (en) Signal processor for correcting and detecting errors
US6175943B1 (en) Apparatus for controlling addresses of symbol data for error correction
US20070050663A1 (en) Error correction apparatus for performing consecutive reading of multiple code words
US8181075B2 (en) Error correction device and recording and reproducing device
KR19980065723A (en) Method and apparatus for processing data in digital video disc system
KR101058159B1 (en) Error Correction Method for Reed-Solomon Product Codes
KR100494252B1 (en) Information reproduction apparatus
JPH05218883A (en) Decoder circuit
US7213190B2 (en) Data processing apparatus and method
JP2000010807A (en) Digital data reproducing device
JP2605270B2 (en) Error correction and checking device
JPH1186464A (en) Signal processor
JP3342422B2 (en) Error correction method and device
KR100224643B1 (en) Device and method for descrambling digital video disc system
KR100589814B1 (en) Method for correcting errors of digital data
JP2751415B2 (en) Error detection and correction circuit
JP2002074861A (en) Device and method for reproducing digital data
KR100232957B1 (en) Method for shortening error correcting time of digital video disc
JPH05274820A (en) Error correction device
JP2003173633A (en) Optical disk device
JPH11134818A (en) Digital signal reproducing device and digital signal reproducing method
JPS63255876A (en) Method for detecting code error

Legal Events

Date Code Title Description
N231 Notification of change of applicant
WITN Withdrawal due to no request for examination