KR19990021150A - Method and apparatus for detecting codeword transition in digital video home system - Google Patents

Method and apparatus for detecting codeword transition in digital video home system Download PDF

Info

Publication number
KR19990021150A
KR19990021150A KR1019970044657A KR19970044657A KR19990021150A KR 19990021150 A KR19990021150 A KR 19990021150A KR 1019970044657 A KR1019970044657 A KR 1019970044657A KR 19970044657 A KR19970044657 A KR 19970044657A KR 19990021150 A KR19990021150 A KR 19990021150A
Authority
KR
South Korea
Prior art keywords
parity
data
information
digital data
received digital
Prior art date
Application number
KR1019970044657A
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 KR1019970044657A priority Critical patent/KR19990021150A/en
Publication of KR19990021150A publication Critical patent/KR19990021150A/en

Links

Landscapes

  • Error Detection And Correction (AREA)

Abstract

디지털 비디오 홈 시스템에서 외부로부터 수신된 디지털 데이터의 천이 여부를 검출할 수 있는 코드 워드 천이 검출 방법 및 장치가 개시된다. 신드롬 연산부는 제1데이터 정보 및 제1패리티 정보를 갖는 입력 데이터의 신드롬을 연산하여 연산된 신드롬 값이 설정값과 동일한 때, 입력 데이터의 제1패리티 정보를 제공한다. 패리티 발생부는 제1데이터 정보 및 제1패리티 정보를 갖는 입력 데이터의 제1데이터 정보에 대한 제2패리티 정보를 발생하여 제공한다. 패리티 비교부는 신드롬 연산부로부터의 제1패리티 정보와 패리티 발생부로부터의 제2패리티 정보를 서로 비교하여 상기 입력 데이터의 오류 발생 여부를 알리는 패리티 비교 신호를 제공한다. 천이 판정부는 신드롬 연산부로부터의 제1패리티 정보와 패리티 비교부로부터의 패리티 비교 신호를 입력받아 상기 입력 데이터의 코드 위드 천이 여부를 판정하여서 천이 판정 신호를 제공한다. 따라서, 외부로부터 수신된 디지털 데이터의 천이 여부를 검출할 수 있고, 따라서 오류가 발생된 데이터가 기록 매체에 기록되거나 재생될 때 발생되는 화질 및 음질의 저하를 방지할 수 있다.Disclosed are a code word transition detection method and apparatus capable of detecting a transition of digital data received from the outside in a digital video home system. The syndrome calculating unit calculates a syndrome of the input data having the first data information and the first parity information, and provides the first parity information of the input data when the calculated syndrome value is equal to the setting value. The parity generating unit generates and provides second parity information about the first data information and the first data information of the input data having the first parity information. The parity comparison unit compares the first parity information from the syndrome calculating unit with the second parity information from the parity generating unit and provides a parity comparison signal indicating whether an error of the input data occurs. The transition determining unit receives the first parity information from the syndrome calculating unit and the parity comparison signal from the parity comparison unit to determine whether the input data has a code with transition, and provides a transition determination signal. Therefore, it is possible to detect whether or not the digital data received from the outside is transitioned, and thus it is possible to prevent the deterioration of the image quality and the sound quality generated when the error-prone data is recorded or reproduced on the recording medium.

Description

디지털 비디오 홈 시스템의 코드 워드 천이 검출 방법 및 장치Method and apparatus for detecting codeword transition in digital video home system

본 발명은 디지털 비디오 홈 시스템에 관한 것으로, 좀 더 구체적으로는, 외부로부터 수신된 수신 디지털 데이터의 천이 여부를 검출하는 디지털 비디오 홈 시스템에서의 코드 워드 천이 검출 방법 및 장치에 관한 것이다.The present invention relates to a digital video home system, and more particularly, to a method and apparatus for detecting a code word transition in a digital video home system for detecting whether a received digital data is transmitted from an external source.

디지털 비디오 홈 시스템(Digital Video Home System; 이하 'DVHS'라 함)은 디지털 방송과 같은 압축된 또는 처리된 데이터를 가공 없이 테이프에 저장하고 출력하는 기능을 가지는 비트 스트림 저장 장치이다.The Digital Video Home System (hereinafter referred to as 'DVHS') is a bit stream storage device having a function of storing and outputting compressed or processed data such as digital broadcasting on a tape without processing.

따라서, 디지털 비디오 홈 시스템은 아날로그-디지털 변환기/디지털-아날로그 변환기, 그리고 압축/감축 기능이 필요하지 않다. 물론 이들 신호는 변환 장치를 통해 영상과 음성 신호로 변환되어 인간이 인식할 수 있는 신호로 출력된다.Thus, the digital video home system does not require an analog-to-digital converter / digital-analog converter, and a compression / reduction function. Of course, these signals are converted into video and audio signals through a conversion device and output as signals that can be recognized by humans.

이와 같은 디지털 비디오 홈 시스템에 있어서, 외부로부터 수신된 데이터는 DRAM(Dynamic Random Access Memory)으로 구성된 메모리와 메모리 제어기, 그리고 상기 메모리 제어기를 제어하는 DVHS 채널 코덱에 의해서 그 입출력이 제어된다.In such a digital video home system, data received from the outside is controlled by a memory composed of a dynamic random access memory (DRAM), a memory controller, and a DVHS channel codec controlling the memory controller.

또한, 상기 수신 데이터는 리드 솔로몬 부호화기(RS ENCODER) 및 리드 솔로몬 복호화기(RS DECODER)에 의해서 수신 데이터의 오류 검출 및 수신 데이터의 오류 정정이 수행된다.In addition, the received data is detected by the Reed Solomon encoder RS ENCODER and the Reed Solomon decoder RS DECODER, and error detection of the received data and error correction of the received data are performed.

