KR100229991B1 - Time stamp on transport stream adding device - Google Patents

Time stamp on transport stream adding device Download PDF

Info

Publication number
KR100229991B1
KR100229991B1 KR1019960059757A KR19960059757A KR100229991B1 KR 100229991 B1 KR100229991 B1 KR 100229991B1 KR 1019960059757 A KR1019960059757 A KR 1019960059757A KR 19960059757 A KR19960059757 A KR 19960059757A KR 100229991 B1 KR100229991 B1 KR 100229991B1
Authority
KR
South Korea
Prior art keywords
time stamp
output
transport stream
signal
data
Prior art date
Application number
KR1019960059757A
Other languages
Korean (ko)
Other versions
KR19980040544A (en
Inventor
박기송
Original Assignee
전주범
대우전자주식회사
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 전주범, 대우전자주식회사 filed Critical 전주범
Priority to KR1019960059757A priority Critical patent/KR100229991B1/en
Publication of KR19980040544A publication Critical patent/KR19980040544A/en
Application granted granted Critical
Publication of KR100229991B1 publication Critical patent/KR100229991B1/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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K19/00Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits
    • H03K19/20Logic circuits, i.e. having at least two inputs acting on one output; Inverting circuits characterised by logic function, e.g. AND, OR, NOR, NOT circuits
    • 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/236Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
    • H04N21/23605Creation or processing of packetized elementary streams [PES]
    • 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/242Synchronization processes, e.g. processing of PCR [Program Clock References]

Abstract

본 발명은 MPEGⅡ에 있어서, 전송 스트림(Transport Stream)을 기록 매체이 기록하는 경우 전송 스트림 패킷을 정확한 시간 간격으로 재생하기 위해 타임 스템프(Time Stamp)를 첨가하는 전송 스트림의 타임 스템프 첨가 장치에 관한 것이다.The present invention relates to an apparatus for adding a time stamp to a transport stream in MPEGII, in which a time stamp is added to reproduce transport stream packets at precise time intervals when the transport medium records the transport stream.

본 발명은 전송 스트림으로 부터 동기 신호가 검출되면 전송 스트림의 패킷 간의 시간 간격을 나타내기 위한 타임 스템프를 상기 동기 신호의 전단부에 삽입하여 기록할 수 있도록 한다.According to the present invention, when a synchronization signal is detected from a transport stream, a time stamp for indicating a time interval between packets of the transport stream can be inserted and recorded at the front end of the synchronization signal.

따라서 본 발명은 전송 스트림의 전단부에 패킷간의 시간 간격을 나타내는 타임 스템프를 첨가하여 기록후 재생시 정확한 시간 간격으로 재생할 수 있으므로 정확한 재생이 이루어진다.Therefore, the present invention adds a time stamp indicating the time interval between packets at the front end of the transport stream, so that accurate reproduction can be performed at the correct time interval during reproduction after recording.

Description

전송 스트림의 타임 스템프 첨가 장치Time stamper in transport stream

본 발명은 MPEGⅡ에 있어서, 전송 스트림(Transport Stream)을 기록 매체이 기록하는 경우 전송 스트림 패킷을 정확한 시간 간격으로 재생하기 위해 타임 스템프(Time Stamp)를 첨가하는 전송 스트림의 타임 스템프 첨가 장치에 관한 것이다.The present invention relates to an apparatus for adding a time stamp to a transport stream in MPEGII, in which a time stamp is added to reproduce transport stream packets at precise time intervals when the transport medium records the transport stream.

일반적으로 MPEGⅡ 전송 스트림은 여러개의 프로그램을 동시에 전송하게 된다. 즉, MPEGⅡ 전송 스트림은 다수개, 예를 들어 도 1(가)에 도시한 바와 같이 두개의 프로그램(A, B)이 시간 분할을 통해 동시에 이어서 전송되게 된다.In general, an MPEG II transport stream transmits several programs simultaneously. That is, a plurality of MPEG II transport streams, for example, two programs A and B are subsequently transmitted simultaneously through time division as shown in FIG.

이때, 원하는 프로그램을 수신하여 디스플레이 또는 기록하는 경우에는 해당하는 전송 스트림 패킷만을 수신하여 디코딩하게 된다. 즉, 사용자가 프로그램(A)를 디스플레이하고자 하면 도 1(나)에 도시한 바와 같이 전송되는 MPEGⅡ 전송 스트림 패킷 중에서 프로그램(A)에 해당하는 패킷(A0, A1)만을 디코딩하게 되고, 사용자가 프로그램(B)를 디스플레이하고자 하면 도 1(다)에 도시한 바와 같이 전송되는 MPEGⅡ 전송 스트림 패킷 중에서 프로그램(B)에 해당하는 패킷(B0, B1)만을 디코딩하게 된다.In this case, when receiving and displaying or recording a desired program, only a corresponding transport stream packet is received and decoded. That is, when the user wants to display the program A, only the packets A0 and A1 corresponding to the program A are decoded among the MPEG II transport stream packets transmitted as shown in FIG. 1 (B). In order to display (B), only the packets B0 and B1 corresponding to the program B are decoded among the MPEGII transport stream packets transmitted as shown in FIG.

그런데, 사용자가 전송된 프로그램을 기록한후 재생하려면 MPEGⅡ 전송 스트림 패킷을 정확한 시간 간격으로 재생해야 한다. 왜냐하면, 해당 프로그램이 MPEGⅡ 전송 스트림으로 전송될때에는 기록이 아닌 디스플레이만을 위해서 전송되므로 해당하는 프로그램의 MPEGⅡ 전송 스트림간을 정확한 시간 간격으로 재생하지 않으면 원하는 프로그램을 정확히 재생할 수 없게 되는 문제점이 있었다.However, in order for the user to record and reproduce the transmitted program, the MPEG II transport stream packet must be reproduced at precise time intervals. Because the program is transmitted only for display and not for recording when the program is transmitted in the MPEG II transport stream, there is a problem in that the desired program cannot be reproduced correctly unless the MPEG II transport streams of the corresponding program are played at an accurate time interval.

상기 문제점을 개선하기 위해 본 발명은 프로그램의 기록시 MPEGⅡ 전송 스트림에 정확한 시간 간격을 알려주는 타임 스템프를 첨가하여 전송 스트림 패킷을 정확한 시간 간격으로 재생하기 위한 전송 스트림의 타임 스템프 첨가 장치를 제공함에 그 목적이 있다.In order to solve the above problems, the present invention provides an apparatus for adding a time stamp of a transport stream for reproducing transport stream packets at an accurate time interval by adding a time stamp indicating an accurate time interval to an MPEG II transport stream when recording a program. There is a purpose.

도 1은 MPEGⅡ 전송 스트림의 전송 상태를 나타낸 도면1 is a diagram illustrating a transmission state of an MPEG II transport stream.

도 2는 본 발명에 의한 전송 스트림의 타임 스템프 첨가 장치의 구성도2 is a block diagram of a device for adding a time stamp of a transport stream according to the present invention;

도 3은 본 발명에 의한 타임 스템프를 첨가한 전송 스트림 패킷의 구조도3 is a structural diagram of a transport stream packet added with a time stamp according to the present invention

도 4는 본 발명에 의한 타임 스템프 데이타의 구조도4 is a structural diagram of time stamp data according to the present invention;

<도면의 주요 부분에 대한 부호의 설명><Description of the code | symbol about the principal part of drawing>

100 : 동기 검출부110 : 지연부100: synchronization detection unit 110: delay unit

120 : 타임 스템프 발생부130 : 타임 스템프 출력부120: time stamp generation unit 130: time stamp output unit

131 : 앤드 게이트132 : 래치131: AND gate 132: latch

140 : 타임 스템프 삽입부140: time stamp insert

상기 목적을 달성하기 위해 본 발명에 의한 전송 스트림의 타임 스템프 첨가 장치는 비주기적으로 패킷 단위로 전송되는 특정 프로그램의 전송 스트림으로 부터 동기 신호를 검출하여 동기 신호의 정상적인 검출 상태를 나타내는 동기 온 신호와 동기 신호를 출력하는 동기 검출 수단; 일정 주파수의 클럭 신호를 입력으로 상기 전송 스트림의 패킷 간의 시간 간격을 나타내기 위한 타임 스템프를 발생하는 타임 스템프 발생 수단; 상기 동기 검출 수단에서 정상적으로 동기 신호가 검출되면 상기 타임 스템프 발생 수단으로 부터 출력되는 타임 스템프를 이용하여 타임 스템프 데이타를 출력하고 타임 스템프 데이타의 삽입을 제어하는 타임 스템프 밸리드 신호를 출력하는 타임 스템프 출력 수단; 및 상기 타임 스템프 출력 수단으로 부터 출력되는 타임 스템프 밸리드 신호에 따라 상기 동기 검출 수단으로 부터 출력되는 전송 스트림에 상기 타임 스템프 출력 수단으로 부터 출력되는 타임 스템프 데이타를 삽입하는 타임 스템프 삽입 수단을 포함하여 구성됨을 특징으로 한다.In order to achieve the above object, the apparatus for adding a time stamp of a transport stream according to the present invention detects a sync signal from a transport stream of a specific program transmitted on a packet basis aperiodically and indicates a sync on signal indicating a normal detection state of the sync signal. Synchronization detection means for outputting a synchronization signal; Time stamp generating means for generating a time stamp for indicating a time interval between packets of the transport stream by inputting a clock signal of a constant frequency; The time stamp output outputs time stamp data using the time stamp output from the time stamp generating means and outputs a time stamp valid signal for controlling the insertion of time stamp data when the synchronization signal is normally detected by the synchronization detecting means. Way; And time stamp inserting means for inserting time stamp data output from the time stamp output means into a transport stream output from the synchronization detecting means in accordance with a time stamp valid signal output from the time stamp output means. Characterized in that configured.

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

본 발명에 의한 전송 스트림의 타임 스템프 첨가 장치는 도 2에 도시한 바와 같이 동기 검출부(400), 타임 스템프 발생부(120), 타임 스템프 출력부(130), 타임 스템프 삽입부(140), 및 지연부(110)로 구성된다.The apparatus for adding a time stamp of a transport stream according to the present invention includes a synchronization detector 400, a time stamp generator 120, a time stamp output unit 130, a time stamp inserter 140, and It is composed of a delay unit (110).

상기 동기 검출부(100)는 비주기적으로 패킷 단위로 전송되는 특정 프로그램의 전송 스트림(MTS)으로 부터 동기 신호(SYNC)를 검출하여 동기 신호의 정상적인 검출 상태를 나타내는 동기 온 신호(SYNCON)와 동기 신호(SYNC)를 출력한다.The synchronization detecting unit 100 detects a synchronization signal SYNC from a transport stream MTS of a specific program transmitted aperiodically in a packet unit and synchronizes the synchronization on signal SYNCON indicating a normal detection state of the synchronization signal with the synchronization signal. Outputs (SYNC).

여기서, 상기 동기 온 신호(SYNCON)는 상기 검출되는 동기 신호가 정상적으로 3회 검출되면 하이 레벨로 출력되어 정상적인 전송 스트림이 수신되고 있음을 알린다.Here, the sync on signal SYNCON is output at a high level when the detected sync signal is normally detected three times, indicating that a normal transport stream is being received.

상기 타임 스템프 발생부(120)는 일정 주파수의 클럭 신호를 입력으로 상기 전송 스트림의 패킷 간의 시간 간격을 나타내기 위한 타임 스템프를 발생한다.The time stamp generator 120 generates a time stamp for indicating a time interval between packets of the transport stream by inputting a clock signal having a predetermined frequency.

상기 타임 스템프 출력부(130)는 상기 동기 검출부(100)에서 정상적으로 동기 신호가 검출되면 상기 타임 스템프 발생부(120)으로 부터 출력되는 타임 스템프를 이용하여 타임 스템프 데이타(TSD)를 출력하고 타임 스템프 데이타의 삽입을 제어하는 타임 스템프 밸리드 신호(TSV : Time Stamp Valid)를 출력하는 것으로, 상기 동기 검출부(100)로 부터 출력되는 동기 온 신호(SYNCON)와 동기 신호(SYNC)를 논리곱하는 앤드 게이트(131), 및 상기 앤드 게이트(131)의 출력에 따라 상기 타임 스템프 삽입부(140)를 제어하는 타임 스템프 밸리드 신호(TSV)를 출력하고 상기 타임 스템프 발생부(120)로 부터 출력되는 타임 스템프를 입력으로 상기 클럭 신호에 따라 타임 스템프 데이타(TSD)를 상기 타임 스템프 삽입부(140)로 출력하는 래치(132)로 구성된다.The time stamp output unit 130 outputs time stamp data TSD by using the time stamp output from the time stamp generator 120 when the synchronization signal is normally detected by the synchronization detector 100. An AND gate that outputs a time stamp valid signal (TSV: Time Stamp Valid) for controlling data insertion, and logically multiplies the sync on signal SYNCON and the sync signal SYNC output from the sync detector 100. 131 and a time output from the time stamp generator 120 to output a time stamp valid signal TSV for controlling the time stamp inserter 140 according to the output of the AND gate 131. A latch 132 is configured to output a time stamp data TSD to the time stamp inserter 140 according to the clock signal.

상기 타임 스템프 삽입부(140)는 상기 타임 스템프 출력부(130)로 부터 출력되는 타임 스템프 밸리드 신호(TSV)에 따라 상기 동기 검출부(100)로 부터 출력되는 전송 스트림(MTS)에 상기 타임 스템프 출력부(130)로 부터 출력되는 타임 스템프 데이타(TSD)를 삽입하는 것으로, 상기 타임 스템프 출력부(130)로 부터 출력되는 타임 스템프 밸리드 신호(TSV)를 선택 신호로 하여 상기 동기 검출부(100)로 부터 출력되는 전송 스트림(MTS)와 상기 타임 스템프 출력부(130)로 부터 출력되는 타임 스템프 데이타(TSD) 중에서 하나를 선택하여 출력하는 멀티플렉서로 구성된다.The time stamp inserter 140 outputs the time stamp to the transport stream MTS output from the sync detector 100 according to a time stamp valid signal TSV output from the time stamp output unit 130. By inserting the time stamp data (TSD) output from the output unit 130, by using the time stamp valid signal (TSV) output from the time stamp output unit 130 as a selection signal, the synchronization detection unit (100) It is composed of a multiplexer for selecting and outputting one of the transport stream (MTS) output from the) and the time stamp data (TSD) output from the time stamp output unit 130.

