KR100759777B1 - Playback device and playback method - Google Patents

Playback device and playback method Download PDF

Info

Publication number
KR100759777B1
KR100759777B1 KR20050115955A KR20050115955A KR100759777B1 KR 100759777 B1 KR100759777 B1 KR 100759777B1 KR 20050115955 A KR20050115955 A KR 20050115955A KR 20050115955 A KR20050115955 A KR 20050115955A KR 100759777 B1 KR100759777 B1 KR 100759777B1
Authority
KR
South Korea
Prior art keywords
pts
ptss
difference
time information
storage unit
Prior art date
Application number
KR20050115955A
Other languages
Korean (ko)
Other versions
KR20060061254A (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 가부시끼가이샤 도시바
Publication of KR20060061254A publication Critical patent/KR20060061254A/en
Application granted granted Critical
Publication of KR100759777B1 publication Critical patent/KR100759777B1/en

Links

Images

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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • 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
    • 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 or rendering scenes according to encoded video stream scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/455Demodulation-circuits

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

방송 신호를 수신하고 복조하여 MPEG2-TS(Transport Stream)를 출력하는 튜너부(71)와, MPEG2-TS(11)에 포함되는 PES(Packetized Elementary Stream)에 포함되는 PTS(Presentation Time Stamp)를 복수 연속하여 저장하는 기억부(72)와, PES에 포함되는 식별 플래그(pts_dts_플래그)가 PTS의 존재를 나타낼 때, PTS가 나타내는 시간 정보에 따라 MPEG2-TS를 재생하는 재생부(76)와, 기억부에 저장된 복수의 PTS를 서로 비교하여 인접한 복수의 PTS가 나타내는 시간 정보의 차분이 소정값을 초과할 때, 차분을 포함하는 PTS의 식별 플래그를 PTS 부재로 재기록하도록 제어하는 재기록부(51)를 갖는 재생 장치가 제공된다.A tuner unit 71 for receiving and demodulating a broadcast signal and outputting a MPEG2-TS (Transport Stream) and a PTS (Presentation Time Stamp) included in a packetized elementary stream (PES) included in the MPEG2-TS 11 are provided. A reproducing unit 76 which reproduces MPEG2-TS according to the time information indicated by the PTS when the storage unit 72 and the identification flag (pts_dts_flag) included in the PES indicate the presence of the PTS; A rewrite unit 51 which controls to rewrite the identification flag of the PTS including the difference to the PTS member when a difference of time information indicated by a plurality of adjacent PTSs exceeds a predetermined value by comparing a plurality of PTSs stored in the storage unit with each other; A reproducing apparatus having a is provided.

재생 장치, 재생 방법, MPEG, MPEG2-TS Playback device, playback method, MPEG, MPEG2-TS

Description

재생 장치 및 재생 방법{PLAYBACK DEVICE AND PLAYBACK METHOD}Playback device and playback method {PLAYBACK DEVICE AND PLAYBACK METHOD}

도 1은 본 발명의 일 실시예에 관한 재생 장치가 취급하는 MPEG2-TS의 데이터 구조의 일례를 도시하는 설명도.1 is an explanatory diagram showing an example of a data structure of MPEG2-TS handled by a playback apparatus according to an embodiment of the present invention.

도 2는 본 발명의 일 실시예에 관한 재생 장치가 취급하는 MPEG2-TS의 TS 헤더의 데이터 구조의 일례를 도시하는 설명도.2 is an explanatory diagram showing an example of a data structure of a TS header of MPEG2-TS handled by a playback apparatus according to an embodiment of the present invention.

도 3은 본 발명의 일 실시예에 관한 재생 장치가 취급하는 MPEG2-TS의 PES(Packetized Elementary Stream)의 데이터 구조의 일례를 도시하는 설명도.3 is an explanatory diagram showing an example of a data structure of a packetized elementary stream (PES) of MPEG2-TS handled by a playback apparatus according to an embodiment of the present invention;

도 4는 본 발명의 일 실시예에 관한 재생 장치의 구성의 일례를 도시하는 블록도.4 is a block diagram showing an example of the configuration of a playback apparatus according to an embodiment of the present invention.

도 5는 본 발명의 일 실시예에 관한 재생 장치의 이상 PTS의 검출을 위한 PTS 버퍼의 저장 상태의 일례를 도시하는 설명도.FIG. 5 is an explanatory diagram showing an example of a storage state of a PTS buffer for detecting an abnormal PTS of a playback apparatus according to an embodiment of the present invention; FIG.

도 6은 본 발명의 일 실시예에 관한 이상 PTS의 검출을 위한 PTS와 PCR의 버퍼의 저장 상태의 일례를 도시하는 설명도.Fig. 6 is an explanatory diagram showing an example of a storage state of a PTS and a PCR buffer for detecting an abnormal PTS according to an embodiment of the present invention.

도 7은 본 발명의 일 실시예에 관한 재생 장치의 이상 PTS시의 플래그 재기록 처리의 일례를 도시하는 흐름도.Fig. 7 is a flowchart showing an example of flag rewriting processing during abnormal PTS of the playback apparatus according to the embodiment of the present invention.

도 8은 본 발명의 일 실시예에 관한 재생 장치의 이상 PTS시의 플래그 재기록 처리의 다른 일례를 도시하는 흐름도.8 is a flowchart showing another example of a flag rewrite process during abnormal PTS of the playback apparatus according to the embodiment of the present invention.

도 9는 본 발명의 일 실시예에 관한 재생 장치의 이상 PTS시 플래그 재기록 처리의 다른 일례를 도시하는 흐름도.Fig. 9 is a flowchart showing another example of flag rewriting process during abnormal PTS of the playback apparatus according to the embodiment of the present invention.

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

71: 튜너 71: tuner

72: MPEG2-TS 저장용 버퍼 72: buffer for storing MPEG2-TS

73: 영상 PES 버퍼73: video PES buffer

74: 음성 PES 버퍼 74: voice PES buffer

75: 기록용 버퍼75: recording buffer

76: 영상 디코더 76: video decoder

77: 음성 디코더 77: voice decoder

78: 기록 장치 78: recording device

79: 디스플레이 79: display

80: 스피커 80: speaker

81: 제어부(헤더 재기록부).81: Control part (header rewriting part).

이 발명은, MPEG 스트림을 재생하는 재생 장치에 관한 것이며, 특히 MPEG2-TS의 PTS(Presentation Time Stamp)가 파괴되어 있는 경우, PTS 처리를 일시 중단하는 재생 장치 및 재생 방법에 관한 것이다.The present invention relates to a reproducing apparatus for reproducing an MPEG stream, and more particularly, to a reproducing apparatus and a reproducing method for suspending a PTS process when a PTS (Presentation Time Stamp) of MPEG2-TS is destroyed.

최근, MPEG 스트림의 기록 및 재생이 매우 일반화되어 있고, 많은 장치에서 동영상 컨텐츠나 음악 정보의 기록이나 재생에 이용되고 있다. 이 부호화된 스트림에서는, 스트림 내에 멀티플렉싱된 PTS(출력 지정 시각)가 이용되고 있고, 이 시각에 기초하는 스트림이 재생 처리를 행하는 것이다. 그러나, 이 PTS가 송신 중에 파괴되는 경우가 있어 이것을 보정하는 기술이 알려져 있다.Background Art In recent years, recording and reproducing MPEG streams have become very common, and many devices have been used for recording and reproducing moving picture contents and music information. In this encoded stream, the multiplexed PTS (output designation time) is used, and the stream based on this time performs a reproduction process. However, this PTS may be destroyed during transmission, and a technique for correcting this is known.

즉, 일본 특허 공개 2003-284066호에는, 부호화된-스트림 내에 멀티플렉싱되어 있는 PTS(출력 지정 시각)가 올바르지 않은 경우에, 올바른 PTS로 재기록하는 방법에 관해서 기재되어 있고, 이에 따라 PTS 정보가 다소 불안정해도, 본래의 재생을 가능하게 하는 것이다.That is, Japanese Patent Laid-Open No. 2003-284066 describes a method for rewriting to the correct PTS when the PTS (output designation time) multiplexed in the encoded-stream is not correct, whereby the PTS information is somewhat unstable. Even if it is, original reproduction is possible.

그러나, 특히 휴대 TV 수신 단말 등에서는 수신 상황이 좋지 않은 경우가 매우 많고, 수신 상황이 악화되어 PTS가 파괴되는 경우가 있다. 이러한 경우에, 상기 2003-284066호에 나타낸 기술에 따르면, PTS를 보정하려해도 PTS가 보정될 수 없는 경우에는, 디코더의 처리 이상이 발생하여, 그 결과 복구가 어려워지고, 그 후 전파 상황이 개선되어도 재생 처리가 장시간 불가능하게 된다고 하는 문제가 있다.However, especially in the case of a portable TV receiving terminal, the reception situation is often very poor, and the reception situation deteriorates and the PTS may be destroyed. In such a case, according to the technique shown in 2003-284066, when the PTS cannot be corrected even when the PTS is attempted to be corrected, an abnormality in the processing of the decoder occurs, and as a result, recovery becomes difficult, and then the propagation situation is improved. Even if it does, there is a problem that the reproduction processing becomes impossible for a long time.

본 발명의 목적은, 동작 모드 및 송신기의 현재 위치 정보와 같은 동적 정보를, 송신 시점에서 목적 수신기에 보고하여, 호(call)가 누구로부터 수신되는지에 대한 정보 뿐만 아니라, 전송기가 놓인 상태에 대한 정보도 역시 보고할 수 있는, 휴대 전화 통신 장치 및 통신 방법을 제공하는 것이다.It is an object of the present invention to report dynamic information, such as the operating mode and the current position information of the transmitter, to the destination receiver at the time of transmission, as well as information on who the call is received from, as well as the state in which the transmitter is placed. It is to provide a mobile phone communication device and a communication method that can also report information.

본 발명의 일 실시예는, 방송 신호를 수신하고 복조하여 MPEG2-TS(Transport Stream)를 출력하는 튜너와; 상기 MPEG2-TS에 포함되는 PES(Packetized Elementary Stream)에 포함되는 PTS(Presentation Time Stamp)를 복수 연속하여 저장하는 기억부와; 상기 PES에 포함되는 식별 플래그(pts_dts flags)가 상기 PTS가 존재한다고 나타낼 때, 상기 PTS가 나타내는 시간 정보에 따라 상기 MPEG2-TS를 재생하는 재생부와; 상기 기억부에 저장된 복수의 PTS를 서로 비교하여 상기 인접한 복수의 PTS가 나타내는 시간 정보의 차분이 소정값을 초과할 때, 상기 차분을 포함하고 있는 PTS의 상기 식별 플래그가 상기 PTS가 존재하지 않는 것을 나타내도록 재기록하기 위해 제어하는 재기록부를 구비하는 것을 특징으로 하는 재생 장치이다.An embodiment of the present invention includes a tuner for receiving and demodulating a broadcast signal and outputting a MPEG2-TS (Transport Stream); A storage unit for successively storing a plurality of PTSs (Presentation Time Stamps) included in a packetized elementary stream (PES) included in the MPEG2-TS; A playback unit for reproducing the MPEG2-TS according to time information indicated by the PTS when an identification flag (pts_dts flags) included in the PES indicates that the PTS exists; Comparing the plurality of PTSs stored in the storage unit with each other, and when the difference of time information indicated by the plurality of adjacent PTSs exceeds a predetermined value, the identification flag of the PTS including the difference does not exist. And a rerecording portion for controlling to rewrite so as to appear.

(실시예)(Example)

이하, 이 발명의 실시예에 관해서 도면을 참조하여 상세하게 설명한다.EMBODIMENT OF THE INVENTION Hereinafter, embodiment of this invention is described in detail with reference to drawings.

본 발명은 예컨대, 휴대형 TV 수신 단말로서 실시하는 것이 가능하고, 이하에서 그 실시예의 일례를 도면을 이용하여 설명한다. 도 1은 본 발명의 일 실시예에 관한 재생 장치가 취급하는 MPEG2-TS의 데이터 구조의 일례를 도시하는 설명도, 도 2는 재생 장치가 취급하는 MPEG2-TS의 TS 헤더의 데이터 구조의 일례를 도시하는 설명도, 도 3은 재생 장치가 취급하는 MPEG2-TS의 PES(Packetized Elementary stream)의 데이터 구조의 일례를 도시하는 설명도, 도 4는 재생 장치의 구성의 일례를 도시하는 블록도, 도 5는 재생 장치의 이상 PTS의 검출을 위한 PTS의 버퍼의 저장 상태의 일례를 도시하는 설명도, 도 6은 이상 PTS의 검출을 위한 PTS와 PCR의 버퍼의 저장 상태의 일례를 도시하는 설명도, 도 7은 재생 장치의 이상 PTS시의 플래그 재기록 처리의 일례를 도시하는 흐름도, 도 8은 동일하게 재생 장치의 이상 PTS시의 플래그 재기록 처리의 다른 일례를 도시하는 흐름도, 도 9는 재생 장치의 이상 PTS시 플래그 재기록 처리의 다른 일례를 나타내는 흐름도이다.The present invention can be implemented, for example, as a portable TV receiving terminal, and an example of the embodiment will be described below with reference to the drawings. 1 is an explanatory diagram showing an example of a data structure of MPEG2-TS handled by a playback apparatus according to an embodiment of the present invention, and FIG. 2 is an example of a data structure of a TS header of MPEG2-TS handled by a playback apparatus. FIG. 3 is an explanatory diagram showing an example of a data structure of a packetized elementary stream (PES) of MPEG2-TS handled by a playback apparatus, and FIG. 4 is a block diagram showing an example of a configuration of a playback apparatus. 5 is an explanatory diagram showing an example of the storage state of the PTS buffer for detecting the abnormal PTS of the playback apparatus, FIG. 6 is an explanatory diagram showing an example of the storage state of the PTS and PCR buffer for the detection of the abnormal PTS; 7 is a flowchart showing an example of a flag rewrite process at the time of an abnormal PTS of the playback apparatus, FIG. 8 is a flowchart showing another example of the flag rewrite process at the time of an abnormal PTS of the playback apparatus, and FIG. 9 is an abnormality of the playback apparatus. PTS City Flag It is a flow chart showing another example of the recording process.

<본 발명의 일 실시예에 따른 재생 장치><Playing apparatus according to an embodiment of the present invention>

본 발명의 일 실시예에 따른 TV 수신 단말인 재생 장치는, 부호화된-스트림 수신기이다. 재생 장치(A), 즉, TV 수신 단말은, 도 4에서 헤더 재기록 기능을 갖고 전체 동작을 제어하는 제어부(81)와, 제어부(81)에 각각 접속되는 구성으로서 안테나에 접속되는 튜너(71)와, 튜너(71)로부터 MPEG2-TS(Transport Stream) 스트림이 공급되는 MPEG2-TS 저장용 버퍼(72)와, 이에 접속되어 MPEG2-TS로부터 영상 PES를 분리한 데이터가 저장되는 영상 PES 버퍼(73)와, 영상을 디코드하는 영상 디코더(76)와, 음성 PES를 저장하는 음성 PES 버퍼(74)와, 음성 PES를 디코드하는 음성 디코더(77)와, 수신 데이터를 기록하는 기록용 버퍼(75)와, 기록 처리를 실시하는 기록 장치(78)와, 영상 디코더에 접속되는 디스플레이(79)와, 음성을 출력하는 스피커(80)를 가지고 있다.A playback apparatus which is a TV receiving terminal according to an embodiment of the present invention is an encoded-stream receiver. The reproducing apparatus A, that is, the TV receiving terminal, has a header rewriting function in FIG. 4, and a control unit 81 for controlling the overall operation, and a tuner 71 connected to the antenna as a configuration respectively connected to the control unit 81. And an MPEG2-TS storage buffer 72 to which an MPEG2-TS (Transport Stream) stream is supplied from the tuner 71, and an image PES buffer 73 in which data connected to the MPEG2-TS separated from the MPEG2-TS is stored. ), A video decoder 76 for decoding a video, an audio PES buffer 74 for storing an audio PES, an audio decoder 77 for decoding an audio PES, and a recording buffer 75 for recording received data. And a recording device 78 for performing recording processing, a display 79 connected to a video decoder, and a speaker 80 for outputting audio.

