KR100235614B1 - Digital- vhs codec - Google Patents

Digital- vhs codec Download PDF

Info

Publication number
KR100235614B1
KR100235614B1 KR1019960080870A KR19960080870A KR100235614B1 KR 100235614 B1 KR100235614 B1 KR 100235614B1 KR 1019960080870 A KR1019960080870 A KR 1019960080870A KR 19960080870 A KR19960080870 A KR 19960080870A KR 100235614 B1 KR100235614 B1 KR 100235614B1
Authority
KR
South Korea
Prior art keywords
data
sync
digital
time stamp
memory
Prior art date
Application number
KR1019960080870A
Other languages
Korean (ko)
Other versions
KR19980061499A (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 KR1019960080870A priority Critical patent/KR100235614B1/en
Publication of KR19980061499A publication Critical patent/KR19980061499A/en
Application granted granted Critical
Publication of KR100235614B1 publication Critical patent/KR100235614B1/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1833Error detection or correction; Testing, e.g. of drop-outs by adding special lists or symbols to the coded information
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B20/1201Formatting, e.g. arrangement of data block or words on the record carriers on tapes
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1833Error detection or correction; Testing, e.g. of drop-outs by adding special lists or symbols to the coded information
    • G11B2020/1836Error detection or correction; Testing, e.g. of drop-outs by adding special lists or symbols to the coded information using a Reed Solomon [RS] code

Landscapes

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

Abstract

프로그램 처리로 불가능한 방대한 계산을 실시간 수행할 수 있는 디지털 데이터 저장 및 재생용 디지털-VHS 코덱이 개시되어 있다. 디지털 데이터에 시간 스탬프를 발생하고, 다수개의 트랙에 다수개의 싱크 블록을 저장한다. 상기 싱크 블록에서 더미 싱크 블록을 필터링하고 정상 싱크 블록을 출력한다. 상기 시간 스탬프를 기준 시간 스탬프를 비교하여 일정한 간격으로 정상 또는 더미 싱크 블록을 형성한다. 나누어진 싱크 블록에 식별 번호 코드 및 시스템 데이터를 발생하여 저장한다. 식별 번호 코드에 대응하는 번지에 상기 싱크 블록을 다수회 셔플링하여 독출하여 상기 싱크 블록에 대한 내부 에러 정정 코드를 생성하고 외부 에러 정정 코드를 생성하여 패리티 싱크 블록을 발생한다. 상기 싱크 블록에 발생되는 에러를 정정하고, 상기 각 싱크 블록에 식별 번호 코드 및 싱크 데이터를 첨가하고 디지털-VHS 트랙 포맷에 맞게 포맷팅하여 데크와 장착된 비디오 테이프에 저장한다. 시리얼 형태의 디지털 데이터를 수신받아 프리앰블, 서브 코드 및 메인 코드를 구분하고 상기 메인 코드 영역에서 각 싱크 블록에서 싱크 데이터를 검출하여 싱크 블록 단위로 데이터를 구분한다.Disclosed is a digital-VHS codec for digital data storage and playback that can perform massive computations that are impossible with program processing. A time stamp is generated for the digital data, and a plurality of sync blocks are stored in a plurality of tracks. The sync block filters the dummy sync block and outputs a normal sync block. The time stamp is compared with a reference time stamp to form a normal or dummy sink block at regular intervals. An identification number code and system data are generated and stored in the divided sink block. The sync block is shuffled and read a plurality of times at an address corresponding to an identification number code to generate an internal error correction code for the sync block, and an external error correction code to generate a parity sync block. The error occurring in the sync block is corrected, an identification number code and sync data are added to each sync block, formatted for the digital-VHS track format, and stored in the deck and the mounted video tape. The preamble, the sub code, and the main code are received by receiving the digital data in serial form, and the sink data is detected in each sink block in the main code area, and the data is classified in units of sync blocks.

Description

디지털-VHS 코덱Digital-VHS Codec

본 발명은 디지털 데이터 저장 및 재생용 디지털-VHS 코덱에 관한 것이다. 보다 구체적으로, 본 발명은 프로그램 처리로 불가능한 방대한 계산을 실시간 수행할 수 있는 디지털 데이터 저장 및 재생용 디지털-VHS 코덱에 관한 것이다.The present invention relates to a digital-VHS codec for digital data storage and playback. More specifically, the present invention relates to a digital-VHS codec for digital data storage and reproduction that can perform massive calculations that are impossible with program processing in real time.

Moving Picture Experts Group(MPEG) 2를 이용한 디지털 방송이 시작된 이후 현재 전세계의 많은 방송사들이 디지털 방송을 시행 중이거나 곧 시행할 예정이다. 방송사들의 디지털 방송의 참여는 정보의 손실이 적은 디지털 데이터를 이용하여 시청자들에게 고품질의 동화상과 음향을 제공하기 위함과 동시에 멀티 미디어 시대에 걸맞은 디지털 정보의 호환성이 주된 이유라 할 수 있다. 이러한 시점에서 국외의 많은 전자 업체들은 디지털 방송을 기록/재생할 수 있는 디지털 데이터 레코더(digital data recorder: DR)의 시장성을 내다보며 이의 개발에 집중적인 투자를 하고 있다. 빅터사는 STD 디지털-비디오 홈 시스템(digital-video home system: D-VHS) 사양을 히다찌사, 마쯔시다 전기 및 필립스 전자와 협약하여 작성하고 확정하였다. 이는 D-VHS 기술이 다가 오는 미래에 급변하는 멀티 미디어에 기록 매체로서 대응할 수 있는 길을 마련할 것이라 보고 있기 때문이다. D-VHS는 기존 VHS 기능을 수행하며 디지털 방송을 통해 전달된 압축 디지털 데이터를 기록하고 기록 직전에 데이터를 재생하는 기능을 가진다. 이는 기존의 테이프 매체가 가지는 고밀도 저장 및 저가의 장점을 최대한 이용하여 가정용 디지털 저장 매체로서 큰 의의를 가지고 있다.Since digital broadcasts using Moving Picture Experts Group (MPEG) 2 have begun, many broadcasters around the world are now or will soon be launching digital broadcasts. Broadcasters' participation in digital broadcasting is the main reason for providing high quality moving images and sound to viewers using digital data with little loss of information, and at the same time, the compatibility of digital information suitable for the multimedia era is the main reason. At this point, many overseas electronics companies are investing heavily in the development of digital data recorders (DRs) that can record and play digital broadcasts. Victor has written and finalized the STD digital-video home system (D-VHS) specification in agreement with Hitachi, Matsushita Electric and Philips Electronics. This is because D-VHS technology will prepare a way to cope with the rapidly changing multimedia as a recording medium in the coming future. D-VHS performs the existing VHS function and records compressed digital data transmitted through digital broadcasting and reproduces the data just before recording. This has great significance as a home digital storage medium utilizing the advantages of high density storage and low cost of existing tape media.

디지털 방송은 다채널, 고품질 화면, 서라운드 음향, 음성 다중 등의 영상 및 음성 특성을 가지며 정보 측면으로는 프로그램 리스트와 안내문과 같은 서비스 정보와 PC 소프트웨어, 쇼핑 카탈로그 및 전자 출판과 같은 데이터 방송으로 나뉠 수 있다. 다변화된 무수한 정보를 저장하고 재생하는 기능은 앞으로 필수적인 기능을 발휘할 것으로 본다.Digital broadcasting has video and audio characteristics such as multi-channel, high-quality picture, surround sound, and voice multiplexing.In terms of information, it can be divided into service information such as program lists and announcements and data broadcasting such as PC software, shopping catalogs, and electronic publishing. have. The ability to store and play back a myriad of diversified information is expected to play an essential role in the future.

D-VHS는 디지털 방송과 같은 압축된 또는 처리된 데이터를 가공없이 테이프에 저장하고 출력하는 기능을 가지는 비트 스트림 저장 장치이다. 따라서 비트 스트림 기록 장치는 아날로그-디지털 변환기/디지털-아날로그 변환기, 압축/감축 기능이 필요하지 않게 된다. 물론 이들 신호는 변환 장치를 통해 영상과 음성 신호로 변환되어 인간이 인식할 수 있는 신호로 출력된다.D-VHS 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. Therefore, the bit stream recording apparatus does not need the analog-to-digital converter / digital-analog converter and the 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.

이외의 D-VHS 특징으로는 첫째, 멀티 미디어 시대를 위한 가정용 데이터 서버(VCR 및 V&DR) 로서의 기능을 수행하고, 둘째로 아날로그 신호에서 디지털 신호로의 혁신을 연계하고, 셋째로, 전자 파일을 위한 고밀도 저장 매체로서의 기능을 가지며 마지막으로 이미 proven된 생산 체제를 가지고 있는 일반화된 ferric oxide tape(SVHS)를 이용함으로써 고도의 안정도와 가격 경쟁력을 가진다. D-VHS의 기록 성능은 14.1MBPS의 입력 데이터 레이트에 대해 7시간 데이터의 저장이 가능하며 LP 모드의 경우 7MBPS에 대해 14시간 가량의 데이터 저장이 가능하다. 이는 44 기가 바이트의 저장 능력을 나타낸다. 응용 분야로는 비디오 서버, 안전 감시 장치, 데이터 기록 저장 매체 등에 이용될 수 있다.Other D-VHS features include: first, functioning as a home data server (VCR and V & DR) for the multimedia age; second, integrating innovation from analog to digital signals; and third, for electronic files. Highly stable and cost-competitive by using a generalized ferric oxide tape (SVHS) which functions as a high density storage medium and finally has a proven production system. The recording performance of the D-VHS can store 7 hours of data for an input data rate of 14.1 MBPS and 14 hours for 7 MBPS in LP mode. This represents a storage capacity of 44 gigabytes. Application fields may be used in video servers, safety monitoring devices, data recording storage media, and the like.

본 발명의 목적은 프로그램 처리로 불가능한 방대한 계산을 실시간 수행할 수 있는 디지털 데이터 저장 및 재생용 디지털-VHS 코덱을 제공하는 것을 목적으로 한다.An object of the present invention is to provide a digital-VHS codec for storing and reproducing digital data that can perform massive calculations which are impossible with program processing in real time.

제1도는 본 발명에 사용될 수 있는 디지털-비디오 홈 시스템(digital-video home system; D-VHS) 비디오 테이프의 트랙의 구조를 설명하기 위한 도면이다.1 is a diagram for explaining the structure of a track of a digital-video home system (D-VHS) video tape that can be used in the present invention.

제2도는 제1도에 도시된 트랙의 메인 데이터 싱크 블록의 구성을 설명하기 위한 도면이다.FIG. 2 is a diagram for explaining the configuration of the main data sync block of the track shown in FIG.

제3도는 제1도에 도시된 트랙의 서브 코드 싱크 블록의 구성을 설명하기 위한 도면이다.FIG. 3 is a diagram for explaining the configuration of a sub code sync block of the track shown in FIG.

제4도는 제1도에 도시된 트랙의 에러 정정 코드(error correction code; ECC)의 구조를 나타내는 도면이다.4 is a diagram showing the structure of an error correction code (ECC) of the track shown in FIG.

제5도는 본 발명에 사용될 수 있는 D-VHS 비디오 테이프에 기록되는 트랙 데이터 포맷을 나타낸다.5 shows a track data format recorded on a D-VHS video tape that can be used in the present invention.

제6도는 본 발명에 사용될 수 있는 D-VHS 디지털 방송 데이터 기록 아웃라인을 나타낸 도면이다.6 is a diagram showing a D-VHS digital broadcast data recording outline that can be used in the present invention.

제7도는 본 발명의 실시예에 따른 D-VHS 코덱의 구성을 나타낸 블록도이다.7 is a block diagram showing the configuration of a D-VHS codec according to an embodiment of the present invention.

제8a도 및 제8b도는 본 발명의 실시예에 따른 D-VHS 인코딩 방법을 설명하기 위한 흐름도이다.8A and 8B are flowcharts illustrating a D-VHS encoding method according to an embodiment of the present invention.

제9a도 및 제9b도는 본 발명의 실시예에 따른 D-VHS 디코딩 방법을 설명하기 위한 흐름도이다.9A and 9B are flowcharts illustrating a D-VHS decoding method according to an embodiment of the present invention.

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

11 : 촬상관 12 : 아날로그/디지털 변환기11: imaging tube 12: analog-to-digital converter

13 : 디지털 압축기 14 : 방송국13: digital compressor 14: broadcasting station

15 : 위성 16 : 안테나15 satellite 16 antenna

17 : 셋-탑 박스 171 : 튜너17: set-top box 171: tuner

172 : 디지털 신장기 173 : 디지털/아날로그 변환기172: Digital Extender 173: Digital-to-Analog Converter

18 : D-VHS 19 : 텔레비젼18: D-VHS 19: TV

701 : 시간 스탬프 발생기 702 : 메모리701: time stamp generator 702: memory

703 : 더미 필터 704 : 평활/역평활 버퍼703: dummy filter 704: smoothing / de-smoothing buffer

705 : 시간 스탬프 비교기 706, 711 : 패키타이져705: time stamp comparator 706, 711: packager

707 : 리드-솔로몬 부호화기 708 : 리드-솔로몬 복호화기707: Reed-Solomon Encoder 708: Reed-Solomon Decoder

709 : 트랙 포맷터/트랙 디포맷터 710 : 싱크 패턴 검출기709: Track Formatter / Track Deformatter 710: Sync Pattern Detector

712 : 메모리 제어기 713 : 제1셔플러712: memory controller 713: first shuffler

714 : 제2셔플러 715 : ID 교정기714: second shuffler 715: ID calibrator

716 : 에러 정보 레지스터 717 : 스크램블러 및 역스크램블러716: Error Information Register 717: Scrambler and Descrambler

718 : 데이터 제어기 719 : ID 발생기718: Data Controller 719: ID Generator

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

722 : 프리 인코더 730 : 데크722: pre-encoder 730: deck

상기 목적을 달성하기 위하여 본 발명은 위성으로부터 셋탑 박스를 통해 트랜스포트 패킷 형태로 비트 시리얼하게 입력되는 L(여기서, L은 2 이상의 정수이다)바이트의 디지털 데이터 각각에 M(여기서, M은 1 이상의 정수이다)바이트의 시간 스탬프를 발생하기 위한 시간 스탬프 발생기; 다수개의 트랙에 다수개의 싱크 블록을 각각 저장하기 위한 메모리; 상기 메모리에 저장된 싱크 블록에서 더미 블록을 필터링하고 정상 싱크 블록을 출력하기 위한 더미 필터; 상기 시간 스탬프 발생기로부터의 시간 스탬프를 기준 시간 스탬프를 비교하고 상기 비교 결과에 따라 일정한 간격으로 정상 또는 더미 싱크 블록을 형성하고, 상기 더미 필터로부터의 정상 싱크 블록을 저장하기 위한 평활/역평활 버퍼; 상기 평활/역평활 버퍼로부터의 상기 싱크 블록의 시간 스탬프와 기준 시간 스탬프를 비교하기 위한 시간 스탬프 비교기; 상기 평활/역평활 버퍼에 저장된 상기 정상 싱크 블록을 2개의 싱크 블록으로 나누고 상기 나누어진 싱크 블록에 식별 번호 코드 및 시스템 데이터를 발생하여 저장하기 위한 제1 패키타이져; 상기 제1 패키타이져에 저장된 식별 번호 코드에 대응하는 번지에 상기 패키타이져로부터의 상기 메모리에 저장된 싱크 블록을 다수회 셔플링하여 독출하여 상기 싱크 블록에 대한 내부 에러 정정 코드를 생성하고 외부 에러 정정 코드를 생성하여 패리티 싱크 블록을 발생하기 위한 리드-솔로몬 부호화기; 상기 메모리에 저장된 싱크 블록에 발생되는 에러를 정정하기 위한 리드-솔로몬 부호화기; 상기 메모리에 저장된 각 싱크 블록에 식별 번호 코드 및 싱크 데이터를 첨가하고 디지털-VHS 트랙 포맷에 맞게 포맷팅하여 데크에 장착된 비디오 테이프에 저장하기 위한 트랙 포맷터/트랙 디포맷터; 상기 데크에 장착된 비디오 테이프로부터 비트 시리얼 형태의 디지털 데이터를 수신받아 프리앰블, 서브 코드 및 메인 코드를 구분하고 상기 메인 코드 영역에서 각 싱크 블록에서 싱크 데이터를 검출하여 싱크 블록 단위로 데이터를 구분하기 위한 패턴 검출기; 상기 싱크 패턴 검출기에 의해 검출된 싱크 블록들을 일정한 간격으로 저장하기 위한 제2 패키타이져; 및 상기 제1 패키타이져, 상기 리드-솔로몬 부호화기, 및 트랙 포맷터/트랙 디포맷터로부터 데이터 요구 신청을 받아 상기 메모리에 대한 억세스 동작을 제어하기 위한 제어부로 구성되는 것을 특징으로 하는 디지털-VHS 코덱을 제공한다.In order to achieve the above object, the present invention provides M (where L is an integer of 1 or more) to each of L bytes of L (where L is an integer of 2 or more) inputted serially in a transport packet form from a satellite through a set-top box. A time stamp generator for generating a time stamp of bytes; A memory for respectively storing a plurality of sync blocks in the plurality of tracks; A dummy filter for filtering a dummy block in the sync block stored in the memory and outputting a normal sync block; A smoothing / de-smoothing buffer for comparing a time stamp from the time stamp generator with a reference time stamp and forming normal or dummy sink blocks at regular intervals according to the comparison result, and storing normal sink blocks from the dummy filter; A time stamp comparator for comparing a time stamp of the sink block and a reference time stamp from the smooth / de smooth buffer; A first packager for dividing the normal sync block stored in the smoothing / de smoothing buffer into two sync blocks and generating and storing an identification number code and system data in the divided sync blocks; Generates an internal error correction code for the sync block by shuffling and reading a sync block stored in the memory from the packager a plurality of times at a address corresponding to an identification number code stored in the first packetizer, and generating an external error. A Reed-Solomon encoder for generating a correction code to generate a parity sync block; A Reed-Solomon encoder for correcting an error occurring in the sync block stored in the memory; A track formatter / track deformatter for adding identification number codes and sync data to each sync block stored in the memory and formatting the digital-VHS track format for storage on a deck mounted video tape; Receives digital data in bit serial form from the video tape mounted on the deck to classify the preamble, sub code, and main code, and to classify data in sync block units by detecting sync data in each sync block in the main code area. Pattern detector; A second packager for storing the sync blocks detected by the sync pattern detector at regular intervals; And a controller for controlling an access operation to the memory by receiving a data request request from the first packager, the Reed-Solomon encoder, and a track formatter / track deformatter. to provide.

본 발명에 따른 디지털 데이터 저장 및 재생용 디지털-VHS 코덱은 프로그램 처리로 불가능한 방대한 계산을 실시간 수행할 수 있다.The digital-VHS codec for storing and reproducing digital data according to the present invention can perform massive calculations that are impossible with program processing in real time.

이하, 도면을 참조한 본 발명의 실시예를 통해 본 발명을 보다 상세히 설명한다.Hereinafter, the present invention will be described in more detail with reference to the accompanying drawings.

제1도은 본 발명에 사용될 수 있는 D-VHS 비디오 테이프의 트랙의 구조를 설명하기 위한 도면이다. D-VHS 비디오 테이프의 트랙에 있어서, 하나의 트랙은 2개의 제1마진 영역, 3개의 프리앰블 영역, 4개의 서브 코드 영역, 3개의 제1포스트 앰블 영역, 3개의 I. B. G 영역, 336개의 메인 코드 영역, 2개의 제2포스트 앰블 영역, 1개의 제2 마진 영역을 포함하는 356개의 싱크 블록들로 이루어진다. 각 싱크 블록은 896비트로 이루어진다. 상기 메인 코드 영역은 메인 데이터 싱크 블록으로 이루어진다. 상기 서브 코드 영역은 서브 코드 싱크 블록들로 이루어진다. 하나의 서브 코드 영역은 4개의 서브 코드 싱크 블록들로 이루어진다.1 is a diagram for explaining the structure of a track of a D-VHS video tape that can be used in the present invention. In a track of a D-VHS videotape, one track includes two first margin regions, three preamble regions, four sub code regions, three first post amble regions, three IB G regions, and 336 main codes It consists of 356 sync blocks comprising an area, two second post amble areas, and one second margin area. Each sync block consists of 896 bits. The main code area consists of a main data sink block. The sub code area consists of sub code sync blocks. One sub code area consists of four sub code sync blocks.

제2도는 제1도에 도시된 트랙의 메인 데이터 싱크 블록의 구성을 설명하기 위한 도면이다. 상기 메인 데이터 싱크 블록은 싱크 블록임을 구분하여 주는 2바이트의 싱크 코드, 싱크 블록 데이터의 확인을 위한 2바이트 및 이의 에러 정정을 위한 부가 정보 1바이트를 합한 3바이트의 식별 고유 번호 코드(identity: ID), 시스템 데이터 및 비트 스트림 데이터를 포함하는 99 바이트의 메인 데이터, 및 에러 정정을 위한 8 바이트의 내부 패리티로 구성된다.FIG. 2 is a diagram for explaining the configuration of the main data sync block of the track shown in FIG. The main data sink block is a 3-byte identification unique number code that includes a 2-byte sync code for identifying the sync block, 2 bytes for checking the sync block data, and 1 byte of additional information for error correction thereof. ), 99 bytes of main data including system data and bit stream data, and 8 bytes of internal parity for error correction.