특히, 리드-솔로몬 복호화기는 상기 메모리로부터 외부 수신 데이터가 입력되면, 입력된 외부 수신 데이터의 신드롬(syndrome)을 검사하여 신드롬 값을 계산한다. 그리고, 계산된 수신 데이터의 신드롬 값이 이미 설정된 신드롬 기준값, 예컨대 '0'값과 일치하는지를 판별하여 외부 수신 데이터의 신드롬 값이 신드롬 기준값과 일치하는 경우 외부 수신 데이터를 유효한 정상 데이터로 판정하고, 일치하지 않는 경우에는 외부 수신 데이터에 에러가 발생된 것으로 판정하여 에러가 발생된 외부 수신 데이터를 데이터로서 사용하지 않게 된다.In particular, when the external reception data is input from the memory, the Reed-Solomon decoder checks a syndrome of the input external reception data and calculates a syndrome value. In addition, it is determined whether the calculated syndrome value of the received data matches the already set syndrome reference value, for example, a value of '0', and when the syndrome value of the external received data matches the syndrome reference value, the external received data is determined to be valid normal data. If not, it is determined that an error has occurred in the externally received data, and the externally received data having the error is not used as data.

그러나, 상술한 종래 외부 수신 데이터 에러 검출 방법에 의하면, 외부 수신 데이터를 이루고 있는 코드 워드(code word)에 외부 수신 데이터의 에러여부를 판별할 수 있는 미니멈 디스턴스(minimum distance)이상의 에러가 발생되면 코드 워드는 최초 수신 데이터와는 전혀 다른 정보를 갖는 코드 워드로 천이한다.However, according to the conventional externally received data error detection method described above, if an error equal to or greater than a minimum distance that can determine whether an externally received data error occurs in a code word constituting the externally received data, a code is generated. The word transitions to a code word with information that is completely different from the original received data.

그리고, 상기 천이된 코드 워드를 갖는 수신 데이터의 신드롬 값이 '0'값을 갖게 되면, 리드-솔로몬 복호화기는 전혀 다른 정보를 가지는 외부 수신 데이터를 유효한 정상 데이터로 판정하게 되는 심각한 문제점이 발생된다.In addition, when the syndrome value of the received data having the shifted code word has a value of '0', a serious problem arises in that the Reed-Solomon decoder determines external received data having completely different information as valid normal data.

상술한 바와 같은 문제점을 해결하기 위해 제안된 본 발명은, 외부로부터 수신된 수신 디지털 데이터의 천이 여부를 검출할 수 있는 디지털 비디오 홈 시스템에서의 코드 워드 천이 검출 방법을 제공하는데 있다.The present invention proposed to solve the above problems is to provide a code word transition detection method in a digital video home system that can detect whether or not the received digital data transition from the outside.

본 발명의 다른 목적은, 외부로부터 수신된 수신 디지털 데이터의 천이 여부를 검출할 수 있는 디지털 비디오 홈 시스템에서의 코드 워드 천이 검출 장치를 제공하는데 그 목적이 있다.Another object of the present invention is to provide an apparatus for detecting a code word transition in a digital video home system capable of detecting whether or not the received digital data is transmitted from the outside.

도 1은 본 발명의 일 실시예에 따른 디지털 비디오 홈 시스템의 채널 코덱의 구성을 개략적으로 보이는 블록도;1 is a block diagram schematically showing the configuration of a channel codec of a digital video home system according to an embodiment of the present invention;

도 2는 본 발명의 일 실시예에 따른 디지털 비디오 홈 시스템의 코드 워드 천이 검출 장치의 구성을 보이는 블록도; 그리고2 is a block diagram showing the configuration of an apparatus for detecting code word transitions in a digital video home system according to an embodiment of the present invention; And

도 3은 본 발명의 일 실시예에 따른 디지털 비디오 홈 시스템의 코드 워드 천이 검출 방법을 설명하기 위한 흐름도이다.3 is a flowchart illustrating a code word transition detection method of a digital video home system according to an embodiment of the present invention.

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

110: 셋 탑 박스120: 시간 스탬프 발생기110: set top box 120: time stamp generator

130: 메모리140: 더미 필터130: memory 140: dummy filter

150: 평활/역평활 버퍼160: 시간 스탬프 비교기150: smoothing / de-smoothing buffer 160: time stamp comparator

170: 제1패키타이져180: 리드-솔로몬 부호화기170: first packageizer 180: Reed-Solomon encoder

190: 리드-솔로몬 복호화기192: 신드롬 연산부190: Reed-Solomon decoder 192: syndrome calculation unit

194: 패리티 발생부196: 패리티 비교부194: parity generating unit 196: parity comparison unit

198: 천이 판정부200: 트랙 포맷터/트랙 디포맷터198: transition determining unit 200: track formatter / track deformatter

210: 싱크 패턴 검출기220: 제2패키타이져210: sync pattern detector 220: second packager

230: 메모리 제어기240: 제1셔플러230: memory controller 240: first shuffler

250: 제2셔플러260: 아이·디 교정기250: second shuffler 260: i-D straightener

270: 에러 정보 레지스터280: 스크램블러/역스크램블러270: error information register 280: scrambler / descrambler

290: 데이터 제어기300: 아이·디 발생기290: data controller 300: the ID generator

310: 마이크로 제어기320: 스위칭 펄스 발생기310: microcontroller 320: switching pulse generator

330: 프리 인코더340: 데크330: pre-encoder 340: deck

