[go: up one dir, main page]

KR20030039595A - Method for reproducing digital broadcasting program data - Google Patents

Method for reproducing digital broadcasting program data Download PDF

Info

Publication number
KR20030039595A
KR20030039595A KR1020010070561A KR20010070561A KR20030039595A KR 20030039595 A KR20030039595 A KR 20030039595A KR 1020010070561 A KR1020010070561 A KR 1020010070561A KR 20010070561 A KR20010070561 A KR 20010070561A KR 20030039595 A KR20030039595 A KR 20030039595A
Authority
KR
South Korea
Prior art keywords
information
index
picture
time
recorded
Prior art date
Legal status (The legal status 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 status listed.)
Granted
Application number
KR1020010070561A
Other languages
Korean (ko)
Other versions
KR100419499B1 (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 KR10-2001-0070561A priority Critical patent/KR100419499B1/en
Priority to DE60223483T priority patent/DE60223483T2/en
Priority to EP02020823A priority patent/EP1309195B1/en
Priority to US10/259,145 priority patent/US8045843B2/en
Priority to JP2002304920A priority patent/JP4226873B2/en
Priority to CNB021480176A priority patent/CN100455004C/en
Publication of KR20030039595A publication Critical patent/KR20030039595A/en
Application granted granted Critical
Publication of KR100419499B1 publication Critical patent/KR100419499B1/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/915Television signal processing therefor for field- or frame-skip recording or reproducing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/005Reproducing at a different information rate from the information rate of recording
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B27/00Editing; Indexing; Addressing; Timing or synchronising; Monitoring; Measuring tape travel
    • G11B27/10Indexing; Addressing; Timing or synchronising; Measuring tape travel
    • G11B27/19Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier
    • G11B27/28Indexing; Addressing; Timing or synchronising; Measuring tape travel by using information detectable on the record carrier by using information signals recorded by the same method as the main recording
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • H04N21/42661Internal components of the client ; Characteristics thereof for reading from or writing on a magnetic storage medium, e.g. hard disk drive
    • 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/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • 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/781Television signal recording using magnetic recording on disks or drums

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

본 발명은, 디지털 방송 프로그램 데이터 재생방법에 관한 것으로, 셋탑 박스(STB)와 같은 디지털 방송수신기 내에 포함 구비된 하드 디스크(HDD)와 같은 기록매체에 기록 저장되는 MPEG 트랜스포트 스트림(TS)에 대한 탐색정보 파일(Index File)을 생성 기록하고, 사용자가 선택 지정하는 임의의 재생 요청시간에 대응되는 데이터 기록위치를, 상기 탐색정보 파일에 기록된 탐색정보를 이용하여 탐색한 후, 그 데이터 기록위치에서부터 재생동작이 수행되도록 함으로써, 사용자가 선택 지정한 시간을 기준으로 트릭 플레이(Time Based Trick Play) 동작이 가능하게 되어, 사용상의 편리성을 극대화시킬 수 있게 되는 매우 유용한 발명인 것이다.The present invention relates to a method for reproducing digital broadcast program data, and more particularly, to an MPEG transport stream (TS) recorded and stored on a recording medium such as a hard disk (HDD) included in a digital broadcast receiver such as a set-top box (STB). Create and record a search information file (Index File), search for a data recording position corresponding to an arbitrary playback request time selected by the user using the search information recorded in the search information file, and then record the data recording position. By performing the playback operation from, it is a very useful invention that can be a trick-based play (Time Based Trick Play) operation based on the time selected by the user, to maximize the convenience of use.

Description

디지털 방송 프로그램 데이터 재생방법 {Method for reproducing digital broadcasting program data}How to play digital broadcast program data {Method for reproducing digital broadcasting program data}

본 발명은, 디지털 방송 프로그램을 수신하여 외부 연결기기로 전송 출력함과 아울러, 하드 디스크(HDD)와 같은 기록매체에 기록 저장하는 셋탑 박스(Set Top Box)와 같은 디지털 방송수신기에서의 디지털 방송 프로그램 데이터 재생방법에 관한 것이다.The present invention provides a digital broadcast program in a digital broadcast receiver such as a set top box that receives and transmits a digital broadcast program to an external connected device and records and stores the same on a recording medium such as a hard disk (HDD). The present invention relates to a data reproduction method.

종래의 일반적인 아날로그 텔레비전 방송에서는, 영상신호를 AM 변조 또는 FM 변조하여 전파 및 유선 케이블을 통하여 전송하고 있고 있으나, 최근에는, 디지털 영상 압축 및 디지털 변/복조 등과 같은 디지털 기술의 발전에 따라 디지털 텔레비전 방송에 대한 표준화 및 상용화가 급속히 진전되고 있으며, 또한 종래의 지상파, 위성, 케이블 방송에서도 MPEG(Moving Picture Experts Group)을 기반으로 디지털화되어 가고 있는 추세에 있다.In conventional analog television broadcasting, a video signal is transmitted through radio wave and wired cable by AM modulation or FM modulation, but recently, digital television broadcasting has been developed according to the development of digital technologies such as digital image compression and digital modulation / demodulation. Standardization and commercialization are rapidly progressing, and conventional terrestrial, satellite, and cable broadcasting are also being digitized based on the Moving Picture Experts Group (MPEG).

한편, 상기와 같은 디지털 방송은, 디지털 영상/음성 압축기술 및 디지털 전송 기술의 발전에 따라 아날로그 방송신호 서비스보다 고화질의 방송 서비스를 제공할 수 있으며, 특히 동일 대역폭에서 다수의 방송 프로그램들을 다중화하여 전송할 수 있고, 디지털 통신 미디어 및 디지털 저장 미디어 등과의 상호 운용성을 크게 높일 수 있는 장점을 갖고 있다.On the other hand, the digital broadcast as described above, according to the development of digital video / audio compression technology and digital transmission technology can provide a higher quality broadcast service than the analog broadcast signal service, in particular multiplexing and transmitting a plurality of broadcast programs in the same bandwidth And it has an advantage that can greatly increase the interoperability with digital communication media and digital storage media.

그리고, 상기 디지털 방송에서는, MPEG을 기반으로 엔코딩된 다수의 방송 프로그램들이 다중화되어 트랜스포트 스트림(Transport Stream) 형태로 전송되며, 상기 트랜스포트 스트림은, 수신 측에 설치된 셋탑 박스(STB)와 같은 디지털 방송수신기에 의해 수신되어, 트랜스포트 스트림에 포함된 다수의 방송 프로그램이 역 다중화된다.In the digital broadcast, a plurality of broadcast programs encoded on the basis of MPEG are multiplexed and transmitted in a transport stream, and the transport stream is a digital receiver such as a set-top box (STB) installed at a receiving side. A plurality of broadcast programs received by the broadcast receiver and included in the transport stream are demultiplexed.

따라서, 사용자가 원하는 하나의 방송 프로그램만이 선택될 수 있으며, 또한 상기 셋탑 박스와 같은 디지털 방송수신기에서는, 상기 선택된 방송 프로그램을 수신기 내에 구비된 디코더를 이용하여, 원래의 오디오 및 비디오 신호로 복원한 후, 일반 텔레비전과 같은 A/V 출력장치로 전송 출력하게 된다.Therefore, only one broadcast program desired by the user can be selected, and in a digital broadcast receiver such as the set-top box, the selected broadcast program is restored to the original audio and video signal by using a decoder provided in the receiver. After that, the output is transmitted to an A / V output device such as a general television.

한편, 최근에는 상기 셋탑 박스와 같은 디지털 방송수신기 내에 대용량의 하드 디스크(HDD)를 추가 구비시킴과 아울러, 상기 텔레비전과 같은 A/V 출력 장치로 전송 출력되는 방송 프로그램을 하드 디스크에 기록 저장한 후, 사용자 요청에 따라 상기 하드 디스크에 기록 저장된 방송 프로그램을 재생 출력하는 디지털 방송 기록/재생 기능이 추가 구비된 디지털 방송수신기가 개발 출시되어 널리 보급 확산될 것으로 기대되고 있다.Recently, a large capacity hard disk (HDD) is additionally provided in a digital broadcast receiver such as the set-top box, and a program recorded on the hard disk is stored and stored on the hard disk. According to the user's request, it is expected that a digital broadcast receiver having a digital broadcast recording / reproducing function for reproducing and outputting a broadcast program recorded on the hard disk will be developed and released.

그러나, 상기와 같이 디지털 방송 기록/재생 기능이 구비된 디지털 방송수신기에서, 상기 하드 디스크에 기록 저장된 디지털 방송 프로그램을, 사용자가 선택 지정하는 임의의 재생 요청시간에 따라, 그 재생 요청시간에 대응되는 데이터 기록위치를 탐색 및 재생 출력하는 트릭 플레이(Trick Play)에 대한 효율적인 방안이 아직 마련되어 있지 않아, 그 해결 방안 마련이 시급히 요구되고 있는 실정이다.However, in the digital broadcast receiver equipped with the digital broadcast recording / playback function as described above, the digital broadcast program recorded and stored on the hard disk is corresponding to the playback request time according to an arbitrary playback request time that the user selects and designates. There is no efficient solution for trick play for searching and reproducing and outputting data recording positions, and thus, there is an urgent need for providing a solution.

따라서, 본 발명은 상기와 같은 실정을 감안하여 창작된 것으로서, 셋탑 박스(STB)와 같은 디지털 방송수신기 내에 포함 구비된 하드 디스크(HDD)와 같은 기록매체에 기록 저장되는 MPEG 트랜스포트 스트림(TS)에 대한 탐색정보 파일(Index File)을 생성 기록하고, 사용자가 선택 지정하는 임의의 재생 요청시간에 대응되는 데이터 기록위치를 탐색하여 재생 출력하는, 시간 기준의 트릭 플레이(Time Based Trick Play)를 위한 디지털 방송 프로그램 데이터 재생방법을 제공하는 데, 그 목적이 있는 것이다.Accordingly, the present invention was created in view of the above situation, and an MPEG transport stream (TS) recorded and stored on a recording medium such as a hard disk (HDD) included in a digital broadcast receiver such as a set top box (STB). For Time Based Trick Play, which generates and records an index file for a file and searches for and outputs a data recording position corresponding to an arbitrary playback request time selected by a user. It is an object of the present invention to provide a method for reproducing digital broadcast program data.

도 1은 일반적인 MPEG 트랜스포트 패킷(TSP)에 포함 구성되는 헤더 정보를 도시한 것이고,1 illustrates header information included in a general MPEG transport packet (TSP),

도 2는 일반적인 피이에스(PES) 패킷과 트랜스포트 패킷(TSP)들간에 상관 관계를 도시한 것이고,FIG. 2 illustrates a correlation between a typical PES packet and a transport packet TSP.

도 3은 본 발명에 따른 디지털 방송 프로그램 데이터 재생방법이 적용되는 디지털 방송수신기에 대한 구성을 도시한 것이고,3 is a block diagram of a digital broadcast receiver to which a digital broadcast program data reproducing method according to the present invention is applied;

도 4는 본 발명에 따른 인덱스 파일 생성부에 대한 구성을 도시한 것이고,4 illustrates a configuration of an index file generating unit according to the present invention.

도 5는 본 발명에 따른 탐색정보 파일에 대한 생성 과정을 도시한 것이고,5 illustrates a process of generating a search information file according to the present invention;

도 6 및 도 7은 본 발명에 따른 탐색정보에 대응되는 데이터 기록위치들간의 데이터 이격 거리를 통계적으로 산출 비교한 그래프를 도시한 것이고,6 and 7 are graphs showing a statistically calculated comparison of data separation distances between data recording positions corresponding to search information according to the present invention;

도 8 내지 도 10은 본 발명에 따른 디지털 방송 프로그램 데이터 재생 과정에 대한 실시예를 도시한 것이다.8 to 10 illustrate an embodiment of a digital broadcast program data reproduction process according to the present invention.

※ 도면의 주요부분에 대한 부호의 설명※ Explanation of code for main part of drawing

10 : 디멀티플렉서(Demultiplexer)11 : 파서(Parser)10: Demultiplexer 11: Parser

12 : 버퍼 메모리13 : 하드 디스크12: buffer memory 13: hard disk

14 : 디스클램블러(Descrambler)15 : 디코더14 descrambler 15 decoder

16 : 마이컴17 : 인덱스 파일 생성부16: micom 17: index file generation unit

170 : 헤더 정보 검출기171 : 인덱스 정보 기록기170: header information detector 171: index information recorder

172 : 클럭 발생기173 : 인덱스 파일 생성기172: clock generator 173: index file generator

상기와 같은 목적을 달성하기 위한 본 발명에 따른 디지털 방송 프로그램 데이터 재생방법은, 트랜스포트 스트림을 구성하는 트랜스포트 패킷의 헤더정보에 포함된 유료부하 단위 시작 지시정보에 따라 해당 트랜스포트 패킷들의 기록위치를 각각 인덱스 위치정보로 생성 저장하는 1단계; 상기 인덱스 위치정보의 기록위치들간의 디스플레이 시간을 계산하는 2단계; 상기 계산된 디스플레이 시간과, 시간을 기준으로 요청된 트릭 플레이 시간을 바탕으로, 그 요청시간에 대응되는 인덱스 위치정보를 검색하는 3단계; 및 상기 인덱스 위치정보에 해당하는 트랜스포트 패킷의 기록 위치로 점핑하여 데이터 재생동작을 수행하는 4단계를 포함하여 이루어지는 것을 특징으로 한다.In accordance with another aspect of the present invention, there is provided a method of reproducing digital broadcast program data, the recording position of corresponding transport packets according to payload unit start indication information included in header information of transport packets constituting a transport stream. Generating and storing the index information as index location information, respectively; Calculating display time between recording positions of the index position information; Searching for index position information corresponding to the requested time based on the calculated display time and the trick play time requested based on the time; And performing a data reproducing operation by jumping to the recording position of the transport packet corresponding to the index position information.

이하, 본 발명에 따른 디지털 방송 프로그램 데이터 재생방법에 대한 바람직한 실시예에 대해, 첨부된 도면을 참조하여 상세히 설명한다.Hereinafter, exemplary embodiments of a method of reproducing digital broadcast program data according to the present invention will be described in detail with reference to the accompanying drawings.

먼저, 본 발명에 따른 탐색정보 기록 동작은, 디지털 방송수신기 내에 포함 구비된 하드 디스크(HDD)에 기록 저장되는 MPEG 트랜스포트 스트림(TS)에 대한 탐색정보 생성 및 최적의 랜덤 억세스 단위를 확인하기 위하여, 도 1에 도시한 바와 같이, 4 바이트의 헤더(Header) 정보와 184 바이트의 유료부하(Payload)로 구성되는 188 바이트의 트랜스포트 패킷(TSP: Transport Packet) 중 4 바이트의 헤더 정보에 포함 구성된 1 비트의 유료부하 단위 시작 지시(PUSI: Payload Unit Start Indicator, 이하 'PUSI' 라 함.) 정보를 독출 확인하게 된다.First, in the discovery information recording operation according to the present invention, in order to identify discovery information generation and optimal random access unit for the MPEG transport stream (TS) recorded and stored on a hard disk (HDD) included in the digital broadcast receiver As shown in FIG. 1, 4 bytes of header information of a 188 byte transport packet (TSP) including 4 bytes of header information and 184 bytes of payload are included. The 1-bit Payload Unit Start Indicator (PUSI) information is read and confirmed.

상기 확인결과, 1 비트의 PUSI 정보가 '1'로 설정되어 있는 경우, 해당 트랜스포트 패킷(TSP)의 유료부하에 피이에스(PES: Packetized Elementary Stream) 패킷의 첫 번째 바이트가 시작됨을 나타내는 것이고, 상기 1 비트의 PUSI 정보가 '0'으로 설정되어 있는 경우에는, 해당 트랜스포트 패킷(TSP)의 유료부하에 새로 시작되는 피이에스(PES) 패킷이 없음을 나타내는 것이다.As a result of the check, when the 1-bit PUSI information is set to '1', it indicates that the first byte of the packetized elementary stream (PES) packet starts at the payload of the corresponding transport packet (TSP), If the 1-bit PUSI information is set to '0', it indicates that there is no PES packet newly started at the payload of the transport packet TSP.

즉, 상기 PUSI 정보가 '1'로 설정되어 있는 경우에는, 적어도 하나 이상의 I-픽처(Intra Picture)가 선두에 포함 구성되는 지오피(GOP: Group Of Picture) 단위를 하나의 패킷으로 구획하거나, 또는 I-픽처, P-픽처(Predictive Picture) 또는 B-픽처(Bidirectionally Predictive coded Picture)를 각각 하나의 패킷으로 구획할 수 있도록 정의된 피이에스(PES) 패킷의 첫 번째 바이트가, 해당 트랜스포트 패킷의 유료부하에 시작 구획되어 있음을 알 수 있게 된다.That is, when the PUSI information is set to '1', a GOP (Group Of Picture) unit including at least one or more I-pictures at the head is divided into one packet, or The first byte of a PES packet defined to partition an I-picture, a P-picture (Predictive Picture), or a B-picture (Bidirectionally Predictive coded Picture) into a single packet is the first byte of the corresponding transport packet. It can be seen that the starting compartment is located in the payload.

예를 들어, 도 2에 도시한 바와 같이, 제1 트랜스포트 패킷(TSP1)의 헤더 정보에 포함 기록된 PUSI 정보가 '1'이고, 이후 제7 트랜스포트 패킷(TSP7)의 헤더 정보에 포함 기록된 PUSI 정보가 '1'인 경우, 상기 제1 내지 제6 트랜스포트 패킷(TSP1∼TSP6)의 유료부하에는, 지오피 단위 또는 픽처 단위로 구획된 하나의 피이에스(PES) 패킷이 분할 기록되어 있음을 알 수 있게 된다.For example, as shown in FIG. 2, the PUSI information recorded in the header information of the first transport packet TSP1 is '1', and then recorded in the header information of the seventh transport packet TSP7. When the PUSI information is '1', one PES packet divided into geo-pi or picture units is separately recorded in the payloads of the first to sixth transport packets TSP1 to TSP6. You will know.

그리고, 상기와 같이 PUSI 정보가 '1'로 각각 설정된 트랜스포트 패킷들(TSP1, TSP7)간의 이격 데이터 길이(Data Length), 또는 상기 '1'의 PUSI 정보가 각각 검출된 시간간격(Time Interval)은, 상기 피이에스(PES) 패킷이, 지오피(GOP) 단위로 구획되어 있는 지 또는 픽처 단위로 구획되어 있는 지에 따라, 통계적으로 서로 다르게 검출된다.As described above, the data length between transport packets TSP1 and TSP7 having PUSI information set to '1', or a time interval for detecting PUSI information of '1', respectively. Is statistically different from each other depending on whether the PES packet is partitioned by a GOP unit or by a picture unit.

예를 들어, 상기 피이에스 패킷이, 지오피 단위로 구획되어 있는 경우, 상기 이격 데이터 길이 또는 시간간격은, 상기 피이에스 패킷이 픽처 단위로 구획되어 있는 경우에 비해 상대적으로 긴 데이터 길이 또는 시간간격을 갖게 되므로, 그 데이터 길이 또는 시간간격을 통계적으로 비교하여, 상기 피이에스 패킷이 지오피 단위 또는 픽처 단위로 구획되었는 지를 확인할 수 있게 된다.For example, when the PS packet is partitioned in units of geopis, the spacing data length or time interval has a relatively long data length or time interval as compared to the case where the PS packet is partitioned in picture units. Since the data lengths or time intervals are statistically compared, it is possible to confirm whether the PS packet is divided into a geopi or a picture unit.

이에 따라, 상기 PUSI 정보가 '1'로 설정되어 있는 트랜스포트 패킷의 기록위치를 각각 랜덤 억세스하기 위한 탐색정보를 인덱스(Index) 정보로 생성 기록함과 아울러, 그 인덱스 정보들이 지오피 단위의 선두 기록위치를 지시하는 인덱스 정보인 지 또는 픽처 단위의 선두 기록위치를 지시하는 인덱스 정보인 지를 식별할수 있도록, 별도의 식별정보를 부가 기록하거나 또는 인덱스 파일의 파일명을 서로 다르게 생성 기록할 수 있게 된다.Accordingly, the search information for random access to the recording position of the transport packet in which the PUSI information is set to '1' is generated and recorded as index information, and the index information is the first recording position in the unit of geopy. It is possible to additionally record additional identification information or to generate and record different file names of the index file so as to identify whether the index information indicates the index information or the index information indicating the head recording position of each picture unit.

예를 들어, 상기 인덱스 정보가 지오피 단위의 선두 기록위치를 지시하는 탐색정보인 경우, 그 인덱스 파일에 대한 파일명을 'G_Index.xx'로 지정하고, 상기 인덱스 정보가 픽처 단위의 선두 기록위치를 지시하는 탐색정보인 경우에는, 그 인덱스 파일에 대한 파일명을 'P_Index.xx'로 지정하여, 하드 디스크에 기록 저장하게 된다.For example, when the index information is search information indicating the head recording position in units of geopi, the file name of the index file is designated as 'G_Index.xx', and the index information indicates the head recording position in picture units. In the case of the search information, the file name of the index file is designated as 'P_Index.xx' and recorded and stored on the hard disk.

한편, 상기 확인결과, 피이에스 패킷이 픽처 단위로 구획된 경우, 상기 데이터 길이, 또는 시간간격은, 상기 피이에스 패킷이 I-픽처, P-픽처 또는 B-픽처에 해당하는 지에 따라 통계적으로 서로 다르게 검출된다.On the other hand, if the PS packet is divided into picture units, the data length or time interval is statistically different from each other depending on whether the PS packet corresponds to an I-picture, a P-picture, or a B-picture. Differently detected.

예를 들어, 상기 피이에스 패킷이, 픽처 단위 중 I-픽처에 해당하는 경우, 상기 이격 데이터 길이, 또는 시간간격은, 상기 피이에스 패킷이 P-픽처에 해당하는 경우보다 상대적으로 긴 데이터 길이 또는 시간간격을 갖게 되고, 또한 상기 피이에스 패킷이 P-픽처에 해당하는 경우에는, 상기 피이에스 패킷이 B-픽처에 해당하는 경우보다 상대적으로 긴 데이터 길이 또는 시간간격을 갖게 된다.For example, when the PS packet corresponds to an I-picture in a picture unit, the spacing data length or time interval is a relatively longer data length than when the PS packet corresponds to a P-picture or If the PS packet corresponds to the P-picture, the PS packet has a relatively longer data length or time interval than that of the B-picture.

따라서, 상기 픽처 단위로 구획된 피이에스 패킷의 유형을 구별 확인한 후, 그 패킷의 유형을 식별할 수 있도록 하기 위한 식별정보를, 해당 인덱스 정보에 연계 기록할 수 있게 되는 데, 이때 동일한 방송 프로그램에서는, 상기 피이에스 패킷의 단위를 지오피 단위 또는 픽처 단위 중 어느 하나로 고정시켜 전송하게 된다.Therefore, after discriminating and checking the type of the PS packet partitioned by the picture unit, identification information for identifying the type of the packet can be recorded in association with the corresponding index information. In this case, the PS packet is fixed to one of a geopi unit and a picture unit to be transmitted.

한편, 상기와 같은 과정을 통해, 하드 디스크(HDD)에 기록 저장되는 MPEG 트랜스포트 스트림(TS)에 대한 최적의 랜덤 억세스 단위를 검출 확인한 후, 그 랜덤 억세스 단위에 대응되는 인덱스 파일(Index File)을 생성 기록동작에 대해 상세히 설명하면 다음과 같다.On the other hand, after detecting the optimal random access unit for the MPEG transport stream (TS) recorded and stored on the hard disk (HDD) through the above process, the index file corresponding to the random access unit (Index File) The following describes the generation recording operation in detail.

도 3은, 본 발명이 적용되는 디지털 방송수신기에 대한 구성을 개략적으로 도시한 것으로, 상기 디지털 방송수신기에는, 다수의 디지털 방송 프로그램이 다중화된 멀티 프로그램의 트랜스포트 스트림(MPTS: Multi-Program TS) 중 임의의 한 단일 프로그램의 트랜스포트 스트림(SPTS: Single Program TS)을 선택 출력하기 위한 디멀티플렉서(Demultiplexer)(10); 상기 임의의 한 단일 프로그램의 트랜스포트 스트림을 구성하는 188 바이트의 트랜스포트 패킷들과, 그 트랜스포트 패킷의 헤더 정보를 분리 출력하기 위한 파서(Paser)(11); 상기 파서를 통해 출력되는 트랜스포트 패킷을 임시 저장한 후, 소정 기록크기 단위로 하드 디스크(13)에 기록 저장하기 위한 버퍼 메모리(12); 상기 버퍼 메모리에 임시 저장된 트랜스포트 패킷들이 스크램블(Scramble)된 암호화 데이터인 경우, 그 암호화 데이터를 해독 처리하기 위한 디스크램블러(Descrambler)(14); 비 암호화 데이터를 디코딩하여, 원래의 비디오 및 오디오 신호로 복원 출력하기 위한 디코더(15); 상기 파서를 통해 분리 출력되는 헤더 정보에 근거하여, 상기 하드 디스크(13)에 기록 저장된 트랜스포트 스트림을 랜덤 억세스하기 위한 인덱스 파일을 생성하는 인덱스 파일 생성부(17); 그리고 사용자 요청에 따라, 상기 하드 디스크에 기록 저장된 트랜스포트 스트림에 대한 재생 또는 변속 재생동작이 수행되도록 각 구성수단을 동작 제어하는마이컴(16)이 포함 구성될 수 있다.FIG. 3 schematically shows a configuration of a digital broadcast receiver to which the present invention is applied. The digital broadcast receiver includes a multi-program transport stream (MPTS: Multi-Program TS) multiplexed with a plurality of digital broadcast programs. A demultiplexer 10 for selectively outputting a transport stream (SPTS: Single Program TS) of any one of the following: A parser (11) for separately outputting 188-byte transport packets constituting the transport stream of any one single program and header information of the transport packet; A buffer memory 12 for temporarily storing a transport packet output through the parser and then storing the transport packet on a hard disk 13 in units of a predetermined recording size; A descrambler 14 for decrypting the encrypted data when the transport packets temporarily stored in the buffer memory are scrambled encrypted data; A decoder 15 for decoding unencrypted data and restoring and outputting the original video and audio signal; An index file generation unit (17) for generating an index file for randomly accessing a transport stream recorded and stored in the hard disk (13) based on the header information separately output through the parser; And, according to the user's request, it can be configured to include a microcomputer 16 for controlling the operation of each component means to perform the reproduction or shift reproduction operation for the transport stream recorded on the hard disk.

한편, 상기 하드 디스크(13)의 기록용량을, 40 GBytes로 할 경우, 이론상 최대 16MBps로 전송 수신되는 MPEG 트랜스포트 스트림을 약 330분 정도 기록 저장할 수 있으며, 상기 인덱스 파일 생성부(17)에 의해 생성되는 인덱스 파일을, 상기 MPEG 트랜스포트 스트림과 연계되어, 상기 하드 디스크에 기록 저장된다.On the other hand, when the recording capacity of the hard disk 13 is 40 GBytes, theoretically, the MPEG transport stream transmitted and received at a maximum of 16 MBps can be recorded and stored for about 330 minutes, and the index file generator 17 The generated index file is recorded and stored in the hard disk in association with the MPEG transport stream.

또한, 상기 마이컴(16)은, 상기 각 구성수단을 동작 제어하여, 사용자가 선택 지정한 임의의 한 디지털 방송 프로그램과, 그 방송 프로그램의 트랜스포트 스트림을 랜덤 억세스하기 위한 인덱스 파일이, 상기 하드 디스크(13)에 기록 저장되도록 함과 아울러, 사용자가 임의의 재생 요청시간을 선택 지정하는 경우, 그 재생 요청시간에 대응되는 데이터 기록위치를, 상기 인덱스 파일에 근거하여, 탐색한 후 재생 출력하기 위한 재생 제어동작, 즉 시간 기준의 트릭 플레이(Time based Trick Play) 동작을 제어하게 된다.In addition, the microcomputer 16 operates and controls the respective constituent means so that any one digital broadcast program selected by a user and an index file for randomly accessing a transport stream of the broadcast program are stored in the hard disk ( 13), and when the user selects and specifies an arbitrary playback request time, the playback for searching and outputting the data recording position corresponding to the playback request time on the basis of the index file and then outputting the data. Control operation, that is, time based trick play operation is controlled.

그리고, 상기 인덱스 파일 생성부(17)에는, 도 4에 도시한 바와 같이, 상기 파서(11)를 통해 분리 출력되는 4 바이트의 헤더 정보를 검출 확인한 후, 도 1 및 도 2를 참조로 전술한 바와 같이, 상기 PUSI 정보가 '1'로 설정되어 있는 경우, 이를 알리는 검출신호를 출력하는 헤더 정보 검출기(170); 상기 검출신호에 따라, 해당 트랜스포트 패킷(TSP)이 기록된 기록 위치를 인덱스 위치정보(Index_Add)로 기록하고, 그 시점에 카운트된 시간정보(Index_Time)를, 인덱스 파일에 관리정보로서 부가 기록하는 인덱스 정보 기록기(171); 상기 인덱스 위치정보를 생성 기록하는 데 필요한 클럭을 제공하는 클럭 발생기(172); 그리고 상기 인덱스 위치정보가 지오피(GOP) 단위 또는 픽처(Picture) 단위로 랜덤 억세스하기 위한 탐색정보인 지를 확인한 후, 이를 식별할 수 있는 파일명의 인덱스 파일을 생성하는 인덱스 파일 생성기(173)가 포함 구성될 수 있다.The index file generation unit 17 detects and confirms the header information of 4 bytes separately output through the parser 11 as shown in FIG. 4, and then, as described above with reference to FIGS. 1 and 2. As described above, when the PUSI information is set to '1', the header information detector 170 outputs a detection signal informing of this; According to the detection signal, the recording position at which the transport packet TSP is recorded is recorded as index position information (Index_Add), and time information (Index_Time) counted at that time is additionally recorded in the index file as management information. Index information recorder 171; A clock generator 172 for providing a clock required for generating and recording the index position information; The index file generator 173 may include an index file generator 173 that checks whether the index position information is search information for random access in units of a GOP or picture, and generates an index file of a file name for identifying the index information. Can be.

이에 따라, 상기 헤더 정보 검출기(170)에서는, 트랜스포트 패킷(TSP)의 헤더 정보에 포함 구성되는 PUSI 정보가 '1'로 설정되어 있는 경우, 예를 들어 도 5에 도시한 바와 같이, 제1 트랜스포트 패킷(TSP1)의 헤더 정보에 포함 구성된 PUSI 정보가 '1'로 설정되어 있는 경우, 이를 알리기 위한 검출신호를, 인덱스 정보 기록기(171)로 출력하게 되고, 상기 인덱스 정보 기록기(171)에서는, 상기 하드 디스크(13)에 기록 저장된 제1 트랜스포트 패킷(TSP1)의 기록 위치를 제1 인덱스 위치정보(Index 1_Add)로 기록하게 되며, 이후 제7 트랜스포트 패킷(TSP7)의 헤더 정보에 포함 구성된 PUSI 정보가 '1'로 설정되어 있는 경우, 상기 헤더 정보 검출기(170)에서는, 이를 알리기 위한 검출신호를, 인덱스 정보 기록기(171)로 다시 출력하게 되고, 상기 인덱스 정보 기록기(171)에서는, 상기 하드 디스크(13)에 기록 저장된 제7 트랜스포트 패킷(TSP7)의 기록 위치를 제2 인덱스 위치정보(Index 2_Add)로 기록하게 되는 일련의 동작을 반복 수행하게 된다,Accordingly, in the header information detector 170, when the PUSI information included in the header information of the transport packet (TSP) is set to '1', for example, as shown in FIG. When the PUSI information included in the header information of the transport packet TSP1 is set to '1', a detection signal for informing this is output to the index information recorder 171, and the index information recorder 171 The recording position of the first transport packet TSP1 recorded and stored in the hard disk 13 is recorded as first index position information Index 1_Add, which is then included in the header information of the seventh transport packet TSP7. When the configured PUSI information is set to '1', the header information detector 170 outputs a detection signal for informing this to the index information recorder 171, and the index information recorder 171, Above And performs a series of operations for the recording position of the disc record stored in the seventh transport packet (TSP7) to 13 which is recorded in the second index information (Index 2_Add) repeat,

한편, 상기 인덱스 정보 기록기(171)에서는, 상기와 같이 PUSI 정보가 '1'로 각각 검출되는 시간 간격을 카운트하여, 현재의 방송 채널을 통해 수신되는 디지털 방송 프로그램을 랜덤 억세스할 수 있는 지오피 단위 또는 픽처 단위들을 재생하는 데 소요되는 인덱스 시간정보(Index_Time)를 생성하여, 상기 인덱스 파일 내에, 현재의 방송 채널을 나타내는 정보, 즉 방송 채널정보(BS_Channel)와 함께 관리정보로서 부가 기록하게 된다.Meanwhile, the index information recorder 171 counts a time interval in which the PUSI information is detected as '1', respectively, as described above, and allows the geo-program to randomly access the digital broadcast program received through the current broadcast channel. Index time information (Index_Time) required to reproduce picture units is generated and additionally recorded in the index file as management information together with information representing a current broadcast channel, that is, broadcast channel information BS_Channel.

참고로, 상기 방송 채널정보와 인덱스 시간정보는, 상기 인덱스 파일과는 별도로 기록 저장될 수 있는 데, 이 경우 해당 인덱스 파일과의 연계를 위한 링크(Link) 정보가, 상기 방송 채널정보 및 인덱스 시간정보와 함께 부가 기록되어야 한다.For reference, the broadcast channel information and the index time information may be recorded and stored separately from the index file. In this case, link information for linkage with the corresponding index file may include the broadcast channel information and the index time. An additional record shall be recorded with the information.

그리고, 상기 인덱스 파일 생성기(173)에서는, 상기 마이컴(173)으로부터 인덱스 파일 기록을 요구하는 신호가 수신되는 경우, 예를 들어 사용자가 상기 하드 디스크(13)에 기록 저장된 방송 프로그램을 재생 요청하는 경우, 상기 마이컴(16)으로부터, 상기 인덱스 파일을 생성 기록할 것을 요구하는 신호가, 상기 인덱스 파일 생성기(173)로 출력될 수 있는 데, 이때 상기 인덱스 파일 생성기에서는, 상기 인덱스 정보 기록기(171)에 의해 생성 기록된 인덱스 위치정보들간의 각 이격 데이터 길이(Data Length)들을 통계적으로 산출한 후, 그 평균 데이터 길이를, 도 6에 도시한 바와 같이, 사전에 설정된 기준 데이터 길이, 예를 들어 150 KByte의 기준값(Threshold)과 비교하게 된다.In the index file generator 173, when a signal for requesting index file recording is received from the microcomputer 173, for example, when the user requests to play a broadcast program recorded and stored on the hard disk 13, A signal requesting generation and recording of the index file from the microcomputer 16 may be output to the index file generator 173, in which the index file generator may transmit the signal to the index information recorder 171. After calculating statistically the respective data lengths (Data Length) between the index position information generated and recorded, the average data length, as shown in Fig. 6, the preset reference data length, for example 150 KByte It is compared with the threshold of.

그리고, 상기 통계적으로 산출된 평균 데이터 길이가, 상기 기준값을 초과하는 경우, 상기 인덱스 파일 생성기에서는, 상기 인덱스 위치정보들이 지오피(GOP) 단위의 랜덤 억세스를 위한 인덱스 위치정보라고 판별하게 되고, 상기 통계적으로 산출된 데이터 길이가, 도 7에 도시한 바와 같이, 상기 기준값에 미만이 되는 경우, 상기 인덱스 위치정보들이 픽처 단위의 랜덤 억세스를 위한 인덱스 정보라고 판별하게 된다.When the statistically calculated average data length exceeds the reference value, the index file generator determines that the index location information is index location information for random access in a GOP unit, and the statistical As shown in FIG. 7, when the calculated data length is less than the reference value, it is determined that the index position information is index information for random access on a picture basis.

한편, 상기와 같이 인덱스 위치정보들이 픽처 단위의 랜덤 억세스를 위한 인덱스 정보라고 판별되는 경우, 상기 인덱스 파일 생성기(173)에서는, 도 1 및 도 2를 참조로 전술한 바와 같이, 상기 인덱스 위치정보들간의 각 이격 데이터 길이를 각각 산출하여 상호 비교한 후, 그 중 상대적으로 가장 긴 데이터 길이를 갖는 선두 인덱스 위치정보를 I-픽처 선두에 해당하는 트랜스포트 패킷의 기록위치라고 판별하게 되고, 그 다음 번째로 긴 데이터 길이를 갖는 선두 인덱스 위치정보를 P-픽처 선두에 해당하는 트랜스포트 패킷의 기록위치, 그리고 가장 짧은 데이터 길이를 갖는 선두 인덱스 위치정보를 B-픽처 선두에 해당하는 트랜스포트 패킷의 기록위치라고 각각 판별하여, 해당 픽처의 유형을 식별할 수 있는 식별정보와 함께, 상기 픽처 단위의 인덱스 위치정보를, 'P_Index.xx' 파일로 생성하여, 상기 하드 디스크(13)에 기록 저장하게 된다.Meanwhile, when it is determined that the index position information is index information for random access on a picture basis as described above, in the index file generator 173, as described above with reference to FIGS. 1 and 2, between the index position information After calculating each of the spaced apart data lengths and comparing them with each other, the head index position information having the relatively longest data length is determined as the recording position of the transport packet corresponding to the head of the I-picture. Recording position of the transport packet corresponding to the beginning of the P-picture with the head index position information having a long data length, and recording position of the transport packet corresponding to the beginning of the B-picture with the head index position information having the shortest data length. And the identification information to identify the type of the corresponding picture, and on the index of the picture unit Information, generates a 'P_Index.xx' file, is recorded and stored in the hard disk 13.

그리고, 상기 인덱스 파일 생성기(173)에서, 상기 인덱스 위치정보들이 지오피(GOP) 단위의 트랜스포트 스트림을 억세스하기 위한 인덱스 위치정보라고 판별하게 되는 경우, 상기 'P_Index.xx' 파일과는 구분되는 파일명, 예를 들어 'G_Index.xx' 파일을 생성하여, 상기 하드 디스크(13)에 기록 저장하게 된다,When the index file generator 173 determines that the index position information is index position information for accessing a transport stream in a GOP unit, a file name distinguished from the 'P_Index.xx' file For example, a 'G_Index.xx' file is generated and stored in the hard disk 13.

참고로, 상기 하드 디스크에 기록되는 인덱스 파일의 파일명은 또다른 다양한 형태의 파일명으로 생성 기록될 수 있으며, 또한 상기 인덱스 파일 생성기(173)에서는, 상기와 같이 서로 다른 파일명으로 구분 기록되는 'P_Index.xx' 파일과 'G_Index.xx' 파일을 'Index.xx'와 같이 동일한 파일명으로 생성 기록함과 아울러, 그 인덱스 파일이 지오피 단위 또는 픽처 단위를 억세스하기 위한 탐색정보인 지를식별할 수 있도록 하기 위한 별도의 식별정보를 해당 파일에 부가 기록시킬 수도 있다.For reference, a file name of an index file recorded on the hard disk may be generated and recorded as another various file names, and in the index file generator 173, 'P_Index. xx 'and' G_Index.xx 'files are created and recorded with the same file name as' Index.xx', and a separate file can be used to identify whether the index file is search information for accessing the geopi unit or picture unit. The identification information may be additionally recorded in the file.

이하, 본 발명에 따른 디지털 방송수신기에서의 데이터 재생방법에 대한 바람직한 실시예에 대해, 상세히 설명하면 다음과 같다.Hereinafter, a preferred embodiment of a data reproduction method in a digital broadcast receiver according to the present invention will be described in detail.

먼저, 상기 하드 디스크(13)에는, 예를 들어 도 8에 도시한 바와 같이, 'G_Index.xx'라는 파일명을 갖는 인덱스 파일이, 그에 대응되는 방송 프로그램의 트랜스포트 스트림과 연계 기록될 수 있으며, 또한 상기 인덱스 파일에는, 방송 채널정보(BS_Channel)와 인덱스 시간정보(Index_Time)가 관리정보로서 부가 기록될 수 있는 데, 상기 인덱스 파일에 포함 기록된 인덱스 위치정보들은, 상기 트랜스포트 스트림을 지오피 단위로 랜덤 억세스하기 위한 인덱스 위치정보(GOP_Add)로서 기록되는 것으로, 그 인덱스 위치정보는 각 지오피 단위의 선두 트랜스포트 패킷을 지시하게 되므로, 결국 각 지오피 단위의 선두에 해당하는 I-픽처의 첫 번째 트랜스포트 패킷의 기록위치를 지시하게 된다.First, as illustrated in FIG. 8, for example, an index file having a file name of 'G_Index.xx' may be recorded in association with a transport stream of a broadcast program corresponding thereto. In addition, broadcast channel information (BS_Channel) and index time information (Index_Time) may be additionally recorded as management information in the index file. Index position information recorded in the index file includes the transport stream in units of geopees. It is recorded as index position information (GOP_Add) for random access. Since the index position information indicates the first transport packet of each geophysical unit, the first transport of the I-picture corresponding to the beginning of each geophysical unit is eventually obtained. The recording position of the packet is indicated.

한편, 상기 마이컴(16)에서는, 사용자가 시간 기준으로 트릭 플레이(Time Based Trick Play)를 재생 요청하는 경우, 예를 들어 현재 재생 중인 데이터 기록위치에서부터 '1 분 이전'의 기록위치를 탐색 재생할 것을 선택 지정하는 경우, 상기 디스크램블러(14)를 통해 디스크램블된 트랜스포트 패킷의 유료부하(Payload)에 포함 기록된 프레젠테이션 시간정보(PTS: Presentation Time Stamp)를 검색 독출하여, 그 PTS 정보를 확인하게 되는 데, 상기 PTS 정보는, MPEG 시스템에서 기준 복호기 내부의 동기 클럭인 STC(System Time Clock)와 일치하는 시점에 그 억세스 단위를 재생 출력하도록 정의된 시간정보로서, 상기 마이컴(16)에서는 이를 확인하여, 사용자가 요청한 재생 요청시간에 대응되는 데이터 기록위치를 탐색하게 된다.On the other hand, in the microcomputer 16, when the user requests to play a time-based trick play (Time Based Trick Play), for example, to search and play the recording position of 'one minute before' from the data recording position currently being played. In the case of selection and designation, the presentation time stamp (PTS) recorded in the payload of the transport packet descrambled by the descrambler 14 is searched and read to confirm the PTS information. The PTS information is time information defined to reproduce and output the access unit when the MPEG system matches the STC (System Time Clock), which is a synchronous clock inside the reference decoder, and the microcomputer 16 confirms this. Thus, the data recording position corresponding to the reproduction request time requested by the user is searched.

즉, 상기 프레젠테이션 시간정보가 '50min'에 해당하는 시간 값을 갖고, 상기 인덱스 파일에 관리정보로서 부가 기록된 인덱스 시간정보가 '1sec'에 해당하는 시간 값을 갖는 경우, 상기 마이컴(16)에서는, 현재의 데이터 기록위치에 대응되는 특정 인덱스 위치정보(GOP 65_Add)에서부터, 60 번째(60 X 1sec = 1 min) 이전의 인덱스 위치정보(GOP 5_Add)로 점핑한 후, 그 점핑된 인덱스 위치정보가 지시하는 데이터 기록위치, 즉, 60 번째 이전에 기록된 지오피 단위의 선두 I-픽처를 탐색 및 재생 출력하게 된다.That is, when the presentation time information has a time value corresponding to '50min', and the index time information additionally recorded as management information in the index file has a time value corresponding to '1 sec', the microcomputer 16 generates information. After jumping from the specific index position information (GOP 65_Add) corresponding to the current data recording position to the index position information (GOP 5_Add) before the 60th (60 X 1sec = 1 min), the jumped index position information is The data recording position to be indicated, that is, the first I-picture in the 60th-previously recorded Geophysical unit is searched and reproduced.

한편, 상기 하드 디스크(13)에는, 도 9에 도시한 바와 같이, 'P_Index.xx'라는 파일명을 갖는 인덱스 파일이, 그에 대응되는 방송 프로그램의 트랜스포트 스트림과 연계 기록될 수 있으며, 또한 상기 인덱스 파일에는, 방송 채널정보(BS_Channel)와 인덱스 시간정보(Index_Time)가 관리정보로서 부가 기록될 수 있다,On the other hand, in the hard disk 13, as shown in FIG. 9, an index file having a file name of 'P_Index.xx' can be recorded in association with a transport stream of a broadcast program corresponding thereto. In the file, broadcast channel information BS_Channel and index time information Index_Time may be additionally recorded as management information.

그리고, 상기 인덱스 파일에 포함 기록된 인덱스 위치정보들은, 상기 트랜스포트 스트림을 픽처 단위로 랜덤 억세스하기 위한 인덱스 위치정보(Pic_Add)로서 기록될 수 있는 데, 그 인덱스 위치정보는 각 픽처 단위의 선두 트랜스포트 패킷을 지시하게 되므로, 결국 각 픽처 단위의 선두에 해당하는 첫 번째 트랜스포트 패킷의 기록위치를 지시하게 된다.The index position information included in the index file may be recorded as index position information Pic_Add for randomly accessing the transport stream on a picture basis, and the index position information may correspond to a head trans of each picture unit. Since the port packet is indicated, the recording position of the first transport packet corresponding to the head of each picture unit is eventually indicated.

따라서, 전술한 바와 같이, 사용자가 시간 기준으로 트릭 플레이(Time Based Trick Play)를 재생 요청하는 경우, 예를 들어 현재 재생 중인 데이터 기록위치에서부터 '1 분 이전'의 기록위치를 탐색 재생할 것을 선택 지정하는 경우, 상기 디스크램블러(14)를 통해 디스크램블된 트랜스포트 패킷의 유료부하(Payload)에 포함 기록된 PTS 정보를 독출 및 확인하여, 사용자가 요청한 재생 요청시간에 대응되는 데이터 기록위치를 탐색하게 된다.Therefore, as described above, when the user requests playback of Time Based Trick Play, for example, selects to search and play the recording position of 'one minute before' from the data recording position currently being played. In this case, the PTS information included in the payload of the descrambled transport packet is read and checked through the descrambler 14 to search for a data recording position corresponding to the reproduction request time requested by the user. do.

즉, 상기 프레젠테이션 시간정보가 '50min'에 해당하는 시간 값을 갖고, 상기 인덱스 파일에 관리정보로서 부가 기록된 인덱스 시간정보가 '1/30 sec'에 해당하는 시간 값을 갖는 경우, 상기 마이컴(16)에서는, 현재의 데이터 기록위치에 대응되는 특정 인덱스 위치정보에서부터, 1800 번째(1800 X 1/30 sec = 1 min) 이전의 인덱스 위치정보로 점핑하게 된다.That is, when the presentation time information has a time value corresponding to '50min' and the index time information additionally recorded as management information in the index file has a time value corresponding to '1/30 sec', the microcomputer ( In 16), jump from the specific index position information corresponding to the current data recording position to the index position information before the 1800th (1800 X 1/30 sec = 1 min).

그리고, 그 점핑된 인덱스 위치정보가 I-픽처에 대응되는 인덱스 위치정보인 지를 확인하게되고. 상기 확인결과 I-픽처가 아닌 경우, 예를 들어 도 9에 도시한 바와 같이, B-픽처에 해당하는 경우에는, 그 이전에 가장 인접된 I-픽처를 지시하는 인덱스 위치정보를 검색하고, 그 인덱스 위치정보가 지시하는 I-픽처의 선두 트랜스포트 패킷을 독출 재생하게 된다.Then, it is checked whether the jumped index position information is index position information corresponding to the I-picture. If the result of the check is not an I-picture, for example, as shown in FIG. 9, when it corresponds to a B-picture, index position information indicating the nearest I-picture is searched for, and the The first transport packet of the I-picture indicated by the index position information is read and reproduced.

따라서, 사용자는 상기 하드 디스크(13)에 기록 저장된 방송 프로그램을 재생 시청하던 도중, 자신이 원하는 데이터 기록위치를, 시간을 기준으로 선택 지정하여, 해당 시간에 대응되는 기록위치에서부터 재생동작이 수행되도록 할 수 있게 되는 것이다.Therefore, while the user plays back and watches the broadcast program recorded on the hard disk 13, the user selects and designates a desired data recording position based on time, so that the playback operation can be performed from the recording position corresponding to the corresponding time. You can do it.

한편, 사용자가 선택 지정한 재생 요청시간에 대응되는 데이터 기록위치가, 현재 재생 출력되는 데이터 기록위치에서의 방송 프로그램과 상이한 경우, 예를 들어 도 10에 도시한 바와 같이, 현재 재생 출력되는 데이터는, 방송채널 # N을 통해 기록 저장된 방송프로그램 1로서, 랜덤 억세스 단위가 픽처 단위이고, 사용자가 재생 요청한 기록위치에서의 데이터는, 방송채널 # K를 통해 기록 저장된 방송 프로그램 2로서 랜덤 억세스 단위가 지오피 단위인 경우, 상기 방송 프로그램 1에 해당하는 지오피 단위의 재생 소요시간인 인덱스 시간정보(Index_Time= S 초)와, 상기 방송 프로그램 2에 해당하는 픽처 단위의 재생 소요시간인 인덱스 시간정보(Index_Time= P 초, P < S )는 서로다른 시간 값을 갖게 된다.On the other hand, if the data recording position corresponding to the playback request time selected and selected by the user is different from the broadcast program at the data recording position currently being reproduced and output, as shown in FIG. The broadcast program 1 recorded and stored through the broadcast channel #N, wherein the random access unit is a picture unit, and the data at the recording position requested by the user is the broadcast program 2 recorded and stored through the broadcast channel #K, and the random access unit is the geopi unit. In this case, the index time information (Index_Time = S seconds), which is the playback time in units of the geophysical unit corresponding to the broadcast program 1, and the index time information (Index_Time = P seconds, which is the playback time in the unit of the picture corresponding to the broadcast program 2; , P <S) will have different time values.

따라서, 상기 마이컴(16)에서는, 각 방송 프로그램의 인덱스 파일에 부가 기록된 방송 채널(BS_Channel) 정보들을 각각 검색 비교한 후, 도 8 및 도 9를 참조로 전술한 바와 같이, 사용자가 요청한 데이터 기록위치를 탐색하기 위한 인덱스 위치정보를, 각 방송 프로그램별로 구분하여 서로 다르게 탐색한 후, 그 인덱스 위치정보가 지시하는 데이터 기록위치, 즉 방송 프로그램 1의 특정 지오피 단위의 선두 I-픽처를 탐색 및 재생 출력하게 된다.Accordingly, the microcomputer 16 searches and compares broadcast channel (BS_Channel) information additionally recorded in the index file of each broadcast program, and then records data requested by the user as described above with reference to FIGS. 8 and 9. The index position information for searching the position is searched differently by dividing each broadcasting program, and then searching and playing the data recording position indicated by the index position information, that is, the head I-picture of a specific geopi unit of the broadcasting program 1 Will print.

한편, 상기와 같은 과정을 통해 탐색된 인덱스 위치정보가, B-픽처 단위의 선두를 지시하는 정보인 경우에는, 도 9를 참조로 전술한 바와 같이, 그 이전에 가장 인접된 I-픽처를 지시하는 인덱스 위치정보를 검색하고, 그 인덱스 위치정보가 지시하는 I-픽처의 선두 트랜스포트 패킷을 독출 재생하게 된다.On the other hand, when the index position information searched through the above process is information indicating the head of the B-picture unit, as described above with reference to FIG. 9, the nearest I-picture is indicated earlier. Index position information is retrieved, and the first transport packet of the I-picture indicated by the index position information is read and reproduced.

참고로, 상기 인덱스 파일을 지오피 단위 또는 픽처 단위로 구별하지 않고생성 기록할 수도 있으며, 또한 상기 인덱스 위치정보는 랜덤 억세스 단위의 선두 시작 위치정보 대신 끝 위치정보가 대체 기록될 수도 있다,For reference, the index file may be generated and recorded without being distinguished in units of geopi or pictures, and the end position information may be alternatively recorded instead of the head start position information of a random access unit.

그리고, 하나의 지오피는, 통상적으로 12 개의 픽처로 구성될 수 있으며, 또한 각 픽처의 재생 소요시간은, 1 초당 25 프레임 또는 50 필드가 재생 출력되거나, 또는 1 초당 30 프레임 또는 60 필드가 재생될 수 있으므로, 이를 바탕으로 각 픽처 당 재생 소요시간을 산출할 수 있게 된다.In addition, one geop may be typically composed of 12 pictures, and the playback time of each picture may be reproduced or outputted at 25 frames or 50 fields per second, or at 30 frames or 60 fields per second. Therefore, it is possible to calculate the reproduction time required for each picture based on this.

또한, 하나의 지오피(GOP) 내에 포함되는 픽처 개수는, 상기 트랜스포트 패킷의 유료부하 포함 기록된 픽처 시작 코드(Picture_start_Code) 정보를 검출 및 카운트하여, 그 개수를 확인할 수 있다.In addition, the number of pictures included in one GOP may detect and count information of recorded picture start code (Picture_start_Code) including payload of the transport packet to determine the number.

이상 전술한 본 발명의 바람직한 실시예는, 예시의 목적을 위해 개시된 것으로, 이하 첨부된 특허청구범위에 개시된 본 발명의 기술적 사상과 그 기술적 범위 내에서, 또다른 다양한 실시예들을 개량, 변경, 대체 또는 부가 등이 가능할 것이다.The above-described preferred embodiments of the present invention are disclosed for purposes of illustration, and within the technical spirit and scope of the present invention disclosed in the appended claims, various other embodiments are improved, changed, replaced Or addition may be possible.

상기와 같이 구성 및 이루어지는 본 발명에 따른 디지털 방송 프로그램 데이터 재생방법은, 셋탑 박스(STB)와 같은 디지털 방송수신기 내에 포함 구비된 하드 디스크(HDD)와 같은 기록매체에 기록 저장되는 MPEG 트랜스포트 스트림(TS)에 대한 탐색정보 파일(Index File)을 생성 기록하고, 사용자가 선택 지정하는 임의의 재생 요청시간에 대응되는 데이터 기록위치를, 상기 탐색정보 파일에 기록된 탐색정보를이용하여 탐색한 후, 그 데이터 기록위치에서부터 재생동작이 수행되도록 함으로써, 사용자가 선택 지정한 시간을 기준으로 트릭 플레이(Time Based Trick Play) 동작이 가능하게 되어, 사용상의 편리성을 극대화시킬 수 있게 되는 매우 유용한 발명인 것이다.The digital broadcast program data reproducing method according to the present invention constituted and constructed as described above includes an MPEG transport stream recorded on a recording medium such as a hard disk (HDD) included in a digital broadcast receiver such as a set-top box (STB). After generating and recording a search information file (TS) for TS) and searching for a data recording position corresponding to an arbitrary playback request time selected by the user using the search information recorded in the search information file, By allowing the playback operation to be performed from the data recording position, a time-based trick play operation can be performed on the basis of the time selected by the user, which is a very useful invention that can maximize the convenience of use.