재생 장치는 이러한 구성에서, 안테나로부터 입력된 전파는 튜너(71)에서 MPEG2-TS(Transport Stream) 스트림으로 복조되고, MPEG2-TS 저장용 버퍼(72)에 저장된다. MPEG2-TS로부터 분리된 영상 PES 데이터는 영상 PES 버퍼(73)에 저장되고, 영상 디코더(76)에서 디코드된다. 또한 MPEG2-TS로부터 분리된 음성 PES 데이터는 음성 PES 버퍼(74)에 저장되고, 음성 디코더(77)에서 디코드된다. 수신한 데 이터를 기록하는 경우는 기록용 버퍼(75)에 데이터가 저장되며, 기록 장치(78)에 기록된다. 영상 디코더(76)에서 디코드된 화상은 영상 PES에 기재된 PTS(presentation time stamp)라고 불리는 표시 출력 시각이 되면 출력된다. 마찬가지로 음성 디코더(77)에서 디코드된 음성은 음성 PES에 기재된 PTS가 나타내는 표시 출력 시각이 되면 출력된다. 이 PTS가 이상치(abnormal value)가 되면, 영상 및 음성 디코더가 정상적으로 동작하지 않게 될 가능성이 발생한다. 또한 PTS가 이상치인 상태에서 기록된 데이터는 재생할 때에 올바르게 재생할 수 없을 가능성이 있다. 이하에 PTS 이상에 대한 본 발명의 일 실시예인 헤더 처리에 관해서, 상세하게 기술하지만, 우선 스트림의 데이터 구성이 설명될 것이다.In this configuration, the reproduction apparatus demodulates the radio waves input from the antenna into the MPEG2-TS (Transport Stream) stream in the tuner 71 and is stored in the MPEG2-TS storage buffer 72. The video PES data separated from the MPEG2-TS is stored in the video PES buffer 73 and decoded by the video decoder 76. The voice PES data separated from the MPEG2-TS is also stored in the voice PES buffer 74 and decoded by the voice decoder 77. When recording the received data, the data is stored in the recording buffer 75 and recorded in the recording device 78. The picture decoded by the picture decoder 76 is output when the display output time called a presentation time stamp (PTS) described in the picture PES is reached. Similarly, the voice decoded by the voice decoder 77 is output when the display output time indicated by the PTS described in the voice PES is reached. If this PTS becomes an abnormal value, there is a possibility that the video and audio decoder will not operate normally. In addition, there is a possibility that the data recorded in the state where the PTS is an abnormal value cannot be reproduced correctly at the time of reproduction. Hereinafter, the header processing which is one embodiment of the present invention for PTS error will be described in detail, but first, the data structure of the stream will be described.

