KR20040018417A - Recording medium for storing additional information so as to ensure seamless playback between data stream - Google Patents

Recording medium for storing additional information so as to ensure seamless playback between data stream Download PDF

Info

Publication number
KR20040018417A
KR20040018417A KR1020040002671A KR20040002671A KR20040018417A KR 20040018417 A KR20040018417 A KR 20040018417A KR 1020040002671 A KR1020040002671 A KR 1020040002671A KR 20040002671 A KR20040002671 A KR 20040002671A KR 20040018417 A KR20040018417 A KR 20040018417A
Authority
KR
South Korea
Prior art keywords
information
data
time
data string
value
Prior art date
Application number
KR1020040002671A
Other languages
Korean (ko)
Other versions
KR100657262B1 (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
Priority claimed from KR19990000840A external-priority patent/KR100657237B1/en
Application filed by 삼성전자주식회사 filed Critical 삼성전자주식회사
Priority to KR1020040002671A priority Critical patent/KR100657262B1/en
Publication of KR20040018417A publication Critical patent/KR20040018417A/en
Application granted granted Critical
Publication of KR100657262B1 publication Critical patent/KR100657262B1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4305Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
    • 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
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/02Editing, e.g. varying the order of information signals recorded on, or reproduced from, record carriers
    • G11B27/031Electronic editing of digitised analogue information signals, e.g. audio or video signals
    • G11B27/034Electronic editing of digitised analogue information signals, e.g. audio or video signals on discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/102Programmed access in sequence to addressed parts of tracks of operating record carriers
    • G11B27/105Programmed access in sequence to addressed parts of tracks of operating record carriers of operating discs
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • G11B27/30Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording
    • G11B27/3027Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording on the same track as the main recording used signal is digitally coded
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234318Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by decomposing into objects, e.g. MPEG-4 objects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44016Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
    • 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/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • G11B2020/10805Data buffering arrangements, e.g. recording or playback buffers involving specific measures to prevent a buffer overflow
    • 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/10527Audio or video recording; Data buffering arrangements
    • G11B2020/1062Data buffering arrangements, e.g. recording or playback buffers
    • G11B2020/10814Data buffering arrangements, e.g. recording or playback buffers involving specific measures to prevent a buffer underrun

Abstract

PURPOSE: A recording medium for storing additional information to secure continuous regeneration between stream object information is provided to regenerate stream objects without discontinuation by using stream object information including seamless information and seamless time control information. CONSTITUTION: A first area includes a plurality of SOBs(Stream Object) formed in a type of packetized data to which arrival time stamp of the corresponding packet data is added. A second area has extra SOB information for each SOB in the first area, and has SOB information including seamless information representing seamless regeneration with a preceding SOB and seamless time control information controlling an output point of the corresponding SOB to be reproduced continuously.

Description

데이터열간의 연속 재생을 보장하기 위한 부가 정보를 저장하는 기록 매체{Recording medium for storing additional information so as to ensure seamless playback between data stream}Recording medium for storing additional information so as to ensure seamless playback between data stream}

본 발명은 디지털 데이터의 기록 및/또는 재생 분야에 관한 것으로, 특히 패킷화된 데이터 형태로 구성되어 있는 데이터열간의 연속 재생을 보장하기 위한 부가 정보 생성 방법, 이 정보를 저장하는 기록 매체 및 기록, 편집 및/또는 재생 장치에 관한 것이다.BACKGROUND OF THE INVENTION Field of the Invention The present invention relates to the field of recording and / or reproducing digital data, and in particular, a method of generating additional information for ensuring continuous reproduction between data streams in the form of packetized data, a recording medium and recording medium for storing the information, A editing and / or reproducing apparatus.

패킷 데이터는 디지털 위성, 디지털 지상파, 디지털 케이블 방송 또는 ATM 전송망 등에서 이용되고 있다. 일반적인 패킷 데이터의 입력, 도착 시간이 부가되어 기록된 데이터의 기본 형태 그리고 재생시의 데이터 출력 시간과의 개념적 관계는 도 1에 도시되어 있다. 입력되는 데이터에 도착 시간 정보(arrival time stamp: ATS)를 부가하여 기록한 후 재생시 부가된 도착 시간 정보를 이용하여 데이터를 출력하게 된다. 여기서, 입력되는 데이터는 패킷화된 데이터로서, 패킷화된 데이터라 함은 비디오 및 오디오 등의 데이터가 일정한 크기의 단위로 나뉘어져서 위성, 케이블 또는 LAN(Local Area Network)을 통해 전송되는 것으로, 일정한 크기의 단위는 ISO/IEC 13818-1 규격의 MPEG(Moving Picture Experts Group)-2 전송 스트림을이용하는 경우는 188 바이트이고, ATM(Asynchronous Transfer Mode) 규격을 이용하는 경우는 53 바이트이다.Packet data is used in digital satellites, digital terrestrial, digital cable broadcasting or ATM transmission networks. The conceptual relationship between the input of general packet data, the basic form of data recorded with the arrival time added, and the data output time at the time of reproduction is shown in FIG. Arrival time stamp (ATS) is added to the input data for recording, and then data is output using the arrival time information added during reproduction. Here, the input data is packetized data, and the packetized data is data, such as video and audio, divided into units of a predetermined size and transmitted through a satellite, a cable, or a local area network (LAN). The unit of size is 188 bytes when using a Moving Picture Experts Group (MPEG) -2 transport stream of ISO / IEC 13818-1 standard, and 53 bytes when using an Asynchronous Transfer Mode (ATM) standard.

디지털 방송에서는 패킷 데이터 형태로 패킷 데이터간의 시간 간격이 일정하지 않게 전송된다. 전송된 패킷 데이터는 일반적으로 복호기를 구비한 수신측의 버퍼를 거친 후 복호기에 의해 복호되어 사용자가 방송을 볼 수 있게 되는 것이다.In digital broadcasting, time intervals between packet data in a packet data format are transmitted unevenly. The transmitted packet data is generally decoded by the decoder after passing through the buffer of the receiver having the decoder so that the user can watch the broadcast.

이러한 패킷 데이터를 일시 저장한 뒤 사용자가 원하는 시간에 재생할 때는 재생 장치에서 복호기로 출력하게 되며, 이때 복호기로의 데이터 출력시 원래 패킷 데이터가 전송되어 왔던 불특정한 시간 간격은 중요한 의미를 지니게 되는 데 그 이유는 이것이 지켜지지 않을 경우 수신측의 버퍼가 넘치거나(overflow) 모자라게(underflow) 되기 때문이다. 이것은 원래 전송측(방송국)에서 복호기를 갖는 수신측의 버퍼의 상태를 고려하여 패킷 데이터간의 시간 간격을 조절하여 전송하기 때문이다. 이러한 이유로 패킷 단위로 기록 장치에 도착한 시간에 관한 정보를 모든 패킷에 부가하여 기록한 다음 이를 이용하여 재생 장치에서 다시 출력하는 형태를 취하고 있다.When the packet data is temporarily stored and played back at a desired time, the playback device outputs the data to the decoder. In this case, the unspecified time interval in which the original packet data has been transmitted has a significant meaning. The reason is that if this is not observed, the receiving buffer will overflow or underflow. This is because the original transmission side (broadcasting station) adjusts and transmits the time interval between packet data in consideration of the state of the buffer on the receiving side having the decoder. For this reason, information regarding the time of arrival at the recording apparatus in packet units is added to all packets, recorded, and then outputted by the reproduction apparatus using the same.

도 2는 도 1에 도시된 패킷 데이터의 기록재생장치의 블록도이다. 도 2에 있어서, 시스템 클럭 신호에 의해 동작하는 카운터(102)는, MPEG-2 시스템이 27MHz의 클럭 신호를 기본으로 사용하여 모든 타임 스탬프를 발생하기 때문에 27MHz의 시스템 클럭 신호를 사용하는 것이 일반적이다. 물론 다른 주파수의 시스템 클럭 신호가 사용될 수 있다.FIG. 2 is a block diagram of an apparatus for recording and reproducing packet data shown in FIG. In Fig. 2, the counter 102, which is operated by the system clock signal, generally uses the 27 MHz system clock signal because the MPEG-2 system generates all the time stamps by using the 27 MHz clock signal as a base. . Of course, other frequency system clock signals may be used.

ATS 생성기(104)는 입력되는 패킷 데이터마다 도착 시간 정보(ATS)를 부가하고, ATS가 부가된 기록 데이터는 기록 제어기(106)에 의해 기록에 적합한 신호로 변환되어 기록 매체(108)에 기록된다. 재생 제어기(110)는 기록 매체(108)에 기록된 ATS가 부가된 데이터를 재생하여 재생 데이터를 ATS 처리기(112)에 제공한다. ATS 처리기(112)는 재생 데이터에 부가되어 있는 ATS에 따라 데이터를 출력한다. 여기서, ATS 생성기(104)와 ATS 처리기(112)에는 내부 버퍼가 있는 데 이러한 버퍼는 외부에 별도로 구성될 수 있다.The ATS generator 104 adds arrival time information (ATS) for each packet data input, and the recording data to which the ATS is added is converted into a signal suitable for recording by the recording controller 106 and recorded on the recording medium 108. . The reproduction controller 110 reproduces the data to which the ATS recorded on the recording medium 108 is added, and provides the reproduction data to the ATS processor 112. FIG. The ATS processor 112 outputs data in accordance with the ATS added to the reproduction data. Here, the ATS generator 104 and the ATS processor 112 have an internal buffer, which may be configured separately from the outside.

좀 더 구체적으로 ATS를 부가하는 방법을 설명하면, 기록시 ATS 생성기(104)는 패킷 데이터가 입력된 순간의 카운터(102)의 카운트값을 읽어들여 이것을 이 패킷의 도착 시간 정보(ATS)로 부가한다. ATS가 부가된 패킷 데이터는 ATS 생성기(104) 내부에 있는 버퍼에 일시 저장된 다음 기록 제어기(106)를 통해 기록 매체(108)에 기록된다. 상술한 바와 같이 이 내부 버퍼는 외부에 별도로 구성될 수도 있다.More specifically, the method of adding the ATS, in writing, the ATS generator 104 reads the count value of the counter 102 at the moment the packet data is input and adds it to the arrival time information (ATS) of the packet. do. Packet data appended with the ATS is temporarily stored in a buffer inside the ATS generator 104 and then recorded on the recording medium 108 via the recording controller 106. As described above, this internal buffer may be separately configured externally.