제3도은 제1도에 도시된 트랙의 서브 코드 싱크 블록의 구성을 설명하기 위한 도면이다. 서브 코드 싱크 블록은 싱크, ID, 포맷 ID, 서브 코드 데이터 및 내부 패리티로 구성된다. 하나의 서브 코드 싱크 블록은 18심벌의 서브 코드 데이터 및 4심벌의 내부 패리티로 이루어진다. 하나의 심벌은 8비트로 이루어진다.FIG. 3 is a diagram for describing a configuration of a sub code sync block of a track shown in FIG. The sub code sync block is composed of a sink, ID, format ID, sub code data, and internal parity. One sub code sync block consists of 18 symbols of sub code data and 4 symbols of internal parity. One symbol consists of 8 bits.

제4도는 제1도에 도시된 트랙의 ECC의 구조를 나타내는 도면이다. 하나의 ECC 블록은 102개의 데이터 싱크 블록들 및 10개의 외부 패리티 싱크 블록들로 이루어진다. 메인 코드 영역은 336개의 메인 데이터 싱크 블록들을 가진다. 상기 336개의 메인 데이터 싱크 블록들은 306 개의 데이터 싱크 블록들 및 30개의 외부 패리티 싱크 블록들로 구성된다. 6개의 트랙의 결합된 메인 코드 영역은 18개의 ECC블록들로 이루어진다.4 is a diagram showing the structure of the ECC of the track shown in FIG. One ECC block consists of 102 data sink blocks and 10 external parity sync blocks. The main code area has 336 main data sink blocks. The 336 main data sink blocks are composed of 306 data sink blocks and 30 external parity sink blocks. The combined main code region of six tracks consists of 18 ECC blocks.