상기 지연부(110)는 상기 동기 검출부(100)로 부터 출력되는 전송 스트림(MTS)을 상기 클럭 신호로 지연시켜 상기 타임 스템프 삽입부(140)로 출력한다.The delay unit 110 delays the transport stream MTS output from the synchronization detection unit 100 with the clock signal and outputs the delayed signal to the time stamp inserter 140.

여기서, 상기 전송 스트림의 하나의 패킷은 도 3에 도시한 바와 같이 188바이트로 이루어지며, 상기 클럭 신호는 27MHz이다.Here, one packet of the transport stream is composed of 188 bytes as shown in FIG. 3, and the clock signal is 27 MHz.

또한, 상기 타임 스템프 데이타는 상기 전송 스트림(MTS)의 동기 신호(SYNC)의 전단부에 첨가되며, 도 4에 도시한 바와 같이 연속하는 10비트의 '0' 데이타와 상기 프로그램에 해당하는 상기 전송 스트림의 패킷 간의 시간 간격을 나타내기 위한 22비트의 타임 스템프로 이루어진다.In addition, the time stamp data is added to the front end of the synchronization signal SYNC of the transport stream MTS. As shown in FIG. 4, the continuous 10-bit '0' data and the transmission corresponding to the program are shown. It consists of a 22-bit time stamp to indicate the time interval between packets in the stream.