재생시, 재생 제어기(110)는 기록 매체(108)로부터 ATS가 부가된 패킷 데이터를 재생해서 ATS 처리기(112)에 제공한다. ATS 처리기(112)는 내부에 일정한 크기의 버퍼를 가지고 있어서 이 버퍼가 넘치게 되면 데이터 독출을 잠시 멈추고 버퍼가 비게 되면 다시 읽기를 반복한다. 또한, ATS 처리기(112)는 내부 버퍼에서 첫 패킷의 도착 시간 정보와 패킷 데이터를 읽어와서 이 도착 시간 정보로서 카운터(102)를 세트(set)시킴과 동시에 패킷 데이터를 출력한다. 이때, ATS 처리기(112)로부터 출력되는 데이터는 도착 시간 정보가 제거된 순수한 패킷 데이터이다. 그 다음의 패킷 데이터들은 부가된 도착 시간 정보와 카운터(102)의 카운트값을 비교하여 같은 값이 되었을 경우에만 패킷 데이터를 출력한다. ATS 처리기(112)의 내부 버퍼도 별도로 외부에 구성될 수도 있다. 이러한 과정을 거쳐서 원래 전송되었던 패킷 데이터의 시간 간격이 그대로 유지된 채 재생시에도 복호기를 갖는 수신측에 전송할 수 있어서 문제를 발생시키지 않고 복호가 가능하게 한다.At the time of reproduction, the reproduction controller 110 reproduces the packet data to which the ATS is added from the recording medium 108 and provides it to the ATS processor 112. The ATS processor 112 has a buffer of a predetermined size therein, and when the buffer overflows, data reading is stopped for a while, and the reading is repeated again when the buffer becomes empty. The ATS processor 112 also reads the arrival time information and packet data of the first packet from the internal buffer, sets the counter 102 as the arrival time information, and outputs the packet data. At this time, the data output from the ATS processor 112 is pure packet data from which arrival time information has been removed. Subsequent packet data are compared with the added arrival time information and the count value of the counter 102 to output the packet data only when the same value is reached. The internal buffer of the ATS processor 112 may also be configured externally. Through this process, the packet data that was originally transmitted can be transmitted to the receiving side having the decoder even during reproduction while maintaining the time interval of the original packet data, thereby enabling decoding without causing a problem.

도 1 및 도 2에 도시된 바와 같이 패킷 데이터를 기록할 때는 패킷 데이터에 해당 패킷 데이터가 도착한 도착 시간 정보를 부가하여 기록한다. 이렇게 기록된 데이터열을 SOB(stream object)라고 한다. 실제로 하나의 기록 매체에는 복수의 SOB가 기록된다. 예를 들어, 사용자가 기록을 개시하여 종료하면 하나의 SOB를 생성하고 다시 기록을 개시하고 종료하면 새로운 SOB가 기록된다. 이때의 데이터열은 예를 들어, 사용자가 하나의 기록을 개시하여 종료할 때까지의 기록된 데이터를 말하는 것으로 예를 들어 드라마 하나 또는 영화 하나가 데이터열 하나의 형태로 기록될 수 있다.As shown in Figs. 1 and 2, when packet data is recorded, arrival time information at which the packet data arrives is added to the packet data. This recorded data string is called a SOB (stream object). In fact, a plurality of SOBs are recorded on one recording medium. For example, when a user starts and finishes recording, one SOB is created, and when a user starts and ends recording again, a new SOB is recorded. In this case, the data string refers to the recorded data until the user starts and ends one recording. For example, one drama or one movie may be recorded in the form of one data string.

패킷 형태의 데이터를 기록하는 장치는 ATS가 중요한 의미를 갖는다. 통상, 각 데이터열은 서로 독립적으로 ATS를 부가하여 기록된다. 또한, 하나의 데이터열내에서만 연속 재생이 요구되므로 이러한 방법이 사용될 수 있다. 그러나, 사용자가 두 개의 데이터열 사이의 연속 재생을 하고 싶다면 데이터열 사이의 동작을 규정하는 부가의 정보가 필요하게 된다.ATS has an important meaning in an apparatus for recording data in a packet form. Normally, each data string is recorded by adding ATS independently of each other. In addition, this method can be used because continuous reproduction is required only in one data string. However, if the user wants to continuously reproduce between two data strings, additional information is required to define the operation between the data strings.

도 3은 도 2에 도시된 기록재생장치에 의해 두 개의 데이터열(SOB)을 재생하는 일 예를 보인 도면으로서, 이전 데이터열(preceding SOB: "SOB1")에는 도착 시간값이 "100"이라는 시간에서부터 "990"이라는 시간까지 기록되어 있고, 다음 데이터열(succeeding SOB: "SOB2")에는 다시 도착 시간값이 "0"이라는 시간에서부터 기록되어 있는 경우이다. 이는 ATS 생성기(104)가 SOB1을 기록할 때 맨 처음 도착하는 패킷 데이터의 ATS값인 "100"으로 하여 초기화하여 기록하고, SOB2를 기록할 때는 SOB1과는 상관없이 다시 맨 처음 도착하는 패킷 데이터의 ATS값인 "0"으로 하여 초기화하여 기록했음을 뜻한다. 이와 같이 기록된 두 개의 데이터열을 연속으로 재생하면 카운터(102)의 값과 SOB1의 ATS값을 비교하면서 SOB1을 재생하고, SOB1의 재생이 종료된 후 다시 카운터(102)를 "0"으로 초기화시키고 SOB2를 재생한다.FIG. 3 is a diagram illustrating an example of reproducing two data strings SOB by the recording / reproducing apparatus shown in FIG. 2, wherein the arrival time value is “100” in the preceding data string SOB1. It is recorded from time to time "990", and in the next data string (succeeding SOB: "SOB2"), the arrival time value is recorded from time "0" again. When the ATS generator 104 records SOB1, the ATS generator 104 initializes and records the first ATS value of the packet data that arrives first. When the ATS generator 104 records the SOB1, the ATS generator 104 returns the ATS of the packet data that arrives first regardless of the SOB1. It means that it is initialized and recorded with the value "0". When two data streams recorded in this manner are reproduced in succession, SOB1 is reproduced while comparing the value of the counter 102 with the ATS value of SOB1, and after the reproduction of SOB1 is finished, the counter 102 is reset to "0" again. And regenerate SOB2.

이렇게 기록된 두 개의 데이터열 SOB1과 SOB2를 연속하여 재생하는 경우, SOB1의 재생을 종료한 후 SOB2를 재생할 때까지의 얼마 만큼의 시간 간격이 존재하는지 등에 대한 동작이 정의되어 있지 않다.In the case where two data strings SOB1 and SOB2 recorded in this way are reproduced in succession, an operation is not defined such as how many time intervals exist from the end of the reproduction of SOB1 to the reproduction of SOB2.

즉, 하나의 SOB를 재생할 때 도 3에 도시된 바와 같이 먼저 SOB1의 맨 처음 패킷 데이터의 ATS값으로 카운터(102)를 초기화한 다음 그 후의 패킷 데이터들은 해당 ATS와 카운터(102)의 카운트값을 비교하여 값이 같을 때가 될 때까지 기다린 다음 출력하는 방법으로 재생한다. 하나의 SOB1의 재생이 다 끝나면 SOB2의 재생은 다시 맨 처음 패킷 데이터의 ATS값으로 카운터(102)를 초기화한 다음 똑같은 과정을 거쳐 재생한다. 이때, SOB1과 SOB2 사이의 동작에 대해서는 별다른 규정이 없어서 통상적인 경우 약간의 멈춤이 발생한다.That is, when reproducing a single SOB, as shown in FIG. 3, the counter 102 is first initialized with the ATS value of the first packet data of the SOB1, and the packet data thereafter returns the count value of the corresponding ATS and the counter 102. Compare and wait until the values are the same, and then play it by printing. After the reproduction of one SOB1 is completed, the reproduction of SOB2 is initialized again with the ATS value of the packet data for the first time and then reproduced through the same process. At this time, there is no specific rule for the operation between SOB1 and SOB2, so that a slight stop occurs in a normal case.

연속 재생을 위해서는 두 SOB 사이에 얼마만한 시간 간격을 두고 다시 재생을 할 것인가는 내부의 데이터 상황에 따라 다르므로 일률적으로 정할 수 없다. 따라서, 상황에 맞게 이러한 재생 시간 제어에 관한 정보가 필요하며, 이것이 없는 경우에는 연속 재생을 보장할 수 없어 통상의 경우는 SOB 사이에 약간의 시간 단절이 생긴다.The number of time intervals between two SOBs for continuous playback depends on the internal data situation and cannot be determined uniformly. Therefore, information on such reproduction time control is necessary in accordance with the situation, and without this, continuous reproduction cannot be guaranteed, and in some cases, a slight time break occurs between SOBs.

도 4의 (a)는 연속 재생을 위해 복수의 SOB들 전체에 걸쳐서 ATS를 의도적으로 일관되게 부가되어 있는 경우, 부분 삭제에 의한 불연속 구간이 발생한 경우를 보이고 있다. 즉, SOB2의 ATS를 SOB1과 독립적으로 부여하는 것이 아니라 SOB1의 맨 마지막 ATS와 그때의 데이터 상황에 따라 연속 재생이 가능하도록 의도적으로 SOB2의 ATS를 부가하여 기록한다. 이를 재생할 경우에는 두 개의 SOB 사이에서는 카운터(102)를 초기화하지 않고 마치 하나의 SOB를 재생하는 것과 같이 재생하면서 자동적으로 연속 재생이 보장되도록 한 것이다. 이때는 두 개의 SOB 사이를 재생하는 경우에도 마치 하나의 SOB를 재생하는 것 처럼 카운터(102)의 초기화는 발생하지 않으며, 그냥 ATS에 맞춰서 계속적인 재생을 행한다. 그러나, 이 경우 기록재생장치에서 흔히 발생하는 부분 삭제를 행하면 연속 재생을 쉽게 보장할 수 없는 문제를 발생시킨다.4 (a) shows a case where a discontinuous section due to partial deletion occurs when ATS is intentionally added to a plurality of SOBs for continuous reproduction. That is, the ATS of SOB2 is not provided independently of SOB1, but the ATS of SOB2 is intentionally added so that continuous playback is possible depending on the last ATS of SOB1 and the data situation at that time. In the case of reproducing this, continuous playback is ensured automatically while reproducing as if one SOB is reproduced without resetting the counter 102 between two SOBs. In this case, even when playing between two SOBs, the initialization of the counter 102 does not occur as if one SOB is played, and continuous playback is performed in accordance with the ATS. In this case, however, the deletion of a portion which is common in the recording / reproducing apparatus causes a problem that continuous reproduction cannot be easily guaranteed.

