KR20010017823A - Data recording and playing method for digital data recording/playing apparatus - Google Patents

Data recording and playing method for digital data recording/playing apparatus Download PDF

Info

Publication number
KR20010017823A
KR20010017823A KR1019990033530A KR19990033530A KR20010017823A KR 20010017823 A KR20010017823 A KR 20010017823A KR 1019990033530 A KR1019990033530 A KR 1019990033530A KR 19990033530 A KR19990033530 A KR 19990033530A KR 20010017823 A KR20010017823 A KR 20010017823A
Authority
KR
South Korea
Prior art keywords
data
sync block
ecc
dummy
error
Prior art date
Application number
KR1019990033530A
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 KR1019990033530A priority Critical patent/KR20010017823A/en
Publication of KR20010017823A publication Critical patent/KR20010017823A/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/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/1816Testing
    • 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/1883Methods for assignment of alternate areas for defective areas
    • G11B20/1886Methods for assignment of alternate areas for defective areas with 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/12Formatting, e.g. arrangement of data block or words on the record carriers
    • G11B2020/1264Formatting, e.g. arrangement of data block or words on the record carriers wherein the formatting concerns a specific kind of data
    • G11B2020/1288Formatting by padding empty spaces with dummy data, e.g. writing zeroes or random data when de-icing optical discs
    • 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/1816Testing
    • G11B2020/1823Testing wherein a flag is set when errors are detected or qualified

Landscapes

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

Abstract

PURPOSE: A method for recording and reproducing data is provided to reduce error rate while reproducing by recording a specific data in a dummy packet at absence of data to be recorded. CONSTITUTION: By emptiness of a smooth buffer, a dummy mark is displayed in a head for reading a prior synchronizing block data to record the header. Otherwise, the dummy mark is cleared for reading a synchronizing block data to record the header. To reproduce the data, error of a first synchronizing block is corrected by ECC inner decoding for writing the ECC result in a memory. By incorrectness of the error, a second synchronizing block is corrected. By incorrectness of the error in the second block, ECC fail information is marked in the second synchronizing block in the memory. Otherwise, the second synchronizing block is decided as a dummy data to write the ECC decoding result of the second synchronizing block in the memory of the first synchronizing block.

Description

디지탈 데이터 기록 재생 장치의 데이터 기록 및 재생방법{DATA RECORDING AND PLAYING METHOD FOR DIGITAL DATA RECORDING/PLAYING APPARATUS}DATA RECORDING AND PLAYING METHOD FOR DIGITAL DATA RECORDING / PLAYING APPARATUS}

본 발명은 디지탈 데이터 기록 재생 장치의 데이터 기록 및 재생방법에 관한 것으로, 특히 기록할 데이터가 없을 경우 특정한 데이터를 더미패킷에 기록하여 재생시 에러율을 낮출 수 있도록 한 디지탈 데이터 기록 재생 장치의 데이터 기록 및 재생방법에 관한 것이다.The present invention relates to a data recording and reproducing method of a digital data recording and reproducing apparatus. In particular, when there is no data to be recorded, the data recording and reproducing apparatus of the digital data recording and reproducing apparatus can reduce the error rate during reproduction by recording specific data in a dummy packet. It relates to a regeneration method.

일반적으로, 데이터 기록 및 재생장치는 기록시 메모리콘트롤러가 일정 레이트로 스므스버퍼의 내용을 꺼내 기록포맷에 맞게 가공하는데, 입력레이트가 낮아 스므스버퍼가 비어있을 경우 더미패킷(Dummy Packet)으로 엠펙티피(MPEG TP)를 대신하여 기록하며, 재생시 더미데이터는 제거하고 엠펙티피(MPEG TP)만을 출력단으로 전송하는데, 이와같은 종래기술을 첨부한 도면을 참조하여 상세히 설명한다.In general, the data recording and reproducing apparatus takes out the contents of the smooth buffer at a predetermined rate during recording and processes the contents according to the recording format. When the smooth buffer is empty due to the low input rate, an empty packet is stored as a dummy packet. In place of MPEG TP, the dummy data is removed during reproduction, and only MPEG TP is transmitted to the output terminal. Such a prior art will be described in detail with reference to the accompanying drawings.