상술한 목적을 달성하기 위한 본 발명에 의하면, 디지털 비디오 홈 시스템에서의 코드 워드 검출 방법은, 외부로부터 제1데이터 정보 및 제1패리티 정보를 갖는 수신 디지털 데이터를 입력받아 수신 디지털 데이터의 신드롬 값을 연산하는 단계; 상기 연산된 신드롬 값이 설정값과 동일한지를 판별하여, 동일한 경우 수신 디지털 데이터를 출력하고, 동일하지 않은 경우 다음에 입력되는 수신 디지털 데이터의 신드롬 값을 연산하는 단계; 상기 출력된 수신 디지털 데이터의 제1데이터 정보에 대한 제2패리티 정보를 발생하는 단계; 상기 출력된 수신 디지털 데이터의 제1패리티 정보와 제2패리티 정보가 동일한지를 판별하여, 동일한 경우 상기 제1데이터 정보 및 제1패리터 정보를 갖는 수신 디지털 데이터가 유효함을 알리는 신호를 발생하는 단계와; 그리고 상기 제1패리티 정보와 제2패리티 정보가 동일하지 않은 경우 상기 제1데이터 정보 및 제1패리티 정보를 갖는 수신 디지털 데이터가 무효임을 알리는 신호를 발생하는 단계를 포함한다.According to the present invention for achieving the above object, the code word detection method in the digital video home system, receiving the received digital data having the first data information and the first parity information from the outside to receive the syndrome value of the received digital data; Calculating; Determining whether the calculated syndrome value is the same as a set value, outputting received digital data if it is the same, and calculating a syndrome value of the next received digital data if it is not the same; Generating second parity information on the first data information of the output digital data; Determining whether the first parity information and the second parity information of the output received digital data are the same, and generating a signal indicating that the received digital data having the first data information and the first parity information is valid if they are the same; Wow; And generating a signal indicating that the received digital data having the first data information and the first parity information is invalid when the first parity information and the second parity information are not the same.

상술한 목적을 달성하기 위한 본 발명에 의하면, 디지털 비디오 홈 시스템에서의 코드 워드 검출 장치는, 외부로부터 제1데이터 정보 및 제1패리티 정보를 갖는 수신 디지털 데이터를 입력받아서 수신 디지털 데이터의 신드롬 값을 연산하고, 그 결과에 응하여 수신 디지털 데이터의 제1패리티 정보를 제공하기 위한 신드롬 연산 수단; 수신 디지털 데이터의 제1데이터 정보에 대한 제2패리티 정보를 발생하여 제공하기 위한 패리티 발생 수단; 상기 신드롬 연산 수단으로부터의 제1패리티 정보와 상기 패리티 발생 수단으로부터의 제2패리티 정보를 서로 비교하여 수신 디지털 데이터의 오류 발생 여부를 알리는 패리티 비교 신호를 제공하기 위한 패리티 비교 수단; 그리고 상기 신드롬 연산 수단으로부터의 제1패리티 정보와 상기 패리티 비교 수단으로부터의 패리티 비교 신호를 입력받아서 상기 수신 디지털 데이터의 제1데이터 정보의 천이 여부를 판정하여서 천이 판정 신호를 제공하기 위한 천이 판정 수단을 포함한다.According to the present invention for achieving the above object, the code word detection apparatus in the digital video home system receives the received digital data having the first data information and the first parity information from the outside to determine the syndrome value of the received digital data. Syndrome calculation means for calculating and providing first parity information of the received digital data in response to the result; Parity generating means for generating and providing second parity information with respect to the first data information of the received digital data; Parity comparison means for comparing a first parity information from said syndrome calculating means and a second parity information from said parity generating means to provide a parity comparison signal informing whether or not an error of received digital data has occurred; And a transition determining means for receiving a first parity information from the syndrome calculating means and a parity comparison signal from the parity comparing means to determine whether the first data information of the received digital data has transitioned and providing a transition determination signal. Include.

이와 같은 디지털 비디오 홈 시스템에서의 코드 워드 검출 방법 및 장치에 의해서, 외부로부터 수신된 특정 데이터의 천이 여부를 검출할 수 있고, 따라서 오류가 발생된 데이터가 테이프에 기록되거나 재생됨으로써 발생되는 화질 및 음질의 저하를 방지할 수 있다.By such a code word detection method and apparatus in a digital video home system, it is possible to detect whether or not a specific data received from the outside is transitioned, and thus the image quality and sound quality generated by recording or playing back the error-prone data on a tape. Can be prevented from deteriorating.

이하, 본 발명의 바람직한 실시예를 첨부 도면 도 1 내지 도 3에 의거해서 상세하게 설명한다.Best Mode for Carrying Out the Invention Preferred embodiments of the present invention will now be described in detail with reference to the accompanying drawings.

도 1에는 본 발명의 실시예에 따른 코드 워드 천이 검출 장치를 갖는 디지털 비디오 홈 시스템 채널 코덱의 구성이 상세하게 도시되어 있다.1 is a block diagram illustrating the configuration of a digital video home system channel codec having a code word transition detection device according to an embodiment of the present invention.

도 1을 참조하면, 본 발명의 실시예에 따른 디지털 비디오 홈 시스템 채널 코덱은, 시간 스탬프 발생기(120), 메모리(130), 더미 필터(140), 평활/역평활 버퍼(150), 시간 스탬프 비교기(160), 제1패키타이져(170), 리드-솔로몬 부호화기(180), 리드-솔로몬 복호화기(190), 트랙 포맷터(200), 싱크 패턴 검출기(210), 제2패키타이져(220), 메모리 제어기(230), 제1셔플러(240), 제2셔플러(250), 아이·디교정기(260), 에러 정보 레지스터(270), 스크램블러 및 역 스크램블러(280), 데이터 제어기(290), 아이·디 발생기(200) 및 마이크로 제어기(310)를 포함하는 구성을 갖는다.Referring to FIG. 1, a digital video home system channel codec according to an embodiment of the present invention may include a time stamp generator 120, a memory 130, a dummy filter 140, a smoothing / de smoothing buffer 150, and a time stamp. The comparator 160, the first packager 170, the Reed-Solomon encoder 180, the Reed-Solomon decoder 190, the track formatter 200, the sync pattern detector 210, and the second packager ( 220), memory controller 230, first shuffler 240, second shuffler 250, eye de-calibrator 260, error information register 270, scrambler and inverse scrambler 280, data controller 290, the ID generator 200, and the microcontroller 310 are included.

상술한 바와 같은 디지털 비디오 홈 시스템 채널 코덱의 각 구성 요소들의 기능은 다음과 같다.The functions of the components of the digital video home system channel codec as described above are as follows.

