KR100775169B1 - Method for playing broadcasting stream stored in digital broadcasting receiver - Google Patents

Method for playing broadcasting stream stored in digital broadcasting receiver Download PDF

Info

Publication number
KR100775169B1
KR100775169B1 KR1020050051397A KR20050051397A KR100775169B1 KR 100775169 B1 KR100775169 B1 KR 100775169B1 KR 1020050051397 A KR1020050051397 A KR 1020050051397A KR 20050051397 A KR20050051397 A KR 20050051397A KR 100775169 B1 KR100775169 B1 KR 100775169B1
Authority
KR
South Korea
Prior art keywords
packet
time
idr
nal
command
Prior art date
Application number
KR1020050051397A
Other languages
Korean (ko)
Other versions
KR20060131164A (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 KR1020050051397A priority Critical patent/KR100775169B1/en
Publication of KR20060131164A publication Critical patent/KR20060131164A/en
Application granted granted Critical
Publication of KR100775169B1 publication Critical patent/KR100775169B1/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/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4344Remultiplexing of multiplex streams, e.g. by modifying time stamps or remapping the packet identifiers
    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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
    • H04N21/44008Processing 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 involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • 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/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8455Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/765Interface circuits between an apparatus for recording and another apparatus
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/78Television signal recording using magnetic recording
    • H04N5/782Television signal recording using magnetic recording on tape
    • H04N5/783Adaptations for reproducing at a rate different from the recording rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Circuits Of Receivers In General (AREA)

Abstract

본 발명은 저장부가 구비된 디지털 방송 수신기에 저장된 방송 스트림을 재생하는 방법에 있어서, 상기 저장부에 저장된 방송 스트림을 재생하는 중에 FF/RW 명령이 입력되면, 상기 FF/RW 명령이 입력된 시점의 TS 패킷을 상기 저장부에서 추출하고, 상기 추출된 TS 패킷의 28바이트부터가 날(NAL) 시작 코드인지를 판단하고, 상기 TS 패킷의 28바이트부터가 날(NAL) 시작 코드이면, 날(NAL) 타입이 SPS인지를 판단하고, 상기 날(NAL) 타입이 SPS이면, 델타 타임을 계산하고, 상기 계산된 델타 타임을 이용하여 IDR 횟수를 계산하고, 상기 계산된 IDR횟수에 해당하는 TS 패킷부터 재생하는 것으로서, 디지털 멀티미디어 방송(DMB)와 같은 디지털 방송 수신기에 저장된 방송 스트림이 재생되는 동안 FF/RW 명령이 입력되면, 그 명령에 해당하는 패킷의 재생을 좀더 빠르게 할 수 있다. The present invention relates to a method for reproducing a broadcast stream stored in a digital broadcast receiver having a storage unit. When an FF / RW command is input while reproducing a broadcast stream stored in the storage unit, the present invention provides a method for reproducing a broadcast stream stored in the storage unit. Extracts a TS packet from the storage unit, and determines whether 28 bytes of the extracted TS packet is a NAL start code; and if 28 bytes of the TS packet is a NAL start code, a day NAL ) Determining whether the type is an SPS, if the NAL type is an SPS, calculating a delta time, calculating an IDR number using the calculated delta time, and starting from a TS packet corresponding to the calculated IDR number. If the FF / RW command is input while the broadcast stream stored in the digital broadcast receiver such as digital multimedia broadcasting (DMB) is playing, the packet corresponding to the command can be played more quickly. All.

디지털 방송 수신기, DMB, 방송 스트림, 날(NAL), IDR Digital Broadcast Receivers, DMB, Broadcast Stream, NAL, IDR

Description

디지털 방송 수신기에 저장된 방송 스트림 재생 방법{Method for playing broadcasting stream stored in digital broadcasting receiver}Method for playing broadcasting stream stored in digital broadcasting receiver

도 1은 종래의 디지털 멀티미디어 방송(DMB)시스템에서의 FF/RW 방법을 나타낸 흐름도. 1 is a flowchart illustrating a FF / RW method in a conventional digital multimedia broadcasting (DMB) system.

도 2는 본 발명에 따른 디지털 멀티미디어 방송 시스템의 구성을 개략적으로 나타낸 블럭도. 2 is a block diagram schematically showing the configuration of a digital multimedia broadcasting system according to the present invention;

도 3은 본 발명에 따른 디지털 멀티미디어 방송 시스템에서 FF/RW 수행 방법을 나타낸 흐름도. 3 is a flowchart illustrating a method of performing FF / RW in a digital multimedia broadcasting system according to the present invention.

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

200 : 튜너 210 : A/D변환부200: tuner 210: A / D conversion unit

220 : 복조부 230 : 디멀티플렉서220: demodulation unit 230: demultiplexer

240 : 제어부 250 : 키입력부240: control unit 250: key input unit

260 : 저장부 270 : 오디오/비디오 디코더 260: storage unit 270: audio / video decoder

280 : 오디오 처리부 290 : 비디오 처리부280: audio processing unit 290: video processing unit

본 발명은 디지털 멀티미디어 방송(DMB, Digital Multimedia Broadcasting)와 같은 디지털 방송 수신기에 저장된 방송 스트림이 재생되는 동안 FF/RW 명령이 입력되면, 그 명령에 해당하는 패킷의 재생을 좀더 빠르게 할 수 있는 디지털 방송 수신기에 저장된 방송 스트림 재생 방법에 관한 것이다. According to the present invention, when an FF / RW command is input while a broadcast stream stored in a digital broadcast receiver such as digital multimedia broadcasting (DMB) is being played, a digital broadcast can be played more quickly. The present invention relates to a broadcast stream reproduction method stored in a receiver.