도1은 일반적인 디지탈브이씨알의 포맷처리부에 대한 상세한 구성을 보인 블록도로서, 이에 도시된 바와같이 엠펙티피를 순차적으로 입력받아 이를 저장하는 스므스버퍼(10)와, 메모리콘트롤러(11)의 제어에 의해 상기 스므스버퍼(10)의 데이터를 입력받아 에러정정을 수행하는 ECC아우터엔코더(12)와, 상기 ECC아우터엔코더(12)의 데이터를 입력받아 이를 상기 메모리콘트롤러(11)의 제어에 의해 에러정정을 수행하는 ECC인너엔코더(13)와, 상기 ECC인너엔코더(13)의 데이터를 입력받아 동기신호및 아이디를 첨가하여 테이프에 기록하는 동기및 아이디삽입부(14)와, 테이프에 기록된 데이터를 입력받아 동기신호및 아이디를 검출하는 동기및 아이디검출부(15)와, 상기 동기및 아이디검출부(15)의 데이터를 입력받아 에러정정을 위한 디코딩을 수행하는 ECC인너디코더(16)와, 상기 ECC인너디코더(16)의 데이터를 메모리콘트롤러(11)의 제어에 의해 입력받아 에러정정을 위한 디코딩을 수행하는 ECC아우터디코더(17)와, 상기 ECC아우터디코더(17)의 데이터를 상기 메모리콘트롤러(11)의 제어에 의해 입력받아 이를 순차적으로 저장하는 디스무스버퍼(18)로 구성되며, 이와같이 구성된 장치의 기록및 재생방법에 대한 동작을 설명한다.FIG. 1 is a block diagram showing a detailed configuration of a general digital VRF format processing unit. As shown in FIG. 1, a sms buffer 10 sequentially receiving and storing an MPEG is used to control the memory controller 11. ECC outer encoder 12 which receives the data of the smooth buffer 10 and performs error correction, and receives data of the ECC outer encoder 12 and corrects the error by the control of the memory controller 11. ECC inner encoder 13 for performing the operation, the synchronization and ID inserting unit 14 for receiving the data of the ECC inner encoder 13, and adding a synchronization signal and ID to record on the tape, and the data recorded on the tape ECC inner deco, which receives data from the synchronization and ID detection unit 15 to detect the synchronization signal and ID, and decodes the error correction. 16, the ECC outer decoder 17 which receives data of the ECC encoder decoder 16 under the control of the memory controller 11 and performs decoding for error correction, and the ECC outer decoder 17 of the ECC outer decoder 17; It is composed of a disbuffer buffer 18 which receives data under the control of the memory controller 11 and sequentially stores the data. The operation of the recording and reproducing method of the apparatus configured as described above will be described.