먼저, 시간 스탬프 발생기(120)는 위성으로부터의 셋 탑 박스(110)를 통해 트랜스포트 패킷 형태로 비트 시리얼하게 입력되는 L(여기서, L은 2 이상의 정수이다) 바이트의 디지털 데이터 각각에 MPEG2 비트 스트림에 포함되어 있는 기준 프로그램 클럭(program clock reference)에 동기화된 27MHz 클럭을 입력받아 TPE(Transport Packet Eliment)에 대해 27MHz로 4 바이트 타임 스탬프를 발생시켜 192 바이트 데이터로 만들어 평활화 버퍼(150)로 출력한다.First, the time stamp generator 120 streams an MPEG2 bit stream to each of the digital data of L bytes, where L is an integer of 2 or more, which is serially input in the form of a transport packet through the set top box 110 from the satellite. It receives the 27MHz clock synchronized to the program clock reference included in the TPE (Transport Packet Eliment), generates a 4-byte time stamp at 27MHz, makes 192 bytes of data, and outputs it to the smoothing buffer 150. .

그리고, 메모리(130)는 상기 제1패키타이져(170)로부터의 306개의 싱크 블록을 6개의 트랙으로 상기 싱크 블록에 포함된 각각 아이·디에 대응하는 번지에 저장하고, 이 6개의 트랙의 하나의 시퀀스를 구성한다. 또한, 상기 메모리(130)는 상기 트랙 포맷터(200)로부터의 싱크 블록을 데이터 제어기(290)의 제어에 의해 저장한다. 상기 메모리(130)는 디램(dynamic random access memory; DRAM)으로 구성하는 것이 바람직하다.The memory 130 stores 306 sync blocks from the first packager 170 as six tracks at addresses corresponding to the IDs included in the sync blocks, respectively. Constitute a sequence. In addition, the memory 130 stores the sync block from the track formatter 200 under the control of the data controller 290. The memory 130 is preferably configured as a dynamic random access memory (DRAM).

다음, 더미 필터(140)는 상기 메모리(130)에 저장된 싱크 블록에서 더미 블록을 필터링하고 정상 싱크 블록을 평활 및 역평활 버퍼(150)로 제공한다.Next, the dummy filter 140 filters the dummy block in the sync block stored in the memory 130 and provides the normal sync block to the smoothing and de smoothing buffer 150.

한편, 평활/역평활 버퍼(150)는 상기 시간 스탬프 발생기(120)로부터의 시간 스탬프를 포함한 192 바이트의 TOE 데이터를 입력받아 상기 입력된 시간 스탬프가 스위칭 펄스 발생기(320)가 발생한 스위칭 펄스에 의한 기준 시간 스탬프와 동일한 지를 비교하여, 동일한 경우에는 정상 싱크 블록을, 다른 경우에는 더미 싱크 블록을 출력하여 내부의 메모리 뱅크에 저장한다. 또한, 상기 평활 및 역평활 버퍼(150)는 상기 더미 필터(140)로부터의 정상 싱크 블록을 일시 저장하고 있다가 일정한 속도를 시간 스탬프 비교기(160)로 출력한다.Meanwhile, the smoothing / de-smoothing buffer 150 receives 192 bytes of TOE data including the time stamp from the time stamp generator 120, and the input time stamp is generated by the switching pulse generated by the switching pulse generator 320. Compared with the reference time stamp, the normal sync block is output in the same case, and the dummy sync block is output in the other case and stored in the internal memory bank. In addition, the smoothing and anti-smoothing buffer 150 temporarily stores the normal sync block from the dummy filter 140 and outputs a constant speed to the time stamp comparator 160.

그리고, 시간 스탬프 비교기(160)는 상기 평활/역평활 버퍼(150)로부터의 각 싱크 블록의 시간 스탬프를 읽고 현재의 기준 시간 스탬프와 그 값을 비교하여, 전송 시점을 제어하여 상기 싱크 블록을 전송 시점에 맞추어 셋 탑 박스 장치(110)를 통해 텔레비젼으로 전송한다.The time stamp comparator 160 reads the time stamp of each sync block from the smoothing / de-smoothing buffer 150 and compares the value with a current reference time stamp to control the transmission time point to transmit the sync block. It transmits to a television via the set top box apparatus 110 according to the viewpoint.

다음, 제1패키타이져(170)는 상기 평활 및 역평활 버퍼(150)에 저장된 정상 블록을 각각 96 바이트를 갖는 2개의 싱크 블록으로 나누고, 각 싱크 블록에 대한 2 바이트의 아이·디 및 3 바이트의 시스템 데이터를 발생하여 저장하며, 상기 시스템 데이터는 2 바이트의 메인 헤더 및 1 바이트의 데이터-AUX로 이루어진다.Next, the first packetizer 170 divides the normal block stored in the smoothing and de smoothing buffer 150 into two sync blocks each having 96 bytes, and two bytes of ID, 3, and 3 for each sync block. Generate and store bytes of system data, the system data comprising two bytes of main header and one byte of data-AUX.

즉, 상기 TPE 데이터는 제1패키타이져(170)내의 상위 로컬 메모리 뱅크의 6번지로부터 101 번지까지의 96 바이트가 저장되며, 나머지 96 바이트는 하위 로컬 메모리 뱅크에 저장된다. 하위 로컬 메모리에 데이터가 저장되는 동안 상위 로컬 메모리의 0번지에서 5번지까지의 싱크 블록의 아이·디를 나타내는 내용으로서 자신이 저장되어야 되는 트랙의 번호, 자신의 싱크 블록의 번호, 현재 싱크 블록 데이터 기록 시스템 정보를 포함하는 메인 헤더가 저장된다.That is, the TPE data stores 96 bytes from 6 to 101 of the upper local memory bank in the first packager 170, and the remaining 96 bytes are stored in the lower local memory bank. While the data is being stored in the lower local memory, this indicates the ID of the sync block from address 0 to address 5 of the upper local memory, the track number to be stored, the number of the own sync block, and the current sync block data. The main header containing the recording system information is stored.