Claims (4)

디지털 방송 프로그램 데이터 재생방법에 있어서,In the digital broadcast program data reproduction method, 트랜스포트 스트림을 구성하는 트랜스포트 패킷의 헤더정보에 포함된 유료부하 단위 시작 지시정보에 따라 해당 트랜스포트 패킷들의 기록위치를 각각 인덱스 위치정보로 생성 저장하는 1단계;Generating and storing the recording positions of the corresponding transport packets as index position information according to the payload unit start indication information included in the header information of the transport packet constituting the transport stream; 상기 인덱스 위치정보의 기록위치들간의 디스플레이 시간을 계산하는 2단계;Calculating display time between recording positions of the index position information; 상기 계산된 디스플레이 시간과, 시간을 기준으로 요청된 트릭 플레이 시간을 바탕으로, 그 요청시간에 대응되는 인덱스 위치정보를 검색하는 3단계; 및Searching for index position information corresponding to the requested time based on the calculated display time and the trick play time requested based on the time; And 상기 인덱스 위치정보에 해당하는 트랜스포트 패킷의 기록 위치로 점핑하여 데이터 재생동작을 수행하는 4단계를 포함하여 이루어지는 것을 특징으로 하는 디지털 방송 프로그램 데이터 재생방법.And performing a data reproduction operation by jumping to a recording position of a transport packet corresponding to the index position information. 제 1항에 있어서,The method of claim 1, 상기 1단계는, 상기 인덱스 위치정보들간의 데이터 이격거리 또는 생성 시간간격을 통계적으로 계산 확인하여, 상기 인덱스 위치정보가 픽처 단위의 기록위치를 지시하는 지, 또는 지오피 단위의 기록위치를 지시하는 지를 판별한 후, 그 판별결과를 식별할 수 있는 정보를 부가 기록하는 것을 특징으로 하는 디지털 방송 프로그램 데이터 재생방법.In the step 1, the data separation distance or the generation time interval between the index position information is statistically calculated and checked to determine whether the index position information indicates a recording position in picture units or a recording position in geopi units. And additionally recording information for identifying the discrimination result after the discrimination. 제 1항 또는 제 3항에 있어서,The method according to claim 1 or 3, 상기 2단계는, 상기 인덱스 위치정보가 픽처 단위의 기록위치를 지시하는 경우, 그 픽처 단위가 프레임인 지 또는 필드인 지를 구별하여, 디스플레이 시간을 산출하고, 상기 인덱스 위정보가 지오피 단위의 기록위치를 지시하는 경우, 하나의 지오피 당 픽처의 개수와 하나의 픽처 당 디스플레이 시간을 계산하는 것을 특징으로 하는 디지털 방송 프로그램 데이터 재생방법.In the second step, when the index position information indicates a recording position in picture units, a display time is calculated by distinguishing whether the picture unit is a frame or a field, and the index position information is a recording position in geopi units. In the case of indicating, the number of pictures per one geopie and the display time per one picture, characterized in that for calculating the digital broadcast program data. 제 1항에 있어서,The method of claim 1, 상기 인덱스 위치 정보들이 포함 기록되는 인덱스 위치정보 파일에는, 상기 생성된 각각의 인덱스 위치정보들과, 디지털 방송 채널정보, 지오피 당 픽처 개수정보, 픽처 당 디스플레이 시간정보, 그리고 해당 프로그램 시간정보가 포함 기록되는 것을 특징으로 하는 디지털 방송 프로그램 데이터 재생방법.In the index location information file including the index location information, each of the generated index location information, digital broadcast channel information, number of pictures per geoppy, display time information per picture, and corresponding program time information are recorded. Digital broadcast program data reproduction method characterized in that.
KR10-2001-0070561A 2001-10-29 2001-11-13 Method for reproducing digital broadcasting program data Expired - Fee Related KR100419499B1 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
KR10-2001-0070561A KR100419499B1 (en) 2001-11-13 2001-11-13 Method for reproducing digital broadcasting program data
DE60223483T DE60223483T2 (en) 2001-10-29 2002-09-17 A method of recording a digital broadcast program and time based replay of a recorded broadcast program and associated apparatus
EP02020823A EP1309195B1 (en) 2001-10-29 2002-09-17 Method for recording a digital broadcast program and time-based playback of a recorded broadcast program and apparatus therefor
US10/259,145 US8045843B2 (en) 2001-10-29 2002-09-27 Method for recording a digital broadcast program and time-based playback of a recorded broadcast program and apparatus therefor
JP2002304920A JP4226873B2 (en) 2001-10-29 2002-10-18 Digital broadcast program recording method and digital broadcast receiver
CNB021480176A CN100455004C (en) 2001-10-29 2002-10-22 Method and device for recording digital broadcast program and replaying the program based on time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
KR10-2001-0070561A KR100419499B1 (en) 2001-11-13 2001-11-13 Method for reproducing digital broadcasting program data