(MPEG2-TS의 구성 등)(Configuration of MPEG2-TS, etc.)

도 1에 MPEG2-TS와 영상 PES 및 음성 PES의 관계를 도시한다. MPEG2-TS11은 1 패킷 188 byte의 패킷열로 구성되고, 패킷은 헤더 부분(12)과 페이로드(payload) 부분으로 이루어진다. 페이로드 부분에는 영상 PES(13) 및 음성 PES(31)가 분할되어 저장된다. 여기서, 영상 PES(13)는 PES 헤더(21), 영상 페이로드(22, 23), 또한 음성 PES(31)는 PES 헤더(31), 음성 페이로드(33)를 가지고 있다. 또한, 도 3의 영상 PES 버퍼(73) 및 음성 PES 버퍼(74)는 MPEG2-TS 패킷열로부터 영상 PES 및 음성 PES를 추출 분리한 것이 저장된다.1 shows the relationship between MPEG2-TS, video PES, and audio PES. MPEG2-TS11 consists of a packet sequence of 1 packet 188 bytes, and a packet consists of a header part 12 and a payload part. In the payload portion, the video PES 13 and the audio PES 31 are divided and stored. Here, the video PES 13 has a PES header 21, video payloads 22 and 23, and the audio PES 31 has a PES header 31 and an audio payload 33. In addition, the video PES buffer 73 and the audio PES buffer 74 shown in FIG. 3 are obtained by extracting and separating the video PES and the audio PES from the MPEG2-TS packet sequence.

마찬가지로, 도 2에 TS 헤더의 구성을 도시한다. TS 헤더(12)는 sync 바이트(41)와, PID(42)와, 적응 필드 제어(43)와, 적응 필드 제어(44)를 가지고 있다. 또한, 이 적응 필드 제어(44)는 적응 필드 길이(51)와 PCR_플래그(53)와 PCR(Program Clock Reference)(54)를 더 가지고 있다.Similarly, the configuration of the TS header is shown in FIG. The TS header 12 has a sync byte 41, a PID 42, an adaptive field control 43, and an adaptive field control 44. The adaptive field control 44 further has an adaptive field length 51, a PCR_flag 53, and a PCR (Program Clock Reference) 54.

도 3에는 PES(Packetized Elementary Stream)의 구조가 도시되어 있다. 영상 PES 및 음성 PES 모두 PES의 구조는 동일하다. 음성 PES(14)는 PES 헤더(32)로 불리는 헤더 부분과 PES 패킷 데이터 바이트로 불리는 기본 스트림(Elementary stream, 33) 본체로 이루어진다. 기본 스트림이란 영상 또는 음성을 압축 부호화한 데이터 그 자체이다. PES 헤더(32)에는 PES 패킷 데이터 바이트에 있는 기본 스트림을 디코드 표시하는 시간을 나타내는 PTS(presentation time stamp)(65) 또는 디코드를 시작하는 시간을 나타내는 DTS(decoding time stamp)(65)가 부여된다. 영상 디코더 또는 음성 디코더는, 이 PTS/DTS(65)에 따라 디코드 시작과 디코드한 화상의 표시 또는 음성의 출력을 행한다.3 illustrates a structure of a packetized elementary stream (PES). The structure of PES is the same for both video PES and audio PES. The voice PES 14 consists of a header portion called PES header 32 and an elementary stream 33 body called PES packet data bytes. An elementary stream is data obtained by compression-coding video or audio. The PES header 32 is provided with a presentation time stamp (PTS) 65 representing the time to decode the elementary stream in the PES packet data bytes or a decoding time stamp (DTS) 65 representing the time to start decoding. . The video decoder or audio decoder performs decoding start and display of decoded images or output of audio in accordance with this PTS / DTS 65.