제5도는 본 발명에 사용될 수 있는 D-VHS 비디오 테이프에 기록되는 트랙 데이터 포맷을 나타낸다. 제5도에 도시된 바와 같이 테이프에는 트랙 단위로 데이터가 저장되며 이들은 재생시 에러 정정이 가능하도록 하기 위하여 RS 부호화에서 부여된 트랙 번호와 SB 번호 정보를 가지고 순차적으로 저장된다. 트랙은 프리앰블, 서브 코드, 인터앰블, 메인 데이터, 및 포스트 앰블로 구성되어 있다. 상기 메인 데이터의 상단 30 SB은 에러 정정용 부가 정보를 가진다. 이와 같은 6개의 트랙에 대해 18개의 ECC에 대한 RS 부호화가 이루어진다.5 shows a track data format recorded on a D-VHS video tape that can be used in the present invention. As shown in FIG. 5, data is stored on a tape in track units, and these are sequentially stored with track number and SB number information assigned in RS encoding to enable error correction during reproduction. The track is composed of a preamble, a sub code, an interamble, main data, and a post amble. The upper 30 SB of the main data has additional information for error correction. RS coding for 18 ECCs is performed on these six tracks.

제6도은 본 발명에 사용될 수 있는 D-VHS 디지털 방송 데이터 기록 아웃라인을 나타낸 도면이다. 참조 번호 11은 촬상관이고 참조 번호 12는 아날로그/디지털 변환기 참조 번호 13은 디지털 압축기이다. 참조 번호 14는 방송국이고 참조 번호 15는 위성이고 참조 번호 16은 안테나이다. 참조 번호 17은 셋-탑 박스이고 셋-탑 박스(17)는 튜너(171), 디지털 신장기(172), 및 디지털/아날로그 변환기(173)로 구성된다. 참조 번호 18은 D-VHS이고 참조 번호 19는 텔레비젼이다. STD D-VHS는 디지털 위성 방송을 통해 전송되는 MPEG 2 비트 스트림 데이터를 최대 14.1 MBPS 전송 속도의 데이터를 기록할 수 있는 능력을 가지고 있다. STD D-VHS 테이프에는 약 7 시간의 정보량에 해당하는 44 기가 바이트의 정보를 저장할 수 있다.6 is a diagram showing a D-VHS digital broadcast data recording outline that can be used in the present invention. Reference numeral 11 is an imaging tube and reference numeral 12 is an analog / digital converter Reference numeral 13 is a digital compressor. Reference numeral 14 is a broadcast station, reference numeral 15 is a satellite, and reference numeral 16 is an antenna. Reference numeral 17 is a set-top box and set-top box 17 is composed of a tuner 171, a digital expander 172, and a digital-to-analog converter 173. Reference numeral 18 is D-VHS and reference numeral 19 is television. STD D-VHS has the capability to record data up to 14.1 MBPS for MPEG 2 bit stream data transmitted via digital satellite broadcasting. The STD D-VHS tape can store 44 gigabytes of information, corresponding to about seven hours of information.

본 발명의 실시예에 따른 D-VHS 인코더를 상세히 설명한다. 제7도은 본 발명의 실시예에 따른 D-VHS 코덱의 구성을 나타낸 블록도이다.D-VHS encoder according to an embodiment of the present invention will be described in detail. 7 is a block diagram showing the configuration of a D-VHS codec according to an embodiment of the present invention.

본 발명의 실시예에 따른 D-VHS 코덱은 시간 스탬프 발생기(701), 메모리(702), 더미 필터(703), 평활/역평활 필터(704), 시간 프탬프 비교기(705), 제1 패키타이져(706), 리드-솔로몬 부호화기(707), 리드-솔로몬 복호화기(708), 트랙 포맷터.(709), 싱크 패턴 검출기(710), 제2패키타이져(711), 메모리 제어기(712), 제1셔플러(713), 제2셔플러(714), ID 교정기(715), 에러 정보 레지스터(716), 스크램블러 및 역스크램블러(717), 데이터 제어기(718), ID 발생기(719) 및 마이크로 제어기(720)로 구성된다.The D-VHS codec according to the embodiment of the present invention includes a time stamp generator 701, a memory 702, a dummy filter 703, a smoothing / de smoothing filter 704, a time stamp comparator 705, and a first pad. Keyizer 706, Reed-Solomon Encoder 707, Reed-Solomon Decoder 708, Track Formatter. 709, Sync Pattern Detector 710, Second Packager 711, Memory Controller 712 ), First shuffler 713, second shuffler 714, ID corrector 715, error information register 716, scrambler and descrambler 717, data controller 718, ID generator 719 And a micro controller 720.

시간 스탬프 발생기(701)는 위성으로부터 셋탑 박스를 통해 트랜스포트 패킷 형태로 비트 시리얼하게 입력되는 L(여기서, L은 2이상의 정수이다) 바이트의 디지털 데이터 각각에 MPEG 2비트 스트림에 포함되어 있는 기준 프로그램 클럭(program clock reference)에 동기화된 27MHz 클럭을 입력받아 TPE에 대해 27MHz로 4 바이트 타임 스탬프를 발생시켜 192 바이트 데이터로 만들어 평활화 버퍼(704)로 출력한다.The time stamp generator 701 is a reference program included in the MPEG 2-bit stream in 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 from a satellite via a set-top box. A 27 MHz clock synchronized to a clock (program clock reference) is input and a 4 byte time stamp is generated at 27 MHz for the TPE to generate 192 byte data and output to the smoothing buffer 704.

메모리(702)는 상기 제1패키타이져(706)로부터의 306개의 싱크 블록을 하나의 트랙으로 상기 싱크 블록에 포함된 각 ID에 대응하는 번지에 저장한다. 6개의 트랙이 하나의 시퀀스를 구성한다. 상기 메모리(702)는 트랙 포맷터(709)로부터의 싱크 블록을 제어부(718)의 제어 하에 저장한다. 상기 메모리(702)는 디램(dynamic random access memory : DRAM)으로 구성하는 것이 바람직하다.The memory 702 stores 306 sync blocks from the first packageizer 706 as one track at a address corresponding to each ID included in the sync block. Six tracks make up a sequence. The memory 702 stores the sync block from the track formatter 709 under the control of the controller 718. The memory 702 may be configured of a dynamic random access memory (DRAM).

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

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

시간 스탬프 비교기(705)는 상기 평활/역평활 버퍼(704)로부터의 각 SB의 시간 스탬프를 읽고 현재의 기준 시간 스탬프와의 값을 비교하여 전송 시점을 제어하여 상기 SB을 전송 시점을 맞추어 셋탑 박스 장치(17)를 통해 텔레비젼(19)으로 전송한다.The time stamp comparator 705 reads the time stamp of each SB from the smoothing / de-smoothing buffer 704 and compares the value with a current reference time stamp to control the transmission time point to set the SB to match the transmission time point. Transmit to television 19 via device 17.