현재 사용중인 라디오 방송은 아날로그 형태로서 원래 고정 수신용으로 개발되었으므로 보행 중 또는 차량 운행중에 수신할 경우에는 음질이 상당히 저하되고 높은 출력과 넓은 주파수 대역을 요구한다. The radio broadcasts currently in use are analogue and originally developed for fixed reception, so that the reception of sound while walking or driving a vehicle is considerably degraded and requires high power and a wide frequency band.

이와 같은 문제를 해결하기 위한 디지털 오디오 방송의 표준화 및 상용화가 전세계적으로 진행되고 있으며, 디지털 오디오 방송 표준으로 Eureka-147을 채택한 유럽에서는 DAB(Digital Audio Broadcasting), 미국의 경우는 DAR, 캐나다의 경우 DRS, 국제 전기 통신 연합의 경우 DSB를 사용하고 있으며, 국내의 경우 정보통신부에 의해 DMB(Digital Multimedia Broadcasting)라는 명칭으로 사용되고 있다. In order to solve this problem, standardization and commercialization of digital audio broadcasting is underway around the world.In Europe, which adopts Eureka-147 as the digital audio broadcasting standard, DAB (Digital Audio Broadcasting) in Europe, DAR in USA, Canada In the case of DRS and the International Telecommunication Union, DSB is used, and in Korea, it is used by the Ministry of Information and Communication as DMB (Digital Multimedia Broadcasting).

이때 차세대 방송용으로 개발된 DAB는 도심지의 전파 환경과 잡음에 강하여 소출력으로 전송하여도 고속으로 주행하는 차량에서 CD 수준의 음질을 수신할 수 있다. 또한, 기존의 듣는 방송의 개념을 보고 듣는 방송으로 라디오 방송의 개념을 확장시켰으며 음악 방송 외에도 뉴스, 교통 정보, 기상 정보, 지리 위치 정보, 동영상 정보 등 다양한 멀티미디어 정보를 문자와 그래픽으로 전송할 수 있다. At this time, DAB developed for next generation broadcasting is able to receive CD level sound quality in a vehicle driving at high speed even though it transmits at low power because it is strong in urban environment and noise. In addition, the concept of radio broadcasting has been extended to see and listen to the concept of existing listening broadcasts, and in addition to music broadcasting, various multimedia information such as news, traffic information, weather information, geographic location information, and video information can be transmitted in text and graphics. .

한편 국내 정보통신부에 의해 명명된 DMB 즉, 디지털 멀티미디어 방송은 음성 방송의 디지털화가 됨에 따라 종전의 AM과 FM 라디오 형태를 넘어 고품질 CD 수준의 음질, 문자나 그래픽, 동화상까지 1.5Mbit/s의 데이터 전송이 가능한 다양한 데이터 서비스, 양방향성, 우수한 이동 수신 품질들을 제공하는 차세대 방송이다. Meanwhile, DMB, or digital multimedia broadcasting, named by the Ministry of Information and Communication of Korea, is digitalizing voice broadcasting, and it transfers 1.5Mbit / s of data to high quality CD level, text, graphics, and moving pictures beyond AM and FM radio. This is the next generation broadcast that offers a variety of possible data services, bidirectional and excellent mobile reception qualities.

상술한 DMB는 전송 수단인 매체의 성격에 따라 지상파 DMB와 위성 DMB로 크게 구분할 수 있으며 위성 DMB 방송의 경우 고정형 서비스와 이동형 서비스로 나눌수 있다.The above-described DMB can be broadly classified into terrestrial DMB and satellite DMB according to the characteristics of a medium, which is a means of transmission. In the case of satellite DMB broadcasting, it can be divided into fixed service and mobile service.

위성 DMB 관련 기술은 현재 상용화되지 않은 스펙들로서만 이루어져 있다. 일부 제품 기능은 개발이 끝났지만 아직 상당수는 기술 개발화가 이루어지지않고 있는 실정이다. Satellite DMB-related technologies are currently only available as specifications that are not commercially available. Some product functions have been developed, but many of them are not yet developed.

위성 DMB로 송출되니 방송 스트림을 저장하고 시간에 구애받지않고 다시 재생해서 본다라는 개념은 역시 기술적으로는 가능한 것으로 판단되고 있지만 아직 구체적으로 어떻게 구현할지에 대해서는 확정되지 않았다. 만약, 이렇게 방송 스트림을 저장할 수 있다라고 하고 이를 상용화할때 FF, RW 역시 필요한 기능이다. 기술적으로는 MPEG이나 각종 기술 표준에 의거해 정상적인 경로로 데이터를 분석하고 이에 맞게 구현하는 방식을 따라야 할 것이다. The concept of storing broadcast streams and replaying them regardless of time is also considered technically feasible because it is transmitted through satellite DMB, but it is not yet determined how to implement them. If the broadcast stream can be stored like this, FF and RW are also required when commercializing it. Technically, according to MPEG or various technical standards, it is necessary to follow a method of analyzing and implementing data according to a normal path.

도 1은 종래의 디지털 멀티미디어 방송(DMB)시스템에서의 FF/RW 방법을 나타낸 흐름도이다. 1 is a flowchart illustrating an FF / RW method in a conventional digital multimedia broadcasting (DMB) system.