이 PTS(65)가 정상적이지 않은 경우에는, 디코더의 동작이 이상해질 가능성이 있다. 도 3의 안테나로 수신한 전파 강도가 약한 경우에, 튜너(71)에서 복호되는 MPEG2-TS가 올바르게 복호되지 않는 경우가 있다. 이 경우, MPEG2-TS 스트림 중의 PTS(65)도 이상치가 되고, 그 결과, 영상 디코더나 음성 디코더가 정상적으로 작동하지 않는다고 하는 문제가 발생한다. 그 대책으로서, 이상 PTS를 디코더에 보내기 전에 검지하고 보정하는 처리를 행한다. 도 3의 MPEG2-TS 저장용 버퍼(72)는 이 PTS 보정을 행하기 위해 수신기 내에 마련되어 있는 것이다.If this PTS 65 is not normal, the operation of the decoder may be abnormal. When the radio wave strength received by the antenna of FIG. 3 is weak, MPEG2-TS decoded by the tuner 71 may not be correctly decoded. In this case, the PTS 65 in the MPEG2-TS stream also becomes an outlier, resulting in a problem that the video decoder or audio decoder does not operate normally. As a countermeasure, a process of detecting and correcting the abnormal PTS before sending it to the decoder is performed. The MPEG2-TS storage buffer 72 of Fig. 3 is provided in the receiver to perform this PTS correction.

<본 발명의 일 실시예에 따른 헤더 처리><Header processing according to an embodiment of the present invention>

본 발명에 따른 재생 장치의 일 실시예인 PTS 이상에 대한 헤더 처리를 상세하게 설명한다. 본 발명에 따른 재생 장치의 이상 PTS 처리를 도 7의 흐름도를 이 용하여 상세하게 설명한다.The header processing for the PTS abnormality which is one embodiment of the playback apparatus according to the present invention will be described in detail. The abnormal PTS process of the playback apparatus according to the present invention will be described in detail with reference to the flowchart of FIG.

처음에, MPEG2-TS 저장용 버퍼(72)가 가득 찰 때까지 튜너로부터의 MPEG2-TS 데이터를 채워 가득 차게 되면(S11), 버퍼의 처음부터 끝까지의 PCR과 PTS를 모두 검출하여 기억한다(S12, S13). 그리고, 버퍼 내의 PCR과 PTS를 모두 취득하면 PTS가 정상적인지의 여부의 판단을 모두 행한다(S14). 그리고, 여기서 과거 및 미래의 PTS와 PCR의 값에 기초하여, PTS가 이상인지의 여부를 판단하는 것이다(S15).First, when the MPEG2-TS storage buffer 72 is full until the MPEG2-TS data from the tuner is filled (S11), both PCR and PTS from the beginning to the end of the buffer are detected and stored (S12). , S13). When both the PCR and the PTS in the buffer are acquired, it is determined whether or not the PTS is normal (S14). In this case, it is determined whether or not the PTS is abnormal based on past and future PTSs and PCR values (S15).

PTS가 이상으로 판단되면(S16), PES 헤더의 pts_dts_플래그를 예컨대 "0"으로 재기록한다(S17). 모든 PTS의 판단을 끝내면(S18), 버퍼 내의 데이터를 영상 PES 버퍼(73), 음성 PES 버퍼(74), 또는 기록용 버퍼(75)에 보내고, 재생 처리로 이행하는 것이다(S19).If it is determined that the PTS is abnormal (S16), the pts_dts_flag of the PES header is rewritten to, for example, "0" (S17). When the determination of all PTSs is finished (S18), the data in the buffer is sent to the video PES buffer 73, the audio PES buffer 74, or the recording buffer 75, and the process proceeds to the reproduction process (S19).

(PTS 이상 검출 방법)(PTS error detection method)

여기서, PTS 이상 검출의 여러 가지 방법에 관해서, 도 8 및 도 9의 흐름도를 이용하여 상세하게 기술한다. 즉, 도 5의 버퍼 내의 PTS를 참조하여 이상 PTS를 검지하는 경우, 우선 처음에 MPEG2-TS 저장용 버퍼(72) 내에 포함되는 모든 PTS를 추출한다. PTS는 PES 헤더에 부여할 수 있기 때문에, PES 헤더의 선두의 패킷 코드 프레픽스(packet code prefix)를 찾는다. PES 헤더에는 PTS가 존재하는 것을 나타내는 2 비트 플래그(pts_dts_플래그)가 있고, 이 값이 "10" 또는 "11"인 경우는 PTS가 존재한다. PES 헤더가 발견되면 pts_dts_플래그의 값을 조사하여 PTS가 존재하는 경우는 그 값을 취득한다. 도 5에서는 버퍼 내에 5개의 PTS(PTS 1, PTS 2, PTS 3, PTS 4, PTS 5)가 존재하고 있다. 다음에 연속하는 PTS의 차분을 계산한다. MPEG2-TS의 규격에서는 PTS의 차분치는 700 ms 이하로 되어 있다. 따라서 PTS의 차분이 700 ms를 초과할 경우나, 앞의 PTS치보다 PTS치가 작아지고 있는 경우는, PTS를 이상으로 판단할 수 있다(도 8의 S31). 예컨대 PTS 1 내지 PTS 5가 각각 100ms, 500ms, 1500ms, 1200ms, 1700 ms였을 경우는 Here, various methods of PTS abnormality detection will be described in detail using the flowcharts of FIGS. 8 and 9. That is, when an abnormal PTS is detected with reference to the PTS in the buffer of FIG. 5, first, all PTSs included in the MPEG2-TS storage buffer 72 are first extracted. Since the PTS can be given to the PES header, the packet code prefix at the head of the PES header is found. In the PES header, there is a 2-bit flag (pts_dts_flag) indicating that the PTS exists. If the value is "10" or "11", the PTS exists. If the PES header is found, the value of the pts_dts_ flag is examined and the value is obtained if the PTS exists. In FIG. 5, five PTSs (PTS 1, PTS 2, PTS 3, PTS 4, and PTS 5) exist in the buffer. Next, the difference between successive PTSs is calculated. In the MPEG2-TS standard, the difference between PTSs is 700 ms or less. Therefore, when the difference of the PTS exceeds 700 ms or when the PTS value becomes smaller than the previous PTS value, the PTS can be judged abnormally (S31 in Fig. 8). For example, when PTS 1 to PTS 5 were 100 ms, 500 ms, 1500 ms, 1200 ms, and 1700 ms, respectively,

PTS3 - PTS2 = 1000ms > 700msPTS3-PTS2 = 1000ms> 700ms

PTS 4 < PTS 3PTS 4 <PTS 3

이기 때문에 PTS 3(1500 ms)을 이상치로 판단할 수 있다.Because of this, PTS 3 (1500 ms) can be determined as an outlier.

또한, 여기서 1 개의 프레임을 1개의 PES로 이용하는 경우에 있어서는, 15 프레임/sec로 실시하는 규격이 적합하다. 이 규격에서의 처리를 상정하면, "1/15 sec=66 msec"라고 하는 값을 상정할 수 있기 때문에, PTS의 하한을 66 msec로 상정하는 것도 가능하다. 따라서, 일례로서 PTS는 66 msec 내지 700 msec의 범위를 초과하면 PTS 이상으로 간주한다고 하는 판단이 가능하다.In addition, when using one frame for one PES here, the specification implemented at 15 frames / sec is suitable. Assuming that the processing in this standard can assume a value of "1/15 sec = 66 msec", it is also possible to assume the lower limit of the PTS to 66 msec. Therefore, as an example, it can be determined that the PTS is regarded as more than the PTS if it exceeds the range of 66 msec to 700 msec.