Publications (2)

Publication Number Publication Date
KR20030039595A true KR20030039595A (en) 2003-05-22
KR100419499B1 KR100419499B1 (en) 2004-02-19

Family

ID=29569283

Family Applications (1)

Application Number Title Priority Date Filing Date
KR10-2001-0070561A Expired - Fee Related KR100419499B1 (en) 2001-10-29 2001-11-13 Method for reproducing digital broadcasting program data

Country Status (1)

Country Link
KR (1) KR100419499B1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100492446B1 (en) * 2002-07-08 2005-07-01 (주)화인에스아이 System and method for pvr(personal video recorder)
KR100532278B1 (en) * 2003-07-31 2005-11-29 삼성전자주식회사 Mpts-spts splitting apparatus
KR20070079270A (en) * 2006-02-01 2007-08-06 삼성전자주식회사 DVR set-top box with multi-channel time shift support and control method
KR100775169B1 (en) * 2005-06-15 2007-11-12 엘지전자 주식회사 How to play a broadcast stream stored in a digital broadcast receiver
KR100807735B1 (en) * 2006-04-10 2008-02-28 삼성전자주식회사 Broadcasting data processing device and method in digital multimedia broadcasting terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100492446B1 (en) * 2002-07-08 2005-07-01 (주)화인에스아이 System and method for pvr(personal video recorder)
KR100532278B1 (en) * 2003-07-31 2005-11-29 삼성전자주식회사 Mpts-spts splitting apparatus
KR100775169B1 (en) * 2005-06-15 2007-11-12 엘지전자 주식회사 How to play a broadcast stream stored in a digital broadcast receiver
KR20070079270A (en) * 2006-02-01 2007-08-06 삼성전자주식회사 DVR set-top box with multi-channel time shift support and control method
KR100807735B1 (en) * 2006-04-10 2008-02-28 삼성전자주식회사 Broadcasting data processing device and method in digital multimedia broadcasting terminal