그리고, 제1셔플러(240)는 메모리에 저장된 6개의 트랙의 1836개의 싱크 블록들을 셔플해서 102개의 싱크 블록들을 18번 가지고 와서 리드-솔로몬 부호화기(180)에 제공한다. 셔플링 방법은 이웃하는 바이트가 서로 다른 트랙으로부터 오도록 하며 이는 테이프의 군집 에러(burst error)가 발생하는 경우 에러 정정 능력을 향상시키기 위해서이다.The first shuffler 240 shuffles 1836 sync blocks of six tracks stored in a memory, brings 102 sync blocks 18 times, and provides them to the Reed-Solomon encoder 180. The shuffling method allows neighboring bytes to come from different tracks in order to improve the error correction capability when a burst error of the tape occurs.

한편, 리드-솔로몬 부호화기(180)는 상기 제1셔플러(240)로부터의 상기 셔플된 18번의 102개의 싱크 블록에 대해 수평 방향으로 내부 정정 코드, 수직 방향으로 외부 정정 코드를 생성하여 각 트랙마다 30개의 패리티 싱크 블록, 즉 180개의 패리티 싱크 블록을 발생한다. 즉, RS 부호화는 ECC(Error Correction Code)단위로 수행되며 하나의 트랙은 3개의 ECC로 구성되어 있다. 각 ECC는 6개의 트랙으로부터 데이터를 셔플링하여 부가 정보를 발생한다. 주의할 점은 메인 데이터는 트랙 단위로 순차적으로 기록되는 반면, 에러 정정을 위한 부가 정보는 트랙 상단에 30 싱크 블록 크기를 가지고 셔플링된 형태로 기록된다.Meanwhile, the Reed-Solomon encoder 180 generates an internal correction code in a horizontal direction and an external correction code in a vertical direction for each of the 18 shuffled 102 sync blocks from the first shuffler 240 and generates an external correction code for each track. Generates 30 parity sync blocks, that is, 180 parity sync blocks. That is, RS coding is performed in units of ECC (Error Correction Code), and one track is composed of three ECCs. Each ECC shuffles data from six tracks to generate additional information. Note that the main data is sequentially recorded in track units, while the additional information for error correction is recorded in a shuffled form with a 30 sync block size at the top of the track.

외부 패리티의 경우 10개까지의 심볼 에러를 정정하며 내부 및 서브 코드는 각각 4, 2개의 심볼 에러 정정 능력을 갖는다. 또한 자기 소거 기능을 수행하므로 외부 ECC의 경우 최대 10개까지의 에러 정정이 가능하고, 서브 코드는 2개 심볼까지 에러 정정이 가능하다.External parity corrects up to 10 symbol errors, and the inner and sub codes have 4 and 2 symbol error correction capabilities, respectively. In addition, since the self-erasing function is performed, up to 10 error corrections can be performed in the case of the external ECC, and up to 2 symbols can be corrected in the sub code.

또한, 제2셔플러(250)는 상기 메모리에 저장된 6개의 트랙의 싱크 블록들을 셔플해서 102개의 싱크 블록들을 18번 가지고 와서 리드-솔로몬 복호화기(190)에 제공하는데, 셔플링 방법은 상술한 제1셔플러(240)에서와 동일하다.In addition, the second shuffler 250 shuffles the sync blocks of six tracks stored in the memory to bring 102 sync blocks 18 times and provides them to the Reed-Solomon decoder 190. The shuffling method described above is described above. The same as in the first shuffler 240.

한편, 리드-솔로몬 복호화기(190)는 상기 제2셔플러(250)에 의해 셔플링된 6개 트랙의 싱크 블록들에 대한 ECC 단위로 에러 정정을 수행한다. 외부 패리티의 경우 10개까지의 심벌 에러를 정정하며 내부 및 서브 코드는 각각 4, 2개의 심벌 에러 정정 능력을 갖는다. 또한 자기 소거 기능을 수행하므로 외부 ECC의 경우 최대 10개까지 에러 정정이 가능하고, 서브 코드는 2개 심벌까지 에러 정정이 가능하다.Meanwhile, the Reed-Solomon decoder 190 performs error correction in units of ECC for sync blocks of six tracks shuffled by the second shuffler 250. External parity corrects up to 10 symbol errors, and the inner and sub codes have 4 and 2 symbol error correction capabilities, respectively. In addition, since the self-erasing function is performed, up to 10 errors can be corrected in the case of the external ECC, and up to 2 symbols can be corrected in the sub code.

그리고, 트랙 포맷터/트랙 디포맷터(200)는, 아이·디 발생기(300)로부터 발생된 싱크 데이터 및 아이·디를 입력받고, 상기 메모리(130)에 저장된 6개 트랙의 각 싱크 블록에 싱크 데이터 및 아이·디를 첨가하며, 각 트랙을 DVHS 트랙 포맷에 맞게 형성하여 스크램블러 및 역스크램블러(280)로 제공한다.Then, the track formatter / track deformatter 200 receives the sync data and the IDD generated from the ID generator 300 and synchronizes the sync data to each sync block of six tracks stored in the memory 130. And IDD are added, and each track is formed in accordance with the DVHS track format and provided to the scrambler and the inverse scrambler 280.

싱크 패턴 검출기(210)는 비트 시리얼 형태의 디지털 데이터를 갖는 트랙에서 프리앰블, 서브 코드, 및 메인 코드를 구분하고, 메인 코드 영역에서의 각 싱크 블록 단위의 경계를 찾는다. 즉, 데이터의 형태 및 그 경계 지점을 감지하여 싱크 블록 단위로 데이터를 구분하여 데이터와 함께 데이터 형태를 제2패키타이져(220)에 제공한다.The sync pattern detector 210 distinguishes a preamble, a sub code, and a main code from a track having digital data in a bit serial form, and finds a boundary of each sync block unit in the main code area. That is, by detecting the shape of the data and its boundary point, the data is classified in units of sync blocks, and the data is provided to the second packager 220 together with the data.

제2패키타이져(220)는 상기 싱크 패턴 감지기(210)에 의해 감지된 싱크 블록 단위로 구분된 데이터를 저장하고, 저장된 싱크 블록 데이터는 스크램블링된 상태이다.The second packager 220 stores data divided in units of sink blocks detected by the sync pattern detector 210, and the stored sink block data is in a scrambled state.