그러나, 이러한 값을 나타내었다고 하여도, 실제로 전파가 약한 경우는 PTS가 빠지는 경우도 생각할 수 있어, 이 경우는 인접하는 2 개의 PTS의 차분치가 700 ms를 초과한다고 단순히 이상으로 판단할 수 없는 경우도 있다. 이러한 경우는 인접하는 PTS뿐만 아니라, 그 주변의 PTS치도 맞추어 판단하는 것이 적합하다. 즉, 기억부에 저장된 복수의 PTS를 서로 비교하여 인접한 복수의 PTS가 나타내는 시간 정보의 차분이 소정값을 초과할 때, 상기 차분을 포함하고 있는 PTS뿐만 아니라 그 PTS의 주변 PTS도 시간 정보의 차분이 소정값을 초과했는지의 여부를 판단한다. 그리고, 소정값을 초과하여 이상으로 판단된 경우는, 해당하는 PES 헤더의 pts_dts_ 플래그를 "00"으로 재기록한다.However, even if these values are shown, the case where the radio wave is actually weak may be considered to be the case where the PTS falls out, and in this case, even if the difference between two adjacent PTSs exceeds 700 ms, it may not be judged as abnormal. have. In such a case, it is appropriate to judge not only the adjacent PTS but also the PTS values in the vicinity thereof. That is, when the difference of time information indicated by a plurality of adjacent PTSs exceeds a predetermined value by comparing a plurality of PTSs stored in the storage unit, not only the PTS including the difference but also the peripheral PTSs of the PTSs differ in time information. It is determined whether or not this predetermined value is exceeded. If it is determined that the error exceeds the predetermined value, the pts_dts_ flag of the corresponding PES header is rewritten to "00".

이에 따라, 디코더는 PTS가 없는 것으로 판단한다. PTS가 이상인 경우는 기본 스트림도 망가져 있는 경우가 많기 때문에, 디코더로 디코드되지 않지만, PTS 플래그인 pts_dts_플래그를 "00"으로 재기록함으로써, 디코더는 PTS 처리를 일시 행하지 않기 때문에, 디코더의 PTS 제어에 기인하는 이상 동작을 방지할 수 있다. 이에 따라, 전파 상황에 의해 PTS가 파괴되어도 디코더의 이상 동작을 일으키지 않고, 전파 상황이 개선된 후의 원활한 재생 처리의 재개를 가능하게 하는 것이다.Accordingly, the decoder determines that there is no PTS. If the PTS is abnormal, the elementary stream is also broken in many cases. However, the decoder does not decode the decoder. However, by rewriting the pts_dts_ flag, which is a PTS flag, with "00", the decoder does not temporarily perform the PTS process. Abnormal operation resulting from it can be prevented. As a result, even if the PTS is destroyed due to the radio wave condition, the decoder does not cause abnormal operation, and it is possible to resume smooth playback processing after the radio wave condition is improved.

(PCR의 참조)(Reference of PCR)

도 6에서는 PCR을 참조하여 이상 PTS를 검지하는 방법을 설명한다. PCR(program clock reference)는 수신기의 기준 시간을 방송국측의 기준 시간으로 교정하기 위해 MPEG2-TS에 부여되는 것이다. PCR은 도 2에 도시한 바와 같이 TS 헤더의 적응 필드에 부여되는 것이다. TS 헤더에는 적응 필드로 불리는 영역이 있고, PID에 계속되는 플래그 영역에 적응 필드가 존재하는지의 여부를 나타내는 2 비트의 플래그(적응 필드 제어; adaptation field control)가 있다. 적응 필드 제어가 "10"이거나 "11"인 경우는 적응 필드 영역이 존재한다. 적응 필드에는 PCR이 존재하는 것을 나타내는 1 비트의 플래그(PCR_flag)가 있고, PCR_flag가 "1"인 경우에 PCR이 존재한다.In FIG. 6, a method of detecting an abnormal PTS will be described with reference to PCR. Program clock reference (PCR) is given to MPEG2-TS to correct the reference time of the receiver to the reference time of the broadcasting station. PCR is given to the adaptation field of the TS header as shown in FIG. There is an area called an adaptation field in the TS header, and there is a 2-bit flag (adaptation field control) indicating whether an adaptation field exists in the flag area following the PID. If the adaptation field control is "10" or "11", there is an adaptation field region. In the adaptation field, there is a 1-bit flag (PCR_flag) indicating that the PCR exists, and PCR exists when the PCR_flag is "1".

도 6에서는 PCR 1, PCR 2, PCR 3, PCR 4, PCR 5의 5 개의 PCR이 포함되어 있다. PCR이 이상인 경우도 생각할 수 있지만, 간단하게 하기 위해 PCR은 올바른 것으로 한다. PCR은 MPEG2-TS의 규격에 의해 100 ms 이하의 간격으로 부여되어 있기 때문에 PTS와 직전의 PCR의 차분은 그만큼 크게 변하지 않을 것이다. 따라서, PTS와 PCR의 차분이 예컨대 100 ms를 초과하여 크게 변화하는 경우는 PTS를 이상으로 판단할 수 있다[도 9의 단계(S33)]. 예컨대 PCR 1 내지 PCR 5가 각각 200 ms, 250 ms, 300 ms, 350 ms, 400 ms이고, PTS 1 내지 PTS 5가 각각 400 ms, 460 ms, 520 ms, 2000 ms, 600 ms인 경우는 In FIG. 6, five PCRs of PCR 1, PCR 2, PCR 3, PCR 4, and PCR 5 are included. Although the case where PCR is abnormal can be considered, in order to simplify, PCR shall be correct. Since PCR is provided at intervals of 100 ms or less according to the MPEG2-TS standard, the difference between the PTS and the immediately preceding PCR will not change so much. Therefore, when the difference between the PTS and the PCR greatly changes, for example, exceeding 100 ms, the PTS can be judged abnormally (step S33 in Fig. 9). For example, when PCR 1 to PCR 5 are 200 ms, 250 ms, 300 ms, 350 ms and 400 ms, respectively, and PTS 1 to PTS 5 are 400 ms, 460 ms, 520 ms, 2000 ms and 600 ms, respectively.

PTS 1 - PCR 1 = 200 msPTS 1-PCR 1 = 200 ms

PTS 2 - PCR 2 = 210 msPTS 2-PCR 2 = 210 ms

PTS 3 - PCR 3 = 220 msPTS 3-PCR 3 = 220 ms

PTS 4 - PCR 4 = 1650 msPTS 4-PCR 4 = 1650 ms

PTS 5 - PCR 5 = 200 msPTS 5-PCR 5 = 200 ms

가 되고, 이에 따라 PTS 4가 이상이다라고 하는 판단이 된다. PTS가 이상으로 판단된 경우는 PES 헤더의 pts_dts_플래그를 "00"으로 재기록함으로써 디코더의 PTS 제어에 기인하는 이상 동작을 방지할 수 있다.This results in the determination that PTS 4 is abnormal. If it is determined that the PTS is abnormal, the abnormal operation due to the PTS control of the decoder can be prevented by rewriting the pts_dts_ flag of the PES header to "00".