예를 들어, SOB2의 앞부분이 일부 삭제된 경우를 생각해 보면 도 4의 (b)에 도시된 바와 같이 삭제된 데이터량 만큼의 시간 동안 데이터가 출력되지 않는다. 이는 SOB 경계 사이에서 카운터의 값을 초기화시키지 않음으로써 발생한다. 카운터(102)의 카운트값을 SOB2의 맨 처음 패킷의 ATS값으로 초기화하면 이 문제를 해결할 수 있으나 이것은 도 3에 도시된 방법과 같은 것으로, 즉 SOB 사이의 재생에 관한 동작이 규정되지 않는 문제를 발생한다.For example, considering the case where the front portion of SOB2 is partially deleted, as shown in FIG. 4B, data is not output for the amount of time deleted. This occurs by not initializing the value of the counter between SOB boundaries. This problem can be solved by initializing the count value of the counter 102 to the ATS value of the first packet of SOB2, but this is the same as the method shown in Fig. 3, i.e., the operation for reproducing between SOBs is not defined. Occurs.

다른 한가지의 방법은 도 4의 (c)에 도시된 바와 같이 SOB2의 모든 ATS를 수정하여 연속 재생이 가능한 값으로 만들어 주는 것이다. 그러나 이것은 SOB2의 모든 ATS를 수정해서 기록하여야 한다.Another method is to modify all ATS of SOB2 as shown in (c) of FIG. 4 so as to enable continuous playback. However, this should be recorded by modifying all ATSs in SOB2.

결론적으로, 도 3에 도시된 바와 같이 독립적으로 ATS가 부가된 두 개의 데이터열 SOB1과 SOB2를 연속 재생하는 경우, ATS 처리기(112)는 SOB1의 재생이 종료된 후 임의의 시간 간격을 둔 다음 SOB2의 맨 처음 ATS값으로 카운터(102)를 초기화하고, SOB2의 재생을 시작하면 연속 재생이 보장되지 못하고 재생의 단절이 발생하는 문제점이 있었다.In conclusion, when continuously reproducing two data strings SOB1 and SOB2 independently to which ATS has been added, as shown in FIG. 3, the ATS processor 112 gives an arbitrary time interval after the reproduction of SOB1 ends, and then SOB2. When the counter 102 is initialized with the first ATS value and the reproduction of SOB2 is started, the continuous reproduction is not guaranteed and there is a problem of disconnection of the reproduction.

도 4의 (a)에 도시된 바와 같이 이전 SOB1의 기록이 종료된 후 다음 SOB2를 기록할 때 ATS 생성기(104)에서 연속 재생이 가능하도록 ATS를 생성하더라도 편집이 가해진다면 즉, SOB2의 앞부분을 삭제한다든가 SOB1의 뒷부분을 삭제하면 연속 재생이 불가능해진다. 도 4의 (c)에 도시된 방법으로 연속 재생이 가능하도록 하자면 기록/편집 후 SOB2의 ATS를 모두 다른 값으로 변경하여 재기록 해야만 하는 문제점이 있었다.As shown in Fig. 4A, even if the ATS is generated so that continuous playback can be performed in the ATS generator 104 when recording the next SOB2 after the recording of the previous SOB1 is finished, i.e., the front part of the SOB2 is added. Deleting or deleting the back of SOB1 will disable continuous playback. In order to enable continuous playback by the method illustrated in FIG. 4C, there is a problem in that the ATS of SOB2 must be changed to a different value and rewritten after recording / editing.

상기한 문제점들을 해결하기 위하여, 본 발명의 목적은 디지털 위성,디지털 지상파, 디지털 케이블 방송 또는 ATM 전송망 등에서 이용되는 패킷 데이터의 형태로 구성되어 있는 복수의 데이터열을 광디스크와 같은 저장 매체에 기록한 다음 데이터열간의 연속 재생을 보장하기 위한 부가 정보를 생성하는 방법을 제공하는 데 있다.In order to solve the above problems, an object of the present invention is to record a plurality of data strings in the form of packet data used in digital satellite, digital terrestrial, digital cable broadcasting or ATM transmission network, etc. in a storage medium such as an optical disk, and then The present invention provides a method of generating additional information for ensuring continuous reproduction between columns.

본 발명의 다른 목적은 패킷 데이터의 형태로 구성되어 있는 복수의 데이터열들을 부분 삭제 등의 편집 후에도 용이하게 연속 재생을 보장하기 위해서 갱신(updating)된 부가 정보를 저장하는 기록 매체를 제공하는 데 있다.Another object of the present invention is to provide a recording medium which stores updated information in order to easily ensure continuous reproduction of a plurality of data strings configured in the form of packet data even after editing such as partial deletion. .

본 발명의 또 다른 목적은 기록시 패킷 데이터 형태로 구성되어 있는 복수의 데이터열들의 연속 재생을 보장하는 부가 정보를 기록하는 기록 장치를 제공하는 데 있다.A further object of the present invention is to provide a recording apparatus for recording additional information which ensures continuous reproduction of a plurality of data strings configured in the form of packet data during recording.

본 발명의 또 다른 목적은 부분 삭제 등의 편집시 패킷 데이터 형태로 구성되어 있는 복수의 데이터열들의 연속 재생을 보장하는 부가 정보를 용이하게 갱신하는 편집 장치를 제공하는 데 있다.It is still another object of the present invention to provide an editing apparatus for easily updating additional information that guarantees continuous reproduction of a plurality of data strings configured in the form of packet data during editing such as partial deletion.

본 발명의 또 다른 목적은 재생시 연속 재생을 보장하는 부가 정보를 이용하여 패킷 데이터 형태로 구성되어 있는 복수의 데이터열 경계 사이에서도 연속 재생하는 재생 장치를 제공하는 데 있다.It is still another object of the present invention to provide a reproducing apparatus which continuously reproduces even between boundaries of a plurality of data strings configured in the form of packet data by using additional information which guarantees continuous reproduction during reproduction.

본 발명의 또 다른 목적은 패킷 데이터 형태로 구성되어 있는 복수의 데이터열들의 연속 재생을 보장하는 부가 정보를 기록하고, 이 정보를 근거로 하여 복수의 데이터열 경계 사이에서도 연속 재생하는 기록재생장치를 제공하는 데 있다.It is still another object of the present invention to provide a recording and reproducing apparatus for recording additional information which ensures continuous reproduction of a plurality of data strings configured in the form of packet data, and continuously reproducing between a plurality of data string boundaries based on this information. To provide.

상기의 목적들을 달성하기 위하여, 본 발명에 의한 부가 정보 생성 방법은 해당 패킷 데이터가 도착한 시간 정보가 부가되어 있는 패킷화된 데이터 형태로 구성되어 있는 각 데이터열마다 별도의 데이터열 정보를 생성하되, 이전 데이터열과의 연속 재생 여부를 나타내는 연속 재생 여부 정보 및/또는 연속 재생이 되어야 하는 해당 데이터열의 출력 시점을 제어하는 연속 시간 제어 정보를 포함하는 데이터열 정보를 생성하는 것을 특징으로 하고 있다.In order to achieve the above objects, the method of generating additional information according to the present invention generates separate data string information for each data string configured in the form of packetized data to which time information of the packet data arrives. And data stream information including continuous playback information indicating whether or not continuous playback with the previous data string and / or continuous time control information for controlling the output time of the corresponding data string to be continuously played is generated.

본 발명에 의한 기록 매체는 해당 패킷 데이터가 도착한 시간 정보가 부가되어 있는 패킷화된 데이터 형태로 구성되어 있는 데이터열을 복수개 갖는 제1 영역 및 제1 영역에서의 각 데이터열을 위한 별도의 데이터열 정보를 가지며, 이전 데이터열과의 연속 재생 여부를 나타내는 연속 재생 여부 정보 및/또는 연속 재생이 되어야 하는 해당 데이터열의 출력 시점을 제어하는 연속 시간 제어 정보를 포함하는 데이터열 정보를 갖는 제2 영역을 포함함을 특징으로 하고 있다.In the recording medium according to the present invention, a first data having a plurality of data strings configured in the form of packetized data to which time information of the packet data arrives is added, and a separate data string for each data string in the first region. And a second region having data string information having continuous information and information indicating whether or not continuous playback with a previous data string and / or continuous time control information for controlling an output time of a corresponding data string to be continuously played. It is characterized by.

본 발명에 의한 기록 장치는 입력되는 패킷 데이터가 도착하는 도착 시간 정보를 각 패킷 데이터에 부가하는 도착 시간 정보 생성기, 각 패킷 데이터에 도착 시간 정보가 부가되어 있는 패킷화된 데이터 형태로 구성되어 있는 각 데이터열마다 별도의 데이터열 정보를 생성하되, 이전 데이터열과의 연속 재생 여부를 나타내는 연속 재생 여부 정보 및/또는 연속 재생이 되어야 하는 해당 데이터열의 출력 시점을 제어하는 연속 시간 제어 정보를 포함하는 데이터열 정보를 생성하는 데이터열 정보 생성기 및 데이터열은 기록 매체상의 제1 영역에, 데이터열 정보는 제2 영역에 기록되도록 제어하는 기록 제어기를 포함함을 특징으로 하고 있다.The recording apparatus according to the present invention comprises an arrival time information generator for adding arrival time information to which the input packet data arrives to each packet data, and a packetized data form in which the arrival time information is added to each packet data. A separate data string information is generated for each data string, and the data string includes continuous play information indicating whether the data string is continuously played with the previous data string and / or continuous time control information controlling the output time of the corresponding data string to be continuously played. And a recording controller which controls the data string information generator for generating information and the data string to be recorded in the first area on the recording medium and the data string information in the second area.