여기서, 상기 타임 스템프는 도 4에 도시한 바와 같이 상기 패킷 단위의 전송 스트림(MTS)의 동기 신호(SYNC)간의 시간을 상기 27MHz의 클럭 신호로 '0'으로 부터 '224999'까지 카운팅한 값으로 나타내는 18비트의 모듈로 225000 데이타와 상기 18비트의 모듈로 225000 데이타가 '0'이 될때마다 카운팅한 값을 나타내는 4비트의 모듈로 12데이타로 이루어진다.As shown in FIG. 4, the time stamp is a value obtained by counting the time between the synchronization signals SYNC of the transport stream MTS in the packet unit from '0' to '224999' as the 27 MHz clock signal. When the 18-bit modulo 225000 data and the 18-bit modulo 225000 data become '0', the 4-bit modulo 12 data is displayed.

이와 같이 구성되는 본 발명에 의한 전송 스트림의 타임 스템프 첨가 장치의 동작을 첨부한 도면을 참조하여 설명한다.The operation of the apparatus for adding a time stamp of a transport stream according to the present invention configured as described above will be described with reference to the accompanying drawings.

도 1(가)에 도시한 바와 같이 188바이트로 이루어진 패킷 단위의 전송 스트림이 연속해서 입력되고 이때, 다수개의 프로그램은 비주기적으로 전송되게 된다.As shown in Fig. 1 (a), a transport stream of a packet unit consisting of 188 bytes is continuously input, and a plurality of programs are transmitted aperiodically at this time.