즉, PTS가 비정상인 경우에 실시간으로 PTS를 정상적인 값으로 보정하는 방법으로는, 수신기가 어느 정도 안정되어 전파를 수신할 수 있다고 하는 전제가 있는 경우에 유효하다. 그러나, 특히 모바일 방송 수신기, 지상 1 세그먼트 방송 수신기라고 하는 휴대 이동 단말에서는 전파 강도가 항상 안정되어 있다고는 할 수 없다. 전파 강도가 약한 경우는 MPEG2-TS가 올바르게 복호되지 않고, PTS가 이상이 되는 것은 항상 일어날 수 있다. 이러한 경우는 실시간으로 PTS를 올바른 값으로 보정하려고 하여도 근접한 PTS가 망가져 있는 경우가 많기 때문에 보정이 어렵다. 또한 PTS를 올바른 값으로 보정하였다고 하여도 기본 스트림(ES) 자체가 망가져 있을 가능성이 높기 때문에 디코드할 수 없는 결과가 되어 별로 의미는 없다.That is, a method of correcting the PTS to a normal value in real time when the PTS is abnormal is effective when there is a premise that the receiver is somewhat stable and can receive radio waves. In particular, however, radio wave strength is not always stable in a mobile mobile terminal called a mobile broadcast receiver or a terrestrial one-segment broadcast receiver. When the radio wave strength is weak, it can always happen that MPEG2-TS is not decoded correctly and PTS is abnormal. In such a case, correction is difficult because the adjacent PTS is often broken even when the PTS is corrected in real time. In addition, even if the PTS is corrected to a correct value, the elementary stream (ES) itself is likely to be broken, and thus the result cannot be decoded.

본 발명의 일 실시예에서는 일시적으로 버퍼 상에 MPEG2-TS를 저장함으로써, 과거 및 미래의 PTS 또는 PCR로부터 PTS의 이상을 검출하고, PTS 이상의 판단의 신뢰도를 올릴 수 있으며, 또한 이상으로 검지된 PTS를 보정하는 것이 아닌, PTS가 존재하지 않는 스트림으로 하기 위해 식별 플래그를 재기록함으로써, 디코더의 PTS 제어에 기인하는 이상 동작을 방지할 수 있다. 따라서, 이 실시예의 PTS 이상에서의 처리에 의해, 전파 강도가 안정되지 않은 휴대 이동 단말의 수신에서, 전파 상황의 개선과 함께 빠른 재생 화상 표시를 가능하게 하는 것이다.In one embodiment of the present invention, by temporarily storing the MPEG2-TS in the buffer, an abnormality of the PTS can be detected from the PTS or the PCR of the past and the future, and the reliability of the determination of the PTS abnormality can be increased. By rewriting the identification flag to make the stream in which the PTS does not exist, rather than correcting the error, abnormal operation due to PTS control of the decoder can be prevented. Therefore, by the processing above the PTS of this embodiment, the reception of the portable mobile terminal whose radio wave intensity is not stabilized enables the rapid reproduction image display with the improvement of the radio wave situation.

(그 외의 실시예)(Other Examples)

이상 기재한 실시예에서는 튜너부를 마련하고, 또한 스트림을 MPEG2-TS를 예를 들어 설명하였다. 그러나, 본 발명의 본질은 일례로서 음성 화상 정보에 포함되는 정보 단위의 시간 정보(Presentation Time Stamp)를 복수 연속하여 저장하는 기억 영역과, 이 시간 정보가 존재하는지의 여부를 나타내는 식별 정보(pts_dts_플래그)가 음성 화상 정보의 정보 단위가 존재하고 있다고 나타낼 때, 시간 정보에 따라 음성 화상 정보를 재생하는 재생부와, 기억부에 저장된 복수의 시간 정보를 비교하여 인접한 복수의 시간 정보의 차분이 소정값을 초과할 때, 식별 정보를 시간 정보가 존재하지 않는 것으로 재기록함으로써, 재생부가 식별 정보의 재기록된 범위에서 음성 화상 정보의 정보 단위의 PTS 처리를 일시 중단하기 위해 제어하는 재생 장치에 있다. 따라서, 그 본질은 적어도 튜너부나 MPEG2-TS에 한정하는 것이 아 니고, MPEG2-PS이어도, 다른 스트림이어도 동등하게 대상으로 하는 것이 가능하여 동등한 작용 효과를 발휘할 수 있는 것이다.In the embodiment described above, the tuner section is provided and the stream has been described using MPEG2-TS as an example. However, the essence of the present invention is, as an example, a storage area for storing a plurality of consecutive time information (Presentation Time Stamps) of information units included in audio image information, and identification information (pts_dts_) indicating whether or not this time information exists. Flag) indicates that an information unit of audio image information exists, a difference between a reproduction unit for reproducing audio image information according to the time information and a plurality of adjacent time information is compared by comparing a plurality of time information stored in the storage unit. When the value is exceeded, the reproducing apparatus controls to suspend PTS processing of the information unit of the audio image information in the rewritten range of the identification information by rewriting the identification information as the time information does not exist. Therefore, the essence is not limited to at least the tuner section and MPEG2-TS, and even an MPEG2-PS or another stream can be equally targeted and can exhibit the same effect.

전술한 재생 장치에서는, 휴대형 또는 이동형 수신기로 방송 신호로부터 TS 스트림을 수신하는 경우에, 전파가 약한 경우는 PTS뿐만이 아니라 ES(Elementary Stream) 자체도 망가지기 때문에, 올바르지 않은 PTS를 보정하여도 디코더로 재생할 수 없을 가능성이 높다. 이 경우, PTS를 무리하게 보정하는 것이 아니라, PTS가 없는 것으로 한 식별 플래그 등에 재기록함으로써, 장치에 처리적인 부담을 주지않고 PTS 이상에 대응하는 것이 가능해진다. 이에 따라, 전파 상황에 의해 PTS가 파괴되어도 디코더의 이상 동작을 일으키는 경우가 없어지고, 전파 상황이 개선된 후의 원활한 재생 처리의 재개를 가능하게 하는 것이다.In the above-described playback apparatus, when receiving a TS stream from a broadcast signal by a portable or mobile receiver, when the radio wave is weak, not only the PTS but also the ES (Elementary Stream) itself are broken, so that even if the PTS is corrected, the playback can be performed by the decoder. Most likely not. In this case, instead of forcibly correcting the PTS, it is possible to cope with an abnormality of the PTS without putting a processing burden on the apparatus by rewriting the identification flag or the like which does not have a PTS. As a result, even if the PTS is destroyed due to the radio wave situation, the abnormal operation of the decoder is not caused, and smooth playback processing can be resumed after the radio wave condition is improved.

이상 기재한 여러 가지 실시예에 의해, 당업자는 본 발명을 실현할 수 있지만, 이러한 실시예의 여러가지 변형예를 생각해 내는 것이 당업자에 의해 더 용이하고, 발명적인 능력을 가지고 있지 않은 것도 여러 가지 실시예로 적용하는 것이 가능하다. 따라서, 본 발명은 개시된 원리와 신규 특징에 모순되지 않는 광범위한 범위에 영향을 미치는 것으로, 전술한 실시예로 한정되는 것은 아니다.Although the skilled person can realize this invention by the various Example described above, it is easier for a person skilled in the art to come up with the various modified example of this Example, and it does not have invention ability, and it applies to various example It is possible to do Accordingly, the present invention affects a wide range that does not contradict the disclosed principles and novel features and is not limited to the above-described embodiments.

Claims (13)