본 발명에 의한 편집 장치는 해당 패킷 데이터가 도착한 시간 정보가 부가되어 있는 패킷화된 데이터 형태로 구성되어 있는 데이터열을 복수개 갖는 제1 영역 및 제1 영역에서의 각 데이터열을 위한 별도의 데이터열 정보를 가지며, 이전 데이터열과의 연속 재생 여부를 나타내는 연속 재생 여부 정보 및/또는 연속 재생이 되어야 하는 해당 데이터열의 출력 시점을 제어하는 연속 시간 제어 정보를 포함하는데이터열 정보를 갖는 제2 영역을 포함하는 기록 매체상의 데이터를 편집하는 편집 장치에 있어서: 편집 후 데이터열 정보를 분석하여 연속 재생이 되지 않는 데이터열 경계 사이를 분석하여 연속 재생이 보장되도록 연속 시간 제어 정보를 구하고, 이를 포함하는 데이터열 정보를 갱신하는 데이터열 정보 갱신기 및 편집된 데이터열은 기록 매체상의 제1 영역에, 갱신된 데이터열 정보는 제2 영역에 기록되도록 제어하는 편집 제어기를 포함함을 특징으로 하고 있다.The editing apparatus according to the present invention comprises a first data region having a plurality of data strings configured in the form of packetized data to which time information of the packet data arrives, and a separate data string for each data string in the first region. And a second area having data string information having continuous information and information indicating whether or not continuous playback with a previous data string and / or continuous time control information for controlling an output time of a corresponding data string to be continuously played. An editing apparatus for editing data on a recording medium, comprising: analyzing data string information after editing to obtain continuous time control information so as to ensure continuous reproduction by analyzing between data string boundaries that are not continuously reproduced; Data string for updating information The information updater and the edited data string are stored on the recording medium. Claim the first region, the updated data string information, and is characterized in that it comprises an edit controller for controlling to record the second area.

본 발명에 의한 재생 장치는 해당 패킷 데이터가 도착한 시간 정보가 부가되어 있는 패킷화된 데이터 형태로 구성되어 있는 데이터열을 복수개 갖는 제1 영역 및 제1 영역에서의 각 데이터열을 위한 별도의 데이터열 정보를 가지며, 이전 데이터열과의 연속 재생 여부를 나타내는 연속 재생 여부 정보 및/또는 연속 재생이 되어야 하는 해당 데이터열의 출력 시점을 제어하는 연속 시간 제어 정보를 포함하는 데이터열 정보를 갖는 제2 영역을 포함하는 기록 매체상의 데이터를 재생하는 재생 장치에 있어서: 기록 매체상에 기록된 데이터열과 데이터열 정보를 재생하는 재생 제어기, 시스템 클럭 신호에 따라 구동되며, 재생 제어기에 의해 재생되는 첫 번째 패킷 데이터에 부가된 도착 시간 정보에 의해 리셋되는 카운터, 재생 제어기로부터 제공되는 데이터열 정보에 근거하여 연속 재생이 되어야 하는 해당 데이터열의 원 도착 시간 정보를 수정하여 수정된 도착 시간 정보를 제공하거나 카운터를 리셋시켜야 하는 시점을 나타내는 제어 신호를 제공하는 제1 처리기 및 연속 재생이 되어야 하는 해당 데이터열을 카운터의 리셋없이 재생하는 경우는 수정된 도착 시간 정보에 근거하여 재생 제어기로부터 제공되는 패킷 데이터에 부가된 도착 시간 정보를 제거해서 출력을 제어하고, 카운터의 리셋을 이용하여 재생하는 경우는 제어 신호에 따라 해당 데이터열의 맨 처음 패킷 데이터의 도착 시간 정보로 카운터를 리셋한 후 재생 제어기로부터 제공되는 패킷 데이터에 부가된 도착 시간 정보를 제거해서 출력을 제어하는 제2 처리기를 포함함을 특징으로 하고 있다.The reproduction apparatus according to the present invention provides a first data region having a plurality of data strings having a plurality of data strings in the form of packetized data to which time information of the packet data arrives, and a separate data string for each data string in the first region. And a second region having data string information having continuous information and information indicating whether or not continuous playback with a previous data string and / or continuous time control information for controlling an output time of a corresponding data string to be continuously played. A reproduction apparatus for reproducing data on a recording medium, comprising: a reproduction controller for reproducing data sequence and data string information recorded on a recording medium, driven according to a system clock signal, and added to the first packet data reproduced by the reproduction controller; A counter reset by the received arrival time information, the data provided from the playback controller A first processor for providing continuous control and providing a control signal indicating when the counter should be reset by modifying the original arrival time information of the corresponding data string to be continuously reproduced based on the column information; When reproducing the data string without resetting the counter, controlling the output by removing the arrival time information added to the packet data provided from the reproducing controller based on the modified arrival time information, and reproducing by resetting the counter. And a second processor for controlling the output by resetting the counter to the arrival time information of the first packet data of the corresponding data string and removing the arrival time information added to the packet data provided from the reproduction controller according to the control signal. I am doing it.

또한, 본 발명에 의한 기록재생장치는 입력되는 패킷 데이터가 도착하는 도착 시간 정보를 패킷 데이터에 부가하는 도착 시간 정보 생성기, 각 패킷 데이터에 도착 시간 정보가 부가되어 있는 패킷화된 데이터 형태로 구성되어 있는 각 데이터열마다 별도의 데이터열 정보를 생성하되, 이전 데이터열과의 연속 재생 여부를 나타내는 연속 재생 여부 정보 및/또는 연속 재생이 되어야 하는 해당 데이터열의 출력 시점을 제어하는 연속 시간 제어 정보를 포함하는 데이터열 정보를 생성하는 데이터열 정보 생성기, 각 데이터열은 기록 매체상의 제1 영역에, 데이터열 정보는 제2 영역에 기록되도록 제어하는 기록 제어기, 기록 매체상에 기록된 데이터열과 데이터열 정보를 재생하는 재생 제어기, 시스템 클럭 신호에 따라 구동되며, 기록시는 각 데이터열이 입력되는 순간 리셋된 후 카운트하여 카운트값을 도착 시간 정보 생성기에 제공하고, 재생시는 재생 제어기에 의해 재생되는 첫 번째 패킷 데이터에 부가된 도착 시간 정보에 의해 리셋되는 카운터, 재생 제어기로부터 제공되는 데이터열 정보에 근거하여 연속 재생이 되어야 하는 해당 데이터열의 원 도착 시간 정보를 수정하여 수정된 도착 시간 정보를 제공하거나 카운터를 리셋시켜야 하는 시점을 나타내는 제어 신호를 제공하는 제1 처리기 및 연속 재생이 되어야 하는 해당 데이터열을 카운터의 리셋없이 재생하는 경우는 수정된 도착 시간 정보에 근거하여 재생 제어기로부터 제공되는 패킷 데이터에 부가된 도착 시간 정보를 제거해서 출력을 제어하고, 카운터의 리셋을 이용하여 재생하는 경우는 제어 신호에 따라 해당 데이터열의 맨 처음 패킷 데이터의 도착 시간 정보로 카운터를 리셋한 후 재생 제어기로부터 제공되는 패킷 데이터에 부가된 도착 시간 정보를 제거해서 출력을 제어하는 제2 처리기를 포함함을 특징으로 하고 있다.In addition, the recording and reproducing apparatus according to the present invention comprises an arrival time information generator for adding arrival time information to which packet data to be input arrives to the packet data, and a packetized data type in which arrival time information is added to each packet data. Separate data string information is generated for each data string, and includes continuous play information indicating whether the data string is to be continuously played with the previous data string and / or continuous time control information for controlling the output time of the corresponding data string to be continuously played. A data string information generator for generating data string information, a recording controller for controlling each data string to be recorded in a first area on a recording medium, and a data string information to a second area; a data string and data string information recorded on a recording medium. It is driven by the playback controller and system clock signal to play back. A counter that is reset at the time of output and counts and provides a count value to the arrival time information generator, and during playback, a counter that is reset by the arrival time information added to the first packet data to be played by the playback controller, and a data string provided from the playback controller. A first processor for modifying the original arrival time information of the corresponding data stream to be continuously played based on the information and providing a control signal indicating when the counter should be reset to provide the modified arrival time information, and the corresponding to be continuously played. In the case of reproducing the data string without resetting the counter, the output is controlled by removing the arrival time information added to the packet data provided from the reproduction controller based on the modified arrival time information. The first packet of the data string according to the control signal And a second processor which controls the output by removing the arrival time information added to the packet data provided from the reproduction controller after resetting the counter with the arrival time information of the data.

도 1은 일반적인 패킷 데이터 입력, 도착 시간이 부가되어 기록된 데이터의 기록 형태와 재생시 출력 시간과의 개념적 관계를 보인 도면이다.FIG. 1 is a diagram showing a conceptual relationship between a recording form of data recorded with a normal packet data input and arrival time and an output time during reproduction.

도 2는 도 1에 도시된 패킷 데이터의 기록재생장치의 블록도이다.FIG. 2 is a block diagram of an apparatus for recording and reproducing packet data shown in FIG.

도 3은 종래의 두 개의 데이터열(SOB)의 재생 방법의 일 예를 설명하기 위한 도면이다.3 is a view for explaining an example of a conventional reproducing method of two data streams (SOB).

도 4는 종래의 두 개 이상의 SOB들의 재생 방법의 다른 예를 설명하기 위한 도면이다.4 is a view for explaining another example of a conventional regeneration method of two or more SOBs.

도 5는 본 발명에 의한 연속 재생 여부 정보가 "연속 재생"인 경우 두 개의 SOB 사이의 연속 재생의 일 예를 보인 도면이다.5 is a diagram illustrating an example of continuous playback between two SOBs when the continuous playback information according to the present invention is " continuous playback ".

도 6은 본 발명에 의한 연속 재생 여부 정보가 "연속 재생이 아님"인 경우 두 개의 SOB 사이의 불연속 재생의 일 예를 보인 도면이다.6 is a diagram illustrating an example of discontinuous playback between two SOBs when the continuous playback information according to the present invention is "not continuous playback".

도 7은 본 발명에 의한 데이터열 정보(SOBI) 구조의 일 예이다.7 is an example of a data string information (SOBI) structure according to the present invention.

도 8은 본 발명에 의한 기록/편집 장치의 일 실시예에 따른 블록도이다.8 is a block diagram according to an embodiment of a recording / editing apparatus according to the present invention.

도 9는 본 발명에 의한 재생 장치의 일 실시예에 따른 블록도이다.9 is a block diagram according to an embodiment of a playback apparatus according to the present invention.