도 1을 참조하면, 디지털 멀티미디어 방송 시스템은 저장부에 저장되어 있는 방송 스트림을 재생하는 중에(S100), 사용자에 의해 FF/RW 명령이 입력되면(S102), 상기 FF/RW 명령이 입력된 시점의 N개의 패킷을 모아서 PES 패킷을 생성한다(S104). 즉, 상기 디지털 멀티미디어 방송 시스템은 사용자에 의해 FF/RW 명령이 입력되면, 188바이트 크기의 패킷 N개를 모아서 온전한 PES 패킷을 생성한다.Referring to FIG. 1, when a digital multimedia broadcasting system is playing a broadcast stream stored in a storage unit (S100) and an FF / RW command is input by a user (S102), a time point at which the FF / RW command is input The N packets of N are collected to generate a PES packet (S104). That is, when the FF / RW command is input by the user, the digital multimedia broadcasting system collects N packets having a size of 188 bytes and generates an intact PES packet.

그런다음 상기 디지털 멀티미디어 방송 시스템은 상기 생성된 PES 패킷의 헤더를 분석하여 재생 시간을 추출한다(S106). 즉, 상기 PES 패킷은 헤더와 패이로드로 구성된다. 상기 헤더에는 개별의 스트림을 식별하기 위한 코드와 패킷의 사이즈, PTS나 DTS라고 하는 동기 재생을 위한 시간 정보, 제어 정보(스크램블의 유무, 저작권의 유무등임)가 기술된다. 따라서, 디지털 멀티미디어 방송 시스템은 상기와 같이 구성된 PES 패킷의 헤더에 있는 시간 정보를 이용하여 재생 시간을 추출할 수 있다. Then, the digital multimedia broadcasting system analyzes the header of the generated PES packet and extracts a playing time (S106). That is, the PES packet is composed of a header and a payload. In the header, a code for identifying an individual stream and a packet size, time information for synchronous reproduction such as PTS or DTS, and control information (with or without scramble and copyright) are described. Therefore, the digital multimedia broadcasting system can extract the playback time using the time information in the header of the PES packet configured as described above.

단계 106의 수행후, 상기 디지털 멀티미디어 방송 시스템은 패이로드를 디코딩해서 해당 비디오 스트림을 분석하고 NAL타입이 무엇인지를 판단한다(S108).After performing step 106, the digital multimedia broadcasting system decodes the payload to analyze the corresponding video stream and determines what the NAL type is (S108).

단계 108의 판단결과 상기 NAL 타입이 IDR(Instantaneous Decoder Refresh) 프레임이면(S110), 상기 디지털 멀티미디어 방송 시스템은 해당 TS 패킷이 있는 파일 스트림 위치부터 해서 일련의 스트림을 재생한다(S112). 상기 디지털 멀티미디어 방송 시스템은 시간값이 정확하더라도 일단 P프레임이 코덱에 주어지면 재생이 불가능하므로, I프레임을 판단하는 것이 중요하다. 그래서 상기 디지털 멀티미디어 방송 시스템은 NAL 타입이 IDR 프레임인지를 판단하는 것이다. If it is determined in step 108 that the NAL type is an Instantaneous Decoder Refresh (IDR) frame (S110), the digital multimedia broadcasting system plays a series of streams starting from the file stream position where the TS packet is located (S112). In the digital multimedia broadcasting system, even if the time value is correct, it is impossible to reproduce the P frame once it is given to the codec, so it is important to determine the I frame. Thus, the digital multimedia broadcasting system determines whether the NAL type is an IDR frame.

상기와 같이 해당 비디오 스트림을 분석하고 날 타입이 무엇인지를 파악한 후, 이 모든 조건이 맞으면, 그 TS 패킷이 있는 파일 스트림 위치부터해서 일련의 스트림들을 코덱쪽으로 보내주면 정상적인 재생이 가능하다.After analyzing the video stream as described above and determining what the day type is, if all of these conditions are met, normal playback is possible by sending a series of streams to the codec starting from the file stream location where the TS packet is located.

만약, 단계 110의 판단결과 상기 NAL 타입이 IDR 프레임이 아니면, 상기 디지털 멀티미디어 방송 시스템은 상기 저장부에서 패킷을 다시 추출하여 PES(Packetized Elementarty Stream) 패킷을 생성한다(S114). 그런다음 상기 디지털 멀티미디어 방송 시스템은 단계 106부터 다시 수행한다. If it is determined in step 110 that the NAL type is not an IDR frame, the digital multimedia broadcasting system extracts the packet from the storage unit again and generates a packetized elementarty stream (PES) packet (S114). The digital multimedia broadcasting system then performs again from step 106.

그러나 상기와 같은 종래에는 PES 헤더 정보를 모두 디코딩해서 값을 산출하므로 원하는 재생을 하기위해서는 시간이 오래 걸리는 단점이 있다. However, since the PES header information is decoded to calculate a value in the related art, it takes a long time to perform a desired reproduction.

따라서, 본 발명의 목적은 DMB와 같은 디지털 방송 수신기에 저장된 방송 스트림이 재생되는 동안 FF/RW 명령이 입력되면, 그 명령에 해당하는 패킷의 재생을 좀더 빠르게 할 수 있는 디지털 방송 수신기에 저장된 방송 스트림 재생 방법을 제공하는데 있다. Accordingly, an object of the present invention is that if an FF / RW command is input while a broadcast stream stored in a digital broadcast receiver such as a DMB is being played back, the broadcast stream stored in the digital broadcast receiver can speed up playback of a packet corresponding to the command. It is to provide a reproduction method.