Also Published As

Publication number Publication date
KR100419499B1 (en) 2004-02-19

Similar Documents

Publication Publication Date Title
JP4226873B2 (en) Digital broadcast program recording method and digital broadcast receiver
US6470135B1 (en) Method and apparatus for recording digital data streams
KR100752482B1 (en) Multichannel stream recording and reproducing apparatus and method
JP2005039308A6 (en) Digital broadcast program recording method, reproduction method, and digital broadcast receiver
US20010036269A1 (en) Information transmitting method, information processing method and apparatus, and information recording and reproducing method and apparatus
KR100405975B1 (en) Method for stream jump
KR100419499B1 (en) Method for reproducing digital broadcasting program data
JP4852453B2 (en) Recording apparatus, video reproduction apparatus, and special reproduction method thereof
US7366402B2 (en) Method and apparatus of recording a high definition digital television broadcast signal
KR100978995B1 (en) An information recording processing apparatus, an information reproducing processing apparatus and method, and a recording medium
US7006755B2 (en) Storage device with an index indicating a sequential relationship
KR100434739B1 (en) Apparatus and method for generating search information and for changing play speed thereof
KR100620657B1 (en) Digital Data Stream Transmission Method
JP4763589B2 (en) Playback device and playback method thereof
KR100392307B1 (en) Apparatus and method for recording a signal of high definition digital broadcasting
US8290335B2 (en) Method and apparatus for recording transport stream
KR100563731B1 (en) Apparatus and method for trick play in a digital broadcast receiver
JP3590252B2 (en) Digest data recording device
KR100753293B1 (en) Multichannel stream recording and reproducing apparatus and method
KR19990042283A (en) Broadcast signal reproduction apparatus and method in digital broadcasting receiver
KR20140118059A (en) Method for reproducing contents