한편, 메모리 제어기(230)는 제어부(290)의 제어에 의해 상기 메모리(130)로부터 데이터를 읽고 쓰기 위해서 각 블록에서 요구하는 해당 데이터의 저장 어드레스와 제어 신호를 발생한다. 즉, 제1패키타이져(170)로부터 싱크 블록 데이터를 저장하고자 할 때 메모리 제어기(230)는 헤더 부분의 정보를 이용하여 저장 어드레스를 발생하고 제어 신호와 함께 데이터를 저장한다. 또한, 트랙 포맷터(200)로부터 데이터 요구가 있게 되면 메모리 제어기(230)는 해당 데이터의 주소와 읽기 신호를 발생하여 데이터를 읽고 이들 데이터를 트랙 포맷터(200)에 전달한다.On the other hand, the memory controller 230 generates a storage address and a control signal of the corresponding data required for each block to read and write data from the memory 130 under the control of the controller 290. That is, when the sink block data is to be stored from the first packager 170, the memory controller 230 generates a storage address using information of the header portion and stores the data together with the control signal. In addition, when there is a data request from the track formatter 200, the memory controller 230 generates an address and a read signal of the corresponding data, reads the data, and transfers the data to the track formatter 200.

그리고, 아이·디 교정기(260)는 상기 제2패키타이져(220)로부터의 각 싱크 블록의 헤더에 있는 아이·디 정보가 손상된 경우 에러 정정을 수행하여 스크램블러 및 역스크램블러(280)으로 출력하여 스크램블러 및 역스크램블러(280)의 초기화 값으로 사용한다.When the ID information in the header of each sync block from the second packager 220 is damaged, the ID de-corrector 260 performs error correction and outputs the error to the scrambler and inverse scrambler 280. Used as an initialization value of the scrambler and inverse scrambler 280.

또한, 에러 정보 레지스터(error information register; EIR, 270)는 비효율적인 동작 시간을 감소시키기 위하여 상기 리드-솔로몬 복호화기(190)로부터의 각 싱크 블록의 에러 정보를 저장하여 연속적인 데이터 처리가 가능하도록 한다.In addition, an error information register (EIR) 270 stores error information of each sync block from the Reed-Solomon decoder 190 to enable continuous data processing in order to reduce inefficient operation time. do.

스크램블러/역스크램블러(280)는 상기 트랙 포맷터(200)로부터 상기 포맷된 데이터를 스크램블하여 프리 인코더(330)에 제공하고, 데크(340)로부터 제2패키타이져에 스크램블되어 저장된 상기 싱크 블록의 데이터를 역스크램블하여 트랙 포맷터/트랙 디포맷터(200)로 출력한다.The scrambler / descrambler 280 scrambles the formatted data from the track formatter 200 to the pre-encoder 330, and scrambles the scrambled data from the deck 340 to the second packager. Descrambling the output to the track formatter / track deformatter 200.

그리고, 프리 인코더(330)는 상기 스크램블러/역스크램블러(280)로부터의 상기 스크램블된 데이터를 프리 인코딩하여 데크(340)에 장착된 테이프에 저장한다.The pre-encoder 330 pre-encodes the scrambled data from the scrambler / descrambler 280 and stores the scrambled data on a tape mounted on the deck 340.

제어부(290)는 제1패키타이져(170), 리드-솔로몬 부호화기(180), 그리고 트랙 포맷터(200)로부터 데이터 요구 신청을 받아 상기 메모리 제어기(230)를 제어하여 해당 데이터의 저장 어드레스 및 제어 신호를 상기 메모리(130)에 제공하므로써 메모리를 억세스할 수 있도록 시간을 분배하여 주는 역할을 수행한다. 또한 제어부(290)는 마이크로 제어기(230)가 발생한 서브 코드 데이터를 메모리(130)에 저장한 후 패리티 정보를 부가하여 트랙 포맷터/트랙 디포맷터(200)로 제공한다.The controller 290 receives a data request request from the first packetizer 170, the Reed-Solomon encoder 180, and the track formatter 200, and controls the memory controller 230 to store and store the data. By providing a signal to the memory 130, it distributes time so that the memory can be accessed. In addition, the controller 290 stores the sub code data generated by the microcontroller 230 in the memory 130 and adds parity information to the track formatter / track deformatter 200.

도 2에는 상기 리드-솔로몬 복호화기(190)내에 구성되어 상기 메모리(130)로부터의 입력 데이터의 코드 워드의 천이 여부를 판별하는 코드 워드 천이 검출 장치의 구성이 상세하게 도시되어 있다. 그리고, 도 3에는 도 2에 도시된 코드 워드 천이 검출 장치의 코드 워드 천이 검출 방법을 보이는 흐름도가 도시되어 있다.FIG. 2 illustrates in detail the configuration of a code word transition detection device configured in the Reed-Solomon decoder 190 to determine whether a code word of input data from the memory 130 has transitioned. 3 is a flowchart illustrating a code word transition detection method of the code word transition detection device shown in FIG. 2.

도 2를 참조하면, 본 발명의 실시예에 따른 코드 워드 천이 검출 장치는, 신드롬 연산부(192), 패리티 발생부(194), 패리티 비교부(196), 그리고 천이 판정부(198)를 포함하는 구성을 갖는다.Referring to FIG. 2, an apparatus for detecting code word transitions according to an embodiment of the present invention includes a syndrome calculating unit 192, a parity generating unit 194, a parity comparing unit 196, and a transition determining unit 198. Has a configuration.

도 3을 참조하여 상술한 구성을 갖는 코드 워드 천이 검출 장치의 코드 워드 천이 검출 방법을 보다 상세하게 설명하면 다음과 같다.The code word transition detection method of the code word transition detection device having the above-described configuration will be described in detail with reference to FIG. 3 as follows.

먼저, 신드롬 연산부(192)는 상기 메모리(130)로부터의 소정 비트의 제1데이터 정보 및 제1패리티 정보를 갖는 수신 디지털 데이터를 입력받아 수신 디지털 데이터의 신드롬을 연산한다(단계 S510).First, the syndrome calculating unit 192 receives the received digital data having the first data information and the first parity information of the predetermined bit from the memory 130 and calculates the syndrome of the received digital data (step S510).