제1패키타이져(706)는 상기 평활/역평활 버퍼(704)에 저장된 정상 싱크 블록을 각각 96 바이트를 가지는 2개의 싱크 블록으로 나누고, 각 싱크 블록에 대한 2바이트의 ID 및 3 바이트의 시스템 데이터를 발생하여 저장한다. 상기 시스템 데이터는 2바이트의 메인 헤더 및 1바이트의 데이터-AUX로 이루어진다. 즉 상기 TPE 데이터는 제1 패키타이져(706) 내의 상위 로컬 메모리 뱅크의 6 번지부터 101번지까지 96 바이트가 저장되며 나머지 96 바이트는 하위 로컬 메모리 뱅크에 저장된다. 하위 로컬 메모리에 데이터가 저장되는 동안 상위 로컬 메모리의 0번지에서 5 번지까지의 싱크 블록의 ID를 나타내는 내용으로 자신이 저장되어야 되는 트랙의 번호, 자신의 SB 번호, 현재 SB 데이터 기록 시스템 정보를 포함하는 메인 헤더가 저장된다.The first packetizer 706 divides the normal sync block stored in the smoothing / de smoothing buffer 704 into two sync blocks each having 96 bytes, and a 2-byte ID and 3-byte system for each sync block. Generate and store data. The system data consists of two bytes of main header and one byte of data-AUX. That is, the TPE data stores 96 bytes from address 6 to address 101 of the upper local memory bank in the first packager 706 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, including the track number, its own SB number, and the current SB data recording system information. The main header is saved.

제1셔플러(713)는 메모리(702)에 저장된 6개의 트랙의 1836개의 SB들을 셔플해서 102개의 SB들을 18번 가지고 와서 RS 부호화기(707)에 제공된다. 셔플링 방법은 이웃하는 바이트가 서로 다른 트랙으로부터 오도록 하며 이는 테이프의 버스트 에러가 발생하는 경우 에러 정정 능력을 향상시키기 위해서이다.The first shuffler 713 shuffles 1836 SBs of six tracks stored in the memory 702 to bring the 102 SBs 18 times and is provided to the RS encoder 707. 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.

RS 부호화기(707)는 상기 제1셔플러(713)로부터의 상기 셔플된 18번의 102개의 SB에 대해 수평 방향으로 내부 정정 코드, 수직 방향으로 외부 정정 코드를 생성하여 각 트랙마다 30의 패리티 싱크 블록, 즉 180개의 패리티 싱크 블록을 발생한다. 즉 RS 부호화는 ECC 단위로 수행되며 하나의 트랙은 3개의 ECC로 구성되어 있다. 각 ECC는 6개의 트랙으로부터 데이터를 셔플링하여 부가 정보를 발생한다. 주의할 점은 메인 데이터는 트랙 단위로 순차적으로 기록되는 반면 에러 정정을 위한 부가 정보는 트랙 상단에 30 SB 크기로 가지고 셔플링된 형태로 기록된다. RS 부호화기(707)는 외부, 내부, 및 서브 코드의 복부호화를 모두 수행하는 유연한 구조를 갖는다. 외부 패리티의 경우 10개까지의 심벌 에러를 정정하며 내부 및 서브 코드는 각각 4, 2개의 심벌 에러 정정 능력을 갖는다. 또한 자기 소거 기능을 수행하므로 외부 ECC의 경우 최대 10개까지 에러 정정이 가능하다. 서브 코드는 2개 심벌까지 에러 정정이 가능하다. 이 때 저장되는 싱크 블록의 구조는 제2도에서 2 바이트의 싱크를 제외한 것과 같다.The RS encoder 707 generates an internal correction code in the horizontal direction and an external correction code in the horizontal direction for the shuffled 18th 102 SBs from the first shuffler 713 to generate 30 parity sync blocks for each track. That is, 180 parity sync blocks are generated. That is, RS coding is performed in ECC units, 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 size of 30 SB at the top of the track. The RS encoder 707 has a flexible structure for performing all the decoding of the outer, inner, and sub codes. 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, the self-erase function allows error correction of up to 10 external ECC. The sub code can correct errors up to 2 symbols. The structure of the sync block stored at this time is the same as in FIG. 2 except for 2 bytes of sync.

제2셔플러(714)는 상기 메모리(702)에 저장된 6개의 트랙의 SB들을 셔플해서 102개의 SB들을 18번 가지고 와서 RS 복호화기(708)에 제공한다. 셔플링 방법은 제1 셔플러(712)에서와 동일한 방법이다.The second shuffler 714 shuffles the SBs of the six tracks stored in the memory 702 to bring the 102 SBs 18 times and provides them to the RS decoder 708. The shuffling method is the same as in the first shuffler 712.

RS 복호화기(708)는 상기 제2셔플러(712)에 의해 셔플링된 6개 트랙의 SB들에 대한 ECC 단위로 에러 정정을 수행한다. RS 복호화기(708)는 외부, 내부, 및 서브 코드의 복부호화를 모두 수행하는 유연한 구조를 갖는다. 외부 패리티의 경우 10개까지의 심벌 에러를 정정하며 내부 및 서브 코드는 각각 4, 2개의 심벌 에러 정정 능력을 갖는다. 또한 자기 소거 기능을 수행하므로 외부 ECC의 경우 최대 10개까지 에러 정정이 가능하다. 서브 코드는 2개 심벌까지 에러 정정이 가능하다.The RS decoder 708 performs error correction in units of ECC for the SBs of six tracks shuffled by the second shuffler 712. The RS decoder 708 has a flexible structure for performing all the decoding of the outer, inner, and sub codes. 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, the self-erase function allows error correction of up to 10 external ECC. The sub code can correct errors up to 2 symbols.

트랙 포맷터/트랙 디포맷터(709)는 ID 발생기(719)로부터 발생된 싱크 데이터 및 ID를 입력받고 상기 메모리(702)에 저장된 6개 트랙의 각 싱크 블록에 싱크 데이터 및 ID를 첨가하고, 각 트랙에 D-VHS 트랙 포맷에 맞게 형성한다. 즉 트랙 포맷터(709)는 제1도에 도시된 바와 같이 상기 제어부(718)로부터의 상기 서브 코드 데이터를 입력받고 제1 및 제2마진, 제1 및 제2프리앰블, 제1 및 제2포스트 앰블, I. B. G. 데이터를 생성하여 각 트랙에 첨가하여 스크램블러 및 역스크램블러(717)로 출력하고, 그 역기능을 수행한다.The track formatter / track deformatter 709 receives the sync data and ID generated from the ID generator 719 and adds the sync data and ID to each sync block of six tracks stored in the memory 702, and each track Form to match the D-VHS track format. That is, the track formatter 709 receives the sub code data from the control unit 718 as shown in FIG. 1 and receives first and second margins, first and second preambles, and first and second post ambles. In addition, IBG data is generated and added to each track and output to the scrambler and inverse scrambler 717, and the reverse function is performed.

싱크 패턴 검출기(710)는 데크(730)로부터 비트 시리얼 형태의 디지털 데이터를 갖는 트랙에서 트랙에서 프리앰블, 서브 코드, 및 메인 코드를 구분하고, 메인 코드 영역에서 각 SB 단위의 경계를 찾는다. 제1도 및 제2도에 도시된 바와 같이 데이터 형태는 물론 그 경계 지점을 감지하여 SB 단위로 데이터를 구분하여 데이터와 함께 데이터 형태를 제2패키타이져(711)에 제공한다.The sync pattern detector 710 distinguishes a preamble, a sub code, and a main code from the track in the track having digital data in bit serial form from the deck 730, and finds a boundary of each SB unit in the main code area. As shown in FIG. 1 and FIG. 2, the data format as well as the boundary point is sensed to classify the data in units of SBs, and the data format is provided to the second packager 711 together with the data.

제2패키타이져(711)는 상기 싱크 패턴 감지기(710)에 의해 감지된 SB 단위로 구분된 데이터를 저장한다. 상기 제2패키타이져(711)에 저장된 SB 데이터는 스크램블링된 상태이다.The second packageizer 711 stores the data classified in SB units detected by the sync pattern detector 710. The SB data stored in the second packager 711 is scrambled.

메모리 제어기(712)는 제어부의 제어에 의해 메모리(702)로부터 데이터를 읽고 쓰기 위해서 각 블록에서 요구하는 해당 데이터의 저장 어드레스와 제어 신호를 발생한다. 즉 제1패키타이져(706)로부터 싱크 블록 데이터를 저장하고자 할 때는 메모리 제어기(712)는 헤더 부분의 정보를 이용하여 저장 어드레스를 발생하고 제어 신호와 함께 데이터를 저장한다. 또한 트랙 포맷터로부터 데이터 요구가 있게 되면 메모리 제어기는 해당 데이터와 주소와 읽기 신호를 발생하여 데이터를 읽고 이들 데이터를 트랙 포맷터에 전달한다. 물론 이때 메모리 기능 중 패스트 페이지 리드 동작을 수행한다.The memory controller 712 generates a storage address and a control signal of the corresponding data required for each block to read and write data from the memory 702 under the control of the controller. That is, when the sink block data is to be stored from the first packetizer 706, the memory controller 712 generates a storage address using the information of the header portion and stores the data together with the control signal. When a data request is received from the track formatter, the memory controller generates corresponding data, an address and a read signal, reads the data, and transfers the data to the track formatter. Of course, at this time, the fast page read operation is performed.

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

에러 정보 레지스터(error information register: EIR, 716)는 비효율적인 동작 시간을 감소시키기 위하여 상기 RS 복호화기(709)로부터의 각 싱크 블록의 에러 정보를 저장하여 연속적인 데이터 처리가 가능하도록 한다.An error information register (EIR) 716 stores error information of each sync block from the RS decoder 709 in order to reduce inefficient operation time, thereby enabling continuous data processing.

스크램블러/역스크램블러(717)는 상기 트랙 포맷터(709)로부터의 상기 포맷터된 데이터를 스크램블하여 프리 인코더(722)에 제공하고, 데크(730)로부터의 스크램블되어 제2패키타이져(711)에 저장된 상기 SB의 데이터를 역스크램블하여 트랙 포맷터/트랙 디포맷터(709)로 출력한다.A scrambler / inverse scrambler 717 scrambles the formatted data from the track formatter 709 to the pre-encoder 722 and scrambled from the deck 730 to store it in the second packager 711. The data of the SB is scrambled and output to the track formatter / track deformatter 709.

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