예를 들면 프로그램(A)에 해당하는 하나의 패킷이 전송된후 프로그램(B)에 해당하는 하나의 패킷이 전송되고, 프로그램(C)에 해당하는 프로그램이 전송된후 프로그램(B)에 해당하는 프로그램이 전송될 수 있다.For example, after one packet corresponding to program A is transmitted, one packet corresponding to program B is transmitted, and a program corresponding to program C is transmitted, and then corresponding to program B. The program can be transferred.

이와 같이 비주기적으로 패킷 단위로 전송되는 전송 스트림(MTS) 중에서 해당하는 특정 프로그램의 전송 스트림을 검출하고, 검출된 특정 프로그램의 전송 스트림은 패킷 단위로 동기 검출부(100)로 입력된다.As described above, a transport stream of a specific program is detected from a transport stream MTS transmitted aperiodically in a packet unit, and the transport stream of the detected specific program is input to the sync detector 100 in a packet unit.

동기 검출부(100)에서는 입력되는 전송 스트림으로 부터 동기 신호(SYNC)를 검출한다. 이때, 전송 스트림에서 동기 신호가 정상적으로 검출되는지 검색한다.The sync detector 100 detects a sync signal SYNC from an input transport stream. At this time, it is searched whether the synchronization signal is normally detected in the transport stream.

동기 신호는 도 1(라)에 도시한 바와 같이 188바이트로 이루어지는 하나의 패킷이 전송될때 제일 앞서 전송되므로, 188바이트의 패킷이 전송될때 제일 먼저 동기 신호가 검출되는지 검색한다.Since the synchronization signal is transmitted first when one packet of 188 bytes is transmitted as shown in Fig. 1 (d), it is first searched whether a synchronization signal is detected when a packet of 188 bytes is transmitted.

검색 결과 3회 이상 정상적으로 동기 신호가 발생되면 동기 온 신호(SYNCON)를 동기 검출부(100)에서 앤드 게이트(131)로 출력한다. 즉, 동기 검출부(100)에서는 하나의 패킷이 전송될때 최초로 동기 신호가 검출되는 것이 3회 이상 계속 되면 전송 스트림이 정상적으로 전송되는 것으로 판단하고 전송 스트림의 정상 전송 상태를 나타내는 동기 온 신호(SYNCON)를 하이 레벨로 출력한다.When the sync signal is normally generated three or more times as a result of the search, the sync on signal SYNCON is output from the sync detector 100 to the AND gate 131. That is, when one packet is transmitted, the synchronization detector 100 determines that the transport stream is normally transmitted when the first synchronization signal is detected three times or more, and the synchronization on signal SYNCON indicating the normal transmission state of the transport stream is determined. Output at high level.