먼저, 테이프에 데이터를 기록할 경우, 포맷처리부는 방송수신장치로부터 엠펙티피 (MPEG TP)를 입력받아 이를 테이프의 기록 포맷으로 바꾸어서 기록하는데, 즉 스무스버퍼(10)에 입력되는 프로그램의 엠펙티피(MPEG TP)가 순차적으로 저장된후, 메모리콘트롤러(11)의 제어에 의해 상기 스무스버퍼(10)의 데이터가 일정간격으로 꺼내어져서 에러정정을 위한 엔코딩과정을 거친다.First, when recording data on a tape, the format processing unit receives an MPEG (TPEG TP) from the broadcast receiving apparatus and converts it into a recording format of the tape, that is, records the MPEG (10) of the program input to the smooth buffer 10 ( After the MPEG TP is sequentially stored, the data of the smooth buffer 10 is taken out at regular intervals by the control of the memory controller 11 and subjected to an encoding process for error correction.

이때, 상기 엔코딩과정은 메모리콘트롤러(11)의 소정 제어에 의해 순차적으로 ECC아우터엔코딩을 거친후 ECC인너엔코딩을 수행하고, 이후 동기 및 아이디삽입부(14)는 상기 에러정정을 거친 데이터를 입력받아 동기신호및 아이디를 삽입하여 그 데이터를 테이프에 기록한다.At this time, in the encoding process, ECC outer encoding is sequentially performed after predetermined control of the memory controller 11, and then ECC inner encoding is performed. Then, the synchronization and ID inserting unit 14 receives the data corrected through the error correction. The synchronization signal and ID are inserted to record the data on the tape.

그리고, 테이프에 기록된 테이프를 재생할 경우, 동기및 아이디검출부(15)는 테이프로부터 읽혀진 데이터를 입력받아 동기신호와 아이디를 검출하고, 이후 메모리콘트롤러(11)의 소정 제어에 의해 인너 에러정정 디코딩과 아우터 에러정정 디코딩과정이 순차적으로 이루어진후 디스무스버퍼(18)에 순차적으로 저장되며, 이 디스무스버퍼(18)에 저장된 데이터는 기록시 엠펙 티피의 입력시간과 동일한 시차를 유지하면서 출력된다.When the tape recorded on the tape is played back, the synchronization and ID detection unit 15 receives the data read from the tape, detects the synchronization signal and the ID, and then decodes the inner error correction by the predetermined control of the memory controller 11. After the outer error correction decoding process is performed sequentially, the outer error correction decoding process is sequentially performed, and the data stored in the disbuffer buffer 18 is output while maintaining the same time difference as the input time of the MPEG tip during recording.

상기와 같은 기록및 재생과정중에 생성되는 데이터는 엠펙티피 데이터가 아닌데, 기록시 메모리콘트롤러(11)는 일정레이트로 스무스버퍼(10)의 내용을 읽어들여 가공하게 된다.The data generated during the recording and reproducing process as described above is not the MPEG data, but during recording, the memory controller 11 reads and processes the contents of the smooth buffer 10 at a constant rate.

즉, 입력레이트가 낮아 스무스버퍼(10)가 비어있을 경우 더미패킷으로 엠펙티피를 대신하여 기록하는데, 도3과 같이 기록되는 동기블럭과 헤더 데이터부분에 더미패킷임을 표시해 주어야 한다.That is, when the smooth buffer 10 is empty because the input rate is low, the dummy packet is recorded instead of the MPEG. The dummy packet should be indicated in the sync block and the header data portion as shown in FIG.

여기서, 도5는 브이씨알에 기록되는 기록 레이트와 기록시간의 관계를 보여주고 있는데, LS모드에서는 49시간, 표준 STD모드에서는 약7시간, 고화질 녹화의 HS모드에서는 약 3.5시간을 기록할 수 있고, 상기 모든 모드에서 브이씨알에 기록되는 데이터는 항상 기록 레이트로 입력되지 않으며, 입력 레이트가 높은 경우가 생기고 어느 순간에 입력되는 데이터가 기록 레이트보다 낮게 들어올 경우가 생기며, 이러한 경우에 테이프에는 더미데이터가 기록된다.Here, Fig. 5 shows the relationship between the recording rate and the recording time recorded in the VRT, which can record 49 hours in the LS mode, about 7 hours in the standard STD mode, and about 3.5 hours in the HS mode of high quality recording. In all of the above modes, the data recorded on the VRC is not always input at the recording rate, and the input rate is high and the data input at any moment may be lower than the recording rate. Is recorded.

재생시, 메모리콘트롤러(11)는 재생된 동기(Sync) 블록의 헤더데이터의 더미표시부를 참조하여 더미데이터가 아니면 엠펙티피이므로 디스무스버퍼(18)에 저장하고, 더미데이터이면 버리는 동작을 수행한다.At the time of reproduction, the memory controller 11 refers to the dummy display unit of the header data of the reproduced sync block and stores the result in the dispers buffer 18 because it is an MPEG if it is not dummy data, and discards it if it is dummy data. .

즉, 입력레이트가 기록데이터 레이트보다 낮을 경우가 지속될 때 기록되는 더미패킷은 종래의 경우 더미마크와 함께 의미없는 데이터로 한 패킷을 채웠다.That is, the dummy packet recorded when the case where the input rate is lower than the recording data rate continues to fill a packet with meaningless data together with the dummy mark in the related art.

그리고, 동기와 아이디가 검출된 데이터는 에러정정을 수행하기 위하여 인너 디코딩을 수행하게 된다.In addition, the data of which synchronization and ID are detected is subjected to inner decoding in order to perform error correction.

그러나, 상기와 같은 종래기술은 동기와 아이디가 검출된 데이터를 에러정정할 경우 ECC인너디코더에서 에러정정을 수행한후 에러정정이 되지 않은 데이터를 다시 ECC아우터디코더에서 다시 에러정정을 수행하는데 이 ECC아우터디코더는 에러정정에 한계가 있어서 범위를 넘기면 에러정정을 수행하지 못하는 문제점이 있었다.However, in the prior art as described above, when error correction is performed on data detected by synchronization and ID, the error correction is performed in the ECC encoder and the error correction is performed again in the ECC outer decoder. The outer decoder has a problem in that the error correction cannot be performed when the range is exceeded because the error correction is limited.

따라서, 상기와 같은 문제점을 감안하여 창안한 본 발명은 기록할 데이터가 없을 경우 특정한 데이터를 더미패킷에 기록하여 재생시 에러율을 낮출 수 있도록 한 디지탈 데이터 기록 재생 장치의 데이터 기록 및 재생방법을 제공함에 그 목적이 있다.Accordingly, the present invention devised in view of the above-described problems provides a data recording and reproducing method of a digital data recording and reproducing apparatus in which there is no data to be recorded so that specific data can be recorded in a dummy packet to lower an error rate during reproduction. The purpose is.

도1은 일반적인 디지탈브이씨알의 구성을 보인 블록도.1 is a block diagram showing the configuration of a general digital V seed.

도2는 동기블록데이터의 구조를 보인 개략도2 is a schematic diagram showing the structure of sync block data;

도3은 도2에 있어서, 헤더의 구성을 보인 개략도.Fig. 3 is a schematic diagram showing the structure of a header in Fig. 2;

도4는 에러정정을 위한 ECC블록의 구조를 보인 개략도.4 is a schematic diagram showing the structure of an ECC block for error correction;

도5은 디지탈브이씨알의 기록레이트와 기록시간과의 관계를 보인도.Fig. 5 shows the relationship between the recording rate and digital recording time of a digital V seed.

도6은 본 발명 디지탈 데이터 기록 재생 장치의 데이터기록방법에 대한 동작흐름도.Fig. 6 is an operational flowchart of the data recording method of the digital data recording and reproducing apparatus of the present invention.

도7은 본 발명 디지탈 데이터 기록 재생 장치의 데이터 재생방법에 대한 동작흐름도.Fig. 7 is an operation flowchart of a data reproducing method of the digital data recording and reproducing apparatus of the present invention.

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

10:스무스버퍼 11:메모리콘트롤러10: Smooth Buffer 11: Memory Controller

12:ECC아우터엔코더 13:ECC인너엔코더12: ECC outer encoder 13: ECC inner encoder

14:동기및 아이디삽입부 15:동기및 아이디검출부14: Synchronization and ID insertion unit 15: Synchronization and ID detection unit

16:ECC인너디코더 17:ECC아우터디코더16: ECC inner decoder 17: ECC outer decoder

18:디스무스버퍼18: smooth buffer

상기와 같은 목적을 달성하기 위한 본 발명은 입력레이트가 낮아 스무스버퍼가 비었으면 더미마크를 헤더에 표시한후 이전 동기블록 데이터를 리드하여 그 이전 동기블록의 데이터에 상기 헤더를 붙여 기록하는 제1 단계와; 스무스버퍼가 비어 있지 않으면 헤더의 더미마크를 클리어하고 한 동기블록 데이터를 리드하여 그 동기블록의 데이터에 상기 헤더를 붙여 기록하는 제2 단계로 수행함을 특징으로 한다.According to the present invention for achieving the above object, if the smooth buffer is empty due to low input rate, a dummy mark is displayed in the header, and then the previous sync block data is read and the header is pasted and recorded in the data of the previous sync block. Steps; If the smooth buffer is not empty, the second step of clearing the dummy mark of the header and reading one sync block data and attaching the header to the data of the sync block is performed.

상기와 같은 목적을 달성하기 위한 본 발명은 동기와 아이디가 검출된 제1 동기블록에 대한 ECC 인너 디코딩으로 에러정정되면 그 ECC결과를 메모리에 라이트하고, 에러 정정되지 않으면 그 다음 제2 동기블록을 ECC 인너 디코딩하여 에러정정되었는지를 판단하는 제1 단계와; 상기 제1 단계의 판단결과 제2 동기블록에 대해 에러정정이 되지 않으면 그 제2 동기블록에 ECC페일 정보를 마크하여 메모리에 라이트하고, 상기 제2 동기블록이 에러정정되면 그 제2 동기블록이 더미데이터인지를 판단하는 제2 단계와; 상기 제2 단계의 판단결과 제2 동기블록이 더미데이터가 아니면 ECC페일을 마크하여 메모리에 라이트하고, 상기 제2 동기블록이 더미데이터이고 에러정정되면 상기 제2 동기블록에 대한 ECC 디코딩 결과를 제1 동기블록의 메모리에 라이트하는 제3 단계로 수행함을 특징으로 한다.In order to achieve the above object, the present invention writes the ECC result in the memory when the error is corrected by ECC inner decoding on the first sync block in which the sync and the ID are detected. A first step of determining whether the error is corrected by ECC inner decoding; If the error correction is not corrected for the second sync block as a result of the determination in the first step, the ECC fail information is marked on the second sync block and written to the memory. If the second sync block is error corrected, the second sync block is written. Determining whether the data is dummy data; If the second sync block is not dummy data, the ECC fail is marked and written to the memory. If the second sync block is dummy data and error is corrected, the ECC decoding result for the second sync block is written. A third step of writing to the memory of one sync block is performed.

이하, 본 발명에 의한 디지탈 데이터 기록 재생 장치의 데이터 기록 및 재생방법에 대한 작용 및 효과를 첨부한 도면을 참조하여 상세히 설명한다.Hereinafter, operations and effects of the data recording and reproducing method of the digital data recording and reproducing apparatus according to the present invention will be described in detail with reference to the accompanying drawings.

본 발명 디지탈브이씨알 데이터 기록 및 재생방법에 대한 장치적 구성은 종래 도1과 동일하다.The apparatus structure of the present invention for digital VRC data recording and reproducing method is the same as that of FIG.

도6은 본 발명 디지탈 데이터 기록 재생 장치의 데이터기록방법에 대한 동작흐름도로서, 이에 도시한 바와같이 입력레이트가 낮아 스무스버퍼(10)가 비었으면 더미마크를 헤더에 표시한후 이전 동기블록 데이터를 리드하여 그 이전 동기블록의 데이터에 상기 헤더를 붙여 기록하는 제1 단계와; 스무스버퍼(10)가 비어 있지 않으면 헤더의 더미마크를 클리어하고 한 동기블록 데이터를 리드하여 그 동기블록의 데이터에 상기 헤더를 붙여 기록하는 제2 단계로 이루어진다.6 is a flowchart illustrating a data recording method of the digital data recording and reproducing apparatus according to the present invention. As shown in FIG. 6, when the smooth buffer 10 is empty because the input rate is low, a dummy mark is displayed on the header to display previous sync block data. Reading and attaching the header to data of the previous sync block; If the smooth buffer 10 is not empty, a second step of clearing the dummy mark of the header, reading one sync block data, and attaching the header to the data of the sync block is performed.

도7은 본 발명 디지탈 데이터 기록 재생 장치의 데이터 재생방법에 대한 동작흐름도로서, 이에 도시한 바와같이 동기와 아이디가 검출된 제1 동기블록에 대한 ECC 인너 디코딩으로 에러정정되면 그 ECC결과를 메모리에 라이트하고, 에러 정정되지 않으면 그 다음 제2 동기블록을 ECC 인너 디코딩하여 에러정정되었는지를 판단하는 제1 단계와; 상기 제1 단계의 판단결과 제2 동기블록에 대해 에러정정이 되지 않으면 그 제2 동기블록에 ECC페일 정보를 마크하여 메모리에 라이트하고, 상기 제2 동기블록이 에러정정되면 그 제2 동기블록이 더미데이터인지를 판단하는 제2 단계와; 상기 제2 단계의 판단결과 제2 동기블록이 더미데이터가 아니면 ECC페일을 마크하여 메모리에 라이트하고, 상기 제2 동기블록이 더미데이터이고 에러정정되면 상기 제2 동기블록에 대한 ECC 디코딩 결과를 제1 동기블록의 메모리에 라이트하는 제3 단계로 이루어지며, 이와 같이 구성한 본 발명의 동작을 설명한다.7 is a flowchart illustrating a data reproducing method of the digital data recording and reproducing apparatus according to the present invention. As shown in FIG. Writing and if it is not error corrected, then determining whether the error is corrected by ECC inner decoding the second sync block; If the error correction is not corrected for the second sync block as a result of the determination in the first step, the ECC fail information is marked on the second sync block and written to the memory. If the second sync block is error corrected, the second sync block is written. Determining whether the data is dummy data; If the second sync block is not dummy data, the ECC fail is marked and written to the memory. If the second sync block is dummy data and error is corrected, the ECC decoding result for the second sync block is written. A third step of writing to the memory of one sync block will be described.

먼저, 데이터를 기록할 경우, 방송수신장치로부터 엠펙티피데이터를 입력받아 테이프의 기록포맷으로 변환하여 테이프에 기록하는데, 즉 선택된 프로그램의 엠펙티피데이터는 스무스버퍼(10)에 저장되고 이 저장된 데이터는 메모리콘트롤러(11)의 제어에 의해 일정시간 간격으로 리드되어 ECC 인너 엔코딩을 거친후 ECC 아우터 엔코딩을 거치면 기록데이터에는 아이디와 동기신호가 첨가되어 테이프에 기록된다.First, in the case of recording data, the MPEG data is received from the broadcast receiving apparatus, converted into a recording format of the tape, and recorded on the tape, that is, the MPEG data of the selected program is stored in the smooth buffer 10 and the stored data is stored. Under the control of the memory controller 11, the data is read at regular intervals, subjected to ECC inner encoding, and then subjected to ECC outer encoding. An ID and a synchronization signal are added to the recording data and recorded on the tape.

이때, 도6과 같이 입력레이트가 낮아 스무스버퍼(10)가 비었으면 더미마크를 헤더에 표시한후 이전 동기블록 데이터를 리드하여 그 이전 동기블록의 데이터에 상기 헤더를 붙여 기록하고, 반대로 스무스버퍼(10)가 비어 있지 않으면 헤더의 더미마크를 클리어하고 한 동기블록 데이터를 리드하여 그 동기블록의 데이터에 상기 헤더를 붙여 기록한다.At this time, if the smooth buffer 10 is empty because the input rate is low as shown in FIG. 6, the dummy mark is displayed on the header, the previous sync block data is read, the header is added to the data of the previous sync block, and the smooth buffer is reversed. If (10) is not empty, the dummy mark of the header is cleared, one sync block data is read, and the header is added to the data of the sync block.

그리고, 테이프로부터 데이터를 재생할 경우, 테이프로부터 리드된 데이터는 동기신호와 아이디가 검출된후 ECC인너 디코딩 수행한후 ECC 아우터 디코딩되어 디스무스버퍼(18)에 저장되고, 그 다음 상기 디스무스버퍼(18)에 저장된 데이터는 기록시 티피패킷의 입력시간과 동일한 시차를 유지하면서 방송수신장치로부터 출력된다.When data is reproduced from the tape, the data read from the tape is ECC inner decoded after ECC inner decoding is performed after the synchronization signal and ID are detected and stored in the smooth buffer 18, and then the smooth buffer ( The data stored in 18) is output from the broadcast receiving apparatus while maintaining the same time difference as the input time of the tip packet.

여기서, 상기 테이프에 기록되고 출력되는 데이터는 모두 엠펙티피데이터가 아닌데, 즉 기록시 메모리콘트롤러(11)는 일정레이트로 스무스버퍼(10)에 저장된 데이터를 가공하게 된다.Here, the data recorded on the tape and outputted are not all MPEG data, that is, during recording, the memory controller 11 processes the data stored in the smooth buffer 10 at a constant rate.

그리고, 상기 스무스버퍼(10)에 저장되는 데이터의 입력레이트가 낮아 비어있을 경우 더미패킷으로 엠펙티피를 대신하여 기록하는데, 이때 도3의 동기블록 헤더 데이터부분에 더미패킷임을 표시해 준다.When the input rate of the data stored in the smooth buffer 10 is low and empty, the empty packet is recorded as a dummy packet instead of an MPEG. In this case, the sync block header data portion of FIG. 3 indicates a dummy packet.

그러면, 메모리콘트롤러(11)는 재생된 동기블록의 헤더데이터에 더미 표시되어 있지 않으면 엠펙티피이므로 디스무스버퍼(18)에 저장하도록 제어하고, 더미 표시되어 있으면 버리는 동작을 수행한다.Then, the memory controller 11 controls to store in the buffer buffer 18 because it is an MPEG if the header data of the reproduced sync block is not displayed, and discards if it is displayed.

여기서, 재생시의 ECC 인너 디코딩 과정을 도7의 흐름도를 참조하여 상세히 설명한다.Here, the ECC inner decoding process at the time of reproduction is explained in detail with reference to the flowchart of FIG.

우선, 동기와 아이디가 검출된 데이터는 에러정정을 수행하기 위한 인너 디코딩을 수행하여, 에러정정되면 이 데이터는 메모리콘트롤러(11)의 제어에 의해 ECC아우터 디코딩을 한번 더 수행한후 디스무스버퍼(18)를 통하여 티피스트림으로 출력되고, 만약 에러정정이 되지 않았으면 상기 ECC 인너 디코딩을 수행한 데이터는 다시 한번 ECC 아우터 디코딩을 통해 에러정정을 수행하게 되는데, 이때 상기 ECC 아우터 디코딩으로 에러정정하는 데에 한계가 있어서 이 한계를 넘기면 에러정정을 하지 못한다.First, the data of which synchronization and ID are detected performs inner decoding to perform error correction. If the error is corrected, the data is subjected to ECC outer decoding once again under the control of the memory controller 11, and then a dispers buffer ( 18) is outputted to the tippy stream, and if the error correction is not corrected, the data subjected to the ECC inner decoding is subjected to error correction through ECC outer decoding once again, wherein the error correction is performed using the ECC outer decoding. There is a limit, so if this limit is exceeded, error correction cannot be performed.

따라서, 상기 ECC 인너 디코딩으로 많이 에러정정하여 ECC 아우터 디코딩의 에러정정범위 안에서 에러정정할 수 있게 한다.Accordingly, the error correction can be performed within the error correction range of the ECC outer decoding by performing a lot of error correction by the ECC inner decoding.

즉, 동기와 아이디가 검출된 제1 동기블록데이터가 ECC 인너 디코딩을 통해 에러정정되면 그 ECC결과를 메모리에 라이트하고, 제1 동기블록데이터가 에러정정되지 않으면 그 다음 제2 동기블록을 ECC인너 디코딩하여 에러정정을 수행한다.That is, when the first sync block data having detected sync and ID is error corrected through ECC inner decoding, the ECC result is written to the memory. If the first sync block data is not error corrected, the second sync block is then ECC inner. Decode and perform error correction.

그 다음, 만약 상기 제2 동기블록에 대해 에러정정이 되지 않으면 그 제2 동기블록에 ECC페일 정보를 마크하여 메모리에 라이트하고, 상기 제2 동기블록이 에러정정되면 그 제2 동기블록이 더미데이터인지를 판단하는데, 만약 상기 제2 동기블록이 더미데이터가 아니면 ECC 페일을 마크하여 메모리에 라이트하고, 상기 제2 동기블록이 더미데이터이고 에러정정되면 상기 제2 동기블록에 대한 ECC 디코딩 결과를 제1 동기블록의 메모리에 라이트한다.Next, if error correction is not performed on the second sync block, the ECC fail information is marked on the second sync block and written to the memory. If the second sync block is error corrected, the second sync block is dummy data. If it is determined that the second sync block is not dummy data, an ECC fail is marked and written to the memory. If the second sync block is dummy data and error correction is performed, the ECC decoding result for the second sync block is determined. 1 Write to the memory of the sync block.

반대로, 상기에서 제2 동기블록이 더미데이터이고 에러정정되지 않았으면 ECC페일정보를 마크하여 메모리에 라이트한다.On the contrary, if the second sync block is dummy data and no error correction is made, the ECC fail information is marked and written to the memory.

이후, 메모리콘트롤러(11)에 의해 ECC아우터 디코딩을 수행하는데, 즉 ECC인너디코딩의 완료된 데이터는 메모리에 저장되어 ECC블록이 다 차게 되면 아우터 수직방향으로 한열씩 디코딩한다.Thereafter, the ECC outer decoding is performed by the memory controller 11. That is, the completed data of the ECC inner decoding is stored in the memory and decoded one by one in the outer vertical direction when the ECC block is full.

이때, 이레이저 디코딩을 수행하는데 이레이저 어레이비트중에서 셋(Set) 되어 있는 비트는 해당 인너데이터에 대한 인너 디코딩이 실패했다는 것을 의미한다.At this time, the bit set among the eraser array bits to perform the erasure decoding means that the inner decoding of the inner data has failed.

그리고, 입력데이터는 항상 일정비율로 입력되는 것은 아니기 때문에 이들 데이터를 완충해주기 위하여 스무스버퍼(10)를 두는데, 입력데이터가 순간적으로 많으면 데이터가 쓰여지기 전까지 이 스무스버퍼(10)에 저장되고, 이 스무스버퍼(10)의 크기를 넘은후에도 데이터가 계속 입력되면 이 데이터는 기록되지 않고 버려지게 된다.Since the input data is not always input at a constant ratio, a smooth buffer 10 is provided to buffer these data. If the input data is momentarily large, the smooth data is stored in the smooth buffer 10 until the data is written. If data is continuously input even after the size of the smooth buffer 10 is exceeded, this data is discarded without being recorded.

상기와 반대로 기록속도는 일정한데 입력데이터가 순간적으로 없으면 테이프에는 순간적으로 기록할 데이터가 없어지게 되는데, 이때는 임의의 데이터를 기록하고 이를 더미데이터라고 하며, 도3에서와 같이 헤더에 더미데이터를 표시한다.Contrary to the above, if the recording speed is constant but the input data is not instantaneously, there is no data to be instantaneously recorded on the tape. In this case, random data is recorded and this is called dummy data, and dummy data is displayed in the header as shown in FIG. do.

여기서, 도4는 ECC 아우터 디코딩을 수행하기 위한 ECC블록의 구성을 나타낸다.4 shows a configuration of an ECC block for performing ECC outer decoding.

다시 말해서, 본 발명은 필요에 의해 더미데이터를 기록할 경우에는 그 더미데이터를 바로 이전의 동기블록의 인너데이터를 기록하고, 반대로 재생할 경우, 현재 동기블록데이터에 대한 ECC인너 디코딩시 에러정정이 안되면 그 다음 동기블록의 에러를 정정하고, 그 해당 동기블록이 더미데이터이면 앞단의 에러정정과 동일한 것으로 판단하여 그 ECC디코딩결과를 앞단의 동기블록의 메모리에 기록한다.In other words, when the dummy data is recorded as necessary, the present invention records the inner data of the previous sync block immediately after the dummy data and vice versa. Then, the error of the sync block is corrected, and if the sync block is dummy data, it is determined to be the same as the error correction of the previous stage, and the ECC decoding result is written to the memory of the sync block of the preceding stage.

이상에서 상세히 설명한 바와같이 본 발명은 재생시 더미데이터를 이용하여 이너 디코딩을 수행하므로 디지탈브이씨알의 성능 지표인 에러정정의 효율을 향상시킬 수 있고, 또한 브이씨알의 기록데이터중에서 더미데이터가 많을 경우, 즉 입력 데이터 레이트가 낮으면 낮을수록 에러레이트를 낮추게 되는 효과가 있다.As described in detail above, the present invention performs inner decoding by using dummy data during reproduction, thereby improving the efficiency of error correction, which is a performance indicator of digital VRF, and when there is a large amount of dummy data in the VDL recorded data. In other words, the lower the input data rate, the lower the error rate.

Claims (3)

입력레이트가 낮아 스무스버퍼가 비었으면 더미마크를 헤더에 표시한후 이전 동기블록 데이터를 리드하여 그 이전 동기블록의 데이터에 상기 헤더를 붙여 기록하는 제1 단계와; 스무스버퍼가 비어 있지 않으면 헤더의 더미마크를 클리어하고 한 동기블록 데이터를 리드하여 그 동기블록의 데이터에 상기 헤더를 붙여 기록하는 제2 단계로 수행함을 특징으로 하는 디지탈 데이터 기록 재생 장치의 데이터 기록방법.If the smooth buffer is empty because the input rate is low, a first step of displaying a dummy mark on the header, reading previous sync block data, and attaching the header to the data of the previous sync block; And if the smooth buffer is not empty, performing the second step of clearing the dummy mark of the header and reading one sync block data and pasting the header to the data of the sync block. . 동기와 아이디가 검출된 제1 동기블록에 대한 ECC 인너 디코딩으로 에러정정되면 그 ECC결과를 메모리에 라이트하고, 에러 정정되지 않으면 그 다음 제2 동기블록을 ECC 인너 디코딩하여 에러정정되었는지를 판단하는 제1 단계와; 상기 제1 단계의 판단결과 제2 동기블록에 대해 에러정정이 되지 않으면 그 제2 동기블록에 ECC페일 정보를 마크하여 메모리에 라이트하고, 상기 제2 동기블록이 에러정정되면 그 제2 동기블록이 더미데이터인지를 판단하는 제2 단계와; 상기 제2 단계의 판단결과 제2 동기블록이 더미데이터가 아니면 ECC페일을 마크하여 메모리에 라이트하고, 상기 제2 동기블록이 더미데이터이고 에러정정되면 상기 제2 동기블록에 대한 ECC 디코딩 결과를 제1 동기블록의 메모리에 라이트하는 제3 단계로 수행함을 특징으로 하는 디지탈 데이터 기록 재생 장치의 데이터 재생방법.If the error is corrected by ECC inner decoding for the first sync block in which the sync and ID are detected, the ECC result is written to the memory. If the error is not corrected, the second sync block is then ECC inner decoded to determine whether the error is corrected. Step 1; If the error correction is not corrected for the second sync block as a result of the determination in the first step, the ECC fail information is marked on the second sync block and written to the memory. If the second sync block is error corrected, the second sync block is written. Determining whether the data is dummy data; If the second sync block is not dummy data, the ECC fail is marked and written to the memory. If the second sync block is dummy data and error is corrected, the ECC decoding result for the second sync block is written. And a third step of writing to the memory of the first sync block. 제2 항에 있어서, 제2 동기블록이 더미데이터이고 에러정정되지 않았으면 ECC페일정보를 마크하여 메모리에 라이트하는 것을 특징으로 하는 디지탈 데이터 기록 재생 장치의 데이터 재생방법.3. The data reproduction method of a digital data recording and reproducing apparatus according to claim 2, wherein if the second sync block is dummy data and error correction is not performed, the ECC fail information is marked and written to the memory.
KR1019990033530A 1999-08-14 1999-08-14 Data recording and playing method for digital data recording/playing apparatus KR20010017823A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019990033530A KR20010017823A (en) 1999-08-14 1999-08-14 Data recording and playing method for digital data recording/playing apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019990033530A KR20010017823A (en) 1999-08-14 1999-08-14 Data recording and playing method for digital data recording/playing apparatus

Publications (1)

Publication Number Publication Date
KR20010017823A true KR20010017823A (en) 2001-03-05

Family

ID=19607230

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019990033530A KR20010017823A (en) 1999-08-14 1999-08-14 Data recording and playing method for digital data recording/playing apparatus

Country Status (1)

Country Link
KR (1) KR20010017823A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100595503B1 (en) * 2000-01-20 2006-07-03 엘지전자 주식회사 Apparatus and method for recording and reproducing data of digital signal recording and reproducing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100595503B1 (en) * 2000-01-20 2006-07-03 엘지전자 주식회사 Apparatus and method for recording and reproducing data of digital signal recording and reproducing apparatus

Similar Documents

Publication Publication Date Title
JP3047812B2 (en) Magnetic recording / reproducing device
AU701499B2 (en) Apparatus and method for decoding an information page having header information and page data
US5974224A (en) Method and apparatus for decoding video signals
CN100444275C (en) Method of correcting data on a high-density recording medium
JPS6133417B2 (en)
US7103069B2 (en) Block forming method and apparatus of digital bit steam
US20040136288A1 (en) Playback method, playback control circuit and playback apparatus for a recording medium
KR20010017823A (en) Data recording and playing method for digital data recording/playing apparatus
KR100283145B1 (en) Error correction method of digital recording and playback device
JPH0448473A (en) Digital video signal reproducing device
EP0996128A2 (en) Method and apparatus for recording and reproducing information
KR0170653B1 (en) Decoder of the digital video tape recorder
KR100205431B1 (en) Error correction circuit and method for digital video disc system
JPH09330569A (en) Method and apparatus for reproducing digital signal
KR0160645B1 (en) Error correction decoder of digital vcr
JP2006191378A (en) Error correction apparatus, reproducing apparatus and reproducing method
CN100425067C (en) Recording apparatus and method
JP3259359B2 (en) Data reproducing apparatus and method
JP3768640B2 (en) Playback device
JPH0783275B2 (en) Error correction code decoding device
JPH0684291A (en) Error measuring device
JP2003151222A (en) Disk reproducing device and disk recording and reproducing device
JPH11136635A (en) Digital data recording and reproducing device
JP4042610B2 (en) Data reproduction method and data reproduction apparatus
JP2006217322A (en) Recording and reproducing apparatus having correction function of management information of mpeg2 transport stream

Legal Events

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