제어부(718)는 제1패키타이져(706), RS 부호화기(707), 및 트랙 포맷터(709)로부터 데이터 요구 신청을 받아 메모리 제어기(712)를 제어하여 해당 데이터의 저장 어드레스 및 제어 신호를 메모리(702)에 제공함으로써 메모리(702)를 억세스할 수 있도록 시간을 분배하여 주는 역할을 수행한다. 또한 요구가 충돌하는 경우 중재 역할도 수행한다. 또한 제어부(718)는 마이크로 제어기(720)가 발생한 서브 코드 데이터를 메모리(702)에 저장한 후 패리티 정보를 부가하여 트랙 포맷터/트랙 디포맷터(709)로 제공한다.The controller 718 receives a data request request from the first packager 706, the RS encoder 707, and the track formatter 709 to control the memory controller 712 to store a storage address and a control signal of the corresponding data. By providing to 702, the memory 702 distributes time so that the memory 702 can be accessed. It also plays an arbitration role in the event of a conflict. In addition, the controller 718 stores the sub code data generated by the microcontroller 720 in the memory 702 and adds parity information to the track formatter / track deformatter 709.

상기와 같이 구성된 본 발명의 실시예에 따른 D-VHS 코덱 동작 및 D-VHS 부호화 방법, 즉 디지털 데이터 저장 방법을 설명한다. 제8a도 및 제8b도는 본 발명의 실시예에 따른 D-VHS 인코딩 방법을 설명하기 위한 흐름도이다.D-VHS codec operation and D-VHS encoding method according to the embodiment of the present invention configured as described above, that is, digital data storage method will be described. 8A and 8B are flowcharts illustrating a D-VHS encoding method according to an embodiment of the present invention.

제6도에 도시된 바와 같이 방송국(14)으로부터 위성(15) 및 안테나(16)를 통해 전파되는 MPEG 2 비트 스트림 디지털 데이터는 셋탑 박스(17)의 튜너(171)를 통해 원하는 채널이 선택되어 디지털 인터페이스를 통해 D-VHS 코덱(70)의 시간 스탬프 발생기(701)를 통해 D-VHS 코덱(70)으로 입력된다. 이 때 입력되는 데이터는 188 바이트로 구성되는 트랜스 포트 패킷 요소(transport packet element: TPE)형태로 비트 시리얼하게 입력된다(단계 S1).As shown in FIG. 6, the MPEG 2 bit stream digital data propagated from the broadcast station 14 through the satellite 15 and the antenna 16 is selected through the tuner 171 of the set-top box 17. It is input to the D-VHS codec 70 through the time stamp generator 701 of the D-VHS codec 70 via a digital interface. At this time, the input data is serially input in the form of a transport packet element (TPE) composed of 188 bytes (step S1).

시간 스탬프 발생기(701)는 MPEG 2 비트 스트림에 포함되어 있는 기준 프로그램 클럭(program clock reference)에 동기화된 27MHz 클럭을 입력받아 APE에 대해 27MHz로 4 바이트 타임 스탬프를 발생시켜 상기 188 바이트의 TPE에 첨가하여 192 바이트 데이터로 만들어 평활/역 평활 버퍼(704)로 출력한다(단계S2).The time stamp generator 701 receives a 27 MHz clock synchronized to a program clock reference included in the MPEG 2 bit stream, generates a 4 byte time stamp at 27 MHz for the APE, and adds it to the 188 byte TPE. The data is made into 192 byte data and output to the smoothing / inverse smoothing buffer 704 (step S2).

평활/역평활 버퍼(704)는 상기 시간 스탬프 발생기(701)로부터의 시간 스탬프를 포함한 192 바이트 TPE 데이터를 입력받아 상기 입력된 시간 스탬프가 스위칭 펄스 발생기가 발생한 스위칭 펄스에 의한 기준 시간 스탬프와 동일한 지의 여부를 판단한다(단계 S3).The smoothing / de-smoothing buffer 704 receives 192 byte TPE data including the time stamp from the time stamp generator 701 to determine whether the input time stamp is the same as the reference time stamp by the switching pulse generated by the switching pulse generator. It is judged whether or not (step S3).

단계 S3에서, 상기 입력된 시간 스탬프가 상기 기준 시간 스탬프와 동일한 것으로 판단된 경우에는 상기 평활/역평활 버퍼(704)는 상기 TPE 데이터를 정상 싱크 블록으로서 내부의 메모리 뱅크에 저장한다(단계S4). 그러나 상기 입력된 시간 스탬프가 상기 기준 시간 스탬프와 다른 것으로 판단된 경우에는 평활/역평활 버퍼(704)는 상기 TPE 데이터를 더미 싱크 블록으로서 생성하여 내부의 메모리 뱅크에 저장한다(단계S5). 즉, 이들 입력 정보는 다중화된 데이터로부터 원하는 채널의 데이터가 선택되는 과정에서 발생하는 가변 입력 비트 레이트에 의해 일정한 비트 레이트로 변환하는 평활화(smoothing) 과정을 거친다.In step S3, when it is determined that the input time stamp is the same as the reference time stamp, the smoothing / de smoothing buffer 704 stores the TPE data as a normal sink block in an internal memory bank (step S4). . However, if it is determined that the input time stamp is different from the reference time stamp, the smoothing / de smoothing buffer 704 generates the TPE data as a dummy sink block and stores the TPE data in an internal memory bank (step S5). That is, these input information go through a smoothing process of converting the input channel data into a constant bit rate by a variable input bit rate generated in the process of selecting data of a desired channel from the multiplexed data.

제1패키타이져(706)는 상기 평활/역평활 버퍼(702)에 저장된 정상 SB을 각각 96 바이트를 가지는 2개의 싱크 블록으로 분리하고(단계 S6), 각 싱크 블록에 대한 2바이트의 ID 및 3 바이트의 시스템 데이터를 발생하여 저장한다(단계 S7).The first packetizer 706 separates the normal SBs stored in the smoothing / de-smoothing buffer 702 into two sync blocks each having 96 bytes (step S6), and a 2-byte ID for each sync block and Three bytes of system data are generated and stored (step S7).

제어부(718)는 메모리 제어기(712)를 제어하여 해당 데이터의 저장 어드레스 및 제어 신호를 메모리(702)에 제공하도록 한다. 그리고 제어부(718)는 상기 제1 패키타이져(706)에 저장된 6개 트랙의 SB 데이터(102바이트)를 시스템 클럭에 동기하여 패스트 페이지 방법으로 상기 제1패키타이져(706)로부터의 상기 ID를 이용하여 상기 ID에 대응하는 4 메가 비트 용량을 가지는 메모리(702)의 어드레스에 저장한다(단계 S8).The controller 718 controls the memory controller 712 to provide a storage address and a control signal of the corresponding data to the memory 702. The control unit 718 controls the SB data (102 bytes) of the six tracks stored in the first packager 706 in the fast page method to synchronize the SB data (102 bytes) from the first packager 706 with the ID. Is stored in the address of the memory 702 having the 4-megabit capacity corresponding to the ID (step S8).

단계 S9에서 제어부(718)는 6개의 트랙의 싱크 블록 데이터가 메모리(702)에 저장되었는지의 여부를 판단한다. 단계 S9에서 상기 6개의 트랙의 싱크 블록 데이터가 메모리(702)에 저장되지 않은 것으로 판단된 경우에는 제1셔플러(713)는 메모리(702)에 기 저장된 6개 트랙의 SB들을 셔플해서 102개의 SB들을 18번 가지고 와서 RS 부호화기(707)에 제공한다(단계 S91). RS 부호화기(707)는 상기 제1셔플러(713)로부터의 상기 셔플된 18번의 102개의 SB에 대해 수평 방향으로 내부 정정 코드, 수직 방향으로 외부 정정 코드를 생성하여 각 트랙마다 30개의 패리티 싱크 블록, 즉 180개의 패리티 싱크 블록을 발생하여 다시 메모리(702)에 저장한다(단계 S92).In step S9, the controller 718 determines whether or not sync block data of six tracks has been stored in the memory 702. If it is determined in step S9 that the sync block data of the six tracks is not stored in the memory 702, the first shuffler 713 shuffles the SBs of the six tracks previously stored in the memory 702 to generate 102 pieces of data. 18 SBs are taken and provided to the RS encoder 707 (step S91). The RS encoder 707 generates an internal correction code in the horizontal direction and an external correction code in the horizontal direction for the shuffled 18th 102 SBs from the first shuffler 713 to generate 30 parity sync blocks for each track. That is, 180 parity sync blocks are generated and stored again in the memory 702 (step S92).

한편, 단계 S9에서 상기 6개 트랙의 싱크 블록 데이터가 메모리(702)에 저장된 것으로 판단된 경우에는 제1셔플러(713)는 메모리(702)에 새로 저장된 6개 트랙의 SB들을 셔플해서 102개의 SB들을 18번 가지고 와서 RS 부호화기(707)에 제공한다(단계 S10).On the other hand, if it is determined in step S9 that the sync block data of the six tracks is stored in the memory 702, the first shuffler 713 shuffles the SBs of the six tracks newly stored in the memory 702 to generate 102 pieces of data. 18 SBs are taken and provided to the RS encoder 707 (step S10).