동기 검출부(100)에서 출력되는 동기 온 신호(SYNCON)와 동기 신호(SYNC)는 타임 스템프 출력부(130)의 앤드 게이트(131)에서 논리곱되어 래치(132)의 래치 클럭(LCLK)으로 입력된다.The sync on signal SYNCON and the sync signal SYNC output from the sync detector 100 are logically multiplied by the AND gate 131 of the time stamp output unit 130 and input to the latch clock LCLK of the latch 132. do.

한편, 타임 스템프 발생부(120)에서는 27MKz의 클럭 신호를 입력으로 상기 전송 스트림의 패킷 간의 시간 간격을 나타내기 위한 타임 스템프를 발생한다.The time stamp generator 120 generates a time stamp for indicating a time interval between packets of the transport stream by inputting a clock signal of 27 MKz.

상기 타임 스템프 데이타는 도 4에 도시한 바와 같이 연속하는 10비트의 '0' 데이타와 상기 프로그램에 해당하는 상기 전송 스트림의 패킷 간의 시간 간격을 나타내기 위한 22비트의 타임 스템프로 이루어지는데, 이중에서 22비트의 타임 스템프는 4비트의 모듈로 12 데이타와 18비트의 모듈로 225000 데이타로 이루어진다.The time stamp data is composed of a 22-bit time stamp for representing a time interval between consecutive 10-bit '0' data and a packet of the transport stream corresponding to the program, as shown in FIG. The 22-bit time stamp consists of 12 bits of 4 bits and 225000 data of 18 bits.

상기 모듈로 225000 데이타는 상기 패킷 단위의 전송 스트림(MTS)의 동기 신호(SYNC)간의 시간을 상기 27MHz의 클럭 신호를 '0'으로 부터 '224999'까지 카운팅한 값으로 나타낸 값이고, 상기 모듈로 12 데이타는 상기 18비트의 모듈로 225000 데이타가 '0'이 될때마다 카운팅한 값을 나타낸 값이다.The modulo 225000 data is a value representing a time between synchronization signals (SYNC) of the transport stream (MTS) of the packet unit as a value obtained by counting the 27 MHz clock signal from '0' to '224999'. 12 data represents a value counted each time the modulo 225000 data of the 18-bit is '0'.

이와 같이 27MHz의 클럭을 각각 카운팅한 값은 래치(132)로 입력되는데, 래치(132)에서는 앤드 게이트(131)로 부터 출력되는 래치 클럭(LCLK)에 따라 상기 타임 스템프 발생부(120)로 부터 출력되는 타임 스템프를 입력으로 타임 스템프 데이타(TSD)를 멀티플렉서(140)로 출력하게 된다.The counting value of the 27 MHz clock is input to the latch 132, which is input from the time stamp generator 120 according to the latch clock LCLK output from the AND gate 131. The time stamp data TSD is output to the multiplexer 140 using the output time stamp.

즉, 전송 스트림이 정상적으로 입력되고 있는 상태에서 동기 신호가 검출되면 검출된 동기 신호(SYNC)에 따라 앤드 게이트(131)의 출력이 천이하게 되고, 이와 같은 앤드 게이트(131)의 출력은 래치 클럭(LCLK)이 되어 타임 스템프 발생부(120)로 부터 출력되는 타임 스템프를 읽어들이고 10개의 '0' 데이타를 삽입하여 타임 스템프 데이타(TSD)로 출력하게 된다.That is, when the synchronization signal is detected while the transport stream is normally input, the output of the AND gate 131 transitions according to the detected synchronization signal SYNC, and the output of the AND gate 131 is a latch clock ( LCLK) reads the time stamp output from the time stamp generator 120 and inserts 10 '0' data to output the time stamp data (TSD).

이때, 래치 클럭(LCLK)이 발생될때까지 타임 스템프 발생부(120)에서는 12카운터와 225000 카운터를 계속 카운팅시키면서 타임 스템프를 계속 변화시킨다. 따라서 래치 클럭(LCLK)이 입력되는 시점에서 발생된 타임 스템프는 이전 동기 신호가 검출되는 시점으로 부터 다음 동기 신호가 검출되는 시점까지의 시간이 된다.At this time, the time stamp generator 120 continuously changes the time stamp while counting 12 counters and 225000 counters until the latch clock LCLK is generated. Therefore, the time stamp generated at the time when the latch clock LCLK is input becomes a time from the time when the previous sync signal is detected to the time when the next sync signal is detected.

이와 같이 래치 클럭(LCLK)이 발생되면 상기 타임 스템프 발생부(120)의 카운터는 '0'으로 세트되어 카운팅을 시작한다.When the latch clock LCLK is generated in this manner, the counter of the time stamp generator 120 is set to '0' to start counting.

이와 같이 래치(132)에서 읽어들인 타임 스템프는 27MHz의 클럭 신호에 따라 10개의 '0' 데이타와 함께 32비트의 타임 스템프 데이타(TSD)로 멀티플렉서(140)로 출력된다. 즉, 상기 래치(132)는 앤드 게이트(131)로 부터 출력되는 래치 클럭(LCLK)에 따라 상기 타임 스템프 발생부(120)로 부터 출력되는 22비트의 타임 스템프를 읽고 상기 27MHz의 클럭 신호에 따라 10비트의 '0' 데이타와 22비트의 타임 스템프 데이타를 8비트씩 4회에 걸쳐 타임 스템프 삽입부(140)인 멀티플렉서로 출력한다.The time stamp read from the latch 132 is output to the multiplexer 140 as 10-bit time stamp data TSD along with 10 '0' data according to a 27 MHz clock signal. That is, the latch 132 reads a 22-bit time stamp output from the time stamp generator 120 according to the latch clock LCLK output from the AND gate 131, and according to the clock signal of 27 MHz. The 10-bit '0' data and the 22-bit time stamp data are output to the multiplexer, which is the time stamp inserting unit 140, 4 times each 8 bits.