도 10은 본 발명에 의한 MPEG-TS 데이터의 ATS, PCR, PTS 상관 관계와 옵셋을 구하는 일 예를 보인 도면이다.10 is a diagram illustrating an example of obtaining ATS, PCR, and PTS correlations and offsets of MPEG-TS data according to the present invention.

도 11은 본 발명에 의한 연속 재생시 참조 시간, 옵셋값, 재생 간격값의 상관 관계와 실제 출력시 이용되는 카운터값과의 관계를 설명하기 위한 도면이다.FIG. 11 is a view for explaining the relationship between the reference time, offset value, and playback interval value during continuous playback according to the present invention, and the counter value used for actual output.

이하, 첨부된 도면을 참조하여 본 발명에 의한 데이터열간의 연속 재생을 보장하기 위한 부가 정보 생성 방법, 이 정보를 저장하는 기록 매체 및 기록, 편집 및/또는 재생 장치의 바람직한 실시예를 설명하기로 한다.DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a method of generating additional information for ensuring continuous reproduction between data streams according to the present invention, a recording medium storing the information, and a preferred embodiment of a recording, editing and / or reproducing apparatus will be described. do.

본 발명은 패킷 데이터를 포함한 데이터열을 기록하면서 연속 재생을 보장하는 부가 정보를 생성하는 방법, 생성된 부가 정보를 데이터열과 함께 저장하는 기록 매체, 데이터열과 이 부가 정보를 기록하는 기록 장치, 편집 후 연속 재생을 보장하기 위하여 이 부가 정보를 갱신하는 편집 장치, 이 부가 정보를 근거로하여 연속 재생하는 재생 장치를 대상으로 한다. 본 발명에서는 패킷 데이터를 설명함에 있어서 특별히 명시되지 않은 경우를 제외하고는 입력 데이터열을 MPEG-2 TS(trasnport stream)를 대상으로 설명한다. 또한, 본 발명에서는 연속 재생을 위해 데이터열 경계 사이에서 정확한 전송 타이밍을 보장하므로, 본 발명은 연속 재생을 위한 연속 전송(Seamless Transfer)이라고 지칭할 수 있으며, 패킷화된 데이터 형태로 구성되어 있는 데이터열을 연속 재생함에 있어서 연속 전송은 필수 전제 조건이다.The present invention provides a method for generating additional information that guarantees continuous reproduction while recording a data string including packet data, a recording medium for storing the generated additional information with the data string, a recording device for recording the data string and this additional information, and after editing An editing device for updating this additional information to ensure continuous playback, and a playback device for continuous playback based on this additional information. In the present invention, except for the case where the packet data is not specifically described, the input data string will be described as an MPEG-2 TS (trasnport stream). In addition, since the present invention guarantees an accurate transfer timing between data string boundaries for continuous reproduction, the present invention may be referred to as a seamless transfer for continuous reproduction, and is configured in the form of packetized data. Continuous transmission is a prerequisite for continuous reproduction of heat.

도 5의 (a)는 본 발명에 의한 연속 재생 여부 정보(Seamless Info.)가 "연속 재생(Seamless)"인 경우의 두 개 데이터열을 보이고 있다. 본 발명에서는 연속 재생을 위해 데이터열과는 별도로 데이터열에 관한 정보를 만들어 이용하는 데 이를 데이터열 정보(SOBI, Stream Object Information)라고 한다. 이 데이터열 정보(SOBI)는 연속 재생이 되어야 하는지를 나타내는 연속 재생 여부 정보와 연속 재생시 이용되는 참조 시간(RT) 및/또는 옵셋(Offset)값 및/또는 재생 간격(GAP length)값으로 저장되는 연속 시간 제어 정보가 포함된다.FIG. 5 (a) shows two data strings in the case where the Continuous Info. According to the present invention is " Seamless. &Quot; In the present invention, information about a data string is created and used separately from the data string for continuous reproduction. This is called data string information (SOBI). This data string information SOBI is stored as continuous playback information indicating whether continuous playback is to be performed, and reference time (RT) and / or offset values and / or playback length (GAP length) values used for continuous playback. Continuous time control information is included.

연속 재생 여부 정보(Seamless information)는 두 개의 데이터열(SOB1, SOB2)간에 연속 재생이 보장되는 지를 나타내며 결과적으로 연속 시간 제어 정보(참조 시간/옵셋값/재생 간격값)의 사용 여부를 나타낸다. 이 연속 재생 여부 정보를 가장 간단하게는 1비트의 플래그로 나타낼 수도 있고, 특별한 정보없이 연속 시간 제어 정보값에 따라 암시될 수도 있다. 예를 들어, 연속 시간 제어 정보값이 모두 "0"인 경우는 연속 재생이 아니고 기타는 연속 재생을 뜻한다.Continuous information indicates whether continuous playback is guaranteed between two data streams SOB1 and SOB2, and as a result, whether continuous time control information (reference time / offset value / reproduction interval value) is used. This continuous playback information may be simply indicated by a flag of 1 bit, or may be implied according to the continuous time control information value without special information. For example, when the continuous time control information values are all "0", it is not continuous playback, and other means continuous playback.

또한, 연속 시간 제어 정보 없이 연속 재생이 가능한 경우라면, 해당하는 데이터열들이 현재 연속 재생이 보장된 상태인지 아닌지를 나타내기 위한 방법으로서 연속 재생 여부 정보만 사용할 수 있다.In addition, if continuous playback is possible without continuous time control information, only continuous playback information may be used as a method for indicating whether or not corresponding data streams are currently guaranteed to be continuously played.

연속 재생 여부 정보가 "연속 재생"을 나타내는 값을 가지고 있는 경우의 재생 방법은 이전 데이터열(SOB1)을 재생한 후 이후 데이터열 SOB2를 재생할 때 재생 장치는 이 연속 시간 제어 정보(참조 시간/옵셋값/재생 간격값)를 이용하여 SOB2의 ATS를 적절히 변화된 값으로 바꾸어 인식해서 재생하는 것이다.In the case where the continuous playback information has a value indicating "continuous playback", the playback method plays back the previous data string SOB1 and then plays back the subsequent data string SOB2, and the playback device controls this continuous time control information (reference time / offset). Value / reproduction interval value) to recognize and reproduce the ATS of SOB2 to a value that is appropriately changed.

이때, 참조시간/옵셋값/재생 간격값은 SOB1과 SOB2를 연속 재생할 때 ATS 시간이 연속적으로 이어지게끔 하는 값이다. 이 세 값의 상관 관계는 다음과 같다.At this time, the reference time / offset value / reproduction interval value is a value that causes the ATS time to be continuously continued when SOB1 and SOB2 are continuously played back. The correlation between these three values is as follows.

Offset = RT - SOB2의 첫 번째 패킷의 ATSOffset = RT-ATS of the first packet of SOB2

GAP length = RT - SOB1의 마지막 패킷의 ATSGAP length = RT-ATS of last packet of SOB1

예를 들어, SOB1를 재생한 후 리셋없이 카운터의 카운트값을 그대로 유지하는 경우 SOB2의 맨 처음 패킷이 언제 출력되어야 하는지에 관한 값으로서 이 참조 시간을 사용하여 결정할 수 있다. 또는, SOB2의 첫 번째 패킷의 원래의 ATS값과 변환되어야 할 ATS값의 차이를 옵셋이라고 하고, 이 옵셋값을 사용하여 SOB2의 맨 처음 패킷이 언제 출력되어야 하는지를 결정할 수 있다. 단, 옵셋값은 양수나 음수를 가질 수 있다. SOB2의 이후 패킷들은 이렇게 구해진 옵셋값을 더하여 원 ATS값을 새로운 ATS값으로 변환하여 출력한다. SOB1을 재생한 후 카운터의 카운트값을 리셋하는 경우에는, SOB1의 맨 마지막 패킷이 전송된 후 SOB2의 첫 번째 패킷이 전송되기 전까지의 시간 간격인 재생 간격값을 사용할 수 있다. 상술한 세가지 연속 시간 제어 정보는 SOB2의 첫 번째 패킷을 전송하기 위해서 동일한 시간 시점을 갖는다.For example, if the count value of the counter is maintained without resetting after reproducing SOB1, it can be determined using this reference time as a value of when the first packet of SOB2 should be output. Alternatively, the difference between the original ATS value of the first packet of SOB2 and the ATS value to be converted is called an offset, and the offset value may be used to determine when the first packet of SOB2 should be output. However, the offset value may have a positive or negative value. Subsequent packets of SOB2 add the offset value thus obtained and convert the original ATS value into a new ATS value. In the case of resetting the count value of the counter after reproducing SOB1, a reproducing interval value, which is a time interval between the last packet of SOB1 and before the first packet of SOB2 is transmitted, can be used. The three consecutive time control information described above have the same time point in order to transmit the first packet of SOB2.

도 5의 (b)는 SOB1을 출력한 후 카운터의 리셋없이 카운팅 동작을 유지하면서 SOB2의 첫 번째 패킷을 "1000"이라는 시간에 출력되도록 한 예이다.5B is an example in which the first packet of SOB2 is output at a time of "1000" while maintaining the counting operation without resetting the counter after outputting SOB1.

도 5의 (c)는 SOB1의 마지막 패킷의 도착시간인 990 이후에 재생 간격값인 10이 경과한 후 SOB2의 첫 번째 패킷의 도착 시간값으로 카운터의 값을 리셋한 후 SOB2의 ATS를 그대로 이용하여 출력하도록 한 것이다. 두 가지 방법 모두 동일한 시간대에 SOB2의 패킷 데이터들이 출력되도록 한다.FIG. 5 (c) shows that the ATS of SOB2 is used after resetting the counter value to the arrival time value of the first packet of SOB2 after the playback interval of 10 has elapsed after 990, the arrival time of the last packet of SOB1. To output it. Both methods allow the SOB2 packet data to be output at the same time.

도 6은 본 발명에 의한 연속 재생 여부 정보가 "연속 재생이 아님"인 경우 두 개의 데이터열의 불연속 재생을 설명하기 위한 도면이다. 이때, SOB1의 출력을 종료하고 나서 SOB2의 처음 패킷의 ATS로 카운터를 초기화하고 SOB2를 출력하게 되면 도 3에 도시된 기존의 방법과 같이 일시 재생 중지가 발생한다. 이때, 연속 시간 제어 정보(참조 시간/옵셋값/재생 간격값)은 무의미한 값을 가지며, 재생시는 연속 시간 제어 정보에 참조 시간/옵셋값/재생 간격값이 저장되어 있더라도 무시한다.FIG. 6 is a diagram for describing discontinuous playback of two data strings when the continuous playback information according to the present invention is "not continuous playback". At this time, when the output of SOB1 is terminated and the counter is initialized with the ATS of the first packet of SOB2 and SOB2 is output, the temporary reproduction stop occurs as in the conventional method shown in FIG. At this time, the continuous time control information (reference time / offset value / reproduction interval value) has a meaningless value and is ignored even if the reference time / offset value / reproduction interval value is stored in the continuous time control information during reproduction.