방송 신호를 수신하고 복조하여 MPEG2-TS(Transport Stream)를 출력하는 튜너와; A tuner that receives and demodulates a broadcast signal and outputs a MPEG2-TS (Transport Stream); 상기 MPEG2-TS가 포함하는 패킷화된 기본 스트림(Packetized Elementary Stream; PES)에 포함되는 출력 지정 시각(Presentation Time StamP; PTS)을 복수 연속하여 저장하는 기억부와;A storage unit for successively storing a plurality of Presentation Time StamPs (PTSs) included in a Packetized Elementary Stream (PES) included in the MPEG2-TS; 상기 PES에 포함되는 식별 플래그(pts_dts_플래그)가 상기 PTS가 존재한다고 나타낼 때, 상기 PTS가 나타내는 시간 정보에 따라 상기 MPEG2-TS를 재생하는 재생부와;A playback unit for reproducing the MPEG2-TS according to time information indicated by the PTS when an identification flag (pts_dts_flag) included in the PES indicates that the PTS exists; 상기 기억부에 저장된 복수의 PTS를 서로 비교하여, 인접한 복수의 PTS가 나타내는 시간 정보의 차분이 소정값을 초과할 때, 상기 차분을 포함하는 PTS의 상기 식별 플래그를 상기 PTS가 존재하지 않는 것을 나타내도록 재기록하게끔 제어하는 재기록부Comparing a plurality of PTSs stored in the storage unit with each other, when the difference of time information indicated by a plurality of adjacent PTSs exceeds a predetermined value, the identification flag of the PTS including the difference indicates that the PTS does not exist. Rerecording controls to rewrite 를 포함하는 재생 장치.Playback device comprising a. 제1항에 있어서, 상기 재기록부는, 상기 기억부에 저장된 복수의 PTS를 서로 비교하여 인접한 복수의 PTS가 나타내는 시간 정보의 차분이 소정값을 초과할 때, 상기 차분을 포함하는 PTS의 상기 식별 플래그를 상기 PTS가 존재하지 않는 것을 나타내도록, 그 값을 제로로 하는 것인, 재생 장치.The identification flag of the PTS according to claim 1, wherein the rewrite unit includes the difference when a difference of time information indicated by a plurality of adjacent PTSs is compared with each other by comparing a plurality of PTSs stored in the storage unit with each other. To zero, indicating that the PTS does not exist. 제1항에 있어서, 상기 재기록부는, 상기 기억부에 저장된 복수의 PTS를 서로 비교하여 인접한 복수의 PTS가 나타내는 시간 정보의 차분이 소정값을 초과할 때, 상기 차분을 포함하고 있는 PTS뿐만이 아니라 그 PTS 주변의 PTS도 시간 정보의 차분이 소정값을 초과하는지에 기초하여, 상기 식별 플래그를 재기록하는 것인, 재생 장치.The data recording apparatus as claimed in claim 1, wherein the rewriting unit compares a plurality of PTSs stored in the storage unit with each other and when the difference of time information indicated by a plurality of adjacent PTSs exceeds a predetermined value, And the PTS around the PTS also rewrites the identification flag based on whether the difference in time information exceeds a predetermined value. 제1항에 있어서, 상기 재기록부는 상기 기억부에 저장된 복수의 PTS를 서로 비교하여 인접한 복수의 PTS가 나타내는 시간 정보의 차분이 700 msec를 초과할 때, 상기 차분을 포함하고 있는 PTS의 상기 식별 플래그를 상기 PTS가 존재하지 않는 것을 나타내도록 재기록하는 것인, 재생 장치.The identification flag of the PTS according to claim 1, wherein the rewriting unit compares a plurality of PTSs stored in the storage unit with each other and when the difference of time information indicated by a plurality of adjacent PTSs exceeds 700 msec. Is rewritten to indicate that the PTS does not exist. 제1항에 있어서, 상기 재기록부는 상기 기억부에 저장된 복수의 PTS를 서로 비교하여 상기 인접한 복수의 PTS가 나타내는 시간 정보의 차분이 66 msec 내지 700 msec의 범위를 초과할 때, 상기 차분을 포함하는 PTS의 상기 식별 플래그를 상기 PTS가 존재하지 않는 것을 나타내도록 재기록하는 것인, 재생 장치.The apparatus of claim 1, wherein the rewrite unit includes the difference when the difference of time information indicated by the plurality of adjacent PTSs is compared with each other by comparing a plurality of PTSs stored in the storage unit with each other. And rewrite the identification flag of the PTS to indicate that the PTS does not exist. 제1항에 있어서, 상기 기억부에 저장된 복수의 PTS를 서로 비교하여 상기 인접한 복수의 PTS가 나타내는 시간 정보의 차분이 소정값을 초과할 때, 이 PTS를 이상으로 판단하고, 상기 기억부에 저장된 복수의 PTS 내에 이러한 이상의 PTS가 소 정수 이상 있다고 판단하였을 때, 상기 식별 플래그를 상기 PTS가 존재하지 않는 것을 나타내도록 재기록하는 것인, 재생 장치.The PTS of claim 1, wherein when the difference of time information indicated by the plurality of adjacent PTSs exceeds a predetermined value by comparing a plurality of PTSs stored in the storage unit with each other, the PTS is determined to be abnormal and stored in the storage unit. And reproducing the identification flag to indicate that the PTS does not exist when it is determined that such an abnormal PTS is a small integer or more in a plurality of PTSs. 제1항에 있어서, 상기 MPEG2-TS에 포함되는 TS 헤더에 포함되는 프로그램 클럭 레퍼런스(Program Clock Reference; PCR)를 복수 연속하여 저장하는 제2 기억부를 더 포함하며,The apparatus of claim 1, further comprising a second storage unit configured to sequentially store a plurality of program clock references (PCRs) included in a TS header included in the MPEG2-TS. 상기 재기록부는, 상기 PTS 및 상기 PCR이 나타내는 시간 정보의 차분을 구하고, 이 값이 소정값을 초과할 때, 상기 PTS를 이상으로 판단하여 상기 식별 플래그를 재기록하는 것인, 재생 장치.And the rewriting unit obtains the difference between the time information indicated by the PTS and the PCR, and when the value exceeds a predetermined value, judges that the PTS is abnormal and rewrites the identification flag. 제1항에 있어서, 상기 MPEG2-TS에 포함되는 TS 헤더에 포함되는 PCR을 복수 연속하여 저장하는 제2 기억부를 더 포함하며,The apparatus of claim 1, further comprising a second storage unit configured to sequentially store a plurality of PCRs included in a TS header included in the MPEG2-TS. 상기 재기록부는, 상기 PTS와 PCR의 차분이 100 msec 이상이었을 때, 상기 PTS가 이상이라 판단하고 상기 식별 플래그를 재기록하는 것인, 재생 장치.And the rewriting unit judges that the PTS is abnormal when the difference between the PTS and the PCR is 100 msec or more and rewrites the identification flag. 음성 화상 정보에 포함되는 정보 단위에 기초하여 복수의 연속된 블럭의 시간 정보(PTS)를 저장하는 기억부와;A storage unit for storing time information (PTS) of a plurality of consecutive blocks on the basis of the information unit included in the audio image information; 상기 시간 정보가 존재하는지의 여부를 나타내는 식별 정보(pts_dts_플래그)가 상기 음성 화상 정보의 정보 단위가 존재하고 있다고 나타낼 때, 상기 시간 정보에 따라 상기 음성 화상 정보를 재생하는 재생부와;A playback unit for reproducing the audio image information according to the time information when the identification information (pts_dts_flag) indicating whether the time information is present indicates that an information unit of the audio image information exists; 상기 기억부에 저장된 복수의 시간 정보를 비교하여 인접한 복수의 시간 정보의 차분이 소정값을 초과할 때, 상기 식별 정보를 상기 시간 정보가 존재하지 않는 것을 나타내도록 재기록하게끔 제어하는 재기록부A rerecording unit for comparing the plurality of time information stored in the storage unit so as to rewrite the identification information to indicate that the time information does not exist when a difference of a plurality of adjacent time information exceeds a predetermined value. 를 포함하는 재생 장치.Playback device comprising a. 제9항에 있어서, 상기 재기록부는 상기 기억부에 저장된 복수의 상기 시간 정보를 서로 비교하여 인접한 복수의 시간 정보가 나타내는 시간 정보의 차분이 소정값을 초과할 때, 그 시간 정보뿐만이 아니라, 그 시간 정보의 주변 시간 정보도 그 차분이 소정값을 초과했는지에 기초하여, 상기 식별 정보를 재기록하는 것인, 재생 장치.10. The apparatus according to claim 9, wherein the rewrite unit compares a plurality of pieces of time information stored in the storage unit with each other, and when the difference of time information represented by a plurality of adjacent time information exceeds a predetermined value, not only the time information but also the time. And the peripheral time information of the information is also re-recording the identification information based on whether the difference exceeds a predetermined value. 방송 신호를 수신하고 복조하여 MPEG2-TS를 출력하는 단계와;Receiving and demodulating a broadcast signal to output MPEG2-TS; 상기 MPEG2-TS가 포함하는 PES에 포함되는 PTS를 복수 연속하여 기억부에 저장하는 단계와; Storing a plurality of consecutive PTSs included in the PES included in the MPEG2-TS in a storage unit; 상기 기억부에 저장된 복수의 PTS를 서로 비교하여 인접한 복수의 PTS가 나타내는 시간 정보의 차분이 소정값을 초과할 때, 상기 차분을 포함하고 있는 PTS의 상기 식별 플래그를 상기 PTS가 존재하지 않는 것을 나타내도록 재기록하게끔 제어하는 단계Comparing a plurality of PTSs stored in the storage unit with each other, when the difference of time information indicated by a plurality of adjacent PTSs exceeds a predetermined value, the identification flag of the PTS including the difference indicates that the PTS does not exist. Control to rewrite 를 포함하는 재생 방법.Play method comprising a. 제11항에 있어서, 상기 저장된 복수의 PTS를 서로 비교하여 인접한 복수의 PTS가 나타내는 시간 정보의 차분이 소정값을 초과할 때, 상기 차분을 포함하고 있는 PTS의 상기 식별 플래그를 상기 PTS가 존재하지 않는 것을 나타내도록, 그 값을 제로로 하는 것인, 재생 방법.12. The PTS of claim 11, wherein the identification flag of the PTS including the difference does not exist when a difference of time information indicated by a plurality of adjacent PTSs is compared with each other by comparing the stored plurality of PTSs with each other. To zero, so as to indicate no. 제11항에 있어서, 상기 저장된 복수의 PTS를 서로 비교하여 인접한 복수의 PTS가 나타내는 시간 정보의 차분이 소정값을 초과할 때, 상기 차분을 포함하고 있는 PTS뿐만 아니라 그 PTS의 주변의 PTS도 시간 정보의 차분이 소정값을 초과했는지에 기초하여, 상기 식별 플래그를 재기록하는 것인, 재생 방법.12. The PTS of claim 11, wherein when the difference of time information indicated by a plurality of adjacent PTSs exceeds a predetermined value by comparing the stored plurality of PTSs with each other, not only the PTS including the difference but also the PTSs around the PTSs are not limited to time. And reproducing the identification flag based on whether the difference of information exceeds a predetermined value.
KR20050115955A 2004-11-30 2005-11-30 Playback device and playback method KR100759777B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004347746A JP2006157729A (en) 2004-11-30 2004-11-30 Reproduction apparatus and reproduction method
JPJP-P-2004-00347746 2004-11-30