Legal Events

Date Code Title Description
A201 Request for examination
PA0109 Patent application

St.27 status event code: A-0-1-A10-A12-nap-PA0109

PA0201 Request for examination

St.27 status event code: A-1-2-D10-D11-exm-PA0201

P11-X000 Amendment of application requested

St.27 status event code: A-2-2-P10-P11-nap-X000

P13-X000 Application amended

St.27 status event code: A-2-2-P10-P13-nap-X000

PG1501 Laying open of application

St.27 status event code: A-1-1-Q10-Q12-nap-PG1501

E701 Decision to grant or registration of patent right
PE0701 Decision of registration

St.27 status event code: A-1-2-D10-D22-exm-PE0701

GRNT Written decision to grant
PR0701 Registration of establishment

St.27 status event code: A-2-4-F10-F11-exm-PR0701

PR1002 Payment of registration fee

St.27 status event code: A-2-2-U10-U11-oth-PR1002

Fee payment year number: 1

PG1601 Publication of registration

St.27 status event code: A-4-4-Q10-Q13-nap-PG1601

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 4

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 5

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 6

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R13-asn-PN2301

St.27 status event code: A-5-5-R10-R11-asn-PN2301

PN2301 Change of applicant

St.27 status event code: A-5-5-R10-R11-asn-PN2301