도 7은 본 발명에 의한 데이터열 정보(SOBI) 구조의 일 예를 보인 도면이다. 본 발명의 대상이 되는 데이터열 정보(SOBI)는 연속 재생 여부 정보와 연속 시간 제어 정보를 포함한다. 연속 재생 여부 정보는 유효한 값으로 "연속 재생" 또는 "연속 재생이 아님"을 나타내는 값을 가지고, 연속 시간 제어 정보는 참조 시간 및/또는 옵셋값 및/또는 재생 간격값을 포함한다.7 is a diagram illustrating an example of a data string information (SOBI) structure according to the present invention. The data string information SOBI, which is the object of the present invention, includes continuous playback information and continuous time control information. The continuous play information is a valid value and has a value indicating "continuous play" or "not continuous play", and the continuous time control information includes a reference time and / or an offset value and / or a play interval value.

연속 시간 제어 정보(참조 시간/옵셋값/재생 간격값)는 연속 재생 여부 정보가 "연속 재생"을 나타내는 값을 가질 때에만 유효한 값을 가진다. 즉, 연속 시간 제어 정보는 SOB2를 SOB1에 연속해서 재생할 때 SOB1과 SOB2의 경계에서 연속 재생을 보장하는 SOB2의 정확한 출력 시간을 나타내기 위한 정보를 가지는 것으로 예를 들어, SOB1의 카운터가 카운팅 동작을 그대로 지속할 때 SOB2의 첫 패킷이 출력되어야 하는 시간(참조 시간)을 사용하거나 참조 시간에 해당하는 ATS와 원 ATS와의 차이값(옵셋)을 사용할 수 있다. 또는 SOB1의 맨 마지막 패킷의 출력 후 얼마 만큼의 시간 간격후 카운터를 SOB2의 첫 번째 패킷의 도착 시간으로 리셋할 것인지를나타내는 값(재생 시간 간격: GAP length)을 사용할 수 있다.The continuous time control information (reference time / offset value / playback interval value) has a valid value only when the continuous play information has a value indicating “continuous play”. That is, the continuous time control information has information for indicating the exact output time of SOB2 that ensures continuous playback at the boundary between SOB1 and SOB2 when SOB2 is continuously played back to SOB1. For example, the counter of SOB1 performs counting operation. When it is kept as it is, it is possible to use the time (reference time) at which the first packet of SOB2 should be output or the difference (offset) between the ATS corresponding to the reference time and the original ATS. Alternatively, a value (playback time interval: GAP length) indicating how long after the output of the last packet of SOB1 to reset the counter to the arrival time of the first packet of SOB2 may be used.

도 8은 본 발명에 의한 기록 장치 또는 편집 장치의 일 실시예에 따른 블록도로서, 콘트롤러(202), 시스템 클럭 신호에 따라 구동되는 카운터(204), 입력되는 패킷 데이터에 도착 시간을 부가하는 ATS 생성기(206), 데이터열 정보(SOBI) 생성기(208) 및 도착 시간 정보가 부가된 패킷 데이터와 SOBI 생성기(208)에서 생성된 SOBI를 기록 매체(212)상에 기록하는 기록 제어기(210)로 구성된다. 여기서, SOBI 생성기(208)는 도착 시간 정보가 부가되어 기록되는 데이터열(SOB)의 연속 재생을 보장하기 위한 데이터열 정보를 생성한다. SOBI 생성기(208)는 콘트롤러(202)에서 동작하는 소프트웨어로도 구현 가능하다.8 is a block diagram according to an embodiment of a recording device or an editing device according to the present invention, in which a controller 202, a counter 204 driven according to a system clock signal, and an ATS for adding arrival time to input packet data are shown. To the recording controller 210 which records on the recording medium 212 the packet data to which the generator 206, the data string information (SOBI) generator 208 and the arrival time information are added, and the SOBI generated by the SOBI generator 208. It is composed. Here, the SOBI generator 208 generates data string information for ensuring continuous reproduction of the data string SOB to which the arrival time information is added and recorded. The SOBI generator 208 may also be implemented in software running on the controller 202.

기록시, 콘트롤러(202)는 기록 시작시에 카운터(204)를 초기값으로 설정한다. 이후 패킷 데이터를 입력 받아 기록 동작이 시작된다. ATS 생성기(206)는 입력되는 패킷 데이터가 도착하는 순간의 카운터(204)의 카운트값을 이 패킷 데이터의 도착 시간 정보(ATS)로 설정하고, 패킷 데이터에 ATS를 부가한다. 이렇게 도착 시간 정보가 부가된 패킷 데이터는 기록 제어기(210)를 거쳐 기록 매체(212)에 저장된다. 이때, 기록 매체의 특성에 맞게 하기 위해 패킷 데이터와 도착 시간 정보외에 또 다른 부가 정보를 부가하여 이 정보와 함께 기록할 수도 있다.At the time of recording, the controller 202 sets the counter 204 to an initial value at the start of recording. After that, the packet data is input and the recording operation is started. The ATS generator 206 sets the count value of the counter 204 at the time the incoming packet data arrives as the arrival time information (ATS) of the packet data, and adds the ATS to the packet data. The packet data to which the arrival time information is added is stored in the recording medium 212 via the recording controller 210. In this case, in order to suit the characteristics of the recording medium, other additional information may be added in addition to the packet data and the arrival time information and recorded together with this information.

예를 들어, 기록 매체의 특성이 2048 바이트 단위(팩 단위)로 관리되는 것을 요구할 때 도착 시간 정보가 부가된 패킷 데이터를 이 특성에 맞게 기록하고 싶을 때는 별도의 부가 데이터를 부가하여 이것을 함께 기록한다. 본 발명에서는 설명의 편의상 도착 시간 정보 이외의 부가 데이터는 무시하며 설명한다.For example, when the characteristics of the recording medium are required to be managed in units of 2048 bytes (packs), when additional packet data with arrival time information is desired to be recorded in accordance with this characteristic, additional additional data is added and recorded together. . In the present invention, additional data other than the arrival time information is ignored for convenience of explanation.

한편, PC 등에서 사용할 수 있도록 기록되는 복수의 데이터열(SOB)을 전부 합쳐서 하나의 파일로 하거나 또는 각각을 별개로 하여 복수의 파일로 생성할 수도 있다.On the other hand, a plurality of data strings SOB recorded for use in a PC or the like may be combined into one file or may be generated separately from each other.

SOBI 생성기(208)는 도 7에 도시된 바와 같이 연속 재생 여부 정보와 참조 시간 및/또는 옵셋값 및/또는 재생 간격값을 갖는 연속 시간 제어 정보를 포함하는 데이터열 정보를 생성한다. 기록 종료시, 콘트롤러(202)의 제어하에 ATS가 부가된 패킷 데이터열 기록을 종료하고, SOBI 생성기(208)에서 생성된 데이터열 정보(SOBI)를 기록 매체(212)상에 기록한다. 여기서, 데이터열이 기록되는 영역을 제1 영역, 데이터열 정보가 기록되는 영역을 제2 영역이라고 지칭할 수 있다.The SOBI generator 208 generates data string information including continuous reproduction information and continuous time control information having a reference time and / or an offset value and / or a reproduction interval value as shown in FIG. At the end of the recording, under the control of the controller 202, the packet data string recording to which the ATS is added is terminated, and the data string information SOBI generated by the SOBI generator 208 is recorded on the recording medium 212. Here, an area in which the data string is recorded may be referred to as a first region, and an area in which data string information is recorded may be referred to as a second region.

따라서, 기록시 SOBI 생성기(208)는 데이터열 정보(SOBI)를 생성하여 데이터열과 함께 기록 매체에 기록한다. 기록이 종료된 후 편집 장치를 이용하여 편집 과정을 수행하고 연속 재생을 보장하는 데이터열 정보(SOBI)를 수정할 수 있는 데, 이때 사용되는 편집 장치는 기록 장치와 같은 구조를 가진다. 다만, SOBI 생성기(208)를 데이터열 정보 갱신기(updator), 기록 제어기(210)를 편집 제어기라고 지칭할 수 있다.Therefore, during recording, the SOBI generator 208 generates data string information SOBI and records it along with the data string on the recording medium. After the recording is completed, the editing apparatus can be used to perform the editing process and modify the data string information SOBI for ensuring continuous reproduction. The editing apparatus used here has the same structure as the recording apparatus. However, the SOBI generator 208 may be referred to as a data string information updater and the recording controller 210 as an editing controller.

도 9는 본 발명에 의한 재생 장치의 일 실시예에 따른 블록도로서, 콘트롤러(302), 시스템 클럭 신호에 의해 구동되는 카운터(304), 기록 매체(306)로부터 데이터열과 데이터열 정보를 읽어내는 재생 제어기(308), 재생 제어기(308)로부터 데이터열 정보를 독출하여 데이터열 경계에서 연속 재생이 가능하도록 다음 SOB의 첫 번째 패킷의 ATS값을 결정하거나 카운터(304)의 리셋 시점을 제어하는SOBI 처리기(310) 및 ATS 처리기(312)로 구성된다. 여기서, SOBI 처리기(310)과 ATS 처리기(312)를 각각 제1 및 제2 처리기로 지칭될 수 있고, 여기서, SOBI 처리기(310)는 콘트롤러(302)에서 동작하는 소프트웨어로도 구현 가능하다.Fig. 9 is a block diagram according to an embodiment of the reproduction apparatus according to the present invention, which reads data strings and data string information from the controller 302, the counter 304 driven by the system clock signal, and the recording medium 306. Figs. A SOBI that reads the data stream information from the playback controller 308 and the playback controller 308 to determine the ATS value of the first packet of the next SOB or to control the reset point of the counter 304 to enable continuous playback at the data stream boundary. It is composed of a processor 310 and an ATS processor 312. Here, the SOBI processor 310 and the ATS processor 312 may be referred to as first and second processors, respectively, where the SOBI processor 310 may be implemented by software running on the controller 302.