RS 부호화기(707)는 상기 제1셔플러(713)로부터의 상기 셔플된 18번의 102개의 SB에 대해 수평 방향으로 내부 정정 코드를 생성하고(단계 S11), 수직 방향으로 외부 정정 코드를 생성하여 각 트랙마다 30개의 패리티 싱크 블록, 즉 180개의 패리티 싱크 블록을 발생하여 다시 메모리(702)에 저장한다(단계 S12). 즉 RS 부호화는 ECC 단위로 수행되며 하나의 트랙은 3개의 ECC로 구성되어 있다. 각 ECC는 6개의 트랙으로부터 데이터를 셔플링하여 부가 정보를 발생한다. 각 싱크 블록은 내부 패리티 및 데이터 셔플링을 통한 외부 패리티를 RS 부호화를 통해 발생시킨다. 이러한 과정은 6개의 트랙 모두에 대해 이루어진다.The RS encoder 707 generates an internal correction code in the horizontal direction for the shuffled 18th 102 SBs from the first shuffler 713 (step S11), and generates an external correction code in the vertical direction for each Thirty parity sync blocks, i.e., 180 parity sync blocks, are generated for each track and stored in the memory 702 again (step S12). That is, RS coding is performed in ECC units, and one track is composed of three ECCs. Each ECC shuffles data from six tracks to generate additional information. Each sync block generates internal parity and external parity through data shuffling through RS coding. This process takes place for all six tracks.

제어부(718)는 기록 멈춤 신호가 인가되었는지의 여부를 판단한다(단계 S13). 단계 S13에서 상기 기록 멈춤 신호가 인가된 것으로 판단된 경우에는 모든 동작을 완료하고, 상기 기록 멈춤 신호가 인가되지 않은 것으로 판단된 경우에는 제어부(718)는 외부 마이크로 제어기(720)로부터 서브 코드 데이터를 수신하여 상기 메모리(702)에 저장된 각 SB에 첨가하고, 상기 서브 코드 데이터가 첨가된 각 SB을 트랙 포맷터/트랙 디포맷터(709)로 제공한다.The controller 718 determines whether or not the recording stop signal is applied (step S13). If it is determined in step S13 that the recording stop signal is applied, all operations are completed. If it is determined that the recording stop signal is not applied, the controller 718 receives sub-code data from the external microcontroller 720. Each SB received and added to each SB stored in the memory 702 is provided to the track formatter / track deformatter 709 to which the subcode data is added.

그에 따라 트랙 포맷터/트랙 디포맷터(709)는 ID 발생기(719)로부터 발생된 싱크 데이터 및 ID를 입력받고 상기 메모리(702)에 저장된 6개 트랙의 각 싱크 블록에 싱크 데이터 및 ID를 첨가하고, 각 트랙을 D-VHS 트랙 포맷에 맞게 형성한다(단계 S14). 즉 트랙 포맷터/트랙 디포맷터(709)는 제1도에 도시된 바와 같이 상기 제어부(718)로부터의 상기 서브 코드 데이터를 입력받고 제1 및 제2 마진, 제1 및 제2 프리앰블, 제1 및 제2포스트 앰블, I. B. G. 데이터를 생성하여 각 트랙에 첨가하여 스크램블러/역스크램블러(717)로 출력된다.Accordingly, the track formatter / track deformatter 709 receives the sync data and ID generated from the ID generator 719 and adds the sync data and ID to each sync block of six tracks stored in the memory 702. Each track is formed in accordance with the D-VHS track format (step S14). That is, the track formatter / track deformatter 709 receives the subcode data from the control unit 718 as shown in FIG. 1 and receives first and second margins, first and second preambles, first and second tracks. The second post amble and IBG data are generated and added to each track and output to the scrambler / inverse scrambler 717.

스크램블러/역스크램블러(717)는 상기 트랙 포맷터/트랙 디포맷터(709)로부터의 상기 D-VHS 포맷된 데이터를 스크램블하여 프리 인코더(722)에 제공한다(단계 S15).The scrambler / descrambler 717 scrambles the D-VHS formatted data from the track formatter / track deformatter 709 to the pre-encoder 722 (step S15).

프리 인코더(722)는 상기 스크램블러/역스크램블러(717)로부터의 상기 스크램블된 D-VHS 포맷된 데이터를 프리 인코딩하여(단계 S16), 데크(730)에 장착된 D-VHS 테이프(도시 안됨)에 저장하고(단계 S17), 루틴은 단계 S13로 복귀한다.Pre-encoder 722 pre-encodes the scrambled D-VHS formatted data from the scrambler / inverse scrambler 717 (step S16), onto a D-VHS tape (not shown) mounted to deck 730. Save (step S17), and the routine returns to step S13.

그리고 D-VHS 코덱(70)는 군집 에러를 분산하기 위하여 셔플링을 수행하는데, 이것은 1 프레임 단위로 처리한다. 1 프레임은 트랙 0에서 트랙 5까지의 6개의 순차적인 데이터를 가지고 수행된다.The D-VHS codec 70 performs shuffling to distribute cluster errors, which are processed in units of one frame. One frame is performed with six sequential data from track 0 to track 5.

이하, 본 발명의 실시예에 따른 D-VHS 코덱의 동작 및 D-VHS 디코딩 방법, 즉 D-VHS에 의해 테이프에 저장되어 있는 디지털 데이터를 재생하는 방법을 설명한다.Hereinafter, an operation of the D-VHS codec and a D-VHS decoding method according to an embodiment of the present invention, that is, a method of reproducing digital data stored on a tape by the D-VHS.

제9a도 및 제9b도은 본 발명의 실시예에 따른 D-VHS 디코딩 방법을 설명하기 위한 흐름도이다. 제9a도 및 제9b도를 참조하면, 데크(730)의 D-VHS 테이프로부터 비트 시리얼 형태의 디지털 데이터가 싱크 패턴 검출기(710)에 입력되면, 싱크 패턴 검출기(710)는 제1도에 도시된 바와 같이 각 트랙에서 프리앰블, 서브 코드, 및 메인 코드를 구분하고(단계 S91), 제2도에 도시된 바와 같이 메인 코드 데이터에서 싱크 데이터를 감지하여 메인 코드 영역에서 각 SB 단위의 경계를 찾아 제2패키타이져(711)에 제공한다(단계 S92).9A and 9B are flowcharts illustrating a D-VHS decoding method according to an embodiment of the present invention. 9A and 9B, when digital data in bit serial form is input to the sync pattern detector 710 from the D-VHS tape of the deck 730, the sync pattern detector 710 is shown in FIG. As shown in FIG. 2, the preamble, the sub code, and the main code are distinguished from each track (step S91). As shown in FIG. Provided to second packager 711 (step S92).

제2패키타이져(711)는 상기 싱크 패턴 검출기(710)에 의해 감지된 SB 단위로 구분된 데이터를 저장하고(단계 S93), SB 단위로 구분된 데이터를 스크램블러/역스크램블러(717)로 출력하고 각 SB의 헤더 있는 ID를 분리하여 ID 교정기(715)로 제공한다. ID 교정기(715)는 상기 제2패키타이져(711)로부터의 각 싱크 블록의 헤더에 있는 ID 정보가 손상된 경우 에러 정정을 수행하여 스크램블러/역스크램블러(717)로 출력하여 스크램블러/역스크램블러(711)의 초기화 값으로 사용한다.The second packager 711 stores the data divided by the SB unit sensed by the sync pattern detector 710 (step S93), and outputs the data divided by the SB unit to the scrambler / inverse scrambler 717. The header ID of each SB is separated and provided to the ID calibrator 715. The ID calibrator 715 performs error correction when the ID information in the header of each sync block from the second packager 711 is damaged and outputs the scrambler / descrambler 717 to the scrambler / descrambler 711. Used as an initialization value of).

스크램블러/역스크램블러(711)는 스크램블된 상기 SB의 데이터를 역스크램블하여 트랙 포맷터/트랙 디포맷터(709)로 출력한다(단계 S94).The scrambler / descrambler 711 descrambles the scrambled data of the SB and outputs it to the track formatter / track deformatter 709 (step S94).

트랙 포맷터/트랙 디포맷터(709)는 상기 스크램블러/역스크램블러(711)로부터의 상기 역스크램블된 SB 데이터를 디포맷팅하여 제어부(718)에 제공한다.The track formatter / track deformatter 709 deformats the descrambled SB data from the scrambler / descrambler 711 and provides it to the controller 718.

제어부(718)는 메모리 제어기(712)를 제어하여 해당 데이터의 저장 어드레스 및 제어 신호를 메모리(702)에 제공하도록 한다. 그리고 제어부(718)는 상기 트랙 포맷터/트랙 디포맷터(709)로부터의 6개 트랙의 SB 데이터를 시스템 클럭에 동기하여 패스트 페이지 방법으로 상기 SB 데이터에 포함된 ID를 이용하여 상기 ID에 대응하는 메모리(702)의 어드레스에 저장한다(단계 S95). 이때 ID 데이터는 메모리 제어기(712)에 전달되어 자신이 저장되어야 하는 주소를 알려 준다.The controller 718 controls the memory controller 712 to provide a storage address and a control signal of the corresponding data to the memory 702. In addition, the control unit 718 controls the SB data of the six tracks from the track formatter / track deformatter 709 by using an ID included in the SB data in a fast page method in synchronization with a system clock. The data is stored at the address 702 (step S95). At this time, the ID data is transmitted to the memory controller 712 to inform the address where it should be stored.

제어부(718)는 트랙 0에서 트랙 5까지 6개의 트랙의 SB 데이터가 메모리(702)에 모두 저장되었는지의 여부를 판단한다(단계 S96),The controller 718 determines whether the SB data of six tracks from track 0 to track 5 are all stored in the memory 702 (step S96),

단계 S6에서 6개의 트랙의 SB 데이터가 메모리(702)에 모두 저장되지 않은 것으로 판단된 경우에는 제2셔플러(714)는 제4도에 도시된 바와 같이 메모리(702)에 기 저장된 6개 트랙의 SB들을 셔플링해서(단계 S961), 112개의 SB들을 18번 가지고 와서 RS 복호화기(708)에 제공한다. RS 복호화기(708)는 기 저장된 6개 트랙의 SB들에 대한 ECC 단위로 에러 정정을 수행한다(단계 S962).If it is determined in step S6 that the SB data of all six tracks is not stored in the memory 702, the second shuffler 714 may store six tracks previously stored in the memory 702 as shown in FIG. 4. Shuffle the SBs (step S961), bring 112 SBs 18 times and provide them to the RS decoder 708. The RS decoder 708 performs error correction in units of ECC for SBs of six previously stored tracks (step S962).