그리고, 상기 수신 디지털 데이터의 연산된 신드롬 값이 이미 설정된 신드롬 설정값, 예컨대 '0' 값과 일치하는지의 여부를 판별하여(단계 S520), 상기 수신 디지털 데이터의 연산된 신드롬 값이 신드롬 설정값과 동일한 경우 입력된 상기 수신 디지털 데이터를 출력한다(단계 S540).Then, it is determined whether or not the calculated syndrome value of the received digital data matches a preset syndrome setting value, for example, a value of '0' (step S520), and the calculated syndrome value of the received digital data is equal to the syndrome setting value. If the same, the received digital data is output (step S540).

그리고, 상기 수신 디지털 데이터의 연산된 신드롬 값이 신드롬 설정값과 동일하지 않은 경우에는 현재 연산된 수신 디지털 데이터를 출력하지 않고 다음 수신 디지털 데이터의 신드롬을 연산한다(단계 S530).If the calculated syndrome value of the received digital data is not the same as the syndrome setting value, the syndrome of the next received digital data is calculated without outputting the currently received received digital data (step S530).

다음, 상기 패리티 발생부(194)는 상기 메모리(130)로부터 입력된 상기 제1데이터 정보 및 제1패리티 정보를 갖는 수신 디지털 데이터의 제1데이터 정보를 이용하여 새로운 제2패리티 정보를 발생한다(단계 S550).Next, the parity generator 194 generates new second parity information by using the first data information of the received digital data having the first data information and the first parity information input from the memory 130 ( Step S550).

이어서, 상기 패리티 비교부(196)는 상기 신드롬 연산부(192)로부터 수신 디지털 데이터의 제1패리티 정보를 입력받고, 상기 패리티 발생부(194)로부터 수신 디지털 데이터의 제2패리티 정보를 입력받아 제1 및 제2패리티 정보가 서로 일치하는지를 판별한다(단계 S560).Subsequently, the parity comparison unit 196 receives the first parity information of the received digital data from the syndrome calculating unit 192 and receives the second parity information of the received digital data from the parity generation unit 194. And whether the second parity information coincides with each other (step S560).

그리고, 제1 및 제2패리티 정보가 일치하는 경우 상기 수신 디지털 데이터가 유효임을 알리는 비교 신호를 발생하고(단계 S570), 제1 및 제2패리티 정보가 일치하지 않는 경우에는 상기 수신 디지털 데이터가 무효임을 알리는 비교 신호를 발생한다(단게 S580).When the first and second parity information match, a comparison signal indicating that the received digital data is valid is generated (step S570). When the first and second parity information do not match, the received digital data is invalid. A comparison signal is generated to indicate that it is (step S580).

그리고, 상기 신드롬 연산부(192)로부터 제1데이터 정보 및 제1패리티 정보를 갖는 수신 디지털 데이터를 입력받고, 그리고, 상기 패리티 비교부(196)로부터 제1 및 제2패리티 정보의 비교 결과를 알리는 비교 신호를 입력받은 상기 천이 판정부(198)는 상기 비교 신호에 응답하여 상기 수신 디지털 데이터의 코드 워드 천이 검출 여부를 알리는 천이 판정 신호를 발생한다(단계 S590).The received digital data having the first data information and the first parity information is received from the syndrome calculating unit 192, and the parity comparison unit 196 compares the result of comparing the first and second parity information. In response to the signal, the transition determining unit 198 generates a transition determination signal indicating whether a code word transition of the received digital data is detected (step S590).

상술한 바와 같은 디지털 비디오 홈 시스템에서의 코드 워드 검출 방법 및 장치에 의하면, 외부로부터 수신된 수신 디지털 데이터의 천이 여부를 검출할 수 있다. 따라서 오류가 발생된 데이터가 테이프에 기록되거나 재생되는 것을 방지할 수 있고, 나아가 디지털 비디오 홈 시스템형의 비디오 카세트 레코더의 화질 및 음질이 저하되는 문제점을 해결할 수 있다.According to the code word detection method and apparatus in the digital video home system as described above, it is possible to detect whether or not the received digital data is transmitted from the outside. Therefore, it is possible to prevent the error-prone data from being recorded or reproduced on the tape, and further, to solve the problem of deterioration in image quality and sound quality of the video cassette recorder of the digital video home system type.

이상, 본 발명을 상기한 바람직한 실시예를 들어 구체적으로 설명하였지만, 본 발명은 이에 한정되는 것이 아니고, 당업자의 통상의 지식의 범위 내에서 그 변형이나 개량이 가능하다.As mentioned above, although this invention was demonstrated concretely by the above-mentioned preferable embodiment, this invention is not limited to this, A deformation | transformation and improvement are possible within the range of the common knowledge of a person skilled in the art.

Claims (3)