R18-X000 Changes to party contact information recorded

St.27 status event code: A-5-5-R10-R18-oth-X000

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 7

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 8

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 9

FPAY Annual fee payment

Payment date: 20130130

Year of fee payment: 10

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 10

FPAY Annual fee payment

Payment date: 20140204

Year of fee payment: 11

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 11

FPAY Annual fee payment

Payment date: 20150204

Year of fee payment: 12

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 12

FPAY Annual fee payment

Payment date: 20160202

Year of fee payment: 13

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 13

FPAY Annual fee payment

Payment date: 20161222

Year of fee payment: 14

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 14

FPAY Annual fee payment

Payment date: 20171204

Year of fee payment: 15

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 15

P22-X000 Classification modified

St.27 status event code: A-4-4-P10-P22-nap-X000

FPAY Annual fee payment

Payment date: 20181211

Year of fee payment: 16

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 16

FPAY Annual fee payment

Payment date: 20191210

Year of fee payment: 17

PR1001 Payment of annual fee

St.27 status event code: A-4-4-U10-U11-oth-PR1001

Fee payment year number: 17

PC1903 Unpaid annual fee

St.27 status event code: A-4-4-U10-U13-oth-PC1903

Not in force date: 20210210

Payment event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

PC1903 Unpaid annual fee

St.27 status event code: N-4-6-H10-H13-oth-PC1903

Ip right cessation event data comment text: Termination Category : DEFAULT_OF_REGISTRATION_FEE

Not in force date: 20210210