단계 S6에서 6개의 트랙의 SB 데이터가 메모리(702)에 모두 저장된 것으로 판단된 경우에는 제2셔플러(714)는 제4도에 도시된 바와 같이 메모리(702)에 새로 저장된 6개 트랙의 SB들을 셔플링해서(단계 S97), 112개의 SB들을 18번 가지고 와서 RS 복호화기(708)에 제공한다.If it is determined in step S6 that the SB data of all six tracks is stored in the memory 702, the second shuffler 714 is the SB of the six tracks newly stored in the memory 702 as shown in FIG. (Step S97), 112 SBs are taken 18 times and provided to the RS decoder 708.

RS 복호화기(708)는 새로 저장된 6개의 트랙의 SB들에 대한 내부 ECC를 모두 수행하고(단계S98), 외부 ECC를 수행한다(단계 S99). 본 발명에서는 SB 단위로 내부 ECC를 모두 수행한 후, 외부 ECC를 수행하는 이유는 내부 ECC를 먼저 수행하여 에러 정정이 불가능한 SB를 구별하고 이레이저로 처리하여 에러 정정 능력이 우수한 외부 ECC를 수행함으로써 보다 많은 에러를 정정하기 위함이다. 특히 기록 과정에서 외부 ECC 후, 내부 ECC를 수행하게 되므로 이의 순리적인 역과정은 내부 ECD(error correction decode), 외부 ECD가 된다.The RS decoder 708 performs all the internal ECC for the SBs of the six newly stored tracks (step S98), and performs the external ECC (step S99). In the present invention, after performing all the internal ECC in SB unit, the reason for performing the external ECC is to perform the internal ECC first to distinguish the SB that cannot be corrected by error and to process the eraser to perform an external ECC having excellent error correction capability. This is to correct more errors. In particular, since the internal ECC is performed after the external ECC in the recording process, the reverse process thereof becomes the internal error correction decode (ECD) and the external ECD.

패스트 페이지 모드를 이용하여 SB 단위로 데이터를 읽고 각 SB은 우선 RS 디코더에 직접 입력되어 내부 에러 검출을 수행하고 이들의 에러 위치와 에러 크기 정보는 SRAM으로 만들어진 에러 정보 레지스터(error information regist: EIR)에 할당된 위치에 순차적으로 저장된다. 이렇게 하는 이유는 RS 디코더가 하나의 블록 코드를 디코딩하는 데 3개의 블록 크기의 잠정 시간을 가지므로 불필요한 시간 지연을 방지하고 SB의 연속적인 동작을 보장하여 빠른 연산을 수행하기 위해서이다.Using fast page mode, data is read in units of SBs, and each SB is first input directly to the RS decoder to perform internal error detection, and their error location and error size information is an error information register (EIR) made of SRAM. It is stored sequentially in the location assigned to. The reason for this is that the RS decoder has a three block size intermittent time to decode one block code to prevent unnecessary time delay and to ensure continuous operation of the SB to perform fast operation.

112개의 SB에 대해 내부 에러 검출 과정이 완료되면 EIR의 정보를 이용하여 에러 정정을 수행한다.When the internal error detection process is completed for 112 SBs, error correction is performed using information of the EIR.

메모리 제어기(712)는 EIR의 에러 위치 정보를 읽어 메모리 주소를 계산하고 해당되는 에러 크기를 리드 모디파이 라이트 동작을 이용하여 에러를 정정한다. 동일한 방식으로 나머지 17개의 ECC에 대해 에러 정정이 완료되면 RS 코딩에서 고려하였던 6개 트랙의 에러 정정 과정이 완료된다.The memory controller 712 reads the error location information of the EIR, calculates a memory address, and corrects the error using a read modifier write operation. In the same manner, when the error correction is completed for the remaining 17 ECCs, the error correction process of six tracks considered in RS coding is completed.

제어부(718)는 재생 멈춤 신호가 입력되었는지의 여부를 판단한다(단계 S100). 단계 S100에서, 상기 재생 멈춤 신호가 입력된 것으로 판단된 경우에는 동작을 완료하고, 상기 재생 멈춤 신호가 입력되지 않은 것으로 판단된 경우에는 제어부(718)는 메모리 제어기(712)를 제어하여 메모리(702)에 저장된 데이터를 고속으로 불러와 제1패키타이져(706)에 저장한다(단계 S101).The control unit 718 determines whether or not the reproduction stop signal is input (step S100). In operation S100, when it is determined that the reproduction stop signal is input, the operation is completed. When it is determined that the reproduction stop signal is not input, the controller 718 controls the memory controller 712 to control the memory 702. In step S101, the data stored in the data is retrieved at high speed and stored in the first packager 706 (step S101).

더미 필터(703)는 상기 제1패키타이져(706)에 저장된 SB을 불러와 더미 SB은 필터링하고 정상 SB만을 평활/역평활 버퍼(704)로 일정한 속도로 제공한다(단계 S102). 평활/역평활 버퍼(704)는 상기 더미 필터(703)로부터의 상기 정상 SB을 저장한다(단계 S103).The dummy filter 703 retrieves the SB stored in the first packager 706, filters the dummy SB, and provides only the normal SB to the smoothing / de smoothing buffer 704 at a constant speed (step S102). Smoothing / de-smoothing buffer 704 stores the normal SB from the dummy filter 703 (step S103).

시간 스탬프 비교기(705)는 상기 평활/역평활 버퍼(704)로부터의 각 SB의 시간 스탬프를 읽고 현재의 기준 시간 스탬프와의 값을 비교하여(단계 S104), 전송시점을 제어하여 상기 SB을 셋탑 박스 장치(17)를 통해 텔레비젼(19)으로 이송하고(단계 S105), 단계 S100으로 복귀한다.The time stamp comparator 705 reads the time stamp of each SB from the smoothing / de-smoothing buffer 704 and compares the value with the current reference time stamp (step S104) to control the transmission time to set the SB to the top. It transfers to the television 19 via the box apparatus 17 (step S105), and returns to step S100.

본 발명의 따른 디지털 데이터 저장 및 재생용 디지털-VHS 코덱은 프로그램 처리로 불가능한 방대한 계산을 실시간 수행할 수 있다.The digital-VHS codec for storing and reproducing digital data according to the present invention can perform massive calculations that are impossible with program processing in real time.

본 발명을 상기 실시예에 의해 구체적으로 설명하였지만, 본 발명은 이에 의해 제한되는 것은 아니고, 당업자의 통상적인 지식의 범위 내에서 그 변형이나 개량이 가능하다.Although this invention was demonstrated concretely by the said Example, this invention is not restrict | limited by this, A deformation | transformation and improvement are possible within the range of common knowledge of a person skilled in the art.

Claims (12)