(a) 외부로부터 제1데이터 정보 및 제1패리티 정보를 갖는 수신 디지털 데이터를 입력받아 수신 디지털 데이터의 신드롬 값을 연산하는 단계;(a) receiving received digital data having first data information and first parity information from an external device and calculating a syndrome value of the received digital data; (b) 단계 (a)에서 연산된 신드롬 값이 설정값과 동일한지를 판별하여, 동일한 경우 수신 디지털 데이터를 출력하고, 동일하지 않은 경우 다음에 입력되는 수신 디지털 데이터의 신드롬 값을 연산하는 단계;(b) determining whether the syndrome value calculated in step (a) is the same as the setting value, outputting received digital data if it is identical, and calculating syndrome values of the next received digital data if they are not identical; (c) 단계 (b)에서 출력된 수신 디지털 데이터의 제1데이터 정보에 대한 제2패리티 정보를 발생하는 단계;(c) generating second parity information on the first data information of the received digital data output in step (b); (d) 단계 (b)에서 출력된 수신 디지털 데이터의 제1패리티 정보와 단계 (c)에서 발생된 제2패리티 정보가 동일한지를 판별하여, 동일한 경우 상기 제1데이터 정보 및 제1패리터 정보를 갖는 수신 디지털 데이터가 유효함을 알리는 신호를 발생하는 단계와; 그리고(d) determining whether the first parity information of the received digital data output in step (b) and the second parity information generated in step (c) are the same, and if so, the first data information and the first parity information Generating a signal indicating that the received digital data is valid; And (e) 단계 (a)에서 발생된 제1패리티 정보와 단계 (c)에서 발생된 제2패리티 정보가 동일하지 않은 경우 상기 제1데이터 정보 및 제1패리티 정보를 갖는 수신 디지털 데이터가 무효임을 알리는 신호를 발생하는 단계를 포함하는 것을 특징으로 하는 디지털 비디오 홈 시스템에서의 코드 워드 천이 검출 방법.(e) when the first parity information generated in step (a) and the second parity information generated in step (c) are not the same, indicating that the received digital data having the first data information and the first parity information are invalid. Generating a signal comprising the step of generating a signal. 제1항에 있어서, 상기 설정값은 '0'인 것을 특징으로 하는 디지털 비디오 홈 시스템에서의 코드 워드 천이 검출 방법.The method of claim 1, wherein the set value is '0'. 외부로부터 제1데이터 정보 및 제1패리티 정보를 갖는 수신 디지털 데이터를 입력받아서 수신 디지털 데이터의 신드롬 값을 연산하고, 그 결과에 응하여 수신 디지털 데이터의 제1패리티 정보를 제공하기 위한 신드롬 연산 수단(192);Syndrome calculation means 192 for receiving the received digital data having the first data information and the first parity information from the outside to calculate a syndrome value of the received digital data, and providing the first parity information of the received digital data in response to the result. ); 수신 디지털 데이터의 제1데이터 정보에 대한 제2패리티 정보를 발생하여 제공하기 위한 패리티 발생 수단(194);Parity generating means (194) for generating and providing second parity information for the first data information of the received digital data; 상기 신드롬 연산 수단(192)으로부터의 제1패리티 정보와 상기 패리티 발생 수단(194)으로부터의 제2패리티 정보를 서로 비교하여 수신 디지털 데이터의 오류 발생 여부를 알리는 패리티 비교 신호를 제공하기 위한 패리티 비교 수단(196); 그리고Parity comparison means for comparing a first parity information from the syndrome calculating means 192 and the second parity information from the parity generating means 194 to provide a parity comparison signal indicating whether an error of received digital data has occurred. (196); And 상기 신드롬 연산 수단(192)으로부터의 제1패리티 정보와 상기 패리티 비교 수단(196)으로부터의 패리티 비교 신호를 입력받아서 상기 수신 디지털 데이터의 제1데이터 정보의 천이 여부를 판정하여서 천이 판정 신호를 제공하기 위한 천이 판정 수단(198)을 포함하는 것을 특징으로 하는 디지털 비디오 홈 시스템에서의 코드 워드 천이 검출 장치.Providing a transition determination signal by receiving the first parity information from the syndrome calculating means 192 and the parity comparison signal from the parity comparing means 196 and determining whether the first data information of the received digital data has transitioned. Apparatus for detecting a code word transition in a digital video home system, characterized in that it comprises transition determining means (198).
KR1019970044657A 1997-08-30 1997-08-30 Method and apparatus for detecting codeword transition in digital video home system KR19990021150A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019970044657A KR19990021150A (en) 1997-08-30 1997-08-30 Method and apparatus for detecting codeword transition in digital video home system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019970044657A KR19990021150A (en) 1997-08-30 1997-08-30 Method and apparatus for detecting codeword transition in digital video home system

Publications (1)

Publication Number Publication Date
KR19990021150A true KR19990021150A (en) 1999-03-25

Family

ID=66038649

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019970044657A KR19990021150A (en) 1997-08-30 1997-08-30 Method and apparatus for detecting codeword transition in digital video home system

Country Status (1)

Country Link
KR (1) KR19990021150A (en)

Similar Documents

Publication Publication Date Title
US5122912A (en) Signal processing apparatus selecting a scrambled signal having a desired dc component from among a plurality of scrambled signal obtained by scrambling an input-data signal with respective pseudo-random signals
KR100235617B1 (en) Digital- vhs encoding method and encoder
JP3004252B2 (en) Digital recording / reproducing apparatus and method with improved error correction capability
US4937686A (en) Method and apparatus for PCM recording and reproducing an audio signal having an asynchronous relation between the sampling frequency for the audio signal and the rotation frequency of a rotary head scanner
KR19980019012A (en) A method for transmitting DVD reproduced data to a decoder in a fixed data rate via digital bus
EP0405885A1 (en) Recording device and reproducing device
US6134384A (en) Digital signal recording/reproducing apparatus and recording method
US6118921A (en) Apparatus and method for reproducing a video segment for a digital video cassette recorder
EP0762423A1 (en) Sync detecting and protecting circuit and method thereof
JP3809719B2 (en) Digital video signal processing apparatus and method, digital video signal reproduction apparatus, decoding apparatus and method, and reproduction apparatus and method
KR19990021150A (en) Method and apparatus for detecting codeword transition in digital video home system
KR100208665B1 (en) Method for decoding digital vhs and the decoder therefor
JPH11177581A (en) Data transmitter, data receiver and data recorder
JPH1188441A (en) Memory controller, memory control method, transmitter and receiver
JPH08340551A (en) Decoding signal error correction device
JP3692838B2 (en) Recording method, reproducing method, reproducing apparatus and recording medium
KR100235614B1 (en) Digital- vhs codec
JPH04243386A (en) Picture processing unit
KR100241951B1 (en) Method of selecting reproduced track data in d-vhs
JPH04255187A (en) Information recording device
JP2715418B2 (en) Error correction coding device
JP3817881B2 (en) Digital video signal processing apparatus and method, and digital video signal reproducing apparatus
JP3318771B2 (en) Digital signal processor
KR100271058B1 (en) Method for detecting damaged time stamp in a d-vhs
KR100207617B1 (en) Address generation circuit for de-shuffling

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
WITB Written withdrawal of application