Publications (2)

Publication Number Publication Date
KR20060061254A KR20060061254A (en) 2006-06-07
KR100759777B1 true KR100759777B1 (en) 2007-09-20

Family

ID=36635429

Family Applications (1)

Application Number Title Priority Date Filing Date
KR20050115955A KR100759777B1 (en) 2004-11-30 2005-11-30 Playback device and playback method

Country Status (2)

Country Link
JP (1) JP2006157729A (en)
KR (1) KR100759777B1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4682159B2 (en) * 2007-01-26 2011-05-11 富士通東芝モバイルコミュニケーションズ株式会社 Stream playback device
KR101143907B1 (en) * 2007-02-15 2012-05-10 삼성전자주식회사 Method and Apparatus of playing Digital Broadcasting
JP2010081333A (en) 2008-09-26 2010-04-08 Sony Corp Data processing apparatus, and data processing method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002281498A (en) 2001-03-19 2002-09-27 Sanyo Electric Co Ltd Reception reproducing device
JP2004015553A (en) 2002-06-07 2004-01-15 Sanyo Electric Co Ltd Synchronization control method and apparatus thereof, synchronization reproduction apparatus and tv receiving apparatus using the control method and apparatus
JP2005347919A (en) 2004-06-01 2005-12-15 Sanyo Electric Co Ltd Decoder device
KR20060099680A (en) * 2005-03-14 2006-09-20 엘지전자 주식회사 Digital multimedia broadcasting receiver's controlling method of ripsync

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002281498A (en) 2001-03-19 2002-09-27 Sanyo Electric Co Ltd Reception reproducing device
JP2004015553A (en) 2002-06-07 2004-01-15 Sanyo Electric Co Ltd Synchronization control method and apparatus thereof, synchronization reproduction apparatus and tv receiving apparatus using the control method and apparatus
JP2005347919A (en) 2004-06-01 2005-12-15 Sanyo Electric Co Ltd Decoder device
KR20060099680A (en) * 2005-03-14 2006-09-20 엘지전자 주식회사 Digital multimedia broadcasting receiver's controlling method of ripsync

Also Published As

Publication number Publication date
KR20060061254A (en) 2006-06-07
JP2006157729A (en) 2006-06-15

Similar Documents

Publication Publication Date Title
US5648960A (en) Recording/reproducing apparatus for data packet stream
JP4612171B2 (en) Video decoding / playback module, playback time management program, and multimedia information receiving apparatus
US20080101478A1 (en) Decoding device and decoding method
JP2008011404A (en) Content processing apparatus and method
US20080279272A1 (en) Contents reproducing apparatus
JP2006295568A (en) Moving picture decoder and picture border judgement method
KR100759777B1 (en) Playback device and playback method
US7688726B2 (en) Broadcast reception apparatus, TS packet reproduction apparatus, broadcast reception method and program
JPH09186968A (en) Digital signal recording and reproducing device and digital signal reproducing method
US8131127B2 (en) Broadcast receiving apparatus and broadcast receiving method
JP5032179B2 (en) Stream reproducing apparatus and media data decoding method
US8254764B2 (en) Recording apparatus, image reproducing apparatus, and special reproduction method therefor
JP2006238003A (en) Demultiplexing device
JP4327561B2 (en) Digital broadcast receiving apparatus and control method thereof
JP4589355B2 (en) Stream playback device
JP4902258B2 (en) Data receiving apparatus and computer-readable storage medium
JP5244764B2 (en) Digital broadcast receiving apparatus and program
JP2001111610A (en) Receiver for information data transmission system
WO2007105697A1 (en) Digital image data processing device and processing method
EP2169682B1 (en) Data processing apparatus and data processing method
US8571392B2 (en) Apparatus for video recording and reproducing, and method for trick play of video
JP5571220B2 (en) DIGITAL BROADCAST RECEIVING DEVICE, OUTPUT METHOD AND PROGRAM IN DIGITAL BROADCAST RECEIVING DEVICE
JP3716834B2 (en) Playback apparatus and playback method
KR20020022147A (en) A Digital Television for Playing Multimedia Audio and Method for Playing Multimedia Audio using Digital Television
JP3716836B2 (en) Electronic apparatus and signal processing method

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
LAPS Lapse due to unpaid annual fee