위성으로부터 셋탑 박스를 통해 트랜스포트 패킷 형태로 비트 시리얼하게 입력되는 L(여기서, L은 2 이상의 정수이다) 바이트의 디지털 데이터 각각에 M(여기서, M은 1 이상의 정수이다) 바이트의 시간 스탬프를 발생하기 위한 시간 스탬프 발생기(701); 다수개의 트랙에 다수개의 싱크 블록을 각각 저장하기 위한 메모리(702); 상기 메모리(702)에 저장된 싱크 블록에서 더미 블록을 필터링하고 정상 싱크 블록을 출력하기 위한 더미 필터(703); 상기 시간 스탬프 발생기(701)로부터의 시간 스탬프를 기준 시간 스탬프를 비교하고 상기 비교 결과에 따라 일정한 간격으로 정상 또는 더미 싱크 블록을 형성하고, 상기 더미 필터로부터의 정상 싱크 블록을 저장하기 위한 평활/역평활 버퍼(704); 상기 평활 및 역평활 버퍼(704)로부터의 상기 싱크 블록의 시간 스탬프와 기준 시간 스탬프를 비교하기 위한 시간 스탬프 비교기(705); 상기 평활 및 역평활 버퍼(704)에 저장된 상기 정상 싱크 블록을 2개의 싱크 블록으로 나누고 상기 나누어진 싱크 블록에 식별 번호 코드 및 시스템 데이터를 발생하여 저장하기 위한 제1 패키타이져(706); 상기 메모리(702)에 저장된 싱크 블록을 다수회 셔플링하여 독출하여 상기 싱크 블록에 대한 내부 에러 정정 코드를 생성하고 외부 에러 정정 코드를 생성하여 패리티 싱크 블록을 발생하기 위한 리드-솔로몬 부호화기(707); 상기 메모리(702)에 저장된 싱크 블록을 다수회 셔플링하여 독출하여 발생되는 에러를 정정하기 위한 리드-솔로몬 복호화기(708); 상기 메모리(702)에 저장된 각 싱크 블록에 식별 번호 코드 및 싱크 데이터를 첨가하고 디지털-VHS 트랙 포맷에 맞게 포맷팅하여 데크에 저장하고 그 역기능을 수행하기 위한 트랙 포맷터/트랙 디포맷터(709); 데크에 장착된 비디오 테이프로부터 비트 시리얼 형태의 디지털 데이터를 수신받아 프리앰블, 서브 코드 및 메인 코드를 구분하고 상기 메인 코드 영역에서 각 싱크 블록에서 싱크 데이터를 검출하여 싱크 블록 단위로 데이터를 구분하기 위한 싱크 패턴 검출기(710); 상기 싱크 패턴 검출기(710)에 의해 검출된 싱크 블록들을 일정한 간격으로 저장하기 위한 제2패키타이져(711); 및 상기 제1패키타이져(706), 상기 리드-솔로몬 부호화기(707), 및 트랙 포맷터/트랙 디포맷터(709)로부터 데이터 요구 신청을 받아 상기 메모리(702)에 대한 억세스 동작을 제어하기 위한 제어부(718)로 구성되는 것을 특징으로 하는 디지털-VHS 코덱.Generate a time stamp of M (where M is an integer of 1 or more) bytes to each of the L (where L is an integer of 2 or more) bytes of digital data, which are serially entered in the form of a transport packet from the satellite via a set-top box. A time stamp generator 701 for doing so; A memory 702 for respectively storing a plurality of sync blocks in the plurality of tracks; A dummy filter (703) for filtering the dummy block in the sync block stored in the memory (702) and outputting a normal sync block; Comparing a time stamp from the time stamp generator 701 to a reference time stamp and forming normal or dummy sink blocks at regular intervals according to the comparison result, and smoothing / reverse for storing normal sink blocks from the dummy filter. Smoothing buffer 704; A time stamp comparator (705) for comparing a time stamp and a reference time stamp of the sync block from the smooth and desmoothing buffers (704); A first packager (706) for dividing the normal sync block stored in the smoothing and desmoothing buffer (704) into two sync blocks and generating and storing an identification number code and system data in the divided sink blocks; A Reed-Solomon encoder 707 for generating a parity sync block by generating an internal error correction code for the sync block and generating an external error correction code for the sync block by shuffling and reading a plurality of sync blocks stored in the memory 702. ; A Reed-Solomon decoder 708 for correcting an error caused by shuffling and reading a plurality of sync blocks stored in the memory 702; A track formatter / track deformatter 709 for adding an identification number code and sync data to each sync block stored in the memory 702, formatting the digital-VHS track format, storing it in a deck, and performing the reverse function; Receives digital data in the form of bits from a video tape mounted on the deck, and divides the preamble, sub code, and main code, and detects sync data in each sync block in the main code area to divide data in sync block units. Pattern detector 710; A second packager 711 for storing the sync blocks detected by the sync pattern detector 710 at regular intervals; And a controller configured to receive a data request request from the first packageizer 706, the Reed-Solomon encoder 707, and the track formatter / track deformatter 709 to control an access operation to the memory 702. Digital-VHS codec, characterized in that (718). 제1항에 있어서, 상기 시간 스탬프 발생기(701)는 비트 스트림에 포함되어 있는 기준으로 프로그램 클럭에 동기화된 클럭을 입력받아 188 바이트 트랜스포트 패킷 요소에 대해 4 바이트 타임 스탬프를 발생시켜 192 바이트의 데이터를 생성하는 것을 특징으로 하는 디지털-VHS 코덱.The time stamp generator 701 receives a clock synchronized with a program clock on a basis of a bit stream, and generates a 4-byte time stamp for a 188-byte transport packet element to generate 192-byte data. Digital-VHS codec, characterized in that for generating. 제1항에 있어서, 상기 평활 및 역평활 버퍼(704)의 비교 결과 상기 시간 스탬프 발생기(701)로부터의 시간 스탬프가 기준 시간 스탬프와 동일한 경우에는 정상 싱크 블록을, 다른 경우에는 더미 싱크 블록을 형성하는 것을 특징으로 하는 디지털-VHS 코덱.2. The method of claim 1, wherein a normal sync block is formed when the time stamp from the time stamp generator 701 is the same as a reference time stamp as a result of the comparison between the smoothing and the anti smoothing buffer 704, and a dummy sync block is otherwise formed. Digital-VHS codec, characterized in that. 제1항에 있어서, 상기 제어부(718)의 제어에 의해 상기 메모리(702)로부터 데이터를 읽고 쓰기 위해서 각 블록에서 요구하는 해당 데이터의 저장 어드레스와 제어 신호를 발생하기 위한 메모리 제어기(712)를 추가로 포함하는 것을 특징으로 하는 디지털-VHS 코덱.The memory controller of claim 1, further comprising a memory controller 712 for generating a storage address and a control signal of a corresponding data required for each block to read and write data from the memory 702 under the control of the controller 718. Digital-VHS codec, characterized in that it comprises a. 제1항에 있어서, 상기 메모리(702)에 저장된 모든 트랙의 모든 싱크 블록들을 셔플해서 소정 수의 싱크 블록들을 다수번 가지고 와서 리드-솔로몬 부호화기에 제공하기 위한 제1셔플러(713)를 추가로 포함하는 것을 특징으로 하는 디지털-VHS 코덱.2. The apparatus of claim 1, further comprising a first shuffler 713 for shuffling all sync blocks of all tracks stored in the memory 702, bringing a predetermined number of sync blocks a plurality of times, and providing them to the Reed-Solomon encoder. Digital-VHS codec, characterized in that it comprises. 제1항에 있어서, 상기 메모리(702)에 저장된 모든 트랙의 모든 싱크 블록들을 셔플해서 소정 수의 싱크 블록들을 다수번 가지고 와서 리드-솔로몬 복호화기(708)에 제공하기 위한 제2셔플러(714)를 추가로 포함하는 것을 특징으로 하는 디지털-VHS 코덱.The second shuffler 714 according to claim 1, wherein the second shuffler 714 is used to shuffle all sync blocks of all tracks stored in the memory 702 to bring a predetermined number of sync blocks a plurality of times and provide them to the Reed-Solomon decoder 708. Digital-VHS codec, characterized in that it further comprises). 제1항에 있어서, 상기 제2패키타이져(711)로부터의 각 싱크 블록의 헤더 있는 식별 번호 코드의 에러 정정을 수행하기 위한 식별 번호 코드 교정기(715)를 추가로 포함하는 것을 특징으로 하는 디지털-VHS 코덱.2. The digital receiver of claim 1, further comprising an identification number code corrector 715 for performing error correction of the identification number code in the header of each sync block from the second packager 711. -VHS codec. 제1항에 있어서, 상기 메모리(702)에 저장된 각 싱크 블록 데이터를 연속적으로 처리하기 위하여 상기 메모리(702)에 저장된 각 싱크 블록의 에러 정보를 저장하기 위한 에러 정보 레지스터(716)를 추가로 포함하는 것을 특징으로 하는 디지털-VHS 코덱.2. The apparatus of claim 1, further comprising an error information register 716 for storing error information of each sink block stored in the memory 702 in order to continuously process each sink block data stored in the memory 702. Digital-VHS codec, characterized in that. 제1항에 있어서, 상기 트랙 포맷터/트랙 디포맷터(709)로부터의 상기 포맷된 데이터를 스크램블하여 상기 데크에 장착된 테이프에 저장하고, 상기 제2패키타이져(711)로부터의 스크램블된 데이터를 역스크램블하기 위한 스크램블러/역스크램블러(717)를 추가로 포함하는 것을 특징으로 하는 디지털-VHS 코덱.The scrambled data of the track formatter / track deformatter 709 is scrambled and stored in a tape mounted on the deck, and the scrambled data from the second packager 711 is stored. Digital-VHS codec, characterized in that it further comprises a scrambler / reverse scrambler (717) for descrambling. 제1항에 있어서, 상기 트랙 포맷터/트랙 디포맷터(709)로부터의 상기 포맷된 데이터를 프리 인코딩하기 위한 프리 인코더(722)를 추가로 포함하는 것을 특징으로 하는 디지털-VHS 코덱.The digital-VHS codec according to claim 1, further comprising a pre-encoder (722) for pre-encoding the formatted data from the track formatter / track deformatter (709). 제1항에 있어서, 상기 L 바이트의 디지털 데이터 및 상기 M 바이트의 시간 스탬프는 각각 118 바이트 및 4 바이트로 구성되는 것을 특징으로 하는 디지털-VHS 코덱.The digital-VHS codec according to claim 1, wherein the L byte of digital data and the M byte time stamp are composed of 118 bytes and 4 bytes, respectively. 제1항에 있어서, 상기 설정 개수 트랙은 6개 트랙인 것을 특징으로 하는 디지털-VHS 코덱.The digital-VHS codec according to claim 1, wherein the set number track is six tracks.
KR1019960080870A 1996-12-31 1996-12-31 Digital- vhs codec KR100235614B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960080870A KR100235614B1 (en) 1996-12-31 1996-12-31 Digital- vhs codec

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960080870A KR100235614B1 (en) 1996-12-31 1996-12-31 Digital- vhs codec

Publications (2)

Publication Number Publication Date
KR19980061499A KR19980061499A (en) 1998-10-07
KR100235614B1 true KR100235614B1 (en) 1999-12-15

Family

ID=19493741

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960080870A KR100235614B1 (en) 1996-12-31 1996-12-31 Digital- vhs codec

Country Status (1)

Country Link
KR (1) KR100235614B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102514399B1 (en) * 2022-11-24 2023-03-27 한화시스템(주) Method and system for multi-beam frequency hopping for anti-jamming and low detection

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102514399B1 (en) * 2022-11-24 2023-03-27 한화시스템(주) Method and system for multi-beam frequency hopping for anti-jamming and low detection

Also Published As

Publication number Publication date
KR19980061499A (en) 1998-10-07

Similar Documents

Publication Publication Date Title
KR100235617B1 (en) Digital- vhs encoding method and encoder
US5648960A (en) Recording/reproducing apparatus for data packet stream
JP3004252B2 (en) Digital recording / reproducing apparatus and method with improved error correction capability
JP3158740B2 (en) Digital video signal transmission method and dubbing method
US5737480A (en) Data recording apparatus
US5963703A (en) Method and apparatus for recording and reproducing packet data
KR100208665B1 (en) Method for decoding digital vhs and the decoder therefor
KR100223002B1 (en) Data rate converting device and method in digital video recorder
US6429985B2 (en) Digital information recording apparatus and digital information recording and reproducing apparatus
EP0673173B1 (en) Digital information recording apparatus and digital information recording and reproducing apparatus
KR100235614B1 (en) Digital- vhs codec
US5519504A (en) Method of storing or reproducing data packets
KR100241951B1 (en) Method of selecting reproduced track data in d-vhs
US6192182B1 (en) Digital information signal recording apparatus and method thereof
EP1049332B1 (en) Method, apparatus and medium for recording digital information signal
KR100271058B1 (en) Method for detecting damaged time stamp in a d-vhs
KR100230009B1 (en) Method for recording track data in a digital vhs
KR100367593B1 (en) Recording/ reproducing signal processing method and apparatus for digital vcr
JP2895865B2 (en) Digital recording and playback device
JPH0877708A (en) Recording device and reproducing device
JPH0822673A (en) Recording device and reproducing device
JPS6052504B2 (en) PCM signal transmission equipment
JPS63160058A (en) Character information recorder
KR19990021150A (en) Method and apparatus for detecting codeword transition in digital video home system
JPH07226036A (en) Device and system for recording/reproducing digital data

Legal Events

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