재생시, 기록 매체상에 기록된 SOB를 순서대로 읽어들인다. 이렇게 읽힌 도착 시간 정보(ATS)가 부가된 패킷 데이터는 ATS 처리기(312)로 제공되고, ATS 처리기(312)는 맨 처음 입력되는 패킷 데이터의 도착 시간 정보로 카운터(304)를 초기값으로 설정함과 동시에 패킷 데이터를 출력한다. 그 후에 입력되는 패킷 데이터들의 도착 시간 정보와 카운터(304)의 카운트값을 비교하여 카운트값이 해당 패킷 데이터의 도착 시간 정보와 같아지는 때를 기다려 카운트값과 도착 시간 정보가 동일한 패킷 데이터를 출력한다.During playback, the SOBs recorded on the recording medium are read in order. The packet data added with the arrival time information (ATS) thus read is provided to the ATS processor 312, and the ATS processor 312 sets the counter 304 as an initial value as the arrival time information of the packet data input first. Simultaneously outputs packet data. Thereafter, the arrival time information of the packet data to be inputted is compared with the count value of the counter 304, and the packet data is waited for when the count value is the same as the arrival time information of the packet data. .

하나의 SOB 출력이 모두 종료되면 SOBI 처리기(310)는 다음 SOB의 SOBI를 읽어 연속 재생 여부 정보와 연속 시간 제어 정보를 이용하여 "연속 재생"을 나타내는 값이 설정되어 있으면 도 5에서 설명한 대로 다음 SOB의 첫 번째 패킷 데이터가 출력되어야 하는 시점 또는 카운터(304)를 리셋시키는 시점을 연속 시간 제어 정보를 이용하여 결정해서 콘트롤러(302)와 ATS 처리기(312)에 제공하고, "연속 재생이 아님"을 나타내는 값이 설정되어 있으면 도 6에서 설명한 대로 연속 시간 제어 정보를 무시한다. 이때, 콘트롤러(302)는 카운터(304)를 특정한 시간에 리셋시키거나 또는 계속 유지시키면서 상기 설명한 대로 다음 SOB의 첫 번째 패킷데이터를 연속 시간 제어 정보로부터 결정된 시간에 출력되도록 제어한다.When all of the outputs of one SOB are terminated, the SOBI processor 310 reads the SOBI of the next SOB, and if the value indicating "continuous playback" is set using the continuous playback information and the continuous time control information, the next SOB as described in FIG. The time point at which the first packet data should be output or the time point at which the counter 304 is reset is determined using the continuous time control information and provided to the controller 302 and the ATS processor 312, and "not continuous playback." If the value indicated is set, the continuous time control information is ignored as described in FIG. At this time, the controller 302 controls the first packet data of the next SOB to be output at a time determined from the continuous time control information as described above while resetting or maintaining the counter 304 at a specific time.

도 10은 MPEG-TS, MPEG-1 또는 MPEG-2 부호화된 데이터열에 있어서의 연속시간 제어 정보(참조 시간)를 정확하게 유도해내는 과정을 나타내고 있다. 도 10의 (a)는 기록재생장치에 기록된 프로그램들의 형태를 ATS와 패킷 단위로 나타낸 것이다. MPEG-TS 구조에 의해서 패킷 내부에 각각 PCR(Program Clock Reference)값과 PTS(Presentation Time Stamp)값을 가지고 있다. PCR값은 해당 패킷이 복호기를 갖는 수신측의 버퍼에 입력되는 순간의 카운터값을 나타낸 것으로 기본적으로 ATS와 같은 개념의 값이다. 차이점이 있다면 PCR은 패킷 데이터 내부에 있는 값이며 모든 패킷이 PCR을 가지고 있는 것은 아닌 반면에 ATS는 패킷 데이터 외부에 별도로 부가되어 있는 값이며 통상 모든 패킷 데이터에 부가되어 있다는 것이다.Fig. 10 shows a process of accurately deriving continuous time control information (reference time) in an MPEG-TS, MPEG-1 or MPEG-2 coded data sequence. FIG. 10A shows the types of programs recorded in the recording / playback apparatus in units of ATS and packets. The MPEG-TS structure has a PCR (Program Clock Reference) value and a PTS (Presentation Time Stamp) value in the packet. The PCR value represents the counter value at the moment when the packet is inputted into the buffer of the receiver having the decoder, and is basically the same value as the ATS. The difference is that PCR is a value inside the packet data, and not all packets have PCR, whereas ATS is a value added outside the packet data and is usually added to all packet data.

도 10의 (b)와 (c)에 도시된 ATS와 PCR은 둘 다 도착 시간을 나타내는 정보이므로 ATS값을 만드는 데 사용되는 클럭이 MPEG-TS 부호화된 데이터에 동기화되어 되어 있다면 하나의 SOB 내에서는 일정 시간 간격 delta 를 유지하며 일대일 대응이 된다. 도 10의 (d)에 도시된 PTS값은 역시 MPEG-TS 부호화된 데이터에서 사용되는 값으로 예를 들어, 영상 한 장이 어느 시간에 표현되어야 하는 가에 대한 값이다. 일반적으로 복수의 패킷 데이터가 모여서 한 장의 영상을 나타내며, 이 영상 데이터의 시작 부분을 포함한 패킷에 이 영상의 PTS가 적혀 있고, 통상적으로 해당 패킷의 PCR보다는 얼마 뒤의 값을 갖는다.Since both ATS and PCR shown in FIGS. 10B and 10C are information indicating arrival times, if the clock used to generate the ATS value is synchronized with the MPEG-TS encoded data, it is possible to use the ATS and the PCR. It maintains a certain time interval delta and one-to-one correspondence. The PTS value shown in (d) of FIG. 10 is also a value used in MPEG-TS encoded data, for example, at which time an image should be expressed. In general, a plurality of packet data are gathered to represent a single image, and the PTS of the image is written in a packet including the start of the image data, and usually has a value after the PCR of the packet.

예를 들어, 두 SOB가 연속 재생을 보장하는 연속 시간 제어 정보를 구하려면 우선 연속 재생이라는 의미를 규정하여야 한다. MPEG 비디오 데이터를 재생하는 경우는 SOB1의 맨 마지막 영상(P1) 뒤에 SOB2의 맨 처음 영상(P2)이 바로 따라와야 한다는 것이다. 따라서 P2의 영상이 P1의 영상 뒤에 바로 연속되어 출력되어야 한다. P1 영상의 PTS에 P1 영상의 한 프레임 지속 시간(duration)을 더하면 P2 영상의 새로운 PTS를 구할 수 있다. 또한, P2 영상의 PTS와 SOB2의 첫 번째 패킷의 PCR의 차이를 델타(DELTA )라고 하면 P1 영상 뒤에 바로 P2 영상이 출력될 수 있는 방법은 P2 영상의 새로운 PCR값은 새로운 PTS보다 앞서서 DELTA 시간 만큼의 간격이 보장되어 수신측의 버퍼에 도달하여야 한다. 이렇게 하면 P2 영상의 새로운 PCR값(도면에서는 "4000")을 구할 수 있다.For example, in order to obtain continuous time control information that guarantees continuous playback between two SOBs, it is necessary to first define the meaning of continuous playback. In the case of playing MPEG video data, the first picture P2 of SOB2 should follow immediately after the last picture P1 of SOB1. Therefore, the image of P2 should be output immediately after the image of P1. By adding a frame duration of the P1 picture to the PTS of the P1 picture, a new PTS of the P2 picture can be obtained. Also, if the difference between the PTS of the P2 image and the PCR of the first packet of the SOB2 is delta (DELTA), the method of outputting the P2 image immediately after the P1 image is that the new PCR value of the P2 image is equal to the DELTA time before the new PTS. The interval of is guaranteed to reach the receiving buffer. In this way, a new PCR value (“4000” in the drawing) of the P2 image can be obtained.

한편, SOB1 데이터 열에 있어서 PCR값과 ATS값은 delta 값을 유지하여 일대일 대응이 되므로 P2 영상의 새로운 PCR로부터 delta 값을 유지하는 새로운 ATS값(SOB2의 첫 번째 패킷의 ATS값)을 구할 수 있게 된다. 이 새로운 ATS값이 P2 영상이 연속 출력되기 위하여 SOB1의 마지막 패킷 데이터가 출력된 후 카운터(304)의 카운팅 동작을 지속시켰을 경우 SOB2의 처음 패킷 데이터가 출력되어야 하는 값으로 본 발명에서 참조 시간이라고 한다. 옵셋값은 이 참조 시간과 SOB2의 맨 처음 패킷의 ATS값의 차이값으로 구할 수 있다. 또한, 재생 간격값은 참조 시간과 SOB1의 맨 마지막 패킷의 ATS값과의 차이값이다. 세 값중 어느 하나만 있으면 나머지 값을 유추할 수 있다.On the other hand, since the PCR value and the ATS value in the SOB1 data string correspond to one-to-one correspondence by maintaining the delta value, a new ATS value (ATS value of the first packet of SOB2) can be obtained from the new PCR of the P2 image. . This new ATS value is a value at which the first packet data of SOB2 should be output when the counting operation of the counter 304 is continued after the last packet data of SOB1 is output in order to continuously output the P2 image. . The offset value can be obtained as the difference between the reference time and the ATS value of the first packet of SOB2. The reproduction interval value is a difference between the reference time and the ATS value of the last packet of SOB1. If only one of the three values is needed, the remaining values can be inferred.

도 10에서는 가장 간단하게 옵셋값을 구하는 것을 예시하고 있다. 실제로는 이렇게 시간과의 관계뿐만 아니라 버퍼 상황도 고려하여 때로는 재부호화 과정을 거쳐야 하는 경우도 있다. 둘 이상의 SOB들이 연속 재생되도록 데이터열 정보가 기록되어 있는 경우 카운터 리셋을 사용하지 않는 경우는 맨 처음의 SOB를 재생한 후 카운터(304)는 카운팅 동작을 계속 유지시키고, 해당 SOBI내의 옵셋값을 계속 해당SOB의 원 ATS값에 가산하여 사용하면 두 개의 SOB 사이의 연속 재생이 보장된다. 카운터 리셋을 사용하는 경우는 SOB 사이마다 재생 간격값을 이용하여 리셋을 행한다.In FIG. 10, the simplest method of obtaining an offset value is illustrated. In practice, it is sometimes necessary to go through the re-encoding process, taking into account not only the time relationship but also the buffer situation. When data string information is recorded so that two or more SOBs are continuously reproduced. If the counter reset is not used, after the first SOB is regenerated, the counter 304 continues counting operation and continues the offset value in the SOBI. When used in addition to the original ATS value of the SOB, continuous playback between the two SOBs is guaranteed. In the case of using the counter reset, the reset is performed using the reproduction interval value for each SOB.