상기 목적들을 달성하기 위하여 본 발명의 일 측면에 따르면, 저장부가 구비된 디지털 방송 수신기에 저장된 방송 스트림을 재생하는 방법에 있어서, 상기 저장부에 저장된 방송 스트림을 재생하는 중에 FF/RW 명령이 입력되면, 상기 FF/RW 명령이 입력된 시점의 TS 패킷을 상기 저장부에서 추출하고, 상기 추출된 TS 패킷의 28바이트부터가 날(NAL) 시작 코드인지를 판단하고, 상기 TS 패킷의 28바이트부 터가 날(NAL) 시작 코드이면, 날(NAL) 타입이 SPS인지를 판단하고, 상기 날(NAL) 타입이 SPS이면, 델타 타임을 계산하고, 상기 계산된 델타 타임을 이용하여 IDR 횟수를 계산하고, 상기 계산된 IDR횟수에 해당하는 TS 패킷부터 재생하는 것을 특징으로하는 디지털 방송 수신기에 저장된 방송 스트림 재생 방법이 제공된다. According to an aspect of the present invention to achieve the above object, in the method for reproducing a broadcast stream stored in a digital broadcast receiver provided with a storage unit, when an FF / RW command is input while reproducing the broadcast stream stored in the storage unit And extracting, from the storage, a TS packet at the time when the FF / RW command is input, determining whether 28 bytes of the extracted TS packet is a NAL start code, and starting from 28 bytes of the TS packet. If is the NAL start code, it is determined whether the NAL type is SPS, if the NAL type is SPS, the delta time is calculated, and the IDR number is calculated using the calculated delta time. The present invention provides a method for reproducing a broadcast stream stored in a digital broadcast receiver, characterized by reproducing the TS packet corresponding to the calculated IDR number.

상기 FF/RW 명령이 입력된 시점의 TS 패킷을 상기 저장부에서 추출하는 것은 상기 TS 패킷은 188바이트의 고정 패킷이므로 188바이트 TS 패킷을 추출한다. Extracting the TS packet at the time when the FF / RW command is input from the storage unit extracts a 188-byte TS packet because the TS packet is a fixed packet of 188 bytes.

상기 델타 타임은 FF/RW 시작 시점 시간과 현재 스트림 지점의 시간값과의 차이값인 것으로, 상기 FF/RW 시작 시점 시간과 현재 스트림 지점의 시간은 각각 해당 TS 패킷의 헤더 정보내 재생 시간 정보를 이용하여 구한다. The delta time is a difference between an FF / RW start time and a time value of a current stream point. The FF / RW start time and a time of a current stream point respectively indicate playback time information in header information of a corresponding TS packet. Obtain by using

상기 IDR 횟수는 델타 타임/IDR 주기값을 이용하여 구하는 것으로, 상기 IDR 주기값은 동일 스트림에 대해서는 일정한 주기를 갖는다. The IDR number of times is calculated using a delta time / IDR period value, and the IDR period value has a constant period for the same stream.

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

도 2는 본 발명에 따른 디지털 멀티미디어 방송 시스템의 구성을 개략적으로 나타낸 블럭도이다. 2 is a block diagram schematically showing the configuration of a digital multimedia broadcasting system according to the present invention.