한편, 동기 검출부(100)로 부터 출력되는 전송 스트림(MTS)은 동기를 맞추기 위해 지연부(110)에서 지연된후 타임 스템프 삽입부(140)인 멀티플렉서로 입력된다. 즉, 동기 검출부(100)에서는 전송되는 전송 스트림(MTS)으로 부터 동기 신호(SYNC)만을 검출한후 동기 신호를 포함하는 전송 스트림(MTS)를 그대로 지연부(110)로 출력하여 지연시킨다.On the other hand, the transport stream (MTS) output from the synchronization detector 100 is delayed by the delay unit 110 for synchronization, and is input to the multiplexer, which is the time stamp inserter 140. That is, the sync detector 100 detects only the sync signal SYNC from the transport stream MTS, and then outputs and delays the transport stream MTS including the sync signal to the delay unit 110 as it is.

멀티플렉서(140)에서는 상기 래치(132)로 부터 출력되는 타임 스템프 벨리드 신호(TSV)에 따라 상기 지연부(110)로 부터 입력되는 전송 스트림(110)의 전단부에 타임 스템프 데이타를 삽입하게 된다.The multiplexer 140 inserts time stamp data into the front end of the transport stream 110 input from the delay unit 110 according to the time stamp bell signal TSV output from the latch 132. .

여기서, 타임 스템프 벨리드 신호(TSV)는 상기 타임 스템프 데이타(TSD)가 출력되는 시점에 로우 레벨로 되어 상기 래치(132)로 부터 출력되는 타임 스템프 데이타(TSD)를 선택할 수 있도록 하고, 나머지 시점에는 하이 레벨로 되어 상기 지연부(110)로 부터 출력되는 전송 스트림을 선택할 수 있도록 한다.In this case, the time stamp bell signal TSV becomes low at the time when the time stamp data TSD is output, so that the time stamp data TSD output from the latch 132 can be selected, and the remaining time points. In the high level, the transport stream output from the delay unit 110 can be selected.

이와 같이 멀티플렉서(140)에서 멀티플렉싱되어 출력되는 신호는 도 3에 도시한 바와 같이 188바이트의 전송 스트림(MTS)의 전단에 4바이트의 타임 스템프 데이타가 삽입된 상태이다. 이를 전체 전송 스트림으로 보면 도 1(라)에 도시한 바와 같이 특정의 프로그램에 해당하는 전송 스트림내의 동기 신호(SYNC)의 전단에 타임 스템프 데이타(TS)가 삽입된 상태가 되고 이 상태로 기록 매체에 기록된다.As shown in FIG. 3, the multiplexer 140 outputs a signal multiplexed with 4 bytes of time stamp data in front of a 188-byte transport stream (MTS). As a whole transport stream, as shown in Fig. 1 (d), the time stamp data TS is inserted in the front end of the synchronization signal SYNC in the transport stream corresponding to a specific program. Is written on.

이와 같이 타임 스템프 데이타가 기록된 상태에서 재생하는 경우에는 타임 스템프 데이타에 따라 해당 시간 간격으로 데이타를 재생하면 된다.In the case where the time stamp data is recorded in this manner, the data can be reproduced at a corresponding time interval in accordance with the time stamp data.

이상에서 설명한 바와 같이 본 발명에 의한 전송 스트림의 타임 스템프 첨가 장치는 전송 스트림의 전단부에 패킷간의 시간 간격을 나타내는 타임 스템프를 첨가하여 기록후 재생시 정확한 시간 간격으로 재생할 수 있으므로 정확한 재생이 이루어진다.As described above, the apparatus for adding a time stamp of a transport stream according to the present invention adds a time stamp indicating a time interval between packets to the front end of the transport stream, so that accurate playback can be performed at the correct time interval during recording and playback.

Claims (10)