도 11은 본 발명의 이해를 돕기 위한 참조시간/옵셋값/재생 간격값의 상관 관계를 설명하기 위한 도면으로서, 열 방향은 데이터열의 파일 공간을 나타내고, 행 방향은 패킷 데이터에 부가된 ATS를 나타내고 있다. 또한, 카운터 리셋을 사용하는 경우와 사용하지 않는 경우의 카운터값 변화도 예시하였다.FIG. 11 is a view for explaining a correlation between reference time / offset value / playback interval value for better understanding of the present invention, in which a column direction represents a file space of a data string and a row direction represents an ATS added to packet data. have. Moreover, the counter value change with and without a counter reset was also illustrated.

도 11에 있어서, SOB1을 전송한 후 카운터의 리셋없이 SOB2는 원 ATS에 옵셋(도면에서는 offset=1005-10=995)을 더해서 전송하거나, SOB1의 맨 마지막 패킷의 ATS에서 재생 간격(도면에서는 GAP length=1005-1000=5) 떨어진 참조 시간에서 SOB2의 첫 번째 패킷의 ATS로 카운터를 리셋해서 SOB2를 전송할 수 있다.In FIG. 11, after transmitting SOB1, the SOB2 is transmitted by adding an offset (offset = 1005-10 = 995 in the drawing) to the original ATS without resetting the counter, or reproducing interval (GAP in the drawing) in the ATS of the last packet of SOB1. length = 1005-1000 = 5) SOB2 can be sent by resetting the counter to the ATS of the first packet of SOB2 at a reference time away.

본 발명에서는 도 8 및 도 9에 도시된 바와 같이 기록/편집 장치와 재생 장치를 별도로 구성되어 있는 것으로 설명되어 있으나 도 8 및 도 9에 도시된 구성을 모두 가지되, 시스템 클럭으로 구동되는 카운터와 콘트롤러는 공유하여 구성될 수 있는 기록재생장치에도 적용될 수 있다.8 and 9, the recording / editing apparatus and the reproducing apparatus are separately configured. However, the present invention has all the configurations shown in FIGS. 8 and 9, and includes a counter driven by a system clock. The controller can also be applied to a recording / playback apparatus that can be configured to share.

본 발명은 연속 재생 여부 정보 및/또는 연속 시간 제어 정보(참조시간 및/또는 옵셋값 및/또는 재생 간격값)를 포함하는 데이터열 정보를 이용하여 데이터열 사이에 단절없이 연속하여 재생할 수 있다. 특히, 본 발명에 의한 정보 구조를 이용하면 데이터열이 편집되는 경우에도 패킷 데이터에 부가된 도착 시간 정보(ATS)의 직접적인 재기록 또는 수정없이 데이터열 정보의 수정만으로 간단히 연속 재생이 가능한 효과가 있다.The present invention can continuously reproduce data streams without disconnection using data string information including continuous playback information and / or continuous time control information (reference time and / or offset value and / or reproduction interval value). In particular, the information structure according to the present invention has the effect that even in the case where the data string is edited, continuous playback can be performed simply by correcting the data string information without directly rewriting or modifying the arrival time information ATS added to the packet data.

Claims (7)

해당 패킷 데이터가 도착한 시간 정보가 부가되어 있는 패킷화된 데이터 형태로 구성되어 있는 데이터열을 복수개 갖는 제1 영역; 및A first region having a plurality of data strings configured in the form of packetized data to which time information of arrival of the packet data is added; And 상기 제1 영역에서의 각 데이터열을 위한 별도의 데이터열 정보를 가지며, 이전 데이터열과의 연속 재생 여부를 나타내는 연속 재생 여부 정보 및/또는 연속 재생이 되어야 하는 해당 데이터열의 출력 시점을 제어하는 연속 시간 제어 정보를 포함하는 데이터열 정보를 갖는 제2 영역을 포함하는 기록 매체.Continuous time having separate data string information for each data string in the first region and controlling continuous playback information indicating whether to continuously play with the previous data string and / or output time of the corresponding data string to be continuously played. A recording medium comprising a second area having data string information including control information. 제1항에 있어서, 상기 연속 시간 제어 정보는 참조 시간 및/또는 옵셋 정보 및/또는 재생 간격 정보를 포함하는 것을 특징으로 하는 기록 매체.The recording medium of claim 1, wherein the continuous time control information includes reference time and / or offset information and / or reproduction interval information. 제2항에 있어서, 상기 참조 시간은 이전 데이터열을 구성하는 패킷 데이터의 도착 시간값으로 환산된 연속 재생이 되어야 하는 상기 해당 데이터열의 맨 처음 패킷 데이터의 출력 시간을 나타내는 값인 것을 특징으로 하는 기록 매체.3. The recording medium of claim 2, wherein the reference time is a value representing an output time of the first packet data of the corresponding data string to be continuously reproduced in terms of the arrival time value of the packet data constituting the previous data string. . 제2항에 있어서, 상기 옵셋 정보는 이전 데이터열을 구성하는 패킷 데이터의 도착 시간값으로 환산된 연속 재생이 되어야 하는 상기 해당 데이터열의 맨 처음패킷 데이터의 출력 시간과 원 도착 시간과의 차이값인 것을 특징으로 하는 기록 매체.3. The method of claim 2, wherein the offset information is a difference value between the output time of the first packet data of the corresponding data string and the original arrival time of the corresponding data string to be continuously reproduced as the arrival time value of the packet data constituting the previous data string. And a recording medium. 제2항에 있어서, 상기 재생 간격 정보는 이전 데이터열의 맨 마지막 패킷의 출력 시간 이후 얼마의 시간 간격이 지난 후 해당 데이터열의 맨 처음 패킷이 출력되어야 하는 지를 나타내는 값인 것을 특징으로 하는 기록 매체.3. The recording medium of claim 2, wherein the reproduction interval information is a value indicating how long the first packet of the corresponding data string should be output after a time interval after the output time of the last packet of the previous data string. 제1항에 있어서, 상기 연속 시간 제어 정보는 연속 재생 여부 정보가 "연속 재생"을 의미하는 값을 가질 때에만 유효한 값을 가지는 것을 특징으로 하는 기록 매체.The recording medium of claim 1, wherein the continuous time control information has a value that is valid only when the continuous playback information has a value meaning "continuous playback". 제1항에 있어서, 상기 제1 영역상의 데이터열은 소정수의 도착 시간 정보가 부가된 패킷 데이터와 여기에 부가된 부가 헤더로 이루어진 팩들로 구성되어 있는 것을 특징으로 하는 기록 매체.2. The recording medium of claim 1, wherein the data string on the first area is composed of packs of packet data appended with a predetermined number of arrival time information and additional headers appended thereto.
KR1020040002671A 1999-01-14 2004-01-14 Recording medium for storing additional information so as to ensure seamless playback between data stream KR100657262B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020040002671A KR100657262B1 (en) 1999-01-14 2004-01-14 Recording medium for storing additional information so as to ensure seamless playback between data stream

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
KR19990000840A KR100657237B1 (en) 1998-12-16 1999-01-14 Method for generating additional information so as to guarantee seamless playback between data stream
KR1020040002671A KR100657262B1 (en) 1999-01-14 2004-01-14 Recording medium for storing additional information so as to ensure seamless playback between data stream

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
KR19990000840A Division KR100657237B1 (en) 1998-12-16 1999-01-14 Method for generating additional information so as to guarantee seamless playback between data stream

Publications (2)

Publication Number Publication Date
KR20040018417A true KR20040018417A (en) 2004-03-03
KR100657262B1 KR100657262B1 (en) 2006-12-14

Family

ID=37323785

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020040002671A KR100657262B1 (en) 1999-01-14 2004-01-14 Recording medium for storing additional information so as to ensure seamless playback between data stream

Country Status (1)

Country Link
KR (1) KR100657262B1 (en)

Also Published As

Publication number Publication date
KR100657262B1 (en) 2006-12-14

Similar Documents

Publication Publication Date Title
JP3887006B2 (en) Additional information generation method for ensuring continuous reproduction between data strings, recording medium and recording, editing and / or reproducing apparatus for storing this information
JP3900050B2 (en) Data processing apparatus, video camera, and data processing method
KR100619087B1 (en) A reproducing apparatus and a reproducing method
KR20020026169A (en) Method and apparatus for editing digital video recordings, and recordings made by such methods
KR101014664B1 (en) Reproduction method for guaranteeing seamless reproduction of a plurality of data streams and reproducing apparatus therefor
KR100577327B1 (en) Av data recording/reproducing apparatus and method and recording medium on which data is recorded by the av data recording/reproducing apparatus or method
KR100677110B1 (en) Apparatus for recording and/or editing of data ensuring seamless playback between data stream
KR100657262B1 (en) Recording medium for storing additional information so as to ensure seamless playback between data stream
KR100532113B1 (en) Appratus for recording and/or playback of data ensuring seamless playback between data stream
JP2001285800A (en) Data signal recording and reproducing device and data signal recording and reproducing method
JP2006524952A (en) Reproduction method and apparatus for guaranteeing continuous reproduction between a plurality of data streams
JP2008236161A (en) Recording device, and video recording and reproducing device and recording file processing method thereof

Legal Events

Date Code Title Description
A107 Divisional application of patent
A201 Request for examination
E902 Notification of reason for refusal
AMND Amendment
E601 Decision to refuse application
J201 Request for trial against refusal decision
AMND Amendment
B701 Decision to grant
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20121129

Year of fee payment: 7

FPAY Annual fee payment

Payment date: 20131128

Year of fee payment: 8

FPAY Annual fee payment

Payment date: 20141127

Year of fee payment: 9

FPAY Annual fee payment

Payment date: 20151127

Year of fee payment: 10

FPAY Annual fee payment

Payment date: 20161129

Year of fee payment: 11

FPAY Annual fee payment

Payment date: 20171129

Year of fee payment: 12

FPAY Annual fee payment

Payment date: 20181129

Year of fee payment: 13

EXPY Expiration of term