도 2를 참조하면, 디지털 멀티미디어 방송 시스템은 튜너(200), A/D변환부(210), 복조부(220), 디멀티플렉서(230), 제어부(240), 키입력부(250), 저장부(260), 오디오/비디오 디코더(270), 오디오 처리부(280), 비디오 처리부(290)를 포함한다. 2, the digital multimedia broadcasting system includes a tuner 200, an A / D converter 210, a demodulator 220, a demultiplexer 230, a controller 240, a key input unit 250, and a storage unit ( 260, an audio / video decoder 270, an audio processor 280, and a video processor 290.

상기 튜너(200)는 방송 신호를 선국하는 역할을 수행한다. The tuner 200 tunes a broadcast signal.

상기 A/D변환부(210)는 상기 튜너(200)를 통해 수신된 아날로그 형태의 신호를 디지털 형태로 변환한다. The A / D converter 210 converts an analog signal received through the tuner 200 into a digital form.

상기 복조부(220)는 상기 A/D변환부(210)에서 변환된 디지털 신호를 복조하여 오류를 정정하고 트랜스포트 스트림 형태로 변환한다. The demodulator 220 demodulates the digital signal converted by the A / D converter 210 to correct an error and converts the digital signal into a transport stream.

상기 디멀티플렉서(230)는 시간 다중화된 트랜스 포트 스트림을 역다중화 즉, 영상, 음성 및 부가 정보 신호열을 분리한다. The demultiplexer 230 demultiplexes a time multiplexed transport stream, i.e., separates video, audio, and additional information signal sequences.

상기 오디오/비디오 디코더(270)는 상기 디멀티플렉서(230)에서 분리된 오디오 및 비디오 신호열을 신장/복원시키는 역할을 수행한다. The audio / video decoder 270 extends / restores the audio and video signal sequences separated by the demultiplexer 230.

상기 오디오 처리부(280)는 상기 오디오/비디오 디코더(270)에서 출력된 오디오 신호를 스피커를 통해 출력 가능하도록 아날로그 오디오 신호로 변환한다. The audio processor 280 converts the audio signal output from the audio / video decoder 270 into an analog audio signal to be output through a speaker.

상기 비디오 처리부(290)는 상기 오디오/비디오 디코더(270)에서 출력된 비디오 신호를 화면상이 디스플레이 가능하도록 휘도 및 색신호로 변환한다. The video processor 290 converts the video signal output from the audio / video decoder 270 into luminance and color signals so as to be displayed on a screen.

상기 저장부(260)는 프로그램 안내 관련 정보, 상세 정보 및 녹화된 프로그램을 저장한다. The storage unit 260 stores program guide related information, detailed information, and a recorded program.

상기 제어부(240)는 디지털 멀티미디어 방송 시스템 각부의 동작을 제어한다. The controller 240 controls the operation of each part of the digital multimedia broadcasting system.

상기 제어부(240)는 상기 저장부(260)에 저장된 프로그램을 재생하는 중에 상기 키 입력부(250)를 통해 FF/RW 명령이 입력되면, FF/RW 시작시의 188바이트 TS 패킷을 기준으로 28바이트부터가 날(NAL) 시작 코드인지를 판단한다. When the FF / RW command is input through the key input unit 250 while the program stored in the storage unit 260 is playing back, the controller 240 is 28 bytes based on a 188-byte TS packet at the start of the FF / RW. Determines if is a NAL start code.

상기 판단결과 28바이트부터 날 시작 코드이면, 상기 제어부(240)는 해당 날 시작 코드 뒤에 날 타입 필드에 접근하여 타입이 SPS(sequence parameter set)가 나오면, 현재 TS 패킷부터 IDR(Instantaneous Decoder Refresh) 프레임이 시작되며 이 TS 패킷부터 로컬 재생이 가능한 스트림의 지점이라고 판단하여 해당 TS 패킷부터 재생되도록 제어한다.If the start result code is 28 bytes from the determination result, the control unit 240 accesses the day type field after the corresponding day start code, and if the type is a sequence parameter set (SPS), the Instantaneous Decoder Refresh (IDR) frame from the current TS packet. Is started and it is determined that the point of the stream that can be locally played back from the TS packet is controlled to be played back from the TS packet.

상기와 같이 구성된 디지털 멀티미디어 방송 시스템에서 저장부에 저장된 방송 스트림을 재생하는 중에 사용자가 FF/RW 명령을 입력한 경우의 FF/RW 수행 방법에 대하여 도 3을 참조하여 설명하기로 한다. A method of performing FF / RW when a user inputs an FF / RW command while playing a broadcast stream stored in a storage unit in the digital multimedia broadcasting system configured as described above will be described with reference to FIG. 3.

도 3은 본 발명에 따른 디지털 멀티미디어 방송(DMB) 시스템에서 FF/RW 수행 방법을 나타낸 흐름도이다. 3 is a flowchart illustrating a method of performing FF / RW in a digital multimedia broadcasting (DMB) system according to the present invention.

도 3을 참조하면, 디지털 멀티미디어 방송(DMB) 시스템은 저장부에 저장되어 있는 방송 스트림을 재생하는 중에(S300), 사용자로부터 FF/RW 명령이 입력되는지를 판단한다(S302). 즉, 디지털 멀티미디어 방송(DMB) 시스템은 방송 스트림을 저장하고 시간에 구애받지 않고 재생할 수 있으므로, 사용자는 저장부에 저장된 임의의 방송 스트림을 선택하여 재생시킬 수 있다. 해당 방송 스트림이 재생되는 동안 상기 사용자는 키입력부를 이용하여 FF/RW 명령을 선택할 수 있다. Referring to FIG. 3, the digital multimedia broadcasting (DMB) system determines whether an FF / RW command is input from a user while playing a broadcast stream stored in a storage unit (S300). That is, since the digital multimedia broadcasting (DMB) system can store and reproduce the broadcast stream regardless of time, the user can select and play any broadcast stream stored in the storage unit. The user may select an FF / RW command using the key input unit while the corresponding broadcast stream is being played.

단계 302의 판단결과 상기 사용자로부터 FF/RW 명령이 입력되면, 상기 디지털 멀티미디어 방송(DMB) 시스템은 상기 FF/RW 명령이 입력된 시점의 188바이트 TS 패킷을 상기 저장부에서 추출한다(S304). TS패킷은 188바이트의 고정 패킷으로 패킷 헤더와 페이로드로 구성된다. 따라서, 상기 디지털 멀티미디어 방송(DMB) 시스 템은 사용자에 의해 FF/RW 명령이 입력되면, 상기 FF/RW 명령이 입력된 시점의 TS 패킷을 상기 저장부에서 추출한다. When the FF / RW command is input from the user as a result of the determination of step 302, the digital multimedia broadcasting (DMB) system extracts a 188-byte TS packet at the time when the FF / RW command is input (S304). The TS packet is a fixed packet of 188 bytes and consists of a packet header and a payload. Accordingly, when the FF / RW command is input by the user, the digital multimedia broadcasting (DMB) system extracts a TS packet from the storage unit when the FF / RW command is input.

단계 304의 수행후, 상기 디지털 멀티미디어 방송(DMB) 시스템은 상기 추출된 TS 패킷에 대하여 28바이트부터가 날(NAL) 시작 코드인지를 판단한다(S306). 상기 날(NAL)은 전송 계층이나 전송 미디어에 의해 전달된 헤더 정보를 제공하거나 데이터 포맷을 규정하는 것이다. After performing step 304, the digital multimedia broadcasting (DMB) system determines whether the starting TS is the NAL start code from 28 bytes for the extracted TS packet (S306). The day (NAL) is to provide header information carried by the transport layer or transport media or to specify the data format.

현재 실제 서비스중인 위성 DMB 스펙을 준수하는 스트림에서는 188 바이트 TS 패킷 기준으로 IDR 프레임이 나올때 항상 일정하게 28바이트부터 날(NAL)시작 코드가 시작된다. In streams complying with the satellite DMB specification currently in service, the NAL start code always starts at 28 bytes when an IDR frame comes out based on a 188-byte TS packet.

단계 306의 판단결과 상기 추출된 TS 패킷에 대하여 28바이트부터가 날 시작 코드이면, 상기 디지털 멀티미디어 방송(DMB) 시스템은 상기 날 시작 코드뒤의 날 타입이 SPS인지를 판단한다(S308). 즉, 상기 디지털 멀티미디어 방송(DMB) 시스템은 상기 날 시작 코드 뒤의 날 타입이 SPS가 아니고 PPS(Picture Parameter Set)이면, 코덱에서 코딩을 할수 없으므로, 날 타입이 SPS인지를 판단한다.If it is determined in step 306 that the start TS is 28 bytes for the extracted TS packet, the digital multimedia broadcasting (DMB) system determines whether the day type behind the start code is SPS (S308). That is, the digital multimedia broadcasting (DMB) system determines that the day type is an SPS because the code type cannot be coded if the day type after the day start code is not an SPS but a Picture Parameter Set (PPS).

단계 308의 판단결과 상기 날 시작 코드뒤의 날 타입이 SPS이면, 상기 디지털 멀티미디어 방송(DMB) 시스템은 현재 TS 패킷부터 IDR 프레임이 시작된다고 판단하여(S310), 그 시점의 델타 타임을 계산한다(S312). 즉, 상기 디지털 멀티미디어 방송(DMB) 시스템은 시간값이 정확하더라도 일단 P프레임이 코덱에 주어지면 재생이 불가능하므로, I프레임을 판단하는 것이 중요하다. 그래서 상기 디지털 멀티미디어 방송(DMB) 시스템은 날 타입이 SPS인지를 판단하게 된다.If it is determined in step 308 that the day type behind the day start code is SPS, the digital multimedia broadcasting (DMB) system determines that an IDR frame starts from a current TS packet (S310), and calculates a delta time at that time ( S312). That is, in the digital multimedia broadcasting (DMB) system, even if the time value is accurate, it is impossible to reproduce the P frame once given to the codec, so it is important to determine the I frame. Thus, the digital multimedia broadcasting (DMB) system determines whether the day type is an SPS.

상기 델타 타임은 FF/RW 시작 시점 시간과 현재 스트림 지점의 시간값과의 차이값을 말한다. 즉, TS 패킷의 헤더정보에는 재생 시간 정보가 있으므로, 상기 디지털 멀티미디어 방송(DMB) 시스템은 헤더 정보를 이용하여 델타 타임을 구할수 있다.The delta time refers to a difference value between the FF / RW start time and the time value of the current stream point. That is, since the header information of the TS packet includes the reproduction time information, the digital multimedia broadcasting (DMB) system can obtain the delta time using the header information.

단계 312의 수행후, 상기 디지털 멀티미디어 방송(DMB) 시스템은 상기 구해진 델타 타임과 IDR 주기값을 이용하여 IDR 횟수를 계산한다(S314). IDR 프레임은 동일 스트림에서는 일정한 주기를 갖으므로 IDR 주기값을 알수 있다. After performing step 312, the digital multimedia broadcasting (DMB) system calculates the number of IDRs using the obtained delta time and IDR period value (S314). Since the IDR frame has a constant period in the same stream, the IDR period value can be known.

상기 IDR 횟수를 구하는 것은 수학식 1을 이용하여 구할 수 있다. The number of IDRs can be obtained by using Equation 1.

IDR 횟수 = 델타 타임/IDR 주기값IDR Count = Delta Time / IDR Period Value

단계 314의 수행후, 상기 디지털 멀티미디어 방송(DMB) 시스템은 상기 계산된 IDR 횟수에 해당하는 TS 패킷부터 재생시킨다(S318).After performing step 314, the digital multimedia broadcasting (DMB) system plays back TS packets corresponding to the calculated number of IDRs (S318).

예를들어, IDR 주기값이 0.5초에 한번 나타나고 FF를 통해 40초후 영상물을 보겠다면 IDR 횟수는 40/0.5=80이다For example, if the IDR cycle value appears once every 0.5 seconds and you want to view the video after 40 seconds through FF, the IDR frequency is 40 / 0.5 = 80.

따라서, 디지털 멀티미디어 방송(DMB) 시스템은 날 타입으로 SPS가 나오면, TS 패킷이 80번째일때 해당 TS 패킷부터 로컬 재생을 돌리면 된다. Therefore, in the digital multimedia broadcasting (DMB) system, if the SPS is issued as a raw type, the local reproduction may be started from the corresponding TS packet when the TS packet is 80th.

사용자에 의해 FF/RW 명령이 입력되면, PES 패킷의 헤더정보를 다 디코딩해서 값을 산출하는 것이 맞지만 디코딩에 걸리는 각종 성능적 부하를 고려한다면 심플하게 추산했을때 상기와 같은 방법으로 추산한 값과 오차는 대략 +/-15ms정도 범위이며 이는 사람이 거의 육안으로 판별이 불가능할 정도이다. When the FF / RW command is input by the user, it is correct to decode the header information of the PES packet to calculate the value. However, considering the various performance loads for decoding, the value estimated in the above-described manner is simple. The error is in the range of approximately +/- 15 ms, which is almost impossible for a human to discern.

본 발명은 상기 실시예에 한정되지 않으며, 많은 변형이 본 발명의 사상 내에서 당 분야에서 통상의 지식을 가진 자에 의하여 가능함은 물론이다.The present invention is not limited to the above embodiments, and many variations are possible by those skilled in the art within the spirit of the present invention.

상술한 바와 같이 본 발명에 따르면, 디지털 멀티미디어 방송(DMB)와 같은 디지털 방송 수신기에 저장된 방송 스트림이 재생되는 동안 FF/RW 명령이 입력되면, 그 명령에 해당하는 패킷의 재생을 좀더 빠르게 할 수 있는 디지털 방송 수신기에 저장된 방송 스트림 재생 방법을 제공할 수 있다. As described above, according to the present invention, if an FF / RW command is input while a broadcast stream stored in a digital broadcast receiver such as a digital multimedia broadcasting (DMB) is being played, the packet corresponding to the command can be played more quickly. A broadcast stream reproduction method stored in a digital broadcast receiver may be provided.

또한, 본 발명에 따르면, 디지털 방송 수신기에 저장된 방송 스트림에 대하여 FF/RW를 수행할때 많은 연산을 줄일수 있고, 인간의 육안으로 느끼지 못하는 범위 내라는 어느 정도의 정확성을 확보할 수 있는 디지털 방송 수신기에 저장된 방송 스트림 재생 방법을 제공할 수 있다.In addition, according to the present invention, when performing the FF / RW for the broadcast stream stored in the digital broadcast receiver, a lot of operations can be reduced, digital broadcasting capable of securing a certain degree of accuracy within the range that the human eye does not feel A broadcast stream reproduction method stored in a receiver may be provided.

또한, 본 발명에 따르면, 위성 DMB 컨텐츠의 저장 및 이를 다시 재생해서 보는 기능에 있어서 기존 방식보다 빠르고 뒤떨어지지 않는 정확성으로 처리될수 있는 디지털 방송 수신기에 저장된 방송 스트림 재생 방법을 제공할 수 있다. In addition, according to the present invention, it is possible to provide a method for reproducing a broadcast stream stored in a digital broadcast receiver, which can be processed with faster and less inferior accuracy than the conventional method in storing and reproducing satellite DMB content.

Claims (8)

저장부가 구비된 디지털 방송 수신기에 저장된 방송 스트림을 재생하는 방법에 있어서, In the method of playing a broadcast stream stored in the digital broadcast receiver provided with a storage, 상기 저장부에 저장된 방송 스트림을 재생하는 중에 FF/RW 명령이 입력되면, 상기 FF/RW 명령이 입력된 시점의 TS 패킷을 상기 저장부에서 추출하는 단계;If an FF / RW command is input while playing the broadcast stream stored in the storage unit, extracting a TS packet at the time when the FF / RW command is input from the storage unit; 상기 추출된 TS 패킷의 미리 정해진 일정 영역부터가 날(NAL) 시작 코드인지를 판단하는 단계;Determining whether a predetermined start area of the extracted TS packet is a NAL start code; 상기 TS 패킷의 미리 정해진 일정 영역부터가 날(NAL) 시작 코드이면, 날(NAL) 타입이 SPS인지를 판단하는 단계;Determining whether a day (NAL) type is an SPS if a starting point of a predetermined area of the TS packet is a NAL start code; 상기 날(NAL) 타입이 SPS이면, FF/RW 시작 시점 시간과 현재 스트림 지점의 시간값과의 차이값인 델타 타임을 계산하는 단계;If the NAL type is SPS, calculating a delta time that is a difference between an FF / RW start time and a time value of a current stream point; 상기 계산된 델타 타임을 이용하여 IDR 횟수를 계산하는 단계;및Calculating an IDR number using the calculated delta time; and 상기 계산된 IDR횟수에 해당하는 TS 패킷부터 재생하는 단계Playing from the TS packet corresponding to the calculated IDR number 를 포함하는 것을 특징으로하는 디지털 방송 수신기에 저장된 방송 스트림 재생 방법.Broadcast stream playback method stored in the digital broadcast receiver comprising a. 제1항에 있어서, The method of claim 1, 상기 FF/RW 명령이 입력된 시점의 TS 패킷을 상기 저장부에서 추출하는 것은 상기 TS 패킷은 188바이트의 고정 패킷이므로 188바이트 TS 패킷을 추출하는 것을 특징으로 하는 디지털 방송 수신기에 저장된 방송 스트림 재생 방법.Extracting the TS packet at the time when the FF / RW command is input from the storage unit extracts a 188-byte TS packet because the TS packet is a fixed packet of 188 bytes. . 제1항에 있어서, The method of claim 1, 상기 TS 패킷의 미리 정해진 일정 영역은 상기 TS 패킷의 28바이트인 것을 특징으로 하는 디지털 방송 수신기에 저장된 방송 스트림 재생 방법.And a predetermined predetermined region of the TS packet is 28 bytes of the TS packet. 삭제delete 제1항에 있어서, The method of claim 1, 상기 FF/RW 시작 시점 시간과 현재 스트림 지점의 시간은 각각 해당 TS 패킷의 헤더 정보내 재생 시간 정보를 이용하여 구하는 것을 특징으로 하는 디지털 방송 수신기에 저장된 방송 스트림 재생 방법.And the time of the FF / RW start time point and the time of the current stream point are respectively calculated using the play time information in the header information of the corresponding TS packet. 제1항에 있어서, The method of claim 1, 상기 IDR 횟수는 델타 타임/IDR 주기값을 이용하여 구하는 것을 특징으로 하는 디지털 방송 수신기에 저장된 방송 스트림 재생 방법.And the IDR frequency is calculated using a delta time / IDR period value. 제6항에 있어서, The method of claim 6, 상기 IDR 주기값은 동일 스트림에 대해서는 일정한 주기를 갖는 것을 특징으로하는 디지털 방송 수신기에 저장된 방송 스트림 재생 방법.And the IDR period value has a constant period for the same stream. 제1항에 있어서, The method of claim 1, 상기 날(NAL) 타입이 SPS이면, 현재 TS 패킷부터 IDR 프레임이 시작된다고 판단하여 델타 타임을 계산하는 것을 특징으로 하는 디지털 방송 수신기에 저장된 방송 스트림 재생 방법.If the NAL type is SPS, it is determined that the IDR frame starts from the current TS packet and calculates a delta time.
KR1020050051397A 2005-06-15 2005-06-15 Method for playing broadcasting stream stored in digital broadcasting receiver KR100775169B1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
KR1020050051397A KR100775169B1 (en) 2005-06-15 2005-06-15 Method for playing broadcasting stream stored in digital broadcasting receiver

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR1020050051397A KR100775169B1 (en) 2005-06-15 2005-06-15 Method for playing broadcasting stream stored in digital broadcasting receiver

Publications (2)

Publication Number Publication Date
KR20060131164A KR20060131164A (en) 2006-12-20
KR100775169B1 true KR100775169B1 (en) 2007-11-12

Family

ID=37811276

Family Applications (1)

Application Number Title Priority Date Filing Date
KR1020050051397A KR100775169B1 (en) 2005-06-15 2005-06-15 Method for playing broadcasting stream stored in digital broadcasting receiver

Country Status (1)

Country Link
KR (1) KR100775169B1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101145782B1 (en) 2010-10-11 2012-05-16 경희대학교 산학협력단 Method for lightweight video contents encryption and decryption to provide mobile contents service

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150288975A1 (en) * 2012-09-28 2015-10-08 Samsung Electronics Co., Ltd. Method and apparatus for encoding video and method and appartaus for decoding video for random access
KR102350570B1 (en) * 2016-01-11 2022-01-11 에스케이텔레콤 주식회사 Set-Top Box for Measuring Frame Loss in a Video Stream and Method for Operating Same

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100223163B1 (en) 1995-12-11 1999-10-15 윤종용 Disc format for multiple speed reproduction and method for multiple speed reproduction of mpeg data thereby, and device thereof
JP2002223408A (en) 2001-01-29 2002-08-09 Maspro Denkoh Corp Reproducing device
KR20030039595A (en) * 2001-11-13 2003-05-22 주식회사 휴맥스 Method for reproducing digital broadcasting program data
KR20030091396A (en) * 2002-05-27 2003-12-03 삼성전자주식회사 Method for recording position information of broadcasting signal and broadcasting signal transmiting/receiving apparatus capable of recording the position information of broadcasting signal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100223163B1 (en) 1995-12-11 1999-10-15 윤종용 Disc format for multiple speed reproduction and method for multiple speed reproduction of mpeg data thereby, and device thereof
JP2002223408A (en) 2001-01-29 2002-08-09 Maspro Denkoh Corp Reproducing device
KR20030039595A (en) * 2001-11-13 2003-05-22 주식회사 휴맥스 Method for reproducing digital broadcasting program data
KR20030091396A (en) * 2002-05-27 2003-12-03 삼성전자주식회사 Method for recording position information of broadcasting signal and broadcasting signal transmiting/receiving apparatus capable of recording the position information of broadcasting signal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101145782B1 (en) 2010-10-11 2012-05-16 경희대학교 산학협력단 Method for lightweight video contents encryption and decryption to provide mobile contents service

Also Published As

Publication number Publication date
KR20060131164A (en) 2006-12-20

Similar Documents

Publication Publication Date Title
JP4894858B2 (en) Receiving machine
JP7058782B2 (en) Receiver
JP5174623B2 (en) Broadcast receiving circuit and broadcast receiving apparatus
KR100775169B1 (en) Method for playing broadcasting stream stored in digital broadcasting receiver
JP2009518938A (en) Broadcast receiving apparatus for providing broadcast channel information and broadcast channel information providing method
KR100800834B1 (en) Mobile communication terminal for playing digital broadcasting and a method thereof
KR20020014875A (en) Digital broadcasting receiver built-in MP3 player function
JP6309061B2 (en) Broadcast system
EP2560405A1 (en) Digital broadcast reception device
JP4309870B2 (en) Digital broadcast receiver
KR100698648B1 (en) Mobile communication terminal for streaming without interruption
KR100511553B1 (en) Digital multimedia broadcasting receiver and operating methode thereof
US8824858B2 (en) Information processing apparatus and information processing method
JP6279140B1 (en) Receiver
JP6279063B2 (en) Receiving device, receiving method and program
JP6559542B2 (en) Receiving device, receiving method and program
KR100892466B1 (en) Apparatus for play/record of broadcasting signal, and pportable terminal having the same
KR100767502B1 (en) Digital Multimedia Broadcasting display system for preventing the video breaking on a weak power
JP4431633B2 (en) Receiving apparatus and receiving method
JP4431635B2 (en) Receiving apparatus and receiving method
JP4379428B2 (en) Receiver
JP2008153916A (en) Apparatus and method for transmitting and receiving digital broadcasting
JP2018142971A (en) Receiving device, receiving method and program
JP2010283621A (en) Broadcast receiving and recording apparatus and program
JP2017017740A (en) Broadcasting system

Legal Events

Date Code Title Description
A201 Request for examination
E902 Notification of reason for refusal
E90F Notification of reason for final refusal
E701 Decision to grant or registration of patent right
GRNT Written decision to grant
G170 Publication of correction
LAPS Lapse due to unpaid annual fee