비주기적으로 패킷 단위로 전송되는 특정 프로그램의 전송 스트림(MTS)으로 부터 동기 신호(SYNC)를 검출하여 동기 신호의 정상적인 검출 상태를 나타내는 동기 온 신호(SYNCON)와 동기 신호(SYNC)를 출력하는 동기 검출 수단(100); 일정 주파수의 클럭 신호를 입력으로 상기 전송 스트림의 패킷 간의 시간 간격을 나타내기 위한 타임 스템프를 발생하는 타임 스템프 발생 수단(120); 상기 동기 검출 수단(100)에서 정상적으로 동기 신호가 검출되면 상기 타임 스템프 발생 수단(120)으로 부터 출력되는 타임 스템프를 이용하여 타임 스템프 데이타(TSD)를 출력하고 타임 스템프 데이타의 삽입을 제어하는 타임 스템프 밸리드 신호(TSV : Time Stamp Valid)를 출력하는 타임 스템프 출력 수단(130); 및 상기 타임 스템프 출력 수단(130)으로 부터 출력되는 타임 스템프 밸리드 신호(TSV)에 따라 상기 동기 검출 수단(100)으로 부터 출력되는 전송 스트림(MTS)에 상기 타임 스템프 출력 수단(130)으로 부터 출력되는 타임 스템프 데이타(TSD)를 삽입하는 타임 스템프 삽입 수단(140)을 포함하여 구성됨을 특징으로 하는 전송 스트림의 타임 스템프 첨가 장치.Synchronization which detects a synchronization signal SYNC from a transport stream MTS of a specific program transmitted aperiodically and outputs a synchronization ON signal SYNCON and a synchronization signal SYNC indicating a normal detection state of the synchronization signal. Detection means 100; Time stamp generating means (120) for generating a time stamp for indicating a time interval between packets of the transport stream by inputting a clock signal of a constant frequency; When the synchronization signal is normally detected by the synchronization detecting means 100, a time stamp for outputting time stamp data TSD using the time stamp output from the time stamp generating means 120 and controlling the insertion of the time stamp data. Time stamp output means 130 for outputting a valid signal (TSV: Time Stamp Valid); And the time stamp output means 130 in the transport stream MTS output from the synchronization detecting means 100 according to the time stamp valid signal TSV output from the time stamp output means 130. And a time stamp inserting means (140) for inserting the output time stamp data (TSD). 제1항에 있어서, 상기 동기 검출 수단(100)으로 부터 출력되는 전송 스트림(MTS)을 상기 클럭 신호로 지연시켜 상기 타임 스템프 삽입 수단(140)으로 출력하는 지연 수단(110)을 더 포함하여 구성됨을 특징으로 하는 전송 스트림의 타임 스템프 첨가 장치.The apparatus of claim 1, further comprising a delay means (110) for delaying the transport stream (MTS) output from the synchronization detection means (100) to the clock signal and outputting the delayed signal to the time stamp insertion means (140). Apparatus for adding a time stamp of a transport stream, characterized in that. 제1항에 있어서, 상기 동기 온 신호(SYNCON)는 상기 검출되는 동기 신호가 정상적으로 3회 검출되면 하이 레벨로 출력됨을 특징으로 하는 전송 스트림의 타임 스템프 첨가 장치.The apparatus of claim 1, wherein the sync on signal (SYNCON) is output at a high level when the detected sync signal is normally detected three times. 제1항에 있어서, 상기 타임 스템프 출력 수단(130)은 상기 동기 검출 수단(100)으로 부터 출력되는 동기 온 신호(SYNCON)와 동기 신호(SYNC)를 논리곱하는 앤드 게이트(131); 및 상기 앤드 게이트(131)의 출력에 따라 상기 타임 스템프 삽입 수단(140)을 제어하는 타임 스템프 밸리드 신호(TSV)를 출력하고 상기 타임 스템프 발생 수단(120)으로 부터 출력되는 타임 스템프를 입력으로 상기 클럭 신호에 따라 타임 스템프 데이타(TSD)를 상기 타임 스템프 삽입 수단(140)으로 출력하는 래치(132)로 구성됨을 특징으로 하는 전송 스트림의 타임 스템프 첨가 장치.2. The apparatus of claim 1, wherein the time stamp output means (130) comprises: an AND gate (131) for ANDing the synchronous on signal (SYNCON) and the synchronous signal (SYNC) output from the synchronous detection means (100); And a time stamp valid signal TSV for controlling the time stamp inserting unit 140 according to the output of the AND gate 131, and a time stamp output from the time stamp generating unit 120 as an input. And a latch (132) for outputting time stamp data (TSD) to the time stamp inserting means (140) according to the clock signal. 제1항에 있어서, 상기 타임 스템프 삽입 수단(140)은 상기 타임 스템프 출력 수단(130)으로 부터 출력되는 타임 스템프 밸리드 신호(TSV)를 선택 신호로 하여 상기 동기 검출 수단(100)으로 부터 출력되는 전송 스트림(MTS)와 상기 타임 스템프 출력 수단(130)으로 부터 출력되는 타임 스템프 데이타(TSD) 중에서 하나를 선택하여 출력하는 멀티플렉서로 구성됨을 특징으로 하는 전송 스트림의 타임 스템프 첨가 장치.The method of claim 1, wherein the time stamp inserting unit (140) outputs from the synchronization detecting means (100) a time stamp valid signal (TSV) output from the time stamp output unit (130) as a selection signal. And a multiplexer for selecting and outputting one of a transport stream (MTS) and a time stamp data (TSD) output from the time stamp output means (130). 제1항에 있어서, 상기 전송 스트림의 하나의 패킷은 188바이트로 이루어짐을 특징으로 하는 전송 스트림의 타임 스템프 첨가 장치.2. The apparatus of claim 1, wherein one packet of the transport stream consists of 188 bytes. 제1항, 제2항 및 제4항 중 어느 한 항에 있어서, 상기 클럭 신호는 27MHz임을 특징으로 하는 전송 스트림의 타임 스템프 첨가 장치.5. Apparatus according to any one of the preceding claims, wherein said clock signal is 27 MHz. 제7항에 있어서, 상기 타임 스템프 데이타는 상기 전송 스트림(MTS)의 동기 신호(SYNC)의 전단부에 첨가됨을 특징으로 하는 전송 스트림의 타임 스템프 첨가 장치.8. The apparatus of claim 7, wherein the time stamp data is added to a front end of a synchronization signal (SYNC) of the transport stream (MTS). 제8항에 있어서, 상기 타임 스템프 데이타는 연속하는 10비트의 '0' 데이타와 상기 프로그램에 해당하는 상기 전송 스트림의 패킷 간의 시간 간격을 나타내기 위한 22비트의 타임 스템프로 이루어짐을 특징으로 하는 전송 스트림의 타임 스템프 첨가 장치.10. The transmission of claim 8, wherein the time stamp data comprises a 22-bit time stamp for representing a time interval between consecutive 10-bit '0' data and a packet of the transport stream corresponding to the program. Apparatus for adding the time stamp of the stream. 제9항에 있어서, 상기 타임 스템프는 상기 패킷 단위의 전송 스트림(MTS)의 동기 신호(SYNC)간의 시간을 상기 27MHz의 클럭 신호를 '0'으로 부터 '224999'까지 카운팅한 값으로 나타내는 18비트의 모듈로 225000 데이타와 상기 18비트의 모듈로 225000 데이타가 '0'이 될때마다 카운팅한 값을 나타내는 4비트의 모듈로 12 데이타로 구성됨을 특징으로 하는 전송 스트림의 타임 스템프 첨가 장치.10. The method of claim 9, wherein the time stamp is 18 bits representing the time between the synchronization signals SYNC of the transport stream MTS in the packet unit as a value obtained by counting the 27 MHz clock signal from '0' to '224999'. And a modulo 225000 data of 4 bits and modulo 12 data representing a counted value each time the modulo 225000 data of the 18-bit modulo 225000 data is '0'.
KR1019960059757A 1996-11-29 1996-11-29 Time stamp on transport stream adding device KR100229991B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1019960059757A KR100229991B1 (en) 1996-11-29 1996-11-29 Time stamp on transport stream adding device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1019960059757A KR100229991B1 (en) 1996-11-29 1996-11-29 Time stamp on transport stream adding device

Publications (2)

Publication Number Publication Date
KR19980040544A KR19980040544A (en) 1998-08-17
KR100229991B1 true KR100229991B1 (en) 1999-11-15

Family

ID=19484685

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1019960059757A KR100229991B1 (en) 1996-11-29 1996-11-29 Time stamp on transport stream adding device

Country Status (1)

Country Link
KR (1) KR100229991B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9948105B2 (en) 2015-07-28 2018-04-17 Lsis Co., Ltd. Data control system

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100630061B1 (en) * 1999-12-06 2006-09-28 삼성전자주식회사 Method for reproducing and registering data type id information for distinguishing plural service data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9948105B2 (en) 2015-07-28 2018-04-17 Lsis Co., Ltd. Data control system

Also Published As

Publication number Publication date
KR19980040544A (en) 1998-08-17

Similar Documents

Publication Publication Date Title
KR970029617A (en) Packet data recording / playback method and apparatus
KR960025583A (en) Compact disc video song accompaniment player
KR19980702988A (en) Add time information
US4423440A (en) Code signal reading apparatus
US5946443A (en) Method and apparatus for restoring sync data in a digital video disc playback system
KR100229991B1 (en) Time stamp on transport stream adding device
JP3306938B2 (en) Synchronous code extraction circuit
US8290106B2 (en) System and method for generating linear time code data
KR860002930A (en) Reference signal regeneration device
US4825303A (en) Compressed audio silencing
JPS6016028B2 (en) time code reader
US4598169A (en) System for detecting a marker signal inserted in an information signal
US5963382A (en) Methods of recording and reproducing and apparatus for recording and reproducing time codes
KR100288477B1 (en) DVC high density transport stream recording and playback device
KR100229992B1 (en) Transport stream smoothing device
KR0141204B1 (en) Sync. signal detection apparatus of digital replay system and data convert apparatus
JPH04117672A (en) Synchronizing method and synchronizing circuit for digital information signal
KR100251451B1 (en) Converter for i/o rate and format
US5936922A (en) Method and apparatus for sampling a synchronous pattern from data including an error using a random synchronous signal
KR100243158B1 (en) Area setting method of digital video tape recorder
KR930006381Y1 (en) Circuit for recording information
KR0178724B1 (en) Apparatus for measuring a bit rate in the digital image signal recording and reproducing apparatus
KR0162211B1 (en) Apparatus for deleting pseudo-sync. signal and digital reproduction system
JP2576953B2 (en) Disk playback device
KR100239914B1 (en) Method for sampling synchronous pattern and apparatus for performing the same

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
FPAY Annual fee payment

Payment date: 20120801

Year of fee payment: 14

LAPS Lapse due to unpaid annual fee